/* Wenkora design system. Brand: Nightwatch #1E1512, Vigil #A0522D, Vigil Bright #E8A57C (sankovel/brand-assets/wenkora).
   Verdict colours (green: verified, amber: discrepancy, red: not verified, slate: incomplete) are reserved for
   verdicts and never used as decoration; the brand Kola never means a verdict. */
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin.48a40548d60f.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #1E1512; --ink-2: #45372F; --muted: #6B5E57; --line: #E8E0DA; --line-2: #D9CCC3;
  --bg: #FCFAF8; --card: #FFFFFF; --tint: #F6F0EB; --tint-2: #EFE5DD;
  --brand: #A0522D; --brand-ink: #843F1F; --brand-soft: #F7EAE2; --brand-bright: #E8A57C;
  --p1: #B42318; --p1-bg: #FEF3F2; --p1-line: #FDA29B;
  --p2: #C4320A; --p2-bg: #FFF4ED; --p2-line: #F9B98E;
  --p3: #B54708; --p3-bg: #FFFAEB; --p3-line: #FEDF89;
  --p4: #475467; --p4-bg: #F2F4F7; --p4-line: #D0D5DD;
  --ok: #067647; --ok-bg: #ECFDF3; --ok-line: #ABEFC6;
  --night: #1E1512; --night-2: #2B1F1A; --night-3: #362720; --night-line: #4A3a30;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(20,11,31,.05), 0 8px 24px rgba(20,11,31,.06);
  --shadow-lg: 0 2px 6px rgba(20,11,31,.08), 0 30px 70px rgba(60,30,15,.18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Sora", var(--font); --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F6F0EB; --ink-2: #D9CCC3; --muted: #A89A91; --line: #3A2B24; --line-2: #4A3a30;
    --bg: #140E0C; --card: #1E1512; --tint: #261C17; --tint-2: #30231D;
    --brand: #E8A57C; --brand-ink: #F2C6A8; --brand-soft: #3A2418;
    --p1: #FF8A80; --p1-bg: #2B1214; --p1-line: #6B2420;
    --p2: #FFA270; --p2-bg: #2B1A10; --p2-line: #6B3818;
    --p3: #FDB022; --p3-bg: #2A2010; --p3-line: #5C4210;
    --p4: #B8BFCC; --p4-bg: #1B1B2A; --p4-line: #3A3A52;
    --ok: #47CD89; --ok-bg: #0F2A1D; --ok-line: #165E3C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"], .console {
  --ink: #F6F0EB; --ink-2: #D9CCC3; --muted: #A89A91; --line: #3A2B24; --line-2: #4A3a30;
  --bg: #140E0C; --card: #1E1512; --tint: #261C17; --tint-2: #30231D;
  --brand: #E8A57C; --brand-ink: #F2C6A8; --brand-soft: #3A2418;
  --p1: #FF8A80; --p1-bg: #2B1214; --p1-line: #6B2420;
  --p2: #FFA270; --p2-bg: #2B1A10; --p2-line: #6B3818;
  --p3: #FDB022; --p3-bg: #2A2010; --p3-line: #5C4210;
  --p4: #B8BFCC; --p4-bg: #1B1B2A; --p4-line: #3A3A52;
  --ok: #47CD89; --ok-bg: #0F2A1D; --ok-line: #165E3C;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--mono); font-size: .88em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--card); padding: 8px 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .tiny { font-size: .78rem; } .center { text-align: center; }
.mt { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mb-0 { margin-bottom: 0; }
.eyebrow { font: 600 .76rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mono { font-family: var(--mono); font-size: .86em; }

/* ---------- header / footer */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); color: #fff; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand .brand-mark { width: 30px; height: 30px; color: var(--brand-bright, #E8A57C); }
.brand .brand-word { height: 21px; width: auto; }
.site-head .brand .brand-mark { color: #E8A57C; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); padding: 8px 20px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open { display: flex; } .nav a { padding: 12px 0; } .nav a.btn { margin-top: 8px; text-align: center; }
}
.site-foot { background: var(--night); color: rgba(255,255,255,.72); padding: 56px 0 28px; margin-top: 80px; }
.site-foot .brand { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font: 600 .82rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; } .foot-grid li { margin: 8px 0; }
.foot-grid a { color: rgba(255,255,255,.72); text-decoration: none; } .foot-grid a:hover { color: #fff; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.endorse { display: inline-block; margin-top: 10px; font: 600 .7rem/1 var(--font); letter-spacing: .22em; color: #C99A3B; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .08s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: #A0522D; color: #fff; box-shadow: 0 6px 18px rgba(160,82,45,.28); }
.btn-primary:hover { background: #843F1F; color: #fff; }
.btn-dark { background: var(--night); color: #fff; } .btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); } .btn-ghost:hover { background: var(--tint); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); } .btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-danger { background: var(--p1); color: #fff; } .btn-danger:hover { filter: brightness(.95); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-sm { padding: 7px 13px; font-size: .85rem; } .btn-block { width: 100%; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], input[type=date], input[type=tel], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); color: var(--ink); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea { resize: vertical; min-height: 90px; }
.field { margin-bottom: 16px; } .field .help { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.field .err, .errorlist { color: var(--p1); font-size: .85rem; margin: 4px 0 0; padding: 0; list-style: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; } .choices label { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.choices div { display: contents; } .choices ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; } .check input { margin-top: 4px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; } @media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- marketing */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% -10%, rgba(160,82,45,.35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(110,60,30,.35), transparent 60%), var(--night);
  color: #fff; padding: 86px 0 96px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 .hl { background: linear-gradient(90deg, #E8A57C, #F5D9A6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 640px; } .hero .lead { color: rgba(255,255,255,.78); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,.7); font-size: .9rem; }
.trust-row span { display: inline-flex; gap: 7px; align-items: center; } .trust-row svg { width: 16px; height: 16px; color: #E8A57C; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
section { padding: 84px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.band { background: var(--tint); } .band-dark { background: var(--night); color: #fff; } .band-dark .muted { color: rgba(255,255,255,.68); }
.band-dark .card { background: var(--night-2); border-color: var(--night-line); color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } } @media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; } .card.flat { box-shadow: none; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font: 700 .95rem var(--display); margin-bottom: 12px; }
.band-dark .step-n { background: rgba(232,165,124,.12); color: #E8A57C; }
.stat { font: 700 2.4rem/1 var(--display); letter-spacing: -.03em; } .stat-label { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.band-dark .stat-label { color: rgba(255,255,255,.65); }
.ticks { list-style: none; padding: 0; margin: 0; } .ticks li { position: relative; padding-left: 26px; margin: 9px 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.band-dark .ticks li::before { border-color: #E8A57C; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } @media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; } .faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; } .faq details[open] summary::after { content: "–"; } .faq details p { margin: 10px 0 0; color: var(--ink-2); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font: 600 .75rem/1.6 var(--font); }
.band-dark .pill { background: rgba(232,165,124,.14); color: #F2C6A8; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; } @media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent), var(--shadow); }
.price { font: 700 2.6rem/1 var(--display); letter-spacing: -.03em; } .price small { font: 500 .95rem var(--font); color: var(--muted); letter-spacing: 0; }

/* Console mock on the home page */
.mock { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; color: #F6F0EB; font-size: .86rem; }
.mock-top { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--night-line); background: rgba(255,255,255,.02); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #4A3a30; display: inline-block; }
.mock-top b { margin-left: 8px; font-weight: 600; color: rgba(255,255,255,.75); }
.mock-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.mock-row:last-child { border-bottom: 0; } .mock-row .t { font-weight: 600; } .mock-row .s { color: rgba(255,255,255,.55); font-size: .78rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #47CD89; box-shadow: 0 0 0 0 rgba(71,205,137,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(71,205,137,.55); } 70% { box-shadow: 0 0 0 9px rgba(71,205,137,0); } 100% { box-shadow: 0 0 0 0 rgba(71,205,137,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } html { scroll-behavior: auto; } }

/* ---------- severity, status, clocks */
.sev { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 6px; font: 700 .75rem/1.6 var(--font); letter-spacing: .02em; border: 1px solid; white-space: nowrap; }
.sev-P1 { color: var(--p1); background: var(--p1-bg); border-color: var(--p1-line); }
.sev-P2 { color: var(--p2); background: var(--p2-bg); border-color: var(--p2-line); }
.sev-P3 { color: var(--p3); background: var(--p3-bg); border-color: var(--p3-line); }
.sev-P4 { color: var(--p4); background: var(--p4-bg); border-color: var(--p4-line); }
.mock .sev-P1 { color: #FF8A80; background: #2B1214; border-color: #6B2420; } .mock .sev-P2 { color: #FFA270; background: #2B1A10; border-color: #6B3818; }
.mock .sev-P3 { color: #FDB022; background: #2A2010; border-color: #5C4210; } .mock .sev-P4 { color: #B8BFCC; background: #1B1B2A; border-color: #3A3A52; }
.status { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 600 .75rem/1.6 var(--font); background: var(--tint-2); color: var(--ink-2); white-space: nowrap; }
.status.new { background: var(--brand-soft); color: var(--brand-ink); } .status.resolved, .status.closed { background: var(--ok-bg); color: var(--ok); }
.status.contained { background: var(--p3-bg); color: var(--p3); }
.clk { font: 600 .82rem/1.3 var(--font); white-space: nowrap; } .clk.breached, .clk.late, .clk.overdue { color: var(--p1); } .clk.due_soon, .clk.due { color: var(--p3); }
.clk.met, .clk.done { color: var(--ok); } .clk.running { color: var(--ink-2); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--p4); vertical-align: middle; margin-right: 6px; }
.dot.on { background: var(--ok); } .dot.off { background: var(--p1); } .dot.warn { background: var(--p3); }

/* ---------- app shell */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.side { background: var(--night); color: rgba(255,255,255,.78); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.side .brand { color: #fff; padding: 4px 8px 16px; } .side .brand .brand-mark { color: #E8A57C; }
.side-label { font: 600 .7rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42); padding: 18px 10px 8px; }
.side a.nav-i { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.78); text-decoration: none; padding: 8px 10px; border-radius: 9px; font-size: .93rem; }
.side a.nav-i:hover { background: rgba(255,255,255,.06); color: #fff; } .side a.nav-i.on { background: rgba(232,165,124,.12); color: #fff; box-shadow: inset 3px 0 0 #E8A57C; }
.side .count { min-width: 22px; text-align: center; padding: 1px 7px; border-radius: 999px; background: #B42318; color: #fff; font: 700 .72rem/1.6 var(--font); }
.side .count.amber { background: #B54708; } .side .count.soft { background: rgba(255,255,255,.12); }
.side .foot { margin-top: auto; padding: 16px 10px 4px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; color: #fff; }
.side .foot .tiny { color: rgba(255,255,255,.55); } .side .btn-ghost { color: #fff; border-color: rgba(255,255,255,.2); }
.main { padding: 28px 36px 60px; min-width: 0; }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; } .side { position: static; height: auto; } .main { padding: 20px 16px 40px; } }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; } .page-head .eyebrow { margin-bottom: 8px; }
.banner { background: var(--p3-bg); color: var(--p3); border-bottom: 1px solid var(--p3-line); padding: 10px 20px; font-size: .92rem; text-align: center; }
.banner.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; } @media (max-width: 1000px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.kpi b { display: block; font: 700 1.8rem/1.1 var(--display); letter-spacing: -.02em; } .kpi span { color: var(--muted); font-size: .85rem; }
.kpi.alert { border-color: var(--p1-line); background: var(--p1-bg); } .kpi.alert b { color: var(--p1); }
.kpi.good b { color: var(--ok); }
.status-hero { display: flex; gap: 18px; align-items: center; border-radius: 18px; padding: 22px 24px; margin-bottom: 22px; border: 1px solid var(--line); background: var(--card); }
.status-hero .big { font: 700 1.45rem/1.2 var(--display); } .status-hero.calm { border-color: var(--ok-line); background: var(--ok-bg); } .status-hero.calm .big { color: var(--ok); }
.status-hero.P1 { border-color: var(--p1-line); background: var(--p1-bg); } .status-hero.P1 .big { color: var(--p1); }
.status-hero.P2 { border-color: var(--p2-line); background: var(--p2-bg); } .status-hero.P2 .big { color: var(--p2); }
.status-hero.P3, .status-hero.P4 { border-color: var(--p3-line); background: var(--p3-bg); } .status-hero.P3 .big, .status-hero.P4 .big { color: var(--p3); }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; } th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .74rem/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
tr:last-child td { border-bottom: 0; } tr.row-link:hover td { background: var(--tint); } td a.cover { color: var(--ink); text-decoration: none; font-weight: 600; }
.ref { font-family: var(--mono); font-size: .82rem; color: var(--muted); white-space: nowrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chips a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-size: .88rem; }
.chips a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-bottom: 16px; } .filters > div { min-width: 140px; } .filters select, .filters input { padding: 8px 10px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; } @media (max-width: 1100px) { .cols { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 18px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; } .panel h2, .panel h3 { font-size: 1.02rem; margin: 0 0 12px; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: .92rem; } dl.facts dt { color: var(--muted); } dl.facts dd { margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; } .timeline li { position: relative; padding: 0 0 18px 22px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); }
.timeline li.notify::before { border-color: var(--brand); } .timeline li.customer::before { border-color: var(--ok); background: var(--ok); }
.timeline li.action::before { border-color: var(--p3); } .timeline li.internal { opacity: .85; } .timeline li.internal::before { border-style: dashed; }
.timeline .meta { font-size: .8rem; color: var(--muted); } .timeline .body { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2px; }
.raw { background: #120C0A; color: #F0E2D8; border-radius: 12px; padding: 16px; overflow: auto; max-height: 70vh; font: .82rem/1.5 var(--mono); white-space: pre; border: 1px solid #3A2B24; }
.code { background: #120C0A; color: #F0E2D8; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: .84rem/1.6 var(--mono); white-space: pre-wrap; word-break: break-all; border: 1px solid #3A2B24; }
.notice { border-radius: 12px; padding: 12px 16px; background: var(--tint); border: 1px solid var(--line); font-size: .93rem; }
.notice.warn { background: var(--p3-bg); border-color: var(--p3-line); color: var(--p3); } .notice.bad { background: var(--p1-bg); border-color: var(--p1-line); color: var(--p1); }
.notice.good { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.messages { list-style: none; padding: 0; margin: 0 0 18px; } .messages li { border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; background: var(--tint); border: 1px solid var(--line); }
.messages .success { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); } .messages .error { background: var(--p1-bg); border-color: var(--p1-line); color: var(--p1); }
.messages .warning { background: var(--p3-bg); border-color: var(--p3-line); color: var(--p3); }
.secret { font-family: var(--mono); background: var(--tint); border: 1px dashed var(--brand); border-radius: 10px; padding: 12px; word-break: break-all; }
.meter { height: 8px; border-radius: 999px; background: var(--tint-2); overflow: hidden; } .meter i { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.meter.low i { background: var(--p1); } .meter.mid i { background: var(--p3); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; } .tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--ink); border-color: var(--brand); }
.inline-form { display: inline; } .actions-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
details.drawer { border: 1px solid var(--line); border-radius: 12px; background: var(--card); } details.drawer > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; }
details.drawer > div { padding: 4px 16px 16px; }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: radial-gradient(800px 400px at 80% 0%, rgba(160,82,45,.25), transparent 60%), var(--night); }
.auth .form-card { width: 100%; max-width: 440px; } .auth .brand { margin-bottom: 18px; color: var(--ink); } .auth .brand .brand-mark { color: var(--brand); }
.qr svg { width: 200px; height: 200px; background: #fff; border-radius: 12px; padding: 8px; }
.prose { font-size: 1.02rem; } .prose h2 { margin-top: 1.8em; font-size: 1.5rem; } .prose ul { padding-left: 1.2em; } .prose li { margin: 6px 0; }
.prose table { margin: 16px 0; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.print-only { display: none; }
@media print { .site-head, .site-foot, .side, .no-print { display: none !important; } .app { display: block; } .print-only { display: block; } body { background: #fff; color: #000; } }
.console .main { background: var(--bg); }
.console .side { background: #140E0C; border-right: 1px solid #30231D; }

/* ---------- verdicts (authenticity) */
.verdict { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font: 700 .8rem/1.4 var(--font); border: 1px solid; white-space: nowrap; }
.verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.verdict.clean { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.verdict.review { color: var(--p3); background: var(--p3-bg); border-color: var(--p3-line); }
.verdict.altered { color: var(--p1); background: var(--p1-bg); border-color: var(--p1-line); }
.verdict.unverifiable, .verdict.pending { color: var(--p4); background: var(--p4-bg); border-color: var(--p4-line); }
.finding { border-left: 4px solid var(--line-2); padding: 10px 14px; margin-bottom: 10px; background: var(--card); border-radius: 0 10px 10px 0; }
.finding.w40 { border-color: var(--p1); } .finding.w20 { border-color: var(--p3); } .finding.w8 { border-color: var(--p4); }
.finding h4 { margin: 0 0 4px; font-size: .98rem; } .finding ul { margin: 6px 0 0; padding-left: 18px; font: .8rem/1.5 var(--mono); color: var(--muted); }
tr.bad td { background: var(--p1-bg); } td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } td.neg { color: var(--p1); }
.score-ring { width: 120px; height: 120px; } .score-ring text { font: 700 28px var(--display); fill: var(--ink); }
.chart text { font: 10px var(--font); fill: var(--muted); } .chart .in { fill: var(--brand); } .chart .out { fill: var(--line-2); }
.dropzone { border: 2px dashed var(--line-2); border-radius: 14px; padding: 22px; text-align: center; background: var(--tint); }
.bar-row { display: grid; grid-template-columns: 180px 1fr 110px; gap: 10px; align-items: center; font-size: .88rem; margin: 6px 0; }
.bar-row .meter i { background: var(--brand); }
.verdict.verified { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-line); }
.verdict.discrepancy { color: var(--p3); background: var(--p3-bg); border-color: var(--p3-line); }
.verdict.not_verified { color: var(--p1); background: var(--p1-bg); border-color: var(--p1-line); }
.verdict.incomplete, .verdict.unable, .verdict.waiting { color: var(--p4); background: var(--p4-bg); border-color: var(--p4-line); }
.item-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--card); margin-bottom: 12px; }
.item-card .hd { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.formset-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--card); }
.formset-row label { font-size: .82rem; }
.js .formset-row [data-for] { display: none; } .js .formset-row[data-kind="degree"] [data-for~="degree"], .js .formset-row[data-kind="waec"] [data-for~="waec"],
.js .formset-row[data-kind="professional"] [data-for~="professional"], .js .formset-row[data-kind="identity"] [data-for~="identity"] { display: block; }
.js .formset-row:not([data-kind]) ~ .formset-row:not([data-kind]) { display: none; }
@media (max-width: 900px) { .formset-row { grid-template-columns: 1fr 1fr; } }
.app { background: linear-gradient(90deg, var(--night) 0 252px, var(--bg) 252px); } .console .app { background: linear-gradient(90deg, #140E0C 0 252px, var(--bg) 252px); }
@media (max-width: 900px) { .app { background: var(--bg); } }
.seal { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.8rem; }
