.shell{max-width:1320px;margin:auto;padding:0 40px}header{display:flex;align-items:center;justify-content:space-between;height:94px;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-.035em}.brand small{font-size:9px;letter-spacing:.13em;font-weight:500;margin-left:12px;color:var(--muted)}.citrus-mark{font-size:40px;color:var(--accent)}.header-right{display:flex;align-items:center;gap:18px}.header-right>span,.micro{font-size:10px;color:var(--muted);letter-spacing:.025em}.hero{padding:60px 0 64px;display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center}.eyebrow{font-size:10px;color:var(--accent);letter-spacing:.16em;font-weight:650}h1{font-size:43px;line-height:1.35;font-weight:550;letter-spacing:-.035em;margin:15px 0 20px}h1 em{font-style:normal;color:var(--accent)}.hero p:last-child{font-size:13px;color:var(--muted);line-height:1.95}.hero-art{position:relative;height:245px;display:grid;place-items:center;overflow:hidden}.citrus-disc{width:175px;height:175px;border-radius:50%;display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);color:var(--accent);font-size:135px;line-height:1;transform:rotate(-18deg);box-shadow:0 15px 35px var(--shadow)}.orbit{position:absolute;border:1px solid var(--line);width:310px;height:165px;border-radius:50%;transform:rotate(-20deg)}.orbit-two{transform:rotate(60deg);width:270px;height:200px}.hero-art>span{position:absolute;bottom:4px;font-size:8px;letter-spacing:.18em;color:var(--muted)}.workspace{display:grid;grid-template-columns:170px minmax(0,1fr);gap:38px;align-items:start}.section-nav{position:sticky;top:22px;display:flex;flex-direction:column;gap:6px;border-left:1px solid var(--line);padding:5px 0 5px 13px}.section-nav a{display:flex;align-items:center;gap:12px;text-decoration:none;border-radius:8px;font-size:12px;color:var(--muted);padding:10px 12px}.section-nav a span{font-size:16px;width:20px;text-align:center}.section-nav a:hover,.section-nav a[aria-current=true]{color:var(--ink);background:var(--soft)}.component-sections{min-width:0}.component-section{margin-bottom:52px;scroll-margin-top:24px}.section-title{margin-bottom:20px}.section-title>span{font-size:9px;letter-spacing:.15em;color:var(--accent);font-weight:700}.section-title h2{font-weight:600;font-size:25px;letter-spacing:-.025em;line-height:1.4;margin:8px 0}.section-title p{color:var(--muted);font-size:12px;margin:0}.sample-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0}.sample-row+.sample-row{border-top:1px solid var(--line);margin-top:12px;padding-top:22px}.sample-label{font-size:11px;color:var(--muted);margin:0 8px 0 0;min-width:30px}.two-up{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--stack-gap)}.interaction-note{border:1px dashed var(--line);border-radius:var(--radius);padding:22px;min-width:0}.big-symbol{display:block;font-size:40px;line-height:1.3;color:var(--accent);margin-bottom:12px}.interaction-note h3{font-size:17px;margin:0 0 10px}.interaction-note p{font-size:12px;color:var(--muted);line-height:1.9}.inline-check{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.inline-check input{width:18px;min-height:18px;height:18px;margin:0;accent-color:var(--accent)}.code-sample{font-size:11px;margin-top:20px}.code-sample summary{cursor:pointer;color:var(--accent)}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--soft);border-radius:9px;padding:16px;font:11px/1.8 ui-monospace,monospace;margin:12px 0 0}.choice-separator{height:1px;background:var(--line);margin:22px 0}.tab-swatch{display:flex;gap:18px;align-items:center}.tab-swatch>span{font-size:48px;color:var(--accent);background:var(--soft);width:90px;height:80px;display:grid;place-items:center;border-radius:10px}.tab-swatch p{font-size:14px;margin:0}.tab-swatch small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.async-demo{display:grid;grid-template-columns:1fr 1fr;gap:25px}.async-output{padding:15px;border-radius:10px;background:var(--soft)}.async-output>p:last-child{margin-bottom:0}.gallery-card{padding:20px}.gallery-card>.micro{margin-top:0}.reuse-card{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}.reuse-card h3{font-size:19px;margin:10px 0}.reuse-card p{font-size:11px;color:var(--muted);line-height:2}.reuse-card a{font-size:11px;display:block;margin:8px 0;color:var(--accent)}.reuse-card pre{margin:0}footer{display:flex;gap:24px;flex-wrap:wrap;border-top:1px solid var(--line);padding:26px 0 35px;font-size:10px;color:var(--muted)}footer span:nth-child(2){margin-right:auto}.gallery-tools>span{letter-spacing:0}.gallery-tools button{font-size:11px}.gallery-open{background:var(--card)}@media(max-width:1000px){.shell{padding:0 24px}.workspace{grid-template-columns:135px minmax(0,1fr);gap:25px}.section-nav{padding-left:6px}.section-nav a{padding:8px;gap:8px}.hero{gap:10px}h1{font-size:36px}.brand small{display:none}.two-up,.async-demo{grid-template-columns:1fr}.reuse-card{grid-template-columns:1fr}}@media(max-width:700px){.shell{padding:0 16px}header{height:76px}.header-right>span{display:none}.hero{padding:32px 0;grid-template-columns:1fr}.hero-art{display:none}h1{font-size:31px}.hero p:last-child{font-size:12px}.workspace{display:block}.section-nav{position:sticky;top:0;z-index:30;display:flex;flex-direction:row;gap:3px;border:1px solid var(--line);border-radius:11px;background:var(--paper);padding:5px;margin-bottom:25px;overflow:auto;box-shadow:0 5px 14px var(--shadow)}.section-nav a{flex:1;justify-content:center;padding:9px 7px;font-size:0;gap:0;min-width:36px}.section-nav a span{font-size:18px;width:auto}.component-section{scroll-margin-top:75px;margin-bottom:35px}.section-title h2{font-size:22px}.section-title p{line-height:1.9}.sample-row{gap:9px}.sample-row .sample-label{width:100%;margin-bottom:2px}.sample-row button{padding:9px 13px}.sample-row .c-icon{padding:0}.gallery-card{padding:12px}.gallery-tools>span{width:100%;margin:0}.interaction-note{padding:18px}.async-demo{gap:18px}.c-actions{gap:9px}.c-segmented button{padding:6px 12px}.brand{font-size:23px}.reuse-card{gap:15px}.component-section .c-card-head{flex-wrap:wrap}footer{gap:12px}footer span:nth-child(2){margin:0}}



.workspace{display:block}.component-section{scroll-margin-top:100px}.sticky-instruction{font-size:11px;color:var(--muted);margin:12px 0 35px}.gallery-card .ui-gallery{gap:18px!important}


/* Wide layout changes container use, never the type scale. */
.shell{width:100%;max-width:3600px;padding-inline:clamp(16px,3.2vw,128px)}.compact-hero{padding:30px 0 24px}.compact-hero h1{font-size:29px;margin:0;font-weight:550}.component-sections{padding-top:25px}.component-section{margin-bottom:35px}.section-title{margin-bottom:20px}.section-title h2{margin:0;font-size:25px}.section-title p,.section-title>span{display:none}.c-sticky-link{background:transparent;border-color:transparent;flex:1}.c-sticky-link[aria-selected=true]{background:var(--ink);color:var(--paper)}.category-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}.category-icon svg{width:21px;height:21px}.c-sticky-link>.c-nav-label{font-size:12px}.is-compact .c-sticky-link{padding-inline:16px}.top-demo{min-height:calc(100vh + 450px)}.top-demo-actions{max-width:none}.scroll-playground{display:grid;grid-template-columns:35px 1fr;gap:24px;min-height:calc(100vh + 100px);padding-top:30px}.scroll-progress{display:flex;flex-direction:column;align-items:center;color:var(--muted);font:10px ui-monospace,monospace}.scroll-progress>div{width:1px;flex:1;background:var(--line);margin:12px 0}.scroll-cards{display:flex;flex-direction:column;justify-content:space-between;gap:50px}.scroll-cards>.c-card{min-height:190px}.scroll-number{font-size:11px;color:var(--accent);letter-spacing:.1em}.scroll-cards h3{font-size:19px;font-weight:550;margin:12px 0 20px}.nav-illustration{display:flex;align-items:center;gap:20px;color:var(--accent);max-width:600px;padding:15px;border-radius:10px;border:1px solid var(--line)}.nav-illustration>span:not(.visual-line){font-size:24px}.visual-line{height:5px;border-radius:3px;background:var(--line);flex:1}.compact-illustration{justify-content:space-around;max-width:300px}.icon-query-toolbar{display:flex;align-items:center;gap:20px;margin-bottom:24px}.icon-query-toolbar .c-field{max-width:600px;width:100%;margin:0}.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:var(--stack-gap)}.icon-card{border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--card);min-width:0}.icon-preview{height:82px;display:grid;place-items:center;border-radius:9px;background:var(--soft);margin-bottom:16px;color:var(--ink)}.icon-preview svg{width:30px;height:30px}.icon-card h3{font-size:13px;margin:0 0 6px;font-weight:600}.icon-card>code{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin-bottom:14px}.icon-card small{display:block;font-size:9px;color:var(--muted);overflow-wrap:anywhere;margin-top:12px}.icon-card .c-actions{gap:7px}.icon-card button{padding:6px 9px;font-size:10px;min-height:36px;flex:1;white-space:nowrap}.c-card>p:not(.micro),.interaction-note p{max-width:75ch}.two-up{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.c-field input,.c-field textarea,.c-field select{max-width:100%}.gallery-card{width:100%}.reuse-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(min-width:1800px){.button-display{display:grid;grid-template-columns:1fr 1fr;gap:24px}.button-display>.sample-row+.sample-row{border-top:0;border-left:1px solid var(--line);margin:0;padding:10px 0 10px 26px}.button-display>.c-feedback{grid-column:1/-1;margin:0}.scroll-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:space-between;gap:30px}.scroll-cards>.c-card:nth-child(2){margin-top:35vh}.scroll-cards>.c-card:nth-child(3){margin-top:70vh}.scroll-cards>.c-card{align-self:start}.c-editor-body{max-width:90ch}.interaction-note .code-sample{max-width:90ch}.reuse-card pre{max-width:120ch}.icon-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}}
@media(max-width:1000px){.two-up{grid-template-columns:1fr}.reuse-card{grid-template-columns:1fr}}
@media(max-width:700px){.shell{padding-inline:16px}.compact-hero{padding:24px 0 18px}.compact-hero h1{font-size:25px}.c-sticky-link{min-width:30px;padding-inline:4px}.is-compact .c-sticky-link{padding-inline:4px}.category-icon svg{width:19px;height:19px}.c-sticky-nav{overflow:visible}.c-sticky-link .c-nav-label{max-width:0;opacity:0}.component-sections{padding-top:20px}.section-title h2{font-size:22px}.icon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.icon-card{padding:12px}.icon-card .c-actions{flex-direction:column;align-items:stretch}.icon-card button{min-height:40px}.icon-preview{height:65px}.icon-query-toolbar{gap:10px}.icon-query-toolbar>span{flex-shrink:0}.scroll-playground{grid-template-columns:20px 1fr;gap:12px}.top-demo{min-height:calc(100vh + 450px)}.top-demo-actions .c-card-head{flex-wrap:wrap}.nav-illustration{gap:12px;padding:12px}.scroll-cards>.c-card{min-height:170px}.c-card-head{gap:10px}.c-actions{gap:9px}}

/* On narrow screens the expanded tab strip uses stacked labels; sticky mode hides them. */
@media(max-width:700px){.c-sticky-link{flex-direction:column;gap:1px;padding:2px 3px}.c-sticky-link .c-nav-label{max-width:32px;max-height:24px;opacity:1;white-space:normal;font-size:10px;line-height:1.05;text-align:center;transition:opacity .15s,max-height .15s}.c-sticky-shell.is-compact .c-nav-label{max-width:0;max-height:0;opacity:0}.c-sticky-shell.is-compact .c-sticky-link{gap:0;padding:2px 3px}}

/* A category selection is immediate; old/new tabs never share a fading selected background. */
.c-sticky-nav [role=tab]{transition:none}
