/* The game's own site (sprint 1.3.7): the front door and the pages a school reads (help, privacy, terms).
   The game's gold reel on a dark header, and light warm paper below it: the front door and the reading pages alike (the
   owner's pick of 9 Oct 2026 on the look page: "B", light like a school website).
   Contrast checked for WCAG 2.1 AA; focus always visible; motion only when the device allows it. */
:root {
  --stage: #15110A; --panel: #211910; --panel2: #2B2115; --line: #3A2E1E;
  --gold: #E9AE42; --gold-bright: #F6C766; --gold-deep: #C2851B;
  --ink: #F4ECDB; --ink-dim: #CBBF9F;
  --paper: #FBF7EF; --paper-ink: #22190D; --paper-dim: #5E5340; --paper-line: #E4DACA; --paper-accent: #8A5A06;
  --card: #FFFFFF; --card-text: #4A3F2C; --icon-bg: #FFF1D6; --icon-ink: #9A680C; --input-line: #CDBEA4; --soft-line: #EFE6D6;
  --bad: #A3271A;
  --focus: #8A5A06;   /* on the light pages; the dark header and footer use the gold (below) */
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; }
/* THE FOOTER AT THE BOTTOM (his note of 21 Oct on the live not-found page: "how do we stop the footer of the page from being
   so high? It looks bad"). Every page on this file is a full-height column and the footer takes the space left above
   it: on a short page it sits at the bottom of the window, on a long one right after the content as before. Each
   child keeps its block width (width 100% with border-box = what a block gets, so a centred .wrap is unchanged); the
   skip link stays out of the column. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > :not(.skip) { width: 100%; flex: 0 0 auto; }
body > .foot { margin-top: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip, .doc a.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: var(--gold); color: #1A1206; font-weight: 700; }
.skip:focus { left: 16px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.pending { font-style: italic; }
/* A long email address may break anywhere: unbroken it was wider than a 320px phone and the page scrolled sideways. */
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ---- the header and footer every page shares ---- */
.top { border-bottom: 1px solid var(--line); background: var(--stage); color: var(--ink); --focus: #F6C766; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.top .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-dim); letter-spacing: .02em; }
.top nav { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 15px; }
.top nav a { color: var(--ink-dim); text-decoration: none; padding: 6px 2px; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 4px; }
.foot { border-top: 1px solid var(--line); background: var(--stage); color: var(--ink-dim); font-size: 14px; --focus: #F6C766; }
.foot .wrap { display: flex; gap: 8px 22px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 22px; }
.foot nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
/* .doc .foot a: on the reading pages the generic ".doc a" (brown, for the light paper) came later and won, putting brown
   footer links on the dark footer at 3.17:1 (access scan, 12 Oct 2026). The footer keeps its own colour, 10.3:1. */
.foot a, .doc .foot a { color: var(--ink-dim); }

/* ---- the front door ---- */
body.front { background: var(--paper); color: var(--paper-ink);
  background-image: radial-gradient(110% 70% at 50% 0%, rgba(233,174,66,.18) 0, transparent 62%); background-repeat: no-repeat; }
.hero { padding-top: 48px; padding-bottom: 28px; text-align: center; }
.hero h1 { margin: 0 0 10px; font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: -.01em; }
.hero p { margin: 0 auto; max-width: 640px; color: var(--paper-dim); font-size: 18px; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 18px; padding-bottom: 48px; }
.door { background: var(--card); border: 1px solid var(--paper-line); border-radius: 16px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 1px 3px rgba(60, 40, 10, .08); }
.door h2 { margin: 0; font-size: 22px; color: var(--paper-accent); }
.door p { margin: 0; color: var(--card-text); }
.door .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--icon-bg); color: var(--icon-ink); }
.door .icon svg { width: 26px; height: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px;
  border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; background: var(--gold); color: #1A1206; }
.btn:hover { background: var(--gold-bright); }
.btn.ghost { background: transparent; color: var(--paper-ink); border: 1px solid var(--input-line); }
.btn.ghost:hover { border-color: var(--gold-deep); color: var(--paper-accent); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.door label { font-weight: 600; font-size: 15px; }
.door input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--input-line); background: #FFFDF8;
  color: var(--paper-ink); font: inherit; font-size: 20px; letter-spacing: .18em; text-transform: uppercase; }
.door input::placeholder { color: #7A6E58; letter-spacing: .06em; text-transform: none; font-size: 16px; }
.door .msg { min-height: 1.5em; font-size: 15px; margin: 10px 0 0; }
.door .msg.ok { color: var(--paper-ink); }
.door .msg.bad { color: var(--bad); }
.door ul.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.door ul.links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--soft-line); text-decoration: none; color: var(--paper-ink); }
.door ul.links a:hover { color: var(--paper-accent); text-decoration: underline; }
.door .small { font-size: 14px; color: var(--paper-dim); }
.door .small a { color: var(--paper-accent); }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .hero { padding-top: 32px; } }

/* ---- the reading pages (help, how it teaches, privacy, terms) ---- */
body.doc { background: var(--paper); color: var(--paper-ink); }
.doc main { padding-top: 32px; padding-bottom: 56px; }
.doc article { max-width: 760px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.2; margin: 0 0 8px; }
.doc h2 { font-size: 23px; margin: 36px 0 8px; padding-top: 8px; border-top: 1px solid var(--paper-line); }
.doc h3 { font-size: 19px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--paper-ink); }
.doc .lede { font-size: 19px; color: var(--paper-dim); margin: 0 0 18px; }
.doc a { color: var(--paper-accent); }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--paper-line); }
.doc th { font-size: 14px; color: var(--paper-dim); text-transform: uppercase; letter-spacing: .04em; }
.doc .tablewrap { overflow-x: auto; }
.doc .note { background: #FFF1D6; border: 1px solid #EDCB8A; border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.doc .updated { color: var(--paper-dim); font-size: 15px; margin: 0 0 22px; }
.doc .draft { background: #FFE6DF; border: 1px solid #E8A795; border-radius: 12px; padding: 12px 16px; margin: 0 0 22px; font-weight: 600; }
.doc .toc { background: #FFFFFF; border: 1px solid var(--paper-line); border-radius: 12px; padding: 12px 18px; margin: 18px 0; }
.doc .toc ol { margin: 6px 0; padding-left: 22px; }
.doc ol li, .doc ul li { margin: 4px 0; }
.doc code { font-size: 15px; background: #F1E9DA; padding: 1px 5px; border-radius: 5px; }

/* ---- the school setup guides (/help/setup/<guide>/; cloud/school-setup-1012) ----
   Short numbered steps, the exact values to type in their own boxes, and labelled boxes. A box's meaning is always in its
   first words ("Check on your Canvas", "When it works:", "If it does not work:"); its edge only repeats it, in a shape of
   its own (double, solid or dashed), so nothing is told by colour alone. */
.doc .guides { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; margin: 0 0 14px; }
.doc .guides a[aria-current="page"] { color: var(--paper-ink); font-weight: 700; text-decoration-thickness: 2px; }
.doc ol.steps > li { margin: 8px 0; padding-left: 2px; }
.doc ol.steps > li::marker { font-weight: 700; color: var(--paper-accent); }
.doc .ui { font-weight: 700; }                /* a name on a screen: a field, a button, a tab */
.doc .quote { font-style: italic; }           /* words a screen shows, quoted */
.doc .small { font-size: 15px; color: var(--paper-dim); }
.doc .value { display: block; margin: 6px 0 4px; padding: 8px 12px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px;
  background: #F1E9DA; border: 1px solid var(--paper-line); border-radius: 8px; overflow-wrap: anywhere; }
.doc pre.value { white-space: pre-wrap; line-height: 1.5; }
.doc caption { text-align: left; font-weight: 700; padding: 0 0 6px; }
.doc th[scope="row"] { color: var(--paper-ink); font-size: 15.5px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.doc td code, .doc li code, .doc p code { overflow-wrap: anywhere; }   /* a long web address wraps on a phone */
.doc .box { background: var(--card); border: 1px solid var(--paper-line); border-radius: 12px; padding: 12px 16px; margin: 14px 0 18px; }
.doc .box > :last-child { margin-bottom: 0; }
.doc .box .label { display: block; font-weight: 700; margin-bottom: 4px; }
.doc .box.check { border-left: 6px double var(--gold-deep); }   /* "Check on your ...": not yet done on a live system */
.doc .box.works { border-left: 6px solid #2E7D4F; }            /* "When it works:" */
.doc .box.fails { border-left: 6px dashed var(--bad); }         /* "If it does not work:" */
.doc .box.about { border-left: 6px solid var(--gold); }
/* The troubleshooting tables keep each code whole (it is typed into a search or read out to us): on a small screen the
   table scrolls sideways inside its own box, which takes keyboard focus; the page itself never does. */
.doc .scroll { overflow-x: auto; margin: 8px 0 18px; }
.doc .scroll table { margin: 0; min-width: 640px; }
.doc .scroll td:first-child code { white-space: nowrap; overflow-wrap: normal; }

/* A link that stands alone (header, footer, contents list, row of guides) is at least 24px tall for a mouse too: WCAG 2.5.8 (22 Nov check at 390 wide:
   footer and help links were 20 to 22px). The 44px touch rule below stays. */
.top nav a, .foot a, .toc a, #playLink, .doc .guides a { display: inline-flex; align-items: center; min-height: 24px; }
/* The same floor for the other links that stand on a line of their own: a list of links on a plain page (the not-found page), and a lone link in a paragraph. */
.doc article > ul > li > a, .doc article > p.more > a:only-child, .doc .crumbs a, .doc li > a:only-child { display: inline-flex; align-items: center; min-height: 24px; }
/* OUR RULE: on a touch screen every link a finger aims at on its own is at least 44px tall: the header and footer
   links (35 and 22px), the help page's "On this page" list (20px), "No code? You can still play." (17px) and the setup
   guides' row of links to each other (23px).
   Links inside a sentence keep the sentence's height (WCAG 2.5.8 excepts them). Touch only: a mouse layout is unchanged. */
@media (pointer: coarse) {
  .top nav a, .foot a, .toc a, #playLink, .doc .guides a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot nav a { min-width: 44px; justify-content: center; }
  .toc li { margin: 0; }
}
@media (prefers-reduced-motion: no-preference) { .btn, .door ul.links a, .top nav a { transition: color .15s ease, background-color .15s ease, border-color .15s ease; } }
@media print { .top nav, .foot, .skip { display: none; } body.doc { background: #fff; } }
/* The privacy pack (sprint 1.4.13) prints on two pages for a school's reviewer: tighter type and spacing on paper only. */
@media print {
  @page { margin: 14mm 16mm; }
  body.pack { font-size: 10.5pt; line-height: 1.35; }
  body.pack .top { padding: 0; }
  body.pack h1 { font-size: 18pt; margin: 0 0 4pt; }
  body.pack h2 { font-size: 12.5pt; margin: 10pt 0 2pt; padding-top: 4pt; }
  body.pack h3 { font-size: 11pt; margin: 6pt 0 2pt; }
  body.pack p, body.pack ul { margin: 2pt 0 4pt; }
  body.pack li { margin: 0 0 1pt; }
  body.pack .draft { padding: 4pt 6pt; }
}

/* ---- LOOK PASS 3 (his ask of 2 Nov: "make the website look a lot better and less like an AI site") ----
   Kit/Client Lane/site-look-r3-PLAN.md. A film studio's screening room: serif headings set left, a dark stage band for
   the opening of a page, blocks parted by rules and space instead of boxed cards; no icon tiles, no glow, no shadows.
   Fonts are the device's own (Palatino, Iowan, Georgia): nothing is fetched and nothing is sent to a font service. */
:root { --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, serif; }
.front h1, .front h2, .front h3, .doc h1, .doc h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.012em; }
.top .brand span { font-family: var(--serif); font-size: 19px; letter-spacing: -.005em; }
.btn { border-radius: 6px; }
.door input { border-radius: 6px; }

/* the front door: the opening is a dark stage, set left; the three doors are columns parted by rules, not cards */
body.front { background-image: none; }
.front .hero { position: relative; text-align: left; color: var(--ink); padding-top: 64px; padding-bottom: 56px;
  background: var(--stage); box-shadow: 0 0 0 100vmax var(--stage); clip-path: inset(0 -100vmax); }
.front .hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; max-width: 13ch; margin-bottom: 18px; color: var(--ink); }
.front .hero p { margin: 0; max-width: 560px; color: var(--ink-dim); font-size: 19px; }
/* the front door's opening shows a real game on the right, fading into the stage (decoration: the words carry the page) */
body.front:not(.fs) .hero { background: linear-gradient(90deg, var(--stage) 38%, rgba(21,17,10,.55) 62%, rgba(21,17,10,.15)), url(/for-schools/peppered-moth.jpg) right center / auto 100% no-repeat, var(--stage); }
@media (max-width: 760px) { body.front:not(.fs) .hero { background: var(--stage); } }
.front .hero::after { content: ""; display: block; width: 72px; height: 4px; background: var(--gold); margin-top: 28px; }
.doors { gap: 0; padding-top: 40px; }
.door { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 4px 28px 8px; border-left: 1px solid var(--paper-line); }
.door:first-child { border-left: 0; padding-left: 0; }
.door:last-child { padding-right: 0; }
.door h2 { color: var(--paper-ink); font-size: 27px; }
.door .icon { display: none; }
@media (max-width: 900px) {
  .doors { padding-top: 24px; }
  .door { border-left: 0; padding: 26px 0; border-top: 1px solid var(--paper-line); }
  .door:first-child { border-top: 0; padding-top: 6px; }
}

/* the reading pages: the same serif headings */
.doc h1 { font-size: clamp(32px, 4.6vw, 44px); line-height: 1.1; }

/* outline buttons on the dark stage: light words and a warm line, whatever page they sit on (his note 2 Nov: dark words on the dark band) */
.front .hero .btn.ghost { color: var(--ink); border-color: #6B5A3E; background: transparent; }
.front .hero .btn.ghost:hover { color: var(--gold-bright); border-color: var(--gold); }

/* THE HELP CENTRE (4 Nov, his pick; the design pass of 5 Nov, his A on help-centre-look, Kit/Client Lane/help-design-pass/
   SPEC.md): /help/ is a search, the four start steps and six groups parted by rules (no boxed cards, look pass 3); an
   article is its lead, steps with a picture of the screen where it helps, its boxes, up to three related links, and for a
   guide the guide's list in a side column (under the article on a phone). Colours are the site's tokens; the two picture
   frame colours are the only new ones. */
:root { --shot-bg: #0E1117; --shot-line: #2A2F3A; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.doc .hub { max-width: 1060px; }
.doc .hub .lede { max-width: 60ch; }
.doc .search { display: flex; max-width: 620px; margin: 4px 0 8px; }
.doc .search[hidden] { display: none; }
.doc .search input { flex: 1; min-width: 0; font: 17px var(--sans); padding: 12px 14px; border: 1px solid var(--input-line); border-right: 0;
  border-radius: 6px 0 0 6px; background: var(--card); color: var(--paper-ink); }
.doc .search input:focus-visible, .doc .search button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.doc .search button { font: 700 16px var(--sans); padding: 0 18px; border: 0; border-radius: 0 6px 6px 0; background: var(--gold); color: #1A1206; cursor: pointer; }
.doc .hits { font-size: 15px; color: var(--paper-dim); margin: 0 0 12px; }
.doc ul.found { list-style: none; padding: 0; margin: 0 0 24px; max-width: 620px; border-top: 1px solid var(--paper-line); }
.doc ul.found li { margin: 0; border-bottom: 1px solid var(--paper-line); padding: 9px 0; }
.doc ul.found small { color: var(--paper-dim); margin-left: 8px; font-size: 14.5px; }
.doc .path { border-top: 3px solid var(--gold); padding-top: 16px; margin: 18px 0 30px; }
.doc .path h2 { margin: 0 0 4px; padding: 0; border: 0; font-size: 24px; }
.doc .path > p { margin: 0 0 12px; color: var(--paper-dim); }
.doc .path ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.doc .path li { counter-increment: s; margin: 0; padding: 0 18px 0 0; display: grid; gap: 4px; align-content: start; }
.doc .path li + li { padding-left: 18px; border-left: 1px solid var(--paper-line); }
.doc .path li::before { content: counter(s); font: 700 15px var(--sans); width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--paper-accent); color: var(--paper-accent); display: grid; place-items: center; }
.doc .path li a { font-weight: 700; }
.doc .path li span { font-size: 15px; color: var(--paper-dim); }
.doc .groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); }
.doc .group { padding: 18px 22px 14px 0; border-bottom: 1px solid var(--paper-line); min-width: 0; }
.doc .group:not(:nth-child(3n+1)) { padding-left: 22px; border-left: 1px solid var(--paper-line); }
.doc .group h2 { margin: 0 0 6px; padding: 0; border: 0; font-size: 21px; }
.doc .group ul { list-style: none; padding: 0; margin: 0; }
.doc .group li { margin: 0; padding: 5px 0; }
.doc .foothelp { margin: 24px 0 0; font-size: 15px; color: var(--paper-dim); }
.doc .crumbs { font-size: 15px; color: var(--paper-dim); margin: 0 0 6px; }
.doc .art { display: grid; grid-template-columns: minmax(0, 760px) 240px; gap: 44px; align-items: start; }
.doc .art > article { max-width: none; min-width: 0; }
.doc .art.solo { grid-template-columns: minmax(0, 760px); }
.doc .need { font-size: 16px; margin: 0 0 22px; padding: 10px 14px; border-left: 4px solid var(--gold); background: var(--icon-bg); }
.doc ol.steps { list-style: none; counter-reset: st; padding: 0; margin: 12px 0; }
.doc ol.steps > li { counter-increment: st; position: relative; margin: 0 0 18px; padding-left: 46px; min-height: 32px; }
.doc ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper-accent); color: #FFFFFF; font: 700 16px var(--sans); display: grid; place-items: center; }
.doc figure.shot { margin: 10px 0 4px; }
.doc figure.shot img { display: block; box-sizing: border-box; width: auto; max-width: 100%; height: auto; background: var(--shot-bg); border: 1px solid var(--shot-line); border-radius: 10px; padding: 6px; box-shadow: none; }
.doc ol.steps li figure.shot { margin: 10px 0 6px; }
.doc figure.shot { margin-left: 46px; }
.doc ol.steps li figure.shot, .doc .box figure.shot, .doc .shots3 figure.shot { margin-left: 0; }
.doc figure.shot a { display: inline-block; max-width: 100%; }
.doc figure.shot a:focus-visible { outline: 3px solid var(--paper-accent); outline-offset: 3px; border-radius: 10px; }
.doc figure.shot.light img { background: transparent; padding: 0; border: 1px solid var(--paper-line); }
@media (max-width: 600px) {
  .doc figure.shot { margin-left: 0; }
  .doc ol.steps li figure.shot { margin-left: -46px; }
}
.doc .shots3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0 4px; }
.doc .shots3 figure.shot { margin: 0; }
@media (max-width: 600px) { .doc .shots3 { grid-template-columns: 1fr; } }
.doc figure.shot figcaption { font-size: 14.5px; color: var(--paper-dim); margin-top: 6px; }
.doc .box.example { border-left: 6px solid var(--gold); }
.doc .related { margin: 30px 0 0; padding-top: 14px; border-top: 1px solid var(--paper-line); }
.doc .related h2 { font-size: 20px; margin: 0 0 6px; padding: 0; border: 0; }
.doc .related ul { margin: 0; padding-left: 20px; }
.doc .next { font-weight: 700; margin: 16px 0 8px; }
.doc aside.guide { position: sticky; top: 16px; font-size: 15px; border-left: 1px solid var(--paper-line); padding-left: 18px; margin-top: 8px; }
.doc aside.guide strong { font-family: var(--serif, Georgia, serif); font-size: 17px; display: block; margin-bottom: 6px; }
.doc aside.guide ol { margin: 0; padding-left: 20px; }
.doc aside.guide li { margin: 5px 0; }
.doc aside.guide a[aria-current="page"] { color: var(--paper-ink); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .doc .art { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .doc aside.guide { position: static; border-left: 0; border-top: 1px solid var(--paper-line); padding: 14px 0 0; }
  .doc .path ol, .doc .groups { grid-template-columns: minmax(0, 1fr); }
  .doc .path li, .doc .path li + li { padding: 10px 0; border-left: 0; border-top: 1px solid var(--paper-line); grid-template-columns: 36px 1fr; }
  .doc .path li::before { grid-row: 1 / span 2; }
  .doc .group, .doc .group:not(:nth-child(3n+1)) { padding: 14px 0; border-left: 0; }
}
@media (pointer: coarse) { .doc aside.guide a, .doc .group a, .doc ul.found a, .doc .related a { display: inline-flex; align-items: center; min-height: 44px; } }
