/* ═══════════════════════════════════════════════════════════════════════════
   PRAXIS Loop — screen styles. Macro cosmos behind, micro instruments above.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── cosmos canvas + altitude treatment ───────────────────────────────────── */
#cosmos-wrap {
  position: fixed; inset: 0; z-index: 0;
  transition: filter calc(var(--d-descent)) var(--ease-descent);
}
#cosmos-wrap[data-altitude="universe"] { filter: none; }
#cosmos-wrap[data-altitude="sector"]   { filter: brightness(0.85); }
#cosmos-wrap[data-altitude="star"]     { filter: brightness(0.55) saturate(0.9); }
#cosmos-wrap[data-altitude="mission"]  { filter: brightness(0.28) saturate(0.7) blur(2px); }
#cosmos-wrap[data-altitude="review"]   { filter: brightness(0.9); }
#cosmos { width: 100%; height: 100%; display: block; }

/* ── stage transitions (the screen swap) ──────────────────────────────────── */
.lp-stage {
  position: fixed; inset: var(--topbar-h) 0 44px; z-index: 5;
  transition: opacity calc(var(--d-standard) * 1.4) var(--ease-descent),
              transform calc(var(--d-standard) * 1.4) var(--ease-descent),
              filter calc(var(--d-standard) * 1.4) var(--ease-descent);
}
.lp-stage.is-in  { opacity: 1; transform: scale(1); filter: blur(0); }
.lp-stage.is-out { opacity: 0; transform: scale(1.045); filter: blur(6px); pointer-events: none; }

.lp-screen { position: absolute; inset: 0; }

/* ═══ TOP BAR ═══ */
.lp-topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-h); z-index: 20;
  display: flex; align-items: center; gap: var(--s6); padding: 0 var(--s5);
  background: linear-gradient(180deg, rgba(3,6,8,0.85), rgba(3,6,8,0));
}
.lp-mark {
  display: flex; align-items: center; gap: var(--s3);
  background: none; border: none; cursor: pointer; padding: var(--s2);
}
.lp-mark__name {
  font-family: var(--font-ui); font-weight: 700; font-size: 0.9375rem;
  letter-spacing: 0.34em; color: var(--cyan);
  text-shadow: 0 0 14px rgba(92,230,213,0.45);
}
.lp-crumbs { display: flex; align-items: center; gap: var(--s2); min-width: 0; }
.lp-crumbs__item {
  background: none; border: none; cursor: pointer; padding: var(--s1) var(--s2);
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--text-muted); border-radius: var(--r-xs);
  white-space: nowrap; transition: color var(--d-fast);
}
.lp-crumbs__item:hover:not(:disabled) { color: var(--cyan); }
.lp-crumbs__item.is-here { color: var(--text-primary); cursor: default; }
.lp-crumbs__sep { color: var(--text-faint); font-size: 0.75rem; }

/* search pill — original universe chrome */
.lp-search {
  display: flex; align-items: center; gap: var(--s3);
  height: 36px; width: min(300px, 28vw); padding: 0 var(--s3) 0 var(--s4);
  border: 1px solid var(--line-subtle); border-radius: var(--r-md);
  background: var(--glass); color: var(--text-muted); cursor: text;
}
.lp-search__ph { font: var(--t-caption); font-size: 0.8125rem; color: var(--text-muted); flex: 1; white-space: nowrap; overflow: hidden; }
.lp-search__kbd {
  font-size: 0.625rem; padding: 2px 6px; border: 1px solid var(--line-subtle);
  border-radius: var(--r-xs); color: var(--text-faint);
}
@media (max-width: 900px) { .lp-search { display: none; } }
.lp-topbar__right { margin-left: auto; display: flex; align-items: center; gap: var(--s5); }
.lp-tele {
  font-family: var(--font-mono); font-size: 0.6563rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}
@media (max-width: 1380px) { .lp-tele { display: none; } }
.lp-tele b { color: var(--signal); font-weight: 600; margin-left: 2px; }
.lp-sound {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--text-muted); cursor: pointer;
  border: 1px solid var(--line-subtle); border-radius: var(--r-pill);
  transition: all var(--d-fast);
}
.lp-sound:hover { color: var(--text-primary); border-color: var(--line-strong); }
.lp-sound.is-on { color: var(--cyan); border-color: var(--cyan-line); box-shadow: var(--cyan-glow); }

/* ═══ STATUS STRIP ═══ */
.lp-status {
  position: fixed; left: 0; right: 0; bottom: 0; height: 44px; z-index: 20;
  display: flex; align-items: center; justify-content: center;
}
.lp-status__items {
  display: flex; gap: var(--s6); align-items: center;
  padding: var(--s2) var(--s5); border: 1px solid var(--line-subtle);
  border-radius: var(--r-sm); background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lp-status__cell { display: flex; align-items: baseline; gap: var(--s2); }
.lp-status__cell b { font-size: 0.8125rem; }
.lp-status__hint { position: absolute; right: var(--s5); font-size: 0.625rem; color: var(--text-faint); letter-spacing: 0.06em; }
@media (max-width: 1000px) { .lp-status__hint { display: none; } }

/* ═══ shared atoms ═══ */
.lp-bar { background: var(--surface-3); border-radius: var(--r-pill); overflow: hidden; width: 100%; }
.lp-bar i { display: block; height: 100%; border-radius: inherit; }

.lp-ring { position: relative; display: grid; place-items: center; }
.lp-ring svg { position: absolute; inset: 0; }
.lp-ring__txt { text-align: center; position: relative; }
.lp-ring__den { font-family: var(--font-mono); font-size: 0.8em; color: var(--text-muted); margin-left: 2px; }
.lp-ring__sub { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--mastery); margin-top: var(--s2); }

.lp-btn {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; height: var(--control-h); padding: 0 var(--s5);
  border-radius: var(--r-sm); cursor: pointer; transition: all var(--d-fast);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
}
.lp-btn--primary {
  background: var(--cyan); color: #032420; border: 1px solid var(--cyan-bright);
  box-shadow: 0 0 26px rgba(92,230,213,0.35);
}
.lp-btn--primary:hover { background: var(--cyan-bright); transform: translateY(-1px); }
.lp-btn--primary:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; transform: none; }
.lp-btn--ghost {
  background: transparent; color: var(--text-secondary); border: 1px solid var(--line-subtle);
}
.lp-btn--ghost:hover { color: var(--text-primary); border-color: var(--line-strong); background: var(--surface-2); }
.lp-btn--sm { height: 28px; padding: 0 var(--s3); font-size: 0.6563rem; }

.lp-chip {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px var(--s2); border-radius: var(--r-xs); border: 1px solid var(--line-subtle); color: var(--text-muted);
}
.lp-chip--decay { color: var(--decay); border-color: var(--decay-line); background: var(--decay-fill); }
.lp-chip--live { color: var(--cyan); border-color: var(--cyan-line); background: var(--cyan-fill); }

.lp-stat { text-align: center; }
.lp-stat__v { font-size: 1.5rem; font-weight: 600; }
.lp-stat__k { font-family: var(--font-mono); font-size: 0.5938rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: var(--s1); }

.lp-divider { height: 1px; background: var(--line-hairline); margin: var(--s5) 0; }

/* ═══ INSPECTOR (right dock, all altitudes) ═══ */
.lp-inspector {
  position: absolute; top: var(--s5); right: var(--s5); bottom: var(--s5);
  width: 348px; padding: var(--s5); overflow-y: auto;
  display: flex; flex-direction: column;
}
.lp-inspector--wide { width: 392px; }
.lp-inspector__title { margin-top: var(--s2); }
.lp-inspector__lede { font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary); margin: var(--s3) 0 0; }
.lp-inspector__hint { font-size: 0.6563rem; color: var(--text-faint); margin-top: auto; padding-top: var(--s5); }
.lp-inspector__rows { margin-top: var(--s4); display: flex; flex-direction: column; }
.lp-irow {
  display: grid; grid-template-columns: 1fr 72px; gap: var(--s3); align-items: center;
  padding: calc(var(--s3) * var(--density)) 0; border-bottom: 1px solid var(--line-hairline);
}
.motion-live .lp-irow { animation: dock-in var(--d-dock) var(--ease-instrument) backwards; }
.lp-irow__name { font-size: 0.8438rem; font-weight: 500; color: var(--text-primary); }
.lp-irow__slug { font-size: 0.625rem; color: var(--text-faint); margin-top: 2px; }
.lp-irow__m { display: flex; flex-direction: column; gap: var(--s1); align-items: flex-end; }
.lp-irow__m .data { font-size: 0.8125rem; }
.lp-inspector__gauge { margin-top: var(--s4); }
.lp-inspector__gauge-num { display: flex; align-items: baseline; gap: var(--s2); margin-bottom: var(--s2); }
.lp-trend { font-size: 0.6875rem; margin-left: auto; }
.lp-trend.is-up { color: var(--mastery); }
.lp-trend.is-down { color: var(--decay); }
.lp-inspector__facts { display: flex; gap: var(--s4); margin-top: var(--s4); flex-wrap: wrap; }
.lp-fact { display: flex; flex-direction: column; gap: 3px; }
.lp-fact b { font-size: 0.8125rem; }

/* ═══ UNIVERSE ═══ */
.lp-sector-labels { position: absolute; inset: 0; }
.lp-seclabel {
  position: absolute; left: 0; top: 0; transform: translate(-50%, 0);
  background: none; border: none; cursor: pointer; text-align: center; padding: var(--s2);
  transition: opacity calc(var(--d-standard) * 2) ease;
  will-change: transform;
}
.lp-seclabel__name {
  display: block; font-family: var(--font-ui); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-primary);
  text-shadow: 0 1px 8px rgba(0,0,0,0.9), 0 0 24px rgba(0,0,0,0.7);
  transition: color var(--d-fast);
}
.lp-seclabel__meta {
  display: block; font-size: 0.5938rem; letter-spacing: 0.1em; color: var(--text-muted);
  text-shadow: 0 1px 6px rgba(0,0,0,0.9); margin-top: 3px;
}
.lp-seclabel:hover .lp-seclabel__name { color: var(--cyan-bright); }
.lp-seclabel.is-focus .lp-seclabel__name { color: var(--cyan-bright); text-shadow: 0 0 18px var(--cyan-line), 0 1px 8px rgba(0,0,0,0.9); }
.lp-seclabel.is-dim { opacity: 0.32; }

.lp-uni-left {
  position: absolute; left: var(--s6); top: 50%; transform: translateY(-54%);
  display: flex; flex-direction: column; gap: var(--s5); align-items: center; width: 220px;
}
.lp-uni-stats { display: flex; padding: var(--s4) 0; width: 100%; }
.lp-uni-stats .lp-stat { flex: 1; padding: 0 var(--s3); }
.lp-uni-stats .lp-stat + .lp-stat { border-left: 1px solid var(--line-hairline); }

.lp-inspector--empty { justify-content: flex-start; }

/* ═══ SECTOR — constellation ═══ */
.lp-sector__head { position: absolute; top: var(--s6); left: var(--s6); z-index: 3; }
.lp-const {
  position: absolute; top: 16%; bottom: 10%; left: 8%; right: calc(348px + 64px);
}
.lp-const__edges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
@keyframes edge-draw { from { stroke-dashoffset: 1; } }
.lp-const__edge {
  stroke: var(--cyan-line); stroke-width: 1px; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke var(--d-standard);
}
.motion-live .lp-const__edge { animation: edge-draw var(--d-draw) var(--ease-instrument) backwards; }
.lp-const__edge.is-hot { stroke: var(--cyan); filter: drop-shadow(0 0 4px var(--cyan-line)); }

.lp-star {
  position: absolute; transform: translate(-50%, -50%);
  background: none; border: none; cursor: pointer; text-align: center;
}
.motion-live .lp-star { animation: dock-in var(--d-dock) var(--ease-instrument) backwards; }
.lp-star__core {
  display: block; width: 14px; height: 14px; margin: 0 auto; border-radius: 50%;
  background: var(--star-c); box-shadow: 0 0 14px var(--star-c), 0 0 38px rgba(92,230,213,0.18);
  transition: transform var(--d-fast);
}
.lp-star.is-decay .lp-star__core { animation: breathe 2.2s var(--ease-instrument) infinite; box-shadow: 0 0 16px var(--decay), 0 0 44px rgba(255,94,77,0.25); }
.lp-star:hover .lp-star__core { transform: scale(1.35); }
.lp-star.is-sel .lp-star__core { transform: scale(1.5); outline: 1px solid var(--cyan-line); outline-offset: 7px; border-radius: 50%; }
.lp-star__label { display: block; margin-top: var(--s3); }
.lp-star__name {
  display: block; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.02em;
  color: var(--text-primary); text-shadow: 0 1px 8px rgba(0,0,0,0.95); max-width: 200px;
}
.lp-star__m { display: block; font-size: 0.625rem; color: var(--text-muted); margin-top: 2px; text-shadow: 0 1px 6px rgba(0,0,0,0.9); }
.lp-star.is-decay .lp-star__m { color: var(--decay); }

/* ═══ STAR VIEW — dossier ═══ */
.lp-starview__hero {
  position: absolute; left: var(--s8); top: 50%; transform: translateY(-50%);
  width: min(46vw, 640px);
}
.lp-starview__name { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-top: var(--s3); }
.lp-starview__gist { font-size: 1rem; line-height: 1.65; color: var(--text-secondary); max-width: 56ch; margin-top: var(--s4); }

.lp-bigstar { position: relative; width: 88px; height: 88px; }
.lp-bigstar__halo {
  position: absolute; inset: -36px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,94,77,0.30), rgba(255,94,77,0.06) 55%, transparent 75%);
  animation: breathe 2.6s var(--ease-instrument) infinite;
}
.lp-bigstar__core {
  position: absolute; inset: 22px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff, var(--m-1) 55%, var(--decay));
  box-shadow: 0 0 32px rgba(255,94,77,0.6);
}
.lp-bigstar__flare {
  position: absolute; left: 50%; top: 50%; width: 150%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translate(-50%, -50%);
}
.lp-bigstar.is-ignited .lp-bigstar__halo { background: radial-gradient(circle, rgba(63,216,192,0.35), rgba(63,216,192,0.07) 55%, transparent 75%); animation-duration: 4s; }
.lp-bigstar.is-ignited .lp-bigstar__core { background: radial-gradient(circle at 38% 32%, #fff, var(--m-4) 50%, var(--mastery)); box-shadow: 0 0 44px rgba(63,216,192,0.7); animation: ignite 1.6s var(--ease-instrument) forwards; }

.lp-chain { margin-top: var(--s6); }
.lp-chain__row { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.lp-chain__node {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 0.8125rem; font-weight: 500; padding: var(--s2) var(--s3);
  border: 1px solid var(--line-subtle); border-radius: var(--r-sm); background: var(--glass);
}
.lp-chain__node.is-here { border-color: var(--decay-line); }
.lp-chain__node b { margin-left: 2px; }
.lp-chain__dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.lp-chain__arrow { color: var(--text-faint); font-size: 0.6875rem; }

.lp-traj { margin-top: var(--s3); display: flex; flex-direction: column; }
.lp-traj__row {
  display: flex; align-items: center; gap: var(--s3);
  padding: calc(var(--s2) * var(--density) + 2px) 0;
}
.motion-live .lp-traj__row { animation: dock-in var(--d-dock) var(--ease-instrument) backwards; }
.lp-traj__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--text-faint); flex: none;
}
.lp-traj__row.is-next .lp-traj__dot { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan-line); }
.lp-traj__row.is-next .lp-traj__name { color: var(--text-primary); font-weight: 600; }
.lp-traj__name { font-size: 0.8438rem; color: var(--text-secondary); }
.lp-traj__eta { margin-left: auto; font-size: 0.625rem; color: var(--text-faint); }

.lp-evidence { margin-top: var(--s3); display: flex; flex-direction: column; gap: var(--s3); }
.lp-evrow { display: flex; gap: var(--s3); align-items: baseline; }
.lp-evrow__date { font-size: 0.625rem; color: var(--text-faint); flex: none; width: 48px; }
.lp-evrow__txt { font-size: 0.7813rem; line-height: 1.5; color: var(--text-secondary); }
.lp-evrow.is-flagged .lp-evrow__txt { color: var(--m-1); }

.lp-payoff { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.lp-payoff__nums { display: flex; align-items: center; gap: var(--s3); }
.lp-payoff__arrow { color: var(--text-faint); font-size: 0.75rem; }

/* ═══ MISSION — ritual ═══ */
.lp-mission { display: grid; grid-template-columns: 280px 1fr; }
.lp-rail {
  position: relative; padding: var(--s7) 0 0 var(--s7); align-self: start;
}
.lp-rail__row {
  display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; position: relative; z-index: 1;
}
.lp-rail__dot {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line-subtle); background: var(--surface-1);
  display: grid; place-items: center; font-size: 0.625rem; color: var(--mastery);
  transition: all var(--d-standard);
}
.lp-rail__row.is-done .lp-rail__dot { border-color: var(--mastery); background: var(--mastery-fill); }
.lp-rail__row.is-now .lp-rail__dot { border-color: var(--cyan); box-shadow: var(--cyan-glow); }
.lp-rail__name { font-size: 0.875rem; color: var(--text-muted); transition: color var(--d-standard); }
.lp-rail__row.is-now .lp-rail__name { color: var(--text-primary); font-weight: 600; }
.lp-rail__row.is-done .lp-rail__name { color: var(--text-secondary); }
.lp-rail__line {
  position: absolute; left: calc(var(--s7) + 10px); top: 64px; bottom: 24px; width: 1.5px;
  background: var(--line-hairline); z-index: 0;
}
.lp-rail__line i { display: block; width: 100%; background: var(--mastery); transition: height var(--d-dock) var(--ease-instrument); }

.lp-ritual {
  display: grid; place-items: center; padding: var(--s6);
}
.lp-card {
  width: min(680px, 100%); padding: var(--s6);
}
.lp-card.is-pressure { border-color: var(--decay-line); box-shadow: var(--elev-2), 0 0 44px rgba(255,94,77,0.08); }
.lp-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s4); }
.lp-card__q { font: var(--t-title); font-size: 1.45rem; line-height: 1.3; margin: 0; }
.lp-card__a { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line-hairline); }
.lp-card__a p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-secondary); margin: 0; }
.lp-card__grade { display: flex; gap: var(--s3); margin-top: var(--s5); }
.lp-card__grade .lp-btn { flex: 1; }

.lp-chunk {
  margin: var(--s4) 0 0; padding: var(--s4) var(--s5);
  border-left: 2px solid var(--signal); background: var(--signal-fill);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-mono); font-size: 0.7813rem; line-height: 1.7; color: var(--text-secondary);
}
.lp-gap { margin-top: var(--s4); }
.lp-gap p { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }

.lp-opts { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s5); }
.lp-opt {
  display: flex; align-items: center; gap: var(--s4); text-align: left;
  padding: var(--s3) var(--s4); min-height: 44px;
  background: var(--surface-2); border: 1px solid var(--line-subtle); border-radius: var(--r-sm);
  color: var(--text-secondary); font: var(--t-ui); font-size: 0.875rem; cursor: pointer;
  transition: all var(--d-fast);
}
.lp-opt:hover:not(:disabled) { border-color: var(--cyan-line); color: var(--text-primary); background: var(--surface-3); }
.lp-opt:disabled { cursor: default; }
.lp-opt.is-right { border-color: var(--mastery); background: var(--mastery-fill); color: var(--text-primary); }
.lp-opt.is-wrong { border-color: var(--decay-line); background: var(--decay-fill); }
.lp-opt__key {
  width: 22px; height: 22px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-subtle); border-radius: var(--r-xs); font-size: 0.6563rem;
}

.lp-timer { font-size: 1.05rem; color: var(--text-primary); }
.lp-timer.is-low { color: var(--decay); animation: breathe 1s linear infinite; }

.lp-bullets { margin: var(--s5) 0 0; padding: 0 0 0 var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.lp-bullets li { font-size: 0.9063rem; color: var(--text-secondary); }
.lp-bullets li::marker { color: var(--cyan); font-family: var(--font-mono); font-size: 0.75rem; }

.lp-note {
  width: 100%; margin-top: var(--s4); padding: var(--s4);
  background: var(--surface-1); border: 1px solid var(--line-subtle); border-radius: var(--r-sm);
  color: var(--text-primary); font: var(--t-ui); font-size: 0.9063rem; line-height: 1.6;
  resize: vertical;
}
.lp-note:focus { border-color: var(--cyan-line); outline: none; box-shadow: 0 0 0 3px var(--cyan-fill); }
.lp-note::placeholder { color: var(--text-faint); }

/* ═══ REVIEW — the ceremony ═══ */
.lp-review { display: grid; place-items: center; overflow-y: auto; }
.lp-review__col { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s6); max-width: 720px; }
.lp-review__title { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: var(--s3); }
.lp-review .lp-bigstar { margin: var(--s6) 0 var(--s4); }
.lp-review__delta { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s4); }
.lp-review__from { font-size: 1.5rem; color: var(--text-faint); text-decoration: line-through; text-decoration-thickness: 1px; }
.lp-review__arrow { color: var(--text-faint); }
.lp-review__to { font-size: 2.6rem; color: var(--m-3); text-shadow: 0 0 24px rgba(182,194,74,0.4); }

.lp-review__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s6); width: 100%; }
.lp-review__cell { padding: var(--s5); text-align: left; }
.lp-review__stages { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s3); }
.lp-review__stage { font-size: 0.6875rem; color: var(--mastery); letter-spacing: 0.04em; }
.lp-review__ringwrap { display: flex; align-items: center; gap: var(--s5); margin-top: var(--s3); }

.lp-review__cta { display: flex; flex-direction: column; gap: var(--s3); align-items: center; margin-top: var(--s7); }

/* ═══ responsive guards (desktop-first; mobile comes after archetypes lock) ═══ */
@media (max-width: 1100px) {
  .lp-inspector { width: 300px; }
  .lp-inspector--wide { width: 320px; }
  .lp-const { right: calc(300px + 40px); }
  .lp-uni-left { display: none; }
  .lp-mission { grid-template-columns: 1fr; }
  .lp-rail { display: none; }
}

@media (max-width: 700px) {
  .lp-topbar {
    height: 56px;
    padding: 0 22px;
  }

  .lp-mark {
    padding: 0;
  }

  .lp-mark__name {
    font-size: 0.875rem;
    letter-spacing: 0.28em;
  }

  .lp-crumbs,
  .lp-topbar__right .lp-tele {
    display: none;
  }

  .lp-stage {
    inset: 56px 0 48px;
  }

  .lp-sector-labels,
  .lp-uni-left {
    display: none;
  }

  .lp-inspector,
  .lp-inspector--wide {
    top: 26px;
    right: 24px;
    left: 24px;
    bottom: 44px;
    width: auto;
    padding: 24px;
  }

  .lp-inspector__title {
    font-size: 1.85rem;
  }

  .lp-inspector__lede {
    font-size: 0.9rem;
  }

  .lp-status {
    height: 48px;
    justify-content: flex-start;
    overflow: hidden;
  }

  .lp-status__items {
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    justify-content: space-around;
    gap: 10px;
    padding: 8px 12px;
  }

  .lp-status__cell {
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 1px;
  }

  .lp-status__cell .kicker {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .lp-status__cell b {
    font-size: 0.75rem;
  }

  .lp-status__hint {
    display: none;
  }

  .lp-review__grid {
    grid-template-columns: 1fr;
  }

  .lp-card {
    padding: 22px;
  }
}
