/* Carry or Stay (laptopdesktop.org) v1.0: "Two rooms" design system. Domine + Fustat, warm paper, terracotta = carry,
   deep teal = stay. Written fresh for this site (SPEC 5). No inline styles anywhere (CSP style-src 'self'). */
@font-face { font-family: "Domine"; src: url("/assets/fonts/domine-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Fustat"; src: url("/assets/fonts/fustat-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --paper: #F5EFE4; --paper-2: #ECE2D0; --sheet: #FFFCF6; --ink: #1D2433; --ink-2: #4A5266; --ink-3: #6B7183;
  --line: #D8CBB3; --line-2: #E7DDCB;
  --carry: #B5502F; --carry-deep: #8E3A20; --carry-soft: #F4DCCF;
  --stay: #1D6B70; --stay-deep: #134D51; --stay-soft: #D2E6E4;
  --gold: #B8862A;
  --serif: "Domine", Georgia, "Times New Roman", serif;
  --sans: "Fustat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px; --r-lg: 22px; --gut: 24px; --max: 1180px;
  --shadow: 0 1px 0 rgba(29, 36, 51, .05), 0 12px 32px -18px rgba(29, 36, 51, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-feature-settings: "tnum" 0; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--stay-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--carry-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .9rem; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 40rem; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.carry { color: var(--carry); } .stay { color: var(--stay); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--carry { background: var(--carry); color: #fff; }
.btn--carry:hover { background: var(--carry-deep); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn--danger { border-color: var(--carry-deep); color: var(--carry-deep); background: transparent; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--after { margin-top: 28px; }   /* Review LDO-V1: a button row under cards or the beam gets room above it */

/* header */
.top { background: var(--paper); border-bottom: 1px solid var(--line-2); position: relative; z-index: 10; }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__word { font: 700 1.3rem/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand__word i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--carry); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--sheet); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; box-shadow: var(--shadow); }
.menu__panel a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.menu__panel p { margin: 14px 0 0; color: var(--ink-3); font-size: .9rem; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.hero__copy { max-width: 48rem; }
.hero h1 em { font-style: normal; color: var(--carry); }
.hero h1 strong { color: var(--stay); font-weight: 700; }
.hero__price { margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
.rooms { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.room { padding: clamp(24px, 4vw, 48px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.room--carry { background: var(--carry-soft); color: var(--carry-deep); }
.room--stay { background: var(--stay-soft); color: var(--stay-deep); text-align: right; align-items: flex-end; }
.room__word { font: 700 clamp(2.4rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.02em; }
.room__art { width: min(100%, 300px); height: auto; color: currentColor; }
.room p { margin: 0; max-width: 22rem; color: var(--ink-2); }
.rooms__beam { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--sheet); border-radius: 999px; padding: 10px 18px;
  font: 700 .95rem/1 var(--serif); box-shadow: var(--shadow); white-space: nowrap; }

/* sections */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band--sheet { background: var(--sheet); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.band--ink { background: var(--ink); color: #F1EADD; }
.band--ink h2, .band--ink h3 { color: #fff; }
.band--ink .muted, .band--ink p { color: #C9C3B6; }
/* Review LDO-L1: the page link colour (deep teal) disappears on navy; links on the dark band are a light teal instead.
   Buttons keep their own colours, and the light plan cards on this band keep the normal link colour. */
.band--ink a:not(.btn) { color: #9FDCD6; }
.band--ink a:not(.btn):hover { color: #F4C2AD; }
.band--ink .plan a:not(.btn) { color: var(--stay-deep); }
.band__head { max-width: 44rem; margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 2.4rem/1 var(--serif); color: var(--carry); margin-bottom: 12px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--ink-2); margin: 0; }

/* lineup of five forms */
.lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.lineup li { background: var(--paper); border-radius: var(--r); padding: 22px 18px; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.lineup svg { width: 100%; height: 92px; color: var(--ink); }
.lineup h3 { margin: 0; font-size: 1.08rem; }
.lineup p { margin: 0; font-size: .94rem; color: var(--ink-2); }
.side { display: inline-block; align-self: flex-start; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.side--carry { background: var(--carry-soft); color: var(--carry-deep); }
.side--stay { background: var(--stay-soft); color: var(--stay-deep); }

/* the beam (Carry / Stay balance) */
.beam { margin: 24px 0 8px; }
.beam__ends { display: flex; justify-content: space-between; font: 700 1rem/1 var(--serif); margin-bottom: 10px; }
.beam__track { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--carry) 0%, #D9B98F 50%, var(--stay) 100%); }
.beam__mark { position: absolute; top: 50%; width: 30px; height: 30px; margin-left: -15px; transform: translateY(-50%); border-radius: 50%; background: var(--sheet); border: 4px solid var(--ink); box-shadow: var(--shadow); }
.beam__mid { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 2px; background: var(--ink); opacity: .25; }
.at-0 { left: 0%; } .at-1 { left: 5%; } .at-2 { left: 10%; } .at-3 { left: 15%; } .at-4 { left: 20%; } .at-5 { left: 25%; } .at-6 { left: 30%; }
.at-7 { left: 35%; } .at-8 { left: 40%; } .at-9 { left: 45%; } .at-10 { left: 50%; } .at-11 { left: 55%; } .at-12 { left: 60%; } .at-13 { left: 65%; }
.at-14 { left: 70%; } .at-15 { left: 75%; } .at-16 { left: 80%; } .at-17 { left: 85%; } .at-18 { left: 90%; } .at-19 { left: 95%; } .at-20 { left: 100%; }

/* ranked forms with bars */
.ranks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rank { background: var(--sheet); border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px 18px; display: grid; grid-template-columns: 64px 1fr auto; gap: 6px 16px; align-items: center; }
.rank--top { border: 2px solid var(--ink); }
.rank svg { width: 64px; height: 48px; color: var(--ink); grid-row: span 2; }
.rank__name { font: 700 1.1rem/1.2 var(--serif); }
.rank__pts { font: 800 1.2rem/1 var(--sans); font-variant-numeric: tabular-nums; text-align: right; }
.rank__bar { grid-column: 2 / 4; height: 8px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.rank__bar span { display: block; height: 100%; border-radius: 999px; background: var(--ink); }
.rank__bar span.is-carry { background: var(--carry); } .rank__bar span.is-stay { background: var(--stay); }
.w-0 { width: 2%; } .w-1 { width: 5%; } .w-2 { width: 10%; } .w-3 { width: 15%; } .w-4 { width: 20%; } .w-5 { width: 25%; } .w-6 { width: 30%; }
.w-7 { width: 35%; } .w-8 { width: 40%; } .w-9 { width: 45%; } .w-10 { width: 50%; } .w-11 { width: 55%; } .w-12 { width: 60%; } .w-13 { width: 65%; }
.w-14 { width: 70%; } .w-15 { width: 75%; } .w-16 { width: 80%; } .w-17 { width: 85%; } .w-18 { width: 90%; } .w-19 { width: 95%; } .w-20 { width: 100%; }
.rank details { grid-column: 1 / 4; margin-top: 6px; }
.rank summary { cursor: pointer; font-weight: 700; color: var(--ink-2); font-size: .94rem; }
.why { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.why li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.why b { font-variant-numeric: tabular-nums; text-align: right; }
.why .up { color: var(--stay-deep); } .why .down { color: var(--carry-deep); }

/* result page */
.verdict { padding: clamp(36px, 6vw, 72px) 0 24px; }
.verdict__word { font: 700 clamp(3.4rem, 10vw, 7rem)/.95 var(--serif); letter-spacing: -.03em; margin: 0 0 12px; }
.verdict__word.is-carry { color: var(--carry); } .verdict__word.is-stay { color: var(--stay); } .verdict__word.is-both { color: var(--ink); }
.verdict__line { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 44rem; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sheet { background: var(--sheet); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); border-top: 8px solid var(--ink); }
.sheet h2 { font-size: 1.6rem; }
.spec { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line-2); }
.spec th { width: 30%; font: 700 .95rem/1.35 var(--sans); }
.spec td b { display: block; font-weight: 700; }
.spec td span { display: block; color: var(--ink-3); font-size: .92rem; margin-top: 2px; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--stay); border-bottom: 3px solid var(--stay); transform: rotate(-45deg); }
.ticks--carry li::before { border-color: var(--carry); }
.src { font-size: .92rem; }
.save { margin-top: 28px; background: var(--paper-2); border-radius: var(--r); padding: 22px; }
.save h3 { margin-bottom: .3em; }
.price-line { display: inline-block; font-weight: 700; background: var(--sheet); border: 1px dashed var(--gold); border-radius: 10px; padding: 6px 12px; font-size: .92rem; }
.field { display: grid; gap: 6px; margin: 14px 0; }
.field label { font-weight: 700; }
.field input[type=text] { font: inherit; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--sheet); width: 100%; max-width: 30rem; }
.field input[type=text]:focus { border-color: var(--ink); outline: none; }
.share { word-break: break-all; font-size: .88rem; }
.note { background: var(--stay-soft); color: var(--stay-deep); border-radius: var(--r); padding: 14px 18px; margin: 0 0 20px; font-weight: 600; }

/* chooser form */
.quiz { display: grid; gap: 20px; counter-reset: q; }
.q { border: 0; margin: 0; padding: 26px; background: var(--sheet); border-radius: var(--r-lg); border: 1px solid var(--line-2); counter-increment: q; }
.q legend { font: 700 1.25rem/1.3 var(--serif); padding: 0; margin-bottom: 4px; display: flex; gap: 14px; align-items: baseline; }
.q legend::before { content: counter(q, decimal-leading-zero); font: 800 .95rem/1 var(--sans); color: var(--carry); letter-spacing: .05em; }
.q__hint { color: var(--ink-3); font-size: .92rem; margin: 0 0 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tile { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--paper); font-weight: 600; line-height: 1.3; }
.tile input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); margin: 0; }
.tile:hover { border-color: var(--ink-2); }
.tile:has(input:checked) { border-color: var(--ink); background: var(--sheet); box-shadow: inset 0 0 0 1px var(--ink); }
.quiz__go { position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(245, 239, 228, 0), var(--paper) 30%); padding: 26px 0 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* tables (rules, compare, forms) */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--sheet); }
/* v1.0.3 (LDO-A11Y-TABLE): the wrapper is focusable so keyboard users can scroll a wide table; show where focus is */
.table-wrap:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.grid-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.grid-table th, .grid-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.grid-table thead th { background: var(--paper-2); font: 700 .85rem/1.2 var(--sans); letter-spacing: .04em; }
.grid-table td.n { text-align: center; font-variant-numeric: tabular-nums; font-weight: 700; }
.grid-table td.n.up { color: var(--stay-deep); } .grid-table td.n.down { color: var(--carry-deep); }
.grid-table tbody tr:last-child td { border-bottom: 0; }

/* five forms page */
.forms { display: grid; gap: 28px; }
.formcard { display: grid; grid-template-columns: 220px 1fr; gap: 28px; background: var(--sheet); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line-2); }
.formcard svg { width: 100%; height: 150px; color: var(--ink); }
.formcard dl { display: grid; grid-template-columns: 9rem 1fr; gap: 8px 16px; margin: 14px 0 0; }
.formcard dt { font-weight: 700; }
.formcard dd { margin: 0; color: var(--ink-2); }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; }
.plan { background: var(--sheet); border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line-2); position: relative; }
.plan--pass { border: 2px solid var(--ink); }
.plan__price { font: 700 2.6rem/1 var(--serif); margin: 10px 0 4px; }
.plan__price small { font: 600 1rem/1 var(--sans); color: var(--ink-3); }
.stamp { position: absolute; top: -14px; right: 22px; background: var(--gold); color: #fff; font: 800 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.band--ink .plan { color: var(--ink); }
.band--ink .plan p { color: var(--ink-2); }

/* folder */
.briefs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.briefs li { background: var(--sheet); border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px 18px; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; }
.briefs svg { width: 56px; height: 42px; color: var(--ink); }
.briefs a.name { font: 700 1.1rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.briefs a.name:hover { color: var(--carry-deep); }
.keybox { background: var(--carry-soft); color: var(--carry-deep); border-radius: var(--r); padding: 16px 18px; margin: 18px 0 26px; }
.danger { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 22px; }
.danger summary { cursor: pointer; font-weight: 700; color: var(--carry-deep); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.inline-form input[type=text] { font: inherit; min-height: 44px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 10px; background: var(--sheet); }

/* message + prose */
.msg { padding: clamp(48px, 8vw, 96px) var(--gut); max-width: 760px; }
.tag { display: inline-block; font: 800 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--stay-soft); color: var(--stay-deep); }
.tag--stop { background: var(--carry-soft); color: var(--carry-deep); }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.facts li { border-left: 3px solid var(--carry); padding: 4px 0 4px 16px; }
.facts b { display: block; font: 700 1.05rem/1.3 var(--serif); margin-bottom: 4px; }
.facts span { color: var(--ink-2); font-size: .95rem; }
.band--ink .facts span { color: #C9C3B6; }

/* footer */
.foot { background: var(--ink); color: #C9C3B6; padding: 56px 0 28px; font-size: .95rem; }
.foot a { color: #F1EADD; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8E95A6; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot .brand__word i { color: #8E95A6; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #39415A; margin-top: 40px; padding-top: 20px; }
.foot__base p { margin: 0; }
.dock { display: none; }

@media (max-width: 1040px) {
  .lineup { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .top__cta { display: none; }
  .menu { display: block; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .plans { grid-template-columns: 1fr; }
  .formcard { grid-template-columns: 1fr; }
  .formcard svg { height: 120px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --gut: 16px; }
  body { font-size: 1rem; }
  .top__in { min-height: 64px; gap: 12px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__word { font-size: 1.12rem; }
  .rooms { grid-template-columns: 1fr; }
  .room { min-height: 0; }
  .room--stay { text-align: left; align-items: flex-start; }
  .rooms__beam { position: static; transform: none; border-radius: 0; text-align: center; box-shadow: none; grid-row: 2; }
  .lineup { grid-template-columns: 1fr 1fr; }
  .q { padding: 20px 16px; }
  .tiles { grid-template-columns: 1fr; }
  .rank { grid-template-columns: 48px 1fr auto; padding: 14px; }
  .rank svg { width: 48px; height: 36px; }
  .briefs li { grid-template-columns: 1fr; }
  .briefs svg { display: none; }
  .formcard dl { grid-template-columns: 1fr; }
  .spec th, .spec td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .spec tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
  .facts { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .plan { padding: 26px 20px; }
  .dock { display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 20; }
  .dock .btn { width: 100%; box-shadow: var(--shadow); }
  .is-home .foot { padding-bottom: 96px; }
}
@media print {
  .top, .foot, .save, .no-print, .dock, .quiz__go { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .sheet { box-shadow: none; border: 1px solid #999; }
  .split { grid-template-columns: 1fr; }
  a { color: inherit; }
  .rank details { display: none; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
