/* ==========================================================================
   ACaaS Demonstration Portal, design system
   Tessera brand identity — deep navy-ink canvas, Tessera Teal accent, Inter.
   Anchored to the Tessera Brand Guidelines (Teal #00897B, Deep Navy #1A2744,
   Inter typography). Dramatic dark theme retained; gold reskinned to teal.
   Functional status accents kept distinct from the brand accent:
   teal-green (high / real), amber (simulated / medium), terra (low),
   alert red (semantic warning), purple (compliance persona, console only).
   ========================================================================== */

:root {
  /* Brand canvas — deep navy-ink, anchored to Tessera Deep Navy #1A2744 */
  --obsidian:      #090d16;
  --obsidian-2:    #0d121f;
  --surface:       #141b2c;
  --surface-2:     #1b2335;
  --surface-3:     #283143;
  --navy:          #1a2744;   /* Tessera Deep Navy — structural anchor */
  --navy-2:        #223256;

  --hairline:      rgba(108, 200, 188, 0.13);   /* teal-tinted hairline */
  --hairline-soft: rgba(216, 232, 238, 0.07);

  /* Brand accent — Tessera Teal (repointed from the former champagne-gold).
     Variable names kept for continuity; values are now teal. */
  --champagne:     #2fb6a3;   /* bright teal — primary accent, legible on dark */
  --champagne-2:   #45d4c0;   /* brighter teal — hover / emphasis */
  --champagne-mut: #19a394;   /* muted teal — eyebrows / section labels */
  --teal-brand:    #00897b;   /* Tessera Teal primary — CTA fills */
  --ember:         #6e8bd6;   /* navy-tint accent (was warm ember) */

  --ivory:         #f4f7fb;   /* cool off-white */
  --ash:           #9aa6b9;
  --ash-2:         #6a7588;

  /* Functional status — held distinct from the brand teal */
  --teal:          #34c7a4;   /* high / real — nudged teal-green per brand idiom */
  --teal-deep:     #00897b;
  --teal-pale:     rgba(52, 199, 164, 0.13);
  --amber:         #e6b455;   /* simulated / medium */
  --amber-pale:    rgba(230, 180, 85, 0.13);
  --terra:         #e07a5f;   /* low */
  --terra-pale:    rgba(224, 122, 95, 0.14);
  --alert:         #f0556b;   /* semantic alert (brand red #B91C1C, lifted for dark) */
  --alert-pale:    rgba(240, 85, 107, 0.13);
  --purple:        #b070d8;   /* compliance persona */
  --purple-pale:   rgba(176, 112, 216, 0.15);
  --navy-accent:   #6e8bd6;

  --radius:        14px;
  --radius-sm:     9px;
  --radius-lg:     22px;
  --shadow-soft:   0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 50px -28px rgba(0,0,0,0.9);
  --shadow-lift:   0 28px 70px -34px rgba(0,0,0,0.95), 0 0 0 1px var(--hairline);
  --glow-teal:     0 14px 36px -16px rgba(47,182,163,0.55);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(47,182,163,0.12), transparent 60%),
    radial-gradient(900px 600px at 8% 4%, rgba(26,39,68,0.55), transparent 58%),
    var(--obsidian);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.004em;
  min-height: 100vh;
}

/* Fine grain overlay for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
}

a { color: var(--champagne-2); text-decoration: none; }
a:hover { color: var(--champagne); }

h1, h2, h3 { font-weight: 700; line-height: 1.16; letter-spacing: -0.022em; margin: 0 0 0.5em; }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--ash); }
.dim { color: var(--ash-2); }
.tight { letter-spacing: -0.01em; }

/* ---------- layout ---------- */
.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
main.wrap { padding-top: 42px; padding-bottom: 110px; }
.stack > * + * { margin-top: 18px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(180deg, rgba(9,13,22,0.92), rgba(9,13,22,0.72));
  border-bottom: 1px solid var(--hairline);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 13px 28px;
  display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, var(--champagne), var(--teal-brand));
  color: #042b25; font-weight: 800; font-family: var(--font-mono); font-size: 15px;
  box-shadow: 0 8px 20px -10px rgba(0,137,123,0.85), inset 0 1px 0 rgba(255,255,255,0.35);
}
.brand .word { display: flex; flex-direction: column; line-height: 1.05; }
.brand .word b { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.brand .word span { font-size: 10.5px; color: var(--ash-2); letter-spacing: 0.14em; text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-left: 6px; flex-wrap: wrap; }
.nav a {
  color: var(--ash); font-size: 13.5px; padding: 7px 13px; border-radius: 8px;
  letter-spacing: 0.01em; transition: color .18s, background .18s; white-space: nowrap;
}
.nav a:hover { color: var(--ivory); background: rgba(244,247,251,0.05); }
.nav a.on { color: var(--ivory); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); }

.spacer { flex: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  padding: 6px 12px; border-radius: 999px; text-transform: uppercase; font-weight: 500;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }
.pill-keyless { background: var(--teal-pale); color: var(--teal); box-shadow: inset 0 0 0 1px rgba(52,199,164,0.35); }
.pill-keyless .dot { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.pill-live { background: var(--amber-pale); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(230,180,85,0.4); }
.pill-live .dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

/* session sub-nav */
.subnav {
  border-bottom: 1px solid var(--hairline-soft);
  background: rgba(13,18,31,0.6);
}
.subnav-inner { max-width: var(--maxw); margin: 0 auto; padding: 8px 28px; display: flex; gap: 6px; align-items: center; font-size: 12.5px; }
.subnav .tag { font-family: var(--font-mono); color: var(--ash-2); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 8px; }
.subnav a { color: var(--ash); padding: 4px 10px; border-radius: 7px; }
.subnav a:hover { color: var(--ivory); background: rgba(244,247,251,0.05); }

/* ---------- labels / chips ---------- */
.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 6px; font-weight: 500;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.label-sim { background: var(--amber-pale); color: var(--amber); }
.label-templated { background: var(--amber-pale); color: var(--amber); }
.label-real { background: var(--teal-pale); color: var(--teal); }
.label-key { background: var(--purple-pale); color: var(--purple); }
.label-heur { background: var(--terra-pale); color: var(--terra); }

.band { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; padding: 3px 9px; border-radius: 6px; font-weight: 600; }
.band-high { background: var(--teal-pale); color: var(--teal); }
.band-medium { background: var(--amber-pale); color: var(--amber); }
.band-low { background: var(--terra-pale); color: var(--terra); }

.chip { display:inline-flex; align-items:center; gap:6px; font-size:12px; padding:4px 10px; border-radius:999px; background:var(--surface-2); color:var(--ash); box-shadow: inset 0 0 0 1px var(--hairline-soft); }
.chip.role { color: var(--navy-accent); }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--obsidian-2));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
}
.card.pad-lg { padding: 34px 36px; }
.card-link { display: block; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(47,182,163,0.45); color: inherit; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding: 30px 0 18px; }
.eyebrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne-mut); margin-bottom: 18px; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5.2vw, 58px); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(115deg, var(--champagne-2) 0%, var(--teal-brand) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: normal;
}
.hero .lede { font-size: 18px; color: var(--ash); max-width: 64ch; }
.hero .lede strong { color: var(--ivory); font-weight: 600; }

.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--hairline), transparent); margin: 30px 0; border: 0; }

/* ---------- area cards ---------- */
.area-num { font-family: var(--font-mono); font-size: 12px; color: var(--champagne-mut); letter-spacing: 0.1em; }
.area-title { font-size: 19px; margin: 10px 0 6px; display:flex; align-items:center; gap:10px; letter-spacing: -0.015em; }
.area-card p { color: var(--ash); font-size: 14px; margin: 0; }
.area-card .go { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--champagne); letter-spacing: 0.05em; display:inline-flex; align-items:center; gap:6px; transition: gap .2s ease; }
.card-link:hover .go { gap: 12px; }

/* ---------- banner ---------- */
.banner {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(90deg, var(--teal-pale), transparent);
  border: 1px solid rgba(52,199,164,0.25);
  border-radius: var(--radius-sm); padding: 13px 18px; font-size: 13.5px; color: var(--ivory);
}
.banner .ico { color: var(--teal); flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: 0.005em;
  padding: 11px 20px; border-radius: 10px; border: 1px solid var(--hairline);
  background: var(--surface-2); color: var(--ivory); transition: all .18s; text-decoration: none;
}
.btn:hover { background: var(--surface-3); border-color: rgba(47,182,163,0.45); color: var(--ivory); }
.btn-primary { background: linear-gradient(180deg, var(--champagne), var(--teal-brand)); color: #04211d; border-color: transparent; font-weight: 700; box-shadow: var(--glow-teal); }
.btn-primary:hover { color: #04211d; filter: brightness(1.06); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; }
.btn-teal { background: var(--teal-deep); border-color: transparent; color: #04130f; font-weight: 600; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- forms ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; color: var(--ash); margin-bottom: 8px; letter-spacing: 0.01em; }
.field label .req { color: var(--terra); }
input[type=text], input[type=number], select, textarea {
  width: 100%; background: var(--obsidian-2); color: var(--ivory);
  border: 1px solid var(--hairline); border-radius: 10px; padding: 11px 14px;
  font-family: var(--font-sans); font-size: 14.5px; transition: border-color .16s, box-shadow .16s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(47,182,163,0.16); }
textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.choice { display: flex; flex-direction: column; gap: 9px; }
.choice label {
  display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px;
  background: var(--obsidian-2); border: 1px solid var(--hairline-soft); cursor: pointer;
  font-size: 14px; color: var(--ivory); transition: all .15s; margin: 0;
}
.choice label:hover { border-color: var(--hairline); background: var(--surface); }
.choice input { accent-color: var(--champagne); width: 17px; height: 17px; }
.choice input:checked + span { color: var(--champagne-2); }

/* ---------- wizard ---------- */
.wizard-grid { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .wizard-grid { grid-template-columns: 1fr; } }
.cluster-rail { position: sticky; top: 88px; }
.cluster { margin-bottom: 18px; }
.cluster h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash-2); margin: 0 0 9px; }
.cluster ol { list-style: none; margin: 0; padding: 0; }
.cluster li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ash-2); padding: 4px 0; }
.cluster li .gid { font-family: var(--font-mono); font-size: 11px; }
.cluster li.done { color: var(--ash); }
.cluster li.done .gdot { background: var(--teal); }
.cluster li.cur { color: var(--ivory); }
.cluster li.cur .gdot { background: var(--champagne); box-shadow: 0 0 10px var(--champagne); }
.gdot { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-3); flex-shrink: 0; }

.q-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom: 6px; flex-wrap: wrap; }
.q-gid { font-family: var(--font-mono); color: var(--champagne-mut); font-size: 13px; letter-spacing: 0.08em; }
.q-text { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.28; margin: 14px 0 6px; letter-spacing: -0.025em; }
.q-helper { color: var(--ash); font-size: 13px; margin-bottom: 22px; }
.prefill-note { background: var(--terra-pale); border: 1px solid rgba(224,122,95,0.3); border-radius: 10px; padding: 11px 15px; font-size: 13px; color: var(--ivory); margin-bottom: 18px; display:flex; gap:10px; align-items:flex-start; }
.prefill-note .ico { color: var(--terra); }

.reprompt { background: var(--terra-pale); border: 1px solid rgba(224,122,95,0.35); border-radius: 10px; padding: 13px 16px; font-size: 13.5px; margin: 14px 0; color: var(--ivory); }

/* confidence meter */
.conf { margin-top: 20px; background: var(--obsidian-2); border: 1px solid var(--hairline-soft); border-radius: 12px; padding: 16px 18px; }
.conf-top { display:flex; align-items:center; justify-content:space-between; margin-bottom: 12px; }
.conf-score { font-family: var(--font-mono); font-size: 22px; font-weight: 600; }
.signals { display: grid; gap: 9px; }
.signal { display: grid; grid-template-columns: 168px 1fr 44px; align-items: center; gap: 12px; font-size: 12px; }
.signal .nm { color: var(--ash); }
.signal .bar { height: 6px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.signal .bar i { display:block; height:100%; border-radius:999px; background: linear-gradient(90deg, var(--teal-brand), var(--champagne-2)); }
.signal .vl { font-family: var(--font-mono); text-align: right; color: var(--ash); }
.weight { color: var(--ash-2); font-size: 10.5px; }

/* ---------- confirmation surface ---------- */
.fact { border: 1px solid var(--hairline); border-radius: 12px; padding: 18px 20px; background: var(--surface); margin-bottom: 14px; }
.fact.confirmed { border-color: rgba(52,199,164,0.4); background: linear-gradient(180deg, var(--teal-pale), transparent); }
.fact-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:10px; }
.fact-restate { font-size: 15px; color: var(--ivory); }
.fact-meta { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin: 10px 0 14px; font-size: 12px; }
.gated-flag { color: var(--purple); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash-2); padding: 10px 12px; border-bottom: 1px solid var(--hairline); font-weight: 500; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--hairline-soft); vertical-align: top; }
.tbl tr:hover td { background: rgba(244,247,251,0.02); }
.tbl .mono { font-size: 12px; }
.disp { font-family: var(--font-mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; }
.disp-auto { background: var(--teal-pale); color: var(--teal); }
.disp-flagged { background: var(--amber-pale); color: var(--amber); }
.disp-escalated { background: var(--terra-pale); color: var(--terra); }

/* ---------- KPI row ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 14px; }
.kpi { background: var(--obsidian-2); border: 1px solid var(--hairline-soft); border-radius: 12px; padding: 16px 18px; }
.kpi .n { font-family: var(--font-mono); font-size: 28px; font-weight: 600; color: var(--champagne-2); }
.kpi .l { font-size: 12px; color: var(--ash); margin-top: 2px; }

/* split bar */
.splitbar { display:flex; height: 12px; border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hairline-soft); }
.splitbar i { display:block; height:100%; }
.sb-high { background: var(--teal); }
.sb-med { background: var(--amber); }
.sb-low { background: var(--terra); }

/* ---------- code / data blocks ---------- */
.codeblock { background: #060912; border: 1px solid var(--hairline-soft); border-radius: 12px; padding: 18px 20px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: #cfd6e4; overflow-x: auto; white-space: pre; max-height: 560px; }
.codeblock .k { color: var(--champagne-2); }

/* tabs */
.tabs { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.tabs button { background: none; border: none; color: var(--ash); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 16px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--champagne); border-bottom-color: var(--champagne); }
.tabpane { display: none; }
.tabpane.on { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* pipeline strip */
.pipe { display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.pipe .step { display:flex; align-items:center; gap:9px; font-size: 12px; color: var(--ash-2); padding: 6px 2px; }
.pipe .step .pd { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.pipe .step.done .pd { background: var(--teal); }
.pipe .step.running .pd { background: var(--champagne); box-shadow: 0 0 10px var(--champagne); animation: pulse 1.6s infinite; }
.pipe .step.done { color: var(--ash); }
.pipe .step.running { color: var(--ivory); }
.pipe .arr { color: var(--surface-3); margin: 0 12px; }

/* persona toggle */
.persona-toggle { display: inline-flex; background: var(--obsidian-2); border: 1px solid var(--hairline); border-radius: 11px; padding: 4px; gap: 4px; }
.persona-toggle a { padding: 8px 18px; border-radius: 8px; font-size: 13px; color: var(--ash); font-weight: 500; }
.persona-toggle a.on { color: var(--ivory); }
.persona-toggle a.on.business { background: var(--teal-deep); color: #fff; }
.persona-toggle a.on.technical { background: var(--navy); color: #fff; }
.persona-toggle a.on.compliance { background: #5b2a78; color: #fff; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before { content:""; position:absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--teal-deep), var(--hairline)); }
.tl-item { position: relative; padding: 0 0 26px; }
.tl-item::before { content:""; position:absolute; left: -25px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--obsidian); }
.tl-item .day { font-family: var(--font-mono); font-size: 11px; color: var(--champagne-mut); }
.tl-item h4 { margin: 3px 0 4px; font-size: 15px; }
.tl-item p { margin: 0; color: var(--ash); font-size: 13px; }

.ttv { display:flex; gap: 20px; align-items: stretch; }
.ttv .half { flex: 1; text-align: center; padding: 22px; border-radius: 14px; }
.ttv .acaas { background: linear-gradient(180deg, var(--teal-pale), transparent); border: 1px solid rgba(52,199,164,0.3); }
.ttv .legacy { background: linear-gradient(180deg, rgba(26,39,68,0.5), transparent); border: 1px solid rgba(110,139,214,0.2); }
.ttv .big { font-family: var(--font-mono); font-size: 40px; font-weight: 700; }
.ttv .acaas .big { color: var(--teal); }
.ttv .legacy .big { color: var(--navy-accent); }

/* audit log */
.event { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline-soft); }
.event .seq { font-family: var(--font-mono); color: var(--ash-2); font-size: 12px; }
.event .et { font-family: var(--font-mono); font-size: 13px; color: var(--champagne-2); }
.event .actor { font-size: 11.5px; color: var(--ash); }
.event .pl { font-family: var(--font-mono); font-size: 11.5px; color: var(--ash); margin-top: 6px; background: var(--obsidian-2); padding: 8px 11px; border-radius: 8px; overflow-x: auto; }
.event .hash { font-family: var(--font-mono); font-size: 10px; color: var(--ash-2); margin-top: 5px; }

/* misc */
.note { font-size: 12.5px; color: var(--ash-2); }
.warn-note { background: var(--amber-pale); border: 1px solid rgba(230,180,85,0.3); border-radius: 10px; padding: 13px 16px; font-size: 13px; }
.section-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne-mut); margin-bottom: 18px; }
.flex { display:flex; align-items:center; gap: 14px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.right { margin-left: auto; }
.hidden { display: none !important; }
footer.foot { border-top: 1px solid var(--hairline-soft); margin-top: 60px; padding: 26px 0; color: var(--ash-2); font-size: 12px; }
