:root {
      color-scheme: light dark;
      --bg: #f2efe7;
      --paper: #fffdf8;
      --surface: #ffffff;
      --surface-2: #e8e3d8;
      --ink: #12233f;
      --muted: #5e6672;
      --line: #c9c3b7;
      --accent: #1f55d5;
      --accent-strong: #153da5;
      --accent-soft: #dbe6ff;
      --warm: #f4b740;
      --warm-soft: #fff1c7;
      --pop: #e8543f;
      --danger: #b42318;
      --danger-soft: #ffe7e2;
      --shadow: 7px 7px 0 rgba(18, 35, 63, .12);
      --shadow-small: 3px 3px 0 rgba(18, 35, 63, .12);
      --radius: 10px;
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #121923;
        --paper: #182231;
        --surface: #1d2938;
        --surface-2: #263649;
        --ink: #f5f1e8;
        --muted: #b7c0ca;
        --line: #425064;
        --accent: #7fa5ff;
        --accent-strong: #a9c1ff;
        --accent-soft: #273d6d;
        --warm: #f4c65e;
        --warm-soft: #493e26;
        --pop: #ff7967;
        --danger: #ff9a90;
        --danger-soft: #4f2d2a;
        --shadow: 7px 7px 0 rgba(0, 0, 0, .28);
        --shadow-small: 3px 3px 0 rgba(0, 0, 0, .28);
      }
    }
    html[data-theme="light"] {
      color-scheme: light;
      --bg: #f2efe7; --paper: #fffdf8; --surface: #ffffff; --surface-2: #e8e3d8;
      --ink: #12233f; --muted: #5e6672; --line: #c9c3b7; --accent: #1f55d5;
      --accent-strong: #153da5; --accent-soft: #dbe6ff; --warm: #f4b740;
      --warm-soft: #fff1c7; --pop: #e8543f; --danger: #b42318; --danger-soft: #ffe7e2;
      --shadow: 7px 7px 0 rgba(18, 35, 63, .12); --shadow-small: 3px 3px 0 rgba(18, 35, 63, .12);
    }
    html[data-theme="dark"] {
      color-scheme: dark;
      --bg: #121923; --paper: #182231; --surface: #1d2938; --surface-2: #263649;
      --ink: #f5f1e8; --muted: #b7c0ca; --line: #425064; --accent: #7fa5ff;
      --accent-strong: #a9c1ff; --accent-soft: #273d6d; --warm: #f4c65e;
      --warm-soft: #493e26; --pop: #ff7967; --danger: #ff9a90; --danger-soft: #4f2d2a;
      --shadow: 7px 7px 0 rgba(0,0,0,.28); --shadow-small: 3px 3px 0 rgba(0,0,0,.28);
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0; min-width: 320px; color: var(--ink); line-height: 1.5;
      font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background-color: var(--bg);
      background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 0);
      background-size: 24px 24px;
    }
    button, input, textarea, select { font: inherit; }
    button, a, select, input[type="range"] { cursor: pointer; }
    button, a, input, textarea, select {
      transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .24s cubic-bezier(.2,.8,.2,1), transform .24s cubic-bezier(.2,.8,.2,1);
    }
    button:active { transform: translateY(1px); }
    .shell { min-height: 100vh; }
    .rail {
      position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: center;
      gap: 18px; min-height: 70px; padding: 12px clamp(18px, 4vw, 48px);
      border-bottom: 2px solid var(--ink); background: color-mix(in srgb, var(--paper) 95%, transparent);
      backdrop-filter: blur(10px);
    }
    .rail-label { margin: 0; flex: none; color: var(--ink); font: 800 .75rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
    .mobile-filter { display: none; }
    .nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
    .nav button {
      border: 0; border-radius: 999px; padding: 8px 13px; color: var(--muted);
      background: transparent; font-size: .86rem; font-weight: 750;
    }
    .nav button:hover { background: var(--surface-2); color: var(--ink); }
    .nav button.active { background: var(--ink); color: var(--paper); }
    .theme-toggle {
      display: flex; align-items: center; justify-content: center; gap: 8px; flex: none;
      margin-left: 4px; padding: 8px 11px; border: 1.5px solid var(--ink); border-radius: 6px;
      background: var(--warm); color: #12233f; font-size: .82rem; font-weight: 800; box-shadow: 2px 2px 0 var(--ink);
    }
    .theme-toggle:hover { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }
    .theme-toggle:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }
    .theme-toggle svg { width: 17px; height: 17px; flex: none; stroke: currentColor; }
    .theme-toggle .sun-icon { display: none; }
    html[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
    html[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
    .rail-note { display: none; }
    .main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: clamp(48px, 7vw, 86px) 0 56px; }
    .intro { margin: 0 auto 34px; text-align: center; }
    .intro-copy { max-width: 780px; margin: 0 auto; }
    .intro-copy::before {
      content: 'THE EVERYDAY WORKBENCH'; display: inline-block; margin-bottom: 18px; padding: 6px 10px;
      border: 1.5px solid var(--ink); background: var(--warm); color: #12233f;
      font: 800 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em;
      transform: rotate(-1deg);
    }
    .intro h1 { margin: 0 0 14px; font-family: Georgia, serif; font-size: clamp(2.5rem, 6vw, 5.3rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
    .intro p { max-width: 670px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.18rem); }
    .catalog-toolbar { display: grid; grid-template-columns: minmax(0, 620px) auto; align-items: end; justify-content: center; gap: 18px; margin-top: 30px; }
    .search-field { position: relative; width: 100%; text-align: left; }
    .search-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
    .search-field input { padding-left: 44px; padding-right: 62px; background: var(--surface); box-shadow: var(--shadow-small); }
    .search-field svg { position: absolute; left: 15px; bottom: 14px; width: 18px; height: 18px; color: var(--ink); pointer-events: none; }
    .search-shortcut { position: absolute; right: 11px; bottom: 9px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: var(--surface-2); font: 700 .72rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; }
    .catalog-summary { margin: 0 0 11px; color: var(--muted); font-size: .86rem; white-space: nowrap; }
    .tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .tool-card {
      position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); min-width: 0; min-height: 168px;
      gap: 15px; align-content: start; padding: 23px 20px 21px; overflow: hidden;
      border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--surface);
      color: inherit; text-align: left; box-shadow: var(--shadow-small);
      transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s cubic-bezier(.2,.8,.2,1), border-color .2s ease, background-color .2s ease;
    }
    .tool-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--card-color, var(--accent)); }
    .tool-card:nth-child(3n+2) { --card-color: var(--warm); }
    .tool-card:nth-child(3n) { --card-color: var(--pop); }
    .tool-card::after { content: '↗'; position: absolute; right: 17px; bottom: 14px; color: var(--muted); font-size: 1.1rem; font-weight: 800; transition: color .2s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
    .tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .tool-card:hover::after { color: var(--accent-strong); transform: translate(2px,-2px); }
    .tool-card:focus-visible { outline: 4px solid var(--accent-soft); outline-offset: 3px; }
    .tool-card[hidden] { display: none; }
    .tool-empty { display: none; padding: 34px; border: 1.5px dashed var(--ink); background: var(--paper); color: var(--muted); text-align: center; }
    .tool-empty.visible { display: block; }
    .glyph { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--warm-soft); color: var(--ink); font: 800 .78rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; transition: transform .28s cubic-bezier(.2,.8,.2,1), background-color .2s ease; }
    .tool-card:hover .glyph { transform: rotate(-3deg) scale(1.04); }
    .tool-card > span:nth-child(2) { min-width: 0; }
    .tool-card strong { display: block; margin: 2px 0 8px; color: var(--ink); font: 700 1.08rem/1.25 Georgia, serif; }
    .tool-card span:last-child { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }
    .workspace { max-width: 980px; margin: 0 auto; }
    .workspace-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
    .workspace h1, .workspace h2 { margin: 0 0 6px; font: 500 clamp(2rem, 5vw, 3.5rem)/1 Georgia, serif; letter-spacing: -.035em; }
    .workspace-head p { margin: 0; color: var(--muted); }
    .back { flex: none; border: 1.5px solid var(--ink); border-radius: 5px; padding: 9px 14px; background: var(--warm); color: #12233f; font-weight: 800; box-shadow: 2px 2px 0 var(--ink); }
    .panel { padding: clamp(20px, 4vw, 34px); border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
    .field { display: grid; gap: 7px; }
    .field label { font-size: .78rem; font-weight: 800; color: var(--ink); letter-spacing: .04em; text-transform: uppercase; }
    input, textarea, select { width: 100%; border: 1.5px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); outline: none; }
    input, select { min-height: 48px; padding: 10px 12px; }
    textarea { min-height: 290px; padding: 14px; resize: vertical; font: .9rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
    input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
    .actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
    .primary, .secondary { min-height: 42px; padding: 9px 15px; border-radius: 5px; font-weight: 800; }
    .primary { border: 1.5px solid var(--ink); background: var(--accent); color: white; box-shadow: 2px 2px 0 var(--ink); }
    .primary:hover, .back:hover { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }
    .secondary { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
    .secondary:hover { border-color: var(--ink); }
    .message { min-height: 24px; margin: 11px 0 0; color: var(--muted); font-size: .86rem; }
    .message.error { color: var(--danger); }
    .split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
    .typing-stats { grid-template-columns: repeat(4, 1fr); }
    .stat { padding: 18px; border-top: 4px solid var(--accent); background: var(--surface-2); }
    .stat:nth-child(2) { border-color: var(--warm); }
    .stat:nth-child(3) { border-color: var(--pop); }
    .stat b { display: block; margin-bottom: 5px; font: 600 1.7rem/1 Georgia, serif; }
    .stat span { color: var(--muted); font-size: .78rem; }
    .type-sample { position: relative; max-width: 100%; height: 3.1em; min-height: 0; max-height: none; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--surface-2); font: 600 clamp(1.45rem, 3vw, 2.05rem)/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: normal; word-break: normal; overflow-y: hidden; cursor: text; scrollbar-width: none; }
    .type-sample::-webkit-scrollbar { display: none; }
    .type-sample span { border-radius: 2px; }
    .type-sample .done { color: var(--accent-strong); }
    .type-sample .wrong { color: var(--danger); background: var(--danger-soft); text-decoration: underline 2px; text-underline-offset: 3px; }
    .type-sample .current { background: var(--warm-soft); box-shadow: inset 0 -2px 0 var(--warm); }
    .type-hint { margin: 8px 2px 0; color: var(--muted); font-size: .82rem; }
    .type-input { margin-top: 14px; min-height: 120px; transition: border-color .15s ease, box-shadow .15s ease; }
    .type-input.has-error { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
    .segmented { display: flex; gap: 6px; margin-bottom: 14px; }
    .segmented button { border: 1.5px solid var(--line); border-radius: 5px; padding: 7px 12px; background: var(--surface); color: var(--muted); }
    .segmented button.active { border-color: var(--ink); background: var(--warm); color: #12233f; font-weight: 800; }
    .result-box { display: grid; place-items: center; min-height: 240px; border: 1.5px dashed var(--ink); background: var(--surface); padding: 18px; text-align: center; }
    #qrOutput canvas, #qrOutput img { max-width: 100%; height: auto; padding: 10px; background: #fff; border-radius: 4px; }
    .metric { padding: 20px; background: var(--surface-2); }
    .metric .big { margin: 0 0 6px; color: var(--accent-strong); font: 500 clamp(2rem, 6vw, 3.4rem)/1 Georgia, serif; }
    .metric p { margin: 0; color: var(--muted); }
    .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .compact-textarea { min-height: 190px; }
    .live-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
    .live-metric { padding: 16px; border-top: 4px solid var(--accent); background: var(--surface-2); }
    .live-metric:nth-child(2) { border-color: var(--warm); }
    .live-metric:nth-child(3) { border-color: var(--pop); }
    .live-metric:nth-child(4) { border-color: var(--ink); }
    .live-metric b { display: block; margin-bottom: 4px; font: 600 1.55rem/1 Georgia, serif; }
    .live-metric span { color: var(--muted); font-size: .78rem; }
    .converter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: end; }
    .swap-button { width: 46px; height: 48px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--warm); color: #12233f; font-weight: 900; box-shadow: 2px 2px 0 var(--ink); }
    .swap-button:hover { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }
    .percent-result { margin-top: 18px; padding: 24px; border: 1.5px dashed var(--ink); background: var(--surface); text-align: center; }
    .percent-result b { display: block; color: var(--accent-strong); font: 500 clamp(2.2rem, 7vw, 4rem)/1 Georgia, serif; }
    .percent-result span { display: block; margin-top: 8px; color: var(--muted); }
    .footnote { margin: 46px 0 0; color: var(--muted); font-size: .83rem; text-align: center; }
    .info-page { max-width: 860px; }
    .legal-panel { padding: clamp(24px, 4vw, 40px); }
    .legal-panel h3 { margin: 30px 0 8px; font: 600 1.12rem/1.3 Georgia, serif; }
    .legal-panel h3:first-child { margin-top: 0; }
    .legal-panel p, .legal-panel li { color: var(--muted); }
    .legal-panel p { margin: 0 0 14px; }
    .legal-panel ul { margin: 8px 0 18px; padding-left: 1.25rem; }
    .legal-panel li + li { margin-top: 7px; }
    .legal-panel strong { color: var(--ink); }
    .legal-panel a { color: var(--accent-strong); font-weight: 700; text-underline-offset: 3px; }
    .policy-date { margin: 0 0 24px; color: var(--muted); font-size: .85rem; }
    .contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
    .contact-option { padding: 18px; border-top: 4px solid var(--accent); background: var(--surface-2); }
    .contact-option:nth-child(2) { border-color: var(--warm); }
    .contact-option:nth-child(3) { border-color: var(--pop); }
    .contact-option strong { display: block; margin-bottom: 4px; }
    .contact-option span { color: var(--muted); font-size: .88rem; }
    .calculator-wrap { max-width: 430px; margin: 0 auto; padding: 16px; border: 1.5px solid var(--ink); background: var(--surface-2); box-shadow: var(--shadow-small); }
    .calc-screen { margin-bottom: 12px; padding: 18px; min-height: 104px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); text-align: right; }
    .calc-expression { min-height: 22px; color: color-mix(in srgb, var(--paper) 70%, transparent); font: .85rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
    .calc-display { margin-top: 6px; font: 600 clamp(2rem, 8vw, 3rem)/1 Georgia, serif; overflow-wrap: anywhere; }
    .calc-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .calc-key { min-height: 58px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--surface); color: var(--ink); font-weight: 800; box-shadow: 2px 2px 0 var(--ink); }
    .calc-key:hover { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }
    .calc-key.operator { background: var(--warm-soft); }
    .calc-key.utility { background: var(--surface-2); }
    .calc-key.equals { background: var(--accent); color: #fff; }
    .site-footer { margin-top: 64px; padding: 24px 0 0; border-top: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .82rem; }
    .site-footer p { margin: 0; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
    .footer-links a { color: var(--muted); text-decoration: none; font-weight: 750; }
    .footer-links a:hover, .footer-links a:focus-visible { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .tool-card, .tool-card::after, .glyph, .theme-toggle, .primary, .back, .calc-key, button, a, input, textarea, select { transition: none; }
    }
    @media (max-width: 1040px) {
      .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 860px) {
      .rail { justify-content: space-between; gap: 10px; min-height: 64px; }
      .rail-label, .nav { display: none; }
      .mobile-filter { display: block; width: min(100%, 260px); min-height: 42px; padding: 8px 34px 8px 11px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--paper); color: var(--ink); font-weight: 800; box-shadow: 2px 2px 0 var(--ink); }
      .theme-toggle { width: 44px; height: 42px; margin: 0; padding: 0; }
      .theme-toggle span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
      .main { width: min(100% - 28px, 700px); padding-top: 42px; }
      .catalog-toolbar { grid-template-columns: 1fr; gap: 8px; }
      .catalog-summary { text-align: left; }
      .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 600px) {
      .main { width: min(100% - 24px, 520px); padding: 36px 0 44px; }
      .intro-copy::before { margin-bottom: 14px; }
      .intro h1 { font-size: clamp(2.35rem, 13vw, 3.5rem); }
      .intro p { font-size: .98rem; }
      .search-shortcut { display: none; }
      .split, .form-grid, .converter-row { grid-template-columns: 1fr; }
      .tool-grid { grid-template-columns: 1fr; }
      .tool-card { min-height: 142px; padding: 21px 20px; }
      .swap-button { width: 100%; }
      .live-metrics { grid-template-columns: 1fr 1fr; }
      .workspace-head { align-items: center; }
      .workspace-head p { font-size: .9rem; }
      textarea { min-height: 230px; }
      .stats { grid-template-columns: 1fr 1fr; }
      .stats .stat:last-child { grid-column: 1 / -1; }
      .typing-stats .stat:last-child { grid-column: auto; }
      .contact-options { grid-template-columns: 1fr; }
      .site-footer { align-items: flex-start; flex-direction: column; margin-top: 48px; }
      .calculator-wrap { padding: 10px; }
      .calc-key { min-height: 54px; }
    }

    /* ---- Google AdSense placements ----
       Reusable components: left/right side rails and a bottom banner
       (placed), plus top-banner and in-content units (supported, not
       placed). Slots are filled by the ad script below from the publisher
       ID in the <head> config block; every unit is labelled
       "Advertisement" and kept clear of buttons and content. */
    /* Slots stay hidden until Google actually fills the unit, so no empty
       labelled boxes show while the account is under review, when no ad
       fills, or when the ad script is blocked. */
    .ad-slot { display: none; margin: 30px auto; max-width: 1100px; text-align: center; }
    .ad-slot:has(> ins.adsbygoogle[data-ad-status="filled"]) { display: block; }
    .ad-slot .ad-label {
      display: block; margin-bottom: 8px; color: var(--muted);
      font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    }
    .ad-slot ins.adsbygoogle { display: block; min-height: 90px; }
    .ad-slot--top { margin-top: 8px; }
    .ad-slot--in-content { margin: 36px auto; }
    .ad-slot--bottom { margin: 60px auto 0; }
    /* Fixed vertical side rails: they live in the empty margin beside the
       1180px content column, vertically centred, and only appear on wide
       viewports so they never crowd the content or its buttons. */
    .ad-slot--rail {
      position: fixed; top: 50%; transform: translateY(-50%);
      width: 160px; margin: 0; z-index: 10;
    }
    .ad-slot--left { left: 14px; }
    .ad-slot--right { right: 14px; }
    .ad-slot--rail ins.adsbygoogle { min-height: 600px; }
    @media (max-width: 1559px) {
      .ad-slot--rail { display: none !important; }
    }
    @media (min-width: 1860px) {
      .ad-slot--rail { width: 300px; }
    }
  
    /* ---- Restructured multi-page additions ---- */
    a.tool-card { text-decoration: none; }
    .tool-card[hidden] { display: none; }
    a.back { text-decoration: none; display: inline-block; }
    .brand { flex: none; color: var(--ink); font: 800 1.05rem Georgia, serif; letter-spacing: -.01em; text-decoration: none; }
    .brand:hover { color: var(--accent-strong); }
    .nav a {
      border-radius: 999px; padding: 8px 13px; color: var(--muted);
      text-decoration: none; font-size: .86rem; font-weight: 750;
    }
    .nav a:hover { background: var(--surface-2); color: var(--ink); }
    .trust-line {
      display: flex; align-items: flex-start; gap: 9px; margin: 16px 2px 0;
      color: var(--muted); font-size: .86rem;
    }
    .trust-line svg { flex: none; margin-top: 2px; color: var(--accent-strong); }
    .content-block { max-width: 980px; margin: 46px auto 0; }
    .content-block h2 { margin: 0 0 12px; font: 600 clamp(1.35rem, 3vw, 1.7rem)/1.2 Georgia, serif; letter-spacing: -.02em; }
    .content-block h3 { margin: 0 0 6px; font-size: 1rem; }
    .content-block p, .content-block li { color: var(--muted); }
    .content-block p { margin: 0 0 14px; }
    .content-block ol, .content-block ul { margin: 0 0 14px; padding-left: 1.3rem; }
    .content-block li + li { margin-top: 6px; }
    .content-block code {
      font: .85em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      background: var(--surface-2); padding: 1px 6px; border-radius: 4px; color: var(--ink);
      overflow-wrap: anywhere;
    }
    .example-box {
      margin: 0 0 16px; padding: 16px 18px; border: 1.5px dashed var(--ink);
      background: var(--surface); color: var(--ink);
      font: .85rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      white-space: pre-wrap; overflow-wrap: anywhere;
    }
    .faq-item { border-top: 1.5px solid var(--line); padding: 16px 0 4px; }
    .faq-item:last-child { border-bottom: 1.5px solid var(--line); padding-bottom: 16px; }
    .related-grid { margin-top: 6px; }

    /* v8: accessibility + playbook additions */
    .skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 700; border-radius: 0 0 8px 0; text-decoration: none; }
    .skip-link:focus { left: 0; }
    .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin: 0 0 16px; }
    .breadcrumb a { color: var(--accent); text-decoration: none; }
    .breadcrumb a:hover { text-decoration: underline; }
    .answer-block { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 10px; color: var(--ink); }
    .updated-line { font-size: .82rem; color: var(--muted); margin: 0 0 6px; }
    .embed-box textarea { width: 100%; min-height: 96px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
