:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #18283c; background: #f6f7f9; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #1751a5; text-underline-offset: 3px; }
a:hover { color: #082f67; }
button, input { font: inherit; }
button, .run { touch-action: manipulation; }
button { cursor: pointer; border: 1px solid #b4bfce; background: white; color: #193d70; border-radius: 6px; padding: 8px 12px; min-height: 40px; }
button:hover { background: #eaf1fc; border-color: #1751a5; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid #1762d0; outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 2; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.masthead, main, footer { max-width: 1180px; margin: auto; padding-inline: 28px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; border-bottom: 1px solid #dce1e8; }
.brand { color: #18283c; font-size: 21px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.brand span { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #56677b; margin-left: 12px; }
nav { display: flex; gap: 24px; font-size: 14px; }
.intro { max-width: 820px; padding-block: 48px 24px; }
.eyebrow { color: #56677b; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
h1 { margin: 16px 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.lede { color: #4b5c71; font-size: 18px; line-height: 1.6; margin-bottom: 30px; }
label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 10px; }
.search-row { display: flex; gap: 10px; }
input { width: 100%; min-width: 0; min-height: 52px; border: 1px solid #9eaec1; border-radius: 8px; padding: 12px 16px; color: #18283c; background: white; }
.search-row button { flex-shrink: 0; }
#result-count { color: #56677b; font-size: 14px; font-variant-numeric: tabular-nums; min-height: 20px; }
#modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.module { background: white; border: 1px solid #dce1e8; border-radius: 12px; padding: 24px; scroll-margin-top: 24px; min-width: 0; }
.module-heading, .code-heading, .example-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
h2 { font-size: 23px; line-height: 1.3; margin: 0; letter-spacing: -.02em; }
.badge { font-size: 11px; font-weight: 650; background: #e6f4ec; color: #245c3b; border-radius: 4px; padding: 5px 8px; }
.package { font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; color: #56677b; overflow-wrap: anywhere; }
.description, .example-note, .help p { line-height: 1.65; }
.requirements { font-size: 13px; color: #56677b; line-height: 1.6; }
h3 { margin: 0; font-size: 14px; font-weight: 700; }
.code-heading { margin-top: 20px; font-size: 13px; }
.code-heading button { font-size: 12px; }
pre { margin: 10px 0 16px; background: #f3f5f8; border: 1px solid #e1e6ed; border-radius: 6px; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; }
summary { color: #193d70; cursor: pointer; font-size: 14px; padding-block: 10px; }
details p { color: #56677b; font-size: 13px; }
.export-list { display: flex; flex-wrap: wrap; gap: 8px; }
.export-list button { font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
.example-heading { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e1e6ed; }
.run { font-size: 13px; font-weight: 650; }
.example-note { font-size: 14px; margin-bottom: 4px; }
.example-code { font-size: 11px; }
.links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; margin: 20px 0 0; }
.help { margin: 36px 0; max-width: 820px; padding-block: 24px; }
.help h2 { font-size: 20px; }
.help p { color: #4b5c71; font-size: 14px; }
footer { border-top: 1px solid #dce1e8; color: #56677b; font-size: 13px; padding-block: 24px 100px; }
.copy-status { position: fixed; right: 20px; bottom: 20px; max-width: min(520px, calc(100% - 40px)); background: #18283c; color: white; padding: 12px 18px; border-radius: 8px; font-size: 14px; margin: 0; pointer-events: none; }
.copy-status:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 720px) { .masthead, main, footer { padding-inline: 18px; } .masthead { min-height: 74px; } .brand span { display: none; } nav { gap: 16px; } .intro { padding-top: 30px; } #modules { grid-template-columns: 1fr; } .module { padding: 20px; } .search-row { flex-wrap: wrap; } .lede { font-size: 16px; } }
