/* Owner reference: compact light cards, two sample groups and a dense ledger. */
.header{height:72px;padding:0 22px}.brand-mark{font-size:25px;padding:10px;border-radius:8px}.brand strong{font-size:17px;letter-spacing:0}.brand small{font-size:11px;letter-spacing:0}main{max-width:1680px;padding:16px 22px 20px}.intro{margin-bottom:12px;gap:12px;align-items:center}h1{font-size:19px;margin:0 0 3px}.intro p{font-size:12px}.downloads{max-width:none}.downloads button{color:white;border:0;padding:8px 13px;font-weight:600}.downloads #download-html{background:#1d4ed8}.downloads #download-csv{background:#16a34a}.downloads #download-json{background:#7c3aed}.toolbar{margin-bottom:10px}.tabs button{padding:8px 0}.banner{padding:7px 11px;margin-bottom:9px}.rules{gap:9px}.source-bar{margin:8px 0 10px}.reference-controls{margin-bottom:9px}.group-title{font-size:13px;margin:12px 0 7px;color:#374151}.cards{grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;margin-bottom:10px}.card{padding:11px 13px;border-radius:9px}.card.primary{padding-top:9px;border-top-width:3px}.card .label{font-size:11px}.card .value{font-size:23px;margin:5px 0;letter-spacing:-.4px}.card .sub{font-size:10px;line-height:1.6}.panel{padding:13px;border-radius:9px;margin-bottom:12px}.panel-head{margin-bottom:10px}.charts-grid{gap:12px}.chart{min-height:255px}.chart-small{min-height:220px}.charts-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.charts-grid.three>.panel:last-child{grid-column:auto}.candidate-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.signal{padding:12px}.table-wrap{max-height:520px;border:1px solid var(--border);border-radius:6px}th{background:#374151;color:white;font-size:10px;padding:7px 9px}td{padding:7px 9px;font-size:11px}.evidence{max-width:260px;min-width:140px}.evidence summary{cursor:pointer;color:#567198;white-space:nowrap}.insights{display:flex;gap:7px 18px;flex-wrap:wrap;margin-top:9px;font-size:11px;color:#6b7280}.insights span{padding:3px 0}.insights em{font-style:normal}.notes{padding:10px 13px}.live-pill{white-space:nowrap}
@media(min-width:1600px){main{padding-top:16px}}
@media(max-width:1280px){.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.card .value{font-size:23px}.downloads{max-width:none}.charts-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.header{height:68px;padding:0 12px}.brand{gap:8px}.brand strong{font-size:13px}.brand small{font-size:9px}.brand-mark{font-size:23px;padding:8px}.live-pill{font-size:9px;padding:4px 6px}main{padding:13px 12px}h1{font-size:18px}.intro p{font-size:11px}.downloads{margin-top:10px;gap:6px;justify-content:flex-start}.downloads button{font-size:10px;padding:7px 10px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.card{padding:10px 12px}.card .value{font-size:23px}.card .sub{font-size:10px}.tabs{gap:15px}.tabs button{font-size:12px}.panel{padding:11px}.charts-grid,.charts-grid.three{display:block}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-controls input{width:230px}.source-bar{gap:3px}.group-title{margin-top:10px}.chart{min-height:210px}.insights{gap:5px 12px}.reference-controls small{font-size:10px}.intro{display:block}}

/* Keep the original compact layout; expand secondary numeric columns on demand. */
#records-table.daily th:nth-child(17),#records-table.daily td:nth-child(17),
#records-table.daily th:nth-child(18),#records-table.daily td:nth-child(18){display:none}
#records-table:not(.show-extra) th:nth-child(n+9):nth-child(-n+14),#records-table:not(.show-extra) td:nth-child(n+9):nth-child(-n+14){display:none}
#records-table td{font-variant-numeric:tabular-nums}#records-table .evidence{min-width:180px}
.selection-counts{display:flex;flex-wrap:wrap;gap:12px 24px;color:#65748c}.selection-counts b{font-size:20px;color:#334967;margin-left:6px}
#daily-info{font-size:13px;line-height:1.9;color:#65748c}#selection-controls select{padding:6px;border:1px solid #dfe4ee;border-radius:6px;background:#fff}
.table-controls input[type=checkbox]{width:auto;min-width:auto}.table-controls label{font-size:12px;white-space:nowrap}
#logout{margin-left:auto;margin-right:16px;border:1px solid #dfe5ef;border-radius:7px;padding:7px 12px;background:#fff;color:#65748c;font:inherit;font-size:12px;cursor:pointer}
@media(max-width:650px){#selection-controls .panel-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.table-wrap{overscroll-behavior-x:contain}.header{flex-wrap:wrap}}

/* Earnings-first, compact light presentation. All charts share the selected sample. */
:root{--blue:#3266db;--green:#15966b;--red:#d45161;--amber:#b78024}
.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.card.headline{padding:16px 18px;border-radius:11px;box-shadow:0 2px 8px #243e6810}
.card.headline .label{font-size:12px;font-weight:600;color:#67768c}
.card.headline .value{font-size:32px;font-weight:750;line-height:1.25;margin:7px 0}
.card.primary{background:linear-gradient(115deg,#edf4ff,#fff 80%);border:1px solid #cdddfb;border-left:4px solid var(--blue);padding-top:16px}
.card.secondary{padding:10px 16px;background:#fafbfd}
.card.secondary .value{font-size:21px;margin:3px 0}
.metric-unit{font-size:12px;font-weight:500;margin-left:5px;white-space:nowrap;color:#718198;letter-spacing:0}
#comparison-section{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;padding:9px 14px;background:#edf1f7;border-radius:8px;margin:10px 0 15px}
#comparison-title{margin:0;font-size:11px;color:#718097}
#comparison-cards{display:flex;flex:1;flex-wrap:wrap;gap:8px 24px;margin:0}
.compare-item{display:flex;gap:8px;align-items:center;font-size:11px;color:#7c899b}.compare-item b{font-size:13px;font-variant-numeric:tabular-nums;color:#465973}
.chart-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:19px 0 10px}.chart-section-heading h2{font-size:15px}.chart-section-heading span{font-size:11px;color:#8692a4}
.charts-grid{grid-template-columns:1fr 1fr;gap:12px}.charts-grid.hero-charts{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}
.charts-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.charts-grid>.panel{margin-bottom:12px;overflow:hidden}
.chart{display:block;min-height:0;height:280px;width:100%;position:relative}
.hero-charts .chart{height:320px}.chart>svg{max-height:none}
.chart .empty{display:flex;min-height:240px;align-items:center;justify-content:center;flex-direction:column;line-height:1.8}
.chart .empty .empty-mark{margin-bottom:4px}
.panel-head h2{font-weight:700;color:#35455e}.panel-head p{color:#8a96a7;line-height:1.6}
.candidate-grid .signal{border-top:3px solid #d7e3fb;background:linear-gradient(140deg,#f5f8ff,#fff)}
.selection-counts b{color:var(--blue);font-size:25px}.source-bar{font-variant-numeric:tabular-nums}
@media(max-width:1100px) and (min-width:741px){.charts-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.charts-grid.three>.panel:last-child{grid-column:span 2}.card.headline .value{font-size:27px}}
@media(max-width:740px){
 .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card.headline{padding:12px}.card.headline .value{font-size:25px;letter-spacing:-.6px}.card.headline .label{font-size:11px}.metric-unit{font-size:10px;margin-left:3px}
 .card.primary{padding-left:10px}.card.secondary{padding:9px 12px}.card.secondary .value{font-size:20px}
 .charts-grid,.charts-grid.hero-charts,.charts-grid.three{display:block}.chart,.hero-charts .chart{height:285px}.chart-section-heading{display:block;margin-top:16px}.chart-section-heading span{display:block;margin-top:4px}
 #comparison-section{gap:7px;padding:10px 12px}#comparison-title{width:100%}#comparison-cards{gap:5px 15px}.compare-item{gap:5px}.compare-item b{font-size:12px}
 .table-controls{flex-wrap:wrap;justify-content:flex-start}.table-controls input[type=search]{flex:1;min-width:140px;max-width:none;width:auto}.table-controls label{width:100%}
 .toolbar{flex-wrap:wrap}.header{height:auto;min-height:68px;gap:5px;padding-top:8px;padding-bottom:8px}.brand strong{font-size:12px}#logout{margin-left:auto;margin-right:0;padding:5px 8px;font-size:11px}
}

/* Unified settled history: provenance stays private; preserve table column indices. */
#records-table.historical th:nth-child(3),#records-table.historical td:nth-child(3){display:none}

/* A/B markets share formal source controls; Asian candidates have no performance. */
.market-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.market-tabs button{border:1px solid #d8e1ef;border-radius:8px;background:#fff;color:#65748c;padding:9px 20px;font-weight:650}.market-tabs button.active{background:#2456c5;border-color:#2456c5;color:#fff}.asian-explanation strong{color:#926519}.asian-explanation p{font-size:12px;line-height:1.9}.asian-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}.card .pending-value{font-size:23px;color:#926519}#asian-candidates-panel label{font-size:12px;color:#65748c}.tabs{min-width:0;flex-wrap:wrap}.tabs button{white-space:normal;text-align:left}.tabs button span{display:inline-block}#asian-section{min-width:0}#asian-section .panel-head{flex-wrap:wrap}.source-bar span{overflow-wrap:anywhere}
@media(max-width:740px){.market-tabs button{flex:1;padding:9px 8px;font-size:12px}.tabs{width:100%;gap:8px 14px}.tabs button{max-width:100%;font-size:12px}.tabs button span{font-size:10px}.candidate-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.signal{min-width:0}.asian-metrics{max-width:none}.asian-metrics .value{font-size:23px}#asian-section .table-controls input{width:100%;max-width:100%}#asian-section .table-controls{flex-wrap:wrap}.panel-head{flex-wrap:wrap}}

#asian-history-panel>.table-controls{margin-top:14px;align-items:center;justify-content:flex-start}
#asian-history-count{margin-left:auto}
#asian-period-summary{max-height:260px;border-top:1px solid var(--border)}
#asian-period-summary tbody th{position:static;background:transparent;color:inherit;border-bottom:1px solid #f0f3f8}
#asian-period-summary td,#asian-period-summary th{padding:8px 10px}
@media(max-width:740px){
 #asian-history-panel>.charts-grid>.panel,.asian-period-panel{padding:12px}
 #asian-period-summary td,#asian-period-summary th{padding:8px 4px}
 #asian-period-summary th:first-child{white-space:normal}
}
.language-switch{display:flex;align-items:center;gap:4px;margin-left:auto;flex-shrink:0}
.metric-help{margin-top:12px}.metric-help>summary{cursor:pointer;min-height:32px;line-height:32px}.metric-help>summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:4px}
.detail-toggle{border:1px solid #dce5f3;border-radius:5px;background:#fff;color:#3b63b8;padding:5px 9px;font-size:11px;white-space:nowrap}.detail-toggle::before{content:'›';display:inline-block;margin-right:6px;transition:transform .15s}.detail-toggle[aria-expanded=true]{background:#edf3fe;border-color:#bad0f3}.detail-toggle[aria-expanded=true]::before{transform:rotate(90deg)}
#records-table .evidence,#asian-history-table .evidence{min-width:100px;max-width:130px}
.table-wrap.has-open-detail{max-height:520px}
@media(max-width:600px){.table-wrap,.table-wrap.has-open-detail{max-height:min(520px,65vh)}}
.match-detail-row[hidden]{display:none!important}.match-detail-row>td{padding:0!important;text-align:left;white-space:normal;background:#f5f8fe;border-bottom:1px solid #dce6f5}.detail-expanded>td{background:#f2f6fd;border-bottom-color:#dce6f5}
.match-detail{position:sticky;left:0;width:var(--detail-viewport-width,100%);max-width:100%;min-width:0;padding:15px 18px 18px;white-space:normal;overflow-wrap:anywhere;font-size:12px;color:#35455e}
.match-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:#283d60;padding:0 0 12px;border-bottom:1px solid #dce6f5}.match-detail>summary::-webkit-details-marker{display:none}.match-detail>summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:3px}.match-detail>summary small{font-weight:400;font-size:11px;color:#7c8da8;margin-top:2px}.detail-collapse{font-size:11px;font-weight:400;color:#5074b1;white-space:nowrap}
.match-detail h4{font-size:12px;color:#30496f;margin:18px 0 4px}.match-detail p{line-height:1.8;margin:4px 0 10px;color:#75849b}.match-detail-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:26px;margin:8px 0}.match-detail-fields>div{display:grid;grid-template-columns:minmax(85px,1fr) minmax(0,1.65fr);align-content:start;gap:10px;border-bottom:1px solid #e5ebf5;padding:8px 0;min-width:0}.match-detail dt{color:#7a889f;font-weight:400}.match-detail dd{margin:0;color:#35455e;min-width:0;line-height:1.7}
@media(max-width:1000px){.match-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}}
@media(max-width:600px){.match-detail{padding:12px}.match-detail-fields{grid-template-columns:minmax(0,1fr);gap:0}.match-detail-fields>div{grid-template-columns:104px minmax(0,1fr);padding:8px 0}.match-detail>summary{font-size:12px}.match-detail>summary small{font-size:10px}}
.metric-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin-top:12px}.metric-help h3{font-size:13px;margin:0 0 4px;color:#35455e}.metric-help p{font-size:12px;line-height:1.9;white-space:normal;overflow-wrap:anywhere;margin:0}.metric-help-sources{border-top:1px solid var(--border);padding-top:12px;margin-top:14px}.metric-help-sources p+p{margin-top:8px}
@media(max-width:740px){.metric-help-grid{grid-template-columns:minmax(0,1fr)}}
.language-switch button{padding:5px 7px;font-size:12px;white-space:nowrap}
.language-switch button[aria-pressed=true]{background:#2256c8;color:white;border-color:#2256c8}
@media(max-width:600px){.header{flex-wrap:wrap;gap:8px}.language-switch{margin-left:auto}.brand small{max-width:170px}.language-switch button{font-size:11px;padding:4px 6px}}
