/* lenexa.bot Docs | docs-only styles on top of site.css (tokens, header, footer, buttons, chips, avatars, FAQ)
   Source of the design: sites/lenexa.bot/docs-src/design/template.html. Every rule is scoped to body.docs. */

.docs{--dbar-h:58px;--stick:calc(var(--header-height,72px) + var(--dbar-h) + 20px)}
.docs .hd{border-bottom-color:var(--line)}

/* ---------- docs bar: Docs label, search, docs nav (under the site header) ---------- */
.docs .dbar{position:sticky;top:var(--header-height,72px);z-index:95;background:var(--hd-bg);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.docs .dbar .wrap{display:flex;align-items:center;gap:14px;height:var(--dbar-h)}
.docs .dbar-brand{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
.docs .dbar-k{font-family:var(--display);font-weight:800;font-size:18px;letter-spacing:-.02em;color:var(--purple-t)}
.docs .dbar-s{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.docs .dsearch{flex:1;max-width:460px;position:relative;margin-left:8px}
.docs .dsearch input{width:100%;height:40px;border-radius:11px;border:1px solid var(--line-2);background:var(--surface);padding:0 40px 0 38px;font:inherit;font-size:14.5px;color:var(--text)}
.docs .dsearch input:focus{outline:2px solid var(--purple);outline-offset:0;border-color:transparent}
.docs .dsearch > svg{position:absolute;left:12px;top:12px;width:16px;height:16px;color:var(--muted)}
.docs .dsearch kbd{position:absolute;right:10px;top:10px;height:20px;padding:0 6px;border-radius:5px;border:1px solid var(--line-2);font-family:var(--mono);font-size:10.5px;color:var(--muted);display:inline-flex;align-items:center}
.docs .dbar-nav{display:flex;gap:2px;margin-left:auto}
.docs .dbar-nav a{height:36px;padding:0 11px;border-radius:9px;font-size:14px;font-weight:600;color:var(--muted);display:inline-flex;align-items:center}
.docs .dbar-nav a:hover,.docs .dbar-nav a[aria-current]{background:var(--surface);color:var(--text);box-shadow:var(--sh-1)}

/* search results (header and hub) */
.docs .dsr{position:absolute;left:0;right:0;top:calc(100% + 8px);background:var(--surface);border:1px solid var(--line-2);border-radius:14px;box-shadow:var(--sh-3);padding:6px;z-index:120;max-height:min(70vh,520px);overflow:auto;text-align:left}
.docs .dsr[hidden]{display:none}
.docs .dsr a{display:block;padding:10px 12px;border-radius:10px}
.docs .dsr a:hover,.docs .dsr a[aria-selected="true"]{background:var(--lilac)}
.docs .dsr b{display:block;font-size:15px;line-height:1.3;color:var(--text)}
.docs .dsr small{display:block;font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--purple-t);margin-top:3px}
.docs .dsr span{display:block;font-size:13.5px;color:var(--muted);margin-top:3px;line-height:1.4}
.docs .dsr .none{padding:12px;font-size:14px;color:var(--muted)}
.docs .dsr .none a{display:inline;padding:0;color:var(--purple-t);text-decoration:underline}
.docs .dsr--big{top:calc(100% + 10px)}

/* ---------- hub ---------- */
.docs .hub-hero{padding:64px 0 40px;border-bottom:1px solid var(--line);background:var(--grid),var(--paper);position:relative}
.docs .hub-hero::after{content:"";position:absolute;inset:auto 0 0 0;height:100px;background:linear-gradient(180deg,transparent,var(--paper));pointer-events:none}
.docs .hub-hero .wrap{position:relative;z-index:2;max-width:860px;text-align:center}
.docs .hub-hero h1{font-size:clamp(38px,5vw,64px);margin-bottom:16px}
.docs .hub-hero .lede{margin:0 auto 28px}
.docs .hub-hero .page-dates{margin-top:22px}
.docs .big-search{position:relative;max-width:640px;margin:0 auto}
.docs .big-search input{width:100%;height:58px;border-radius:16px;border:1.5px solid var(--line-2);background:var(--surface);padding:0 130px 0 50px;font:inherit;font-size:17px;color:var(--text);box-shadow:var(--sh-2)}
.docs .big-search input:focus{outline:3px solid var(--purple);outline-offset:0;border-color:transparent}
.docs .big-search > svg{position:absolute;left:18px;top:19px;width:20px;height:20px;color:var(--muted)}
.docs .big-search .btn{position:absolute;right:7px;top:7px;height:44px;padding:0 18px;font-size:15px;border-radius:12px}
.docs .big-search .btn svg{width:16px;height:16px}
.docs .sugg{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px}
.docs .sugg button{height:32px;padding:0 13px;border-radius:999px;border:1px solid var(--line-2);font-size:13px;font-weight:600;color:var(--muted);background:var(--surface);transition:color .15s,border-color .15s}
.docs .sugg button:hover{color:var(--purple-t);border-color:var(--purple-3)}
.docs .hsec{padding:56px 0}
.docs .hsec + .hsec{border-top:1px solid var(--line)}
.docs .hhead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap}
.docs .hhead h2{font-size:clamp(26px,3vw,36px);line-height:1.1}
.docs .hhead p{color:var(--muted);margin-top:6px;max-width:60ch;font-size:16.5px}
.docs .hhead .eyebrow{margin-bottom:8px}
.docs .cnt-all{font-family:var(--mono);font-size:12.5px;color:var(--muted)}
.docs .dstart{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.docs .dstart a{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:var(--sh-1);display:flex;flex-direction:column;gap:10px;transition:transform .25s var(--ease),box-shadow .25s;position:relative;overflow:hidden}
.docs .dstart a::after{content:"";position:absolute;top:0;left:22px;right:22px;height:4px;border-radius:0 0 4px 4px;background:var(--purple)}
.docs .dstart a:hover{transform:translateY(-4px);box-shadow:var(--sh-3)}
.docs .dstart .num{font-family:var(--mono);font-size:12px;color:var(--muted);font-weight:600}
.docs .dstart b{font-family:var(--display);font-size:21px;letter-spacing:-.015em;line-height:1.15}
.docs .dstart p{font-size:14.5px;color:var(--muted);line-height:1.45}
.docs .dstart .meta{display:flex;gap:8px;margin-top:auto;padding-top:6px}
.docs .secs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.docs .secc{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--sh-1);display:flex;flex-direction:column;gap:8px}
.docs .secc .ic{width:38px;height:38px;border-radius:11px;background:var(--lilac);color:var(--purple-t);display:grid;place-items:center;font-family:var(--mono);font-size:12.5px;font-weight:600;margin-bottom:4px}
.docs .secc h3{font-size:18px;letter-spacing:-.01em;line-height:1.2}
.docs .secc h3 a:hover{color:var(--purple-t)}
.docs .secc .cnt{font-size:12.5px;color:var(--muted);font-family:var(--mono)}
.docs .secc ul{margin-top:6px;display:flex;flex-direction:column}
.docs .secc li a{display:block;font-size:14px;color:var(--muted);padding:6px 0;border-bottom:1px solid var(--line);transition:color .15s;line-height:1.35}
.docs .secc li:last-child a{border-bottom:0}
.docs .secc li a:hover{color:var(--purple-t)}
.docs .secc li.hid{display:none}
.docs .secc .more{font-size:13px;font-weight:700;color:var(--purple-t);margin-top:4px;text-align:left;padding:4px 0}
.docs .vid-soon{margin-top:22px;font-size:14px;color:var(--muted);display:flex;align-items:center;gap:10px}
.docs .vid-soon::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--purple-3);flex:none}
.docs .vids{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.docs .vid{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--sh-1)}
.docs .thumb{aspect-ratio:16/9;background:#0f0f1c;position:relative;display:grid;place-items:center;overflow:hidden}
.docs .thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.docs .play{position:relative;width:52px;height:52px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,0,0,.4)}
.docs .play svg{width:20px;height:20px;margin-left:3px}
.docs .dur{position:absolute;right:10px;bottom:10px;font-family:var(--mono);font-size:11px;background:rgba(0,0,0,.7);color:#fff;padding:3px 7px;border-radius:6px}
.docs .vid .vm{padding:14px 16px 16px}
.docs .vid .vm b{display:block;font-family:var(--display);font-size:16.5px;line-height:1.2}
.docs .vid .vm span{display:block;font-size:13px;color:var(--muted);margin-top:4px}
.docs .notes{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.docs .note-big{background:var(--inv-bg);color:var(--inv-fg);border-radius:24px;padding:36px;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden;min-height:340px;box-shadow:var(--sh-3);transition:transform .25s var(--ease)}
.docs .note-big:hover{transform:translateY(-3px)}
.docs .note-big::before{content:"";position:absolute;inset:0;background:radial-gradient(500px 300px at 100% 100%,rgba(124,92,252,.4),transparent 65%);pointer-events:none}
.docs .note-big > *{position:relative}
.docs .note-big .eyebrow{color:var(--purple-2);margin-bottom:0}
[data-theme="dark"] .docs .note-big .eyebrow{color:var(--purple)}
.docs .nb-t{font-family:var(--display);font-weight:800;letter-spacing:-.025em;line-height:1.1;font-size:clamp(26px,2.8vw,36px);text-wrap:balance}
.docs .nb-p{opacity:.8;font-size:16px;max-width:54ch;line-height:1.5}
.docs .note-big .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:auto;padding-top:14px}
.docs .note-big .stats b{display:block;font-family:var(--display);font-size:30px;letter-spacing:-.03em;line-height:1}
.docs .note-big .stats span{display:block;font-size:12.5px;opacity:.7;margin-top:4px;max-width:16ch;line-height:1.3}
.docs .note-list{display:flex;flex-direction:column;gap:12px}
.docs .note-sm{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:18px 20px;box-shadow:var(--sh-1);display:flex;flex-direction:column;gap:6px;flex:1;transition:transform .2s var(--ease),box-shadow .2s}
.docs .note-sm:hover{transform:translateY(-3px);box-shadow:var(--sh-2)}
.docs .note-sm .co,.docs .ncard .co{font-family:var(--mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--purple-t);font-weight:600}
.docs .note-sm b{font-family:var(--display);font-size:19px;letter-spacing:-.01em;line-height:1.2}
.docs .note-sm span:last-child{font-size:14px;color:var(--muted)}
.docs .dask{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:28px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;box-shadow:var(--sh-2)}
.docs .dask h2{font-size:26px;margin-bottom:6px;line-height:1.15}
.docs .dask p{color:var(--muted);font-size:15.5px;max-width:62ch}
.docs .dask .cta-row{display:flex;gap:8px;flex-wrap:wrap}

/* answer block (the question H2 and the short "it depends" answer) */
.docs .doc-answer{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px 24px;margin:0 0 8px;box-shadow:var(--sh-1);position:relative}
.docs .hub-hero + .wrap .doc-answer{margin-top:40px}
.docs .doc-answer::before{content:"Short answer";position:absolute;top:-10px;left:18px;font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;background:var(--purple);color:#fff;padding:2px 8px;border-radius:5px}
.docs .doc-answer h2{font-size:clamp(22px,2.3vw,28px);line-height:1.2;letter-spacing:-.02em;margin:4px 0 0 !important;scroll-margin-top:var(--stick)}
.docs .doc-answer p{font-size:16.5px !important;line-height:1.6;margin:12px 0 0 !important;max-width:72ch}
.docs .doc-answer .answer-def{color:var(--muted)}
.docs .doc-answer .answer-def b{color:var(--text)}
.docs .doc-answer .answer-meta{font-family:var(--mono);font-size:11.5px !important;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

/* ---------- article layout: section nav, article, on this page ---------- */
.docs .doc{display:grid;grid-template-columns:240px minmax(0,1fr) 220px;gap:48px;padding:40px 0 80px}
.docs .doc--sec{grid-template-columns:240px minmax(0,1fr)}
.docs .doc--sec .art{max-width:820px}
.docs .side{position:sticky;top:var(--stick);align-self:start;max-height:calc(100vh - var(--stick) - 20px);overflow:auto;padding-right:8px;padding-bottom:12px}
.docs .doc-side{min-width:0}
.docs .side-h{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin:18px 0 4px;font-weight:600}
.docs .side-h:first-child{margin-top:0}
.docs .side-h a{display:block;color:var(--muted);padding:4px 10px;font-size:11px}
.docs .side-h a:hover{color:var(--purple-t);background:none}
.docs .side a{display:block;font-size:14px;color:var(--muted);padding:6px 10px;border-radius:8px;line-height:1.3}
.docs .side a:hover{background:var(--surface);color:var(--text)}
.docs .side a[aria-current]{background:var(--lilac);color:var(--purple-t);font-weight:700}
.docs .side-toggle{display:none;width:100%;height:46px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface);font-weight:700;font-size:14.5px;align-items:center;justify-content:space-between;padding:0 14px;margin-bottom:20px}
.docs .side-toggle svg{width:18px;height:18px;transition:transform .2s}
.docs .side-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.docs .crumb ol{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted);font-family:var(--mono);margin-bottom:18px}
.docs .crumb li{display:flex;gap:8px;align-items:center}
.docs .crumb li + li::before{content:"/";color:var(--muted-2)}
.docs .crumb a{text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}
.docs .crumb a:hover{color:var(--purple-t)}
.docs .art{min-width:0}
.docs .art-head .eyebrow{margin-bottom:12px}
.docs .art h1{font-size:clamp(34px,4vw,50px);margin-bottom:14px;line-height:1.04}
.docs .art .lede{margin-bottom:6px;max-width:62ch}
.docs .art-head .page-dates{margin-top:12px}
.docs .art-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13.5px;color:var(--muted);align-items:center;padding:14px 0 26px;border-bottom:1px solid var(--line);margin-bottom:34px}
.docs .art-meta > span{display:inline-flex;align-items:center;gap:7px}
.docs .art-meta .chip{height:24px;font-size:12px}
.docs .art-body h2,.docs .art > section > h2,.docs .case h2{font-size:clamp(24px,2.6vw,32px);margin:46px 0 14px;scroll-margin-top:var(--stick);line-height:1.12}
.docs .art-body h3{font-size:20px;margin:30px 0 10px;scroll-margin-top:var(--stick);line-height:1.2}
.docs .art-body p,.docs .case p{font-size:17px;line-height:1.65;color:var(--text);margin-bottom:16px;max-width:70ch}
.docs .art-body > ul:not([class]),.docs .art-body > ol:not([class]),.docs .case > ul:not([class]),.docs .case > ol:not([class]){margin:0 0 18px;padding-left:22px;max-width:68ch}
.docs .art-body > ul:not([class]),.docs .case > ul:not([class]){list-style:disc}
.docs .art-body > ol:not([class]),.docs .case > ol:not([class]){list-style:decimal}
.docs .art-body > ul:not([class]) li,.docs .art-body > ol:not([class]) li,.docs .case > ul:not([class]) li,.docs .case > ol:not([class]) li{font-size:16.5px;line-height:1.6;margin-bottom:8px;padding-left:4px}
.docs .art-body li::marker{color:var(--purple-t)}
.docs a.inl{color:var(--purple-t);font-weight:600;text-decoration:underline;text-decoration-color:var(--purple-3);text-underline-offset:3px}
.docs a.inl:hover{text-decoration-color:var(--purple)}
.docs .art code,.docs .case code{font-family:var(--mono);font-size:.86em;background:var(--paper-2);border:1px solid var(--line);border-radius:6px;padding:1px 6px}
.docs .art pre{background:var(--paper-2);border:1px solid var(--line);border-radius:12px;padding:14px 16px;overflow:auto;margin:0 0 18px}
.docs .art pre code{background:none;border:0;padding:0}
.docs blockquote{border-left:4px solid var(--purple);padding:4px 0 4px 18px;margin:20px 0;color:var(--muted)}
.docs .tbl{overflow-x:auto;margin:8px 0 24px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--sh-1)}
.docs .tbl table{border-collapse:collapse;width:100%;font-size:15px;min-width:520px}
.docs .tbl th,.docs .tbl td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.45}
.docs .tbl thead th{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600;background:var(--paper-2)}
.docs .tbl tbody th{font-weight:700}
.docs .tbl tbody tr:last-child th,.docs .tbl tbody tr:last-child td{border-bottom:0}

/* reusable blocks */
.docs .say{margin:18px 0 22px;padding-right:84px;font-size:15.5px;max-width:70ch}
.docs .say .say-body p{font-size:15.5px;line-height:1.55;color:inherit;margin:0 0 8px;max-width:none}
.docs .say .say-body p:last-child{margin-bottom:0}
.docs .say .copy{position:absolute;right:10px;top:10px;height:30px;padding:0 12px;border-radius:8px;background:rgba(127,127,127,.22);font-size:12.5px;font-weight:700;color:inherit}
.docs .say .copy:hover{background:rgba(127,127,127,.34)}
.docs .checks{margin:12px 0 22px}
.docs .checks li{display:flex;gap:10px;align-items:flex-start;font-size:16.5px;line-height:1.5;margin-bottom:10px;max-width:68ch}
.docs .checks li::before{content:"";width:18px;height:18px;flex:none;margin-top:4px;background:var(--ck) center/contain no-repeat}
.docs .steps{counter-reset:s;display:flex;flex-direction:column;gap:14px;margin:20px 0 28px}
.docs .step{display:grid;grid-template-columns:44px 1fr;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 20px;box-shadow:var(--sh-1)}
.docs .step::before{counter-increment:s;content:counter(s,decimal-leading-zero);width:44px;height:44px;border-radius:50%;background:var(--inv-bg);color:var(--inv-fg);display:grid;place-items:center;font-family:var(--mono);font-size:14px;font-weight:600}
.docs .step.you::before{background:var(--amber);color:#1a1a2e}
.docs .step-t{display:block;font-family:var(--display);font-size:19px;font-weight:700;letter-spacing:-.01em;margin:0 0 4px !important;line-height:1.25;color:var(--text) !important}
.docs .step p{font-size:15.5px;margin-bottom:8px;color:var(--muted);line-height:1.55}
.docs .step p:last-child{margin-bottom:0}
.docs .step .say{font-size:14.5px;margin:16px 0 6px}
.docs .gate{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--amber-t);background:var(--amber-soft);padding:4px 10px;border-radius:999px;margin-top:10px}
.docs .callout{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:16px 18px;border-radius:14px;border:1px solid var(--line);background:var(--surface);margin:22px 0;max-width:72ch}
.docs .callout .ic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font-family:var(--mono);font-size:13px;font-weight:700}
.docs .callout-t{display:block;font-size:15.5px !important;font-weight:700;margin-bottom:4px !important;color:var(--text) !important}
.docs .callout p{font-size:15px;margin:0 0 8px;color:var(--muted);line-height:1.55}
.docs .callout p:last-child{margin-bottom:0}
.docs .callout--note .ic{background:var(--lilac);color:var(--purple-t)}
.docs .callout--needs{border-color:rgba(232,154,18,.45);background:linear-gradient(0deg,var(--amber-soft),var(--amber-soft)),var(--surface)}
.docs .callout--needs .ic{background:var(--amber);color:#1a1a2e}
.docs .callout--credits .ic{background:var(--green-soft);color:var(--green-t)}
.docs .dshot{border-radius:16px;border:1px solid var(--line);background:var(--inv-bg);padding:10px;margin:22px 0;box-shadow:var(--sh-2)}
.docs .dshot-bar{display:flex;gap:6px;padding:2px 4px 10px}
.docs .dshot-bar i{width:9px;height:9px;border-radius:50%;background:rgba(127,127,127,.4)}
.docs .dshot img{border-radius:10px;width:100%;height:auto}
.docs .dshot figcaption{font-size:13px;color:var(--inv-fg);opacity:.7;padding:10px 6px 2px}
.docs .mini-faq .faq{max-width:none}
.docs .mini-faq .q > button{font-size:18px;padding:18px 0}
.docs .mini-faq .q .a p{font-size:16px}

/* video: a button with a local thumbnail; the player loads only after a click */
.docs .video{border-radius:18px;overflow:hidden;background:#0f0f1c;box-shadow:var(--sh-3);margin:0 0 8px;position:relative;aspect-ratio:16/9}
.docs .video-play{position:absolute;inset:0;width:100%;height:100%;display:grid;place-items:center}
.docs .video-play img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.docs .video-play .play{width:68px;height:68px}
.docs .video-play .play svg{width:26px;height:26px}
.docs .video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.docs .video-title{position:absolute;left:18px;bottom:14px;color:#fff;font-weight:700;font-size:15px;text-shadow:0 2px 8px rgba(0,0,0,.6);pointer-events:none;margin:0}
.docs .video.on .video-title{display:none}
.docs .video-note{font-size:12.5px;color:var(--muted);margin:0 0 10px}
.docs .chapters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:36px}
.docs .chapters button{height:32px;padding:0 10px;border-radius:8px;border:1px solid var(--line-2);background:var(--surface);font-size:12.5px;font-weight:600;color:var(--muted);display:inline-flex;align-items:center;gap:6px}
.docs .chapters button:hover{color:var(--purple-t);border-color:var(--purple-3)}
.docs .chapters .t{font-family:var(--mono);font-size:11px;color:var(--muted-2)}
.docs .transcript details{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 18px}
.docs .transcript summary{cursor:pointer;font-weight:700}
.docs .transcript details p{font-size:15.5px;color:var(--muted);margin:12px 0 0}

/* prev / next and the right rail */
.docs .pn{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:52px;padding-top:28px;border-top:1px solid var(--line)}
.docs .pn a{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:3px;transition:transform .2s var(--ease),box-shadow .2s}
.docs .pn a:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.docs .pn .pn-next{text-align:right;grid-column:2}
.docs .pn small{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.docs .pn b{font-size:15px}
.docs .rail{position:sticky;top:var(--stick);align-self:start;max-height:calc(100vh - var(--stick) - 20px);overflow:auto}
.docs .rail-h{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 8px;font-weight:600}
.docs .toc{border-left:2px solid var(--line);display:flex;flex-direction:column;margin-bottom:24px}
.docs .toc a{font-size:13.5px;color:var(--muted);padding:5px 0 5px 14px;margin-left:-2px;border-left:2px solid transparent;line-height:1.3}
.docs .toc a:hover{color:var(--text)}
.docs .toc a.on{color:var(--purple-t);border-left-color:var(--purple);font-weight:700}
.docs .toc a.sub{padding-left:26px;font-size:12.5px}
.docs .rbox{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:12px}
.docs .rbox-t{display:block;font-size:14px;font-weight:700;margin-bottom:6px}
.docs .rbox p{font-size:13px;color:var(--muted);margin-bottom:10px;line-height:1.45}
.docs .rbox .rbox-t{color:var(--text)}
.docs .rbox .row{display:flex;gap:6px}
.docs .rbox .row .btn{flex:1;padding:0 8px;height:36px;font-size:13px}
.docs .rbox .rbox-thanks{margin:8px 0 0}
.docs .rbox-cta{width:100%;height:38px;font-size:13.5px}

/* section and field-notes index pages */
.docs .glist,.docs .nlist{display:grid;gap:12px;margin:8px 0 12px}
.docs .gcard,.docs .ncard{display:flex;flex-direction:column;gap:5px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 20px;box-shadow:var(--sh-1);transition:transform .2s var(--ease),box-shadow .2s}
.docs .gcard:hover,.docs .ncard:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.docs .gcard b,.docs .ncard b{font-family:var(--display);font-size:20px;letter-spacing:-.01em;line-height:1.2}
.docs .gcard span,.docs .ncard .d{font-size:15px;color:var(--muted);line-height:1.5}
.docs .ncard .st{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13.5px;color:var(--muted);margin-top:4px}
.docs .ncard .st b{font-size:17px;color:var(--purple-t)}
.docs .doc--sec .art-head{padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:34px}
.docs .doc--sec .art > h2{font-size:clamp(24px,2.6vw,32px);margin:46px 0 16px;line-height:1.12;scroll-margin-top:var(--stick)}
.docs .seclinks{display:flex;flex-wrap:wrap;gap:8px}
.docs .seclinks a{display:inline-flex;align-items:center;height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);font-size:14px;font-weight:600;color:var(--muted)}
.docs .seclinks a:hover{color:var(--purple-t);border-color:var(--purple-3)}

/* ---------- field note ---------- */
.docs .case-hero{padding:48px 0 44px;border-bottom:1px solid var(--line);background:var(--grid),var(--paper);position:relative}
.docs .case-hero::after{content:"";position:absolute;inset:auto 0 0 0;height:100px;background:linear-gradient(180deg,transparent,var(--paper));pointer-events:none}
.docs .case-hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:48px;align-items:center}
.docs .case-hero h1{font-size:clamp(34px,4.4vw,56px);margin-bottom:16px;line-height:1.04}
.docs .case-hero .page-dates{margin-top:16px}
.docs .cstats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:24px}
.docs .cstat{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:var(--sh-1)}
.docs .cstat-v{font-family:var(--display);font-weight:800;font-size:26px;letter-spacing:-.03em;line-height:1}
.docs .cstat p:last-child{font-size:12.5px;color:var(--muted);margin-top:6px;line-height:1.3}
.docs .ccard{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:var(--sh-3);position:relative;overflow:hidden}
.docs .ccard::before{content:"";position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(90deg,var(--c-designer),var(--c-writer),var(--c-dev),var(--c-marketer),var(--c-deploy))}
.docs .ccard .lab{font-family:var(--mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:14px;font-weight:600}
.docs .ccard .co{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.docs .ccard .lg{width:48px;height:48px;border-radius:12px;background:#1e3a8a;color:#ff8a3d;display:grid;place-items:center;font-family:var(--display);font-weight:800;font-size:15px;flex:none}
.docs .co-n{font-family:var(--display);font-weight:800;font-size:20px}
.docs .co-l{font-size:13.5px;color:var(--muted)}
.docs .ccard dl{display:grid;grid-template-columns:auto 1fr;gap:9px 14px;font-size:14px;line-height:1.4}
.docs .ccard dt{color:var(--muted)}
.docs .ccard dd{font-weight:700}
.docs .ccard .crew{display:flex;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.docs .case{max-width:800px;margin:0 auto;padding:44px 24px 64px}
.docs .case .doc-answer{margin-bottom:12px}
.docs .case h2{margin-top:48px}
.docs .tl{position:relative;margin:24px 0 32px}
.docs .tl li{--ac:var(--purple);position:relative;padding:0 0 22px 34px;font-size:16px;color:var(--muted);line-height:1.5;max-width:68ch}
.docs .tl li::before{content:"";position:absolute;left:8px;top:6px;bottom:-6px;width:2px;background:var(--line)}
.docs .tl li:last-child::before{display:none}
.docs .tl li::after{content:"";position:absolute;left:3px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--ac);box-shadow:0 0 0 4px var(--paper)}
.docs .tl-when{display:block;font-family:var(--mono);font-size:12px;color:var(--muted-2);margin-bottom:2px}
.docs .tl strong{color:var(--text)}
.docs .tl li.you{--ac:var(--amber)}
.docs .results{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 28px}
.docs .res{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px 20px;box-shadow:var(--sh-1)}
.docs .res-v{font-family:var(--display);font-weight:800;font-size:28px !important;letter-spacing:-.03em;line-height:1 !important;color:var(--purple-t) !important;margin:0 !important}
.docs .res p:last-child{font-size:14.5px;color:var(--muted);margin:8px 0 0;line-height:1.45}
.docs .try{background:var(--inv-bg);color:var(--inv-fg);border-radius:22px;padding:28px;margin-top:44px;position:relative;overflow:hidden}
.docs .try::before{content:"";position:absolute;inset:0;background:radial-gradient(400px 240px at 100% 0%,rgba(124,92,252,.4),transparent 65%);pointer-events:none}
.docs .try > *{position:relative}
.docs .try h2{font-size:26px !important;margin:0 0 8px !important;color:inherit}
.docs .try p{opacity:.82;font-size:15.5px;color:inherit;margin-bottom:10px}
.docs .try .say{background:var(--surface);color:var(--text);margin-top:22px}
.docs .try .say .say-body p{opacity:1;color:var(--text)}
.docs .try .cta-row{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}
.docs .try .cta-row .btn:not(.btn--p){background:transparent;color:inherit;border-color:rgba(127,127,127,.5)}
.docs .more-notes{border-top:1px solid var(--line);padding:48px 0 72px}
.docs .more-empty{color:var(--muted);max-width:66ch}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .docs .doc{grid-template-columns:220px minmax(0,1fr);gap:36px}
  .docs .rail{display:none}
  .docs .secs{grid-template-columns:repeat(2,1fr)}
  .docs .vids{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .docs .dbar{position:static}
  .docs .dbar .wrap{height:auto;padding-top:10px;padding-bottom:10px;flex-wrap:wrap;gap:10px}
  .docs .dbar-nav{display:none}
  .docs .dsearch{order:3;flex:1 1 100%;max-width:none;margin-left:0}
  .docs{--stick:calc(var(--header-height,72px) + 16px)}
  .docs .doc,.docs .doc--sec{grid-template-columns:1fr;gap:0;padding-top:24px}
  .docs .side{position:static;max-height:none;display:none;margin-bottom:24px;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:14px}
  .docs .side.open{display:block}
  .docs .side-toggle{display:flex}
  .docs .dstart{grid-template-columns:1fr}
  .docs .notes{grid-template-columns:1fr}
  .docs .case-hero .wrap{grid-template-columns:1fr;gap:28px}
  .docs .cstats{grid-template-columns:repeat(2,1fr)}
  .docs .dask{grid-template-columns:1fr}
}
@media (max-width:560px){
  .docs .hub-hero{padding:40px 0 32px}
  .docs .secs,.docs .vids,.docs .results{grid-template-columns:1fr}
  .docs .pn{grid-template-columns:1fr}
  .docs .pn .pn-next{grid-column:1;text-align:left}
  .docs .big-search input{padding-right:58px;font-size:16px}
  .docs .big-search .btn span{display:none}
  .docs .big-search .btn{width:44px;padding:0}
  .docs .step{grid-template-columns:1fr;gap:10px}
  .docs .step::before{width:36px;height:36px;font-size:12px}
  .docs .note-big{padding:26px;min-height:0}
  .docs .note-big .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .docs .say{padding-right:18px;padding-top:44px}
  .docs .doc-answer{padding:20px 18px}
  .docs .art-body p,.docs .case p{font-size:16.5px}
}
@media (prefers-reduced-motion:reduce){
  .docs *{transition:none !important;animation:none !important}
}
@media print{
  .docs .dbar,.docs .doc-side,.docs .rail,.docs .pn,.docs .hd,.docs .hd-mob,.docs .ft{display:none !important}
  .docs .doc{display:block}
}
