/* Spectra landing in the Village layout (spectra-home.js): only while the Spectra tab is active (body.sv-on).
   The Browse home keeps its own hero, cards and explore rows. */
.sv-title,.sv-wrap,.sv-side{display:none}
body.sv-on .sv-title{display:block}
body.sv-on .sv-wrap{display:flex}
body.sv-on #agent-nav .sv-side{display:flex}

/* hero: one plain question, no logo / eyebrow / Browse cards */
body.sv-on #home-view .hero .spectra-mark,
body.sv-on #home-view .hero .eyebrow,
body.sv-on #home-view .hero h1:not(.sv-title),
body.sv-on #home-view .suggestions,
body.sv-on #home-view .special-row,
body.sv-on #home-view .explore,
body.sv-on #home-view .under-composer,
body.sv-on #home-view > footer{display:none}
body.sv-on #home-view .hero{margin-top:clamp(40px,12vh,120px)}
.sv-title{margin:0 0 22px;font-size:30px;font-weight:600;letter-spacing:-.6px;line-height:1.2;text-align:center;color:var(--text)}

.sv-wrap{flex-direction:column;gap:22px;width:100%;max-width:760px;margin:26px auto 48px;padding:0 4px;text-align:left}
.sv-label{margin:0 0 10px;font-size:13px;font-weight:500;color:var(--secondary)}

/* "Some examples": three cards, icon above title, two-line description */
.sv-examples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sv-card{display:flex;flex-direction:column;gap:6px;min-height:118px;padding:14px 16px;border:1px solid var(--border);
  border-radius:12px;background:var(--surface);color:var(--text);text-align:left;font:inherit;cursor:pointer;text-decoration:none}
.sv-card:hover,.sv-card:focus-visible{background:var(--hover);border-color:var(--border)}
.sv-card .sv-ico{width:20px;height:20px;margin-bottom:6px;color:var(--secondary)}
.sv-card .sv-ico svg,.sv-step .sv-ico svg,.sv-side-card .sv-ico svg,.sv-get .sv-ico svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sv-card strong{font-size:14px;font-weight:550;line-height:1.35}
.sv-card span:last-child{font-size:13px;line-height:1.45;color:var(--secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* "Get to know Prism · N of 3" */
.sv-get{border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:6px 18px 8px}
.sv-get-head{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.sv-get-head .sv-ico{width:22px;height:22px;color:var(--secondary)}
.sv-get-head h2{margin:0;flex:1;font-size:16px;font-weight:600;color:var(--text)}
.sv-count{padding:3px 10px;border-radius:12px;background:var(--hover);font-size:12px;font-variant-numeric:tabular-nums;color:var(--secondary)}
.sv-step{border-bottom:1px solid var(--border)}
.sv-step:last-child{border-bottom:0}
.sv-step > button{display:flex;align-items:center;gap:14px;width:100%;padding:14px 0;border:0;background:none;color:var(--text);
  font:inherit;font-size:14px;font-weight:500;text-align:left;cursor:pointer}
.sv-check{flex:0 0 22px;height:22px;border:1.5px solid var(--border);border-radius:50%;display:grid;place-items:center}
.sv-step.done .sv-check{background:var(--accent);border-color:var(--accent)}
.sv-step.done .sv-check::after{content:'';width:9px;height:5px;border:2px solid #fff;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}
.sv-step > button > span:nth-child(2){flex:1}
.sv-step .sv-chev{color:var(--secondary);transition:transform .15s ease}
.sv-step.open .sv-chev{transform:rotate(90deg)}
.sv-step-body{display:none;padding:0 0 16px 36px;font-size:13px;line-height:1.55;color:var(--secondary)}
.sv-step.open .sv-step-body{display:block}
.sv-step-body p{margin:0 0 12px;max-width:520px}
.sv-btn{display:inline-flex;align-items:center;height:30px;padding:0 14px;border:1px solid var(--border);border-radius:8px;
  background:var(--page);color:var(--text);font:inherit;font-size:13px;font-weight:500;text-decoration:none;cursor:pointer}
.sv-btn:hover{background:var(--hover)}
.sv-step-body code{display:block;margin:0 0 12px;padding:8px 10px;border-radius:8px;background:var(--hover);color:var(--text);
  font:12px/1.5 'JetBrains Mono',monospace;white-space:pre;overflow-x:auto}

/* sidebar cards pinned under the Spectra nav (Village: Set up email / Enable desktop notifications) */
.sv-side{flex-direction:column;gap:8px;margin-top:18px}
.sv-side-card{display:flex;align-items:flex-start;gap:10px;width:100%;padding:12px;border:1px solid var(--border);border-radius:10px;
  background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;text-decoration:none}
.sv-side-card:hover{background:var(--hover)}
.sv-side-card .sv-ico{flex:0 0 18px;height:18px;margin-top:1px;color:var(--secondary)}
.sv-side-card span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:2px}
.sv-side-card strong{font-size:13px;font-weight:550}
.sv-side-card small{font-size:12px;line-height:1.4;color:var(--secondary)}
.sv-side-card .sv-chev{color:var(--secondary);align-self:center}
.sv-side-card[hidden]{display:none}

@media(max-width:640px){
  .sv-title{font-size:24px}
  .sv-examples{grid-template-columns:1fr}
  .sv-card{min-height:0}
  .sv-step-body{padding-left:0}
}

/* Clean pass (2026-10-21, user: "look at how clean the [Village] UI is, I want it to be the same"): neutral hairlines
   instead of navy fills and glows, a 24/500 title, a round send button, flat example cards. Token values mirror
   mon-clean.css (that file is lazy-loaded with the Monitors pages, so the landing defines its own copy). The tokens, home
   background and composer apply in both tabs (body.sv-shell, 2026-10-22); the rest is Spectra-tab content (body.sv-on). */
body.sv-shell{--vc-line:#e7e7ea;--vc-fill:#f4f4f5;--vc-card:#ffffff;--vc-muted:#68686f;--vc-strong:#18181b}
:root[data-theme="dark"] body.sv-shell{--vc-line:rgba(255,255,255,.08);--vc-fill:rgba(255,255,255,.055);--vc-card:rgba(255,255,255,.025);
  --vc-muted:#a1a1aa;--vc-strong:#fafafa}
:root[data-theme="dark"] body.sv-shell #home-view{background:none}
body.sv-on .sv-title{margin-bottom:20px;font-size:24px;font-weight:500;line-height:32px;letter-spacing:0}
body.sv-shell #home-view #composer{border:1px solid var(--vc-line);border-radius:12px;background:var(--vc-card);box-shadow:none;padding:14px 14px 10px}
body.sv-shell #home-view #composer:focus-within{outline:0;border-color:var(--vc-muted)}
body.sv-shell #home-view #prompt{font-size:14px;line-height:20px}
body.sv-shell #home-view .context-label{color:var(--vc-muted);font-size:12px}
body.sv-shell #home-view .send{width:28px;height:28px;border-radius:50%;background:var(--vc-strong);color:var(--page);font-size:15px}
body.sv-shell #home-view .send:hover{background:var(--vc-strong);opacity:.85}
/* Browse home: .sv-wrap (hidden there) sits between the composer and the cards, so style.css's #composer + .suggestions
   gap no longer matches. */
#home-view .sv-wrap + .suggestions{margin-top:28px}
body.sv-on .sv-wrap{gap:24px}
body.sv-on .sv-label{margin-bottom:10px;font-size:14px;font-weight:500;color:var(--text)}
body.sv-on .sv-card{min-height:0;gap:4px;padding:12px;border-color:var(--vc-line);border-radius:10px;background:transparent}
body.sv-on .sv-card:hover,body.sv-on .sv-card:focus-visible{background:var(--vc-fill);border-color:var(--vc-line)}
body.sv-on .sv-card .sv-ico{width:18px;height:18px;margin-bottom:8px;color:var(--vc-muted)}
body.sv-on .sv-card strong{font-size:14px;font-weight:500;line-height:20px}
body.sv-on .sv-card span:last-child{font-size:14px;line-height:20px;color:var(--vc-muted)}
body.sv-on .sv-get{border-color:var(--vc-line);border-radius:12px;background:transparent;padding:4px 18px 6px}
body.sv-on .sv-get-head{border-bottom-color:var(--vc-line)}
body.sv-on .sv-get-head h2{font-size:16px;font-weight:600}
body.sv-on .sv-count{background:var(--vc-fill);color:var(--vc-muted);border-radius:8px}
body.sv-on .sv-step{border-bottom-color:var(--vc-line)}
body.sv-on .sv-step > button{font-weight:500}
body.sv-on .sv-check{border-color:var(--vc-line)}
body.sv-on .sv-step.done .sv-check{background:var(--vc-strong);border-color:var(--vc-strong)}
body.sv-on .sv-step.done .sv-check::after{border-color:var(--page)}
body.sv-on .sv-step-body{color:var(--vc-muted)}
body.sv-on .sv-btn{height:32px;padding:0 12px;border-color:var(--vc-line);border-radius:8px;background:transparent}
body.sv-on .sv-btn:hover{background:var(--vc-fill)}
body.sv-on .sv-step-body code{background:var(--vc-fill)}
body.sv-on #agent-nav .sv-side-card{border-color:var(--vc-line);background:transparent}
body.sv-on #agent-nav .sv-side-card:hover{background:var(--sv-hover)}
body.sv-on #agent-nav .sv-side-card small{color:var(--vc-muted)}

/* ---- App shell (Spectra tab 2026-10-21; both tabs since 2026-10-22, user on the Spectra tab: "the colour of dark mode, the
   fonts etc how clean it is … apply same changes to the browse page"). body.sv-shell is set on <body> in index.html: a
   neutral shell behind the sidebar, main as an inset rounded pane with a hairline, neutral surfaces everywhere (opaque, so
   popovers and dialogs stay solid; --accent, --accent-text, --positive, --negative unchanged), 13px nav rows.
   Coordinated with the Strategy Lab sessions (their pages live in the Spectra tab; --bg added at their request). */
body.sv-shell{--sv-shell:#f5f5f6;--sv-pane:#ffffff;--sv-pane-line:#e4e4e7;--sv-active:#e8e8eb;--sv-hover:#eeeef0;
  --surface:#ffffff;--bg:#f7f7f8;--soft:#f7f7f8;--hover:#f4f4f5;--selected:#efeff1;--border:#e7e7ea;--secondary:#52525b;--muted:#68686f;--ring:#f4f4f5}
:root[data-theme="dark"] body.sv-shell{--sv-shell:#0a0a0a;--sv-pane:#171717;--sv-pane-line:#262626;--sv-active:rgba(255,255,255,.08);
  --sv-hover:rgba(255,255,255,.05);
  --surface:#1c1c1c;--bg:#1f1f1f;--soft:#1f1f1f;--hover:#242424;--selected:#2a2a2a;--border:#2b2b2b;
  --secondary:#a1a1aa;--muted:#8e8e96;--ring:#1f1f1f;--shade:#00000059}
body.sv-shell{background:var(--sv-shell)}
body.sv-shell aside{background:var(--sv-shell);border-right-color:transparent}
body.sv-shell #main{margin-top:8px;margin-right:8px;margin-bottom:8px;min-height:calc(100vh - 16px);border:1px solid var(--sv-pane-line);
  border-radius:12px;background:var(--sv-pane);--page:var(--sv-pane)}
body.sv-shell #main > header{height:48px;padding:0 16px;border-bottom-color:transparent;background:transparent}
body.sv-shell .theme-toggle{border-color:var(--border);background:transparent;color:var(--secondary)}
body.sv-shell .theme-toggle:hover{background:var(--hover);color:var(--text)}
body.sv-shell #main > header .icon-button{color:var(--secondary)}

/* sidebar: quiet search, neutral mode switch, 13px rows, grey active row, sentence-case labels, no rules */
body.sv-shell aside .quick{background:transparent;border-color:var(--vc-line);border-radius:8px;color:var(--vc-muted)}
body.sv-shell aside .mode{background:var(--sv-hover);border-radius:9px}
body.sv-shell aside .mode button{color:var(--vc-muted);border-color:transparent;box-shadow:none;outline:0}
body.sv-shell aside .mode .selected{background:var(--sv-pane);color:var(--text);border-color:transparent;box-shadow:0 1px 2px #0000001f}
:root[data-theme="dark"] body.sv-shell aside .mode .selected{background:#262626}
body.sv-shell aside .nav-item{min-height:32px;padding:6px 10px;border:0;border-radius:10px;color:var(--text);font-size:13px;line-height:20px;font-weight:400}
body.sv-shell aside .nav-item:hover:not(:disabled){background:var(--sv-hover);color:var(--text);border-color:transparent}
body.sv-shell aside .nav-item.active{background:var(--sv-active);color:var(--text);font-weight:500}
body.sv-shell aside .nav-label{margin:16px 10px 6px;color:var(--vc-muted);font:500 12px/16px Inter,Arial,sans-serif;letter-spacing:0;text-transform:lowercase}
body.sv-shell aside .nav-label::first-letter{text-transform:uppercase}
body.sv-shell aside .empty-recent{color:var(--vc-muted)}
body.sv-shell aside .account{border-top-color:transparent}
body.sv-shell #sidebar-edge-toggle{background:var(--sv-pane);border-color:var(--sv-pane-line);color:var(--vc-muted)}
@media(max-width:640px){
  body.sv-shell #main{margin:0;min-height:100vh;border:0;border-radius:0}
}
/* Browse pages show the right tool rail (side-rail.css): the pane stops short of it, and the rail sits on the shell. */
body.sv-shell .prail{background:var(--sv-shell);border-left-color:transparent}
@media(min-width:1100px){
  body.sv-shell.prail-on #main{margin-right:calc(var(--prail-w) + 8px)}
  body.sv-shell.prail-on.prail-push #main{margin-right:calc(var(--prail-w) + var(--prail-panel) + 8px)}
}

/* Browse sidebar in the shell look: sentence-case section headings (written that way in index.html; ::first-letter does not
   reach the text after the chevron), a muted "See all themes", and rows that keep every Browse destination above the
   account row: 30px, 32px on tall screens, style.css's 26px below 741px. */
body.sv-shell #browse-nav .nav-label{text-transform:none}
body.sv-shell #browse-nav .section-drag-handle:hover,body.sv-shell #customize-themes:hover,body.sv-shell #arrange-sidebar:hover{color:var(--text)}
body.sv-shell #browse-nav .nav-item{min-height:30px;padding-top:5px;padding-bottom:5px}
body.sv-shell #browse-nav .nav-item.more{color:var(--vc-muted)}
body.sv-shell #browse-nav .nav-item.more:hover{color:var(--text)}
@media(min-height:851px){body.sv-shell #browse-nav .nav-item{min-height:32px;padding-top:6px;padding-bottom:6px}}
@media(max-height:740px){body.sv-shell #browse-nav .nav-item{min-height:26px;padding-top:3px;padding-bottom:3px}}
/* style.css narrows the sidebar to 218px up to 1000px wide: 12px rows keep "Payments & consumption" on one line. */
@media(max-width:1000px){body.sv-shell aside .nav-item{font-size:12px}}

/* Update prompt (update-check.js): a quiet pill at the bottom of the screen when a newer publish of Prism is live. */
#update-prompt{position:fixed;z-index:60;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;
  padding:6px 6px 6px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);
  box-shadow:0 6px 24px var(--shade);font:13px/20px Inter,Arial,sans-serif;white-space:nowrap}
#update-prompt .update-reload{height:28px;padding:0 12px;border-radius:8px;background:var(--vc-strong,var(--text));color:var(--page);font-weight:500}
#update-prompt .update-reload:hover{opacity:.85}
#update-prompt .update-close{width:28px;height:28px;border-radius:8px;color:var(--secondary);font-size:18px;line-height:1}
#update-prompt .update-close:hover{background:var(--hover);color:var(--text)}

/* UI fix pass (2026-10-22, QA-33): the BETA tags follow the CONVENTIONS type scale (labels 11px, nothing below 10px). */
body.sv-shell #home-view .tiny-tag{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-color:var(--vc-line);border-radius:5px;
  color:var(--vc-muted);font:500 11px/1 Inter,Arial,sans-serif;letter-spacing:.2px}
body.sv-shell aside .brand .beta{padding:2px 5px;font-size:10px;letter-spacing:.4px;line-height:1.2}

/* Your monitors + Trading (2026-10-30): Monitors and Trading left the sidebar; their front doors sit under the box */
.sv-work{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px}
.sv-panel{display:flex;flex-direction:column;gap:10px;min-width:0;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}
.sv-panel-head{display:flex;align-items:center;gap:8px}
.sv-panel-head .sv-ico{width:18px;height:18px;color:var(--secondary)}
.sv-panel-head .sv-ico svg,.sv-panel .sv-ico svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sv-panel-head h2{margin:0;font-size:14px;font-weight:600;color:var(--text)}
.sv-panel-head .sv-count:empty{display:none}
.sv-panel-link{margin-left:auto;color:var(--secondary);font-size:12px;text-decoration:none;white-space:nowrap}
.sv-panel-link:hover{color:var(--text)}
.sv-panel-text,.sv-panel-empty p{margin:0;color:var(--secondary);font-size:13px;line-height:1.5}
.sv-panel-note{margin:0;color:var(--text);font-size:12px}
.sv-panel-note[hidden]{display:none}
.sv-panel-empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.sv-panel-empty[hidden],.sv-mon-list[hidden],.sv-panel-link[hidden]{display:none}
.sv-panel-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.sv-panel .sv-btn{margin-top:0}
.sv-btn-quiet{background:none!important;color:var(--text)!important;border:1px solid var(--border)!important}
.sv-mon-list{display:grid;gap:2px;margin:0;padding:0;list-style:none}
.sv-mon{display:flex;align-items:center;gap:8px;padding:8px 8px;margin:0 -8px;border-radius:8px;color:var(--text);text-decoration:none}
.sv-mon:hover,.sv-mon:focus-visible{background:var(--hover)}
.sv-mon-main{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.sv-mon-main strong{overflow:hidden;font-size:13px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}
.sv-mon-main small{overflow:hidden;color:var(--secondary);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.sv-pill{flex:none;padding:2px 8px;border-radius:10px;background:var(--hover);color:var(--secondary);font-size:11px;font-weight:500;white-space:nowrap}
.sv-pill-ok{color:var(--vc-good,#16a34a)}
.sv-pill-warn{color:var(--vc-warn,#b45309)}
.sv-pill-bad{color:var(--vc-bad,#dc2626)}
.sv-unread{flex:none;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent,#2563eb);color:#fff;font-size:11px;line-height:18px;text-align:center}
.sv-mon-more{display:block;padding:6px 0 0;color:var(--secondary);font-size:12px;text-decoration:none}
.sv-mon-more:hover{color:var(--text)}
/* six examples: three across, two rows */
.sv-examples .sv-card{min-height:112px}
@media (max-width:760px){
  .sv-work{grid-template-columns:1fr}
  .sv-examples{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:480px){.sv-examples{grid-template-columns:1fr}}
/* rows may shrink below their text: long lines end in "…" and the status stays in view (phones) */
.sv-mon-list>li{min-width:0}
.sv-mon{min-width:0}
/* side by side only when both boxes have room (about 270px each); otherwise one above the other */
.sv-work{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}
.sv-panel-head h2{white-space:nowrap}

/* 6 Nov (user: "the sidebar isn't consistent between Browse and Spectra — highlighting, colour, font"). The Spectra
   sidebar uses the Browse rows exactly: 13px rows, 32px tall, one grey fill for the page you are on. New chat is
   highlighted only on the empty Spectra page (home-spectra.js), the open chat's fill runs the full row width with its
   "⋯" inside it, and the email / notification prompts are plain icon rows like Browse's, not bordered cards. */
body.sv-shell #recents .hs-recent .nav-item{display:block;min-height:32px;padding:6px 30px 6px 10px;font-size:13px;line-height:20px;font-weight:400}
body.sv-shell #recents .hs-recent .nav-item.active{font-weight:500}
body.sv-shell #recents .hs-recent-more{position:absolute;right:4px;top:50%;transform:translateY(-50%);margin:0}
body.sv-on #agent-nav .sv-side{gap:0;margin-top:14px}
body.sv-on #agent-nav .sv-side-card{align-items:center;gap:10px;min-height:32px;padding:6px 10px;border:0;border-radius:10px;background:none;color:var(--text);text-align:left}
body.sv-on #agent-nav .sv-side-card:hover{background:var(--sv-hover)}
body.sv-on #agent-nav .sv-side-card .sv-ico{flex:0 0 17px;height:17px;margin:0;color:var(--text)}
body.sv-on #agent-nav .sv-side-card strong{font-size:13px;line-height:20px;font-weight:400}
body.sv-on #agent-nav .sv-side-card small,body.sv-on #agent-nav .sv-side-card .sv-chev{display:none}

/* ============================================================== landing v2 (2026-11-06)
   User: "modern and classy, take inspiration from the main homepage and the examples" (Autumn: Get started + Connect
   agent + Suggested on the box; Wix: soft glow, depth). One screen at 1440x900 and 1280x800; phones stack. Motion is
   small (entrance, ring, orbit, hover lift) and off under reduced motion. Old .sv-wrap / .sv-work rules are unused. */
body.sv-on{--svx-card:var(--surface);--svx-inset:#f7f8fa;--svx-line:var(--vc-line,#e7e7ea);--svx-muted:var(--vc-muted,#71717a);--svx-blue:#004dc0;--svx-tint:#eaf2fd;
  --svx-shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.05);--svx-lift:0 2px 4px rgba(16,24,40,.04),0 14px 30px -10px rgba(16,24,40,.16);--svx-ease:cubic-bezier(.2,.8,.2,1)}
:root[data-theme="dark"] body.sv-on{--svx-card:#1b1b1d;--svx-inset:#141416;--svx-blue:#8fc0ff;--svx-tint:#16264a;--svx-shadow:0 1px 2px rgba(0,0,0,.45);--svx-lift:0 2px 6px rgba(0,0,0,.45),0 18px 36px -14px rgba(0,0,0,.7)}
body.sv-on #home-view .sv-wrap{display:none}
body.sv-on #home-view{position:relative;isolation:isolate;min-height:0;height:calc(100vh - 66px);overflow:hidden}
body.sv-on #home-view::before{content:'';position:absolute;z-index:-1;left:50%;top:-4%;width:min(1000px,92%);height:420px;transform:translateX(-50%);
  background:radial-gradient(closest-side at 36% 50%,rgba(0,77,192,.09),transparent),radial-gradient(closest-side at 66% 44%,rgba(120,90,220,.08),transparent);filter:blur(34px);pointer-events:none}
:root[data-theme="dark"] body.sv-on #home-view::before{background:radial-gradient(closest-side at 36% 50%,rgba(64,140,255,.15),transparent),radial-gradient(closest-side at 66% 44%,rgba(150,110,255,.11),transparent)}
body.sv-on #home-view .hero{width:min(1000px,calc(100% - 64px));margin:auto;padding:0;text-align:left}

/* greeting */
body.sv-on .sv-title{display:flex;align-items:center;gap:.32em;margin:0 0 22px;font-size:clamp(28px,2.6vw,38px);font-weight:500;letter-spacing:-.025em;line-height:1.15;color:var(--text);text-align:left}
.svx-mark{display:block;flex:none;width:1.14em;height:1em;overflow:hidden}
.svx-mark img{display:block;height:100%;width:auto;max-width:none}

/* cards */
.svx-top,.svx-sug{display:none}
body.sv-on .svx-top{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:14px}
body.sv-on .svx-sug{display:block}
.svx-card{position:relative;min-width:0;padding:6px;border:1px solid var(--svx-line);border-radius:16px;background:var(--svx-card);box-shadow:var(--svx-shadow);color:var(--text);text-decoration:none}
.svx-head{display:flex;align-items:center;gap:10px;padding:10px 12px 10px}
.svx-head h2{margin:0;flex:1;font-size:15px;font-weight:550;letter-spacing:-.01em;color:var(--text)}
.svx-count{font-size:13px;color:var(--secondary);font-variant-numeric:tabular-nums;white-space:nowrap}
.svx-ring{width:20px;height:20px;flex:none}
.svx-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.svx-ring circle{fill:none;stroke:var(--svx-line);stroke-width:2.6}
.svx-ring .svx-ring-fill{stroke:var(--svx-blue);stroke-linecap:round;stroke-dasharray:calc(var(--svx-p,0)*1) 100;transition:stroke-dasharray 1s var(--svx-ease)}
.svx-card .sv-ico svg,.svx-sug .sv-ico svg,.svx-go svg,.svx-spark svg,.svx-ex-go svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Get started: list + orbit inside an inset well */
.svx-get-body{display:grid;grid-template-columns:minmax(0,1fr) 168px;align-items:center;gap:8px;min-height:212px;padding:14px 16px 16px;border-radius:12px;background:var(--svx-inset)}
.svx-steps{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.svx-step{display:flex;align-items:center;gap:12px;width:100%;padding:7px 8px;border:0;border-radius:9px;background:none;color:var(--text);font:400 14.5px/1.3 Inter,Arial,sans-serif;text-align:left;cursor:pointer;transition:background .2s}
.svx-step:hover{background:var(--hover)}
.svx-num{display:grid;place-items:center;width:22px;height:22px;flex:none;border:1px solid var(--svx-line);border-radius:50%;font:500 11.5px/1 Inter,Arial,sans-serif;color:var(--secondary);background:var(--svx-card);transition:background .3s,border-color .3s}
li.done .svx-num{border-color:transparent;background:var(--svx-blue);color:transparent;position:relative}
li.done .svx-num::after{content:'';position:absolute;left:8px;top:4.5px;width:4px;height:9px;border:solid #fff;border-width:0 1.8px 1.8px 0;transform:rotate(45deg)}
:root[data-theme="dark"] li.done .svx-num::after{border-color:#0b1220}
li.done .svx-step-t{color:var(--svx-muted);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--svx-muted) 55%,transparent)}
li.next .svx-num{border-color:var(--svx-blue);color:var(--svx-blue)}
.svx-primary{display:inline-flex;align-items:center;gap:8px;height:36px;margin:14px 0 0 8px;padding:0 16px 0 12px;border:1px solid var(--svx-line);border-radius:10px;
  background:var(--text);color:var(--page,#fff);font:500 13.5px/1 Inter,Arial,sans-serif;cursor:pointer;box-shadow:var(--svx-shadow);transition:transform .15s var(--svx-ease),box-shadow .2s}
.svx-primary .sv-ico{width:15px;height:15px}
.svx-primary:hover{transform:translateY(-1px);box-shadow:var(--svx-lift)}
.svx-primary:active{transform:scale(.97)}
.svx-primary[hidden]{display:none}
.svx-orbit{position:relative;width:168px;height:168px;justify-self:center}
.svx-orbit i{position:absolute;inset:0;margin:auto;border:1px solid var(--svx-line);border-radius:50%}
.svx-o1{width:168px;height:168px}.svx-o2{width:118px;height:118px}.svx-o3{width:68px;height:68px}
.svx-you,.svx-orbit-mark{position:absolute;display:grid;place-items:center;border-radius:50%}
.svx-you{left:38px;top:34px;width:38px;height:38px;background:#7f9cad;color:#fff;font:500 16px/1 Inter,Arial,sans-serif;box-shadow:0 0 0 4px var(--svx-inset);animation:svx-float 6s ease-in-out infinite}
.svx-orbit-mark{right:30px;bottom:34px;width:44px;height:44px;border-radius:12px;background:var(--svx-card);box-shadow:var(--svx-lift);overflow:hidden;animation:svx-float 6s ease-in-out -3s infinite}
.svx-orbit-mark img{height:26px;width:auto;max-width:none;margin-left:13px;justify-self:start}
@keyframes svx-float{50%{transform:translateY(-5px)}}

/* side: monitors + connect Claude */
.svx-side{display:grid;grid-template-rows:auto 1fr;gap:14px;min-width:0}
.svx-mon{display:block;transition:transform .2s var(--svx-ease),box-shadow .2s}
.svx-mon:hover{transform:translateY(-2px);box-shadow:var(--svx-lift)}
.svx-go{width:16px;height:16px;color:var(--svx-muted);transition:transform .2s var(--svx-ease),color .2s}
.svx-mon:hover .svx-go{transform:translate(2px,-2px);color:var(--svx-blue)}
.svx-mon-list{list-style:none;margin:0;padding:0 12px 8px;display:grid;gap:6px}
.svx-mon-list li{display:flex;align-items:center;gap:9px;min-width:0;font-size:13px;color:var(--secondary)}
.svx-mon-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}
.svx-mon-empty{color:var(--secondary)}
.svx-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#12834b}
.svx-dot-warn{background:#c98a1a}.svx-dot-bad{background:#c33b49}.svx-dot-off{background:var(--svx-muted)}
.svx-badge{margin-left:auto;padding:1px 7px;border-radius:9px;background:var(--svx-tint);color:var(--svx-blue);font:600 11px/16px Inter,Arial,sans-serif}
.svx-mcp{display:flex;flex-direction:column}
.svx-mcp.svx-flash{animation:svx-flash .9s var(--svx-ease)}
@keyframes svx-flash{30%{box-shadow:0 0 0 4px color-mix(in srgb,var(--svx-blue) 18%,transparent),var(--svx-shadow)}}
.svx-spark{width:17px;height:17px;color:#d97757}
.svx-code-wrap{position:relative;flex:1;min-height:96px;border-radius:12px;background:var(--svx-inset);overflow:hidden}
.svx-code{margin:0;padding:12px 14px;font:12px/1.6 'JetBrains Mono',ui-monospace,monospace;color:var(--secondary);white-space:pre-wrap;word-break:break-all;
  -webkit-mask-image:linear-gradient(to bottom,#000 35%,transparent 96%);mask-image:linear-gradient(to bottom,#000 35%,transparent 96%)}
.svx-copy{position:absolute;left:50%;top:58%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border:1px solid var(--svx-line);border-radius:10px;
  background:var(--svx-card);color:var(--text);font:500 13px/1 Inter,Arial,sans-serif;box-shadow:var(--svx-lift);cursor:pointer;transition:transform .15s var(--svx-ease)}
.svx-copy .sv-ico{width:15px;height:15px}
.svx-copy:hover{transform:translate(-50%,calc(-50% - 1px))}
.svx-copy:active{transform:translate(-50%,-50%) scale(.96)}
.svx-copy.ok{color:#12834b}
.svx-note{margin:8px 12px 6px;font-size:12px;color:var(--svx-muted)}

/* Suggested for you, sitting on the Spectra box */
.svx-sug{margin-top:22px;padding:6px 6px 0;border:1px solid var(--svx-line);border-bottom:0;border-radius:16px 16px 0 0;background:var(--svx-card)}
.svx-icon-btn{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:none;color:var(--svx-muted);cursor:pointer;transition:background .2s,color .2s}
.svx-icon-btn:hover{background:var(--hover);color:var(--text)}
.svx-icon-btn .sv-ico{width:16px;height:16px}
.svx-icon-btn.spin .sv-ico{animation:svx-spin .5s var(--svx-ease)}
@keyframes svx-spin{to{transform:rotate(360deg)}}
.svx-sug-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 6px 10px}
.svx-sug.folded .svx-sug-row{display:none}
.svx-ex{position:relative;display:block;min-height:62px;padding:11px 34px 11px 14px;border-radius:11px;background:var(--svx-inset);color:var(--text);font-size:13.5px;line-height:1.45;text-decoration:none;
  animation:svx-in .35s var(--svx-ease) both;transition:background .2s,transform .2s var(--svx-ease)}
.svx-ex span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.svx-ex:hover{background:var(--hover);transform:translateY(-1px)}
.svx-ex-go{position:absolute;right:12px;top:12px;width:14px;height:14px;color:var(--svx-muted);transition:transform .2s var(--svx-ease),color .2s}
.svx-ex:hover .svx-ex-go{transform:translate(-2px,-2px);color:var(--svx-blue)}
@keyframes svx-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
body.sv-on #home-view #composer{margin:0;border:1px solid var(--svx-line);border-radius:0 0 16px 16px;background:var(--svx-card);box-shadow:var(--svx-lift);padding:14px 16px 12px}
body.sv-on #home-view .svx-sug.folded + #composer,body.sv-on #home-view #composer:only-child{border-radius:16px}
body.sv-on #home-view .svx-sug + #composer{border-top-color:color-mix(in srgb,var(--svx-line) 60%,transparent)}
body.sv-on #home-view #composer:focus-within{border-color:color-mix(in srgb,var(--svx-blue) 40%,var(--svx-line));box-shadow:0 0 0 4px color-mix(in srgb,var(--svx-blue) 10%,transparent),var(--svx-lift)}
body.sv-on #home-view #prompt{min-height:48px;font-size:15px;line-height:22px}

/* entrance */
body.sv-on #home-view:not([hidden]) :is(.sv-title,.svx-get,.svx-mon,.svx-mcp,.svx-sug,#composer){animation:svx-rise .5s var(--svx-ease) both}
body.sv-on #home-view .svx-get{animation-delay:.06s}body.sv-on #home-view .svx-mon{animation-delay:.12s}body.sv-on #home-view .svx-mcp{animation-delay:.18s}
body.sv-on #home-view .svx-sug{animation-delay:.24s}body.sv-on #home-view #composer{animation-delay:.28s}
@keyframes svx-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body.sv-on #home-view *,body.sv-on #home-view *::before,body.sv-on #home-view *::after{animation:none!important;transition:none!important}}

@media (max-height:820px){body.sv-on .sv-title{margin-bottom:14px}.svx-get-body{min-height:0;padding:10px 12px 12px}.svx-orbit{transform:scale(.8);margin:-16px}.svx-sug{margin-top:14px}.svx-ex{min-height:0}}
@media (max-width:1000px){body.sv-on #home-view{height:auto;overflow:visible;min-height:calc(100vh - 66px)}body.sv-on #home-view .hero{padding:28px 0}body.sv-on .svx-top{grid-template-columns:1fr}.svx-side{grid-template-columns:1fr 1fr;grid-template-rows:none}}
@media (max-width:640px){body.sv-on #home-view .hero{width:calc(100% - 32px)}.svx-get-body{grid-template-columns:1fr}.svx-orbit{display:none}.svx-side{grid-template-columns:1fr}.svx-sug-row{grid-template-columns:1fr}body.sv-on .sv-title{font-size:26px}}
.svx-get{display:flex;flex-direction:column}.svx-get-body{flex:1}
.svx-orbit-crop{display:block;width:30px;height:26px;overflow:hidden}
.svx-orbit-crop img{display:block;height:100%;width:auto;max-width:none}
.svx-orbit-mark img{margin:0}

/* ---------------------------------------------------------------- landing v3 (6 Nov, user: v2 "looks identical to
   Autumn's"). Plain page, no glow; a short centred line, the Spectra box as one full card, then Ask · Watch · Test in
   three columns separated by rules (no card grid), then one quiet setup strip. Neutral greys; blue only for focus. */
body.sv-on #home-view::before{content:none}
body.sv-on #home-view .hero{width:min(960px,calc(100% - 64px));text-align:center}
body.sv-on .svn-title{display:block;margin:0 0 20px;font-size:clamp(26px,2.3vw,34px);font-weight:600;letter-spacing:-.03em;text-align:center}
body.sv-on #home-view #composer{border-radius:14px;text-align:left}
.svn-cols,.svn-strip{display:none}
body.sv-on .svn-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:30px;text-align:left;border-top:1px solid var(--svx-line)}
.svn-col{min-width:0;padding:18px 22px 4px;animation:svx-rise .45s var(--svx-ease) both}
.svn-col+.svn-col{border-left:1px solid var(--svx-line)}
.svn-col:first-child{padding-left:4px}.svn-col:last-child{padding-right:4px}
.svn-col-head{display:flex;align-items:center;gap:8px}
.svn-col-head .sv-ico{width:17px;height:17px;color:var(--text)}
.svn-col-head .sv-ico svg,.svn-go svg,.svn-mcp .sv-ico svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.svn-col-head h2{margin:0;flex:1;font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--text)}
.svn-col-link{font-size:12.5px;color:var(--secondary);text-decoration:none;white-space:nowrap}
.svn-col-link:hover{color:var(--text)}
.svn-col-line{margin:4px 0 10px;font-size:12.5px;line-height:1.45;color:var(--secondary)}
.svn-list{list-style:none;margin:0 -8px;padding:0}
.svn-ex{display:flex;align-items:flex-start;gap:8px;padding:8px;border-radius:8px;color:var(--text);font-size:13.5px;line-height:1.45;text-decoration:none;transition:background .15s}
.svn-ex>span:first-child{flex:1;min-width:0}
.svn-ex:hover{background:var(--hover)}
.svn-go{flex:none;width:13px;height:13px;margin-top:3px;color:var(--muted);opacity:0;transition:opacity .15s,transform .15s}
.svn-ex:hover .svn-go,.svn-ex:focus-visible .svn-go{opacity:1;transform:translate(1px,-1px)}
body.sv-on .svn-strip{display:flex;align-items:center;gap:14px;margin-top:22px;padding-top:14px;border-top:1px solid var(--svx-line);text-align:left;flex-wrap:wrap}
.svn-strip-lead{display:flex;align-items:baseline;gap:6px;font-size:13px}
.svn-strip-lead strong{font-weight:600;color:var(--text)}
.svn-count{color:var(--secondary);font-variant-numeric:tabular-nums}
.svn-steps{list-style:none;display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;flex:1}
.svn-step{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 10px 0 8px;border:0;border-radius:8px;background:none;color:var(--secondary);font:400 13px/1 Inter,Arial,sans-serif;cursor:pointer}
.svn-step:hover{background:var(--hover);color:var(--text)}
.svn-tick{position:relative;width:14px;height:14px;flex:none;border:1.5px dashed var(--muted);border-radius:50%}
.svn-steps li.next .svn-step{color:var(--text);font-weight:500}
.svn-steps li.next .svn-tick{border-style:solid;border-color:var(--text)}
.svn-steps li.done .svn-tick{border:0;background:var(--text)}
.svn-steps li.done .svn-tick::after{content:'';position:absolute;left:5px;top:2.5px;width:3px;height:7px;border:solid var(--page,#fff);border-width:0 1.6px 1.6px 0;transform:rotate(45deg)}
.svn-steps li.done .svn-step{color:var(--muted)}
.svn-strip.svn-done .svn-steps{display:none}
.svn-mcp{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px;border:1px solid var(--svx-line);border-radius:8px;background:var(--surface);color:var(--text);font:500 12.5px/1 Inter,Arial,sans-serif;cursor:pointer}
.svn-mcp .sv-ico{width:14px;height:14px}
.svn-mcp:hover{background:var(--hover)}
.svn-mcp.ok{color:var(--secondary)}
body.sv-on #home-view:not([hidden]) .svn-cols .svn-col:nth-child(2){animation-delay:.06s}
body.sv-on #home-view:not([hidden]) .svn-cols .svn-col:nth-child(3){animation-delay:.12s}
@media (max-width:900px){body.sv-on .svn-cols{grid-template-columns:1fr}.svn-col,.svn-col:first-child,.svn-col:last-child{padding:14px 4px 4px}.svn-col+.svn-col{border-left:0;border-top:1px solid var(--svx-line)}}

/* ---------------------------------------------------------------- landing v3.1 (6 Nov, user: "love the content, but it
   does not give the same vibe as Prism or the main homepage"). Same look as Home: the Prism mark beside the heading,
   Home's soft glow, Home's one-line box, a quiet grey section label, and the three columns as Home-style cards (tinted
   icon tile, lift on hover). (Copper borders tried and dropped, user 6 Nov.) */
body.sv-on #home-view::before{content:'';position:absolute;z-index:-1;left:50%;top:2%;width:min(980px,90%);height:360px;transform:translateX(-50%);
  background:radial-gradient(closest-side at 38% 50%,var(--hm-glow-a),transparent),radial-gradient(closest-side at 64% 46%,var(--hm-glow-b),transparent);filter:blur(30px);pointer-events:none}
body.sv-on #home-view .hero{width:min(1000px,calc(100% - 70px))}
body.sv-on .svn-title{display:flex;align-items:center;justify-content:center;gap:.32em;margin:0 0 22px;font-size:clamp(30px,2.8vw,40px);font-weight:500;letter-spacing:-.025em;line-height:1.15}
body.sv-on #home-view #composer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:min(720px,100%);margin:0 auto;
  padding:10px 10px 10px 18px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--hm-lift)}
body.sv-on #home-view #composer:focus-within{border-color:color-mix(in srgb,var(--tech-blue,#004dc0) 45%,var(--border));box-shadow:0 0 0 4px color-mix(in srgb,var(--tech-blue,#004dc0) 12%,transparent),var(--hm-lift)}
body.sv-on #home-view #prompt{height:26px;min-height:0;padding:0;font-size:15px;line-height:26px;overflow:hidden;white-space:nowrap}
body.sv-on #home-view #composer .composer-bottom{margin:0}
body.sv-on #home-view #composer .send{width:34px;height:34px;border-radius:50%}
.svn-try{display:none}
body.sv-on .svn-try{display:block;margin-top:40px;text-align:left}
.svn-try-h{margin:0 0 12px;font-size:14px;font-weight:550;color:var(--secondary);letter-spacing:0}
body.sv-on .svn-cols{gap:12px;margin-top:0;border-top:0}
body.sv-on .svn-col,body.sv-on .svn-col:first-child,body.sv-on .svn-col:last-child{padding:16px 18px 10px;border:1px solid var(--border);border-radius:12px;background:var(--surface);
  box-shadow:var(--hm-shadow);transition:transform .25s var(--hm-ease),box-shadow .25s,border-color .2s}
body.sv-on .svn-col+.svn-col{border-left:1px solid var(--border)}
body.sv-on .svn-col:hover{transform:translateY(-2px);box-shadow:var(--hm-lift);border-color:color-mix(in srgb,var(--text) 14%,var(--border))}
body.sv-on .svn-col-head{gap:10px;margin-bottom:2px}
body.sv-on .svn-col-head .sv-ico{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--hm-tint);color:var(--hm-tint-ink);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--hm-tint-ink) 10%,transparent)}
body.sv-on .svn-col-head .sv-ico svg{width:18px;height:18px}
body.sv-on .svn-col-head h2{font-size:14px;font-weight:550}
body.sv-on .svn-col-line{margin:8px 0 6px;font-size:13px}
body.sv-on .svn-ex{font-size:13px;line-height:1.45;padding:6px 8px}
body.sv-on .svn-strip{margin-top:16px;padding-top:12px}
@media (max-height:820px){body.sv-on .svn-title{margin-bottom:16px}body.sv-on .svn-try{margin-top:26px}body.sv-on .svn-col,body.sv-on .svn-col:first-child,body.sv-on .svn-col:last-child{padding:12px 14px 6px}body.sv-on .svn-ex{padding:4px 8px}}
@media (max-width:900px){body.sv-on .svn-col+.svn-col{border-top:1px solid var(--border)}}
/* 6 Nov (user, after a palette preview: "i like the coloured boxes", "dont add any orange yet"): the column icon tiles are
   solid navy with a cream icon, as on Home's Explore cards. */
body.sv-on .svn-col-head .sv-ico{background:#0F2A4A;color:#F5EFEB;box-shadow:none}
:root[data-theme="dark"] body.sv-on .svn-col-head .sv-ico{background:#1B3F6B;color:#F5EFEB}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) body.sv-on .svn-col-head .sv-ico{background:#1B3F6B;color:#F5EFEB}}

/* Less text (user, 6 Nov): example labels sit on one line each. */
body.sv-on .svn-ex>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 6 Nov (user: the New chat / Home | Spectra colours "look weird" on the cream sidebar). While the cream page shows
   (home-markets.css, light mode only), the sidebar's greys are warmed to sit on #F5EFEB: selected row, hover, the
   Home | Spectra switch and the search box. Other pages keep the neutral greys. */
html:not([data-theme=dark]) body.sv-shell:has(#home-view:not([hidden])){--sv-active:#EAE1D8;--sv-hover:#EFE7DF;--vc-line:#E3D9CF;--vc-fill:#EFE7DF}
html:not([data-theme=dark]) body.sv-shell:has(#home-view:not([hidden])) aside .mode{background:#EAE1D8}
html:not([data-theme=dark]) body.sv-shell:has(#home-view:not([hidden])) aside .mode .selected{background:#FAF8F5;box-shadow:0 1px 2px rgba(60,40,20,.10)}
html:not([data-theme=dark]) body.sv-shell:has(#home-view:not([hidden])) aside .quick{background:#FAF8F5;border-color:#E3D9CF}

/* Dark mode: column icon tiles orange #FF7F50 with #F5EFEB glyphs (user, 6 Nov: "use orange as the background"),
   the same as Home's Explore cards (home-markets.css). Light mode keeps navy #0F2A4A. */
:root[data-theme="dark"] body.sv-on .svn-col-head .sv-ico{background:#FF7F50;color:#F5EFEB}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) body.sv-on .svn-col-head .sv-ico{background:#FF7F50;color:#F5EFEB}}
