/* Generated canonical palette fallback. */
:root{color-scheme:light;--bg-primary:#f5f6f8;--surface-primary:#ffffff;--surface-secondary:#edf0f4;--text-primary:#20252d;--text-secondary:#596374;--border-primary:#d7dde5;--sw-text-link:#20252d;--sw-workspace-action:#20252d;--sw-workspace-on-action:#ffffff;}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;--bg-primary:#111318;--surface-primary:#191c22;--surface-secondary:#242830;--text-primary:#eeeef2;--text-secondary:#adb5c1;--border-primary:#343a46;--sw-text-link:#eeeef2;--sw-workspace-action:#eeeef2;--sw-workspace-on-action:#191c22;}}
/* Standalone public documentation layout. Materials come from the same
   theme-system runtime and palette as Creator; build-developer-docs owns output. */
* { box-sizing:border-box; }
html { scroll-padding-top:calc(var(--docs-header-height,76px) + 16px); }
body { margin:0; background:var(--bg-primary); color:var(--text-primary); font:15px/1.65 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--sw-text-link); text-underline-offset:4px; }
button,input,select { font:inherit; }
button,select { cursor:pointer; }
button:disabled { cursor:wait; opacity:.65; }
:is(a[href],button,input,select,textarea,summary,[tabindex]:not([tabindex="-1"])):focus-visible { outline:2px solid var(--sw-control-focus-color,var(--sw-text-link)); outline-offset:3px; }
main[tabindex="-1"]:focus { outline:none; box-shadow:none; }
[hidden] { display:none !important; }
.docs-skip { position:fixed; top:8px; left:16px; z-index:100; transform:translateY(-180%); background:var(--surface-primary); padding:10px 18px; border:1px solid var(--border-primary); border-radius:8px; }
.docs-skip:focus { transform:none; }
.docs-header { position:sticky; top:0; z-index:20; background:var(--sw-chrome-highlight, none), var(--sw-chrome-bg, var(--surface-primary)); border-bottom:1px solid var(--sw-chrome-border, var(--border-primary)); box-shadow:var(--sw-chrome-shadow, none); backdrop-filter:var(--sw-chrome-filter, none); -webkit-backdrop-filter:var(--sw-chrome-filter, none); }
.docs-topbar { max-width:1440px; margin:auto; padding:14px 32px; display:flex; align-items:center; gap:28px; min-height:76px; }
.docs-brand { display:flex; align-items:center; gap:10px; color:var(--text-primary); text-decoration:none; font-size:16px; font-weight:650; white-space:nowrap; }
.docs-brand img { width:30px; height:30px; }
.docs-brand span { color:var(--text-secondary); border-left:1px solid var(--border-primary); padding-left:12px; font-size:13px; font-weight:450; }
.docs-topnav { display:flex; gap:24px; }
.docs-topnav a { color:var(--text-secondary); font-size:13px; text-decoration:none; padding:8px 0; }
.docs-topnav a[aria-current=page] { color:var(--text-primary); box-shadow:0 2px var(--sw-text-link); }
.docs-tools { margin-left:auto; display:flex; align-items:center; gap:10px; flex-wrap:wrap; min-width:0; max-width:100%; }
.docs-button,.docs-tools button,.docs-tools select { border:1px solid var(--border-primary); border-radius:var(--sw-action-radius, 10px); box-shadow:var(--sw-control-shadow, none); padding:9px 14px; min-height:44px; background:var(--surface-primary); color:var(--text-primary); text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; font-size:13px; font-weight:550; }
.docs-button:hover,.docs-tools button:hover { background:var(--surface-secondary); box-shadow:var(--sw-control-shadow-hover, none); }
.docs-button--primary { background:var(--sw-workspace-action); color:var(--sw-workspace-on-action); border-color:var(--sw-workspace-action); }
.docs-button--primary:hover { background:var(--sw-primary-hover, var(--sw-workspace-action)); }
.docs-tools kbd { font-size:10px; color:var(--text-secondary); }
.docs-tools label { display:flex; align-items:center; gap:6px; min-width:0; max-width:100%; }
.docs-tools select { min-width:0; max-width:100%; }
.docs-tools label>span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.docs-layout { max-width:1440px; display:grid; grid-template-columns:220px minmax(0,1fr); gap:60px; margin:auto; padding:0 32px; }
.docs-sidebar { position:sticky; top:var(--docs-header-height,76px); align-self:start; height:calc(100dvh - var(--docs-header-height,76px)); overflow:auto; padding:36px 12px 32px 0; border-right:1px solid var(--border-primary); scrollbar-width:thin; }
.docs-sidebar nav { display:grid; gap:3px; }
.docs-sidebar nav+nav { margin-top:26px; }
.docs-sidebar strong { color:var(--text-secondary); font-size:10px; letter-spacing:.12em; text-transform:uppercase; margin:0 0 10px 12px; }
.docs-sidebar a { color:var(--text-secondary); display:block; font-size:13px; text-decoration:none; border-radius:7px; padding:9px 12px; line-height:1.5; }
.docs-sidebar a:hover,.docs-sidebar a[aria-current=page] { color:var(--sw-text-link); background:var(--surface-secondary); }
#docs-menu { display:none; }
.docs-main { min-width:0; padding:54px 0 28px; max-width:1020px; overflow-wrap:anywhere; }
.docs-actions .docs-button { min-width:0; max-width:100%; text-align:center; }
.docs-hero { padding-bottom:42px; border-bottom:1px solid var(--border-primary); }
.docs-kicker { color:var(--text-secondary); letter-spacing:.13em; font-size:10px; font-weight:650; }
h1 { font-size:clamp(34px,3.8vw,54px); line-height:1.1; letter-spacing:-.045em; font-weight:600; max-width:800px; margin:18px 0 20px; }
.docs-intro { max-width:660px; font-size:17px; line-height:1.75; color:var(--text-secondary); margin:0; }
.docs-actions { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0 6px; }
.docs-meta { margin-top:26px; font-size:11px; color:var(--text-secondary); display:flex; gap:12px; flex-wrap:wrap; }
.docs-section { padding:38px 0; border-bottom:1px solid var(--border-primary); min-width:0; scroll-margin-top:16px; }
.docs-section h2 { font-size:23px; font-weight:600; letter-spacing:-.025em; line-height:1.3; margin:0 0 18px; }
.docs-section h3 { font-size:16px; line-height:1.5; margin:25px 0 10px; font-weight:600; }
.docs-section p { max-width:790px; color:var(--text-secondary); margin:12px 0; }
.docs-section p strong { color:var(--text-primary); font-weight:600; }
.docs-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:22px; }
.docs-card { padding:24px; border:1px solid var(--border-primary); border-radius:var(--sw-card-radius, 16px); box-shadow:var(--sw-card-shadow, none); background:var(--surface-primary); color:var(--text-primary); text-decoration:none; transition:border-color .15s ease,transform .15s ease; }
.docs-card:hover { border-color:var(--sw-text-link); box-shadow:var(--sw-card-shadow-hover, none); }
.docs-card h3 { display:flex; justify-content:space-between; gap:8px; margin:22px 0 10px; line-height:1.4; }
.docs-card h3 span { color:var(--text-secondary); font-size:16px; }
.docs-card p { font-size:13px; line-height:1.7; margin:0; }
.docs-code { margin:22px 0; border:1px solid var(--border-primary); border-radius:10px; overflow:hidden; background:var(--surface-primary); }
.docs-code>div { display:flex; justify-content:space-between; align-items:center; gap:8px; padding:8px 16px; background:var(--surface-secondary); border-bottom:1px solid var(--border-primary); color:var(--text-secondary); font-size:11px; }
.docs-code button { border:0; background:transparent; color:var(--text-primary); padding:8px; min-height:44px; min-width:44px; font-size:12px; }
.docs-code pre { margin:0; padding:22px; overflow:auto; max-height:480px; font-size:12px; line-height:1.9; tab-size:2; }
code { font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace; font-size:.88em; overflow-wrap:anywhere; }
pre code { font-size:inherit; overflow-wrap:normal; }
.docs-table { overflow:auto; border:1px solid var(--border-primary); border-radius:10px; margin:22px 0; background:var(--surface-primary); }
table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
th { background:var(--surface-secondary); color:var(--text-secondary); font-size:11px; font-weight:600; }
th,td { padding:15px 18px; vertical-align:top; }
td { border-top:1px solid var(--border-primary); color:var(--text-secondary); }
td:first-child { color:var(--text-primary); min-width:190px; width:31%; }
.docs-note { border-left:3px solid var(--sw-text-link); padding:16px 20px; background:var(--surface-primary); border-radius:0 8px 8px 0; margin:24px 0; font-size:13px; }
.docs-note strong { font-weight:600; }
.docs-note p { margin:6px 0 0; }
.docs-steps { list-style:none; counter-reset:step; padding:0; margin:24px 0; }
.docs-steps li { counter-increment:step; position:relative; padding:0 0 22px 46px; }
.docs-steps li:last-child { padding-bottom:0; }
.docs-steps li::before { content:counter(step,decimal-leading-zero); position:absolute; left:0; top:0; color:var(--sw-text-link); font:12px/26px ui-monospace,monospace; }
.docs-steps li strong { font-size:14px; font-weight:600; }
.docs-steps p { font-size:14px; margin:5px 0 0; }
.docs-list { padding-left:22px; color:var(--text-secondary); }
.docs-list li { margin:12px 0; }
.docs-status-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:24px 0; }
.docs-status-heading strong { font-size:18px; font-weight:550; }
.docs-status-heading p,.docs-small { font-size:12px; }
.docs-probe { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 0; border-top:1px solid var(--border-primary); }
.docs-probe strong { font-weight:550; font-size:14px; }
.docs-probe p { font-size:12px; margin:4px 0; }
.docs-probe code { color:var(--text-secondary); font-size:11px; }
.docs-probe [data-probe-state] { font-size:11px; padding:5px 10px; border:1px solid var(--border-primary); border-radius:20px; white-space:nowrap; }
.docs-probe[data-state=ok] [data-probe-state] { color:var(--sw-text-link); border-color:var(--sw-text-link); }
.docs-footer { display:flex; justify-content:space-between; gap:18px; color:var(--text-secondary); font-size:12px; padding:30px 0; }
.docs-footer a { color:var(--text-secondary); }
.docs-search { background:var(--surface-primary); color:var(--text-primary); border:1px solid var(--border-primary); border-radius:14px; padding:0; width:min(660px,calc(100vw - 32px)); max-height:80dvh; box-shadow:var(--shadow-lg); }
.docs-search::backdrop { background:rgb(0 0 0 / .45); }
.docs-search>div:first-child { display:flex; align-items:center; gap:12px; flex-wrap:wrap; border-bottom:1px solid var(--border-primary); padding:14px 18px; }
.docs-search>div:first-child input { flex:1 1 140px; }
.docs-search>div:first-child button { flex:0 0 auto; max-width:100%; }
.docs-search input { width:100%; min-width:0; min-height:44px; border:0; background:transparent; color:var(--text-primary); font-size:16px; }
.docs-search button { background:var(--surface-secondary); border:1px solid var(--border-primary); color:var(--text-primary); border-radius:6px; padding:8px; min-height:44px; min-width:44px; }
#docs-results { padding:18px; color:var(--text-secondary); font-size:13px; max-height:60dvh; overflow:auto; }
#docs-results a { display:grid; gap:5px; padding:14px 10px; text-decoration:none; border-bottom:1px solid var(--border-primary); }
#docs-results a:hover { background:var(--surface-secondary); }
#docs-results span { color:var(--text-secondary); font-size:12px; }
@media(min-width:1600px) { .docs-layout { gap:84px; } }
@media(max-width:1150px) { .docs-topnav { display:none; } .docs-layout { gap:32px; grid-template-columns:190px minmax(0,1fr); } .docs-cards { grid-template-columns:1fr; } .docs-card { padding:20px; } .docs-card h3 { margin-top:12px; } }
@media(max-width:760px) {
 .docs-topbar { padding:12px 16px; min-height:64px; gap:12px; flex-wrap:wrap; }
 .docs-brand span { display:none; } .docs-tools { gap:6px; }
 .docs-tools button,.docs-tools select { padding:8px 10px; min-height:44px; font-size:12px; }
 .docs-tools kbd { display:none; }
 #docs-menu { display:inline-flex; }
 .docs-layout { display:block; padding:0 20px; }
 .docs-sidebar { display:none; height:auto; max-height:65dvh; padding:18px 0; position:static; border-right:0; border-bottom:1px solid var(--border-primary); }
 .docs-sidebar.is-open { display:block; }
 .docs-sidebar a { min-height:44px; }
 .docs-main { padding-top:34px; }
 .docs-hero { padding-bottom:30px; } .docs-intro { font-size:15px; }
 .docs-section { padding:30px 0; } .docs-section h2 { font-size:21px; }
 .docs-actions .docs-button { min-height:44px; }
 .docs-code pre { padding:16px; font-size:11px; }
 th,td { padding:12px; } td:first-child { min-width:130px; }
 .docs-probe { gap:12px; align-items:flex-start; flex-wrap:wrap; }
 .docs-probe>div { flex:1; min-width:180px; }
 .docs-status-heading { flex-wrap:wrap; }
 .docs-footer { flex-direction:column; }
}
@media(max-width:360px) { .docs-topbar { gap:8px; } .docs-brand { font-size:14px; } .docs-brand img { width:25px; height:25px; } .docs-tools { width:100%; margin:0; } .docs-tools label { margin-left:auto; } }
@media(max-width:760px) and (max-height:600px) {
 .docs-header { position:relative; }
 html { scroll-padding-top:16px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }
@media(forced-colors:active) { .docs-card,.docs-button,.docs-note,.docs-code,.docs-search { border:1px solid CanvasText; } }
