/* ═══════════════════════════════════════════════════════════
  cyber app v11 - DASHBOARD (not a landing page)
  Elon rules: delete · one path · work first
  Path: Scan → Grade → Fix → Re-scan
  Tokens from landing; layout is product, not brochure.
  ═══════════════════════════════════════════════════════════ */
:root {
  --g: #76b900;
  --g-dim: rgba(118, 185, 0, 0.12);
  --g-line: rgba(118, 185, 0, 0.28);
  --g-light: #ccff44;
  --g-dark: #4a7a00;
  --red: #ff5555;
  --amber: #fbbf24;
  --b: #4488ff;

  --bg: #000;
  --s1: #0a0a0a;
  --s2: #111213;
  --s3: #1c1c1e;

  --t1: #f5f5f7;
  --t2: rgba(245, 245, 247, 0.72);
  --t3: rgba(245, 245, 247, 0.42);

  --line: rgba(255, 255, 255, 0.08);
  --r: 12px;
  --pill: 980px;
  --w: 880px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --e: cubic-bezier(0.28, 0.11, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
::selection { background: var(--g); color: #000; }
:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; border-radius: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
  radial-gradient(ellipse 70% 35% at 50% 0%, rgba(118, 185, 0, 0.07), transparent 55%),
  var(--bg);
}

/* ─── 1. Top bar ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.topbar__in {
  max-width: calc(var(--w) + 48px);
  margin: 0 auto;
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 10px var(--g);
}
.brand .tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--g);
  border: 1px solid var(--g-line);
  border-radius: 6px;
  padding: 2px 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tabs {
  display: flex;
  gap: 2px;
  flex: 1;
}
.tabs a {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--t2);
  transition: background 0.15s var(--e), color 0.15s var(--e);
}
.tabs a:hover { color: var(--t1); background: rgba(255, 255, 255, 0.04); }
.tabs a.on {
  color: var(--t1);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 600;
}
.tabs a.nav-locked {
  opacity: 0.3;
  pointer-events: none;
}
.topbar__end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.quota {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--t2);
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--s1);
}
.quota #qleft {
  font-weight: 700;
  color: var(--t1);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.quota small { color: var(--t3); }
.q-plan {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: var(--t3);
}
.bar {
  width: 36px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--g), var(--g-light));
}
.link-up {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0a0a0a;
  background: linear-gradient(180deg, #8ed11a, #76b900 55%, #5e9500);
  padding: 7px 14px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.link-up:hover { filter: brightness(1.06); }
.adminswitch { display: none; font-size: 0.75rem; color: var(--b); }
.adminswitch.show { display: inline; }
.who {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.who .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--g-light), var(--g));
  color: #000;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.who-meta { max-width: 120px; min-width: 0; }
.who .nm {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.who .em {
  font-size: 10px;
  font-family: var(--mono);
  color: var(--t3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.signout { font-size: 11px; color: var(--t3); }
.signout:hover { color: var(--t1); }
.mscans { display: none; }

/* ─── 2. Scan bar (utility, sticky) ─── */
.scanbar {
  position: sticky;
  top: 52px;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.scanbar__in {
  max-width: calc(var(--w) + 48px);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.scanform {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  height: 48px;
  padding: 4px 4px 4px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.15s var(--e), box-shadow 0.15s var(--e);
}
.scanform:focus-within {
  border-color: var(--g-line);
  box-shadow: 0 0 0 3px var(--g-dim);
}
.scanform .pfx {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--t3);
  margin-right: 6px;
  flex-shrink: 0;
}
.scanform input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--t1);
  font-size: 15px;
  font-family: var(--mono);
  outline: none;
}
.scanform input::placeholder { color: var(--t3); }
.scanform__btn {
  height: 100%;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #8ed11a 0%, #76b900 50%, #5e9500 100%);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  transition: filter 0.15s var(--e);
}
.scanform__btn:hover { filter: brightness(1.06); }
.scanform__btn:disabled { opacity: 0.55; cursor: wait; }
.hero-scan__btn-loading { display: none; }
.scanform.is-scanning .hero-scan__btn-text { display: none; }
.scanform.is-scanning .hero-scan__btn-loading { display: inline; }

.auth {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--t3);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.auth input { accent-color: var(--g); width: 14px; height: 14px; }

/* ─── 3. Work surface ─── */
.work {
  flex: 1;
  width: 100%;
  max-width: calc(var(--w) + 48px);
  margin: 0 auto;
  padding: 28px 20px 96px;
}
.panel { display: none; }
.panel.show {
  display: block;
  animation: in 0.3s var(--e) both;
}
@keyframes in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.work-head h1 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.work-head .sub {
  font-size: 0.9rem;
  color: var(--t2);
  max-width: 44ch;
}
.work-head.has-history .try { display: none; }
.try {
  display: flex;
  gap: 6px;
}
.try button {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--t2);
  font-family: var(--mono);
  font-size: 11px;
}
.try button:hover {
  border-color: var(--g-line);
  color: var(--t1);
}

.block { margin-bottom: 28px; }
.block-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.block-h h2 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
}
.block-h .meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--t3);
}

/* History list */
.rgrid {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--s1);
}
.rcard {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  transition: background 0.12s var(--e);
}
.rcard:last-child { border-bottom: 0; }
.rcard:hover { background: rgba(255, 255, 255, 0.03); }
.rcard .hband {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.rcard-body { flex: 1; min-width: 0; }
.rcard .hu {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rcard .ht {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--t3);
}
.rcard-go { color: var(--t3); flex-shrink: 0; }
.empty {
  padding: 36px 20px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--t3);
}

/* Blocked / upgrade */
.blocked {
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--g-line);
  background: var(--g-dim);
  text-align: center;
}
.blocked h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.blocked p {
  color: var(--t2);
  font-size: 0.9rem;
  margin: 0 auto 16px;
  max-width: 40ch;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}
.plan {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.plan.hot { border-color: var(--g-line); }
.plan .pn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
}
.plan .pp {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 6px 0;
  letter-spacing: -0.03em;
}
.plan .pp small { font-size: 0.8rem; color: var(--t3); font-weight: 500; }
.plan .pd {
  font-size: 0.8rem;
  color: var(--t2);
  margin-bottom: 12px;
  min-height: 28px;
}
.plan .pb {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--s2);
  font-size: 0.82rem;
  font-weight: 700;
}
.plan.hot .pb {
  background: linear-gradient(180deg, #8ed11a, #76b900 55%, #5e9500);
  color: #0a0a0a;
  border-color: transparent;
}

/* ─── Report: status → next → fix list ─── */
.report {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.rhead {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--s1);
  flex-wrap: wrap;
}
.gauge {
  position: relative;
  width: 104px;
  height: 104px;
  flex-shrink: 0;
}
.gauge .num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge .num b {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.gauge .num span {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--t3);
  margin-top: 2px;
}
.rmeta { flex: 1; min-width: 200px; }
.rmeta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.rmeta .band {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--pill);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.rmeta h2 {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--t3);
  word-break: break-all;
  margin-bottom: 6px;
}
.rmeta .verdict {
  font-size: 0.95rem;
  color: var(--t2);
  line-height: 1.45;
}
.rmeta .verdict b { color: var(--t1); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--t2);
}
.chip .d { width: 6px; height: 6px; border-radius: 50%; }

/* Next actions - one row, one primary */
.rnext {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.btn-main {
  height: 40px;
  padding: 0 20px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #8ed11a 0%, #76b900 50%, #5e9500 100%);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow:
  inset 0 1px 0 rgba(255, 255, 255, 0.45),
  0 6px 16px rgba(118, 185, 0, 0.25);
}
.btn-main:hover { filter: brightness(1.05); }
.btn-main.ok { outline: 1px solid var(--g-line); }
.btn-sec {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--t1);
  font-weight: 600;
  font-size: 0.82rem;
}
.btn-sec:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-sec.ok,
.btn-sec.pub {
  border-color: var(--g-line);
  color: var(--g-light);
}
.agent-hint {
  font-size: 0.8rem;
  color: var(--t3);
  margin-top: -8px;
}
.sharebox {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s1);
}
.sharehint {
  font-size: 0.85rem;
  color: var(--t2);
  margin: 0 0 8px;
}
.sharehint b { color: var(--t1); }
.sharerow { display: flex; gap: 8px; flex-wrap: wrap; }
.sharerow input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--t1);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.share-public {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.share-public__preview {
  display: grid;
  gap: 6px;
}
.share-public__preview img {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0a0a0a;
}
.share-public__label {
  font-size: 0.72rem;
  color: var(--t3);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.share-public__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-public__tip {
  font-size: 0.78rem;
  color: var(--t3);
  line-height: 1.45;
  margin: 0;
}
.share-public__tip a { color: var(--g); }

/* Priority list */
.actions {
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  background: var(--s1);
  overflow: hidden;
}
.actions.allclear { border-left-color: var(--g); }
.actions .ah {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.actions.allclear .ah { border-bottom: 0; }
.actions .ah .adot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.actions.allclear .ah .adot { background: var(--g); }
.arow {
  display: grid;
  grid-template-columns: 68px minmax(90px, 0.35fr) minmax(0, 1fr) 14px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
}
.arow:last-child { border-bottom: 0; }
.arow:hover { background: rgba(255, 255, 255, 0.025); }
.asev {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 3px 0;
  border-radius: 6px;
}
.an { font-size: 0.88rem; font-weight: 600; min-width: 0; }
.af {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--t3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aarr { color: var(--t3); }

.report-cats,
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cat {
  padding: 14px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s1);
  text-align: center;
}
.cring {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
}
.cring b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cat .cn { font-size: 0.82rem; font-weight: 600; }
.cat .cs {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--t3);
  margin-top: 2px;
}

.fgroup {
  margin-bottom: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s1);
  overflow: hidden;
}
.fgh {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.fgh .cd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fgh h3 { flex: 1; font-size: 0.88rem; font-weight: 600; }
.fgh .fgs {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--t3);
}
.fitem { border-bottom: 1px solid var(--line); }
.fitem:last-child { border-bottom: 0; }
.frow {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto 12px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.frow:hover { background: rgba(255, 255, 255, 0.025); }
.fdot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}
.fname { font-size: 0.88rem; font-weight: 500; min-width: 0; }
.fsev {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}
.fcaret {
  color: var(--t3);
  font-size: 0.65rem;
  transition: transform 0.12s;
}
.fitem.open .fcaret { transform: rotate(90deg); }
.fdet { max-height: 0; overflow: hidden; transition: max-height 0.18s var(--e); }
.fitem.open .fdet { max-height: 480px; }
.fdet .in {
  padding: 0 14px 14px 46px;
  font-size: 0.88rem;
  color: var(--t2);
  line-height: 1.5;
}
.fdet .in .lab {
  display: block;
  margin: 10px 0 4px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
}
.fixwrap { position: relative; }
.fdet .fix {
  margin-top: 4px;
  padding: 10px;
  padding-right: 56px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--g-light);
  white-space: pre-wrap;
  word-break: break-word;
}
.fixcopy {
  position: absolute;
  top: 6px;
  right: 6px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--s3);
  color: var(--t2);
  font-family: var(--mono);
  font-size: 0.65rem;
}
.fixcopy:hover { color: var(--g); border-color: var(--g-line); }
.fitem.flash { animation: flash 1s var(--e); }
@keyframes flash {
  0%, 100% { background: transparent; }
  30% { background: var(--g-dim); }
}

/* Loader */
.loader { display: none; }
.loader.show { display: block; }
.loader-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
}
.loader-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--s3);
  flex-shrink: 0;
}
.loader-copy .lstat {
  font-weight: 600;
  margin-bottom: 4px;
}
.loader-copy p {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--t3);
}
.shim { position: relative; overflow: hidden; }
.shim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  animation: shim 1.2s infinite;
}
@keyframes shim { to { transform: translateX(100%); } }

/* API / assets */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.surface {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
}
.surface-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.surface-h h2 { font-size: 0.9rem; font-weight: 600; }
.keyrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.keyrow:last-child { border-bottom: 0; }
.keyprefix { font-family: var(--mono); font-size: 0.85rem; }
.keymeta {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--t3);
}
.newkey {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--g-line);
  background: var(--g-dim);
}
.newkey .nkh { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.newkey code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--g-light);
  word-break: break-all;
}
.codeblock {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--t2);
  white-space: pre-wrap;
  line-height: 1.55;
}
.codeblock .k { color: var(--g-light); }

.dgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.dcard {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s1);
}
.dcard:hover { border-color: rgba(255, 255, 255, 0.14); }
.dtop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.dscore {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 0.85rem;
}
.dh { flex: 1; min-width: 0; }
.dhost {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dmeta {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--t3);
  margin-top: 2px;
}
.ddelta {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}
.spark { width: 100%; height: 32px; display: block; }
.sparkempty {
  height: 32px;
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--t3);
}
.mrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.mtoggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--t2);
  cursor: pointer;
}
.mtoggle .sw {
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: var(--s3);
  position: relative;
}
.mtoggle .sw::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--t2);
  transition: transform 0.12s;
}
.mtoggle.on .sw { background: var(--g); }
.mtoggle.on .sw::after {
  transform: translateX(12px);
  background: #000;
}
.mstat { font-family: var(--mono); font-size: 0.68rem; color: var(--t3); }
.mstat.reg { color: var(--red); }

/* Toast + Bob */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%) translateY(8px);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--g-line);
  background: var(--s3);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bob-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8ed11a, #76b900 55%, #5e9500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.bob-fab svg { width: 22px; height: 22px; }
.bob-panel {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 61;
  width: 340px;
  max-width: calc(100vw - 24px);
  height: 440px;
  max-height: calc(100vh - 100px);
  display: none;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}
.bob-panel.show { display: flex; }
.bob-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.bob-head .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--g);
  color: #000;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bob-head .nm { font-size: 0.9rem; font-weight: 600; }
.bob-head .st {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--g);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bob-head .x { margin-left: auto; color: var(--t3); font-size: 1.1rem; }
.bob-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bm {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}
.bm.user {
  align-self: flex-end;
  background: var(--g);
  color: #0a0a0a;
}
.bm.bob {
  align-self: flex-start;
  background: var(--s3);
  border: 1px solid var(--line);
}
.bm.human {
  align-self: flex-start;
  background: rgba(68, 136, 255, 0.12);
  border: 1px solid rgba(68, 136, 255, 0.4);
  border-left: 3px solid #4488ff;
}
.bm-lab {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7fb4ff;
  font-weight: 700;
  margin-bottom: 4px;
}
.bm.typing {
  font-family: var(--mono);
  color: var(--t3);
  font-size: 0.72rem;
}
.bob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 12px 8px;
}
.bob-chip {
  height: 26px;
  padding: 0 10px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--t2);
  font-size: 0.72rem;
}
.bob-input {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--line);
}
.bob-input input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--t1);
  font-size: 16px;
  outline: none;
}
.bob-input button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--g);
  color: #0a0a0a;
  font-weight: 800;
}

.mbackdrop { display: none; }
.onboard { display: none !important; }

/* ── Identity Shield product shell ── */
.app.mode-identity .scanbar { display: none; }
.app.mode-identity .work { max-width: 1120px; }
.id-shell { width: 100%; }
.id-hero {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(118,185,0,0.12), transparent 55%),
    var(--s1);
}
.id-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g);
  font-weight: 700;
  margin-bottom: 8px;
}
.id-hero h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
  max-width: 28ch;
}
.id-hero .sub { max-width: 52ch; color: var(--t2); font-size: 0.9rem; line-height: 1.5; }
.id-hero__score {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.id-ring {
  --p: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, var(--s1) 58%, transparent 59%),
    conic-gradient(var(--g) calc(var(--p) * 1%), rgba(255,255,255,0.08) 0);
  font-family: var(--mono);
}
.id-ring span { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.id-ring small { font-size: 0.58rem; color: var(--t3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.id-hero__stats { display: flex; flex-direction: column; gap: 8px; }
.id-hero__stats div { display: flex; align-items: baseline; gap: 8px; }
.id-hero__stats b { font-family: var(--mono); font-size: 1.1rem; font-weight: 800; min-width: 28px; }
.id-hero__stats span { font-size: 0.72rem; color: var(--t3); text-transform: uppercase; letter-spacing: 0.06em; }

.id-subnav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 12px;
  background: var(--s1);
  border: 1px solid var(--line);
}
.id-sub {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t2);
  transition: background 0.15s var(--e), color 0.15s var(--e);
}
.id-sub:hover { color: var(--t1); background: rgba(255,255,255,0.04); }
.id-sub.on { color: #0a0a0a; background: var(--g); }

.id-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--s1);
  padding: 20px;
  margin-bottom: 16px;
}
.id-card__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.id-card__h h2 { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.id-card__h .meta { font-family: var(--mono); font-size: 0.72rem; color: var(--t3); }
.id-footnote { font-size: 0.78rem; color: var(--t3); margin-top: 12px; line-height: 1.45; }

.id-overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.id-card--wide { grid-column: 1 / -1; }
.id-howto {
  margin: 0 0 16px 1.2rem;
  color: var(--t2);
  line-height: 1.55;
  font-size: 0.9rem;
}
.id-howto li { margin-bottom: 8px; }
.id-howto strong { color: var(--t1); }

.id-priority { display: flex; flex-direction: column; gap: 8px; }
.id-pri {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  transition: border-color 0.15s var(--e), background 0.15s var(--e);
}
.id-pri:hover { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.03); }
.id-pri__sev {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--t3);
}
.id-pri--high .id-pri__sev { color: var(--red); }
.id-pri--medium .id-pri__sev { color: var(--amber); }
.id-pri__t { font-size: 0.88rem; font-weight: 600; }
.id-pri__go { font-size: 0.78rem; color: var(--g); font-weight: 700; }

.id-mix { display: flex; flex-direction: column; gap: 10px; }
.id-mix__row {
  display: grid;
  grid-template-columns: 72px 1fr 28px;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--t2);
}
.id-mix__row b { font-family: var(--mono); text-align: right; }
.id-mix__bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.id-mix__bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--g-dark), var(--g));
  border-radius: inherit;
}

.id-hint {
  font-size: 0.86rem;
  color: var(--t2);
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 70ch;
}
.id-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.id-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--t2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.id-field input[type="text"],
.id-field input[type="email"],
.id-field input[type="tel"] {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
  color: var(--t1);
  padding: 0 12px;
  font-size: 16px;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.id-field input:focus {
  outline: none;
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(118, 185, 0, 0.15);
}
.id-photo-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  margin-top: 12px;
}
.id-photo-prev {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.id-photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.id-field--file input[type="file"] { font-size: 0.8rem; color: var(--t2); text-transform: none; }
.id-filemeta {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--t3);
  font-family: var(--mono);
  text-transform: none;
  letter-spacing: 0;
}
.id-attest {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 0.84rem;
  color: var(--t2);
  line-height: 1.45;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.id-attest input { margin-top: 3px; accent-color: var(--g); width: 18px; height: 18px; flex-shrink: 0; }
.id-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.id-scan-progress { margin-top: 16px; }
.id-scan-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 8px;
}
.id-scan-bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--g);
  transition: width 0.35s var(--e);
}
.id-status { font-family: var(--mono); font-size: 0.75rem; color: var(--t2); }

.id-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.id-filter {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--t2);
  font-size: 0.78rem;
  font-weight: 600;
}
.id-filter.on { background: rgba(118,185,0,0.12); border-color: var(--g-line); color: var(--g); }

.id-findings { display: flex; flex-direction: column; gap: 10px; }
.id-find {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #000;
  border-left: 3px solid var(--t3);
}
.id-find--high { border-left-color: var(--red); }
.id-find--medium { border-left-color: var(--amber); }
.id-find--low { border-left-color: var(--b); }
.id-find--st-removed, .id-find--st-ignored { opacity: 0.5; }
.id-find__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.id-find__h h3 { margin: 0; font-size: 0.95rem; font-weight: 700; flex: 1 1 100%; letter-spacing: -0.02em; }
.id-find__sev, .id-find__cat, .id-find__st {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--t3);
}
.id-find--high .id-find__sev, .id-pri--high .id-pri__sev { color: var(--red); }
.id-find--medium .id-find__sev { color: var(--amber); }
.id-find__d { margin: 0; font-size: 0.84rem; color: var(--t2); line-height: 1.45; }
.id-find__prog {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  position: relative;
}
.id-find__prog > i {
  display: block;
  height: 100%;
  background: var(--g);
  border-radius: inherit;
}
.id-find__prog span {
  position: absolute;
  right: 0;
  top: 8px;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--t3);
}
.id-find__side { display: flex; align-items: center; }
.id-find__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Clear queue workspace */
.id-clear-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: start;
}
.id-clear-list { display: flex; flex-direction: column; gap: 6px; max-height: 70vh; overflow: auto; }
.id-qitem {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 8px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(0,0,0,0.3);
  font-size: 0.82rem;
}
.id-qitem.on { border-color: var(--g-line); background: rgba(118,185,0,0.08); }
.id-qitem--removed, .id-qitem--ignored { opacity: 0.45; }
.id-qitem__sev { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; color: var(--t3); font-weight: 700; }
.id-qitem__t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.id-qitem__st { font-family: var(--mono); font-size: 0.62rem; color: var(--t3); text-transform: uppercase; }

.id-cw__head h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0; }
.id-cw__head p { color: var(--t2); font-size: 0.9rem; line-height: 1.5; margin-bottom: 8px; }
.id-cw__sec { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.id-cw__sec h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--t3); margin-bottom: 12px; }
.id-cw__sec--dim { opacity: 0.85; }
.id-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.id-steps li label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--t2);
}
.id-steps li.done label { border-color: var(--g-line); background: rgba(118,185,0,0.06); color: var(--t1); }
.id-steps input { margin-top: 2px; accent-color: var(--g); width: 16px; height: 16px; flex-shrink: 0; }
.id-engines { display: flex; flex-direction: column; gap: 8px; }
.id-eng {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
}
.id-eng strong { display: block; font-size: 0.88rem; }
.id-eng small { color: var(--t3); font-size: 0.75rem; }
.id-letter, .id-notes {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #000;
  color: var(--t1);
  padding: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
  resize: vertical;
}
.id-letter__sub { font-size: 0.84rem; color: var(--t2); margin-bottom: 8px; }
.id-cw__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.id-history { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow: auto; }
.id-hist {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #000;
  color: var(--t1);
  transition: border-color 0.15s var(--e);
}
.id-hist:hover, .id-hist.on { border-color: var(--g-line); }
.id-hist__risk { font-family: var(--mono); font-weight: 800; font-size: 1.1rem; min-width: 28px; }
.id-hist__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.id-hist__body strong { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id-hist__body small { font-size: 0.72rem; color: var(--t3); font-family: var(--mono); }

.id-learn { display: flex; flex-direction: column; gap: 8px; }
.id-learn__mod {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #000;
  padding: 4px 14px;
}
.id-learn__mod summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.92rem;
}
.id-learn__mod summary::-webkit-details-marker { display: none; }
.id-learn__mod summary span {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--t3);
  text-transform: uppercase;
  flex-shrink: 0;
}
.id-learn__mod p {
  color: var(--t2);
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 0 0 14px;
  max-width: 68ch;
}

@media (max-width: 900px) {
  .id-hero { flex-direction: column; }
  .id-overview-grid, .id-clear-layout, .id-fields, .id-photo-row { grid-template-columns: 1fr; }
  .id-find { grid-template-columns: 1fr; }
  .id-find__side { justify-content: flex-start; }
}

/* legacy aliases */
.button { /* use btn-main */ }
.button-secondary,
.btn-ghost,
.ract { /* use btn-sec */ }
.btn-primary { /* use btn-main */ }

/* Responsive */
@media (max-width: 800px) {
  .tabs {
    display: flex;
    flex: 1 1 auto;
    overflow-x: auto;
    max-width: 52vw;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { padding: 0 10px; font-size: 0.78rem; flex-shrink: 0; }
  .who-meta { display: none; }
  .quota .bar { display: none; }
  .scanbar__in { flex-direction: column; align-items: stretch; gap: 8px; }
  .auth { justify-content: flex-start; }
  .report-cats, .cats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .arow {
  grid-template-columns: 60px minmax(0, 1fr) 12px;
  }
  .arow .af { display: none; }
  .rhead { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .topbar__in { padding: 0 12px; gap: 10px; }
  .work { padding: 20px 12px 88px; }
  .scanbar__in { padding: 10px 12px; }
  .link-up { padding: 6px 10px; font-size: 0.72rem; }
}
