/* OC-Core Operations Desk — v0.9.99.11. Presentation only: existing API bindings stay intact. */
:root{--bg:#f3f6fa;--side:#102035;--panel:#fff;--panel2:#f4f7fb;--line:#dde5ee;--text:#19293d;--muted:#586d84;--accent:#175ec2;--good:#147d60;--warn:#a76a18;--bad:#c03945;--radius:12px;--shadow:0 2px 10px rgba(24,42,68,.035);--content-max:initial}
html,body{background:var(--bg)!important;color:var(--text)!important;font-size:14px}
body{background:var(--bg)!important}
.shell{grid-template-columns:260px minmax(0,1fr)!important;min-height:100vh}
.sidebar{position:sticky!important;top:0!important;height:100vh!important;overflow-y:auto!important;overscroll-behavior:contain;width:auto!important;min-width:0;padding:21px 12px!important;background:#102035!important;color:#d9e4ef!important;border-right:1px solid #243b54!important;box-shadow:none!important;scrollbar-width:thin;scrollbar-color:#39536e transparent}
.sidebar .brand{padding:0 12px 13px!important}.brand-mark{background:#1b68c9!important;color:white!important;box-shadow:none!important;border-radius:10px!important}
.sidebar .brand strong{color:#fff;font-weight:750}.sidebar .brand span{color:#8ea7c0!important;letter-spacing:.12em!important}
.brand-live{background:#172b43!important;border-color:#27405b!important;color:#c9d9eb!important;margin:0 9px 17px!important}
.sidebar .nav-compact-heading{color:#7896b4!important;font-size:10px!important;letter-spacing:.14em!important;margin:15px 0 5px!important;padding:8px 13px 2px!important}
.sidebar #sidebar-nav{display:block!important;padding:0 0 12px!important}
.sidebar #sidebar-nav .nav{width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;margin:1px 0!important;min-height:36px!important;border:1px solid transparent!important;border-radius:8px!important;padding:8px 10px!important;background:transparent!important;color:#bed0e1!important;box-shadow:none!important;font-size:13px!important;text-align:left!important}
.sidebar #sidebar-nav .nav .nav-short{color:#9eb6cc!important;border:0!important;background:none!important;font-size:15px!important;width:22px!important;min-width:22px!important}
.sidebar #sidebar-nav .nav .nav-label{display:inline!important;color:inherit!important}
.sidebar #sidebar-nav .nav:hover{background:#203850!important;color:white!important}
.sidebar #sidebar-nav .nav.active{color:#fff!important;background:#1e4775!important;border-color:#336293!important;box-shadow:inset 3px 0 #66b4ff!important}
.sidebar-bottom-controls{margin-top:auto!important}.sidebar-system-btn{color:#b7c9dc!important}
main{padding:0 28px 45px!important;max-width:none!important;width:100%;min-width:0;background:#f3f6fa!important}
.topbar{position:sticky!important;top:0;z-index:12;max-width:none!important;margin:0 -28px 18px!important;padding:19px 30px!important;border-bottom:1px solid #dce4ed!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(14px)!important;display:flex!important;align-items:center!important;gap:16px}
.topbar h1{font-size:27px!important;color:#17283a!important;line-height:1.1}.topbar .eyebrow{font-size:10px!important;color:#58738f!important}.page-subtitle{color:#60758b!important;font-size:12px!important}.top-actions{color:#70849a!important;flex-wrap:wrap}.top-actions .action{background:#fff!important;border-color:#cbd7e5!important;color:#25425f!important;box-shadow:none!important}.top-actions .oc-command-trigger{background:#edf4fc!important;color:#1758aa!important}
.oc-operator-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;background:white;border:1px solid #dae4ef;border-radius:12px;padding:13px 17px;margin:0 0 15px;box-shadow:var(--shadow)}
.oc-operator-workspace{display:flex;gap:7px;flex-direction:column;flex:0 0 auto}.oc-workspace-label{font-size:9px;color:#698099;font-weight:800;letter-spacing:.12em}.oc-operator-workspace strong{font-size:16px;color:#1a2b40}.oc-operator-workspace #oc-operator-workspace-hint{font-size:11px;color:#667d94}
.oc-operator-workflow{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.oc-workflow-action{background:#f2f6fb;border:1px solid #d8e3ef;border-radius:8px;color:#245582;padding:8px 11px;font-size:12px;cursor:pointer;font-weight:650}.oc-workflow-action:hover{background:#e5f0fb;border-color:#94badf}
.oc-workflow-action.primary{background:#175ec2;border-color:#175ec2;color:#fff}
.oc-workspace-readiness,.oc-workspace-guide,.oc-workspace-guide-detail{background:#f8fafc!important;color:#5f7388!important;border-color:#e0e6ed!important;border-radius:10px!important;box-shadow:none!important}.oc-workspace-guide{display:none!important}
.context-nav{max-width:none!important;margin:0 0 15px!important;padding:0 0 10px!important;border-bottom:1px solid #dae4ec!important}.context-tab{background:#fff!important;border:1px solid #dce5ef!important;color:#63758b!important;font-size:12px!important;padding:9px 12px!important}.context-tab.active{background:#e6f0fd!important;border-color:#9abde9!important;color:#175db7!important}
.view{padding:0!important;max-width:none!important}.view > .panel,.panel,.card,.node-card,.settings-card{background:#fff!important;border:1px solid #dce4ed!important;border-radius:12px!important;box-shadow:0 1px 3px rgba(18,38,62,.04)!important;color:#19293d!important}
.panel{padding:19px!important}.panel h2,.panel h3,.panel-head h2{color:#1e3249!important}.panel-head p,.muted,.panel p,.card-sub{color:#687c91}.panel-head{gap:12px}.eyebrow{color:#47739d!important}
button.action,button.text-button,.action,.text-button{background:#f4f7fb!important;color:#245681!important;border:1px solid #d3deea!important;border-radius:8px!important;box-shadow:none!important}.action.primary,button.action.primary{background:#175ec2!important;border-color:#175ec2!important;color:#fff!important}.action.danger{color:#b62f42!important;background:#fff5f5!important;border-color:#f1c8ce!important}.text-button{background:transparent!important;border:0!important;color:#165dad!important}
input:not([type=checkbox]):not([type=radio]),select,textarea,.panel input,.panel select,.settings-card input:not([type=checkbox]),.settings-card select,.settings-card textarea{background:#fff!important;color:#1a2b3e!important;border:1px solid #cfdbe7!important;border-radius:8px!important;min-height:36px;max-width:100%}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,[role=button]:focus-visible{outline:3px solid rgba(33,111,211,.32)!important;outline-offset:2px!important}
input::placeholder,textarea::placeholder{color:#8a9bae!important}
.table-wrap{background:#fff;max-width:100%;overflow-x:auto;border-radius:9px;border:1px solid #e1e8f0}.table-wrap table{margin:0!important;background:#fff!important;min-width:650px;font-size:12px}table th{background:#f5f8fc!important;color:#58738d!important;font-size:10px!important;letter-spacing:.06em!important;position:sticky;top:0;z-index:1;border-bottom:1px solid #dce5ee!important}table td{color:#294059!important;border-bottom:1px solid #edf1f5!important;vertical-align:middle}table tbody tr:hover td{background:#f2f7fc!important}table tr:last-child td{border-bottom:0!important}
.card-label,.core-stat span{color:#66809a!important}.card-value,.core-stat strong{color:#1b3450!important}.card,.core-stat{background:#fff!important}.health-strip{background:#eaf6ef!important;border-color:#b9e0c9!important}.health-strip.warn{background:#fff8ea!important;border-color:#efddb0!important}.health-strip.bad{background:#fff1f1!important;border-color:#edc3c4!important}.health-main{color:#25435d}.health-sub{color:#60778d}
.status{background:#eef3f8!important;color:#446078!important;border:1px solid #dae4ed!important}.status.good{color:#157257!important;background:#e9f7f0!important}.status.bad{color:#b23441!important;background:#fff0f1!important}.status.warn{color:#9e691b!important;background:#fff6e6!important}
.customer-item,.customer-summary .metric,.inline-form,.inventory-sidebar{background:#fff!important;color:#24405d!important;border-color:#dce5ee!important}.customer-item.active{background:#eaf3ff!important;color:#1459b3!important;border-color:#89b9eb!important}.inventory-layout .panel{background:#fff!important;color:var(--text)!important}.inventory-layout input,.inventory-layout select,.inventory-layout textarea{background:#fff!important;color:#142b43!important;border-color:#cad8e6!important}
.inventory-tab.active,.customer-tab.active{color:#175ec2!important;border-bottom-color:#175ec2!important}.tabs{border-bottom-color:#dce5ee!important}
.oc-workspace-guide-detail,.notice-inline{color:#45617c!important;background:#f4f8fc!important;border:1px solid #d9e7f3!important}
.api-issues{background:#fff1f1!important;color:#aa3040!important;border-color:#eabac1!important}.empty{color:#70859a!important}
.modal-card,.oc-dialog-card{background:#fff!important;color:#172b42!important;border-color:#d1dfeb!important}.modal-backdrop,.oc-dialog-backdrop{background:rgba(12,27,44,.58)!important}.modal-card h2,.oc-dialog-card h2{color:#182f49!important}
.dashboard-primary-grid,.dashboard-secondary-grid,.analytics-charts,.grid{gap:15px!important}.operator-action-centre{border-left:4px solid #2774cf!important}.operator-shortcuts button{background:#edf4fd!important;color:#195aab!important;border-color:#caddef!important}
@media(max-width:1100px){.shell{grid-template-columns:225px minmax(0,1fr)!important}.sidebar{padding:17px 9px!important}.topbar{position:relative!important}.oc-operator-toolbar{align-items:flex-start;flex-direction:column}.oc-operator-workflow{justify-content:flex-start}}
@media(max-width:780px){.shell{display:block!important}.sidebar{position:relative!important;width:100%!important;height:auto!important;max-height:225px;overflow-y:auto!important}.sidebar #sidebar-nav{display:flex!important;flex-wrap:nowrap;gap:4px!important;overflow-x:auto!important}.sidebar .nav-compact-heading{display:none!important}.sidebar #sidebar-nav .nav{flex:0 0 auto!important;width:auto!important}.sidebar #sidebar-nav .nav .nav-label{display:inline!important}.sidebar-bottom-controls{display:none!important}.brand-live{margin:0 8px 9px!important}main{padding:0 13px 24px!important}.topbar{margin:0 -13px 13px!important;padding:17px!important}.top-actions{width:100%}.topbar{flex-wrap:wrap!important}.oc-operator-toolbar{padding:12px}.panel{padding:14px!important}.node-grid{grid-template-columns:1fr!important}}
