:root {
  color-scheme: light;
  --ink: #211d18;
  --muted: #5e564d;
  --line: #d8d0c5;
  --paper: #fffdf8;
  --wash: #f4f0e9;
  --accent: #7f1d1d;
  --green: #295548;
  --gold: #8a641d;
  --focus: #075985;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif; }
body { margin: 0; line-height: 1.62; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, summary:focus-visible { outline: .2rem solid var(--focus); outline-offset: .18rem; }
.skip { position: absolute; left: .7rem; top: -5rem; z-index: 10; background: var(--paper); padding: .65rem .85rem; border: 2px solid var(--focus); }
.skip:focus { top: .7rem; }
.wrap { width: min(74rem, calc(100% - 2rem)); margin-inline: auto; }
header { background: #faf7f1; border-bottom: 1px solid var(--line); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 0; }
.brand { color: var(--ink); font-size: 1.02rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .55rem 1rem; font-size: .95rem; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration-thickness: .14em; }
main { padding: clamp(2.6rem, 6vw, 5rem) 0 5rem; }
.hero { max-width: 62rem; margin-bottom: 2.2rem; }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 19ch; margin: .25rem 0 1rem; font-size: clamp(2.45rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.025em; }
h2 { margin: 2.7rem 0 .75rem; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.18; }
h3 { margin: 1.5rem 0 .45rem; font-size: 1.12rem; line-height: 1.3; }
p, ul, ol, dl, table { margin-top: 0; margin-bottom: 1rem; }
.lede { max-width: 52rem; color: var(--muted); font-size: clamp(1.15rem, 2.1vw, 1.42rem); }
.status { display: inline-block; margin: 0 0 1rem; border: 1px solid var(--green); border-radius: 99rem; color: var(--green); padding: .25rem .65rem; font-size: .82rem; font-weight: 700; }
.notice { max-width: 62rem; margin: 1.8rem 0; border-left: .35rem solid var(--gold); background: var(--wash); padding: 1rem 1.15rem; }
.notice h2, .notice h3 { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.card { border: 1px solid var(--line); background: #fffefa; padding: 1.15rem; }
.card h2, .card h3 { margin-top: 0; }
.metric { font-variant-numeric: tabular-nums; font-size: 2rem; font-weight: 800; line-height: 1; }
.metric-label { color: var(--muted); font-size: .92rem; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: .7rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--wash); }
code { background: var(--wash); padding: .1em .25em; overflow-wrap: anywhere; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { position: relative; max-width: 60rem; padding: 0 0 1.25rem 3rem; }
.steps > li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: .05rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 800; }
.steps h2, .steps h3 { margin: 0 0 .35rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.4rem 0; }
.button { display: inline-block; border: 2px solid var(--accent); padding: .55rem .8rem; font-weight: 700; text-decoration: none; }
.button.primary { background: var(--accent); color: white; }
.small { color: var(--muted); font-size: .92rem; }
.meta { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); padding: 1.6rem 0 2.4rem; font-size: .92rem; }
footer .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
footer p { margin-bottom: .35rem; }
@media (max-width: 50rem) {
  .top { align-items: flex-start; flex-direction: column; }
  nav { width: 100%; }
  h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media print { header, footer, .actions, .skip { display: none; } main { padding: 0; } a { color: inherit; } }


/* R2 record dossiers */
.record-feature { max-width: 62rem; margin: 2rem 0; border: 1px solid var(--line); background: linear-gradient(135deg, #fffefa, var(--wash)); padding: clamp(1.2rem, 3vw, 2rem); }
.record-feature h2 { margin-top: .2rem; }
.record-finder { max-width: 50rem; margin: 2rem 0; padding: 1.2rem; border: 1px solid var(--line); background: var(--wash); }
.record-finder h2 { margin-top: 0; }
.record-finder label { display: block; margin: .9rem 0 .35rem; font-weight: 700; }
.record-finder input[type="search"], .record-finder select { width: 100%; min-height: 2.8rem; border: 2px solid var(--muted); background: white; color: var(--ink); padding: .55rem .7rem; font: inherit; }
.record-finder input[type="search"]:focus-visible, .record-finder select:focus-visible { outline: .2rem solid var(--focus); outline-offset: .18rem; }
.record-list { display: grid; gap: 1rem; margin: 1.5rem 0 2.5rem; }
.record-card { border-top: .32rem solid var(--green); background: #fffefa; box-shadow: 0 .15rem .8rem rgb(33 29 24 / .07); padding: 1.2rem; }
.record-card h2 { margin: .2rem 0 .65rem; }
.record-kicker { color: var(--green); font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.literal { color: var(--muted); }
.breadcrumbs { display: flex; gap: .45rem; margin-bottom: 1.5rem; font-size: .92rem; }
.record-hero h1 { max-width: 22ch; font-size: clamp(2.25rem, 5vw, 4.2rem); }
.record-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .7rem; margin: 1.4rem 0; }
.record-meta div { border-left: .22rem solid var(--gold); padding-left: .75rem; }
.record-meta dt, .source-citation dt { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.record-meta dd, .source-citation dd { margin: 0 0 .8rem; overflow-wrap: anywhere; }
.evidence-triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin: 2rem 0; }
.evidence-panel { border: 1px solid var(--line); padding: 1rem; }
.evidence-panel h2 { margin-top: 0; font-size: 1.2rem; }
.source-says { border-top: .35rem solid var(--green); }
.we-conclude { border-top: .35rem solid var(--accent); }
.still-uncertain { border-top: .35rem solid var(--gold); }
.claim { display: inline-block; border: 1px solid currentColor; border-radius: 99rem; padding: .12rem .48rem; font-size: .76rem; font-weight: 750; white-space: nowrap; }
.qualification { display: block; margin-top: .35rem; color: var(--muted); font-size: .88rem; }
.eligibility { display: block; margin: .25rem 0 .65rem; color: var(--muted); font-size: .82rem; }
.identity-basis { display: block; margin-top: .25rem; color: var(--green); font-size: .82rem; }
.cite-ref { white-space: nowrap; font-weight: 750; }
.direct-source { color: var(--green); }
.correlated-identity { color: var(--accent); }
.supported-context { color: var(--focus); }
.open-conflict { color: #7a4d00; }
.people-list { columns: 2 16rem; }
.privacy-note, .rights-note { border-left: .25rem solid var(--green); padding-left: .8rem; }
.notice.compact { margin: 1rem 0; }
.source-citation { background: var(--wash); padding: 1.2rem; }
.source-citation h2 { margin-top: 0; }
.review-state { border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; padding-bottom: .5rem; }
.source-item { border-top: .2rem solid var(--gold); margin: 1.25rem 0; padding-top: .8rem; }
.source-item h3 { margin-top: 0; }
.occurrence-list li { margin-bottom: .5rem; }
[hidden] { display: none !important; }
@media (max-width: 48rem) { .evidence-triptych { grid-template-columns: 1fr; } .claim { white-space: normal; } }
@media print {
  .record-finder, noscript { display: none; }
  [data-record-card][hidden] { display: block !important; }
  .record-card { box-shadow: none; break-inside: avoid; }
  .evidence-triptych { grid-template-columns: 1fr; }
  .evidence-panel, .source-item, table { break-inside: avoid; }
  .source-item a[href^="http"]::after { content: " (" attr(href) ")"; overflow-wrap: anywhere; }
}


/* R2.1 name story */
.name-hero h1 { max-width: 21ch; }
.say, .ipa { white-space: nowrap; font-variant-numeric: lining-nums; }
.ipa { font-family: ui-sans-serif, system-ui, sans-serif; }
.scripture-motif { max-width: 58rem; margin: 2.4rem 0; border-block: 1px solid var(--line); padding: 1.4rem clamp(1rem, 4vw, 2.3rem); }
.scripture-motif blockquote, .scripture-motif .paraphrase { margin: 0; color: var(--accent); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-style: italic; line-height: 1.42; }
.scripture-motif blockquote p, .scripture-motif .paraphrase p { margin-bottom: .6rem; }
.scripture-motif figcaption { color: var(--muted); font-size: .9rem; }
.scripture-motif.compact { margin-top: 3rem; }
.name-primer, .name-story-grid, .diacritic-guide { display: grid; grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.5fr); gap: clamp(1.2rem, 4vw, 3.2rem); align-items: start; margin: 3rem 0; }
.name-primer h2, .name-story-grid h2 { margin-top: 0; }
.name-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.name-card { border: 1px solid var(--line); border-top: .35rem solid var(--green); background: #fffefa; padding: 1.15rem; scroll-margin-top: 1rem; }
.name-card h3 { margin: .1rem 0 .65rem; font-size: 1.55rem; }
.name-kind { color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pronunciation { color: var(--muted); font-size: .9rem; }
.name-limit { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .75rem; color: var(--muted); font-size: .87rem; }
.review-scope { margin-block: 3.5rem; background: var(--wash); padding: clamp(1.1rem, 3vw, 2rem); }
.review-scope > h2 { margin-top: .25rem; }
.review-scope .name-card { background: var(--paper); border-top-color: var(--gold); }
.scope-details { max-width: 62rem; margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.scope-details summary { cursor: pointer; color: var(--accent); font-weight: 800; }
.character-demo { min-height: 13rem; display: flex; align-items: center; justify-content: center; gap: .55rem; background: var(--wash); font-size: clamp(2.1rem, 7vw, 5rem); }
.character-demo strong { color: var(--accent); font-size: 1.35em; }
.character-demo .becomes { color: var(--muted); font-size: .45em; }
.sound-equation { border-left: .3rem solid var(--accent); padding-left: .8rem; font-size: 1.3rem; font-weight: 800; }
.source-note { display: block; margin-top: .7rem; color: var(--muted); font-size: .86rem; }
.name-path { margin: 3.2rem 0; }
.name-journey { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 1.5rem 0; }
.name-journey li { position: relative; border: 1px solid var(--line); border-top: .35rem solid var(--accent); padding: 1.1rem; }
.name-journey li + li { border-left: 0; }
.name-journey li + li::before { content: "→"; position: absolute; left: -.58rem; top: 50%; translate: 0 -50%; z-index: 1; background: var(--paper); color: var(--accent); font-size: 1.4rem; font-weight: 900; }
.name-journey strong, .name-journey span, .name-journey small { display: block; }
.name-journey strong { font-size: 1.5rem; }
.name-journey small { margin-top: .45rem; color: var(--muted); }
.record-question { max-width: 62rem; margin: 3rem 0; border-left: .35rem solid var(--green); padding-left: 1.1rem; }
.record-question h2 { margin-top: .2rem; }
.scripture-thread { max-width: 62rem; margin: 3rem 0; }
.scripture-links { columns: 2 18rem; }
.legal-notice { border: 1px solid var(--line); background: var(--paper); padding: 1rem; font-size: .9rem; }
@media (max-width: 48rem) {
  .name-primer, .name-story-grid, .diacritic-guide { grid-template-columns: 1fr; }
  .name-journey { grid-template-columns: 1fr; }
  .name-journey li + li { border-left: 1px solid var(--line); border-top: 0; }
  .name-journey li + li::before { content: "↓"; left: 50%; top: -.8rem; translate: -50% 0; }
}
@media print { .scope-details[open] { display: block; } }

/* R2.2 Czech-inspired visual system: Sutnar clarity, Cubist facets, Moravian thread. */
:root {
  --ink: #182228;
  --muted: #5c5550;
  --line: #d9d0c0;
  --paper: #f7f2e8;
  --surface: #fffdf8;
  --wash: #eee7da;
  --accent: #a51d2d;
  --czech-red: #a51d2d;
  --czech-blue: #174a70;
  --czech-blue-deep: #103650;
  --green: #245844;
  --gold: #a77418;
  --focus: #0066a1;
  --focus-on-dark: #ffd9b6;
  --shadow: rgb(24 34 40 / .12);
}

html {
  background-color: var(--paper);
  background-image:
    linear-gradient(135deg, rgb(23 74 112 / .025) 25%, transparent 25%),
    linear-gradient(315deg, rgb(165 29 45 / .02) 25%, transparent 25%);
  background-position: 0 0, .65rem .65rem;
  background-size: 1.3rem 1.3rem;
  color: var(--ink);
}

body {
  min-width: 18rem;
  background: linear-gradient(180deg, rgb(255 253 248 / .72), rgb(247 242 232 / .9));
}

/* Links use role, weight, shape, and arrows instead of a page full of lines. */
a {
  color: var(--czech-blue);
  font-weight: 700;
  text-decoration: none;
  text-decoration-line: none;
}

a:hover {
  color: var(--czech-red);
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  border-radius: .12rem;
  outline: .2rem solid var(--focus);
  outline-offset: .2rem;
}

main :where(p, li, dd, td, figcaption, caption) a:not(.button):not(.cite-ref) {
  padding-inline: .08em;
  background: linear-gradient(transparent 62%, rgb(23 74 112 / .13) 62%);
}

main :where(p, li, dd, td, figcaption, caption) a:not(.button):not(.cite-ref)::after {
  content: "\00a0›";
  color: var(--czech-red);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .82em;
  font-weight: 900;
}

main :where(p, li, dd, td, figcaption, caption) a[href^="http:"]:not(.button):not(.cite-ref)::after,
main :where(p, li, dd, td, figcaption, caption) a[href^="https:"]:not(.button):not(.cite-ref)::after {
  content: "\00a0↗";
}

main :where(p, li, dd, td, figcaption, caption) a:not(.button):not(.cite-ref):hover {
  background: linear-gradient(transparent 52%, rgb(165 29 45 / .17) 52%);
}

.skip {
  border: 3px solid var(--focus);
  background: var(--surface);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
}

.wrap { width: min(78rem, calc(100% - 2.4rem)); }

header {
  position: relative;
  border: 0;
  background: var(--czech-blue-deep);
  box-shadow: 0 .25rem 1.2rem rgb(16 54 80 / .2);
}

header::before,
footer::before {
  display: block;
  width: 100%;
  height: .55rem;
  background:
    linear-gradient(135deg, transparent 25%, var(--czech-red) 25% 50%, transparent 50% 75%, var(--czech-blue) 75%) 0 0 / 2rem 1rem,
    var(--paper);
  content: "";
}

.top {
  gap: 1rem 2rem;
  padding: 1.05rem 0 1.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--paper);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: .125em;
  text-decoration: none;
  white-space: nowrap;
}

.brand::before {
  width: .85rem;
  height: .85rem;
  border: 2px solid var(--paper);
  background: var(--czech-red);
  box-shadow: .3rem .3rem 0 var(--czech-blue);
  content: "";
  rotate: 45deg;
}

header nav {
  align-items: center;
  gap: .3rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .025em;
}

header nav a {
  border: 1px solid transparent;
  color: #f8f3e9;
  padding: .38rem .5rem;
  text-decoration: none;
}

header nav a:hover {
  border-color: rgb(248 243 233 / .42);
  background: rgb(248 243 233 / .09);
  color: white;
}

header nav a[aria-current="page"] {
  border-color: var(--czech-red);
  background: var(--czech-red);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

header a:focus-visible,
footer a:focus-visible {
  outline-color: var(--focus-on-dark);
}

main {
  position: relative;
  padding: clamp(2.8rem, 6vw, 5.5rem) 0 5.5rem;
}

main::before {
  position: absolute;
  top: 1rem;
  left: 0;
  width: min(18rem, 52vw);
  height: .36rem;
  background: linear-gradient(90deg, var(--czech-red) 0 28%, var(--paper) 28% 34%, var(--czech-blue) 34% 72%, var(--paper) 72% 78%, var(--gold) 78%);
  content: "";
}

.hero {
  max-width: 66rem;
  margin-bottom: 2.8rem;
}

.eyebrow,
.name-kind,
.record-kicker,
.record-meta dt,
.source-citation dt,
.metric-label {
  color: var(--czech-blue);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 850;
  letter-spacing: .12em;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  color: var(--czech-blue-deep);
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  letter-spacing: -.035em;
  line-height: .96;
}

h2 { color: var(--czech-blue-deep); }
h3 { color: #223842; }

.lede {
  color: #4e4a46;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.status,
.claim {
  border: 1px solid var(--czech-blue);
  border-radius: 0 .55rem 0 .55rem;
  background: rgb(23 74 112 / .07);
  color: var(--czech-blue-deep);
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.notice,
.record-question,
.privacy-note,
.rights-note {
  border: 0;
  border-left: .42rem solid var(--gold);
  background: var(--wash);
  box-shadow: inset 0 0 0 1px rgb(92 85 80 / .08);
}

.notice { padding: 1.15rem 1.3rem; }

.grid,
.name-grid,
.record-list { gap: 1.15rem; }

.card,
.name-card,
.record-card,
.evidence-panel,
.record-feature,
.record-finder,
.source-citation,
.legal-notice,
.review-scope {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: .32rem .32rem 0 rgb(23 74 112 / .075);
}

.card::before,
.name-card::before,
.record-card::before,
.evidence-panel::before {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 1.25rem;
  height: 1.25rem;
  background: linear-gradient(45deg, transparent 49%, var(--czech-blue) 50%);
  content: "";
}

.name-card,
.record-card {
  border-top: 1px solid var(--line);
  padding: 1.25rem;
}

.record-card { border-left: .36rem solid var(--green); }
.name-card { border-left: .36rem solid var(--czech-blue); }
.review-scope .name-card { border-left-color: var(--gold); }

.record-feature {
  border-left: .5rem solid var(--czech-red);
  background: linear-gradient(135deg, var(--surface), var(--wash));
}

.record-finder {
  border-top: .42rem solid var(--czech-blue);
  background: var(--wash);
}

.source-says { border-top: 1px solid var(--line); border-left: .42rem solid var(--green); }
.we-conclude { border-top: 1px solid var(--line); border-left: .42rem solid var(--czech-red); }
.still-uncertain { border-top: 1px solid var(--line); border-left: .42rem solid var(--gold); }

.button {
  position: relative;
  border: 2px solid var(--czech-red);
  border-radius: 0 .55rem 0 .55rem;
  background: var(--surface);
  color: var(--czech-red);
  box-shadow: .22rem .22rem 0 rgb(165 29 45 / .16);
  font-family: ui-sans-serif, system-ui, sans-serif;
  padding: .65rem .9rem;
  text-decoration: none;
  transition: translate .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.button::after { content: "\00a0→"; }

.button:hover {
  background: rgb(165 29 45 / .07);
  color: var(--czech-red);
  box-shadow: .1rem .1rem 0 rgb(165 29 45 / .18);
  translate: .1rem .1rem;
}

.button.primary {
  border-color: var(--czech-red);
  background: var(--czech-red);
  color: white;
}

.button.primary:hover { background: #861824; color: white; }

.cite-ref {
  display: inline-grid;
  min-width: 1.55rem;
  min-height: 1.55rem;
  place-items: center;
  border: 1px solid var(--czech-blue);
  border-radius: .12rem;
  background: rgb(23 74 112 / .06);
  color: var(--czech-blue-deep);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  line-height: 1;
  text-decoration: none;
}

.cite-ref:hover { border-color: var(--czech-red); background: rgb(165 29 45 / .08); }

.record-card h2 a,
.source-item h3 a,
.scripture-links a,
.breadcrumbs a,
footer a {
  background: none;
  color: inherit;
  text-decoration: none;
}

.record-card h2 a::after,
.source-item h3 a::after { content: "\00a0→"; color: var(--czech-red); font-family: ui-sans-serif, system-ui, sans-serif; }

.record-card h2 a:hover,
.source-item h3 a:hover,
.breadcrumbs a:hover { color: var(--czech-red); }

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.breadcrumbs a {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: .2rem .42rem;
}

.source-item {
  border-top: 0;
  border-left: .3rem solid var(--gold);
  padding: .85rem 0 .2rem 1rem;
}

.source-citation { border-top: .42rem solid var(--czech-blue); }

.scripture-motif {
  position: relative;
  border: 0;
  border-left: .42rem solid var(--czech-red);
  background: linear-gradient(120deg, var(--surface), var(--wash));
  box-shadow: .32rem .32rem 0 rgb(165 29 45 / .09);
}

.scripture-motif::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(45deg, transparent 49%, var(--czech-blue) 50%);
  content: "";
}

.scripture-links {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .65rem;
  padding: 0;
  list-style: none;
}

.scripture-links li { margin: 0; }

main .scripture-links a:not(.button):not(.cite-ref) {
  display: block;
  border-left: .28rem solid var(--czech-red);
  background: var(--surface);
  padding: .48rem .68rem;
  color: var(--czech-blue-deep);
  box-shadow: 0 0 0 1px var(--line);
}

main .scripture-links a:not(.button):not(.cite-ref)::after { content: "\00a0↗"; color: var(--czech-red); }

.scope-details {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: .85rem 1rem;
}

.scope-details summary {
  color: var(--czech-blue-deep);
  font-family: ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
}

.character-demo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgb(165 29 45 / .1) 25%, transparent 25%) 0 0 / 2rem 2rem,
    linear-gradient(315deg, rgb(23 74 112 / .1) 25%, transparent 25%) 1rem 1rem / 2rem 2rem,
    var(--surface);
}

.sound-equation { border-left-color: var(--czech-red); }

.name-journey li {
  border-color: var(--line);
  border-top-color: var(--czech-red);
  background: var(--surface);
}

.record-meta div {
  border-left-color: var(--gold);
  background: rgb(255 253 248 / .76);
  padding: .55rem .7rem;
}

.record-finder input[type="search"],
.record-finder select {
  border: 2px solid var(--czech-blue);
  border-radius: 0 .35rem 0 .35rem;
  background: var(--surface);
}

.table-wrap {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: .25rem .25rem 0 rgb(23 74 112 / .06);
}

table { margin: 0; }

th {
  border-color: #416783;
  background: var(--czech-blue-deep);
  color: white;
  font-family: ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .025em;
}

td { border-color: var(--line); }
tbody tr:nth-child(even) { background: rgb(238 231 218 / .55); }

.metric { color: var(--czech-red); }

.meta {
  border-top: 3px double var(--line);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
}

/* The requested festival photograph remains whole; it is never used as a text backdrop. */
.festival-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(21rem, .72fr);
  gap: clamp(1.5rem, 4vw, 3.6rem);
  align-items: center;
  max-width: none;
}

.festival-hero .hero-copy { min-width: 0; }
.festival-hero h1 { max-width: 14ch; }

.festival-photo {
  max-width: 34rem;
  margin: 0;
  justify-self: end;
}

.festival-photo-frame {
  position: relative;
  border: 2px solid var(--czech-blue-deep);
  background: var(--surface);
  box-shadow: .62rem .62rem 0 rgb(23 74 112 / .16);
  padding: .55rem;
}

.festival-photo-frame::before,
.festival-photo-frame::after {
  position: absolute;
  z-index: 1;
  width: 3.2rem;
  height: 3.2rem;
  content: "";
  pointer-events: none;
}

.festival-photo-frame::before {
  top: -.45rem;
  left: -.45rem;
  border-top: .6rem solid var(--czech-red);
  border-left: .6rem solid var(--czech-red);
}

.festival-photo-frame::after {
  right: -.45rem;
  bottom: -.45rem;
  border-right: .6rem solid var(--gold);
  border-bottom: .6rem solid var(--gold);
}

.festival-photo img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--wash);
}

.festival-photo figcaption {
  margin-top: .9rem;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .86rem;
  line-height: 1.45;
}

.photo-review-state {
  display: block;
  margin-top: .3rem;
  color: #6e4c0b;
  font-size: .78rem;
  font-weight: 700;
}

footer {
  position: relative;
  border: 0;
  background: var(--czech-blue-deep);
  color: #ede7dc;
  font-family: ui-sans-serif, system-ui, sans-serif;
  padding: 0 0 2.6rem;
}

footer::before { margin-bottom: 1.6rem; }

footer a {
  color: white;
  font-weight: 750;
}

footer a:hover { color: #ffd9b6; }

@media (max-width: 68rem) {
  .top { align-items: flex-start; flex-direction: column; }
  header nav { width: 100%; }
  .festival-hero { grid-template-columns: minmax(0, 1fr) minmax(18rem, .62fr); }
}

@media (max-width: 50rem) {
  .wrap { width: min(100% - 1.5rem, 78rem); }
  main { padding-top: 3.4rem; }
  header nav { gap: .25rem; }
  header nav a { padding: .35rem .42rem; }
  .festival-hero { grid-template-columns: 1fr; align-items: start; }
  .festival-photo { width: min(100%, 34rem); max-width: none; justify-self: start; }
  .festival-hero h1 { max-width: none; }
  .name-primer, .name-story-grid, .diacritic-guide { gap: 1.35rem; }
}

@media (max-width: 25rem) {
  .wrap { width: min(100% - 1rem, 78rem); }
  h1 { font-size: clamp(2.2rem, 13vw, 3rem); }
  .festival-photo-frame { padding: .35rem; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

@media print {
  html, body { background: white; }
  main::before, header::before, footer::before, .festival-photo-frame::before, .festival-photo-frame::after { display: none; }
  a { color: inherit; background: none !important; }
  main :where(p, li, dd, td, figcaption, caption) a:not(.button):not(.cite-ref)::after { content: none; }
  .festival-photo { max-width: 18rem; break-inside: avoid; }
  .festival-photo-frame, .card, .name-card, .record-card, .evidence-panel { box-shadow: none; }
}


/* R2.4 historical archive wire: Czech palette, no script, complete text fallback. */
.history-wire {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: .2rem 0 3rem -50vw;
  border-block: .45rem solid var(--czech-red);
  background:
    linear-gradient(135deg, rgb(255 255 255 / .035) 25%, transparent 25%) 0 0 / 1.4rem 1.4rem,
    linear-gradient(315deg, rgb(167 116 24 / .09) 25%, transparent 25%) .7rem .7rem / 1.4rem 1.4rem,
    var(--czech-blue-deep);
  color: #f8f3e9;
  box-shadow: 0 .7rem 1.8rem rgb(16 54 80 / .2);
  overflow: hidden;
}

.history-wire::before {
  position: absolute;
  top: 0;
  right: clamp(1rem, 4vw, 4rem);
  width: 3.4rem;
  height: 3.4rem;
  background: linear-gradient(45deg, transparent 49%, var(--gold) 50%);
  content: "";
  opacity: .75;
  pointer-events: none;
}

.history-wire-inner {
  width: min(78rem, calc(100% - 2.4rem));
  margin-inline: auto;
  padding: clamp(1.4rem, 3vw, 2.3rem) 0 1.5rem;
}

.history-wire-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: end;
}

.history-wire .eyebrow { margin-bottom: .25rem; color: #ffd9b6; }

.history-wire h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.history-wire-range {
  margin: 0;
  color: #f4dec0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-wire-range span {
  display: inline-block;
  width: .62rem;
  height: .62rem;
  margin-right: .35rem;
  border: 2px solid #ffd9b6;
  background: var(--czech-red);
  rotate: 45deg;
}

.history-wire-intro {
  max-width: 72rem;
  margin: .8rem 0 .25rem;
  color: #e8e0d5;
  font-size: 1rem;
}

.history-wire-hold {
  max-width: 72rem;
  margin: 0 0 1rem;
  color: #f4dec0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .8rem;
}

.history-wire-motion { position: relative; margin: 1rem 0 .85rem; }

.history-wire-toggle {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 .38rem .65rem 0;
  accent-color: var(--czech-red);
  vertical-align: -.17rem;
}

.history-wire-toggle-label {
  color: white;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .045em;
}

.history-wire-toggle:focus-visible {
  outline-color: var(--focus-on-dark);
  outline-offset: .22rem;
}

.history-wire-viewport {
  min-width: 0;
  overflow: hidden;
  border-block: 1px solid rgb(248 243 233 / .22);
  background: rgb(5 27 42 / .52);
}

.history-wire-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.history-wire-set {
  display: flex;
  flex: none;
  gap: 0;
  margin: 0;
  padding: 0 1.4rem 0 0;
  list-style: none;
}

.history-wire-event {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .65rem;
  min-height: 3.8rem;
  margin: 0;
  padding: .65rem 1rem;
  border-right: 1px solid rgb(248 243 233 / .18);
  white-space: nowrap;
}

.history-wire-event::after {
  width: .42rem;
  height: .42rem;
  margin-left: .35rem;
  background: var(--gold);
  content: "";
  rotate: 45deg;
}

.wire-date,
.wire-type,
.wire-place {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wire-date { color: #ffd9b6; font-variant-numeric: tabular-nums; }

.wire-type {
  border: 1px solid #ffb6bf;
  background: var(--czech-red);
  color: white;
  padding: .15rem .38rem;
}

.wire-place { color: #b9d9ef; }

.wire-people {
  color: #fffdf8;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: .98rem;
  letter-spacing: .01em;
}

.history-wire-toggle:checked ~ .history-wire-viewport .history-wire-track,
.history-wire-motion:focus-within .history-wire-track,
.history-wire-viewport:hover .history-wire-track {
  animation-play-state: paused;
}

.history-wire-ledger {
  border: 1px solid rgb(248 243 233 / .28);
  background: rgb(255 253 248 / .06);
  padding: .78rem .9rem;
}

.history-wire-ledger summary {
  color: white;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 850;
}

.history-wire-ledger summary:focus-visible { outline-color: var(--focus-on-dark); }

.history-wire-ledger-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.history-wire-ledger-list > li {
  min-width: 0;
  border-left: .3rem solid var(--gold);
  background: #fffdf8;
  color: var(--ink);
  padding: .8rem .9rem;
}

.history-wire-ledger-list h3 {
  margin: .12rem 0 .45rem;
  color: var(--czech-blue-deep);
  font-size: 1.05rem;
}

.history-wire-ledger-list p { margin-bottom: .55rem; }

.wire-ledger-kicker {
  color: var(--czech-red);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.wire-evidence {
  border-top: 1px solid var(--line);
  padding-top: .5rem;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
}

.wire-citation { display: block; margin-top: .35rem; }

main .history-wire a:not(.button):not(.cite-ref) {
  background: none;
  color: var(--czech-blue);
}

main .history-wire a:not(.button):not(.cite-ref):hover { background: none; color: var(--czech-red); }

@keyframes dobesh-history-wire {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: no-preference) {
  .history-wire-track { animation: dobesh-history-wire 192s linear infinite; }
}

@media (max-width: 50rem) {
  .history-wire-head { grid-template-columns: 1fr; align-items: start; }
  .history-wire-range { white-space: normal; }
  .history-wire-ledger-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .history-wire-track { width: 100%; transform: none; will-change: auto; }
  .history-wire-set { width: 100%; flex-wrap: wrap; padding: 0; }
  .history-wire-set-copy { display: none; }
  .history-wire-event { max-width: 100%; white-space: normal; }
  .history-wire-toggle, .history-wire-toggle-label { display: none; }
  .history-wire-viewport { overflow: visible; }
}

@media (forced-colors: active) {
  .history-wire, .history-wire-viewport, .history-wire-ledger, .history-wire-event, .wire-type { border: 1px solid CanvasText; }
  .history-wire-range span, .history-wire-event::after { border: 1px solid CanvasText; }
}

@media print {
  .history-wire { left: auto; width: auto; margin: 1rem 0; border: 2px solid #333; background: white; color: black; box-shadow: none; overflow: visible; }
  .history-wire::before, .history-wire-motion, .history-wire-ledger summary { display: none; }
  .history-wire-inner { width: auto; padding: .6rem; }
  .history-wire h2, .history-wire .eyebrow, .history-wire-range, .history-wire-intro, .history-wire-hold { color: black; }
  .history-wire-ledger { border: 0; padding: 0; }
  .history-wire-ledger:not([open]) > :not(summary) { display: block !important; }
  .history-wire-ledger-list { grid-template-columns: 1fr; }
  .history-wire-ledger-list > li { break-inside: avoid; border: 1px solid #999; }
}


/* R2.6 compact top archive ticker. */
.history-wire-topbar {
  width: 100%;
  border-bottom: .2rem solid var(--czech-red);
  background: var(--czech-blue-deep);
  color: #f8f3e9;
  overflow: hidden;
}

.history-wire-topbar .history-wire-motion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  margin: 0;
}

.history-wire-topbar .history-wire-viewport { grid-column: 1; grid-row: 1; border-block: 0; }

.history-wire-topbar .history-wire-toggle {
  grid-column: 2;
  grid-row: 1;
  width: 1rem;
  height: 1rem;
  margin: 0 .18rem 0 .48rem;
}

.history-wire-topbar .history-wire-toggle-label {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 .75rem 0 .2rem;
  font-size: .7rem;
  font-weight: 400;
  white-space: nowrap;
}

.history-wire-topbar .history-wire-event {
  min-height: 2.75rem;
  gap: .48rem;
  padding: .42rem .75rem;
}

.history-wire-topbar .wire-date,
.history-wire-topbar .wire-type,
.history-wire-topbar .wire-place {
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .055em;
}

.history-wire-topbar .wire-people {
  font-size: .875rem;
  font-weight: 400;
}

.history-wire-topbar .history-wire-event::after { width: .32rem; height: .32rem; }

@media (prefers-reduced-motion: no-preference) {
  .history-wire-topbar .history-wire-track { animation-duration: 192s; }
}

@media (prefers-reduced-motion: reduce) {
  .history-wire-topbar .history-wire-viewport { overflow-x: auto; }
  .history-wire-topbar .history-wire-track { width: max-content; transform: none; }
  .history-wire-topbar .history-wire-set { width: auto; flex-wrap: nowrap; padding-right: 1.4rem; }
  .history-wire-topbar .history-wire-set-copy { display: none; }
  .history-wire-topbar .history-wire-event { max-width: none; white-space: nowrap; }
}

@media (forced-colors: active) {
  .history-wire-topbar { border: 1px solid CanvasText; }
}

@media print {
  .history-wire-topbar { display: none; }
}


/* R2.7 bilingual site menu, emphasized participation, and inert account preview. */
.top.site-shell {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 5.25rem;
}

.site-shell-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
}

.participate-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 2px solid #fff4e5;
  background: var(--czech-red);
  box-shadow: .22rem .22rem 0 var(--gold);
  color: white;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .035em;
  padding: .55rem .88rem;
  text-decoration: none;
  white-space: nowrap;
}

.participate-cta:hover {
  border-color: white;
  background: #861824;
  color: white;
}

.site-menu { position: relative; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 2.75rem;
  border: 1px solid rgb(248 243 233 / .58);
  color: white;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  list-style: none;
  padding: .55rem .78rem;
  user-select: none;
}

.site-menu > summary::-webkit-details-marker { display: none; }

.site-menu > summary::after {
  width: .48rem;
  height: .48rem;
  border-right: .13rem solid currentColor;
  border-bottom: .13rem solid currentColor;
  content: "";
  rotate: 45deg;
  translate: 0 -.12rem;
}

.site-menu[open] > summary {
  border-color: white;
  background: rgb(248 243 233 / .12);
}

.site-menu[open] > summary::after {
  rotate: 225deg;
  translate: 0 .12rem;
}

.site-menu > summary:focus-visible { outline-color: var(--focus-on-dark); }

.site-menu-panel {
  position: absolute;
  z-index: 100;
  top: calc(100% + .65rem);
  right: 0;
  width: min(44rem, calc(100vw - 1.5rem));
  max-height: min(75vh, 43rem);
  border: .24rem solid var(--czech-red);
  background: var(--surface);
  box-shadow: 0 1.1rem 2.5rem rgb(5 27 42 / .38);
  color: var(--ink);
  overflow: auto;
  padding: 1rem;
}

.site-menu-panel nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: .8rem;
  width: 100%;
  font-size: .82rem;
  letter-spacing: 0;
}

.menu-group {
  min-width: 0;
  border-top: .25rem solid var(--czech-blue);
  background: #f5efe4;
  padding: .7rem;
}

.menu-group-approach {
  grid-column: 1 / -1;
  border-top-color: var(--czech-red);
  background: #fff8ed;
}

.menu-group-display { grid-column: 1 / -1; }

.menu-group-title {
  margin: 0 0 .45rem;
  color: var(--czech-red);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-links {
  display: grid;
  gap: .2rem;
}

.menu-group-approach .menu-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.menu-group-explore .menu-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }

header .menu-links a,
.menu-language a {
  display: block;
  min-height: 2.75rem;
  border: 1px solid transparent;
  color: var(--czech-blue-deep);
  padding: .5rem .58rem;
  text-decoration: none;
}

header .menu-links a:hover,
.menu-language a:hover {
  border-color: var(--line);
  background: white;
  color: var(--czech-red);
}

.site-menu-panel a:focus-visible { outline-color: var(--focus); }

header .menu-links a[aria-current="page"] {
  border-color: var(--czech-red);
  background: var(--czech-red);
  color: white;
}

.menu-control {
  width: 100%;
  min-height: 2.75rem;
  border: 2px solid var(--czech-blue);
  background: var(--surface);
  color: var(--czech-blue-deep);
  cursor: pointer;
  font: 800 .82rem/1.25 ui-sans-serif, system-ui, sans-serif;
  padding: .6rem .7rem;
  text-align: left;
}

.menu-control:hover,
.menu-control[aria-pressed="true"] {
  border-color: var(--czech-red);
  background: #fff0e7;
  color: var(--czech-red);
}

.menu-control:focus-visible,
.signup-preview-controls button:focus-visible {
  outline: .2rem solid var(--focus);
  outline-offset: .18rem;
}

.menu-language {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  border-top: 1px solid var(--line);
  padding-top: .65rem;
}

.menu-language span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.history-wire-topbar .history-wire-motion { display: block; }
.history-wire-paused .history-wire-topbar .history-wire-track { animation-play-state: paused; }

.free-account-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, .8fr);
  gap: clamp(1.3rem, 4vw, 3.4rem);
  align-items: center;
  margin: 0 0 3rem;
  border: .35rem solid var(--czech-red);
  background:
    linear-gradient(135deg, rgb(255 255 255 / .035) 25%, transparent 25%) 0 0 / 1.4rem 1.4rem,
    var(--czech-blue-deep);
  box-shadow: .6rem .6rem 0 rgb(167 116 24 / .42);
  color: #f8f3e9;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  scroll-margin-top: 1rem;
}

.free-account-preview .eyebrow { color: #ffd9b6; }

.free-account-preview h2 {
  max-width: 25ch;
  margin: .2rem 0 .8rem;
  color: white;
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
}

.free-account-preview p { max-width: 48rem; }

.free-account-preview a {
  background: none !important;
  color: white !important;
}

.free-account-preview a::after { color: #ffd9b6 !important; }

.signup-preview-panel {
  border-top: .35rem solid var(--gold);
  background: var(--surface);
  color: var(--ink);
  padding: 1rem;
}

.free-badge {
  display: inline-block;
  margin: 0 0 .65rem;
  border: 1px solid var(--gold);
  color: #6e4c0b;
  font: 850 .7rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .1em;
  padding: .35rem .48rem;
  text-transform: uppercase;
}

.signup-preview-controls {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.signup-preview-controls legend,
.signup-preview-controls label {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
}

.signup-preview-controls legend { margin-bottom: .65rem; font-size: 1.05rem; }
.signup-preview-controls label { display: block; margin-bottom: .3rem; font-size: .78rem; }

.signup-preview-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; }

.signup-preview-controls input {
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  border: 2px solid var(--muted);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: .55rem .65rem;
}

.signup-preview-controls button {
  min-height: 2.85rem;
  border: 2px solid var(--czech-red);
  background: var(--czech-red);
  color: white;
  font: 800 .78rem/1.25 ui-sans-serif, system-ui, sans-serif;
  padding: .55rem .7rem;
}

.signup-preview-controls[disabled] { opacity: 1; }

.signup-preview-controls input:disabled {
  cursor: not-allowed;
  background: #f2eee6;
  color: var(--muted);
  opacity: 1;
}

.signup-preview-controls input:disabled::placeholder {
  color: #625b53;
  opacity: 1;
}

.signup-preview-controls button:disabled {
  border-color: #6f5458;
  background: #6f5458;
  color: white;
  cursor: not-allowed;
  opacity: 1;
}

.signup-preview-note {
  margin: .75rem 0 0;
  color: var(--muted);
  font: .76rem/1.45 ui-sans-serif, system-ui, sans-serif;
}

@media (max-width: 52rem) {
  .site-menu-panel nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-group-approach, .menu-group-display, .menu-language { grid-column: 1 / -1; }
  .free-account-preview { grid-template-columns: 1fr; }
}

@media (max-width: 32rem) {
  .top.site-shell { display: grid; grid-template-columns: 1fr; align-items: start; }
  .site-shell-actions { justify-content: space-between; width: 100%; }
  .participate-cta { flex: 1; }
  .site-menu-panel { right: 0; width: calc(100vw - 2.4rem); padding: .7rem; }
  .site-menu-panel nav { grid-template-columns: 1fr; }
  .menu-group-approach, .menu-group-display, .menu-language { grid-column: 1; }
  .menu-group-approach .menu-links { grid-template-columns: 1fr; }
  .menu-group-explore .menu-links { grid-template-columns: 1fr; }
  .signup-preview-row { grid-template-columns: 1fr; }
}

@media (forced-colors: active) {
  .participate-cta, .site-menu > summary, .site-menu-panel, .menu-group, .free-account-preview { border: 1px solid CanvasText; }
}

@media print {
  .free-account-preview { display: none; }
}
