/* report.cryme.co.za — styled to match cryme.co.za (tokens, type and components taken from the main site).
   Fonts are self-hosted so no visitor data goes to third parties. */

@font-face { font-family: "DM Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url(/static/fonts/dm-sans-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 300; font-style: italic; font-display: swap; src: url(/static/fonts/dm-sans-latin-300-italic.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(/static/fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(/static/fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: normal; font-display: swap; src: url(/static/fonts/dm-serif-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-style: italic; font-display: swap; src: url(/static/fonts/dm-serif-display-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(/static/fonts/space-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 700; font-style: normal; font-display: swap; src: url(/static/fonts/space-mono-latin-700-normal.woff2) format("woff2"); }

:root {
  --body-bg: #080808;
  --border: rgba(232,97,10,0.15);
  --border-subtle: rgba(255,255,255,0.06);
  --dark-2: rgba(14,14,14,0.92);
  --dark-3: rgba(22,22,22,0.90);
  --dark-4: rgba(30,30,30,0.92);
  --nav-scrolled-bg: rgba(8,8,8,0.9);
  --noise-blend: overlay;
  --noise-opacity: 0.03;
  --orange: #E8610A;
  --orange-bright: #FF7722;
  --text: #EFEFEF;
  --text-dim: #555;
  --text-muted: #8a8a8a; /* main site uses #777; nudged up for small-text contrast on a form-heavy page */
  --err: #ff6b5e;
  --ok: #4cc38a;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
}
html.light-mode {
  --body-bg: #F5F5F5;
  --border: rgba(232,97,10,0.2);
  --border-subtle: rgba(0,0,0,0.1);
  --dark-2: rgba(240,240,240,0.97);
  --dark-3: rgba(232,232,232,0.97);
  --dark-4: rgba(255,255,255,0.97);
  --nav-scrolled-bg: rgba(248,248,248,0.92);
  --noise-blend: multiply;
  --noise-opacity: 0.015;
  --text: #111111;
  --text-dim: #888;
  --text-muted: #555;
  --err: #b3261e;
  --ok: #1e7b4a;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--body-bg); color: var(--text);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: var(--noise-opacity); mix-blend-mode: var(--noise-blend);
}
body > * { position: relative; z-index: 1; }
a { color: var(--orange); }

/* ---------- Navigation (matches cryme.co.za) ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50; height: 68px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--nav-scrolled-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link { color: var(--text); opacity: .7; text-decoration: none; font-size: .85rem; font-weight: 400; letter-spacing: .02em; padding: 8px 14px; transition: opacity .15s; }
.nav-link:hover { opacity: 1; }
.nav-cta { background: var(--orange); color: #fff; text-decoration: none; font-size: .85rem; font-weight: 500; padding: 8px 17px; border-radius: .5rem; margin-left: 8px; transition: background .2s; }
.nav-cta:hover { background: var(--orange-bright); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.ref { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--text-muted); white-space: nowrap; }

.theme-toggle { position: relative; width: 44px; height: 24px; cursor: pointer; flex-shrink: 0; display: block; margin: 0; }
.theme-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.theme-toggle-track { position: absolute; inset: 0; background: rgba(255,255,255,0.1); border: 1px solid var(--border-subtle); border-radius: 12px; transition: background .3s, border-color .3s; }
.theme-toggle input:checked ~ .theme-toggle-track { background: rgba(232,97,10,0.15); border-color: rgba(232,97,10,0.3); }
.theme-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-muted); transition: transform .3s, background .3s; }
.theme-toggle input:checked ~ .theme-toggle-thumb { transform: translateX(20px); background: var(--orange); }
.theme-toggle input:focus-visible ~ .theme-toggle-track { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (max-width: 900px) { .nav-links .nav-link { display: none; } }
@media (max-width: 560px) {
  .topnav { padding: 0 18px; height: 60px; }
  .nav-logo img { height: 26px; }
  .nav-cta { display: none; }
}

/* ---------- Page header (cryme.co.za "inner-hero") ---------- */
.inner-hero {
  padding: 72px 40px 56px; border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(ellipse 60% 90% at 85% 10%, rgba(232,97,10,0.10), transparent 70%),
    linear-gradient(180deg, var(--dark-2), transparent);
}
.inner-hero .inner { max-width: 760px; margin: 0 auto; }
.breadcrumb { font-family: var(--mono); font-size: .68rem; color: var(--text-dim); margin-bottom: 1.75rem; display: flex; align-items: center; gap: .5rem; letter-spacing: .05em; flex-wrap: wrap; }
.breadcrumb a { color: var(--orange); text-decoration: none; opacity: .7; }
.breadcrumb a:hover { opacity: 1; }
.section-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; color: var(--orange); text-transform: uppercase; margin: 0 0 1.25rem; display: flex; align-items: center; gap: .75rem; opacity: .85; }
.section-label::before { content: ""; display: inline-block; width: 20px; height: 1px; background: var(--orange); }
h1 { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(2.3rem, 6vw, 3.75rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 1.1rem; color: var(--text); }
h1 span { color: var(--orange); }
.lead { color: var(--text-muted); font-size: 1.02rem; line-height: 1.75; max-width: 600px; margin: 0; }
.progress { display: flex; gap: 4px; list-style: none; padding: 0; margin: 2rem 0 0; max-width: 600px; }
.progress li { flex: 1; height: 3px; border-radius: 2px; background: var(--border-subtle); }
.progress li.done { background: rgba(232,97,10,0.45); }
.progress li.now { background: var(--orange); }

/* ---------- Safety strip ---------- */
.safety { max-width: 680px; margin: 28px auto 0; padding: 12px 16px; border: 1px solid var(--border); border-left: 3px solid var(--orange); border-radius: .5rem; background: rgba(232,97,10,0.06); font-size: .88rem; color: var(--text-muted); }
.safety strong { color: var(--text); font-weight: 500; }

/* ---------- Layout ---------- */
main { max-width: 760px; margin: 0 auto; padding: 28px 40px 80px; }
@media (max-width: 560px) {
  .inner-hero { padding: 44px 20px 36px; }
  main { padding: 20px 20px 64px; }
  .safety { margin: 20px 20px 0; }
}
h2 { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; color: var(--text); margin: 0 0 .9rem; letter-spacing: 0; }
.card { background: var(--dark-3); border: 1px solid var(--border-subtle); border-radius: 1.5rem; padding: 2rem; margin: 0 0 1.25rem; }
.card p, .card li { color: var(--text-muted); }
.card ul, .card ol { padding-left: 1.2rem; margin: 0; }
.card li { margin-bottom: .45rem; }
.card.warn { border-color: var(--border); background: rgba(232,97,10,0.06); }
.card.ok { border-color: rgba(76,195,138,0.3); }
.ok { color: var(--ok); }
@media (max-width: 560px) { .card { padding: 1.4rem; border-radius: 1.1rem; } }

/* Two-up "card grid" like the main site's service cards */
.cardgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: 1.5rem; overflow: hidden; margin: 0 0 1.25rem; }
.cardgrid > div { background: var(--dark-2); padding: 1.75rem; }
.cardgrid .kicker { font-family: var(--mono); font-size: .64rem; letter-spacing: .15em; color: var(--orange); text-transform: uppercase; opacity: .8; margin-bottom: .7rem; }
.cardgrid h3 { font-size: .98rem; font-weight: 500; margin: 0 0 .5rem; }
.cardgrid p { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.7; }
@media (max-width: 640px) { .cardgrid { grid-template-columns: 1fr; } }

/* ---------- Forms (cryme.co.za .contact-form / .form-group) ---------- */
.field { margin: 0 0 1.4rem; }
label { display: block; font-weight: 500; font-size: .95rem; color: var(--text); margin-bottom: .45rem; line-height: 1.45; }
.opt { font-weight: 300; color: var(--text-dim); }
.help { color: var(--text-muted); font-size: .86rem; margin: -.15rem 0 .55rem; line-height: 1.6; }
input, select, textarea {
  width: 100%; background: var(--dark-4); border: 1px solid var(--border-subtle); border-radius: .5rem;
  padding: .8rem 1rem; color: var(--text); font-family: var(--sans); font-size: 1rem; font-weight: 300;
  transition: border-color .2s; outline: none;
}
select option { background: #1a1a1a; color: #efefef; }
input:focus, select:focus, textarea:focus { border-color: rgba(232,97,10,0.55); box-shadow: 0 0 0 3px rgba(232,97,10,0.12); }
input[type=file] { padding: .7rem; font-size: .9rem; }
input[type=date] { color-scheme: dark; }
html.light-mode input[type=date] { color-scheme: light; }
textarea { resize: vertical; line-height: 1.6; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err); }
.error { color: var(--err); font-size: .88rem; margin: .5rem 0 0; }
.secret-warning { color: var(--err); font-weight: 500; font-size: .88rem; margin: .5rem 0 0; }
.row { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
fieldset { border: 1px solid var(--border-subtle); border-radius: 1rem; padding: 1.1rem 1.1rem .2rem; margin: 0 0 1.4rem; }
legend { font-family: var(--mono); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--orange); padding: 0 .5rem; }

/* ---------- Buttons (cryme.co.za .btn-primary / .btn-secondary) ---------- */
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 400; font-size: .92rem; letter-spacing: .02em;
  padding: .85rem 1.75rem; border-radius: .5rem; border: 0; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.primary { background: var(--orange); color: #fff; }
.primary:hover { transform: translateY(-2px); box-shadow: rgba(232,97,10,0.38) 0 10px 28px; background: var(--orange-bright); }
.secondary { background: transparent; color: var(--text-muted); border: 1px solid var(--border-subtle); }
.secondary:hover { border-color: rgba(232,97,10,0.3); color: var(--text); transform: translateY(-1px); }
.link { background: none; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; padding: 4px; font-weight: 300; }
.link:hover { color: var(--text); }
button:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.wide { width: 100%; margin-top: .5rem; }
.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 12px; }
.back { color: var(--text-muted); text-decoration: none; font-size: .92rem; }
.back::before { content: "← "; }
.back:hover { color: var(--text); }

/* ---------- Choice lists, checkboxes ---------- */
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 300; color: var(--text-muted); font-size: .95rem; margin: 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--orange); }
.check.small { font-size: .88rem; margin-top: .6rem; }
.choices { display: grid; gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: 1.25rem; overflow: hidden; }
.choice { display: flex; gap: 14px; align-items: flex-start; background: var(--dark-2); padding: 1.1rem 1.25rem; margin: 0; cursor: pointer; font-weight: 300; transition: background .2s; }
.choice:hover { background: var(--dark-3); }
.choice input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--orange); }
.choice strong { font-weight: 500; color: var(--text); }
.choice small { color: var(--text-muted); font-size: .86rem; line-height: 1.6; display: block; margin-top: 2px; }
.choice:has(input:checked) { background: rgba(232,97,10,0.08); box-shadow: inset 3px 0 0 var(--orange); }

/* ---------- Lists of added items ---------- */
.item { display: flex; justify-content: space-between; gap: 12px; background: var(--dark-2); border: 1px solid var(--border-subtle); border-radius: 1rem; padding: 1rem 1.2rem; margin: 0 0 .75rem; }
.item strong { font-weight: 500; }
.item small { color: var(--text-muted); }
.mono { font-family: var(--mono); font-size: .8rem; word-break: break-all; }
.wrap { word-break: break-word; }
.small { font-size: .85rem; }
.badge { display: inline-block; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border-subtle); color: var(--text-muted); margin: 6px 0; }
.status-verified .badge { color: var(--ok); border-color: rgba(76,195,138,0.35); }
.status-verified_with_discrepancies .badge, .status-address_only .badge { color: var(--orange); border-color: var(--border); }
.status-not_found .badge, .status-invalid_address .badge, .status-failed_tx .badge, .status-unresolved .badge { color: var(--err); border-color: rgba(255,107,94,0.35); }
.note { background: rgba(232,97,10,0.06); border: 1px solid var(--border); border-radius: .6rem; padding: .7rem .9rem; font-size: .88rem; color: var(--text-muted); margin: .6rem 0 0; }
.note small { color: var(--text-dim); }

/* ---------- Draft review ---------- */
.para { display: flex; gap: 14px; background: var(--dark-3); border: 1px solid var(--border-subtle); border-radius: 1rem; padding: 1.1rem 1.2rem; margin: 0 0 .75rem; }
.para.kind-template { background: var(--dark-2); }
.para.kind-template p { color: var(--text-muted); }
.pnum { font-family: var(--mono); font-size: .8rem; color: var(--orange); min-width: 22px; padding-top: 2px; }
.pbody { flex: 1; min-width: 0; }
.pbody p { margin: 0 0 .5rem; }
.refbig { font-family: var(--mono); font-size: 1.15rem; letter-spacing: .08em; color: var(--orange); white-space: nowrap; font-weight: 700; }
.resume code { font-family: var(--mono); word-break: break-all; font-size: .8rem; color: var(--text); display: block; background: var(--dark-4); border: 1px solid var(--border-subtle); border-radius: .5rem; padding: .8rem 1rem; }

/* ---------- Footer (cryme.co.za) ---------- */
footer { background: var(--dark-2); border-top: 1px solid var(--border-subtle); padding: 4rem 40px 2.5rem; }
.footer-grid { max-width: 1100px; margin: 0 auto 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand img { height: 40px; margin-bottom: 1.25rem; display: block; }
.footer-brand p { font-size: .84rem; color: var(--text-dim); line-height: 1.8; max-width: 300px; margin: 0; }
.footer-col h4 { font-family: var(--mono); font-weight: 400; font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 1.25rem; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: .84rem; margin-bottom: .55rem; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-note { max-width: 1100px; margin: 0 auto 1.5rem; font-size: .8rem; color: var(--text-dim); line-height: 1.7; }
.footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--border-subtle); }
.footer-bottom p { font-size: .72rem; color: var(--text-dim); font-family: var(--mono); margin: 0; }
@media (max-width: 760px) {
  footer { padding: 3rem 20px 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
.check.spaced { margin: 1.25rem 0; }

/* ---------- Information pages ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--orange); color: #fff; padding: .5rem 1rem; border-radius: .5rem; text-decoration: none; }
.skip:focus { left: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.section-h { font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin: 2.25rem 0 1rem; scroll-margin-top: 90px; }
main > .section-h:first-child { margin-top: .5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 0 0 1.25rem; }
.split > .card { margin: 0; }
@media (max-width: 700px) { .split { grid-template-columns: 1fr; } }
.card h3 { font-size: .98rem; font-weight: 500; margin: 1.2rem 0 .4rem; }
.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.steps > li { counter-increment: step; position: relative; padding-left: 2.4rem; margin-bottom: .9rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--border); color: var(--orange); font-family: var(--mono); font-size: .75rem; display: flex; align-items: center; justify-content: center; }
.steps strong, .card li strong { color: var(--text); font-weight: 500; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist > li { position: relative; padding-left: 1.7rem; }
.checklist > li::before { content: ""; position: absolute; left: 0; top: .45em; width: .8rem; height: .8rem; border: 1px solid var(--orange); border-radius: 3px; }
.warnlist > li::before { content: "!"; border-radius: 50%; color: var(--orange); font-family: var(--mono); font-size: .6rem; line-height: .75rem; text-align: center; }
.table-wrap { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--border-subtle); border-radius: 1.25rem; }
table.info { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
table.info th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); background: var(--dark-2); padding: .85rem 1rem; }
table.info td { padding: .85rem 1rem; border-top: 1px solid var(--border-subtle); color: var(--text-muted); vertical-align: top; line-height: 1.6; }
table.info td strong { color: var(--text); font-weight: 500; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.25rem; margin: 0 0 1rem; }
dl.facts dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); padding-top: .2rem; }
dl.facts dd { margin: 0; color: var(--text); word-break: break-word; }
@media (max-width: 560px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { margin-bottom: .6rem; } }
details.qa { background: var(--dark-3); border: 1px solid var(--border-subtle); border-radius: 1rem; margin: 0 0 .6rem; }
details.qa summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 500; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--orange); font-family: var(--mono); }
details.qa[open] summary::after { content: "–"; }
details.qa > div { padding: 0 1.25rem 1rem; color: var(--text-muted); }
details.qa > div p { margin: 0 0 .6rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.toc a { font-size: .82rem; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border-subtle); border-radius: 999px; padding: .35rem .85rem; }
.toc a:hover { color: var(--text); border-color: var(--border); }
pre.snippet { white-space: pre-wrap; font-family: var(--sans); font-size: .9rem; line-height: 1.65; color: var(--text); background: var(--dark-4); border: 1px solid var(--border-subtle); border-left: 3px solid var(--orange); border-radius: .6rem; padding: 1rem 1.1rem; margin: 0 0 .8rem; }
.card.partner { border-color: var(--border); background: rgba(232,97,10,0.06); }
.card .kicker, .cardgrid .kicker { font-family: var(--mono); font-size: .64rem; letter-spacing: .15em; color: var(--orange); text-transform: uppercase; opacity: .85; margin: 0 0 .6rem; }
.cardgrid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cardgrid-3 { grid-template-columns: 1fr; } }
.small-grid > div { padding: 1.25rem 1.4rem; }
.card.start { border-color: var(--border); scroll-margin-top: 90px; }
.sources { margin-top: 1.5rem; }
.footer-grid-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid-4 { grid-template-columns: 1fr 1fr; } }
.footer-note a { color: var(--text-muted); }
.safety a { color: var(--orange); white-space: nowrap; }
@media (max-width: 1100px) { .nav-links .nav-link { padding: 8px 9px; font-size: .8rem; } }
@media (max-width: 640px) {
  table.info { min-width: 0; }
  table.info thead { display: none; }
  table.info tr { display: block; padding: .9rem 1rem; border-top: 1px solid var(--border-subtle); }
  table.info tr:first-child { border-top: 0; }
  table.info td { display: block; border: 0; padding: .15rem 0; }
  table.info td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-top: .5rem; }
}
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary { list-style: none; cursor: pointer; font-size: .85rem; color: var(--text); border: 1px solid var(--border-subtle); border-radius: .5rem; padding: 6px 12px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(84vw, 300px); background: var(--dark-4); border: 1px solid var(--border-subtle); border-radius: 1rem; padding: .5rem; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.mobile-menu-panel a { display: block; padding: .7rem .9rem; color: var(--text); text-decoration: none; font-size: .92rem; border-radius: .6rem; }
.mobile-menu-panel a:hover { background: var(--dark-3); }
.mobile-menu-panel a:first-child { color: var(--orange); }
@media (max-width: 900px) { .mobile-menu { display: block; } .nav-links { display: none; } }
