/* fonts.css */
/* Converloom fonts, v2. Self-hosted, so pages need no third-party request
   (converloom.com's security policy allows only its own origin).
   Latin subsets of three SIL Open Font License faces; licences are beside the files.
   Geist and Geist Mono are variable fonts: one file serves every weight. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/Geist.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/GeistMono.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/InstrumentSerif-Regular.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/InstrumentSerif-Italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* tokens.css */
/* Converloom tokens, v2. Values copied from assets/brand/v2/css/tokens.css (the style guide) and
   kept equal to it by tests/brand/tokens.test.ts. Daylight is the default ground; indigo night follows the
   viewer's dark setting, data-theme="dark", or class="t-night"; class="t-day" forces daylight. */
:root{
  --ground:#eaf1fa; --surface:#fbf8f2; --surface-2:#ffffff; --sunk:#dde7f4;
  --ink:#0b0f26; --ink-2:#454a6b; --ink-3:#5a5e85; --line:#c3cee2; --line-soft:#d8e1ef;
  --madder:#e5593f; --weld:#f1c440; --woad:#6b9cf0; --cochineal:#e04585; --verdigris:#40c9a2; --walnut:#b08355; --linen:#efe7d6; --indigo:#0b0f26;
  --madder-t:#b93a22; --weld-t:#7d5d00; --woad-t:#2c5cc5; --cochineal-t:#b3215f; --verdigris-t:#0d7a5f; --walnut-t:#7a5630;
  --on-dye:#0b0f26; --twist:rgba(11,15,38,.26); --shuttle:#fffdf8; --shuttle-edge:#0b0f26; --live:#b93a22; --weld-line:#d9a400; --warp:rgba(11,15,38,.05); --scrim:rgba(234,241,250,.9);
  --serif:"Instrument Serif","Iowan Old Style",Georgia,serif; --sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; --mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --ground:#0b0f26; --surface:#121839; --surface-2:#19204a; --sunk:#080b1d;
  --ink:#efe7d6; --ink-2:#a4a6c4; --ink-3:#8f92b8; --line:#2c3566; --line-soft:#1f2752;
  --madder-t:#f07a63; --weld-t:#f1c440; --woad-t:#86aef5; --cochineal-t:#ee6c9f; --verdigris-t:#40c9a2; --walnut-t:#c79c70;
  --twist:rgba(11,15,38,.34); --shuttle:#efe7d6; --shuttle-edge:#efe7d6; --live:#f1c440; --weld-line:#f1c440; --warp:rgba(239,231,214,.045); --scrim:rgba(11,15,38,.86); color-scheme:dark } }
:root[data-theme="dark"]{
  --ground:#0b0f26; --surface:#121839; --surface-2:#19204a; --sunk:#080b1d;
  --ink:#efe7d6; --ink-2:#a4a6c4; --ink-3:#8f92b8; --line:#2c3566; --line-soft:#1f2752;
  --madder-t:#f07a63; --weld-t:#f1c440; --woad-t:#86aef5; --cochineal-t:#ee6c9f; --verdigris-t:#40c9a2; --walnut-t:#c79c70;
  --twist:rgba(11,15,38,.34); --shuttle:#efe7d6; --shuttle-edge:#efe7d6; --live:#f1c440; --weld-line:#f1c440; --warp:rgba(239,231,214,.045); --scrim:rgba(11,15,38,.86); color-scheme:dark }
/* Artboards pin their own ground, whatever the viewer's theme. */
.t-day{
  --ground:#eaf1fa; --surface:#fbf8f2; --surface-2:#ffffff; --sunk:#dde7f4;
  --ink:#0b0f26; --ink-2:#454a6b; --ink-3:#5a5e85; --line:#c3cee2; --line-soft:#d8e1ef;
  --madder-t:#b93a22; --weld-t:#7d5d00; --woad-t:#2c5cc5; --cochineal-t:#b3215f; --verdigris-t:#0d7a5f; --walnut-t:#7a5630;
  --twist:rgba(11,15,38,.26); --shuttle:#fffdf8; --shuttle-edge:#0b0f26; --live:#b93a22; --weld-line:#d9a400; --warp:rgba(11,15,38,.05); --scrim:rgba(234,241,250,.9); color-scheme:light }
.t-night{
  --ground:#0b0f26; --surface:#121839; --surface-2:#19204a; --sunk:#080b1d;
  --ink:#efe7d6; --ink-2:#a4a6c4; --ink-3:#8f92b8; --line:#2c3566; --line-soft:#1f2752;
  --madder-t:#f07a63; --weld-t:#f1c440; --woad-t:#86aef5; --cochineal-t:#ee6c9f; --verdigris-t:#40c9a2; --walnut-t:#c79c70;
  --twist:rgba(11,15,38,.34); --shuttle:#efe7d6; --shuttle-edge:#efe7d6; --live:#f1c440; --weld-line:#f1c440; --warp:rgba(239,231,214,.045); --scrim:rgba(11,15,38,.86); color-scheme:dark }


/* Additions the guide leaves open, decided for the product (not in the v2 guide). */
:root {
  /* Type scale from tokens.json type.scale: size and line height. */
  --fs-display: 68px; --lh-display: 68px;
  --fs-title: 46px; --lh-title: 47px;
  --fs-heading: 24px; --lh-heading: 27px;
  --fs-body: 16px; --lh-body: 25px;
  --fs-label: 13px; --lh-label: 16px;
  --fs-eyebrow: 11.5px; --fs-data: 13px;
  /* Spacing on a 4 px base. */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  /* Corners: cards, rows and fields are square with 1 px lines, as in the guide's mockups.
     Only avatars, dots and the knot are round. */
  --r-0: 0; --r-1: 3px; --r-round: 999px;
  /* Smallest touch target, and the longest comfortable line. */
  --target: 44px; --measure: 65ch;
  /* Motion timings from tokens.json motion. */
  --dur-state: 300ms; --dur-pass: 600ms; --ease-pull: cubic-bezier(.2, .8, .2, 1);
}
/* Meanings. Declared on every ground so they follow a forced ground. */
:root, .t-day, .t-night {
  --focus: var(--woad-t);
  --link: var(--woad-t);
  --primary: var(--madder);
  --working: var(--verdigris); --working-t: var(--verdigris-t);
  --waiting: var(--weld); --waiting-t: var(--weld-t);
  --needs-you: var(--cochineal); --needs-you-t: var(--cochineal-t);
  /* The guide has no error colour. Errors use deep madder text and always say in words what failed;
     cochineal stays reserved for what needs a person. */
  --error-t: var(--madder-t);
}

/* base.css */
/* Converloom page base, v2. A surface imports fonts.css, tokens.css, base.css and components.css,
   in that order, when it moves to the guide. Element rules only: the ground, the three voices,
   focus and links. Page layout stays with each page. */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--fs-body)/var(--lh-body) var(--sans);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
/* The page's own scrollbar: the quiet ink on the ground, 3:1 or more by day and night. */
html { scrollbar-color: var(--ink-3) var(--ground); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; color: var(--ink); }
h1 { font-size: var(--fs-title); line-height: var(--lh-title); }
h2 { font-size: var(--fs-heading); line-height: var(--lh-heading); }
h3 { font-size: 20px; line-height: 1.2; }
h4, h5, h6 { font: 600 15px/1.3 var(--sans); }
p { max-width: var(--measure); }
a { color: var(--link); text-underline-offset: 3px; }
code, kbd, samp, time, data { font-family: var(--mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
/* Product: a text box grows with what is typed, with no browser resize grip. Its focus stays. */
textarea { resize: none; field-sizing: content; }
::selection { background: var(--weld); color: var(--on-dye); }
@media (max-width: 600px) {
  h1 { font-size: 36px; line-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* components.css */
/* Converloom components, v2. Load fonts.css and tokens.css first.
   Ported from assets/brand/v2/css/components.css with every class prefixed "cl-",
   so they never collide with the classes pages already use. Changes from the guide
   are marked "Product:". Elements are built from cords, shuttles and knots. */

/* Type voices */
.cl-serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
.cl-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cl-eyebrow { font: 500 var(--fs-eyebrow)/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
em.cl-live { font-family: var(--serif); font-style: italic; color: var(--live); }
/* Product: errors say what failed, in deep madder text, never on a fill. */
.cl-error { color: var(--error-t); font-weight: 500; }

/* Text for screen readers only, such as the name beside a lockup drawn for the eye. */
.cl-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The lockup: "converl" + mark + "m". The mark stands in for the two o's. */
.cl-lockup { display: inline-flex; align-items: center; font: 700 34px/1 var(--sans); letter-spacing: -0.045em; color: var(--ink); white-space: nowrap; text-decoration: none; }
.cl-lockup.xs { font-size: 21px; }
.cl-lockup .cl-mark { width: 1.02em; margin: 0 0.01em 0 0.035em; transform: translateY(0.05em); }

/* The mark (drawn by markSvg in mark.ts). */
.cl-mark { display: inline-block; overflow: visible; vertical-align: middle; }
.cl-mark .ring { fill: none; stroke-width: 9; stroke-linecap: round; }
.cl-mark .tw { fill: none; stroke: var(--twist); stroke-width: 9; stroke-dasharray: 0.9 4.3; opacity: 0.8; }
.cl-mark .gap { fill: none; stroke: var(--mark-ground, var(--ground)); stroke-width: 14; }
.cl-mark .sh { fill: var(--shuttle); stroke: var(--shuttle-edge); stroke-width: 1.1; stroke-linejoin: round; }
.cl-mark .knot { fill: var(--cochineal); }
/* Below 64 px the twist is dropped (guide: construction). */
.cl-lockup .cl-mark .tw, .cl-mark.small .tw { display: none; }

/* Cords: the thread, drawn. */
.cl-cord { display: block; height: 5px; border-radius: 5px; background: repeating-linear-gradient(115deg, transparent 0 4px, var(--twist) 4px 5.6px) 0 0/11.2px 100%, var(--c, var(--verdigris)); }
.cl-cord.run { animation: cl-run 1.1s linear infinite; }
.cl-cord.thin { height: 2px; background: var(--line); }
.cl-cord.paused { height: 0; border-top: 2px dotted var(--ink-3); background: none; border-radius: 0; }
@keyframes cl-run { to { background-position: 11.2px 0, 0 0; } }

/* Threads: one status line. The word is always there; colour never carries state alone. */
.cl-state { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; padding: 9px 0; font: 500 13px/1.2 var(--mono); }
.cl-state svg { width: 64px; height: 14px; overflow: visible; }
.cl-state .w { color: var(--k, var(--ink-3)); }
.cl-state small { display: block; font: 400 13.5px/1.35 var(--sans); color: var(--ink-2); margin-top: 3px; }
.cl-state.working { --k: var(--working-t); --c: var(--working); }
.cl-state.waiting { --k: var(--waiting-t); }
.cl-state.needs-you { --k: var(--needs-you-t); }
.cl-slack path { fill: none; stroke: var(--weld-line); stroke-width: 4; stroke-linecap: round; animation: cl-sway 2.6s ease-in-out infinite; transform-origin: center; }
@keyframes cl-sway { 50% { transform: scaleY(0.3); } }

/* Knots: the only cochineal element, and the only place a person is pulled in. */
.cl-knotdot { position: relative; display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--cochineal); }
.cl-knotdot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cochineal); animation: cl-breath 2.2s ease-out infinite; }
.cl-knotdot.still::after { display: none; }
@keyframes cl-breath { from { transform: scale(1); opacity: 0.55; } to { transform: scale(3); opacity: 0; } }
.cl-knotcard { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--cochineal); }
.cl-knotcard .kt { flex: 1 1 220px; min-width: 0; }
.cl-knotcard b { font-weight: 600; display: block; }
.cl-knotcard .kt p { font-size: 14px; color: var(--ink-2); margin: 3px 0 0; }

/* Shuttles: every button. A cord runs through each one. Madder is the one primary action on a page. */
/* Product: a bare shuttle is quiet, so a button that forgets its variant can never turn madder. The one primary states .primary. */
.cl-shuttle-pad { display: inline-block; padding: 0 18px; }
.cl-shuttle { position: relative; display: inline-flex; align-items: center; justify-content: center; height: var(--target); padding: 0 30px; border: 0; background: none; color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; text-decoration: none; isolation: isolate; white-space: nowrap; }
.cl-shuttle::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sunk); clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%); }
.cl-shuttle::after { content: ""; position: absolute; z-index: -2; left: -18px; right: -18px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--line); }
.cl-shuttle:hover::after { animation: cl-run 0.7s linear infinite; }
.cl-shuttle:active { transform: scaleX(0.97); }
.cl-shuttle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.cl-shuttle.primary { color: var(--on-dye); }
.cl-shuttle.primary::before { background: var(--c, var(--madder)); }
.cl-shuttle.primary::after { background: repeating-linear-gradient(115deg, transparent 0 4px, var(--twist) 4px 5.6px) 0 0/11.2px 100%, var(--c, var(--madder)); }
.cl-shuttle.quiet { color: var(--ink); }
.cl-shuttle.quiet::before { background: var(--sunk); }
.cl-shuttle.quiet::after { background: var(--line); }
.cl-shuttle.sm { height: 34px; padding: 0 22px; font-size: 13.5px; }
.cl-shuttle.sm::before { clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 11px 100%, 0 50%); }
/* Product: small shuttles keep a 44 px touch target on touch screens. */
@media (pointer: coarse) { .cl-shuttle.sm { height: var(--target); } }
/* Product: a shuttle that can't be pressed yet goes quiet and still. */
.cl-shuttle:disabled, .cl-shuttle[aria-disabled="true"] { cursor: not-allowed; color: var(--ink-3); }
.cl-shuttle:disabled::before, .cl-shuttle[aria-disabled="true"]::before { background: var(--sunk); }
.cl-shuttle:disabled::after, .cl-shuttle[aria-disabled="true"]::after { background: var(--line-soft); animation: none; }

/* Chips, fields and switches */
.cl-chip { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 14px; font: 500 12px/1 var(--mono); color: var(--ink); background: var(--surface-2); clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 9px 100%, 0 50%); }
.cl-field label { display: block; font: 500 12px/1.2 var(--mono); color: var(--ink-3); margin-bottom: 6px; }
.cl-field input, .cl-field textarea, .cl-field select { width: 100%; font: 400 16px/1.3 var(--sans); color: var(--ink); background: none; border: 0; border-bottom: 2px solid var(--ink-3); border-radius: 0; padding: 6px 0; }
.cl-field input:focus, .cl-field textarea:focus, .cl-field select:focus { outline: 0; border-image: repeating-linear-gradient(115deg, var(--woad) 0 5px, var(--woad-t) 5px 7px) 2; }
.cl-switch { display: flex; align-items: center; gap: 14px; font-size: 14.5px; min-height: var(--target); }
.cl-switch input { appearance: none; -webkit-appearance: none; flex: none; width: 52px; height: 20px; margin: 0; border-radius: 4px; cursor: pointer; background: linear-gradient(var(--line), var(--line)) 0 50%/100% 3px no-repeat; position: relative; }
.cl-switch input::after { content: ""; position: absolute; top: 2px; left: 0; width: 24px; height: 16px; background: var(--ink-3); clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%); transition: left 0.3s cubic-bezier(0.3, 1.5, 0.5, 1), background 0.3s; }
.cl-switch input:checked { background: linear-gradient(var(--verdigris), var(--verdigris)) 0 50%/100% 3px no-repeat; }
.cl-switch input:checked::after { left: 28px; background: var(--verdigris-t); }
.cl-switch input:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
/* Product: a field's label sits flush above its line, and fields stack with room between. */
.cl-field label { margin: 0 0 6px; }
.cl-field input, .cl-field textarea, .cl-field select { margin: 0; min-height: var(--target); }
.cl-field + .cl-field { margin-top: 18px; }
.cl-field-hint { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
.cl-field-error { margin: 6px 0 0; font-size: 13.5px; color: var(--error-t); }
.cl-field input[aria-invalid="true"] { border-bottom-color: var(--error-t); }
.cl-field input::placeholder { color: var(--ink-3); }
.cl-field input:disabled { color: var(--ink-3); border-bottom-style: dashed; cursor: not-allowed; }
/* A segmented choice (guide .seg) made of real radios: the chosen one is ink on the line. */
.cl-seg, .cl-tabs { min-width: 0; margin: 0; padding: 0; border: 0; }
.cl-seg legend, .cl-tabs legend { margin: 0 0 6px; padding: 0; font: 500 12px/1.2 var(--mono); color: var(--ink-3); }
.cl-seg-row { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); background: var(--surface); }
.cl-seg label { position: relative; display: inline-flex; align-items: center; min-height: var(--target); margin: 0; padding: 0 16px; font: 500 13px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.cl-seg input, .cl-tabs input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.cl-seg label:has(:checked) { background: var(--ink); color: var(--ground); font-weight: 600; }
.cl-seg label:has(:checked)::before { content: "\2713" / ""; margin-right: 6px; }
.cl-seg label:has(:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; z-index: 1; }
.cl-seg label:has(:disabled) { cursor: not-allowed; color: var(--ink-3); }
/* Tabs (guide .tabs): radios or pressed buttons; the chosen one is ink on the madder thread. */
.cl-tabs-row, div.cl-tabs { display: flex; flex-wrap: wrap; gap: 0 22px; }
.cl-tabs label, .cl-tabs button { position: relative; display: inline-flex; align-items: center; min-height: var(--target); margin: 0; padding: 0; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; font: 500 14.5px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.cl-tabs label:has(:checked), .cl-tabs [aria-pressed="true"] { color: var(--ink); font-weight: 600; border-image: repeating-linear-gradient(115deg, var(--madder) 0 5px, var(--madder-t) 5px 7px) 3; }
.cl-tabs label:has(:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
/* A disclosure: an ink summary row with a drawn caret in place of the browser's triangle, a full 44 px target. */
.cl-disclose { margin: 0; border-top: 1px solid var(--line-soft); }
.cl-disclose.bare { border-top: 0; }
.cl-disclose > summary { display: flex; align-items: center; gap: 10px; min-height: var(--target); padding: 10px 0; list-style: none; cursor: pointer; font: 600 14.5px/1.3 var(--sans); color: var(--ink); }
.cl-disclose > summary::-webkit-details-marker { display: none; }
.cl-disclose > summary::before { content: ""; flex: none; width: 7px; height: 7px; margin: 0 3px 0 1px; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform var(--dur-state) var(--ease-pull); }
.cl-disclose[open] > summary::before { transform: rotate(45deg); }
.cl-disclose > summary:hover { text-decoration: underline var(--ink-3); text-underline-offset: 4px; }
.cl-disclose > summary:hover::before { border-color: var(--ink); }
.cl-disclose > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cl-disclose[open] { padding-bottom: 12px; }
.cl-disclose > :not(summary) { margin-left: 22px; }
.cl-disclose > p { max-width: var(--measure); color: var(--ink-2); }
.cl-disclose > summary + p { margin-top: 2px; }

/* Rows and panels, from the guide's Circle settings mockup: square, 1 px lines, linen paper. */
.cl-panel { background: var(--surface); border: 1px solid var(--line); }
.cl-rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); }
.cl-rows > li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--line-soft); }
.cl-rows > li:first-child { border-top: 0; }
.cl-avatar { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c, var(--walnut)); color: var(--on-dye); font: 600 12px/1 var(--sans); }

/* A card: a padded panel with a serif heading (guide: .panel, .panel h3, .panel p). */
.cl-panel.pad { min-width: 0; margin: 0; padding: 22px; border-radius: 0; }
.cl-panel-title { margin: 0; font: 400 24px/1.1 var(--serif); letter-spacing: -0.005em; color: var(--ink); }
.cl-eyebrow + .cl-panel-title { margin-top: 10px; }
.cl-panel-lead { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* The app frame, from the guide's Circle settings board (.cs). */
.cl-icon-tile { --tile: var(--surface); --mark-ground: var(--tile); display: grid; place-items: center; flex: none; width: var(--s, 96px); aspect-ratio: 1; border-radius: 22%; background: var(--tile); }
.cl-icon-tile .cl-mark { width: 66%; }
.cl-icon-tile .cl-mark .tw { display: none; }
.cl-rail { display: grid; align-content: start; justify-items: center; gap: 22px; padding: 22px 0; border-right: 1px solid var(--line); font: 500 11.5px/1 var(--sans); color: var(--ink-2); }
.cl-rail a { display: grid; justify-items: center; align-content: center; gap: 7px; color: inherit; text-decoration: none; }
.cl-rail a::before { content: ""; box-sizing: border-box; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-3); }
.cl-rail a:hover, .cl-rail a[aria-current] { color: var(--ink); }
.cl-rail a[aria-current]::before { background: var(--madder); border-color: var(--madder); }
.cl-rail a:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 3px; }
/* Product: each item is a full-width 44 px target; the gap shrinks so items keep the guide's spacing. */
.cl-rail { gap: 7px; }
.cl-rail a { width: 100%; min-height: var(--target); }
.cl-rail > .cl-icon-tile { --s: 46px; margin-bottom: 7px; }
/* The page header: eyebrow, serif title (guide .cs h1, 56/56) and an optional lead. An <em> in the title is the guide's live accent. */
.cl-title { margin: 0; font: 400 clamp(34px, 4.4vw, 56px)/1 var(--serif); letter-spacing: -0.005em; color: var(--ink); text-wrap: balance; }
.cl-title em { font-style: italic; color: var(--live); }
.cl-eyebrow + .cl-title { margin-top: 12px; }
.cl-page-lead { margin: 10px 0 0; max-width: 56ch; font-size: 16.5px; color: var(--ink-2); }
/* Section headings inside a page (guide: .cs h2, .cs h2+p). */
.cl-section-title { margin: 0; font: 400 29px/1.05 var(--serif); letter-spacing: -0.005em; color: var(--ink); }
.cl-section-lead { margin: 6px 0 0; max-width: 60ch; font-size: 14.5px; color: var(--ink-2); }

/* With reduced motion the loom freezes at a readable moment. Nothing is lost: every state keeps its word. */
@media (prefers-reduced-motion: reduce) {
  .cl-cord.run, .cl-slack path, .cl-knotdot::after, .cl-shuttle:hover::after { animation: none; }
  .cl-switch input::after, .cl-disclose > summary::before { transition: none; }
  /* The mark moves by SVG animation, which CSS can't pause, so the moving parts are hidden. */
  .cl-mark .shg, .cl-mark .pulse { display: none; }
}
