/* OC-Core .28 | Unified cross-application component layer. Safe visual/interaction styles only. */
:root { --oc28-bg:#f4f6f6; --oc28-panel:#fff; --oc28-ink:#202c31; --oc28-muted:#64747a; --oc28-line:#dfe6e8; --oc28-radius:12px; --oc28-accent:#286a60; }
body{background:var(--oc28-bg);color:var(--oc28-ink);}
.view{min-width:0;max-width:1420px;margin-left:auto;margin-right:auto;}
.view.active{animation:oc28-view-enter .12s ease-out;}@keyframes oc28-view-enter{from{opacity:.85}to{opacity:1}}
.view .oc22-workspace-rail{margin:0 0 14px!important;padding:10px 12px!important;box-shadow:none!important;}
/* Unified panels across all 21 page views without modifying their data containers. */
.view .panel,.view .customer-workspace-main,.view .customer-directory,.view .settings-card,.view .desk-card,.view .oc19-panel,.view .billing-command,.view .oc25-centre{border-radius:var(--oc28-radius);box-shadow:none;}
.view .panel{border:1px solid var(--oc28-line);background:var(--oc28-panel);margin-bottom:16px;}
.view .panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;}
.view .panel-head h2,.view .panel-head h3{line-height:1.25;letter-spacing:-.015em;}
.view .panel-head p{max-width:720px;line-height:1.5;color:var(--oc28-muted);}
.view .notice-inline{line-height:1.55;overflow-wrap:anywhere;}
.view .table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:9px;}
.view .table-wrap table{width:100%;border-collapse:separate;border-spacing:0;}
.view table th{position:relative;white-space:nowrap;letter-spacing:.025em;}
.view table td{vertical-align:middle;overflow-wrap:anywhere;}
.view table tr:hover td{background-color:rgba(34,100,91,.035);}
.view button,.view select,.view input,.view textarea{font-family:inherit;}
.view button{cursor:pointer;}
.view button:disabled{cursor:not-allowed;opacity:.58;}
.view input:not([type=checkbox]):not([type=radio]),.view select,.view textarea{max-width:100%;box-sizing:border-box;}
.view :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #65a7a0;outline-offset:2px;}
.view .action,.view .oc22-rail-button,.view .workspace-tab,.view .settings-nav button{transition:background-color .12s ease,border-color .12s ease;}
.view .form-grid{min-width:0;}
.view .form-grid>*{min-width:0;}
.view details>summary{cursor:pointer;}
.view details>summary:focus-visible{outline:3px solid #65a7a0;outline-offset:2px;}
.view .empty{padding:22px 16px;line-height:1.55;color:var(--oc28-muted);}
.view .status{white-space:normal;}
/* Customer landing: one directory, one customer detail, one compact expandable investigation block. */
#view-customers .oc27-customer-header{padding:17px 20px;}
#view-customers .oc27-customer-header h2{font-size:21px;}
#view-customers .customer-workspace{align-items:stretch;gap:16px;}
#view-customers .customer-directory{min-width:250px;}
#view-customers .customer-workspace-main{min-width:0;}
#view-customers .customer-list{max-height:68vh;}
#view-customers .oc27-inventory-detail{margin-bottom:12px;}
#view-customers .unassigned-drawer{margin-top:12px;}
/* Business-critical multi-tab screens: predictable row scrolling for narrow windows. */
#view-revenue .workspace-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;}
#view-revenue .workspace-tab{flex-shrink:0;white-space:nowrap;}
#view-settings .settings-layout{min-width:0;}
#view-settings .settings-nav{min-width:190px;}
#view-settings .settings-content{min-width:0;}
#view-settings .settings-category .panel{min-width:0;}
/* Operations views: promote evidence tables rather than nested decorative containers. */
#view-calls .table-wrap,#view-endpoints .table-wrap,#view-trunks .table-wrap,#view-logs .table-wrap,#view-incidents .table-wrap{background:#fff;}
#view-payments .oc19-head,#view-revenue .billing-command-head{gap:12px;flex-wrap:wrap;}
#view-overview .oc25-centre{overflow:hidden;}
/* Footer notices should never overpower the task itself. */
#view-overview .oc25-footer{font-size:12px;}
@media(max-width:1100px){#view-settings .settings-layout{display:block;}#view-settings .settings-nav{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;width:100%;}#view-settings .settings-nav button{flex:1 1 150px;min-width:135px;}#view-customers .customer-workspace{display:grid;grid-template-columns:minmax(240px,32%) minmax(0,1fr);}}
@media(max-width:760px){.view .panel-head{align-items:stretch}.view .panel-head .action{max-width:100%}#view-customers .customer-workspace{display:flex;flex-direction:column;}#view-customers .customer-directory{width:100%;min-width:0;}#view-customers .customer-list{max-height:320px;}#view-customers .oc27-customer-header{gap:12px;padding:14px;}#view-settings .settings-nav button{min-width:130px}#view-overview .oc25-toolbar{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;}#view-overview .oc25-toolbar button{flex:none;white-space:nowrap;}}
@media(prefers-reduced-motion:reduce){.view.active{animation:none}.view *{scroll-behavior:auto!important;transition:none!important}}
