/* Shared v7 component rules. Keep the icon sprite from expanding to its SVG default size. */
svg:not(.svg-sprite) {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item svg { color: #8ddcff; }
.nav-item.active svg, .nav-item:hover svg { color: #fff; }
.nav-item > span { width: auto; min-width: 0; flex: 1; text-align: right; white-space: nowrap; font-size: 12px !important; line-height: 1.5; color: inherit; }
.mobile-menu svg, .top-icon svg, .command-icon { width: 19px; height: 19px; }
.kpi-icon svg, .empty-icon svg, .sidebar-ai-mark svg { width: 24px; height: 24px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.settings-grid { align-items: start; }
.settings-grid > .panel { min-width: 0; }
.settings-grid .panel-head { align-items: flex-start; }
.settings-grid .panel-head h3 { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.settings-grid .panel-head p { font-size: 10px; line-height: 1.7; }
.settings-grid .form-grid { align-items: start; }
.settings-grid .form-grid > label { display: block; min-width: 0; font-size: 11px; line-height: 1.6; }
.settings-grid .form-grid label.full { display: block; }
.settings-grid .form-grid .toggle-row { display: flex !important; align-items: center; gap: 12px; }
.settings-grid .form-grid .toggle-row span { flex: 1; line-height: 1.6; }
.settings-grid .form-grid input:not([type="checkbox"]),
.settings-grid .form-grid select,
.settings-grid .form-grid textarea { display: block; margin-top: 5px; min-width: 0; line-height: 1.6; }
.settings-grid .form-grid textarea { min-height: 96px; }
.settings-grid .form-grid button { min-height: 42px; }

@media (max-width: 1050px) {
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .settings-grid .form-grid { grid-template-columns: 1fr; }
  .settings-grid .form-grid label.full,
  .settings-grid .form-grid .full { grid-column: auto; }
}
/* Dashboard layout */
#view-dashboard { display:none; min-width:0; }
#view-dashboard.active { display:block; }
#view-dashboard > * { min-width:0; }
.welcome-strip.premium-hero { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(250px,.75fr); gap:24px; align-items:center; margin:18px 0 16px; padding:24px 26px; border:1px solid #155071; border-radius:20px; background:radial-gradient(ellipse at 12% 0%,#0d4265 0,transparent 48%),linear-gradient(135deg,#0a2740,#061725 72%); box-shadow:0 16px 40px #0002; }
.hero-copy { min-width:0; } .hero-copy h2 { margin:8px 0; font-size:clamp(20px,2vw,28px); line-height:1.45; } .hero-copy p { margin:0; color:#91b5ca; font-size:13px; line-height:1.8; } .hero-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; }
.hero-score-card { display:flex; align-items:center; justify-content:space-around; gap:18px; min-width:0; padding:14px; border:1px solid #164662; border-radius:16px; background:#061a2bd9; }
.score-donut { width:106px; height:106px; flex:0 0 106px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(#1d9bf0 calc(var(--score,0)*1%),#12364d 0); position:relative; } .score-donut:before { content:""; position:absolute; inset:8px; border-radius:inherit; background:#071b2b; } .score-donut > div { position:relative; display:grid; text-align:center; } .score-donut strong { font-size:25px; line-height:1.1; } .score-donut span { color:#8db2c8; font-size:9px; }
.hero-mini-metrics { display:grid; gap:9px; min-width:90px; } .hero-mini-metrics > div { display:flex; justify-content:space-between; gap:14px; padding-bottom:6px; border-bottom:1px solid #12374d; color:#91b5ca; font-size:10px; } .hero-mini-metrics strong { color:#eaf7ff; }
.command-kpi-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin:0 0 14px; } .command-kpi { display:flex; align-items:center; gap:12px; min-width:0; padding:15px; border:1px solid #12415b; border-radius:15px; background:linear-gradient(145deg,#0a2439,#061827); } .command-kpi.attention { border-color:#754052; background:linear-gradient(145deg,#2b1d2b,#101a29); } .command-kpi.cost { border-color:#175267; } .command-kpi .kpi-icon { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; border-radius:13px; color:#63d2ff; background:#0c3a56; } .command-kpi > div:last-child { display:grid; min-width:0; gap:3px; } .command-kpi span { color:#a8c9dc; font-size:10px; line-height:1.5; } .command-kpi strong { color:#f0f8ff; font-size:23px; line-height:1.1; } .command-kpi small { color:#759bb1; font-size:9px; line-height:1.5; }
.quick-action-strip { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:9px; margin:0 0 16px; } .quick-action-strip button { display:flex; align-items:center; gap:10px; min-width:0; padding:11px 12px; text-align:right; color:#dff4ff; border:1px solid #15445f; border-radius:13px; background:#071d2d; cursor:pointer; } .quick-action-strip button:hover { border-color:#168ed1; background:#0a2a42; } .quick-action-strip button > svg { flex:0 0 20px; color:#48c4ff; } .quick-action-strip button span { display:grid; min-width:0; gap:2px; } .quick-action-strip strong { font-size:10px; } .quick-action-strip small { overflow:hidden; color:#7fa4b9; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.command-main-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr); gap:14px; margin-bottom:14px; } .ceo-command-card,.attention-card,.workforce-panel,.dashboard-lower-grid .neo-panel { min-width:0; padding:17px; border:1px solid #15445f; border-radius:17px; background:linear-gradient(145deg,#092238,#061725); }
.panel-title,.neo-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; } .panel-title h3,.neo-panel-head h3 { margin:4px 0; font-size:15px; } .panel-title p,.neo-panel-head p { margin:0; color:#82a8bf; font-size:10px; line-height:1.7; }
.ceo-workspace { display:grid; grid-template-columns:minmax(150px,.7fr) minmax(0,1.7fr); align-items:center; gap:16px; margin-top:18px; } .ceo-profile { display:flex; align-items:center; gap:10px; min-width:0; } .ceo-profile > div:last-child { display:grid; min-width:0; gap:3px; } .ceo-profile strong { font-size:11px; } .ceo-profile span,.ceo-profile small { color:#83a8bf; font-size:9px; } .ceo-avatar { width:48px; height:48px; flex:0 0 48px; display:grid; place-items:center; border-radius:15px; color:#7de0ff; background:linear-gradient(145deg,#124d75,#102947); font-weight:800; }
.live-flow { display:flex; align-items:center; justify-content:space-between; gap:5px; min-width:0; overflow-x:auto; padding:7px 0; } .live-flow-node { display:grid; justify-items:center; gap:5px; flex:0 0 55px; color:#8daec0; text-align:center; font-size:8px; } .live-flow-node svg { width:19px; height:19px; color:#56caff; } .live-flow-node.active { color:#dff7ff; } .live-flow-node.active svg { color:#fff; } .live-flow > i { height:1px; flex:1 0 8px; background:#1d6383; }
.channel-pills { display:flex; flex-wrap:wrap; gap:7px; margin-top:14px; } .channel-pills button { padding:7px 10px; color:#cbe9f8; border:1px solid #15445f; border-radius:99px; background:#071b2b; font-size:9px; } .attention-count { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; color:#ffc6d0; background:#642b3d; font-weight:700; }
.approval-list,.workforce-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:9px; margin-top:14px; } .workforce-panel { margin-bottom:14px; } .department-strip { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:10px; margin:0 0 14px; } .dashboard-lower-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; } .dashboard-lower-grid .neo-panel-head { margin-bottom:12px; } .dashboard-lower-grid .neo-recent-list,.dashboard-lower-grid .neo-activity-feed,.dashboard-lower-grid .dashboard-health { display:grid; gap:8px; }
@media(max-width:1200px) { .command-kpi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .quick-action-strip { grid-template-columns:repeat(3,minmax(0,1fr)); } .dashboard-lower-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) { .welcome-strip.premium-hero { grid-template-columns:1fr; } .command-main-grid { grid-template-columns:1fr; } .ceo-workspace { grid-template-columns:1fr; } .dashboard-lower-grid { grid-template-columns:1fr; } }
@media(max-width:600px) { .command-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .quick-action-strip { grid-template-columns:repeat(2,minmax(0,1fr)); } .hero-score-card { justify-content:flex-start; } .welcome-strip.premium-hero { padding:17px; } }

/* Shared readable controls for all views */
button{color:inherit}.view{color:var(--text,#edf8ff)}input,select,textarea{color:#eaf6ff;background-color:#061a2a;border-color:#1a4a67}input::placeholder,textarea::placeholder{color:#789bb1;opacity:1}select option{color:#eaf6ff;background:#071d2e}.view button:not(.primary):not(.ghost):not(.soft-btn):not(.danger-btn):not(.nav-item):not(.top-icon):not(.status-chip):not(.quick-action-strip button):not(.channel-pills button){color:#eaf6ff}
.approval-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.approval-item{min-width:0;padding:13px;border:1px solid #25465f;border-radius:13px;background:#0a2033}.approval-item-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px;color:#eaf6ff;font-size:10px}.approval-item-head time{color:#91aec2;font-size:9px}.approval-item p{margin:9px 0 12px;color:#d1e5f1;font-size:11px;line-height:1.8}.approval-actions,.row-actions,.kanban-card-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.approval-actions button,.approve-btn{border:1px solid #16835e!important;border-radius:8px!important;padding:7px 10px!important;color:#b9ffe4!important;background:#0a3b31!important;font-size:10px;font-weight:700}.approval-actions .reject-btn,.reject-btn{border:1px solid #854255!important;color:#ffd0d9!important;background:#411e2a!important}
.workforce-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.workforce-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:8px 11px;min-width:0;min-height:118px;padding:14px;text-align:right;border:1px solid #1c4d68;border-radius:14px;background:linear-gradient(145deg,#0b2941,#071a2a);color:#edf8ff}.workforce-card:hover,.crm-row:hover{border-color:#2c9de0;background-color:#0c2a41}.workforce-card>div:not(.workforce-avatar){display:grid;min-width:0;gap:3px}.workforce-card strong{overflow-wrap:anywhere;color:#effaff;font-size:11px}.workforce-card>div>span{color:#a5c3d5;font-size:9px;line-height:1.5}.workforce-card>small{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;color:#a8c6d8;font-size:9px}.workforce-avatar{width:44px;height:44px;position:relative;display:grid;place-items:center;border-radius:13px;background:#0b4265;color:#71d7ff;font-weight:800}.workforce-avatar>i{position:absolute;left:-3px;bottom:-3px;display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#09253a}.workforce-avatar svg{width:14px;height:14px}.agent-card{color:#edf8ff}.agent-card h3{color:#f0f8ff;line-height:1.6}.agent-card p{color:#a8c5d7;line-height:1.65}.agent-metrics,.agent-metrics>div{color:#c0d6e4}.agent-state{width:8px;height:8px;border-radius:50%;background:#66798a}.agent-state.online{background:#22d39a;box-shadow:0 0 12px #22d39a77}.agent-state.busy{background:#ffb454}.agent-state.offline{background:#8294a4}
.department-strip button,.department-admin-card{color:#eaf6ff}.department-strip button{min-width:0;padding:14px;text-align:right;border:1px solid #1a4a67;border-radius:14px;background:#092239}.department-strip button b,.department-strip button strong{color:#f3fbff}
.kanban-board{display:grid;grid-template-columns:repeat(5,minmax(220px,1fr));gap:12px;align-items:start;overflow-x:auto;padding-bottom:8px}.kanban-column{min-width:0;padding:10px;border:1px solid #163f58;border-radius:14px;background:#071a2a}.kanban-column>header,.kanban-column-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 3px 10px;color:#dceef8;font-weight:800}.kanban-stack{display:grid;gap:9px}.kanban-card{min-width:0;padding:12px;border:1px solid #1a4964;border-radius:12px;background:#0b2236;color:#eaf6ff}.kanban-card.critical{border-color:#9a4357}.kanban-card-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#9fbdcf;font-size:9px}.kanban-card h3,.kanban-card h4{margin:8px 0;color:#f1f9ff;font-size:12px;line-height:1.7}.kanban-card p{color:#bfd4e1;font-size:10px;line-height:1.7}.kanban-card-actions{margin-top:10px}.kanban-card-actions button,.row-actions button{border:1px solid #20536f;border-radius:8px;padding:6px 9px;background:#0d2b43;color:#dbf2ff;font-size:9px}
.crm-layout{display:grid;grid-template-columns:minmax(270px,.75fr) minmax(0,1.5fr);gap:14px;align-items:start}.crm-list-panel,.crm-detail-panel{min-width:0;padding:15px;border:1px solid #17445f;border-radius:16px;background:#081d2e}.crm-list{display:grid;gap:8px;max-height:70vh;overflow:auto}.crm-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:11px;text-align:right;border:1px solid #17445f;border-radius:12px;background:#0a2236;color:#edf8ff}.crm-row>div:nth-child(2){display:grid;min-width:0;gap:3px}.crm-row strong{color:#f0f8ff;font-size:11px}.crm-row span,.crm-row small{overflow-wrap:anywhere;color:#a1bfd1;font-size:9px}.crm-row b{color:#6ed3ff;font-size:10px}.crm-row.active{border-color:#229ee4;background:#0d304b}.crm-avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#7ce0ff;background:#0c4265;font-weight:800}.crm-profile-head{padding:13px;margin-bottom:12px;border:1px solid #19465f;border-radius:12px;background:#0a2236;color:#f0f8ff}.crm-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}.crm-history-grid>div{min-width:0;padding:11px;border:1px solid #183f57;border-radius:11px;background:#071a2a;color:#cde1ed}
.workflow-layout{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr);gap:14px;align-items:start}.workflow-list,.workflow-steps{display:grid;gap:9px}.workflow-card,.workflow-step{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:13px;border:1px solid #17455f;border-radius:12px;background:#092136;color:#eaf6ff}.workflow-card strong,.workflow-step strong{color:#f1f9ff}.workflow-card p,.workflow-card small{color:#a2bfce;font-size:10px;line-height:1.7}.workflow-tools{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.workflow-tools button,.workflow-step>button{border:1px solid #1c4c67;border-radius:8px;padding:7px 9px;background:#0a2941;color:#dff3ff;font-size:9px}.workflow-step>div{display:grid;gap:7px;min-width:0}.workflow-step svg{color:#61d0ff}
.governance-grid,.analytics-grid,.enterprise-grid,.observability-grid,.security-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.governance-grid>.wide-panel,.analytics-grid>.wide-panel,.enterprise-grid>.wide-panel{grid-column:1/-1}.analytics-grid>.panel,.governance-grid>.panel,.enterprise-grid>.panel,.observability-panel,.security-panel{min-width:0;padding:16px;border:1px solid #17445e;border-radius:15px;background:#081d2e;color:#eaf6ff}.analytics-grid h3,.governance-grid h3,.enterprise-grid h3,.observability-panel h3,.security-panel h3{color:#eff9ff}.analytics-list,.rule-list,.audit-log-list,.enterprise-list,.security-events,.queue-list{display:grid;gap:8px;margin-top:12px}.analytics-row,.rule-row,.audit-row,.enterprise-item,.queue-row,.security-event,.quality-row{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid #173f57;border-radius:11px;background:#0a2236;color:#dcecf5}.analytics-row>div,.rule-row>div,.audit-row>div,.enterprise-item>div,.queue-row>div,.security-event>div,.quality-row>div{display:grid;min-width:0;gap:3px;flex:1}.analytics-row strong,.rule-row strong,.audit-row strong,.enterprise-item strong,.queue-row strong,.security-event strong,.quality-row strong{color:#f0f8ff;font-size:10px}.analytics-row span,.rule-row span,.audit-row span,.enterprise-item span,.queue-row span,.security-event span,.quality-row small{color:#a4c0d0;font-size:9px;line-height:1.6;overflow-wrap:anywhere}.analytics-row b,.rule-row b{color:#70d8ff}.quality-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.score-ring{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;color:#bfeeff;border:3px solid #1987b8;font-size:10px;font-weight:800}.score-ring.pass{border-color:#20bb8c;color:#aaffdf}.score-ring.fail{border-color:#eb6278;color:#ffc2cc}.bar-chart{display:grid;gap:8px}.bar-row{display:grid;grid-template-columns:45px minmax(0,1fr) 32px;gap:8px;align-items:center;color:#b5cbd8;font-size:9px}.bar-row>div{height:9px;overflow:hidden;border-radius:99px;background:#102e43}.bar-row i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#138de0,#36d4e8)}.data-table{width:100%;border-collapse:collapse;color:#dcecf5;font-size:10px}.data-table th,.data-table td{padding:9px 8px;text-align:right;border-bottom:1px solid #173d55}.data-table th{color:#79d8ff;background:#0b2940}.table-wrap{overflow:auto}.enterprise-item code,.api-key-reveal code{display:block;direction:ltr;overflow-wrap:anywhere;color:#8be2ff}.danger-link{padding:6px 9px;border:1px solid #82374b;border-radius:8px;background:#3d1c29;color:#ffc5ce}.metric-card{padding:13px;border:1px solid #1b4a65;border-radius:13px;background:#092238;color:#bdd5e2}.metric-card strong{display:block;margin:6px 0;color:#f4fbff;font-size:22px}.metric-spark{height:45px;display:flex;align-items:end;gap:3px;overflow:hidden}.metric-spark i{flex:1;min-width:2px;border-radius:3px 3px 0 0;background:linear-gradient(#42d7e9,#1475c4)}.queue-row>i,.security-event>i{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#36c994}.queue-row.failed>i,.security-event.critical>i,.security-event.high>i{background:#ff657c}.api-key-reveal{display:grid;gap:9px;margin-top:12px;padding:13px;border:1px solid #227b79;border-radius:12px;background:#082f32;color:#d6fff3}.production-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.empty-clean,.kanban-empty,.crm-empty-state{padding:18px;border:1px dashed #31536a;border-radius:12px;color:#9bb8c9;background:#081b2b;text-align:center;font-size:11px}
+@media(max-width:1050px){.crm-layout,.workflow-layout,.governance-grid,.analytics-grid,.enterprise-grid,.observability-grid,.security-scope-grid{grid-template-columns:1fr}.crm-history-grid,.quality-columns{grid-template-columns:1fr}.governance-grid>.wide-panel,.analytics-grid>.wide-panel,.enterprise-grid>.wide-panel{grid-column:auto}.kanban-board{grid-template-columns:repeat(5,minmax(240px,1fr))}}

.crm-stage-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.crm-stage-tabs button{min-height:32px;padding:6px 9px;border:1px solid #1a4a67;border-radius:8px;background:#0a2236;color:#a9c7d9;font-size:10px}.crm-stage-tabs button.active{border-color:#168ed1;background:#0c3d5e;color:#ecf9ff}.crm-detail{min-width:0;padding:15px;border:1px solid #17445f;border-radius:16px;background:#081d2e;color:#eaf6ff}.crm-detail .form-grid{align-items:start}.crm-detail .form-grid label{display:grid;gap:5px;color:#abc8d9;font-size:10px}.crm-detail .form-grid input,.crm-detail .form-grid select,.crm-detail .form-grid textarea{width:100%;min-width:0;color:#eaf6ff;background:#061a2a;border:1px solid #1a4a67;border-radius:9px;padding:10px}.crm-detail .form-grid button.primary{color:#fff}.crm-detail .history-row{display:grid;gap:4px;margin:6px 0;padding:10px;border:1px solid #173f57;border-radius:10px;background:#0a2236;color:#eaf6ff;text-align:right}
.view input:not([type="checkbox"]):not([type="radio"]),.view select,.view textarea{color:#eaf6ff!important;color-scheme:dark;background-color:#061a2a!important;border-color:#1a4a67!important}.view input:not([type="checkbox"]):not([type="radio"])::placeholder,.view textarea::placeholder{color:#789bb1!important;opacity:1}
.digital-ceo{display:flex;align-items:center;gap:12px;max-width:420px;padding:14px 16px;border:1px solid #1c5a7d;border-radius:16px;background:linear-gradient(145deg,#0c3553,#071c2d)!important;color:#effaff!important;text-align:right;box-shadow:0 12px 28px #0003}.digital-ceo>div:nth-child(2){display:grid;gap:3px;min-width:0}.digital-ceo b{color:#f1faff;font-size:13px}.digital-ceo small,.digital-ceo em{color:#9fc4d8;font-size:10px;font-style:normal}.digital-ceo .eyebrow{color:#55d7ff}
.topbar{gap:10px;min-width:0;overflow:visible}.mobile-menu{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid #16415f;border-radius:11px;background:#071c2f!important;color:#dff6ff!important}.mobile-menu svg{width:19px;height:19px}.command-search{position:relative;display:flex;align-items:center;flex:1 1 340px;min-width:240px;max-width:650px;height:44px;gap:8px;margin:0 auto;padding:0 10px;border:1px solid #16415f;border-radius:12px;background:#071d31;color:#9db9cb}.command-search .command-icon{flex:0 0 18px;width:18px;height:18px;color:#63cfff}.command-search input{flex:1 1 auto;width:0;min-width:0;height:100%;padding:0 4px;border:0!important;outline:0;background:transparent!important;box-shadow:none!important;color:#edf8ff!important;font-size:13px}.command-search kbd{flex:0 0 auto;padding:4px 7px;border:1px solid #1a4c69;border-radius:6px;background:#0b2a43;color:#9ec5dc;font-size:10px;white-space:nowrap}.command-search .command-send{flex:0 0 auto;min-width:50px;height:32px;padding:0 12px;border:1px solid #1887d4;border-radius:8px;background:linear-gradient(135deg,#168fe8,#126acb);color:#fff!important;font-size:12px;font-weight:800;white-space:nowrap}.command-search .command-result{position:absolute;top:calc(100% + 8px);right:0;left:0;z-index:90;max-height:55vh;overflow:auto;border:1px solid #1b506d;border-radius:12px;background:#071b2c;box-shadow:0 16px 40px #0008}.top-actions{flex:0 0 auto;min-width:0;gap:8px}.top-profile{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-width:90px;color:#eaf6ff}.top-profile>div:last-child{display:grid;gap:2px}.top-profile strong{color:#eff9ff;font-size:12px}.top-profile span{color:#88aabd;font-size:10px}.heading-actions{display:flex;align-items:center;justify-content:flex-start;min-height:24px}.live-system-dot{display:inline-flex;align-items:center;gap:7px;padding:4px 9px;border:1px solid #19445f;border-radius:999px;background:#071d2d;color:#a5c1d2;font-size:10px;line-height:1.4;white-space:nowrap}.live-system-dot i{display:inline-block;width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#2bc99a;box-shadow:0 0 8px #2bc99a66}.page-heading p,.section-head p{font-size:13px;line-height:1.7}@media(max-width:1100px){.topbar{flex-wrap:wrap}.command-search{order:5;flex:1 1 100%;max-width:none}.top-actions{margin-right:auto}}@media(max-width:760px){.command-search{min-width:0}.command-search kbd{display:none}.top-profile{display:none}}/* Mobile bottom bar: hide on desktop and style on narrow screens. */ .mobile-bottom-nav{display:none!important}@media(max-width:760px){.mobile-bottom-nav{position:fixed;inset:auto 0 0;z-index:60;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #16415f;background:rgba(3,17,31,.97);box-shadow:0 -10px 30px #0005;backdrop-filter:blur(16px)}.mobile-bottom-nav button{display:flex;min-width:0;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 2px;border:1px solid transparent;border-radius:10px;background:transparent;color:#91b5ca;font-size:10px;font-weight:700;line-height:1.3}.mobile-bottom-nav button.active{border-color:#17608a;background:#0b3451;color:#eaf8ff}.mobile-bottom-nav button svg{width:18px;height:18px;flex:0 0 18px;color:#66d4ff}.mobile-bottom-nav button span{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.main{padding-bottom:calc(82px + env(safe-area-inset-bottom))}}