/* JANET accepted navy / cyan tokens. Presentation-only mobile styling. */
:root{color-scheme:dark;--bg:#050b16;--elevated:#081527;--panel:#0a1a2e;--panel2:#0d2038;--border:rgba(96,168,255,.13);--strong:rgba(96,168,255,.28);--text:#eef3fb;--muted:#93a8c0;--accent:#4fc3e0;--known:#7fd9bd;--unknown:#f0b955;--none:#93a8c0;--unavailable:#ee7b84;font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a,button,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}a{color:var(--accent);text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;background:var(--panel);border:1px solid var(--strong);border-radius:8px;min-height:44px;padding:10px 14px}button:hover{background:var(--panel2)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.15;font-weight:600;letter-spacing:-.045em;text-wrap:balance}h2{font-size:15px;line-height:1.4;font-weight:600;letter-spacing:-.015em}h3{font-size:16px;line-height:1.45;font-weight:550;letter-spacing:-.02em}p{overflow-wrap:anywhere}small,.muted{color:var(--muted)}small{font-size:11px}.icon{width:20px;height:20px;flex:none;vertical-align:middle}.icon-button{display:inline-flex;justify-content:center;align-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--muted)}.icon-button:hover{color:var(--text)}.eyebrow{font-size:10px;line-height:1.4;letter-spacing:.15em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:10px}.mono,code{font:12px/1.6 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
/* Persistent product chrome: snapshot context stays visible, without an alert. */
.chrome{position:sticky;top:0;z-index:5;background:var(--bg);padding:env(safe-area-inset-top) 22px 0;border-bottom:1px solid var(--border)}.chrome-main{height:64px;display:flex;align-items:center;justify-content:space-between}.wordmark{display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:650;letter-spacing:.19em;color:var(--text);min-height:44px}.brand-mark{width:25px;height:27px;display:grid;place-items:center;font-size:20px;letter-spacing:0;font-weight:450;color:var(--accent);border-left:1px solid var(--accent);border-bottom:1px solid var(--accent);border-radius:0 0 0 7px}.chrome-actions{display:flex;align-items:center;gap:12px}.read-only{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.read-only .icon{width:11px;height:11px}.demo-banner{display:flex;align-items:center;gap:7px;min-height:30px;padding:0 0 10px;color:var(--muted);font-size:10px;line-height:1.4;letter-spacing:.01em}.demo-banner .icon{width:12px;height:12px;color:#9caeaa}.demo-banner small{font-size:10px;margin-left:auto;color:var(--muted)}
.workspace{max-width:680px;margin:0 auto;padding:27px 22px calc(100px + env(safe-area-inset-bottom));min-height:70vh;outline:none}.page-intro .lede{font-size:13px;color:var(--muted);margin-top:10px}.page-intro>.section-head{margin-bottom:9px}.page-intro .eyebrow{margin-bottom:10px}.page-intro>.section-head .eyebrow{margin:0}.title-line{display:flex;justify-content:space-between;align-items:center;gap:12px}.topline{margin:-15px 0 10px}.topline a{display:inline-flex;gap:8px;align-items:center;min-height:44px;color:var(--muted);font-size:12px}.topline .icon{width:16px;height:16px}.source{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:14px 0 25px;color:var(--muted)}.source p{font-size:10px;line-height:1.6}.source time{display:block;color:#b0bfd1;font-variant-numeric:tabular-nums}.source [data-freshness]{font-size:10px}.source .icon{width:16px;height:16px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-head small{font-size:10px}.section-head>a{display:inline-flex;align-items:center;min-height:44px}.lifecycle{font-size:10px;color:var(--muted)}.lifecycle:before{content:'·';margin-right:5px}.section{margin-top:27px}.section>h2{margin-bottom:12px}
/* Project register: typography and rules, rather than stacked cards. */
.project-list{border-top:1px solid var(--border)}.project-row{display:block;padding:19px 0 20px;border-bottom:1px solid var(--border);color:var(--text)}.project-row:hover .row-title h3{color:var(--accent)}.row-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.row-title h3{font-size:17px;line-height:1.3;font-weight:550;letter-spacing:-.025em}.row-title>.icon{width:17px;height:17px;color:var(--muted)}.project-row p{font-size:12px;line-height:1.5;color:var(--muted);margin:7px 25px 13px 0}.signals{display:flex;gap:20px;flex-wrap:wrap}.signals>span{display:flex;align-items:center;gap:6px}.signals small{font-size:10px}.chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;font:500 10px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.035em;white-space:normal;overflow-wrap:anywhere}.unknown{color:var(--unknown)}.known{color:var(--known)}.none{color:var(--none)}.unavailable{color:var(--unavailable)}.attention-link{display:flex;align-items:center;gap:12px;padding:22px 0;color:var(--text)}.attention-link>span:nth-child(2){flex:1}.attention-link strong{display:block;font-size:13px;font-weight:550}.attention-link small{display:block;font-size:11px;margin-top:3px}.attention-link>.icon{width:16px;color:var(--muted)}.attention-icon{color:var(--muted)}
/* One Mission subject, then two compact observation rows. */
.mission{border-left:2px solid var(--accent);padding:1px 0 1px 15px;margin:18px 0 23px}.mission-status{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.mission h3{font-size:19px;line-height:1.35;font-weight:500;max-width:28ch;letter-spacing:-.025em}.text-button{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:6px 0;border:0;background:transparent;color:var(--accent);font-size:12px}.text-button:hover{background:transparent;color:var(--text)}.text-button .icon{width:15px;height:15px}.mission .text-button{margin-top:3px}.project-signals{border-top:1px solid var(--border)}.projection-link{display:flex;align-items:center;gap:15px;padding:19px 0;border-bottom:1px solid var(--border);color:var(--text)}.projection-link>div{flex:1;min-width:0}.projection-link>.icon{color:var(--muted);width:16px;height:16px}.projection-link .section-head{margin-bottom:5px}.projection-link p{color:var(--muted);font-size:12px;line-height:1.5}.projection-link:hover h2{color:var(--accent)}.context-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:17px;max-width:54ch}.branches{margin-top:30px}.branches>h2{color:var(--muted);font-size:12px}.branch-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;color:var(--muted);font-size:12px}.branch-list small{display:flex;align-items:center;gap:8px;font-size:10px}.branch-list .icon{width:13px;height:13px}.branch-list a:hover{color:var(--text)}
.observation{padding:4px 0 19px;border-bottom:1px solid var(--border)}.observation>p{font-size:17px;line-height:1.6;font-weight:400;letter-spacing:-.015em;max-width:40ch}.observation .text-button{margin-top:12px}.projection{padding:21px 0;border-top:1px solid var(--border)}.projection p{font-size:12px;color:var(--muted)}.projection .section-head{align-items:flex-start}.projection .text-button{margin-top:8px}.full{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;border:0;border-bottom:1px solid var(--border);border-radius:0;padding:16px 0;background:transparent;font-size:14px}.full:hover{background:transparent;color:var(--accent)}.full>span{min-width:0;overflow-wrap:anywhere}.full small{display:block;font-size:11px;margin-top:6px;color:var(--muted)}.full>.icon{width:16px;color:var(--muted)}.empty{color:var(--muted);font-size:13px;padding:20px 0}.unavailable-state{padding:32px 0}.unavailable-state h2{font-size:19px;margin-top:14px}.unavailable-state>p{color:var(--muted);margin-top:10px;font-size:13px}.error{margin-top:24px;padding:20px 0;border-top:1px solid var(--border)}.error h2{color:var(--unavailable);margin-bottom:14px}.error p{color:var(--muted);margin:12px 0}.error button{margin-top:10px}.loading{padding:40px 0;color:var(--muted)}
/* Fixed thumb navigation, with a single cyan selection marker. */
.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:6;display:flex;background:var(--elevated);border-top:1px solid var(--border);padding:5px 12px max(8px,env(safe-area-inset-bottom))}.bottom-nav a{position:relative;flex:1;min-width:0;min-height:57px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:10px;line-height:1.2}.nav-icon{display:grid;place-items:center;width:42px;height:27px;border-radius:7px}.bottom-nav .icon{width:20px;height:20px}.bottom-nav a[aria-current=page]{color:var(--accent)}.bottom-nav a[aria-current=page] .nav-icon{background:#4fc3e012}.bottom-nav a[aria-current=page]:before{content:'';position:absolute;top:-6px;width:22px;height:2px;background:var(--accent);border-radius:2px}
/* Native dialogs retain focus containment and escape/back semantics. */
dialog{color:var(--text);background:var(--elevated);border:1px solid var(--strong);padding:0;max-width:100vw;max-height:100dvh}dialog::backdrop{background:#01050bbd}body:has(dialog[open]){overflow:hidden}#tree{margin:0 auto 0 0;width:min(360px,92vw);height:100dvh;border:0;border-right:1px solid var(--border)}#inspector{margin:auto 0 0 auto;width:min(600px,100vw);height:calc(100dvh - 18px);border-radius:18px 18px 0 0;border-bottom:0}.dialog-chrome{position:sticky;top:0;background:var(--elevated);z-index:2;border-bottom:1px solid var(--border);padding:env(safe-area-inset-top) 22px 0}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:21px 0 16px}.dialog-head h2{font-size:23px;font-weight:550;letter-spacing:-.035em}.dialog-head .eyebrow{font-size:9px;margin-bottom:5px}.dialog-head>div{min-width:0}.dialog-head .eyebrow{overflow-wrap:anywhere}.dialog-head button{flex:none}.sheet-handle{width:30px;height:3px;background:var(--strong);border-radius:3px;margin:9px auto -7px}.dialog-body{padding:20px 22px max(30px,env(safe-area-inset-bottom));font-size:14px}.dialog-body>p{line-height:1.7}.dialog-body a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 12px;color:var(--muted);font-size:13px;border-radius:6px}.dialog-body a:hover{color:var(--text);background:var(--panel)}.dialog-body .tree-root{justify-content:flex-start;font-size:13px;min-height:50px}.tree-root .icon{width:17px;height:17px}.dialog-body a[aria-current=page]{background:#4fc3e00e;color:var(--accent);box-shadow:inset 2px 0 var(--accent)}details{margin:22px 0 0}summary{min-height:44px;cursor:pointer;font-size:12px;font-weight:550;padding:10px 0;color:var(--text)}details a{margin-left:13px}.dialog-body details a small{font-size:10px}.tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:-4px 0 26px;border-bottom:1px solid var(--border)}.tabs button{min-height:44px;border:0;border-radius:0;font-size:11px;padding:8px 2px;background:transparent;color:var(--muted)}.tabs button[aria-pressed=true]{color:var(--accent);box-shadow:inset 0 -2px var(--accent)}.inspection-summary>p{font-size:17px;line-height:1.6;margin-top:16px;letter-spacing:-.015em}.notice{margin-top:17px;padding:0 0 0 13px;border-left:1px solid var(--strong)}.notice h3{font-size:13px;color:var(--text);margin-bottom:6px}.notice p{color:var(--muted);font-size:12px;line-height:1.7}dl{margin:24px 0}dt{font-size:11px;color:var(--muted);margin-top:20px}dd{font-size:14px;margin:4px 0 0;overflow-wrap:anywhere}.summary-facts{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px 10px;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0;margin:24px 0}.summary-facts dt,.summary-facts dd{margin:0;font-size:12px}.footer-note{margin-top:28px;font-size:11px;line-height:1.7;color:var(--muted)}pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:var(--bg);border:1px solid var(--border);border-radius:7px;font:12px/1.7 ui-monospace,Consolas,monospace}.skip{position:fixed;top:-100px;z-index:20;background:var(--panel);padding:12px}.skip:focus{top:0}
@media(min-width:760px){.chrome{padding-inline:max(26px,calc((100vw - 636px)/2))}.workspace{padding-top:34px}.bottom-nav{max-width:680px;margin:auto;border-inline:1px solid var(--border)}h1{font-size:36px}.project-row{padding-block:23px}#inspector{height:100dvh;border-radius:0}.sheet-handle{display:none}}
@media(max-width:350px){.chrome,.workspace,.dialog-chrome,.dialog-body{padding-left:18px;padding-right:18px}.signals{gap:12px}.signals small,.chip{font-size:9px}.read-only{font-size:9px}.chrome-actions{gap:4px}.demo-banner,.demo-banner small{font-size:9px}h1{font-size:27px}.mission h3{font-size:18px}}
@media(prefers-reduced-motion:no-preference){dialog[open]{animation:sheet-in .18s ease-out}#tree[open]{animation:drawer-in .18s ease-out}@keyframes sheet-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes drawer-in{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:translateX(0)}}}
