/* Match the SaaS bonus/game reports without changing other KB tables. */
#channel-breakdown-main{padding:25px 25px 0;max-width:1900px;margin:0 auto;color:#20374e}
#channel-breakdown-main .page-heading{margin:0 0 26px;align-items:center}
#channel-breakdown-main .page-heading h1{font-size:23px;line-height:1.4;font-weight:650;margin:6px 0 10px}
#channel-breakdown-main .eyebrow{font-size:8px;letter-spacing:2px;color:#628392;margin:0}
.channel-detail-description{font-size:11px;color:#7894a2;line-height:1.6;margin:0}
#channel-breakdown-main button.secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d5e1ed;border-radius:4px;background:#fff;color:#34516e;font-size:10px;font-weight:400;min-height:32px;padding:7px 10px;white-space:nowrap}
#channel-breakdown-main .page-heading button{font-size:11px;padding:9px 12px;min-height:36px}
#channel-breakdown-main svg{height:14px;width:14px;flex-shrink:0}
#channel-breakdown-main .data-panel{margin:0 0 17px;border:1px solid #d5e1ed;border-radius:7px;overflow:hidden;background:#fff;box-shadow:none}
.channel-detail-toolbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px;padding:9px 10px;border:1px solid #d5e1ed;border-radius:7px 7px 0 0;background:#fff;margin-bottom:14px;position:relative;z-index:8}
#channel-breakdown-main .report-advertiser-filter{display:flex;align-items:center;gap:6px;color:#52677d;font-size:11px;font-weight:400;white-space:nowrap}
#channel-breakdown-main .report-advertiser-filter select{width:auto;min-width:96px;max-width:180px;min-height:32px;font:inherit;font-size:10px;font-weight:400;color:#34516e;padding:6px 8px;background:#fff;border:1px solid #d5e1ed;border-radius:4px}
#channel-breakdown-main .report-channel-picker{min-width:76px;font-size:10px}
#channel-breakdown-main .report-channel-picker>summary{min-height:32px;padding:7px 9px;font-size:10px;font-weight:400;box-sizing:border-box;color:#34516e;border-color:#d5e1ed;border-radius:4px}
#channel-breakdown-main .report-channel-list>label{font-size:11px;font-weight:400}
#channel-breakdown-main .date-range-trigger{min-height:32px;font-size:10px;font-weight:400;padding:7px 9px;border-color:#c8d9f1;border-radius:4px}
.channel-detail-search{position:relative;display:flex;align-items:center;flex:0 0 154px;color:#8ba2ac}
.channel-detail-search svg{position:absolute;left:9px;pointer-events:none}
#channel-breakdown-main .channel-detail-search input{width:154px;min-height:32px;box-sizing:border-box;padding:7px 8px 7px 29px;border:1px solid #d5e1ed;border-radius:4px;background:#fff;color:#34516e;font:inherit;font-size:10px;font-weight:400}
#channel-breakdown-main .channel-detail-search input::placeholder{color:#8ba2ac;font-weight:400}
#channel-breakdown-main .channel-detail-export{width:32px;padding:7px}
.channel-detail-scroll{overflow:auto;max-height:68vh;isolation:isolate;scrollbar-color:#b6cbd5 #edf4f7;scrollbar-width:thin}
.channel-detail-scroll::-webkit-scrollbar{height:10px;width:10px}
.channel-detail-scroll::-webkit-scrollbar-track{background:#edf4f7}
.channel-detail-scroll::-webkit-scrollbar-thumb{background:#b6cbd5;border:2px solid #edf4f7;border-radius:8px}
#channel-breakdown-main .channel-detail-table{--cd-date-width:120px;--cd-channel-width:210px;border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:11px;line-height:1.5;font-weight:400;font-variant-numeric:tabular-nums;color:#20374e}
#channel-breakdown-main .channel-detail-table th,#channel-breakdown-main .channel-detail-table td{box-sizing:border-box;min-width:100px;padding:10px 12px;white-space:nowrap;text-align:right;border:0;border-right:1px solid #d7e1ed;border-bottom:1px solid #d7e1ed;background:var(--cd-bg,#fff);color:inherit}
#channel-breakdown-main .channel-detail-table thead th{position:sticky;top:0;z-index:4;background:var(--cd-head,#e0eaf7);font-size:10px;font-weight:600;text-align:center;height:40px;color:#1e334b}
#channel-breakdown-main .channel-detail-table thead tr:nth-child(2) th{top:40px;height:36px}
#channel-breakdown-main .channel-detail-table .cd-date{position:sticky;left:0;width:var(--cd-date-width);min-width:var(--cd-date-width);max-width:var(--cd-date-width);text-align:center;background:#f8edf0;z-index:2}
#channel-breakdown-main .channel-detail-table tbody .cd-date{font-weight:600;letter-spacing:.4px}
#channel-breakdown-main .channel-detail-table .cd-channel{position:sticky;left:var(--cd-date-width);width:var(--cd-channel-width);min-width:var(--cd-channel-width);max-width:280px;overflow:hidden;text-overflow:ellipsis;background:#edf3fb;text-align:left;z-index:2;box-shadow:2px 0 0 #b9cce1}
#channel-breakdown-main .channel-detail-table thead :is(.cd-date,.cd-channel){z-index:6;background:#dce8f7}
#channel-breakdown-main .channel-detail-table thead .cd-channel{text-align:center}
.cd-channel-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.cd-channel-name{min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:500;line-height:1.5}
.cd-first-users{flex-shrink:0;color:#20374e;font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}
.channel-detail-table dl{margin:5px 0 0;font-size:11px;font-weight:400;line-height:1.6}
.channel-detail-table dl>div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 8px}
.channel-detail-table dd{margin:0;color:#20374e;font-weight:500}
.channel-detail-table dt{color:#52677d}
.cd-tone-0{--cd-head:#d5e8d4;--cd-bg:#f0f7ee}
.cd-tone-1{--cd-head:#dbe7f8;--cd-bg:#f0f4fc}
.cd-tone-2{--cd-head:#e5def3;--cd-bg:#f6f2fc}
.cd-tone-3{--cd-head:#f2dce6;--cd-bg:#fcf1f5}
.cd-tone-4{--cd-head:#f9e3c7;--cd-bg:#fff6eb}
.cd-tone-5{--cd-head:#d2e9e7;--cd-bg:#eef8f7}
#channel-breakdown-main .channel-detail-table .cd-start{border-left:2px solid #bbcde0}
#channel-breakdown-main .channel-detail-bonus .cd-rate{color:#174d92}
#channel-breakdown-main .channel-detail-table tbody tr:hover>*{background-image:linear-gradient(#286de00a,#286de00a)}
#channel-breakdown-main .channel-detail-games{--cd-date-width:110px;--cd-channel-width:210px;table-layout:fixed;min-width:1240px;width:100%;color:#34516e}
.cd-date-col{width:var(--cd-date-width)}.cd-channel-col{width:var(--cd-channel-width)}.cd-rank-col{width:54px}.cd-game-col{width:190px}.cd-amount-col{width:160px}
#channel-breakdown-main .channel-detail-games :is(th,td){min-width:0;padding:9px 10px}
#channel-breakdown-main .channel-detail-games thead th{background:#dce8f7}
#channel-breakdown-main .channel-detail-games .cd-game{text-align:left;overflow:hidden;text-overflow:ellipsis}
#channel-breakdown-main .channel-detail-games thead .cd-channel{text-align:left}
#channel-breakdown-main .channel-detail-games .cd-rank{text-align:center}
.cd-rank span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#eef3fa}
.cd-rank .cd-medal{background:transparent;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:23px;line-height:1}
#channel-breakdown-main .channel-detail-games .cd-rate{color:#2871bb;background:#edf5ff}
#channel-breakdown-main .channel-detail-games .cd-amount{font-weight:600;background:#f0f7ee}
#channel-breakdown-main .channel-detail-games .cd-group-start>*{border-top:2px solid #aec5de}
.channel-detail-empty{padding:24px 13px;font-size:11px;color:#52677d;text-align:center}
.channel-detail-foot{display:flex;justify-content:space-between;gap:10px;padding:11px 13px;color:#52677d;font-size:9px;font-weight:400}
#channel-breakdown-main.channel-detail-expanded{position:fixed;inset:0;z-index:80;max-width:none;background:var(--surface,#f4f7f8);padding:12px;overflow:auto}
.channel-detail-expanded .page-heading{display:none}
.channel-detail-expanded .channel-detail-scroll{max-height:calc(100vh - 110px)}
@media(max-width:760px){#channel-breakdown-main{padding:20px 14px 0}#channel-breakdown-main .channel-detail-bonus{--cd-date-width:105px;--cd-channel-width:175px}#channel-breakdown-main .channel-detail-games{--cd-date-width:105px}.channel-detail-toolbar{justify-content:flex-start}.channel-detail-foot{flex-direction:column;gap:5px}}
[data-theme=dark] #channel-breakdown-main{color:#e1ebfb}
[data-theme=dark] #channel-breakdown-main :is(.data-panel,.channel-detail-toolbar,.channel-detail-search input,.report-advertiser-filter select,button.secondary){background:#1f2d3c;color:#e1ebfb;border-color:#3c495d}
[data-theme=dark] #channel-breakdown-main .channel-detail-table{color:#e1ebfb}
[data-theme=dark] #channel-breakdown-main .channel-detail-table :is(th,td){border-color:#3c495d;background:#1f2d3c}
[data-theme=dark] #channel-breakdown-main .channel-detail-table :is(thead th,.cd-date,.cd-channel){background:#233346}
[data-theme=dark] #channel-breakdown-main :is(.cd-first-users,.channel-detail-table dt,.channel-detail-table dd,.channel-detail-table .cd-rate,.channel-detail-table thead th,.report-advertiser-filter,.report-channel-picker>summary){color:#adcfff}
[data-theme=dark] #channel-breakdown-main .cd-rank span:not(.cd-medal){background:#324862}
[data-theme=dark] #channel-breakdown-main .channel-detail-games .cd-rate{background:#24394e}
[data-theme=dark] #channel-breakdown-main .channel-detail-games .cd-amount{background:#243d35}
[data-theme=dark] #channel-breakdown-main .channel-detail-foot{color:#a4b8ce}
