/* Version both static CSS dependencies together: the service worker keeps stale assets. */
@import url("/fonts.css?v=system-ui-20261013");
@import url("/page-layout.css?v=20261013-cross-page");
.docs-page {
  --bg: #fff; --bg-2: #f6f6fa; --text: #23232c; --muted: #626270;
  --faint: #6c6c7b; --border: #e2e2eb; --accent: #5042eb; --accent-soft: #eeecff;
  --font: var(--riggle-font);
  min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 16px/1.8 var(--font); word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
[data-theme="dark"] .docs-page {
  --bg: #16171a; --bg-2: #212125; --text: #e7e7ea; --muted: #bcbdc3;
  --faint: #97989e; --border: #36363b; --accent: #b7acff; --accent-soft: #312a48;
}
.docs-page *, .docs-page *::before, .docs-page *::after { box-sizing: border-box; letter-spacing: 0; }
.docs-page a { color: var(--accent); text-underline-offset: 4px; }
.docs-page button, .docs-page input, .docs-page select { font: inherit; }
.docs-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.docs-page .page-chrome {
  width: 100%; max-width: none; margin: 0; padding: 18px var(--riggle-page-edge);
  min-height: 80px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.docs-page .pc-brand { font: 700 26px/1.2 var(--riggle-font); text-decoration: none; color: var(--text); white-space: nowrap; }
.docs-page .pc-brand .dot { color: var(--accent); }
.docs-page .pc-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.docs-page .pc-nav-link { text-decoration: none; color: var(--muted); }
.docs-page .pc-lang { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 5px; padding: 2px; }
.docs-page .pc-lang-div { display: none; }
.docs-page .pc-lang button { border: 0; border-radius: 3px; min-height: 34px; padding: 4px 8px; background: transparent; color: var(--muted); cursor: pointer; }
.docs-page .pc-lang button.is-active { color: var(--accent); background: var(--accent-soft); }
.docs-page .pc-theme { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 5px; background: transparent; color: var(--text); cursor: pointer; }
.docs-page .pc-theme-symbol { display: block; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.docs-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; width: var(--riggle-page-column); padding: 40px 0 80px; margin: 0 auto; align-items: start; }
.docs-nav { position: sticky; top: 24px; min-width: 0; }
.docs-nav > summary { display: none; }
.docs-nav nav { display: grid; gap: 4px; }
.docs-nav a { display: block; font-size: 14px; padding: 9px 12px; color: var(--muted); text-decoration: none; border-radius: 5px; }
.docs-nav a:hover { background: var(--bg-2); color: var(--text); }
.docs-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.docs-page .wrap, .docs-page .legal-main { min-width: 0; width: 100%; max-width: none; margin: 0; padding: 0; }
.docs-page .legal-doc, .docs-page .membership-details { width: 100%; max-width: none; margin: 0; padding: 0; }
.docs-page .hero, .docs-page .legal-header, .docs-page .membership-hero { padding: 0 0 26px; margin: 0 0 24px; border-bottom: 1px solid var(--border); background: none; text-align: left; }
.docs-page h1 { font: 700 32px/1.45 var(--riggle-font); color: var(--text); margin: 8px 0 16px; }
.docs-page .eyebrow, .docs-page .legal-kicker, .docs-page .membership-eyebrow { font: 700 12px/1.5 var(--font); color: var(--accent); display: block; text-transform: none; margin: 0 0 12px; }
.docs-page .lede, .docs-page .legal-lead, .docs-page .membership-hero > p { max-width: 720px; font-size: 16px; line-height: 1.8; margin: 12px 0; color: var(--muted); }
.docs-page h2 { font-size: 20px; line-height: 1.5; color: var(--text); margin: 30px 0 16px; text-transform: none; }
.docs-page h3 { font-size: 17px; line-height: 1.65; color: var(--text); }
.docs-page p, .docs-page li { font-size: 15px; line-height: 1.85; }
.docs-page .service-note { font-size: 14px; line-height: 1.85; color: var(--muted); margin-top: 20px; border: 0; border-left: 2px solid var(--border); border-radius: 0; background: none; padding: 0 0 0 18px; }
.docs-tools { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin: 0 0 14px; }
.docs-tools button { font-size: 13px; min-height: 40px; border: 0; padding: 6px 0; background: transparent; color: var(--accent); cursor: pointer; }
.docs-fold, .docs-page details.faq-item { border: 0; border-top: 1px solid var(--border); border-radius: 0; margin: 0; background: transparent; padding: 0; box-shadow: none; }
.docs-fold > summary, .docs-page details.faq-item > summary { cursor: pointer; padding: 20px 32px 20px 0; position: relative; list-style: none; color: var(--text); font-size: 16px; font-weight: 700; line-height: 1.6; }
.docs-fold > summary::-webkit-details-marker, .docs-page details.faq-item > summary::-webkit-details-marker { display: none; }
.docs-fold > summary::after, .docs-page details.faq-item > summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--accent); font-size: 20px; font-weight: 400; }
.docs-fold[open] > summary::after, .docs-page details.faq-item[open] > summary::after { content: "−"; }
.docs-fold > summary h2, .docs-fold > summary h3 { display: inline; font-size: 17px; margin: 0; }
.docs-page .legal-section > summary h2 { border: 0; padding: 0; }
.docs-fold-body { padding: 0 0 28px; }
.docs-page .legal-section { margin: 0; }
.docs-page .legal-section > h2 { margin-top: 28px; }
.docs-page .faq-item .answer { padding: 0 0 24px; color: var(--muted); }
.docs-page .plate { padding: 20px 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--text); overflow: visible; }
.docs-page .plate::before, .docs-page .plate::after { display: none; }
.docs-page .plate .plate-kicker { font-size: 12px; color: var(--muted); }
.docs-page .plate .plate-line { font: 700 22px/1.5 var(--riggle-font); color: var(--text); }
.docs-page .plate .gold, .docs-page .plate .n { color: var(--accent); }
.docs-page .plate .d, .docs-page .plate .plate-foot, .docs-page .plate .col-h { color: var(--muted); }
.docs-page .plate ul, .docs-page .plate li { color: var(--muted); }
.docs-page .plate .t, .docs-page .plate b, .docs-page .plate .fig { color: var(--text); }
.docs-page .plate .fig { font-size: 24px; }
.docs-page .plate-flow { border-top: 1px solid var(--border); gap: 20px; padding-top: 20px; }
.docs-page .plate-flow .st, .docs-page .plate-split > div { border-color: var(--border); background: transparent; border-radius: 0; }
.docs-page .plate-spine { padding: 0; }
.docs-page .plate-spine li { border-color: var(--border); padding: 12px 0; }
.docs-page .note { border: 0; border-left: 2px solid var(--accent); background: var(--bg-2); color: var(--text); border-radius: 0; padding: 16px 20px; margin: 24px 0; }
.docs-page .note .ic { display: none; }
.docs-page .note p { margin: 0; }
.docs-page .step { grid-template-columns: 40px minmax(0, 1fr); }
.docs-page .step .num { border-radius: 0; background: none; color: var(--accent); }
.docs-page .card { padding: 18px 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
.docs-page .brief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.docs-page .chip { border: 0; border-radius: 0; background: none; padding: 4px 0; font-size: 14px; }
.docs-page img, .docs-page video { max-width: 100%; height: auto; }
.docs-page .typing-demo { margin: 16px 0; }
.docs-page .typing-demo img { border-radius: 6px; }
.docs-page figcaption { font-size: 12px; color: var(--muted); }
.docs-page .cta { margin: 30px 0 0; padding: 24px 0; border-top: 1px solid var(--border); background: none; border-radius: 0; display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.docs-page .cta a { background: var(--accent); color: var(--bg); padding: 10px 18px; border-radius: 5px; font-size: 14px; }
.docs-page .cta .small { color: var(--muted); font-size: 12px; }
.docs-page .legal-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--border); border-radius: 0; }
.docs-page .legal-table { min-width: 600px; font-size: 14px; background: none; }
.docs-page .legal-table th { background: var(--bg-2); color: var(--text); }
.docs-page .legal-table th, .docs-page .legal-table td { padding: 12px; border-color: var(--border); line-height: 1.7; }
.docs-page .membership-section { border: 0; border-top: 1px solid var(--border); padding: 20px 0; margin: 0; background: none; border-radius: 0; }
.docs-page .membership-steps, .docs-page .membership-deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; gap: 24px; }
.docs-page .membership-steps li, .docs-page .membership-deliverables > div { list-style-position: inside; padding: 12px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.docs-page .membership-plan { border-radius: 6px; box-shadow: none; }
.docs-page .site-section { padding: 20px 0; }
.docs-page .site-section h2 { font-size: 17px; }
.docs-page .site-links { gap: 0 24px; }
.docs-page .guide-section-title { font-size: 17px; }
.docs-page .guide-tip { background: var(--bg-2); border: 0; border-left: 2px solid var(--accent); border-radius: 0; }
.docs-page .guide-p, .docs-page .guide-intro, .docs-page .guide-list { color: var(--muted); }
.docs-page .guide-tip-mark { color: var(--accent); }
.docs-page.guide-panel { width: min(900px, calc(100% - 32px)); max-height: calc(100dvh - 48px); min-height: 0; padding: 28px 36px; border-radius: 8px; overflow-y: auto; }
.docs-page .guide-panel-head { background: var(--bg); position: sticky; top: 0; z-index: 1; }
.docs-page .guide-title-main { font: 700 26px/1.5 var(--riggle-font); }
@media (max-width: 767px) {
  .docs-page .page-chrome { padding: 16px var(--riggle-page-edge); min-height: 70px; gap: 12px; }
  .docs-page .pc-brand { font-size: 23px; }
  .docs-page .pc-controls { gap: 8px; }
  .docs-page .pc-controls > .pc-nav-link { display: none; }
  .docs-layout { display: block; padding: 16px 0 56px; }
  .docs-nav { position: static; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
  .docs-nav > summary { display: list-item; font-size: 14px; color: var(--muted); padding: 12px 0; cursor: pointer; }
  .docs-nav nav { padding: 0 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-page h1 { font-size: 27px; }
  .docs-page .plate .plate-line { font-size: 20px; }
  .docs-page .plate-flow, .docs-page .plate-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .docs-page .membership-steps, .docs-page .membership-deliverables, .docs-page .brief { grid-template-columns: 1fr; }
  .docs-page .membership-plan-grid { grid-template-columns: 1fr; }
  .docs-page.guide-panel { width: calc(100% - 20px); padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .docs-page, .docs-page * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .docs-page { --bg: white; --text: black; --muted: #333; background: white; color: black; }
  .docs-page .page-chrome, .docs-nav, .docs-tools, .docs-page .cta { display: none; }
  .docs-layout { display: block; width: 100%; max-width: none; padding: 0; }
  .docs-fold > summary::after { display: none; }
  .docs-page .legal-table { min-width: 0; }
  .docs-page .legal-table-wrap { overflow: visible; }
  .guide-overlay { position: static; display: block; overflow: visible; background: none; }
  .docs-page.guide-panel { width: 100%; max-height: none; overflow: visible; border: 0; box-shadow: none; }
  .docs-page .guide-panel-head { position: static; }
}
