/* HBSystem operations interface refresh; scoped to authenticated shell. */
body:has(.app-shell){--bg:#f3f5f4;--panel:#fff;--line:#dce3e0;--shadow:0 8px 28px rgba(29,49,48,.06)}
.app-shell .sidebar{background:linear-gradient(180deg,#182d37 0%,#1a303a 100%);border-right:1px solid rgba(255,255,255,.07)}
.app-shell .side-brand{padding:5px 3px 18px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:16px}
.app-shell .workspace-sidebar .primary-nav-link{border-radius:10px;transition:background .18s}
.app-shell .workspace-sidebar .primary-nav-link:hover{background:rgba(255,255,255,.11)}
.app-shell .main-content{min-width:0;background:#f3f5f4}
.app-shell .topbar{background:rgba(255,255,255,.95);border-bottom:1px solid #dfe6e2;box-shadow:0 3px 14px rgba(24,46,44,.035)}
.app-shell .topbar h1{font-size:clamp(19px,1.7vw,25px);font-weight:850;letter-spacing:-.046em}
.app-shell .topbar .eyebrow{letter-spacing:.12em;text-transform:uppercase;font-size:10px}
.app-shell :where(.card,.panel,.stat-card,.metric-card,.widget){border:1px solid #dde5e0;background:#fff;border-radius:15px;box-shadow:0 9px 24px rgba(29,49,48,.05)}
.app-shell :where(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;border-color:#d4dfdb;border-radius:9px}
.app-shell :where(th){font-size:11px;letter-spacing:.035em}
.app-shell :where(td,th){vertical-align:middle}
@media(max-width:850px){.app-shell .topbar h1{font-size:19px}}
@media(prefers-reduced-motion:reduce){.app-shell *{transition:none!important}}
@media print{.app-shell .card,.app-shell .panel{box-shadow:none!important}}
