/* The header and its menus: the playbook's B2 (Volume 3, Part B), on every
 * page, written by .github/scripts/chrome.mjs.
 *
 * Unlayered on purpose: theme.css (the site's older sheet) is unlayered and
 * styles .os-topbar, which this header still carries so that an
 * application's window can hide it (their sheets do, with !important), and
 * an unlayered rule beats any layered one. The selectors here start
 * "html .sh.sh" so they outrank theme.css's :root .os-topbar rules without
 * !important. Tokens from the design system (Part A).
 *
 * Sizes (B2.2): 64 px tall from 1024 px, 56 below; items 16 px at 500,
 * 12 px of padding, a 44 px hit area, 4 px apart. From 768 to 1023 Trust
 * moves into More; under 768 the bar is the logo, Search and Menu, and the
 * menu is a sheet from the right. The current section has a 2 px bar under
 * it (B2.7). Hover changes the background at once: nothing moves.
 */
html .sh.sh {
  position: sticky; top: 0; z-index: var(--z-sticky, 100);
  display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-1, 4px);
  box-sizing: border-box; width: 100%; max-width: none; height: 56px; min-height: 56px; margin: 0;
  padding: 0 var(--space-4, 16px);
  background: var(--color-bg); color: var(--color-text);
  border: 0; border-bottom: 1px solid var(--color-border-subtle); border-radius: 0;
  box-shadow: none; animation: none;
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.2;
}
@media (min-width: 1024px) { html .sh.sh { height: 64px; min-height: 64px; padding: 0 var(--space-10, 40px); } }
html { scroll-padding-top: 72px; }

html .sh.sh .sh-logo { display: inline-flex; align-items: center; gap: var(--space-2, 8px); min-height: 44px; color: var(--color-text); text-decoration: none; flex: none; }
html .sh.sh .sh-logo svg { width: 24px; height: 24px; }
html .sh.sh .site-logo__word { font: var(--weight-bold, 700) 1rem/1 var(--font-sans); letter-spacing: 0.04em; white-space: nowrap; }
@media (min-width: 768px) { html .sh.sh .sh-logo svg { width: 28px; height: 28px; } html .sh.sh .site-logo__word { font-size: 1.125rem; } }
/* The front door's cube (A1.4): the brand cube's three tones in CSS 3D,
   drawn to the same 24 px (28 px from 768) box as the flat mark. */
html .sh.sh .sh-logo .cube-hero { --cube-size: 14px; margin: 5px; }
@media (min-width: 768px) { html .sh.sh .sh-logo .cube-hero { --cube-size: 16px; margin: 6px; } }
html .sh.sh .os-pro-word { flex: none; }

html .sh.sh .sh-nav { display: none; align-items: center; gap: var(--space-1, 4px); margin: 0 0 0 var(--space-8, 32px); padding: 0; }
@media (min-width: 768px) { html .sh.sh .sh-nav { display: flex; } }
html .sh.sh .sh-item { position: static; }
html .sh.sh .sh-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; box-sizing: border-box;
  padding: 12px; border-radius: var(--radius-sm, 4px); border: 0; background: transparent;
  color: var(--color-text); font: var(--weight-medium, 500) 1rem/1.2 var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
}
html .sh.sh .sh-link:hover { background: var(--color-surface); }
html .sh.sh .sh-link:active { background: var(--color-surface-sunken, var(--color-surface)); }
html .sh.sh .sh-link:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 2px; }
html .sh.sh .sh-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--color-accent); }
html .sh.sh .sh-link[aria-expanded="true"] { background: var(--color-surface); }
html .sh.sh .sh-chev { width: 16px; height: 16px; flex: none; }
html .sh.sh .sh-link[aria-expanded="true"] .sh-chev { transform: rotate(180deg); }
html .sh.sh .sh-more { display: none; }
@media (min-width: 768px) and (max-width: 1023.98px) {
  html .sh.sh .sh-trust { display: none; }
  html .sh.sh .sh-more { display: block; position: relative; }
}

/* The panels: the mega menu under the whole bar, the Apps menu and More
   under their buttons. */
html .sh.sh [hidden] { display: none !important; }
html .sh.sh .sh-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: var(--z-dropdown, 200);
  max-height: calc(100vh - 64px); overflow-y: auto; box-sizing: border-box;
  background: var(--color-bg); border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
  padding: var(--space-8, 32px) max(var(--space-10, 40px), calc((100% - 1200px) / 2));
}
html .sh.sh .sh-mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8, 32px) var(--space-6, 24px); }
@media (min-width: 1200px) { html .sh.sh .sh-mega__cols { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* Each column's name, intro, list and "All N" sit on rows shared across
   the columns, so the six lists start on one line however long the intro
   above them is. */
@supports (grid-template-rows: subgrid) {
  html .sh.sh .sh-mega__cols { row-gap: 0; }
  html .sh.sh .sh-mega__col { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
  html .sh.sh .sh-mega__col > .sh-mega__all { align-self: start; justify-self: start; }
}
html .sh.sh .sh-mega__hub { display: block; color: var(--color-text); font: var(--weight-semibold, 600) 1.125rem/1.3 var(--font-sans); text-decoration: none; padding: 4px 0; }
html .sh.sh .sh-mega__hub:hover { color: var(--color-accent); }
/* The hub's intro in full: cut to two lines it ended in "...", as if the
   menu were unfinished. */
html .sh.sh .sh-mega__intro { margin: 4px 0 12px; color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html .sh.sh .sh-mega ul { list-style: none; margin: 0; padding: 0; }
html .sh.sh .sh-mega li a { display: block; padding: 6px 0; min-height: 36px; box-sizing: border-box; color: var(--color-text); font-size: 1rem; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
html .sh.sh .sh-mega li a:hover { color: var(--color-accent); text-decoration: underline; }
html .sh.sh .sh-mega__all { display: inline-block; margin-top: 8px; color: var(--color-accent); font-weight: var(--weight-medium, 500); text-decoration: none; }
html .sh.sh .sh-mega__all:hover { text-decoration: underline; }
html .sh.sh .sh-mega__foot { display: flex; flex-wrap: wrap; gap: var(--space-6, 24px); margin: var(--space-6, 24px) 0 0; padding-top: var(--space-4, 16px); border-top: 1px solid var(--color-border-subtle); }
html .sh.sh .sh-mega__foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-accent); font-weight: var(--weight-medium, 500); text-decoration: none; }
html .sh.sh .sh-mega__foot a:hover { text-decoration: underline; }

html .sh.sh .sh-item:has(.sh-apps) { position: relative; }
html .sh.sh .sh-apps, html .sh.sh .sh-morepanel {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: var(--z-dropdown, 200); min-width: 320px;
  background: var(--color-bg); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md, 8px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.08); padding: var(--space-2, 8px);
}
html .sh.sh .sh-apps ul { list-style: none; margin: 0; padding: 0; }
html .sh.sh .sh-apps li a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; box-sizing: border-box; padding: 6px 12px; border-radius: var(--radius-sm, 4px); text-decoration: none; color: var(--color-text); }
html .sh.sh .sh-apps li a:hover { background: var(--color-surface); }
html .sh.sh .sh-apps__name { font-weight: var(--weight-semibold, 600); font-size: 1rem; }
html .sh.sh .sh-apps__desc { color: var(--color-text-muted); font-size: 0.875rem; }
html .sh.sh .sh-apps__rule { height: 1px; margin: 6px 12px; background: var(--color-border-subtle); }
html .sh.sh .sh-apps__all { margin: 0; }
html .sh.sh .sh-apps__all a, html .sh.sh a.sh-apps__all { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm, 4px); color: var(--color-accent); font-weight: var(--weight-medium, 500); font-size: 0.9375rem; text-decoration: none; }
html .sh.sh .sh-apps__all a:hover, html .sh.sh a.sh-apps__all:hover { background: var(--color-surface); text-decoration: underline; }
html .sh.sh .sh-morepanel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--color-text); text-decoration: none; border-radius: var(--radius-sm, 4px); }
html .sh.sh .sh-morepanel a:hover { background: var(--color-surface); }
html .sh.sh .sh-morepanel { min-width: 180px; }

/* The right side: Search (labelled), Enter key or the Pro control, and
   Menu on a phone. */
html .sh.sh .sh-end { display: flex; align-items: center; gap: var(--space-2, 8px); margin-left: auto; flex: none; order: 0; }
html .sh.sh .sh-search {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; box-sizing: border-box; padding: 0 12px;
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-sm, 4px); background: var(--color-bg);
  color: var(--color-text); font: var(--weight-medium, 500) 1rem/1 var(--font-sans); text-decoration: none; width: auto;
}
html .sh.sh .sh-search:hover { background: var(--color-surface); }
html .sh.sh .sh-search:focus-visible, html .sh.sh .sh-key:focus-visible, html .sh.sh .sh-menu:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 2px; }
html .sh.sh .sh-kbd { display: inline-block; font: 0.75rem/1 var(--font-mono, monospace); padding: 3px 5px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-xs); color: var(--color-text-muted); }
@media (max-width: 1023.98px) { html .sh.sh .sh-search { padding: 0; justify-content: center; width: 44px; } html .sh.sh .sh-search__label, html .sh.sh .sh-kbd { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
html .sh.sh .sh-account { display: flex; align-items: center; gap: var(--space-2, 8px); }
html .sh.sh .sh-key {
  gap: 6px; align-items: center; min-height: 44px; padding: 0 8px; border: 0; background: transparent; box-shadow: none;
  color: var(--color-text); font: var(--weight-medium, 500) 1rem/1 var(--font-sans); text-decoration: none; width: auto; position: relative;
}
html .sh.sh .sh-key > span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
html .sh.sh .sh-key:hover { text-decoration: underline; background: transparent; color: var(--color-text); }
html .sh.sh .sh-key svg { width: 16px; height: 16px; }
html .sh.sh .sh-menu { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 10px; box-sizing: border-box;
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-sm, 4px); color: var(--color-text); text-decoration: none; font-weight: var(--weight-medium, 500); background: var(--color-bg); }
html .sh.sh .sh-menu svg { width: 20px; height: 20px; }
@media (min-width: 768px) { html .sh.sh .sh-menu { display: none; } }
@media (max-width: 767.98px) { html .sh.sh .sh-account { display: none; } }

/* The phone's sheet: full height, from the right, over the page; it fades
   where less motion is asked for. */
html .sh.sh .sh-sheet {
  position: fixed; top: 56px; right: 0; bottom: 0; width: 100%; z-index: var(--z-dialog, 300); overflow-y: auto; box-sizing: border-box;
  background: var(--color-bg); border-top: 1px solid var(--color-border-subtle); padding: var(--space-4, 16px);
}
html .sh.sh .sh-sheet nav { display: flex; flex-direction: column; }
html .sh.sh .sh-sheet__group { border-bottom: 1px solid var(--color-border-subtle); }
/* B2.2: Tools and Apps are accordions in the sheet, and look it: a
   chevron at the right that turns when the group is open. */
html .sh.sh .sh-sheet__group summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: var(--weight-semibold, 600); cursor: pointer; list-style: none; }
html .sh.sh .sh-sheet__group summary::-webkit-details-marker { display: none; }
html .sh.sh .sh-sheet__group summary::after { content: ""; width: 8px; height: 8px; margin-right: 6px; border-right: 1.5px solid var(--color-text-muted); border-bottom: 1.5px solid var(--color-text-muted); transform: translateY(-2px) rotate(45deg); }
html .sh.sh .sh-sheet__group[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
html .sh.sh .sh-sheet__group summary:focus-visible, html .sh.sh .sh-sheet a:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 2px; }
html .sh.sh .sh-sheet__group ul { list-style: none; margin: 0 0 8px; padding: 0; }
html .sh.sh .sh-sheet__group li a { display: flex; align-items: center; min-height: 44px; padding-left: 12px; color: var(--color-text); text-decoration: none; }
html .sh.sh .sh-sheet__link { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--color-border-subtle); color: var(--color-text); font-weight: var(--weight-semibold, 600); text-decoration: none; }
@media (prefers-reduced-motion: no-preference) { html:not([data-motion="reduce"]) .sh.sh .sh-sheet:not([hidden]) { animation: sh-in var(--dur-4) var(--ease-out); } }
@keyframes sh-in { from { transform: translateX(100%); } to { transform: none; } }
html.sh-sheet-open body { overflow: hidden; }

/* An application's full window carries the bar in its slim form. */
html .sh.sh.slim { height: 48px; min-height: 48px; }
@media print { html .sh.sh { display: none; } }

/* The free tool page (the playbook's Volume 3, B7), on every tool page and
   each of its modes: tool-template.mjs marks the page main.b7. (In this sheet,
   which every page loads, so a tool page asks for nothing more.) Every value is a token of the design system (Part A); what a
   tool draws inside its own panel is its own, except where B7 sets it (the
   drop zone, the buttons' 44 px floor, the rules line).

   At 1280 by 800 (B7.2): the content is the header's 1200 px, eight
   columns of tool (792 px) and four of rail (384 px) with a 24 px gutter;
   the breadcrumb, then the H1 at 35 px with the code name beside it, the
   one-line intro, the drop zone, and under it the rules line and the
   free-and-paid line, so the whole tool and its rules are on the first
   screen. At 360 the trail is the hub with a back mark and the rail folds
   under the questions. */

/* ------------------------------------------------------------ the frame */
.app-wrapper:has(> main.b7) { max-width: calc(75rem + 44px); }
/* A tool written as one column (main.wrap, 22 px in from each side). */
body > main.wrap.b7 { max-width: calc(75rem + 44px) !important; }
main.b7 > .page-header { position: relative; margin: 0 0 var(--space-6); }

/* The trail (A10.14): Home > PDF tools > the tool, 14 px, muted, chevrons
   drawn as a rule and hidden from assistive technology. */
main.b7 .os-trail.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0; min-height: 32px; margin: 0 0 var(--space-4);
  font: var(--weight-medium) var(--text-small)/1.4 var(--font-sans); letter-spacing: 0; }
main.b7 .os-trail.breadcrumbs > a { color: var(--color-text-muted); text-decoration: none; }
main.b7 .os-trail.breadcrumbs > a:hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
main.b7 .os-trail.breadcrumbs > [aria-current="page"] { color: var(--color-text); }
main.b7 .os-trail.breadcrumbs > * + :is(a, span, [aria-current])::before { content: ""; display: inline-block; width: 0.4375rem; height: 0.4375rem; margin: 0 var(--space-3) 0 var(--space-2);
  border: solid var(--color-text-muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(-45deg); vertical-align: middle; }

/* The H1 (B7.2): the task label, 35 px / 1.2, 700, at most two lines; the
   code name beside it and never inside it, 12 px, 600, uppercase, +0.08em,
   on the sunken surface with 4 px corners, on the H1's cap height. */
body[data-kind] main.b7 h1.page-title, main.b7 h1.page-title { display: inline; margin: 0; padding: 0; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.1875rem); line-height: 1.2;
  font-weight: var(--weight-bold); letter-spacing: -0.015em; text-wrap: balance; animation: none; }
main.b7 .h1-code.badge--code { display: inline-block; position: relative; top: -0.55em; margin: 0 0 0 8px; padding: 2px 6px;
  font: var(--weight-semibold) 0.75rem/1.35 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  border: 0; border-radius: var(--radius-xs); background: var(--color-surface-sunken); color: var(--color-text-muted); }
/* The intro (B7.2): what it does, on your device; 18 px, muted. */
main.b7 .page-header > .page-sub, main.b7 > :is(.sub, .lede) { max-width: 49.5rem; margin: var(--space-2) 0 0; font-size: 1.125rem; line-height: 1.5; color: var(--color-text-muted); }
main.b7 .page-header > .page-sub .badge, main.b7 > :is(.sub, .lede) .badge { vertical-align: 0.1em; }

/* The modes (A10.8, tabs): one row, 44 px tall, the one open in the text
   colour at 600 over a 2 px accent line, the rest muted; a rule under the
   row. A row too long for the column scrolls sideways inside itself, its
   cut edge masked (tool-page.js marks which edge). */
main.b7 .tool-modes { display: flex; flex-wrap: nowrap; gap: 0; max-width: 49.5rem; margin: var(--space-4) 0 0; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; border-bottom: 1px solid var(--color-border-subtle); }
main.b7 .tool-modes::-webkit-scrollbar { display: none; }
main.b7 .tool-modes[data-fade-end] { mask-image: linear-gradient(to right, black calc(100% - 3rem), transparent); }
main.b7 .tool-modes[data-fade-start] { mask-image: linear-gradient(to right, transparent, black 3rem); }
main.b7 .tool-modes[data-fade-start][data-fade-end] { mask-image: linear-gradient(to right, transparent, black 3rem, black calc(100% - 3rem), transparent); }
main.b7 .tool-modes a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); margin: 0 0 -1px;
  border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; white-space: nowrap;
  font: var(--weight-medium) 0.9375rem/1.25 var(--font-sans); color: var(--color-text-muted); text-decoration: none; }
main.b7 .tool-modes a:first-child { padding-left: 0; }
main.b7 .tool-modes a[aria-current="page"] { color: var(--color-text); font-weight: var(--weight-semibold); border-bottom-color: var(--color-accent); }
main.b7 .tool-modes a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
@media (hover: hover) {
  main.b7 .tool-modes a { transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
  main.b7 .tool-modes a:not([aria-current]):hover { color: var(--color-text); border-bottom-color: var(--color-border-strong); }
}

/* The rules line and the free-and-paid line (B7.3, B7.8): 16 px, muted;
   8 px under the drop zone, the second 4 px under the first. */
main.b7 .tool-rules { margin: var(--space-2) 0 0; max-width: 49.5rem; font-size: 1rem; line-height: 1.5; color: var(--color-text-muted); }
main.b7 .tool-freeline { margin: var(--space-2) 0 0; max-width: 49.5rem; font-size: 1rem; line-height: 1.5; color: var(--color-text-muted); }
main.b7 .tool-rules + .tool-freeline { margin-top: var(--space-1); }
main.b7 .tool-limit { font-variant-numeric: tabular-nums; }
main.b7 .page-header > .tool-rules { margin-top: var(--space-3); }
/* A10.4.2's count, under the two lines once a file is in (dropzone.js). */
main.b7 .local-indicator--b7 { display: flex; justify-content: flex-start; width: fit-content; max-width: 49.5rem; margin: var(--space-2) 0 0; }
main.b7 .local-indicator--b7[hidden] { display: none; }
.tool-noscript { margin: var(--space-3) 0 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-surface-sunken); }

/* ------------------------------------------------------ the drop zone */
/* B7.3, on each tool's own zone (marked .b7-drop): 2 px dashed, 12 px
   corners, the page's ground, 240 px tall (200 on a phone), its contents
   centred: a 32 px line icon, the main line 20 px / 600, a 48 px primary
   button; under the pointer the edge and the ground take the accent, and
   a file dragged over it turns the edge solid. */
main.b7 .b7-drop { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3);
  width: 100%; max-width: 49.5rem; min-height: 240px; margin: 0; padding: var(--space-6);
  border: 2px dashed var(--color-border-strong); border-radius: var(--radius-lg); background: var(--color-bg);
  text-align: center; cursor: pointer; color: var(--color-text); font-size: 1rem; line-height: 1.45; }
main.b7 .b7-drop:hover { border-color: var(--color-accent); background: var(--color-accent-subtle); }
main.b7 .b7-drop[data-over] { border-style: solid; border-color: var(--color-accent); background: var(--color-accent-subtle); }
main.b7 .b7-drop:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) { main.b7 .b7-drop { transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); } }
@media (max-width: 599px) { main.b7 .b7-drop { min-height: 200px; padding: var(--space-5) var(--space-4); } }
main.b7 .b7-drop > :is(strong, p, span, div) { margin: 0; }
main.b7 .b7-drop__icon, main.b7 .b7-drop > svg:first-child, main.b7 .b7-zone__icon { flex: none; width: 32px; height: 32px; color: var(--color-text-muted); }
/* The main line: the first strong or paragraph of the tool's own zone. */
main.b7 .b7-drop > :is(strong, .rc-drop-main, .b7-zone__main, .tool-drop-title, .tool-drop-main),
main.b7 .b7-drop:not(:has(> strong, .rc-drop-main, .b7-zone__main)) > p:first-of-type { display: block; font-size: 1.25rem; font-weight: var(--weight-semibold); line-height: 1.3; color: var(--color-text); }
/* The tool's own second line, where it says something the rules line does
   not (tool-template.mjs takes off what only repeats it). */
main.b7 .b7-drop > span:not(.btn):not(.b7-zone__main):not(.b7-drop__btn), main.b7 .b7-drop > p + p, main.b7 .b7-drop .ws-note, main.b7 .b7-drop > .rc-drop-sub, main.b7 .b7-drop > .tool-drop-sub {
  max-width: 34rem; font-size: 0.9375rem; line-height: 1.5; color: var(--color-text-muted); }
main.b7 .b7-drop > :empty:not(input):not(svg) { display: none; }
main.b7 .b7-drop > div:has(> button), main.b7 .b7-drop > :is(.sb-btns, .pk-btns) { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin: var(--space-1) 0 0; }
/* The button in it: primary, 48 px; a second one beside it secondary. */
main.b7 .b7-drop :is(button, .btn-primary, .btn-secondary, .b7-drop__btn, .b7-zone__btn) { min-height: 48px; padding: 0 var(--space-6); font: var(--weight-semibold) 1rem/1.25 var(--font-sans); border-radius: var(--radius-md); }
main.b7 .b7-drop :is(button, .btn-secondary, .btn-primary, .b7-drop__btn):is(:first-of-type) { background: var(--color-accent); color: var(--color-on-accent); border: 1px solid var(--color-accent); }
main.b7 .b7-drop :is(button, .btn-secondary, .btn-primary):not(:first-of-type) { background: var(--color-surface); color: var(--color-accent); border: 1px solid var(--color-border-strong); }
main.b7 .b7-drop :is(button, .btn-secondary, .btn-primary):first-of-type:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
main.b7 .b7-drop .b7-drop__btn { display: inline-flex; align-items: center; justify-content: center; background: var(--color-accent); color: var(--color-on-accent); border: 1px solid var(--color-accent); }
/* What the template drew in a tool's own zone is the zone: a press on it
   is a press on the zone, which the tool's own script answers. */
main.b7 :is(.b7-drop__btn, .b7-drop__icon) { pointer-events: none; }
main.b7 .b7-drop:hover .b7-drop__btn { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
/* A file input left in sight in a zone (the statistics readers) is drawn
   as the zone's button; the browser's own words beside it stay. */
main.b7 .b7-drop input[type="file"]:not(.obs-file-a11y):not(.visually-hidden):not([hidden]) { max-width: 100%; font: inherit; font-size: 0.9375rem; color: var(--color-text-muted); }
main.b7 .b7-drop input[type="file"]::file-selector-button { min-height: 48px; margin-right: var(--space-3); padding: 0 var(--space-6); border: 0; border-radius: var(--radius-md);
  background: var(--color-accent); color: var(--color-on-accent); font: var(--weight-semibold) 1rem/1.25 var(--font-sans); cursor: pointer; }
/* What kit.js puts at the zone's foot (that it can work offline). */
main.b7 .b7-drop .ob-offline { margin: var(--space-1) 0 0; font-size: var(--text-small); }

/* The zone tool-template.mjs made round a tool's own input (a <label>):
   the keyboard's focus on the hidden input rings the button. */
main.b7 .b7-zone { position: relative; }
main.b7 .b7-zone__btn { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--color-accent); color: var(--color-on-accent); pointer-events: none; }
main.b7 .b7-zone:hover .b7-zone__btn { background: var(--color-accent-hover); }
main.b7 .b7-zone:has(> .obs-file-a11y:focus-visible) { outline: none; }
main.b7 .b7-zone:has(> .obs-file-a11y:focus-visible) .b7-zone__btn { outline: 2px solid var(--color-focus); outline-offset: 2px; }
main.b7 .b7-zone:active .b7-zone__btn { background: var(--color-accent-active); }
/* A record builder's zone opens a record it saved; the form under it is
   the work, so the zone is shorter than a tool's. */
main.b7 .b7-zone--record { min-height: 168px; margin-top: var(--space-6); padding: var(--space-5) var(--space-6); gap: var(--space-2); }
main.b7 .b7-zone__sub { font-size: 0.9375rem; line-height: 1.5; color: var(--color-text-muted); }
main.b7 .b7-zone--record .b7-zone__btn { margin-top: var(--space-1); }
/* A zone that is a field of a form (the file an entry rests on): one row,
   the line and a secondary button, as tall as the button. */
main.b7 .b7-zone--inline { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; min-height: 0; width: 100%; margin: var(--space-2) 0 0; padding: var(--space-3) var(--space-4); gap: var(--space-2) var(--space-3); text-align: left; }
main.b7 .b7-zone--inline .b7-zone__icon { width: 24px; height: 24px; }
main.b7 .b7-zone--inline > .b7-zone__main { flex: 1 1 12rem; font-size: 1rem; line-height: 1.4; }
main.b7 .b7-zone--inline .b7-zone__btn { min-height: 44px; padding: 0 var(--space-5); background: var(--color-surface); color: var(--color-accent); border: 1px solid var(--color-border-strong); }
main.b7 .b7-zone--inline:hover .b7-zone__btn { background: var(--color-surface); border-color: var(--color-accent); }
main.b7 .b7-zone--inline:active .b7-zone__btn { background: var(--color-surface-sunken); }

/* ---------------------------------------------------------- the tool */
/* The tool's own panels sit on the page with no card round them; their
   headings are the section's, 20 px. */
main.b7 > .panel > .panel-header { margin: 0 0 var(--space-3); padding: 0; border: 0; }
main.b7 > .panel > .panel-header > h2, main.b7 > .panel > h2 { margin: 0 0 var(--space-3); font-size: 1.25rem; line-height: 1.3; }
/* Buttons (A10.1): 44 px, 16 px, 600; disabled is the sunken surface with
   the placeholder colour, never a faded accent. */
main.b7 :is(.btn-primary, .btn-secondary, .btn, .action-btn):not(.btn--sm):not(.ws-small) { min-height: 44px; padding-inline: var(--space-5); font-size: 1rem; line-height: 1.25; }
main.b7 :is(.btn-primary, button.btn-primary):disabled, main.b7 .btn-primary[aria-disabled="true"] { background: var(--color-surface-sunken); color: var(--color-text-placeholder) !important; border-color: transparent; opacity: 1; cursor: not-allowed; }
main.b7 :is(.btn-secondary, button.btn-secondary):disabled { color: var(--color-text-placeholder); border-color: var(--color-border-subtle); opacity: 1; cursor: not-allowed; }
/* A status line the tool keeps under its zone. */
main.b7 :is(.seal-note, .sc-note, .xr-status, .rc-status, .status-line):not(:empty) { margin: var(--space-3) 0 0; font-size: 0.9375rem; color: var(--color-text-muted); }

/* ------------------------------------------- errors, limit and result */
main.b7 .tool-error { max-width: 49.5rem; margin: var(--space-3) 0 0; padding: var(--space-3) var(--space-4); border: 2px solid var(--color-danger); border-radius: var(--radius-md);
  background: var(--color-danger-subtle); color: var(--color-text); font-size: 1rem; }
main.b7 .b7-drop:has(~ .tool-error) { border-style: solid; border-color: var(--color-danger); }
.tool-after:empty { display: none; }
.tool-after { margin: var(--space-6) 0 0; }
.tool-sealed { display: flex; align-items: flex-start; gap: var(--space-2); margin: 0; font-size: var(--text-small); color: var(--color-text-muted); }
.tool-sealed__cube { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.tool-sealed a { color: var(--color-text); }
/* B7.8's next step: one card, 792 px, after the result. A full 1 px edge
   and the surface (CLAUDE.md: no coloured left stripes). */
.tool-next { margin-block-start: var(--space-6); max-width: 49.5rem; padding: var(--space-6); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); background: var(--color-surface); box-sizing: border-box; }
.tool-next .next-step-card__body { grid-column: 1 / -1; }
.tool-next .next-step-card__actions { grid-column: 1 / -1; margin: 0; }
.tool-next .next-step-card__price { grid-column: 1 / -1; }
.tool-next .btn { min-height: 44px; }
.tool-result { padding: var(--space-6); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); background: var(--color-surface); max-width: 49.5rem; box-sizing: border-box; }
.tool-result__head { margin: 0 0 var(--space-2); font-size: 1.375rem; line-height: 1.3; }
.tool-result__head:focus { outline: none; }
.tool-result__head:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tool-result__files { margin: 0 0 var(--space-2); font-variant-numeric: tabular-nums; }
.tool-result__plan:empty { display: none; }
.tool-result__plan { margin-top: var(--space-3); }
/* "Did this do what you expected?" (tool-page.js askExpect), quiet and
   after everything else in the result. */
.tool-result__ask { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; margin-top: var(--space-3); color: var(--color-text-muted); font-size: var(--text-small); }
.tool-result__ask-btns { display: inline-flex; gap: var(--space-2); }
@media (pointer: coarse) { .tool-result__ask .btn { min-height: 2.75rem; } }
.tool-sealed__cube .seal__open { opacity: 0; }
.tool-sealed[data-sealing] .seal__lid { transform-box: fill-box; transform-origin: 50% 100%; animation: tool-seal-lid var(--dur-cube-seal) var(--ease-inout) 1 both; }
.tool-sealed[data-sealing] .seal__open { animation: tool-seal-open var(--dur-cube-seal) var(--ease-inout) 1 both; }
@keyframes tool-seal-lid { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes tool-seal-open { from { opacity: 1; } 60% { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tool-sealed[data-sealing] .seal__lid, .tool-sealed[data-sealing] .seal__open { animation: none; } }
:root[data-motion="reduce"] .tool-sealed[data-sealing] .seal__lid, :root[data-motion="reduce"] .tool-sealed[data-sealing] .seal__open { animation: none; }
/* D.9.4's time estimate, before the task, from this device's own runs. */
.tool-estimate { margin: var(--space-1) 0 0; font-size: var(--text-small); color: var(--color-text-muted); }
/* B7.8's limit reached: inline under the rules line, two equal buttons. */
.tool-limit-reached { max-width: 49.5rem; margin: var(--space-3) 0 0; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-sizing: border-box; }
.tool-limit-reached p { margin: 0; }
.tool-limit-reached__acts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3) !important; }
.tool-limit-reached__acts .btn { min-height: 44px; flex: 1 1 14rem; justify-content: center; }
dialog.tool-leave { max-width: 28rem; }
dialog.tool-leave .dialog__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

/* ------------------------------------------------------ below the tool */
/* The folded reading (In more detail, the questions): a section's heading
   with a chevron, ruled off, as wide as the tool. */
:root main.b7 > .tool-about, :root main.b7 > details.os-faq-fold { max-width: 49.5rem; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--color-border-subtle); border-radius: 0; background: none; box-shadow: none; }
:root main.b7 > .tool-about:first-of-type, :root main.b7 > .tool-after + .tool-about { margin-top: var(--space-10); }
:root main.b7 > details.os-faq-fold, :root main.b7 > .tool-about:not(:has(+ details.os-faq-fold)) { border-bottom: 1px solid var(--color-border-subtle); }
:root main.b7 > .tool-about > summary, :root main.b7 > details.os-faq-fold > summary { display: flex; align-items: center; gap: var(--space-3); min-height: 56px; padding: var(--space-2) 0; margin: 0;
  list-style: none; cursor: pointer; color: var(--color-text); font: var(--weight-semibold) 1.25rem/1.3 var(--font-sans); }
:root main.b7 > details.os-faq-fold > summary h2 { margin: 0; font: inherit; color: inherit; }
:root main.b7 > :is(.tool-about, details.os-faq-fold) > summary::-webkit-details-marker { display: none; }
:root main.b7 > :is(.tool-about, details.os-faq-fold) > summary::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin: 0 var(--space-1) 0 2px;
  border: solid var(--color-text-muted); border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform var(--dur-fast) var(--ease-out); }
:root main.b7 > :is(.tool-about, details.os-faq-fold)[open] > summary::before { transform: rotate(45deg); }
:root main.b7 > details.os-faq-fold > summary::after { content: none; }
:root main.b7 > :is(.tool-about, details.os-faq-fold) > summary:hover { color: var(--color-accent); }
:root main.b7 > :is(.tool-about, details.os-faq-fold) > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
:root main.b7 > .tool-about > .tool-about-body { padding: 0 0 var(--space-6); font-size: 1rem; }
:root main.b7 > details.os-faq-fold .os-faq { margin: 0 0 var(--space-6); }
/* B7.9's How it works, open, first under the tool: two to four sentences,
   with the longer reading folded under it (In more detail). */
main.b7 .tool-how { max-width: 49.5rem; margin: var(--space-10) 0 0; }
main.b7 .tool-how > h2 { margin: 0 0 var(--space-3); font-size: 1.25rem; line-height: 1.3; }
main.b7 .tool-how > p { margin: 0; max-width: 68ch; font-size: 1rem; line-height: 1.6; color: var(--color-text); }
:root main.b7 > .tool-how + .tool-about { margin-top: var(--space-6); }

/* B7.9's What it does not do and B7.11's worked example. */
main.b7 .tool-notdo, main.b7 .tool-worked { max-width: 49.5rem; margin: var(--space-10) 0 0; }
main.b7 :is(.tool-notdo, .tool-worked, .tool-related) > h2 { margin: 0 0 var(--space-3); font-size: 1.25rem; line-height: 1.3; }
main.b7 .tool-notdo ul { margin: 0; padding-left: 1.25rem; }
main.b7 .tool-notdo li { margin: 0 0 var(--space-1); max-width: 68ch; }
.tool-worked__out { margin: var(--space-2) 0 0; padding: var(--space-4); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); background: var(--color-surface); font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.8125rem; line-height: 1.5; overflow-x: auto; white-space: pre; max-width: 100%; box-sizing: border-box; }
main.b7 .tool-checkline { max-width: 49.5rem; margin: var(--space-6) 0 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-surface-sunken); font-size: 1rem; color: var(--color-text); }

/* B7.9's Related tools: three to six task labels, as links a whole row
   wide, three columns at 1280 and one on a phone. */
main.b7 .tool-related { margin: var(--space-10) 0 0; }
main.b7 .tool-related ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
@media (min-width: 48em) { main.b7 .tool-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { main.b7 .tool-related ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
main.b7 .tool-related li { display: flex; }
main.b7 .tool-related a { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 56px; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); background: var(--color-surface);
  color: var(--color-text); font-weight: var(--weight-medium); line-height: 1.35; text-decoration: none; hyphens: manual; }
main.b7 .tool-related a::after { content: ""; flex: none; width: 0.4375rem; height: 0.4375rem; border: solid var(--color-text-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
main.b7 .tool-related a:hover { border-color: var(--color-accent); color: var(--color-accent); }
main.b7 .tool-related a:hover::after { border-color: var(--color-accent); }
main.b7 .tool-related a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) { main.b7 .tool-related a { transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); } }

/* --------------------------------------------------- the right rail */
/* B7.2: Who can see your file beside the tool at 1280 px and wider, in
   columns 9 to 12 (384 px), a card of five rows at 14 px, open
   (tool-page.js); below 1280 it stays folded in its place. */
main.b7 .who-can-see--fold { max-width: 49.5rem; }
@media (min-width: 1280px) {
  /* The tool keeps eight columns (792 px) and the rail is laid beside it,
     level with the H1 (B7.2's y 136), whatever the page's own markup. */
  main.tool-has-rail { position: relative; padding-right: calc(24rem + var(--space-6)); }
  main.wrap.tool-has-rail { padding-right: calc(24rem + var(--space-6) + 22px); }
  main.tool-has-rail > .who-can-see { position: absolute; top: 48px; right: 0; width: 24rem; box-sizing: border-box; margin: 0; padding: var(--space-5) var(--space-5) var(--space-2);
    border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg); background: var(--color-surface); font-size: var(--text-small); }
  main.wrap.tool-has-rail > .who-can-see { top: calc(34px + 48px); right: 22px; }
  main.tool-has-rail > .who-can-see > summary { pointer-events: none; list-style: none; margin: 0; padding: 0; min-height: 0; font: var(--weight-semibold) 1rem/1.35 var(--font-sans); color: var(--color-text); }
  main.tool-has-rail > .who-can-see > summary::-webkit-details-marker { display: none; }
  main.tool-has-rail > .who-can-see > summary::before, main.tool-has-rail > .who-can-see > summary::after { content: none; }
  main.tool-has-rail > .who-can-see .table-wrap { margin: var(--space-3) 0 0; border: 0; overflow: visible; }
  main.tool-has-rail > .who-can-see table { width: 100%; border-collapse: collapse; }
  main.tool-has-rail > .who-can-see :is(th, td) { padding: var(--space-2) 0; font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-size: var(--text-small); font-weight: var(--weight-regular); line-height: 1.45; vertical-align: top; background: none; border: 0; border-top: 1px solid var(--color-border-subtle); hyphens: manual; }
  main.tool-has-rail > .who-can-see tbody tr:first-child > * { border-top: 0; }
  main.tool-has-rail > .who-can-see tbody th { width: 52%; padding-right: var(--space-4); font-weight: var(--weight-semibold); color: var(--color-text); }
  main.tool-has-rail > .who-can-see td { color: var(--color-text-muted); }
  main.tool-has-rail > .who-can-see thead { display: none; }
}

/* ------------------------------------------------------------ a phone */
/* B7.2 at 360: the trail is the hub alone with a back mark (44 px to
   press), the H1 28 px, the modes one row that scrolls. */
@media (max-width: 599px) {
  main.b7 .os-trail.breadcrumbs { margin: 0 0 var(--space-1); }
  main.b7 .os-trail.breadcrumbs > a:first-child, main.b7 .os-trail.breadcrumbs > span[aria-current] { display: none; }
  main.b7 .os-trail.breadcrumbs > a:nth-child(2) { display: inline-flex; align-items: center; min-height: 44px; }
  main.b7 .os-trail.breadcrumbs > a:nth-child(2)::before { content: ""; display: inline-block; width: 0.4375rem; height: 0.4375rem; margin: 0 var(--space-2) 0 2px;
    border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(45deg); }
  main.b7 h1.page-title { font-size: 1.75rem; }
  main.b7 .page-header > .page-sub, main.b7 > :is(.sub, .lede) { font-size: 1.0625rem; }
  main.b7 .tool-modes { margin-top: var(--space-3); }
  main.b7 .b7-drop :is(button, .b7-drop__btn, .b7-zone__btn) { width: 100%; }
}
/* The safety line: on calculators that are B7 pages and on some that are
   not. */
.tool-safety { margin: 12px 0; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm, 4px); background: var(--color-surface); }
/* /trust/verify's live panel (B9.3, trust-verify.js). */
.tv-panel { margin: 24px 0; padding: 24px; border-radius: var(--radius-lg); background: var(--color-surface); }
.tv-panel h2 { margin-top: 0; }
.tv-list { margin: 0 0 12px; padding-left: 20px; font-size: 0.875rem; overflow-wrap: anywhere; }
.tv-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 2px dashed var(--color-border-strong); border-radius: var(--radius-md); cursor: pointer; }
.tv-drop:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tv-hash { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tv-note { font-size: 0.875rem; color: var(--color-text-muted); }
.os-trail.breadcrumbs span[aria-current] { color: var(--color-text-muted); }
/* A primary button inside a reading page's panel keeps its own colours:
   theme.css colours every link in a panel (.gd a). */
html .gd a.btn--primary, html .gd a.btn--primary:hover { color: var(--color-on-accent); }
/* Search, then Menu, on a phone (B2.2's right cluster). */
html .sh.sh .sh-search { order: 1; }
/* Settings in the bar: a 44 px gear, the same square as Search on a phone
   (A7.2, A9.1, B2.7). */
html .sh.sh .sh-settings { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius-md, 8px); color: var(--color-text); text-decoration: none; }
html .sh.sh .sh-settings .icon { width: 20px; height: 20px; }
html .sh.sh .sh-settings:hover { background: var(--color-surface); }
html .sh.sh .sh-settings[aria-current="page"] { color: var(--color-accent); }
html .sh.sh .sh-settings:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 2px; }
/* Your folder in the bar (the owner, 1 December 2026): Search, Your
   folder, Settings, then Enter key or Menu. A 44 px square with the
   folder icon, named "Your folder" for a screen reader and in its tooltip
   (A7.2); from 1280 px the folder's own name beside the icon, in a box of
   fixed width so a name arriving after the first paint moves nothing.
   Under 428 px the bar has no room for a fourth square beside the
   wordmark and the labelled Menu (B2.2), so it is the first row of the
   sheet there instead. */
html .sh.sh .sh-folder { order: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; box-sizing: border-box;
  width: 44px; height: 44px; padding: 0; border-radius: var(--radius-md, 8px); color: var(--color-text); text-decoration: none;
  font: var(--weight-medium, 500) 0.9375rem/1 var(--font-sans); }
html .sh.sh .sh-folder .icon { width: 20px; height: 20px; flex: none; }
html .sh.sh .sh-folder__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html .sh.sh .sh-folder:hover { background: var(--color-surface); }
html .sh.sh .sh-folder:focus-visible { outline: 2px solid var(--color-focus, var(--color-accent)); outline-offset: 2px; }
html .sh.sh .sh-folder[data-folder-state="waiting"] .sh-folder__name { color: var(--color-text-muted); }
html .sh.sh .sh-settings { order: 3; }
html .sh.sh .sh-account { order: 4; }
html .sh.sh .sh-menu { order: 5; }
@media (max-width: 427.98px) { html .sh.sh .sh-folder { display: none; } }
@media (min-width: 1280px) {
  html .sh.sh .sh-folder { width: auto; padding: 0 10px; justify-content: flex-start; }
  html .sh.sh .sh-folder__name { position: static; width: 7.5em; height: auto; clip: auto; overflow: hidden; text-overflow: ellipsis; text-align: left; }
}
/* 768 to 1023 px: Tools, Apps, Pricing and More, then four controls; the
   items sit a little closer so the row fits without a sideways scroll. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  html .sh.sh .sh-nav { margin-left: var(--space-4, 16px); gap: 0; }
  html .sh.sh .sh-link { padding: 12px 8px; }
  html .sh.sh .sh-link[aria-current="page"]::after { left: 8px; right: 8px; }
  html .sh.sh .sh-end { gap: var(--space-1, 4px); }
}
/* The same, in the phone's sheet, with its icon. */
html .sh.sh .sh-sheet__folder { gap: 10px; }
html .sh.sh .sh-sheet__folder .icon { width: 20px; height: 20px; flex: none; }

/* The current page ends the trail, after the same rule the links carry. */
.os-trail.breadcrumbs > a + span[aria-current]::before { content: "/"; margin: 0 8px; color: var(--color-text-muted); }
main.hm .os-trail.breadcrumbs > a + span[aria-current]::before { content: ">"; margin: 0 8px; color: var(--color-text-muted); }

/* B2.7 and B7.3: hover and active states change in 120 ms (--dur-fast, 0
   under reduced motion), only where there is a pointer to hover with. */
@media (hover: hover) {
  html .sh.sh .sh-link, html .sh.sh .sh-apps li a, html .sh.sh .sh-morepanel a, html .sh.sh .sh-search { transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
}
