/* The same look as the Novalith app and its landing page (launch/index.html): the app's own font files, the void,
   cream and ember colours, cream links with an ember underline, the ember pill button, 44 px tap targets and one
   focus ring. Dark only, like the landing page. The fonts are the files the app already ships in /app/. */
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url('../app/font-hanken-grotesk.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Libre Caslon Text';font-style:normal;font-weight:400;font-display:swap;src:url('../app/font-libre-caslon-text-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#06090f;--panel:#0B1018;--panel2:#111824;--line:rgba(244,241,233,.11);--line2:rgba(244,241,233,.2);--fg:#F4F1E9;--dim:rgba(244,241,233,.74);--faint:rgba(244,241,233,.54);--accent:#FFAA70;--accent2:#FF8E52;--on-accent:#1B0F06;--blue:#F4F1E9;
--serif:'Libre Caslon Text',Georgia,'Times New Roman',serif;--sans:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font:400 17px/1.6 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
main{max-width:720px;margin:0 auto;padding:32px 16px 64px}
h1{font-family:var(--serif);font-weight:400;letter-spacing:-.018em;font-size:clamp(30px,7vw,46px);line-height:1.12;margin:6px 0 10px;text-wrap:balance}
h2{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;font-size:24px;line-height:1.25;margin:34px 0 10px}
a{color:var(--fg);text-decoration-color:rgba(255,170,112,.55);text-decoration-thickness:1px;text-underline-offset:3px}a:hover{color:var(--accent)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.crumb,.when,.foot,.cta-sub{color:var(--dim)}
.crumb{font-size:14px;margin:0}.crumb a,.go a{display:inline-flex;align-items:center;min-height:44px}.crumb a{color:var(--dim)}
.go{margin:2px 0;line-height:1.3}.go a{padding:8px 0}
.foot{font-size:12.5px;margin-top:40px}.foot a,.cta-sub a,.when a{display:inline-block;padding:12px 0;margin:-12px 0}
.lines{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px}
.lines li{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.cta{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin-top:10px;padding:14px 26px;border-radius:999px;font:600 16px/1.2 var(--sans);text-align:center;text-decoration:none;color:var(--on-accent);background:linear-gradient(180deg,#FFC195 0%,var(--accent) 46%,var(--accent2) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 12px 32px -12px rgba(255,150,92,.34),0 0 0 1px rgba(255,170,112,.4)}.cta:hover{color:var(--on-accent)}
.cta-sub{font-size:14px;margin:8px 0 0}
.near{line-height:1.4}.near a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px}
.field,.code{width:100%;min-height:48px;padding:10px 12px;border-radius:10px;border:1px solid var(--line2);background:var(--panel);color:var(--fg);font:inherit}
.code{font:13px/1.5 ui-monospace,monospace}
button.cta{border:0;cursor:pointer}
.preview{width:100%;max-width:380px;height:480px;border:0;border-radius:14px}
.eyebrow{color:var(--accent);font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin:18px 0 0}
.answer{font-size:20px;line-height:1.5;margin:10px 0 18px}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:0 0 8px}
.facts div{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.facts dt{color:var(--dim);font-size:12.5px}.facts dd{margin:2px 0 0;font-weight:600}
.gtab{width:100%;border-collapse:collapse;font-size:14.5px;font-variant-numeric:tabular-nums}
.gtab th{color:var(--dim);font-weight:500;text-align:left;font-size:12.5px;padding:6px 6px;border-bottom:1px solid var(--line)}
.gtab td{padding:7px 6px;border-bottom:1px solid var(--line);white-space:nowrap}
.gtab tr.best td{color:var(--accent);font-weight:600}
.gtab .moon,.tnote{color:var(--dim)}.gtab td a{display:inline-flex;align-items:center;min-height:44px}
.tnote{font-size:13px;margin:8px 0 0}
.bar{display:inline-block;height:8px;border-radius:4px;background:var(--accent);margin-right:8px;vertical-align:middle;opacity:.85}
.w0{width:0}.w1{width:6px}.w2{width:12px}.w3{width:18px}.w4{width:24px}.w5{width:30px}.w6{width:36px}.w7{width:42px}.w8{width:48px}.w9{width:54px}.w10{width:60px}
.tips{padding-left:18px;margin:20px 0}.tips li{margin:6px 0}
@media (max-width:420px){.gtab th:nth-child(2),.gtab td:nth-child(2){display:none}}
.pick{width:100%;min-height:48px;background:var(--panel);border:1px solid var(--line2);color:var(--fg);border-radius:12px;padding:12px 14px;font:inherit;margin:6px 0 14px}
.subs{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.subs .cta{margin:0}.cta.alt{background:rgba(244,241,233,.035);color:var(--fg);border:1px solid var(--line2);box-shadow:none}.cta.alt:hover{color:var(--fg);border-color:var(--accent)}
.subs .cta-sub{flex-basis:100%}code{font-size:12.5px;word-break:break-all;color:var(--fg)}
[hidden]{display:none!important}
label:has(input[type=radio]),label:has(input[type=checkbox]){display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
input[type=radio],input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:var(--accent)}
input[type=range]{min-height:44px;accent-color:var(--accent)}
.bs .compass{display:grid;grid-template-columns:repeat(3,1fr);grid-template-areas:"nw n ne" "w c e" "sw s se";gap:8px;max-width:330px;margin:10px auto 14px}
.bs .compass button,.bs .heights button,.ghostbtn{font:inherit;font-weight:600;min-height:48px;background:var(--panel);border:1px solid var(--line2);color:var(--fg);border-radius:12px;padding:14px 0;cursor:pointer}
.bs .compass .dn{grid-area:n}.bs .compass .dne{grid-area:ne}.bs .compass .de{grid-area:e}.bs .compass .dse{grid-area:se}.bs .compass .ds{grid-area:s}.bs .compass .dsw{grid-area:sw}.bs .compass .dw{grid-area:w}.bs .compass .dnw{grid-area:nw}
.bs .heights{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.bs .heights button{padding:10px 6px;font-size:14px;min-height:48px}
.bs button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.bs button:disabled{opacity:.5;cursor:default}
.bs .aimbox{display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-top:10px}.ghostbtn{padding:12px 16px}
.answer-card{background:var(--panel);border:1px solid var(--accent);border-radius:16px;padding:16px 18px;margin:20px 0}.answer-card .big{font-family:var(--serif);font-size:24px;font-weight:400;line-height:1.25;margin:0 0 6px}.answer-card .dim{color:var(--dim);font-size:14px}
.bs .town{margin:0 0 6px}summary{cursor:pointer;min-height:44px;padding:10px 0;text-decoration:underline;text-decoration-color:rgba(255,170,112,.55);text-underline-offset:3px}
.tour .heights{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin:12px 0 4px}
.tour .stop{background:var(--panel);border:1px solid var(--accent);border-radius:16px;padding:16px 18px;margin:18px 0 12px}.tour .stop .eyebrow{margin:0}
.tour .big{font-family:var(--serif);font-size:26px;font-weight:400;line-height:1.2;margin:2px 0 6px}.tour .how{font-size:18px;line-height:1.5;margin:0 0 8px}.tour .dim{color:var(--dim);font-size:15px;margin:0}
.tour .nav{display:flex;gap:10px;margin-top:14px}.tour .nav button{flex:1;padding:12px}
.tour .note{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:14px 0}
.tour .chart{margin:8px 0}.tour .chart svg{width:100%;max-width:440px;display:block;margin:0 auto}.tour figcaption{color:var(--dim);font-size:13px;text-align:center}
.tour .dome{fill:var(--panel);stroke:var(--line2);stroke-width:2}.tour .ring{fill:none;stroke:var(--line2);stroke-dasharray:3 5}
.tour .card{fill:var(--dim);font-size:14px;font-weight:700;text-anchor:middle}.tour .star{fill:var(--fg)}.tour .planet{fill:var(--accent)}.tour .moon{fill:#fff8e0}
.tour .fig{stroke:rgba(244,241,233,.3);stroke-width:1}.tour .fig.on{stroke:var(--accent);stroke-width:1.6}
.tour .hop{stroke:var(--fg);stroke-width:1.5;stroke-dasharray:5 5}.tour .here{fill:none;stroke:var(--accent);stroke-width:2}
.tour .tag{fill:var(--accent);font-size:14px;font-weight:700;text-anchor:middle}
.tour .red{width:100%;margin:6px 0 4px}
.tour #all li{cursor:pointer;font-size:15px}.tour #all li.on{border-color:var(--accent)}
html.redlight{filter:sepia(1) saturate(6) hue-rotate(-50deg) brightness(.75)}
.hubs{list-style:none;padding:0;margin:18px 0 8px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.hubs li{margin:0}.hubs a{display:flex;align-items:center;min-height:56px;height:100%;padding:12px 16px;background:var(--panel);border:1px solid var(--line2);border-radius:14px;text-decoration:none;color:var(--fg);font-weight:500;line-height:1.35}
.hubs a:hover{border-color:var(--accent);background:var(--panel2)}
.ecl .sim{background:var(--panel);border:1px solid var(--line2);border-radius:16px;padding:14px 16px;margin:18px 0}.ecl .sim h2{margin:0 0 8px}
.ecl .sim svg{width:100%;display:block;border-radius:10px}.ecl .simtime{font-weight:600;margin:8px 0;font-variant-numeric:tabular-nums}
.ecl .simrow{display:flex;gap:10px;align-items:center}.ecl .simrow input{flex:1;min-width:0}.ecl .simrow button{min-width:112px}
.ecl .simfacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.ecl .simfacts button{font-size:14px;padding:10px 12px;font-variant-numeric:tabular-nums}
.ecl .simpick{display:block;color:var(--dim);font-size:14px}.ecl .simlab{fill:#fff;stroke:#000;stroke-width:3px;paint-order:stroke;font-size:13px;font-weight:700}
.ecl .safety{background:rgba(255,170,112,.09);border:1px solid var(--accent);border-radius:12px;padding:12px 14px;font-size:15.5px;margin:16px 0}
.ecl .emap{margin:16px 0}.ecl .emap img{width:100%;height:auto;display:block;border-radius:12px;border:1px solid var(--line2)}.ecl .emap figcaption{color:var(--dim);font-size:13.5px;margin-top:6px}
.ecl .etab td:first-child{white-space:normal}.ecl .near a{padding:0}
@media (max-width:420px){.ecl .etab th:nth-child(2),.ecl .etab td:nth-child(2){display:table-cell}}
.go-top{margin:6px 0 12px;font-weight:600}
.fist-note{margin:0 0 10px;font-size:.92rem;opacity:.8}
