/*
 * annotate · magic-mushroom.co.uk
 * 1. Concept: an annotated legislation reader as a web app. The statute itself is the page; the phrases that decide
 *    cases are highlighted and open plain-English notes, like a shared document with comments.
 * 2. Type: Merriweather (statute text and headings, a screen serif built for reading) + Work Sans (interface and prose).
 * 3. Palette: paper #f4f3ee, sheet #ffffff, ink #16181d, slate #565c68, Commons green #0b5d47,
 *    marker #ffe27a (highlights), repeal red #a8261d (struck-through law).
 * 4. Layout signature: three-pane reader (outline · document · annotation rail); on phones the notes rise as a bottom
 *    sheet; a "Today / Before 18 July 2005" switch strikes through what was not yet law.
 * 5. Finishing detail: numbered marker highlights with a green superscript dot, mirrored by numbered notes without JS.
 */
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/merriweather-normal-400-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/merriweather-normal-400-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/merriweather-italic-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/merriweather-italic-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/work-sans-normal-400-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/work-sans-normal-400-600-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f4f3ee; --sheet: #fff; --ink: #16181d; --slate: #565c68; --rule: #dedcd3; --rule2: #ebe9e2;
  --green: #0b5d47; --green-t: #e3efe9; --marker: #ffe27a; --marker2: #f6c63d; --red: #a8261d; --red-t: #f8e6e3;
  --serif: "Merriweather", Georgia, serif; --sans: "Work Sans", system-ui, sans-serif;
  --r: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 8px; }

/* App bar */
.appbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
.appbar-in { max-width: 1440px; margin: 0 auto; padding: .6rem 1rem; display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 34px; height: 34px; }
.brand-name { font: 700 1.02rem/1.1 var(--serif); white-space: nowrap; }
.brand-chip { display: none; font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); border: 1px solid var(--rule); border-radius: 99px; padding: .15rem .55rem; }
.tabs { display: none; }
.checked { display: none; margin-left: auto; font-size: .8rem; color: var(--slate); white-space: nowrap; align-items: center; gap: .4rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 500; font-size: .95rem; padding: .4rem .8rem; border: 1px solid var(--rule); border-radius: 99px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: .4rem; min-width: 230px; box-shadow: 0 10px 30px rgba(22,24,29,.12); }
.menu nav a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.menu nav a[aria-current] { background: var(--green-t); color: var(--green); font-weight: 600; }

/* Era switch (radio inputs live at body level so :has() can restyle every passage) */
.era-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.era { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin: 0 0 1rem; }
.era-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); }
.seg { display: inline-flex; background: var(--rule2); border-radius: 99px; padding: 3px; }
.seg label { cursor: pointer; padding: .4rem .9rem; border-radius: 99px; font-size: .9rem; font-weight: 500; color: var(--slate); }
body:has(#era-now:checked) .seg label[for="era-now"], body:has(#era-then:checked) .seg label[for="era-then"] { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 3px rgba(22,24,29,.16); }
body:has(#era-then:checked) .seg label[for="era-then"] { color: var(--red); }
body:has(#era-now:focus-visible) .seg label[for="era-now"], body:has(#era-then:focus-visible) .seg label[for="era-then"] { outline: 3px solid var(--green); outline-offset: 1px; }

/* Shell: outline · document · rail */
.shell { max-width: 1440px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.outline-h, .outline-list { display: none; }
.crumb { font-size: .85rem; color: var(--slate); margin: 0 0 .5rem; }
.crumb a { color: var(--slate); }
.doc { min-width: 0; }
.doc-head { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.4rem 1.2rem 1.2rem; margin-bottom: 1rem; }
.kicker { margin: 0 0 .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
h1 { font: 700 clamp(1.7rem, 5.4vw, 2.6rem)/1.18 var(--serif); margin: 0 0 .9rem; letter-spacing: -.01em; text-wrap: balance; }
.lede p { margin: 0; font-size: 1.12rem; line-height: 1.6; max-width: 68ch; }
.stamp { margin: .9rem 0 0; font-size: .82rem; color: var(--slate); }

/* Passages */
.reader { margin-bottom: 1.5rem; }
.passage { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); margin: 0 0 1rem; overflow: hidden; }
.passage-head { padding: 1rem 1.2rem .8rem; border-bottom: 1px solid var(--rule2); }
.act { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.where { font: 700 1.12rem/1.35 var(--serif); margin: .2rem 0 .55rem; }
.meta { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; font-size: .82rem; }
.status { display: inline-flex; align-items: baseline; gap: .45rem; color: var(--green); font-weight: 500; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; transform: translateY(-1px); }
.st-then { display: none; }
.src::after { content: " \2197"; }
.text { padding: 1rem 1.2rem .4rem; counter-reset: ln; }
.ln { position: relative; margin: 0 0 .9rem; padding-left: 2.1rem; font: 400 1rem/1.85 var(--serif); }
.ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; top: .2rem; width: 1.4rem; text-align: right; font: 500 .72rem/1.6 var(--sans); color: #8b9099; }
.ln.is-muted { color: var(--slate); }
.ins-tag, .then-tag { display: inline-block; vertical-align: .1em; margin-left: .3rem; font: 600 .68rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: .3rem .45rem; border-radius: 5px; background: var(--green-t); color: var(--green); white-space: nowrap; }
.then-tag { display: none; background: var(--red-t); color: var(--red); }
.hl { color: inherit; text-decoration: none; cursor: pointer; }
.hl mark { background: var(--marker); color: inherit; padding: .08em .12em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color .15s; }
.hl sup { display: inline-grid; place-items: center; min-width: 1.2rem; height: 1.2rem; margin-left: .15rem; border-radius: 99px; background: var(--green); color: #fff; font: 600 .66rem/1 var(--sans); vertical-align: .55em; }
.hl:hover mark, .hl.is-active mark { background: var(--marker2); }
.hl.is-active mark { box-shadow: 0 0 0 2px var(--ink); }
.notes { margin: 0; padding: .9rem 1.2rem 1rem 2.6rem; border-top: 1px dashed var(--rule); background: #fbfaf6; font-size: .95rem; }
.notes li { margin: 0 0 .8rem; padding-left: .2rem; }
.notes li::marker { font-weight: 600; color: var(--green); }
.notes li:target { background: var(--marker); border-radius: 6px; }
.note-phrase { margin: 0; font-weight: 600; }
.note-body, .note-src { margin: .15rem 0 0; }
.js .notes { display: none; }

/* Before 2005 view */
body:has(#era-then:checked) .ln.is-after, body:has(#era-then:checked) .passage.is-after .ln { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; color: var(--slate); }
body:has(#era-then:checked) .ln.is-after mark, body:has(#era-then:checked) .passage.is-after mark { background: transparent; }
body:has(#era-then:checked) .passage.is-after .status, body:has(#era-then:checked) .ln.is-after .ins-tag { color: var(--red); background: var(--red-t); }
body:has(#era-then:checked) .passage.is-after .st-now { display: none; }
body:has(#era-then:checked) .passage.is-after .st-then { display: inline; }
body:has(#era-then:checked) .then-tag { display: inline-block; }
body:has(#era-then:checked) .ln.is-focus-then { background: var(--red-t); border-radius: 6px; box-shadow: -.5rem 0 0 var(--red-t), .5rem 0 0 var(--red-t); }
body:has(#era-then:checked) .passage.is-after { border-style: dashed; }

/* Prose */
.prose { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.3rem 1.2rem 1.6rem; }
.prose > * { max-width: 70ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 700 1.45rem/1.3 var(--serif); margin: 2.2rem 0 .7rem; text-wrap: balance; }
.prose h3 { font: 600 1.12rem/1.35 var(--sans); margin: 1.6rem 0 .4rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.2rem 0; padding: .8rem 1rem; border-left: 4px solid var(--marker2); background: #fbfaf6; font-family: var(--serif); }
.prose figure { margin: 1.4rem 0; }
.prose figure img { width: 160px; }
.table { overflow-x: auto; margin: 1.2rem 0 1.4rem; max-width: 100%; border: 1px solid var(--rule); border-radius: 10px; }
.prose .table { max-width: none; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid var(--rule2); }
th { background: #f7f6f1; font-weight: 600; font-size: .82rem; letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 500; min-width: 9rem; }

/* Product cards */
.products { display: grid; gap: .8rem; margin: 1.2rem 0 1.6rem; max-width: none !important; }
.product-feature { margin: 1.2rem 0 1.6rem; max-width: 30rem !important; }
.pc { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: center; background: var(--sheet); border: 1px solid var(--rule); border-radius: 12px; padding: .7rem; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.pc:hover { border-color: var(--green); }
.pc-img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #f2f1ec; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.pc-tag { align-self: flex-start; font: 600 .64rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--green-t); padding: .25rem .4rem; border-radius: 4px; }
.pc-name { font: 700 .98rem/1.3 var(--serif); }
.pc-meta { display: flex; gap: .6rem; align-items: baseline; font-size: .85rem; color: var(--slate); }
.pc-price { font-weight: 600; color: var(--ink); font-size: .95rem; }
.pc-btn { align-self: flex-start; margin-top: .3rem; font-size: .85rem; font-weight: 600; color: var(--green); }
.pc-btn::after { content: " \2192"; }
.pc.is-single { grid-template-columns: 120px 1fr; }
.products .pc { grid-template-columns: 1fr; align-items: stretch; padding: .6rem .6rem .9rem; }
.products .pc-img { aspect-ratio: 4 / 3; }
.products .pc-body { padding: 0 .3rem; }

/* Rail cards */
.rail { margin-top: 1rem; }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.card-k { margin: 0 0 .35rem; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.card-t { margin: 0 0 .3rem; font: 700 1.05rem/1.35 var(--serif); }
.card p { font-size: .95rem; }
.how-demo { font-family: var(--serif); }
.how-demo mark { background: var(--marker); padding: .05em .15em; border-radius: 3px; }
.how-demo sup { display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 99px; background: var(--green); color: #fff; font: 600 .64rem/1 var(--sans); margin-left: .15rem; }
.shop-note { margin: 0 0 .8rem; color: var(--slate); }
.ctas { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; }
.btn, .btn-ghost { display: inline-block; padding: .6rem 1rem; border-radius: 99px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.btn { background: var(--green); color: #fff; }
.btn:hover { background: #084836; }
.btn-ghost { border: 1px solid var(--rule); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); }
.note-card { display: none; position: relative; }
.note-card:focus { outline: none; }
.note-q { margin: .2rem 0 .7rem; padding: .5rem .7rem; font: 400 1rem/1.6 var(--serif); background: var(--marker); border-radius: 6px; }
.note-content p { margin: 0 0 .6rem; }
.note-nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--rule2); }
.note-nav button, .nb-close { font: 500 .85rem var(--sans); background: none; border: 1px solid var(--rule); border-radius: 99px; padding: .4rem .8rem; cursor: pointer; color: var(--ink); }
.nb-count { font-size: .8rem; color: var(--slate); }
.nb-close { position: absolute; top: .6rem; right: .6rem; width: 2.2rem; height: 2.2rem; padding: 0; font-size: 1.2rem; line-height: 1; }
.sheet-scrim { position: fixed; inset: 0; background: rgba(22,24,29,.35); z-index: 39; }

/* Parts index and pager */
.parts { margin-top: 1.5rem; }
.parts h2 { font: 700 1.3rem var(--serif); margin: 0 0 .8rem; }
.parts ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.parts a { display: grid; gap: .2rem; height: 100%; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: .9rem 1rem; text-decoration: none; color: var(--ink); }
.parts a:hover { border-color: var(--green); }
.part-no { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.part-t { font: 700 1.02rem/1.35 var(--serif); }
.part-d { font-size: .9rem; color: var(--slate); }
.pager { display: grid; gap: .7rem; margin-top: 1.2rem; }
.pager a { display: block; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: .8rem 1rem; text-decoration: none; color: var(--ink); font: 700 1rem var(--serif); }
.pager a span { display: block; font: 600 .74rem var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--green); margin-bottom: .2rem; }
.pg-next { text-align: right; }

/* Footer */
.foot { border-top: 1px solid var(--rule); background: var(--sheet); }
.foot-in { max-width: 1440px; margin: 0 auto; padding: 2rem 1rem 2.5rem; display: grid; gap: 1.5rem; font-size: .9rem; }
.foot-brand img { width: 40px; height: 40px; }
.foot-name { font: 700 1.05rem var(--serif); margin: .5rem 0 .3rem; }
.foot-disc { margin: 0; color: var(--slate); max-width: 52ch; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-content: flex-start; }
.foot-nav a { color: var(--ink); }
.foot-pub { display: flex; gap: .8rem; align-items: center; }
.foot-pub img { width: 72px; height: auto; flex: none; }
.foot-pub p { margin: 0; color: var(--slate); }

/* Phones and tablets: notes rise as a bottom sheet */
@media (max-width: 1099px) {
  .js .note-card { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; max-height: 72vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 1.3rem 1.2rem 1.4rem; box-shadow: 0 -12px 40px rgba(22,24,29,.2); transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .js body.note-open .note-card { transform: none; visibility: visible; transition: transform .25s ease; }
  .js .note-card .note-empty { display: none; }
  .note-card::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--rule); margin: -.6rem auto .8rem; }
}
@media (min-width: 640px) {
  .shell { padding: 1.5rem 1.5rem 3rem; }
  .doc-head, .prose { padding: 1.8rem 2rem 2rem; }
  .passage-head, .text { padding-left: 2rem; padding-right: 2rem; }
  .notes { padding-left: 3.4rem; }
  .products { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .parts ol, .pager { grid-template-columns: 1fr 1fr; }
  .pg-next:only-child { grid-column: 2; }
  .brand-chip { display: inline-block; }
  .foot-in { grid-template-columns: 1.3fr 1fr 1.2fr; padding: 2.5rem 1.5rem 3rem; }
}
@media (min-width: 900px) {
  .tabs { display: flex; gap: .2rem; margin-left: 1rem; overflow-x: auto; }
  .tabs a { padding: .45rem .75rem; border-radius: 8px; color: var(--slate); text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap; }
  .tabs a:hover { background: var(--paper); color: var(--ink); }
  .tabs a[aria-current] { color: var(--green); background: var(--green-t); }
  .menu { display: none; }
  .checked { display: inline-flex; }
  .ln { font-size: 1.06rem; }
}
@media (min-width: 1100px) {
  .shell { display: grid; grid-template-columns: 220px minmax(0, 1fr) 320px; gap: 2rem; align-items: start; padding-top: 2rem; }
  .outline-in { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-right: .3rem; }
  .outline-h { display: block; margin: 1rem 0 .4rem; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
  .outline-h:first-of-type { margin-top: 0; }
  .crumb + .outline-h { margin-top: 1rem; }
  .outline-list { display: block; list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
  .outline-list a { display: block; padding: .35rem 0 .35rem .8rem; margin-left: -2px; border-left: 2px solid transparent; font-size: .86rem; line-height: 1.4; color: var(--slate); text-decoration: none; }
  .outline-list a:hover { color: var(--ink); border-left-color: var(--green); }
  .ol-no { font-weight: 600; color: var(--green); margin-right: .45rem; }
  .ol-act { display: block; font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; }
  .ol-where { display: block; color: var(--ink); }
  .rail { margin-top: 0; align-self: stretch; }
  .outline { align-self: stretch; }
  .rail-in { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
  .js .note-card { display: block; }
  .shop-card .pc.is-single { grid-template-columns: 84px 1fr; }
  .sheet-scrim { display: none; }
  .appbar-in, .foot-in { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1300px) {
  .shell { grid-template-columns: 240px minmax(0, 760px) 340px; justify-content: center; gap: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .appbar, .rail, .outline, .pager, .foot-nav { display: none; }
  .js .notes { display: block; }
}
.note-where { padding-right: 2.6rem; }
