* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--fw-text); background: var(--fw-bg); font: 14px/1.8 var(--fw-font); }
a { color: var(--fw-accent-text); }
.docs-header { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 18px max(24px, calc((100vw - 1050px)/2)); background: var(--fw-surface); border-bottom: 1px solid var(--fw-border); }
.docs-header .fw-btn { margin-left: auto; }
.docs-brand { font-size: 20px; font-weight: 650; color: var(--fw-text); text-decoration: none; }
.docs-brand span { font-weight: 400; }
.docs-main { max-width: 1050px; padding: 40px 24px; margin: auto; }
.docs-intro { max-width: 760px; margin-bottom: 28px; }
.docs-intro h1 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.7px; line-height: 1.25; margin: 8px 0 18px; }
.docs-intro > p:last-child { color: var(--fw-muted); }
.docs-eyebrow { color: var(--fw-accent-text); font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; }
.docs-toc { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 20px; background: var(--fw-accent-soft); border-radius: var(--fw-radius-lg); margin-bottom: 28px; }
.docs-toc a { font-size: 13px; text-decoration: none; }
.docs-section { margin-bottom: 24px; padding: 28px; background: var(--fw-surface); border: 1px solid var(--fw-border); border-radius: var(--fw-radius-lg); scroll-margin-top: 20px; }
.docs-section h2 { font-size: 22px; letter-spacing: -.35px; margin: 0 0 18px; }
.docs-section h3 { font-size: 16px; margin: 26px 0 12px; }
.docs-section p { margin: 12px 0; }
.docs-section code { font: 12px/1.8 Consolas, monospace; overflow-wrap: anywhere; }
.docs-section pre { margin: 18px 0; max-height: none; }
.docs-section .fw-table { white-space: normal; }
.docs-components { display: grid; gap: 10px; margin: 22px 0; }
.docs-components summary span { font-size: 11px; font-weight: 400; }
.docs-components .fw-accordion > div { color: var(--fw-text); }
.docs-footer { text-align: center; padding: 24px; font-size: 12px; color: var(--fw-muted); }
.docs-skip { position: absolute; left: 20px; top: -100px; padding: 10px; background: var(--fw-surface); }
.docs-skip:focus { top: 10px; }
@media (max-width: 600px) { .docs-main { padding: 25px 14px; } .docs-section { padding: 20px 16px; } .docs-header { gap: 12px; padding: 15px; } .docs-header .fw-btn { margin-left: 0; } }
@media print { .docs-header .fw-btn, .docs-skip { display: none; } .docs-main { max-width: none; padding: 0; } .docs-section { break-inside: avoid-page; box-shadow: none; } .fw-code { color: #111; background: #f4f4f4; } }
