/* Scientific Noir inherited from SATQuery: same type roles, native black and transparent fixed chrome. */
:root,:root[data-theme=dark]{--bg:#000;--card:#111;--input:#0e0e0e;--text:#f2f2ef;--muted:#b6b8bb;--line:#303235;--gold:#d8e3e7;--sq-focus:#c9e4e7;--sq-panel:#0c0d0e;--lava:#d1a47e;--sq-header-h:88px;--sq-scroll-footer-h:45px}
body{background:#000;color:var(--text)}body::before{background:url('/LavaLabs/assets/noir/scientific-noir-background.png') center top/cover no-repeat;opacity:.2}body header{display:flex;align-items:center;gap:32px;padding:12px 3.2%;min-height:88px}body header .brand{gap:10px;text-decoration:none;flex:none}body header .brand img{width:42px;height:44px;object-fit:contain}body header .brand>span{font-family:'Space Grotesk',Geist,sans-serif;font-size:24px;font-weight:500;letter-spacing:-.035em;line-height:1.1}.brand-light{color:#bfc2c5}body header nav{display:flex;gap:24px;align-items:center;align-self:center;flex-wrap:nowrap;min-width:0}body header nav button,body header nav a{font:500 13px/1.5 Geist,sans-serif;padding:12px 0;color:var(--muted);text-decoration:none;background:none;border:0;white-space:nowrap}body header nav button.active,body header nav a.active{color:#fff}body header nav button.active::after{height:1px;background:#d8e3e7;bottom:4px;box-shadow:none}.lava-status{margin-left:auto;display:flex;align-items:center;gap:8px;color:var(--muted);font:12px Geist,sans-serif;white-space:nowrap}.status-dot{width:5px;height:5px;border-radius:50%;background:#b4c4c3}body main{max-width:1920px;padding:24px 3.2% 38px}body .intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:0 0 24px}body .intro h1{font:500 26px/1.25 'Space Grotesk',sans-serif;letter-spacing:-.03em;margin:0 0 8px}body .intro p{font-size:14px;color:var(--muted);margin:0;max-width:75ch}.text-link{font-size:12px;color:var(--text);white-space:nowrap;text-underline-offset:4px}h2,h3{font-family:'Space Grotesk',Geist,sans-serif!important}h2{font-size:20px!important;letter-spacing:-.025em}p{max-width:75ch}.eyebrow,.earth-kicker{display:none!important}body button,body input,body select,body textarea{font-family:Geist,sans-serif;border-radius:6px}body button{min-height:38px}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.6!important;color:#a8a8a8!important}.primary{background:#eef0ef!important;color:#0b0c0d!important;border:1px solid #eef0ef!important;box-shadow:none!important}::selection{background:#6d777b;color:#fff}body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #c9e4e7;outline-offset:4px}body :is(input,textarea){caret-color:#c9e4e7}html{overscroll-behavior:none;-webkit-text-size-adjust:100%}body :is(table,dl,output){font-variant-numeric:tabular-nums}.lava-footer{height:auto;min-height:45px!important;padding:12px 3.2%!important;display:flex!important;align-items:center;justify-content:space-between;gap:22px;background:transparent!important;border:0!important;color:#afb4b7!important;font-size:11px!important}.lava-footer>span{font-family:'IBM Plex Mono',monospace!important;font-size:10px!important;background:transparent!important;white-space:normal;line-height:1.5}.lava-footer>span:nth-child(2){text-align:center;display:block!important}.footer-separator{color:#73797d;margin:0 9px}.case-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:20px;align-items:end;margin:0 0 14px}.case-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.case-toolbar select{height:43px;width:100%}.case-toolbar>button{height:43px;min-width:120px;padding:8px 18px;background:#151719;border:1px solid var(--line)}#case-message{font-size:12px;margin:0 0 16px}#case-message:empty{display:none}.case-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(290px,1fr);gap:24px;align-items:start}.case-visual,.case-inspector{min-width:0;background:var(--sq-panel);border:1px solid var(--line);border-radius:12px;overflow:hidden}.case-visual-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px 5px}.case-visual-heading h2{margin:0 0 5px;font-size:18px!important}.case-visual-heading p{margin:0;font-size:12px;color:var(--muted)}#case-unit{font:12px 'IBM Plex Mono',monospace;color:var(--muted)}#case-plot{height:475px;width:100%;min-width:0}.case-visual>canvas{width:100%;max-height:475px;object-fit:contain;display:block;image-rendering:pixelated;background:#08090a}.view-note{font-size:11px;color:var(--muted);padding:0 22px;margin:10px 0 14px;min-height:34px}.case-actions{display:flex;gap:20px;flex-wrap:wrap;align-items:center;padding:12px 22px 16px;border-top:1px solid #26282b}.case-actions a,.case-actions button{color:var(--text);font-size:12px;background:none;border:0;text-underline-offset:4px;padding:0;min-height:32px}.case-actions a{display:inline-flex;align-items:center}.case-inspector{padding:23px}.case-inspector h2{margin:0 0 15px}.case-inspector>p{font-size:14px;line-height:1.65}.case-inspector dl{margin:20px 0}.case-inspector dl>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #26292c;padding:11px 0}.case-inspector dt{font-size:12px;color:var(--muted)}.case-inspector dd{font-size:13px;text-align:right;margin:0}.observation-dates{margin:22px 0}.observation-dates h3{font-size:15px;margin:0 0 12px}.observation-row{display:flex;flex-direction:column;gap:3px;margin-bottom:11px}.observation-row strong{font-size:13px;font-weight:500}.observation-row span{font-size:11px;color:var(--muted)}.case-inspector details{border-top:1px solid var(--line);padding-top:16px;margin-top:17px;font-size:12px}.case-inspector summary{font-size:13px;cursor:pointer}.case-inspector li{font-size:12px;line-height:1.65;color:var(--muted);margin:8px 0}.case-inspector ul{padding-left:18px}.source-item{margin:12px 0;font-size:11px;overflow-wrap:anywhere;color:var(--muted)}.source-item code{display:block;font:10px 'IBM Plex Mono',monospace;margin:5px 0}#case-summary,.inspect-nepal{display:block;font-size:12px;color:var(--text);margin-top:16px;text-underline-offset:4px}.case-context{margin-top:32px}.case-context>h2{margin-bottom:18px}.case-index{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.case-index button{min-width:0;text-align:left;display:flex;flex-direction:column;gap:8px;background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:15px 0;color:var(--text)}.case-index strong{font-size:15px;font-weight:500}.case-index span{font-size:12px;color:var(--muted);line-height:1.65}.case-index button[aria-pressed=true]{border-top-color:var(--lava)}.research-lead{font-size:16px;max-width:80ch;color:var(--muted);margin-bottom:28px}.research-row{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.7fr) auto;gap:30px;padding:24px 0;border-bottom:1px solid var(--line);align-items:start}.research-row h2{font-size:20px!important;margin:0 0 8px}.research-row .scope{font-size:12px;color:var(--muted)}.research-row p{font-size:14px;margin:0 0 12px}.research-row .result-limit{color:var(--muted);font-size:12px}.research-row a{font-size:12px;white-space:nowrap;color:var(--text);margin-top:5px;text-underline-offset:4px}.research-boundary{margin-top:35px;max-width:95ch}.research-boundary p{font-size:14px;color:var(--muted)}.research-boundary a{font-size:13px;color:var(--text)}
/* The inherited Nepal workspace keeps its scientific controls and genuine raster colours. */
.earth-intro{padding:0;margin:0 0 20px}.earth-intro h1{font-size:26px!important;margin:0 0 8px!important}.earth-intro p{font-size:14px!important;max-width:none!important}.earth-visual,.earth-sidebar{border-radius:12px;background:var(--sq-panel)}.earth-visual{position:static}.earth-sidebar{padding:23px}.earth-layout{grid-template-columns:minmax(0,1.85fr) minmax(320px,1fr);gap:24px}.earth-viewer{height:430px;min-height:340px;background:#050607}.earth-view-header{padding:20px 22px 12px}.earth-view-header h2{font-size:18px!important;margin:0}.earth-view-header .earth-text-button{font-size:12px!important}.earth-view-tabs{padding:0 22px 12px}.earth-view-tabs button{flex:0 0 auto!important;font-size:12px!important}.earth-sidebar h2{font-size:22px!important;margin:0 0 18px!important}.earth-sidebar p{font-size:13px!important}.earth-sidebar label{font-size:13px!important}.earth-workspace button:not(.primary){border-radius:6px;background:#111315;color:var(--text)}.earth-workspace button[aria-pressed=true]{background:#25282b!important;color:#fff;border-color:#6e777e!important}.earth-key-metrics{padding:15px 22px}.earth-key-metrics strong{font-size:23px!important;color:var(--text)!important}.earth-key-metrics span{font-size:11px!important}.earth-disclosure{border-color:var(--line)}.earth-source-row,.earth-muted{font-size:12px!important}.sq-story{display:flex;gap:17px;align-items:center;overflow-x:auto;margin-bottom:18px;max-width:100%}.sq-story button{background:none!important;border:0!important;border-radius:0!important;padding:4px 0!important;font-size:12px!important;white-space:nowrap;color:var(--muted)!important}.sq-story button:hover{color:#fff!important}.earth-visual .earth-view-toolbar{gap:9px}.earth-view-note{font-size:11px}.earth-profile{margin:18px 22px}.earth-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.earth-source-row p{font-size:12px!important}.earth-answer>p{font-size:17px!important}.earth-context-chips span{font-size:11px!important}.sq-mask-compare{width:100%;height:100%}#earth-empty img{display:none}#earth-empty{padding:25px}.earth-feedback{color:#e8c7a7!important}.earth-workspace .earth-profile-chart{min-width:0}body .earth-sidebar textarea{min-height:105px}.earth-table-scroll{overflow:auto;max-width:100%}.earth-workspace pre{font-size:11px;overflow:auto}.earth-workspace table{font-size:12px}.earth-workspace th{font-weight:400;color:var(--muted)}.earth-workspace td:not(:first-child){text-align:right}
@media(hover:hover) and (pointer:fine){body button:hover:not(:disabled),body a:hover{color:#fff;border-color:#8b959c}.case-index button:hover{border-top-color:#cad3d9}}
@media(max-width:1100px){body header{gap:22px;min-height:82px}body header nav{gap:18px}.lava-status{display:none}.case-layout,.earth-layout{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr)}.case-index{grid-template-columns:1fr 1fr}.research-row{grid-template-columns:minmax(180px,.8fr) minmax(0,1.5fr)}.research-row>a{grid-column:2}.lava-footer>span:nth-child(2){display:none!important}#case-plot{height:420px}.earth-viewer{height:390px}}
@media(max-width:760px){:root{--sq-header-h:130px;--sq-scroll-footer-h:42px}body header{padding:12px 5% 8px;gap:8px;flex-wrap:wrap;min-height:0}body header .brand{gap:8px}body header .brand img{width:35px;height:38px}body header .brand>span{font-size:22px}body header nav{width:100%;order:2;gap:22px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}body header nav button,body header nav a{min-height:44px;font-size:12px;padding:10px 0;flex:none}body main{padding:20px 5% 30px}body .intro{align-items:flex-start;margin-bottom:22px}body .intro h1{font-size:24px!important}body .intro p{font-size:13px}.intro>.text-link{display:none}.case-toolbar{grid-template-columns:1fr auto;gap:12px}.case-toolbar>label:first-child{grid-column:1/-1}.case-toolbar label{font-size:12px}.case-toolbar select{font-size:16px}.case-toolbar>button{min-width:104px;font-size:13px}.case-layout,.earth-layout{display:block}.case-inspector,.earth-sidebar{margin-top:20px;padding:20px}.case-visual-heading{padding:18px 16px 8px}.case-visual-heading h2{font-size:17px!important}.case-visual-heading p{font-size:12px}#case-plot{height:340px}.view-note{padding:0 16px;font-size:12px}.case-actions{padding:10px 16px;gap:14px}.case-actions a,.case-actions button{min-height:44px;font-size:12px}.case-index{grid-template-columns:1fr 1fr;gap:18px}.case-index button{padding:14px 0}.case-index strong{font-size:14px}.case-index span{font-size:12px}.case-inspector dd{font-size:13px}.case-inspector dt{font-size:12px}.research-row{display:block;padding:23px 0}.research-row>div:nth-child(2){margin-top:16px}.research-row p{font-size:14px}.research-row>a{display:inline-block;min-height:44px;padding-top:9px}.research-boundary p{font-size:14px}.earth-intro{display:block!important}.earth-intro>p{margin-top:6px;font-size:13px!important}.earth-intro h1{font-size:24px!important}.earth-view-header{padding:17px 16px 12px}.earth-view-tabs{padding:0 16px 12px}.earth-view-tabs button{min-height:44px}.earth-viewer{height:340px;min-height:300px}.earth-view-toolbar{flex-wrap:wrap;padding:12px 16px}.earth-view-toolbar select,.earth-sidebar select,.earth-sidebar textarea,.earth-profile input{font-size:16px!important}.earth-key-metrics{padding:14px 16px}.earth-key-metrics strong{font-size:21px!important}.earth-profile{margin:16px}.earth-sidebar h2{font-size:21px!important}.earth-sidebar p{font-size:14px!important}.earth-disclosure summary{min-height:44px;display:flex;align-items:center}.earth-disclosure-body p{font-size:13px!important}.sq-story{gap:19px}.sq-story button{min-height:44px}.lava-footer{padding:10px 5%!important;min-height:42px!important}.lava-footer>span{font-size:9px!important}.lava-footer>span:last-child{display:none}.source-item code{font-size:11px}.case-inspector li{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.lava-footer>span{font-size:11px!important}.source-item code{font-size:11px}.earth-workspace .js-plotly-plot text{font-size:11px!important}@media(max-width:760px){.lava-footer>span{font-size:11px!important}}
body button{box-shadow:none!important}#earth>.earth-intro{display:none!important}.earth-view-options summary{font-size:11px!important}.earth-profile-fields label{font-size:12px!important}

@media(max-width:760px){
 body>header nav[aria-label="Workspace"]{flex-wrap:wrap;gap:0 20px;overflow:visible}
 body>header nav[aria-label="Workspace"] :is(button,a){min-height:40px;padding:8px 0}
 body .intro:has(>.nepal-entry){flex-wrap:wrap;gap:8px}
 body .intro>.nepal-entry{display:inline-flex;align-items:center;gap:6px;min-height:40px;white-space:normal}
}
