/* CEO composition only. Material and sea belong to shared/platform-sea. */
html body {background:var(--platform-bg);color:var(--platform-ink);--text:var(--platform-ink);--text-2:var(--platform-muted);--accent:var(--platform-accent);--brand:var(--platform-accent);--gap:var(--platform-gap);--r-card:var(--platform-radius);--gl-fill:var(--platform-fill);--gl-fill-strong:var(--platform-fill);--gl-edge:var(--platform-border);--gl-shadow:var(--platform-shadow);--gl-blur:blur(var(--sea-glass-blur)) saturate(var(--sea-glass-saturation));--glass:var(--platform-fill);--glass-solid:rgba(var(--sea-glass-rgb),.25)}
html body :is(.card,.kpi,.hero,.decision,.dept-big,.metric-row button,.seg,.gsel,.gpop,.srcnote,.atip,dialog,#ceo-account-menu,.ceo-aquis,.ca-input,.ca-msg,.ceo-map3d-panel) {background:var(--platform-fill)!important;border-color:var(--platform-border)!important;box-shadow:var(--platform-shadow)!important;backdrop-filter:var(--gl-blur)!important;-webkit-backdrop-filter:var(--gl-blur)!important;border-radius:var(--platform-radius)}
html body .card::before {display:none}
html body :is(#wl-water,#wl-life,#ceo-bg-fish) {display:block!important;visibility:hidden!important;pointer-events:none}
html body .top {max-width:none;margin:0;padding-inline:24px;background:transparent}
html body main {padding-bottom:14px}
html body .dash {gap:var(--platform-gap)}
html body :is(.kl,.ml,.dept-title) {white-space:normal;overflow-wrap:anywhere}
html body .foot {position:relative;padding-right:142px}
/* AQUIS (#aquis) and Dive (#ceo-dive): size, place and look come only from ../shared/aquis-mark/aquis-mark.css (owner Nov 12). */
html body .aquis {z-index:4}
html body .ceo-dive {z-index:5}
.ceo-visual-settings {max-width:400px;padding:24px;color:var(--text)}
.ceo-visual-settings label {display:flex;align-items:center;gap:12px;margin-block:20px}
html body .iovo-sea-seg--themes button {width:auto;min-width:44px;padding:5px 9px;font:inherit}
html body .iovo-sea-seg--themes button svg {display:none}
@media(max-width:760px) {
 html body .top {padding-inline:12px;flex-wrap:wrap;height:auto;gap:10px}
 html body .tools {flex-wrap:wrap;max-width:100%;justify-content:flex-start}
 html body main {padding-inline:12px}
 html body .foot {padding-right:0;padding-bottom:134px}
}
/* Explicit columns avoid the retired, undefined --aquis-corner-size token. */
@media(min-width:1181px) {
 html body .bottom,html body .bottom-sk {grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr))}
}
@media(min-width:701px) and (max-width:1180px) {
 html body .bottom,html body .bottom-sk {grid-template-columns:repeat(2,minmax(0,1fr))}
 /* AQUIS and Dive now stay in the Rep's corner at every width, so tablets keep the same right rail as wide screens
    (ceo-command.css, 1181px and up): the map's Expand and Zoom buttons never sit under the figure. */
 html body main {padding-right:124px}
}
html body .card.atlas {background:var(--platform-fill)!important}
html body .top[data-no-world-launcher] {background:transparent!important;position:relative}
html body .card :is(.metric-row button,.hero,.dept-big) {box-shadow:inset 0 1px 2px color-mix(in srgb,var(--platform-ink) 16%,transparent)!important;border-radius:11px}
html body {isolation:isolate}
@media(max-width:700px) {
 html body .foot {padding-bottom:0}
}
html body {font-family:var(--platform-font-ui)}
html body :is(h2,h3) {font-family:var(--platform-font-display);font-weight:400;letter-spacing:-.5px}
html body :is(.rec-finance,.rec-details dl,.drill-sum,.rec-controls select,.rec-search,.m3-card,.m3-tip,.m3-fit,.m3-close,.m3-customer,.map-quick,.alegend,.fit,.atlas-expand,.inv-tile) {background:var(--platform-fill)!important;border-color:var(--platform-border)!important;backdrop-filter:var(--gl-blur)!important;-webkit-backdrop-filter:var(--gl-blur)!important;box-shadow:var(--platform-shadow)!important}
html body {background-attachment:fixed}
/* Keep desktop rows compact without shrinking figures or clipping text. */
@media(min-width:1181px) {
 html body .kpi {min-height:82px;padding:8px 16px}
 html body .kv {font-size:28px}
 html body .rv-water {height:42px}
 html body .decision {min-height:40px;padding-block:3px}
}
@media(min-width:1181px) {
 html body .rv-water .flag {transform:translate(-50%,-110%)}
 html body .kpi.pv .d {display:block;overflow:visible;-webkit-line-clamp:unset}
}

/* The retained lazy game draws through the legacy life canvas. Reveal it only for an active game. */
html[data-sea-game] body #wl-life {visibility:visible!important}
html body :is(.iovo-koi__card,.iovo-koi__hud) {background:var(--platform-fill);border-color:var(--platform-border);color:var(--platform-ink);backdrop-filter:var(--gl-blur);box-shadow:var(--platform-shadow)}
html[data-sea-game] body #wl-life {z-index:0}
/* Expanded ranking rows own their intrinsic height, so their profile action remains clickable. */
html body .reps .tiles:has(.rep-quick:not([hidden])) {grid-auto-rows:auto;align-content:start}
html body .reps .tiles:has(.rep-quick:not([hidden])) .rep > button {height:auto;min-height:26px}
html body .rep-quick {padding:8px;margin-top:4px;border:1px solid var(--platform-border);border-radius:11px;background:var(--platform-fill)}
html body .rep-quick[hidden] {display:none}
html body .reps .tiles .rep-quick button {display:block;height:auto;min-height:32px;margin-top:6px}

/* A scrolling dashboard must not slide live controls behind a sticky header. */
html body .top[data-no-world-launcher] {position:relative!important}
html body .ceo-dive.no-label {width:32px}
@media(min-width:701px) and (max-width:1600px) {
 html body .brand {min-width:0;flex:1 1 auto}
 html body .ttl {min-width:0;overflow:visible}
 html body .ttl b {font-size:18px;line-height:1.15;white-space:normal;overflow:visible}
 html body .tag {display:none}
}
/* Frame: themes are exactly Aqua, Dia, Noche. The Water/Network effect picker is not part of the standard top bar, and the shared sea has no Network mode. */
html body .iovo-sea-seg--fx {display:none}

/* ---- Round 3: one material. Panels are the Office glass (tokens in ceo-glass.css); everything INSIDE a panel is a flat row:
   calm fill + hairline, no second glass, no glow, no blur, so the sea shows through every panel (OWNER RULES 2.5). ---- */
html body #main .card :is(.decision,.metric-row button,.dept-big,.hero,.inv-tile,.rec-finance,.drill-sum,.call,.rep-quick,.m3-card) {background:var(--platform-row)!important;border:1px solid var(--platform-row-line)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:12px}
html body #main .card :is(.decision,.metric-row button):hover:not(:disabled) {background:var(--platform-row-hover)!important}
html body #main .card .decision {margin-inline:0;width:100%}
html body #main .card :is(.alegend,.map-quick,.fit,.atlas-expand) {backdrop-filter:blur(var(--sea-glass-blur)) saturate(var(--sea-glass-saturation))}
/* The map plate keeps its darker map tone but lets the sea through it. */
html body #main .atlas .map {background:linear-gradient(rgba(2,22,36,.46),rgba(2,22,36,.46))!important}
html[data-theme=light] body #main .atlas .map {background:linear-gradient(rgba(255,255,255,.30),rgba(255,255,255,.30))!important}
