/* =============================================================
   app.css — Nate Builds AI · the galaxy station
   Built on the shared token set (tokens.css).
   ============================================================= */
@import url("tokens.css");

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #root { height: 100%; width: 100%; }
body {
  overflow: hidden;
  background: #050416;
  color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.col { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }

/* ---------- galaxy backdrop ---------- */
.galaxy { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #020208; }
.galaxy__img {
  position: absolute; inset: -2%;
  background: url("assets/cosmos.jpg") center/cover no-repeat;
}
.galaxy__engine { position: absolute; inset: 0; }
.galaxy__engine canvas { display: block; width: 100%; height: 100%; }
.galaxy__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(5,4,18,0.55) 100%);
}
.galaxy__custom {
  position: absolute; inset: 0; z-index: 2;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

/* ---------- world (pan/zoom) ---------- */
.world-clip {
  position: fixed; inset: 0 0 132px 0; z-index: 1;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.world-clip.is-panning { cursor: grabbing; }
.world { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

/* ---------- zoom control ---------- */
.zoomctl {
  position: fixed; right: 18px; top: 18px; z-index: 40;
  display: flex; align-items: center; gap: 4px;
  padding: 5px 6px; border-radius: var(--r-pill);
  background: rgba(15,18,48,0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--edge-soft); box-shadow: var(--shadow-card);
}
.zoomctl__btn {
  width: 28px; height: 28px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--edge-soft);
  color: var(--hud-cyan); cursor: pointer;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  transition: all var(--dur-quick) var(--ease-soft);
}
.zoomctl__btn:hover { background: rgba(122,216,255,0.12); transform: translateY(-1px); }
.zoomctl__pct { font-family: var(--font-pixel); font-size: 16px; color: var(--fg-1); min-width: 46px; text-align: center; letter-spacing: 0.04em; }

/* ---------- station panel (signature octagonal tile) ---------- */
.dpanel {
  position: absolute;
  --ac: #7ad8ff;
  display: flex; flex-direction: column;
  clip-path: var(--tile-clip);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--ac) 16%, transparent) 0%,
      rgba(26,35,72,0.92) 34%,
      rgba(15,12,46,0.96) 100%);
  filter: drop-shadow(0 14px 30px rgba(8,6,28,0.6));
  transition: filter var(--dur-base) var(--ease-soft), transform var(--dur-base) var(--ease-soft);
  overflow: hidden;
}
.dpanel::after {
  content: ""; position: absolute; inset: 5px;
  clip-path: var(--tile-clip);
  border: 1px solid var(--ac); opacity: 0.4;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-soft);
}
.dpanel:hover { transform: translateY(-2px); }
.dpanel:hover::after { opacity: 0.7; }
.dpanel.is-focused { filter: drop-shadow(0 14px 30px rgba(8,6,28,0.6)) drop-shadow(0 0 16px color-mix(in srgb, var(--ac) 40%, transparent)); }
.dpanel.is-focused::after { opacity: 0.85; }
.dpanel.is-unlocked {
  filter: drop-shadow(0 18px 44px rgba(8,6,28,0.7)) drop-shadow(0 0 22px color-mix(in srgb, var(--ac) 55%, transparent));
  cursor: grab;
}
.dpanel.is-unlocked:active { cursor: grabbing; }
.dpanel.is-unlocked::after { opacity: 1; border-width: 1.5px; }
.dpanel.is-center {
  background:
    radial-gradient(ellipse at 50% 24%, color-mix(in srgb, var(--ac) 26%, transparent) 0%, transparent 62%),
    linear-gradient(180deg, rgba(42,30,64,0.92), rgba(21,16,52,0.97));
}
.dpanel.is-center::after { opacity: 0.7; }
.dpanel.is-center .dpanel__head { background: color-mix(in srgb, var(--ac) 20%, #2a1e40); }

/* warm corner ticks (habitat trim) */
.tick { position: absolute; width: 14px; height: 14px; border-color: var(--edge-warm); opacity: 0.55; pointer-events: none; z-index: 3; }
.tick.tl { top: 9px; left: 9px; border-top: 1.5px solid; border-left: 1.5px solid; }
.tick.tr { top: 9px; right: 9px; border-top: 1.5px solid; border-right: 1.5px solid; }
.tick.bl { bottom: 9px; left: 9px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.tick.br { bottom: 9px; right: 9px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.dpanel__head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 10px 18px;
  background: color-mix(in srgb, var(--ac) 17%, #1c2550);
  border-bottom: 1px solid color-mix(in srgb, var(--ac) 26%, transparent);
  flex-shrink: 0; user-select: none;
}
.dpanel__n {
  font-family: var(--font-pixel); font-size: 18px; line-height: 1;
  color: var(--ac); opacity: 0.9; flex-shrink: 0;
}
.dpanel__titles { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.dpanel__title {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: var(--tr-station); text-transform: uppercase;
  color: color-mix(in srgb, var(--ac) 60%, var(--fg-0));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dpanel__sub {
  font-family: var(--font-display); font-weight: 500; font-size: 9px;
  letter-spacing: var(--tr-loose); text-transform: uppercase; color: var(--fg-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.panel-ctl {
  width: 24px; height: 24px; border-radius: var(--r-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid color-mix(in srgb, var(--ac) 35%, transparent);
  color: var(--ac); cursor: pointer; transition: all var(--dur-quick) var(--ease-soft);
}
.panel-ctl:hover { background: color-mix(in srgb, var(--ac) 18%, transparent); transform: translateY(-1px); }
.panel-lock { color: var(--warm-amber); border-color: rgba(255,198,143,0.4); background: rgba(255,198,143,0.06); }
.dpanel.is-unlocked .panel-lock { color: var(--hud-cyan); border-color: rgba(122,216,255,0.5); background: rgba(122,216,255,0.1); }
.panel-close { color: var(--fg-2); }
.zoomgrp { display: flex; align-items: center; gap: 1px; flex-shrink: 0; }
.zoomgrp__btn { width: 22px; height: 22px; }
.zoomgrp__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.zoomgrp__val { min-width: 38px; height: 22px; padding: 0 4px; border-radius: var(--r-sm); cursor: pointer;
  background: transparent; border: 1px solid color-mix(in srgb, var(--ac) 35%, transparent); color: var(--fg-2);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; transition: all var(--dur-quick) var(--ease-soft); }
.zoomgrp__val:hover { color: var(--fg-0); border-color: var(--ac); }
.dpanel.is-zoomed { transition: transform var(--dur-base) var(--ease-soft); }
.dpanel.is-zoomed::after { opacity: 0.95; }
.fw__zoom { transition: transform var(--dur-quick) var(--ease-soft); }

.dpanel__body {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden;
  padding: 14px 16px 16px;
  display: flex; flex-direction: column;
}
.dpanel__body::-webkit-scrollbar { width: 8px; }
.dpanel__body::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ac) 35%, transparent); border-radius: 8px; }
.dpanel__body::-webkit-scrollbar-track { background: transparent; }

/* resize handles */
.panel-resize { position: absolute; z-index: 4; }
.r-n { top: 0; left: 16px; right: 16px; height: 8px; cursor: ns-resize; }
.r-s { bottom: 0; left: 16px; right: 16px; height: 8px; cursor: ns-resize; }
.r-e { right: 0; top: 16px; bottom: 16px; width: 8px; cursor: ew-resize; }
.r-w { left: 0; top: 16px; bottom: 16px; width: 8px; cursor: ew-resize; }
.r-nw { top: 0; left: 0; width: 18px; height: 18px; cursor: nwse-resize; }
.r-ne { top: 0; right: 0; width: 18px; height: 18px; cursor: nesw-resize; }
.r-sw { bottom: 0; left: 0; width: 18px; height: 18px; cursor: nesw-resize; }
.r-se { bottom: 0; right: 0; width: 18px; height: 18px; cursor: nwse-resize; }

/* collapsed card = a launch target: whole card clicks to expand */
.dpanel.is-locked { cursor: pointer; }
.dpanel__body { pointer-events: none; }
.panel-expand { color: var(--ac); }

/* ---------- focus window (expanded station) ---------- */
.fw {
  position: fixed; z-index: 120; --ac: #7ad8ff;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 13%, #17132f) 0%, #0f0c2c 62%);
  border: 1px solid color-mix(in srgb, var(--ac) 55%, transparent);
  box-shadow: 0 30px 80px rgba(5,4,18,0.72), 0 0 30px color-mix(in srgb, var(--ac) 28%, transparent), inset 0 1px 0 rgba(173,198,255,0.1);
  animation: fwIn 220ms var(--ease-soft);
}
@keyframes fwIn { from { opacity: 0; transform: translateY(8px) scale(0.99); } to { opacity: 1; transform: none; } }
.fw__head {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px; cursor: grab; flex-shrink: 0; user-select: none;
  background: color-mix(in srgb, var(--ac) 15%, #1a1640);
  border-bottom: 1px solid color-mix(in srgb, var(--ac) 26%, transparent);
}
.fw__head:active { cursor: grabbing; }
.fw__n { font-family: var(--font-pixel); font-size: 22px; color: var(--ac); flex-shrink: 0; }
.fw__titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fw__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: var(--tr-station); text-transform: uppercase; color: color-mix(in srgb, var(--ac) 55%, var(--fg-0)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw__sub { font-family: var(--font-display); font-size: 10px; letter-spacing: var(--tr-loose); text-transform: uppercase; color: var(--fg-3); }
.fw__body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 20px 22px; display: flex; flex-direction: column; }
.fw__body::-webkit-scrollbar { width: 9px; }
.fw__body::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ac) 35%, transparent); border-radius: 8px; }

/* The station bodies are authored for the small 388px card. In the expanded
   focus window, scale the type + spacing up so it's comfortable to read. */
.fw__body { padding: 24px 30px; font-size: 15px; }
.fw__body .st { gap: 18px; }
.fw__body .st__hint { font-size: 13px; }
/* body copy */
.fw__body .wti__body,
.fw__body .oa__blurb, .fw__body .oa__panel-d,
.fw__body .road__note,
.fw__body .devlog__title,
.fw__body .cleo__copy, .fw__body .cleo__msg-text,
.fw__body .empty__body,
.fw__body .notes__note,
.fw__body .cm__blurb, .fw__body .cm__post-text,
.fw__body .rq__blurb { font-size: 16px; line-height: 1.7; }
/* titles */
.fw__body .wti__title { font-size: 26px; }
.fw__body .wti__kicker { font-size: 20px; }
.fw__body .notes__title { font-size: 25px; }
.fw__body .empty__title { font-size: 20px; }
.fw__body .oa__panel-title { font-size: 19px; }
.fw__body .cleo__name { font-size: 30px; }
.fw__body .cleo__role { font-size: 15px; }
.fw__body .cleo__note { font-size: 13px; }
.fw__body .cleo__avatar { width: 84px; height: 84px; }
/* list / accordion rows */
.fw__body .road__head { padding: 15px 17px; }
.fw__body .road__t { font-size: 17px; }
.fw__body .road__num { font-size: 21px; }
.fw__body .road__chev { font-size: 20px; }
.fw__body .road__body { padding: 0 17px 15px 47px; }
.fw__body .notes__row { padding: 16px 17px; }
.fw__body .notes__row-title { font-size: 17px; }
.fw__body .devlog__row { padding: 15px 0; }
.fw__body .devlog__date { font-size: 13px; }
.fw__body .rq__title { font-size: 16px; }
.fw__body .rq__row { padding: 13px 15px; }
.fw__body .cm__post { padding: 13px 16px; }
.fw__body .oa__panel { padding: 17px; }
/* About Nate */
.fw__body .about__name { font-size: 30px; }
.fw__body .about__tagline { font-size: 15px; }
.fw__body .about__avatar { width: 84px; height: 84px; }
.fw__body .about__intro,
.fw__body .about__section-b { font-size: 16px; line-height: 1.7; }
.fw__body .about__section-h { font-size: 16px; }
.fw__body .about__section { padding-left: 14px; }
.fw__body .plugin-card__name { font-size: 16px; }
.fw__body .plugin-card__does { font-size: 14px; line-height: 1.6; }
.fw__body .devlog__bodytext { font-size: 14px; line-height: 1.6; }
/* Pricing / cost board */
.fw__body .pricing__asof { font-size: 14px; }
.fw__body .cb__row { padding: 11px 16px; }
.fw__body .cb__model { font-size: 15px; }
.fw__body .cb__prov { font-size: 14px; }
.fw__body .cb__num { font-size: 14px; }
.fw__body .cb__th { font-size: 11px; }
/* controls */
.fw__body .btn { font-size: 13px; padding: 13px 24px; }
.fw__body .btn--sm { font-size: 12px; padding: 9px 16px; }
.fw__body .chip, .fw__body .oa__tab { font-size: 13px; padding: 8px 14px; }
.fw__body .input, .fw__body .textarea { font-size: 15px; padding: 12px 14px; }
.fw__body .field__label { font-size: 11px; }
.fw__body .wti__dot { width: 9px; height: 9px; }
.fw__body .turnstile__label { font-size: 13px; }

/* =============================================================
   shared primitives
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--edge-soft); background: transparent; color: var(--fg-1);
  transition: transform var(--dur-quick) var(--ease-soft), background var(--dur-quick), box-shadow var(--dur-quick);
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn--sm { padding: 7px 13px; font-size: 11px; }
.btn--full { width: 100%; }
.btn--primary {
  border-color: var(--edge-bright);
  background: linear-gradient(180deg, rgba(122,216,255,0.28), rgba(122,216,255,0.1));
  color: #e8f7ff; box-shadow: 0 0 18px rgba(122,216,255,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn--warm {
  border-color: rgba(255,198,143,0.6);
  background: linear-gradient(180deg, rgba(255,198,143,0.9), rgba(255,154,118,0.78));
  color: #3a2510; font-weight: 700;
  box-shadow: 0 0 18px rgba(255,198,143,0.3), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--ghost { border-color: var(--edge-soft); color: var(--fg-1); }
.btn--ghost:hover:not(:disabled) { border-color: var(--hud-cyan); color: var(--hud-cyan); }

.iconbtn {
  width: 28px; height: 28px; border-radius: var(--r-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--edge-soft); color: var(--fg-2);
  cursor: pointer; font-size: 18px; line-height: 1; transition: all var(--dur-quick) var(--ease-soft);
}
.iconbtn:hover { color: var(--fg-0); background: rgba(255,255,255,0.06); }
.linkbtn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 12px; color: var(--hud-cyan-soft);
  text-decoration: underline; text-underline-offset: 2px; padding: 2px 0;
}
.linkbtn:hover { color: var(--fg-0); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; align-self: flex-start; }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; }
.pill--nominal { background: rgba(143,227,168,0.14); border: 1px solid rgba(143,227,168,0.45); color: #8fe3a8; }
.pill--active  { background: rgba(122,216,255,0.14); border: 1px solid rgba(122,216,255,0.45); color: #a8e6ff; }
.pill--pending { background: rgba(255,198,143,0.14); border: 1px solid rgba(255,198,143,0.5); color: #ffc68f; }
.pill--mute    { background: rgba(106,114,153,0.18); border: 1px solid rgba(106,114,153,0.5); color: #b8c0e0; }
.pill--nominal .pill__dot { background: #8fe3a8; box-shadow: 0 0 8px #8fe3a8; }
.pill--active  .pill__dot { background: #7ad8ff; box-shadow: 0 0 8px #7ad8ff; }
.pill--pending .pill__dot { background: #ffc68f; box-shadow: 0 0 8px #ffc68f; }
.pill--mute    .pill__dot { background: #6a7299; }

.tag { display: inline-flex; align-items: center; align-self: flex-start;
  font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-sm); }
.tag--paper { background: repeating-linear-gradient(45deg, rgba(245,230,200,0.16) 0 7px, rgba(245,230,200,0.04) 7px 14px);
  border: 1px dashed rgba(245,230,200,0.55); color: var(--paper-cream); }
.tag--coming { background: rgba(179,163,214,0.12); border: 1px dashed rgba(179,163,214,0.55); color: #d6cae8; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.field__opt { text-transform: none; letter-spacing: 0; color: var(--fg-4); font-weight: 400; }
.input, .textarea {
  background: rgba(5,4,18,0.5); border: 1px solid var(--edge-soft); border-radius: var(--r-md);
  color: var(--fg-1); font-family: var(--font-body); font-size: 14px; padding: 10px 12px; width: 100%;
  transition: border-color var(--dur-quick);
}
.input:focus, .textarea:focus { outline: none; border-color: var(--hud-cyan); }
.textarea { resize: vertical; line-height: 1.5; }

.chip {
  font-family: var(--font-mono); font-size: 11px; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(122,216,255,0.05); border: 1px solid var(--edge-soft); color: var(--fg-2);
  cursor: pointer; transition: all var(--dur-quick) var(--ease-soft); text-transform: lowercase;
}
.chip:hover { border-color: var(--hud-cyan); color: var(--fg-1); }
.chip.is-on { background: rgba(122,216,255,0.16); border-color: var(--hud-cyan); color: var(--hud-cyan-soft); }

.backlink { background: none; border: none; cursor: pointer; color: var(--hud-cyan-soft); font-size: 12px; padding: 0 0 8px; align-self: flex-start; }
.backlink:hover { color: var(--fg-0); }

.empty {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  padding: 16px; margin-top: 8px;
  background: rgba(5,4,18,0.4); border: 1px dashed var(--edge-soft); border-radius: var(--r-md);
}
.empty__title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg-1); line-height: 1.3; }
.empty__body { font-size: 13px; color: var(--fg-3); line-height: 1.55; }

.st { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.st__hint { font-size: 11px; color: var(--fg-4); font-style: italic; margin-top: auto; padding-top: 4px; }

/* ---------- turnstile (mock) ---------- */
.turnstile { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: var(--r-md);
  background: rgba(5,4,18,0.5); border: 1px solid var(--edge-soft); }
.turnstile__box { width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--edge-soft); color: var(--status-nominal); }
.turnstile--ok .turnstile__box { border-color: rgba(143,227,168,0.5); background: rgba(143,227,168,0.1); }
.turnstile__spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--edge-soft); border-top-color: var(--hud-cyan); animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.turnstile__label { font-size: 12px; color: var(--fg-2); flex: 1; }
.turnstile__brand { font-family: var(--font-mono); font-size: 9px; color: var(--fg-4); letter-spacing: 0.05em; }

/* =============================================================
   bottom console
   ============================================================= */
.console {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: 132px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px 24px;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #241f3c 0%, #181430 32%, #0e0b22 72%, #07061a 100%);
  border-top: 2px solid #3a3458;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.7), inset 0 3px 0 rgba(255,255,255,0.04), inset 0 -2px 0 rgba(0,0,0,0.6);
}
.console__bezel { position: absolute; left: 8px; right: 8px; top: 8px; bottom: 8px; border: 1px solid rgba(122,216,255,0.08); border-radius: 4px; pointer-events: none; }
.console__rivet { position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5a5275, #2a2540 70%, #15112a); box-shadow: 0 1px 1px rgba(0,0,0,0.6); }
.console__rivet--tl { top: 9px; left: 11px; } .console__rivet--tr { top: 9px; right: 11px; }
.console__rivet--bl { bottom: 9px; left: 11px; } .console__rivet--br { bottom: 9px; right: 11px; }

.console__left { justify-self: start; position: relative; }
.tray-btn { display: flex; align-items: center; gap: 11px; padding: 10px 16px; border-radius: var(--r-md); cursor: pointer;
  background: linear-gradient(180deg, #0e0b26, #16122c); border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); transition: all var(--dur-quick) var(--ease-soft); }
.tray-btn:hover { border-color: rgba(122,216,255,0.4); }
.tray-btn__icon { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 16px; }
.tray-btn__icon i { width: 7px; height: 7px; border-radius: 2px; background: var(--hud-violet); display: block; }
.tray-btn__label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; color: var(--fg-1); }
.tray-btn__count { font-family: var(--font-mono); font-size: 9.5px; color: var(--fg-3); }

.tray { position: absolute; bottom: calc(100% + 12px); left: 0; width: 320px; max-height: 56vh; overflow-y: auto;
  background: linear-gradient(180deg, #1a1647, #0c0a2f); border: 1px solid rgba(122,216,255,0.35); border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6); padding: 12px; z-index: 60; }
.tray__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--edge-soft); margin-bottom: 8px; }
.tray__title { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; color: var(--hud-cyan); }
.tray__list { display: flex; flex-direction: column; gap: 2px; }
.tray__row { display: flex; align-items: center; gap: 10px; padding: 8px 8px; border-radius: var(--r-sm); }
.tray__row:hover { background: rgba(122,216,255,0.05); }
.tray__row--hidden { opacity: 0.55; }
.tray__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }
.tray__name { flex: 1; font-size: 12px; color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tray__toggle { font-family: var(--font-mono); font-size: 10px; padding: 4px 10px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid var(--edge-soft); color: var(--fg-3); cursor: pointer; transition: all var(--dur-quick); }
.tray__toggle:hover { color: var(--fg-1); border-color: var(--fg-3); }
.tray__toggle.is-show { color: var(--hud-cyan); border-color: rgba(122,216,255,0.5); }

/* center dial */
.console__center { display: flex; align-items: center; gap: 14px; justify-self: center; }
.dial { position: relative; width: 92px; height: 92px; border: none; background: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.dial__plate { position: absolute; inset: -6px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #2a2540, #15112a 70%, #07061a); border: 1px solid rgba(255,255,255,0.04); }
.dial__ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #3a3458, #1a1730 65%);
  border: 2px solid rgba(255,255,255,0.06); box-shadow: inset 0 4px 8px rgba(255,255,255,0.06), inset 0 -6px 10px rgba(0,0,0,0.6); }
.dial__notches { position: absolute; inset: 0; pointer-events: none; }
.dial__notch { position: absolute; left: 50%; top: 50%; width: 2px; height: 5px; margin-left: -1px; margin-top: -2.5px; background: rgba(255,255,255,0.16); transform-origin: center; }
.dial__face { position: absolute; inset: 13px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #2a2540, #110d24 70%); border: 1px solid rgba(255,255,255,0.05); transition: box-shadow var(--dur-base); }
.dial__needle { position: absolute; left: 50%; top: 14px; width: 4px; height: 26px; margin-left: -2px; border-radius: 2px; transform-origin: center 32px;
  transition: transform var(--dur-slow) var(--ease-snap), background var(--dur-base), box-shadow var(--dur-base); }
.dial__hub { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5a5275, #1a1730); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.dial:hover .dial__ring { border-color: rgba(122,216,255,0.25); }
.console__readout { display: flex; flex-direction: column; gap: 1px; }
.console__readout-label { font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: 0.16em; color: var(--fg-3); }
.console__readout-value { font-family: var(--font-pixel); font-size: 20px; line-height: 1; letter-spacing: 0.06em; }
.console__readout-sub { font-family: var(--font-mono); font-size: 9px; color: var(--fg-4); }

/* custom-background selector — small button beside the wheel */
.console__custom-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 9px 12px; border-radius: var(--r-md); cursor: pointer;
  background: linear-gradient(180deg, #0e0b26, #16122c);
  border: 1px solid rgba(255,255,255,0.08); color: var(--fg-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: all var(--dur-quick) var(--ease-soft);
}
.console__custom-btn:hover { border-color: rgba(122,216,255,0.45); color: var(--fg-0); transform: translateY(-1px); }
.console__custom-btn.is-on { border-color: var(--hud-cyan); color: var(--hud-cyan-soft); background: rgba(122,216,255,0.12); box-shadow: 0 0 16px rgba(122,216,255,0.22), inset 0 1px 0 rgba(255,255,255,0.06); }
.console__custom-label { font-family: var(--font-display); font-weight: 700; font-size: 9px; letter-spacing: 0.16em; }
.console__clear-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 9px 12px; border-radius: var(--r-md); cursor: pointer;
  background: linear-gradient(180deg, #0e0b26, #16122c);
  border: 1px solid rgba(255,255,255,0.08); color: var(--fg-3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: all var(--dur-quick) var(--ease-soft);
}
.console__clear-btn:hover { border-color: rgba(255,150,150,0.5); color: #ffdada; transform: translateY(-1px); }

/* right status */
.console__right { justify-self: end; display: flex; flex-direction: row; align-items: center; gap: 14px; }
.console__signin {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  padding: 13px 22px; border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  color: #e8f7ff;
  border: 1px solid var(--edge-bright);
  background: linear-gradient(180deg, rgba(122,216,255,0.3), rgba(122,216,255,0.12));
  box-shadow: 0 0 20px rgba(122,216,255,0.28), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform var(--dur-quick) var(--ease-soft), box-shadow var(--dur-quick), background var(--dur-quick);
}
.console__signin:hover { transform: translateY(-1px); background: linear-gradient(180deg, rgba(122,216,255,0.42), rgba(122,216,255,0.18)); box-shadow: 0 0 26px rgba(122,216,255,0.4), inset 0 1px 0 rgba(255,255,255,0.3); }
.console__signin:active { transform: scale(0.98); }
.status-line { display: flex; align-items: center; gap: 10px; padding: 9px 15px; border-radius: var(--r-pill); cursor: pointer;
  background: rgba(255,125,156,0.07); border: 1px solid rgba(255,125,156,0.3); transition: all var(--dur-quick) var(--ease-soft); }
.status-line:hover { background: rgba(255,125,156,0.14); transform: translateY(-1px); }
.status-line__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--warm-rose); box-shadow: 0 0 10px var(--warm-rose); animation: softPulse var(--dur-pulse) var(--ease-soft) infinite; }
.status-line__main { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--fg-1); white-space: nowrap; }
.status-line__sub { font-family: var(--font-mono); font-size: 10px; color: var(--warm-rose); white-space: nowrap; }
.console__acct { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.console__acct-who { font-family: var(--font-mono); font-size: 11px; color: var(--warm-amber); }
.console__plate-name { position: absolute; left: 50%; transform: translateX(-50%); top: 3px;
  font-family: var(--font-display); font-weight: 700; font-size: 8px; letter-spacing: 0.4em; color: rgba(255,255,255,0.3); }

@keyframes softPulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* =============================================================
   intro overlay
   ============================================================= */
.intro-scrim { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(ellipse at 50% 40%, rgba(21,18,58,0.7), rgba(5,4,18,0.92)); backdrop-filter: blur(6px); animation: fadeIn var(--dur-base) var(--ease-soft); }
.intro { width: min(540px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 40px 36px; border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(30,24,70,0.96), rgba(15,12,46,0.97)); border: 1px solid var(--edge-soft);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(173,198,255,0.1); }
.intro__mark { width: 72px; height: 72px; border-radius: var(--r-lg); box-shadow: var(--glow-warm); }
.intro__kicker { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.3em; color: var(--warm-amber); }
.intro__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--fg-0); letter-spacing: -0.01em; text-wrap: balance; }
.intro__body { font-size: 14px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.intro__body strong { color: var(--hud-cyan-soft); font-weight: 600; }
.intro__actions { display: flex; gap: 12px; margin-top: 6px; flex-wrap: wrap; justify-content: center; }
.intro__foot { font-size: 11px; color: var(--fg-4); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =============================================================
   simple view
   ============================================================= */
.simple { position: fixed; inset: 0; z-index: 30; overflow-y: auto; background: transparent; }
.simple__top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px; background: rgba(11,10,31,0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge-soft); }
.simple__brand { display: flex; align-items: center; gap: 12px; }
.simple__mark { width: 40px; height: 40px; border-radius: var(--r-md); }
.simple__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; color: var(--fg-0); }
.simple__sub { font-size: 11px; color: var(--fg-3); }
.simple__controls { display: flex; align-items: center; gap: 14px; }
.simple__acct { font-size: 11px; color: var(--fg-3); }
.simple__list { max-width: 640px; margin: 0 auto; padding: 22px 18px 80px; display: flex; flex-direction: column; gap: 18px; }
.simple__card { --ac: #7ad8ff; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 12%, transparent), rgba(20,16,52,0.92));
  border: 1px solid color-mix(in srgb, var(--ac) 35%, transparent); box-shadow: var(--shadow-card); }
.simple__card-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: color-mix(in srgb, var(--ac) 15%, #1a1640); border-bottom: 1px solid color-mix(in srgb, var(--ac) 24%, transparent); }
.simple__n { font-family: var(--font-pixel); font-size: 22px; color: var(--ac); }
.simple__card-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--ac) 55%, var(--fg-0)); }
.simple__card-sub { font-family: var(--font-display); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.simple__card-body { padding: 18px; }
.simple__foot { text-align: center; padding: 24px; color: var(--fg-4); font-size: 12px; }

/* =============================================================
   auth modal
   ============================================================= */
.scrim { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(5,4,18,0.7); backdrop-filter: blur(5px); animation: fadeIn var(--dur-quick) var(--ease-soft); }
.authcard { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border-radius: var(--r-xl); background: linear-gradient(180deg, #1e1846, #0f0c2e); border: 1px solid var(--edge-bright); box-shadow: 0 40px 100px rgba(0,0,0,0.6); }
.authcard__head { display: flex; align-items: flex-start; gap: 12px; }
.authcard__mark { width: 44px; height: 44px; border-radius: var(--r-md); flex-shrink: 0; }
.authcard__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg-0); }
.authcard__sub { font-size: 12px; color: var(--fg-3); line-height: 1.5; }
.authcard__foot { font-size: 10px; color: var(--fg-4); line-height: 1.5; text-align: center; }
.auth-or { display: flex; align-items: center; gap: 10px; color: var(--fg-4); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--edge-soft); }
/* Google Sign-In — per Google's neutral/light button guidance */
.gsi-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  height: 44px; padding: 0 16px; border-radius: var(--r-pill); cursor: pointer;
  background: #ffffff; border: 1px solid #dadce0;
  font-family: "Roboto", var(--font-body); font-size: 14px; font-weight: 500; color: #3c4043;
  transition: box-shadow var(--dur-quick), background var(--dur-quick); }
.gsi-btn:hover { background: #f8faff; box-shadow: 0 1px 3px rgba(60,64,67,0.3); }
.gsi-btn:active { background: #f1f3f4; }
.gsi-btn__icon { display: flex; }
.gsi-btn__label { line-height: 1; }

/* =============================================================
   per-station body styles
   ============================================================= */
/* 01 What This Is */
.st--wti { height: 100%; justify-content: space-between; }
.wti__lead { font-size: 13px; line-height: 1.55; color: var(--fg-3); font-style: italic; }
.wti__card { display: flex; flex-direction: column; gap: 8px; animation: fadeIn var(--dur-base) var(--ease-soft); }
.wti__kicker { font-family: var(--font-pixel); font-size: 16px; color: var(--warm-amber); letter-spacing: 0.04em; }
.wti__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--fg-0); }
.wti__body { font-size: 14px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.wti__nav { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; }
.wti__dots { display: flex; gap: 7px; }
.wti__dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--fg-4); cursor: pointer; padding: 0; transition: all var(--dur-quick); }
.wti__dot.is-on { background: var(--hud-cyan); box-shadow: 0 0 8px var(--hud-cyan); transform: scale(1.2); }

/* 02 Road */
.road__list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.road__item { border: 1px solid var(--edge-soft); border-radius: var(--r-md); overflow: hidden; background: rgba(5,4,18,0.3); }
.road__item.is-open { border-color: color-mix(in srgb, var(--hud-violet) 50%, transparent); }
.road__head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 13px; background: none; border: none; cursor: pointer; text-align: left; }
.road__num { font-family: var(--font-pixel); font-size: 16px; color: var(--hud-violet); flex-shrink: 0; }
.road__t { flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-1); }
.road__chev { font-family: var(--font-mono); font-size: 16px; color: var(--fg-3); }
.road__body { padding: 0 13px 13px 41px; display: flex; flex-direction: column; gap: 8px; animation: fadeIn var(--dur-base); }
.road__note { font-size: 13px; color: var(--fg-3); line-height: 1.5; }

/* 03 OpenAgent */
.oa__blurb { font-size: 13px; line-height: 1.55; color: var(--fg-2); }
.oa__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.oa__tab { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.04em; padding: 7px 12px; border-radius: var(--r-sm);
  background: rgba(143,212,163,0.06); border: 1px solid var(--edge-soft); color: var(--fg-2); cursor: pointer; transition: all var(--dur-quick); }
.oa__tab.is-on { background: rgba(143,212,163,0.18); border-color: var(--warm-leaf); color: #c6ecd2; }
.oa__panel { padding: 13px; border-radius: var(--r-md); background: rgba(5,4,18,0.4); border: 1px solid var(--edge-soft); display: flex; flex-direction: column; gap: 6px; animation: fadeIn var(--dur-base); }
.oa__panel-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--warm-leaf); }
.oa__panel-d { font-size: 13px; line-height: 1.55; color: var(--fg-2); }
.oa__download { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--edge-soft); }
.oa__plat { font-family: var(--font-mono); font-size: 11px; color: var(--fg-2); }
.oa__note { font-size: 11px; color: var(--fg-4); }

/* 04 Dev Log */
.devlog__row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--edge-hairline); }
.devlog__row:first-child { padding-top: 0; }
.devlog__date { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); min-width: 26px; padding-top: 2px; }
.devlog__title { font-size: 13px; line-height: 1.45; color: var(--fg-1); }
.devlog__bodytext { font-size: 12.5px; line-height: 1.55; color: var(--fg-3); }
.devlog__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.devlog__tag { font-family: var(--font-mono); font-size: 9.5px; color: var(--hud-cyan-soft); background: rgba(122,216,255,0.08); border: 1px solid var(--edge-soft); border-radius: var(--r-pill); padding: 2px 8px; }

/* 05 Cleo */
.st--cleo { gap: 14px; }
.cleo__head { display: flex; gap: 14px; align-items: center; }
.cleo__avatar { width: 72px; height: 72px; border-radius: var(--r-md); flex-shrink: 0; position: relative; overflow: hidden;
  border: 1px solid var(--edge-warm);
  background: radial-gradient(ellipse at 50% 38%, rgba(122,216,255,0.22), rgba(26,35,72,0.85) 70%);
  box-shadow: var(--glow-warm); }
.cleo__avatar-img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.cleo__avatar-tag { position: absolute; bottom: 0; left: 0; right: 0; font-size: 7px; text-align: center; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(5,4,18,0.75); color: var(--fg-3); padding: 2px 0; }
.cleo__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--fg-0); line-height: 1; }
.cleo__role { font-size: 12px; color: var(--warm-rose); }
.cleo__note { font-size: 11px; color: var(--fg-3); font-style: italic; }
.cleo__state { display: flex; flex-direction: column; gap: 12px; }
.cleo__copy { font-size: 13px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.cleo__micro { font-size: 10px; color: var(--fg-4); }
.cleo__demo { font-size: 10px; color: var(--fg-4); align-self: flex-start; }
.cleo__thread-wrap { flex: 1; min-height: 0; }
.cleo__thread { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.cleo__msg { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: var(--r-md); max-width: 88%; }
.cleo__msg--you { align-self: flex-end; background: rgba(122,216,255,0.12); border: 1px solid rgba(122,216,255,0.25); }
.cleo__msg--cleo { align-self: flex-start; background: rgba(255,125,156,0.1); border: 1px solid rgba(255,125,156,0.25); }
.cleo__msg-who { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); }
.cleo__msg-text { font-size: 13px; line-height: 1.45; color: var(--fg-1); }
.cleo__await { font-size: 11px; color: var(--fg-4); font-style: italic; align-self: flex-start; }
.cleo__composer { display: flex; gap: 8px; align-items: flex-end; margin-top: auto; }
.cleo__composer .textarea { flex: 1; }
.cleo__onyx { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 11px 13px; border-radius: var(--r-md);
  background: repeating-linear-gradient(45deg, rgba(179,163,214,0.06) 0 8px, transparent 8px 16px); border: 1px dashed rgba(179,163,214,0.4); }
.cleo__onyx-name { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; color: #d6cae8; }
.cleo__onyx-d { font-size: 11px; color: var(--fg-3); }

/* 06 Plugins */
.plugins__bar { display: flex; gap: 8px; }
.plugins__search { display: flex; align-items: center; gap: 8px; flex: 1; padding: 8px 12px; border-radius: var(--r-md); background: rgba(5,4,18,0.5); border: 1px solid var(--edge-soft); color: var(--fg-3); }
.plugins__search:focus-within { border-color: var(--hud-cyan); }
.plugins__input { flex: 1; background: none; border: none; outline: none; color: var(--fg-1); font-family: var(--font-body); font-size: 13px; }
.plugins__filters { display: flex; gap: 6px; flex-wrap: wrap; }

/* 07 About Nate */
.st--about { gap: 14px; }
.about__head { display: flex; gap: 14px; align-items: center; }
.about__avatar { width: 64px; height: 64px; border-radius: var(--r-md); flex-shrink: 0; position: relative; overflow: hidden;
  border: 1px solid var(--edge-warm); box-shadow: var(--glow-warm); }
.about__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.about__avatar-tag { position: absolute; bottom: 0; left: 0; right: 0; font-size: 7px; text-align: center; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(5,4,18,0.75); color: var(--fg-3); padding: 2px 0; }
.about__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--fg-0); line-height: 1; }
.about__tagline { font-size: 12px; color: var(--warm-peach); }
.about__intro { font-size: 13px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.about__section { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding-left: 11px;
  border-left: 2px solid color-mix(in srgb, var(--warm-peach) 55%, transparent); }
.about__section.is-placeholder { border-left-style: dashed; }
.about__section-h { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--fg-1); }
.about__section-b { font-size: 12.5px; line-height: 1.55; color: var(--fg-3); }
.about__label { font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; color: var(--fg-3); }
.about__find { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 6px; }
.about__links { display: flex; gap: 8px; flex-wrap: wrap; }

/* 06 Plugin Index — live entry cards */
.plugins__grid { display: flex; flex-direction: column; gap: 8px; }
.plugin-card { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(122,216,255,0.05); border: 1px solid var(--edge-soft); }
.plugin-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plugin-card__name { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--fg-0); }
.plugin-card__does { font-size: 12.5px; line-height: 1.5; color: var(--fg-2); }
.plugin-card__meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.plugin-card__cost { font-family: var(--font-mono); font-size: 10.5px; color: var(--warm-amber); background: rgba(255,198,143,0.1); border: 1px solid rgba(255,198,143,0.35); border-radius: var(--r-pill); padding: 3px 9px; }
.plugin-card__chip { font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); background: rgba(5,4,18,0.4); border: 1px solid var(--edge-soft); border-radius: var(--r-pill); padding: 3px 9px; }
.plugins__costview { display: flex; flex-direction: column; gap: 7px; }
.plugins__costlabel { font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; color: var(--hud-cyan); }

/* 02 Pricing Sheet + shared cost board */
.st--pricing { gap: 12px; }
.pricing__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pricing__asof { font-family: var(--font-mono); font-size: 12px; color: var(--warm-amber); background: rgba(255,198,143,0.1); border: 1px solid rgba(255,198,143,0.4); border-radius: var(--r-pill); padding: 4px 11px; }
.pricing__quick { margin-left: auto; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: 0.04em; color: var(--hud-cyan-soft);
  background: rgba(122,216,255,0.08); border: 1px solid rgba(122,216,255,0.4); border-radius: var(--r-pill); padding: 6px 12px; cursor: pointer; transition: all var(--dur-quick) var(--ease-soft); }
.pricing__quick:hover { background: rgba(122,216,255,0.18); color: var(--fg-0); transform: translateY(-1px); }
.cb { display: flex; flex-direction: column; border: 1px solid var(--edge-soft); border-radius: var(--r-md); overflow: hidden; flex-shrink: 0; }
.cb__scroll { overflow-x: auto; }
.cb__row { display: grid; grid-template-columns: 1.5fr 1fr 0.85fr 0.85fr 0.85fr 0.85fr; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--edge-hairline); min-width: 540px; }
.cb__row:last-of-type { border-bottom: none; }
.cb__row--head { background: rgba(154,123,255,0.12); border-bottom: 1px solid color-mix(in srgb, var(--hud-violet) 30%, transparent); position: sticky; top: 0; }
.cb__th { display: flex; align-items: baseline; gap: 3px; background: none; border: none; cursor: pointer; padding: 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); transition: color var(--dur-quick); }
.cb__th i { font-style: normal; font-size: 8px; color: var(--fg-4); font-weight: 600; }
.cb__th--num { justify-content: flex-end; }
.cb__th:hover { color: var(--fg-1); }
.cb__th.is-on { color: var(--hud-violet); }
.cb__model { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb__prov { font-size: 12px; color: var(--fg-3); }
.cb__num { font-family: var(--font-mono); font-size: 12px; color: var(--fg-1); text-align: right; }
.cb__num--unknown { color: var(--fg-4); font-style: italic; font-size: 11px; }
.cb__unit { font-family: var(--font-mono); font-size: 9.5px; color: var(--fg-4); padding: 7px 12px; background: rgba(5,4,18,0.3); }

.pricing__honesty { display: flex; flex-direction: column; gap: 6px; padding: 13px 14px; border-radius: var(--r-md);
  background: rgba(154,123,255,0.06); border: 1px solid color-mix(in srgb, var(--hud-violet) 30%, transparent); }
.pricing__honesty-h { font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; color: var(--hud-violet); }
.pricing__honesty-b { font-size: 12.5px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }

/* 08 Community */
.cm__blurb { font-size: 13px; line-height: 1.55; color: var(--fg-2); }
.cm__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cm__composer { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r-md); background: rgba(5,4,18,0.4); border: 1px solid var(--edge-soft); }
.cm__feed { display: flex; flex-direction: column; gap: 8px; }
.cm__post { padding: 10px 12px; border-radius: var(--r-md); background: rgba(255,198,143,0.06); border: 1px solid var(--edge-soft); }
.cm__post-who { font-family: var(--font-mono); font-size: 10px; color: var(--warm-amber); }
.cm__post-text { font-size: 13px; line-height: 1.5; color: var(--fg-1); margin-top: 3px; }

/* 09 Requests */
.rq__blurb { font-size: 13px; line-height: 1.55; color: var(--fg-2); }
.rq__form { display: flex; flex-direction: column; gap: 9px; padding: 13px; border-radius: var(--r-md); background: rgba(5,4,18,0.4); border: 1px solid var(--edge-soft); }
.rq__kinds { display: flex; gap: 6px; flex-wrap: wrap; }
.rq__list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.rq__list-label { font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; color: var(--fg-3); }
.rq__row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(179,163,214,0.06); border: 1px solid var(--edge-soft); }
.rq__id { font-family: var(--font-mono); font-size: 11px; color: var(--hud-violet); flex-shrink: 0; }
.rq__title { font-size: 13px; color: var(--fg-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rq__kind { font-family: var(--font-mono); font-size: 10px; color: var(--fg-4); }

/* =============================================================
   responsive
   ============================================================= */
@media (max-width: 760px) {
  .world-clip { inset: 0 0 116px 0; }
  .console { height: 116px; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 14px; }
  .console__center { display: none; }
  .console__readout { display: none; }
  .status-line__sub { display: none; }
  .console__right { gap: 9px; }
  .console__signin { padding: 11px 16px; font-size: 13px; }
  .tray-btn { padding: 9px 12px; }
  .zoomctl { top: 12px; right: 12px; }
  .intro { padding: 30px 22px; }
  .intro__title { font-size: 22px; }
}
