/* =============================================================
   account.css — MarvisX personal area + pricing + waitlist
   Wired to the existing site system (marvis.css). Light/paper
   theme. No new tokens — only --paper / --cream / --marvis-* /
   --accent / --green / --state-* / --r-* / --font-* aliases.
   All account-area classes are prefixed .acc-.
   ============================================================= */

/* page bg: the warm paper base, like the rest of the site */
body.acc { background: var(--cream); }

/* the [hidden] attribute must win over author display rules below */
[hidden] { display: none !important; }

/* ---- generic account section wrapper ---------------------- */
.acc-main { padding: 32px 0 64px; min-height: 60vh; }
.acc-view { display: none; }
.acc-view.is-active { display: block; }

/* ---- light form fields (site footer form is dark; these are
   the paper-surface equivalents) ---------------------------- */
.acc-field { display: flex; flex-direction: column; gap: 6px; }
.acc-field > label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--marvis-mute);
}
.acc-field > label .req { color: var(--accent); }
.acc-input {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-input);
  padding: 11px 13px;
  color: var(--marvis-deep);
  font: 14px var(--font-body);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.acc-input::placeholder { color: var(--marvis-soft); }
.acc-input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.acc-input.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.acc-help { font-size: 12px; color: var(--marvis-soft); line-height: 1.5; }

/* =============================================================
   AUTH — login surface, magic-link sent, link-expired
   ============================================================= */
.acc-auth-wrap {
  max-width: 440px; margin: clamp(24px, 6vw, 72px) auto;
  display: flex; flex-direction: column; gap: 20px;
}
.acc-card {
  background: var(--paper);
  border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
}
.acc-auth__eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.acc-auth__h { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 22px; color: var(--marvis-deep); }
.acc-auth__sub { color: var(--marvis-mute); font-size: 14px; line-height: 1.55; margin: 0 0 24px; }

.acc-auth__form { display: flex; flex-direction: column; gap: 14px; }
.acc-divider {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--marvis-soft);
  margin: 4px 0;
}
.acc-divider::before, .acc-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--marvis-line);
}
.btn--github {
  background: var(--marvis-deep); color: var(--cream);
  border-color: var(--marvis-deep);
}
.btn--github:hover { background: var(--marvis-base); }
.btn--github svg { width: 18px; height: 18px; }

.acc-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--marvis-mute); line-height: 1.5;
  margin-top: 4px;
}
.acc-consent a { color: var(--accent); border-bottom: 1px dotted; }

/* magic-link sent / expired panels */
.acc-state-panel { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.acc-state-panel__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent);
}
.acc-state-panel__icon svg { width: 26px; height: 26px; }
.acc-state-panel.is-error .acc-state-panel__icon { background: rgba(220,38,38,0.10); color: #C0392B; }
.acc-state-panel__h { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin: 0; color: var(--marvis-deep); }
.acc-state-panel__sub { color: var(--marvis-mute); font-size: 14px; line-height: 1.6; max-width: 36ch; margin: 0; }
.acc-state-panel .mono-em { font-family: var(--font-mono); color: var(--marvis-deep); }

/* =============================================================
   ACCOUNT SHELL — header band + tabs (logged in)
   ============================================================= */
.acc-shell-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--marvis-line);
}
.acc-shell-head__lead { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.acc-shell-head__crumb {
  font-family: var(--font-mono); font-size: 12px; color: var(--marvis-soft);
  letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 8px;
}
.acc-shell-head__crumb .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.acc-shell-head__h { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--marvis-deep); }
.acc-shell-head__meta { font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute); letter-spacing: 0.02em; }

/* open-your-marvis control: button + inline port field + gear */
.acc-open { display: inline-flex; align-items: stretch; gap: 0; }
.acc-open__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px;
  background: var(--green); color: var(--cream);
  border: 1px solid var(--green);
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  font: 500 14px var(--font-body); cursor: pointer; text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.acc-open__btn:hover { background: var(--green-bright); }
.acc-open__btn svg { width: 16px; height: 16px; }
.acc-open__gear {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--cream);
  border: 1px solid var(--green); border-left: 1px solid rgba(255,255,255,0.2);
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
  cursor: pointer; transition: background-color .15s ease;
}
.acc-open__gear:hover { background: var(--green-bright); }
.acc-open__gear svg { width: 16px; height: 16px; }
.acc-open-wrap { position: relative; }
.acc-port-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  width: 260px; padding: 16px;
  background: var(--paper); border: 1px solid var(--marvis-line-strong);
  border-radius: var(--r-card); box-shadow: var(--shadow-hover);
  display: none; flex-direction: column; gap: 10px;
}
.acc-port-pop.is-open { display: flex; }
.acc-port-pop__h { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--marvis-mute); }
.acc-port-pop__row { display: flex; gap: 8px; align-items: center; }
.acc-port-pop__row .acc-input { flex: 1; }

/* tabs */
.acc-tabs {
  display: flex; gap: 4px; margin: 24px 0 24px;
  border-bottom: 1px solid var(--marvis-line);
}
.acc-tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 10px 14px; margin-bottom: -1px;
  font: 500 14px var(--font-body); color: var(--marvis-mute);
  border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s ease, border-color .15s ease;
}
.acc-tab:hover { color: var(--marvis-deep); }
.acc-tab.is-active { color: var(--marvis-deep); border-bottom-color: var(--accent); }
.acc-tab__count {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 1px 7px; border-radius: var(--r-pill);
  background: var(--marvis-line); color: var(--marvis-mute);
}
.acc-tab.is-active .acc-tab__count { background: var(--accent-tint); color: var(--accent); }

.acc-panel { display: none; }
.acc-panel.is-active { display: block; }

/* =============================================================
   WINDOW TOGGLE (7/30/90d)
   ============================================================= */
.acc-window {
  display: inline-flex; padding: 3px; gap: 0;
  background: var(--cream-warm); border: 1px solid var(--marvis-line);
  border-radius: var(--r-pill);
}
.acc-window button {
  appearance: none; border: 0; background: none; cursor: pointer;
  padding: 5px 13px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--marvis-mute);
  transition: background-color .15s ease, color .15s ease;
}
.acc-window button.is-active { background: var(--paper); color: var(--marvis-deep); box-shadow: var(--shadow-card); }

/* =============================================================
   SUMMARY KPI ROW (balanced totals)
   ============================================================= */
.acc-kpi-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 8px;
}
.acc-kpi-bar__note { font-family: var(--font-mono); font-size: 12px; color: var(--marvis-soft); }

.acc-kpis {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px; margin: 16px 0 28px;
}
.acc-kpi {
  background: var(--paper); border: 1px solid var(--marvis-line);
  border-radius: var(--r-card); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.acc-kpi__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--marvis-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-kpi__val { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; color: var(--marvis-deep); line-height: 1; font-variant-numeric: tabular-nums; }
.acc-kpi__delta { font-family: var(--font-mono); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.acc-kpi__delta.up { color: var(--green); }
.acc-kpi__delta.down { color: #C0392B; }
.acc-kpi__delta.flat { color: var(--marvis-soft); }

/* =============================================================
   METRIC CHART CARDS
   ============================================================= */
.acc-charts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.acc-chart {
  background: var(--paper); border: 1px solid var(--marvis-line);
  border-radius: var(--r-card); padding: 18px 20px 14px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  transition: border-color .15s ease;
}
.acc-chart:hover { border-color: var(--marvis-line-strong); }
.acc-chart--wide { grid-column: 1 / -1; }
.acc-chart__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acc-chart__title { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--marvis-mute); }
.acc-chart__big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.acc-chart__num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; color: var(--marvis-deep); line-height: 1; font-variant-numeric: tabular-nums; }
.acc-chart__delta { font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.acc-chart__delta.up { color: var(--green); }
.acc-chart__delta.down { color: #C0392B; }
.acc-chart__delta.flat { color: var(--marvis-soft); }

.acc-spark { position: relative; width: 100%; height: 72px; }
.acc-chart--wide .acc-spark { height: 130px; }
.acc-spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.acc-spark__area { opacity: 0.12; }
.acc-spark__line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.acc-spark__base { stroke: var(--marvis-line); stroke-width: 1; }
.acc-spark__dot { stroke: var(--paper); stroke-width: 2; }
/* hover guide */
.acc-spark__guide { stroke: var(--marvis-line-strong); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.acc-spark__hot { opacity: 0; }
.acc-spark.is-hover .acc-spark__guide, .acc-spark.is-hover .acc-spark__hot { opacity: 1; }
.acc-spark__tip {
  position: absolute; transform: translate(-50%, -100%); pointer-events: none;
  background: var(--marvis-deep); color: var(--cream);
  font-family: var(--font-mono); font-size: 11px; line-height: 1.3;
  padding: 5px 8px; border-radius: 6px; white-space: nowrap;
  opacity: 0; transition: opacity .1s ease; z-index: 5;
}
.acc-spark__tip b { color: var(--cream); font-weight: 600; }
.acc-spark__tip .d { color: rgba(245,240,232,0.6); }
.acc-spark.is-hover .acc-spark__tip { opacity: 1; }

/* KG breakdown chips (node-by-type) */
.acc-kg-types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.acc-kg-type {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; color: var(--marvis-mid);
  background: var(--cream-warm); border: 1px solid var(--marvis-line);
  border-radius: var(--r-pill); padding: 3px 9px;
}
.acc-kg-type i { width: 7px; height: 7px; border-radius: 2px; }
.acc-kg-type b { color: var(--marvis-deep); font-weight: 600; font-variant-numeric: tabular-nums; }

/* =============================================================
   EMPTY STATES
   ============================================================= */
.acc-empty {
  text-align: center; max-width: 560px; margin: 24px auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--paper); border: 1px dashed var(--marvis-line-strong);
  border-radius: var(--r-lg);
}
.acc-empty__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.acc-empty__icon svg { width: 26px; height: 26px; }
.acc-empty__h { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 0; color: var(--marvis-deep); }
.acc-empty__sub { color: var(--marvis-mute); font-size: 14px; line-height: 1.6; margin: 0; max-width: 44ch; }
.acc-empty__steps { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; text-align: left; margin-top: 4px; }
.acc-step { display: flex; gap: 12px; align-items: flex-start; }
.acc-step__n { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--marvis-deep); color: var(--cream); font-family: var(--font-mono); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.acc-step__body { font-size: 13.5px; color: var(--marvis-mid); line-height: 1.5; }

/* code line (copyable) */
.acc-codeline {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--marvis-deep); color: var(--cream);
  border-radius: var(--r-input); padding: 10px 12px 10px 14px;
  font-family: var(--font-mono); font-size: 13px; width: 100%;
}
.acc-codeline code { color: var(--cream); }
.acc-codeline .acc-copy {
  appearance: none; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06);
  color: var(--cream); border-radius: 6px; padding: 4px 10px; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  transition: background-color .15s ease; flex: 0 0 auto;
}
.acc-codeline .acc-copy:hover { background: rgba(255,255,255,0.14); }

/* =============================================================
   INSTALL LIST
   ============================================================= */
.acc-installs { display: flex; flex-direction: column; gap: 12px; }
.acc-install {
  background: var(--paper); border: 1px solid var(--marvis-line);
  border-radius: var(--r-card); padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; align-items: center;
  transition: border-color .15s ease;
}
.acc-install:hover { border-color: var(--marvis-line-strong); }
.acc-install.is-off { opacity: 0.72; }
.acc-install__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.acc-install__id {
  font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--marvis-deep);
  display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.01em;
}
.acc-tele {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--r-pill);
}
.acc-tele.on { background: rgba(46,150,104,0.12); color: var(--green); }
.acc-tele.off { background: var(--marvis-line); color: var(--marvis-mute); }
.acc-install__meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute);
}
.acc-install__meta span { display: inline-flex; align-items: center; gap: 6px; }
.acc-install__meta b { color: var(--marvis-mid); font-weight: 500; }
.acc-install__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.btn--mini {
  height: 34px; padding: 0 13px; font-size: 13px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--marvis-line); background: var(--paper); color: var(--marvis-deep);
  cursor: pointer; font-family: var(--font-body); transition: border-color .15s ease, background-color .15s ease;
}
.btn--mini:hover { border-color: var(--marvis-mid); background: var(--cream-warm); }
.btn--mini svg { width: 14px; height: 14px; }
.btn--mini.is-danger { color: #C0392B; }
.btn--mini.is-danger:hover { border-color: #C0392B; background: rgba(220,38,38,0.06); }
.btn--mini:disabled { opacity: 0.5; cursor: default; }

/* claim install form */
.acc-claim {
  background: var(--cream-warm); border: 1px solid var(--marvis-line);
  border-radius: var(--r-card); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px; margin-top: 6px;
}
.acc-claim__h { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--marvis-deep); margin: 0; }
.acc-claim__row { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.acc-claim__row .acc-field { flex: 1; min-width: 200px; }

/* privacy note ("what we collect") */
.acc-privacy {
  background: var(--paper); border: 1px solid var(--marvis-line);
  border-radius: var(--r-card); padding: 18px 20px; margin-top: 16px;
  display: flex; gap: 14px; align-items: flex-start;
}
.acc-privacy__icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: rgba(124,110,232,0.12); color: var(--state-vision); display: inline-flex; align-items: center; justify-content: center; }
.acc-privacy__icon svg { width: 18px; height: 18px; }
.acc-privacy__body { font-size: 13px; color: var(--marvis-mid); line-height: 1.6; }
.acc-privacy__body h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--marvis-deep); margin: 0 0 6px; }
.acc-privacy__body .pos { color: var(--green); font-weight: 600; }
.acc-privacy__body .neg { color: var(--marvis-deep); font-weight: 600; }
.acc-privacy__body a { color: var(--accent); border-bottom: 1px dotted; }

/* =============================================================
   WAITLIST SLOT / FORM
   ============================================================= */
.acc-waitlist {
  background: var(--marvis-deep); color: var(--cream);
  border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 40px);
  align-items: center; margin-top: 28px;
}
@media (max-width: 720px) { .acc-waitlist { grid-template-columns: 1fr; } }
.acc-waitlist__eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-mute); margin-bottom: 10px; }
.acc-waitlist__h { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; letter-spacing: -0.01em; color: var(--cream); margin: 0 0 10px; }
.acc-waitlist__sub { color: rgba(245,240,232,0.7); font-size: 14px; line-height: 1.6; margin: 0; }
.acc-waitlist__sub b { color: var(--cream); font-weight: 600; }
.acc-waitlist__form { display: flex; flex-direction: column; gap: 12px; }
.acc-waitlist__form .acc-field > label { color: rgba(245,240,232,0.55); }
.acc-waitlist__form .acc-input {
  background: rgba(28,22,16,0.5); border-color: rgba(255,255,255,0.14); color: var(--cream);
}
.acc-waitlist__form .acc-input::placeholder { color: rgba(245,240,232,0.4); }
.acc-waitlist__form .acc-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(208,69,8,0.25); background: rgba(28,22,16,0.7); }
.acc-waitlist__done {
  display: none; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.acc-waitlist__done.is-active { display: flex; }
.acc-waitlist__done .ic { width: 46px; height: 46px; border-radius: 50%; background: rgba(46,150,104,0.18); color: var(--state-full); display: inline-flex; align-items: center; justify-content: center; }
.acc-waitlist__done .ic svg { width: 24px; height: 24px; }
.acc-waitlist__done h4 { font-family: var(--font-display); font-size: 1.25rem; color: var(--cream); margin: 0; font-weight: 600; }
.acc-waitlist__done p { color: rgba(245,240,232,0.7); font-size: 14px; margin: 0; }
.acc-form-status { font-size: 13px; min-height: 1px; }
.acc-form-status.err { color: #FCA5A5; font-family: var(--font-mono); }

/* =============================================================
   PRICING TIERS (placeholder)
   ============================================================= */
.acc-tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px;
  align-items: stretch;
}
@media (max-width: 880px) { .acc-tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.acc-tier {
  position: relative;
  background: var(--paper); border: 1px solid var(--marvis-line);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
}
.acc-tier--feature { border-color: var(--accent-mute); box-shadow: var(--shadow-card); }
.acc-tier--dark { background: var(--marvis-deep); color: var(--cream); border-color: var(--marvis-deep); }
.acc-tier__tier { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marvis-mute); }
.acc-tier--dark .acc-tier__tier { color: var(--accent-mute); }
.acc-tier__price { display: flex; align-items: baseline; gap: 8px; }
.acc-tier__price .amt { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--marvis-deep); line-height: 1; }
.acc-tier--dark .acc-tier__price .amt { color: var(--cream); }
.acc-tier__price .per { font-family: var(--font-mono); font-size: 12px; color: var(--marvis-mute); }
.acc-tier__soon {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--accent-tint); color: var(--accent);
}
.acc-tier--dark .acc-tier__soon { background: rgba(245,240,232,0.12); color: var(--accent-mute); }
.acc-tier__desc { font-size: 14px; line-height: 1.6; color: var(--marvis-mute); }
.acc-tier--dark .acc-tier__desc { color: rgba(245,240,232,0.65); }
.acc-tier__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.acc-tier__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--marvis-mid); }
.acc-tier--dark .acc-tier__list li { color: rgba(245,240,232,0.8); }
.acc-tier__list li svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: var(--green); }
.acc-tier--dark .acc-tier__list li svg { color: var(--accent-mute); }
.acc-tier__list li.muted { color: var(--marvis-soft); }
.acc-tier__list li.muted svg { color: var(--marvis-soft); }
.acc-tier__cta { margin-top: 4px; }

/* =============================================================
   TOAST
   ============================================================= */
.acc-toast-host { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.acc-toast {
  background: var(--marvis-deep); color: var(--cream);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-card);
  padding: 12px 16px; font-size: 13px; max-width: 320px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-hover);
  animation: acc-toast-in .3s ease both;
}
.acc-toast .ic { color: var(--state-full); display: inline-flex; flex: 0 0 auto; }
.acc-toast .ic svg { width: 16px; height: 16px; }
@keyframes acc-toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .acc-toast { animation: none; } }

/* =============================================================
   PROTOTYPE STATE SWITCHER (demo only — flags the mock states)
   ============================================================= */
.acc-demo {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  background: var(--paper); border: 1px solid var(--marvis-line-strong);
  border-radius: var(--r-card); box-shadow: var(--shadow-hover);
  padding: 10px 12px; max-width: 260px;
  font-family: var(--font-mono); font-size: 11px;
}
.acc-demo__h { display: flex; align-items: center; gap: 8px; color: var(--marvis-mute); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.acc-demo__h .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.acc-demo__row { display: flex; flex-wrap: wrap; gap: 5px; }
.acc-demo button {
  appearance: none; border: 1px solid var(--marvis-line); background: var(--cream-warm);
  color: var(--marvis-mid); border-radius: var(--r-pill); padding: 4px 9px; cursor: pointer;
  font: 600 10px var(--font-mono); letter-spacing: 0.04em; transition: all .12s ease;
}
.acc-demo button:hover { border-color: var(--marvis-mid); color: var(--marvis-deep); }
.acc-demo button.is-active { background: var(--marvis-deep); color: var(--cream); border-color: var(--marvis-deep); }
.acc-demo__min { margin-left: auto; cursor: pointer; color: var(--marvis-soft); background: none; border: 0; font-size: 13px; line-height: 1; }
.acc-demo.is-min .acc-demo__row { display: none; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 980px) {
  .acc-kpis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .acc-charts { grid-template-columns: 1fr; }
  .acc-kpis { grid-template-columns: repeat(2, 1fr); }
  .acc-install { grid-template-columns: 1fr; }
  .acc-install__actions { justify-content: flex-start; }
  .acc-shell-head { align-items: flex-start; }
}
@media (max-width: 440px) {
  .acc-kpis { grid-template-columns: 1fr 1fr; }
}
