/* Approved Concept 1: composition, rather than a recolor of the old console. */
:root{--mock-bg:#fff;--mock-soft:#f7fbfd;--mint:#e1f8f5;--peach:#fff1eb;--ice:#eaf5ff;--ink:#08243d;--card-shadow:0 5px 18px #183b5e0b}
:root[data-theme=dark]{--mock-bg:#0b1a28;--mock-soft:#102331;--mint:#07333d;--peach:#29262e;--ice:#102d40;--ink:#f2f7ff;--card-shadow:0 6px 18px #0002}
body{background:radial-gradient(ellipse at 0 90%,#ffb39218,transparent 35%),radial-gradient(ellipse at 100% 0,#07b5b91b,transparent 35%),var(--bg)}
.shell{max-width:1470px;padding:0 44px;margin:24px auto;background:var(--mock-bg);border:1px solid var(--border);border-radius:26px;box-shadow:0 20px 65px #17364b09;min-height:calc(100dvh - 48px)}
.sidebar{background:transparent;padding:22px 0;gap:12px;min-height:82px}.brandmark{width:34px;height:34px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);border-radius:0;background:linear-gradient(135deg,#54c7c6,#007b82)}.brand-title{font-size:20px;letter-spacing:-.04em}.brand{padding-right:24px}.nav{gap:8px}.nav-btn{padding:12px 10px;font-size:13px;font-weight:550;border-radius:0;position:relative}.nav-btn .symbol{display:none}.nav-btn.active{background:transparent;border-color:transparent;color:var(--ink)}.nav-btn.active:after,body[data-active-screen=dashboard] [data-screen=dashboard]:after{content:"";position:absolute;bottom:0;left:10px;right:10px;height:3px;background:#00a8ae;border-radius:5px}.nav-toggle,.theme-toggle{background:transparent;font-size:11px;padding:9px}
body[data-active-screen=dashboard] .topbar{display:none}.screen.active{padding:28px 0 30px;gap:22px}.welcome-hero{position:relative;min-height:145px;padding:12px 0 8px;display:flex;align-items:center;isolation:isolate}.welcome-hero>div{position:relative;z-index:2}.welcome-hero h2{font-size:clamp(32px,3.4vw,51px);line-height:1.08;letter-spacing:-.055em;margin:0 0 14px;font-weight:800;color:var(--ink)}.welcome-hero p{font-size:21px;color:var(--muted);margin:0;letter-spacing:-.02em}.coast-art{position:absolute;width:45%;height:175px;right:-44px;bottom:-10px;object-fit:contain;object-position:right bottom;z-index:0;pointer-events:none;mask-image:linear-gradient(90deg,transparent,#000 40%)}
.quick-search{display:grid;grid-template-columns:1fr .75fr .75fr 1fr 1.3fr;align-items:center;background:var(--panel);padding:16px 18px;gap:16px;border:1px solid var(--border);border-radius:16px;box-shadow:var(--card-shadow)}.quick-search>label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.quick-search input,.quick-search select{font-size:14px;font-weight:650;min-height:43px;padding:8px 11px;border:1px solid var(--border);border-radius:9px;width:100%;background:var(--panel);color:var(--text)}.quick-search>.btn{font-size:16px;min-height:56px;border-radius:11px;display:flex;justify-content:space-between;align-items:center;padding:14px 22px}.quick-extra{grid-column:1/-1;margin:0;padding:0;border:0}.quick-extra summary{font-size:11px;color:var(--muted);font-weight:500}.quick-extra[open] .field-grid{padding:15px 0 3px}.quick-extra .field-grid label{font-size:12px;display:grid;gap:7px}#quickMessage:empty{display:none}
.explore-banner{display:flex;align-items:center;text-align:left;gap:22px;border:0;background:var(--mint);color:var(--ink);border-radius:14px;padding:22px 30px;min-height:108px;position:relative;overflow:hidden;isolation:isolate}.explore-banner strong{font-size:25px;letter-spacing:-.04em;display:block}.explore-banner small{display:block;font-size:15px;margin-top:5px}.map-symbol{color:#009ba0;font-size:58px;line-height:1;width:100px;text-align:center;opacity:.65}.banner-button{margin-left:auto;margin-right:17%;padding:12px 23px;background:var(--panel);border:1px solid var(--blue);color:var(--blue);border-radius:10px;font-size:13px;white-space:nowrap;z-index:2}.explore-banner img{position:absolute;right:-10px;bottom:-4px;width:29%;height:125px;object-fit:cover;object-position:right bottom;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 40%)}
.home-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.home-plan-heading h2{font-size:29px;letter-spacing:-.05em;margin:0 0 4px;color:var(--ink)}.home-plan-heading p{font-size:12px;color:var(--muted);margin:0}.home-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.home-filters select{max-width:190px;border:1px solid var(--border);border-radius:8px;padding:9px;font-size:11px;background:var(--panel);color:var(--text)}.home-compare{font-size:11px;color:var(--muted);border:0;border-left:1px solid var(--border);padding:10px;background:transparent}.home-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.home-plan{background:var(--panel);border:1px solid var(--border);border-top:7px solid var(--brand-accent,#00848e);border-radius:14px;padding:21px 22px;box-shadow:var(--card-shadow);min-width:0;display:flex;flex-direction:column}.home-plan .carrier-brand{height:66px;min-height:66px;margin-bottom:12px}.home-plan .carrier-brand img{padding:5px 0;max-width:220px;width:auto;max-height:64px;height:64px;border-radius:6px;object-fit:contain}.home-plan h3{font-size:15px;line-height:1.4;letter-spacing:-.025em;min-height:42px;margin:0 0 5px;color:var(--ink)}.home-issuer{font-size:10px;color:var(--muted);margin:0}.home-price{font-size:36px;font-weight:800;letter-spacing:-.055em;color:var(--ink);margin:12px 0}.home-price small{font-size:13px;font-weight:500;letter-spacing:0}.home-plan dl{margin:4px 0 20px;flex:1}.home-plan dl>div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--border);font-size:12px}.home-plan dt{color:var(--muted);flex:1}.home-plan dd{margin:0;max-width:56%;text-align:right;color:var(--text);font-size:12px}.home-plan-footer{display:flex;gap:9px;align-items:center;justify-content:space-between}.home-plan-footer label{font-size:11px;white-space:nowrap;color:var(--muted)}.home-plan-footer .btn{border-color:var(--blue);font-size:12px;padding:11px 14px;border-radius:9px}.empty-plan{border-top-color:var(--border);min-height:305px;box-shadow:none}.preview-number{font-size:32px;letter-spacing:-.05em;color:var(--teal);opacity:.4;margin-bottom:24px}.empty-plan p,.empty-plan>span:last-child{font-size:12px;color:var(--muted);line-height:1.6}.empty-lines{display:grid;gap:12px;margin:15px 0 22px}.empty-lines i{height:8px;background:var(--surface);border-radius:5px}.empty-lines i:nth-child(2){width:80%}.text-link{border:0;background:transparent;color:var(--blue);font-size:12px;text-align:right;padding:0}
.home-actions{display:grid;grid-template-columns:1fr 1fr;gap:20px}.home-action{display:flex;align-items:center;gap:20px;min-height:110px;padding:19px 26px;text-align:left;border:0;border-radius:15px;color:var(--ink)}.home-action strong{display:block;font-size:23px;letter-spacing:-.04em}.home-action small{font-size:14px;color:var(--muted);display:block;margin-top:5px}.home-action>span:last-child{margin-left:auto;font-size:30px}.swap-action{background:var(--peach)}.story-action{background:var(--ice);position:relative;padding-left:155px;overflow:hidden}.action-symbol{font-size:62px;color:#ff8d74;width:80px}.story-action img{position:absolute;left:-8px;bottom:-4px;width:190px;height:120px;object-fit:cover;object-position:left center;mask-image:linear-gradient(90deg,#000 75%,transparent)}.home-system{margin:0;border:0;font-size:11px}.home-system summary{font-size:11px;color:var(--muted);font-weight:500}.home-system[open]>div{margin-top:16px}.home-system #dashboardStats{gap:10px}.next-profile{background:var(--surface);padding:20px;border-radius:16px}.next-profile h3{margin-bottom:15px}.profile-summary{font-size:13px;color:var(--teal);font-weight:650}
/* Motion follows navigation and pointer intent; no perpetual moving text. */
.screen.active{animation:screenReveal .3s ease both!important}.home-plan,.home-action,.explore-banner,.btn{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease}.home-plan:hover{transform:translateY(-5px);box-shadow:0 16px 32px #14345414}.home-action:hover,.explore-banner:hover{transform:translateY(-3px)}.home-plan{animation:cardReveal .4s ease both}.home-plan:nth-child(2){animation-delay:.055s}.home-plan:nth-child(3){animation-delay:.11s}.coast-art{animation:coastReveal .65s ease both}.theme-toggle{transition:background-color .2s,color .2s,transform .2s}.theme-toggle:active{transform:scale(.95)}
@keyframes screenReveal{from{opacity:.45;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes cardReveal{from{opacity:.35;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes coastReveal{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:none}}
[data-theme=dark] .coast-art,[data-theme=dark] .explore-banner img{filter:brightness(.78) saturate(1.15)}[data-theme=dark] .home-plan .carrier-brand img{background:white;padding:8px 12px}[data-theme=dark] .home-plan{box-shadow:0 10px 25px #0002}
@media(min-width:1600px){.shell{margin-top:38px}}
@media(max-width:1150px){.shell{padding:0 28px;margin:12px}.brand{padding-right:6px}.brand-title{font-size:17px}.nav-btn{font-size:12px;padding:10px 7px}.welcome-hero h2{font-size:42px}.welcome-hero p{font-size:18px}.banner-button{margin-right:12%}.home-plan-footer{flex-wrap:wrap}.home-action strong{font-size:20px}.story-action{padding-left:120px}.story-action img{width:150px}.home-filters select{max-width:145px}}
@media(max-width:840px){.shell{padding:0 20px;border-radius:18px;margin:8px;min-height:calc(100dvh - 16px)}.sidebar{padding:16px 0}.brand-title{font-size:18px}.screen.active{padding-top:20px;gap:18px}.welcome-hero{min-height:145px;align-items:flex-start;padding-top:8px}.welcome-hero h2{font-size:34px;max-width:280px;line-height:1.08}.welcome-hero p{font-size:15px;max-width:255px}.coast-art{right:-20px;bottom:-6px;width:60%;height:105px;opacity:.6!important;mask-image:linear-gradient(90deg,transparent,#000)}.quick-search{grid-template-columns:1fr 1fr;padding:14px;gap:12px}.quick-search>.btn{grid-column:1/-1;min-height:47px}.explore-banner{padding:20px;gap:10px;flex-wrap:wrap}.map-symbol{display:none}.explore-banner strong{font-size:23px}.explore-banner small{font-size:13px}.banner-button{margin:3px 0 0;font-size:12px;padding:10px 16px}.explore-banner img{width:45%;height:110px;opacity:.65}.home-plan-heading h2{font-size:26px}.home-filters{gap:7px}.home-filters select{max-width:100%;font-size:11px;padding:8px}.home-plan-grid{grid-template-columns:1fr}.home-plan{padding:20px}.empty-plan{min-height:190px}.empty-plan:nth-child(n+2){display:none}.home-actions{grid-template-columns:1fr}.home-action strong{font-size:22px}.home-action small{font-size:13px}.home-plan-footer{flex-wrap:nowrap}.story-action{padding-left:145px}.story-action img{width:180px}.quick-extra .field-grid{grid-template-columns:1fr}.home-plan-heading{align-items:start}.topbar h1{font-size:24px}.topbar .right{font-size:10px}.home-compare{border:0}.home-plan .carrier-brand img{max-width:230px}}
@media(prefers-reduced-motion:reduce){.screen.active,.home-plan,.coast-art{animation:none!important}*,*:before,*:after{transition:none!important}.home-plan:hover,.home-action:hover,.explore-banner:hover{transform:none}}

.home-plan{animation:none}.map-symbol svg{display:block;width:100%;height:70px}#screen-dashboard #dashboardResume{display:none!important}
[data-theme=dark] .coast-art,[data-theme=dark] .explore-banner img{content:url('/static/art/coast-dark.png');filter:none}

.subsidy-summary{border-color:var(--teal);background:var(--surface);margin:0}.subsidy-summary h3{margin:8px 0}.subsidy-amount{font-size:32px;color:var(--teal)}.subsidy-summary p{font-size:13px;margin:10px 0}.subsidy-summary pre{max-height:230px;overflow:auto;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.shopping-extra{padding:16px 0;border-top:1px solid var(--border)}.shopping-extra[open]>.field-grid{margin:16px 0}.shopping-extra .field>div{display:flex;gap:6px;flex-wrap:wrap}#resultFilterPanel select[multiple]{min-height:110px}#resultFilterPanel select[multiple] option{padding:5px}#homeSubsidy:empty,#searchSubsidy:empty,#resultSubsidy:empty,#nextSubsidy:empty{display:none}
#resultFilterPanel>.field-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}#resultFilterPanel>.field-grid label{font-size:12px}@media(max-width:1000px){#resultFilterPanel>.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){#resultFilterPanel>.field-grid{grid-template-columns:1fr}}
.field select option{background:var(--panel);color:var(--text)}.field select option:checked{background:var(--surface);color:var(--text);font-weight:750}

#resultFilterPanel input[type=checkbox]{width:auto;flex:0 0 auto}.shopping-extra>.checkpill{justify-content:flex-start;width:fit-content;margin:12px 0;white-space:normal}

.rank-tables{display:grid;gap:24px;margin-top:18px}.rank-tables>section{min-width:0}#flSearchSummary{overflow-wrap:anywhere}#flSearchSummary:empty{display:none}#flCompareTables .table-wrap{max-height:550px;overflow:auto}

.plain-cost-comparison{min-width:0}.plain-cost-comparison h2{font-size:clamp(1.15rem,2vw,1.6rem);line-height:1.4}.plain-cost-comparison td{min-width:145px;white-space:normal}.plain-cost-comparison li{margin-block:.65rem}.client-cost-message{padding:1rem;border-left:3px solid var(--accent,#27b4a2);line-height:1.7;background:var(--surface-alt,transparent)}#homeCostComparison{margin-block:1rem}#flCostComparisons>.panel{margin-block:.75rem}

.progressive-details>summary{cursor:pointer;padding:.8rem .15rem;font-weight:650}.progressive-details>summary .small{display:block;font-weight:400;opacity:.75;margin-top:.25rem}.disclosure-body{padding:.5rem 0}.difference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.8rem;margin:1rem 0}.difference-card{padding:1rem;border:1px solid var(--border,#b8cbd144);border-radius:14px;line-height:1.5}.difference-card h4{margin:0 0 .65rem}.difference-card strong{font-size:1.35rem}.difference-card p{margin:.4rem 0}.progressive-details[open]>.disclosure-body,.progressive-details[open]>.difference-grid{animation:reveal-cost .2s ease-out}@keyframes reveal-cost{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.progressive-details[open]>.disclosure-body,.progressive-details[open]>.difference-grid{animation:none}}
