/* Scoped shell; standalone Academy and embedded telephony pages retain their own layouts. */
body.command-shell{--command-bg:#06111f;--command-panel:#091c31;--command-edge:#1c3c5e;--command-cyan:#07b5ff;background:radial-gradient(ellipse at 80% 0,#102e56 0,transparent 38%),var(--command-bg);color:#f1f7ff;display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:1fr auto;min-height:100vh}
.command-shell .command-sidebar{position:sticky;top:0;height:100vh;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:20px 12px;background:linear-gradient(180deg,#091a30,#051020);border-right:1px solid #1c3c5e;grid-row:1/3;z-index:30}
.command-sidebar .command-brand{display:flex;align-items:center;gap:10px;padding:8px;color:white;text-decoration:none;font-weight:950;font-size:20px;letter-spacing:-1px}
.command-brand small{display:block;font-size:10px;letter-spacing:3px;color:#57c9ff}
.command-nav{display:flex;flex-direction:column;gap:14px}
.command-nav section{min-width:0}.command-nav h2{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#8caecc;margin:4px 10px 6px}
.command-nav a{display:flex;gap:10px;align-items:center;min-height:38px;padding:8px 10px;margin:2px 0;border:1px solid transparent;border-radius:9px;color:#c3d9ed;font-weight:650;font-size:13px;text-decoration:none}
.command-nav a:hover,.command-nav a:focus-visible{background:#123252;color:white;border-color:#3478b0}
.command-nav a[aria-current=page]{background:linear-gradient(100deg,#076ae5,#008dc7);border-color:#4ec7ff;color:white;box-shadow:0 0 16px #087dff35}
.command-nav .nav-icon{width:20px;text-align:center;flex-shrink:0}
.command-sidebar .command-bottom{margin-top:auto;border-top:1px solid #1c3c5e;padding:12px 8px;display:grid;gap:8px}
.command-shell .container{width:100%;min-width:0;max-width:1650px;margin:0 auto;padding:26px clamp(14px,2.5vw,34px);grid-column:2}
.command-shell footer{grid-column:2;padding:20px;color:#92a8bf}
.command-shell .card{background:linear-gradient(140deg,#102640,#091c31);border-color:#214467;box-shadow:0 8px 28px #0003}
.command-shell .primary{background:linear-gradient(110deg,#076af5,#03a7fa);box-shadow:0 4px 14px #0b7dfa33}
.command-shell :focus-visible{outline:2px solid #66d9ff;outline-offset:3px}
.command-menu-toggle{display:none}
.command-hero{padding:24px;border:1px solid #257bb6;border-radius:18px;background:radial-gradient(circle at 90% 0,#164f91,transparent 55%),linear-gradient(125deg,#0a233d,#071626);box-shadow:0 10px 35px #0005;margin-bottom:20px}
.command-hero h1{font-size:clamp(30px,4vw,54px);font-style:italic;letter-spacing:-1.8px;line-height:1.05;margin:8px 0}.command-hero h1 span{color:#37c5ff}
.command-kicker{font-size:11px;font-weight:900;letter-spacing:2.4px;color:#63d9ff;text-transform:uppercase}
.command-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.command-tabs a{padding:10px 15px;border:1px solid #264b70;border-radius:10px;color:#c9e2f8;background:#0b2138;font-weight:750;text-decoration:none}.command-tabs a[aria-current=page]{color:white;background:#1269d1;border-color:#64cfff}
.command-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px;margin-bottom:20px}.command-tile{padding:18px;border:1px solid #264b70;border-radius:13px;background:#0d223a;color:#eef7ff;min-width:0}.command-tile strong{font-size:29px;display:block;margin:8px 0;font-variant-numeric:tabular-nums}.command-tile small{color:#aec4da}.command-tile a{display:block;margin-top:8px}
.command-status{display:inline-flex;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:800;color:#b9d1e8;background:#1b3b56}.command-status.ready{color:#a1ffe2;background:#17463f}.command-status.hold{color:#ffdb91;background:#513d20}
.command-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #25425f}.command-setting:last-child{border:0}.command-setting p{margin:4px 0;font-size:13px}.command-setting input[type=checkbox]{width:auto;accent-color:#07b5ff;margin:0}.command-setting label{margin:0}
@media(max-width:850px){body.command-shell{display:block}.command-shell .command-sidebar{position:relative;height:auto;max-height:none;overflow:visible;border-right:0;border-bottom:1px solid #1c3c5e;padding:10px 14px}.command-menu-toggle{display:block;align-self:flex-end;position:absolute;right:14px;top:15px}.command-shell .command-sidebar[data-collapsed=true] .command-nav,.command-shell .command-sidebar[data-collapsed=true] .command-bottom{display:none}.command-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.command-shell .container{padding:18px 14px}.command-hero{padding:18px}.command-setting{align-items:flex-start}.command-shell .card{padding:16px}}
@media(prefers-reduced-motion:reduce){.command-shell *{scroll-behavior:auto!important;transition:none!important}}
