/* TRIPOLIS 2.9.2 — corrected interface */
:root{--v292-gold:#e6c577;--v292-ink:#06131d;--v292-paper:#efe9dc;--v292-paper2:#d8d1c2;--v292-cyan:#76d4df}
.v292-hidden-section{display:none!important}.v292-map-hint-hidden{display:none!important}
.dashboard.map-dashboard-v165{display:flex!important;flex-direction:column!important;gap:12px!important;padding:10px 14px 0!important}.city-map-shell{order:1!important;width:100%!important;min-width:0!important}.district-flyout{order:1!important}.tripolis-yellow{order:2!important}.anigram-live-strip{order:3!important}.politics-strip{order:4!important}
.city-fin-side,.taxpayer-side{display:none!important}.city-map-shell .mapbox-v165{height:calc(100vh - 112px)!important;min-height:560px!important;max-height:980px!important;aspect-ratio:auto!important;width:100%!important;margin:0!important;background:linear-gradient(90deg,#071827,#0b2232 15%,#0b2232 85%,#071827)!important}.city-map-shell .mapbox-v165>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;filter:saturate(1.03) contrast(1.02) brightness(.98)!important}
.v292-map-layers{position:absolute;z-index:18;top:12px;right:12px;width:150px;max-height:calc(100% - 24px);overflow:auto;padding:9px;border:1px solid rgba(133,177,201,.38);border-radius:9px;background:rgba(4,18,29,.9);box-shadow:0 14px 40px #0007;backdrop-filter:blur(12px)}.v292-map-layers h4{margin:0 0 6px;text-align:center;font-size:9px;letter-spacing:.16em;color:var(--v292-gold)}.v292-map-layers label{display:flex;gap:7px;align-items:center;padding:4px 2px;border-top:1px solid #ffffff0c;font-size:8px;color:#c7d4dc;cursor:pointer}.v292-map-layers input{width:12px;height:12px;accent-color:#d9b665;margin:0}
.statusbar .status.v292-clickable{cursor:pointer;transition:.16s ease;border-radius:5px}.statusbar .status.v292-clickable:hover{background:#17324766;transform:translateY(-1px)}.v292-forbes-status{border:1px solid #8b713f!important;padding:7px 12px!important;background:linear-gradient(135deg,#161d24,#0d2535)!important;box-shadow:inset 0 0 0 1px #e8c67612,0 5px 16px #0004}.v292-forbes-status .forbes-wordmark{font:700 17px/1 Georgia,serif!important;letter-spacing:-.03em!important;text-transform:none!important;color:#f2e4c1!important}.v292-forbes-status b{display:block;font-size:11px!important;letter-spacing:.08em;color:#fff!important;margin-top:2px}.v292-forbes-tag{display:block;color:#d5b66f;font-size:7px;margin-top:2px;letter-spacing:.05em}
/* character */
#personBody.v29-character-experience .v29-gallery,.v292-character-gallery{background:#06131d!important}.v292-primary-stage{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at center,#172f40,#06131d 70%);overflow:hidden}.v292-original-photo{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important;display:block!important}.v292-primary-empty{height:100%}.v292-primary-slide .v29-slide-copy{left:auto!important;right:4%!important;bottom:4%!important;width:min(43%,520px)!important;text-align:right!important;background:linear-gradient(135deg,transparent,#061019bb)!important;padding:10px 12px!important}.v292-primary-slide .v29-slide-copy .eyebrow{font-size:8px!important}.v292-primary-slide .v29-slide-copy h2{font-size:clamp(20px,2vw,31px)!important;margin:4px 0!important}.v292-primary-slide .v29-slide-copy p{font-size:10px!important;margin:0!important;color:#ccd7dd!important}.v292-slot-slide{background:radial-gradient(circle at 50% 36%,#132a3a,#06131d 70%)!important}.v292-user-slot{position:absolute;inset:7% 8% 12%;display:flex;flex-direction:column;gap:10px}.v292-user-media{flex:1;min-height:0;border:1px dashed #54748a;border-radius:18px;overflow:hidden;background:#071b29;display:grid;place-items:center}.v292-user-media>img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;background:#071b29}.v292-slot-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#7d98a9;padding:30px}.v292-slot-empty>span{display:grid;place-items:center;width:62px;height:62px;border:1px solid #54748a;border-radius:50%;font-size:30px;color:#d1b66f;margin-bottom:13px}.v292-slot-empty b{font:600 24px/1.1 Georgia,serif;color:#e7edf0}.v292-slot-empty small{margin-top:8px;font-size:10px;color:#8199a8}.v292-slot-tools{display:flex;justify-content:center;gap:7px}.v292-slot-tools button{border:1px solid #8f7643;background:#10293a;color:#f0d28a;border-radius:999px;padding:7px 12px;font-size:9px;font-weight:800}.v292-slot-tools button.danger{border-color:#5b6370;color:#aebec8;background:#0a1d2a}.v292-work-copy{position:absolute;right:10%;bottom:16%;max-width:42%;text-align:right;pointer-events:none}.v292-work-copy span{display:block;color:#d7b96c;font-size:8px;letter-spacing:.14em}.v292-work-copy b{display:block;font:600 23px/1.1 Georgia,serif;margin-top:3px;color:#fff}.v292-work-copy small{display:block;margin-top:4px;color:#9db0bb;font-size:9px}
/* demography */
.v292-demography{max-width:1280px;margin:0 auto}.v292-demo-hero{display:flex;justify-content:space-between;align-items:end;border:1px solid #2c5066;background:linear-gradient(120deg,#09283a,#071722);border-radius:14px;padding:20px}.v292-demo-hero span{font-size:9px;letter-spacing:.15em;color:#d9ba70}.v292-demo-hero h1{font:700 48px/1 Georgia,serif;margin:8px 0 5px;color:#fff}.v292-demo-hero p{margin:0;color:#86a0ae;font-size:10px}.v292-demo-pulse{display:flex;align-items:center;gap:7px;font-size:10px;color:#77d9c3}.v292-demo-pulse i{width:8px;height:8px;border-radius:50%;background:#62d6ad;box-shadow:0 0 16px #62d6ad}.v292-demo-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:10px 0}.v292-demo-kpis>div,.v292-demo-grid section{border:1px solid #29485c;background:#071925;border-radius:12px;padding:13px}.v292-demo-kpis small{display:block;color:#7591a2;font-size:7px}.v292-demo-kpis b{display:block;color:#e8cb84;font-size:22px;margin:4px 0}.v292-demo-kpis span{color:#b9c9d2;font-size:9px}.v292-demo-grid{display:grid;grid-template-columns:.85fr 1.1fr 1.5fr;gap:9px}.v292-demo-grid h3{font-size:10px;letter-spacing:.1em;color:#d6bb77;margin:0 0 12px}.v292-demo-donut{width:180px;height:180px;border-radius:50%;margin:7px auto 10px;background:conic-gradient(#7bc7dc 0 49%,#e5bd75 49% 100%);display:grid;place-items:center}.v292-demo-donut:before{content:"";grid-area:1/1;width:118px;height:118px;border-radius:50%;background:#071925}.v292-demo-donut>div{grid-area:1/1;z-index:1;text-align:center}.v292-demo-donut b{display:block;font-size:24px}.v292-demo-donut small{font-size:8px;color:#7895a5}.v292-demo-legend{display:flex;justify-content:center;gap:12px;font-size:8px;color:#a9bac4}.v292-demo-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.v292-demo-legend .male{background:#7bc7dc}.v292-demo-legend .female{background:#e5bd75}.v292-demo-bar{margin:9px 0}.v292-demo-bar>div{display:flex;justify-content:space-between;gap:10px;font-size:8px}.v292-demo-bar b{color:#dce8ed}.v292-demo-bar span{color:#8ba0ad}.v292-demo-bar>i{display:block;height:7px;background:#0c2b3e;border-radius:99px;margin-top:4px;overflow:hidden}.v292-demo-bar>i>em{display:block;height:100%;background:linear-gradient(90deg,#4c9cb6,#d5b86d);border-radius:99px}
/* calendar */
.v292-calendar{max-width:1380px;margin:0 auto}.v292-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.v292-calendar-toolbar>div{text-align:center}.v292-calendar-toolbar small{font-size:8px;letter-spacing:.14em;color:#8ba0ad}.v292-calendar-toolbar h2{margin:3px 0 0;font:700 30px Georgia,serif;color:#e4c579}.v292-calendar-toolbar button{border:1px solid #315269;background:#0a2638;color:#d9e5eb;border-radius:8px;padding:8px 12px}.v292-year-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.v292-month{position:relative;min-height:305px;border:1px solid #567184;border-radius:12px;overflow:hidden;background:#dcd6c9;background-image:var(--month-bg);background-size:cover;background-position:center}.v292-month-wash{position:absolute;inset:0;background:rgba(242,238,226,.78);backdrop-filter:saturate(.85)}.v292-month-content{position:relative;z-index:1;padding:12px;color:#101820}.v292-month h4{margin:0 0 10px;font:700 19px Georgia,serif;color:#111820}.v292-month h4 span{float:right;font:600 9px Inter,sans-serif;color:#4b5a63}.v292-week,.v292-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.v292-week span{text-align:center;font-size:7px;font-weight:800;color:#50606a;padding:2px}.v292-day{height:30px;border:0;border-radius:6px;background:rgba(255,255,255,.42);color:#111820;font-size:9px}.v292-day.blank{background:transparent}.v292-day.today{background:#132a38;color:#fff;font-weight:900}.v292-day.has-event:not(.today){box-shadow:inset 0 0 0 1px #9a6f25;background:#f2d18d}.v292-day.has-event:after{content:"•";margin-left:2px;color:#8e5d11}
/* Forbes */
.forbes-wordmark{font:700 28px/1 Georgia,serif;color:#f1e3bf;letter-spacing:-.05em}.v292-forbes-page{max-width:1380px;margin:0 auto}.v292-forbes-head{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #315064;padding:5px 2px 14px;margin-bottom:12px}.v292-forbes-head h2{margin:2px 0 0;font:700 25px Georgia,serif;color:#fff}.v292-forbes-head p{margin:4px 0 0;color:#8ca3b0;font-size:9px}.v292-ai-badge{border:1px solid #42697a;border-radius:999px;padding:7px 10px;font-size:8px;color:#7bd6df}.v292-forbes-list{display:grid;gap:7px}.v292-forbes-card{display:grid;grid-template-columns:42px 70px minmax(170px,1.2fr) repeat(6,minmax(85px,1fr));gap:8px;align-items:center;border:1px solid #28485d;border-radius:10px;background:linear-gradient(90deg,#081c2b,#071622);padding:8px;cursor:pointer}.v292-forbes-card:hover{border-color:#8c7446;transform:translateY(-1px)}.v292-forbes-rank{font:700 28px Georgia,serif;color:#e6c778;text-align:center}.v292-forbes-photo{height:70px;border-radius:8px;overflow:hidden;background:#10293a}.v292-forbes-photo img{width:100%;height:100%;object-fit:contain;background:#0c2231}.v292-forbes-initial{height:100%;display:grid;place-items:center;color:#d4b86f;font-size:20px}.v292-forbes-name b{display:block;font-size:12px}.v292-forbes-name small,.v292-metric small{display:block;color:#718c9c;font-size:7px}.v292-metric b{display:block;color:#dce7ec;font-size:9px;margin-top:3px}.v292-metric .gold{color:#e8c675}.v292-metric .cyan{color:#79d6df}
/* Yellow Page */
.tripolis-yellow{border:1px solid #5d5546;border-radius:5px;background:linear-gradient(180deg,#e5dfd2,#cfc8ba);color:#111417;overflow:hidden;box-shadow:0 18px 42px #0004}.yellow-head{display:flex;justify-content:space-between;gap:14px;align-items:end;padding:18px 20px 14px;border-bottom:3px double #514b41;background:#eee9de}.yellow-logo{font:900 17px/1 Georgia,serif;letter-spacing:.06em}.yellow-logo b{background:#edc72b;padding:2px 5px;color:#111}.yellow-head h2{font:900 36px/.95 Georgia,serif;margin:5px 0 3px;letter-spacing:-.03em}.yellow-head p{margin:0;font-size:9px;color:#524f48}.yellow-head button,.yellow-story button{border:1px solid #665e4f;background:#e8e1d3;color:#111;border-radius:2px;padding:7px 10px;font-size:8px;font-weight:800}.yellow-layout{display:grid;grid-template-columns:1.4fr 1fr;min-height:420px}.yellow-secondary{display:grid;grid-template-columns:1fr 1fr}.yellow-card{position:relative;min-height:205px;overflow:hidden;border-left:1px solid #777064;border-bottom:1px solid #777064;cursor:pointer;background:#292929}.yellow-card.hero{min-height:420px;border-left:0}.yellow-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.7) contrast(1.08)}.yellow-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 22%,rgba(0,0,0,.86) 88%)}.yellow-card-copy{position:absolute;left:0;right:0;bottom:0;padding:22px 16px 14px;color:#fff}.yellow-card-copy>span{display:inline-block;background:#e7c52b;color:#111;padding:3px 5px;font-size:7px;font-weight:900;letter-spacing:.06em}.yellow-card-copy h3{font:700 20px/1.05 Georgia,serif;margin:7px 0 5px}.yellow-card.hero h3{font-size:32px;max-width:85%}.yellow-card-copy p{margin:0;max-width:90%;font:400 9px/1.4 Georgia,serif;color:#dedbd4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.yellow-card-copy small{display:block;margin-top:7px;color:#beb9b0;font-size:7px}.yellow-empty{padding:45px;text-align:center}.yellow-empty b{display:block;font:700 24px Georgia,serif}.yellow-empty span{display:block;margin-top:7px;color:#615c54;font-size:10px}.yellow-story{max-width:1050px;margin:auto;background:#eee8dc;color:#111;padding:28px;border:1px solid #7e7667;box-shadow:0 18px 45px #0006}.yellow-story header{display:flex;justify-content:space-between;border-bottom:4px double #3c3933;padding-bottom:12px}.yellow-story header p{margin:0;font-size:9px}.yellow-story-meta{display:flex;justify-content:space-between;margin:13px 0 7px;font-size:8px;font-weight:900}.yellow-story-meta span:first-child{background:#e5c52b;padding:3px 6px}.yellow-story h1{font:900 48px/.95 Georgia,serif;max-width:900px;margin:12px 0 18px;letter-spacing:-.03em}.yellow-story-image{width:100%;max-height:520px;object-fit:cover;filter:saturate(.78)}.yellow-story-columns{columns:2;column-gap:34px;border-top:1px solid #8f887c;border-bottom:1px solid #8f887c;padding:18px 0;margin-top:14px}.yellow-story-columns p{font:400 15px/1.55 Georgia,serif;margin:0 0 12px}.yellow-people,.yellow-impact{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:14px}.yellow-people>b,.yellow-impact>b{font-size:8px;letter-spacing:.1em}.yellow-impact span{font-weight:900;color:#7a4b0e}
/* Bottom ticker + time */
.bottom{height:62px!important;margin:8px 14px 10px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:0!important;background:#051723!important;border:1px solid #25475d!important;overflow:hidden!important}.bottom>div{border-right:1px solid #244359!important}.yellow-ticker{min-width:0!important;padding:0!important;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}.yellow-ticker-brand{height:100%;display:flex;align-items:center;padding:0 14px;background:#dfc126;color:#111;font:900 11px Georgia,serif;letter-spacing:.07em;white-space:nowrap}.yellow-ticker-brand b{margin-left:5px;background:#111;color:#e9d35a;padding:2px 4px}.yellow-ticker-window{overflow:hidden;white-space:nowrap}.yellow-ticker-track{display:inline-flex;align-items:center;min-width:100%;animation:v292ticker 45s linear infinite}.yellow-ticker-track:hover{animation-play-state:paused}.yellow-ticker-track button{border:0;background:transparent;color:#d8e5eb;padding:0 24px 0 0;font-size:9px;white-space:nowrap}.yellow-ticker-track button span{color:#d6b968;font-size:7px;margin-right:6px}.yellow-ticker-track button:hover{color:#fff;text-decoration:underline}@keyframes v292ticker{from{transform:translateX(100%)}to{transform:translateX(-100%)}}.speedcontrols{height:100%;display:flex;align-items:center;gap:5px;padding:0 10px!important;text-align:left!important;white-space:nowrap}.speedcontrols>b{font-size:8px;letter-spacing:.06em;color:#d7e2e7;margin-right:3px}.speedcontrols button{margin:0!important;min-width:36px;padding:6px 8px!important}.speedcontrols #simStart{min-width:68px}.time-core-state{font-size:7px;color:#7995a5;margin-right:4px}.speedcontrols button.active{background:#19384c!important;color:#f1d17f!important;border-color:#8c7040!important}
/* Politics expanded into the former City Life area */
.politics-strip{margin-top:0!important;padding:18px!important;min-height:390px!important;border:1px solid #2a4b61!important;border-radius:6px!important;background:linear-gradient(180deg,#071b29,#04131f)!important}.pol-strip-head h2{font-size:25px!important}.pol-strip-grid{gap:10px!important;align-items:stretch}.pol-party-card.compact{min-height:270px!important;padding:14px!important;grid-template-columns:88px 1fr!important;grid-template-rows:88px auto auto!important}.pol-party-card.compact .pol-flag{height:88px!important}.pol-party-card.compact .pol-bust{width:88px!important;height:88px!important}.pol-party-card.compact h3{font-size:16px!important}.pol-party-card.compact .pol-card-metrics strong{font-size:20px!important}
@media(max-width:1180px){.city-map-shell .mapbox-v165{height:calc(100vh - 108px)!important;min-height:500px!important}.v292-year-grid{grid-template-columns:repeat(2,1fr)}.v292-demo-grid{grid-template-columns:1fr 1fr}.v292-demo-grid .districts{grid-column:1/-1}.v292-forbes-card{grid-template-columns:36px 60px minmax(150px,1.2fr) repeat(3,minmax(90px,1fr))}.v292-forbes-card .v292-metric:nth-last-child(-n+3){display:none}.yellow-layout{grid-template-columns:1fr}.yellow-card.hero{min-height:360px}.pol-strip-grid{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:850px){.city-map-shell .mapbox-v165{height:auto!important;min-height:0!important;aspect-ratio:16/9!important}.v292-map-layers{width:135px}.v292-year-grid{grid-template-columns:1fr}.v292-demo-kpis{grid-template-columns:1fr 1fr}.v292-demo-grid{grid-template-columns:1fr}.yellow-secondary{grid-template-columns:1fr}.yellow-card{min-height:260px}.yellow-story h1{font-size:36px}.yellow-story-columns{columns:1}.bottom{height:auto!important;grid-template-columns:1fr!important}.speedcontrols{min-height:58px;justify-content:center}.yellow-ticker{height:48px}.pol-strip-grid{grid-template-columns:1fr 1fr!important}.pol-party-card.compact{min-height:230px!important}}
@media(max-width:560px){.v292-demo-kpis{grid-template-columns:1fr}.yellow-head{align-items:flex-start;flex-direction:column}.yellow-head h2{font-size:31px}.yellow-card.hero{min-height:320px}.yellow-card.hero h3{font-size:25px}.pol-strip-grid{grid-template-columns:1fr!important}.v292-user-slot{inset:8% 5% 14%}.v292-slot-empty b{font-size:19px}}

/* ===== 2.9.2 R4 — MAP / CHARACTER / CALENDAR VISUAL CORRECTION ===== */
/* The old desktop shell had three explicit grid tracks. Side panels are hidden in 2.9.2,
   so keeping those tracks squeezed the real map into the first narrow column. */
.city-map-shell{display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:none!important;min-width:0!important}
.city-map-shell .mapbox-v165{position:relative!important;display:block!important;width:100%!important;height:calc(100vh - 112px)!important;min-height:520px!important;max-height:760px!important;aspect-ratio:auto!important;margin:0!important;overflow:hidden!important;background:linear-gradient(90deg,#071a28 0%,#0b2633 16%,#0b2633 84%,#071a28 100%)!important}
.city-map-shell .mapbox-v165>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center center!important;filter:saturate(1.08) contrast(1.04) brightness(1.02)!important}
.city-map-shell .mapbox-v165 .mapsvg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}

/* Character: keep the approved original image untouched, move the info panel BELOW it. */
.v292-primary-slide{aspect-ratio:auto!important;min-height:0!important;overflow:visible!important;background:#06131d!important}
.v292-primary-slide.active{display:flex!important;flex-direction:column!important}
.v292-primary-stage{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:16/10!important;flex:0 0 auto!important;overflow:hidden!important}
.v292-primary-stage .v292-original-photo{position:relative!important;max-width:100%!important;max-height:100%!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important}
.v292-primary-slide .v29-slide-copy{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;max-width:none!important;text-align:left!important;background:linear-gradient(180deg,#091c2a,#071722)!important;border-top:1px solid rgba(230,197,119,.22)!important;padding:11px 18px 30px!important;box-sizing:border-box!important}
.v292-primary-slide .v29-slide-copy h2{font-size:clamp(20px,2vw,30px)!important;margin:3px 0!important}.v292-primary-slide .v29-slide-copy p{font-size:10px!important;margin:0!important}.v292-character-gallery .v29-dots{bottom:9px!important}

/* Calendar backgrounds: keep the city render visible and crisp instead of washing it out. */
.v292-month{background-image:none!important;isolation:isolate}
.v292-month:before{content:"";position:absolute;inset:0;z-index:0;background-image:var(--month-bg);background-size:cover;background-position:center;filter:saturate(1.28) contrast(1.10) brightness(1.08);transform:scale(1.015)}
.v292-month-wash{z-index:1;background:linear-gradient(180deg,rgba(248,245,236,.40),rgba(244,240,229,.52))!important;backdrop-filter:none!important}
.v292-month-content{z-index:2!important;padding:13px!important}.v292-month h4{font-size:22px!important;font-weight:800!important;text-shadow:0 1px 0 rgba(255,255,255,.72)}
.v292-week span{font-size:8px!important;font-weight:900!important;color:#27353d!important}.v292-day{height:33px!important;background:rgba(255,255,255,.58)!important;color:#0b1116!important;font-size:12px!important;font-weight:900!important;text-shadow:0 1px 0 rgba(255,255,255,.85)}.v292-day.today{background:#132a38!important;color:#fff!important;text-shadow:none}.v292-day.blank{background:transparent!important}

@media(max-width:1180px){.city-map-shell .mapbox-v165{height:calc(100vh - 108px)!important;min-height:460px!important;max-height:680px!important}}
@media(max-width:850px){.city-map-shell .mapbox-v165{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important}.v292-primary-stage{aspect-ratio:4/5!important}.v292-month-content{padding:11px!important}.v292-day{height:31px!important}}

/* ===== 2.9.2 R5 — APPROVED DESKTOP CHARACTER STANDARD / CONTROL FEEDBACK / SECURITY ===== */
@media(min-width:901px){
  .person-modalbox-v169{width:min(1240px,96vw)!important;max-height:94vh!important;padding-left:16px!important;padding-right:16px!important}
  #personBody.v29-character-experience .v29-card-shell{display:grid!important;grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr)!important;grid-template-rows:auto auto auto!important;gap:14px 16px!important;align-items:stretch!important;padding:12px 18px 24px!important}
  #personBody.v29-character-experience .v29-gallery{grid-column:1!important;grid-row:1!important;margin:0!important;height:clamp(470px,68vh,660px)!important;min-height:0!important;align-self:stretch!important;border-radius:18px!important}
  #personBody.v29-character-experience .v29-gallery .v29-slide{height:100%!important;min-height:0!important;aspect-ratio:auto!important}
  #personBody.v29-character-experience .v292-primary-slide.active{display:block!important}
  #personBody.v29-character-experience .v292-primary-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;display:grid!important;place-items:center!important;background:radial-gradient(circle at 50% 42%,#173246 0,#091d2b 43%,#06131d 76%)!important;padding:14px!important;box-sizing:border-box!important}
  #personBody.v29-character-experience .v292-primary-stage .v292-original-photo{position:relative!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important;margin:auto!important}
  #personBody.v29-character-experience .v292-primary-slide .v29-slide-copy{display:none!important}
  #personBody.v29-character-experience .v29-info.v292-passport{grid-column:2!important;grid-row:1!important;margin:0!important;height:100%!important;box-sizing:border-box!important;overflow:auto!important;border-radius:18px!important;padding:20px!important;background:linear-gradient(155deg,rgba(14,35,51,.98),rgba(7,20,31,.98))!important}
  #personBody.v29-character-experience .v29-info.v292-passport .v29-info-head{padding-bottom:16px!important;margin-bottom:16px!important}
  #personBody.v29-character-experience .v29-info.v292-passport .v29-info-head h1{font-size:clamp(28px,2.4vw,40px)!important;line-height:1!important}
  #personBody.v29-character-experience .v29-info.v292-passport .role{font-size:14px!important;line-height:1.45!important}
  #personBody.v29-character-experience .v29-info.v292-passport .v29-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  #personBody.v29-character-experience .v29-info.v292-passport .v29-fact{min-height:64px!important;padding:11px 12px!important}
  #personBody.v29-character-experience .v29-info.v292-passport .v29-fact small{font-size:9px!important}
  #personBody.v29-character-experience .v29-info.v292-passport .v29-fact b{font-size:13px!important}
  #personBody.v29-character-experience .v29-dossier-wrap.v292-dossier{grid-column:1/-1!important;grid-row:2!important;margin-top:0!important}
  #personBody.v29-character-experience .v29-info.v292-social{grid-column:1/-1!important;grid-row:3!important;margin-top:0!important}
  #personBody.v29-character-experience .v29-dossier-wrap.v292-dossier .dossier{border-top:0!important;padding:18px!important;border:1px solid rgba(232,198,118,.16)!important}
  #personBody.v29-character-experience .v29-dossier-wrap.v292-dossier .dossier-head h3{font-size:19px!important}
  #personBody.v29-character-experience .v29-dossier-wrap.v292-dossier .dossiergrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Clear visual feedback for every time control. Functional logic is unchanged. */
.speedcontrols button{cursor:pointer!important;transition:transform .12s ease,background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease!important;border-color:#31556e!important;background:#081f2f!important;color:#b9cbd5!important;outline:none!important}
.speedcontrols button:hover,.speedcontrols button:focus-visible{background:#173c54!important;border-color:#e0bd68!important;color:#fff3cf!important;transform:translateY(-2px)!important;box-shadow:0 0 0 1px rgba(224,189,104,.18),0 6px 18px rgba(0,0,0,.28)!important}
.speedcontrols button:active,.speedcontrols button.pressed{transform:translateY(0) scale(.96)!important;background:#d7b45f!important;border-color:#f3d990!important;color:#08131c!important;box-shadow:0 0 18px rgba(221,186,99,.38)!important}
.speedcontrols button.active{background:#254b62!important;color:#ffe7a4!important;border-color:#caa651!important;box-shadow:inset 0 0 0 1px rgba(255,228,161,.12),0 0 14px rgba(208,169,82,.16)!important}
.speedcontrols #simPause{min-width:58px!important}

/* Security status and detail dashboard */
.v292-security-status{position:relative}.v292-security-status:after{content:'›';position:absolute;right:7px;top:50%;transform:translateY(-50%);color:#d8bb76;font-size:14px;opacity:.65}.v292-security-page{max-width:1180px;margin:0 auto}.v292-security-page>header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;border:1px solid #2d5369;border-radius:16px;padding:22px;background:radial-gradient(circle at 12% 20%,#123b50,#071a28 70%)}.v292-security-page>header span{font-size:9px;letter-spacing:.16em;color:#d8bb76}.v292-security-page>header h1{margin:7px 0 4px;font:800 58px/1 Georgia,serif;color:#fff}.v292-security-page>header p{margin:0;color:#91a8b5;font-size:10px}.v292-security-trend{min-width:190px;border:1px solid #35576c;border-radius:12px;padding:12px;text-align:right}.v292-security-trend b{display:block;font-size:16px}.v292-security-trend small{display:block;margin-top:4px;color:#8ea5b3;font-size:8px}.v292-security-trend.good b{color:#7ee2ad}.v292-security-trend.warn b{color:#f0c072}.v292-security-trend.stable b{color:#87cce1}.v292-security-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.v292-security-kpis>div{border:1px solid #294a5f;background:#071a28;border-radius:12px;padding:13px}.v292-security-kpis small{display:block;color:#7893a3;font-size:7px;letter-spacing:.08em}.v292-security-kpis b{display:block;margin-top:5px;color:#e9cb84;font-size:22px}.v292-security-list{border:1px solid #294a5f;background:#071925;border-radius:14px;padding:16px}.v292-security-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.v292-security-head h3{margin:0;color:#e0c27a;font-size:11px;letter-spacing:.08em}.v292-security-head span{font-size:8px;color:#728c9b}.v292-security-event{display:grid;grid-template-columns:1fr 52px;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.06);padding:10px 4px}.v292-security-event:first-of-type{border-top:0}.v292-security-event b{font-size:10px}.v292-security-event small{display:block;margin-top:3px;color:#7893a3;font-size:8px}.v292-security-event strong{text-align:center;border-radius:8px;padding:7px 4px;background:#0c2534}.v292-security-event strong.up{color:#74dba5}.v292-security-event strong.down{color:#f1aa83}.v292-security-empty{padding:32px 10px;text-align:center;color:#829aa8;font-size:10px}
@media(max-width:850px){.v292-security-kpis{grid-template-columns:1fr 1fr}.v292-security-page>header{align-items:flex-start;flex-direction:column}.v292-security-trend{min-width:0;width:100%;text-align:left}}
