:root {
  /* FTimoré brand: logo black + gold */
  --brand-black: #111111;
  --brand-gold: #c69636;
  --brand-gold-light: #e2c88f;
  --on-gold: #111111;
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #161514;
  --muted: #615a50;
  --line: #e7e0d1;
  --accent: #8a6418;      /* gold dark enough for text on light backgrounds */
  --accent-soft: #f6eedb;
  --gold: #a87a26;
  --mark: #f9e7b5;
  --ok: #2f6b3a; --ok-soft: #e6f1e6;
  --warn: #8a4b0f; --warn-soft: #fbecd9;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --fs: 17px;
}
[data-theme="dark"] {
  --bg: #0c0c0b;
  --surface: #171614;
  --ink: #ede8df;
  --muted: #a69d8f;
  --line: #2d2a25;
  --accent: #d9b066;
  --accent-soft: #2a2316;
  --gold: #d4a84b;
  --mark: #5a4512;
  --ok: #8fd19a; --ok-soft: #17291a;
  --warn: #f0b673; --warn-soft: #33230f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--accent); }
button { font: inherit; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px;
  padding: calc(10px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) 10px calc(18px + env(safe-area-inset-left)); background: var(--brand-black); color: #f3efe6; border-bottom: 3px solid var(--brand-gold); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex-shrink: 0; }
.topbar .icon-btn { color: #f3efe6; }
.topbar .icon-btn:hover { background: rgba(198,150,54,.2); }
.brand-mark { background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .5px;
  padding: 7px 8px; border-radius: 8px; }
[data-theme="dark"] .brand-mark { color: #0d1a13; }
.logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; padding: 2px 6px; flex-shrink: 0; }
.logo-chip .logo { height: 38px; width: auto; display: block; }
[data-theme="dark"] .logo-chip { box-shadow: 0 0 0 1px var(--line); }
.hero-logo { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #333; border-radius: 12px;
  padding: 6px 14px 6px 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; }
.hero-logo img { height: 54px; width: auto; display: block; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; font-weight: 600; color: #fff; }
.footer-brand .logo { height: 30px; }
.footer-firm, .firm-line { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.footer-firm small, .firm-line small { font-size: 11.5px; font-weight: 500; letter-spacing: .4px; opacity: .85; }
.footer-firm small { color: var(--brand-gold-light); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { color: var(--brand-gold-light); font-size: 12px; }
.search { flex: 1; max-width: 560px; }
.search input { width: 100%; padding: 10px 14px; border: 1px solid #3a352c; border-radius: 999px;
  background: #1e1c19; color: #f3efe6; font-size: 15px; outline: none; }
.search input::placeholder { color: #a69d8f; }
.search input:focus { border-color: var(--brand-gold); box-shadow: 0 0 0 3px rgba(198,150,54,.3); }
.top-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top-links a { text-decoration: none; color: #f3efe6; padding: 7px 11px; border-radius: 8px; font-size: 14px; }
.top-links a:hover, .top-links a.active { background: rgba(198,150,54,.18); color: var(--brand-gold-light); }
.icon-btn { background: none; border: 0; color: var(--ink); font-size: 20px; cursor: pointer; padding: 6px 9px; border-radius: 8px; }
.icon-btn:hover { background: var(--accent-soft); }
#menuBtn, #closeSide { display: none; }

/* layout */
.layout { display: grid; grid-template-columns: 330px 1fr; min-height: calc(100vh - 120px); }
.sidebar { border-right: 1px solid var(--line); background: var(--surface); position: sticky; top: 64px;
  height: calc(100vh - 64px); overflow-y: auto; padding: 8px 0 40px; }
.side-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 18px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 600; }
.toc-part { border-top: 1px solid var(--line); }
.toc-part > button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--ink);
  padding: 10px 18px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; }
.toc-part > button .pn { color: var(--gold); min-width: 52px; }
.toc-part > button:hover { background: var(--bg); }
.toc-part ol { list-style: none; margin: 0; padding: 0 0 8px; display: none; }
.toc-part.open ol { display: block; }
.toc-part li a { display: flex; gap: 8px; padding: 5px 18px 5px 28px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.toc-part li a .sn { min-width: 24px; color: var(--accent); font-weight: 600; }
.toc-part li a:hover { color: var(--ink); background: var(--bg); }
.toc-part li a.current { color: var(--ink); background: var(--accent-soft); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand-gold); }
.scrim { display: none; }

main { padding: 32px clamp(18px, 4vw, 56px) 60px; max-width: 900px; width: 100%; outline: none; }
.footer { border-top: 3px solid var(--brand-gold); padding: 16px 24px; font-size: 12.5px; color: #c9c1b3; text-align: center; background: var(--brand-black); }
.footer a { color: var(--brand-gold-light); }
.footer-address { font-style: normal; line-height: 1.6; margin: 0 auto 10px; color: #e6dfd2; }
.footer-address strong { color: #fff; }

/* home */
.hero { background: linear-gradient(135deg, #111 0%, #26221b 100%); color: #fff; border-radius: 16px; padding: 34px 32px; box-shadow: var(--shadow); border-bottom: 4px solid var(--brand-gold); }
.hero .eyebrow { color: var(--brand-gold-light); }
[data-theme="dark"] .hero { background: linear-gradient(135deg, #1a1813 0%, #2a2418 100%); }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; opacity: .85; }
.hero h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); margin: 6px 0 10px; line-height: 1.15; }
.hero p { margin: 0; opacity: .92; max-width: 640px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 0; }
.stat { background: rgba(198,150,54,.14); border: 1px solid rgba(198,150,54,.35); border-radius: 10px; padding: 12px 14px; }
.stat b { color: var(--brand-gold-light); }
.stat b { display: block; font-size: 24px; }
.stat span { font-size: 12.5px; opacity: .85; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 26px 0; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
h2.block-title { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 30px 0 10px; }

/* section reader */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }
.sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.sec-head h1 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0; }
.sec-head h1 .num { color: var(--gold); margin-right: 10px; }
.actions { display: flex; gap: 6px; flex-shrink: 0; }
.btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 7px 12px; border-radius: 8px; cursor: pointer; font-size: 13.5px; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.on, .btn.primary { background: var(--brand-gold); color: var(--on-gold); border-color: var(--brand-gold); font-weight: 600; }
.btn.on:hover, .btn.primary:hover { background: #b5852b; color: var(--on-gold); border-color: #b5852b; }
.law { font-family: var(--serif); font-size: var(--fs); }
.law p { margin: 0 0 10px; display: flex; gap: 10px; }
.law p .lab { flex-shrink: 0; min-width: 34px; color: var(--accent); font-family: var(--font); font-weight: 600; font-size: .88em; padding-top: .15em; }
.law p.l1 { margin-left: 34px; }
.law p.l2 { margin-left: 68px; }
.law p.l3 { margin-left: 102px; }
.law p.closing { font-style: normal; }
.law h3 { font-family: var(--font); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin: 22px 0 10px; }
.law mark, .results mark { background: var(--mark); color: inherit; padding: 0 2px; border-radius: 3px; }
.law a.xref { text-decoration: none; border-bottom: 1px dotted var(--accent); }
.formula { font-family: var(--font); font-size: 26px; font-weight: 700; text-align: center; padding: 18px; margin: 16px 0;
  background: var(--accent-soft); border-radius: var(--radius); color: var(--accent); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 18px; }
.pager a { text-decoration: none; max-width: 48%; font-size: 14px; }
.pager small { display: block; color: var(--muted); font-size: 12px; }
.related { margin-top: 26px; padding: 14px 18px; background: var(--accent-soft); border-radius: var(--radius); font-size: 14.5px; }

/* search results */
.results .hit { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.results .hit:hover h4 { color: var(--accent); }
.results h4 { margin: 0 0 4px; font-size: 16px; }
.results h4 .num { color: var(--gold); margin-right: 6px; }
.results .snip { color: var(--muted); font-size: 14.5px; margin: 2px 0; }
.empty { color: var(--muted); padding: 30px 0; }

/* definitions */
.def-filter { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 15px; margin-bottom: 14px; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
.letters a { padding: 3px 8px; border-radius: 6px; text-decoration: none; font-size: 13px; background: var(--surface); border: 1px solid var(--line); }
.def { padding: 12px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.def dt { font-weight: 700; color: var(--accent); }
.def dd { margin: 4px 0 0; font-family: var(--serif); white-space: pre-line; }

/* tools */
.tool-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.tool h2 { margin: 0 0 4px; font-size: 20px; }
.tool .basis { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field input, .field select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--ink); font-size: 16px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: var(--surface); color: var(--ink); padding: 9px 14px; cursor: pointer; font-size: 14px; }
.seg button.on { background: var(--brand-gold); color: var(--on-gold); font-weight: 600; }
.out { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 16px; }
.out table { width: 100%; border-collapse: collapse; font-size: 15px; }
.out td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.out td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.out tr.total td { font-size: 18px; color: var(--accent); border-bottom: 0; }
.verdict { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.verdict.yes { background: #fdecea; color: #8a1c12; }
.verdict.no { background: var(--ok-soft); color: var(--ok); }
[data-theme="dark"] .verdict.yes { background: #3a1d19; color: #f2a79d; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  #menuBtn, #closeSide { display: inline-block; }
  .sidebar { position: fixed; left: 0; top: 0; height: 100vh; width: min(340px, 88vw); z-index: 50; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); transform: translateX(-100%); transition: transform .2s; }
  body.side-open .sidebar { transform: none; }
  body.side-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 40; }
  .top-links a { display: none; }
  .brand-text small { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .brand-text { display: none; }
  .logo-chip .logo { height: 30px; }
  .hero-logo img { height: 42px; }
  .topbar { gap: 8px; padding: 8px 10px; }
  .sec-head { flex-direction: column; }
  .law p.l1 { margin-left: 14px; } .law p.l2 { margin-left: 28px; } .law p.l3 { margin-left: 42px; }
}
@media print {
  .topbar, .sidebar, .footer, .actions, .pager, .related { display: none !important; }
  .layout { display: block; } main { max-width: none; padding: 0; }
}

/* ---------- install app ---------- */
.top-links a.install-link { background: var(--brand-gold); color: var(--on-gold); border-radius: 999px; padding: 5px 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.top-links a.install-link:hover { background: var(--brand-gold-light); color: var(--on-gold); }
.top-links a.install-link[hidden] { display: none !important; }
@media (max-width: 900px) { .top-links a.install-link { display: inline-block; font-size: 13px; padding: 4px 10px; } }
.install-page { max-width: 980px; }
.install-hero { display: flex; gap: 22px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 20px; }
.install-hero img { border-radius: 20px; flex-shrink: 0; }
.install-hero h1 { margin: 0 0 6px; }
.install-hero p { margin: 0 0 12px; }
.install-now { font-size: 16px; padding: 10px 20px; }
.install-ok { font-weight: 600; color: var(--accent); }
.install-card ol { margin: 6px 0 0; padding-left: 20px; font-size: 14.5px; }
.install-card li { margin-bottom: 4px; }
.install-card.current { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.muted { color: var(--muted); } .small { font-size: 13px; }
@media (max-width: 560px) { .install-hero { flex-direction: column; } .install-hero img { width: 72px; height: 72px; } }

/* ---------- amendment status, explanatory notes, cross-references ---------- */
:root { --bad: #8a1c12; --bad-soft: #fdecea; }
[data-theme="dark"] { --bad: #f2a79d; --bad-soft: #3a1d19; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid currentColor; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid currentColor; }
.badge.bad { background: var(--bad-soft); color: var(--bad); border: 1px solid currentColor; }
.status { border: 1px solid var(--line); border-left: 4px solid var(--brand-gold); background: var(--surface); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 20px; font-size: 14px; }
.status.ok { border-left-color: var(--ok); } .status.warn { border-left-color: var(--warn); } .status.bad { border-left-color: var(--bad); }
.status.pending { color: var(--muted); }
.status-main { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.status-also { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.status-check { margin-top: 6px; color: var(--muted); font-size: 12.5px; }

.panel { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 2px solid var(--brand-gold); padding-bottom: 8px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; font-family: var(--serif); font-size: 21px; }
.panel h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin: 16px 0 8px; }
.panel .summary { font-size: 16px; font-weight: 600; background: var(--accent-soft); border-radius: 8px; padding: 10px 14px; margin: 0 0 12px; }
.note-body { font-size: calc(var(--fs) - 1px); }
.note-body p { margin: 0 0 10px; }
.note-body h4 { font-size: 15px; color: var(--accent); margin: 18px 0 6px; }
.note-body ul { margin: 0 0 10px; padding-left: 22px; } .note-body li { margin-bottom: 4px; }
.note-body a.xref, .summary a.xref { text-decoration: none; border-bottom: 1px dotted var(--accent); }
.meta { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.edit-hint { margin-top: 14px; }
.xref-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.xref-list.compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.xref-chip { display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border: 1px solid var(--line); border-left: 3px solid var(--brand-gold); border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--bg); font-size: 13.5px; line-height: 1.35; }
.xref-chip:hover { border-color: var(--accent); }
.xref-chip b { color: var(--accent); font-size: 12.5px; }
.xref-chip em { font-style: normal; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.status-also .xref-chip { display: inline-flex; padding: 3px 9px; }
.user-note { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.user-note:first-of-type { border-top: 0; padding-top: 0; }
.user-note h4 { margin: 0 0 6px; }
.amend { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: var(--bg); transition: box-shadow .3s; }
.amend.flash { box-shadow: 0 0 0 3px var(--brand-gold); }
.amend-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.amend-meta { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; margin: 0 0 10px; font-size: 14px; }
.amend-meta dt { color: var(--muted); } .amend-meta dd { margin: 0; overflow-wrap: anywhere; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare h5 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.compare .old, .compare .new { font-family: var(--serif); font-size: 14.5px; padding: 10px 12px; border-radius: 8px; }
.compare .old { background: var(--bad-soft); text-decoration: line-through; text-decoration-color: rgba(138,28,18,.45); }
.compare .new { background: var(--ok-soft); }
.compare p { margin: 0 0 6px; }
.reg-item { margin-bottom: 18px; } .reg-ref { margin-bottom: 6px; max-width: 360px; }
.stats.light { grid-template-columns: repeat(3, 1fr); margin: 18px 0; }
.stats.light .stat { background: var(--accent-soft); border-color: var(--line); }
.stats.light .stat b { color: var(--accent); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: inherit; text-decoration: underline; }
.linkbtn.danger { color: var(--bad); }
.edit-form { display: block; }
.edit-form .field { margin-bottom: 12px; }
.edit-form .field small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.edit-form textarea, .edit-form input, .edit-form select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; }
.edit-form textarea { font-family: var(--font); line-height: 1.5; resize: vertical; }
.edit-form textarea:focus, .edit-form input:focus, .edit-form select:focus { outline: none; border-color: var(--brand-gold); box-shadow: 0 0 0 3px var(--accent-soft); }
.amend-form { border: 1px dashed var(--brand-gold); border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.form-msg { color: var(--muted); font-size: 13px; }
#editorView .edit-form { max-width: 440px; }
#toc a.amended .sn::after { content: "•"; color: var(--warn); margin-left: 2px; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } .stats.light { grid-template-columns: 1fr; } .panel { padding: 16px; } }
@media print { .panel-head .btn, .linkbtn, .edit-hint, .status-check a { display: none !important; } .panel { box-shadow: none; break-inside: auto; } }

/* iPhone notch / home-indicator: keep content clear of the screen edges in the installed app */
body { padding-bottom: env(safe-area-inset-bottom); }

/* ----- registration gate (shown until the reader registers or signs in) ----- */
body.locked .search, body.locked .top-links, body.locked #menuBtn, body.locked .sidebar, body.locked .scrim { display: none !important; }
body.locked .layout { display: block; }
body.locked main { max-width: 640px; margin: 0 auto; }
.gate .hero { margin-bottom: 22px; }
.gate-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.gate-form h2 { margin: 0 0 12px; font-family: var(--serif); }
.gate-form .field { margin-bottom: 14px; }
.gate-form .form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gate-msg { min-height: 1.4em; color: var(--bad); font-weight: 600; }
