/* Primary layout and palette are the user's actual reference.css. */
html,body{font-size:13px}#app{height:100%;min-height:0;display:flex;flex-direction:column}.app-shell{display:flex;flex-direction:column;height:100%;min-height:0}button,input,select,textarea{font:inherit}button,a.btn{text-decoration:none}button{cursor:pointer}a{color:var(--accent)}.nav-menu{position:relative}.nav-menu summary{font-size:13px;color:var(--ink-2);padding:5px 12px;cursor:pointer;list-style:none}.nav-menu summary::after{content:' ▾'}.nav-menu>div{position:absolute;top:34px;left:0;min-width:160px;background:#fff;border:1px solid var(--line-2);border-radius:4px;box-shadow:var(--shadow-2);padding:5px;z-index:35}.nav-menu>div button{display:block;width:100%;text-align:left}.top .brand{white-space:nowrap}.top-right .pill{white-space:nowrap}.overview-page{display:flex;flex-direction:column;overflow:hidden}.overview-page .page-head{flex:0 0 auto}.overview-content{display:flex;flex-direction:column;min-height:0;flex:1}.view-bar{display:flex;align-items:center;gap:8px;padding:7px 11px;background:var(--accent-weak);border:1px solid var(--accent-line);border-radius:4px;margin-bottom:10px;flex:0 0 auto;font-size:12px;min-height:35px}.view-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.view-select{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:var(--ink-3)}.view-select select{font:inherit;max-width:265px;padding:4px 7px;background:#fff;border:1px solid var(--line-2);border-radius:4px}.metrics{flex:0 0 auto;margin-bottom:8px}.metric-v{font-size:25px}.metric-v .cell-sub{font-weight:400;letter-spacing:0;font-size:11px}.metric-dt{max-height:34px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.metric-v .tag{font-size:15px;font-weight:500;padding:2px 6px}.filter-bar{flex:0 0 auto;margin-bottom:12px;padding:8px 12px}.filter-bar .f input,.filter-bar .f select{width:150px;min-width:130px}.filter-context{font-size:11px;color:var(--ink-3);text-align:right;line-height:1.5}.overview-grid{min-height:0;flex:1;align-items:start}.overview-left,.overview-right{min-height:0;max-height:100%}.overview-right{overflow:auto;padding-bottom:2px}.shop-card{min-height:0;overflow:hidden}.shop-card .card-h{min-height:40px}.shop-card .tw{max-height:min(54vh,calc(100vh - 360px))!important;overflow:auto}.shop-card .tb{table-layout:auto}.shop-card th,.shop-card td{padding:8px 10px}.shop-card td{vertical-align:middle}.shop-card th:first-child{min-width:158px}.shop-card .coverage-cell{max-width:300px;width:24%}.shop-card .owner-cell{max-width:170px}.shop-card .window-cell{white-space:nowrap}.shop-card tfoot .cell-sub{font-weight:400}.clipped{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.45}.overview-right .card-h{padding:8px 12px}.overview-right .card-b{padding:8px 12px}.overview-right .card-b.tight{padding:0}.chart-body{position:relative}.chart{height:156px}.chart .axis-txt{font-size:11px;fill:var(--ink-3)}.chart-empty{position:absolute;top:45px;left:30px;right:15px;text-align:center;display:flex;flex-direction:column;gap:6px;font-size:12px;background:rgba(255,255,255,.88);padding:8px}.chart-empty b{font-size:13px;color:var(--ink-2)}.chart-empty span{color:var(--ink-3)}.overview-right #ov-coverage{padding:8px 12px;max-height:92px;flex:0 0 auto}.attention-list{max-height:180px;overflow:auto}.issue-row{padding:8px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-bottom:1px solid var(--line-1);align-items:center}.issue-row:last-child{border:0}.issue-row .cell-name{font-size:12px}.issue-row .cell-sub{margin-top:2px;font-size:11px}.update-card td{font-size:11px;padding:6px 10px}.update-card td:last-child{text-align:right}.update-card td:first-child{white-space:nowrap}.compact-empty{padding:15px}.overview-drawer{width:850px;max-width:95vw}.overview-drawer .drawer-h{min-height:48px}.overview-drawer .drawer-b{padding:16px;overflow:auto}.overview-drawer .notice{display:block;margin:0 0 12px}.detail-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}.detail-summary>div{display:flex;flex-direction:column;padding:10px 12px;border:1px solid var(--line-2);border-radius:4px}.detail-summary b{font-size:22px;font-weight:600}.drawer-daily{max-height:340px;border:1px solid var(--line-2);border-radius:4px}.detail-reason{max-width:260px;font-size:12px}.source-detail{padding:12px 0;border-bottom:1px solid var(--line-1)}.overview-drawer h3{font-size:15px}.source-detail p{margin:5px 0}.ledger-content{display:flex;flex-direction:column;gap:10px}.ledger-content .view-bar,.ledger-content .filter-bar,.ledger-content .metrics{margin:0}.ledger-table{max-height:45vh}.publish-bar{display:flex;align-items:end;gap:10px;padding:12px;background:#fff;border:1px solid var(--line-2);border-radius:4px}.publish-bar label{display:flex;flex-direction:column;gap:4px;flex:1}.publish-bar input{padding:6px 8px;border:1px solid var(--line-2);border-radius:4px}.publish-bar .error{max-width:320px;font-size:12px}.secondary-page{overflow:auto}.secondary-page button,.secondary-page a.btn{font:inherit;border:1px solid var(--line-2);padding:6px 12px;min-height:30px;border-radius:4px;background:#fff;color:var(--ink-2);cursor:pointer}.secondary-page button:hover{background:var(--bg-2)}.secondary-page .panel{background:#fff;border:1px solid var(--line-2);border-radius:6px;padding:15px;margin:12px 0}.secondary-page h2{font-size:15px;margin:0 0 10px}.secondary-page h3{font-size:14px}.secondary-page p{margin:8px 0}.secondary-page .subtitle{font-size:12px;color:var(--ink-3)}.secondary-page input,.secondary-page select,.secondary-page textarea,.drawer-mask input,.drawer-mask select,.drawer-mask textarea{width:100%;border:1px solid var(--line-2);border-radius:4px;padding:6px 8px;background:white}.secondary-page input[type=checkbox],.drawer-mask input[type=checkbox]{width:auto}.secondary-page label,.drawer-mask label{display:block;margin-bottom:6px;font-size:12px;color:var(--ink-2)}.secondary-page .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.secondary-page .card{padding:12px}.secondary-page .card .label{font-size:12px;color:var(--ink-3)}.secondary-page .card .value{font-size:25px;margin:6px 0}.secondary-page .card .unit{font-size:11px;color:var(--ink-3)}.secondary-page .filters{display:flex;align-items:end;gap:10px}.secondary-page .filters>label{min-width:170px}.secondary-page .source-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.secondary-page .table-wrap{overflow:auto;max-height:50vh}.secondary-page table{border-collapse:collapse;width:100%;font-size:12px}.secondary-page td,.secondary-page th{padding:7px 10px;border-bottom:1px solid var(--line-1);text-align:left}.secondary-page th{background:var(--bg-2);position:sticky;top:0}.secondary-page tr.clickable{cursor:pointer}.secondary-page tr.clickable:hover{background:var(--bg-2)}.numeric{text-align:right!important;font-variant-numeric:tabular-nums}.secondary-page .notice{margin:12px 0}.secondary-page .pill.good{color:var(--ok);background:var(--ok-weak)}.secondary-page .pill.warn{color:var(--warn);background:var(--warn-weak)}.flex{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.batch{padding:12px 0;border-bottom:1px solid var(--line-1)}.batch code{font-size:11px;word-break:break-all}.small{font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid .wide{grid-column:1/-1}.raw{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg-2);padding:12px;font:12px var(--font-mono);border-radius:4px}.drawer-mask{position:fixed;inset:0;background:#16181d4d;z-index:40}.drawer-mask .drawer{transform:none;padding:20px;display:block;overflow:auto;width:720px}.drawer-mask button{font:inherit;border:1px solid var(--line-2);background:#fff;padding:6px 12px;border-radius:4px}.drawer-mask textarea{min-height:70px}.drawer-mask h2{font-size:19px}.drawer-mask .notice{display:block;margin:12px 0}.checklist{max-height:210px;overflow:auto;border:1px solid var(--line-2);padding:10px}.error{color:var(--danger);font-size:12px}.source-grid .panel{min-width:0}.login{height:100%;display:grid;grid-template-columns:1fr 1fr;overflow:auto}.login-story{background:#edf1f7;padding:10vw 8vw;color:var(--ink-2);display:flex;flex-direction:column;justify-content:center}.wordmark{font-size:23px;font-weight:700}.login-story h1{font-size:36px;line-height:1.4}.login-story p{font-size:15px;max-width:390px;color:var(--ink-3)}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-form form{width:330px}.login-form h2{font-size:25px;margin-bottom:8px}.login-form label{display:block;margin:18px 0 6px;color:var(--ink-2)}.login-form input{display:block;margin-top:6px;width:100%;padding:9px 11px;border:1px solid var(--line-2);border-radius:4px}.login-form button{width:100%;margin-top:22px;border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:4px;padding:10px}.eyebrow{font-size:12px;color:var(--ink-3)}.brand-line{width:42px;height:3px;background:var(--accent);margin:20px 0}.tagline{font-size:12px;color:var(--ink-3)}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:90;background:var(--ink-1);color:#fff;font-size:13px;padding:10px 16px;border-radius:4px;display:none}a.btn{display:inline-block}.muted{color:var(--ink-3)}
@media(min-width:2200px){.shop-card .tw{max-height:min(54vh,calc(100vh - 380px))!important}.shop-card .coverage-cell{width:22%}.overview-right .chart{height:168px}.attention-list{max-height:230px}}
@media(max-width:1550px) and (min-width:1101px){.brand span{display:none}.top{gap:10px}.nav{margin-left:8px}.top-right{gap:8px}.filter-bar .f input,.filter-bar .f select{min-width:126px;width:126px}.filter-context{display:none}.shop-card th,.shop-card td{padding:7px 8px}.shop-card th:first-child{min-width:135px}.shop-card .coverage-cell{width:23%}.shop-card .owner-cell{max-width:120px;font-size:12px}.shop-card .window-cell{font-size:11px}.overview-right .chart{height:140px}.attention-list{max-height:140px}.issue-row{padding:7px 10px}.overview-right .stack{gap:10px}.view-description{max-width:620px}.metric-dt{font-size:11px}}
@media(max-width:1100px){.top{height:auto;min-height:46px;flex-wrap:wrap;padding:8px 12px}.brand span{display:none}.nav{margin-left:0}.top-right{margin-left:auto}.grid-2.overview-grid{grid-template-columns:minmax(0,1fr) 330px}.metrics{grid-template-columns:repeat(3,1fr)}.overview-page{overflow:auto}.overview-content{display:block}.overview-grid{overflow:visible}.overview-right{max-height:none}.filter-context{display:none}.view-description{white-space:normal}.view-bar{flex-wrap:wrap}.shop-card .tw{max-height:440px!important}.secondary-page .source-grid{grid-template-columns:1fr}}
@media(max-width:740px){.grid-2.overview-grid{grid-template-columns:1fr}.top-right .pill{font-size:11px}.top-right{gap:6px}.nav button,.nav-menu summary{padding:5px 8px}.page{padding:12px}.metrics{grid-template-columns:repeat(2,1fr)}.filter-bar .f input,.filter-bar .f select{width:138px;min-width:0}.shop-card .tb{min-width:750px}.overview-right{margin-top:12px}.secondary-page .cards{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.secondary-page .filters{flex-wrap:wrap}.login{grid-template-columns:1fr}.login-story{padding:30px}.login-story h1{font-size:25px}.login-form{padding:25px}.view-select select{max-width:180px}}

/* Keep the sticky total inside the actual scroll container, not a clipped card. */
.shop-card{display:flex;flex-direction:column;flex:0 1 auto}.shop-card .card-h{flex-shrink:0}.shop-card .card-b{min-height:0;display:flex;flex-direction:column}.shop-card .tw{min-height:0;flex:0 1 auto}.shop-card tfoot td{z-index:3}
@media(max-width:1550px) and (min-width:1101px){.overview-right{gap:8px}.overview-right .chart{height:112px}.overview-right #ov-coverage .clipped,.issue-row .clipped{-webkit-line-clamp:1}.update-card td{padding:4px 8px;line-height:1.35}.update-card .card-h{padding:6px 10px}.overview-right .card-b:not(.tight){padding:6px 10px}}
@media(max-width:1550px) and (min-width:1101px){.overview-page .page-head{margin-bottom:8px}.view-bar{padding:4px 10px;min-height:29px;margin-bottom:8px}.filter-bar{padding:6px 12px;margin-bottom:10px}.overview-right .chart-empty{top:22px;padding:6px}.overview-right .card-h{padding:6px 10px}.overview-right .issue-row{padding:5px 10px}.overview-right .tiny{line-height:1.3}}

@media(max-width:1550px) and (min-width:1101px){.multi-issues .attention-list{max-height:80px}}
/* Daily finance is an independently scrolling, readable editor; overview geometry stays intact. */
.xf-grid-scroll{max-height:calc(100vh - 380px);overflow:auto}.xf-grid{min-width:1370px;table-layout:fixed;width:100%;font-size:13px}.xf-grid th{position:sticky;top:0;z-index:2;background:#f8fafc}.xf-grid th:first-child{width:135px}.xf-grid th:nth-child(2){width:170px}.xf-grid th:last-child{width:240px}.xf-grid td{vertical-align:top;padding:9px 6px}.xf-grid input{width:100%;min-width:0;padding:6px;font-size:13px}.xf-reason{font-size:12px;line-height:1.6}.xf-clear{border:0;background:none;padding:0;color:#667085;font-size:11px}.xf-source-summary{align-items:center;gap:12px}.xf-source-summary>div{flex:1}.xf-grid .link{border:none;background:none;padding:0;font-size:12px}
.drawer-mask .table-wrap{max-height:340px;overflow:auto}.drawer-mask .table-wrap table{font-size:13px}.drawer-mask .table-wrap th{position:sticky;top:0;background:#f8fafc}

.metric-unit{font-size:12px;font-weight:500;letter-spacing:0}.shop-card #ov-summary-switch{white-space:nowrap}.shop-card [data-person]{cursor:pointer}.shop-card [data-person]:hover{background:var(--bg-2)}

.shop-card [data-person] .coverage-cell .clipped{-webkit-line-clamp:1}

.source-summary-table{table-layout:fixed!important}.shop-card .source-summary-table th:first-child{min-width:0}.shop-card .source-summary-table .coverage-cell{width:auto;max-width:none}

/* Excel middle columns scroll independently; identity and business status stay visible. */
.excel-columns-table{table-layout:fixed!important;width:1595px!important;min-width:100%;font-size:12px}
.shop-card .excel-columns-table th,.shop-card .excel-columns-table td{padding:6px 7px}
.shop-card .excel-columns-table th:first-child{min-width:0}
.excel-columns-table thead tr:first-child{height:44px}.excel-columns-table thead tr:last-child{height:40px}
.excel-columns-table thead th{white-space:normal;vertical-align:middle;top:0;z-index:7}
.excel-columns-table thead tr:last-child th{top:44px}
.excel-columns-table .header-group{text-align:center}
.excel-columns-table .sticky-left-1{position:sticky;left:0;background:#fff;z-index:4}
.excel-columns-table .sticky-left-2{position:sticky;left:105px;background:#fff;z-index:4}
.excel-columns-table .sticky-right-1{position:sticky;right:0;background:#fff;z-index:4}
.excel-columns-table .sticky-right-2{position:sticky;right:180px;background:#fff;z-index:4}
.excel-columns-table tbody tr:hover .sticky-left-1,.excel-columns-table tbody tr:hover .sticky-left-2,.excel-columns-table tbody tr:hover .sticky-right-1,.excel-columns-table tbody tr:hover .sticky-right-2{background:var(--bg-2)}
.excel-columns-table thead .sticky-left-1,.excel-columns-table thead .sticky-left-2,.excel-columns-table thead .sticky-right-1,.excel-columns-table thead .sticky-right-2{background:var(--bg-2);z-index:8}
.excel-columns-table tfoot td{z-index:5}.excel-columns-table tfoot .sticky-left-1,.excel-columns-table tfoot .sticky-right-1,.excel-columns-table tfoot .sticky-right-2{background:var(--bg-2);z-index:6}
.shop-card .excel-columns-table .coverage-cell{width:auto;max-width:none}
.excel-columns-table .ccy-cell{text-align:center}

.excel-columns-table .header-group .cell-sub{display:block;font-weight:400}
.excel-columns-table col:nth-child(1){width:105px}
.excel-columns-table col:nth-child(2){width:90px}
.excel-columns-table col:nth-child(3){width:80px}
.excel-columns-table col:nth-child(4){width:80px}
.excel-columns-table col:nth-child(5){width:85px}
.excel-columns-table col:nth-child(6){width:80px}
.excel-columns-table col:nth-child(7){width:85px}
.excel-columns-table col:nth-child(8){width:90px}
.excel-columns-table col:nth-child(9){width:105px}
.excel-columns-table col:nth-child(10){width:100px}
.excel-columns-table col:nth-child(11){width:80px}
.excel-columns-table col:nth-child(12){width:60px}
.excel-columns-table col:nth-child(13){width:85px}
.excel-columns-table col:nth-child(14){width:100px}
.excel-columns-table col:nth-child(15){width:80px}
.excel-columns-table col:nth-child(16){width:90px}
.excel-columns-table col:nth-child(17){width:75px}
.excel-columns-table col:nth-child(18){width:115px}
.excel-columns-table col:nth-child(19){width:180px}

/* Scale the actual SVG width and height by 1.3, with the existing card padding retained. */
@media(min-width:1101px){.grid-2.overview-grid{grid-template-columns:minmax(0,1fr) 486.2px}.overview-right .chart{height:202.8px}}
@media(min-width:2200px){.grid-2.overview-grid{grid-template-columns:minmax(0,1fr) 564.2px}.overview-right .chart{height:218.4px}}
@media(min-width:1101px) and (max-width:1550px){.grid-2.overview-grid{grid-template-columns:minmax(0,1fr) 487.4px}.overview-right .chart{height:145.6px}}

/* Keep the report confirmation immediately below the shop table. */
.overview-left>.xf-source-summary{flex-shrink:0}
/* Grow the table with the confirmation row, preserving their shared gap. */
@media(min-width:1101px){
  .overview-left{height:100%;align-self:stretch}
  .overview-left>.shop-card{flex:1 1 0}
  .overview-left>.shop-card>.card-b{flex:1 1 0}
  .overview-left>.shop-card .tw{flex:1 1 0;max-height:none!important}
  .overview-left>.shop-card .tb{height:100%}
}
.source-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0;font-size:12px}.source-pagination label{display:flex;align-items:center;gap:6px;white-space:nowrap}.source-pagination select{font:inherit;border:1px solid var(--line-2);border-radius:4px;background:#fff;padding:4px 6px}.source-pagination button:disabled{cursor:default;opacity:.45}.source-pagination[hidden]{display:none}.drawer-sources #ov-source-list{max-height:360px;overflow:auto;scrollbar-gutter:stable}.drawer-sources .source-detail:first-child{padding-top:0}
@media(max-width:1550px) and (min-width:1101px){.overview-right .attention-list{max-height:64px}}

/* Advertising relationship workspace: current metadata only. */
.ad-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}.ad-summary .panel{margin:0;display:flex;align-items:center;justify-content:space-between}.ad-summary strong{font-size:24px}.ad-filters{align-items:end;flex-wrap:wrap}.ad-filters input,.ad-filters select{max-width:230px}.ad-checkbox{display:flex!important;align-items:center;gap:6px}.ad-checkbox input{width:auto!important}.ad-table-wrap{max-height:calc(100vh - 410px);min-height:230px;overflow:auto}.ad-account-table{min-width:1720px;table-layout:fixed;font-size:12px}.ad-account-table th{position:sticky;top:0;background:#f0f3f7;z-index:1}.ad-account-table th:nth-child(1){width:45px}.ad-account-table th:nth-child(2){width:235px}.ad-account-table th:nth-child(3){width:90px}.ad-account-table th:nth-child(4){width:65px}.ad-account-table th:nth-child(5),.ad-account-table th:nth-child(6){width:190px}.ad-account-table th:nth-child(7){width:120px}.ad-account-table th:nth-child(8){width:80px}.ad-account-table th:nth-child(9){width:140px}.ad-account-table th:nth-child(10){width:230px}.ad-account-table th:nth-child(11){width:140px}.ad-account-table td{overflow-wrap:anywhere;white-space:normal}.ad-account-table .btn{margin:2px}.ad-changed{background:#fff8e7}.ad-save-bar{margin-top:12px}.ad-label{max-width:230px}.ad-disabled{opacity:.6}.ad-account-panel{min-width:0}@media(max-width:800px){.ad-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-table-wrap{max-height:420px}}

.ad-account-table th:last-child,.ad-account-table td:last-child{position:sticky;right:0;background:#fff;box-shadow:-1px 0 0 var(--line-2);z-index:2}.ad-account-table th:last-child{background:#f0f3f7;z-index:3}.ad-account-table .ad-changed td:last-child{background:#fff8e7}

.data-update-table{min-width:1040px}.data-update-table td{vertical-align:top}.drawer-mask .data-update-drawer{width:min(1000px,95vw)}.data-update-drawer table{width:100%;border-collapse:collapse}.data-update-drawer td,.data-update-drawer th{padding:8px;border-bottom:1px solid var(--line-1);text-align:left}.data-update-drawer code{overflow-wrap:anywhere}.data-update-drawer .table-wrap{max-height:55vh}

.drawer-mask .ad-relation-drawer{width:min(1000px,95vw)}.ad-relation-table{width:100%;border-collapse:collapse}.ad-relation-table td,.ad-relation-table th{text-align:left;padding:9px 12px;border-bottom:1px solid var(--line-1);vertical-align:top}.ad-relation-table th:nth-child(2),.ad-relation-table th:nth-child(3){width:130px}.ad-relation-table th:last-child{width:230px}.ad-relation-table input[type=checkbox]{width:16px;height:16px}

.ad-account-table{min-width:1200px!important}.ad-account-table th:last-child{width:165px}

.interval-columns-table col{width:auto}.interval-columns-table .sticky-left-3{position:sticky;left:195px;background:#fff;z-index:4}.interval-columns-table thead .sticky-left-3,.interval-columns-table tfoot .sticky-left-3{background:var(--bg-2);z-index:8}.interval-columns-table tbody tr:hover .sticky-left-3{background:var(--bg-2)}.interval-cell{font-size:12px;white-space:nowrap}.interval-cell .cell-sub{line-height:1.2}.interval-warning{color:var(--warn)}.interval-detail{display:block!important}.interval-detail p{margin:4px 0}.interval-columns-table{min-width:1665px!important}.interval-columns-table .sticky-right-1{min-width:115px}#ov-coverage-details{flex:0 0 auto;margin-left:8px}

.interval-columns-table col:nth-child(1){width:105px}.interval-columns-table col:nth-child(2){width:90px}.interval-columns-table col:nth-child(3){width:190px}.interval-columns-table col:nth-child(4){width:80px}.interval-columns-table col:nth-child(5){width:80px}.interval-columns-table col:nth-child(6){width:85px}.interval-columns-table col:nth-child(7){width:80px}.interval-columns-table col:nth-child(8){width:85px}.interval-columns-table col:nth-child(9){width:90px}.interval-columns-table col:nth-child(10){width:105px}.interval-columns-table col:nth-child(11){width:100px}.interval-columns-table col:nth-child(12){width:80px}.interval-columns-table col:nth-child(13){width:60px}.interval-columns-table col:nth-child(14){width:85px}.interval-columns-table col:nth-child(15){width:115px}.interval-columns-table col:nth-child(16){width:80px}.interval-columns-table col:nth-child(17){width:90px}.interval-columns-table col:nth-child(18){width:75px}.interval-columns-table col:nth-child(19){width:115px}
.overview-right #ov-coverage>div{min-width:0;flex:1}

.interval-columns-table col:nth-child(n+4):not(:last-child){width:auto}

/* Account directory: eight columns after relationship-state removal. */
.ad-account-table th:nth-child(7){width:220px}.ad-account-table th:nth-child(8){width:165px}

/* Overview fills available width and height; smaller screens retain natural flow. */
.interval-columns-table{width:100%!important}
@media(min-width:1101px){
 .overview-right{height:100%;align-self:stretch;padding-bottom:0}
 .overview-right>.trend-card{display:flex;flex-direction:column;flex:1 1 0;min-height:220px;overflow:hidden}
 .overview-right>.trend-card>.card-h,.overview-right>.update-card{flex-shrink:0}
 .overview-right .trend-card .chart-body{flex:1 1 0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}
 .overview-right .trend-card .chart{height:100%!important;min-height:0}
 .overview-right .chart-empty{top:50%;transform:translateY(-50%)}
}

/* Professional daily ROI chart: adaptive axes, real gaps and accessible readout. */
.trend-body{grid-template-rows:minmax(0,1fr) auto!important}
.trend-plot{width:100%;min-height:160px;outline-offset:-3px}
.trend-plot:focus-visible{outline:2px solid var(--accent);border-radius:4px}
.trend-point-nav{display:flex;align-items:center;gap:8px;min-width:0;border-top:1px solid var(--line-1);padding-top:4px}
.trend-nav{width:30px;min-width:30px;height:30px;padding:0!important;font-size:24px!important;line-height:1;flex:0 0 auto}
.trend-nav:disabled{opacity:.38;cursor:default}
.trend-readout{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;font-size:12px;line-height:1.45}
.trend-readout b{font-weight:600;font-variant-numeric:tabular-nums}
.trend-readout span{color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trend-note{line-height:1.4}
@media(max-width:1100px){.trend-body .trend-plot{height:260px!important}}

/* SVG intrinsic width must not set the minimum width of the grid track. */
.overview-right .trend-body{min-width:0;grid-template-columns:minmax(0,1fr)}
.overview-right .trend-plot{min-width:0;max-width:100%;overflow:hidden}
