/* =========================================================================
   Facebook Enforcement Transparency Project
   Design system — "Public Incident Registry"
   Palette: cool slate paper + deep ink + a single measured signal-teal.
   Type: IBM Plex Serif (headlines) / Sans (body) / Mono (data + case IDs).
   ========================================================================= */

:root {
  /* Surfaces */
  --paper:        #F1F3F6;
  --paper-2:      #E7ECF1;
  --surface:      #FFFFFF;
  --surface-2:    #FAFBFC;

  /* Ink */
  --ink:          #131A24;
  --ink-2:        #3A4655;
  --muted:        #6A7686;
  --faint:        #97A2AF;

  /* Lines */
  --line:         #D6DCE4;
  --line-strong:  #BEC8D2;

  /* Signal + status */
  --accent:       #0E6E78;
  --accent-ink:   #0A545C;
  --accent-wash:  #E4F1F2;
  --verified:     #1F7A4D;
  --verified-wash:#E4F2EA;
  --pending:      #A66A12;
  --pending-wash: #F6EDDD;
  --negative:     #A83B2A;
  --negative-wash:#F5E6E2;
  --info:         #345B8C;
  --info-wash:    #E5ECF5;

  /* Type */
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Metrics */
  --maxw: 1120px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(19,26,36,.05), 0 8px 24px rgba(19,26,36,.06);
  --shadow-sm: 0 1px 2px rgba(19,26,36,.06);
}

/* ------------------------------- reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
}
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 12px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------ masthead ------------------------------ */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(241,243,246,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.masthead__row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px; height: 34px; flex: none;
  border: 1.5px solid var(--ink); border-radius: 3px;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: -.03em;
  background: var(--surface);
}
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 15px; line-height: 1.1; }
.brand__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.masthead nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.masthead nav a {
  font-size: 14px; color: var(--ink-2); padding: 8px 12px; border-radius: var(--radius);
  font-weight: 500;
}
.masthead nav a:hover { background: var(--paper-2); color: var(--ink); text-decoration: none; }
.masthead nav a.is-active { color: var(--accent-ink); }
.nav-cta {
  background: var(--ink) !important; color: #fff !important;
  padding: 9px 16px !important; border-radius: var(--radius);
}
.nav-cta:hover { background: #000 !important; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 8px; cursor: pointer; }
.nav-toggle svg { display: block; }

/* mode banner */
.mode-banner {
  font-family: var(--mono); font-size: 12px; text-align: center;
  padding: 6px 12px; background: var(--pending-wash); color: #7a4e0d;
  border-bottom: 1px solid #e7d3ab; letter-spacing: .03em;
}
.mode-banner a { color: #7a4e0d; text-decoration: underline; }

/* ------------------------------- buttons ------------------------------ */
.btn {
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); box-shadow: 0 4px 14px rgba(14,110,120,.28); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--muted); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--block { width: 100%; }

/* ------------------------------- chips -------------------------------- */
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line-strong);
  color: var(--ink-2); background: var(--surface); display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.chip--verified { color: var(--verified); border-color: #bfe0cd; background: var(--verified-wash); }
.chip--verified::before { background: var(--verified); }
.chip--pending  { color: var(--pending); border-color: #e7cfa2; background: var(--pending-wash); }
.chip--pending::before  { background: var(--pending); }
.chip--negative { color: var(--negative); border-color: #e6c1b9; background: var(--negative-wash); }
.chip--negative::before { background: var(--negative); }
.chip--info     { color: var(--info); border-color: #c2d2e8; background: var(--info-wash); }
.chip--info::before     { background: var(--info); }
.chip--plain::before { display:none; }

/* ------------------------------- hero --------------------------------- */
.hero { padding: 60px 0 52px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.hero__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero__lede { font-size: 1.16rem; color: var(--ink-2); max-width: 40ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__note { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { flex: none; color: var(--verified); }

/* live registry ledger panel (the signature element) */
.ledger {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.ledger__head {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.ledger__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verified); box-shadow: 0 0 0 0 rgba(31,122,77,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(31,122,77,.45);} 70%{ box-shadow: 0 0 0 8px rgba(31,122,77,0);} 100%{ box-shadow: 0 0 0 0 rgba(31,122,77,0);} }
.ledger__title { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ledger__title span { color: var(--muted); }
.ledger__body { max-height: 348px; overflow: auto; }
.ledger__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13px;
}
.ledger__row:last-child { border-bottom: 0; }
.ledger__id { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); font-weight: 500; }
.ledger__meta { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger__meta b { font-weight: 500; color: var(--ink); }
.ledger__days { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.ledger__empty { padding: 40px 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* --------------------------- stat ledger ------------------------------ */
.stats { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats__grid .stat:nth-child(4n) { border-right: 0; }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.stat__value { font-family: var(--mono); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.stat__value small { font-size: .5em; color: var(--muted); font-weight: 500; margin-left: 4px; }

/* ------------------------------- cards -------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.card__num { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); font-weight: 600; margin-bottom: 14px; letter-spacing: .04em; }

/* privacy panel */
.privacy {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.privacy__grid { display: grid; grid-template-columns: 1fr 1fr; }
.privacy__col { padding: 32px; }
.privacy__col + .privacy__col { border-left: 1px solid var(--line); }
.privacy__col h3 { font-size: 1.05rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.privacy__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.privacy__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; color: var(--ink-2); }
.privacy__list li svg { flex: none; margin-top: 2px; }
.tick { color: var(--verified); }
.cross { color: var(--negative); }

/* process steps */
.steps { display: grid; gap: 0; counter-reset: step; }
.step-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step-row:last-child { border-bottom: 0; }
.step-row__n { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); font-weight: 600; padding-top: 3px; }
.step-row h3 { font-size: 1.12rem; margin-bottom: 4px; }
.step-row p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ------------------------------ footer -------------------------------- */
.site-footer { background: var(--ink); color: #C6D0DC; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #C6D0DC; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand .brand__mark { border-color: #4a5866; background: transparent; color: #fff; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #93A1B0; font-size: .92rem; margin: 16px 0 0; max-width: 42ch; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #7c8b9b; margin: 0 0 14px; font-weight: 500; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { font-size: .93rem; }
.footer__bottom { border-top: 1px solid #2a3542; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer__bottom p { margin: 0; font-size: .82rem; color: #7c8b9b; }
.disclaimer { font-size: .8rem; color: #6f7d8d; max-width: 62ch; line-height: 1.55; }

/* ------------------------- forms / submit ----------------------------- */
.form-page { padding: 40px 0 80px; }
.progress { margin-bottom: 36px; }
.progress__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.progress__seg { height: 4px; border-radius: 99px; background: var(--line-strong); }
.progress__seg.is-done { background: var(--accent); }
.progress__seg.is-current { background: var(--accent); opacity: .55; }
.progress__meta { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-step { padding: 34px; }
.form-step__head { margin-bottom: 26px; }
.form-step__head .eyebrow { margin-bottom: 8px; display: block; }
.form-step__head h2 { font-size: 1.5rem; }
.form-step__head p { color: var(--ink-2); margin: 8px 0 0; }

.field { margin-bottom: 20px; }
.field > label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field .req { color: var(--negative); }
.input, .select, textarea.input {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
textarea.input { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--mono); font-size: 14px; }
.input-prefix .input { padding-left: 26px; }

.checks, .radios { display: grid; gap: 10px; }
.checks--2 { grid-template-columns: 1fr 1fr; }
.opt {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); cursor: pointer; background: var(--surface); font-size: .95rem;
  transition: border-color .12s, background .12s;
}
.opt:hover { border-color: var(--muted); }
.opt input { width: 17px; height: 17px; accent-color: var(--accent); flex: none; cursor: pointer; }
.opt.is-checked { border-color: var(--accent); background: var(--accent-wash); }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.seg button { font-family: var(--sans); font-size: 14px; padding: 9px 18px; background: var(--surface); border: 0; border-right: 1px solid var(--line-strong); cursor: pointer; color: var(--ink-2); }
.seg button:last-child { border-right: 0; }
.seg button.is-on { background: var(--accent); color: #fff; }

.dropzone {
  display: block;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 30px; text-align: center;
  background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: var(--accent-wash); }
.proof-slots { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
.proof-slot { min-width: 0; }
.dropzone--slot { padding: 14px 16px; text-align: left; }
.slot-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.slot-label { font-weight: 500; font-size: .94rem; color: var(--ink); }
.slot-add { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); white-space: nowrap; }
.dropzone--slot small { display: block; margin-top: 4px; color: var(--muted); }
.dropzone svg { color: var(--muted); margin: 0 auto 10px; }
.dropzone p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.dropzone small { color: var(--muted); }
.filelist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.filelist li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: .88rem; }
.filelist li .rm { margin-left: auto; background: none; border: 0; color: var(--negative); cursor: pointer; font-size: 18px; line-height: 1; }
.filelist .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filesize { color: var(--muted); font-family: var(--mono); font-size: 12px; }

.form-nav { display: flex; justify-content: space-between; gap: 12px; padding: 22px 34px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.field-error { color: var(--negative); font-size: .85rem; margin-top: 6px; }
.input.err, .select.err { border-color: var(--negative); }

.review dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; margin: 0; }
.review dt { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.review dd { margin: 0; color: var(--ink); font-size: .95rem; }

.success { text-align: center; padding: 60px 34px; }
.success__badge { width: 68px; height: 68px; border-radius: 50%; background: var(--verified-wash); display: grid; place-items: center; margin: 0 auto 22px; }
.success__case { font-family: var(--mono); font-size: 1.6rem; font-weight: 600; color: var(--accent-ink); background: var(--accent-wash); padding: 10px 20px; border-radius: var(--radius); display: inline-block; margin: 6px 0 18px; letter-spacing: .02em; }
.savelink { max-width: 520px; margin: 26px auto 0; text-align: left; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; }
.savelink__label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.savelink__row { display: flex; gap: 8px; }
.savelink__row .input { font-size: 12px; font-family: var(--mono); }
.savelink__hint { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }

.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.consent label { font-size: .9rem; color: var(--ink-2); }

/* ------------------------------ tracker ------------------------------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.toolbar .input, .toolbar .select { width: auto; }
.toolbar .search { min-width: 220px; flex: 1; }
.count-pill { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-left: auto; }

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
table.registry { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.registry th {
  text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2);
  cursor: pointer; user-select: none; white-space: nowrap;
}
table.registry th .arrow { color: var(--accent); }
table.registry td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
table.registry tr:last-child td { border-bottom: 0; }
table.registry tr:hover td { background: var(--surface-2); }
table.registry .cid { font-family: var(--mono); color: var(--accent-ink); font-weight: 500; }
table.registry .empty { text-align: center; padding: 48px; color: var(--muted); }
.rec-yes { color: var(--verified); font-weight: 500; }
.rec-no { color: var(--negative); font-weight: 500; }

/* ----------------------------- dashboard ------------------------------ */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.kpi__label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.kpi__value { font-family: var(--mono); font-size: 1.7rem; font-weight: 600; color: var(--ink); line-height: 1; }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.chart-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.chart-card .sub { color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.chart-card canvas { max-height: 280px; }
.chart-card--wide { grid-column: 1 / -1; }

/* ------------------------------- admin -------------------------------- */
.admin-gate { max-width: 400px; margin: 60px auto; }
.admin-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.admin-report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.admin-report__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.admin-report dl { display: grid; grid-template-columns: 170px 1fr; gap: 6px 16px; font-size: .9rem; margin: 0 0 16px; }
.admin-report dt { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.admin-report dd { margin: 0; color: var(--ink); }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-actions .btn { padding: 8px 14px; font-size: 13px; }
.ev-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.ev-tile { display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.ev-tile:hover { text-decoration: none; }
.ev-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line-strong); background: var(--surface-2); transition: transform .1s, box-shadow .15s; }
.ev-tile:hover .ev-thumb { transform: scale(1.06); box-shadow: var(--shadow); }
.ev-name { font-size: .82rem; color: var(--accent-ink); text-decoration: underline; }
.admin-additions { margin-top: 16px; border-top: 1px dashed var(--line-strong); padding-top: 14px; }
.admin-additions__head { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--pending); margin-bottom: 10px; }
.admin-addition { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
.admin-addition__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ev-group { margin-bottom: 10px; }
.ev-group__label { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.ev-none { color: var(--muted); font-size: .85rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(9,13,19,.86); display: flex; align-items: center; justify-content: center; padding: 32px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 22px; cursor: pointer; line-height: 1; }
.lightbox__close:hover { background: rgba(255,255,255,.24); }
.lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #c6d0dc; font-family: var(--mono); font-size: 12px; }

/* ------------------------------- misc --------------------------------- */
.callout { background: var(--accent-wash); border: 1px solid #bcdfe1; border-radius: var(--radius-lg); padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start; }
.callout svg { flex: none; color: var(--accent-ink); margin-top: 2px; }
.callout p { margin: 0; color: var(--accent-ink); font-size: .95rem; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 500; font-family: var(--serif); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 0 16px; margin: 0; }

.newsletter { background: var(--ink); border-radius: var(--radius-lg); padding: 40px; color: #fff; }
.newsletter h2 { color: #fff; }
.newsletter p { color: #9fb0c0; }
.newsletter__form { display: flex; gap: 10px; max-width: 480px; margin-top: 20px; }
.newsletter__form .input { background: #1c2632; border-color: #33424f; color: #fff; }
.newsletter__form .input::placeholder { color: #7c8b9b; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--radius); box-shadow: var(--shadow); font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.skeleton { background: linear-gradient(90deg, var(--paper-2) 25%, #eef1f4 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 3px; color: transparent !important; }
@keyframes sk { 0%{ background-position: 100% 0; } 100%{ background-position: 0 0; } }

.hide { display: none !important; }
noscript .ns { display: block; padding: 40px; text-align: center; }

/* ----------------------------- responsive ----------------------------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid .stat:nth-child(4n) { border-right: 1px solid var(--line); }
  .stats__grid .stat:nth-child(2n) { border-right: 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .privacy__grid { grid-template-columns: 1fr; }
  .privacy__col + .privacy__col { border-left: 0; border-top: 1px solid var(--line); }
  .chart-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .masthead nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px; gap: 2px; box-shadow: var(--shadow); }
  .masthead nav.open { display: flex; }
  .masthead nav:not(.open) { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { text-align: center; }
}
@media (max-width: 560px) {
  .field-row, .field-row--3, .checks--2, .review dl, .admin-report dl, .proof-slots { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .form-step, .form-nav { padding-left: 20px; padding-right: 20px; }
  .stat { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
