:root{color-scheme:light;--ink:#242831;--muted:#67717e;--line:#e1e5ea;--paper:#fcfcfd;--blue:#2f63e0;--blue-soft:#eff4ff;--panel:#ffffff;--panel-alt:#f3f5f8;--panel-hover:#fbfcff;--canvas:#f2f5fa;--grid:#c7cfdd;--edge:#a9b6c9;--link:#2451c2;--button:#2f63e0;--button-hover:#2454c6;--on-button:#ffffff;--accent-line:#acc1f4;--accent-muted:#627da9;--label:#4b5567;--subtle:#7c8798;--faint:#8a93a0;--hero-number:#b7c9ec;--image-stage:#f8f9fc;--glass:rgba(252,252,253,.96);--badge:rgba(255,255,255,.94);--shadow:rgba(10,14,20,.15);--radius:12px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.6;color:var(--ink);background:var(--paper)}
:root[data-theme="dark"]{color-scheme:dark;--ink:#e4eaf3;--muted:#abb7c9;--line:#364255;--paper:#141a24;--blue:#8bb4ff;--blue-soft:#253957;--panel:#1c2533;--panel-alt:#242f40;--panel-hover:#283549;--canvas:#17212f;--grid:#3c4a60;--edge:#667c99;--link:#a1c2ff;--button:#356fdc;--button-hover:#447fe9;--on-button:#ffffff;--accent-line:#526f9c;--accent-muted:#9db9df;--label:#d0dbea;--subtle:#a2b2c8;--faint:#9babbe;--hero-number:#8faedc;--image-stage:#c6cdd7;--glass:rgba(20,26,36,.96);--badge:rgba(28,37,51,.96);--shadow:rgba(0,0,0,.3);}
@media(prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark;--ink:#e4eaf3;--muted:#abb7c9;--line:#364255;--paper:#141a24;--blue:#8bb4ff;--blue-soft:#253957;--panel:#1c2533;--panel-alt:#242f40;--panel-hover:#283549;--canvas:#17212f;--grid:#3c4a60;--edge:#667c99;--link:#a1c2ff;--button:#356fdc;--button-hover:#447fe9;--on-button:#ffffff;--accent-line:#526f9c;--accent-muted:#9db9df;--label:#d0dbea;--subtle:#a2b2c8;--faint:#9babbe;--hero-number:#8faedc;--image-stage:#c6cdd7;--glass:rgba(20,26,36,.96);--badge:rgba(28,37,51,.96);--shadow:rgba(0,0,0,.3);}}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--blue);outline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(30px,3.4vw,48px);letter-spacing:-.045em;line-height:1.2;font-weight:650;margin-bottom:20px}h2{font-size:23px;line-height:1.35;letter-spacing:-.025em;font-weight:620}h3{font-size:16px}p{color:var(--muted)}code{font-family:"SFMono-Regular",Consolas,monospace;font-size:.85em}button{color:inherit}a:hover{color:var(--blue)}[hidden]{display:none!important}.wrap{width:min(1336px,calc(100% - 96px));margin-inline:auto}.site-header{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:64px;padding:0 48px;background:var(--glass)}.brand{font-size:21px;font-weight:650;letter-spacing:-.06em;display:flex;align-items:center;gap:11px;color:var(--ink)}.site-header nav{display:flex;gap:32px;align-self:stretch;align-items:center;font-size:14px}.site-header nav a{height:100%;display:flex;align-items:center;border-bottom:2px solid transparent;padding-top:2px;color:var(--muted)}.site-header nav a[aria-current]{border-color:var(--blue);color:var(--ink);font-weight:600}.header-actions{margin-left:auto;display:flex;gap:24px;align-items:center}.language{font-size:13px}.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;border:1px solid var(--blue);border-radius:7px;color:var(--on-button);background:var(--button);padding:11px 19px;line-height:1.5;font-size:14px;font-weight:550}.button:hover{background:var(--button-hover);color:var(--on-button)}.button.secondary{background:var(--panel);border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:var(--blue-soft);border-color:var(--accent-line)}.button.small{padding:8px 15px;font-size:13px}.catalog-intro{padding-top:68px;padding-bottom:44px}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:600;color:var(--muted);margin-bottom:18px}.lead{font-size:16px;max-width:700px;line-height:1.85;margin-bottom:0}.catalog-toolbar{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-block:1px solid var(--line);align-items:center}.filter-list{display:flex;flex-wrap:wrap;gap:5px}.filter{border:0;background:transparent;color:var(--muted);padding:8px 13px;font-size:13px;border-radius:6px}.filter:hover{background:var(--panel-alt)}.filter.active{background:var(--blue-soft);color:var(--link);font-weight:550}.search input{background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:9px 12px;width:260px;font-size:13px}.results-meta{display:flex;justify-content:space-between;margin:20px 0;color:var(--muted);font-size:11px;letter-spacing:.03em}.results-meta strong{font-weight:500}.example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}.example-card{min-width:0}.card-art{display:block;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);aspect-ratio:4/3;background:var(--canvas)}.card-art img{display:block;width:100%;height:100%;object-fit:contain;transition:filter .2s}.card-art:hover img{filter:brightness(1.04)}.art-label{position:absolute;left:14px;top:14px;background:var(--badge);border:1px solid var(--line);border-radius:5px;padding:4px 9px;font-size:10px;letter-spacing:.03em;color:var(--label)}.card-open{position:absolute;bottom:13px;right:13px;background:var(--panel);border:1px solid var(--line);border-radius:50%;width:31px;height:31px;text-align:center;line-height:29px;color:var(--ink)}.card-meta{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.07em;color:var(--muted);margin:19px 0 10px;text-transform:uppercase}.example-card h2{font-size:20px;margin-bottom:10px}.example-card p{font-size:13px;line-height:1.8;min-height:47px;margin-bottom:16px}.card-tags{display:flex;gap:9px;font-size:10px;color:var(--muted)}.card-tags span{padding:3px 7px;border:1px solid var(--line);border-radius:4px}.learning-strip{border-block:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 0;margin-top:66px}.learning-strip .eyebrow{margin-bottom:8px}.learning-strip h2{font-size:20px;margin-bottom:8px}.learning-strip p{margin-bottom:0;font-size:13px}.text-link{font-weight:550;color:var(--blue);font-size:13px;white-space:normal}.site-footer{width:min(1336px,calc(100% - 96px));margin:64px auto 0;padding:32px 0 40px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-top:1px solid var(--line)}.site-footer .brand{font-size:18px;margin-bottom:10px}.site-footer p,.site-footer small,.local-note{font-size:11px;color:var(--muted)}.footer-links{display:flex;gap:23px;font-size:12px}.local-note{margin-top:4px}.empty-state{padding:70px;text-align:center}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:var(--panel);padding:12px}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.example-heading{padding-top:30px;padding-bottom:28px}.breadcrumb{color:var(--muted);font-size:12px;display:inline-block;margin-bottom:32px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:30px}.title-row h1{font-size:clamp(26px,2.6vw,38px);margin-bottom:12px}.title-row .eyebrow{margin-bottom:12px}.title-row .lead{font-size:14px}.title-row>.button{white-space:nowrap;flex-shrink:0}.inline-meta{display:flex;gap:24px;font-size:11px;color:var(--muted);margin-top:24px}.inline-meta span+span{border-left:1px solid var(--line);padding-left:24px}.example-bottom{display:grid;grid-template-columns:1.4fr 1fr;gap:100px;margin-top:52px}.workflow-steps{list-style:none;padding:0}.step-focus{display:flex;gap:20px;align-items:flex-start;background:none;border:0;border-radius:6px;padding:14px 0;text-align:left;width:100%}.step-focus:hover strong{color:var(--blue)}.step-number{font-family:monospace;font-size:12px;color:var(--subtle);margin-top:3px}.step-focus strong{display:block;font-size:15px;font-weight:550;margin-bottom:7px}.step-focus span span{display:block;font-size:13px;line-height:1.8;color:var(--muted)}.template-panel{border:1px solid var(--line);background:var(--panel-alt);border-radius:var(--radius);padding:26px;height:fit-content;scroll-margin-top:24px}.template-panel p{font-size:12px}.template-panel h2{font-size:22px}.template-panel .button{margin:0 5px 14px 0}.template-panel .import-note{font-size:11px;line-height:1.9}.copy-fallback{width:100%;height:160px;font-family:monospace;font-size:11px}.related-nodes{border-top:1px solid var(--line);margin-top:40px;padding-top:27px}.related-nodes h2{font-size:19px}.node-chips{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.node-chips a{border:1px solid var(--line);border-radius:6px;background:var(--panel);padding:6px 11px;font-size:12px}.node-chips a:hover{border-color:var(--blue)}.node-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.node-card{border:1px solid var(--line);padding:25px;border-radius:10px;background:var(--panel)}.node-card:hover{border-color:var(--accent-line);background:var(--panel-hover)}.node-card .eyebrow{font-size:9px}.node-card h2{margin:10px 0;font-size:19px}.node-card p{font-size:12px;min-height:40px}.node-card code{font-size:10px;color:var(--subtle)}.node-page{display:grid;grid-template-columns:205px minmax(0,1fr);gap:60px;padding-top:38px}.node-sidebar{border-right:1px solid var(--line);padding-right:24px;font-size:12px}.node-sidebar h3{font-size:10px;color:var(--subtle);margin:23px 0 8px}.node-sidebar a:not(.breadcrumb){display:block;padding:5px 9px;border-radius:4px;color:var(--muted)}.node-sidebar a[aria-current]{color:var(--blue);background:var(--blue-soft)}.node-article h1{font-size:36px;margin-bottom:12px}.node-article h2{font-size:22px;margin-top:36px}.node-article .lead{margin:19px 0 24px}.type-id{font-size:12px;color:var(--blue)}.note{background:var(--blue-soft);border-left:3px solid var(--accent-line);padding:16px 20px;font-size:13px;color:var(--muted);line-height:1.9}.port-tables{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:24px 0}.port-row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.port-row strong{font-weight:500}.port-row code{color:var(--accent-muted)}.parameter-table{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;vertical-align:top;padding:13px;border:1px solid var(--line)}th{background:var(--panel-alt)}td code{overflow-wrap:anywhere}.learn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.learn-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:30px}.lesson-number{font-size:42px;color:var(--hero-number);letter-spacing:-.08em;font-weight:400}.learn-card h2{font-size:21px;margin:28px 0 12px}.learn-card p{font-size:13px}.catalog-intro>.button{margin-top:26px}.download-details{display:grid;grid-template-columns:1fr 1fr;gap:35px}.download-details article{border:1px solid var(--line);border-radius:12px;padding:28px}.download-details p{font-size:14px}.download-details a{color:var(--blue);font-size:13px}.prose{max-width:920px;padding-top:50px;line-height:1.95}.prose header{margin-bottom:32px}.prose>h1:first-of-type{display:none}.prose h2{margin-top:40px}.prose h3{margin-top:28px}.prose a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.prose img{border-radius:6px;border:1px solid var(--line)}.prose pre{overflow:auto;background:var(--panel-alt);border:1px solid var(--line);border-radius:8px;padding:20px}.prose p,.prose li{font-size:14px}.prose table{display:block;overflow:auto}.graph-fallback{background:var(--panel-alt);border:1px solid var(--line);border-radius:12px;text-align:center;padding:22px}.graph-fallback img{max-height:440px;object-fit:contain}.graph-fallback p{font-size:12px;margin:12px 0 0}.graph-example{scroll-margin-top:25px}.graph-example:fullscreen{background:var(--paper);padding:20px;overflow:auto}.graph-example:fullscreen .ge-stage{height:calc(100vh - 280px)}.graph-example:fullscreen .ge-preview-image{max-height:calc(100vh - 340px)}
@media(min-width:1550px){.catalog-intro{padding-top:84px}.card-art{aspect-ratio:4/3}}
@media(max-width:1100px){.wrap,.site-footer{width:calc(100% - 48px)}.site-header{padding:0 24px;gap:30px}.site-header nav{gap:20px}.header-actions{gap:16px}.search input{width:210px}.catalog-toolbar{align-items:flex-start;flex-direction:column}.search,.search input{width:100%}.example-bottom{gap:40px}.site-footer{flex-wrap:wrap}.local-note{width:100%}.node-page{gap:25px;grid-template-columns:175px minmax(0,1fr)}.example-card h2{font-size:18px}.card-tags{flex-wrap:wrap}.example-grid{gap:20px}}
@media(max-width:740px){.site-header{height:auto;min-height:108px;flex-wrap:wrap;gap:0 12px;padding:14px 20px 0}.brand{font-size:19px}.header-actions{gap:14px}.header-actions .button{padding:6px 10px;font-size:11px}.language{font-size:11px}.site-header nav{order:3;width:100%;height:43px;gap:27px;font-size:12px}.wrap,.site-footer{width:calc(100% - 40px)}.catalog-intro{padding-top:38px;padding-bottom:30px}h1{font-size:32px}.lead{font-size:14px}.example-grid,.learn-grid,.download-details{grid-template-columns:1fr}.card-art{aspect-ratio:4/3}.example-card{padding-bottom:24px}.example-card p{min-height:0}.card-meta{margin-top:14px}.example-card h2{font-size:22px}.example-card p{font-size:14px}.results-meta>span:last-child{display:none}.learning-strip{margin-top:30px;align-items:flex-start;flex-direction:column;gap:20px}.site-footer{margin-top:35px;flex-direction:column}.footer-links{flex-wrap:wrap;gap:15px}.title-row{align-items:flex-start;flex-direction:column;gap:15px}.title-row h1{font-size:29px}.inline-meta{flex-wrap:wrap;gap:9px 13px}.inline-meta span+span{padding-left:13px}.example-bottom{grid-template-columns:1fr;gap:22px;margin-top:30px}.template-panel{padding:22px}.node-grid{grid-template-columns:1fr}.node-page{display:block}.node-sidebar{display:none}.node-article h1{font-size:31px}.port-tables{gap:20px}.prose{padding-top:32px}.empty-state{padding:45px 15px}.filter{padding:7px 10px}.eyebrow{font-size:10px}.learn-card{padding:24px}.lesson-number{font-size:32px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.node-parameter-guide{font-size:13px;color:var(--muted);line-height:1.9}.node-parameter-guide li{margin-bottom:10px}.node-parameter-guide strong{color:var(--ink)}

/* Native radios keep arrow-key selection and an announced checked state. */
.site-header{position:relative}
.theme-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:999px;background:var(--panel-alt);flex-shrink:0}
.theme-option{position:relative;display:grid;place-items:center;width:30px;height:30px;cursor:pointer;border-radius:50%;color:var(--muted)}
.theme-option input{position:absolute;opacity:0;width:100%;height:100%;margin:0;inset:0;cursor:pointer}
.theme-option svg{position:relative;pointer-events:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;transition:color .15s}
.theme-option:has(input:checked){color:var(--blue);background:var(--panel);box-shadow:0 1px 4px #00000014,inset 0 0 0 1px var(--accent-line)}
.theme-option:hover{color:var(--ink)}
.theme-option:has(input:focus-visible){outline:3px solid var(--blue);outline-offset:3px}
.header-actions{gap:16px}
@media(max-width:740px){.site-header .theme-switch{position:absolute;right:20px;top:59px;padding:2px}.site-header nav{padding-right:112px;gap:18px}.header-actions{gap:12px}.theme-option{width:28px;height:28px}.footer-links{gap:14px}}
@media(prefers-reduced-motion:reduce){.theme-option svg{transition:none}}
.learn-basics{display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-top:48px}.learn-basics h3{margin-top:28px}.learn-basics p{font-size:14px;line-height:1.9}.learn-basics h2{font-size:23px}@media(max-width:740px){.learn-basics{grid-template-columns:1fr;gap:32px;margin-top:32px}}

/* App fusion-dot identity and palette, scaled for the website header. */
.site-header .brand {
  --brand-accent: #2f63e0;
  --brand-violet: #6d4bd6;
  --brand-text: #191c23;
  --brand-dot-blend: multiply;
  height: 40px;
  padding: 4px 0;
  gap: 12px;
  flex: none;
  user-select: none;
  color: var(--brand-text);
}
:root[data-theme="dark"] .site-header .brand {
  --brand-accent: #5b9bff;
  --brand-violet: #8f7bff;
  --brand-text: #e8eaee;
  --brand-dot-blend: screen;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .site-header .brand {
    --brand-accent: #5b9bff;
    --brand-violet: #8f7bff;
    --brand-text: #e8eaee;
    --brand-dot-blend: screen;
  }
}
.site-header .dots { display: inline-flex; align-items: center; }
.site-header .dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; }
.site-header .dot-l { background: var(--brand-accent); }
.site-header .dot-r { background: var(--brand-violet); margin-left: -7px; mix-blend-mode: var(--brand-dot-blend); }
.site-header .brand-name {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-header nav { font-size: 16px; }
.site-header nav a, .site-header .header-actions a { white-space: nowrap; }
.site-header .language, .site-header .button.small { font-size: 14px; }
.site-header .button.small { min-height: 40px; }
.site-header .theme-option { width: 34px; height: 34px; }
.site-header .theme-option svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .site-header { height: auto; min-height: 116px; flex-wrap: wrap; gap: 0 12px; padding: 12px 20px 0; }
  .site-header .brand { gap: 10px; }
  .site-header .brand-name { font-size: 14px; }
  .site-header .dot { width: 16px; height: 16px; }
  .site-header .dot-r { margin-left: -6px; }
  .site-header nav { order: 3; width: 100%; height: 56px; padding-right: 116px; gap: 20px; font-size: 14px; }
  .site-header .header-actions { gap: 12px; }
  .site-header .language, .site-header .button.small { font-size: 12px; }
  .site-header .button.small { padding: 7px 10px; min-height: 36px; }
  .site-header .theme-switch { position: absolute; right: 20px; top: auto; bottom: 10px; padding: 2px; }
  .site-header .theme-option { width: 30px; height: 30px; }
  .site-header .theme-option svg { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
  .site-header { padding-inline: 10px; column-gap: 8px; }
  .site-header nav { gap: 10px; padding-right: 108px; font-size: 13px; }
  .site-header .theme-switch { right: 10px; }
}
