/* All operational changes are opt-in. Baseline remains unchanged when classes are absent. */
@media(min-width:851px){
 html.layout-sidebar-scroll #workspace>aside{height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#8ca7cc #0d2852}
 html.layout-sidebar-scroll #workspace>aside>*{flex-shrink:0}
 html.layout-sidebar-scroll #workspace>aside::-webkit-scrollbar{width:10px}
 html.layout-sidebar-scroll #workspace>aside::-webkit-scrollbar-thumb{background:#8ca7cc;border:2px solid #0d2852;border-radius:10px}
}
.layout-menu-toggle,.layout-filter-toggle{display:none}
html.layout-sticky-offset .layout-target-sticky{top:var(--layout-banner-offset,0px)}
@media(max-width:850px){
 html.layout-mobile-menu .layout-menu-toggle{display:block;min-height:44px;margin-top:8px}
 html.layout-mobile-menu #workspace>aside.layout-menu-open nav{display:flex;flex-direction:column;max-height:55vh;max-height:55dvh;overflow-y:auto;overflow-x:hidden;scrollbar-width:auto}
 html.layout-mobile-menu #workspace>aside.layout-menu-open nav::-webkit-scrollbar{display:block;width:8px}
 html.layout-mobile-menu #workspace>aside.layout-menu-open nav button{flex-shrink:0;min-height:44px;width:100%}
 html.layout-mobile-filters .layout-filter-toggle{display:block;grid-column:1/-1;min-height:44px}
 html.layout-mobile-filters .layout-filter-panel:not(.layout-filters-open)>.layout-filter-extra{display:none!important}
 html.layout-mobile-filters .layout-target-sticky{position:static}
}
.layout-recovery-button{position:fixed;right:12px;bottom:12px;z-index:2147483000;background:#fff4d5;color:#513800;border:2px solid #a36c00;max-width:calc(100vw - 24px);min-height:44px;box-shadow:0 2px 12px #0003}
html.layout-recovery #workspace>aside{position:relative!important;height:auto!important;overflow:visible!important}
html.layout-recovery #workspace>aside nav{display:flex!important;flex-direction:column!important;overflow:visible!important}
.layout-page{display:grid;gap:16px}.layout-card{border:1px solid #dbe5f2;border-radius:12px;padding:16px;min-width:0}.layout-card h3{margin:0 0 8px}.layout-card textarea{width:100%;min-height:85px}.layout-card .dev-actions{display:flex;flex-wrap:wrap;gap:8px}.layout-card form{margin-top:14px}.layout-card details{margin-top:12px}.layout-card ol{padding-left:22px;overflow-wrap:anywhere}.layout-card li{white-space:pre-wrap;margin:8px 0}.layout-card .layout-state{font-weight:700}.layout-page button:focus-visible,.layout-menu-toggle:focus-visible,.layout-filter-toggle:focus-visible{outline:3px solid #e6a400;outline-offset:2px}
@media print{.layout-recovery-button,.layout-menu-toggle,.layout-filter-toggle{display:none!important}html.layout-mobile-filters .layout-filter-panel>.layout-filter-extra{display:revert!important}}
