/* Neutral surfaces; product color is reserved for meaning and interaction. */
html{color-scheme:light;--canvas:#fff;--panel:#f5f5f4;--raised:#fff;--ink:#262927;--muted:#626762;--edge:#dfe2de;--hover:#e9ece8;--shadow:0 5px 22px #20282008;--chroma-one:#007f70;--chroma-skip:#7022ce;--chroma-maestro:#e54d00}
html[data-theme=dark]{color-scheme:dark;--canvas:#141615;--panel:#1e211f;--raised:#252925;--ink:#edf0ec;--muted:#b1b9b0;--edge:#3b433c;--hover:#303730;--shadow:0 5px 22px #0002;--chroma-one:#50d6bd;--chroma-skip:#bf94ff;--chroma-maestro:#ff6d0a}
html[data-theme] {--ds-page:var(--canvas);--ds-surface:var(--panel);--ds-ink:var(--ink);--ds-muted:var(--muted);--ds-border:var(--edge);--ds-hover:var(--hover)}
html[data-theme] body{background:var(--canvas);color:var(--ink);--paper:var(--panel);--line:var(--edge)}
html[data-theme] body>header,html[data-theme] body .sidebar,html[data-theme] body[data-layout=v2] .catalog .tools,html[data-theme] body>footer.site-footer{background:var(--panel)!important;color:var(--ink);box-shadow:var(--shadow)}
html[data-theme] body .main,html[data-theme] body .area,html[data-theme] body .portal-sections{background:var(--canvas)!important;color:var(--ink)}
html[data-theme] body :is(.case-card,.guide-tile,.home-carousel>a,.reading-list>a,.help-paths>a,.release-card,.ds-card,.ds-code,.ds-prompt,.sample){background:var(--panel)!important;color:var(--ink)!important;border-color:var(--edge)}
html[data-theme] body :is(.card-learning,.story-result){background:transparent!important}
html[data-theme] body :is(.portal-sections,.catalog,.featured,.article,.ds-content,.site-footer) :is(h1,h2,h3,h4,strong){color:var(--ink)}
html[data-theme] body :is(.portal-sections,.catalog,.featured,.article,.site-footer) :is(p,.tag,.category,.eyebrow,.library-foot,.concept-note){color:var(--muted)}
html[data-theme] body :is(input,textarea,select,.secondary,.vote,.ds-button,.filters button,.category-filters button){background:var(--raised);color:var(--ink);border-color:var(--edge)}
html[data-theme] body :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
html[data-theme] body :is(.filters,.category-filters) button[aria-pressed=true],html[data-theme] body .sidebar a[aria-current=page]{background:var(--hover)!important;color:var(--ink)!important;box-shadow:none}
html[data-theme] body .sidebar :is(a,summary){color:var(--muted)}
html[data-theme] body .sidebar :is(a,summary):hover{background:var(--hover);color:var(--ink)}
html[data-theme] body .sidebar .doc-group h2{color:var(--muted)}
/* Navigation color lives exclusively in text and masked SVGs. */
body>header nav .nav-indicator{display:none!important}
body>header nav a:before{display:none}
html[data-theme] body>header nav a{background:none!important;color:var(--ink);transition:color .35s}
body>header nav .nav-symbol{display:inline-block;width:1em;height:1em;flex:0 0 1em;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat}
html[data-theme] body>header nav[data-mode=product] a:is(:hover,:focus-visible,[aria-current=page]){color:var(--ds-accent)}
html[data-theme] body>header nav[data-mode=chroma] a:is(:hover,:focus-visible,[aria-current=page]){animation:nav-ink 7s ease-in-out infinite}
@keyframes nav-ink{0%,100%{color:var(--chroma-one)}33%{color:var(--chroma-skip)}66%{color:var(--chroma-maestro)}}
.sidebar-brand{display:block;width:130px;height:18px;justify-self:center;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat;color:var(--muted);transition:color .4s}
.product-switcher:is(:hover,:focus-within) .sidebar-brand{color:var(--ds-accent)}
html[data-theme=dark] body[data-product=One]{--ds-accent:#50d6bd;--ds-tint:#193c33}
html[data-theme=dark] body[data-product=Skip]{--ds-accent:#bf94ff;--ds-tint:#322443}
html[data-theme=dark] body[data-product=Maestro]{--ds-accent:#ff6d0a;--ds-tint:#402a1e}
html[data-theme=dark] [data-brand=One]{--card-accent:#50d6bd;--card-tint:#193c33}
html[data-theme=dark] [data-brand=Skip]{--card-accent:#bf94ff;--card-tint:#322443}
html[data-theme=dark] [data-brand=Maestro]{--card-accent:#ff6d0a;--card-tint:#402a1e}
html[data-theme=dark] .preview.one{--tone:#50d6bd;--tint:#193c33}html[data-theme=dark] .preview.skip{--tone:#bf94ff;--tint:#322443}html[data-theme=dark] .preview.maestro{--tone:#ff6d0a;--tint:#402a1e}
html[data-theme=dark] .preview-rich :is(.preview-art,.preview-body>div){background:#ffffff08}
html[data-theme=dark] .metadata .product img{filter:none}
html[data-theme=dark] body .ds-hint[data-tone=info]{background:#1b2e40;color:#a9d4ff;border-color:#324e65}
html[data-theme=dark] body .ds-hint[data-tone=success]{background:#193c33;color:#8ee0bc;border-color:#315447}
html[data-theme=dark] body .ds-hint[data-tone=warning]{background:#3e311c;color:#efcf8d;border-color:#625033}
html[data-theme=dark] body .ds-hint[data-tone=danger]{background:#3f2527;color:#ffb4b4;border-color:#654043}
html[data-theme] .ds-field :is(input,textarea,select){background:var(--raised);color:var(--ink)}
html[data-theme] body [data-brand] :is(.read-link,.choice-action,.vote){color:var(--card-accent)}
@media(prefers-reduced-motion:reduce){html[data-theme] body>header nav[data-mode=chroma] a{animation:none!important} .sidebar-brand{transition:none}}
html[data-theme=dark]{--ds-accent:#76cbb3;--ds-tint:#203d33}
html[data-theme=dark] .filters img{filter:brightness(0) invert(.85)}
html[data-theme] body .category-filters button:not([aria-pressed=true]){background:transparent}
html[data-theme] body .category-filters button:hover{background:var(--hover)}
html[data-theme] body :is(.reading-list,.help-paths) a h3{color:var(--ink)}
html[data-theme=dark] .ds-content :is(pre,blockquote),html[data-theme=dark] .prompt{background:var(--panel);color:var(--ink);border-color:var(--edge)}

/* Scrollports include breathing room for lifted cards and their shadows. */
body :is(.featured-rail,.guide-slider,.start-choices.home-carousel){padding-top:20px;padding-bottom:32px;padding-left:16px;padding-right:16px;margin-left:-16px;margin-right:-16px;scroll-padding-inline:16px}
html[data-theme] body :is(.slider-controls,.rail-controls) button{background:var(--raised);color:var(--ink);border-color:var(--edge)}
html[data-theme] body :is(.slider-controls,.rail-controls) button:disabled{opacity:.4}
html[data-theme] body[data-product] .sidebar{background:var(--panel)!important}
body[data-layout] .featured .featured-rail,body .guide-slider,body .start-choices.home-carousel{padding:20px 16px 32px;margin-left:-16px;margin-right:-16px;scroll-padding-inline:16px}
html[data-theme] body :is(#next-feature,#prev-feature){background:var(--raised);color:var(--ink);border-color:var(--edge)}
html[data-theme] body :is(#next-feature,#prev-feature):disabled{opacity:.4}
/* Header icons follow the animated link ink; outer edges share the page grid. */
html[data-theme] body>header nav a :is(svg,.nav-symbol){color:inherit}
html[data-theme] body>header{max-width:1112px;width:calc(100% - 48px)}

/* Compact theme control, outside the documentation map flow. */
body>footer.site-footer{position:relative;padding-top:32px;padding-bottom:68px}
.theme-toggle{position:absolute;right:20px;bottom:16px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}
.theme-toggle:hover{background:var(--hover);color:var(--ink)}
.theme-toggle svg{width:23px;height:23px;overflow:visible}
.theme-sun,.theme-moon{transform-origin:12px 12px;transition:transform .5s ease,opacity .35s ease}
.theme-sun{opacity:1;transform:rotate(0deg) scale(1)}.theme-moon{opacity:0;transform:rotate(-80deg) scale(.4)}
html[data-theme=dark] .theme-sun{opacity:0;transform:rotate(80deg) scale(.4)}
html[data-theme=dark] .theme-moon{opacity:1;transform:rotate(0deg) scale(1)}
@media(prefers-reduced-motion:reduce){.theme-sun,.theme-moon{transition:none}}

body[data-layout=v2] .catalog .tools{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
body[data-layout=v2] .catalog-workspace{scroll-margin-top:16px}
@media(max-width:700px){body[data-layout=v2] .catalog .tools{position:static;max-height:none}}
/* Stable header geometry across documents and active routes. */
html{scrollbar-gutter:stable}
html[data-theme] body>header{font:500 13px/20px Inter,Arial,sans-serif}
html[data-theme] body>header nav a,html[data-theme] body>header nav a[aria-current=page]{font-weight:500;line-height:20px;white-space:nowrap}
html[data-theme] body>header nav a :is(svg,.nav-symbol){width:14px;height:14px;flex:0 0 14px}
/* Official brand symbols, decorative and behind the card content. */
[data-brand=One]{--card-symbol:url('assets/logos/one-symbol-neutral.svg')}
[data-brand=Skip]{--card-symbol:url('assets/logos/skip-symbol-neutral.svg')}
[data-brand=Maestro]{--card-symbol:url('assets/logos/maestro-symbol-neutral.svg')}
[data-brand]:is(.case-card,.guide-tile,.home-carousel>a){position:relative;isolation:isolate;overflow:hidden}
:is([data-brand=One],[data-brand=Skip],[data-brand=Maestro]):is(.case-card,.guide-tile,.home-carousel>a):after{content:'';position:absolute;right:-20px;bottom:28px;width:160px;height:160px;background:var(--card-accent);mask-image:var(--card-symbol);mask-repeat:no-repeat;mask-size:contain;mask-position:center;opacity:.055;z-index:-1;pointer-events:none;transform:rotate(-12deg)}
html[data-theme=dark] :is([data-brand=One],[data-brand=Skip],[data-brand=Maestro]):is(.case-card,.guide-tile,.home-carousel>a):after{opacity:.08}

html[data-theme=dark] .site-footer .footer-brand img[src*="-light.svg"]{filter:none}
html[data-theme] body :is(#previous-feature,#next-feature,.slider-controls button){background:var(--raised);color:var(--ink);border:1px solid var(--edge);opacity:1;transition:background .2s,color .2s,border-color .2s}
html[data-theme] body :is(#previous-feature,#next-feature,.slider-controls button):hover:not(:disabled){background:var(--hover);border-color:var(--muted)}
html[data-theme] body :is(#previous-feature,#next-feature,.slider-controls button):disabled{background:transparent;color:var(--muted);border-color:var(--edge);opacity:.35;cursor:default;box-shadow:none}
/* A traveling light traces the card edge without covering its content. */
@property --card-orbit{syntax:'<angle>';initial-value:0deg;inherits:false}
:is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card,.case-story):before{content:'';position:absolute;inset:0;border-radius:inherit;padding:2px;background:conic-gradient(from var(--card-orbit),transparent 0deg,transparent 240deg,color-mix(in srgb,var(--card-accent) 20%,transparent) 280deg,var(--card-accent) 330deg,color-mix(in srgb,var(--card-accent) 65%,white) 350deg,transparent 360deg);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none;z-index:2;opacity:0;transition:opacity .25s;animation:card-orbit 3s linear infinite;animation-play-state:paused}
:is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card,.case-story):is(:hover,:focus-within):before{opacity:1;animation-play-state:running}
@keyframes card-orbit{to{--card-orbit:360deg}}
@media(prefers-reduced-motion:reduce){:is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card,.case-story):before{animation:none;transition:none}}
/* Product filters share the navigation palette on their surfaces. */
.filters button[data-product=One]{--filter-color:var(--chroma-one)}
.filters button[data-product=Skip]{--filter-color:var(--chroma-skip)}
.filters button[data-product=Maestro]{--filter-color:var(--chroma-maestro)}
.filters button{transition:background-color .35s,border-color .35s,box-shadow .35s}
html[data-theme] body .filters button:is(:hover,:focus-visible,[aria-pressed=true]){background:color-mix(in srgb,var(--filter-color,var(--chroma-one)) 12%,var(--panel))!important;border-color:color-mix(in srgb,var(--filter-color,var(--chroma-one)) 65%,var(--edge));box-shadow:0 0 12px color-mix(in srgb,var(--filter-color,var(--chroma-one)) 10%,transparent)}
html[data-theme] body .filters button[data-product=Todos]:is(:hover,:focus-visible,[aria-pressed=true]){animation:filter-chroma 7s ease-in-out infinite;background:var(--filter-fill)!important}
@keyframes filter-chroma{0%,100%{--filter-fill:color-mix(in srgb,var(--chroma-one) 12%,var(--panel));border-color:var(--chroma-one)}33%{--filter-fill:color-mix(in srgb,var(--chroma-skip) 12%,var(--panel));border-color:var(--chroma-skip)}66%{--filter-fill:color-mix(in srgb,var(--chroma-maestro) 12%,var(--panel));border-color:var(--chroma-maestro)}}
@property --filter-fill{syntax:'<color>';initial-value:transparent;inherits:false}
@media(prefers-reduced-motion:reduce){html[data-theme] body .filters button{animation:none!important;transition:none}}
/* Each case is one visual unit: explanation and illustrative output. */
body[data-layout=v2] .case-story,body[data-layout=v2] .case-story:first-child{padding:24px;margin-bottom:24px;gap:24px;border:0;border-radius:20px;background:color-mix(in srgb,var(--card-accent) 4%,var(--panel));box-shadow:none;transition:transform .2s,box-shadow .2s}
body[data-layout=v2] .case-story .story-copy{min-width:0;padding:4px}
body[data-layout=v2] .case-story .preview-rich{border-radius:14px;transform:none;box-shadow:none}
body[data-layout=v2] .case-story:is(:hover,:focus-within){transform:translateY(-4px);box-shadow:0 10px 24px #0000000a}
@media(max-width:700px){body[data-layout=v2] .case-story,body[data-layout=v2] .case-story:first-child{padding:16px;gap:20px;border-radius:16px}}
@media(prefers-reduced-motion:reduce){body[data-layout=v2] .case-story{transition:none}}
body[data-layout=v2] .case-story{align-items:stretch}
body[data-layout=v2] .case-story .story-copy{align-self:stretch}
body[data-layout=v2] .case-story .preview-rich{align-self:stretch;box-sizing:border-box;margin:0;min-height:0}
body[data-layout=v2] .case-story .preview-rich .preview-foot{margin-top:auto}
/* The paired layout stays still; only the visual preview lifts. */


/* One compact step at a time, with the same stacked motion as the cover. */
body[data-layout=v2] .case-story .preview-carousel{padding:20px!important;gap:0;min-height:0}
body[data-layout=v2] .preview-carousel .preview-art{height:58px;margin:12px 0}
body[data-layout=v2] .preview-carousel .preview-art svg{height:48px;width:130px}
body[data-layout=v2] .preview-carousel .preview-bar{font-size:16px;padding-bottom:20px}
.preview-carousel .preview-body{position:relative;display:block;height:74px;margin:0 10px 0 0}
.preview-carousel .preview-body>div{position:absolute;inset:0;margin:0;box-sizing:border-box;min-width:0;background:color-mix(in srgb,var(--tint) 35%,var(--raised));transition:transform .6s ease,opacity .6s ease;transform-origin:center;overflow:auto}
.preview-carousel [data-step-position="0"]{z-index:3;transform:none;opacity:1}
.preview-carousel [data-step-position="1"]{z-index:2;transform:translate(5px,-6px) rotate(2deg) scale(.98);opacity:.45;pointer-events:none}
.preview-carousel [data-step-position="2"]{z-index:1;transform:translate(9px,-11px) rotate(4deg) scale(.96);opacity:.2;pointer-events:none}
body[data-layout=v2] .preview-carousel .preview-foot{margin-top:0;padding-top:12px;font-size:9px}
.step-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:8px;font-size:10px}
.step-controls>span{margin-right:auto;font-variant-numeric:tabular-nums}
.step-controls button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;font-size:13px}
.step-controls button:hover{background:#ffffff15}
@media(prefers-reduced-motion:reduce){.preview-carousel .preview-body>div{transition:none}}
html[data-theme] body :is(.more,#reset){background:var(--raised);color:var(--ink);border:1px solid var(--edge);border-radius:8px;box-shadow:none}
html[data-theme] body :is(.more,#reset):hover{background:var(--hover);border-color:var(--muted)}
/* Vertical stepper: opaque slides, with no overlapping text. */
body[data-layout=v2] .preview-carousel .preview-body{overflow:hidden;isolation:isolate;border-radius:10px;margin-right:0;height:78px}
html[data-theme] body[data-layout=v2] .preview-carousel .preview-body>div{background:var(--raised);opacity:1;border:1px solid color-mix(in srgb,var(--tone) 22%,var(--edge));transition:transform .65s cubic-bezier(.22,1,.36,1);border-radius:10px}
body[data-layout=v2] .preview-carousel [data-step-position="0"]{transform:translateY(0);z-index:2;visibility:visible}
body[data-layout=v2] .preview-carousel [data-step-position="1"]{transform:translateY(-110%);z-index:1;visibility:hidden;transition:none!important}
body[data-layout=v2] .preview-carousel [data-step-position="2"]{transform:translateY(110%);z-index:1;visibility:visible}
@media(prefers-reduced-motion:reduce){html[data-theme] body[data-layout=v2] .preview-carousel .preview-body>div{transition:none}}
/* Product hover always uses that product's ink, regardless of current page. */
body>header nav a[href$="#product-One"]{--link-brand:var(--chroma-one)}
body>header nav a[href$="#product-Skip"]{--link-brand:var(--chroma-skip)}
body>header nav a[href$="#product-Maestro"]{--link-brand:var(--chroma-maestro)}
html[data-theme] body>header nav[data-mode] a[href*="#product-"]:is(:hover,:focus-visible){animation:none;color:var(--link-brand)}
/* More room between the header content and its outer edges. */
html[data-theme] body>header{padding-inline:32px}
@media(max-width:640px){html[data-theme] body>header{padding-inline:20px}}
/* Product navigation shares the case-filter sticky offset. */
body[data-surface=reading] .sidebar{position:sticky;top:16px;align-self:start;max-height:calc(100dvh - 32px);height:auto;overflow-y:auto;overscroll-behavior:contain}
body[data-surface=reading] .sidebar .product-switcher{grid-template-columns:20px minmax(0,1fr) 20px;gap:4px;padding:0;margin-bottom:14px;min-height:24px}
body[data-surface=reading] .sidebar .sidebar-brand{width:92px;height:14px}
body[data-surface=reading] .sidebar .product-switcher>a{width:24px;height:24px}
body[data-surface=reading] .sidebar .product-switcher svg{width:10px;height:10px}
@media(max-width:640px){body[data-surface=reading] .sidebar{position:static;max-height:none}}

/* Home: editorial reading paths and a compact support index. */
.home-editorial{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,80px);margin:72px 0;align-items:start}
.home-kicker{display:block;font-size:11px;font-weight:600;letter-spacing:.12em;line-height:1.5;color:var(--muted)}
.home-editorial h2,.home-support h2{font-size:clamp(28px,3vw,40px);line-height:1.12;letter-spacing:-.035em;margin:16px 0 20px}
.home-editorial-lead>p{max-width:420px;font-size:16px;line-height:1.65;margin:0 0 24px}
.home-editorial-cta{display:inline-flex;align-items:center;gap:24px;color:var(--chroma-one);font-weight:600;font-size:14px;text-decoration:none;padding:10px 0}
.home-editorial-lead>img{display:block;width:100%;height:210px;object-fit:cover;border-radius:18px;margin-top:26px}
.home-reading{display:grid;gap:14px}
.home-reading-link,.home-support-card{display:flex;flex-direction:column;background:var(--panel);color:var(--ink);border-radius:18px;padding:26px;text-decoration:none;transition:transform .22s,box-shadow .22s;min-width:0}
.home-reading-link h3,.home-support-card h3{font-size:23px;line-height:1.2;letter-spacing:-.025em;margin:12px 0}
.home-reading-link p,.home-support-card p{font-size:14px;line-height:1.65;margin:0 0 20px}
.home-reading-action{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;line-height:1.5;font-weight:600;color:var(--chroma-one);margin-top:auto}
.home-reading-link[data-product=Skip] .home-reading-action{color:var(--chroma-skip)}
.home-reading-link:hover,.home-support-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #0000000c}
.home-reading-link:focus-visible,.home-support-card:focus-visible,.home-editorial-cta:focus-visible{outline:2px solid var(--chroma-one);outline-offset:5px}
.home-support{margin:0 0 72px}
.home-support-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:28px}
.home-support-heading h2{margin-bottom:0}
.home-support-heading>p{max-width:360px;font-size:15px;line-height:1.65;margin:0}
.home-support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-support-card{padding:28px;min-height:245px}
.home-support-card h3{font-size:22px}
@media(max-width:760px){.home-editorial{grid-template-columns:1fr;margin:48px 0;gap:28px}.home-editorial-lead>img{height:180px}.home-support-heading{display:block}.home-support-heading>p{margin-top:20px;max-width:100%}.home-support-grid{grid-template-columns:1fr}.home-support-card{min-height:0}.home-support{margin-bottom:48px}}
@media(prefers-reduced-motion:reduce){.home-reading-link,.home-support-card{transition:none}.home-reading-link:hover,.home-support-card:hover{transform:none}}

/* Unbranded cards cycle only through the three product colors. */
@property --neutral-accent{syntax:'<color>';initial-value:#007f70;inherits:true}
:is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card):not([data-brand=One],[data-brand=Skip],[data-brand=Maestro],[data-product=One],[data-product=Skip],[data-product=Maestro]){--card-accent:var(--neutral-accent);position:relative;isolation:isolate;animation:neutral-card-chroma 7s linear infinite}
.home-reading-link,.home-support-card{position:relative;--card-accent:var(--chroma-one)}
.home-reading-link[data-product=Skip]{--card-accent:var(--chroma-skip)}
:is(.home-reading-link,.home-support-card) .home-reading-action{color:var(--card-accent)}
:is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card):is(:hover,:focus-within){box-shadow:0 12px 28px color-mix(in srgb,var(--card-accent) 16%,transparent)}
@keyframes neutral-card-chroma{0%,100%{--neutral-accent:var(--chroma-one)}33%{--neutral-accent:var(--chroma-skip)}66%{--neutral-accent:var(--chroma-maestro)}}
@media(prefers-reduced-motion:reduce){:is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card){animation:none!important}}

/* The editorial visual fills the remaining column height. */
.home-editorial{align-items:stretch}
.home-editorial-lead{display:flex;flex-direction:column;min-width:0}
.home-editorial-lead>.home-editorial-cta{align-self:flex-start}
.home-editorial-lead>img{flex:1;min-height:210px;height:0;object-fit:cover}
.home-carousel .editorial-art{display:block;width:100%;object-fit:cover}
@media(max-width:760px){.home-editorial-lead>img{flex:none;height:220px;min-height:0}}

.home-support-art{display:block;width:100%;height:145px;object-fit:contain;margin:auto 0 20px;flex-shrink:0}
.home-support-card .home-support-action{margin-top:0}
html[data-theme=dark] .home-support-art{filter:brightness(1.5)}

/* One section gap before the home footer, without stacked spacing. */
.portal-sections:has(>.home-support){padding-bottom:0}
.portal-sections>.home-support{margin-bottom:0}
body:has(.home-support) .site-footer{margin-top:72px}
@media(max-width:760px){body:has(.home-support) .site-footer{margin-top:48px}}

/* Quiet resting edges in dark mode; the animated hover remains distinct. */
html[data-theme=dark] body [data-brand]:is(.case-card,.guide-tile,.home-carousel>a):not(:hover,:focus-within){border-color:transparent}

/* Horizontal alternating cards retain one accessible full-card link. */
body[data-layout=v2] .results .case-story{position:relative;transition:transform .28s ease,box-shadow .28s ease;cursor:pointer}
body[data-layout=v2] .case-story .story-copy h3 a:after{content:'';position:absolute;inset:0;z-index:3}
body[data-layout=v2] .case-story :is(.vote,.read-link,.step-controls button){position:relative;z-index:4}
body[data-layout=v2] .case-story:is(:hover,:focus-within){transform:translateY(-4px)!important;box-shadow:0 10px 24px color-mix(in srgb,var(--card-accent) 8%,transparent)!important}
body[data-layout=v2] .case-story .preview-rich:is(:hover,:focus-within){transform:none!important;box-shadow:none!important}
body[data-layout=v2] .case-story:has(h3 a:focus-visible){outline:2px solid var(--card-accent);outline-offset:4px}
@media(prefers-reduced-motion:reduce){body[data-layout=v2] .results .case-story{transition:none}body[data-layout=v2] .case-story:is(:hover,:focus-within){transform:none!important}}
/* Restrained dark hover: a dim edge and a soft traveling light. */
html[data-theme=dark] body [data-brand]:is(.case-card,.guide-tile,.home-carousel>a):is(:hover,:focus-within){border-color:transparent;box-shadow:0 8px 20px color-mix(in srgb,var(--card-accent) 8%,transparent)}
html[data-theme=dark] :is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card):is(:hover,:focus-within):before{opacity:.35;padding:1px}

/* A horizontal color wave runs through general navigation labels and icons. */
@property --nav-sweep{syntax:'<percentage>';initial-value:100%;inherits:true}
html[data-theme] body>header nav a:not([href*="#product-"]):is(:hover,:focus-visible,[aria-current=page]){animation:nav-sweep 2.4s linear infinite;color:var(--chroma-one)}
html[data-theme] body>header nav a:not([href*="#product-"]):is(:hover,:focus-visible,[aria-current=page])>span{background-image:linear-gradient(90deg,var(--chroma-one) 0%,var(--chroma-skip) 16.6667%,var(--chroma-maestro) 33.3333%,var(--chroma-one) 50%,var(--chroma-skip) 66.6667%,var(--chroma-maestro) 83.3333%,var(--chroma-one) 100%);background-size:200% 100%;background-position:var(--nav-sweep) 0;background-clip:text;-webkit-background-clip:text;color:transparent}
html[data-theme] body>header nav a:not([href*="#product-"]):is(:hover,:focus-visible,[aria-current=page])>svg{stroke:transparent;background-image:linear-gradient(90deg,var(--chroma-one) 0%,var(--chroma-skip) 16.6667%,var(--chroma-maestro) 33.3333%,var(--chroma-one) 50%,var(--chroma-skip) 66.6667%,var(--chroma-maestro) 83.3333%,var(--chroma-one) 100%);background-size:200% 100%;background-position:var(--nav-sweep) 0;mask:var(--nav-icon) center/contain no-repeat}
body>header nav a[href$="#home"]{--nav-icon:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.6"%3E%3Cpath d="m3 10 9-7 9 7v10H3zM9 20v-7h6v7"/%3E%3C/svg%3E')}
body>header nav a[href*="casos-v2"]{--nav-icon:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.6"%3E%3Crect x="3" y="3" width="7" height="7" rx="1"/%3E%3Crect x="14" y="3" width="7" height="7" rx="1"/%3E%3Crect x="3" y="14" width="7" height="7" rx="1"/%3E%3Crect x="14" y="14" width="7" height="7" rx="1"/%3E%3C/svg%3E')}
@keyframes nav-sweep{to{--nav-sweep:0%}}
@media(prefers-reduced-motion:reduce){html[data-theme] body>header nav a:not([href*="#product-"]):is(:hover,:focus-visible,[aria-current=page]){animation:none}}

/* Story cards use the same traveling edge as editorial cards. */
body[data-layout=v2] .results .case-story{isolation:isolate}
body[data-layout=v2] .case-story .story-copy h3 a:is(:link,:visited,:hover,:focus,:active){text-decoration:none;color:inherit}
body[data-layout=v2] .case-story .story-copy h3 a:focus-visible{outline:none}
body[data-layout=v2] .case-story:before{padding:1px}
html[data-theme=dark] body[data-layout=v2] .case-story:is(:hover,:focus-within):before{opacity:.35}

/* Shared route transition, including navigation between the two documents. */
@view-transition{navigation:auto}
body>header{view-transition-name:site-header}
body>header .logo{display:block}
html{--page-enter:-64px;--page-exit:64px}
html[data-page-direction=left]{--page-enter:64px;--page-exit:-64px}
::view-transition-old(root){animation:page-out 280ms cubic-bezier(.2,.7,.2,1) both}
::view-transition-new(root){animation:page-in 280ms cubic-bezier(.2,.7,.2,1) both}
::view-transition-group(site-header){animation:none}
::view-transition-old(site-header){display:none}
::view-transition-new(site-header){animation:none}
@keyframes page-out{to{opacity:0;transform:translateX(var(--page-exit))}}
@keyframes page-in{from{opacity:0;transform:translateX(var(--page-enter))}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* Local article contents, beside the reading column. */
body .article-layout:has(.article-toc){display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:32px;align-items:start}
body .article-layout>.article-toc{display:flex;flex-direction:column;gap:12px;position:sticky;top:24px;padding:16px 0;margin:0;align-self:start;font-size:12px;line-height:1.5;border:0;background:transparent}
.article-toc strong{font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}
.article-toc a{color:var(--muted);text-decoration:none}
.article-toc a:is(:hover,[aria-current=location]){color:var(--ds-accent,var(--chroma-one))}
.article-toc a:focus-visible{outline:2px solid var(--ds-accent,var(--chroma-one));outline-offset:4px;border-radius:3px}
body .article-layout>.article{min-width:0;width:100%;max-width:none}
.article-layout .article h2{scroll-margin-top:24px}
@media(max-width:900px){body .article-layout:has(.article-toc){grid-template-columns:1fr;gap:24px}body .article-layout>.article-toc{position:static;flex-direction:row;flex-wrap:wrap;gap:10px 18px}.article-toc strong{width:100%}}

.article-csat{margin-top:48px;padding:24px;background:var(--panel);border-radius:16px}
.article-csat h2{font-size:20px;margin:0 0 8px}
.article-csat p{font-size:13px;margin:0 0 16px}
.csat-options{display:flex;flex-wrap:wrap;gap:8px}
.csat-options button{font:inherit;font-size:13px;padding:10px 14px;border:1px solid var(--edge);border-radius:8px;background:var(--raised);color:var(--ink);cursor:pointer}
.csat-options button:is(:hover,[aria-pressed=true]){border-color:var(--ds-accent,var(--chroma-one));color:var(--ds-accent,var(--chroma-one));background:var(--hover)}
.csat-options button:focus-visible{outline:2px solid var(--ds-accent,var(--chroma-one));outline-offset:3px}
.article-csat .csat-status{margin:14px 0 0;min-height:20px}
@media(max-width:900px){body .article-layout>.article-toc,.article-csat{display:none}}

.article-toc .article-csat{margin-top:12px;padding:14px;border-radius:12px}
.article-toc .article-csat h2{font-size:15px;line-height:1.3;margin:0 0 8px}
.article-toc .article-csat p{font-size:11px;line-height:1.5}
.article-toc .csat-options{display:grid;gap:6px}
.article-toc .csat-options button{width:100%;text-align:left;font-size:11px;padding:8px}
.article-toc .csat-status:empty{display:none}

body .article-layout>.article{grid-column:1;grid-row:1}
body .article-layout>.article-toc{grid-column:2;grid-row:1}

.article-toc .csat-options{display:flex;gap:8px;margin-top:14px}
.article-toc .csat-options button{display:grid;place-items:center;width:40px;height:40px;padding:9px}
.csat-options svg{width:20px;height:20px}
.csat-options [data-rating="Não"] svg{transform:rotate(180deg)}

.article-summary,.article-toc .article-csat{background:var(--panel);color:var(--ink);border:0;border-radius:14px;padding:20px 16px;box-shadow:var(--shadow)}
.article-summary{display:flex;flex-direction:column;gap:12px}
.article-toc .article-csat{margin-top:0}

/* Shared editorial cover: neutral surface, branded accents and line art. */
body[data-product=One]{--cover-accent:#0eb8a4;--cover-ink:#102b26;--cover-art:url('assets/placeholders/delivery-lines.svg')}
body[data-product=Skip]{--cover-accent:#7b22ff;--cover-ink:#fff;--cover-art:url('assets/placeholders/prompt-lines.svg')}
body[data-product=Maestro]{--cover-accent:#ff6d0a;--cover-ink:#24170d;--cover-art:url('assets/placeholders/workflow-lines.svg')}
body[data-product] .product-opening.page-cover{background:#20211f;color:#f2f7ed}
body[data-product] .product-opening.page-cover h1{color:#f2f7ed}
body[data-product] .product-opening.page-cover p{color:#ffffffc7}
body[data-product] .product-opening.page-cover .product-heading-logo{filter:none;opacity:1}
body[data-product] .product-opening.page-cover .action{background:var(--cover-accent);color:var(--cover-ink)}
body[data-product] .product-cover-art{mix-blend-mode:normal;opacity:.55}
body[data-product] .product-cover-art img{visibility:hidden}
body[data-product] .product-cover-art:after{content:'';position:absolute;inset:0;background:var(--cover-accent);mask:var(--cover-art) center/contain no-repeat}

.article-summary ul{list-style:disc;margin:0;padding-left:16px;display:grid;gap:10px}
.article-summary li{padding-left:2px;color:var(--muted)}
.article-summary li::marker{font-size:9px;color:var(--ds-accent,var(--chroma-one))}
body .article-toc .article-summary li a{display:inline;padding:0;margin:0;line-height:1.5}

/* Complete product palettes: brand, readable ink, surfaces and interaction states. */
html[data-theme] body[data-product=One]{--canvas:#fff;--panel:#f2f7f5;--raised:#fff;--ink:#202b28;--muted:#596a64;--edge:#d7e5df;--hover:#dceee7;--ds-brand:#0eb8a4;--ds-accent:#007b6c;--ds-tint:#e0f3ec;--ds-on-accent:#fff;--brand-button:#007b6c;--brand-button-ink:#fff}
html[data-theme] body[data-product=Skip]{--canvas:#fff;--panel:#f6f4f9;--raised:#fff;--ink:#29252f;--muted:#696171;--edge:#e3ddea;--hover:#eae1f6;--ds-brand:#7b22ff;--ds-accent:#7022ce;--ds-tint:#eee3fc;--ds-on-accent:#fff;--brand-button:#7022ce;--brand-button-ink:#fff}
html[data-theme] body[data-product=Maestro]{--canvas:#fff;--panel:#f7f5f3;--raised:#fff;--ink:#2c2926;--muted:#6d655f;--edge:#e8e0da;--hover:#ffeadc;--ds-brand:#ff6d0a;--ds-accent:#c74400;--ds-tint:#ffeadc;--ds-on-accent:#26170c;--brand-button:#ff6d0a;--brand-button-ink:#26170c}
html[data-theme=dark] body[data-product=One]{--canvas:#121716;--panel:#1c2421;--raised:#25312c;--ink:#edf4f0;--muted:#aebeb6;--edge:#35473f;--hover:#283e34;--ds-accent:#50d6bd;--ds-tint:#243d34;--brand-button:#50d6bd;--brand-button-ink:#102b26}
html[data-theme=dark] body[data-product=Skip]{--canvas:#151418;--panel:#211e26;--raised:#2c2734;--ink:#f2eef8;--muted:#b9b0c6;--edge:#41394e;--hover:#372943;--ds-accent:#bf94ff;--ds-tint:#352644;--brand-button:#bf94ff;--brand-button-ink:#221333}
html[data-theme=dark] body[data-product=Maestro]{--canvas:#161514;--panel:#23211f;--raised:#2d2a27;--ink:#f5f1ed;--muted:#bfb6ad;--edge:#45403a;--hover:#3b2c21;--ds-accent:#ff8b3d;--ds-tint:#3b2c21;--brand-button:#ff6d0a;--brand-button-ink:#26170c}
html[data-theme] body[data-product]{--ds-page:var(--canvas);--ds-surface:var(--panel);--ds-ink:var(--ink);--ds-muted:var(--muted);--ds-border:var(--edge);--ds-hover:var(--hover);--product-accent:var(--ds-accent);--product-tint:var(--ds-tint);--paper:var(--panel);--line:var(--edge)}
html[data-theme] body[data-product] :is(.breadcrumbs,.sidebar .doc-group h2,.section-intro,.eyebrow){color:var(--muted)}
html[data-theme] body[data-product] .sidebar a[aria-current=page]{color:var(--ds-accent)!important;background:var(--hover)!important}
html[data-theme] body[data-product] :is(.article .action,.article .primary){background:var(--brand-button);color:var(--brand-button-ink);border-color:transparent}
html[data-theme] body[data-product] header :is(.search-trigger,.global-search-button,button[type=submit]){color:var(--ds-accent)}
html[data-theme] body[data-product] :is(.note,.article-placeholder,.prompt){background:var(--panel);border-color:var(--edge);color:var(--ink)}
.article-toc .article-csat{text-align:center}
.article-toc .article-csat h2{text-align:center}
.article-toc .csat-options{justify-content:center}
.article-toc .csat-options button{width:44px;height:44px}

/* Light mode: paper canvas, white floating surfaces, deliberate brand states. */
html[data-theme=light]{--canvas:#f7f7f5;--panel:#fff;--raised:#f2f3f0;--ink:#252925;--muted:#5f665f;--edge:#e0e4dd;--hover:#e9eee7;--shadow:0 2px 4px #25292503,0 10px 32px #25292506}
html[data-theme=light] body[data-product=One]{--canvas:#f4f8f6;--panel:#fff;--raised:#eef4f1;--ink:#1d3029;--muted:#52675e;--edge:#d9e5de;--hover:#e0f2e9;--ds-tint:#e7f5ee;--shadow:0 2px 4px #143a2903,0 10px 32px #143a2907}
html[data-theme=light] body[data-product=Skip]{--canvas:#f7f5fa;--panel:#fff;--raised:#f0ecf5;--ink:#2c2337;--muted:#665b73;--edge:#e2daed;--hover:#eee3fc;--ds-tint:#f1eafa;--shadow:0 2px 4px #38205003,0 10px 32px #38205007}
html[data-theme=light] body[data-product=Maestro]{--canvas:#f7f7f8;--panel:#fff;--raised:#f0f1f3;--ink:#24262a;--muted:#61656d;--edge:#e0e2e6;--hover:#fff0e5;--ds-tint:#fff4eb;--shadow:0 2px 4px #20242a03,0 10px 32px #20242a07}
html[data-theme=light] body :is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card,.release-card){border-color:var(--edge);box-shadow:0 2px 8px #25252503}
html[data-theme=light] body[data-product] .sidebar a[aria-current=page]{box-shadow:inset 3px 0 var(--ds-brand);font-weight:600}
html[data-theme=light] body[data-product] :is(.note,.prompt){background:var(--ds-tint);border:0;color:var(--ink)}
html[data-theme=light] body[data-product] .article-placeholder{background:var(--raised);border:1px solid var(--edge);color:var(--muted)}
html[data-theme=light] body :is(.article-toc,.sidebar) strong{color:var(--ink)}
html[data-theme=light] .article-toc .csat-options button{background:var(--raised);border-color:transparent}
html[data-theme=light] .article-toc .csat-options button:is(:hover,[aria-pressed=true]){background:var(--ds-tint);color:var(--ds-accent);border-color:var(--ds-accent)}
html[data-theme=light] body[data-product] .sidebar .article-icon{color:currentColor;opacity:.75}

/* Search overlay shares the active product palette. */
body>header .search-trigger{position:static;display:block;height:40px;padding:0 12px;text-align:left;font:inherit;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);background:var(--raised);border:1px solid var(--edge);border-radius:10px;cursor:pointer}
.search-dialog{box-sizing:border-box;width:min(620px,calc(100% - 32px));max-height:80dvh;margin:10dvh auto auto;padding:28px;border:1px solid var(--edge);border-radius:20px;background:var(--panel);color:var(--ink);box-shadow:0 24px 80px #0003}
.search-dialog::backdrop{background:#10151466;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.search-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.search-heading h2{font-size:22px;line-height:1.3;margin:0}.search-heading button{display:grid;place-items:center;flex:0 0 40px;height:40px;border:0;border-radius:10px;background:var(--raised);color:var(--ink);font-size:26px;cursor:pointer}
.search-dialog .search{box-sizing:border-box;width:100%;max-width:none;height:52px;padding:12px 16px;border:1px solid var(--edge);border-radius:12px;background:var(--raised);color:var(--ink);font:inherit}.search-dialog :focus-visible{outline:2px solid var(--ds-accent);outline-offset:3px}
.search-status{font-size:13px;color:var(--muted);margin:18px 0 10px}.search-results{display:grid;gap:4px}.search-results a{display:grid;gap:5px;padding:14px;border-radius:10px;color:var(--ink);text-decoration:none}.search-results a:hover,.search-results a:focus-visible{background:var(--hover)}.search-results strong{font-size:15px}.search-results span{font-size:12px;color:var(--muted)}
html:has(.search-dialog[open]){overflow:hidden}
@media(max-width:640px){.search-dialog{padding:20px}.search-heading h2{font-size:19px}}

/* Shared editorial rhythm: same role, same scale across the portal. */
:root{--section-space:72px;--section-title:clamp(26px,3vw,32px);--card-title:22px;--ui-radius:12px;--card-radius:16px;--ui-ease:cubic-bezier(.2,.7,.2,1)}
body[data-layout=v2] .featured h2,body :is(.sectionhead h2,.featured h2,.home-editorial h2,.home-support h2){font-size:var(--section-title);line-height:1.2;letter-spacing:-.035em;font-weight:600;text-wrap:balance}
body :is(.sectionhead h2,.featured h2){margin:0}
body :is(.section-intro,.home-support-heading>p){font-size:15px;line-height:1.65;max-width:72ch}
body :is(.home-reading-link,.home-support-card,.guide-tile,.case-card,.home-carousel>a){border-radius:var(--card-radius)}
body :is(.home-reading-link,.home-support-card,.guide-tile,.case-card,.home-carousel>a) h3{font-size:var(--card-title);line-height:1.3;letter-spacing:-.025em;text-wrap:balance}
body :is(.home-reading-link,.home-support-card,.guide-tile,.case-card,.home-carousel>a) p{font-size:15px;line-height:1.65}
body :is(.home-reading-link,.home-support-card){padding:24px}
.home-support-grid{gap:24px}
body[data-layout=v2] .featured-heading button,body :is(.slider-controls button,.featured-controls button,.rail-controls button,.csat-options button){min-width:44px;min-height:44px;display:inline-grid;place-items:center}
body :is(.vote,.vote-button,.action,.primary,.catalog-more){min-height:44px;box-sizing:border-box;border-radius:var(--ui-radius);font-size:13px;line-height:1.4}
body :is(.read-link,.choice-action,.home-reading-action,.home-support-action){font-size:14px;line-height:1.5;font-weight:600}
body :is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card){transition:transform 280ms var(--ui-ease),box-shadow 280ms var(--ui-ease),border-color 280ms var(--ui-ease)}
body[data-layout=v2] .featured{margin-top:var(--section-space);padding-top:0}
body :is(.sidebar,.catalog .tools,.article-summary,.article-csat){scrollbar-width:thin;scrollbar-color:var(--edge) transparent}
.search-dialog input::placeholder{color:var(--muted);opacity:1}
@media(max-width:700px){
 :root{--section-space:48px;--card-title:21px}
 body .page-cover,body .landing-cover,body .shell,body[data-surface=reading] .shell,body>footer.site-footer,body[data-layout=v2] .featured,body[data-layout=v2] .catalog{width:calc(100% - 32px)}
 html[data-theme] body>header{width:calc(100% - 32px);padding:12px 16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body>header .logo{max-width:100%;height:auto}
 html[data-theme] body>header nav{gap:4px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
 html[data-theme] body>header nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:52px;padding:6px 0;font-size:10px;line-height:14px}
 html[data-theme] body>header nav a :is(svg,.nav-symbol){width:16px;height:16px;flex:0 0 16px;margin:0}
 .home-support-grid{gap:16px}
 body :is(.home-reading-link,.home-support-card){padding:22px}
}
@media(prefers-reduced-motion:reduce){body :is(.case-card,.guide-tile,.home-carousel>a,.home-reading-link,.home-support-card){transition:none}}

/* Documentation reading scale, calibrated against the documentation review. */
body .article{font-size:16px;line-height:1.625}
body .article>p:not(.note){font-size:16px;line-height:1.625;max-width:72ch}
body .article h2{font-size:24px;line-height:1.3;margin-top:36px;margin-bottom:16px;letter-spacing:-.025em}
body .article .note{font-size:14px;line-height:1.6}
body .sidebar .doc-group a,body .sidebar .doc-group summary,body .article-toc .article-summary li a{font-size:14px;line-height:1.5}
html[data-theme] body .sidebar,.article-summary,.article-toc .article-csat{box-shadow:0 4px 16px #00000004}

/* Imported articles retain semantic blocks and intrinsic media proportions. */
.article-content{font-size:16px;line-height:1.625;overflow-wrap:anywhere}
.article-content p,.article-content li{font-size:inherit;line-height:inherit;color:var(--ink)}
.article-content p{margin:0 0 20px;max-width:72ch}
.article-content h2{margin:40px 0 16px}.article-content h3{font-size:20px;line-height:1.35;margin:28px 0 12px}
.article-content a,.article-source{color:var(--ds-accent);text-underline-offset:3px}
.article-content img{display:block;max-width:100%;width:auto;height:auto;border-radius:10px;margin:20px auto}
.article-content p:has(>em:only-child){font-size:13px;line-height:1.5;color:var(--muted)}
.article-content :is(ul,ol){padding-left:24px;margin:16px 0 24px}.article-content li+li{margin-top:8px}
.article-content blockquote{margin:24px 0;padding:16px 20px;background:var(--raised);border-radius:12px}.article-content blockquote p:last-child{margin:0}
.article-hint{padding:18px 20px;margin:24px 0;border-radius:12px;background:var(--ds-tint)}.article-hint p:last-child{margin-bottom:0}
.article-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.article-columns>div{min-width:0}
/* GitBook stepper geometry: 29px marker, 32px gutter, 1px connector. */
.article-content ol.article-steps{list-style:none;counter-reset:article-step;padding:0;margin:24px 0}
.article-content ol.article-steps>li{position:relative;counter-increment:article-step;list-style:none;margin:0;padding:0 0 24px 61px;min-height:53px}
.article-content ol.article-steps>li::before{content:counter(article-step);position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:50%;background:var(--ds-accent);color:var(--canvas);font-size:14px;line-height:1;font-weight:500;font-variant-numeric:tabular-nums}
.article-content ol.article-steps>li::after{content:"";position:absolute;left:14px;top:36px;bottom:8px;width:1px;background:color-mix(in srgb,var(--ds-accent) 30%,var(--edge))}
.article-content ol.article-steps>li:last-child::after{display:none}
.article-content .article-steps+.article-columns{padding-top:24px;border-top:1px solid var(--edge);margin-top:8px}
.article-content ol.article-steps>li>:first-child{margin-top:0;padding-top:0}
.article-content ol.article-steps>li>h3,.article-content ol.article-steps>li>h4{font-size:20px;line-height:29px;font-weight:600;margin-bottom:20px}
.article-content ol.article-steps>li>:last-child{margin-bottom:0}
@media(max-width:767px){.article-content ol.article-steps>li{padding-left:45px}.article-content ol.article-steps>li>h3,.article-content ol.article-steps>li>h4{font-size:18px}}
.article-tabs{margin:24px 0}.article-tabs details{border-bottom:1px solid var(--edge);padding:16px 0}.article-tabs summary{cursor:pointer;font-weight:600;padding:4px 0 16px}
.article-table{max-width:100%;overflow:auto;margin:24px 0}.article-table table{width:100%;border-collapse:collapse;font-size:14px}.article-table th,.article-table td{text-align:left;padding:12px;border-bottom:1px solid var(--edge);vertical-align:top}.article-table th{background:var(--raised);font-weight:600}
.article-content pre{max-width:100%;overflow:auto;padding:20px;background:var(--raised);border-radius:12px;font-size:13px;line-height:1.6}.article-content :not(pre)>code{background:var(--raised);padding:2px 4px;border-radius:4px;font-size:.875em}
.article-description{color:var(--muted);margin-bottom:28px}.article-source{display:inline-block;font-size:13px;margin-top:36px}.unavailable-reference{border-bottom:1px dotted var(--muted)}
@media(max-width:760px){.article-columns{grid-template-columns:1fr}.article-content{font-size:16px}.article-table{width:100%}}
.article-library{max-width:900px}.article-library>p{color:var(--muted)}.article-library section{margin:40px 0}.article-library h2{font-size:26px}.article-library ul{columns:2;column-gap:40px;padding-left:20px}.article-library li{break-inside:avoid;padding:6px 0}.article-library a{color:var(--ds-accent);line-height:1.5;text-underline-offset:3px}@media(max-width:700px){.article-library ul{columns:1}}

@media(max-width:700px){
 body[data-surface=reading] .sidebar{position:static;height:auto;max-height:none;overflow:visible}
 body .sidebar nav{max-height:55dvh;overflow:auto}
 body .area.article-layout{padding:24px 0}
}

/* Subpages form a quiet nested index, not a stack of cards. */
html[data-theme] body[data-product] .sidebar .doc-branch>a{margin-left:20px;width:calc(100% - 20px);padding:8px 10px;border:0;border-radius:0;box-shadow:none;background:transparent}
html[data-theme] body[data-product] .sidebar .doc-branch>a[aria-current=page]{background:transparent!important;box-shadow:none;font-weight:600;color:var(--ds-accent)!important}
html[data-theme] body[data-product] .sidebar .doc-branch>a:hover{background:transparent;color:var(--ink);text-decoration:underline;text-underline-offset:4px}
html[data-theme] body[data-product] .sidebar .doc-branch[open]>summary{background:transparent;color:var(--ink);font-weight:500}

.search-dialog{display:none;overflow:hidden}.search-dialog[open]{display:flex;flex-direction:column}.search-dialog .search-heading,.search-dialog .search,.search-dialog .search-status{flex-shrink:0}.search-results{overflow-y:auto;min-height:0;overscroll-behavior:contain}.search-results a{gap:4px;padding:12px 14px}.search-results p{font-size:13px;line-height:1.45;margin:3px 0 0;color:var(--muted)}
/* Search owns its layout; global header input ordering must not leak into it. */
.search-dialog .search{order:0}
.search-dialog .search-results{display:flex;flex-direction:column;flex:1;gap:4px}
.search-dialog .search-results a{flex:none}
