/* V23 · Television theme. No changes to slide selection, pagination or metrics. */
:root{--tv-surface:#102e46;--tv-border:#31546b;--tv-copy:#edf5fb;--tv-muted:#b6ccdc}
body{background:radial-gradient(ellipse at 90% 0%,#153b54 0,transparent 45%),#071e30;color:var(--tv-copy);font-family:'Segoe UI',Arial,sans-serif}
.tv-header{border-bottom-color:#35536b;padding-bottom:1.3vh}.tv-brand img{border-radius:10px;background:#fff}.tv-header h1{letter-spacing:-.035em}.tv-header .eyebrow{letter-spacing:.15em;color:#8fd7cc}.clock #clock{font-variant-numeric:tabular-nums;letter-spacing:-.04em}.clock #calendar{color:var(--tv-muted)}
.kpi{border:1px solid var(--tv-border);background:linear-gradient(135deg,#143750,#102c43);border-radius:12px;box-shadow:0 6px 20px #0000000c;border-top:3px solid #527e9a}.kpi p{color:#c3d8e7;font-weight:650;letter-spacing:.045em}.kpi strong{font-variant-numeric:tabular-nums;letter-spacing:-.045em;font-weight:750;color:#fff}.kpi span{color:#b7cedd}.kpi:nth-child(2){background:linear-gradient(135deg,#16483e,#103a34);border-color:#356b60;border-top-color:#70d6b1}.kpi:nth-child(2) strong{color:#b6f5d6}.kpi:nth-child(3){border-top-color:#8197d2}
.division-panel,.bi-tv-table,.ranking-rest{background:#102b42;border:1px solid #315069;border-radius:12px;box-shadow:0 5px 20px #0000000a}.section-title h2,.bi-tv-heading p{color:#d6e7f2}.section-title{border-bottom-color:#315069}th{color:#b8cedd;letter-spacing:.045em;font-weight:650}td{font-variant-numeric:tabular-nums}tbody tr:nth-child(even){background:#15344a}th,td{border-color:#2a475c}.bi-tv-table tr.bi-parent{background:#18483f;color:#b8f3d9}.bi-tv-table td:first-child{color:#edf5fb}.tv-share-card{background:#173a50;border:1px solid #31556c;border-radius:8px}.tv-share-bar{background:#294a60}.tv-share-bar i{background:#67d5ac}.tv-share-name{color:#c3d9e8}
.podium-card{border-radius:12px;background:#12344b;border:1px solid #33556b;box-shadow:0 6px 20px #0001}.podium-card:first-child{border-color:#b29d67}.ranking-row{border-color:#315069}.ranking-name{color:#eef7ff}.rank-number{font-variant-numeric:tabular-nums}.tv-team article,.tv-team-list,.team-supervisor-card{border-radius:10px;border-color:#31566c;box-shadow:0 3px 14px #0000000a}.tv-team article strong,.team-supervisor-chart-label strong{font-variant-numeric:tabular-nums;letter-spacing:-.035em}.tv-team-insight{border-radius:7px}.bi-tv-heading span{border:1px solid #3a5b71;background:#14344c;padding:5px 9px;border-radius:7px;color:#c5dfef}.notes{color:#b4cbdc}
footer{border-top-color:#315069;color:#b2c9db}footer button{border:1px solid #41627a;background:#13334b;color:#dcebf5;border-radius:7px}footer button:hover{background:#20465e}footer button:focus-visible{outline:3px solid #9ae4cb;outline-offset:3px}#tv-pause[aria-pressed=true]{background:#685329;color:#fff1ce}.tv-data-status{font-variant-numeric:tabular-nums}#rotation-state{color:#b7cddd}
/* Standalone lead TV shares the same palette and keeps every original section. */
.brand img{background:#fff;border-radius:10px}.brand h1{letter-spacing:-.035em}header{border-color:#35536b}.metrics article,.panel{background:#102d44;border-color:#315069;border-radius:12px}.metrics article{border-top:3px solid #5c8cac}.metrics article:nth-child(2){background:#123e36;border-top-color:#71d6b1}.metrics article:nth-child(3){border-top-color:#8eaae4}.metrics article:nth-child(4){border-top-color:#d5bb7c}.metrics strong{font-variant-numeric:tabular-nums;letter-spacing:-.045em;color:#f1f8fd}.metrics h2,.panel h2{color:#d7e8f2}.metrics small,.basis,.legend,.empty{color:#b7cddd}.panel th{background:#102d44;color:#b7cddd}.controls select,.controls input,nav button{border-color:#466880;background:#15364d;color:#edf6fc;border-radius:7px}nav button[aria-pressed=true]{background:#c0efdf;color:#103b31;border-color:#c0efdf}.lead-tracking .attention-red td:first-child{border-left-color:#ffaaa4}.lead-tracking .attention-yellow td:first-child{border-left-color:#f7d590}.lead-tracking .attention-green td:first-child{border-left-color:#91e9bc}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* V24: monthly result at the left, business divisions at the right. */
@media(min-width:1000px){
 body.tv-command-summary #board{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);grid-template-rows:minmax(0,1fr) auto;gap:1.4vw;min-height:0}
 body.tv-command-summary #summary-kpis{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1.45fr) minmax(0,1fr);gap:1.2vh .8vw;min-height:0;margin:0;align-self:stretch}
 body.tv-command-summary #summary-kpis .kpi{width:100%;box-sizing:border-box;min-width:0;min-height:0;margin:0;padding:2vh 1vw;display:flex;flex-direction:column;justify-content:center;border-radius:12px}
 body.tv-command-summary #summary-kpis .kpi:nth-child(2){grid-column:1/3;grid-row:1;background:linear-gradient(145deg,#166d64,#10483f);border:1px solid #70c5ad;border-top:4px solid #a2e8ce;padding:3vh 1.4vw}
 body.tv-command-summary #summary-kpis .kpi:nth-child(1){grid-column:1;grid-row:2;background:#12354d;border-color:#3b6278}
 body.tv-command-summary #summary-kpis .kpi:nth-child(3){grid-column:2;grid-row:2;background:#1b344c;border-color:#53658c}
 body.tv-command-summary #summary-kpis .kpi p{font-size:clamp(11px,1vw,20px);white-space:normal;line-height:1.4;margin:0 0 1.3vh}
 body.tv-command-summary #summary-kpis .kpi strong{font-size:clamp(23px,2.1vw,42px);line-height:1.2;letter-spacing:-.05em;white-space:normal;overflow-wrap:anywhere}
 body.tv-command-summary #summary-kpis .kpi:nth-child(2) p{font-size:clamp(12px,1.15vw,23px);color:#c1efe1;letter-spacing:.1em}
 body.tv-command-summary #summary-kpis .kpi:nth-child(2) strong{font-size:clamp(34px,3.55vw,70px);color:#fff;margin:1.5vh 0;letter-spacing:-.055em}
 body.tv-command-summary #summary-kpis .kpi span{font-size:clamp(11px,.9vw,18px);line-height:1.5}
 body.tv-command-summary #summary-table{align-self:stretch;min-height:0;margin:0;padding:2vh 1.3vw;border-radius:12px;background:#f4f8fb;color:#153b56;border:0;overflow:auto}
 body.tv-command-summary #summary-table .section-title{padding-bottom:1.5vh;border-bottom:1px solid #d2e0e9}body.tv-command-summary #summary-table h2{color:#103b56;font-size:clamp(17px,1.5vw,30px)}body.tv-command-summary #summary-table .section-title>span{color:#58758b}
 body.tv-command-summary #summary-table table{width:100%}body.tv-command-summary #summary-table th{color:#557086;border-bottom:1px solid #d5e3eb;font-size:clamp(9px,.8vw,16px);white-space:normal;line-height:1.4;padding:1.3vh .5vw}body.tv-command-summary #summary-table td{font-size:clamp(13px,1.35vw,27px);padding:1.8vh .5vw;border-color:#dce7ee;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
 body.tv-command-summary #summary-table tbody tr:nth-child(even){background:#e7f0f5}body.tv-command-summary #summary-table .today-cell{color:#08765c}body.tv-command-summary #summary-table td:first-child{font-weight:750;color:#143d58}
 body.tv-command-summary #summary-table .tv-division-share{border-color:#cadde7}body.tv-command-summary #summary-table .tv-share-heading h3{color:#264e67}body.tv-command-summary #summary-table .tv-share-heading>span{color:#536e82}body.tv-command-summary #summary-table .tv-share-card{background:#e7f1f5;border-color:#ccdde8;color:#143d58}body.tv-command-summary #summary-table .tv-share-card strong,body.tv-command-summary #summary-table .tv-share-name{color:#143d58}body.tv-command-summary #summary-table .tv-share-card b{color:#08755c}body.tv-command-summary #summary-table .tv-share-card small{color:#506d82}
 body.tv-command-summary #notes{grid-column:1/3;margin:0;font-size:clamp(10px,.8vw,16px)}
 body.tv-command-table #bi-tv{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.65fr);grid-template-rows:auto minmax(0,1fr);gap:1.5vh 1.4vw}
 body.tv-command-table .bi-tv-heading{grid-column:1/3;grid-row:1}body.tv-command-table #bi-tv-metrics{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:1.4vh;min-height:0;margin:0}
 body.tv-command-table #bi-tv-metrics .kpi{width:100%;min-height:0;flex:1;margin:0;padding:2vh 1.2vw;display:flex;flex-direction:column;justify-content:center;border-radius:12px}body.tv-command-table #bi-tv-metrics .kpi strong{font-size:clamp(30px,2.6vw,52px);line-height:1.2;margin:.8vh 0;white-space:normal;overflow-wrap:anywhere}body.tv-command-table #bi-tv-metrics .kpi p{font-size:clamp(12px,1.05vw,22px)}body.tv-command-table #bi-tv-metrics .kpi span{font-size:clamp(10px,.85vw,18px);line-height:1.4}
 body.tv-command-table #bi-tv-table{grid-column:2;grid-row:2;padding:1.6vh 1.1vw;background:#f4f8fb;color:#153b56;border:0;border-radius:12px;overflow:auto;min-height:0}body.tv-command-table #bi-tv-table th{background:#e8f0f5;color:#4a6c83;white-space:normal;border-color:#d0e0e9;padding:1.3vh .5vw;font-size:clamp(10px,.8vw,16px)}body.tv-command-table #bi-tv-table td{color:#163e58;border-color:#d5e3ec;padding:1.8vh .5vw;font-size:clamp(12px,1.2vw,25px);line-height:1.4}body.tv-command-table #bi-tv-table tbody tr:nth-child(even){background:#e6eff5}body.tv-command-table #bi-tv-table tr.bi-parent{background:#d4eee3;color:#09654c}body.tv-command-table #bi-tv-table .no-rows{color:#4e6c82}
}

.lead-rate-track{display:block;height:7px;background:rgba(126,188,209,.18);border-radius:8px;margin-top:8px;min-width:100px}.lead-rate-track>span{display:block;height:100%;border-radius:8px;background:#5fd9bd}.lead-focus-red{background:rgba(219,73,75,.19)}.lead-focus-yellow{background:rgba(224,171,41,.13)}.lead-focus-blue{background:rgba(47,136,184,.13)}
