/* Navigation starts with a single-row phone header; the desktop shell is preserved. */
.mobile-menu-button{display:none}.mobile-reading-bar{display:none}
.mobile-navigation{box-sizing:border-box;position:fixed;inset:0 0 0 auto;margin:0;width:min(100%,420px);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;background:var(--canvas);color:var(--ink)}
.mobile-navigation::backdrop{background:#10151488}
.mobile-navigation[open]{display:flex;flex-direction:column}
.mobile-nav-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--edge);flex:none}
.mobile-nav-heading h2{font-size:20px;margin:0}.mobile-nav-heading button{width:44px;height:44px;border:1px solid var(--edge);border-radius:8px;background:transparent;color:inherit;font:inherit}
.mobile-nav-content{overflow:auto;overscroll-behavior:contain;padding:12px 20px max(24px,env(safe-area-inset-bottom));flex:1}
.mobile-nav-content :is(a,summary,button){display:flex;align-items:center;box-sizing:border-box;min-height:48px;width:100%;padding:12px 8px;color:var(--ink);font:inherit;line-height:1.4;text-decoration:none;text-align:left;background:transparent;border:0;border-radius:6px}
.mobile-nav-content h3,.mobile-nav-content .doc-group h2{margin:28px 8px 8px;font-size:14px;color:var(--muted)}
.mobile-nav-content details>a,.mobile-nav-content details>details{margin-left:16px;width:calc(100% - 16px)}
.mobile-nav-content [aria-current=page]{background:var(--hover);font-weight:600}
.mobile-nav-content .article-icon{width:18px;height:18px;margin-right:8px}.mobile-nav-content .product-switcher img{max-width:120px;max-height:35px}
.mobile-nav-content .product-switcher{display:flex;align-items:center;justify-content:space-between}.mobile-nav-content .product-switcher a{width:44px}
.mobile-nav-content .mobile-login{margin-top:16px;background:var(--ink);color:var(--canvas);justify-content:center}
html:has(.mobile-navigation[open]){overflow:hidden}
.mobile-case-filters>summary{display:none}
@media(max-width:767px){
 html[data-theme] body{padding-top:0!important}
 html[data-theme] body>header{box-sizing:border-box;position:sticky;top:0;z-index:60;display:flex;flex-wrap:nowrap;gap:8px;height:64px;min-height:64px;padding:8px 16px;width:100%}
 html[data-theme] body>header>a[aria-label="Adapta Guides"]{margin-right:auto;flex:none;gap:5px}
 html[data-theme] body>header .logo{width:105px}.guides-wordmark svg{width:55px;height:11px}
 html[data-theme] body>header :is(nav,.theme-toggle,.header-login){display:none!important}
 html[data-theme] body>header :is(.search-trigger,.mobile-menu-button){display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;margin:0;border:0;border-radius:8px;background:transparent;color:var(--ink);order:0}
 html[data-theme] body .shell{display:block;padding-top:0;min-width:0}
 html[data-theme] body .sidebar{display:none!important}
 .mobile-reading-bar:not([hidden]){display:flex;position:sticky;top:64px;z-index:40;border-bottom:1px solid var(--edge);background:var(--canvas);padding:0 16px;gap:16px}
 .mobile-reading-bar button{min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--ink);font:inherit;font-size:14px;flex:1;text-align:left}
 .mobile-reading-bar button:last-child{text-align:right}
 html[data-theme] body :is(.article-layout,.academy-content){padding:28px 20px;min-width:0;width:auto}
 html[data-theme] body .article-layout{display:flex;flex-direction:column}.article-layout .article{min-width:0;width:100%}.article-layout .article-toc{display:block;position:static;order:2;width:100%;margin-top:32px}.article-layout .article-summary{display:none}
 html[data-theme] body h1{font-size:clamp(30px,8vw,38px);line-height:1.15;letter-spacing:-.03em}
 html[data-theme] body .article-description{font-size:18px;line-height:1.5}
 .article-content{font-size:16px;line-height:1.7;overflow-wrap:break-word}.article-content :is(pre,.article-table){max-width:100%;overflow:auto}.article-content img{max-width:100%;height:auto}
 .article-content :is(h2,h3,h4){scroll-margin-top:124px}
 .search-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:20px;border:0;border-radius:0}
 .search-dialog .search{font-size:16px}.search-heading button{min-width:44px;min-height:44px}.search-results a{min-height:56px}
 html[data-theme] body .home-covers{padding:28px 20px 44px}.home-covers .cover-art{height:140px}.home-covers .cover-slide{gap:16px}.home-covers .academy-actions{flex-wrap:wrap}
 .library-filters{gap:12px}.library-filters label,.library-filters input{width:100%;box-sizing:border-box}.library-filters input{font-size:16px;min-height:48px}.library-filters .product-filter-nav{gap:0;justify-content:space-between}.product-filter-nav button{min-height:44px;padding:8px 12px}
 .academy-library .academy-task-list .academy-card{display:grid;grid-template-columns:96px minmax(0,1fr);min-height:0}.academy-library .academy-task-list .academy-card-media{width:96px;height:100%;min-height:144px}.academy-library .academy-task-list .academy-card-copy{padding:16px}.academy-library .academy-task-list .academy-card h3{font-size:18px;line-height:1.3}.academy-library .academy-task-list .academy-card p{font-size:14px;line-height:1.5}.academy-library .academy-task-list .academy-meta{font-size:12px;margin-top:12px}
 .mobile-case-filters>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-weight:600;cursor:pointer}.mobile-case-filters>summary::after{content:'+'}.mobile-case-filters[open]>summary::after{content:'−'}
 html[data-theme] body[data-layout] .academy-catalog .catalog-workspace{display:block}.mobile-case-filters .search input{font-size:16px}.mobile-case-filters .category-filters{display:flex;flex-wrap:wrap;overflow:visible}.mobile-case-filters .category-filters button{min-height:44px}
 html[data-theme] body[data-layout] .academy-catalog #results{grid-template-columns:minmax(0,1fr)}
 .article-share-panel{max-width:calc(100vw - 40px)}
 body :is(button,a,summary):focus-visible{outline:2px solid var(--ink);outline-offset:3px}
}
@media(hover:none){.academy-card:hover{transform:none}}
@media(min-width:768px){.mobile-navigation{display:none!important}.mobile-case-filters:not([open])>:not(summary){display:revert}}
