body:has(.station-sidebar){--paper:#fafafa;--line:#e5e5e5;--station-rail:210px;background:#fafafa;color:#282828;font-family:system-ui,sans-serif}
body:has(.station-sidebar) .topbar{background:#fff;border-bottom:1px solid #e5e5e5;box-shadow:none;gap:16px}
body:has(.station-sidebar) .topbar .brand{padding:18px 26px}
body:has(.station-sidebar) .station-sidebar{background:#fafafa;border-right:1px solid #e5e5e5;padding:24px 16px}
.station-sidebar-heading,.station-sidebar-group-label{font-size:11px!important;font-weight:500!important;letter-spacing:.04em!important;color:#888!important}
.quiet-navigation{margin-top:28px}.quiet-navigation>summary{font-size:12px;color:light-dark(#666,var(--theme-muted));padding:8px 0;cursor:pointer}.quiet-navigation:not([open])>*:not(summary){display:none}
.all-features{position:relative}.all-features>summary{cursor:pointer;font-size:13px;list-style:none;padding:10px 12px;border:1px solid light-dark(#ddd,var(--theme-border));border-radius:6px}.all-features>summary::after{content:' ▾';color:light-dark(#888,var(--theme-muted))}
body:has(.station-sidebar) .topbar .all-features nav{position:absolute;top:45px;left:0;z-index:60;display:flex;align-items:stretch;flex-direction:column;gap:0;margin:0;padding:8px;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 12px 32px #0001;width:240px}
body:has(.station-sidebar) .topbar .all-features:not([open]) nav{display:none}body:has(.station-sidebar) .topbar .all-features nav a{padding:10px;color:#333;font-size:13px}
body:has(.station-sidebar) h1{font-size:26px;font-weight:600;letter-spacing:-.03em}.quiet-page-title{margin-bottom:24px}.wireframe-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px;min-height:55vh}.wireframe-canvas,.wireframe-context{border:1px dashed #dedede;border-radius:6px;padding:16px;background:#fff}.wireframe-layout span,.quiet-caption{font-size:12px;font-weight:400;color:light-dark(#999,var(--theme-muted))}.quiet-caption{margin-top:20px}.wireframe-context{background:transparent}
body:has(.station-sidebar) .button{border-radius:5px;min-height:36px;padding:10px 14px;font-weight:500;gap:12px}.account-actions{margin-left:auto}.station-office-link{font-size:12px!important}.station-menu-toggle{color:light-dark(#333,var(--theme-text))!important}
.cb-quiet-details{max-width:820px}.cb-quiet-details .cb-section{background:transparent;border:0;border-bottom:1px solid light-dark(#ddd,var(--theme-border));border-radius:0;margin:0;padding:18px 0}.cb-quiet-details .cb-section>summary{font-weight:500;cursor:pointer}.cb-quiet-details .cb-section[open]>summary{margin-bottom:24px}.cb-quiet-details aside{margin:0}.connected-app-bar{background:light-dark(#fff,var(--theme-surface))!important;border-bottom:1px solid light-dark(#ddd,var(--theme-border));justify-content:space-between;flex-wrap:wrap}.connected-app-bar>details{position:relative}.connected-app-bar>details summary{cursor:pointer}.connected-app-bar>details[open]{display:flex;gap:16px}.connected-app-bar>details a{display:block;margin:10px 0}.connected-app-bar>details:not([open]) a{display:none}
@media(max-width:700px){.wireframe-layout{grid-template-columns:1fr}.wireframe-context{min-height:100px}.station-office-link{display:none!important}.all-features>summary{white-space:nowrap}.account-actions{gap:6px}.topbar .text-button{padding:8px}}
body:has(.station-sidebar) .topbar .all-features nav a{display:block}
.cb-edit-group{border-top:1px solid light-dark(#ddd,var(--theme-border));padding:20px 0}.cb-edit-group>summary{font-size:15px;font-weight:500;cursor:pointer}.cb-edit-group[open]>summary{margin-bottom:20px}
.layout-area{padding:20px 0;border-bottom:1px solid light-dark(#ddd,var(--theme-border))}.layout-area>summary{cursor:pointer;font-size:16px;font-weight:500}.layout-area>summary small{display:inline;margin-left:12px;font-size:12px;color:light-dark(#888,var(--theme-muted))}.layout-option{border:1px solid light-dark(#e5e5e5,var(--theme-border));border-radius:6px;margin:20px 0;padding:16px}.layout-option legend label{display:flex;gap:8px;align-items:center}.layout-option input[type=checkbox]{width:auto;margin:0}.layout-fields{display:grid;grid-template-columns:2fr 80px 1fr;gap:16px}.layout-history{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0}.layout-widget{display:block;margin:12px 0;padding:14px;background:light-dark(white,var(--theme-surface));border:1px solid light-dark(#e5e5e5,var(--theme-border));border-radius:6px;font-size:13px}.layout-widget input{width:100%;min-width:0}.layout-widget button{width:100%;margin-top:8px}.layout-main-nav{min-width:0;flex-wrap:wrap}.layout-nav-link{font-size:13px}.layout-admin h2{font-size:18px}.layout-admin h3{font-size:16px}@media(max-width:700px){.layout-fields{grid-template-columns:1fr}.layout-history{align-items:flex-start;flex-direction:column}.layout-main-nav{display:none!important}}
.layout-mobile-nav{display:none}@media(max-width:700px){.layout-mobile-nav{display:block}.layout-mobile-nav a{display:block;padding:10px 0}}

/* Restore the frontend header palette from before 6fbe2c5. */
body:not(.station-admin):has(.station-sidebar) .topbar{background:#22251f;color:#fff;border-bottom-color:#394036}
body:not(.station-admin):has(.station-sidebar) .topbar .account{color:#fff}
body:not(.station-admin):has(.station-sidebar) .topbar .text-button{color:#ccc}
body:not(.station-admin):has(.station-sidebar) .topbar .avatar{color:#fff;border-color:#ffffff50}
body:not(.station-admin):has(.station-sidebar) .topbar .all-features>summary{background:transparent;border-color:#ffffff40;color:#fff}
body:not(.station-admin):has(.station-sidebar) .topbar .all-features>summary::after{color:#c7cabf}
body:not(.station-admin):has(.station-sidebar) .topbar .station-menu-toggle{color:#fff!important}
@media(max-width:440px){body:not(.station-admin):has(.station-sidebar) .topbar{gap:6px;padding-right:10px}body:not(.station-admin):has(.station-sidebar) .topbar .brand{width:100px;padding:10px}body:not(.station-admin):has(.station-sidebar) .topbar .brand img{width:80px}body:not(.station-admin):has(.station-sidebar) .topbar .station-menu-toggle{padding:10px}body:not(.station-admin):has(.station-sidebar) .topbar .text-button{white-space:nowrap}}

/* Shared navigation stays available inside the mobile Station drawer. */
@media(max-width:700px){.station-sidebar .layout-main-nav{display:flex!important;flex-direction:column}}
