/* Trawpie Docs (trawpie.org/docs/). Light only, so pages and screenshots match. Made by hand; pages by tools/build-docs.mjs. */
:root {
  --bg: #fbfaf7; --bg-2: #f4f1ea; --card: #ffffff; --ink: #14213d; --ink-2: #44506b; --muted: #687188; --line: #e6e0d3; --line-2: #d8d1c1;
  --teal: #0e9f8e; --teal-ink: #0a6f63; --teal-soft: #e3f5f2; --coral: #f26b4f; --sun: #f2b829; --violet: #7c5cff; --sky: #2f8ff0; --pink: #ec4f97;
  --r: 14px; --shadow: 0 1px 0 rgba(20, 33, 61, .05), 0 12px 32px -18px rgba(20, 33, 61, .28);
  --display: "Bricolage Grotesque", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); }
a { color: var(--teal-ink); text-underline-offset: 2px; }
a:hover { color: #075248; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
code { font: 500 .88em var(--mono); background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
kbd { font: 600 .82em var(--mono); background: var(--card); border: 1px solid var(--line-2); border-bottom-width: 2px; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }

/* ── Top bar ── */
.dtop { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 clamp(16px, 3vw, 28px); background: rgba(251, 250, 247, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.dbrand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 19px; }
.dbrand b { font-weight: 800; letter-spacing: -.02em; }
.dbrand span { font-weight: 600; color: var(--teal-ink); }
.dbrand.small { font-size: 16px; }
.dsearch { position: relative; flex: 1; max-width: 460px; margin-left: 12px; }
.dsearch input, .dhero-search input { width: 100%; height: 40px; padding: 0 40px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font: inherit; font-size: 14.5px; color: var(--ink); }
.dsearch input:focus, .dhero-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.dsearch > kbd { position: absolute; right: 12px; top: 9px; }
.ds-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; max-height: min(70vh, 520px); overflow: auto; z-index: 30; }
.ds-results a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.ds-results a b { display: block; font-size: 14.5px; }
.ds-results a span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.ds-results a i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); }
.ds-results a:hover, .ds-results a.on { background: var(--teal-soft); }
.ds-results .none { padding: 10px 12px; color: var(--muted); font-size: 14px; }
.dtop-link { margin-left: auto; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.dtop-cta { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 650; font-size: 14px; white-space: nowrap; }
.dtop-cta:hover { background: #22325a; color: #fff; }
.dtop-menu { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); padding: 11px 10px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.dtop-menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── Three columns ── */
.dwrap { display: grid; grid-template-columns: 272px minmax(0, 1fr) 232px; gap: 40px; max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); }
.dpage.wide .dwrap { grid-template-columns: 272px minmax(0, 1fr); }
.dpage.wide .drail { display: none; }
.dnav { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 64px); overflow: auto; padding: 22px 6px 30px 0; font-size: 14.5px; }
.dnav details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.dnav summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 8px 8px; border-radius: 10px; cursor: pointer; font-weight: 650; color: var(--ink); }
.dnav summary::-webkit-details-marker { display: none; }
.dnav summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .15s; }
.dnav details[open] summary::after { transform: rotate(45deg); }
.dnav summary:hover { background: var(--bg-2); }
.dnav ul { list-style: none; margin: 2px 0 8px; padding: 0 0 0 30px; }
.dnav li a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.dnav li a:hover { background: var(--bg-2); color: var(--ink); }
.dnav li a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-ink); font-weight: 650; box-shadow: inset 3px 0 0 var(--teal); }
.dnav-new { margin: 18px 4px 0; padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.dnav-new b { color: var(--ink); }
.dnav-new a { font-weight: 650; }
.dmain { min-width: 0; padding: 26px 0 60px; }
.drail { position: sticky; top: 64px; align-self: start; padding: 30px 0; display: flex; flex-direction: column; gap: 16px; font-size: 13.5px; max-height: calc(100vh - 64px); overflow: auto; }
.rail-box { display: flex; flex-direction: column; gap: 6px; }
.rail-box > b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc, .rel { list-style: none; margin: 0; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.toc a, .rel a { display: block; padding: 4px 0 4px 8px; margin-left: -12px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc a:hover, .rel a:hover { color: var(--ink); }
.toc a.on { color: var(--teal-ink); border-left-color: var(--teal); font-weight: 650; }
.rail-box.try { padding: 14px; border-radius: var(--r); background: var(--teal-soft); color: var(--ink-2); line-height: 1.5; }
.rail-box.try > b { color: var(--teal-ink); }
.rail-box.try a { font-weight: 650; }

/* ── Page head ── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs .sep { color: var(--line-2); }
.dkicker { display: inline-block; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.dhead h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.08; margin: 6px 0 10px; }
.dsum { font-size: 18px; color: var(--ink-2); margin: 0 0 10px; line-height: 1.55; max-width: 62ch; }
.dmeta { font-size: 13px; color: var(--muted); }
.dhead { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }

/* ── Body ── */
.dbody { max-width: 760px; }
.dpage.wide .dbody { max-width: none; }
.dbody h2 { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -.02em; line-height: 1.2; margin: 40px 0 12px; scroll-margin-top: 84px; }
.dbody h3 { font-size: 18px; margin: 26px 0 8px; }
.dbody p { margin: 0 0 14px; }
.dbody ul, .dbody ol { padding-left: 22px; margin: 0 0 16px; }
.dbody li { margin: 6px 0; }
.lead { font-size: 18.5px; color: var(--ink-2); line-height: 1.6; }
.ui { font-weight: 650; color: var(--ink); white-space: normal; }
.ui-sep { color: var(--muted); font-weight: 400; padding: 0 1px; }
.term { text-decoration-style: dotted; text-decoration-thickness: 1.5px; }
.steps { list-style: none; counter-reset: s; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; margin: 16px 0 22px !important; }
.steps li { counter-increment: s; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 58px; margin: 0 !important; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.steps b { font-size: 15.5px; }
.steps span { color: var(--ink-2); font-size: 15px; }
.callout { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); margin: 18px 0; font-size: 15px; line-height: 1.6; }
.callout-ico { font-size: 18px; line-height: 1.4; }
.callout.tip { background: #fff8e1; border: 1px solid #f6e3a3; }
.callout.note { background: #eef5ff; border: 1px solid #cfe0fb; }
.callout.warn { background: #fff0ec; border: 1px solid #f8cfc4; }
.ex { position: relative; margin: 20px 0; padding: 16px 18px 16px 18px; border-radius: var(--r); background: var(--card); border: 1px dashed var(--line-2); font-size: 15.5px; }
.ex-label { display: inline-block; margin-bottom: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.table-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc-table th, .doc-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.doc-table tr:last-child td { border-bottom: 0; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; margin: 16px 0 22px; }
.mini-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.5; }
.mini-card span:last-child { color: var(--ink-2); }
.mini-card .mc-ico { font-size: 20px; }
a.mini-card:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--ink); }
.shot { margin: 22px 0 26px; }
.shot img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: var(--card); }
.shot.phone img { max-width: 320px; margin: 0 auto; border-radius: 28px; border: 8px solid #1b2440; }
.shot.tablet img { border-radius: 20px; border: 10px solid #1b2440; }
figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.fig { margin: 20px 0 24px; }
.fig-art { padding: 22px; border-radius: var(--r); background: var(--card) radial-gradient(circle, var(--line) 1px, transparent 1.2px) 0 0 / 16px 16px; border: 1px solid var(--line); overflow-x: auto; display: flex; justify-content: center; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 46px; max-width: 760px; }
.pn { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-decoration: none; color: var(--ink); }
.pn span { font-size: 12.5px; color: var(--muted); }
.pn.next { text-align: right; grid-column: 2; }
.pn:hover { border-color: var(--teal); color: var(--ink); }
details.qa { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin: 8px 0; }
details.qa summary { cursor: pointer; padding: 13px 16px; font-weight: 650; list-style: none; display: flex; gap: 10px; }
details.qa summary::before { content: "+"; color: var(--teal-ink); font-weight: 800; width: 14px; }
details.qa[open] summary::before { content: "–"; }
details.qa > div { padding: 0 16px 14px 40px; color: var(--ink-2); }
.rn { padding: 6px 0 4px; border-bottom: 1px solid var(--line); }
.rn h2 { margin-bottom: 2px !important; }
.rn time { font-size: 13px; color: var(--muted); }

/* ── Glossary ── */
.gloss-tools { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.alpha { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; }
.alpha a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 13px; color: var(--ink-2); }
.alpha a:hover { background: var(--teal-soft); color: var(--teal-ink); }
.gloss { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.gcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; scroll-margin-top: 140px; }
.gcard:target { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.gcard .anchor { position: absolute; top: -140px; }
.gpic { min-height: 150px; padding: 18px; display: flex; align-items: center; justify-content: center; background: var(--bg-2) radial-gradient(circle, var(--line-2) 1px, transparent 1.2px) 0 0 / 14px 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.gpic > * { transform-origin: center; }
.gcard h2 { font-size: 20px !important; margin: 14px 16px 4px !important; }
.gcard p { margin: 0 16px 10px !important; font-size: 14.5px; color: var(--ink-2); }
.gcard .gex { font-size: 14px; color: var(--ink); }
.gcard .gex b { color: var(--violet); }
.gcard .gsee { margin-top: auto !important; padding: 10px 0 14px; font-size: 13px; color: var(--muted); }
.gcard[hidden] { display: none; }

/* ── Pictures (tools/docs/kit.mjs ▸ pic) ── */
.pc { --t: var(--sky); display: inline-flex; flex-direction: column; gap: 2px; min-width: 120px; max-width: 200px; padding: 7px 10px 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .86); border: 1px solid var(--line-2); box-shadow: inset 3px 0 0 var(--t), 0 1px 2px rgba(20, 33, 61, .06); font-size: 12.5px; line-height: 1.3; text-align: left; }
.pc b { font-weight: 650; color: var(--ink); }
.pc i { font-style: normal; font-size: 11px; color: var(--muted); }
.pc.carried { border-style: dashed; }
.pc.ghost { opacity: .78; border-style: dashed; }
.pc.big { min-width: 200px; gap: 4px; padding: 10px 12px 10px 14px; }
.pst { font-size: 12px; color: var(--ink-2); }
.pprog { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 2px; }
.pprog i { display: block; height: 100%; background: var(--violet); }
.pb { display: grid; grid-template-columns: 74px 84px repeat(var(--n), minmax(120px, 1fr)); gap: 0; font-size: 12px; min-width: 420px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.pb-corner { background: var(--bg-2); grid-column: span 2; }
.pb-week { padding: 8px; text-align: center; font-weight: 750; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; background: var(--bg-2); border-left: 1px solid var(--line); color: var(--ink-2); display: flex; flex-direction: column; }
.pb-week small { font-size: 9.5px; color: var(--teal-ink); }
.pb-week.now { color: var(--teal-ink); box-shadow: inset 0 -2px 0 var(--teal); }
.pb-person { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 4px; font-weight: 650; border-top: 1px solid var(--line); background: #fff; }
.pb-av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--teal-soft); color: var(--teal-ink); font-weight: 800; font-size: 12px; }
.pb-cat { padding: 8px 6px; font-weight: 750; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; align-items: center; }
.pb-cell { padding: 8px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-height: 52px; display: flex; align-items: center; justify-content: center; }
.pb-cell.now { background: #f2fbf9; }
.pcats { display: flex; align-items: center; gap: 14px; }
.pcats .pb-person { border: 0; background: none; }
.pcats-list { display: flex; flex-direction: column; gap: 6px; }
.pcat { --t: var(--sky); padding: 6px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); box-shadow: inset 3px 0 0 var(--t); font-weight: 750; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.pcarry { display: flex; align-items: center; gap: 4px; }
.pw { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.pline { width: 110px; height: 40px; flex: 0 0 auto; }
.pline.v { width: 40px; height: 54px; }
.psup { display: flex; flex-direction: column; align-items: flex-start; }
.psup-row { display: flex; align-items: center; gap: 10px; }
.psup-row .pb-cat { border: 0; min-width: 120px; }
.psup .pline.v { margin-left: 168px; }
.pphase { position: relative; display: flex; width: 100%; max-width: 520px; height: 34px; border-radius: 10px; overflow: visible; gap: 3px; margin-bottom: 26px; }
.pphase > span:not(.pphase-ms) { --t: var(--sky); display: grid; place-items: center; background: color-mix(in srgb, var(--t) 22%, #fff); border: 1px solid color-mix(in srgb, var(--t) 45%, #fff); border-radius: 8px; font-weight: 700; font-size: 12px; color: var(--ink); }
.pphase-ms { position: absolute; top: 30px; transform: translateX(-50%); color: var(--coral); font-size: 14px; white-space: nowrap; }
.pphase-ms i { font-style: normal; font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.psprint { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 420px; }
.psprint-band { padding: 7px 12px; border-radius: 10px; background: #eef4ff; border: 1px solid #cfe0fb; font-size: 12px; color: var(--ink-2); }
.psprint-weeks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.psprint-weeks span { padding: 8px; text-align: center; font-weight: 750; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; }
.pvx { position: relative; width: 100%; max-width: 420px; height: 76px; }
.pvx-svg { width: 100%; height: 70px; }
.pvx-l { position: absolute; top: -4px; transform: translateX(-50%); font: 700 11.5px var(--mono); color: var(--ink); }
.pvx-br { position: absolute; top: 50px; padding: 0 8px; border-radius: 999px; background: #efeaff; color: #4b33c9; font: 700 10.5px var(--mono); }
.pmx { border-collapse: collapse; font-size: 12.5px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.pmx th, .pmx td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.pmx th { font-size: 11px; color: var(--muted); background: var(--bg-2); }
.pmx td:first-child { text-align: left; font-weight: 650; }
.pmx .lead { color: var(--teal-ink); font-weight: 800; }
.pmx .s2 { background: #fdeee0; } .pmx .s3 { background: #f4f4f4; } .pmx .s4 { background: #dff4ef; } .pmx .s5 { background: #c3eadf; }
.pmx tr.tot td { font-weight: 800; border-bottom: 0; }
.pkb { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 10px; }
.pkb-col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.pkb-col > b { font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.pkb-col > b i { font-style: normal; color: var(--muted); }
.pflow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pflow-s { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 650; font-size: 12.5px; }
.pflow-s.gate { background: #fff3e6; border-color: #f5c99a; }
.pflow-arrow { color: var(--muted); }
.pmetric { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pmetric .pb-week { border: 1px solid var(--line-2); border-radius: 10px; min-width: 150px; }
.pmetric-badge { padding: 3px 12px; border-radius: 999px; background: #e5f6ea; color: #17803d; font-weight: 750; font-size: 12px; }
.phub { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 440px; }
.phub-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.phub-week > span { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; font-size: 11px; font-weight: 700; color: var(--muted); }
.phub-week > span.now { border-color: var(--teal); color: var(--teal-ink); }
.phub-week i { font-style: normal; line-height: 1; height: 10px; }
.phub-week i.me { color: var(--violet); } .phub-week i.tm { color: var(--teal); }
.phub-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phub-card { display: flex; flex-direction: column; gap: 3px; padding: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; font-size: 12px; color: var(--ink-2); }
.phub-card.me { border-top: 3px solid var(--violet); } .phub-card.tm { border-top: 3px solid var(--teal); }
.phub-card b { color: var(--ink); font-size: 13px; }
.phub-wait { color: #b45309; font-weight: 700; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.pphone { display: flex; flex-direction: column; gap: 8px; width: 190px; padding: 14px 12px 10px; border-radius: 26px; border: 7px solid #1b2440; background: #fff; }
.pphone-top { font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-ink); text-align: center; }
.pphone-who { font-weight: 700; font-size: 13px; }
.pphone .pc { max-width: none; }
.pphone-tabs { display: flex; justify-content: space-around; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); }
.pphone-tabs i { font-style: normal; }
.ptablet { display: flex; gap: 0; border: 8px solid #1b2440; border-radius: 18px; overflow: hidden; background: #fff; }
.ptablet-side { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; background: var(--bg-2); font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.ptablet-side i { font-style: normal; }
.ptablet-main .pb { border: 0; border-radius: 0; }
.proles { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.proles span { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 650; font-size: 13px; }
.pbacklog { display: flex; align-items: center; gap: 12px; }
.pbl-col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.pbl-col > b { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.pbl-arrow { font-size: 12px; color: var(--muted); font-weight: 600; }
.pstatus { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pstatus span { padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.pstatus .on { background: #e2f6ec; color: #047857; } .pstatus .risk { background: #fdf0d9; color: #b45309; } .pstatus .off { background: #fde4e4; color: #b91c1c; }
.porg { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.porg-dom { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-weight: 700; }
.porg-dom i { font-style: normal; font-size: 11px; color: #047857; margin-left: 4px; }
.porg-ppl { display: flex; gap: 4px; }
.porg-ws { padding: 6px 12px; border-radius: 10px; background: #fff; border: 1px dashed var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.porg-ws b { color: var(--teal-ink); }
.pagent { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
.pagent-app, .pagent-tt { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); font-weight: 700; }
.pagent-tt i { display: block; font-style: normal; font-weight: 500; font-size: 11px; color: var(--muted); }
.pagent-line { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 11px var(--mono); }
.pg-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pg-row .pst { padding: 6px 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; }
.pg-arrow { color: var(--coral); font-weight: 800; }
.pg-ok { font-size: 12.5px; color: #047857; font-weight: 700; }
.pg-slim { display: flex; gap: 4px; }
.pg-slim span { width: 40px; height: 60px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; font-weight: 800; font-size: 12px; color: var(--ink-2); }
.pg-gantt { position: relative; display: block; width: 260px; height: 74px; background: repeating-linear-gradient(90deg, transparent 0 51px, var(--line) 51px 52px); }
.pg-gantt i { --t: var(--sky); position: absolute; height: 14px; border-radius: 7px; background: var(--t); }
.pg-gantt i:nth-child(1) { top: 8px; } .pg-gantt i:nth-child(2) { top: 30px; } .pg-gantt i:nth-child(3) { top: 52px; }
.pg-load { display: flex; align-items: flex-end; gap: 10px; height: 80px; }
.pg-load i { width: 28px; border-radius: 6px 6px 0 0; background: var(--teal); }
.pg-load i.over { background: var(--coral); }
.pg-ws { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 800; font-size: 12px; }
.pill-mini { padding: 2px 8px; border-radius: 999px; background: #e2f6ec; color: #047857; font-size: 11px; font-weight: 700; }
.pg-ring { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--violet) 0 26%, var(--line) 26% 100%); font-weight: 800; font-size: 12px; position: relative; }
.pg-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; z-index: 0; }
.pg-ring { isolation: isolate; } .pg-ring { color: var(--ink); }

/* ── Docs home ── */
.dhome-main { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px) 60px; }
.dhero { padding: 56px 0 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dhero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 54px); letter-spacing: -.035em; line-height: 1.05; margin: 0; max-width: 820px; }
.dhero p { margin: 0; font-size: 18.5px; color: var(--ink-2); max-width: 680px; }
.dhero-search { position: relative; width: 100%; max-width: 560px; margin-top: 10px; }
.dhero-search input { height: 52px; font-size: 16px; padding: 0 20px; box-shadow: var(--shadow); }
.dhero-search .ds-results { text-align: left; }
.dhero-pop { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font-size: 14px; color: var(--muted); }
.dhero-pop a { padding: 3px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.dhero-pop a:hover { border-color: var(--teal); color: var(--teal-ink); }
.dsections { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; margin-top: 20px; }
.dsec { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dsec:hover { box-shadow: var(--shadow); }
.dsec-head { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.dsec-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-2); font-size: 20px; }
.dsec p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.dsec ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.dsec li a { display: block; padding: 4px 0; text-decoration: none; font-size: 14.5px; }
.dsec li a:hover { text-decoration: underline; }
.dsec li.more a { color: var(--muted); }
.dhome-band { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding: 22px; border-radius: 18px; background: var(--ink); color: #fff; }
.dhome-band > div { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 4px; }
.dhome-band span { color: #c9d1e6; }
.btn { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 650; }
.btn.primary { background: var(--teal); color: #fff; }
.btn:hover { filter: brightness(.96); color: var(--ink); } .btn.primary:hover { color: #fff; }

/* ── Footer ── */
.dfoot { border-top: 1px solid var(--line); margin-top: 20px; padding: 28px clamp(16px, 3vw, 28px) 40px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; font-size: 14px; color: var(--muted); max-width: 1400px; margin-left: auto; margin-right: auto; }
.dfoot > div { display: flex; flex-direction: column; gap: 4px; }
.dfoot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.dfoot nav a { color: var(--ink-2); text-decoration: none; }
.dfoot nav a:hover { color: var(--ink); text-decoration: underline; }
.dfoot p { flex-basis: 100%; margin: 0; font-size: 13px; }

/* ── Smaller screens ── */
@media (max-width: 1180px) { .dwrap { grid-template-columns: 252px minmax(0, 1fr); } .drail { display: none; } }
@media (max-width: 860px) {
  .dtop { gap: 10px; }
  .dtop-menu { display: flex; }
  .dtop-link { display: none; }
  .dsearch { margin-left: 0; }
  .dsearch > kbd { display: none; }
  .dwrap, .dpage.wide .dwrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dnav { position: fixed; top: 64px; left: 0; bottom: 0; width: min(320px, 86vw); max-height: none; background: var(--bg); z-index: 25; padding: 16px 14px 40px; border-right: 1px solid var(--line); transform: translateX(-102%); transition: transform .2s ease; box-shadow: 0 0 0 100vmax rgba(20, 33, 61, 0); }
  body.nav-open .dnav { transform: none; box-shadow: 0 0 0 100vmax rgba(20, 33, 61, .28); }
  .dmain { padding-top: 18px; }
  .gloss-tools { top: 64px; }
  .alpha { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .dbrand span, .dbrand b { display: none; }
  .dtop-cta { padding: 0 12px; font-size: 13px; }
  .dsum, .lead { font-size: 16.5px; }
  .steps li { padding-left: 52px; }
  .prevnext { grid-template-columns: 1fr; }
  .pn.next { grid-column: 1; }
  .fig-art { padding: 14px; justify-content: flex-start; }
}
@media print { .dtop, .dnav, .drail, .prevnext, .dfoot, .gloss-tools { display: none !important; } .dwrap { display: block; } }
