:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#203a33;background:#e5ece7;font-size:14px;--green:#194d3f;--muted:#63746d;--line:#dce5df;--shadow:0 5px 24px #173d3515;--sidebar:298px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a0c6ae;outline-offset:2px}button{border:0;background:none}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:21px;letter-spacing:-.6px}h2{font-size:17px;line-height:1.35;letter-spacing:-.25px}h3{font-size:13px;font-weight:650}p{line-height:1.5}small,.muted{font-size:11px;color:var(--muted)}[hidden]{display:none!important}#map{position:fixed;inset:58px 0 0}.panel{background:#fffffff5;border:1px solid #e0e7e1;border-radius:12px;box-shadow:var(--shadow)}.masthead{position:fixed;inset:0 0 auto;height:58px;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:0 20px;background:#fff;border-bottom:1px solid var(--line)}.brand,.header-actions{display:flex;align-items:center;gap:14px}.header-actions{font-size:12px;gap:22px}.header-actions button{padding:9px 0}.nsf-logo{height:36px;width:36px;object-fit:contain}.rai-brand{font-size:23px;line-height:1;font-weight:800;letter-spacing:-1px}.rai-brand span{font-size:8px;display:block;letter-spacing:4px;text-align:center;margin-top:2px}.brand-divider{height:26px;border-left:1px solid var(--line)}.preview{font-size:9px;letter-spacing:.7px;text-transform:uppercase;color:#62766c;border:1px solid #dae4db;border-radius:4px;padding:3px 5px}.icon-button{width:36px!important;height:36px!important;padding:0!important;display:grid;place-items:center;border-radius:50%;flex-shrink:0;font-size:22px;line-height:1;touch-action:manipulation}.icon-button:hover{background:#eff4ef}.status-dot{display:inline-block;width:6px;height:6px;background:#4b8c60;border-radius:50%;margin-left:7px}.sidebar{position:fixed;top:74px;left:16px;width:var(--sidebar);bottom:16px;z-index:6;overflow:auto;padding:20px;scrollbar-width:thin;transition:transform .18s ease,opacity .18s ease}.sidebar.collapsed{transform:translateX(calc(-100% - 20px));opacity:0;pointer-events:none}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.eyebrow{font-size:9px;letter-spacing:1.45px;font-weight:700;color:#6b8274;margin-bottom:6px}.sidebar-peek{position:fixed;top:89px;left:0;z-index:8;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:0 10px 10px 0;width:30px;height:50px;font-size:28px}.search{display:flex;border:1px solid var(--line);border-radius:7px;background:#f8faf8;margin-bottom:14px}.search input{min-width:0;width:100%;border:0;background:transparent;padding:11px 10px;font-size:11px;outline:none}.search button{width:34px;font-size:24px}.search-results{border:1px solid var(--line);border-radius:6px;margin:-9px 0 14px;max-height:210px;overflow:auto}.search-results button{display:block;text-align:left;width:100%;padding:9px 10px;font-size:12px}.search-results button:hover{background:#edf4ee}.mode-switch{display:flex;gap:3px;background:#edf2ed;border-radius:7px;padding:3px;margin-bottom:18px}.mode-switch button{flex:1;font-size:11px;padding:8px 4px;border-radius:5px}.mode-switch button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #15331a18;font-weight:650;color:var(--green)}.control-section{padding:15px 0;border-top:1px solid var(--line)}.control-section h3{margin-bottom:11px}.section-title{display:flex;align-items:baseline;justify-content:space-between}.pill{font-size:8px;letter-spacing:.8px;color:var(--green);background:#e9f1e9;padding:3px 5px;border-radius:3px}.control-section h2{font-size:14px;margin-bottom:4px}.gradient{height:7px;margin-top:14px;border-radius:5px;background:linear-gradient(90deg,#25572b,#6f9641,#b7bb3e,#e0b433,#dd702d,#a92f2b)}.legend{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin:5px 0 10px}.definition{font-size:10px;color:var(--muted);line-height:1.5}.range-label{display:flex;justify-content:space-between;font-size:11px;margin-top:14px}input[type=range]{width:100%;accent-color:var(--green);height:17px;margin:6px 0 0}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px;cursor:pointer}.layer-row{display:flex;align-items:center;justify-content:space-between;min-height:33px;font-size:12px;cursor:pointer;gap:5px}.layer-row span{display:flex;align-items:center;gap:7px}.layer-row.small{font-size:10px;color:var(--muted)}.swatch{width:12px;height:12px;display:inline-block;font-style:normal}.swatch.fire{font-size:19px;color:#ce4437;line-height:12px}.swatch.perimeter{border:1px solid #cd473b;border-radius:2px;background:#dc51421c}.swatch.detection{width:6px;height:6px;border-radius:50%;background:#e86b37;margin:0 3px}.context-note{font-size:10px;color:#6c756b;line-height:1.5;background:#f2f5ef;padding:8px;border-radius:5px;margin:0 0 7px}.mini-legend{display:flex;gap:9px;font-size:9px;color:var(--muted);margin-top:9px}.dot{width:5px;height:5px;border-radius:50%;display:inline-block;margin-right:4px}.red{background:#d34132}.amber{background:#d8952e}.purple{background:#9257b5}.select-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:11px}select{max-width:155px;border:1px solid var(--line);background:#fff;border-radius:5px;padding:6px;font-size:11px}.wide-button{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:5px;padding:9px;margin-top:8px;font-size:11px}.wide-button:hover{background:#edf4ee}.sidebar-footer{font-size:10px;color:#7d8a7f;border-top:1px solid var(--line);padding-top:15px}.inspection{position:fixed;right:18px;top:76px;width:365px;max-height:calc(100dvh - 100px);z-index:7;overflow:auto;padding:17px;scrollbar-width:thin}.inspection-top{display:flex;gap:8px;justify-content:space-between;align-items:flex-start}.inspection-top h2{font-size:15px;padding-right:3px}.inspection-top p{font-size:11px;color:var(--muted);margin-top:4px}.close{background:#f1f5f1;font-size:24px;align-self:flex-start}.radius-options{display:flex;gap:6px;margin:14px 0 12px}.radius-options button{font-size:10px;padding:5px 10px;border:1px solid var(--line);border-radius:5px}.radius-options button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:white}#cell-value{font-weight:600;font-size:13px;margin-bottom:4px}#regional-counts{margin-top:7px}#incident-info{font-size:11px;line-height:1.6;margin-top:10px}#incident-info:empty{display:none}.selection-actions{display:flex;gap:0;margin-top:13px;border-top:1px solid var(--line);padding-top:8px}.selection-actions button{flex:1;text-align:center;padding:8px 2px;font-size:11px;border-right:1px solid var(--line)}.selection-actions button:last-child{border:0}.selection-actions button:hover{background:#f0f5f0}.selection-actions button[aria-expanded=true]{font-weight:700;color:var(--green)}#selection-notice{margin-top:10px}.detail-section{border-top:1px solid var(--line);padding:15px 0 5px}.detail-section h3{margin-bottom:9px}.detail-section p{font-size:10px;color:var(--muted);margin:5px 0}.chart{display:block;width:100%;height:118px;overflow:visible}.chart text{fill:#77867c;font-size:9px;font-family:inherit}.chart-point{cursor:crosshair}.chart-values{display:flex;justify-content:space-between;font-size:10px;color:var(--green);gap:5px}.chart-note{min-height:28px}.chart-loading{height:112px;background:linear-gradient(90deg,#f3f6f1,#e7eee5,#f3f6f1);background-size:200% 100%;animation:loading 1.6s linear infinite;border-radius:5px;display:grid;place-items:center;font-size:11px;color:var(--muted)}@keyframes loading{to{background-position:-200% 0}}.timeline{position:static;width:100%;margin:14px 0 0;padding:0;min-width:0}.timeline-top{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.timeline-top .eyebrow{margin:0}#status{font-size:10px;color:var(--muted)}#horizons{display:flex;position:relative;gap:10px;margin:13px 0 9px}#horizons:before{content:'';position:absolute;left:9%;right:9%;top:50%;height:2px;background:#cfddd0;z-index:0}#horizons button{flex:1;position:relative;font-size:12px;border-radius:5px;background:#f4f7f2;border:1px solid #d9e3d8;min-height:33px;font-weight:500}#horizons button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}#horizons button[data-pending=true]{opacity:.55}#valid,#observations-valid{font-size:11px;color:var(--muted)}.timeline-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:10px;padding-top:6px;font-size:9px;color:#819185}.timeline-bottom button{font-size:10px;padding:0;text-decoration:underline;text-underline-offset:3px}#timeline-observations{padding:17px 0 9px;font-size:13px}#timeline-observations p{margin-top:6px}.maplibregl-ctrl-bottom-right{bottom:12px;right:10px}.maplibregl-ctrl-bottom-left{max-width:calc(100% - 50px)}dialog{border:1px solid var(--line);border-radius:12px;padding:24px;max-width:640px;width:calc(100% - 32px);max-height:82dvh;color:#203a33;box-shadow:0 18px 100px #0003}dialog::backdrop{background:#13382a44;backdrop-filter:blur(2px)}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:17px}.data-card{padding:14px 0;border-top:1px solid var(--line)}.data-card h3{font-size:13px;margin-bottom:6px}.data-card p{font-size:11px;color:var(--muted)}.data-card a{display:inline-block;margin-top:8px;font-size:11px}.data-card .pill{float:right}.toast{position:fixed;z-index:20;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 18px;border-radius:8px;background:#173e35;color:#fff;max-width:min(90vw,450px);font-size:12px;box-shadow:var(--shadow)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.no-script{position:fixed;top:80px;left:20px;padding:20px;z-index:99}.maplibregl-popup-content{font-size:11px;padding:9px 12px}.env-scale{font-size:9px;color:var(--muted);margin-top:9px;line-height:1.6}.env-scale i{display:inline-block;width:9px;height:9px;margin:0 3px 0 8px}.archive-item{display:block;text-align:left;padding:10px;width:100%;border-bottom:1px solid var(--line);font-size:12px}.archive-item:hover{background:#eff4ef}@media(min-width:641px){#menu-toggle{display:none}}@media(max-width:1000px){:root{--sidebar:272px}.masthead{padding:0 13px}.header-actions{gap:13px}.brand{gap:10px}.inspection{width:330px}.sidebar{padding:16px}}@media(max-width:640px){:root{--sidebar:290px}.masthead{height:54px;padding:0 9px}.brand{gap:7px}.brand-divider{display:none}h1{font-size:18px}.nsf-logo{height:28px;width:28px}.rai-brand{font-size:18px}.rai-brand span{font-size:6px;letter-spacing:3px}.preview{display:none}.header-actions{gap:10px;font-size:11px}.header-actions #updates-open{font-size:0}.header-actions .status-dot{width:8px;height:8px;margin:0}.header-actions #refresh{display:none}#menu-toggle{width:28px!important;font-size:20px}.sidebar{left:9px;top:64px;bottom:max(12px,env(safe-area-inset-bottom));width:min(84vw,310px);padding:16px;z-index:9}.sidebar-peek{top:78px}.sidebar .timeline{margin-top:14px;padding:0}.timeline-top .eyebrow{font-size:8px;letter-spacing:.7px}#status{font-size:9px}.timeline-bottom{font-size:8px}#horizons{gap:8px;margin:11px 0 8px}#horizons button{min-height:44px}#valid,#observations-valid{font-size:10px}.inspection{left:9px;right:9px;top:64px;width:auto;max-height:calc(100dvh - 88px - env(safe-area-inset-bottom));z-index:10;padding:14px}.sidebar:not(.collapsed)~.inspection{z-index:10}.maplibregl-ctrl-bottom-right{bottom:max(10px,env(safe-area-inset-bottom));right:0}#map{inset:54px 0 0}.maplibregl-ctrl-attrib{font-size:8px}.toast{bottom:max(24px,env(safe-area-inset-bottom))}dialog{padding:18px}.nsf-logo{object-fit:contain}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.inspection{background:#fff}

.sidebar-peek{z-index:12}

/* Optional browser-only simulation: scroll the complete dialog on narrow screens. */
.scene-dialog{width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:22px;border:1px solid #dbe4df;border-radius:18px;background:#fafcfb;color:#213d34;overflow:auto;overscroll-behavior:contain}
.scene-dialog .dialog-heading{position:sticky;top:-22px;background:#fafcfb;padding:12px 0;z-index:2}.scene-dialog h2{margin:4px 0}.scene-dialog .dialog-heading p{margin:4px 0}.scene-dialog::backdrop{background:#112b27aa;backdrop-filter:blur(3px)}
.scene-time{font-size:12px;line-height:1.6;color:#607168;margin:0 0 16px}.scene-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.scene-stage{height:440px;max-height:52dvh;min-height:220px;background:#e8efeb;border:1px solid #dce5de;border-radius:12px;overflow:hidden}.scene-visual{min-width:0}.scene-visual #scene-status{font-size:12px;color:#5f7369;line-height:1.5;min-height:18px}.scene-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.scene-controls button,.scene-walking button{border:1px solid #d8e1db;border-radius:8px;background:white;color:#244e3f;padding:8px 11px;font:inherit;font-size:12px;min-height:36px;cursor:pointer}.scene-controls [aria-pressed=true]{background:#e5f0e8;border-color:#659374}.scene-walking{margin-top:8px}.scene-walking p{font-size:12px;color:#607168}.scene-walking button{min-width:44px;min-height:44px;touch-action:none}.scene-outcome{font-size:13px;font-weight:600}.scene-evidence{min-width:0}.scene-evidence h3{font-size:15px;margin-top:0}.scene-evidence details{border-top:1px solid #e0e7e2;padding:14px 0;margin-top:14px}.scene-evidence summary{cursor:pointer;font-size:13px;font-weight:600}.scene-input{display:grid;grid-template-columns:1fr auto;gap:5px;padding:10px 0;border-bottom:1px solid #e9edea;font-size:12px}.scene-input small{grid-column:1/-1;color:#697b70;line-height:1.45}.scene-input .scene-fallback{color:#876c45}.landscape-heading{font-size:13px;color:#53715e}.landscape-composition{height:9px;display:flex;overflow:hidden;border-radius:5px;margin:14px 0}.landscape-list{display:grid;gap:7px;font-size:12px}.landscape-list>div{display:flex;justify-content:space-between;gap:8px}.landscape-list strong{font-variant-numeric:tabular-nums}.scene-credit{font-size:11px;color:#78897d;line-height:1.6}.scene-credit a{color:inherit}.scene-dialog [hidden]{display:none!important}
@media(max-width:740px){.scene-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px;border-radius:14px}.scene-dialog .dialog-heading{top:-14px}.scene-layout{grid-template-columns:minmax(0,1fr);gap:18px}.scene-stage{height:300px;max-height:45dvh;min-height:200px}.scene-time{font-size:11px}.scene-dialog .dialog-heading h2{font-size:19px}.scene-controls{gap:6px}.scene-controls button{padding:8px;font-size:11px}}

.archive-date{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d8e1db;border-radius:8px;background:#fff;color:#244e3f;font:inherit;margin:0 0 8px}.archive-list .archive-item[hidden]{display:none}.archive-list .archive-item{width:100%}

.history-section>summary{cursor:pointer;font-size:14px;font-weight:650;padding:12px 0;color:#234c40}.history-count{font-weight:650}.history-record{border-top:1px solid #e3e9e3}.history-record>summary{cursor:pointer;padding:12px 2px;font-size:13px;font-weight:600;overflow-wrap:anywhere}.history-record-body{padding:0 6px 10px;font-size:12px;color:#526259}.history-record-body p{margin:5px 0}.history-list{margin-bottom:8px}
.assistant-panel{border-top:1px solid #e0e8e1;margin-top:14px;padding-top:14px}.assistant-panel h3{margin:0}.assistant-panel textarea{box-sizing:border-box;width:100%;font:inherit;font-size:13px;border:1px solid #ccd8ce;border-radius:9px;padding:10px;resize:vertical;background:#fff}.assistant-form-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.assistant-form-actions button{padding:9px 12px;border-radius:8px;min-height:40px}.assistant-form-actions button[type=submit]{background:#295b49;color:white}.assistant-question{padding:10px 12px;margin:14px 0 8px;border-radius:9px;background:#edf2ed;overflow-wrap:anywhere}.assistant-answer{font-size:13px;line-height:1.55;border-bottom:1px solid #e3e9e3;padding:10px 0;overflow-wrap:anywhere}.assistant-answer strong{color:#244e40}.assistant-sources{font-size:11px}.assistant-sources summary{cursor:pointer;padding:8px 0}.assistant-sources a{color:#356f57}.assistant-panel[hidden]{display:none}

/* Optional landscape display layers; independent of the forecast timeline. */
.background-select-label{display:block;font-size:11px;margin:8px 0 6px}#background-select{display:block;width:100%;max-width:100%;font-size:12px;min-height:36px}#background-status{margin-top:8px;line-height:1.5}.background-source{font-size:11px;line-height:1.5;margin:12px 0 4px}.background-units{font-size:10px;color:var(--muted);margin:0 0 8px}.background-legend{display:grid;grid-template-columns:1fr 1fr;gap:6px 9px}.background-legend-item{display:flex;align-items:center;gap:6px;min-width:0;font-size:10px;line-height:1.4}.background-legend-item i{width:10px;height:10px;flex:0 0 10px;border:1px solid #0002;border-radius:2px}.background-notes{font-size:10px;margin-top:12px;line-height:1.6;color:var(--muted)}.background-notes summary{cursor:pointer;padding:4px 0}.background-notes p{margin:7px 0}.background-notes a{display:block;overflow-wrap:anywhere;margin:6px 0}#background-opacity-row .range-label{margin-top:10px}

#vector-select{display:block;width:100%;max-width:100%;min-height:36px;font-size:12px}#vector-status{margin:8px 0;line-height:1.5}#vector-year-row{margin-top:12px}#vector-opacity-row{margin-top:10px}.context-feature{padding:10px;background:#f1f6f3;border-radius:6px;margin:10px 0;font-size:11px;line-height:1.6}.context-feature h3{font-size:12px;margin-bottom:5px}.context-feature p{margin:3px 0}

#hurricane-controls{margin-top:12px}#hurricane-storm{width:100%;max-width:none}.hurricane-popup p{margin:7px 0}.hurricane-popup h3{padding-right:32px}.hurricane-popup-container .maplibregl-popup-content{border-radius:10px;padding:16px}.hurricane-popup-container .maplibregl-popup-close-button{display:grid;place-items:center;width:36px;height:36px;top:5px;right:5px;font-size:23px;border-radius:50%;line-height:1}

#hurricane-popups{position:fixed;inset:58px 0 0;z-index:11;pointer-events:none}#hurricane-popups .maplibregl-popup-content{pointer-events:auto}@media(max-width:640px){#hurricane-popups{top:54px}}

.resolution-lab #resolution-target{width:100%;max-width:none}.resolution-lab #resolution-detail-state{margin-top:8px}.resolution-lab .resolution-navigation{display:flex;align-items:center;gap:8px;margin:7px 0 0}.resolution-navigation input{flex:1;min-width:30px}.resolution-navigation button{min-width:32px;height:32px;border:1px solid var(--line);border-radius:6px;font-size:22px}.resolution-navigation span{font-size:10px;white-space:nowrap;color:var(--muted)}.resolution-lab .sidebar{bottom:16px}.resolution-lab .maplibregl-ctrl-bottom-right{bottom:12px}.resolution-lab .inspection{max-height:calc(100dvh - 100px)}.resolution-lab .timeline{padding-top:9px}.resolution-lab #horizons{margin-top:6px}.resolution-lab .resolution-method{margin-top:12px}.resolution-return{font-size:11px}@media(max-width:640px){.resolution-lab .sidebar{bottom:max(12px,env(safe-area-inset-bottom))}.resolution-lab .maplibregl-ctrl-bottom-right{bottom:max(10px,env(safe-area-inset-bottom))}.resolution-lab .inspection{max-height:calc(100dvh - 88px - env(safe-area-inset-bottom))}.resolution-lab .header-actions{gap:7px}.resolution-return{font-size:10px}}

.sidebar-timeline .timeline-top .eyebrow{font-size:9px;letter-spacing:.7px;line-height:1.5}.sidebar-timeline #status{line-height:1.4}.sidebar-timeline #horizons{gap:6px}.sidebar-timeline #valid,.sidebar-timeline #observations-valid{line-height:1.6}.sidebar-timeline .timeline-bottom{align-items:center;gap:8px}.sidebar-timeline #archive-open{min-height:32px;text-align:left}

/* Optional assistant: independent connection, shared global and regional conversation. */
.assistant-global-panel{width:410px;z-index:11}.assistant-global-panel .assistant-panel{border:0;margin:0;padding:0}.assistant-panel .section-title{align-items:center}.assistant-panel #assistant-context{margin:3px 0 13px}.assistant-settings{margin:10px 0 14px;padding:10px;border:1px solid var(--line);border-radius:8px;font-size:11px}.assistant-settings summary{cursor:pointer;line-height:1.6}.assistant-settings label{display:block;font-size:11px;margin:12px 0 5px}.assistant-settings input,.assistant-settings select{width:100%;max-width:none;min-width:0;padding:10px;border:1px solid #cbd9cf;border-radius:6px;background:#fff;font-size:13px}.assistant-settings .muted{display:block;margin:8px 0;line-height:1.5}.assistant-settings .context-note{margin:10px 0}.assistant-panel #assistant-form{margin-top:14px}.assistant-answer p{white-space:pre-wrap;margin:8px 0;font-size:12px}.assistant-panel #assistant-status{margin-top:12px}.assistant-action-log{font-size:10px;color:var(--muted);padding:8px 0}.assistant-action-log summary{cursor:pointer}.assistant-action-log p{margin:5px 0}.assistant-panel textarea{font-size:14px;min-height:70px}.assistant-form-actions{flex-wrap:wrap}.assistant-global-panel .chart{height:130px}.assistant-global-panel #assistant-forecast{margin-top:10px}.header-actions #assistant-global-open{white-space:nowrap}@media(max-width:640px){.assistant-global-panel{width:auto;left:9px;right:9px;top:64px;max-height:calc(100dvh - 80px - env(safe-area-inset-bottom));z-index:12}.assistant-settings input,.assistant-settings select,.assistant-panel textarea{font-size:16px}.header-actions{gap:9px}.header-actions #assistant-global-open{font-size:11px}.header-actions #updates-open{width:28px;min-height:40px}.masthead .brand{gap:5px}.assistant-panel .icon-button{min-width:40px;min-height:40px}.resolution-lab .header-actions .resolution-return{position:fixed;left:52px;bottom:14px;background:#fff;padding:8px;border-radius:5px;box-shadow:var(--shadow)}}@media(max-width:370px){.masthead{padding:0 6px}.brand{gap:4px}.brand h1{font-size:16px}.nsf-logo{width:25px;height:25px}.rai-brand{font-size:16px}.header-actions{gap:6px;font-size:10px}.header-actions #assistant-global-open{font-size:10px}.header-actions #updates-open{width:20px}}

.assistant-answer ul{padding-left:18px;margin:9px 0}.assistant-answer li{font-size:12px;line-height:1.55;margin:6px 0}.assistant-answer a{text-decoration:underline;text-underline-offset:2px}

.resolution-entry{margin-top:12px;min-height:38px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--green);font-weight:600}@media(max-width:640px){.resolution-entry{min-height:44px}}

.map-actions{margin:4px 0 8px}.fire-overlay-toggle{display:flex;align-items:center;gap:7px;min-height:40px;margin:0;font-size:12px;font-weight:600}.fire-overlay-toggle>span:first-child{color:#cd473b;font-size:18px}.toggle-indicator{margin-left:auto;width:26px;height:15px;border-radius:10px;background:#c7d3cc;position:relative}.toggle-indicator:before{content:'';position:absolute;left:2px;top:2px;width:11px;height:11px;border-radius:50%;background:white;transition:transform .15s}.fire-overlay-toggle[aria-pressed=true]{border-color:#9cb6a8;background:#edf4ee}.fire-overlay-toggle[aria-pressed=true] .toggle-indicator{background:var(--green)}.fire-overlay-toggle[aria-pressed=true] .toggle-indicator:before{transform:translateX(11px)}#fire-overlay-label{font-size:10px;margin:6px 2px;line-height:1.5}@media(max-width:640px){.fire-overlay-toggle{min-height:44px}}

/* Coordinate-preserving transition to the existing simulation renderer. */
.scene-location-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.scene-location-actions .scene-time{margin:0}.scene-location-actions button{flex-shrink:0;min-height:44px}
body.simulation-embedded> :not(#scene-dialog){visibility:hidden!important;pointer-events:none!important}body.simulation-embedded #scene-dialog{box-sizing:border-box;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border:0;border-radius:0}body.simulation-embedded #scene-close{display:none}body.simulation-embedded #scene-dialog::backdrop{background:#fffef8}
body.simulation-embedded #scene-dialog .dialog-heading h2,body.simulation-embedded #scene-dialog .dialog-heading .eyebrow{display:none}body.simulation-embedded #scene-dialog .dialog-heading{margin-bottom:6px}

.header-actions .team-link,.header-actions .report-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;white-space:nowrap}
/* Keep one uncluttered header row; every navigation action remains in the menu. */
.masthead.navigation-open{z-index:20}
.masthead>.brand{flex-shrink:0}
.header-more-links{display:contents}
.header-actions .header-more-open{display:none}
.header-more-links #assistant-global-open{order:0}
.header-more-links #updates-open{order:1}
.header-actions .report-link{order:2}
.header-more-links>a{order:3}
.header-more-links .report-link{order:2}
.header-more-links .team-link{order:4}
.header-more-links #refresh{order:5}
.header-actions #account-open{order:6}
.header-actions .report-link:focus-visible,.header-actions .header-more-open:focus-visible{outline:3px solid #89bda8;outline-offset:2px;border-radius:3px}
@media(max-width:960px){
 .masthead{gap:12px}
 .masthead>.header-actions{gap:6px;flex:0 0 auto}
 .masthead .account-label{display:none}
 .masthead .account-open{padding:0;width:44px;height:44px;flex:0 0 44px}
 .header-actions .header-more-open{display:inline-flex;align-items:center;justify-content:center;order:7;width:44px;height:44px;flex:0 0 44px;padding:0;font-size:26px;line-height:1;border-radius:8px}
 .header-actions .header-more-open[aria-expanded="true"]{background:#eef5f0}
 .header-more-links{display:none;position:absolute;top:calc(100% + 6px);right:max(10px,env(safe-area-inset-right));width:248px;max-width:calc(100vw - 20px);max-height:calc(100vh - 76px);max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain;flex-direction:column;align-items:stretch;gap:2px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 28px #173d3524;padding:8px;z-index:12}
 .header-more-links.is-open{display:flex}
 .header-actions .header-more-links>a,.header-actions .header-more-links>button{display:flex;justify-content:flex-start;align-items:center;order:0;flex:0 0 auto;width:100%;min-width:44px;min-height:44px;padding:10px 12px;white-space:nowrap;font-size:14px;line-height:1.4;text-align:left;border-radius:7px}
 .header-actions .header-more-links #assistant-global-open{font-size:14px;width:100%;font-weight:600}
 .header-actions .header-more-links #updates-open{width:100%;min-height:44px;font-size:14px;gap:8px}
 .header-actions .header-more-links #refresh{display:none}
 .header-more-links>a:hover,.header-more-links>button:hover{background:#eef5f0}
 .header-actions .header-more-links .status-dot{width:7px;height:7px;margin:0}
 .masthead .brand>#menu-toggle{width:44px!important;height:44px!important}
}
@media(max-width:640px){
 .masthead{padding:0 max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left));gap:8px}
 .masthead .brand{gap:6px}
 .masthead .brand h1{font-size:18px;white-space:nowrap}
 .masthead .brand .rai-brand{font-size:18px}
 .masthead .brand .nsf-logo{width:26px;height:26px}
 .masthead>.header-actions{gap:2px}
}
