/* The docs pages (/agent, /download, /privacy, /support): one column, the brand lab's Docs text (floatprompt-mac
   labs/brand-lab/lab.css: .doc-col) on the column site.css's .doc already sets (28em, 19px). Loaded after site.css,
   only by these pages. */
.doc.docs [id] { scroll-margin-top: 84px; }
.doc.docs h1 { margin: 0 0 12px; }
.doc.docs .lead { color: var(--foreground); font-size: 22px; line-height: 1.5; margin-bottom: 24px; }
/* Sections: space alone sets them apart (MDS, 16 Nov: no rules). */
.doc.docs h2 { margin: 72px 0 12px; padding: 0; border: 0; }
.doc.docs h3 { margin: 40px 0 8px; color: #fff; font-size: 19px; line-height: 1.4; font-weight: 600; }
.doc.docs ol { margin: 0 0 16px; padding-left: 1.3em; }
.doc.docs ol li { margin: 0 0 12px; }
.doc.docs li::marker { color: var(--dim); }
.doc.docs li > ul, .doc.docs li > ol { margin-top: 10px; }
/* Term, then its line: the lab's dl. */
.doc.docs dl { margin: 0 0 16px; }
.doc.docs dt { color: #fff; font-weight: 500; }
.doc.docs dd { margin: 3px 0 28px; color: var(--muted); text-wrap: pretty; }
.doc.docs code { font: 400 .86em/1.4 var(--mono); color: var(--foreground); background: var(--field); padding: 1px 6px;
  border-radius: 6px; overflow-wrap: anywhere; }
.doc.docs pre { position: relative; margin: 0 0 20px; padding: 14px 84px 14px 16px; background: var(--field); border-radius: 12px;
  font: 400 15px/24px var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.doc.docs pre code { background: none; padding: 0; font: inherit; }
.doc.docs table { width: 100%; table-layout: fixed; margin: 0 0 20px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.doc.docs th, .doc.docs td { overflow-wrap: anywhere; text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-top: 1px solid var(--line); }
.doc.docs th { color: #fff; font-weight: 500; }
.doc.docs td { color: var(--muted); }
.doc.docs .button { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px;
  background: #fff; color: #111; font-weight: 500; text-decoration: none; }
.doc.docs .button:hover { background: #e7e7e7; }
.doc.docs .note { color: var(--muted); font-size: 15px; }
.doc.docs a { overflow-wrap: anywhere; }
.docs + .foot { border-top: 0; }
/* Add-ons: icon (two lines of text tall), a gap, then the text, all inside the column. */
.doc.docs .addon { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; margin: 0 0 24px; }
.doc.docs .addon p { margin: 0; }
.doc.docs .addon-ico { position: relative; width: 56px; height: 56px; }
.doc.docs .addon-ico img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.doc.docs .addon-ico.app img { width: 70px; height: 70px; }   /* a macOS icon carries its own margin: 70 px shows a 56 px tile */
.doc.docs .addon-ico.tile img { width: 56px; height: 56px; }
/* Copy, on the first line of the code. */
.doc.docs .copy { position: absolute; top: 12px; right: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px;
  padding: 0 10px; border: 0; border-radius: 999px; background: var(--hover); color: var(--muted); font: 400 13px/1 var(--ui); cursor: pointer; }
.doc.docs .copy:hover { color: #fff; background: #2a2a2a; }
.doc.docs .copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) {
  .doc.docs .addon { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .doc.docs .addon-ico { width: 44px; height: 44px; }
  .doc.docs .addon-ico.app img { width: 55px; height: 55px; }
  .doc.docs .addon-ico.tile img { width: 44px; height: 44px; }
}
/* Body text in the 4.5 to 7:1 range on #111 (MDS, 16 Nov): #9a9899 is 6.6:1. Headings and bold stay white. */
.doc.docs { color: #9a9899; }
.doc.docs p, .doc.docs li, .doc.docs dd, .doc.docs td { color: #9a9899; }
.doc.docs .lead { color: #9a9899; }
/* Two columns, nothing sticky (MDS, capture 2026/11/16/172716): a small one holding the ghost and the page links,
   then the text (28em at 19px, 532 px). The footer stays at the window's bottom on a short page. */
body { min-height: 100vh; display: flex; flex-direction: column; }
.docs-layout { flex: 1 0 auto; display: grid; grid-template-columns: 120px 532px; gap: 56px; justify-content: center; align-content: start;
  padding: 56px var(--gutter) 96px; }
.docs-layout .doc.docs { max-width: none; margin: 0; padding: 0; }
.side { position: sticky; top: 56px; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 15px; }
.side .brand img { display: block; width: 15.7px; height: 16px; }
.side .brand .ghost-live { display: block; width: 20px; height: 20px; }   /* the home header's moving ghost, same size (MDS, 11/17) */
.side .brand .ghost-live svg { display: block; width: 100%; height: 100%; }
.side .links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-left: -8px; }
.side .links a { padding: 3px 8px; font-size: 15px; }
.foot { justify-content: center; padding: 24px var(--gutter) 32px; }
.foot .c { margin: 0; width: calc(120px + 56px + 532px); }
.docs + .foot, .doc + .foot { border-top: 0; }
@media (max-width: 760px) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 24px; }
  .side { position: static; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 0; }
  .side .links { flex-direction: row; margin: 0 -8px 0 0; }
  .foot { justify-content: flex-start; }
  .foot .c { width: auto; }
}
/* The left column sits in the same place on every page; a scrollbar never shifts the layout. */
html { scrollbar-gutter: stable; }
/* Keycaps in the marketing copy ({fn}, {cmd}{V}), as the brand lab draws them. */
.doc.docs .keys { display: inline-flex; gap: 3px; vertical-align: 1px; }
.doc.docs kbd { display: inline-block; min-width: 1.5em; padding: 1px 6px; border-radius: 6px; background: #262626; box-shadow: inset 0 -1px 0 #3b393a;
  color: #e7e7e7; font: 500 13px/1.45 var(--ui); text-align: center; }
.doc.docs h3 { margin: 40px 0 10px; color: #fff; font-size: 19px; font-weight: 500; }
/* Tech specs: label, then value, on one row; each row a hairline apart. */
.doc.docs dl.spec { display: grid; grid-template-columns: 168px minmax(0, 1fr); margin: 0; }
.doc.docs dl.spec dt, .doc.docs dl.spec dd { margin: 0; padding: 10px 0; border-top: 1px solid #222222; font-size: 16px; line-height: 1.5; }
.doc.docs dl.spec dt { padding-right: 16px; }
.doc.docs dl.spec dt:first-of-type, .doc.docs dl.spec dt:first-of-type + dd { border-top: 0; }
@media (max-width: 760px) {
  .doc.docs dl.spec { grid-template-columns: minmax(0, 1fr); }
  .doc.docs dl.spec dd { padding-top: 0; border-top: 0; }
  /* Seven links: the ghost on its own line, the links wrapping under it. */
  .side { flex-direction: column; align-items: flex-start; gap: 14px; }
  .side .links { flex-wrap: wrap; margin: 0 0 0 -8px; }
}
.doc.docs dl.spec + p { margin-top: 24px; }
.doc.docs dl.spec dt code { font-size: 14px; }
/* Mobile (MDS 11/17, capture 083518): the ghost top right (it goes home), the page links listed down the left, the page under them. */
@media (max-width: 760px) {
  .side { position: relative; top: auto; flex-direction: column; align-items: stretch; gap: 0; }   /* top: auto, or the desktop sticky offset shifts it down onto the page */
  .side .brand { position: absolute; top: 2px; right: 0; }
  .side .links { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 2px; margin: 0 0 0 -8px; }
  .side .links a { font-size: 15px; padding: 5px 8px; }   /* never larger than the name (MDS, 085733) */
}
/* Mobile, the top row (MDS 11/17, capture 085233): FloatPrompt on the left, the ghost on the right, the links pushed down under them */
.side .brand-name { display: none; }
@media (max-width: 760px) {
  /* the home header's style (MDS, 085448): the ghost and FloatPrompt together on the left, nothing on the right */
  .side .brand-name { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; color: #fff; font: 600 16px/1 var(--ui); text-decoration: none; letter-spacing: -.01em; margin-bottom: 20px; }
  .side .brand { display: none; }
}
/* Desktop layout, as bklit.com's docs do it (MDS 11/17, capture 094539): the sidebar flush left in the window, the brand at its top, the
   page column centred in the window until it would meet the sidebar, then it moves right. Tighter rows in the menu. */
@media (min-width: 761px) {
  .docs-layout { display: block; padding: 56px 24px 96px; }
  .side { position: fixed; top: 0; left: 0; bottom: 0; width: 220px; padding: 22px 12px 24px 20px; gap: 0; overflow-y: auto; }
  .side .brand { display: none; }
  .side .brand-name { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 0 0 28px; color: #fff; font: 600 16px/1 var(--ui); text-decoration: none; letter-spacing: -.01em; }
  .side .links { gap: 2px; margin: 0 0 0 -10px; align-items: stretch; align-self: stretch; }   /* 2 px between every link, sub-links too (MDS, capture 2026/11/18/093301) */
  .side .links a { padding: 6px 10px; border-radius: 8px; font-size: 15px; line-height: 1.35; transition: background-color .12s ease, color .12s ease; }
  .side .links a[aria-current] { background: #1c1c1c; color: #fff; }
  .docs-layout .doc.docs { width: min(532px, calc(100% - max(268px, calc(50% - 266px)))); margin: 0 0 0 max(268px, calc(50% - 266px)); }
  .foot .c { width: min(532px, 100%); margin: 0 0 0 max(244px, calc(50% - 266px - 24px)); }
}
@media (min-width: 761px) and (hover: hover) { .side .links a:not([aria-current]):hover { background: #181818; color: #e7e7e7; } }
/* More air at the top on a desktop (MDS, 094912): the menu and the page's title start lower, level with each other; the brand stays up top */
@media (min-width: 761px) {
  .docs-layout { padding-top: 120px; }
  .side .brand-name { margin-bottom: 78px; }
}
/* Nothing moves between pages (MDS, 100311): the ghost's spot is held and shows the still mark until the moving one takes over, and the
   menu has no animated states. Pages are prerendered on hover (speculation rules), so a click lands at once. */
.side [data-ghost-live] { display: block; flex: none; width: 20px; height: 20px; background: url("/assets/brand/ghost-mark.svg") center / 15.7px 16px no-repeat; }
.side [data-ghost-live]:has(.ghost-live) { background: none; }
.side .links a { transition: none !important; }
/* Just the ghost at the top, no name (MDS, 101435) */
.side .brand-name { gap: 0; }
/* The ghost sits exactly where the home page puts it, so it holds still when you click Docs (MDS, 111148):
   16 px in and 22 px down on a phone, 20 and 26 up to the home's split at 1000 px */
@media (max-width: 600px) { .docs-layout .side .brand-name { margin-top: -2px; } }
@media (min-width: 601px) and (max-width: 760px) { .docs-layout .side .brand-name { margin-top: 2px; margin-left: -4px; } }
@media (min-width: 761px) and (max-width: 1000px) { .side { padding-top: 26px; } .side .brand-name { margin-bottom: 74px; } }
/* Above 1000 px the home's ghost sits 48 px down (the tile's top inset): the docs ghost at the same height (MDS, 115038);
   the menu still starts at 120, level with the page title */
@media (min-width: 1001px) { .side { padding-top: 48px; } .side .brand-name { margin-bottom: 52px; } }
/* Compare pages (/compare/{rival}): a wider column than the docs' 532 px, so the table reads at a glance, with more room
   between its columns and rows (MDS, capture 2026/11/17/123444). Only .compare; every other docs page is unchanged. */
@media (min-width: 761px) {
}
.doc.docs.compare table { display: block; font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
.doc.docs.compare thead, .doc.docs.compare tbody { display: block; }
/* Each row: three columns with the same text width (190 px at most), spread edge to edge, space between them, the
   last ending at the table's right edge (MDS, captures 2026/11/17/123749, 124048 and 124247). */
.doc.docs.compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 190px)); justify-content: space-between;
  column-gap: 24px; border-top: 1px solid var(--line); }
.doc.docs.compare th, .doc.docs.compare td { border-top: 0; padding: 16px 0; }
.doc.docs.compare th:first-child, .doc.docs.compare td:first-child { color: var(--foreground); }
/* Text on a compare page keeps the docs' line length (532 px); only the table uses the wider column (MDS, 17 Nov). */
.doc.docs.compare > :not(table) { max-width: 532px; }
/* The sidebar fits its links: 168 px, not 220. The column sits 32 px past it,
   so mid-size windows lose the empty band (MDS, capture 2026/11/17/124930). Wide windows stay centered as before. */
@media (min-width: 761px) {
  .side { width: 168px; }
  .docs-layout .doc.docs { width: min(532px, calc(100% - max(176px, calc(50% - 266px)))); margin-left: max(176px, calc(50% - 266px)); }
  .foot .c { margin-left: max(152px, calc(50% - 266px - 24px)); }   /* the footer keeps the column's left edge (176 - 24) */
}
/* One divider for every docs table and spec list: #222222, 1.19:1 on the #111 ground, the Specs rows' color (MDS, capture
   2026/11/17/125014: lighter, about 1.2 to 1, the same everywhere). Field outlines keep --line. */
.doc.docs { --divider: #222222; }
.doc.docs th, .doc.docs td, .doc.docs dl.spec dt, .doc.docs dl.spec dd, .doc.docs.compare tr { border-top-color: var(--divider); }
/* Compare: no "At a glance" title and no line above the header row; the table follows the short answer. */
.doc.docs.compare table { margin-top: 48px; }
.doc.docs.compare thead tr { border-top: 0; }
/* One type scale for every docs page: 40 title, 24 lead, 20 section, 18 text, 16 small (MDS, capture
   2026/11/17/125225, from his DevTools edits: h2 28 → 20, Guide terms 19 → 18, lead 22 → 24 with 48 px below). */
.doc.docs { font-size: 18px; line-height: 1.6; }
.doc.docs .lead { font-size: 24px; line-height: 1.5; margin-bottom: 48px; }
.doc.docs h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.doc.docs h3 { font-size: 18px; }
.doc.docs table, .doc.docs .note { font-size: 16px; }
.doc.docs.compare table { margin-top: 0; }   /* the lead's 48 px is the space above the table now */
@media (max-width: 600px) { .doc.docs { font-size: 17px; } }
/* The docs menu at 14 px, the size of the home page's Docs link (MDS, capture 2026/11/17/130904). */
.side .links a { font-size: 14px; }
/* The same space under every page's header as Specs has from its title to Requirements: 72 px. The header is the title,
   or the title and its lead; the prompt on /agent stays with its lead (MDS, capture 2026/11/17/130949). */
.doc.docs h1 + :not(.lead) { margin-top: 72px; }
.doc.docs .lead { margin-bottom: 72px; }
.doc.docs .lead + pre { margin-top: -48px; }
/* Compare: the column names at the section size, 20 px (MDS, same capture). */
.doc.docs.compare thead th { color: #fff; font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
/* Docs Tune (MDS, capture 2026/11/17/132431): the type scale and the header spacing as variables, same values as above;
   assets/docs-tune.js sets them from ?tune. The menu follows the home page's small text size (--small, assets/site-type.css,
   written by tools/sync-home-from-lab.py from the home's Tune defaults) unless Docs Tune overrides it. */
:root { --d-h1: 40px; --d-lead: 24px; --d-h2: 20px; --d-text: 18px; --d-small: 16px; --d-head-gap: 72px; --d-h2-gap: 72px; }
.doc.docs h1 { font-size: var(--d-h1); }
.doc.docs { font-size: var(--d-text); }
.doc.docs .lead { font-size: var(--d-lead); margin-bottom: var(--d-head-gap); }
.doc.docs h1 + :not(.lead) { margin-top: var(--d-head-gap); }
.doc.docs .lead + pre { margin-top: calc(24px - var(--d-head-gap)); }
.doc.docs h2 { font-size: var(--d-h2); margin-top: var(--d-h2-gap); }
.doc.docs.compare thead th { font-size: var(--d-h2); }
.doc.docs table, .doc.docs .note, .doc.docs dl.spec dt, .doc.docs dl.spec dd { font-size: var(--d-small); }
.side .links a { font-size: var(--d-nav, var(--small, 14px)); }
@media (max-width: 600px) { .doc.docs h1 { font-size: calc(var(--d-h1) * .8); } .doc.docs { font-size: calc(var(--d-text) - 1px); } }
/* The home page's header takes its 8 px content inset at every width now (MDS, capture 2026/11/17/135349), so at 1340 px and under
   the docs ghost moves the same 8 px and still sits exactly where the home's does: 24 on a phone, 28 up to 1340 */
@media (max-width: 600px) { .docs-layout .side .brand-name { margin-left: 8px; } }
@media (min-width: 601px) and (max-width: 760px) { .docs-layout .side .brand-name { margin-left: 4px; } }
@media (min-width: 761px) and (max-width: 1000px) { .side .brand-name { margin-left: 8px; } }
/* Compare tables take any number of columns: the build puts --cols (all columns) and --vals (the products) on each
   table. On a phone the row label takes its own line and the products sit side by side under it, so no product name
   breaks mid-word (MDS, 17 Nov). */
.doc.docs.compare tr { grid-template-columns: repeat(var(--cols, 3), minmax(0, 190px)); }
@media (max-width: 600px) {
  .doc.docs.compare tr { grid-template-columns: repeat(var(--vals, 2), minmax(0, 1fr)); justify-content: stretch; column-gap: 16px; }
  .doc.docs.compare tbody td:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .doc.docs.compare thead th:first-child { display: none; }
  .doc.docs.compare thead th { font-size: var(--d-text, 18px); }
  .doc.docs.compare th, .doc.docs.compare td { overflow-wrap: normal; }
}
/* Compare's rivals, under Compare in the menu, only on /compare and its pages: indented, with a thin line down the left
   (MDS, capture 2026/11/17/140356). Sizes come from the menu's own rule. */
.side .links .sub { display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin: 0 0 0 10px; padding-left: 10px;
  border-left: 1px solid var(--divider, #222222); }
.side .links .sub a { padding-top: 4px; padding-bottom: 4px; }
/* Features' groups take the menu's own padding, so they read as the same size as the pages above them (MDS, capture 2026/11/18/092847).
   Compare's rivals keep 4 px: their list is 15 long. */
/* MDS dragged these on 11/18 (capture 124601): the group's links at 4 px, and the group set off by the same space above and below
   (8 px each, on top of the menu's 2 px gap), so nothing extra hangs under its last link. */
.side .links .sub.fsub a { padding-top: 4px; padding-bottom: 4px; }
.side .links .sub.fsub { margin-top: 8px; margin-bottom: 8px; }
/* A sub-link that is current or hovered only brightens its words: no fill behind it ("I don't want the background to show up. I only
   want the text to go brighter"). The page links above keep their fill. */
.side .links .sub a[aria-current], .side .links .sub a:not([aria-current]):hover { background: none; }
/* On a rival's page Compare keeps its own current background, since its list is still open; Features does the same (MDS, capture
   2026/11/18/131237: "compare should stay selected") */
@media (min-width: 761px) { .side .links > a:has(+ .sub a[aria-current]) { background: #1c1c1c; color: #fff; } }
/* One breakpoint for the ghost and the menu (MDS, capture 2026/11/17/140532): from 761 px the sidebar layout keeps the ghost at
   28, 48 at every width (the home page's tablet header moves down to match), and the menu's text lines up under it at 28; the ghost
   only moves where the menu itself changes, at 760. */
@media (min-width: 761px) {
  .side { padding-top: 48px; padding-left: 28px; }
  .side .brand-name { margin-bottom: 52px; margin-left: 0; }
}
/* A phone's menu: the current page keeps its background, and every link is a 44 px tap target (same for the compare sub-links) */
@media (max-width: 760px) {
  .side .links { margin-left: -12px; }
  .side .links a, .side .links .sub a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; box-sizing: border-box; }
  .side .links a[aria-current] { background: #1c1c1c; color: #fff; }
}
/* A phone's menu is one row you swipe (MDS, capture 2026/11/17/141206): it runs to both window edges, the first pill starts on the
   page's edge (16 px, 24 from 601), the right end fades so a half-seen item says there's more, the left end fades once it's scrolled.
   Native momentum scrolling, a light snap to each pill; the compare sub-links join the row. */
@media (max-width: 760px) {
  .side .links { --g: 16px; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 4px; margin: 0 calc(-1 * var(--g)); padding: 0 48px 0 var(--g);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-left: var(--g); scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--g), #000 calc(100% - 56px), transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 var(--g), #000 calc(100% - 56px), transparent); }
  .side .links::-webkit-scrollbar { display: none; }
  .side .links > a, .side .links .sub a { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .side .links .sub { display: contents; }
}
@media (min-width: 601px) and (max-width: 760px) { .side .links { --g: 24px; } }
/* FAQ as + / – rows with the specs page's lines (MDS, capture 2026/11/17/142422): roomier rows, the sign at 3:1 on the page
   (#636162 on #111, 3.07:1), lit on hover; the answer under its question. Without the script every answer shows. */
.doc.docs dl.faq { margin: 0 0 16px; }
.doc.docs dl.faq dt { margin: 0; border-top: 1px solid var(--divider, #222222); }
.doc.docs dl.faq dd { margin: 0; padding: 0 40px 22px 0; }
.doc.docs dl.faq:not(.js) dt { padding: 20px 0 8px; }
.doc.docs dl.faq dd:last-of-type { border-bottom: 1px solid var(--divider, #222222); }
.doc.docs dl.faq.js dd:last-of-type { border-bottom: 0; }
.doc.docs dl.faq.js dt:last-of-type { border-bottom: 1px solid var(--divider, #222222); }
.doc.docs dl.faq.js dt:last-of-type:has(+ dd:not([hidden])) { border-bottom: 0; }
.doc.docs dl.faq.js dd:last-of-type:not([hidden]) { border-bottom: 1px solid var(--divider, #222222); }
.doc.docs dl.faq dt button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; min-height: 64px; padding: 18px 0;
  border: 0; background: none; color: #fff; font: inherit; font-weight: 500; text-align: left; cursor: pointer; }
.doc.docs dl.faq dt button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
/* The FAQ's motion (MDS, 142717): the answer clips while it grows; the + is two bars, the upright one swings flat to make the –,
   on a springy curve; the sign lights on hover. */
.doc.docs dl.faq.js dd { overflow: hidden; box-sizing: border-box; }
.doc.docs dl.faq dt button .pm { position: relative; flex: none; width: 14px; height: 14px; color: #636162; transition: color .12s ease; }
.doc.docs dl.faq dt button .pm i { position: absolute; left: 0; top: 6.5px; width: 14px; height: 1.5px; border-radius: 1px; background: currentColor;
  transition: rotate .42s cubic-bezier(.34, 1.56, .64, 1); }
.doc.docs dl.faq dt button .pm i:last-child { rotate: 90deg; }
.doc.docs dl.faq dt button[aria-expanded="true"] .pm i:last-child { rotate: 0deg; }
.doc.docs dl.faq dt button:hover .pm, .doc.docs dl.faq dt button:focus-visible .pm { color: #e2e2e2; }
@media (prefers-reduced-motion: reduce) { .doc.docs dl.faq dt button .pm i { transition: none; } }
.doc.docs dl.faq.js dd { padding-bottom: 0; } .doc.docs dl.faq.js dd > .a { padding-bottom: 22px; }
/* Every gray carries the slightest pink: 1% saturation at hue 318, lightness unchanged (MDS, capture 2026/11/17/142906) *//* /compare: one row per comparison, the FAQ's rows (divider, height, weight) with an arrow in place of the +/-
   (MDS, capture 2026/11/17/143456). Grays at 1% pink, as the FAQ's. */
.doc.docs ul.rows { list-style: none; margin: 0 0 16px; padding: 0; border-bottom: 1px solid var(--divider, #222222); }
.doc.docs ul.rows li { margin: 0; border-top: 1px solid var(--divider, #222222); }
.doc.docs ul.rows a { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 18px 0;
  color: #fff; font-weight: 500; text-decoration: none; }
.doc.docs ul.rows .arr { flex: none; width: 16px; height: 16px; color: #636162; transition: color .12s ease, translate .2s cubic-bezier(.3, .7, .4, 1); }
.doc.docs ul.rows a:hover .arr, .doc.docs ul.rows a:focus-visible .arr { color: #e2e2e2; translate: 3px 0; }
.doc.docs ul.rows a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .doc.docs ul.rows .arr { transition: none; } }
/* The sidebar fits its longest link, from 168 px up to 200 px, so a rival name like Superwhisper is never cut off; the
   column sits 8 px past the widest it can be (MDS, capture 2026/11/17/150009). Desktop only; the phone menu is unchanged. */
@media (min-width: 761px) {
  .side { width: max-content; min-width: 168px; max-width: 200px; }
  .docs-layout .doc.docs { width: min(532px, calc(100% - max(208px, calc(50% - 266px)))); margin-left: max(208px, calc(50% - 266px)); }
  .foot .c { margin-left: max(184px, calc(50% - 266px - 24px)); }
}
/* The FAQ's answers are hidden from the first paint when scripts run (html.js, set in the head), so nothing moves when docs-faq.js
   takes over (launch pass, 17 Nov: the page shifted 0.64 on a phone). Without scripts every answer shows. */
html.js .doc.docs dl.faq:not([data-ready]) dd { display: none; }   /* the list carries .js from the build, so its rows are styled from the start */
html.js .doc.docs dl.faq:not([data-ready]) dt:last-of-type { border-bottom: 1px solid var(--divider, #222222); }
/* Accessibility (launch audit, 17 Nov) */
.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; }
/* 44 px to touch on a phone: the home ghost and the footer links reach past what's drawn, without moving anything; the copy button grows */
@media (pointer: coarse), (max-width: 760px) {
  .side .brand-name, .foot a { position: relative; }
  .side .brand-name::after { content: ''; position: absolute; inset: -12px; }
  .foot a::after { content: ''; position: absolute; inset: -12px -4px; }
  .doc.docs .copy { min-height: 44px; top: 4px; right: 4px; }
}
/* /features (MDS, 17 Nov): the home's list, one row each: its icon in the home's light pink, the name in white, then its line */
.doc.docs ul.features { list-style: none; margin: 40px 0 0; padding: 0; border-bottom: 1px solid var(--divider, #222222); }
.doc.docs ul.features li { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 16px; margin: 0; padding: 20px 0; border-top: 1px solid var(--divider, #222222); }
.doc.docs ul.features li svg { color: #f0b9e5; margin-top: calc((1lh - 16px) / 2); }
.doc.docs ul.features li p { margin: 0; }
.doc.docs ul.features li strong { display: block; margin-bottom: 4px; color: #fff; font-weight: 500; }
/* MDS, capture 154407: the icons twice as big, and no border under the last row */
.doc.docs ul.features { border-bottom: 0; }
.doc.docs ul.features li { grid-template-columns: 32px minmax(0, 1fr); column-gap: 20px; }
.doc.docs ul.features li svg { width: 32px; height: 32px; margin-top: calc((1lh - 32px) / 2); }
/* MDS, capture 154526: the icon back to 16 px, the space it had kept (text still indented 52 px) */
.doc.docs ul.features li svg { width: 16px; height: 16px; margin-top: calc((1lh - 16px) / 2); }
/* MDS, capture 2026/11/18/102654: the icon centred in the space before the text, at every width (text still starts at 52 px) */
.doc.docs ul.features li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 0; }
.doc.docs ul.features li svg { justify-self: center; }
/* On a phone the Features rows match the home's list (MDS 11/18, capture 121107: "the size of these icons and the spacing should be the same
   … mobile on the homepage, and on the features page"): a 24 px icon 16 in from the column's edge, then 16 to the words. The home's
   values are its phone defaults (floatprompt-mac labs/site-home-ideas/tune.js H07P: featIn 16, featIc 24, featGap 16); change both together. */
/* Each icon carries both drawings; bold shows unless the page is a phone's width, where the home's list is light (MDS, capture 122239) */
.doc.docs ul.features li svg .wl { display: none; }
@media (max-width: 600px) {
  .doc.docs ul.features li svg .wl { display: inline; }
  .doc.docs ul.features li svg .wb { display: none; }
  .doc.docs ul.features li svg { margin-left: 16px; margin-right: 16px; width: 24px; height: 24px; margin-top: calc((1lh - 24px) / 2); }
}
/* The space each side of the icon is the icon's own margin (MDS 11/18, capture 123117: he wants to drag both), not a fixed column
   with the icon centered in it. Same picture as before: 18 + 16 + 18 = the 52 px column; the phone's 16 + 24 + 16 is above. */
.doc.docs ul.features li { grid-template-columns: auto minmax(0, 1fr); }
.doc.docs ul.features li svg { justify-self: start; }
@media (min-width: 601px) { .doc.docs ul.features li svg { margin-left: 16px; margin-right: 24px; } }   /* MDS dragged these, capture 123726: "looking pretty good for desktop" (were 18 and 18) */
/* The phone's icon at every width: 24 px, the light drawing (MDS 11/18, capture 173416: "make these icons always be this size on the
   features page, on desktop size"). The space each side stays what it is at each width. */
.doc.docs ul.features li svg { width: 24px; height: 24px; margin-top: calc((1lh - 24px) / 2); }
.doc.docs ul.features li svg .wl { display: inline; }
.doc.docs ul.features li svg .wb { display: none; }
/* Lines between rows, as on Features, Specs and FAQ (MDS, capture 2026/11/17/155107): the Guide's steps, and Support's sections */
.doc.docs dl.steps { margin: 40px 0 0; }
.doc.docs dl.steps dt { margin: 0; padding-top: 20px; border-top: 1px solid var(--divider, #222222); }
.doc.docs dl.steps dd { margin: 4px 0 0; padding-bottom: 20px; }
.doc.docs[data-page="/support"] h2 { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--divider, #222222); }
/* Compare pages keep the docs column, centred like every page; only the table is wider, centred on the column, up to 880 px and never
   under the sidebar (MDS, capture 155107: "keep it in the center and then let just the table get larger"). Sized from the layout's
   own width (container units), so a scrollbar can't push it off centre. */
@media (min-width: 761px) {
  .docs-layout { container-type: inline-size; }
  .docs-layout .doc.docs.compare { width: min(532px, calc(100% - max(208px, calc(50% - 266px)))); margin-left: max(208px, calc(50% - 266px)); }
  .doc.docs.compare table { --tw: min(880px, max(532px, calc(100cqw - 416px))); width: var(--tw); max-width: none; margin-left: calc((100% - var(--tw)) / 2); }
}
@media (max-width: 760px) { .doc.docs.compare > :not(table) { max-width: none; } }   /* on a phone the text runs the full width, as on every docs page */
/* MDS, capture 2026/11/17/160002: the compare table runs the full width, from the sidebar's edge to 28 px from the window's right edge
   (the sidebar's own inset on the left), while the text stays in the centred column. The value columns share the room. */
@media (min-width: 761px) {
  .doc.docs.compare table { --tw: calc(100cqw - 212px); width: var(--tw); margin-left: min(0px, calc(474px - 50cqw)); }
  .doc.docs.compare tr { grid-template-columns: minmax(140px, 1fr) repeat(var(--vals, 2), minmax(0, 1.6fr)); column-gap: 40px; justify-content: stretch; }
}
/* Features: its groups as scroll links under Features in the menu (desktop only; the phone's swipe row keeps to pages), the group in
   view marked as Compare's current rival is; headings land below the top edge; the jump glides unless motion is reduced (MDS, 17 Nov) */
@media (max-width: 760px) { .side .links .sub.fsub { display: none; } }
.doc.docs[data-page="/features"] h2 { scroll-margin-top: 40px; }
@media (prefers-reduced-motion: no-preference) { html:has(.doc.docs[data-page="/features"]) { scroll-behavior: smooth; } }
/* The compare table stops at 1400 px on wide screens and centres on the text column then, never past the sidebar (MDS ok, 17 Nov) */
@media (min-width: 761px) {
  .doc.docs.compare table { --tw: min(1400px, calc(100cqw - 212px)); margin-left: max(min(0px, calc(474px - 50cqw)), calc((100% - var(--tw)) / 2)); }
}
/* Compare, wide screens (MDS, capture 2026/11/17/173718): the FloatPrompt column starts on the text column's left edge, the row labels
   fill the room to its left, and the value columns stop at 360 px so the rest is open space. The table's left edge sits that far left
   of the column: min(50cqw - 474px, 434px), from the two blocks above. Then each value column is the text column's width. Narrower windows keep the fluid columns. */
@container (min-width: 1308px) {
  .doc.docs.compare tr { grid-template-columns: calc(min(50cqw - 474px, 434px) - 40px) 492px minmax(0, 492px); column-gap: 40px; justify-content: start; }
  /* Each value column is a text column wide (492 + the 40 gap = 532), so the rival's starts on the text column's right edge */
}
/* On every desktop width the words in a cell stop at 18rem (MDS, capture 2026/11/17/173929: 20rem was still wide, 10rem too small) and the
   row labels at 11rem (174138), so there's open space after them; at every width, not only the widest (175344) */
@media (min-width: 761px) {
  .doc.docs.compare tr > :not(:first-child) { max-width: 18rem; }
  .doc.docs.compare tr > :first-child { max-width: 11rem; }
}
/* Compare: the column names stay at the top of the window while you scroll the table, on the page's ground with the row line under them
   (MDS, capture 2026/11/17/174216) */
.doc.docs.compare thead { position: sticky; top: 0; z-index: 2; background: var(--background, #111111); box-shadow: 0 1px 0 var(--divider, #222222); }
/* Compare: wherever the wide, aligned layout doesn't fit, the table takes the phone's list layout inside the text column: the row label on
   its own line, then FloatPrompt and the rival side by side under it, lined up with the text (MDS, capture 2026/11/17/175600: "as soon as
   the layout breaks ... is where we need to go into the mobile version of this list") */
/* Middle widths (MDS, capture 2026/11/17/180153, a test): the row labels start on the text column's left edge and the table stretches to the
   layout's right edge, the value columns sharing the room. Narrower than that, the list layout. */
@container (min-width: 860px) and (max-width: 1307.98px) {
  .doc.docs.compare table { width: calc(100cqw - max(208px, calc(50cqw - 266px))); margin-left: 0; }
  .doc.docs.compare tr { grid-template-columns: minmax(120px, 11rem) repeat(var(--vals, 2), minmax(0, 1fr)); justify-content: stretch; column-gap: 40px; }
}
@container (max-width: 859.98px) {
  .doc.docs.compare table { width: 100%; margin-left: 0; }
  .doc.docs.compare tr { grid-template-columns: repeat(var(--vals, 2), minmax(0, 1fr)); justify-content: stretch; column-gap: 40px; }
  .doc.docs.compare tbody td:first-child { grid-column: 1 / -1; padding-bottom: 0; max-width: none; }
  .doc.docs.compare thead th:first-child { display: none; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .doc.docs.compare tr { grid-template-columns: repeat(var(--vals, 2), minmax(0, 1fr)); justify-content: stretch; column-gap: 32px; }
  .doc.docs.compare tbody td:first-child { grid-column: 1 / -1; padding-bottom: 0; }
  .doc.docs.compare thead th:first-child { display: none; }
}
/* A phone's header is one bar fixed to the top (MDS, captures 2026/11/19/074833 to 083110): the ghost where it was across, the menu row
   beside it with its fades, a hard edge and its line. No scroll switch or animation, and no sub-links in the row: on a rival's page
   Compare stays marked, as on the desktop. */
@media (max-width: 760px) {
  .docs-layout { --pad: 16px; padding-top: 88px; }
  .docs-layout > .side { position: fixed; top: 0; right: 0; left: 0; z-index: 20; flex-direction: row; align-items: center; height: 64px;
    padding: 0 0 0 var(--pad); background: var(--background, #111111); box-shadow: 0 1px 0 var(--divider, #222222); }
  .docs-layout > .side .brand-name { flex: none; align-self: center; margin-top: 0; margin-bottom: 0; }
  .docs-layout > .side .links { --g: 16px; flex: 1; min-width: 0; margin: 0 0 0 8px; }
  .side .links .sub { display: none; }
  .side .links > a:has(+ .sub a[aria-current]) { background: #1c1c1c; color: #fff; }
  html .doc.docs[data-page] [id] { scroll-margin-top: 80px; }
}
@media (min-width: 601px) and (max-width: 760px) { .docs-layout { --pad: 24px; } }
/* On a phone the Features icons sit centred under the header's ghost (MDS, capture 2026/11/19/083528), 1 px right of its box’s centre to
   meet the line between its eyes, since its tail makes it look further right (captures 083658, 084203); the words keep their place */
@media (max-width: 600px) { .doc.docs ul.features li svg { margin-left: 7px; margin-right: 25px; } }
@media (min-width: 601px) and (max-width: 760px) { .doc.docs ul.features li svg { margin-left: 3px; margin-right: 37px; } }

/* /beta: a drawing under each step (MDS 11/19, capture 084752: "minimal amount of text and rendered images"). The step's line, then
   its picture at the column's width. */
/* A step's picture sits on the one ground every scene shares: --tile-bg, the home tile's own (assets/site-type.css). */
.doc.docs img.shot { display: block; width: 100%; height: auto; margin: 14px 0 36px; border-radius: 16px; background: var(--tile-bg, #f38fd8); }
.doc.docs iframe.scene { display: block; width: 100%; height: 180px; margin: 0; border: 0; border-radius: 16px; background: var(--tile-bg, #f38fd8); }
.doc.docs p.step { margin-bottom: 0; color: var(--fg, #e7e7e7); }
/* A capture.md, as an agent reads it (MDS, capture 2026/11/19/084517): the brand lab's store shot as text, on Features, the Guide and
   the FAQ. Its greys, white and blush are the shot's (labs/brand-lab/store-shots.js); no Copy, since it's an example. */
.doc.docs .cap-sample { margin: 20px 0 24px; padding: 16px 20px 18px; background: var(--field, #1a1a1a); border-radius: 12px; }
.doc.docs .cap-sample figcaption { margin: 0 0 12px; color: #8e8c8d; font: 400 13px/1 var(--mono); }
.doc.docs .cap-sample pre { margin: 0; padding: 0; background: none; border-radius: 0; color: #f2f2f2; font: 400 14px/23px var(--mono); }
.doc.docs .cap-sample .t { color: #8e8c8d; }
/* each line wraps under itself, 4 characters in, so a long one on a phone still reads as one line */
.doc.docs .cap-sample .l { display: inline-block; width: 100%; padding-left: 4ch; text-indent: -4ch; vertical-align: top; }
.doc.docs .cap-sample .p { color: #f0b9e5; }
.doc.docs dd .cap-sample, .doc.docs .a .cap-sample { margin-bottom: 4px; }
@media (max-width: 600px) { .doc.docs .cap-sample { padding: 14px 16px 16px; } .doc.docs .cap-sample pre { font-size: 12.5px; line-height: 21px; } }
/* /beta's folding sections: a heading that opens and shuts what is under it, with a rule above each and under the last. */
.doc.docs details.fold { border-top: 1px solid rgba(255, 255, 255, .12); }
.doc.docs details.fold + :not(details) { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 28px; }
.doc.docs h2 + details.fold, .doc.docs p + details.fold, .doc.docs img + details.fold { margin-top: 56px; }
.doc.docs details.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 14px 0; list-style: none; cursor: pointer; border-radius: 8px; }
.doc.docs details.fold > summary::-webkit-details-marker { display: none; }
.doc.docs details.fold > summary h2 { margin: 0; }
.doc.docs details.fold > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .6; transform: translateY(-3px) rotate(45deg); }
.doc.docs details.fold[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.doc.docs details.fold > summary:focus-visible { outline: 2px solid #0a84ff; outline-offset: 2px; }
.doc.docs details.fold > :last-child { margin-bottom: 28px; }
.doc.docs img.shot.bare { border-radius: 0; }
/* Copy page and its menu (MDS, capture 2026/11/19/090552), simplified into the site's own look (capture 093846): the menu pill's
   #1c1c1c with no stroke, the menu the same grey with no stroke, plain icons. assets/docs-actions.js runs it.
   On the desktop the ghost and Copy page sit together on one top line, a little higher, fixed as the page scrolls (capture 093806);
   the sidebar's menu still starts at 120. On a phone it's an icon at the right of the header bar, the menu row ending before it. */
.page-actions { position: fixed; top: 10px; right: 20px; z-index: 21; font: 400 14px/1 var(--ui); }
.page-actions svg { display: block; flex: none; }
/* One icon button at every width, the phone's (MDS, capture 2026/11/19/094453): the copy icon and a caret, no fill until hovered or
   open; Copy page is the menu's first item */
.pa-split { display: flex; align-items: stretch; height: 36px; }
.pa-split .pa-copy { display: none; }
.pa-split .pa-more { display: inline-flex; align-items: center; gap: 2px; margin: 0; padding: 0 9px; border: 0; border-radius: 8px; background: none;
  color: #e7e7e7; font: inherit; cursor: pointer; }
@media (hover: hover) { .pa-split .pa-more:hover { background: #1c1c1c; color: #fff; } }
.page-actions.open .pa-more { background: #1c1c1c; color: #fff; }
/* copied: the icon turns to a check for a moment (assets/docs-actions.js .copied) */
.pa-done { display: none; }
.page-actions.copied .pa-phone { display: none; }
.page-actions.copied .pa-done { display: block; color: #fff; }
.pa-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 300px; padding: 6px; background: #1c1c1c; border-radius: 12px; }   /* no shadow (MDS, capture 2026/11/19/095020) */
.pa-menu[hidden] { display: none; }
.pa-menu a { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 9px 10px; border-radius: 8px;
  color: #fff; text-decoration: none; outline-offset: -2px; }
.pa-menu a:hover, .pa-menu a:focus-visible { background: #262626; }
.pa-ico { grid-row: span 2; align-self: start; padding-top: 1px; color: #9a9899; }
.pa-t { display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1.3 var(--ui); }
.pa-t svg { color: #6f6d6e; }
.pa-d { color: #9a9899; font: 400 13px/1.35 var(--ui); }
@media (min-width: 761px) {
  /* no bar behind them on the desktop, no fill and no line: only the phone's header has a background (MDS, captures 2026/11/19/094353, 095440) */
  .docs-layout > .side { z-index: 20; padding-top: 18px; }
  .docs-layout > .side .brand-name { margin-bottom: 82px; }
  html .doc.docs[data-page] [id] { scroll-margin-top: 80px; }
  /* the table's header row sticks at the very top: with no bar behind the ghost and Copy, at 56 the rows showed through above it
     (MDS, 11/19); the Copy icon sits over the header row's right end, which is empty */
  .doc.docs.compare thead { top: 0; }
}
@media (max-width: 760px) {
  .page-actions { top: 10px; right: 8px; }
  .pa-split { height: 44px; }
  .pa-split .pa-more { padding: 0 10px; }
  .docs-layout > .side .links { margin-right: 60px; }
  .pa-menu { width: min(300px, calc(100vw - 16px)); }
  .doc.docs.compare thead { top: 64px; }
}
/* /beta's plugin rows: the FAQ's rows, each with a line about it under its name. Every name starts at the column's edge, like the
   page's paragraphs; the row's icons sit together at the right, just left of the plus: one for most, Chrome's and the three agents'
   for the Chrome row (MDS, capture 094247: "the same left alignment for all of these … put the icons on the right"). Earlier tries
   he turned down: the icon at the left centred on the name alone, at 40 and at 28 px (093135, 093346), and Chrome's four above its text. */
.doc.docs dl.faq.plugs dt button { gap: 8px; padding: 16px 0; }
.doc.docs dl.faq.plugs dt button .q { order: 1; flex: 1; min-width: 0; display: grid; gap: 2px; margin-right: 8px; }
.doc.docs dl.faq.plugs dt button .d { color: var(--muted, #9a9899); font-weight: 400; font-size: .9em; line-height: 1.4; }
.doc.docs dl.faq.plugs dt button .addon-ico { order: 2; flex: none; width: 32px; height: 32px; }
.doc.docs dl.faq.plugs dt button .addon-ico.app img { width: 40px; height: 40px; }
.doc.docs dl.faq.plugs dt button .addon-ico.tile img { width: 32px; height: 32px; }
.doc.docs dl.faq.plugs dt button .works { order: 3; flex: none; display: flex; gap: 8px; }
.doc.docs dl.faq.plugs dt button .works img { display: block; width: 40px; height: 40px; margin: -4px; }
.doc.docs dl.faq.plugs dt button .pm { order: 4; margin-left: 12px; }
@media (max-width: 480px) { .doc.docs dl.faq.plugs dt button .works { display: none; } }
/* Tried and turned down by MDS, 19 Nov: a ↳ before each name (in the margin, then in the title), and the Chrome row's icons as an overlapping stack. */
.doc.docs dl.faq.plugs dd > .a { padding-top: 10px; font-size: .9em; }   /* a row's steps in its line's size (MDS, capture 2026/11/20/154058: "all the same") */
.doc.docs .button.dl .apple { margin-right: 9px; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; font-size: 1.15em; line-height: 1; translate: 0 -1px; }
.doc.docs p.lead:has(+ iframe.scene) { margin-bottom: 28px; }   /* the tile sits close under the line above it (MDS, capture 103144) */
/* /beta: a command box sits a little further under the line that introduces it (MDS, capture 150202: the crash path was tight) */
.doc.docs[data-page="/beta"] p + pre { margin-top: 28px; }
/* /beta: a small tilted still of MDS, 16:9, that opens his Loom (MDS 11/20: "small like the post it"; no labels on it or the note,
   MDS 11/20). Wide, it is fixed at the right; narrow, in the page under the opening line. Where it sits, and the note's
   default place, are variables that Docs Tune's "Drag to arrange" sets (assets/docs-tune.js), a set for each layout. The defaults are
   MDS's arrangement (11/20): wide, the little note on the video's top right corner; narrow, the same. */
.doc.docs .loom-thumb { position: relative; display: block; width: 240px; margin: -24px 0 72px 4px; left: var(--loom-mx, 14px); top: var(--loom-my, -8px);
  color: inherit; text-decoration: none; transform: rotate(2deg); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.doc.docs .loom-thumb .shot { position: relative; display: block; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 8px 18px rgba(0,0,0,.35); }
.doc.docs .loom-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; -webkit-user-drag: none; }
.doc.docs .loom-thumb .play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: rgb(0 0 0 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .15s ease; }
.doc.docs .loom-thumb .play::before { content: ""; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff; }
.doc.docs .loom-thumb:hover { transform: rotate(1deg) scale(1.03); }
.doc.docs .loom-thumb:hover .play { background: rgb(0 0 0 / .7); }
.doc.docs .loom-thumb:focus-visible { outline: none; }
.doc.docs .loom-thumb:focus-visible .shot { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .doc.docs .loom-thumb, .doc.docs .loom-thumb .play { transition: none; } }
/* narrow, the video and the note under it (MDS, capture 2026/11/20/152924: "too much padding by default right here"): 48 under the
   video, as above it; the open note 32 under the video; the little note takes no room of its own (it sits at the video's bottom
   left unless Tune moved it), so the next heading is 48 under the video */
@media (max-width: 1239.98px) {
  .doc.docs .loom-thumb { margin-bottom: 48px; }
  .doc.docs .loom-thumb + .note-card { margin-top: -16px; }
  .doc.docs .loom-thumb + .note-card.mini { margin-top: -48px; margin-bottom: -70px; }
}
@media (min-width: 1240px) { .doc.docs .loom-thumb { position: fixed; top: var(--loom-top, 119px); right: var(--loom-right, 54px); left: auto;
  width: 260px; margin: 0; z-index: 19; } }
html.arranging body { user-select: none; -webkit-user-select: none; }   /* arranging, a drag never selects the page's text (capture 152632) */
html.arranging .doc.docs .loom-thumb { cursor: grab; transition: none; }
html.arranging .doc.docs .loom-thumb:hover { transform: rotate(2deg); }
/* /beta: the empty box where the Loom will go. A dashed outline, so it can never be taken for the finished thing. */
.doc.docs .video-ph { display: grid; place-items: center; aspect-ratio: 16 / 9; margin: 0; border: 1.5px dashed #3b393a; border-radius: 16px; color: #6f6d6e; font-size: 15px; }
.doc.docs p.lead:has(+ .video-ph) { margin-bottom: 28px; }
.doc.docs p.lead a { color: #fff; }   /* a link in a page's opening line is white (MDS, capture 110305, the Guide link on /beta) */
/* /beta: the app's four permission rows (build-docs.py PERMISSION_ROWS). Everything is in em of the app's 13 pt type, so one font
   size scales the lot: 19.2 px fills the 532 px column from the pane's own 360. */
/* /beta's tiles (the scene and the permissions) sit on one solid near-black, a step lighter than the page and with no color in it,
   in place of the home's pink (MDS 11/22, captures 115520 and 120516). Tune can try others (--beta-tile). */
.doc.docs[data-page="/beta"] img.shot { background: var(--beta-tile, #1d1d1d); }   /* the steps' pictures too (MDS 11/22: "update all of these backgrounds to be dark on this page instead of the pink") */
.doc.docs .perm-tile { margin: 14px 0 36px; padding: clamp(20px, 7.5vw, 44px); border-radius: 16px; background: var(--beta-tile, #1d1d1d); }
/* The rows are Settings › Permissions in Dark, as the site is dark (MDS 11/22, with a screenshot of the app's pane): the group a step
   lighter than the app's dark window, white names, grey statuses, a hairline between rows, the button a lighter grey. */
.doc.docs .perm-rows { border-radius: .92em; overflow: hidden; background: #282828; color: rgba(255, 255, 255, .92);   /* no shadow: on a dark tile it only muddied the edge (MDS 11/22, capture 120401: "I don't even know if we need a shadow on these") */ font: 400 clamp(12px, 3vw, 16px)/1.23 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; -webkit-font-smoothing: antialiased; }
.doc.docs .perm-rows .pr { display: flex; align-items: center; gap: .77em; padding: .77em; }
.doc.docs .perm-rows .pr + .pr { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09); }
.doc.docs .perm-rows .tile { flex: none; display: grid; place-items: center; width: 2.154em; height: 2.154em; border-radius: .54em; background-image: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .22); }
.doc.docs .perm-rows .tile svg { width: 1.385em; height: 1.385em; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.doc.docs .perm-rows .txt { flex: 1; min-width: 0; display: grid; }
.doc.docs .perm-rows .st { display: flex; align-items: center; gap: .46em; font-size: .923em; color: rgba(255, 255, 255, .55); }
.doc.docs .perm-rows .st i { width: .62em; height: .62em; border-radius: 50%; background: #34c759; }
.doc.docs .perm-rows .pb { flex: none; display: grid; place-items: center; height: 1.69em; padding: 0 .69em; border-radius: .54em; background: rgba(255, 255, 255, .1); }
.doc.docs .button.dl .ver { margin-left: 7px; font-weight: 500; font-size: 15px; }   /* MDS's DevTools values, 19 Nov: the button's own black, its weight, a little smaller */

/* Changelog (MDS, captures 2026/11/20/085808 and 092223): each release's version in white, under it a small grey line with how long
   ago and the date, then its list. The small line is Specs' 16 px. */
.doc.docs .release { margin: 0 0 48px; }
.doc.docs .release h2 { margin: 0; font-weight: 600; color: #fff; }
.doc.docs .release-date { margin: 2px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.5; }
.doc.docs .release ul { margin: 0; }

/* /beta's cheat sheet as a sticky note (MDS, capture 2026/11/20/110318): a pale yellow note that stays where the tester drags it
   (fixed, assets/docs-note.js keeps its place in this browser). On a narrow screen it sits in the page. */
.doc.docs .note-card { position: relative; margin: -24px 0; user-select: none; -webkit-user-select: none; }   /* nothing on the note selects (MDS 11/20) */
/* in the page, the negative margins take the 72 px the lead and the next heading leave above and below it down to 48 on a wide
   screen and 28 on a phone (MDS, captures 2026/11/20/132534 and 133011: 36 was a little tight on desktop, a little loose on mobile) */
@media (max-width: 760px) { .doc.docs .note-card { margin: -44px 0; } }
/* motion (MDS 11/20: "needs to have easing"): the tilt, the hover lift and the pick-up ease; the dash's tint fades. The minimize and
   open are animated in assets/docs-note.js. Reduced motion: none of it. */
.doc.docs .note-card { transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.doc.docs .note-card .note-min { transition: background-color .15s ease, color .15s ease; }
@media (prefers-reduced-motion: reduce) { .doc.docs .note-card, .doc.docs .note-card .note-min { transition: none; } }
.doc.docs .note-card.morphing { transition: none; }
.doc.docs .note-card.mini .note-paper::after { transition: opacity .08s ease-out; }   /* the little note's lines fade (docs-note.js) */
.doc.docs .note-card.lines-out .note-paper::after { opacity: 0; }   /* while the minimize or open runs, nothing else moves it */
/* the paper: paler at the top, warming toward the bottom, with a faint light across it (MDS 11/20: "a subtle gradient"). Its bottom
   edge curls up toward the right (MDS, capture 2026/11/20/111112): the corner is cut on a long curve, so the page shows where the paper
   has lifted, and the paper darkens a little where it bends away from the light. */
.doc.docs .note-card .note-paper { position: relative; z-index: 1; color: #2b2a26; padding: 20px 16px 14px;
  font-size: 15px; line-height: 1.45;
  border-radius: 3px 3px 120px 4px / 3px 3px 22px 4px;
  background: radial-gradient(90% 28% at 100% 100%, rgb(150 112 10 / .22), rgb(150 112 10 / 0) 70%),
              linear-gradient(170deg, rgb(255 255 255 / .35) 0%, rgb(255 255 255 / 0) 38%),
              linear-gradient(180deg, #fff6c2 0%, #fcefa6 55%, #f4df85 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 6px 14px rgba(0,0,0,.18); }
/* under the lifted edge: a shadow that grows toward the right, where the paper is furthest off the page */
.doc.docs .note-card::before { content: ""; position: absolute; z-index: 0; left: 12px; right: 18px; bottom: 10px; height: 24px;
  border-radius: 50%; box-shadow: 0 14px 14px rgba(0,0,0,.55); transform: rotate(2.5deg) skewX(-12deg); transform-origin: left; }
.doc.docs .note-card .note-grip { font-weight: 600; font-size: 15px; margin-bottom: 8px; color: #2b2a26; }
.doc.docs .note-card ul, .doc.docs .note-card ol { margin: 0; padding-left: 20px; }
.doc.docs .note-card li { margin: 0 0 8px; color: #3b3a35; }
.doc.docs .note-card { --note-ink: rgb(48 40 8 / .5); }   /* the numbers and the dash: a dark ink at half strength, so it takes the paper's own
   color, lighter where the paper is paler at the top and deeper toward the warm bottom (MDS 11/20) */
.doc.docs .note-card li::marker { color: var(--note-ink); }
/* keycaps tinted by the paper: a light veil over the yellow and a dark edge at low strength (MDS 11/20) */
.doc.docs .note-card kbd { background: rgb(255 255 255 / .2); color: #2b2a26; box-shadow: inset 0 -1px 0 rgb(80 60 0 / .22), 0 0 0 1px rgb(80 60 0 / .14); }
@media (min-width: 1240px) {
  .doc.docs .note-card { position: fixed; top: var(--note-top, 102px); right: var(--note-right, 31px); width: 300px; margin: 0; z-index: 20; transform: rotate(-1deg); }
  .doc.docs .note-card { cursor: grab; touch-action: none; }   /* the whole note drags (MDS 11/20) */
  .doc.docs .note-card.dragging { transform: none; }
  .doc.docs .note-card.dragging { cursor: grabbing; }
}

/* minimize (MDS 11/20), at every width: a small dash at the note's top right; minimized, it's a little tilted sticky note that drags
   anywhere and opens again on a click or tap. On a narrow screen it stays in the page at the column's left, drags with a finger, and opens back in place. */
/* minimize (MDS 11/20): a small dash at the top right; minimized, the note is a little tilted sticky note that drags anywhere and
   opens again on a click */
.doc.docs .note-card .note-min { display: grid; place-items: center; position: absolute; top: 19px; right: 10px; width: 22px; height: 22px;
  padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--note-ink); cursor: pointer; }
.doc.docs .note-card .note-min:hover { background: rgb(80 60 0 / .1); color: rgb(48 40 8 / .8); }
.doc.docs .note-card .note-min i { width: 10px; height: 1.6px; border-radius: 1px; background: currentColor; }
.doc.docs .note-card.mini { width: 46px; transform: rotate(-7deg); cursor: pointer; }
.doc.docs .note-card.mini .note-paper { width: 46px; height: 46px; padding: 0; overflow: hidden;
  border-radius: 2px 2px 20px 2px / 2px 2px 6px 2px; box-shadow: 0 1px 1px rgba(0,0,0,.3), 0 6px 10px rgba(0,0,0,.35); }
.doc.docs .note-card.mini .note-grip, .doc.docs .note-card.mini .note-min, .doc.docs .note-card.mini .note-body { display: none; }
/* a few faint lines, as if written on */
.doc.docs .note-card.mini .note-paper::after { content: ""; position: absolute; left: 9px; right: 11px; top: 12px; height: 18px;
  background: repeating-linear-gradient(180deg, rgb(110 90 20 / .35) 0 1.5px, transparent 1.5px 6px); }
.doc.docs .note-card.mini::before { left: 4px; right: 6px; bottom: 4px; height: 10px; box-shadow: 0 8px 8px rgba(0,0,0,.5); }
.doc.docs .note-card.mini:not(.fresh):hover { transform: rotate(-4deg) scale(1.06); }   /* a note just minimized under the pointer lifts only once the pointer has left it */
.doc.docs .note-card.mini { margin: -36px 0 -36px 2px; touch-action: none; }   /* narrow: in the page, at the column's left, and draggable (MDS 11/20);
   the negative margins halve the 72 px the page leaves above and below it (MDS 11/20: half the space when it's collapsed) */
@media (min-width: 1240px) { .doc.docs .note-card.mini { margin: 0; touch-action: none; } }
/* narrow only: the little note's default nudge from its place in the page (Docs Tune's Drag to arrange). Unscoped, it put a wide
   minimized note at the window's top left (MDS, capture 2026/11/20/152632) */
@media (max-width: 1239.98px) { .doc.docs .note-card.mini { left: var(--note-mx, 229px); top: var(--note-my, -172px); } }

/* ---------- /beta opens the way the home does (MDS 11/22, captures 111928 and 112314): a small Beta label, the home's headline, its
   line, then the onboarding's scene playing in a tile. */
.doc.docs .beta-tag { display: inline-block; margin: 0 0 20px; padding: 3px 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); color: rgb(255 255 255 / .6); font-size: 13px; line-height: 1.4; }
.doc.docs h1.beta-hl { font-size: clamp(40px, 9.6vw, 56px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 14px; white-space: nowrap; }
.doc.docs h1.beta-hl + .lead { margin-bottom: 32px; }
/* the onboarding's own scene in a tile (build-docs.py {explainer}): the tile has the scene's shape, 368 by 278, and crops the frame, which is laid out larger and scaled to the tile's width by the line of script after it */
.doc.docs .ob-scene { position: relative; width: 100%; aspect-ratio: 368 / 278; overflow: hidden; border-radius: 24px; margin: 0 0 72px; background: var(--beta-tile, #1d1d1d); }
.doc.docs .ob-scene iframe { position: absolute; left: 0; top: 0; width: 900px; height: 700px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; color-scheme: dark; }
.doc.docs .ob-scene.ready iframe { opacity: 1; transition: opacity .2s ease; }   /* unseen until the scene is in place (the line of script after the tile) */
