:root {
  --ink: #2c353c;
  --slate: #4d6273;
  --slate-deep: #3d5160;
  --slate-soft: #6b7f90;
  --slate-mist: #d7dee4;
  --paper: #f7f3eb;
  --paper-white: #fffcf7;
  --sheet: #fffdf9;
  --ochre: #c4922a;
  --ochre-dark: #9a7018;
  --ochre-soft: #ead6a4;
  --line: #d9d1c3;
  --muted: #5d6973;
  --shadow: 0 18px 40px rgba(61, 81, 96, 0.12);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --radius: 14px;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #e8edf1 0, var(--paper) 180px);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ochre);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 10px clamp(12px, 4vw, 40px);
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  width: 42px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: var(--paper-white);
  font: 700 12px/1 var(--sans);
  letter-spacing: 0.08em;
  border-radius: 0 8px 8px 8px;
}
.brand-mark i {
  position: absolute;
  top: -8px;
  left: 6px;
  width: 18px;
  height: 10px;
  background: var(--ochre);
  border-radius: 4px 4px 0 0;
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}
.desktop-nav a {
  padding: 7px 9px;
  text-decoration: none;
  color: var(--slate);
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  background: var(--slate);
  color: var(--paper-white);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--sheet);
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 7px 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.lang-btn.active {
  background: var(--ochre);
  color: #fff;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sheet);
  padding: 10px 9px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--slate);
  border-radius: 2px;
}
.mobile-menu {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 14px;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu a {
  padding: 12px 8px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
}
.mobile-menu a:hover { background: var(--paper); }

.hero,
.section,
.scope,
footer {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 6vw, 72px) 0 28px;
}
.memo-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--ochre-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.memo-kicker b {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  background: var(--ochre);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
}
.hero h1,
.section h2,
.scope h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.section h2, .scope h2 { font-size: clamp(26px, 3vw, 38px); }
.hero-lead { margin: 0 0 24px; max-width: 56ch; color: var(--muted); font-size: 1.05rem; }
.hero-actions, .output-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--slate);
  border-radius: 10px;
  background: var(--sheet);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.button.primary {
  background: var(--slate);
  color: var(--paper-white);
  border-color: var(--slate);
}
.button.primary:hover { background: var(--slate-deep); }
.mail-link, .contact-email {
  color: var(--slate);
  font-weight: 700;
  text-underline-offset: 4px;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}
.hero-facts div {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}
.hero-facts dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-facts dd { margin: 4px 0 0; font-weight: 700; }

.enquiry-folder { position: relative; padding-top: 34px; }
.folder-tab {
  position: absolute;
  top: 0;
  left: 28px;
  z-index: 2;
  min-width: 168px;
  padding: 9px 22px 14px;
  background: var(--ochre);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 10px 10px 0 0;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.18) inset;
}
.folder-body {
  position: relative;
  background: linear-gradient(180deg, #6d8293 0%, var(--slate) 100%);
  border-radius: 6px 16px 14px 14px;
  padding: 22px 16px 16px;
  box-shadow: var(--shadow);
}
.folder-sheet {
  background: var(--sheet);
  border-radius: 4px;
}
.folder-sheet.back,
.folder-sheet.mid {
  position: absolute;
  left: 28px;
  right: 22px;
  height: 24px;
  opacity: 0.9;
}
.folder-sheet.back { top: 8px; transform: rotate(-1.6deg); background: #efe7d8; }
.folder-sheet.mid { top: 16px; transform: rotate(1.1deg); background: #f4eee3; }
.folder-sheet.front {
  position: relative;
  min-height: 360px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 18px rgba(44, 53, 60, 0.08);
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.sheet-index {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sheet-index li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--paper);
  font-size: 14px;
}
.sheet-index b { color: var(--ochre-dark); font-variant-numeric: tabular-nums; }
.sheet-stamp {
  margin: 18px 0 0;
  padding: 8px 10px;
  border: 1.5px solid var(--ochre);
  color: var(--ochre-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.scope {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  margin: 12px auto 8px;
  padding: 22px 24px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-left: 8px solid var(--ochre);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(61, 81, 96, 0.05);
}
.scope p:last-child { margin: 0; color: var(--muted); }

.pillar-grid {
  width: min(var(--max), calc(100% - 36px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pillar-grid article {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-top: 8px solid var(--ochre);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 22px rgba(61, 81, 96, 0.06);
}
.pillar-grid article:nth-child(2) { border-top-color: var(--slate); }
.pillar-grid article:nth-child(3) { border-top-color: var(--ochre-dark); }
.pillar-grid b {
  color: var(--ochre-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.pillar-grid h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.pillar-grid p { margin: 0 0 14px; color: var(--muted); }
.pillar-grid a {
  color: var(--ochre-dark);
  font-weight: 700;
  text-decoration: none;
}
.pillar-grid a:hover { text-decoration: underline; }

.about-copy {
  max-width: 78ch;
  margin: 0 0 24px;
}
.about-copy p { color: var(--muted); }
.people-follow { margin-top: 18px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
.service-grid .note-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.service-grid .note-card > p { margin: 0; color: var(--muted); }
.service-grid .memo-list { margin-top: 12px; }

.request-form {
  max-width: 720px;
}
.contact-people {
  margin: 14px 0 18px;
  color: var(--muted);
}
.contact-copy .button { margin-top: 4px; }
.contact-side {
  display: grid;
  gap: 14px;
}
.memo-no {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--slate);
  color: var(--paper-white);
  border-radius: 14px 6px 14px 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 650;
}

.section { padding: clamp(48px, 7vw, 88px) 0 8px; scroll-margin-top: 92px; }
.section-heading {
  display: grid;
  grid-template-columns: 72px 1fr minmax(220px, 0.7fr);
  gap: 18px 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-heading.compact { grid-template-columns: 72px 1fr; }
.section-heading > p { margin: 0; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--sheet); }
.brief-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.brief-table th,
.brief-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.brief-table th {
  background: var(--slate);
  color: var(--paper-white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brief-table tbody tr:last-child td { border-bottom: 0; }
.brief-table a {
  color: var(--ochre-dark);
  font-weight: 700;
  text-decoration: none;
}
.brief-table a:hover { text-decoration: underline; }
.primary-row { background: #f4ebD3; }
.tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  background: var(--ochre);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.brief-table.compact { min-width: 0; }
.brief-table.compact td { width: 50%; }

.memo-block { border-top: 1px dashed var(--line); }
.memo-block.alt { background: linear-gradient(90deg, transparent, rgba(77, 98, 115, 0.05) 40%, transparent); }
.memo-head { margin-bottom: 22px; }
.memo-head .memo-no { margin-bottom: 14px; }
.memo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.memo-grid > p:first-child { margin-top: 0; }
.memo-list { margin: 16px 0 0; padding: 0; list-style: none; }
.memo-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
}
.memo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 12px;
  height: 3px;
  background: var(--ochre);
}
.note-card {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-top: 8px solid var(--ochre);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 22px rgba(61, 81, 96, 0.06);
}
.note-card.slate { border-top-color: var(--slate); }
.note-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--ochre-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.note-card h3 {
  margin: 12px 0 6px;
  font-size: 15px;
}
.note-card p { margin: 0; color: var(--muted); }
.mini-table { width: 100%; border-collapse: collapse; background: var(--sheet); }
.mini-table th, .mini-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.mini-table th {
  width: 52px;
  color: var(--ochre-dark);
  font-family: var(--serif);
  font-size: 18px;
}
.field-row p { margin-top: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row span {
  padding: 8px 12px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.consult-layout > p { max-width: 75ch; }

.protocol-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.protocol-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  min-height: 140px;
  padding: 18px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.protocol-steps b {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ochre-dark);
}
.protocol-steps h3 { margin: 0 0 6px; font-size: 16px; }
.protocol-steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.doc-grid article {
  position: relative;
  min-height: 180px;
  padding: 20px 18px 18px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px 18px 12px 12px;
}
.doc-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  width: 28px;
  height: 12px;
  background: var(--ochre);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}
.doc-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--slate);
  font-family: var(--serif);
  font-size: 28px;
}
.doc-grid h3 { margin: 0 0 8px; font-size: 17px; }
.doc-grid p { margin: 0; color: var(--muted); }
.docs-note { margin: 16px 0 0; color: var(--muted); }

.builder-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.builder-form, .contact-form, .builder-output {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.builder-form fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.builder-form legend { margin-bottom: 10px; font-weight: 700; }
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.choice-grid label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-white);
  cursor: pointer;
}
.choice-grid label:has(input:checked) {
  border-color: var(--ochre);
  background: #f8efd8;
}
.field { display: block; margin-bottom: 14px; }
.field span { display: inline-block; margin-bottom: 6px; font-weight: 700; }
.field b, .builder-form legend b { color: var(--ochre-dark); margin-right: 4px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-white);
  padding: 11px 12px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--ochre-soft);
  border-color: var(--ochre);
}
.output-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate);
}
#spec-output {
  min-height: 240px;
  margin: 0 0 14px;
  white-space: pre-wrap;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}
.output-actions .button,
.output-actions a,
#copy-summary {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--slate);
  border-radius: 10px;
  background: var(--sheet);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
#email-summary { display: inline-flex; align-items: center; }
#copy-summary:disabled,
#email-summary.disabled {
  opacity: 0.45;
  pointer-events: none;
}
.builder-output > p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.case-grid, .people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.case-grid article, .people-grid article {
  padding: 18px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.case-grid b, .people-grid span {
  color: var(--ochre-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.case-grid h3, .people-grid h3 { margin: 10px 0 8px; font-size: 18px; font-family: var(--serif); font-weight: 600; }
.case-grid p, .people-grid p { margin: 0; color: var(--muted); }
.people-grid b { display: block; margin-top: 12px; font-size: 22px; color: var(--slate); }

.registry-sheet {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: stretch;
}
.registry-sheet dl {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 20px;
}
.registry-sheet dl div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.registry-sheet dl div:last-child { border-bottom: 0; }
.registry-sheet dt { color: var(--muted); font-size: 13px; }
.registry-sheet dd { margin: 0; font-weight: 600; }
.registry-tab {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: var(--slate);
  color: var(--paper-white);
  border-radius: 12px 28px 12px 12px;
  position: relative;
}
.registry-tab::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 24px;
  width: 86px;
  height: 16px;
  background: var(--ochre);
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}
.registry-tab span { font-size: 12px; letter-spacing: 0.14em; }
.registry-tab b { margin: 12px 0 8px; font-family: var(--serif); font-size: 36px; font-weight: 650; }
.registry-tab small { color: var(--slate-mist); }

.faq-list details {
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 8px;
}
.faq-list summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
}
.faq-list p { margin: 0 0 14px; color: var(--muted); }

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 48px;
}
.contact-email {
  display: block;
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
}
.contact-copy address { color: var(--muted); max-width: 42ch; }
.contact-form label { display: block; margin-bottom: 14px; }
.contact-form label > span { display: block; margin-bottom: 6px; font-weight: 700; }
.consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
}
.consent input { width: auto; margin-top: 4px; }
.form-status { min-height: 1.4em; color: var(--slate); font-weight: 600; }

footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 650;
}
footer a { font-weight: 700; color: var(--slate); }

@media (max-width: 1120px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
}

@media (max-width: 980px) {
  .hero, .memo-grid, .builder-layout, .registry-sheet, .contact, .section-heading, .pillar-grid, .service-grid {
    grid-template-columns: 1fr;
  }
  .section-heading { align-items: start; }
  .protocol-steps, .doc-grid, .case-grid, .people-grid, .pillar-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr 1fr; }
  footer { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 52px 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand small { display: none; }
  .brand strong { font-size: 18px; }
  .hero { padding-top: 24px; }
  .hero-facts, .protocol-steps, .doc-grid, .case-grid, .people-grid, .pillar-grid, .service-grid { grid-template-columns: 1fr; }
  .brief-table { min-width: 560px; }
  .registry-sheet dl div { grid-template-columns: 1fr; gap: 4px; }
  .folder-sheet.front { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
