.collection-overview{margin:0 0 26px}.collection-overview .panel-header{padding-bottom:18px}.collection-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.collection-card{border:1px solid #dfe5e8;border-top:3px solid var(--channel-color);border-radius:10px;background:#fff;padding:20px 22px;text-align:left;color:#293b46;cursor:pointer;transition:border-color .15s,box-shadow .15s;font:inherit;min-width:0}.collection-card:hover{border-color:var(--channel-color);box-shadow:0 4px 16px #2337460a}.collection-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:600}.collection-card-title em{font-size:11px;font-style:normal;color:#687e8c;background:#f1f4f6;border-radius:20px;padding:4px 8px;white-space:nowrap}.collection-card strong{display:block;font-size:31px;line-height:1.45;margin:12px 0 5px;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.collection-card-date{display:block;font-size:12px;color:#607686}.collection-card small{display:block;font-size:11px;color:#84949e;margin-top:10px}.collection-card.pending strong{color:#8a9ba4}.collection-controls{display:flex;gap:12px;flex-wrap:wrap}.collection-legend{display:flex;gap:24px;padding:0 24px;color:#657b8b;font-size:12px}.collection-legend span{display:flex;gap:8px;align-items:center}.collection-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}.collection-trend{padding:6px 20px 0}.collection-trend svg{display:block;width:100%;max-height:340px}.collection-trend text{font:11px system-ui,sans-serif;fill:#708694}.collection-trend circle{cursor:help}.collection-trend-note{padding:0 25px 16px;color:#8194a1;font-size:12px}.collection-table-toggle{margin:0 24px 20px;color:#667f90;font-size:12px}.collection-table-toggle summary{cursor:pointer;padding:7px 0}.collection-table-toggle .table-scroll{max-height:300px}.collection-period-note{color:#7a8f9e;font-size:12px;margin-top:5px}@media(max-width:1100px){.collection-card{padding:17px}.collection-card-title{display:block}.collection-card-title em{display:inline-block;margin:6px 0 0}.collection-card strong{font-size:27px}}@media(max-width:650px){.collection-cards{grid-template-columns:1fr}.collection-card-title{display:flex}.collection-controls{gap:8px}.collection-trend{padding:6px 0}.collection-trend svg{min-height:220px}}

#channel-sources button.channel-source-card{display:block;min-width:0;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer}
#channel-sources .channel-source-card:hover,#channel-sources .channel-source-card[aria-pressed="true"]{border-color:#b51f36;background:#fff8f9}
#channel-sources .channel-source-card:focus-visible{outline:2px solid #b51f36;outline-offset:2px}
#channel-sources .channel-source-bar{display:block}
.channel-drill-hint{display:block;margin-top:10px;color:#9b2038;font-size:12px}
#channel-details{scroll-margin-top:1rem}
#channel-details[aria-busy="true"] #channel-table{opacity:.55}
#channel-detail-reset[hidden]{display:none}

#view-channel-summary .cs-overview{padding:18px 22px;margin:0 0 12px}
.cs-head,.cs-controls,.cs-panes{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cs-head{justify-content:space-between}.cs-head h2{margin:0;font-size:19px}.cs-head h2 b{color:#ad233c;margin-left:8px;font-variant-numeric:tabular-nums}.cs-head p{margin:4px 0;color:#687b86;font-size:13px}
.cs-controls{margin:10px 0}.cs-filters summary{cursor:pointer;font-size:13px;color:#516775}.cs-filters[open]{flex:1 0 100%}.cs-filters .filter-panel{margin:8px 0}
#view-channel-summary #channel-sources{padding:0}.cs-overview .channel-source-head b{font-size:24px}.cs-overview .channel-source-card{padding:12px 14px}.cs-overview .channel-source-bar{height:4px;margin:8px 0}
.cs-panes{border-bottom:1px solid #dce3e7;gap:4px;margin:0 0 12px}.cs-panes button{background:transparent;border:0;border-bottom:2px solid transparent;padding:10px 15px;cursor:pointer;color:#617480;font:inherit;font-size:14px}.cs-panes button.active{border-color:#b51f36;color:#a81f35;font-weight:650}
#view-channel-summary [data-channel-pane][hidden]{display:none}#channel-table{max-height:min(48vh,480px);overflow:auto}#channel-table th{position:sticky;top:0;background:#f2f5f6;z-index:1}
#view-channel-summary .collection-trend svg{max-height:235px}#view-channel-summary .panel-header{flex-wrap:wrap}
main:has(#view-channel-summary:not([hidden])) > header{min-height:0;padding-block:12px;margin-bottom:14px}
@media(max-width:700px){#view-channel-summary .cs-overview{padding:12px}.cs-panes{gap:0}.cs-panes button{padding:9px 7px;font-size:13px}#view-channel-summary #channel-sources{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.cs-overview .channel-source-head{display:block}.cs-overview .channel-source-head b{display:block;font-size:20px}.cs-overview .channel-source-foot{display:none}.cs-overview .channel-source-card{padding:8px}.cs-overview .channel-source-head strong{font-size:12px}.cs-controls{gap:8px}}

.cs-search-actions{display:flex;gap:8px;order:1}.cs-filters{order:2}#channel-grain-tabs{order:0;max-width:100%;flex-wrap:wrap}
.channel-row-summary{padding:0 24px 12px;margin:0;font-size:13px;color:#526b7b}
#channel-table .channel-row-number{width:64px;min-width:64px;text-align:center;font-variant-numeric:tabular-nums}
#channel-table thead .channel-row-number{left:0;z-index:3}
#channel-table tbody .channel-row-number{position:sticky;left:0;background:#fff;z-index:1;color:#5b6b76}
#channel-page-label{font-variant-numeric:tabular-nums}.channel-pagination{flex-wrap:wrap}

#channel-mobile-rows{display:none}
@media(max-width:760px){
  #app:has(#view-channel-summary:not([hidden])) .sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px}
  #app:has(#view-channel-summary:not([hidden])) .sidebar nav{grid-column:1/-1;grid-row:2;min-width:0;margin-top:4px}
  #app:has(#view-channel-summary:not([hidden])) .sidebar .account{display:flex;grid-column:2;grid-row:1;margin:0;padding:0;border:0}
  #app:has(#view-channel-summary:not([hidden])) .sidebar .account>div{display:none}
  #app:has(#view-channel-summary:not([hidden])) #logout{min-width:44px;min-height:44px;font-size:18px}
  main:has(#view-channel-summary:not([hidden])){min-width:0;padding-inline:12px}
  main:has(#view-channel-summary:not([hidden])) > .page-header{padding:14px;min-height:0}
  main:has(#view-channel-summary:not([hidden])) > .page-header .muted{max-width:none}
  main:has(#view-channel-summary:not([hidden])) > .page-header .header-actions{display:none}
  #view-channel-summary .cs-overview{padding:12px}
  #view-channel-summary .channel-summary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
  #view-channel-summary .channel-summary-actions .button{min-height:44px;justify-content:center;text-align:center;white-space:normal}
  #channel-grain-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:1 0 100%;width:100%}
  #channel-grain-tabs button,#view-channel-summary .cs-search-actions button,#channel-panel-tabs button{min-height:44px}
  #channel-grain-tabs button{min-width:0;padding-inline:3px}
  #view-channel-summary .cs-filters summary{padding:12px 2px}
  #view-channel-summary .channel-filter-panel .filter-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #view-channel-summary .channel-filter-panel label{min-width:0;margin:0}
  #view-channel-summary .channel-filter-panel select,#view-channel-summary .channel-filter-panel input{width:100%;max-width:none;min-height:42px;font-size:16px}
  #view-channel-summary .channel-filter-panel .date-range,#view-channel-summary .channel-filter-panel .channel-search{grid-column:1/-1}
  #view-channel-summary #channel-sources{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #view-channel-summary .channel-source-card{display:block;padding:12px;min-width:0}
  #view-channel-summary .channel-source-head{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px}
  #view-channel-summary .channel-source-head strong{font-size:13px}
  #view-channel-summary .channel-source-head b{font-size:18px}
  #view-channel-summary .channel-source-foot{display:grid;white-space:normal;overflow-wrap:anywhere;text-align:left}
  #view-channel-summary .channel-source-foot span:first-child{display:none}
  #view-channel-summary .tx-account-card{min-width:0;overflow-wrap:anywhere}
  #channel-panel-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  #channel-panel-tabs button{padding-inline:3px}
  #channel-details #channel-table{display:none}
  #channel-mobile-rows{display:grid;gap:8px;padding:0 12px}
  #channel-details .channel-row-summary{padding:0 12px 10px}
  .mobile-lead{min-width:0;border:1px solid #dce3e7;border-radius:8px;background:#fff}
  .mobile-lead summary{padding:12px;cursor:pointer;color:#243b4b;overflow-wrap:anywhere}
  .mobile-lead summary::marker{color:#a81f35}
  .mobile-lead-meta,.mobile-lead time{display:block;margin-top:3px;color:#536b77;font-size:13px}
  .mobile-lead dl{display:grid;gap:8px;margin:0;padding:12px;border-top:1px solid #e4e9eb}
  .mobile-lead dl>div{display:grid;grid-template-columns:5.5em minmax(0,1fr);gap:8px;font-size:13px}
  .mobile-lead dt{color:#536b77}
  .mobile-lead dd{margin:0;overflow-wrap:anywhere}
  #channel-details .channel-pagination{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}
  #channel-details .channel-pagination button{min-height:44px}
  #channel-page-label{grid-column:1/-1;grid-row:1;text-align:center}
}

.cs-tag-tools {margin:16px 0}
.cs-overview-switch {display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
#channel-overview-tabs {flex:0 0 auto}
#channel-count-view[hidden],#channel-tag-view[hidden],.cs-tag-table tr[hidden] {display:none}
.cs-tag-scroll {overflow-x:auto}
.cs-tag-table {width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.cs-tag-table th,.cs-tag-table td {padding:9px 12px;text-align:right;white-space:nowrap;border-bottom:1px solid #e4e8e9}
.cs-tag-table th:first-child,.cs-tag-table .cs-tag-na {text-align:left}
.cs-tag-table thead th {background:#f0f3f4;color:#304655}
.cs-tag-table button {background:transparent;border:0;color:inherit;cursor:pointer;font:inherit;padding:2px 0}
.cs-tag-table button:hover,.cs-tag-table button:focus-visible {color:#ad2037;text-decoration:underline}
.cs-tag-table .cs-tag-expand {font-weight:650}
.cs-tag-expand small,.cs-tag-na {color:#667783;font-weight:400}
.cs-tag-child {background:#fafbfb}
.cs-tag-child th {padding-left:32px;font-weight:400}
.cs-tag-table .cs-tag-value {color:#185a80;min-width:30px}
@media(max-width:700px){.cs-tag-table th,.cs-tag-table td{padding:8px 6px}.cs-tag-table .cs-tag-child th{padding-left:15px}.cs-tag-scroll{max-width:100%}.cs-tag-account{max-width:165px;white-space:normal;text-align:left}}

.mobile-remember{margin:14px 0}
.mobile-remember label{display:flex;align-items:center;gap:8px;margin:0}
.mobile-remember label input{width:18px;min-height:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#ae2138}
.mobile-remember small{display:block;margin:6px 0 0 26px;color:#5b6c76;line-height:1.5}
.mobile-remember.phone-only{display:none}
@media(max-width:760px){.mobile-remember.phone-only{display:block}}

.cs-tag-filter {display:flex;align-items:center;flex:1 0 min(100%, 31rem);flex-wrap:wrap;gap:8px 10px;min-width:0}
.cs-tag-filter>span {font-size:14px;color:#435764;white-space:nowrap}
.cs-tag-choices {display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.cs-tag-button {display:inline-flex;align-items:center;gap:6px;padding:6px 10px;min-height:36px;background:#fff;border:1px solid #d7dfe3;border-radius:6px;color:#243745;font:inherit;white-space:nowrap;cursor:pointer}
.cs-tag-button b {font-variant-numeric:tabular-nums}
.cs-tag-button:hover:not(:disabled) {border-color:#a2afb6}
.cs-tag-button[aria-pressed="true"] {background:#f9edf0;border-color:#b51f36;color:#93182d}
.cs-tag-button:focus-visible {outline:2px solid #305b87;outline-offset:2px}
.cs-tag-button:disabled {color:#667580;cursor:default}
.cs-tag-pending {display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:12px;padding:9px 12px;background:#f8f9fa;border:1px solid #e1e7ea;border-radius:8px}
.cs-tag-pending .cs-tag-button:not([aria-pressed="true"]) {background:#fff9ef;border-color:#ecd9bd}
.cs-tag-pending .button {margin-inline-start:auto}
.cs-tag-pending[hidden],.cs-tag-button[hidden],#channel-tag-exceptions-export[hidden] {display:none}
#channel-tag-filter-note {margin:8px 0 0;line-height:1.45}
@media(max-width:760px) {
  .cs-overview-switch {align-items:flex-start;row-gap:10px}
  .cs-tag-filter {flex-basis:100%}
  .cs-tag-filter>span {flex-basis:100%}
  #channel-overview-tabs button,.cs-tag-button,#channel-tag-exceptions-export {min-height:44px}
  .cs-tag-pending .button {margin-inline-start:0}
}
@media(max-width:440px) {
  .cs-tag-filter>.cs-tag-choices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .cs-tag-filter .cs-tag-button {justify-content:center;padding-inline:6px}
  .cs-tag-filter .cs-tag-button:last-child {grid-column:span 2}
  .cs-tag-pending .button {width:100%;justify-content:center}
}
.channel-reader .sidebar nav > :not([data-view="channel-summary"]),
.channel-reader .header-actions,
.channel-reader .page-footer a,
.channel-reader #demo-banner,
.channel-reader .channel-summary-actions > :not(#channel-summary-refresh),
.channel-reader #channel-tag-exceptions-export,
.channel-reader #collection-export,
.channel-reader #channel-panel-tabs [data-pane="rows"],
.channel-reader #channel-panel-tabs [data-pane="sync"],
.channel-reader #cs-rows,
.channel-reader #cs-sync {display:none !important}
