/* Academy layout: existing Adapta type and product palettes, quieter surfaces. */
html{scroll-padding-top:88px}
html[data-theme] body{padding-top:72px}
html[data-theme] body>header{position:fixed;inset:0 0 auto;width:100%;max-width:none;height:72px;min-height:72px;margin:0;padding:0 28px;display:flex;align-items:center;gap:28px;border:0;border-bottom:1px solid var(--edge);border-radius:0;background:var(--panel)!important;box-shadow:none;transform:none;z-index:100}
body>header>a{flex-shrink:0;display:flex;align-items:center}
html[data-theme] body>header .logo{width:184px;height:auto;max-width:none}
html[data-theme] body>header nav{display:flex;align-items:center;gap:8px;position:static;width:auto;order:0}
.header-menu{position:relative}
.header-menu>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:10px 12px;border-radius:8px;font-size:14px;white-space:nowrap}
.header-menu>summary::-webkit-details-marker{display:none}
.header-menu[open]>summary,.header-menu>summary:hover{background:var(--hover)}
.header-dropdown{position:absolute;top:calc(100% + 8px);left:0;min-width:210px;padding:10px;background:var(--panel);border:1px solid var(--edge);border-radius:12px;box-shadow:0 12px 24px #00000012;z-index:110}
.explore-menu{width:650px;display:grid;grid-template-columns:1fr .8fr 1.3fr;gap:14px}
.header-dropdown section+section{border-left:1px solid var(--edge);padding-left:14px}
.header-dropdown strong{display:block;font-size:12px;font-weight:500;color:var(--muted);padding:8px 10px}
html[data-theme] body>header nav .header-dropdown a{display:block;white-space:normal;padding:9px 10px;font-size:14px;line-height:1.4;border-radius:6px;text-decoration:none;animation:none;min-height:0;color:var(--ink);font-weight:400}
html[data-theme] body>header nav .header-dropdown a:hover{background:var(--hover)!important}
html[data-theme] body>header nav .header-dropdown a[aria-current=page]{color:var(--ds-accent);background:var(--hover)!important}
html[data-theme] body>header .search-trigger{margin-left:auto;display:flex;align-items:center;gap:10px;width:300px;min-width:0;height:40px;min-height:40px;padding:8px 12px;border:1px solid var(--edge);border-radius:8px;background:var(--canvas);color:var(--muted);font-size:13px;text-align:left;box-shadow:none}
.search-trigger svg{width:18px;height:18px;flex-shrink:0}.search-trigger kbd{margin-left:auto;font:inherit;font-size:11px;white-space:nowrap;border:1px solid var(--edge);border-radius:4px;padding:1px 4px}
html[data-theme] body .shell,html[data-theme] body[data-surface=reading] .shell{width:100%;max-width:none;margin:0;gap:0}
html[data-theme] body[data-surface=reading] .shell{display:grid;grid-template-columns:248px minmax(0,1fr);align-items:start}
html[data-theme] body[data-surface=reading] .sidebar{position:sticky;top:72px;width:auto;height:calc(100dvh - 72px);max-height:none;margin:0;padding:24px 16px 36px;border:0;border-right:1px solid var(--edge);border-radius:0;background:var(--canvas)!important;box-shadow:none;overflow:auto}
body .sidebar .product-switcher{margin:0 0 20px;padding:0 4px 18px;border-bottom:1px solid var(--edge)}
body .sidebar nav{max-height:none}.sidebar .product-overview{margin-bottom:24px}
html[data-theme] body[data-product] .sidebar a[aria-current=page]{box-shadow:none;border-radius:6px}
html[data-theme] body .main,html[data-theme] body[data-surface=landing] .main{width:100%;max-width:none;margin:0;min-width:0}
html[data-theme] body .academy-content{max-width:1200px;margin:0 auto;padding:64px 40px 72px}
html[data-theme] body .academy-content section+section{margin-top:64px}
html[data-theme] body .academy-content h2{font-size:28px;font-weight:500;letter-spacing:-.025em;line-height:1.25;margin:0 0 28px;text-wrap:balance}
html[data-theme] body .academy-content h1{font-size:44px;font-weight:550;line-height:1.1;letter-spacing:-.035em;margin:28px 0 20px}
html[data-theme] body .academy-hero{display:block;width:100%;max-width:none;margin:0;padding:72px max(40px,calc((100vw - 1120px)/2));border:0;border-radius:0;min-height:0;background:var(--panel)!important;color:var(--ink);box-shadow:none}
.academy-hero .cover-copy{max-width:900px;padding:0}
html[data-theme] body .academy-hero h1{font-size:clamp(38px,4.5vw,60px);font-weight:550;letter-spacing:-.035em;line-height:1.1;max-width:900px;margin:0 0 22px;color:var(--ink)}
html[data-theme] body .academy-hero p{max-width:760px;font-size:19px;line-height:1.6;margin:0 0 28px;color:var(--muted)}
.academy-actions{display:flex;gap:12px;flex-wrap:wrap}.academy-actions a{padding:12px 18px;border-radius:8px;font-size:14px;text-decoration:none}
html[data-theme] .academy-actions .action{background:var(--ink);color:var(--canvas);border:1px solid var(--ink)}
html[data-theme] .academy-actions .secondary{background:transparent;color:var(--ink);border:1px solid var(--edge)}
.academy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.academy-card{display:flex;flex-direction:column;overflow:hidden;min-width:0;text-decoration:none;color:var(--ink);background:var(--panel);border:1px solid var(--edge);border-radius:14px;transition:transform 180ms ease-out,border-color 180ms ease-out}
.academy-card:hover{transform:translateY(-3px);border-color:var(--ds-accent,var(--muted))}
.academy-card-media{height:170px;background:var(--ds-tint,var(--raised));overflow:hidden;flex-shrink:0}
.academy-card[data-brand=One]{--ds-tint:#dff1eb;--ds-accent:#007b6c}.academy-card[data-brand=Maestro]{--ds-tint:#fff0e3;--ds-accent:#d94e00}.academy-card[data-brand=Skip]{--ds-tint:#ece3f9;--ds-accent:#7022ce}
html[data-theme=dark] .academy-card[data-brand=One]{--ds-tint:#1d3932;--ds-accent:#50d6bd}html[data-theme=dark] .academy-card[data-brand=Maestro]{--ds-tint:#392b23;--ds-accent:#ff8b3d}html[data-theme=dark] .academy-card[data-brand=Skip]{--ds-tint:#30243f;--ds-accent:#bf94ff}
.academy-card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.academy-card-media img[src*="screens/"]{width:88%;height:calc(100% - 26px);margin:26px 0 0 12%;object-fit:cover;object-position:top left;border-radius:8px 0 0 0}
.academy-card-copy{display:flex;flex:1;flex-direction:column;padding:24px;gap:12px}
.academy-card h3{font-size:22px;line-height:1.25;letter-spacing:-.02em;font-weight:500;margin:0;color:var(--ink)}
.academy-card p{font-size:15px;line-height:1.55;margin:0 0 8px;color:var(--muted)}
.academy-meta{margin-top:auto;font-size:12px;line-height:1.5;color:var(--muted)}
.academy-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:24px}.academy-section-heading>a,.academy-back{font-size:14px;color:var(--muted);text-decoration:none}
.academy-product-intro{margin-bottom:56px}.academy-product-intro>p{font-size:19px;line-height:1.6;color:var(--muted);max-width:72ch;margin:0}
.academy-product-intro h1{color:var(--ink)}
.academy-help{display:flex;justify-content:space-between;align-items:center;gap:32px;border:1px solid var(--edge);border-radius:14px;padding:28px 32px;background:var(--panel)}
html[data-theme] body .academy-help h2{font-size:23px;margin:0 0 10px}.academy-help p{font-size:15px;color:var(--muted);margin:0;line-height:1.5}
.academy-help a{display:block;color:var(--ds-accent,var(--ink));font-size:14px;line-height:1.6;text-decoration:none;padding:4px 0}
.academy-task-list{display:grid;gap:20px}.academy-task-list .academy-card{flex-direction:row}.academy-task-list .academy-card-media{width:200px;height:auto;min-height:170px}.academy-task-list .academy-card-copy{justify-content:center}.academy-task-list .academy-meta{margin-top:0}
html[data-theme] body .area.article-layout{padding:56px 48px;max-width:1200px;margin:0 auto;gap:40px}
html[data-theme] body .article-summary,html[data-theme] body .article-toc .article-csat{background:transparent;box-shadow:none;border-radius:0;padding:0}
body .article-toc .article-csat{margin-top:28px;padding-top:24px!important;border-top:1px solid var(--edge)}
body .article h1{font-size:42px;line-height:1.15;letter-spacing:-.03em}
html[data-theme] body>footer.site-footer{width:100%;max-width:none;margin:0;padding:48px max(32px,calc((100vw - 1120px)/2));border-radius:0;box-shadow:none;border:0;border-top:1px solid var(--edge)}
html[data-theme] body[data-layout=v2] .featured,html[data-theme] body[data-layout=v2] .catalog{width:calc(100% - 80px);max-width:1200px;margin-left:auto;margin-right:auto}
::selection{background:var(--hover);color:var(--ink)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--ds-accent,var(--ink));outline-offset:3px}
@media(max-width:1100px){
 html[data-theme] body>header{gap:16px;padding:0 20px}html[data-theme] body>header .logo{width:156px}html[data-theme] body>header .search-trigger{width:230px}.search-trigger kbd{display:none}
 html[data-theme] body[data-surface=reading] .shell{grid-template-columns:216px minmax(0,1fr)}html[data-theme] body .academy-content{padding:44px 28px 56px}.academy-grid{gap:16px}.academy-card-copy{padding:20px}.academy-card h3{font-size:20px}
 html[data-theme] body .area.article-layout{padding:40px 28px;gap:24px}.explore-menu{width:590px}
}
@media(max-width:800px){
 html[data-theme] body{padding-top:112px}html[data-theme] body>header{height:112px;flex-wrap:wrap;gap:4px 12px;padding:12px 16px;align-content:center}html[data-theme] body>header>a{order:0}html[data-theme] body>header nav{order:2;width:100%;justify-content:flex-start;gap:8px;display:flex}html[data-theme] body>header .search-trigger{order:1;width:42px;padding:10px;justify-content:center}body>header .search-trigger span{display:none}.header-menu>summary{font-size:14px;padding:8px 10px}.explore-menu{width:min(620px,calc(100vw - 32px));grid-template-columns:1fr 1fr}.explore-menu section:last-child{grid-column:1/-1;border-left:0;border-top:1px solid var(--edge);padding:8px 0 0}.header-dropdown{left:0}
 html[data-theme] body[data-surface=reading] .shell{grid-template-columns:190px minmax(0,1fr)}html[data-theme] body[data-surface=reading] .sidebar{top:112px;height:calc(100dvh - 112px);padding:20px 10px}.academy-grid{grid-template-columns:1fr}.academy-card-media{height:190px}.academy-task-list .academy-card-media{width:130px}.academy-help{align-items:flex-start;flex-direction:column;gap:20px;padding:24px}.academy-section-heading{align-items:flex-start}.academy-section-heading>a{white-space:nowrap}.academy-product-intro>p{font-size:17px}
}
@media(max-width:600px){
 html[data-theme] body[data-surface=reading] .shell{display:block}html[data-theme] body[data-surface=reading] .sidebar{position:relative;top:0;height:auto;max-height:260px;border-right:0;border-bottom:1px solid var(--edge);padding:20px 16px}.sidebar .product-switcher{margin-bottom:12px}.sidebar nav{max-height:170px!important;overflow:auto}
 html[data-theme] body .academy-content{padding:36px 20px 48px}html[data-theme] body .academy-content section+section{margin-top:40px}html[data-theme] body .academy-hero{padding:44px 20px}html[data-theme] body .academy-hero h1{font-size:38px}html[data-theme] body .academy-hero p{font-size:17px}html[data-theme] body .academy-content h2{font-size:25px;margin-bottom:20px}.academy-product-intro{margin-bottom:36px}.academy-task-list .academy-card{flex-direction:column}.academy-task-list .academy-card-media{width:100%;height:150px;min-height:0}.academy-section-heading{display:block}.academy-section-heading>a{display:block;margin:-6px 0 20px}
 html[data-theme] body .area.article-layout{padding:32px 20px}.article h1{font-size:34px!important}html[data-theme] body>footer.site-footer{padding:36px 20px}html[data-theme] body[data-layout=v2] .featured,html[data-theme] body[data-layout=v2] .catalog{width:calc(100% - 40px)}
}
@media(prefers-reduced-motion:reduce){.academy-card{transition:none}.academy-card:hover{transform:none}}
html[data-theme] body .academy-hero{height:auto;background:var(--raised)!important}
.academy-library .library-description,.cases-heading>p{font-size:18px;line-height:1.6;color:var(--muted);max-width:72ch}
.library-filters{display:flex;align-items:center;gap:12px;margin:32px 0}.library-filters input,.library-filters select{height:40px;padding:8px 12px;border:1px solid var(--edge);border-radius:8px;font:inherit;font-size:14px}.library-filters #library-count{margin-left:auto;color:var(--muted);font-size:13px}#library-more{display:block;margin:28px auto 0;padding:12px 20px}#library-more[hidden]{display:none}
html[data-theme] body[data-layout] .cases-heading{padding-bottom:24px}html[data-theme] body[data-layout] .academy-catalog{margin-top:0;padding-top:0;max-width:1120px}
html[data-theme] body[data-layout] .academy-catalog .catalog-workspace{display:block}
html[data-theme] body[data-layout] .academy-catalog .tools{display:flex;align-items:center;flex-wrap:wrap;gap:16px;position:static;width:auto;padding:0;margin:0 0 24px;border:0;border-radius:0;background:transparent!important;box-shadow:none}
.academy-catalog .tools .search{display:block;width:240px;margin:0}.academy-catalog .tools input{height:40px;padding:8px 12px;border:1px solid var(--edge);border-radius:8px;font:inherit;font-size:14px;width:100%}
.academy-catalog .filters{display:flex;gap:4px;margin:0}.academy-catalog .filters button{font-size:13px;padding:8px 12px;border-radius:6px;min-height:40px}.category-menu{position:relative}.category-menu summary{cursor:pointer;font-size:13px;padding:10px;border:1px solid var(--edge);border-radius:8px}.academy-catalog .category-filters{position:absolute;top:100%;left:0;z-index:20;width:260px;max-height:360px;overflow:auto;padding:12px;border:1px solid var(--edge);border-radius:10px;background:var(--panel)}
html[data-theme] body[data-layout] #results{display:grid;grid-template-columns:1fr;gap:16px}
html[data-theme] body[data-layout] .case-story{display:grid;grid-template-columns:220px minmax(0,1fr);gap:0;padding:0;border:1px solid var(--edge);border-radius:14px;overflow:hidden;background:var(--panel);box-shadow:none;min-height:0}
html[data-theme] body[data-layout] .case-story:before,html[data-theme] body[data-layout] .case-story:after{display:none}
html[data-theme] body[data-layout] .case-story .story-copy{grid-column:2;grid-row:1;padding:24px;min-height:0;display:block;order:0}
html[data-theme] body[data-layout] .case-story .preview{grid-column:1;grid-row:1;border:0;border-radius:0;min-height:0;height:100%;padding:18px;display:flex;flex-direction:column;justify-content:center;gap:12px;order:0}
.academy-catalog .case-story .story-result,.academy-catalog .case-story .read-link,.academy-catalog .case-story .preview-label,.academy-catalog .case-story .preview-footer,.academy-catalog .case-story .preview-controls{display:none}
html[data-theme] body[data-layout] .case-story h3{font-size:23px;font-weight:500;line-height:1.3;margin:12px 0}.academy-catalog .case-story .story-copy>p{font-size:15px;line-height:1.55;margin:0}.academy-catalog .metadata{font-size:12px;gap:12px}.academy-catalog .metadata img{height:18px;max-width:110px}.academy-catalog .preview h4{font-size:15px;margin:0}.academy-catalog .preview-visual{height:70px}.academy-catalog .preview-row{font-size:12px;min-height:56px;padding:10px}
@media(max-width:600px){.library-filters{flex-wrap:wrap}.library-filters label{width:100%}.library-filters input,.library-filters select{width:100%}.library-filters #library-count{margin-left:0}html[data-theme] body[data-layout] .case-story{grid-template-columns:1fr}html[data-theme] body[data-layout] .case-story .preview{grid-column:1;grid-row:1;height:170px}html[data-theme] body[data-layout] .case-story .story-copy{grid-column:1;grid-row:2;padding:20px}.academy-catalog .tools .search{width:100%}}
.academy-catalog .case-story :is(.preview-top,.preview-bar,.preview-foot,.step-controls){display:none}
html[data-theme] body[data-layout] .case-story .preview-art{height:60px;min-height:0;margin:0;padding:0}
html[data-theme] body[data-layout] .case-story .preview-body{height:62px;margin:0}
html[data-theme] body[data-layout] .case-story .preview-body>div{padding:8px;font-size:11px;line-height:1.35;gap:6px}
body .article-layout>.article-toc{top:104px}
html[data-theme] body[data-layout] .academy-catalog .tools{justify-content:flex-start;align-items:center;flex-direction:row}
html[data-theme] body[data-layout] .academy-catalog .tools .search{width:240px;flex:0 1 240px}
html[data-theme] body[data-layout] .academy-catalog .tools .filters{display:flex;grid-template-columns:none;flex-wrap:wrap;width:auto;justify-content:flex-start}
html[data-theme] body[data-layout] .academy-catalog .tools .filters button[aria-pressed=true]{box-shadow:none;border-color:var(--edge);background:var(--hover);color:var(--ink)}
@media(max-width:600px){html[data-theme] body[data-layout] .academy-catalog .tools .search{flex-basis:100%;width:100%}}
html[data-theme] body[data-layout] .academy-catalog .result-meta{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px;color:var(--muted);font-size:13px}
@media(max-width:800px){.header-menu:last-child .header-dropdown{left:auto;right:0;min-width:210px;max-width:calc(100vw - 32px)}}

/* Cases have their own reading surface, without the product article navigation. */
html[data-theme] body[data-surface=case] .shell{display:block}
html[data-theme] body[data-surface=case] .sidebar{display:none}
html[data-theme] body[data-surface=case] .article-layout{max-width:1120px;margin:0 auto;padding:56px 32px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

html[data-theme] body>header{background:color-mix(in srgb,var(--panel) 82%,transparent)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);gap:16px}
html[data-theme] body>header .theme-toggle{position:static;inset:auto;transform:none;flex:0 0 38px;width:38px;height:38px;min-height:38px;padding:8px;margin:0;border:1px solid var(--edge);border-radius:8px;background:transparent;color:var(--ink);box-shadow:none}
html[data-theme] body>header .header-login{padding:8px 14px;min-height:38px;border:1px solid var(--edge);border-radius:8px;font-size:14px;color:var(--ink);text-decoration:none;white-space:nowrap;justify-content:center}
@media(max-width:1100px){html[data-theme] body>header .search-trigger{width:42px;flex-shrink:0;justify-content:center}body>header .search-trigger span,body>header .search-trigger kbd{display:none}}
@media(max-width:800px){html[data-theme] body>header{gap:4px 8px}html[data-theme] body>header .logo{width:130px}html[data-theme] body>header .search-trigger{width:32px;height:36px;min-height:36px;padding:6px}html[data-theme] body>header .theme-toggle{order:1;flex-basis:32px;width:32px;height:36px;min-height:36px;padding:6px}html[data-theme] body>header .header-login{order:1;padding:6px 8px;min-height:36px;font-size:13px}}

.product-filter-nav{display:flex;flex-wrap:wrap;gap:24px;border-bottom:1px solid var(--edge)}
.product-filter-nav[hidden]{display:none}
.product-filter-nav button{position:relative;min-height:44px;padding:10px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);cursor:pointer;font:inherit;font-size:14px}
.product-filter-nav button:hover{color:var(--ink)}
.product-filter-nav button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}
.product-filter-nav button:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:600px){.product-filter-nav{width:100%;gap:24px}}

.header-menu>summary{line-height:20px;min-height:40px;box-sizing:border-box}
.header-menu>summary .header-chevron{display:block;width:16px;height:16px;flex:0 0 16px;transition:transform .15s ease}
.header-menu[open]>summary .header-chevron{transform:rotate(180deg)}

html[data-theme] body>header>a[aria-label="Adapta Guides"]{gap:7px}
html[data-theme] body>header .logo{width:124px}
.guides-wordmark{display:flex;align-items:center;padding:2px 5px 3px;border-radius:5px;background:var(--ink);color:var(--panel)}
.guides-wordmark svg{display:block;width:76px;height:13px}
@media(max-width:800px){html[data-theme] body>header .logo{width:83px}.guides-wordmark{padding:2px 4px}.guides-wordmark svg{width:52px;height:10px}}

.product-content .guide-rail{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(100%,max(300px,calc((100% - 48px)/3)));gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0;overscroll-behavior-x:contain;padding-bottom:12px}
.guide-rail>.academy-card{scroll-snap-align:start;min-width:0}
.guide-rail>.academy-card:hover{transform:none}
.guide-rail-controls{display:flex;gap:8px}.guide-rail-controls[hidden]{display:none}
.guide-rail-controls button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--edge);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.guide-rail-controls button:disabled{opacity:.3;cursor:default}
.product-content .academy-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}

/* Home announcements share the established editorial cover. */
html[data-theme] body .home-covers{padding-top:48px;padding-bottom:24px}
.cover-slides{display:grid}.cover-slide{grid-area:1/1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:36px;align-items:center;opacity:1;transition:opacity 300ms ease-out}
.cover-slide[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none}
html[data-theme] body .home-covers h1,html[data-theme] body .home-covers h2{font-size:clamp(34px,3.4vw,50px);font-weight:550;letter-spacing:-.035em;line-height:1.12;margin:0 0 22px;color:var(--ink);text-wrap:balance}
html[data-theme] body .home-covers p{font-size:18px;max-width:56ch}
.cover-art{display:block;width:100%;height:auto;max-height:330px;object-fit:contain}
.home-covers{position:relative}.cover-pause{position:absolute;right:24px;bottom:16px;display:grid;place-items:center;width:32px;height:32px;padding:0;background:transparent;color:var(--muted);border:0;border-radius:4px;cursor:pointer}.cover-pause:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.cover-pause .play-mark{display:none}.cover-pause[aria-pressed=true] .play-mark{display:block}.cover-pause[aria-pressed=true] .pause-mark{display:none}
@media(max-width:700px){.cover-slide{grid-template-columns:1fr;gap:20px;align-content:start}.cover-art{height:180px}html[data-theme] body .home-covers{padding:32px 24px 40px}html[data-theme] body .home-covers p{font-size:16px}}
@media(prefers-reduced-motion:reduce){.cover-slide{transition:none}}

body>header nav .header-menu>summary .header-chevron{color:inherit;opacity:1;stroke-width:2}

.case-resources{margin:36px 0;padding:24px 0;border-top:1px solid var(--edge);border-bottom:1px solid var(--edge)}.case-resources li{margin-bottom:16px}.case-resources li p{margin:6px 0 0}.case-resources details{padding:14px 0}.case-resources summary{cursor:pointer;font-weight:600}.case-resources a{text-underline-offset:3px}.case-resources h2:first-child{margin-top:0}

/* Independent guidance pages and their home entry points. */
html[data-theme] body[data-surface=editorial] .shell{display:block}body[data-surface=editorial] .sidebar{display:none}
.editorial-hero{max-width:1120px;margin:0 auto;padding:56px 32px 32px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:40px}
.editorial-hero h1{font-size:clamp(34px,4vw,52px);line-height:1.1;letter-spacing:-.03em;margin:24px 0 20px;text-wrap:balance}.editorial-hero p{font-size:19px;line-height:1.6;color:var(--muted);margin:0 0 24px}.editorial-hero img{width:100%;height:auto}
html[data-theme] body[data-surface=editorial] .article-layout{max-width:1120px;margin:0 auto;padding:24px 32px 64px}.editorial-related{padding-top:32px;margin-top:32px;border-top:1px solid var(--edge)}
.home-guidance{display:block}.home-guidance>h2{margin:0 0 28px}.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.editorial-link{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;align-items:center;color:var(--ink);text-decoration:none;padding:24px 0;border-top:1px solid var(--edge)}.editorial-link img{width:100%;height:auto}.editorial-link h3{font-size:23px;line-height:1.25;margin:0 0 12px}.editorial-link p{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 16px}.editorial-link span{font-size:14px}.editorial-link:hover h3{text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.editorial-hero{grid-template-columns:1fr;padding:32px 24px 16px;gap:8px}.editorial-hero img{height:180px}.editorial-grid{grid-template-columns:1fr;gap:8px}.editorial-link{grid-template-columns:100px minmax(0,1fr);gap:20px}html[data-theme] body[data-surface=editorial] .article-layout{padding:24px}.editorial-hero p{font-size:17px}}

@media(min-width:761px) and (max-width:1000px){.editorial-grid{grid-template-columns:1fr}.editorial-link{grid-template-columns:140px minmax(0,1fr)}}

/* Help checklist: short labels and a clear reading rhythm. */
#faca-tres-verificacoes-rapidas+ p+ol{padding:0;list-style:none;counter-reset:help-check}
#faca-tres-verificacoes-rapidas+ p+ol>li{position:relative;padding:18px 0 18px 42px;margin:0;border-bottom:1px solid var(--edge);counter-increment:help-check;line-height:1.6}
#faca-tres-verificacoes-rapidas+ p+ol>li::before{content:counter(help-check,decimal-leading-zero);position:absolute;left:0;top:20px;color:var(--muted);font-size:13px;font-weight:600}
#faca-tres-verificacoes-rapidas+ p+ol>li>strong{display:block;color:var(--ink);margin-bottom:4px}

/* The catalogue uses the left column for navigation, not empty space. */
.cases-cover{background:var(--panel);border-bottom:1px solid var(--edge);padding:64px 32px}.cases-cover>div{max-width:1120px;margin:auto}.cases-cover h1{font-size:clamp(40px,5vw,64px);line-height:1.1;margin:24px 0}.cases-cover p{max-width:680px;color:var(--muted);font-size:19px;line-height:1.6;margin-bottom:28px}
html[data-theme] body[data-layout] .cases-featured{max-width:1184px;margin:0 auto;padding:48px 32px}.cases-featured h2{margin:0}.cases-featured .academy-section-heading{margin-bottom:24px}.cases-featured button{min-width:40px;min-height:40px}.cases-featured .featured-rail{padding:4px 0 12px}.cases-featured .featured-rail>.case-card{flex:0 0 max(280px,calc((100% - 48px)/3))}
html[data-theme] body[data-layout] .academy-catalog{max-width:1184px;padding:32px}
html[data-theme] body[data-layout] .academy-catalog .catalog-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);gap:36px;align-items:start}
html[data-theme] body[data-layout] .academy-catalog .tools{display:block;position:sticky;top:96px;margin:0;max-height:calc(100vh - 120px);overflow:auto}
html[data-theme] body[data-layout] .academy-catalog .tools .search{width:100%;margin-bottom:20px}.academy-catalog .category-menu h2{font-size:14px;margin:28px 0 12px}.academy-catalog .category-filters{position:static;display:flex;flex-direction:column;width:100%;max-height:none;padding:0;border:0;background:transparent;gap:4px}.academy-catalog .category-filters button{width:100%;display:flex;justify-content:space-between;text-align:left;border-radius:6px;padding:10px 12px}
html[data-theme] body[data-layout] .academy-catalog #results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.academy-catalog .case-card{min-width:0}.catalog-content{min-width:0}
@media(max-width:850px){html[data-theme] body[data-layout] .academy-catalog .catalog-workspace{grid-template-columns:200px minmax(0,1fr);gap:24px}html[data-theme] body[data-layout] .academy-catalog #results{grid-template-columns:1fr}}
@media(max-width:600px){.cases-cover{padding:36px 20px}html[data-theme] body[data-layout] .cases-featured{padding:32px 20px}html[data-theme] body[data-layout] .academy-catalog{padding:20px}html[data-theme] body[data-layout] .academy-catalog .catalog-workspace{grid-template-columns:1fr}html[data-theme] body[data-layout] .academy-catalog .tools{position:static;max-height:none}.academy-catalog .category-filters{flex-direction:row;overflow:auto}.academy-catalog .category-filters button{width:auto;flex-shrink:0;gap:12px}}

.cases-featured .case-card>.preview,.academy-catalog .case-card>.preview{display:none}.cases-featured .case-card,.academy-catalog .case-card{display:flex;flex-direction:column}.cases-featured .case-copy,.academy-catalog .case-copy{padding:24px;display:flex;flex-direction:column;flex:1}.cases-featured .case-copy>p,.academy-catalog .case-copy>p{flex:1}.cases-featured .case-card h3,.academy-catalog .case-card h3{font-size:24px;line-height:1.25}

.cases-cover{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center;padding-left:max(32px,calc((100vw - 1120px)/2));padding-right:max(32px,calc((100vw - 1120px)/2))}.cases-cover>div{margin:0}.cases-cover-art{display:block;width:100%;height:auto;max-height:360px;object-fit:contain}@media(max-width:760px){.cases-cover{grid-template-columns:1fr;gap:20px;padding:32px 20px}.cases-cover-art{max-height:240px}}

/* Light theme: white reading surface, tinted orientation, distinct controls. */
html[data-theme=light]{--canvas:#f5f6f3;--panel:#fff;--raised:#edf1ed;--ink:#1e3028;--muted:#4e6157;--edge:#ccd8d0;--hover:#e2eee6}
html[data-theme=light] body[data-surface=editorial] .main,
html[data-theme=light] body[data-surface=editorial] .area,
html[data-theme=light] body[data-surface=reading] .area{background:#fff!important}
html[data-theme=light] body .editorial-hero{max-width:none;padding:56px max(32px,calc((100% - 1056px)/2));background:#e5f0e8;border-bottom:1px solid #c8dace}
html[data-theme=light] .editorial-hero h1{color:#183c2b}
html[data-theme=light] .editorial-hero p{color:#405e4c}
html[data-theme=light] body[data-surface=editorial] .article-layout{padding-top:48px}
html[data-theme=light] .article-content>blockquote:first-child{background:#edf4ef;border:1px solid #c8dace;border-radius:8px;padding:20px 24px;margin-top:0}
html[data-theme=light] body .article-content>blockquote:first-child p{color:#314e3d}
html[data-theme=light] .article-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
html[data-theme=light] .article-table{border:1px solid var(--edge);border-radius:8px}
html[data-theme=light] .article-table th{background:#e8efe9;color:#274634}
html[data-theme=light] .article-table td{background:#fff}
html[data-theme=light] .article-table tr:nth-child(even) td{background:#f6f8f5}
html[data-theme=light] .article-table tr:last-child td{border-bottom:0}
html[data-theme=light] .article-toc{border-left:1px solid var(--edge);padding-left:24px}
html[data-theme=light] .article-toc a:hover{color:#175438;text-decoration:underline}
html[data-theme=light] ::selection{background:#c7e7d4;color:#183c2b}
@media(max-width:760px){html[data-theme=light] body .editorial-hero{padding:32px 24px}html[data-theme=light] body[data-surface=editorial] .article-layout{padding-top:32px}}

/* The share disclosure stays beside the article introduction, without a modal. */
.article-share{position:relative;width:max-content;max-width:100%;margin:0 0 28px;font-size:14px;z-index:5}
.article-share>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;color:var(--ink);padding:9px 14px;border:1px solid var(--edge);border-radius:8px;background:var(--panel);min-height:42px}
.article-share>summary::-webkit-details-marker{display:none}.article-share>summary svg{width:18px;height:18px}.article-share>summary:hover{background:var(--hover)}
.article-share-panel{position:absolute;top:calc(100% + 8px);left:0;width:360px;max-width:calc(100vw - 48px);padding:16px;border:1px solid var(--edge);border-radius:12px;background:var(--panel);color:var(--ink);max-height:70dvh;overflow:auto}
.article-share-panel>img{display:block;width:100%;height:auto;border-radius:6px;margin:0 0 16px}
.article-share-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.article-share-options :is(a,button),.article-share-download>a{display:block;padding:10px 12px;min-height:42px;border:1px solid var(--edge);border-radius:6px;background:transparent;color:var(--ink);font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.article-share-options :is(a,button):hover,.article-share-download>a:hover{background:var(--hover)}
.article-share-download{margin-top:16px;padding-top:16px;border-top:1px solid var(--edge)}
html[data-theme] body .article-share-panel p{font-size:13px;line-height:1.5;margin:6px 0 12px;color:var(--muted)}
.article-share-link{display:block;font-size:12px;color:var(--muted);margin-top:16px}.article-share-link input{width:100%;font:inherit;padding:10px 8px;margin-top:6px;border:1px solid var(--edge);border-radius:6px}
.article-share-panel .article-share-status:empty{display:none}
.article-share :focus-visible{outline:2px solid var(--ds-accent,#21583e);outline-offset:3px}

/* Article artwork stays complete at every card ratio. */
.academy-card-media:has(img[src*="article-art/"]) {background:#e5f2ed}
.academy-card[data-brand="Maestro"] .academy-card-media:has(img[src*="article-art/"]) {background:#fff0e3}
.academy-card[data-brand="Skip"] .academy-card-media:has(img[src*="article-art/"]) {background:#f0e8fc}
.academy-card-media img[src*="article-art/"] {object-fit:contain}
