/* ════════════════════════════════════════════════════════════════════
 * styles/mind.css — NEURAL NETWORK UI (isolated, pure liquid glass)
 * Every surface uses the canonical .lg-glass-input recipe (subtle white
 * tint + thin border + saturate + soft inner highlight). NO color, NO
 * gradient backgrounds — the platform's live theme shows through.
 * Everything namespaced under .mind-* / #sojMind*  so it cannot collide
 * with any existing surface.
 * ════════════════════════════════════════════════════════════════════ */

/* ── State-of-Mind segmented switch (top of My Account) ────────────── */
.mind-switch {
  margin: 4px 0 18px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}
.mind-switch-head {
  display: flex; align-items: center;
  margin: 0 0 11px; padding: 0 2px;
}
.mind-switch-title {
  font: 600 12px/1 'Space Grotesk', sans-serif;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

/* Cards (div, not button, so we can nest action buttons inside) */
.mind-seg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: start; }
.ms-card {
  text-align: center; cursor: pointer;
  padding: 14px 13px; border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  transition: border-color .2s, background .2s, transform .12s, box-shadow .2s;
  user-select: none;
}
.ms-card:hover { background: rgba(255,255,255,.06); transform: translateY(-1px); }
.ms-card .ms-name {
  display: block;
  font: 700 13px/1.1 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 5px;
}
.ms-card .ms-tag {
  font: 700 8px/1 'Space Grotesk', sans-serif;
  letter-spacing: .08em; vertical-align: middle;
  color: rgba(255,255,255,.45); margin-left: 6px;
}
.ms-card .ms-desc {
  display: block;
  font: 500 11px/1.45 'Plus Jakarta Sans', sans-serif;
  color: rgba(255,255,255,.4);
}

/* Selected state — pure liquid glass, no colour */
.ms-card[data-active="1"] {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 6px 20px rgba(0,0,0,.25);
  transform: translateY(-1px);
}
.ms-card[data-active="1"] .ms-desc { color: rgba(255,255,255,.65); }

/* Neural-only action — Enter the Mind. Hidden until the Neural card is
   active; on activation, expands into a full-width rectangular button
   with slightly rounded corners. (Voice setup was removed from here —
   it now lives inside the Mind viewer's own actions row.) */
.ms-neural-actions {
  display: block; margin-top: 11px;
  overflow: hidden; max-height: 0;
  opacity: 0; pointer-events: none;
  transition: max-height .28s ease, opacity .22s ease, margin-top .2s ease;
}
.ms-card[data-active="1"] .ms-neural-actions {
  max-height: 56px; opacity: 1; pointer-events: auto;
}
.ms-enter-btn {
  display: block; width: 100%;
  font: 700 12.5px/1 'Space Grotesk', sans-serif; letter-spacing: .02em;
  padding: 11px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  transition: background .18s, border-color .18s;
}
.ms-enter-btn:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.34); }
.ms-enter-btn[disabled] { opacity: .35; cursor: not-allowed; pointer-events: none; }

@media (max-width: 560px) { .mind-seg { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════
   INTERVIEW CONSOLE — inline bar that replaces .mv-actions + .mvc-form
   when the user clicks "Voice setup". Same liquid-glass recipe as the
   composer. Single horizontal row: mic → status → topic picker → meta
   → start/end → billing copy → dismiss.
   ──────────────────────────────────────────────────────────────────── */
#sojMindViewer .mv-iv-console {
  width: 100%; pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 18px;
  padding: 8px 10px 8px 10px;
  box-shadow:
    0 28px 64px -18px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(0, 0, 0, .10);
  color: var(--text, #fff);
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

/* The mic + status cluster is one tight unit; gap to the set-picker
   collapses dead space between Voice/Ready and the rest of the row. */
#sojMindViewer .mv-iv-console .iv-mic + .iv-stat { margin-right: 4px; }
#sojMindViewer .mv-iv-console .iv-stat { min-width: 0; }

/* Mic — round liquid-glass button. Pulses when live. */
#sojMindViewer .mv-iv-console .iv-mic {
  width: 34px; height: 34px; min-width: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .92);
  cursor: default;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  transition: box-shadow .25s, background .25s;
}
#sojMindViewer .mv-iv-console[data-stage="live"] .iv-mic {
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 4px rgba(255,255,255,.06), 0 0 18px rgba(255,255,255,.18);
  animation: sojIvPulse 1.4s ease-in-out infinite;
}
@keyframes sojIvPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

/* Status block — VOICE / Ready */
#sojMindViewer .mv-iv-console .iv-stat { display: flex; flex-direction: column; gap: 3px; flex: 0 0 auto; min-width: 0; }
#sojMindViewer .mv-iv-console .iv-eyebrow {
  font: 700 9.5px/1 'Space Grotesk', sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
#sojMindViewer .mv-iv-console .iv-state {
  font: 600 13.5px/1.1 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .92);
}
#sojMindViewer .mv-iv-console[data-stage="error"] .iv-state { color: rgba(252, 165, 165, .95); }

/* Topic picker — pill that opens a menu of interview sets. */
#sojMindViewer .mv-iv-console .iv-set { position: relative; }
#sojMindViewer .mv-iv-console .iv-set-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .92);
  font: 600 13px/1 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
#sojMindViewer .mv-iv-console .iv-set-btn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }
#sojMindViewer .mv-iv-console .iv-set-chev { display: inline-flex; opacity: .6; }
/* Pure liquid-glass dropdown — the dropdown sits on top of the console
   bar, which itself has backdrop-filter. To make the glass actually read
   as glass (rather than a flat dim panel), it needs a higher tint and
   stronger saturation than the console bar AND a real semi-opaque base
   so the blur has something to operate against. */
/* Topic picker — PORTALED to <body> when open (see mind-ui.js) so it sits
   outside .mv-iv-console's backdrop-filter and its blur frosts the wallpaper
   directly: true pure liquid glass like the trait tooltip, not translucent.
   Rules are unscoped so they still apply once the menu is moved to <body>.
   Position is set inline by JS. */
.iv-set-menu {
  position: fixed; z-index: 2147483000;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(72px) saturate(1.6) brightness(1.05);
  backdrop-filter: blur(72px) saturate(1.6) brightness(1.05);
  border-radius: 16px; padding: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .20),
    inset 0 -1px 0 rgba(0, 0, 0, .12),
    0 22px 54px -16px rgba(0, 0, 0, .55);
}
.iv-set-opt {
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
  transition: background .12s, border-color .12s;
  border: 1px solid transparent;
}
.iv-set-opt:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255,255,255,.22); }
.iv-set-opt.on { background: rgba(255, 255, 255, .16); border-color: rgba(255,255,255,.3); }
.iv-set-opt.done .iv-set-opt-name { color: rgba(255,255,255,.85); }
.iv-set-opt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.iv-set-opt-name { font: 600 13px/1.2 'Plus Jakarta Sans', sans-serif; color: #fff; }
.iv-set-opt-hint { font: 500 11px/1.35 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.72); }
.iv-set-resume {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font: 700 9.5px/1 'Space Grotesk', sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
}
.iv-set-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  flex: 0 0 20px;
}

/* SESSION / BALANCE blocks */
#sojMindViewer .mv-iv-console .iv-meta {
  display: flex; flex-direction: column; gap: 3px; min-width: 56px;
}
#sojMindViewer .mv-iv-console .iv-meta-label {
  font: 700 9.5px/1 'Space Grotesk', sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
#sojMindViewer .mv-iv-console .iv-meta-val {
  font: 600 13.5px/1.1 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .92);
  font-variant-numeric: tabular-nums;
}

/* Start / End session — pill with cost suffix. */
#sojMindViewer .mv-iv-console .iv-start {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 8px 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .95);
  font: 700 12.5px/1 'Space Grotesk', sans-serif; letter-spacing: .02em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
#sojMindViewer .mv-iv-console .iv-start:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }
#sojMindViewer .mv-iv-console .iv-start[disabled] { opacity: .5; cursor: wait; }
#sojMindViewer .mv-iv-console .iv-start-cost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px 4px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  font: 600 11.5px/1 'Space Grotesk', sans-serif;
  color: rgba(255, 255, 255, .9);
}
#sojMindViewer .mv-iv-console .iv-start-cost .iv-coin-svg {
  width: 13px; height: 13px; flex: 0 0 13px; color: rgba(255,255,255,.85);
}
/* Real coin image — replaces the placeholder concentric-circles SVG so
   the branded Vortex/Joy coin actually reads in the start-cost pill. */
#sojMindViewer .mv-iv-console .iv-start-cost .iv-coin-img {
  width: 15px; height: 15px; flex: 0 0 15px;
  display: block;
  object-fit: contain;
  /* tiny inset so the coin's pixel rim doesn't kiss the pill border */
  margin: 0 1px 0 0;
}
#sojMindViewer .mv-iv-console .iv-start.end {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(255, 255, 255, .14);
}

/* Billing copy — small caption to the right. */
#sojMindViewer .mv-iv-console .iv-info {
  font: 500 11.5px/1.4 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .5);
  flex: 1 1 auto; min-width: 0;
  max-width: 360px;
}

/* Dismiss × — round button on the far right. */
#sojMindViewer .mv-iv-console .iv-x {
  width: 32px; height: 32px; min-width: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .15s, border-color .15s;
  margin-left: auto;
}
#sojMindViewer .mv-iv-console .iv-x:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }

/* Check-in console — the "ck-feeling" input is the optional mood-in field. */
#sojMindViewer .mv-ck-console .ck-feeling {
  flex: 1 1 auto; min-width: 0; max-width: 320px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: var(--text, #fff);
  font: 500 12.5px/1 'Plus Jakarta Sans', sans-serif;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
#sojMindViewer .mv-ck-console .ck-feeling::placeholder { color: rgba(255, 255, 255, .42); font-style: italic; }
#sojMindViewer .mv-ck-console .ck-feeling[disabled] { opacity: .5; }

/* Narrow screens — wrap the billing copy off, keep the controls in line. */
@media (max-width: 1100px) {
  #sojMindViewer .mv-iv-console .iv-info { display: none; }
}
@media (max-width: 760px) {
  #sojMindViewer .mv-iv-console { flex-wrap: wrap; row-gap: 10px; }
  #sojMindViewer .mv-iv-console .iv-set-menu { left: auto; right: 0; }
}

/* ── Voice interview overlay (transparent — platform theme shows) ──── */
#sojMindInterview {
  position: fixed; inset: 0; z-index: 100050;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .35s;
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}
#sojMindInterview.on { opacity: 1; }
#sojMindInterview .iv-card { width: 100%; max-width: 440px; text-align: center; }
#sojMindInterview .iv-orb {
  width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 24px 60px rgba(0,0,0,.4);
  animation: sojIvIdle 3s ease-in-out infinite;
}
#sojMindInterview .iv-orb[data-live="1"] { animation: sojIvLive 1.6s ease-in-out infinite; }
@keyframes sojIvIdle { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes sojIvLive { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
#sojMindInterview .iv-status { font: 700 19px/1.3 'Plus Jakarta Sans', sans-serif; color: #fff; margin-bottom: 14px; }
#sojMindInterview .iv-cap { font: 500 15px/1.55 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.7); min-height: 48px; margin-bottom: 18px; }
#sojMindInterview .iv-hint { font: 500 11px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.3); margin-bottom: 22px; }
#sojMindInterview .iv-end {
  padding: 13px 30px; border-radius: 12px; cursor: pointer;
  font: 700 14px/1 'Space Grotesk', sans-serif; color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

/* ── One-time mode chooser (deprecated but kept for parity) ────────── */
#sojMindGate {
  position: fixed; inset: 0; z-index: 100020;
  display: flex; align-items: center; justify-content: center; padding: 22px;
  background: rgba(0, 0, 0, .45);
}
#sojMindGate .mg-card {
  width: 100%; max-width: 720px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 22px; padding: 34px 32px 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.16);
}
#sojMindGate h2 { font: 700 23px/1.2 'Plus Jakarta Sans', sans-serif; color: #fff; margin: 0 0 6px; text-align: center; }
#sojMindGate .mg-sub { font: 500 13px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .55); text-align: center; margin: 0 0 24px; }
#sojMindGate .mg-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 22px; }
#sojMindGate .mg-opt {
  cursor: pointer; padding: 18px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .18s, background .18s, transform .12s;
}
#sojMindGate .mg-opt:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .06); }
#sojMindGate .mg-opt[data-active="1"] {
  border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08);
}
#sojMindGate .mg-name { font: 700 15px/1.2 'Plus Jakarta Sans', sans-serif; color: #fff; margin-bottom: 7px; }
#sojMindGate .mg-tag { display: inline-block; font: 700 8px/1 'Space Grotesk', sans-serif; letter-spacing: .08em; color: rgba(255, 255, 255, .55); margin-bottom: 8px; }
#sojMindGate .mg-desc { font: 500 12px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .5); }
#sojMindGate .mg-foot { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
#sojMindGate .mg-note { font: 500 11px/1.45 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .35); max-width: 60%; }
#sojMindGate .mg-go {
  padding: 14px 28px; border-radius: 12px; cursor: pointer;
  font: 700 14px/1 'Space Grotesk', sans-serif; letter-spacing: .02em; color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
@media (max-width: 600px) { #sojMindGate .mg-grid { grid-template-columns: 1fr; } #sojMindGate .mg-note { max-width: 100%; } #sojMindGate .mg-foot { flex-direction: column; align-items: stretch; } }

/* ════════════════════════════════════════════════════════════════════
   MIND CURTAIN — body.mind-open hides every platform surface except:
     • the Mind UI itself (#sojMind* / #sojBurnConfirm)
     • the platform's animated theme background (.bg-stage / .bg-playback)
     • the FULL header (brand + tabs + Menu + coins + account etc.)
     • script / style / template tags
   The header passes through UNCHANGED — every tab, pill, and button in
   it operates exactly as it does anywhere else. Clicking a tab (Chat /
   Visual Studio / Music Studio / Vibe Code) auto-closes the viewer in
   mind-ui.js so the chosen engine takes over cleanly.
   ──────────────────────────────────────────────────────────────────── */
/* Whitelist note: any overlay that's appended to <body> from inside the
   viewer (framework disclosure, burn confirm, mode gate, etc.) must be
   listed here, otherwise this curtain hides it the instant it lands —
   the click "does nothing" because the overlay is rendered invisible.
   #sojFrameworkDisclosure (first-time Voice Setup gate) was missing and
   silently broke Voice Setup for every new user. */
html body.mind-open > *:not(#sojMindViewer):not(#sojMindInterview):not(#sojMindGate):not(#sojMindToast):not(#sojMindDot):not(#sojBurnConfirm):not(#sojFrameworkDisclosure):not(.mvz-tip-portal):not(.iv-set-menu):not(.bg-stage):not(.bg-playback):not(header.header):not(.header):not(script):not(style):not(template) {
  display: none !important;
  visibility: hidden !important;
}
/* Theme background stays click-through so the canvas catches drag-orbit. */
html body.mind-open .bg-stage { pointer-events: none !important; }
/* Header lives ABOVE the viewer so its pills (tabs / coins / account)
   remain clickable while the viewer canvas is on screen. */
html body.mind-open .header { position: relative; z-index: 100031; }

/* ════════════════════════════════════════════════════════════════════
   ENTER THE MIND — full-screen viewer
   Pure liquid glass. NO color, NO blur overlay on the viewport itself —
   the platform's live theme background shines through. Every surface
   uses the canonical .lg-glass-input recipe (subtle white tint + thin
   border + soft drop shadow + saturate). z-index sits above My Account
   modal (which gets 100001 !important from _overrides.css).
   ──────────────────────────────────────────────────────────────────── */
#sojMindViewer {
  position: fixed; inset: 0; z-index: 100030;
  background: transparent;
  font-family: var(--font-body, 'Plus Jakarta Sans'), ui-sans-serif, system-ui, sans-serif;
  opacity: 0; transition: opacity .35s;
}
#sojMindViewer.on { opacity: 1; }

/* ── Brain focal stage ─────────────────────────────────────────────
   The 3D brain was originally designed against a flat black backdrop.
   With colourful animated theme orbs running behind everything, the
   spheres + edges can wash out against a bright orb. The fix is NOT
   to force a black background — it's to put a soft radial vignette
   centred on the brain. This creates a "spotlight" that quietly
   pulls focus inward, while the theme orbs at the edges stay fully
   vibrant and unblurred. The brain pops on any theme, light or dark.
   pointer-events:none so it never blocks canvas drag-orbit. */
#sojMindViewer::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at center,
      rgba(0, 0, 0, .55) 0%,
      rgba(0, 0, 0, .42) 24%,
      rgba(0, 0, 0, .22) 50%,
      rgba(0, 0, 0, 0)   78%);
}
#sojMindViewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }

/* Search input + close button now live inside .mv-actions — see below. */

/* [hidden] guard — see comment above .mv-modal. Without this the empty
   state stays visible even after build3D loads engrams, because
   display:flex outranks the UA stylesheet's [hidden] { display:none }. */
#sojMindViewer .mv-empty[hidden] { display: none !important; }
#sojMindViewer .mv-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; color: rgba(255, 255, 255, .55); font: 500 14px/1.6 'Plus Jakarta Sans', sans-serif;
  pointer-events: none; padding: 40px;
}

/* Memory inspector panel — top right, liquid glass. */
#sojMindViewer .mv-panel {
  position: absolute; top: 76px; right: 22px; z-index: 3; width: 300px; max-width: calc(100vw - 44px);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 14px; padding: 18px;
  box-shadow: 0 28px 64px -18px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.16);
  transform: translateX(20px); opacity: 0;
  pointer-events: none; transition: opacity .2s, transform .2s;
}
#sojMindViewer .mv-panel.on { transform: none; opacity: 1; pointer-events: auto; }
#sojMindViewer .mv-panel .mp-type { font: 700 11.5px/1.2 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
#sojMindViewer .mv-panel .mp-content { font: 600 16.5px/1.5 'Plus Jakarta Sans', sans-serif; color: var(--text, #fff); margin: 10px 0 14px; }
#sojMindViewer .mv-panel .mp-meta { font: 500 13px/1.6 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .62); margin-bottom: 14px; }
#sojMindViewer .mv-panel .mp-conflict { font: 600 12px/1.4 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.7); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; padding: 9px 11px; margin-bottom: 12px; }
#sojMindViewer .mv-panel .mp-conflict-h { font: 700 11px/1.3 'Space Grotesk', sans-serif; letter-spacing: .03em; color: rgba(255,255,255,.82); }
#sojMindViewer .mv-panel .mp-conflict-other { margin: 7px 0; padding: 7px 10px; border-left: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.05); border-radius: 6px; font: 500 13px/1.45 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.88); }
#sojMindViewer .mv-panel .mp-conflict-q { font: 500 11.5px/1.4 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.6); }
/* Dream-derived memories are AI reflections, not stated facts — frame them gently
   (lavender, matching the "dream" accent) so they read as tentative, never authoritative. */
#sojMindViewer .mv-panel .mp-dream-note { margin: 10px 0 2px; padding: 8px 11px; border-radius: 9px; background: rgba(167,139,250,.08); border: 1px solid rgba(167,139,250,.22); color: rgba(233,228,245,.82); font: 500 11.5px/1.45 'Plus Jakarta Sans', sans-serif; }

/* ── Conflict switcher — two tappable memory circles below the card. The user
   flips between the two disagreeing memories here; the network is never moved.
   Active circle = animated pulse + lift; the other stays still. ───────────── */
#sojMindViewer .mv-panel .mp-switch {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 14px 12px;
  margin: 12px 0 8px;
}
#sojMindViewer .mv-panel .mp-switch-circle {
  --aura: rgba(255,255,255,.5);
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  width: 92px; padding: 0; color: inherit;
}
#sojMindViewer .mv-panel .mp-switch-disc {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.5), rgba(255,255,255,.08) 62%),
    rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 18px rgba(0,0,0,.34);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
  transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .32s, opacity .32s, border-color .32s;
}
#sojMindViewer .mv-panel .mp-switch-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--aura); box-shadow: 0 0 11px var(--aura), 0 0 24px var(--aura);
  transition: box-shadow .32s, transform .32s;
}
#sojMindViewer .mv-panel .mp-switch-label {
  font: 600 11px/1 'Space Grotesk', sans-serif; letter-spacing: .05em;
  text-transform: capitalize; color: rgba(255,255,255,.6); transition: color .3s, opacity .3s;
}
#sojMindViewer .mv-panel .mp-switch-snip {
  font: 500 10px/1.28 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.42);
  max-width: 92px; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Inactive: smaller, dimmer, perfectly still. Hover gives a small lift. */
#sojMindViewer .mv-panel .mp-switch-circle:not(.is-active) .mp-switch-disc { transform: scale(.82); opacity: .6; }
#sojMindViewer .mv-panel .mp-switch-circle:not(.is-active):hover .mp-switch-disc { transform: scale(.92); opacity: .9; }
#sojMindViewer .mv-panel .mp-switch-circle:focus-visible .mp-switch-disc { outline: 2px solid #fff; outline-offset: 3px; }   /* white ring guarantees ≥3:1 contrast even on dim/inactive circles */
/* Active: lifted, brighter rim, animated pulse ring. */
#sojMindViewer .mv-panel .mp-switch-circle.is-active .mp-switch-disc {
  transform: scale(1.06); border-color: var(--aura);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 24px rgba(0,0,0,.4), 0 0 0 1px var(--aura);
}
#sojMindViewer .mv-panel .mp-switch-circle.is-active .mp-switch-dot { box-shadow: 0 0 14px var(--aura), 0 0 34px var(--aura); }
#sojMindViewer .mv-panel .mp-switch-circle.is-active .mp-switch-label { color: rgba(255,255,255,.95); }
#sojMindViewer .mv-panel .mp-switch-circle.is-active .mp-switch-disc::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--aura); animation: mpSwitchPulse 1.9s cubic-bezier(.16,1,.3,1) infinite;
}
@keyframes mpSwitchPulse {
  0%   { transform: scale(1);    opacity: .65; }
  70%  { transform: scale(1.38); opacity: 0; }
  100% { transform: scale(1.38); opacity: 0; }
}
#sojMindViewer .mv-panel .mp-switch-vs {
  align-self: center; margin-top: 14px;
  font: 700 10px/1 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.5); padding: 4px 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05);
}
#sojMindViewer .mv-panel .mp-switch-hint { text-align: center; font: 500 11px/1.4 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.5); margin-top: 2px; }
@media (prefers-reduced-motion: reduce) {
  #sojMindViewer .mv-panel .mp-switch-circle.is-active .mp-switch-disc::after { animation: none; opacity: .5; }
}

#sojMindViewer .mv-panel .mp-acts { display: flex; gap: 8px; flex-wrap: wrap; }
#sojMindViewer .mv-panel .mp-acts button {
  flex: 1; min-width: 80px; padding: 9px 10px; border-radius: 10px; cursor: pointer;
  font: 600 12px/1 'Space Grotesk', sans-serif; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .03); color: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .15s, border-color .15s;
}
#sojMindViewer .mv-panel .mp-acts button:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .3); }

/* ── Bottom composer — messages → action pills → wide input bar.
   Spec: 30px gap each side; exactly 8px from screen bottom to input bar
   and exactly 8px from action pills row to input bar. */
#sojMindViewer .mv-chat {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 0 30px 8px; pointer-events: none;
}
#sojMindViewer .mvc-msgs {
  width: 100%; max-height: 34vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px;
  pointer-events: auto;
}
#sojMindViewer .mvc-msg {
  max-width: 82%; padding: 10px 14px; border-radius: 14px;
  font: 500 14px/1.5 'Plus Jakarta Sans', sans-serif;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: var(--text, #fff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
#sojMindViewer .mvc-msg.user { align-self: flex-end; }
#sojMindViewer .mvc-msg.mind { align-self: flex-start; }

/* Action pills — sit ABOVE the composer, left-aligned to its left edge.
   Exactly 8px between this row and the input bar below. */
#sojMindViewer .mv-actions[hidden] { display: none !important; }
#sojMindViewer .mv-actions {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  align-self: flex-start;     /* left-aligned to the composer's left edge */
  pointer-events: auto;
  flex-wrap: wrap;
}
#sojMindViewer .mv-actions button {
  cursor: pointer;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: rgba(255, 255, 255, .96);
  font: 700 13.5px/1 'Space Grotesk', sans-serif; letter-spacing: .015em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .15s, border-color .15s;
}
#sojMindViewer .mv-actions button:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .3);
}
/* Wipe stays liquid glass — the confirm dialog carries the intent. */
#sojMindViewer .mv-actions button.danger { color: rgba(255, 255, 255, .85); }

/* Search icon — round glass button. Clicking it reveals .mv-search and
   adds .on; clicking again hides it and clears the query. */
#sojMindViewer .mv-actions .mv-search-btn {
  width: 32px; height: 32px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .15s, border-color .15s;
}
#sojMindViewer .mv-actions .mv-search-btn:hover,
#sojMindViewer .mv-actions .mv-search-btn.on {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .3);
}

/* Search input — only visible when the icon toggles it on. */
#sojMindViewer .mv-actions .mv-search {
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: var(--text, #fff);
  font: 500 12px/1 'Plus Jakarta Sans', sans-serif;
  outline: none;
  width: 188px; min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition: background .15s, border-color .15s, width .15s;
}
#sojMindViewer .mv-actions .mv-search[hidden] { display: none; }
#sojMindViewer .mv-actions .mv-search::placeholder { color: rgba(255, 255, 255, .45); font-style: italic; }
#sojMindViewer .mv-actions .mv-search:focus {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .3);
  width: 208px;
}

/* The composer — one wide horizontal bar spanning the chat container.
   Matches the canonical .lg-glass-input recipe. */
#sojMindViewer .mvc-form[hidden] { display: none !important; }
#sojMindViewer .mvc-form {
  width: 100%; pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 18px;
  padding: 8px 8px 8px 22px;
  box-shadow:
    0 28px 64px -18px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(0, 0, 0, .10);
  transition: border-color .15s, box-shadow .15s;
}
#sojMindViewer .mvc-form:focus-within {
  border-color: rgba(255, 255, 255, .45);
  box-shadow:
    0 28px 64px -18px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(0, 0, 0, .10),
    0 0 0 3px rgba(255, 255, 255, .08);
}
#sojMindViewer .mvc-input {
  flex: 1 1 auto; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--text, #fff);
  font: 500 14.5px/1.45 'Plus Jakarta Sans', sans-serif;
  padding: 8px 0;
}
#sojMindViewer .mvc-input::placeholder { color: rgba(255, 255, 255, .42); font-style: italic; }
/* Map-use indicator on the Mind chat composer. Tiny dot, click for info. */
#sojMindViewer .mvc-form .mvc-map-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .08), 0 0 10px rgba(255, 255, 255, .35);
  cursor: pointer;
  flex: 0 0 7px;
  align-self: center;
  margin-right: 4px;
  animation: sojMindPulse 3.2s ease-in-out infinite;
}

#sojMindViewer .mvc-send {
  width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: var(--text, #fff); font-size: 18px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: background .15s, border-color .15s;
  flex: 0 0 auto;
}
#sojMindViewer .mvc-send:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }

/* Narrow viewports — tighten side padding so the bar still spans. */
@media (max-width: 480px) {
  #sojMindViewer .mv-chat { padding: 0 16px 8px; }
  #sojMindViewer .mv-hud { right: 16px; max-width: 80vw; }
}

/* Memory-action modal (Fingerprint / etc.) — neutral glass card.
   IMPORTANT: the [hidden] guard is REQUIRED. Without it, this rule's
   `display: flex` overrides the UA stylesheet's `[hidden] { display: none }`
   (which has no !important), and the modal stays visible AND intercepts
   every click — blocking the action buttons, the chat composer, the
   canvas, everything. Same trap applies to .mv-empty, .mv-actions and
   .mvc-form below — all need their own [hidden] guards. */
#sojMindViewer .mv-modal[hidden] { display: none !important; }
#sojMindViewer .mv-modal {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  /* Backdrop is FULLY TRANSPARENT — no dim layer, no blur, no tint.
     The .modal-open class on the viewer wraps already hides the canvas
     / composer / panel / header behind, so only two things remain on
     screen when a popup is open: the natural animated theme background
     (the orbs) and the popup card itself. The orbs keep running
     unblurred. When the popup closes, the canvas / composer / panel
     return. This is the "standard popup" the brief asked for. */
  background: transparent;
  padding: 28px;
}

/* ── Standard popup behaviour ─────────────────────────────────────────
   While a modal is open, fade out everything else in the viewer so the
   popup owns the screen — including the platform header above it.
   Removing .modal-open restores them. The fade is short so opening /
   closing feels instant but not jarring. */
#sojMindViewer canvas,
#sojMindViewer .mv-chat,
#sojMindViewer .mv-panel {
  transition: opacity .22s ease;
}
#sojMindViewer.modal-open canvas,
#sojMindViewer.modal-open .mv-chat,
#sojMindViewer.modal-open .mv-panel {
  opacity: 0 !important;
  pointer-events: none !important;
}
/* When ANY modal is open in the viewer, also hide the platform header
   strip (tabs / coins / account). Selector chains through the html so
   the rule sits at high enough specificity to override .mind-open's
   z-index push on .header. The .header stays in DOM (we don't want
   layout shift) — just fades out and stops catching clicks. */
html body.mind-open header.header,
html body.mind-open .header {
  transition: opacity .22s ease;
}
html body.mind-modal-open header.header,
html body.mind-modal-open .header {
  opacity: 0 !important;
  pointer-events: none !important;
}
#sojMindViewer .mvm-card {
  position: relative; width: 100%; max-width: 880px; max-height: 86vh; overflow: auto;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 22px; padding: 34px 38px 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.16);
}
#sojMindViewer .mvm-x {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  color: var(--text, #fff); cursor: pointer; font-size: 15px;
}
#sojMindViewer .mvm-h { font: 700 22px/1.2 'Plus Jakarta Sans', sans-serif; color: var(--text, #fff); margin: 0 0 18px; letter-spacing: -.01em; }
#sojMindViewer .mvm-text { font: 500 15px/1.65 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.88); white-space: pre-wrap; }
#sojMindViewer .mvm-load { font: 600 15px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255,255,255,.72); text-align: center; padding: 30px 0; }
#sojMindViewer .mvm-btn {
  margin-top: 16px; padding: 10px 18px; border-radius: 10px; cursor: pointer;
  font: 600 13px/1 'Space Grotesk', sans-serif; color: var(--text, #fff);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
}

/* ── Evaluation card — the reflective psychological reading ───────── */
#sojMindViewer .ev-head { margin-bottom: 16px; }
#sojMindViewer .ev-eyebrow {
  font: 700 12px/1.2 'Space Grotesk', sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 7px;
}
#sojMindViewer .ev-meta {
  font: 600 13.5px/1.55 'Plus Jakarta Sans', sans-serif;
  color: rgba(255,255,255,.74);
  margin-top: 6px;
}
#sojMindViewer .ev-body {
  font: 500 16px/1.75 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .94);
}
#sojMindViewer .ev-body .ev-h {
  font: 700 15px/1.25 'Space Grotesk', sans-serif;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  margin-top: 18px;
  margin: 26px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
#sojMindViewer .ev-body .ev-h:first-child { margin-top: 0; }
#sojMindViewer .ev-body .ev-p { margin: 0 0 14px; }
#sojMindViewer .ev-body .ev-p:last-child { margin-bottom: 0; }
#sojMindViewer .ev-body .ev-bq {
  margin: 14px 0; padding: 14px 18px;
  border-left: 2px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .03);
  border-radius: 10px;
  color: rgba(255, 255, 255, .9);
  /* No italic — let the border + indent + colour shift carry the quote
     feel. Italic on long quoted blocks reads as fussy. */
}
#sojMindViewer .ev-body strong { color: #fff; font-weight: 700; }
#sojMindViewer .ev-body em { color: rgba(255, 255, 255, .9); font-style: normal; font-weight: 600; }
#sojMindViewer .ev-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
#sojMindViewer .ev-actions .mvm-btn {
  margin-top: 0;
  padding: 9px 14px; font-size: 12px;
}
#sojMindViewer .ev-correct {
  display: block; width: 100%; box-sizing: border-box;
  margin: 14px 0 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: #fff;
  font: 500 13.5px/1.5 'Plus Jakarta Sans', sans-serif;
  resize: vertical;
  outline: none;
}
#sojMindViewer .ev-correct::placeholder { color: rgba(255,255,255,.4); font-style: italic; }
/* Map visualization — radar + Schwartz bars. Pure liquid glass. */
#sojMindViewer .mvz-wrap {
  display: grid; grid-template-columns: 300px 1fr; gap: 30px;
  padding: 22px 24px; margin-bottom: 24px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 14px;
}
@media (max-width: 620px) { #sojMindViewer .mvz-wrap { grid-template-columns: 1fr; } }
#sojMindViewer .mvz-wrap > .fw-head { grid-column: 1 / -1; margin: 0; }
#sojMindViewer .mvz-radar { text-align: center; }
#sojMindViewer .mvz-radar svg { display: block; margin: 4px auto 0; }
#sojMindViewer .mvz-h {
  font: 700 12px/1.2 'Space Grotesk', sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 14px;
}
#sojMindViewer .mvz-vals { display: flex; flex-direction: column; gap: 12px; }
#sojMindViewer .mvz-bar { display: grid; grid-template-columns: 140px 1fr 48px; align-items: center; gap: 12px; }
#sojMindViewer .mvz-bar-label {
  font: 700 14px/1.2 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .94);
  text-transform: capitalize;
}
#sojMindViewer .mvz-bar-track {
  height: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
}
#sojMindViewer .mvz-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.78), rgba(255,255,255,.4));
  border-radius: 999px;
  transition: width .35s ease;
}
#sojMindViewer .mvz-bar-pct {
  font: 700 12.5px/1 'Space Grotesk', sans-serif;
  color: rgba(255, 255, 255, .8);
  letter-spacing: .03em;
  text-align: right;
}

/* ── Extended psych framework cards (attachment, archetypes, mindset,
   narrative, time, locus, flow…) — labelled grid of liquid-glass tiles
   beneath the OCEAN radar. */
#sojMindViewer .mvz-cards {
  margin-top: 6px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 18px;
  margin-bottom: 24px;
}
#sojMindViewer .mvz-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
#sojMindViewer .mvz-card {
  padding: 16px 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
}
#sojMindViewer .mvz-card-label {
  font: 700 11.5px/1.2 'Space Grotesk', sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
}
#sojMindViewer .mvz-card-value {
  font: 700 15px/1.5 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .96);
  letter-spacing: -.005em;
}
#sojMindViewer .mvz-card-note {
  font: 700 10.5px/1.3 'Space Grotesk', sans-serif;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .12em; text-transform: uppercase;
  margin-top: 10px;
}

/* Calibration — 3 verify cards after the evaluation. */
#sojMindViewer .ev-calibrate {
  margin: 26px 0 4px; padding: 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 14px;
}
#sojMindViewer .ev-cal-h {
  font: 700 13px/1.2 'Space Grotesk', sans-serif;
  letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 4px;
}
#sojMindViewer .ev-cal-sub {
  font: 500 12px/1.5 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 14px;
}
#sojMindViewer .ev-cal-card {
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 8px;
}
#sojMindViewer .ev-cal-card:last-child { margin-bottom: 0; }
#sojMindViewer .ev-cal-card[data-verdict] {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .07);
}
#sojMindViewer .ev-cal-text {
  font: 500 14px/1.5 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 10px;
}
#sojMindViewer .ev-cal-verdict { display: flex; gap: 6px; }
#sojMindViewer .ev-cal-btn {
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .8);
  font: 600 11.5px/1 'Space Grotesk', sans-serif;
  transition: background .15s, border-color .15s;
}
#sojMindViewer .ev-cal-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .28);
}
#sojMindViewer .ev-cal-btn.on {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}
#sojMindViewer .ev-cal-btn:disabled:not(.on) { opacity: .35; cursor: default; }

/* History list */
#sojMindViewer .ev-hist { display: flex; flex-direction: column; gap: 10px; }
#sojMindViewer .ev-hist-row {
  padding: 14px 16px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .15s, border-color .15s;
}
#sojMindViewer .ev-hist-row:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
#sojMindViewer .ev-hist-when {
  font: 700 12px/1.2 'Space Grotesk', sans-serif;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 9px;
}
#sojMindViewer .ev-hist-preview {
  font: 500 14.5px/1.55 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .88);
}

/* Settings — per-engine toggles + framework note */
#sojMindViewer .set-group { display: flex; flex-direction: column; gap: 10px; }
#sojMindViewer .set-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 11px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
}
#sojMindViewer .set-row-label { display: flex; flex-direction: column; gap: 3px; }
#sojMindViewer .set-row-name {
  font: 700 15.5px/1.25 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .98);
}
#sojMindViewer .set-row-note {
  font: 500 13px/1.5 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .68);
}
#sojMindViewer .set-toggle {
  width: 44px; height: 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  position: relative; cursor: pointer;
  transition: background .18s, border-color .18s;
  flex: 0 0 44px;
  padding: 0;
}
#sojMindViewer .set-toggle-knob {
  position: absolute; top: 2px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  transition: left .18s, background .18s;
}
#sojMindViewer .set-toggle.on { background: rgba(255, 255, 255, .25); border-color: rgba(255, 255, 255, .4); }
#sojMindViewer .set-toggle.on .set-toggle-knob { left: 21px; background: #fff; }
#sojMindViewer .set-toggle.locked { opacity: .8; cursor: not-allowed; }
#sojMindViewer .set-toggle.locked.on { background: rgba(255, 255, 255, .14); }
#sojMindViewer .set-framework { margin-top: 12px; }

#sojMindViewer .ev-correct-section {
  display: block; width: 100%; box-sizing: border-box;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font: 500 13px/1 'Plus Jakarta Sans', sans-serif;
  outline: none;
  cursor: pointer;
}

/* ── Usage panel — Settings "Your usage" subsection ──────────────── */
#sojMindViewer .set-usage {
  margin-top: 14px;
}
#sojMindViewer .set-usage[data-usage-loading="1"] {
  font: 500 13.5px/1.5 'Plus Jakarta Sans', sans-serif;
  color: rgba(255,255,255,.55);
}
#sojMindViewer .usage-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 12px;
}
#sojMindViewer .usage-total-label {
  font: 700 11.5px/1 'Space Grotesk', sans-serif;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
#sojMindViewer .usage-total-amt {
  font: 700 22px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.005em;
  color: #fff;
}
#sojMindViewer .usage-list {
  display: flex; flex-direction: column; gap: 6px;
}
#sojMindViewer .usage-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 12px; align-items: center;
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .08);
  font: 600 13px/1.3 'Plus Jakarta Sans', sans-serif;
}
#sojMindViewer .usage-label { color: rgba(255,255,255,.92); }
#sojMindViewer .usage-calls { color: rgba(255,255,255,.55); font-weight: 500; font-size: 12px; }
#sojMindViewer .usage-cost  { color: rgba(255,255,255,.96); font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

/* ── Corner mode dot — RETIRED per K 2026-06-05 (mind-ui.js updateDot no
   longer creates it). display:none guard kept so any stale cached JS that
   still injects #sojMindDot renders nothing. ── */
#sojMindDot { display: none !important; }
#sojMindDot-retired {
  position: fixed; bottom: 18px; left: 18px; z-index: 9000;
  width: 11px; height: 11px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 0 16px rgba(255, 255, 255, .25);
  animation: sojMindPulse 3.2s ease-in-out infinite;
}
#sojMindDot[data-mode="burn"] { background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 4px rgba(255,255,255,.14), 0 0 16px rgba(255,255,255,.4); }
/* When something's waiting in the resurface queue, the dot pulses faster
   and brighter — a subtle "your mind has something to say" cue. */
#sojMindDot[data-alert="1"] {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .14), 0 0 22px rgba(255, 255, 255, .55);
  animation: sojMindAlert 1.6s ease-in-out infinite;
}
@keyframes sojMindPulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes sojMindAlert { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.4); opacity: 1; } }

/* ── Shared overlay card recipe (liquid glass) ──────────────────────
   Used by BOTH #sojBurnConfirm and #sojFrameworkDisclosure (and any
   future full-screen consent / disclosure card). Rules are namespaced
   to .sbc-back so any new overlay just needs the right HTML structure
   to inherit the look. */
.sbc-back {
  position: fixed; inset: 0; z-index: 100040;
  display: flex; align-items: center; justify-content: center; padding: 28px;
  /* Transparent backdrop — same rationale as .mv-modal above. The
     overlay's role is to put the card on screen and catch outside-
     clicks; it must never tint or blur the theme behind it. */
  background: transparent;
  opacity: 0; transition: opacity .25s;
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}
.sbc-back.on { opacity: 1; }
.sbc-back .sbc-card {
  width: 100%; max-width: 640px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 22px; padding: 36px 38px 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.16);
  transform: translateY(8px); transition: transform .3s;
}
.sbc-back.on .sbc-card { transform: none; }
.sbc-back .sbc-orb {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
/* Heading — larger and heavier than before so it reads as a title. */
.sbc-back .sbc-h {
  font: 700 24px/1.25 'Plus Jakarta Sans', sans-serif; color: #fff;
  margin-bottom: 14px; letter-spacing: -.01em;
}
.sbc-back .sbc-p {
  font: 500 15.5px/1.6 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 18px;
}
.sbc-back .sbc-p strong { color: #fff; font-weight: 700; }
.sbc-back .sbc-note {
  font: 500 14px/1.6 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 18px;
}
.sbc-back .sbc-note strong { color: #fff; font-weight: 700; }
.sbc-back .sbc-note a {
  color: rgba(255, 255, 255, .95); text-decoration: underline;
  text-underline-offset: 2px;
}
.sbc-back .sbc-opt {
  display: flex; align-items: flex-start; gap: 12px;
  font: 500 14px/1.55 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px; padding: 13px 16px; margin-bottom: 18px;
  cursor: pointer; user-select: none;
}
.sbc-back .sbc-opt input[type="checkbox"] {
  margin-top: 3px; accent-color: rgba(255,255,255,.85);
  width: 16px; height: 16px; flex: 0 0 16px;
}
.sbc-back .sbc-opt em { color: rgba(255, 255, 255, .55); font-style: italic; }
.sbc-back .sbc-actions {
  display: flex; gap: 12px; justify-content: flex-end;
  margin-top: 4px;
}
.sbc-back .sbc-cancel, .sbc-back .sbc-go {
  padding: 13px 22px; border-radius: 13px; cursor: pointer;
  font: 700 14px/1 'Space Grotesk', sans-serif; letter-spacing: .02em;
  transition: background .15s, border-color .15s, transform .12s;
}
.sbc-back .sbc-cancel {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .82);
}
.sbc-back .sbc-cancel:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
.sbc-back .sbc-go {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.sbc-back .sbc-go:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .18); }
@media (max-width: 540px) {
  .sbc-back .sbc-card { padding: 26px 20px 22px; }
  .sbc-back .sbc-h { font-size: 21px; }
}

/* ════════════════════════════════════════════════════════════════════
   AUTOBIOGRAPHY — panel + recording console.
   Pure liquid glass throughout, same recipe as every other surface.
   ──────────────────────────────────────────────────────────────────── */

#sojMindViewer .ab-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 18px; flex-wrap: wrap;
}
#sojMindViewer .ab-meta {
  font: 600 14px/1.55 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .76);
  margin-top: 6px;
}
#sojMindViewer .ab-actions-top { display: flex; gap: 10px; flex-wrap: wrap; }
#sojMindViewer .ab-actions-top .mvm-btn { margin-top: 0; font: 700 13.5px/1 'Space Grotesk', sans-serif; padding: 10px 18px; letter-spacing: .015em; }
#sojMindViewer .ab-record {
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .35) !important;
}
#sojMindViewer .ab-record:hover { background: rgba(255, 255, 255, .18) !important; }

#sojMindViewer .ab-empty {
  padding: 32px 24px; text-align: center;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
}
#sojMindViewer .ab-empty-h {
  font: 700 18px/1.3 'Plus Jakarta Sans', sans-serif; color: #fff;
  margin-bottom: 12px;
}
#sojMindViewer .ab-empty-p {
  font: 500 14px/1.6 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .72);
  max-width: 480px; margin: 0 auto 10px;
}

#sojMindViewer .ab-arc {
  padding: 18px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 14px;
}
#sojMindViewer .ab-arc-body {
  font: 500 14px/1.6 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .88);
}

#sojMindViewer .ab-grid {
  display: grid; grid-template-columns: 1.4fr 320px; gap: 22px;
}
@media (max-width: 720px) {
  #sojMindViewer .ab-grid { grid-template-columns: 1fr; }
}

#sojMindViewer .ab-chapters {
  padding: 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 14px;
}
#sojMindViewer .ab-chapter { margin-top: 18px; }
#sojMindViewer .ab-chapter:first-of-type { margin-top: 8px; }
#sojMindViewer .ab-chapter-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
#sojMindViewer .ab-chapter-num {
  width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  font: 700 12px/1 'Space Grotesk', sans-serif;
}
#sojMindViewer .ab-chapter-title { flex: 1 1 auto; min-width: 0; }
#sojMindViewer .ab-chapter-h {
  font: 700 18px/1.3 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .98);
  letter-spacing: -.005em;
}
#sojMindViewer .ab-chapter-period {
  font: 600 13px/1.4 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .62);
  margin-top: 4px;
}
#sojMindViewer .ab-chapter-stories {
  margin-left: 40px;
  display: flex; flex-direction: column; gap: 6px;
}
#sojMindViewer .ab-story-row {
  padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
#sojMindViewer .ab-story-row:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .2);
}
#sojMindViewer .ab-story-title {
  font: 700 16px/1.3 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .96);
  margin-bottom: 4px;
  letter-spacing: -.005em;
}
#sojMindViewer .ab-story-meta {
  font: 600 12.5px/1.4 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .62);
}

#sojMindViewer .ab-coverage,
#sojMindViewer .ab-cast,
#sojMindViewer .ab-themes {
  padding: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  border-radius: 14px;
  margin-bottom: 14px;
}
#sojMindViewer .ab-cov-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px;
  margin-bottom: 10px;
}
#sojMindViewer .ab-cov-row:last-child { margin-bottom: 0; }
#sojMindViewer .ab-cov-label { grid-column: 1 / -1; }
#sojMindViewer .ab-cov-name {
  font: 700 15px/1.2 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .96);
}
#sojMindViewer .ab-cov-range {
  font: 600 12px/1.3 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .6);
  margin-top: 2px;
}
#sojMindViewer .ab-cov-track {
  grid-column: 1 / 2;
  height: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  margin-top: 4px;
}
#sojMindViewer .ab-cov-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,.3));
  transition: width .35s;
}
#sojMindViewer .ab-cov-pct {
  grid-column: 2 / 3;
  font: 700 13px/1 'Space Grotesk', sans-serif;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .82);
  align-self: end;
  padding-bottom: 1px;
}

#sojMindViewer .ab-cast-list { display: flex; flex-direction: column; gap: 10px; }
#sojMindViewer .ab-cast-item {
  padding: 13px 15px; border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s;
}
#sojMindViewer .ab-cast-item:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .26);
  transform: translateY(-1px);
}
#sojMindViewer .ab-cast-name {
  font: 700 15px/1.2 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .98);
}
#sojMindViewer .ab-cast-mentions {
  font: 600 12px/1.4 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .6);
  margin-top: 3px;
}
#sojMindViewer .ab-cast-sketch {
  font: 500 13.5px/1.55 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .82);
  margin-top: 7px;
}

#sojMindViewer .ab-themes-list { display: flex; flex-wrap: wrap; gap: 6px; }
#sojMindViewer .ab-theme-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  font: 700 13px/1 'Space Grotesk', sans-serif;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
#sojMindViewer .ab-theme-pill:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
}
#sojMindViewer .ab-theme-mentions {
  font: 700 11.5px/1 'Space Grotesk', sans-serif;
  color: rgba(255, 255, 255, .65);
  padding-left: 6px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

/* ── Story view tab toggle: "Polished" vs "Your words" ─────────────
   Sits between the title and the body. Shows the user that there are
   two layers to every story: the ghostwriter's polished prose AND the
   verbatim recording of what they actually said. */
#sojMindViewer .ab-tabs {
  display: inline-flex; gap: 4px;
  padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  margin: 14px 0 18px;
}
#sojMindViewer .ab-tab {
  border: 0; background: transparent;
  color: rgba(255, 255, 255, .65);
  font: 600 12px/1 'Space Grotesk', sans-serif;
  letter-spacing: .04em;
  padding: 8px 14px; border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
#sojMindViewer .ab-tab:hover:not([disabled]) { color: rgba(255, 255, 255, .9); }
#sojMindViewer .ab-tab.on {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
#sojMindViewer .ab-tab[disabled] {
  opacity: .35; cursor: not-allowed;
}

/* Raw verbatim panel — the user's exact words from the recording. */
#sojMindViewer .ab-raw-banner {
  font: 700 9.5px/1.4 'Space Grotesk', sans-serif;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  padding: 9px 14px; margin-bottom: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px dashed rgba(255, 255, 255, .14);
}
#sojMindViewer .ab-raw-body {
  font: 500 16px/1.75 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .88);
  /* Reads as speech via the dashed banner above + looser line height,
     not via italic. Italic on long verbatim passages slowed reading
     and felt fussy. */
}
#sojMindViewer .ab-raw-body p { margin: 0 0 14px; }
#sojMindViewer .ab-raw-empty {
  font-style: normal;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}

/* History tabs strip — sits at the top of the unified History modal.
   Visually identical to the .ab-tabs in the story view; the .hi-tabs
   class is purely a hook for any future tab-specific tweaks. */
#sojMindViewer .ab-tabs.hi-tabs { margin: 6px 0 20px; flex-wrap: wrap; }
#sojMindViewer .hi-list { display: flex; flex-direction: column; gap: 10px; }
/* Inline verbatim renderer — interleaved AI / USER lines.
   Sans-serif throughout — the earlier fallback to Georgia/serif made
   the transcript read as italic / serif on systems where Plus Jakarta
   Sans isn't loaded, which is exactly the opposite of the brand. */
#sojMindViewer .hi-transcript {
  margin: 8px 0 4px;
  display: flex; flex-direction: column; gap: 10px;
  font: 500 15px/1.6 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
}
#sojMindViewer .hi-line {
  padding: 9px 14px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
}
#sojMindViewer .hi-line.hi-user {
  align-self: flex-end; max-width: 84%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
#sojMindViewer .hi-line.hi-ai {
  align-self: flex-start; max-width: 84%;
  background: rgba(255, 255, 255, .02);
  color: rgba(255, 255, 255, .82);
}
/* Mind chat thread renderer. */
#sojMindViewer .hi-chat-thread {
  display: flex; flex-direction: column; gap: 12px;
  margin: 8px 0 4px;
}
#sojMindViewer .hi-chat-msg {
  padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  font: 500 14px/1.55 'Plus Jakarta Sans', sans-serif;
  color: rgba(255, 255, 255, .88);
}
#sojMindViewer .hi-chat-msg.hi-chat-user { align-self: flex-end; max-width: 80%; }
#sojMindViewer .hi-chat-msg.hi-chat-mind { align-self: flex-start; max-width: 88%; }
#sojMindViewer .hi-chat-role {
  font: 700 9.5px/1 'Space Grotesk', sans-serif;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  margin-bottom: 6px;
}
#sojMindViewer .hi-chat-meta {
  margin-top: 8px;
  font: 700 10.5px/1 'Space Grotesk', sans-serif;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

#sojMindViewer .ab-story-tags {
  margin-top: 14px;
  font: 500 12px/1.6 'Plus Jakarta Sans', sans-serif;
}
#sojMindViewer .ab-story-tags-label {
  font: 700 9.5px/1 'Space Grotesk', sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-right: 6px;
}
#sojMindViewer .ab-tag {
  display: inline-block;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
  margin-right: 4px; margin-bottom: 4px;
  font-size: 11.5px;
}

#sojMindViewer .ab-edit-title {
  display: block; width: 100%; box-sizing: border-box;
  margin-bottom: 10px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  font: 700 14.5px/1.3 'Plus Jakarta Sans', sans-serif;
  outline: none;
}
#sojMindViewer .ab-edit-body { min-height: 280px; }

#sojMindViewer .ab-radio {
  width: 18px; height: 18px; border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .35);
  flex: 0 0 18px;
  position: relative;
}
#sojMindViewer .ab-radio.on::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: rgba(255, 255, 255, .9);
}
#sojMindViewer .set-row[data-depth] { cursor: pointer; }
#sojMindViewer .set-row[data-depth]:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); }

/* Recording console — Q&A / Free Talk toggle + topic input */
#sojMindViewer .mv-ab-console .ab-mode-toggle {
  display: inline-flex; padding: 3px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  gap: 2px;
}
#sojMindViewer .mv-ab-console .ab-mode-btn {
  padding: 6px 14px; border-radius: 999px;
  background: transparent; border: 0;
  color: rgba(255, 255, 255, .72);
  font: 600 11.5px/1 'Space Grotesk', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
#sojMindViewer .mv-ab-console .ab-mode-btn.on {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
#sojMindViewer .mv-ab-console .ab-mode-btn:disabled { opacity: .5; cursor: default; }
#sojMindViewer .mv-ab-console .ab-topic {
  flex: 1 1 auto; min-width: 120px; max-width: 280px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: var(--text, #fff);
  font: 500 12.5px/1 'Plus Jakarta Sans', sans-serif;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
#sojMindViewer .mv-ab-console .ab-topic::placeholder { color: rgba(255, 255, 255, .42); font-style: italic; }
#sojMindViewer .mv-ab-console .ab-topic[disabled] { opacity: .5; }
#sojMindViewer .mv-ab-console .ab-topic[hidden] { display: none; }

/* ── tiny toast on mode change (liquid glass, neutral) ─────────────── */
#sojMindToast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 99999; padding: 12px 20px; border-radius: 999px; opacity: 0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  color: #fff; font: 600 13px/1 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255,255,255,.18);
  transition: opacity .25s, transform .25s; pointer-events: none;
}
#sojMindToast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ════════════════════════════════════════════════════════════════════
   STATE-OF-MIND HEADER BUTTON  (#mindStateBtn)
   Sits in .header-circles, left of the sound toggle. Same liquid-glass
   chrome as the sound/theme circles. data-mode swaps the symbol:
     standard → sonar ripples (currentColor, matches the speaker icon)
     neural   → static net with signals firing + pulsing rings (teal)
     burn     → the whole button fills with a fast-spinning bed of flames
   All selectors are scoped to #mindStateBtn so nothing bleeds.
   ════════════════════════════════════════════════════════════════════ */
#mindStateBtn.mind-state-circle {
  width: 34px !important; height: 34px !important; padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  position: relative !important;
  /* overflow VISIBLE so the .mind-tip tooltip (sits below the button) isn't
     clipped. The animated content self-clips instead: .msb-burn already has
     its own border-radius:50%+overflow:hidden, and .ico is circle-clipped
     below — so nothing spills while the title can escape. */
  overflow: visible !important;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
  backdrop-filter: blur(20px) saturate(1.4) !important;
  cursor: pointer !important;
  transition: background .2s ease, border-color .2s ease !important;
}
#mindStateBtn.mind-state-circle:hover {
  background: rgba(255, 255, 255, .12) !important;
  border-color: rgba(255, 255, 255, .40) !important;
}
#mindStateBtn .ico {
  position: relative !important; display: flex !important;
  align-items: center !important; justify-content: center !important;
  width: 26px !important; height: 26px !important;
  border-radius: 50% !important; overflow: hidden !important;
  background: transparent !important; animation: none !important; transform: none !important;
}
#mindStateBtn:hover .ico { transform: none !important; }

/* state visibility */
#mindStateBtn .msb-svg { display: none !important; }
#mindStateBtn .msb-burn { display: none !important; }
#mindStateBtn[data-mode="standard"] .msb-standard { display: block !important; }
#mindStateBtn[data-mode="neural"] .msb-neural { display: block !important; }
#mindStateBtn[data-mode="burn"] .ico { display: none !important; }
#mindStateBtn[data-mode="burn"] .msb-burn { display: block !important; }

/* BURN fill — the whole button becomes fire and spins */
#mindStateBtn .msb-burn {
  position: absolute !important; inset: 0 !important;
  border-radius: 50% !important; overflow: hidden !important;
  background: #D8430C !important;
  animation: msbtnSpin 1.1s linear infinite !important;
  transform-origin: 50% 50% !important; will-change: transform !important;
}
#mindStateBtn .msb-burn svg { display: block !important; width: 100% !important; height: 100% !important; }

/* tooltip — identical recipe to .sound-tip */
#mindStateBtn .mind-tip {
  position: absolute !important; top: calc(100% + 6px) !important;
  left: 50% !important; right: auto !important;
  transform: translateX(-50%) translateY(-4px) !important;
  white-space: nowrap !important; max-width: calc(100vw - 24px) !important;
  padding: 6px 10px !important; border-radius: 999px !important;
  background: rgba(8, 8, 12, .78) !important; border: 1px solid rgba(255, 255, 255, .18) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4) !important; backdrop-filter: blur(20px) saturate(1.4) !important;
  color: #fff !important; font-family: var(--font-display) !important;
  font-size: 11px !important; font-weight: 700 !important; letter-spacing: .06em !important;
  opacity: 0 !important; pointer-events: none !important;
  transition: opacity .2s ease, transform .2s ease !important; z-index: 50 !important;
}
#mindStateBtn:hover .mind-tip, #mindStateBtn:focus-visible .mind-tip {
  opacity: 1 !important; transform: translateX(-50%) translateY(0) !important;
}

/* symbol animations */
#mindStateBtn .msb-ring { transform-box: fill-box; transform-origin: center; animation: msbtnRipple 3s ease-out infinite; }
#mindStateBtn .msb-core { transform-box: fill-box; transform-origin: center; animation: msbtnCore 3s ease-in-out infinite; }
#mindStateBtn .msb-nring { transform-box: fill-box; transform-origin: center; animation: msbtnNRing 2.8s ease-out infinite; }
#mindStateBtn .msb-node { transform-box: fill-box; transform-origin: center; animation: msbtnTwinkle 2.6s ease-in-out infinite; }
#mindStateBtn .msb-lick { transform-box: fill-box; transform-origin: 50% 100%; animation: msbtnLick .4s ease-in-out infinite; }

@keyframes msbtnRipple { 0% { transform: scale(.08); opacity: .95; } 70% { opacity: .2; } 100% { transform: scale(1); opacity: 0; } }
@keyframes msbtnCore { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.18); opacity: 1; } }
@keyframes msbtnNRing { 0% { transform: scale(.12); opacity: .6; } 100% { transform: scale(1); opacity: 0; } }
@keyframes msbtnTwinkle { 0%, 100% { transform: scale(.6); opacity: .45; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes msbtnLick { 0%, 100% { transform: scaleY(.72) scaleX(1.08); opacity: .78; } 45% { transform: scaleY(1.34) scaleX(.82); opacity: 1; } 75% { transform: scaleY(1) scaleX(1); opacity: .95; } }
@keyframes msbtnSpin { to { transform: rotate(360deg); } }

/* momentary inline disclaimer, pinned under the button on each switch */
#mindStateFlash {
  position: fixed; transform: translateY(-4px);
  padding: 9px 14px; border-radius: 12px; max-width: 240px; text-align: center;
  /* pure liquid glass — translucent, frosted, no solid fill or accent colours */
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .30);
  -webkit-backdrop-filter: blur(40px) saturate(1.8); backdrop-filter: blur(40px) saturate(1.8);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
  color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .02em; line-height: 1.45;
  opacity: 0; pointer-events: none; z-index: 100002;
  transition: opacity .25s ease, transform .25s ease;
}
#mindStateFlash.on { opacity: 1; transform: translateY(0); }

/* Burn-lock notice reuses the canonical .sbc-back / .sbc-card pure
   liquid-glass card (see below) — no bespoke styling needed. The only
   addition: #sojBurnLock auto-dismisses, so it gets the same fade as
   .sbc-back via that shared class. */

/* ── Multi-standard lens switcher (evaluation) ─────────────────────────
   Tabbed graphic view of the psych map: Profile / Type / Attachment /
   Core Needs / Values. One panel shown at a time; the prose reading drops
   below into a collapsible <details>. Pure liquid-glass, white-on-glass. */
#sojMindViewer .fw { margin-bottom: 24px; }
#sojMindViewer .fw-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  scrollbar-width: none;
}
#sojMindViewer .fw-tabs::-webkit-scrollbar { display: none; }
#sojMindViewer .fw-tab {
  flex: 0 0 auto; cursor: pointer;
  font: 700 12px/1 'Space Grotesk', sans-serif;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
#sojMindViewer .fw-tab:hover { color: rgba(255, 255, 255, .92); border-color: rgba(255, 255, 255, .26); }
#sojMindViewer .fw-tab.is-active { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
#sojMindViewer .fw-panel { display: none; }
#sojMindViewer .fw-panel.is-active { display: block; animation: fwFade .35s ease; }
@keyframes fwFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#sojMindViewer .fw-note {
  font: 700 10.5px/1.2 'Space Grotesk', sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5); margin-bottom: 16px; text-align: center;
}
/* Per-lens header — plain-language explanation + small framework credit. */
#sojMindViewer .fw-head { margin-bottom: 18px; text-align: center; }
#sojMindViewer .fw-what {
  max-width: 470px; margin: 0 auto 6px;
  font: 500 14.5px/1.55 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .82);
}
#sojMindViewer .fw-head .fw-note { margin-bottom: 0; }
#sojMindViewer .fw-panel svg { display: block; margin: 0 auto; }
#sojMindViewer .fw-caption {
  margin: 16px auto 0; max-width: 460px; text-align: center;
  font: 500 14px/1.55 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .72);
}
#sojMindViewer .fw-legend {
  margin-top: 10px; text-align: center;
  font: 600 11px/1.4 'Space Grotesk', sans-serif; color: rgba(255, 255, 255, .55); letter-spacing: .02em;
}
/* Type / MBTI lens */
#sojMindViewer .fw-type {
  text-align: center; font: 800 46px/1 'Space Grotesk', sans-serif;
  letter-spacing: .14em; color: #fff; margin: 4px 0 24px;
}
#sojMindViewer .fw-bips { display: flex; flex-direction: column; gap: 16px; max-width: 480px; margin: 0 auto; }
#sojMindViewer .fw-bip { display: grid; grid-template-columns: 1fr 116px 1fr; align-items: center; gap: 12px; }
#sojMindViewer .fw-bip-l, #sojMindViewer .fw-bip-r { display: flex; align-items: baseline; gap: 6px; color: rgba(255, 255, 255, .42); }
#sojMindViewer .fw-bip-l { justify-self: end; }
#sojMindViewer .fw-bip-r { justify-self: start; }
#sojMindViewer .fw-bip-l.on, #sojMindViewer .fw-bip-r.on { color: #fff; }
#sojMindViewer .fw-bip-k { font: 800 15px/1 'Space Grotesk', sans-serif; }
#sojMindViewer .fw-bip-w { font: 600 11.5px/1.2 'Plus Jakarta Sans', sans-serif; }
/* Type lens — spelled-out code under the four-letter type. */
#sojMindViewer .fw-type-words { text-align: center; margin: -16px auto 22px; font: 600 13px/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: .02em; color: rgba(255, 255, 255, .8); }
/* Big Five radar — one-line intro + per-trait ⓘ tooltips on the diagram. */
#sojMindViewer .mvz-sub { max-width: 440px; margin: 6px auto 14px; text-align: center; font: 500 13px/1.55 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .62); }
#sojMindViewer .mvz-radar-box { position: relative; width: 260px; height: 260px; margin: 4px auto 0; }
#sojMindViewer .mvz-radar-box > svg { position: absolute; inset: 0; }
#sojMindViewer .mvz-axis { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
#sojMindViewer .mvz-axis-l { font: 700 10.5px/1 'Space Grotesk', sans-serif; letter-spacing: .10em; color: rgba(255, 255, 255, .65); }
#sojMindViewer .mvz-info { cursor: pointer; width: 15px; height: 15px; padding: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font: italic 700 9px/1 'Space Grotesk', sans-serif; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); transition: color .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
#sojMindViewer .mvz-info:hover, #sojMindViewer .mvz-axis:focus-within .mvz-info { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); box-shadow: 0 0 12px rgba(255, 255, 255, .2); }
#sojMindViewer .mvz-tip { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: normal; width: max-content; max-width: 220px; padding: 10px 13px; border-radius: 12px; text-align: left; font: 500 12.5px/1.5 'Plus Jakarta Sans', sans-serif; color: #fff; background: var(--frost-bg, rgba(255, 255, 255, 0.03)); border: 1px solid var(--frost-border, rgba(255, 255, 255, 0.18)); -webkit-backdrop-filter: blur(72px) saturate(1.45) brightness(1.02); backdrop-filter: blur(72px) saturate(1.45) brightness(1.02); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(0, 0, 0, 0.10), 0 18px 40px -14px rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease; z-index: 6; pointer-events: none; }
#sojMindViewer .mvz-tip b { color: #fff; font-weight: 700; }
#sojMindViewer .mvz-axis.is-up .mvz-tip { top: auto; bottom: calc(100% + 8px); }
#sojMindViewer .mvz-axis:hover .mvz-tip, #sojMindViewer .mvz-axis:focus-within .mvz-tip { opacity: 1; visibility: visible; }
/* Portaled trait tooltip — lives on <body>, outside every backdrop-filtered
   ancestor, so the blur frosts the wallpaper for real (reads as solid liquid
   glass, not translucent). Intentionally NOT scoped under #sojMindViewer. */
.mvz-tip-portal { position: fixed; z-index: 2147483000; max-width: 240px; padding: 11px 14px; border-radius: 13px; text-align: left; font: 500 12.5px/1.5 'Plus Jakarta Sans', sans-serif; color: #fff; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(72px) saturate(1.6) brightness(1.05); backdrop-filter: blur(72px) saturate(1.6) brightness(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 22px 54px -16px rgba(0, 0, 0, 0.55); display: none; opacity: 1; pointer-events: none; }
.mvz-tip-portal b { color: #fff; font-weight: 700; }
#sojMindViewer .fw-bip-track {
  position: relative; height: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
#sojMindViewer .fw-bip-dot {
  position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 10px rgba(255, 255, 255, .5);
}
/* SDT needs lens */
#sojMindViewer .fw-needs { display: flex; flex-direction: column; gap: 16px; max-width: 420px; margin: 0 auto; }
#sojMindViewer .fw-need { display: grid; grid-template-columns: 110px 1fr 78px; align-items: center; gap: 12px; }
#sojMindViewer .fw-need-label { font: 700 14px/1.2 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .94); }
#sojMindViewer .fw-need-track {
  height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden;
}
#sojMindViewer .fw-need-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .42));
  transition: width .4s ease;
}
#sojMindViewer .fw-need-lvl {
  font: 700 12px/1 'Space Grotesk', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75); text-align: right;
}
/* Collapsible written reflection */
#sojMindViewer .ev-letter { margin: 26px 0 4px; }
#sojMindViewer .ev-letter-sum {
  cursor: pointer; list-style: none;
  font: 700 12px/1 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); padding: 15px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14);
  display: flex; align-items: center; justify-content: space-between;
}
#sojMindViewer .ev-letter-sum::-webkit-details-marker { display: none; }
#sojMindViewer .ev-letter-sum::after { content: '▾'; font-size: 13px; transition: transform .25s ease; }
#sojMindViewer .ev-letter[open] .ev-letter-sum { border-radius: 12px 12px 0 0; }
#sojMindViewer .ev-letter[open] .ev-letter-sum::after { transform: rotate(180deg); }
#sojMindViewer .ev-letter .ev-body {
  padding: 20px 18px 6px;
  border: 1px solid rgba(255, 255, 255, .10); border-top: 0; border-radius: 0 0 12px 12px;
}

/* Lens empty-state — shown when a standard has no coded signal yet, so the
   switcher still presents every standard as a tab instead of disappearing. */
#sojMindViewer .fw-empty { text-align: center; padding: 28px 0 12px; }
#sojMindViewer .fw-empty svg { display: block; margin: 0 auto 16px; opacity: .85; }
#sojMindViewer .fw-empty-t {
  max-width: 360px; margin: 0 auto;
  font: 500 14px/1.55 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .55);
}
#sojMindViewer .fw-tab-empty { opacity: .5; }
#sojMindViewer .fw-tab-empty:hover { opacity: .85; }
#sojMindViewer .fw-tab-empty.is-active { opacity: 1; }

/* Neural-map HUD (type legend + digest) belongs to the bare 3D map only.
   Anchored to sit one row above the composer — same 8px gap as .mv-actions
   (input bar = 40px send + 16px form padding + 8px chat padding = 64px tall,
   so bottom:72px lands the pills on the action-row baseline) — and flush to
   the input bar's right edge (.mv-chat padding-right: 30px). */
#sojMindViewer .mv-hud {
  position: absolute; right: 30px; bottom: 72px; z-index: 6;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 8px; pointer-events: none; max-width: 78vw;
  transition: opacity .15s ease;
}
/* One horizontal row: legend pills (left) → chat controls (right extreme).
   Adding the two control pills pushes the legend pills leftward, exactly as
   asked, while History + New chat sit flush to the input bar's right edge. */
#sojMindViewer .mv-hudrow {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: flex-end; gap: 8px; pointer-events: none;
}
#sojMindViewer .mv-chat-controls {
  display: flex; align-items: center; gap: 6px; pointer-events: auto;
}
/* Mind-chat control pills — History / New chat. Liquid-glass, matched to the
   legend chips so the cluster reads as one row, with the icon+label treatment
   of the Chat engine's own controls. */
#sojMindViewer .mv-cc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(20, 24, 30, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #e8eef2; font: 600 11.5px/1 'Space Grotesk', sans-serif;
  letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: background .15s, border-color .15s, color .15s;
}
#sojMindViewer .mv-cc-btn:hover {
  background: rgba(40, 48, 58, .72); border-color: rgba(255, 255, 255, .34); color: #fff;
}
#sojMindViewer .mv-cc-btn svg { width: 13px; height: 13px; flex: 0 0 13px; }

/* Primary "continue" action inside the chat-thread view — filled, so the
   resume path reads as the main move over "back to history". */
#sojMindViewer .mvm-btn.mvm-btn-go {
  background: rgba(255, 255, 255, .10); color: #fff; font-weight: 700;
  border-color: rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(40px) saturate(1.7);
  backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
#sojMindViewer .mvm-btn.mvm-btn-go:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .62); }

/* Search open — lift the composer above the legend / chat-control pills so the
   field stays readable if a narrow row ever forces overlap. The pills stay
   visible (the field is sized short enough to clear them — see .mv-search). */
#sojMindViewer.mind-search-open .mv-chat { z-index: 8; }

/* Active conversation — the thread fills from the top of the screen like a
   normal chat (oldest message up top, composer pinned at the bottom) instead
   of a short strip crammed at the bottom. The living map shows through the
   gaps between bubbles. Reverts to the bottom-anchored strip on New chat. */
#sojMindViewer.mind-has-convo .mv-chat { top: 92px; }
#sojMindViewer.mind-has-convo .mvc-msgs {
  flex: 1 1 auto; max-height: none; justify-content: flex-start;
}

/* Delete-data list inside Settings (replaces the standalone Wipe modal).
   Left-aligned glass rows that warm to red on hover; the full-reset row is
   pre-tinted danger so it never reads as just another option. */
#sojMindViewer .set-wipe { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
#sojMindViewer .set-wipe-btn {
  text-align: left; padding: 11px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  font: 600 13px/1.2 'Plus Jakarta Sans', sans-serif;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
#sojMindViewer .set-wipe-btn:hover {
  background: rgba(229, 72, 72, .12); border-color: rgba(255, 95, 95, .42); color: #fff;
}
#sojMindViewer .set-wipe-btn:disabled { opacity: .5; cursor: default; }
#sojMindViewer .set-wipe-btn.danger {
  margin-top: 6px; background: rgba(214, 48, 48, .15);
  border-color: rgba(255, 95, 95, .5); color: #ffdada; font-weight: 700;
}
#sojMindViewer .set-wipe-btn.danger:hover {
  background: rgba(214, 48, 48, .28); border-color: rgba(255, 115, 115, .72); color: #fff;
}

/* Slide-to-delete — the armed state of a delete row. Drag the knob to the end
   to actually run the wipe. touch-action:none keeps a touch-drag from
   scrolling the modal mid-slide. */
#sojMindViewer .set-wipe-btn.arming {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; position: relative; overflow: hidden; cursor: default;
  background: rgba(214, 48, 48, .16); border-color: rgba(255, 95, 95, .5);
  touch-action: none;
}
#sojMindViewer .set-wipe-btn.arming.wipe-ready { background: rgba(214, 48, 48, .36); border-color: rgba(255, 120, 120, .85); }
#sojMindViewer .wipe-knob {
  flex: 0 0 auto; width: 36px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ff6b6b; color: #240c0c; font-weight: 800; font-size: 16px;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  z-index: 2; box-shadow: 0 2px 10px rgba(0, 0, 0, .4); will-change: transform;
}
#sojMindViewer .wipe-knob:active { cursor: grabbing; }
#sojMindViewer .wipe-hint {
  position: absolute; left: 52px; right: 42px; text-align: center;
  font: 600 12px/1 'Plus Jakarta Sans', sans-serif; color: #ffd7d7;
  pointer-events: none; transition: opacity .1s; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
#sojMindViewer .wipe-x {
  flex: 0 0 auto; margin-left: auto; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; cursor: pointer; font-size: 12px; line-height: 1;
}
#sojMindViewer .wipe-x:hover { background: rgba(255, 255, 255, .16); }
#sojMindViewer .set-wipe-btn.wiping { opacity: .65; cursor: default; }
#sojMindViewer .set-wipe-btn.wiped {
  background: rgba(110, 200, 150, .14); border-color: rgba(110, 200, 150, .45);
  color: #cdeed8; cursor: default;
}

/* Whenever a modal/panel is open (reading, history, settings, etc.) the body
   carries .mind-modal-open — hide the HUD so the legend pills never float
   over a panel. They reappear when the map is the foreground again. */
body.mind-modal-open #sojMindViewer .mv-hud { display: none !important; }
/* Focused state — while any voice console is open (Voice Setup / Autobiography /
   Check-in, all .mv-iv-console), hide the HUD chrome: the conflict "Review" pill,
   the type legend, and History / New chat. Reverts when the console is removed. */
#sojMindViewer:has(.mv-iv-console) .mv-hud { display: none !important; }

/* Empty-lens call-to-action — turns a "still forming" panel into a next step. */
#sojMindViewer .fw-cta {
  display: inline-block; margin-top: 20px; cursor: pointer;
  font: 700 12px/1 'Space Grotesk', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; padding: 11px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
#sojMindViewer .fw-cta:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .42); transform: translateY(-1px); }

/* Evidence — the verbatim moments behind the reading (clinician's working). */
#sojMindViewer .ev-evidence { margin: 14px 0 4px; }
#sojMindViewer .ev-ev-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px;
  margin-left: auto; padding: 0 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  font: 700 11px/1 'Space Grotesk', sans-serif; color: rgba(255, 255, 255, .85);
}
#sojMindViewer .ev-ev-body {
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
  border: 1px solid rgba(255, 255, 255, .10); border-top: 0; border-radius: 0 0 12px 12px;
}
#sojMindViewer .ev-ev-item {
  margin: 0; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12);
  border-left: 2px solid rgba(255, 255, 255, .4);
}
#sojMindViewer .ev-ev-quote {
  margin: 0; font: 500 15px/1.6 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .94);
}
#sojMindViewer .ev-ev-tells {
  margin-top: 8px; font: 600 12.5px/1.5 'Space Grotesk', sans-serif;
  letter-spacing: .01em; color: rgba(255, 255, 255, .58);
}

/* ════════ Deep reading: formulation, movement, ask, new lenses, safety ════════ */

/* A — Formulation hero: "your story, in four parts" */
#sojMindViewer .ev-story {
  margin: 4px 0 22px; padding: 22px 24px; border-radius: 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
}
#sojMindViewer .ev-story-h {
  font: 700 12px/1.2 'Space Grotesk', sans-serif; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); margin-bottom: 16px;
}
#sojMindViewer .ev-story-flow { display: flex; flex-direction: column; }
#sojMindViewer .ev-story-card {
  position: relative; padding: 15px 18px 15px 54px; border-radius: 14px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12);
}
#sojMindViewer .ev-story-n {
  position: absolute; left: 16px; top: 15px; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 800 12px/1 'Space Grotesk', sans-serif; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
}
#sojMindViewer .ev-story-t {
  font: 700 11px/1.2 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .58); margin-bottom: 6px;
}
#sojMindViewer .ev-story-d { font: 500 15.5px/1.55 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .92); }
#sojMindViewer .ev-story-link { width: 1px; height: 16px; margin: 0 0 0 28px; background: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .06)); }

/* E — Movement: what's moved since last time */
#sojMindViewer .ev-move {
  margin: 0 0 22px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14);
}
#sojMindViewer .ev-move-h { font: 700 11px/1.2 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 12px; }
#sojMindViewer .ev-move-list { display: flex; flex-direction: column; gap: 9px; }
#sojMindViewer .ev-move-item { display: flex; align-items: center; gap: 11px; font: 600 14px/1.4 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .86); }
#sojMindViewer .ev-move-arrow {
  width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 800 13px/1 'Space Grotesk', sans-serif; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
}

/* D — Ask anything about yourself */
#sojMindViewer .ev-ask {
  margin: 0 0 24px; padding: 22px 24px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
}
#sojMindViewer .ev-ask-h { font: 700 12px/1.2 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .82); margin-bottom: 5px; }
#sojMindViewer .ev-ask-sub { font: 500 13px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
#sojMindViewer .ev-ask-row { display: flex; gap: 8px; }
#sojMindViewer .ev-ask-input {
  flex: 1 1 auto; min-width: 0; padding: 12px 15px; border-radius: 12px; color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .2);
  font: 500 14.5px/1.4 'Plus Jakarta Sans', sans-serif; outline: none; transition: border-color .2s ease, background .2s ease;
}
#sojMindViewer .ev-ask-input::placeholder { color: rgba(255, 255, 255, .4); }
#sojMindViewer .ev-ask-input:focus { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .08); }
#sojMindViewer .ev-ask-btn {
  flex: 0 0 auto; padding: 0 20px; border-radius: 12px; cursor: pointer; color: #fff;
  font: 700 12px/1 'Space Grotesk', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); transition: background .2s ease, border-color .2s ease;
}
#sojMindViewer .ev-ask-btn:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); }
#sojMindViewer .ev-ask-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
#sojMindViewer .ev-ask-chip {
  cursor: pointer; padding: 7px 12px; border-radius: 999px; color: rgba(255, 255, 255, .7);
  font: 600 12px/1 'Plus Jakarta Sans', sans-serif;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
#sojMindViewer .ev-ask-chip:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
#sojMindViewer .ev-ask-answer {
  margin: 0 0 16px; padding: 16px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14);
  border-left: 2px solid rgba(255, 255, 255, .45); animation: fwFade .35s ease;
}
#sojMindViewer .ev-ask-answer.is-care { border-left-color: rgba(255, 198, 160, .9); background: rgba(255, 178, 130, .07); }
#sojMindViewer .ev-ask-q { font: 700 12.5px/1.4 'Space Grotesk', sans-serif; color: rgba(255, 255, 255, .6); margin-bottom: 8px; }
#sojMindViewer .ev-ask-a { font: 500 15.5px/1.65 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .94); }
#sojMindViewer .ev-ask-load { font: 600 14px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .6); }

/* C — new lens bodies: strengths, inner stories, footing notes */
#sojMindViewer .fw-strengths { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 500px; margin: 0 auto; }
#sojMindViewer .fw-strength {
  padding: 11px 16px; border-radius: 12px; font: 600 14.5px/1.35 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16);
}
#sojMindViewer .fw-stories { display: flex; flex-direction: column; gap: 12px; max-width: 500px; margin: 0 auto; }
#sojMindViewer .fw-story {
  padding: 14px 18px; border-radius: 12px; font: 500 15.5px/1.6 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12); border-left: 2px solid rgba(255, 255, 255, .4);
}
#sojMindViewer .fw-foot-note { font: 500 12.5px/1.45 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .5); margin: -6px 0 2px; padding-left: 2px; }

/* F — Safety footer */
#sojMindViewer .ev-safety {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
  font: 500 12.5px/1.6 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .5); text-align: center;
}
#sojMindViewer .ev-safety a { color: rgba(255, 255, 255, .8); text-decoration: underline; }

/* Go-deeper lazy gateway (shown until the deep reading is fetched) */
#sojMindViewer .ev-deeper {
  margin: 4px 0 22px; padding: 24px; border-radius: 16px; text-align: center;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
}
#sojMindViewer .ev-deeper-t { font: 700 17px/1.3 'Plus Jakarta Sans', sans-serif; color: #fff; margin-bottom: 6px; }
#sojMindViewer .ev-deeper-s { font: 500 13.5px/1.55 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .6); max-width: 440px; margin: 0 auto 16px; }
#sojMindViewer .ev-deeper-btn {
  cursor: pointer; padding: 12px 22px; border-radius: 999px; color: #fff;
  font: 700 12px/1 'Space Grotesk', sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .36);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
#sojMindViewer .ev-deeper-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .52); transform: translateY(-1px); }
#sojMindViewer .ev-deeper-btn:disabled { opacity: .6; cursor: default; }

/* Critique dropdown — calibration cards, collapsed by default */
#sojMindViewer .ev-critique { margin: 14px 0 4px; }
#sojMindViewer .ev-critique[open] .ev-letter-sum { border-radius: 12px 12px 0 0; }
#sojMindViewer .ev-critique[open] .ev-letter-sum::after { transform: rotate(180deg); }
#sojMindViewer .ev-critique-body {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .10); border-top: 0; border-radius: 0 0 12px 12px;
}
#sojMindViewer .ev-critique-body .ev-cal-sub { margin-bottom: 14px; }
#sojMindViewer .ev-critique-body .ev-cal-card { margin-bottom: 8px; }
#sojMindViewer .ev-critique-body .ev-cal-card:last-child { margin-bottom: 0; }

/* Compact footer — safety text on the left, action buttons on the right */
#sojMindViewer .ev-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
}
#sojMindViewer .ev-foot-text {
  flex: 1 1 320px; min-width: 220px;
  font: 500 12px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .5);
}
#sojMindViewer .ev-foot-text a { color: rgba(255, 255, 255, .8); text-decoration: underline; }
#sojMindViewer .ev-foot .ev-actions { flex: 0 0 auto; margin-top: 0; padding-top: 0; border-top: 0; gap: 7px; }

/* "Gather" loader — scattered points fuse into one orb (reading / asking) */
#sojMindViewer .mind-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 0; }
#sojMindViewer .mind-loader svg { display: block; }
#sojMindViewer .mind-loader-cap { font: 600 15px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .82); letter-spacing: .01em; }
#sojMindViewer .mind-loader-cap .d { animation: mindBlink 1.4s infinite; }
#sojMindViewer .mind-loader-cap .d:nth-child(2) { animation-delay: .2s; }
#sojMindViewer .mind-loader-cap .d:nth-child(3) { animation-delay: .4s; }
@keyframes mindBlink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
#sojMindViewer .mind-loader--sm { padding: 10px 0; gap: 6px; }
#sojMindViewer .mind-loader--sm svg { width: 104px; height: 60px; }
#sojMindViewer .mind-loader--sm .mind-loader-cap { font-size: 13.5px; }
#sojMindViewer .ev-ask-answer.is-cap { border-left-color: rgba(255, 255, 255, .3); }

/* Circular critique entry (footer) — opens the per-section critique composer */
#sojMindViewer .ev-foot .ev-actions .ev-critique-btn {
  width: 36px; height: 36px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .88);
}
#sojMindViewer .ev-critique-btn svg { display: block; }

/* Core handle (header) */
#sojMindViewer .ev-core { font: 800 28px/1.1 'Space Grotesk', sans-serif; letter-spacing: .01em; color: #fff; margin: 8px 0 4px; }
#sojMindViewer .ev-core-line { font: 500 14.5px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .7); margin-bottom: 2px; }

/* Through Other Eyes lens */
#sojMindViewer .fw-thinkers { max-width: 560px; margin: 0 auto; }
#sojMindViewer .fw-th-tabs { display: flex; flex-wrap: nowrap; gap: 7px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; padding-bottom: 2px; }
#sojMindViewer .fw-th-tabs::-webkit-scrollbar { display: none; }
#sojMindViewer .fw-th-chip {
  flex: 0 0 auto; cursor: pointer; padding: 6px 11px; border-radius: 999px;
  font: 600 12px/1 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14);
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
#sojMindViewer .fw-th-chip:hover:not(:disabled) { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
#sojMindViewer .fw-th-chip.is-active { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .42); }
#sojMindViewer .fw-th-chip.is-empty { opacity: .32; cursor: default; }
#sojMindViewer .fw-th-panel { display: none; }
#sojMindViewer .fw-th-panel.is-active { display: block; animation: fwFade .35s ease; }
#sojMindViewer .fw-th-lens { font: 700 11px/1.2 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 10px; text-align: center; }
#sojMindViewer .fw-th-take { font: 500 16px/1.7 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .92); }
#sojMindViewer .fw-th-synth { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .10); }
#sojMindViewer .fw-th-synth-h { font: 700 10.5px/1.2 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 7px; }
#sojMindViewer .fw-th-synth-t { font: 500 14.5px/1.6 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .78); }

/* Contradictions lens */
#sojMindViewer .fw-contras { display: flex; flex-direction: column; gap: 12px; max-width: 540px; margin: 0 auto; }
#sojMindViewer .fw-contra { padding: 15px 18px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12); border-left: 2px solid rgba(255, 255, 255, .4); }
#sojMindViewer .fw-contra-t { font: 600 15.5px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .94); }
#sojMindViewer .fw-contra-n { font: 500 13px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .58); margin-top: 6px; }

/* Settings action buttons grouped with their own section (no detaching line). */
#sojMindViewer .ev-actions.ev-actions-tight { margin-top: 12px; padding-top: 0; border-top: 0; }

/* ── "How well your mind knows you" — ever-improving loop panel + contest ── */
#sojMindViewer .mind-knows {
  margin: 4px 0 22px; padding: 18px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7);
  animation: fwFade .35s ease;
}
#sojMindViewer .mk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
#sojMindViewer .mk-title { font: 700 12px/1.2 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
#sojMindViewer .mk-overall { margin-left: auto; font: 600 11px/1 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .6); padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .16); }
#sojMindViewer .mk-sub { font: 500 13px/1.55 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .5); margin-bottom: 14px; }
#sojMindViewer .mk-loading { font: 600 13.5px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .55); }
#sojMindViewer .mk-row { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
#sojMindViewer .mk-row:first-child { border-top: 0; padding-top: 2px; }
#sojMindViewer .mk-row-top { display: flex; align-items: flex-start; gap: 12px; }
#sojMindViewer .mk-name { font: 700 15px/1.25 'Plus Jakarta Sans', sans-serif; color: #fff; }
#sojMindViewer .mk-lean { font: 500 13.5px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .62); margin-top: 3px; }
#sojMindViewer .mk-not {
  flex: 0 0 auto; cursor: pointer; padding: 6px 12px; border-radius: 999px;
  font: 600 12px/1 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .16);
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
#sojMindViewer .mk-not:hover:not([disabled]) { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
#sojMindViewer .mk-not[disabled] { opacity: .55; cursor: default; }
#sojMindViewer .mk-conf { display: flex; align-items: center; gap: 11px; margin-top: 11px; }
#sojMindViewer .mk-track { flex: 1 1 auto; height: 4px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); }
#sojMindViewer .mk-fill { height: 100%; border-radius: 999px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 10px rgba(255, 255, 255, .35); transition: width .6s cubic-bezier(.16, 1, .3, 1); }
#sojMindViewer .mk-conf-lbl { flex: 0 0 auto; min-width: 92px; text-align: right; font: 600 11.5px/1 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .58); }
#sojMindViewer .mk-edit { margin-top: 13px; padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .08); animation: fwFade .25s ease; }
#sojMindViewer .mk-edit-q { font: 600 12.5px/1.4 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .62); margin-bottom: 9px; }
#sojMindViewer .mk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
#sojMindViewer .mk-chip {
  cursor: pointer; padding: 7px 12px; border-radius: 999px;
  font: 600 12.5px/1 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .16);
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
#sojMindViewer .mk-chip:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
#sojMindViewer .mk-chip.is-sel { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 18px rgba(255, 255, 255, .1); }
#sojMindViewer .mk-words {
  width: 100%; box-sizing: border-box; padding: 10px 13px; border-radius: 12px; color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .2);
  font: 500 14px/1.4 'Plus Jakarta Sans', sans-serif; outline: none; margin-bottom: 10px;
  transition: border-color .2s ease, background .2s ease;
}
#sojMindViewer .mk-words::placeholder { color: rgba(255, 255, 255, .4); }
#sojMindViewer .mk-words:focus { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .08); }
#sojMindViewer .mk-edit-act { display: flex; gap: 8px; justify-content: flex-end; }
#sojMindViewer .mk-cancel, #sojMindViewer .mk-send {
  cursor: pointer; padding: 8px 16px; border-radius: 999px;
  font: 700 11.5px/1 'Space Grotesk', sans-serif; letter-spacing: .05em; text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}
#sojMindViewer .mk-cancel { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .16); }
#sojMindViewer .mk-cancel:hover { color: #fff; background: rgba(255, 255, 255, .08); }
#sojMindViewer .mk-send { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 20px rgba(255, 255, 255, .1); }
#sojMindViewer .mk-send:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .7); }
#sojMindViewer .mk-toast {
  margin-top: 12px; padding: 10px 13px; border-radius: 12px;
  font: 500 13px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(190, 240, 210, .95);
  background: rgba(90, 200, 140, .1); border: 1px solid rgba(90, 200, 140, .32);
  animation: fwFade .3s ease;
}

/* ── Go deeper — depth-on-demand per lens (progressive disclosure) ── */
#sojMindViewer .fw-deeper-wrap { margin: 18px auto 2px; max-width: 560px; text-align: center; }
#sojMindViewer .fw-deeper {
  cursor: pointer; padding: 8px 16px; border-radius: 999px;
  font: 700 11px/1 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14);
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
#sojMindViewer .fw-deeper:hover:not([disabled]) { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
#sojMindViewer .fw-deeper.is-open { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); box-shadow: 0 0 18px rgba(255, 255, 255, .1); }
#sojMindViewer .fw-deeper[disabled] { opacity: .55; cursor: default; }
#sojMindViewer .fw-deeper-out { max-width: 560px; margin: 14px auto 0; text-align: left; }
#sojMindViewer .fw-deeper-load { font: 500 13.5px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .55); text-align: center; padding: 6px 0; }
#sojMindViewer .fw-deep {
  padding: 18px 20px; border-radius: 14px; animation: fwFade .35s ease;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .12); border-left: 2px solid rgba(255, 255, 255, .45);
}
#sojMindViewer .fw-dl-claim { font: 500 16px/1.6 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .95); margin-bottom: 14px; }
#sojMindViewer .fw-dl-row { margin-bottom: 12px; }
#sojMindViewer .fw-dl-k { font: 700 10px/1.2 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 4px; }
#sojMindViewer .fw-dl-v { font: 500 14.5px/1.6 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .82); }
#sojMindViewer .fw-dl-q { font: 500 15px/1.6 'Plus Jakarta Sans', sans-serif; color: #fff; text-shadow: 0 0 18px rgba(255, 255, 255, .25); margin: 14px 0 4px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
#sojMindViewer .fw-dl-not { margin-top: 12px; cursor: pointer; padding: 6px 12px; border-radius: 999px; font: 600 12px/1 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .6); background: transparent; border: 1px solid rgba(255, 255, 255, .14); transition: color .15s ease, background .15s ease, border-color .15s ease; }
#sojMindViewer .fw-dl-not:hover:not([disabled]) { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .26); }
#sojMindViewer .fw-dl-not[disabled] { opacity: .55; cursor: default; }
#sojMindViewer .fw-dl-edit { margin-top: 11px; animation: fwFade .25s ease; }
#sojMindViewer .fw-dl-words { width: 100%; box-sizing: border-box; padding: 9px 12px; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .18); font: 500 13.5px/1.4 'Plus Jakarta Sans', sans-serif; outline: none; margin-bottom: 9px; }
#sojMindViewer .fw-dl-words::placeholder { color: rgba(255, 255, 255, .4); }
#sojMindViewer .fw-dl-words:focus { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
#sojMindViewer .fw-dl-act { display: flex; gap: 8px; justify-content: flex-end; }
#sojMindViewer .fw-dl-cancel, #sojMindViewer .fw-dl-send { cursor: pointer; padding: 7px 14px; border-radius: 999px; font: 700 11px/1 'Space Grotesk', sans-serif; letter-spacing: .05em; text-transform: uppercase; transition: background .2s ease, border-color .2s ease; }
#sojMindViewer .fw-dl-cancel { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .16); }
#sojMindViewer .fw-dl-send { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 20px rgba(255, 255, 255, .1); }
#sojMindViewer .fw-dl-send:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .7); }

/* ── "Write my book" composer (Autobiography popup) ── */
#sojMindViewer .bk-sub { color: rgba(255, 255, 255, .62); margin-bottom: 16px; }
#sojMindViewer .bk-opts { display: flex; flex-direction: column; gap: 16px; margin: 4px 0 8px; }
#sojMindViewer .bk-group-t { font: 700 11px/1.2 'Space Grotesk', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 9px; }
#sojMindViewer .bk-chips { display: flex; flex-wrap: wrap; gap: 9px; }
#sojMindViewer .bk-chip { cursor: pointer; text-align: left; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14); transition: color .15s ease, background .15s ease, border-color .15s ease; display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
#sojMindViewer .bk-chip:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .26); }
#sojMindViewer .bk-chip.is-sel { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 22px rgba(255, 255, 255, .12); }
#sojMindViewer .bk-chip-l { font: 600 14px/1.3 'Plus Jakarta Sans', sans-serif; color: #fff; }
#sojMindViewer .bk-chip.is-sel .bk-chip-l { color: #fff; }
#sojMindViewer .bk-chip-s { font: 500 12px/1.3 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .5); }
#sojMindViewer .bk-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
#sojMindViewer .bk-go { cursor: pointer; padding: 13px 26px; border-radius: 999px; font: 700 12px/1 'Space Grotesk', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .36); -webkit-backdrop-filter: blur(40px) saturate(1.7); backdrop-filter: blur(40px) saturate(1.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 24px rgba(255, 255, 255, .1); transition: background .2s ease, border-color .2s ease; }
#sojMindViewer .bk-go:hover:not([disabled]) { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .52); }
#sojMindViewer .bk-go[disabled] { opacity: .65; cursor: default; }
#sojMindViewer .bk-note { font: 500 12px/1.5 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .45); margin-top: 12px; }
#sojMindViewer .bk-needs { display: flex; flex-direction: column; gap: 11px; margin: 16px 0 4px; }
#sojMindViewer .bk-need { display: flex; align-items: center; gap: 12px; }
#sojMindViewer .bk-need-l { flex: 0 0 42%; font: 500 13.5px/1.4 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .78); }
#sojMindViewer .bk-need-track { flex: 1 1 auto; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#sojMindViewer .bk-need-fill { height: 100%; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 8px rgba(255, 255, 255, .3); transition: width .5s ease; }
#sojMindViewer .bk-need-fill.is-ok { background: rgba(90, 200, 140, .8); }
#sojMindViewer .bk-need-n { flex: 0 0 auto; min-width: 46px; text-align: right; font: 600 12px/1 'Plus Jakarta Sans', sans-serif; color: rgba(255, 255, 255, .6); }
