/* Label League — /guides (9/28/2026). The 44 Guides artboard: desktop ≥ 1024 (light artboard) — the header, the section rail + the ink
   "Take it with you" card, the section set as a printed page with mono side-heads and every table on the printout; phone < 1024 (dark
   artboard) — the guide switch, the chip row, the section card (first two blocks), the full section as a sheet, the PDF thumb bar.
   Measurements are the .dc.html inline styles (design/claude-design-handoff-2026-09-28-guides/…/44 Guides.dc.html). Colours are the
   site.css tokens, so both themes ship system-driven like every page. Every class is gd-scoped (site.css owns .printout/.sheet/.nav). */
.guides{--gd-po-br:var(--printout-rule);--gd-take-br:transparent}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .guides{--gd-po-br:transparent;--gd-take-br:#2A2A2E}}
:root[data-theme="dark"] .guides{--gd-po-br:transparent;--gd-take-br:#2A2A2E}


.gd{max-width:1280px;margin:0 auto;color:var(--ink);line-height:normal}
.gd button{line-height:normal}
.gd h1,.gd h2,.gd h3{font-size:inherit;font-weight:inherit;letter-spacing:inherit}

/* ── the header: eyebrow · the guide name · its lead · the guide switch ── */
.gd-head{padding:40px 40px 0;display:flex;justify-content:space-between;align-items:flex-end;gap:40px}
.gd-eyebrow{font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--eyebrow);display:flex;align-items:center;gap:10px}
.gd-eyebrow::before{content:"";width:26px;height:1px;background:var(--eyebrow);display:block;flex:none}
.gd .gd-name{font-weight:700;font-size:72px;line-height:.9;letter-spacing:-.05em;margin-top:14px}
.gd-lead{font-size:16px;line-height:1.55;color:var(--ink2);margin:16px 0 0;max-width:56ch}
.gd-switch{display:inline-flex;background:var(--sunk);border-radius:10px;padding:3px;gap:2px;flex:none}
.gd-switch button{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;padding:9px 16px;border-radius:7px;background:transparent;color:var(--ink2);border:0;cursor:pointer;white-space:nowrap}
.gd-switch button[aria-pressed="true"]{background:var(--ink);color:var(--on-ink)}

/* ── the body: the rail + the section page ── */
.gd-body{padding:34px 40px 56px;display:grid;grid-template-columns:270px 1fr;gap:36px;align-items:start}
.gd-rail{display:flex;flex-direction:column;gap:16px;position:sticky;top:80px}
.gd-sections{background:var(--card);border:1px solid var(--rule);border-radius:12px;padding:6px}
.gd-sections button{width:100%;text-align:left;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;padding:12px 12px;border-radius:9px;border:0;background:transparent;color:var(--ink);cursor:pointer;font-family:var(--body)}
.gd-sections button:hover{background:var(--paper)}
.gd-sections button[aria-current="true"]{background:var(--ink);color:var(--on-ink)}
.gd-sections .n{font-family:var(--mono);font-size:13px;letter-spacing:.06em;opacity:.7}
.gd-sections .t{font-weight:700;font-size:15px;letter-spacing:-.01em}
.gd-take{background:#111;color:#F1EFEA;border-radius:12px;padding:16px 18px;display:grid;gap:10px;box-shadow:inset 0 0 0 1px var(--gd-take-br)}
.gd-take .e{font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:#8B8A86}
.gd-take a{display:flex;justify-content:space-between;align-items:baseline;text-decoration:none;padding:8px 0;border-bottom:1px solid #3A3A40;color:#F1EFEA}
.gd-take a:last-child{border-bottom:0}
.gd-take a b{font-weight:700;font-size:14px}
.gd-take a span{font-family:var(--mono);font-size:9.5px;color:#8B8A86}
.gd-take a:hover b{text-decoration:underline;text-underline-offset:3px}
.gd-take a:focus-visible{outline-color:#F1EFEA;outline-offset:2px}
.gd-note{font-family:var(--mono);font-size:9.5px;line-height:1.7;color:var(--eyebrow)}

.gd-pagewrap{min-width:0;scroll-margin-top:80px}
.gd-pagewrap.rise{animation:gdrise .25s ease both}
@keyframes gdrise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.gd-page{background:var(--card);border:1px solid var(--rule);border-radius:12px;padding:30px 36px 34px}
.gd-ph{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 20px;padding-bottom:16px;border-bottom:1px solid var(--ink)}   /* wraps only below 1280: the kicker drops under the title instead of squeezing it */
.gd-ph .l{display:flex;align-items:baseline;gap:16px}
.gd-ph .n{font-family:var(--mono);font-size:20px;letter-spacing:.1em;color:var(--eyebrow)}
.gd .gd-ph .t{font-weight:700;font-size:38px;letter-spacing:-.04em;line-height:1}
.gd-ph .k{font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--eyebrow);white-space:nowrap}
.gd-blk{display:grid;grid-template-columns:150px 1fr;gap:20px;padding:18px 0;border-bottom:1px dotted var(--rule-strong);align-items:baseline}
.gd-blk.tb{align-items:start}
.gd .gd-blk .sh{font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--eyebrow);line-height:1.6;font-weight:400}
.gd-blk p{margin:0;font-size:15px;line-height:1.6;color:var(--ink);text-wrap:pretty}
/* the printout: the Team Guide's table stock */
.gd-po{background-color:var(--printout);border:1px solid var(--printout-rule);border-radius:2px;padding:10px 14px;font-family:var(--mono);color:var(--printout-ink);background-image:repeating-linear-gradient(180deg,transparent 0 27px,rgba(31,26,20,.05) 27px 28px)}
.gd-po .r{display:grid;grid-template-columns:1fr auto;gap:16px;padding:6px 0;border-bottom:1px dashed var(--printout-dash);font-size:11.5px;color:var(--printout-ink);align-items:baseline}
.gd-po .r b{font-family:var(--disp);font-weight:700;font-size:15px;letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap}
.gd-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:18px;font-family:var(--mono);font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--eyebrow)}
.gd-foot>span{white-space:nowrap}
.gd-foot .nv{display:flex;gap:8px;margin-left:auto}
.gd-foot button{height:32px;padding:0 12px;border-radius:8px;font-family:inherit;font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.gd-foot .pv{border:1px solid var(--rule-strong);background:transparent;color:var(--ink)}
.gd-foot .pv:hover{border-color:var(--ink)}
.gd-foot .nx{border:0;background:var(--ink);color:var(--on-ink)}
.gd-err{font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--eyebrow);line-height:1.7}

/* ── the phone: the switch · the chip row · the section card · the sheet · the thumb bar ── */
.gd-phone,.gd-thumb{display:none}
@media (max-width:1023px){
  /* the page is height-capped above the thumb bar: the content scrolls inside itself, nothing runs under the bar */
  body.guides{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
  body.guides>.mast{flex:none}
  .gd{flex:1 1 auto;min-height:0;width:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:18px 18px 18px}
  .gd-head{display:flex;flex-direction:column-reverse;align-items:stretch;gap:0;padding:0}
  .gd-eyebrow,.gd-lead{display:none}
  .gd .gd-name{font-size:40px;line-height:.9;letter-spacing:-.045em;margin-top:18px}
  .gd-switch{display:flex;width:100%;background:var(--card);border:1px solid var(--rule);border-radius:9px;padding:2px;gap:2px}
  .gd-switch button{flex:1;font-size:9.5px;padding:9px 6px}
  .gd-body{display:block;padding:0}
  .gd-rail,.gd-pagewrap{display:none}
  .gd-phone{display:block}
  /* the chip row scrolls sideways, no scrollbar; 4px of padding keeps a focus ring inside the scroller */
  .gd-chips{position:relative;display:flex;gap:6px;margin:10px -18px 0 -4px;padding:4px 18px 4px 4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .gd-chips::-webkit-scrollbar{display:none}
  .gd-chips button{flex:none;height:30px;padding:0 11px;border-radius:7px;border:1px solid var(--rule-strong);background:transparent;color:var(--ink2);font-family:var(--mono);font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
  .gd-chips button[aria-current="true"]{border-color:var(--ink);background:var(--ink);color:var(--on-ink)}
  .gd-chips button:focus-visible{outline-offset:2px}
  .gd-card{margin-top:12px;background:var(--card);border:1px solid var(--rule);border-radius:12px;padding:16px 16px 14px}
  .gd-card.rise{animation:gdrise .25s ease both}
  .gd-card .ch{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
  .gd .gd-card .ch .t{font-weight:700;font-size:18px;letter-spacing:-.02em}
  .gd-card .ch .c{font-family:var(--mono);font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);white-space:nowrap}
  .gd-read{margin-top:12px;display:inline-block;padding:0;font-family:var(--mono);font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);text-decoration:underline;background:none;border:0;cursor:pointer}
  .gd-thumb{flex:none;display:flex;align-items:center;gap:10px;height:calc(66px + env(safe-area-inset-bottom));padding:12px 18px env(safe-area-inset-bottom);background:color-mix(in srgb,var(--paper) 90%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--rule);line-height:normal}
  .gd-thumb span{flex:1;font-family:var(--mono);font-size:10px;letter-spacing:.1em;color:var(--mute)}
  .gd-thumb a{height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--rule-strong);color:var(--ink);display:inline-flex;align-items:center;text-decoration:none;font-weight:700;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
}
/* a phone block (the card and the sheet share it): mono head, clamped text or the dark printout */
.gd-cb{padding:12px 0 0}
.gd-cb .sh{font-family:var(--mono);font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);font-weight:400}
.gd-cb p{margin:6px 0 0;font-size:13.5px;line-height:1.55;color:var(--ink2);overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;line-clamp:5;-webkit-box-orient:vertical}
.gd-cb .po{margin-top:8px;background-color:var(--printout);color:var(--printout-ink);border:1px solid var(--gd-po-br);border-radius:2px;padding:8px 12px;font-family:var(--mono);background-image:repeating-linear-gradient(180deg,transparent 0 23px,rgba(31,26,20,.05) 23px 24px)}
.gd-cb .po .r{display:grid;grid-template-columns:1fr auto;gap:10px;padding:5px 0;border-bottom:1px dashed var(--printout-dash);font-size:10.5px;align-items:baseline}
.gd-cb .po .r b{font-family:var(--disp);font-weight:700;font-size:13.5px;letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap}

/* the full section as a sheet: drops in from the bottom; Esc, the Close button or the backdrop folds it */
.gd-sheet{position:fixed;inset:auto 0 0 0;margin:0 auto;width:min(640px,100%);max-width:100%;max-height:88vh;max-height:88dvh;padding:0;border:1px solid var(--rule);border-bottom:0;border-radius:22px 22px 0 0;background:var(--card);color:var(--ink);overflow:hidden;line-height:normal}
.gd-sheet[open]{display:flex;flex-direction:column;animation:gdsheet .35s cubic-bezier(.2,.8,.2,1) both}
.gd-sheet::backdrop{background:rgba(15,15,17,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
@keyframes gdsheet{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
.gd-sheet .sh-hd{flex:none;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px 18px 14px;border-bottom:1px solid var(--ink)}
.gd-sheet .sh-hd .e{font-family:var(--mono);font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}
.gd-sheet .sh-hd h2{font-weight:700;font-size:26px;letter-spacing:-.03em;line-height:1;margin-top:6px}
.gd-sheet .x{flex:none;height:34px;padding:0 12px;border-radius:8px;border:1px solid var(--rule-strong);font-family:var(--mono);font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);background:transparent;cursor:pointer}
.gd-sheet .sh-bd{overflow-y:auto;overscroll-behavior:contain;padding:0 18px calc(24px + env(safe-area-inset-bottom))}
.gd-sheet .gd-cb{padding:14px 0;border-bottom:1px dotted var(--rule-strong)}
.gd-sheet .gd-cb:last-child{border-bottom:0}
.gd-sheet .gd-cb p{display:block;overflow:visible;-webkit-line-clamp:unset;line-clamp:none;font-size:14px;line-height:1.6;color:var(--ink);text-wrap:pretty}

@media (prefers-reduced-motion:reduce){.gd-pagewrap.rise,.gd-card.rise,.gd-sheet[open]{animation:none}}
