

:root,
html[data-theme="dark"] {
  --bg: #161618;
  --surface: #0B0B0C;
  --band: #0B0B0C;
  --text: #EDEBE6;
  --muted: #9A9A9A;
  --line: #2A2A2D;
  --line-strong: #EDEBE6;
  --dash: #9A9A9A;
  --gold: #C9A227;
  --gold-text: #C9A227;
  --gold-rule: #C9A227;
  --focus: #C9A227;
  --lab-deco: none;
  --link-thick: 1px;
  --on-gold: #0B0B0C;
  --faint: #2A2A2D;
  --header-bg: #0B0B0C;
  --input-bg: #0B0B0C;
  --footer-bg: #0B0B0C;
  --footer-todo: #C9A227;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) {
    --bg: #F7F6F3;
    --surface: #F7F6F3;
    --band: #0B0B0C;
    --text: #0B0B0C;
    --muted: #6E6E72;
    --line: #DAD8D2;
    --line-strong: #0B0B0C;
    --dash: #6E6E72;
    --gold: #C9A227;
    --gold-text: #0B0B0C;
    --gold-rule: #8F7220;
    --focus: #8F7220;
    --lab-deco: underline;
    --link-thick: 2px;
    --on-gold: #0B0B0C;
    --faint: #DAD8D2;
    --header-bg: #F7F6F3;
    --input-bg: #F7F6F3;
    --footer-bg: #FFFFFF;
    --footer-todo: #8F7220;
    color-scheme: light;
  }
}
html[data-theme="light"] {
  --bg: #F7F6F3;
  --surface: #F7F6F3;
  --band: #0B0B0C;
  --text: #0B0B0C;
  --muted: #6E6E72;
  --line: #DAD8D2;
  --line-strong: #0B0B0C;
  --dash: #6E6E72;
  --gold: #C9A227;
  --gold-text: #0B0B0C;
  --gold-rule: #8F7220;
  --focus: #8F7220;
  --lab-deco: underline;
  --link-thick: 2px;
  --on-gold: #0B0B0C;
  --faint: #DAD8D2;
  --header-bg: #F7F6F3;
  --input-bg: #F7F6F3;
  --footer-bg: #FFFFFF;
  --footer-todo: #8F7220;
  color-scheme: light;
}

@media screen {
  html[data-tone="soft"] {
    --bg: #232326;
    --surface: #18181A;
    --band: #18181A;
    --text: #DBD9D3;
    --line: #37373B;
    --line-strong: #DBD9D3;
    --on-gold: #18181A;
    --faint: #37373B;
    --header-bg: #18181A;
    --input-bg: #18181A;
    --footer-bg: #18181A;
  }
  html[data-theme="light"][data-tone="soft"] {
    --bg: #EBEAE5;
    --surface: #EBEAE5;
    --band: #18181A;
    --text: #222223;
    --muted: #5F5E61;
    --line: #CECCC5;
    --line-strong: #222223;
    --dash: #5F5E61;
    --gold-text: #222223;
    --faint: #CECCC5;
    --header-bg: #EBEAE5;
    --input-bg: #EBEAE5;
    --footer-bg: #F6F5F2;
    --footer-todo: #755D18;
  }
  html[data-tone="soft"] .site-header { --header-bg: #18181A; --text: #DBD9D3; --line: #37373B; }
}
@media screen and (prefers-color-scheme: light) {
  html[data-tone="soft"]:not([data-theme="dark"]) {
    --bg: #EBEAE5;
    --surface: #EBEAE5;
    --band: #18181A;
    --text: #222223;
    --muted: #5F5E61;
    --line: #CECCC5;
    --line-strong: #222223;
    --dash: #5F5E61;
    --gold-text: #222223;
    --faint: #CECCC5;
    --header-bg: #EBEAE5;
    --input-bg: #EBEAE5;
    --footer-bg: #F6F5F2;
    --footer-todo: #755D18;
  }
}

:root {
  --font-head: "Poppins", Inter, Arial, sans-serif;
  --font-body: "Spline Sans", Inter, Arial, sans-serif;

  --font-data: "Spline Sans", Inter, Arial, sans-serif;
  --radius: 14px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--gold-text); text-decoration: underline; text-decoration-color: var(--gold-rule); text-decoration-thickness: var(--link-thick); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; color: var(--text); }
h1 { font-weight: 700; font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.3; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
code { font-family: var(--font-data); font-size: 0.95em; font-weight: 500; }
.p-id, .count, .chip-id, .rid, .src, .register-meta, .record dt, .m-n, .log, .slot-title,
.spec-fields dd, code, .reasons li::before, .deeper summary::before {
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.p-id, .count, .chip-id, .rid, .register-meta, .record dt, .m-n, .slot-title, .log time, .log-d, .reasons li::before { font-weight: 500; }
em { font-style: italic; }
.measure { max-width: 68ch; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
html:not(.js) .js-only { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--surface); color: var(--text); padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 8px;
}
.skip:focus { left: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold); border-color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--text); }

.site-header {
  --header-bg: #0B0B0C; --text: #EDEBE6; --muted: #9A9A9A; --line: #2A2A2D; --gold-text: #C9A227; --focus: #C9A227; color-scheme: dark;
  position: sticky; top: 0; z-index: 60; height: 77px;
  background: var(--header-bg); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 77px; }
.site-header a { text-decoration: none; }
.brand { display: flex; align-items: center; flex: none; }
.site-header .brand img { height: 40px; width: auto; }

.site-header .brand { flex-direction: column; align-items: flex-start; justify-content: center; padding-bottom: 4px; }
.site-header .brand:hover { text-decoration: none; }
.brand-tagline { display: block; margin: 0 0 0 3px; font-size: 10.5px; line-height: 1; letter-spacing: 0; color: #9A9A9A; white-space: nowrap; }

.logo-light { display: none; }
html[data-theme="light"] .logo-dark { display: none; }
html[data-theme="light"] .logo-light { display: block; }
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .logo-dark { display: none; }
  html:not([data-theme="dark"]) .logo-light { display: block; }
}
html .site-header .logo-dark { display: block; }
html .site-header .logo-light { display: none; }
.site-header .nav { display: flex; gap: 22px; align-items: center; }
.site-header .nav a { color: var(--muted); font-size: 14px; }
.site-header .nav a:hover { color: var(--text); }
.site-header .nav a[aria-current="page"] { color: var(--text); }
.header-right { display: flex; gap: 10px; align-items: center; }
.site-header .theme-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--muted); display: inline-flex; align-items: center;
  justify-content: center; cursor: pointer; padding: 0;
}
.site-header .theme-btn:hover { color: var(--text); border-color: var(--text); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun { display: none; }
html[data-theme="light"] .theme-btn .sun { display: block; }
html[data-theme="light"] .theme-btn .moon { display: none; }

.site-header .tone-btn[aria-pressed="true"], .site-header .tone-btn[aria-pressed="true"]:hover { color: var(--gold-text); border-color: var(--gold-text); }

.site-header .btn { min-height: 0; white-space: nowrap; }
.site-header .btn-primary { border-color: transparent; }
.site-header .btn-primary:hover { background: #d4ae35; border-color: transparent; text-decoration: none; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px;
}

.site-header :focus-visible, .site-footer :focus-visible { outline-offset: 2px; border-radius: 0; }
.site-header .theme-btn:focus-visible { border-radius: 50%; }
.site-header .btn:focus-visible, .site-header .menu-btn:focus-visible { border-radius: 999px; }
.print-only { display: none; }

.section { padding: 96px 0; border-top: 1px solid var(--line); scroll-margin-top: 77px; }
@media screen and (min-width: 1081px) {

  .register-wrap .section { scroll-margin-top: calc(var(--toolbar-bottom, 143px) - 60px); }
}
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .measure { color: var(--text); }

.todo, .ph-inline {
  display: inline; font-size: 13px; line-height: 1.9; color: var(--text);
  border: 1px dashed var(--muted); border-radius: 6px; padding: 1px 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.todo-tag, .ph-tag {
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  margin-right: 6px; color: var(--muted);
}

.c-res .todo, .c-res .ph-inline, .c-fail .todo {
  display: block; width: fit-content; max-width: 100%; margin-top: 6px; line-height: 1.45; padding: 4px 8px;
}
.c-res .todo-tag, .c-res .ph-tag, .c-fail .todo-tag { display: block; margin: 0 0 2px; }
.register-meta .todo { font-family: var(--font-data); white-space: nowrap; }
a[href^="#R-"], a[href^="#Y-"] { white-space: nowrap; }
.nowrap { white-space: nowrap; }

.promises a, .chips .chip-link { white-space: normal; }
.ph-block .ph-tag, .slot .ph-tag, .ph-note .ph-tag {
  display: inline-block; border: 1px solid var(--muted); border-radius: 999px; padding: 1px 8px; margin: 0; color: var(--muted);
}
.ph-note {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 0;
  border: 1px dashed var(--muted); border-radius: 10px; padding: 8px 12px; font-size: 14px; color: var(--text);
}
.ph-block {
  border: 1px dashed var(--dash); border-radius: var(--radius); padding: 16px 18px;
  display: grid; gap: 8px; justify-items: start; color: var(--muted); font-size: 15px;
}
.ph-block p { margin: 0; }

.hero { padding: 34px 0 88px; scroll-margin-top: 77px; }
.hero-top { padding-bottom: 22px; }
.hero h1 { margin-bottom: 18px; }
.eyebrow-hero { margin-bottom: 10px; }
.hero h1 span { display: block; }
.eyebrow-hero { text-wrap: balance; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.hero-text { max-width: 940px; }
.hero .lead { max-width: 64ch; }
.hero .cta-row { flex-direction: row; align-items: center; }
.hero .lead { font-size: 18px; line-height: 1.5; margin-bottom: 0; }

.promises {
  list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px; border-top: 1px solid var(--line);
}
.promises li { border-bottom: 1px solid var(--line); }
.promises a {
  display: flex; align-items: baseline; gap: 14px; min-height: 44px; padding: 9px 0;
  color: var(--text); text-decoration: none; font-size: 17px; font-weight: 500; line-height: 1.4;
}
.promises a:hover .p-text { text-decoration: underline; text-decoration-color: var(--gold-rule); text-underline-offset: 3px; }
.p-id {
  flex: none; font-family: var(--font-data); font-size: 13px; font-weight: 500; color: var(--gold-text);
  text-decoration-line: var(--lab-deco); text-decoration-color: var(--gold-rule); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.onpage {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px;
  margin: 10px 0 40px; border-top: 1px solid var(--line);
}
.onpage-label {
  flex: none; margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.onpage ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.onpage a {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--muted);
  font-size: 15px; text-decoration: none;
}
.onpage a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold-rule); }

.balance { border-top: 1px solid var(--line-strong); padding-top: 16px; scroll-margin-top: 93px; }
.balance-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.balance-intro { flex: 1 1 420px; min-width: 0; }
.balance-intro .balance-title { margin-bottom: 4px; }
.balance-title {
  font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.switch button {
  min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: 500 14px/1.2 var(--font-body); cursor: pointer;
}
.switch button:hover { color: var(--text); }
.switch button[aria-pressed="true"] { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--text); font-weight: 600; }
.balance-delta { margin: 0; font-size: 16px; color: var(--text); max-width: 64ch; }
.balance-caption { margin: 10px 0 14px; color: var(--muted); font-size: 14px; max-width: 80ch; }
.cap-usual, .head-usual { display: none; }
.balance[data-state="usual"] .cap-usual,
.balance[data-state="usual"] .head-usual { display: inline; }
.balance[data-state="usual"] .cap-this,
.balance[data-state="usual"] .head-this { display: none; }

.balance-grid {

  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.bcol { padding: 14px 22px 22px; min-width: 0; }
.bcol:first-child { padding-left: 0; }
.bcol:last-child { padding-right: 0; }
.bcol-shared { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.bcol-head {
  font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline;
}
.count { font-family: var(--font-data); font-size: 12px; color: var(--text); }

.balance[data-state="usual"] .count { display: none; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chip {
  display: inline-flex; align-items: stretch; max-width: 100%; position: relative;
  border: 1px solid var(--muted); border-radius: 999px;
  font-size: 14px; line-height: 1.3; color: var(--text); background: transparent;
}
.chip-link { display: inline-flex; align-items: stretch; min-height: 36px; max-width: 100%; color: inherit; text-decoration: none; }

.chip-link::after { content: ""; position: absolute; inset: -4px 0; }
.chip-link:hover .chip-label { text-decoration: underline; text-underline-offset: 3px; }
.chip-link:focus-visible { outline-offset: -2px; border-radius: 999px; }
.chip-id {
  font-family: var(--font-data); font-size: 12px; display: flex; align-items: center; flex: none; white-space: nowrap;
  padding: 6px 8px 6px 12px; color: var(--muted); border-radius: 999px 0 0 999px;
}
.chip-label { padding: 6px 14px 6px 4px; display: flex; align-items: center; min-width: 0; }
.bcol-you .chip { border-style: dashed; }
.bcol-shared .chip { border-color: var(--muted); border-style: solid; }
.balance[data-state="this"] .bcol-them .chip { border-color: var(--gold-rule); color: var(--gold-text); }
.balance[data-state="this"] .bcol-them .chip-id { background: var(--gold); color: var(--on-gold); padding-right: 10px; margin-right: 8px; }
.balance[data-state="this"] .bcol-them .count { color: var(--gold-text); }

.toolbar {
  position: sticky; top: 77px; z-index: 40; background: var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.toolbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 10px; padding-bottom: 10px; }
.readers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.toolbar-label { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.readers button {
  min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted); font: 500 14px/1.2 var(--font-body); cursor: pointer;
}
.readers button:hover { color: var(--text); border-color: var(--muted); }
.readers button[aria-pressed="true"] { border: 2px solid var(--gold-rule); padding: 7px 13px; color: var(--gold-text); }
.words-toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 4px;
  background: transparent; border: 0; color: var(--text); font: 500 14px/1.2 var(--font-body); cursor: pointer;
}
.words-track {
  width: 36px; height: 20px; border-radius: 999px; border: 1px solid var(--muted);
  position: relative; flex: none;
}
.words-knob {
  position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted);
}
.words-toggle[aria-checked="true"] .words-track { border-color: var(--text); }
.words-toggle[aria-checked="true"] .words-knob { left: 19px; background: var(--text); }

.v-plain { display: none; }
html[data-words="plain"] .v-plain { display: inline; }
html[data-words="plain"] .v-std { display: none; }

[data-row] { position: relative; }
.flag {
  display: none; font-size: 12px; line-height: 1.3; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-text);
}
html[data-reader="budget"] [data-readers~="budget"] .flag,
html[data-reader="arch"] [data-readers~="arch"] .flag,
html[data-reader="eng"] [data-readers~="eng"] .flag,
html[data-reader="plain"] [data-readers~="plain"] .flag,
html[data-reader] [data-readers~="all"] .flag { display: block; }
.reg-row::before, .trow::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: transparent;
}
html[data-reader="budget"] [data-readers~="budget"][data-row]::before,
html[data-reader="arch"] [data-readers~="arch"][data-row]::before,
html[data-reader="eng"] [data-readers~="eng"][data-row]::before,
html[data-reader="plain"] [data-readers~="plain"][data-row]::before,
html[data-reader] [data-readers~="all"][data-row]::before { background: var(--gold-rule); }
.flag-sec { margin: -4px 0 14px; }

.rid {
  font-family: var(--font-data); font-size: 14px; color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.rid:hover { text-decoration: underline; }
.rid-lab { color: var(--gold-text); text-decoration-line: var(--lab-deco); text-decoration-color: var(--gold-rule); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.state {
  display: inline-flex; align-items: center; min-height: 26px; padding: 2px 11px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--text);
}
.state-lab { border-color: var(--gold-rule); color: var(--gold-text); }
.state-shared { border-color: var(--muted); }
.state-you { border-color: var(--muted); border-style: dashed; color: var(--muted); }
.cl {
  display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.src {
  display: inline-block; font-family: var(--font-data); font-size: 11.5px; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid var(--muted); line-height: 1.4; margin-top: 4px; position: relative;
}

.src::after { content: ""; position: absolute; inset: -14px -6px; }
.src:hover { color: var(--text); }

.section-transfers { border-top: 0; padding-top: 72px; }
.register-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-data); font-size: 12.5px;
  color: var(--muted); margin: 18px 0 0;
}
.transfers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.trow {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px;
  padding: 32px 0 32px 20px; border-bottom: 1px solid var(--line); scroll-margin-top: 163px;
}
.trow-side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.trow-side .rid { font-size: 26px; min-height: 44px; line-height: 1.1; margin: -9px 0 -9px; }
.trow-side .c-who .cl { margin-top: 10px; }
.trow-title { font-size: 20px; line-height: 1.3; margin-bottom: 18px; }
.tgrid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 32px;
  grid-template-areas: "usual do pass" "res ev fail";
}
.tgrid .c-usual { grid-area: usual; } .tgrid .c-do { grid-area: do; } .tgrid .c-pass { grid-area: pass; }
.tgrid .c-fail { grid-area: fail; } .tgrid .c-res { grid-area: res; } .tgrid .c-ev { grid-area: ev; }
.tgrid .c p { font-size: 15.5px; }
.tgrid .c-do p { font-weight: 500; }
.tgrid .c-res, .tgrid .c-ev, .tgrid .c-fail { border-top: 1px solid var(--line); padding-top: 14px; }
.tgrid .c-pass, .tgrid .c-fail { border-left: 1px solid var(--line); padding-left: 20px; }
.tgrid .c-usual p, .tgrid .c-ev p { color: var(--muted); }

.section-register { padding-top: 88px; }
.reg { font-size: 15px; line-height: 1.5; }
.reg-head, .reg-row .cells {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.1fr) minmax(0, 1.5fr) 96px minmax(0, 1.3fr);
  column-gap: 22px;
}

.c-riskcol, .c-rescol { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.reg-row .c-ev { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.reg-row .c-usual p { font-size: 14px; }
.reg-head {
  background: var(--band); color: #9A9A9A; padding: 12px 14px 12px 16px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3;
  border-radius: 6px 6px 0 0;
}
@media screen and (min-width: 1081px) {
  .reg-head { position: sticky; top: var(--toolbar-bottom, 130px); z-index: 30; }
}
.reg-row { border-bottom: 1px solid var(--line); padding: 18px 14px 18px 16px; scroll-margin-top: 203px; }
.reg-row .cl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reg-row .c { min-width: 0; }
.reg-row .c p { margin: 0; }
.reg-row .c-id { display: flex; flex-direction: column; gap: 4px; }
.reg-row .c-id .rid { min-height: 44px; line-height: 1.5; margin: -11px 0 -11px; }
.reg-risk { font-family: var(--font-head); font-size: 17px; font-weight: 600; line-height: 1.35; margin: 0; color: var(--text); }
.reg-row .c-usual p, .reg-row .c-ev p { color: var(--muted); }
.reg-row .c-ev p a:not(.src) { color: var(--gold-text); }
.deeper { margin: 12px 0 0 76px; max-width: 76ch; }
.deeper summary, .fold summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--text);
  font-size: 14px; font-weight: 500; list-style: none;
}
.deeper summary::-webkit-details-marker, .fold summary::-webkit-details-marker { display: none; }
.deeper summary::before, .fold summary::before {
  content: "+"; font-family: var(--font-data); display: inline-flex; width: 20px; height: 20px;
  align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%;
  margin-right: 10px; font-size: 13px; color: var(--muted);
}
.deeper[open] summary::before { content: "\2212"; }
.fold { display: none; }
.fold[open] summary::before { content: "\2212"; }
.fold-body { display: grid; gap: 14px; padding: 4px 0 6px; }
.deeper p { color: var(--text); font-size: 15px; margin: 6px 0 12px; }

.record-card {
  margin: 16px 0 4px 76px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 18px 22px; max-width: 760px;
}
.record-title { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.record { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.record div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.record dt { font-family: var(--font-data); font-size: 12.5px; color: var(--muted); }
.record dd { margin: 0; font-size: 15px; }
.record-note { margin: 14px 0 0; font-size: 15px; color: var(--text); }

.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.cost-lead h2 { margin-bottom: 14px; }
.cost-lead .measure { margin-bottom: 32px; }
.tenth { margin: 0 0 28px; max-width: 460px; }
.tenth-row { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; gap: 16px; margin-bottom: 12px; }
.tenth-label { font-size: 14px; color: var(--text); }

.cells10 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.cells10 i { display: block; aspect-ratio: 1 / 1; border: 1px solid var(--muted); }
.cells-major i { background: var(--line); border-color: var(--muted); }
.cells-aik i:first-child { background: var(--gold); border-color: var(--gold); }
.tenth figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; padding-left: 140px; }
.cost-reasons h3 { margin-bottom: 16px; }
.reasons { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: r; border-top: 1px solid var(--line); }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 32px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line); }
.reasons li::before { content: counter(r); font-family: var(--font-data); font-size: 13px; color: var(--muted); padding-top: 3px; }
.reasons strong { font-weight: 600; }
.solvency {
  font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.4;
  border-left: 2px solid var(--line-strong); padding-left: 20px; margin-bottom: 0;
}
.plain-note { font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.plain-label { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

.stays { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px 22px; scroll-margin-top: 103px; }
.stay-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.stay-top .cl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stay h3 { font-size: 20px; margin-bottom: 10px; }
.stay .cl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stay p { color: var(--muted); font-size: 15px; }

.controls-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.controls-grid h3 { margin-bottom: 18px; }
.method { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.method li { display: grid; grid-template-columns: 36px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.m-n { font-family: var(--font-data); font-size: 13px; color: var(--muted); padding-top: 2px; }
.method strong { font-weight: 600; }
.log {
  list-style: none; margin: 0; padding: 8px 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-data); font-size: 13px; line-height: 1.6;
}
.log li { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.log li:last-child { border-bottom: 0; }
.log time, .log-d { color: var(--muted); }
.log-t { display: flex; gap: 8px; align-items: flex-start; white-space: nowrap; }
.log-t a { position: relative; color: var(--text); text-decoration: none; border: 1px solid var(--muted); border-radius: 999px; padding: 0 8px; font-size: 12px; line-height: 20px; }

.log-t a::after { content: ""; position: absolute; inset: -11px -4px; }
.log-t a:hover { border-color: var(--text); }
.log code { font-size: 1em; }
.log-foot { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.pr-title { margin-top: 0; }
.pr { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pr li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; }
.pr li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1px; background: var(--muted); }

.records { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; }
.slot { border: 1px dashed var(--dash); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; min-height: 220px; }
.slot-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.slot-title { font-family: var(--font-data); font-size: 13.5px; font-weight: 500; color: var(--text); margin: 0; }
.slot-body { color: var(--muted); font-size: 15px; flex: 1; }
.slot-attr { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; margin: 0; }
.specimen { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.specimen-tag {
  position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px;
}
.specimen h3 { font-size: 20px; margin-bottom: 12px; padding-right: 100px; }
.spec-fields { margin: 0; }
.spec-fields div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.spec-fields dt { color: var(--muted); }
.spec-fields dd { margin: 0; font-family: var(--font-data); font-size: 12.5px; }
.spec-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

.decline-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.decline-grid h3 { margin-bottom: 14px; }
.dash { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dash li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); }
.dash li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 1px; background: var(--muted); }

.close-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: start; }
#risk-form { scroll-margin-top: 163px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: 400 16px/1.4 var(--font-body);
  color: var(--text); background: var(--input-bg); border: 1px solid var(--line); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.risk-form .field:first-of-type label { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.risk-form #risk-sentence { min-height: 76px; font-size: 17px; line-height: 1.45; resize: vertical; }
.form-note, .hint { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
.hint { margin-top: 6px; }
.close-aside { display: grid; gap: 28px; padding-top: 38px; }
.board-label { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.board-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-status { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.form-status:empty { display: none; }

.site-footer { background: var(--footer-bg); color: var(--text); border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand img { height: 26px; width: auto; margin-bottom: 16px; }
.site-footer .muted { color: var(--muted); }
.footer-about { font-size: 14px; max-width: 32ch; }
.site-footer h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: auto; }
.site-footer a[aria-current="page"] { color: var(--text); }

.site-footer .todo {
  display: inline; border: 0; border-radius: 0; padding: 0; line-height: inherit; color: var(--footer-todo);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 13px; color: var(--muted); }

@media screen and (max-width: 400px) {
  .site-header .wrap { gap: 8px; }
  .site-header .btn { padding: 8px 12px; font-size: 14px; }
  .menu-btn { padding: 8px 12px; }
  .site-header .theme-btn { width: 34px; height: 34px; }
}

@media screen and (max-width: 440px) {
  .site-header .wrap { gap: 8px; }
  .header-right { gap: 5px; }
  .site-header .btn { padding: 8px 10px; font-size: 14px; }
  .menu-btn { padding: 8px 10px; }
  .site-header .theme-btn { width: 32px; height: 32px; }
}
@media screen and (max-width: 389px) {
  .header-right { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 4px 6px; }
  .site-header .theme-btn { grid-column: 1; grid-row: 1; width: 30px; height: 30px; }
  .site-header .tone-btn { grid-row: 2; }
  .header-right .btn, .header-right .menu-btn { grid-row: 1 / span 2; }
}
@media screen and (max-width: 960px) {
  :root { --gutter: 24px; }
  .site-header .nav { display: none; }
  .menu-btn { display: inline-block; }
  .site-header .nav.open {
    display: flex; position: fixed; inset: 77px 0 0 0; background: var(--header-bg);
    flex-direction: column; padding: 32px 24px; gap: 20px; z-index: 40;
  }
  .site-header .nav.open a { font-size: 18px; color: var(--text); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 1080px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .hero .cta-row { flex-direction: row; }
  .tgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "usual do" "pass fail" "res ev"; }
  .tgrid .c-pass { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .reg-head { display: none; }
  .reg { font-size: 15.5px; }
  .reg-row {
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
    padding: 16px 20px 18px; margin-bottom: 14px;
  }
  .reg-row::before { left: -1px; top: 16px; bottom: 16px; }
  .reg-row .cells { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 24px; }
  .c-riskcol, .c-rescol { display: contents; }
  .reg-row .c-ev { border-top: 0; padding-top: 0; margin-top: 0; }
  .reg-row .c-usual p { font-size: inherit; }
  .reg-row .cl { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .reg-row .c-id { grid-column: 1; grid-row: 1; flex-direction: row; align-items: center; gap: 12px; }
  .reg-row .c-who { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; }
  .reg-row .c-who .cl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .reg-row .c-risk { grid-column: 1 / -1; }
  .reg-row .c-risk .cl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .reg-risk { font-size: 20px; line-height: 1.3; }
  .reg-row .c-do { grid-column: 1 / -1; }
  .reg-row .c-do p { font-weight: 500; }
  .deeper, .record-card { margin-left: 0; }
  .stays, .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost-grid, .controls-grid, .close-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .close-aside { padding-top: 0; }
  .toolbar { position: static; }
}
@media screen and (max-width: 720px) {
  :root { --gutter: 16px; }
  h1 { font-size: 34px; line-height: 1.12; }
  h2 { font-size: 24px; }
  .hero { padding: 40px 0 64px; }
  .hero .lead { font-size: 17px; }
  .cta-row .btn { width: 100%; }
  .onpage { gap: 0 20px; padding-top: 12px; }
  .onpage-label { width: 100%; }
  .onpage ul { gap: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .balance-bar { flex-direction: column; align-items: stretch; }
  .balance-intro { flex: none; }
  .reg-row .fold { display: block; margin-top: 10px; }
  .reg-row .fold + .deeper { margin-top: 0; }
  .switch { display: grid; grid-template-columns: 1fr 1fr; }
  .switch button { padding: 8px 10px; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .promises a { font-size: 16px; }
  .chip { align-items: center; }
  .chip-link { align-items: center; }
  .chip-id { align-self: stretch; }
  .balance-grid { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .bcol { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
  .bcol-shared { border-left: 0; border-right: 0; }
  .bcol-them { order: -1; }
  .toolbar-label { width: 100%; }
  .words-toggle { padding-left: 0; }
  .trow { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 28px 0 28px 16px; }
  .trow-side { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
  .trow-side .rid { font-size: 22px; }
  .trow-side .c-who .cl { display: none; }
  .trow-title { font-size: 21px; margin-bottom: 16px; }
  .tgrid { grid-template-columns: minmax(0, 1fr); gap: 16px; grid-template-areas: "usual" "do" "pass" "fail" "res" "ev"; }
  .tgrid .c-fail { border-left: 0; padding-left: 0; }
  .hero .cta-row { flex-direction: column; }
  .reg-row .cells { grid-template-columns: minmax(0, 1fr); }
  .reg-row .c-id { grid-column: 1; }
  .reg-row .c-who { grid-column: 1; grid-row: 1; justify-self: end; }
  .record { grid-template-columns: minmax(0, 1fr); }
  .record div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .record-card { border: 0; background: transparent; padding: 12px 0 0; border-top: 1px solid var(--line); border-radius: 0; }
  .stays, .records { grid-template-columns: minmax(0, 1fr); }
  .slot { min-height: 0; }
  .tenth-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tenth figcaption { padding-left: 0; }
  .log { padding: 4px 16px; }
  .log li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .decline-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  @page {
    size: A4; margin: 20mm 14mm 16mm;
    @top-left { content: "Risk register \00B7  Aikameva"; font: 500 8pt/1.2 "Spline Sans", Arial, sans-serif; color: #6E6E72; }
    @bottom-left { content: "aikameva.in \00B7  hello@aikameva.in"; font: 500 8pt/1.2 "Spline Sans", Arial, sans-serif; color: #6E6E72; }
    @bottom-right { content: counter(page); font: 500 8pt/1.2 "Spline Sans", Arial, sans-serif; color: #6E6E72; }
  }
  html, html[data-theme="dark"], html[data-theme="light"] {
    --bg: #F7F6F3; --surface: #F7F6F3; --band: #F7F6F3; --text: #0B0B0C; --muted: #6E6E72;
    --line: #DAD8D2; --line-strong: #0B0B0C; --dash: #6E6E72; --gold-text: #0B0B0C; --gold-rule: #8F7220; --faint: #DAD8D2;
    --lab-deco: underline; --header-bg: #F7F6F3; --input-bg: #F7F6F3; color-scheme: light;
  }
  body { font-size: 10.5pt; line-height: 1.45; background: none; color: #0B0B0C; }
  .print-only { display: block; }
  .print-contact { margin-top: 8mm; border-top: 0.5pt solid #DAD8D2; padding-top: 3mm; font-size: 9pt; }
  .reg-head { position: static; }
  .site-header, .onpage, .toolbar, .switch, .cta-row, .section-records, .section-close, .site-footer, .skip,
  .js-only, .deeper summary, .balance-caption .cap-usual { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .section { padding: 10mm 0 0; border-top: 0; }
  h1 { font-size: 22pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 12pt; }
  .hero { padding: 0 0 6mm; }
  .hero-top { grid-template-columns: 1fr; gap: 4mm; padding-bottom: 6mm; }
  .hero h1 { max-width: none; }
  .hero .lead { font-size: 11pt; }
  .balance-grid { grid-template-columns: 1.2fr 0.8fr 1.2fr; }
  .balance .bcol-them .chip { border-color: #8F7220 !important; color: #0B0B0C !important; }
  .chips { gap: 1.5mm; }
  .chip-link { min-height: 0; }
  .balance .bcol-them .chip-id { background: #C9A227 !important; color: #0B0B0C !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .chip { font-size: 9pt; }
  .section-transfers { break-before: page; }
  .section-register { break-before: page; }
  .section-cost { break-before: page; }
  .trow, .reg-row, .stay, .record-card, .log li, .method li { break-inside: avoid; }
  .trow { grid-template-columns: 30mm 1fr; padding: 5mm 0; }
  .trow-title { font-size: 13pt; }
  .tgrid .c p { font-size: 10pt; }
  .hero-copy { grid-template-columns: 1fr; }
  .reg-head { display: grid; background: #F7F6F3; color: #0B0B0C; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .reg-row { border: 0; border-bottom: 0.5pt solid #DAD8D2; border-radius: 0; background: none; padding: 3mm 0; margin: 0; }
  .reg-head, .reg-row .cells { grid-template-columns: 12mm 1.1fr 1.5fr 18mm 1.3fr; column-gap: 3mm; }
  .reg-row .cl { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .reg-risk { font-size: 10pt; }
  .reg, .reg-row .c p { font-size: 9pt; }
  .deeper { margin: 2mm 0 0 15mm; }
  .deeper > p { font-size: 9pt; }
  .record-card { margin-left: 15mm; }
  .flag, [data-row]::before { display: none !important; }
  .fold { display: none !important; }
  .stays { grid-template-columns: repeat(2, 1fr); }
  .cost-grid { grid-template-columns: 1fr 1fr; gap: 8mm; }
  .controls-grid { grid-template-columns: 1fr; gap: 6mm; }
  .section-head, h2, h3, .eyebrow { break-after: avoid; page-break-after: avoid; }
  .stays, .method, .log { break-before: avoid; }
  .reg-row .c { overflow-wrap: anywhere; }
  .reg-row .ph-inline .ph-tag, .reg-row .todo .todo-tag { letter-spacing: 0.04em; }
  .cells-aik i:first-child { background: #C9A227 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cells-major i { background: #DAD8D2 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .plain-note, .log, .stay, .specimen { background: none; }
  a { color: inherit; text-decoration: none; }
  .src { border: 0; }
}
