/* Signed-in app: v10 typography and components on top of shell.css */
html,body{font-family:Inter,"Nunito Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px}
h1,h2,h3,.kpi .v,.brand b,.big{font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif}
.mt{margin-top:16px}.wide{width:100%;justify-content:center;margin-top:12px}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.g21{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.1fr);gap:16px;align-items:start}.g2c{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:start}
.g2>*,.g21>*,.g2c>*{min-width:0}

.kpi{min-width:0}.kpi .v{font-size:24px;overflow-wrap:anywhere}.kpi .v.up,.up{color:#1E7A43}.kpi .v.dn,.dn{color:#B13A2E}
.card .bd{padding:14px 16px}.card .hd h3{white-space:normal}.card .hd .sp{flex:1}
.greet h2{margin:2px 0 2px;font-size:24px;letter-spacing:-.4px}.greet p{margin:0 0 16px;color:var(--muted);font-weight:600}
.t2{width:100%}.t2 td,.t2 th{white-space:normal}.t2 .num{text-align:right;font-variant-numeric:tabular-nums}.t2 tr.s td{background:#FFF7EE}.t2 tr:last-child td{border-bottom:0}.t2 small.blk{display:block;color:var(--muted);font-weight:600;font-size:12px}
.card .bd>.t2:first-child{margin:-14px -16px;width:calc(100% + 32px)}.card .bd>.t2:first-child+.foot-note,.card .bd>.t2:first-child+.btn{margin-top:26px}.tst+.t2{margin-top:12px}
.pn{display:flex;align-items:center;gap:10px}.pn b{display:block}.pn small{display:block;color:var(--muted);font-weight:600;font-size:12px}
.mg{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;background:#EEF1F9;color:#4F51D6;font-weight:800;font-size:12px;flex:none}.mg.s{background:#E67500;color:#fff}
.mono-tile{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:#EEF1F9;color:#4F51D6;font-weight:800;font-size:14px;flex:none}
.top .subj{display:flex;align-items:center;gap:12px;max-width:none;overflow:visible;white-space:normal}.subj .mg{width:44px;height:44px;border-radius:12px;font-size:15px}.subj h1{font-size:19px;line-height:24px}.subj .sub{font-size:12px;color:var(--muted);font-weight:600}
.top .acts{display:flex;align-items:center;gap:10px}
.msel{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:var(--muted)}.msel select{height:34px;border:1px solid var(--line2);border-radius:var(--r);padding:0 10px;font:600 13px Inter,sans-serif;color:var(--ink);background:#fff;max-width:210px}
.ring2{position:relative;display:inline-grid;place-items:center}.ring2 svg{position:absolute;inset:0;width:100%;height:100%}.ring2 b{font-size:11px;font-weight:800;position:relative}
.ins{list-style:none;margin:-4px 0;padding:0}.ins li{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.ins li:last-child{border-bottom:0}.ins i{flex:none;width:28px;height:28px;border-radius:8px;background:#EEF1F9;color:#4F51D6;font-style:normal;font-weight:800;display:grid;place-items:center;font-size:13px}.ins b{display:block;font-size:13px}.ins span{display:block;color:var(--muted);font-size:12px;font-weight:600;margin-top:2px}
.lc{width:100%;height:auto;display:block}
.wr{display:grid;grid-template-columns:150px minmax(0,1fr) 44px;gap:10px;align-items:center;margin:9px 0;font-size:13px;font-weight:600}.wr b{text-align:right}
.bar{height:8px;border-radius:99px;background:#EEF0F5;overflow:hidden}.bar i{display:block;height:100%;background:var(--violet);border-radius:99px}
.tst{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 4px}.tst>div{background:#F6F7FB;border-radius:10px;padding:12px 14px}.tst b{display:block;font-size:22px;letter-spacing:-.4px}.tst span{display:block;font-size:12px;color:var(--muted);font-weight:600;margin-top:2px}
.lead{margin:0 0 6px;color:var(--body);font-weight:500;line-height:21px}.foot-note{font-size:12px;color:var(--muted);font-weight:600;line-height:17px;margin-top:10px}
.big{font-size:42px;font-weight:800;letter-spacing:-1px;color:var(--violet-d);line-height:48px}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}.field .help{font-size:11.5px;color:var(--muted);font-weight:600;margin-top:4px}
input.in{width:100%;height:36px;border:1px solid var(--line2);border-radius:var(--r);padding:0 12px;font:600 14px Inter,sans-serif;background:#fff;color:var(--ink)}input.in:focus,.msel select:focus{outline:2px solid var(--violet-100);border-color:var(--violet)}
.chps{display:flex;flex-wrap:wrap;gap:6px}.chp{font:600 12px Inter,sans-serif;background:#F0F1F8;color:var(--body);border-radius:999px;padding:4px 10px;border:0}.btnlike{cursor:pointer}.btnlike:hover,.chp.on{background:var(--violet);color:#fff}
.vgr{display:grid;grid-template-columns:54px minmax(0,1fr) 92px;gap:10px;align-items:center;margin:10px 0;font-size:12.5px}.vgb{position:relative;height:16px;background:#F0F1F8;border-radius:6px}.vgb span{position:absolute;left:0;top:0;bottom:0;border-radius:6px;background:#6466E9;opacity:.85}.vgb i{position:absolute;top:-4px;bottom:-4px;width:3px;border-radius:2px;background:#12805C}.vgr em{font-style:normal;font-weight:800;text-align:right}
.cr{display:grid;grid-template-columns:140px minmax(0,1fr) 40px 76px;gap:10px;align-items:center;margin:9px 0;font-size:13px;font-weight:600}.cr b{text-align:right;font-variant-numeric:tabular-nums}.cr em{font-style:normal;text-align:center}
.pill.v{background:var(--violet-100);color:var(--violet-d)}.pill.a{background:var(--amber-50);color:#8A5F00}.pill.r{background:var(--red-50);color:#B33A2B}.pill.n{background:#EEF0F5;color:#555B6E}
.obs{margin-top:10px}.obsb{display:flex;align-items:flex-end;gap:3px;height:64px}.obsb i{flex:1;background:#CDD0F7;border-radius:3px 3px 0 0;min-width:3px}
.seg a{white-space:nowrap;padding:0 14px;min-width:70px;height:34px;display:flex;align-items:center;font-weight:700;font-size:13px;color:var(--body);border-right:1px solid var(--line2)}.seg a:last-child{border-right:0}.seg a.on{background:var(--violet);color:#fff}
.mapbox{position:relative;height:420px;border-radius:10px;overflow:hidden;background:#EAEFF5}.mapbox img{position:absolute;width:256px;height:256px;max-width:none}
.pin{position:absolute;transform:translate(-50%,-50%);width:26px;height:26px;border-radius:50%;background:var(--violet);color:#fff;font-weight:800;font-size:12px;display:grid;place-items:center;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.3)}.pin.sub{background:#E67500;width:22px;height:22px}.pin.sub span{position:absolute;left:28px;top:-2px;white-space:nowrap;background:#fff;color:var(--ink);border-radius:6px;padding:2px 7px;font-size:11px;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.attr{position:absolute;right:6px;bottom:4px;font-size:10px;background:rgba(255,255,255,.8);padding:1px 5px;border-radius:4px;color:#555}
.mapcard .legend{margin-top:10px}.legend i{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:6px}
.empty{padding:22px;text-align:center;color:var(--muted);font-weight:600}
.searchbar{margin-bottom:12px}.searchbar input{max-width:340px}
.btn.sm{height:28px;padding:0 10px;font-size:12px;border-color:var(--line2)}.lk{color:var(--violet-d);font-weight:800}
.t2.mk td{white-space:nowrap}.card .bd:has(.mk){overflow-x:auto}
.ribbon{background:#FFF4D6;border:1px solid #F2DDA0;color:#6B4B00;border-radius:10px;padding:10px 14px;font-weight:600;font-size:13px;margin-bottom:14px;line-height:18px}
.side .pv{font-size:10.5px;line-height:14px;color:var(--muted);font-weight:700;padding:0 10px 8px}
.gate{position:fixed;inset:0;z-index:50;background:rgba(14,27,61,.55);backdrop-filter:blur(6px);display:grid;place-items:center;padding:20px}.gc{background:#fff;border-radius:18px;max-width:420px;width:100%;padding:30px 28px;text-align:center;box-shadow:0 30px 80px -20px rgba(0,0,0,.5)}.gc .mk{width:48px;height:48px;border-radius:14px;background:var(--violet);display:grid;place-items:center;margin:0 auto 14px}.gc h2{margin:0 0 8px;font-size:22px}.gc p{color:var(--muted);font-weight:600;margin:0 0 18px}.gc .btn{width:100%;justify-content:center;height:42px}.gc .gl{display:block;margin-top:12px;color:var(--violet-d);font-weight:700}
@media(max-width:1100px){.g2,.g21,.g2c{grid-template-columns:minmax(0,1fr)}.kpis.k4{grid-template-columns:repeat(2,minmax(0,1fr))}.top .acts .btn.p{display:none}.msel span{display:none}}
@media(max-width:700px){.kpis.k4,.kpis.k5,.kpis.k6{grid-template-columns:repeat(2,minmax(0,1fr))}.fgrid{grid-template-columns:1fr}.tst{grid-template-columns:1fr}.wr{grid-template-columns:110px minmax(0,1fr) 40px}.cr{grid-template-columns:100px minmax(0,1fr) 36px 70px}.top{flex-wrap:wrap;padding:8px 14px}.mapbox{height:320px}.card .bd:has(.t2){overflow-x:auto}.card .bd>.t2:first-child{min-width:560px}}
.top .ttl h1{color:var(--ink)}.top .ttl{max-width:none}
.kpis.k4{grid-template-columns:repeat(4,minmax(0,1fr))!important}.kpis.k5{grid-template-columns:repeat(5,minmax(0,1fr))!important}.kpis.k6{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(min-width:1500px){.kpis.k6{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:1100px){.kpis.k4{grid-template-columns:repeat(2,minmax(0,1fr))!important}.kpis.k5{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.kpis.k4,.kpis.k5,.kpis.k6{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* ===== card header: title and sub stacked, badge right ===== */
.card .hd{align-items:flex-start}.card .hd .ht{flex:1;min-width:0;display:flex;align-items:center;gap:4px 10px;flex-wrap:wrap}.card .hd .ht .sub{white-space:nowrap;overflow:visible}.card .hd>.pill{flex:none;margin-top:1px}
.btn.g.wide{border:1px solid var(--line2);background:#fff;color:var(--violet-d)}.btn.g.wide:hover{border-color:var(--violet)}
.gt2{padding:12px 0;border-bottom:1px solid var(--line)}.gt2:last-child{border-bottom:0}.gt2 h4{margin:0 0 3px;font-size:15px;font-family:"Plus Jakarta Sans",Inter,sans-serif}.gt2 p{margin:0;color:var(--body);line-height:20px}.gx{margin-bottom:4px}.gt2:target{background:#F4F4FF;margin:0 -16px;padding:12px 16px}
.rbw{padding-bottom:0}
/* ===== tabs: one scrollable row on narrow screens (dark bar) ===== */
@media(max-width:1100px){
 .tabs{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:2px!important;padding:0 12px!important;scroll-snap-type:x proximity}
 .tabs::-webkit-scrollbar{display:none}
 .tabs a{flex:none;height:44px!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:none!important;padding:0 14px!important;scroll-snap-align:start;color:#C9CDF2!important}
 .tabs a.on{border-bottom-color:#9EA0FF!important;color:#fff!important;background:rgba(255,255,255,.12)!important}
}
/* ===== mobile ===== */
@media(max-width:700px){
 .wrap{padding:14px 12px 32px!important}
 .top{gap:8px 10px}.top .acts{width:100%;order:3}.msel{flex:1}.msel select{max-width:none;width:100%;height:38px}
 .top .subj{flex:1;min-width:0}.subj .mg{width:38px;height:38px}.subj h1{font-size:17px}
 .card .bd{padding:12px 14px}.card .hd{padding:12px 14px}
 .card .bd:has(.t2){overflow-x:visible}.card .bd>.t2:first-child{min-width:0!important;margin:-12px -14px;width:calc(100% + 28px)}
 /* stacked tables (4+ columns only) */
 table.stk thead{display:none}
 table.stk,table.stk tbody{display:block;width:100%}
 table.stk tr{display:flex;flex-wrap:wrap;gap:8px 12px;padding:12px 14px;border-bottom:1px solid var(--line)}
 table.stk tr:last-child{border-bottom:0}
 table.stk td{display:block;padding:0!important;border:0!important;white-space:normal!important;text-align:left!important;min-width:0;flex:0 0 calc(50% - 6px)}
 table.stk td[data-l]::before{content:attr(data-l);display:block;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:1px}
 table.stk td.ttl1{flex:1 1 calc(100% - 40px);font-size:14px}
 table.stk td.nl:first-child{flex:0 0 28px}
 table.stk td.nl:first-child:empty{display:none}
 table.stk td.nl:first-child:empty+td.ttl1{flex-basis:100%}
 table.stk td.nl:not(:first-child){flex:0 0 auto}
 table.stk td[data-l]:empty{display:none}
 table.stk td.num{font-variant-numeric:tabular-nums;font-weight:700}
 table.stk tr.s{background:#FFF7EE}table.stk tr.s td{background:none!important}
 .t2.mk td{white-space:normal}
 /* touch targets */
 .chp.btnlike{padding:8px 12px;font-size:13px}
 td a,.list a{min-height:32px;display:inline-flex;align-items:center}
 .btn.sm{height:34px;padding:0 14px}
 /* bedroom switch */
 .seg{flex-wrap:nowrap;max-width:100%}.seg a{padding:0 11px;height:32px;font-size:12.5px}
 .card .hd:has(.seg) .ht{flex-direction:column;align-items:flex-start;gap:8px}
 /* tile map scrolls rather than shrinking text */
 #tm svg{max-width:100%;height:auto}
 .tst{grid-template-columns:1fr 1fr}.tst>div:first-child{grid-column:1/-1}.tst b{font-size:20px}
 .big{font-size:36px;line-height:42px}
 .greet h2{font-size:21px}
 .wr{grid-template-columns:118px minmax(0,1fr) 40px}
 .cr{grid-template-columns:minmax(0,1fr) 70px 38px 70px}.cr .bar{display:none}.cr{grid-template-columns:minmax(0,1fr) 44px 74px}
 .mapbox{height:300px}
}
.lcw{width:100%}.lcw svg{display:block;width:100%;height:auto}
.card .hd .sub:has(.seg){overflow:visible;display:block;height:auto;line-height:normal}
.card .hd .sub .seg{display:inline-flex;height:auto}
.card .hd .ht>.sub{flex:1 1 100%;white-space:nowrap}

.neu{color:#3B3E8F}

.dn{color:#B13A2E}
.chk label,label.chk{gap:8px}


.tmr{margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--violet-50);color:var(--ink);font-weight:600;font-size:13px;line-height:18px}.tmr b{font-weight:800}.tmr .tmo{color:var(--violet-d);font-weight:800}

/* Dashboard below-the-fold: recent reports strip, watchlist, next steps */
.rr{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.rrc{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;text-decoration:none;color:inherit;min-width:0;transition:border-color .15s ease}
.rrc:hover{border-color:var(--violet)}
.rrc b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rrc span{font-size:11.5px;color:var(--muted);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rrc small{font-size:12.5px;font-weight:700;color:var(--violet-d)}
.ins.nxt li{display:grid;grid-template-columns:26px 1fr auto;gap:8px;align-items:center}
.ins.nxt li .lk{font-size:12.5px;font-weight:800;color:var(--violet-d);white-space:nowrap}
.ins.nxt li div{min-width:0}
@media(max-width:700px){.rr{grid-template-columns:1fr 1fr}.ins.nxt li .lk{display:none}}

/* ===== v16: homepage styling across the app ===== */
/* dashboard greeting → homepage hero panel */
.greet{background:var(--dk);color:#fff;border-radius:16px;padding:22px 26px 20px;position:relative;overflow:hidden}
.greet:before{content:"";position:absolute;inset:0;background:radial-gradient(760px 320px at 80% -30%,rgba(91,91,214,.38),transparent 70%),radial-gradient(560px 280px at -4% 130%,rgba(232,117,10,.14),transparent 70%);pointer-events:none}
.greet h2{font-family:var(--hfont);font-size:27px;letter-spacing:-.6px;position:relative;color:#fff}
.greet p{margin:4px 0 0;color:var(--lav);font-weight:600;position:relative}
/* recent reports grid: 8 cards always fill rows (4 or 2 columns) */
.rr{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1150px){.rr{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* specials bars card */
.spr{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 74px;gap:10px;align-items:center;margin:9px 0;font-size:13px;font-weight:600}
.spr>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spr .bar{height:9px;border-radius:99px;background:rgba(100,102,233,.12);overflow:hidden}
.spr .bar i{display:block;height:100%;background:linear-gradient(90deg,#5558D6,#A355F7);border-radius:99px}
.spr b{text-align:right;font-weight:800;font-variant-numeric:tabular-nums}
.spr.mut{opacity:.5}
.spr.mut .bar i{background:#9AA3CF}
.spr b.mo{color:var(--violet-d)}
@media(max-width:700px){.spr{grid-template-columns:minmax(0,1fr) 74px}.spr .bar{display:none}}
/* v16 fix: below-fold 3-card row (was undefined, stacked) */
.g3{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.g3>*{min-width:0}
.g3 .t2 td,.g3 .t2 th{padding-left:8px;padding-right:8px}
@media(max-width:1100px){.g3{grid-template-columns:minmax(0,1fr)}}

/* v16: equal-height rows, no dead space between containers */
.g2,.g21,.g2c,.g3{align-items:stretch}
.g2>div,.g21>div,.g2c>div{display:flex;flex-direction:column;gap:16px;min-width:0}
.g2>div>.mt,.g21>div>.mt,.g2c>div>.mt{margin-top:0}
.g2>.card,.g21>.card,.g2c>.card,.g3>.card{display:flex;flex-direction:column}
.g2>div>.card:last-child,.g21>div>.card:last-child,.g2c>div>.card:last-child,.g2>div>div:last-child>.card{flex:1}
.g2>.card>.bd,.g21>.card>.bd,.g2c>.card>.bd,.g3>.card>.bd,.g2>div>.card:last-child>.bd{flex:1}
.vlg{display:flex;flex-wrap:wrap;gap:6px 0;margin-top:10px;font-size:12.5px;font-weight:700;color:#4B5278}
.card .bd svg{display:block}

/* v16: universal search and geography */
.top{gap:16px}
.gsearch{position:relative;flex:1 1 380px;max-width:640px;margin:0 auto;display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid #CBD1E6;border-radius:12px;padding:0 12px;height:42px;box-shadow:0 1px 2px rgba(14,27,61,.05)}
.gsearch:focus-within{border-color:#5558D6;box-shadow:0 0 0 4px rgba(85,88,214,.14)}
.gsearch svg{color:#5558D6;flex:none}
.gsearch input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:600 14.5px var(--hfont,Inter,sans-serif);color:#0E1B3D}
.gsearch input::placeholder{color:#6B7194;font-weight:600}
.gsearch kbd{flex:none;font:700 11px Inter,sans-serif;border:1px solid #CBD1E6;border-radius:6px;padding:2px 7px;color:#6B7194;background:#F4F4FF}
.gres{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:80;background:#fff;border:1px solid #CBD1E6;border-radius:14px;box-shadow:0 18px 44px rgba(14,27,61,.22);max-height:min(70vh,460px);overflow:auto;padding:6px}
.gres[hidden]{display:none}
.gh{font:800 10.5px var(--hfont,Inter,sans-serif);letter-spacing:.09em;text-transform:uppercase;color:#5558D6;padding:10px 10px 4px}
.gi{display:block;padding:9px 10px;border-radius:9px;text-decoration:none;color:#0E1B3D}
.gi b{display:block;font-size:14px;font-family:var(--hfont,Inter,sans-serif)}.gi span{display:block;font-size:12.5px;color:#6B7194;margin-top:1px}
.gi.on,.gi:hover{background:#EEEEFF}
.gnote{padding:10px;font-size:13px;color:#4B5278}.gnote b{display:block;color:#0E1B3D;margin-bottom:2px}
.gcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;font:700 14px var(--hfont,Inter,sans-serif)}
.gcrumb a{color:#4A46C8;text-decoration:none}.gcrumb a:hover{text-decoration:underline}.gcrumb i{font-style:normal;color:#9AA3CF}.gcrumb b{color:#0E1B3D}
.ssearch{display:none!important}
.t2 tr.rowclk:hover td{background:rgba(85,88,214,.07)}
@media(max-width:900px){.gsearch{order:5;flex-basis:100%;max-width:none}.top{flex-wrap:wrap}}
#geo tr.gmore{display:none}#geo.gall tr.gmore{display:table-row}
.gshow{margin:12px 16px 4px}

/* v16: games inside the app */
.gm .cta{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 24px;border:0;border-radius:11px;background:#F07A1C;color:#fff;font:800 15px var(--hfont,Inter,sans-serif);cursor:pointer;text-decoration:none}
.gm .cta:hover{background:#E8750A}
.gmq .gmact .cta,.gmend .cta{min-width:200px}
.gm .cta2{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 22px;border:1.5px solid #CBD1E6;border-radius:11px;background:#fff;color:#0E1B3D;font:800 14.5px var(--hfont,Inter,sans-serif);cursor:pointer;text-decoration:none}
.gm .cta2:hover{border-color:#5558D6}
.main .gm.pg{border-radius:16px;padding:28px 24px 40px;min-height:calc(100vh - 190px)}
.main .gm .gml{grid-template-columns:230px minmax(0,1fr) 230px;gap:22px}
.main .gm .gml>.in{max-width:720px}
.gm .card{background:#fff;border:1px solid rgba(100,102,233,.16);border-radius:16px;box-shadow:0 6px 24px rgba(14,27,61,.07)}
.gm h1,.gm h2{font-family:var(--hfont,Inter,sans-serif);color:#0E1B3D}
.gm .gmh p{color:#4B5278}
.gm .gmgo{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
@media(max-width:1500px){.main .gm .gmr{display:none}.main .gm .gml{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:1100px){.main .gm .gml{grid-template-columns:minmax(0,1fr)}.main .gm .gml-side:not(.gmr){position:static;order:2}}

/* v16: HUD 92273-S8 adjustment grid */
.segs{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}
.seg{padding:9px 18px;border-radius:99px;border:1.5px solid #CBD1E6;background:#fff;color:#0E1B3D;font:800 13.5px var(--hfont,Inter,sans-serif);text-decoration:none}
.seg.on{background:#0E1B3D;border-color:#0E1B3D;color:#fff}
.gtw{overflow:auto;max-width:100%}
table.gt{border-collapse:separate;border-spacing:0;width:100%;min-width:900px;font-size:13.5px}
.gt th,.gt td{padding:9px 12px;border-bottom:1px solid #E4E6F2;text-align:left;vertical-align:top}
.gt thead th{position:sticky;top:0;background:#F4F4FF;font:800 13px var(--hfont,Inter,sans-serif);color:#0E1B3D;z-index:2}
.gt thead th span,.gt tbody th span{display:block;font:600 11.5px Inter,sans-serif;color:#6B7194;margin-top:2px}
.gt tbody th{background:#fff;min-width:230px;position:sticky;left:0;z-index:1;font-weight:700}
.gt tbody th b{font:700 13.5px var(--hfont,Inter,sans-serif);color:#0E1B3D}
.gt tbody th i{font-style:normal;display:inline-block;min-width:34px;margin-right:6px;color:#5558D6;font-weight:800;font-size:12px}
.gt td.sj,.gt th.sj{background:#F1F0FF}
.gt tr.pt th{background:#0E1B3D;color:#fff;font:800 11.5px var(--hfont,Inter,sans-serif);letter-spacing:.08em;text-transform:uppercase;position:static}
.gt .wh{display:inline-block;padding:2px 8px;border-radius:99px;background:rgba(120,125,170,.14);color:#6B7194;font:700 11.5px Inter,sans-serif;cursor:help}
.gt tr.gwr td,.gt tr.gwr th{padding-top:6px;padding-bottom:6px}
.gt b.adj{display:block;margin-top:3px;font-weight:800;font-size:12.5px}
.gt b.adj.up,.gt .up{color:#12805C}.gt b.adj.dn,.gt .dn{color:#B4531C}
.gt tr.ad td{background:rgba(85,88,214,.05)}
.gt tr.tot td,.gt tr.tot th{background:#EEEEFF;border-top:2px solid #0E1B3D;font-size:15px}
.gt td.thin{color:#B4531C;font-weight:700}.gt td.flag{color:#B4531C;font-weight:700}
.gt small{color:#6B7194;font-weight:700}

.gm .gmh h2.gmt{font-size:clamp(34px,5vw,52px);line-height:1.05;margin:12px 0 10px;letter-spacing:-.02em}

/* ======================================================================
   v17 design system. One scale for every app page, matching the home page.
   Type: page title 30, card title 20, KPI value 36, body 15, table 15, labels 12.
   Space: 8-point scale. Page padding 32, grid gap 24, card padding 24, KPI padding 22.
   Layout: grids restack by the width of the content area, not the window, and any table
   that is wider than its card scrolls inside the card instead of spilling out.
   ====================================================================== */
:root{--sp1:8px;--sp2:16px;--sp3:24px;--sp4:32px;--cardpad:24px;--gap:24px}
body{font-size:15px;line-height:1.5}
.top{min-height:84px;padding:12px var(--sp4);gap:var(--sp2)}
.top h1{font-family:var(--hfont);font-size:30px;line-height:1.15;font-weight:800;letter-spacing:-.6px}
.top .ttl{font-size:14.5px;line-height:1.4;font-weight:600;margin-top:2px}
.wrap{padding:var(--sp3) var(--sp4) 64px;container-type:inline-size;container-name:wrap}
.mt{margin-top:var(--gap)}
.g2,.g21,.g2c,.g3{gap:var(--gap)}
.g2>div,.g21>div,.g2c>div{gap:var(--gap)}
.kpis{gap:20px}
.card{border-radius:18px}
.card .hd{padding:20px var(--cardpad);gap:12px;align-items:baseline}
.card .hd h3{font-size:20px;line-height:1.25;letter-spacing:-.3px}
.card .hd .sub{font-size:14px;line-height:1.4;font-weight:600}
.card .bd{padding:var(--cardpad)}
.card .bd:has(>table){padding:0 0 8px;overflow-x:auto}
.card .bd:has(>.gtw){padding:0 0 8px}
.kpi{border-radius:18px;padding:22px var(--cardpad)}
.kpi .l{font-size:12px;letter-spacing:.07em}
.kpi .v{font-size:36px;line-height:42px;margin-top:8px;letter-spacing:-.8px}
.kpi .d{font-size:14px;line-height:20px;margin-top:6px}
/* tables */
.t2{width:100%;border-collapse:collapse;font-size:15px}
.t2 th{font-size:12px;letter-spacing:.07em;padding:14px 16px;text-align:left;white-space:nowrap;background:#F7F8FE;color:#5A6190}
.t2 td{padding:14px 16px;font-size:15px;line-height:1.4;vertical-align:middle}
.t2 th:first-child,.t2 td:first-child{padding-left:var(--cardpad)}
.t2 th:last-child,.t2 td:last-child{padding-right:var(--cardpad)}
.t2 .num{text-align:right;white-space:nowrap}
.t2 td small,.t2 td .muted{font-size:13px}
.ins li{padding:16px 0}.ins li b{font-size:15.5px}.ins li span{font-size:14px;line-height:1.45}
.chp{font-size:13px;padding:6px 12px}
.spr{margin:14px 0;font-size:14.5px}
.foot-note{font-size:13px;line-height:1.5;margin-top:12px}
.seg{font-size:14.5px;padding:10px 20px}
.gt{font-size:14.5px}.gt th,.gt td{padding:12px 14px}
/* sidebar scale */
.nav a{font-size:15px;padding:10px 12px}
.side .lbl{font-size:11.5px}
/* restacking by content width */
.kpis.k4{grid-template-columns:repeat(4,minmax(0,1fr))}
.kpis:not(.k4){grid-template-columns:repeat(6,minmax(0,1fr))}
@container wrap (max-width:1240px){
  .g3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g3>:first-child{grid-column:1/-1}
  .kpis:not(.k4){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@container wrap (max-width:1040px){
  .g2,.g21,.g2c,.g3{grid-template-columns:minmax(0,1fr)}
  .g3>:first-child{grid-column:auto}
  .kpis.k4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container wrap (max-width:640px){
  .kpis,.kpis.k4,.kpis:not(.k4){grid-template-columns:repeat(2,minmax(0,1fr))}
  .kpi .v{font-size:30px;line-height:36px}
}
@media(max-width:900px){
  :root{--cardpad:18px;--gap:18px;--sp4:18px}
  .top h1{font-size:24px}
  .card .hd h3{font-size:18px}
  .kpi .v{font-size:30px;line-height:36px}
  .t2 th,.t2 td{padding:12px 12px}
}
@media(max-width:700px){
  .card .bd:has(.t2),.card .bd:has(>table){overflow-x:auto!important;padding:0 0 8px}
  .card .bd>.t2:first-child{margin:0!important;width:100%!important;min-width:0!important}
  table.stk tr{padding:14px var(--cardpad)}
  table:not(.stk).t2{min-width:560px}
  .wrap{padding:18px 14px 40px!important}
}
/* v17 fixes: KPI numbers never break mid-number; table cards keep their natural height */
.kpi .v{font-size:clamp(28px,3.1cqi,36px);overflow-wrap:normal!important;white-space:nowrap;word-break:normal}
.card>.bd{flex-shrink:0}
.card .bd:has(>table){overflow-y:visible}
@container wrap (max-width:640px){.kpi .v{font-size:clamp(26px,7cqi,32px)}}
/* v17: tables sit inside the card padding rule, no negative-margin tricks */
.card .bd>.t2:first-child{margin:0!important;width:100%!important}
.card .bd>.t2:first-child+.foot-note,.card .bd>.t2:first-child+.btn{margin:16px var(--cardpad) 8px}
/* v17: wide tables (7+ columns) use a compact cell scale so they fit their card; headers may wrap */
.t2:has(th:nth-child(7)) th,.t2:has(th:nth-child(7)) td{padding:12px 10px;font-size:14px}
.t2:has(th:nth-child(7)) th{white-space:normal;font-size:11.5px;letter-spacing:.05em;line-height:1.25;vertical-align:bottom}
.t2:has(th:nth-child(7)) th:first-child,.t2:has(th:nth-child(7)) td:first-child{padding-left:var(--cardpad)}
.t2:has(th:nth-child(7)) th:last-child,.t2:has(th:nth-child(7)) td:last-child{padding-right:var(--cardpad)}
@container wrap (max-width:1240px){
  .t2 th,.t2 td{padding-left:12px;padding-right:12px}
  .t2 th:first-child,.t2 td:first-child{padding-left:var(--cardpad)}
  .t2 th:last-child,.t2 td:last-child{padding-right:var(--cardpad)}
}
.g21>div:last-child .t2 td,.g21>div:last-child .t2 th,.g3>.card .t2 td,.g3>.card .t2 th{padding:12px 8px;font-size:14px}
.g21>div:last-child .t2 td:first-child,.g21>div:last-child .t2 th:first-child{padding-left:var(--cardpad)}
.g21>div:last-child .t2 td:last-child,.g21>div:last-child .t2 th:last-child{padding-right:var(--cardpad)}

/* v17: one-row top bar, consistent generic tables, Email Reports as padded panes */
.top{flex-wrap:nowrap}
.top>div:first-child,.top .subj{flex:0 1 auto;min-width:0}
.top .subj h1{font-size:26px;line-height:1.15}
.top .subj p,.top .subj .ttl{font-size:14px}
.gsearch{flex:1 1 220px;min-width:180px;max-width:560px;margin:0 auto}
.top .acts,.top>.acts{flex:none;width:auto;margin-left:auto}
@media(max-width:1260px){.top{flex-wrap:wrap}.gsearch{order:5;flex:1 1 100%;max-width:none;margin:0}}
.main table:not(.t2):not(.gt):not(.stk):not([style]){width:100%;border-collapse:collapse;font-size:15px}
.main table:not(.t2):not(.gt):not([style]) th{font-size:12px;letter-spacing:.07em;text-transform:uppercase;padding:14px 16px;text-align:left;background:#F7F8FE;color:#5A6190;font-weight:800;white-space:nowrap}
.main table:not(.t2):not(.gt):not([style]) td{padding:14px 16px;font-size:15px;line-height:1.4;border-bottom:1px solid var(--line)}
.main table:not(.t2):not(.gt):not([style]) th:first-child,.main table:not(.t2):not(.gt):not([style]) td:first-child{padding-left:var(--cardpad)}
.main table:not(.t2):not(.gt):not([style]) th:last-child,.main table:not(.t2):not(.gt):not([style]) td:last-child{padding-right:var(--cardpad)}
.main table:not(.t2):not(.gt):not([style]) .num{text-align:right;white-space:nowrap}
.main>div[style*="300px 1fr 380px"]{margin:var(--sp3) var(--sp4) 48px;height:calc(100vh - 170px)!important;min-height:640px;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);background:#fff}
@media(max-width:1180px){.main>div[style*="300px 1fr 380px"]{grid-template-columns:minmax(0,1fr)!important;height:auto!important;min-height:0;margin:var(--sp3) var(--sp4)}}
.main .card[style*="overflow:hidden"]{overflow:hidden}
.gt .has{color:#12805C;font-weight:800;font-size:13px}.gt .no{color:#6B7194;font-size:13px;font-weight:600}
.top .subj p,.top .subj .ttl,.top>div:first-child .ttl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.top .subj{max-width:46%}
.gsearch{min-width:240px}

/* ===== v18: one card inset everywhere (matches the header) ===== */
.g21>div:last-child .t2 td,.g21>div:last-child .t2 th,.g3>.card .t2 td,.g3>.card .t2 th{padding-top:12px;padding-bottom:12px;padding-left:12px;padding-right:12px}
.g21>div:last-child .t2 :is(td,th):first-child,.g3>.card .t2 :is(td,th):first-child,.t2 :is(td,th):first-child{padding-left:var(--cardpad)!important}
.g21>div:last-child .t2 :is(td,th):last-child,.g3>.card .t2 :is(td,th):last-child,.t2 :is(td,th):last-child{padding-right:var(--cardpad)!important}
.card .pad,.card>div[style*="padding:16px"]{padding-left:var(--cardpad)!important;padding-right:var(--cardpad)!important}
.card a.row,.card .qrow{padding-left:var(--cardpad)!important;padding-right:var(--cardpad)!important}
.card .bd:has(>table)>.foot-note,.card .bd:has(>.gtw)>.foot-note,.card .bd:has(>.t2)>.foot-note{padding:12px var(--cardpad) 4px;margin:0}
.gt th.pt,.gt td.pt{padding-left:var(--cardpad)!important}
.card .bd:has(>.vlg){padding-left:var(--cardpad);padding-right:var(--cardpad)}
@media(max-width:700px){.card .pad,.card>div[style*="padding:16px"],.card a.row,.card .qrow{padding-left:var(--cardpad)!important;padding-right:var(--cardpad)!important}}
.gt tr.pt th,.gt tr.pt td{padding-left:var(--cardpad)!important}

/* ===== v18: Comptrove mark wallpaper on every signed-in page (same treatment as Games) ===== */
.main{position:relative;isolation:isolate}
.main::before{content:"";position:fixed;top:-60px;bottom:-60px;left:172px;right:-60px;background:url(../brand/mark-chart.svg) 0 0/132px 132px repeat;opacity:.06;transform:rotate(-12deg);pointer-events:none;z-index:-1}
@media(max-width:900px){.main::before{left:-60px}}
@media print{.main::before{display:none}}

/* ===== v18: interactive charts ===== */
.vtip{position:fixed;z-index:9999;max-width:280px;padding:8px 11px;border-radius:10px;background:#0E1B3D;color:#fff;font:600 12.5px/17px Inter,system-ui,sans-serif;box-shadow:0 8px 24px rgba(14,27,61,.28);pointer-events:none;opacity:0;transform:translateY(3px);transition:opacity .12s,transform .12s}
.vtip.on{opacity:1;transform:none}.vtip b{color:#fff;font-weight:800}.vtip em{font-style:normal;color:#B7B4FF;margin-left:4px;font-weight:800}
.lcw{position:relative}.lc{touch-action:pan-y;cursor:crosshair;outline:none}.lc:focus-visible{outline:2px solid #6466E9;outline-offset:2px;border-radius:8px}.lc.brushing{cursor:col-resize}
.lc .brush{pointer-events:none}.lc .xh{pointer-events:none}.lc .hd2{pointer-events:none}
.lc .ln.anim{stroke-dasharray:1;stroke-dashoffset:1;animation:lcdraw 1.1s cubic-bezier(.3,.7,.2,1) forwards}
@keyframes lcdraw{to{stroke-dashoffset:0}}
.lc .ldot{animation:ldot 2.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes ldot{50%{transform:scale(1.35)}}
.ctip{position:absolute;z-index:3;min-width:150px;padding:9px 12px;border-radius:12px;background:#0E1B3D;color:#fff;box-shadow:0 8px 24px rgba(14,27,61,.25);pointer-events:none;font-size:12.5px}
.ctip[hidden]{display:none}.ctip em{display:block;font-style:normal;font-weight:800;font-size:13px;margin-bottom:5px;color:#B7B4FF}
.ctip div{display:flex;align-items:center;gap:8px;line-height:20px}.ctip i{width:9px;height:9px;border-radius:50%;flex:none}.ctip span{flex:1;opacity:.85}.ctip b{font-weight:800}
.clg{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:10px}.clg button{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line,#E4E6F2);background:#fff;border-radius:999px;padding:4px 11px;font:700 12.5px Inter,system-ui,sans-serif;color:#2B3558;cursor:pointer}
.clg button i{width:12px;height:4px;border-radius:2px}.clg button:hover{border-color:#6466E9}.clg button.off{opacity:.45;text-decoration:line-through}
.rz{position:absolute;top:0;right:0;border:1px solid #6466E9;background:#fff;color:#4A46C8;border-radius:999px;padding:4px 12px;font:800 12px Inter,system-ui,sans-serif;cursor:pointer;z-index:4}.rz[hidden]{display:none}
.lhint{margin-top:6px;font-size:12px;color:#7A8096}
svg .hv{transition:opacity .15s,transform .15s;transform-box:fill-box;transform-origin:center;cursor:pointer}
svg .hv:hover{transform:scale(1.16)}svg:has(.hv:hover) .hv:not(:hover){opacity:.45}
.hrow{border-radius:10px;transition:background .15s}.hrow:hover{background:rgba(100,102,233,.07)}.hrow:hover .bar i{filter:brightness(1.12)}
.obsb>i.hv{transition:filter .15s,transform .15s}.obsb>i.hv:hover{filter:brightness(1.2);transform:scaleY(1.04)}
/* drag to rearrange */
.card .hd{position:relative}
.dh{position:absolute;top:5px;right:8px;width:22px;height:18px;display:flex;align-items:center;justify-content:center;color:#9AA0C4;cursor:grab;opacity:0;transition:opacity .15s;border-radius:6px}
.card:hover .dh,.dh:focus{opacity:.9}.dh:hover{background:#EEF0FF;color:#4A46C8}.dh:active{cursor:grabbing}
.card.dragging{opacity:.45;outline:2px dashed #6466E9;outline-offset:-2px}.card.over{outline:2px solid #6466E9;outline-offset:-2px;box-shadow:0 0 0 6px rgba(100,102,233,.16)}
body.dragmode .vtip{display:none}
@media(max-width:700px){.dh{display:none}.rz{top:-2px}}
@media(prefers-reduced-motion:reduce){.lc .ln.anim,.lc .ldot{animation:none}.lc .ln.anim{stroke-dasharray:none;stroke-dashoffset:0}}
.spr{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 92px}.spr b,.wr b{text-align:right;white-space:nowrap}
.pc{display:inline-block;margin-left:6px;font-size:12px;font-weight:700;color:#6B7194}
.gt tr.pc,.gt tbody tr.pc{display:table-row}
.wr{grid-template-columns:150px minmax(0,1fr) 96px}
@media(max-width:700px){.wr{grid-template-columns:110px minmax(0,1fr) 84px}.spr{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) 84px}}
.ov th{vertical-align:bottom;text-align:center!important}.ov td.ovc{text-align:center!important;font-size:16px}.ovy{color:#6466E9}.ovn{color:#C3C7DA}.ov .chip.sbj{background:#FFF1E6;color:#B4470A;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:800}
.ov td.ovc:hover{background:rgba(100,102,233,.08)}
.gt th:first-child,.gt td:first-child{padding-left:var(--cardpad)!important}
/* legend swatches and tooltip labels: larger and higher contrast */
.clg button i{width:16px;height:8px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(14,27,61,.22)}
.ctip em{color:#E6E4FF}.ctip span{opacity:1;color:#EEF0FF}.ctip i{box-shadow:0 0 0 2px rgba(255,255,255,.75)}
.vtip em{color:#E6E4FF}
/* v19: reveal animation never leaves a card visually offset */
.js-rv .wrap .kpi:not(.rv-on),.js-rv .wrap .card:not(.rv-on){opacity:0}
@supports not (aspect-ratio:1){.js-rv .wrap .kpi:not(.rv-on){transform:none}}
/* v20: high-contrast warning text and no sidebar truncation */
.ins.nxt{color:#5C3A17}
.side .recent a{overflow:hidden;text-overflow:ellipsis}
/* v22: alerts */
.alst{display:flex;flex-direction:column}
.arow{display:flex;gap:12px;align-items:center;padding:12px var(--cardpad);border-bottom:1px solid var(--line)}
.arow:last-child{border-bottom:0}
.arow .pill{flex:none}
.card>.bd>.foot-note:only-of-type{margin-top:6px}
/* v23: export bar */
.expbar{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin:0 0 14px}
.expbar .cap{font:700 12px Inter,sans-serif;color:#6B7194;letter-spacing:.06em;text-transform:uppercase}
.expbar button{height:32px;padding:0 14px;border:1.5px solid #CBD1E6;border-radius:999px;background:#fff;font:800 12.5px Inter,sans-serif;color:#2B3558;cursor:pointer}
.expbar button:hover{border-color:#6466E9;color:#4A46C8}

/* v24: workspace pages (saved reports, notifications, email, query builder, account, getting started) */
.opsrow{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.opsp{margin:0;font-size:14px;line-height:1.55;color:var(--body)}
.opscap{font:700 12px Inter,sans-serif;color:#6B7194;letter-spacing:.04em}
.opsmeta{font-size:12.5px;color:#6B7194;font-weight:600;margin-top:2px;line-height:1.45}
.opsempty{padding:26px var(--cardpad);text-align:center}.opsempty b{display:block;font:800 16px var(--hfont,Inter,sans-serif);color:#0E1B3D}.opsempty p{margin:8px auto 14px;max-width:520px;font-size:14px;line-height:1.55;color:#6B7194;font-weight:600}.opsempty .opsrow{justify-content:center}
.opsnote{margin:0 0 16px;padding:12px 16px;border:1px solid #CBD1E6;background:#F4F4FF;border-radius:12px;font-size:13.5px;line-height:1.5;color:#2B3558}
.opserr{min-height:18px;margin-top:8px;font-size:13px;font-weight:700;color:#B13A2E}
.opsgrp+.opsgrp{margin-top:18px}.opsgrp h4{margin:0 0 6px;font:800 14px var(--hfont,Inter,sans-serif);color:#0E1B3D;display:flex;gap:8px;align-items:center}
.opsitem{display:flex;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.opsitem .opsmain{flex:1;min-width:0}.opsitem .opsmain small{display:block;color:#6B7194;font-weight:600;font-size:12px;margin-top:2px}
.opsname{font-weight:800;font-size:14.5px;color:#0E1B3D}.opsname:hover{color:#4A46C8}.opsbtns{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.opsn.rd b{color:#6B7194;font-weight:700}.opsn.rd{background:#FAFAFD}
.opschips{margin:0 0 12px}.chp.btnlike{cursor:pointer}
.opsx{border:0;background:transparent;font-size:16px;line-height:1;color:#6B7194;cursor:pointer;padding:0 0 0 4px}.opsx:hover{color:#B13A2E}
.opsl{border:0;background:transparent;font:700 12px Inter,sans-serif;color:#2B3558;cursor:pointer;padding:0}.opsl:hover{color:#4A46C8}
.field span{display:block;font:700 12px Inter,sans-serif;color:#6B7194;margin-bottom:5px}
select.in{appearance:auto;padding-right:8px}
.qcond{display:grid;grid-template-columns:minmax(120px,1fr) minmax(110px,150px) minmax(120px,1.2fr) auto;gap:8px;margin-bottom:8px;align-items:center}
.qtw{overflow-x:auto;margin:0 calc(var(--cardpad) * -1);padding:0}.qt th,.qt td{padding:10px 14px}.qt th:first-child,.qt td:first-child{padding-left:var(--cardpad)}
.qsort{border:0;background:transparent;font:800 12.5px Inter,sans-serif;color:#0E1B3D;cursor:pointer;padding:0;white-space:nowrap}.qsort:hover{color:#4A46C8}
.colpick{position:relative}.colpick summary{list-style:none;cursor:pointer}.colpick summary::-webkit-details-marker{display:none}
.colbox{position:absolute;z-index:20;top:42px;left:0;min-width:210px;background:#fff;border:1px solid var(--line2);border-radius:12px;box-shadow:0 18px 40px -16px rgba(20,22,56,.4);padding:10px 14px;display:grid;gap:6px}.colbox label{display:flex;gap:8px;align-items:center;font-size:13.5px;font-weight:600}
.planbox{display:flex;gap:28px;flex-wrap:wrap;align-items:flex-start}.planname{font:800 22px var(--hfont,Inter,sans-serif);color:#0E1B3D}.plist{margin:0;padding-left:18px;font-size:14px;line-height:1.7;color:var(--body);font-weight:600}
.stepn{flex:none;width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;font:800 13px Inter,sans-serif;background:#EEF0F8;color:#2B3558}.opst.dn2 .stepn{background:#2E9E5B;color:#fff}.opst.dn2 b{color:#6B7194}
.opsprog{display:flex;gap:16px;align-items:center;margin:0 0 16px;padding:14px var(--cardpad);background:#fff;border:1px solid var(--line);border-radius:var(--r2)}.opsprog b{font:800 16px var(--hfont,Inter,sans-serif);color:#0E1B3D}
.opsmail{border:1px solid var(--line2);border-radius:12px;padding:16px 18px;background:#fff;max-width:640px}.opsmail h5{margin:16px 0 4px;font:800 12px Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#6B7194}.opsmail p,.opsmail li{font-size:14px;line-height:1.55;margin:4px 0}.opsmh{display:flex;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:2px solid #0E1B3D}.opsmh b{font:800 15px var(--hfont,Inter,sans-serif);color:#0E1B3D}.opsmh span{color:#6B7194;font-weight:700;font-size:13px}
.expbar button.sv{border-color:#6466E9;color:#4A46C8}.expbar button.sv.on{background:#6466E9;color:#fff}
@media(max-width:760px){.qcond{grid-template-columns:1fr 1fr}.qcond .btn{grid-column:1 / -1}.opsitem{flex-wrap:wrap}.opsbtns{justify-content:flex-start}}

select.in{width:100%;height:36px;border:1px solid var(--line2);border-radius:var(--r);padding:0 10px;font:600 14px Inter,sans-serif;background:#fff;color:var(--ink)}select.in:focus{outline:2px solid var(--violet-100);border-color:var(--violet)}
.qcond select.in,.qcond input.in{min-width:0}
.card .bd.ops{padding:14px var(--cardpad)!important;overflow:visible!important}

/* v25: match the public site's primary action (one orange action per page, in the top bar) */
.top .acts .btn.p{background:#E8750A;border-color:#E8750A;color:#fff;border-radius:10px;font-weight:800}
.top .acts .btn.p:hover{background:#D66A06;border-color:#D66A06}
.btn{border-radius:10px}
.opsbar{height:10px;border-radius:99px;background:#EEF0F8;overflow:hidden}.opsbar i{display:block;height:100%;border-radius:99px;background:#6466E9}
/* v26: overview comparison matrix */
.mxwrap{margin-top:14px}
.mxscroller{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r2);background:#fff}
table.mx{border-collapse:separate;border-spacing:0;width:100%;min-width:900px}
table.mx th,table.mx td{padding:10px 14px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);font-size:13.5px;vertical-align:top}
table.mx thead th{position:sticky;top:0;background:#fff;z-index:2;border-bottom:2px solid #0E1B3D;font:800 12px Inter,sans-serif;text-transform:uppercase;letter-spacing:.05em;color:#0E1B3D;text-align:left;min-width:130px}
table.mx .mxr{min-width:190px;max-width:260px}
table.mx .mxr th{font-weight:800;color:#0E1B3D;text-transform:none;letter-spacing:0;font-size:13.5px}
table.mx .mxr span{display:block;font-size:11.5px;font-weight:600;color:#6B7194;margin-top:2px;line-height:1.35}
table.mx .sj{background:#F4F4FF;font-weight:800}
table.mx .cj{background:#EEF0F8;font-weight:800}
table.mx td.thin{color:#9BA2C8}
table.mx tr.grp td{background:#0E1B3D;color:#fff;font:800 11px Inter,sans-serif;letter-spacing:.09em;text-transform:uppercase;padding:7px 14px}
table.mx tbody tr:hover td{background:#FAFAFD}
.mxhead{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 8px}
.mxlabel{font:800 15px var(--hfont,Inter,sans-serif);color:#0E1B3D}
.mxmeta{font-size:12.5px;color:#6B7194;font-weight:600}
.mxsub{font-size:11px;color:#6B7194;font-weight:600;margin-top:2px;text-transform:none;letter-spacing:0}
.mxcomp{max-width:170px}
table.mx td:not(.sj):not(.cj){text-align:right}
table.mx th.sj,table.mx th.cj{text-align:left}
table.mx th.mxcomp b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
table.mx .mxscroller{scrollbar-width:thin}
@media(max-width:760px){table.mx{min-width:760px}.mxscroller{-webkit-overflow-scrolling:touch}}
/* v28: rent comps table + fifteen-view market analytics */
.ctbl{overflow-x:auto;margin:0 calc(var(--cardpad) * -1)}
.ct2{border-collapse:separate;border-spacing:0;width:100%;min-width:900px}
.ct2 th,.ct2 td{padding:10px 14px;border-bottom:1px solid var(--line);font-size:13.5px}
.ct2 thead th{position:sticky;top:0;background:#fff;z-index:2;border-bottom:2px solid #0E1B3D;font:800 11.5px Inter,sans-serif;text-transform:uppercase;letter-spacing:.05em;color:#0E1B3D;text-align:right;cursor:pointer;white-space:nowrap}
.ct2 thead th.l,.ct2 td.l{text-align:left}
.ct2 th.stickycol,.ct2 td.stickycol{position:sticky;left:0;background:#fff;z-index:1;min-width:240px}
.ct2 thead th.stickycol{z-index:3}
.ct2 .prop{display:flex;gap:10px;align-items:center;min-width:0}
.ct2 .prop b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct2 .prop small{display:block;font-size:11px;color:#6B7194;font-weight:600}
.ct2 .prop .chip{flex:none;width:22px;height:22px;border-radius:6px;background:#EEF0F8;color:#2B3558;font:800 11px Inter,sans-serif;display:inline-grid;place-items:center}
.ct2 .prop .chip.s{background:#E8750A;color:#fff}
.ct2 .crow{cursor:pointer}
.ct2 .crow.open td{background:#FAFAFD}
.ct2 .subj td{background:#F4F4FF}
.ct2 .avg td{background:#EEF0F8;font-weight:800}
.ct2 .exp{border:0;background:transparent;cursor:pointer;padding:0 6px 0 0;color:#6B7194}
.ct2 .exp .pm{display:inline-block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.ct2 .crow.open .exp .pm{transform:rotate(45deg)}
.ct2 .det td{background:#FAFAFD;padding:0 14px 14px}
.detin{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap}
.dt2{border-collapse:collapse;font-size:12.5px}
.dt2 th,.dt2 td{padding:6px 10px;border-bottom:1px solid var(--line);text-align:right}
.dt2 th:first-child,.dt2 td:first-child{text-align:left}
.detam{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:#6B7194;font-weight:600}
.detam b{color:#0E1B3D;font-size:13px}
.detam small{font-size:11px;max-width:260px;line-height:1.4}
.evbar{display:inline-flex;align-items:center;gap:6px}
.evbar i{display:block;height:8px;border-radius:99px;background:#6466E9;min-width:12px}
.ct2 .amn{font-weight:800;color:#2B3558}
.msec{margin:26px 2px 10px}
.msec h2{font:800 17px var(--hfont,Inter,sans-serif);color:#0E1B3D;margin:0}
.msec p{margin:2px 0 0;font-size:13px;color:#6B7194;font-weight:600}
.msec .only{font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;background:#E8750A;color:#fff;border-radius:5px;padding:2px 7px;vertical-align:2px;margin-left:6px}
.mc .bd{padding:14px var(--cardpad) 10px}
.mchart{min-height:120px}
.mchart.tall{min-height:240px}
.mempty{padding:30px var(--cardpad);text-align:center;font-size:13.5px;color:#6B7194;font-weight:700}
.mrow{display:grid;grid-template-columns:minmax(90px,150px) 1fr 70px;gap:10px;align-items:center;padding:5px 0}
.mrow .ml{font-size:12.5px;font-weight:700;color:#2B3558;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mrow .mtrack{height:14px;background:#EEF0F8;border-radius:4px;overflow:hidden}
.mrow .mtrack i{display:block;height:100%;background:#6466E9;border-radius:4px}
.mrow .mv{font:800 12.5px Inter,sans-serif;text-align:right;color:#0E1B3D;font-variant-numeric:tabular-nums}
.mgrid{stroke:#EDEEF4;stroke-width:1}
.mtick{font:600 10px Inter,sans-serif;fill:#6B7194}
.mline{stroke:#6466E9;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.mdot{fill:#6466E9}
.mval{font:800 12px Inter,sans-serif;fill:#0E1B3D}
.maxis{display:flex;justify-content:space-between;font-size:11px;color:#6B7194;font-weight:600;margin-top:4px}
.msc{fill:#6466E9;opacity:.55}
.mscs{fill:none;stroke:#E8750A;stroke-width:2.5}
.kpi .v.mut{color:#6B7194}
@media(max-width:760px){.mrow{grid-template-columns:minmax(70px,110px) 1fr 60px}}
/* v29: income-restricted policy marking (subject-use only) */
.ct2 .pill.a{font-size:9.5px;font-weight:800;letter-spacing:.06em;border-radius:4px;padding:1px 5px;background:#FFF1E2;color:#B45309;vertical-align:1px;margin-left:4px}
.ct2 tr.pol td{background:#FFF9F0;padding:10px 14px}
.ct2 tr.pol b{display:block;font-size:13px;color:#0E1B3D}
.ct2 tr.pol small{display:block;font-size:11.5px;color:#6B7194;font-weight:600;margin-top:2px;max-width:640px;line-height:1.4}
.mxcomp .pill.a{font-size:9px;font-weight:800;letter-spacing:.05em;border-radius:4px;padding:1px 4px;background:#FFF1E2;color:#B45309;vertical-align:1px}
/* aerial tiles (USDA NAIP, USGS The National Map; public domain) */
.mg.aer{position:relative;width:40px;height:30px;padding:0;overflow:hidden;background:#DDE3EE;border-radius:7px;color:transparent}
.mg.aer img{width:100%;height:100%;object-fit:cover;display:block}
.mg.aer i{position:absolute;left:2px;top:2px;min-width:14px;height:14px;padding:0 3px;border-radius:4px;background:rgba(17,20,45,.84);color:#fff;font-style:normal;font-size:9px;font-weight:800;line-height:14px;text-align:center}
.mg.aer.s i{background:#E67500}
.mg.aer.s{box-shadow:0 0 0 2px #E67500}
.subj .mg.aer.hd{width:96px;height:64px;border-radius:10px}
.lbh .mg.aer.lg{width:120px;height:80px;border-radius:10px}
.lbh .mg.aer.lg i{font-size:11px;height:18px;line-height:18px;min-width:18px;left:4px;top:4px}
.mg.aer.mx,.mg.mx{display:block;width:88px;height:56px;margin:0 auto 6px;border-radius:8px}
.nc{display:inline-flex;align-items:center;gap:8px}
@media (max-width:640px){.subj .mg.aer.hd{width:60px;height:42px;border-radius:8px}.lbh .mg.aer.lg{width:88px;height:58px}}
.aercr{margin:8px 0 0;font-size:11px;line-height:15px;color:var(--muted)}
.ct2 td.stickycol .prop{display:inline-flex;vertical-align:middle}.ct2 .exp{vertical-align:middle}
@media (max-width:640px){.top .ttl.subj{flex:1 1 calc(100% - 52px);min-width:0;max-width:none}.top .ttl.subj>div:last-child{flex:1;min-width:0}.subj h1{font-size:17px;line-height:22px}}
/* HUD 92273-S8 line coverage */
.lcs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.lcn{border:1px solid var(--line2,#E4E6F2);border-radius:10px;padding:10px 12px;background:#F4FBF6}.lcn b{display:block;font-size:22px;line-height:28px;color:#0E1B3D}.lcn span{font-size:12px;color:#6B7194;font-weight:600}
.lcn.p{background:#F5F6FD}.lcn.w{background:#F7F7F9}.lcn.t{background:#fff}
.lcstrip{display:grid;grid-template-columns:repeat(23,minmax(0,1fr));gap:4px;margin-bottom:8px}
.lc{display:flex;align-items:center;justify-content:center;height:26px;border-radius:6px;font:800 11px Inter,sans-serif;cursor:default}
.lc.f{background:#1E7B4A;color:#fff}.lc.p{background:#C9CCF2;color:#24286B}.lc.w{background:#EEEFF4;color:#8A8FA8;border:1px dashed #C7CAD8}
@media (max-width:640px){.lcs{grid-template-columns:repeat(2,minmax(0,1fr))}.lcstrip{grid-template-columns:repeat(8,minmax(0,1fr))}}
#s223 .has{color:#1E7B4A;font-weight:800}#s223 .no{color:#B42318;font-weight:800}#s223 .t2 small.blk{font-size:11px;color:#6B7194;font-weight:600}
/* freshness: Fresh <=7 d, Aging 8-30 d, Stale >30 d */
.fr{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;font-size:12px;font-weight:600;padding:2px 7px;border-radius:6px}
.fr b{font-weight:800}.fr.f{background:#E7F5EC;color:#14653B}.fr.a{background:#F5F6FD;color:#3A3F8F}.fr.s{background:#F3F3F6;color:#8A3A2E}
.top .frc{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:800;text-decoration:none;white-space:nowrap}
.top .frc.f{background:#E7F5EC;color:#14653B}.top .frc.a{background:#EEF0FB;color:#3A3F8F}.top .frc.s{background:#FBEDEA;color:#9A3412}
@media (max-width:640px){.top .frc{white-space:normal;margin-left:0}}
.top .frm{margin-top:2px}.top .frm .frc{margin-left:0;white-space:normal}
tr.stx td{opacity:.62}tr.stx td:first-child,tr.stx td:nth-child(2){opacity:1}.fr{font-size:11px}
.top .stags{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.stag{display:inline-block;padding:1px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#EEF0FB;color:#3A3F8F;white-space:nowrap}.stag.up{background:#FBEDEA;color:#9A3412}.stag.dn{background:#E7F5EC;color:#14653B}.stag.ir{background:#F3EEFB;color:#5B3A8F}
.expbar .shr{border:1.5px solid #4F51D6;background:#fff;color:#4F51D6}.shrbox{display:flex;flex-direction:column;gap:4px;margin:0 0 12px auto;max-width:560px}.shrbox label{font-size:12px;font-weight:700;color:#6B7194}.shrbox input{height:36px;border:1.5px solid #CBD1E6;border-radius:8px;padding:0 10px;font-size:13px}
#umix .umbar{position:relative;min-width:110px}#umix .umbar span{display:block;height:7px;border-radius:4px;margin:2px 0}#umix .umbar .s{background:#4F51D6}#umix .umbar .c{background:#B9BCEB}
.srbar{display:flex;gap:10px;margin:0 0 10px}.srq{flex:1;max-width:420px}.srq input{width:100%}.srt td{vertical-align:middle}.srt .opsbtns{display:flex;gap:6px;flex-wrap:wrap}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.srt tr.opsitem{display:table-row;padding:0;border:0;background:none}.srt td.opsmain{display:table-cell;min-width:260px}.srt td{white-space:nowrap}.srt td.opsmain .opsname{white-space:normal;font-weight:800}
.srtabs button{border:1.5px solid #CBD1E6;background:#fff;border-radius:999px;padding:5px 12px;font:700 12.5px Inter,sans-serif;color:#2B3558;cursor:pointer}.srtabs button.on{background:#0E1B3D;border-color:#0E1B3D;color:#fff}
.metsel button{border:1.5px solid #CBD1E6;background:#fff;border-radius:999px;padding:6px 14px;font:700 13px Inter,sans-serif;color:#2B3558;cursor:pointer}.metsel button.on{background:#0E1B3D;border-color:#0E1B3D;color:#fff}
.rvsec summary{cursor:pointer;list-style:none}.rvsec summary::-webkit-details-marker{display:none}.rvsec summary b{display:inline-block;min-width:16px;padding:0 5px;border-radius:8px;background:rgba(255,255,255,.16);font-size:10px;margin-left:4px}
.recent a .rvn{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent a small{display:block;font-size:10.5px;opacity:.7;font-weight:600}.rve{font-size:11.5px;opacity:.7;margin:2px 12px 8px;line-height:1.4}
.expbar .fav{display:inline-flex;align-items:center;gap:5px;border:1.5px solid #CBD1E6;background:#fff;color:#2B3558}.expbar .fav.on{border-color:#4F51D6;color:#4F51D6}
.side{overflow-y:auto}
#ctrv .recent{display:block}#ctrv .recent a{height:auto;line-height:1.3;padding:5px 10px}#ctrv .recent a:nth-of-type(n+2){display:block}
@media (max-height:940px) and (min-width:1101px){#ctrv .recent,#ctrv .lbl{display:block}}
.mx td.mxst{opacity:.55}
.fbox{display:flex;gap:10px}.fbox .in{flex:1;height:46px;font-size:15px}.fbox .btn{height:46px;padding:0 22px}.fpills{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.pillb{border:1.5px solid #CBD1E6;background:#fff;border-radius:999px;padding:5px 12px;font:700 12.5px Inter,sans-serif;color:#2B3558;cursor:pointer}
.rcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}.rcard{display:flex;gap:10px;align-items:center;border:1px solid var(--line2,#E4E6F2);border-radius:12px;padding:8px;text-decoration:none;color:inherit;background:#fff}.rcard:hover{border-color:#4F51D6}.rcard b{display:block;font-size:13.5px}.rcard small{display:block;font-size:11.5px;color:#6B7194;margin-bottom:3px}.mg.aer.rc{width:84px;height:56px;border-radius:8px}
.amx th.amh{text-align:center;font-size:10px;min-width:74px}.amx th.amh .mg{margin:0 auto 4px;display:block}.amx th.amh span{display:block;white-space:normal;line-height:1.2;text-transform:none}.amx td.amc{text-align:center;font-weight:800}.amx td.amc.y{color:#1E7B4A}.amx td.amc.n{color:#9BA2C8}.amx td.amc.nr{color:#C7CAD8}
@media (max-width:640px){.fbox{flex-direction:column}}
.rve{color:#B9BCEB}#ctrv .recent a{overflow:visible}
.side .foot{margin-top:auto}.ebrow{display:flex;gap:10px;align-items:center;margin-bottom:10px}
