
:root{color-scheme:light;--bg:#fff;--fg:#202124;--muted:#65676c;--line:#dedfe2;--soft:#f5f5f6;--selected:#eceef0;--button:#25272b;--on-button:#fff}
:root[data-theme=dark]{color-scheme:dark;--bg:#171819;--fg:#eeeef0;--muted:#a4a6ac;--line:#3b3d41;--soft:#222426;--selected:#323539;--button:#eeeff1;--on-button:#191a1c}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}header{max-width:1080px;margin:auto;padding:14px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}h1{font-size:21px;font-weight:600;margin:0}h2{font-size:28px;line-height:1.3;font-weight:600;margin:0 0 24px}h3{font-size:18px;margin:0 0 12px}p{margin:0 0 16px}.preferences{display:flex;gap:10px}select,button,.button{font:inherit;color:inherit;background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:9px 14px;cursor:pointer}select{font-size:14px;max-width:150px}button:hover,.button:hover{background:var(--soft)}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--fg);outline-offset:4px}button:disabled{cursor:default;color:var(--muted);opacity:.6}main{max-width:840px;padding:42px 32px 80px;margin:auto}nav{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:48px}nav button{text-align:left;border:0;border-bottom:2px solid var(--line);border-radius:0;padding:0 0 14px;background:transparent;font-size:14px}nav button[aria-current=step]{border-color:var(--fg);font-weight:600}nav .number{display:inline-block;margin-right:9px;color:var(--muted)}.choices{display:grid;gap:10px}.choice{text-align:left;padding:15px 18px;width:100%}.choice[aria-pressed=true]{background:var(--selected);border-color:var(--fg)}.answer{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.muted{color:var(--muted)}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:26px}.primary{background:var(--button);color:var(--on-button);border-color:var(--button)}.primary:hover{background:var(--button);opacity:.88}.button{display:inline-block;text-decoration:none}a{color:inherit;text-underline-offset:3px}ol{padding-left:24px;margin:0}li{padding-left:4px;margin-bottom:16px}li:last-child{margin-bottom:0}code{font:14px/1.6 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.code{display:flex;align-items:center;gap:16px;background:var(--soft);padding:12px 14px;margin:12px 0}.code code{flex:1;min-width:0}.code button{font-size:14px;flex-shrink:0}.path{display:block;background:var(--soft);padding:12px 14px;margin:12px 0}details{margin:22px 0}summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px}details>div{margin-top:16px}.methods{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.methods button{font-size:14px}.methods [aria-pressed=true]{background:var(--selected);border-color:var(--fg)}.status{font-size:14px;color:var(--muted);margin-bottom:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.choice,.methods button{display:flex;align-items:center;justify-content:space-between;gap:16px}.choice>span:first-child,.methods button>span:first-child{min-width:0}.soon-tag{flex-shrink:0;margin-left:auto;padding:2px 8px;border-radius:4px;background:var(--soft);border:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap}.methods{display:grid}.methods button{text-align:left;width:100%}
@media(max-width:600px){header{padding:10px 20px;align-items:flex-start;flex-wrap:wrap;gap:16px}h1{font-size:20px}.preferences{margin-left:auto}main{padding:28px 20px 48px}nav{gap:8px;margin-bottom:32px}nav button{font-size:13px}nav .number{display:block;margin:0 0 6px}h2{font-size:24px}.code{align-items:flex-start}.code button{padding:7px 10px}}
.warning{padding:16px 20px;border-left:5px solid #d99100;border-radius:0 5px 5px 0;background:#fff3cf;color:#624000}
:root[data-theme=dark] .warning{border-left-color:#efad32;background:#352a14;color:#ffe0a0}
h1{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}
.home-link{display:inline-block;padding:3px 10px;border:1px solid var(--line);border-radius:5px;background:transparent;font:inherit;line-height:inherit;text-decoration:none;white-space:nowrap}
.home-link:hover{background:var(--soft)}
header select{padding:5px 10px}header .home-link{padding:1px 8px}

/* Standalone releases and installation use the existing Install controls. */
#release{padding-bottom:36px;border-bottom:1px solid var(--line);margin-bottom:36px}
.notice{background:var(--soft);border-left:3px solid var(--line);padding:14px 18px;margin-bottom:28px;font-size:14px}
.release-heading{display:flex;align-items:center;gap:14px;margin-bottom:8px}
.release-heading h2{margin:0}.release-heading .soon-tag{margin-left:0}
#release .actions{margin-top:20px}.package-meta{font-size:13px;margin-top:8px}
#latest-notes{margin-bottom:12px}.subtle-link{font-size:14px;color:var(--muted)}
#guide{scroll-margin-top:24px}#guide-title{font-size:22px;margin-bottom:24px}
nav{margin-bottom:30px}#question{font-size:24px;line-height:1.35;margin-bottom:22px}
.methods{grid-template-columns:1fr 1fr}.methods button{justify-content:center}
#history,#about{border-top:1px solid var(--line);margin-top:40px;padding-top:32px;scroll-margin-top:24px}
#history h2,#about h2{font-size:22px;margin-bottom:12px}
.history-release{margin:0;border-bottom:1px solid var(--line)}
.history-release>summary{padding:13px 0;text-decoration:none;font-weight:600}
.history-release>div{margin-top:0;padding:0 0 18px}
.release-notes{font-size:14px}.release-notes h4{font-size:14px;margin:18px 0 8px}
.release-notes ul{padding-left:22px;margin:0 0 16px}.release-notes li{margin-bottom:6px}
.highlights{font-size:14px;margin:18px 0 0;padding-left:22px}.highlights li{margin-bottom:4px}
#about p{font-size:14px}#about details{font-size:14px}li .actions{margin-top:12px;margin-bottom:16px}li p{margin-top:12px}li p:last-child{margin-bottom:0}
@media(max-width:600px){.release-heading{flex-wrap:wrap;gap:10px}.code{flex-wrap:wrap}.code code{flex-basis:100%}#question{font-size:22px}.package-meta{display:block;width:100%}}

/* Shared navigation across the overview, guide, release history and loader pages. */
header{max-width:1160px}
.page-layout{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:190px minmax(0,1fr);gap:48px;padding:42px 32px 80px}
.page-layout main{width:100%;min-width:0;max-width:760px;margin:0;padding:0}
.sidebar{align-self:start;position:sticky;top:32px}
#page-nav{display:flex;flex-direction:column;gap:4px;margin:0;border-left:1px solid var(--line)}
#page-nav a{display:block;padding:8px 16px;margin-left:-1px;border-left:2px solid transparent;color:var(--muted);text-decoration:none;font-size:14px}
#page-nav a:hover{color:var(--fg);background:var(--soft)}
#page-nav a[aria-current=page]{color:var(--fg);border-left-color:var(--fg);font-weight:600}
#release{padding:0;border:0;margin:0}
#history,#about{padding:0;border:0;margin:0}
#guide-title,#history h2,#about h2{font-size:28px;margin-bottom:24px}
#about h3{margin-top:28px}
.start-install{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;margin:26px 0}
.start-install p{font-size:14px;color:var(--muted);margin-bottom:14px}
@media(max-width:760px){.page-layout{grid-template-columns:1fr;gap:28px;padding:24px 20px 48px}.sidebar{position:static}#page-nav{flex-direction:row;flex-wrap:wrap;gap:4px 14px;border-left:0;border-bottom:1px solid var(--line)}#page-nav a{border-left:0;border-bottom:2px solid transparent;padding:8px 0;margin:0 0 -1px}#page-nav a[aria-current=page]{border-bottom-color:var(--fg)}#guide-title,#history h2,#about h2{font-size:24px}}

.faq-card{margin:0;border:1px solid var(--line);border-radius:5px;scroll-margin-top:20px}.faq-card>summary{padding:16px 20px;font-weight:600;text-decoration:none;background:var(--soft)}.faq-card[open]>summary{border-bottom:1px solid var(--line)}.faq-card>.faq-answer{margin:0;padding:20px}.faq-card .code{margin:12px 0}.faq-permalink{font-size:14px;color:var(--muted)}.faq-card li:last-child{margin-bottom:20px}@media(max-width:600px){.faq-card>summary,.faq-card>.faq-answer{padding:16px}}

.faq-path-note{margin:16px 0 0;padding:12px 16px;border-left:3px solid var(--line);background:var(--soft)}.faq-path-note p{margin:0 0 12px}.faq-path-note p:last-child{margin-bottom:0}

.faq-json-example{margin:16px 0 0}.faq-json-preview{margin:12px 0 0;padding:14px 16px;background:var(--soft);border:1px solid var(--line);border-radius:5px;overflow:auto;user-select:none;-webkit-user-select:none}.faq-json-preview .faq-memory-line{user-select:text;-webkit-user-select:text}

.faq-json-preview,.faq-json-preview code{color:var(--muted);cursor:default}.faq-json-preview .faq-memory-line{display:inline-block;color:var(--fg);background:var(--selected);border:1px solid var(--line);border-radius:4px;padding:2px 6px;margin:-2px -6px;cursor:text;font-weight:600}.faq-memory-line::selection{background:var(--button);color:var(--on-button)}.faq-example-hint{font-size:13px;margin:12px 0 0}

.faq-json-preview,.faq-json-preview *{user-select:none;-webkit-user-select:none}.faq-json-preview .faq-memory-line{user-select:text;-webkit-user-select:text}

:not(pre):not(.code)>code:not(.path){background:var(--selected);padding:2px 5px;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}

.faq-card + .faq-card{margin-top:16px}
