:root {
  /* clearcut. — Split Refraction Glass Bench (Cool Optical Crystal, Zero Apple Blue, Zero Beige Serif) */
  --spring: cubic-bezier(0.22, 1, 0.36, 1);

  --bg: #eef1f6;
  --surface: rgba(255, 255, 255, 0.64);
  --surface-clear: rgba(255, 255, 255, 0.88);
  --surface-frosted: rgba(235, 240, 248, 0.56);
  --hairline: rgba(14, 18, 26, 0.085);
  --hairline-soft: rgba(14, 18, 26, 0.052);

  --ink: #0e1116;
  --muted: #505866;
  --subtle: #7c8594;

  --accent: #0e1116;
  --green: #0f7651;
  --green-tint: rgba(15, 118, 81, 0.10);
  --green-line: rgba(15, 118, 81, 0.24);

  --blue: #2342b8;
  --blue-tint: rgba(35, 66, 184, 0.10);
  --blue-line: rgba(35, 66, 184, 0.24);

  --caution: #9a4a00;
  --caution-tint: rgba(217, 119, 6, 0.11);
  --caution-line: rgba(217, 119, 6, 0.26);

  --amber: #b83b00;
  --amber-tint: rgba(217, 119, 6, 0.12);
  --amber-line: rgba(217, 119, 6, 0.28);

  --red: #d92d20;
  --red-tint: rgba(217, 45, 32, 0.10);
  --red-line: rgba(217, 45, 32, 0.24);

  --cobalt: #2342b8;
  --cobalt-tint: rgba(35, 66, 184, 0.10);
  --cobalt-line: rgba(35, 66, 184, 0.24);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  /* Luminous optical light field so frosted glass planes visibly refract depth */
  background:
    radial-gradient(620px 380px at 14% 12%, rgba(255, 255, 255, 0.96) 0%, transparent 68%),
    radial-gradient(560px 420px at 86% 18%, rgba(196, 210, 236, 0.44) 0%, transparent 66%),
    radial-gradient(520px 360px at 52% 90%, rgba(218, 224, 240, 0.40) 0%, transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 15px/1.52 var(--sans);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.45s ease;
}

/* Minimalistic Verdict Mood Highlights (Localized optical bloom refracting behind the glass!) */
body[data-tone="caught"] {
  background:
    radial-gradient(560px 360px at 18% 18%, rgba(255, 255, 255, 0.92) 0%, transparent 68%),
    radial-gradient(540px 360px at 42% 160px, rgba(217, 45, 32, 0.14) 0%, rgba(217, 45, 32, 0.04) 48%, transparent 74%),
    radial-gradient(480px 360px at 88% 72%, rgba(196, 208, 232, 0.34) 0%, transparent 70%),
    var(--bg);
}
body[data-tone="watch"] {
  background:
    radial-gradient(560px 360px at 18% 18%, rgba(255, 255, 255, 0.92) 0%, transparent 68%),
    radial-gradient(540px 360px at 42% 160px, rgba(35, 66, 184, 0.15) 0%, rgba(35, 66, 184, 0.045) 48%, transparent 74%),
    radial-gradient(480px 360px at 88% 72%, rgba(196, 210, 236, 0.36) 0%, transparent 70%),
    var(--bg);
}
body[data-tone="clearcut"] {
  background:
    radial-gradient(560px 360px at 18% 18%, rgba(255, 255, 255, 0.94) 0%, transparent 68%),
    radial-gradient(520px 340px at 42% 160px, rgba(15, 118, 81, 0.12) 0%, rgba(15, 118, 81, 0.035) 48%, transparent 74%),
    radial-gradient(480px 360px at 88% 72%, rgba(198, 212, 234, 0.34) 0%, transparent 70%),
    var(--bg);
}
body[data-tone="straight"] {
  background:
    radial-gradient(560px 360px at 18% 18%, rgba(255, 255, 255, 0.94) 0%, transparent 68%),
    radial-gradient(520px 340px at 42% 160px, rgba(124, 133, 148, 0.16) 0%, rgba(124, 133, 148, 0.045) 48%, transparent 74%),
    var(--bg);
}

[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; color: inherit; }
button, label { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, pre { margin: 0; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.shell { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }

/* ==================== TRUE LIQUID GLASS MATERIALITY ==================== */
.liquid-glass {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.52) 52%, rgba(248, 250, 254, 0.68) 100%);
  backdrop-filter: saturate(190%) blur(32px);
  -webkit-backdrop-filter: saturate(190%) blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(255, 255, 255, 0.40),
    0 0 0 0.5px rgba(14, 18, 26, 0.07),
    0 18px 44px -20px rgba(14, 18, 26, 0.13);
}

@keyframes glassArrive {
  0% { opacity: 0; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes lensFadeUp {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.glass-arrive { animation: glassArrive 0.34s var(--spring) both; animation-delay: var(--stagger, 0ms); }

[data-glass-tilt] {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s var(--spring);
}
[data-glass-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(300px circle at var(--mx, 25%) var(--my, 20%), rgba(255, 255, 255, 0.52) 0%, transparent 70%);
  transition: opacity 0.24s ease;
  z-index: 1;
}
[data-glass-tilt].is-tilting::after { opacity: 1; }
[data-glass-tilt] > * { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .glass-arrive, .lens-animate { animation: none !important; }
  [data-glass-tilt] { transition: none !important; }
}

/* ==================== MINIMAL BRAND RAIL (ZERO REDUNDANT NAV LINKS) ==================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 241, 246, 0.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 0.5px solid var(--hairline);
}
.mast-inner { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font: 600 19px/1 var(--sans); letter-spacing: -0.045em; color: var(--ink); white-space: nowrap; }
.brand-dot { color: var(--ink); }
.mast-meta { font-size: 12px; font-weight: 500; color: var(--subtle); letter-spacing: -0.01em; white-space: nowrap; }
.mast-nav { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 500; color: var(--muted); }
.mast-nav a { padding: 4px 2px; transition: color 0.14s ease; white-space: nowrap; }
.mast-nav a:hover { color: var(--ink); }
.mast-nav a.is-active { color: var(--ink); font-weight: 600; }

/* ==================== FROSTED GLASS TABS & CONTROLS ==================== */
.glass-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.44);
  border: 0.5px solid rgba(14, 18, 26, 0.08);
  box-shadow: inset 0 1px 2px rgba(14, 18, 26, 0.04);
}
.gtab {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 9px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.gtab:hover { color: var(--ink); }
.gtab[aria-selected="true"] {
  background: rgba(14, 18, 26, 0.90);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px -2px rgba(14, 18, 26, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #ffffff;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, transform 0.14s var(--spring);
  white-space: nowrap;
}
.btn:hover { opacity: 0.86; }
.btn:active, .pill-btn:active, .cmd-btn:active { transform: scale(0.98); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }

.btn-outline, .pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0.5px solid rgba(14, 18, 26, 0.14);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-outline:hover, .pill-btn:hover { background: #ffffff; border-color: rgba(14, 18, 26, 0.28); }

.back-btn, .text-btn { border: 0; background: none; padding: 4px 0; color: var(--ink); font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; }
.back-btn:hover, .text-btn:hover { opacity: 0.65; text-decoration: underline; text-underline-offset: 3px; }

.section-label { font-size: 12px; font-weight: 600; color: var(--subtle); letter-spacing: -0.01em; }
.eyebrow { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 5px; letter-spacing: -0.01em; }
.quick-label { font-size: 12px; color: var(--subtle); font-weight: 500; }

/* Flash Banner */
.flash-banner { background: rgba(14, 18, 26, 0.94); backdrop-filter: blur(18px); color: #fff; padding: 10px 0; font-size: 13px; }
.flash-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flash-banner .pill-btn { background: rgba(255, 255, 255, 0.14); border-color: transparent; color: #fff; }

/* ==================== HOME: SPLIT-GLASS WORKBENCH (LEFT INSTRUMENT | RIGHT LIVE MONITOR) ==================== */
.workbench-top {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 36px;
  align-items: start;
  padding: 40px 0 44px;
}
/* When viewing a product dossier, collapse the top search into a sleek full-width bar */
.workbench-top:has(#home-view[hidden]) {
  display: block;
  padding: 16px 0 6px;
}

.bench-search-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 12px;
}
.workbench-top:has(#home-view[hidden]) .bench-search-col {
  padding-top: 0;
  gap: 0;
}

.hero-intro { text-align: left; }
.hero-intro.is-returning h1 { font-size: clamp(28px, 3.2vw, 38px); }
.hero-intro.is-returning .hero-sub { display: none; }

.hero-intro h1 {
  font: 700 clamp(30px, 3.3vw, 42px)/1.06 var(--sans);
  letter-spacing: -0.038em;
  color: var(--ink);
}
.hero-frost {
  color: var(--subtle);
}
.hero-sub {
  margin-top: 14px;
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.52;
  color: var(--muted);
}

.command-shell { position: relative; z-index: 30; }
.command-shell.compact-mode { margin-bottom: 4px; }

.command-bar {
  border-radius: 16px;
  padding: 6px 7px 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.command-bar:focus-within {
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 0 0 1.5px var(--ink),
    0 20px 44px -18px rgba(14, 18, 26, 0.20);
}
.cmd-search-icon { color: var(--subtle); width: 17px; height: 17px; }
.cmd-input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--ink); font-size: 15.5px; font-weight: 400; padding: 9px 2px; letter-spacing: -0.01em; }
.cmd-input::placeholder { color: var(--subtle); }
.cmd-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cmd-clear { border: 0; background: rgba(14, 18, 26, 0.08); color: var(--muted); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; line-height: 1; flex: none; }
.cmd-clear:hover { background: rgba(14, 18, 26, 0.15); color: var(--ink); }

.cmd-btn { border: 0; border-radius: 11px; padding: 8px 13px; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background 0.15s, opacity 0.15s; }
.cmd-scan { background: rgba(14, 18, 26, 0.055); color: var(--ink); }
.cmd-scan:hover { background: rgba(14, 18, 26, 0.11); }
.cmd-go { background: var(--ink); color: #ffffff; padding: 8px 17px; }
.cmd-go:hover { opacity: 0.86; }

/* Randomized Side-by-Side Shelf Face-Off (CAUGHT vs. CLEARCUT) under Search */
.shelf-faceoff {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.faceoff-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}
.faceoff-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.faceoff-kicker {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faceoff-sep { color: var(--subtle); font-size: 11px; }
.faceoff-aisle {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.faceoff-shuffle {
  border: 0.5px solid rgba(14, 18, 26, 0.12);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s var(--spring);
}
.faceoff-shuffle:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: rgba(14, 18, 26, 0.24);
}
.faceoff-shuffle:active { transform: scale(0.96); }

.faceoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.faceoff-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 8px;
  padding: 13px 13px 12px;
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--spring), background 0.16s ease, box-shadow 0.2s ease, opacity 0.16s ease;
}
.faceoff-card.is-caught {
  box-shadow:
    inset 0 2px 0 rgba(207, 34, 46, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 28px -18px rgba(207, 34, 46, 0.26);
}
.faceoff-card.is-clearcut {
  box-shadow:
    inset 0 2px 0 rgba(20, 122, 62, 0.70),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 28px -18px rgba(20, 122, 62, 0.24);
}
.faceoff-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.90);
}
.faceoff-card:active { transform: scale(0.985); }
.faceoff-card.is-loading { opacity: 0.65; pointer-events: none; }

.fo-head {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fo-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.fo-badge.is-caught { background: rgba(207, 34, 46, 0.12); color: var(--red); }
.fo-badge.is-clearcut { background: rgba(20, 122, 62, 0.12); color: var(--green); }
.fo-sub {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.fo-arrow {
  font-size: 11px;
  color: var(--subtle);
  flex: none;
  transition: transform 0.16s ease, color 0.16s ease;
}
.faceoff-card:hover .fo-arrow {
  color: var(--ink);
  transform: translate(1.5px, -1.5px);
}
.fo-name {
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -0.018em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fo-frosted {
  border-radius: 10px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(14, 18, 26, 0.045) 0%, rgba(14, 18, 26, 0.025) 100%);
  border: 0.5px solid rgba(14, 18, 26, 0.07);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fo-clean-box {
  border-radius: 10px;
  padding: 7px 9px;
  background: rgba(20, 122, 62, 0.055);
  border: 0.5px solid rgba(20, 122, 62, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fo-clear {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 1px 2px 0;
}
.fo-mini-lbl {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--subtle);
}
.fo-mini-lbl.is-red { color: var(--red); }
.fo-mini-lbl.is-green { color: var(--green); }
.fo-claim {
  font-size: 12px;
  line-height: 1.32;
  color: var(--muted);
  font-weight: 500;
}
.fo-fact {
  font-size: 12.2px;
  line-height: 1.34;
  color: var(--ink);
  font-weight: 550;
  letter-spacing: -0.01em;
}
@keyframes faceoffSwap {
  from { opacity: 0.35; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
.faceoff-grid.is-swapping .faceoff-card {
  animation: faceoffSwap 0.24s var(--spring);
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 65;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(190%) blur(32px);
  -webkit-backdrop-filter: saturate(190%) blur(32px);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(14, 18, 26, 0.10), 0 24px 60px -14px rgba(14, 18, 26, 0.18);
  max-height: 54vh;
  overflow-y: auto;
}
.dropdown-head { padding: 9px 16px 7px; font-size: 11px; font-weight: 600; color: var(--subtle); border-bottom: 0.5px solid var(--hairline); }
.dropdown-row { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border: 0; border-bottom: 0.5px solid var(--hairline-soft); background: transparent; text-align: left; transition: background 0.12s; }
.dropdown-row:hover { background: rgba(14, 18, 26, 0.04); }
.dropdown-row-left { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.dropdown-thumb { width: 36px; height: 36px; border-radius: 9px; background: #fff; border: 0.5px solid var(--hairline); padding: 3px; display: grid; place-items: center; flex: none; overflow: hidden; }
.dropdown-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dropdown-title { font-weight: 500; font-size: 14px; color: var(--ink); letter-spacing: -0.01em; }
.dropdown-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 440px; margin-top: 1px; }
.dropdown-footer { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px; border: 0; background: rgba(14, 18, 26, 0.035); color: var(--ink); font-size: 13px; font-weight: 500; }
.dropdown-footer:hover { background: rgba(14, 18, 26, 0.075); }

/* RIGHT HOME COLUMN + FULL-WIDTH FOOT VIA DISPLAY:CONTENTS */
#home-view:not([hidden]) { display: contents; }
.bench-search-col { grid-column: 1; grid-row: 1; }
.wire-monitor { grid-column: 2; grid-row: 1; }
.recent-section { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.recent-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.recent-clear { font-size: 12px; color: var(--subtle); }
.recent-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.recent-strip::-webkit-scrollbar { display: none; }
.recent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 0.5px solid rgba(14, 18, 26, 0.09);
  color: var(--ink);
  white-space: nowrap;
  flex: none;
  transition: background 0.14s;
}
.recent-chip:hover { background: #ffffff; }
.recent-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0.5px solid var(--hairline); padding: 2px; display: grid; place-items: center; overflow: hidden; flex: none; }
.recent-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.recent-name { font: 500 12.5px/1.1 var(--sans); color: var(--ink); }

/* Translucent Liquid Glass FDA Recall Monitor */
.wire-monitor {
  border-radius: 22px;
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wire-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.wire-bar-left { display: inline-flex; align-items: center; gap: 8px; }
.wire-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(15, 118, 81, 0.18); flex: none; }
.wire-heading { font: 600 15.5px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.wire-count { font: 600 11px/1 var(--mono); font-variant-numeric: tabular-nums; padding: 3px 7px; border-radius: 999px; background: var(--red-tint); color: var(--red); }

.wire-stage { display: flex; flex-direction: column; gap: 8px; }
.wire-panel { display: flex; flex-direction: column; gap: 8px; }
.wire-recall-note { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--subtle); }
.wire-recall-note strong { color: var(--muted); font-weight: 500; }
.wire-recall-note a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14, 18, 26, 0.22); }

.wire-list {
  display: flex;
  flex-direction: column;
  max-height: 410px;
  overflow-y: auto;
  border-top: 0.5px solid var(--hairline);
}
.wire-empty {
  padding: 24px 12px;
  border-top: 0.5px solid var(--hairline);
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
.recall-row {
  padding: 13px 4px;
  border-bottom: 0.5px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
  transition: background 0.14s;
}
.recall-row:last-child { border-bottom: 0; }
.recall-main { min-width: 0; flex: 1 1 240px; display: flex; flex-direction: column; gap: 3px; }
.wire-row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.wire-row-title { font: 600 14px/1.28 var(--sans); color: var(--ink); letter-spacing: -0.015em; }
.recall-badge { font: 600 10.5px/1 var(--sans); padding: 2.5px 7px; border-radius: 6px; }
.recall-badge[data-class="BREAKING"] { background: var(--cobalt-tint); color: var(--cobalt); }
.recall-badge[data-class="I"] { background: var(--red-tint); color: var(--red); }
.recall-badge[data-class="II"] { background: var(--amber-tint); color: var(--amber); }
.recall-date { font-size: 11.5px; color: var(--subtle); font-variant-numeric: tabular-nums; }
.recall-firm { font-size: 12px; font-weight: 500; color: var(--muted); }
.recall-reason { font-size: 13px; line-height: 1.42; color: var(--ink); }
.recall-dist { font-size: 11.5px; color: var(--subtle); }
.recall-actions { display: flex; align-items: center; gap: 8px; flex: none; align-self: center; }

/* Compact Quiet Bottom Truth Strip (Spans Full Workbench Width Below Split!) */
.truth-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 22px;
  border-top: 0.5px solid var(--hairline);
}
.truth-cell { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.48; color: var(--muted); }
.truth-cell strong { color: var(--ink); font-weight: 600; font-size: 13.5px; letter-spacing: -0.01em; }

/* ==================== SPLIT REFRACTION DOSSIER (FROSTED FRONT -> CRYSTAL BACK) ==================== */
.dossier-stage { padding: 6px 0 68px; }
.dossier-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0 18px; }
.dossier-top-actions { display: flex; align-items: center; gap: 10px; }
.copied-badge { font-size: 12px; font-weight: 600; color: var(--green); }

/* Share Receipt Sheet */
.share-receipt-panel { margin-bottom: 22px; padding: 18px 20px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px; animation: lensFadeUp 0.18s var(--spring); }
.share-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.share-panel-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); }
.share-check-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.share-receipt-pre { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(14, 18, 26, 0.04); font: 400 12px/1.55 var(--mono); color: var(--ink); white-space: pre-wrap; word-break: break-word; user-select: all; }
.share-panel-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.share-copy-btns { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

/* SIGNATURE 2-COLUMN REFRACTION BENCH: LEFT STICKY VERDICT LENS | RIGHT BACK-LABEL & SWAPS */
.refraction-bench {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(350px, 0.98fr);
  gap: 32px;
  align-items: start;
}

.bench-left {
  position: sticky;
  top: 66px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.verdict-column { display: flex; flex-direction: column; gap: 18px; }

.dossier-header {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}
.dossier-header.no-visual { grid-template-columns: minmax(0, 1fr) auto; }
.dossier-visual {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 0.5px rgba(14, 18, 26, 0.08), 0 10px 26px -12px rgba(14, 18, 26, 0.16);
  display: grid;
  place-items: center;
  padding: 7px;
  overflow: hidden;
}
.dossier-visual img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dossier-meta { min-width: 0; }
.dossier-title {
  font: 700 clamp(22px, 2.5vw, 31px)/1.1 var(--sans);
  letter-spacing: -0.035em;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* PHYSICAL LIQUID GLASS VERDICT ORB (Mathematically 1:1 circular + symmetrical top dome gloss + mood caustic) */
.grade-ring-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
}
.grade-ring-wrap::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 56%, var(--orb-bloom, rgba(15, 118, 81, 0.26)) 0%, transparent 66%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}
.verdict-column[data-tone="caught"] .grade-ring-wrap { --orb-bloom: rgba(217, 45, 32, 0.34); }
.verdict-column[data-tone="watch"] .grade-ring-wrap { --orb-bloom: rgba(35, 66, 184, 0.32); }
.verdict-column[data-tone="clearcut"] .grade-ring-wrap { --orb-bloom: rgba(15, 118, 81, 0.26); }
.verdict-column[data-tone="straight"] .grade-ring-wrap { --orb-bloom: rgba(124, 133, 148, 0.26); }

.verdict-orb {
  --orb-tint: rgba(15, 118, 81, 0.16);
  --orb-rim: rgba(15, 118, 81, 0.28);
  --orb-shadow: rgba(15, 118, 81, 0.24);
  --orb-ink: var(--green);
  position: relative;
  z-index: 1;
  width: 98px;
  height: 98px;
  min-width: 98px;
  min-height: 98px;
  aspect-ratio: 1 / 1;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.44) 46%, var(--orb-tint) 84%, rgba(255, 255, 255, 0.66) 100%);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.98),
    inset 0 8px 16px rgba(255, 255, 255, 0.50),
    inset 0 -10px 18px var(--orb-rim),
    inset 0 -2px 4px rgba(255, 255, 255, 0.72),
    0 0 0 0.5px rgba(14, 18, 26, 0.08),
    0 16px 34px -12px var(--orb-shadow),
    0 6px 14px -6px rgba(14, 18, 26, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.verdict-orb::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 58%;
  height: 24%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
  z-index: 2;
}
.verdict-orb[data-tone="clearcut"], .verdict-orb[data-grade="A"] {
  --orb-tint: rgba(15, 118, 81, 0.16);
  --orb-rim: rgba(15, 118, 81, 0.25);
  --orb-shadow: rgba(15, 118, 81, 0.24);
  --orb-ink: var(--green);
}
.verdict-orb[data-tone="watch"] {
  --orb-tint: rgba(35, 66, 184, 0.17);
  --orb-rim: rgba(35, 66, 184, 0.28);
  --orb-shadow: rgba(35, 66, 184, 0.26);
  --orb-ink: var(--cobalt);
}
.verdict-orb[data-tone="straight"] {
  --orb-tint: rgba(124, 133, 148, 0.18);
  --orb-rim: rgba(80, 88, 102, 0.26);
  --orb-shadow: rgba(42, 48, 58, 0.22);
  --orb-ink: var(--ink);
}
.verdict-orb[data-tone="caught"] {
  --orb-tint: rgba(217, 45, 32, 0.19);
  --orb-rim: rgba(217, 45, 32, 0.32);
  --orb-shadow: rgba(217, 45, 32, 0.28);
  --orb-ink: var(--red);
}

.grade-ring-core { position: relative; z-index: 3; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px 5px; line-height: 1.08; color: var(--orb-ink); }
.pedestal-label { font-size: 8px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.62; margin-bottom: 2px; }
.pedestal-letter { font-size: 11.5px; font-weight: 700; letter-spacing: -0.015em; white-space: nowrap; }
.pedestal-score { font-size: 9px; font-weight: 500; opacity: 0.86; margin-top: 2px; max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* SIGNATURE OPTICAL CUT CARD: FROSTED MARKETING HAZE -> CRYSTAL-CLEAR REALITY */
.optical-cut-card {
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cut-frosted-pane {
  padding: 18px 22px 16px;
  background: rgba(226, 232, 242, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 -1px 0 rgba(14, 18, 26, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cut-clear-pane {
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* For CAUGHT, the clear reality lens drops into crisp smoked-obsidian glass! */
.verdict-column[data-tone="caught"] .cut-clear-pane {
  background: linear-gradient(155deg, rgba(16, 19, 25, 0.94) 0%, rgba(24, 21, 27, 0.92) 100%);
  color: #ffffff;
}
.verdict-column[data-tone="caught"] .cut-clear-pane .catch-lbl.is-accent { color: #ff8a80; }
.verdict-column[data-tone="caught"] .cut-clear-pane .catch-reality-text { color: #ffffff; }

.catch-lbl { font-size: 11.5px; font-weight: 600; color: var(--subtle); letter-spacing: -0.005em; }
.verdict-column[data-tone="watch"] .catch-lbl.is-accent { color: var(--cobalt); }
.verdict-column[data-tone="clearcut"] .catch-lbl.is-accent { color: var(--green); }
.verdict-column[data-tone="straight"] .catch-lbl.is-accent { color: var(--muted); }

.catch-claim-text {
  font-size: 15px;
  line-height: 1.42;
  color: var(--muted);
  font-weight: 400;
}
.catch-reality-text {
  font: 600 clamp(20px, 2.2vw, 26px)/1.24 var(--sans);
  letter-spacing: -0.028em;
  color: var(--ink);
}

.verdict-slide-foot {
  padding: 14px 22px 16px;
  background: rgba(255, 255, 255, 0.62);
  border-top: 0.5px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.honest-inline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 0.5px solid rgba(14, 18, 26, 0.08);
}
.honest-kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--subtle);
}
.honest-inline strong { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -0.015em; }
.company-inline { display: flex; flex-direction: column; gap: 6px; }
.company-inline .ct-pill {
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(14, 18, 26, 0.06);
  color: var(--ink);
  align-self: flex-start;
}
.sibling-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.sibling-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--subtle);
  margin-right: 2px;
}
.sibling-chip {
  border: 0.5px solid rgba(14, 18, 26, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.sibling-chip:hover { background: #ffffff; border-color: var(--ink); }
.sibling-hub-link {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--cobalt);
  margin-left: 2px;
}
.sibling-hub-link:hover { text-decoration: underline; }
.watch-status-line {
  font-size: 11.5px;
  color: var(--cobalt);
  font-weight: 500;
}
.recall-inline-alert {
  border-radius: 14px;
  padding: 10px 14px;
  background: rgba(217, 45, 32, 0.09);
  border: 0.5px solid rgba(217, 45, 32, 0.28);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.44;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.recall-inline-alert strong { color: var(--red); }
.recall-inline-alert a { color: var(--ink); font-weight: 600; text-decoration: underline; white-space: nowrap; }

.grade-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.grade-pill[data-tone="clearcut"], .grade-pill[data-grade="A"] { background: var(--green-tint); color: var(--green); }
.grade-pill[data-tone="watch"] { background: var(--cobalt-tint); color: var(--cobalt); }
.grade-pill[data-tone="straight"] { background: rgba(14, 18, 26, 0.07); color: var(--ink); }
.grade-pill[data-tone="caught"] { background: var(--red-tint); color: var(--red); }
.grade-pill[data-grade="B"] { background: var(--blue-tint); color: var(--blue); }
.grade-pill[data-grade="C"] { background: var(--caution-tint); color: var(--caution); }
.grade-pill[data-grade="D"] { background: var(--amber-tint); color: var(--amber); }
.grade-pill[data-grade="F"] { background: var(--red-tint); color: var(--red); }

/* Provenance Disclosure */
.provenance-details {
  border-radius: 16px;
  padding: 0 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.48) 100%);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 0.5px rgba(14, 18, 26, 0.07), 0 12px 30px -16px rgba(14, 18, 26, 0.10);
}
.provenance-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.provenance-summary:hover { color: var(--ink); }
.provenance-summary::-webkit-details-marker { display: none; }
.provenance-toggle-hint { font-size: 12px; color: var(--subtle); }
.source-sheet { padding: 4px 0 16px; display: flex; flex-direction: column; gap: 11px; font-size: 12.5px; color: var(--muted); border-top: 0.5px solid var(--hairline-soft); }
.source-sheet strong { color: var(--ink); font-weight: 600; }
.raw-ing-pre { margin-top: 5px; white-space: pre-wrap; word-break: break-word; font: 400 11.5px/1.5 var(--mono); background: rgba(14, 18, 26, 0.04); color: var(--ink); padding: 10px 12px; border-radius: 10px; }

/* RIGHT SCROLL COLUMN: BACK-LABEL WEIGHT LEDGER + CLEANER SWAPS */
.bench-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.inspector-primary { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.slide-ing-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

.ing-pane {
  border-radius: 22px;
  padding: 6px 0;
}
.pane-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 10px;
  border-bottom: 0.5px solid var(--hairline);
}
.pane-kicker { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.pane-hint { font-size: 12px; color: var(--subtle); }

.ing-bullet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ing-bullet-item {
  position: relative;
  border-bottom: 0.5px solid var(--hairline-soft);
  transition: background 0.14s ease, opacity 0.16s ease;
}
/* Subtle descending-weight optical trace under top 5 weight slots */
.ing-bullet-item:nth-child(-n+5)::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 0;
  height: 1.5px;
  background: rgba(14, 18, 26, 0.11);
  pointer-events: none;
}
.ing-bullet-item:nth-child(1)::after { width: 32%; background: rgba(14, 18, 26, 0.22); }
.ing-bullet-item:nth-child(2)::after { width: 24%; }
.ing-bullet-item:nth-child(3)::after { width: 17%; }
.ing-bullet-item:nth-child(4)::after { width: 12%; }
.ing-bullet-item:nth-child(5)::after { width: 8%; }

.ing-bullet-item:last-child { border-bottom: 0; }
.ing-pane.has-focus .ing-bullet-item:not(.is-open):not(:hover) { opacity: 0.74; }
.ing-bullet-item.is-open { background: rgba(255, 255, 255, 0.78); }

.ing-bullet-btn {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  transition: background 0.12s;
}
.ing-bullet-btn:hover { background: rgba(14, 18, 26, 0.025); }
.ing-bullet-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.ing-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #c5cbd6; }
.ing-dot.clean-a { background: var(--green); }
.ing-dot.trap-oil { background: #d97706; }
.ing-dot.trap-red, .ing-dot.trap-deep { background: var(--red); }

.ing-rank { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--subtle); min-width: 22px; flex: none; }
.ing-label { font-size: 14px; line-height: 1.3; font-weight: 450; color: var(--ink); min-width: 0; overflow-wrap: break-word; }
.ing-bullet-item.is-pos1 .ing-label { font-weight: 600; }

.ing-bullet-right { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.ing-flag-note { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.ing-flag-note.base { color: var(--muted); background: rgba(14, 18, 26, 0.055); }
.ing-flag-note.oil { color: var(--caution); background: var(--amber-tint); }
.ing-flag-note.red { color: var(--red); background: var(--red-tint); }
.ing-flag-note.clean-a { color: var(--green); background: var(--green-tint); }
.ing-chev { font-size: 14px; line-height: 1; color: #a6aebc; transition: transform 0.18s var(--spring); }
.ing-bullet-item.is-open .ing-chev { transform: rotate(90deg); color: var(--ink); }

.ing-bullet-drawer { padding: 0 18px 14px 48px; display: flex; flex-direction: column; gap: 7px; animation: lensFadeUp 0.16s var(--spring); }
.ing-drawer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ing-slot-pill { font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; padding: 2px 8px; border-radius: 6px; background: rgba(14, 18, 26, 0.055); color: var(--muted); }
.ing-pts-pill { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--red-tint); color: var(--red); }
.ing-pts-pill.oil { background: var(--amber-tint); color: var(--caution); }
.ing-pts-pill.clean { background: var(--green-tint); color: var(--green); }
.ing-drawer-text { font-size: 13px; line-height: 1.5; color: var(--muted); }
.ing-story-nav { margin-top: 4px; padding-top: 8px; border-top: 0.5px solid var(--hairline-soft); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ing-story-step { font-size: 11.5px; font-weight: 500; color: var(--subtle); }
.ing-next-culprit-btn { border: 0; background: none; padding: 2px 0; color: var(--ink); font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14, 18, 26, 0.25); }
.ing-next-culprit-btn:hover { text-decoration-color: var(--ink); }
.ing-more-btn { margin: 4px 18px 10px; border: 0; background: none; padding: 4px 0; font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14, 18, 26, 0.25); align-self: flex-start; }
.ing-more-btn:hover { text-decoration-color: var(--ink); }

/* SWAPS GLASS SHEET */
.swaps-sheet {
  border-radius: 22px;
  padding: 18px 18px 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sub-shelf-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; border-bottom: 0.5px solid var(--hairline); }
.sub-kicker { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.green-kicker { color: var(--ink); }
.amber-kicker { color: var(--caution); }
.sub-note { display: block; font-size: 12px; color: var(--subtle); margin-top: 1px; }

.store-picker-wrap { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--subtle); }
.store-picker-lbl { font-size: 12px; font-weight: 500; color: var(--subtle); }
.store-select {
  appearance: auto;
  border: 0.5px solid rgba(14, 18, 26, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9px;
  outline: none;
}
.store-select:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(14, 18, 26, 0.12); }

.store-honesty-note { font-size: 12px; color: var(--muted); background: rgba(14, 18, 26, 0.04); border-radius: 10px; padding: 8px 11px; line-height: 1.44; }

.swaps-list { display: flex; flex-direction: column; }
.swap-card {
  padding: 14px 0;
  border-bottom: 0.5px solid var(--hairline-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.swap-card:last-child { border-bottom: 0; }
.swap-card.abstain-card { padding: 12px 0; }
.swap-card-left { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.swap-thumb { width: 48px; height: 48px; border-radius: 11px; background: #ffffff; border: 0.5px solid var(--hairline); padding: 4px; display: grid; place-items: center; flex: none; overflow: hidden; }
.swap-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.swap-tier-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tier-chip { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; }
.tier-chip.budget { background: var(--green-tint); color: var(--green); }
.tier-chip.specialty { background: rgba(14, 18, 26, 0.06); color: var(--muted); }
.tier-chip.catalog { background: var(--cobalt-tint); color: var(--cobalt); }
.swap-card h3 { font-size: 14.5px !important; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); line-height: 1.28; }
.swap-card p { font-size: 12.5px !important; line-height: 1.45; color: var(--muted); }

.swap-card .btn {
  background: var(--ink);
  color: #ffffff;
  padding: 5.5px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 9px;
}
.swap-card .btn:hover { opacity: 0.85; }
.swap-card .btn.btn-outline,
.swap-card .pill-btn {
  padding: 5.5px 12px;
  font-size: 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  border: 0.5px solid rgba(14, 18, 26, 0.16);
}
.swap-card .btn.btn-outline:hover,
.swap-card .pill-btn:hover { background: #ffffff; color: var(--ink); border-color: var(--ink); opacity: 1; }

.ssr-dossier-brief { padding: 20px 0 36px; }
.ssr-dossier-brief[hidden] { display: none !important; }

/* ==================== SCAN MODAL & FOOTER ==================== */
.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(14, 18, 26, 0.34); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; place-items: center; padding: 16px; }
.modal-sheet { width: min(460px, 100%); border-radius: 24px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; max-height: 90vh; overflow-y: auto; background: rgba(255, 255, 255, 0.90); }
.modal-head, .modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modal-head strong { font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; }
.modal-sub { font-size: 13.5px; color: var(--muted); line-height: 1.48; }
.scan-mode-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.scan-panel { display: flex; flex-direction: column; gap: 12px; }
.photo-capture-zone { border: 1px dashed rgba(14, 18, 26, 0.22); background: rgba(255, 255, 255, 0.56); border-radius: 16px; padding: 26px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; transition: background 0.15s, border-color 0.15s; }
.photo-capture-zone:hover { background: #ffffff; border-color: var(--ink); }
.photo-capture-zone strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.photo-capture-zone span { font-size: 12.5px; color: var(--muted); }
.ocr-progress-wrap { display: flex; flex-direction: column; gap: 6px; }
.ocr-progress-bar { height: 5px; border-radius: 999px; background: rgba(14, 18, 26, 0.09); overflow: hidden; }
.ocr-progress-fill { height: 100%; width: 12%; background: var(--ink); transition: width 0.2s, background 0.2s; }
.ocr-progress-fill.is-error { background: var(--red); }
.manual-disclosure { border-top: 0.5px solid var(--hairline); padding-top: 10px; font-size: 13px; }
.manual-disclosure summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); }
.manual-disclosure summary::-webkit-details-marker { display: none; }
.field-input, .field-area { width: 100%; border: 0.5px solid rgba(14, 18, 26, 0.18); border-radius: 12px; padding: 10px 12px; font-size: 16px; background: #ffffff; outline: none; }
.field-input:focus, .field-area:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(14, 18, 26, 0.10); }
.field-area { min-height: 92px; font-family: var(--mono); font-size: 13px; resize: vertical; }
.form-stack { display: flex; flex-direction: column; gap: 8px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form .field-input { flex: 1; min-width: 140px; }
.preset-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.camera-box { position: relative; height: 224px; background: #0c0d0e; border-radius: 16px; overflow: hidden; display: grid; place-items: center; }
.camera-box video { width: 100%; height: 100%; object-fit: cover; }
.camera-reticle { position: absolute; width: 78%; height: 56%; border: 1.5px solid rgba(255, 255, 255, 0.82); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.44); pointer-events: none; }
.camera-msg { position: absolute; bottom: 10px; color: #fff; font-size: 12px; text-align: center; padding: 5px 12px; background: rgba(0, 0, 0, 0.64); backdrop-filter: blur(8px); border-radius: 999px; max-width: 92%; }
.status-note { font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.42; }
.status-note.is-error { color: var(--red); }
.status-note.is-ok { color: var(--green); }

.site-footer { padding: 26px 0 46px; border-top: 0.5px solid var(--hairline); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.footer-brand { font-size: 16px; }
.footer-note { font-size: 12.5px; color: var(--muted); max-width: 560px; margin-top: 6px; }
.footer-ftc { font-size: 11.5px; color: var(--subtle); max-width: 660px; margin-top: 6px; line-height: 1.5; }
.footer-links { display: flex; gap: 20px; font-size: 12.5px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ==================== UNIFIED LIQUID GLASS HUB PAGES (BUYOUTS / CAUGHT / RECALLS) ==================== */
.hub-main { padding: 34px 0 64px; display: flex; flex-direction: column; gap: 22px; }
.hub-hero { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.hub-back { font-size: 13px; font-weight: 500; color: var(--muted); align-self: flex-start; margin-bottom: 2px; }
.hub-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hub-hero h1 { font: 700 clamp(28px, 3.2vw, 40px)/1.08 var(--sans); letter-spacing: -0.036em; color: var(--ink); }
.hub-hero p { font-size: 15px; line-height: 1.54; color: var(--muted); }
.hub-stat-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: var(--subtle); margin-top: 2px; }
.hub-stat-bar strong { color: var(--ink); font-weight: 600; }

.hub-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hub-search {
  flex: 1;
  min-width: 220px;
  max-width: 440px;
  border-radius: 14px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hub-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
}
.hub-search input::placeholder { color: var(--subtle); }

.hub-section-label { font-size: 12px; font-weight: 600; color: var(--subtle); letter-spacing: -0.005em; margin-bottom: -10px; }

.hub-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hub-hl-card {
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.16s var(--spring), background 0.16s ease;
}
.hub-hl-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.88); }
.hub-hl-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; color: var(--subtle); }
.hub-hl-deal { font-weight: 600; color: var(--cobalt); background: var(--cobalt-tint); padding: 2px 8px; border-radius: 999px; }
.hub-hl-brand { font-size: 16.5px; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); }
.hub-hl-parent { font-size: 13px; color: var(--muted); }

.hub-pill-rail { display: flex; flex-wrap: wrap; gap: 7px; }
.hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 0.5px solid rgba(14, 18, 26, 0.11);
  backdrop-filter: blur(16px);
  transition: background 0.14s ease, border-color 0.14s ease;
}
.hub-pill:hover { background: #ffffff; border-color: rgba(14, 18, 26, 0.28); }
.hub-pill.is-active { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.hub-pill-cnt { font-size: 11px; font-weight: 600; color: var(--cobalt); }
.hub-pill.is-active .hub-pill-cnt { color: rgba(255, 255, 255, 0.78); }

/* Apple Inset Grouped Glass Ledger for Buyout Watchlist */
.hub-ledger { border-radius: 20px; overflow: hidden; }
.hub-ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 0.5px solid var(--hairline-soft);
  transition: background 0.12s ease;
}
.hub-ledger-row:last-child { border-bottom: 0; }
.hub-ledger-row:hover { background: rgba(255, 255, 255, 0.72); }
.hub-ledger-brand { font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.hub-ledger-sub { font-size: 12px; color: var(--subtle); margin-top: 1px; }
.hub-ledger-parent { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.hub-ledger-parent:hover { color: var(--ink); text-decoration: underline; }
.hub-ledger-deal { font-size: 12px; font-weight: 600; color: var(--cobalt); background: var(--cobalt-tint); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.hub-ledger-yr { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--subtle); min-width: 34px; text-align: right; }

/* Proof Sheet Cards (/caught/* and /recalls) */
.hub-card-stack { display: flex; flex-direction: column; gap: 12px; }
.hub-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hub-proof-card {
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.16s var(--spring), background 0.16s ease;
}
.hub-proof-card:hover { background: rgba(255, 255, 255, 0.84); }
.hub-proof-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--subtle); }
.hub-proof-title { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); line-height: 1.25; }
.hub-proof-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hub-proof-body { font-size: 14px; line-height: 1.48; color: var(--muted); }
.hub-proof-honest {
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 0.5px solid var(--hairline);
  font-size: 13px;
  color: var(--muted);
}
.hub-proof-honest strong { color: var(--ink); font-weight: 600; }
.hub-ing-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-ing-chips span { font-size: 11.5px; padding: 3px 8px; border-radius: 7px; background: rgba(14, 18, 26, 0.048); color: var(--ink); }
.hub-proof-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 0.5px solid var(--hairline-soft);
  font-size: 12.5px;
  color: var(--subtle);
}
.hub-proof-foot a { color: var(--ink); font-weight: 500; }
.hub-proof-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hub-empty-msg { padding: 26px 20px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ==================== RESPONSIVE (TABLET & IPHONE) ==================== */
@media (max-width: 920px) {
  .hub-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-card-grid { grid-template-columns: 1fr; }
  .workbench-top,
  .refraction-bench {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .bench-search-col,
  .wire-monitor,
  .recent-section,
  .truth-strip {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
    max-width: 100%;
  }
  .workbench-top { padding: 26px 0 36px; }
  .bench-left { display: contents; }
  .verdict-column { order: 1; }
  .bench-right { order: 2; }
  .provenance-details { order: 3; }
  .truth-strip { grid-template-columns: 1fr; gap: 14px; }
}

/* Compact 4-Verdict Self-Explaining Micro-Legend + Honest Truth Lens Helper */
.verdict-key-details {
  margin-top: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 0.5px solid rgba(14, 18, 26, 0.08);
  overflow: hidden;
}
.verdict-key-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.verdict-key-summary::-webkit-details-marker { display: none; }
.verdict-key-inline { min-width: 0; flex: 1; }
.verdict-key-caret {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--subtle);
  white-space: nowrap;
}
.verdict-key-details[open] .verdict-key-summary {
  border-bottom: 0.5px solid var(--hairline-soft);
}
.verdict-key-grid {
  padding: 8px 10px 10px;
  display: grid;
  gap: 6px;
}
.vk-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.vk-row[data-vk-active="true"] {
  background: rgba(14, 18, 26, 0.055);
  color: var(--ink);
  font-weight: 500;
}
.vk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.vk-pill.is-clearcut { background: rgba(20, 122, 62, 0.12); color: var(--green); }
.vk-pill.is-watch { background: rgba(31, 94, 212, 0.12); color: var(--cobalt); }
.vk-pill.is-straight { background: rgba(14, 18, 26, 0.08); color: var(--ink); }
.vk-pill.is-caught { background: rgba(207, 34, 46, 0.12); color: var(--red); }

.lens-truth-note {
  padding: 9px 18px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  background: rgba(14, 18, 26, 0.028);
  border-bottom: 0.5px solid var(--hairline-soft);
}
.inline-lens-switch {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.inline-lens-switch:hover { opacity: 0.72; }

@media (max-width: 720px) {
  .shell { width: calc(100% - 30px); }
  .mast-inner { height: 46px; }
  .mast-meta { font-size: 11px; }

  .bench-search-col { padding-top: 0; gap: 18px; }
  .hero-intro h1 { font-size: 31px; letter-spacing: -0.036em; }
  .hero-sub { font-size: 14.5px; margin-top: 10px; }

  .command-bar { border-radius: 14px; padding: 5px 6px 5px 14px; gap: 6px; }
  .cmd-search-icon { display: none; }
  /* 16px prevents iOS Safari auto-zoom on focus */
  .cmd-input { font-size: 16px; padding: 8px 2px; }
  .cmd-btn { padding: 8px 11px; font-size: 13px; }
  .cmd-scan-lbl { display: none; }
  .faceoff-grid { grid-template-columns: 1fr; gap: 9px; }
  .faceoff-card { padding: 12px 13px 11px; }
  .dropdown-sub { max-width: 215px; }

  .wire-monitor { border-radius: 18px; padding: 15px 14px 12px; }
  .wire-tabs, .lens-bar { max-width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .wire-tabs::-webkit-scrollbar, .lens-bar::-webkit-scrollbar { display: none; }
  .recall-actions { width: 100%; justify-content: flex-start; }

  /* Mobile Dossier Gate 2 geometry pin */
  .dossier-stage { padding: 4px 0 44px; }
  .dossier-header { grid-template-columns: 60px minmax(0, 1fr) 82px; gap: 12px; align-items: start; }
  .dossier-header.no-visual { grid-template-columns: minmax(0, 1fr) 82px; gap: 12px; align-items: start; }
  .dossier-visual { width: 60px; height: 60px; border-radius: 14px; padding: 5px; }
  .dossier-title { font-size: 22px; line-height: 1.15; }
  .verdict-orb { width: 82px; height: 82px; min-width: 82px; min-height: 82px; aspect-ratio: 1 / 1; }
  .verdict-orb::before { top: 5px; width: 56%; height: 22%; }
  .grade-ring-core { width: 100%; padding: 5px 4px; }
  .pedestal-label { font-size: 7px; margin-bottom: 2px; }
  .pedestal-letter { font-size: 9.5px; letter-spacing: -0.02em; }
  .pedestal-score { font-size: 7.5px; max-width: 70px; }

  .optical-cut-card { border-radius: 18px; }
  .cut-frosted-pane { padding: 14px 16px 13px; }
  .cut-clear-pane { padding: 16px 16px 15px; }
  .catch-claim-text { font-size: 14px; }
  .catch-reality-text { font-size: 19px; line-height: 1.25; }
  .verdict-slide-foot { padding: 12px 16px 14px; }

  .ing-pane, .swaps-sheet { border-radius: 18px; }
  .ing-bullet-btn { padding: 11px 14px; gap: 8px; }
  .ing-bullet-drawer { padding: 0 14px 12px 40px; }
  .ing-label { font-size: 13.5px; }
  .field-area { font-size: 16px; }
  .store-select { font-size: 16px; padding: 6px 10px; }

  .mast-nav { gap: 13px; font-size: 12.5px; }
  .hub-main { padding: 22px 0 48px; gap: 16px; }
  .hub-highlight-grid { grid-template-columns: 1fr; gap: 9px; }
  .hub-search input { font-size: 16px; }
  .hub-ledger-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px 14px; }
  .hub-ledger-parent { grid-column: 1; font-size: 12.5px; }
  .hub-ledger-deal { grid-row: 1; grid-column: 2; }
  .hub-ledger-yr { grid-row: 2; grid-column: 2; }
  .hub-proof-card { padding: 15px 16px; border-radius: 17px; }
}
