/* OpsControl approved canonical reference layer — 2026-09-19 */
:root{
  --ref-navy:#061a33;--ref-navy2:#0a2342;--ref-blue:#087cf0;--ref-cyan:#0bb2f2;
  --ref-bg:#f4f7fb;--ref-card:#fff;--ref-line:#dce6f0;--ref-text:#0b1d3a;--ref-muted:#667792;
  --ref-green:#13a05a;--ref-amber:#f2a311;--ref-red:#e4473f;--ref-purple:#7356d9;
  --ref-sidebar:230px;--ref-topbar:70px;--ref-radius:10px;
  --ref-shadow:0 6px 18px rgba(7,31,61,.06);
}
html,body{background:var(--ref-bg)!important;color:var(--ref-text)!important;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}
body{overflow-x:hidden}
h1,h2,h3,h4{font-family:inherit!important;color:var(--ref-text)!important;letter-spacing:-.025em!important}
h1{font-size:27px!important}h2{font-size:19px!important}h3{font-size:15px!important}
.main>.screen{display:none!important;position:static!important;inset:auto!important;transform:none!important;min-height:0!important;height:auto!important;margin:0!important}
.main>.screen.active{display:block!important}
.card,.stat,.oc-today-card,.oc-officer-panel,.oc-client-overview-card,.oc-finance-stat{background:#fff!important;border:1px solid var(--ref-line)!important;border-radius:var(--ref-radius)!important;box-shadow:var(--ref-shadow)!important}
.btn{border-radius:7px!important;font-weight:750!important;box-shadow:none!important}.btn-primary{background:linear-gradient(180deg,#1687f8,#066fe8)!important;color:#fff!important}.btn-outline{background:#fff!important;border:1px solid #cfdbe7!important;color:#173252!important}
.status{font-size:10px!important;padding:4px 7px!important}input,select,textarea{border:1px solid #cad7e4!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important}
input:focus,select:focus,textarea:focus{border-color:#67b9ff!important;outline:3px solid rgba(8,124,240,.12)!important}
@media(min-width:821px){
  .app{min-height:100vh!important}
  .topbar{position:sticky!important;top:0!important;z-index:70!important;margin-left:var(--ref-sidebar)!important;width:calc(100% - var(--ref-sidebar))!important;min-height:var(--ref-topbar)!important;height:var(--ref-topbar)!important;padding:9px 20px!important;background:#fff!important;border-bottom:1px solid var(--ref-line)!important;box-shadow:0 1px 0 rgba(5,28,55,.02)!important}
  .topbar>div:first-of-type{display:none!important}.shell{display:block!important;min-height:0!important}
  .sidebar{display:block!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:var(--ref-sidebar)!important;height:100vh!important;padding:0!important;overflow:auto!important;z-index:80!important;background:linear-gradient(180deg,#05172c 0%,#071d37 100%)!important;border-right:1px solid rgba(255,255,255,.05)!important}
  .main{margin-left:var(--ref-sidebar)!important;width:calc(100% - var(--ref-sidebar))!important;max-width:none!important;padding:16px 18px 36px!important}
}
.topbar{gap:12px!important}.workspace-topbar{margin-left:auto!important;gap:8px!important}.workspace-switch{border:1px solid var(--ref-line)!important;border-radius:10px!important;min-height:48px!important;background:#fff!important;padding:6px 10px!important}
.workspace-switch-label{font-size:8px!important;letter-spacing:.11em!important}.workspace-switch-name{font-size:11px!important}.tenant-portal-name{font-size:9px!important}.role-pill{font-size:10px!important;padding:6px 9px!important}
.oc-search{width:min(370px,32vw)!important}.oc-search input{height:38px!important;min-height:38px!important;border-radius:9px!important;font-size:11px!important}.oc-icon-btn{width:38px!important;height:38px!important;min-height:38px!important;border-radius:9px!important}
.oc-ref-sidebrand{padding:17px 14px 10px}.oc-ref-logo{display:flex;align-items:center;gap:9px;color:#fff}.oc-ref-mark{width:26px;height:26px;border:5px solid #04aef2;transform:rotate(30deg);border-radius:4px;flex:0 0 auto}
.oc-ref-wordmark{font-size:17px;font-weight:850;letter-spacing:-.02em}.oc-ref-wordmark span{color:#18aef1}.oc-ref-tagline{font-size:6px;letter-spacing:.21em;color:#9cb2c9;font-weight:800;margin-top:2px}
.oc-ref-tenant{margin:8px 11px 12px;padding:8px;border-radius:8px;border:1px solid rgba(255,255,255,.18);background:#fff;display:flex;align-items:center;gap:8px;color:#10223d}.oc-ref-tenant-logo{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;background:#f3f6f9;color:#15304e;font-size:9px;font-weight:900;overflow:hidden}
.oc-ref-tenant-logo img{width:100%;height:100%;object-fit:contain}.oc-ref-tenant-copy{min-width:0}.oc-ref-tenant-copy small{display:block;font-size:7px;text-transform:uppercase;letter-spacing:.1em;color:#7b8795;font-weight:850}.oc-ref-tenant-copy b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oc-ref-tenant-copy span{display:block;font-size:8px;color:#718096;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oc-ref-nav{padding:0 8px 90px}.oc-ref-group{margin:6px 0 10px}.oc-ref-group-title{padding:6px 8px 4px;font-size:8px;text-transform:uppercase;letter-spacing:.13em;color:#6f89a5;font-weight:850}
.sidebar .oc-ref-nav button{width:100%!important;min-height:36px!important;margin:1px 0!important;border:0!important;border-radius:6px!important;padding:8px 9px!important;background:transparent!important;color:#d7e2ef!important;font-size:10px!important;font-weight:650!important;display:flex!important;align-items:center!important;gap:8px!important;text-align:left!important}
.sidebar .oc-ref-nav button:hover{background:rgba(255,255,255,.075)!important;color:#fff!important}.sidebar .oc-ref-nav button.active{background:#0b416d!important;color:#fff!important;box-shadow:inset 3px 0 0 #09aff1!important}.oc-ref-nav-icon{width:18px;height:18px;display:grid;place-items:center;color:#9fcbea;font-size:11px;flex:0 0 auto}
.oc-ref-footer{position:absolute;left:0;right:0;bottom:0;padding:10px 12px;border-top:1px solid rgba(255,255,255,.08);background:#061a31;color:#a7bbd1;font-size:9px}.oc-ref-footer-row{display:flex;align-items:center;gap:8px;padding:5px 2px}.oc-ref-avatar{width:28px;height:28px;border-radius:50%;background:#eef6ff;color:#0a5eaa;display:grid;place-items:center;font-weight:850}
.login-wrap{background:#eef3f8!important;padding:26px!important;display:grid;grid-template-columns:360px 430px!important;place-content:center!important;align-items:stretch!important;min-height:100vh!important}
.oc-login-scene{position:relative;overflow:hidden;border-radius:14px 0 0 14px;background:radial-gradient(circle at 78% 22%,rgba(10,177,242,.18),transparent 30%),linear-gradient(160deg,#06172d 0%,#0b2848 55%,#071a30 100%);padding:42px 34px;color:#fff;min-height:560px;box-shadow:0 20px 50px rgba(10,31,54,.16)}
.oc-login-scene:after{content:"";position:absolute;left:-8%;right:-8%;bottom:-24px;height:180px;background:linear-gradient(110deg,transparent 0 9%,rgba(255,255,255,.05) 9.5% 10%,transparent 10.5% 18%,rgba(255,255,255,.04) 18.5% 19%,transparent 19.5% 100%),linear-gradient(0deg,rgba(0,0,0,.28),rgba(0,0,0,0));clip-path:polygon(0 72%,8% 55%,14% 68%,21% 39%,28% 64%,35% 49%,43% 62%,49% 35%,55% 58%,64% 47%,71% 66%,78% 42%,85% 60%,91% 45%,100% 67%,100% 100%,0 100%)}
.oc-login-brand{position:relative;z-index:1;margin-bottom:48px}.oc-login-brand .oc-ref-mark{width:32px;height:32px}.oc-login-brand .oc-ref-wordmark{font-size:22px}.oc-login-scene h2{position:relative;z-index:1;color:#fff!important;font-size:20px!important;line-height:1.35;margin:0 0 24px}.oc-login-features{position:relative;z-index:1;display:grid;gap:16px;margin-top:34px}
.oc-login-feature{display:flex;gap:10px;align-items:center;font-size:11px;color:#d6e7f6}.oc-login-feature i{width:22px;height:22px;border:2px solid #09aff1;border-radius:50%;display:grid;place-items:center;color:#09aff1;font-style:normal;font-size:10px}.oc-login-foot{position:absolute;z-index:1;left:34px;right:34px;bottom:30px;font-size:9px;color:#9db4ca}
.login-card{width:auto!important;max-width:none!important;margin:0!important;border-radius:0 14px 14px 0!important;box-shadow:0 20px 50px rgba(10,31,54,.16)!important;padding:42px 42px!important;min-height:560px!important;display:flex;flex-direction:column;justify-content:center}.login-card .opscontrol-brand{margin-bottom:26px!important}.login-card h1{font-size:22px!important;margin:0 0 4px!important}.login-card .field{margin:10px 0!important}.login-card label{font-size:10px!important}.login-card input{min-height:40px!important;font-size:11px!important}.login-card .actions{display:grid!important;grid-template-columns:1fr!important;margin-top:14px!important}.login-card .actions .btn{width:100%!important}#loginCard .tiny.muted{font-size:9px!important}

#manager-employees{padding:0!important}.oc-workforce-head{padding:2px 2px 7px!important;margin:0!important;align-items:center!important}.oc-workforce-head h1{font-size:25px!important}.oc-workforce-head p{font-size:10px!important}.oc-workforce-tabs{margin:0 -18px 10px!important;padding:0 18px!important;background:#fff!important;border-top:1px solid var(--ref-line)!important;border-bottom:1px solid var(--ref-line)!important}.oc-workforce-tab{font-size:10px!important;padding:10px 12px!important;min-height:39px!important}.oc-workforce-hint{margin:0 0 10px!important;padding:8px 10px!important;border-radius:7px!important;font-size:9px!important}
.oc-workforce-layout{grid-template-columns:minmax(0,1fr) 282px!important;gap:12px!important}.oc-common-title,.oc-actions-title{font-size:11px!important;margin-bottom:7px!important}.oc-common-grid{grid-template-columns:repeat(5,minmax(105px,1fr))!important;gap:7px!important;margin-bottom:10px!important}.oc-task-card{min-height:103px!important;padding:10px!important;border-radius:8px!important;gap:4px!important}.oc-task-card .oc-task-icon{width:30px!important;height:30px!important;font-size:14px!important}.oc-task-card b{font-size:10px!important}.oc-task-card span{font-size:8px!important}
.oc-officer-panel{border-radius:8px!important}.oc-officer-toolbar{padding:8px 9px!important}.oc-toolbar-top{margin:0!important}.oc-toolbar-top h2{font-size:13px!important}.oc-filter-chip{font-size:8px!important;padding:5px 7px!important}.oc-officer-search{width:180px!important}.oc-officer-search input{font-size:9px!important;height:30px!important;min-height:30px!important}.oc-workforce-table{font-size:9px!important;min-width:650px!important}.oc-workforce-table th{font-size:7px!important;padding:7px 8px!important}.oc-workforce-table td{padding:7px 8px!important}.oc-workforce-person b{font-size:9px!important}.oc-workforce-person small{font-size:7px!important}.oc-workforce-person .employee-avatar{width:26px!important;height:26px!important}
.oc-today-card{border-radius:8px!important}.oc-today-head{padding:9px 10px!important}.oc-today-head b{font-size:11px!important}.oc-today-head span{font-size:8px!important}.oc-action-row{grid-template-columns:20px 22px 1fr 12px!important;padding:8px 9px!important;font-size:9px!important}.oc-action-dot{width:19px!important;height:19px!important;font-size:8px!important}
#manager-dashboard.oc-ref-control-room .oc-ops-header{margin-bottom:7px!important}#manager-dashboard.oc-ref-control-room .oc-ops-header h1{font-size:25px!important}#manager-dashboard.oc-ref-control-room .oc-ops-header p{font-size:9px!important}#manager-dashboard.oc-ref-control-room>.oc-ops-tabs{margin:0 0 9px!important;border-radius:7px!important;padding:4px 5px!important}#manager-dashboard.oc-ref-control-room>.oc-ops-tabs button{font-size:8px!important;min-height:30px!important;padding:6px 9px!important}
#manager-dashboard.oc-ref-control-room>div:not(.oc-ops-header):not(.oc-ops-tabs):first-of-type{display:none!important}#manager-dashboard.oc-ref-control-room>.grid.grid-4{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important;margin:0 0 9px!important}#manager-dashboard.oc-ref-control-room>.grid.grid-4 .stat{display:none!important;min-height:76px!important;padding:10px!important;font-size:9px!important;position:relative;overflow:hidden}#manager-dashboard.oc-ref-control-room>.grid.grid-4 .stat:nth-child(-n+4){display:block!important}#manager-dashboard.oc-ref-control-room>.grid.grid-4 .stat b{font-size:20px!important;margin-top:5px!important}.dashboard-open-hint{font-size:7px!important}#manager-dashboard.oc-ref-control-room>.oc-live-strip{display:none!important}
.oc-ref-livegrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.78fr);gap:9px;margin:0 0 9px}.oc-ref-panel{background:#fff;border:1px solid var(--ref-line);border-radius:8px;box-shadow:var(--ref-shadow);overflow:hidden}.oc-ref-panel-head{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;border-bottom:1px solid #e9eef4}.oc-ref-panel-head b{font-size:11px}.oc-ref-panel-head a,.oc-ref-panel-head button{font-size:8px;color:#0878d8;border:0;background:transparent;font-weight:800}
.oc-ref-map{height:225px;position:relative;overflow:hidden;background:linear-gradient(rgba(255,255,255,.65),rgba(255,255,255,.65)),repeating-linear-gradient(25deg,#dcebe1 0 18px,#edf3ec 18px 34px),repeating-linear-gradient(115deg,transparent 0 36px,rgba(94,156,201,.14) 36px 39px,transparent 39px 74px)}.oc-ref-map:before,.oc-ref-map:after{content:"";position:absolute;border-radius:50%;background:#137deb;border:4px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.2)}.oc-ref-map:before{width:10px;height:10px;left:43%;top:44%}.oc-ref-map:after{width:10px;height:10px;left:68%;top:28%;background:#14a05a}.oc-ref-map-label{position:absolute;left:10px;bottom:10px;padding:5px 7px;border-radius:5px;background:rgba(255,255,255,.9);font-size:8px;font-weight:750;color:#334b67}.oc-ref-map-pin{position:absolute;width:12px;height:12px;border-radius:50%;background:#e43d38;border:4px solid #fff;box-shadow:0 1px 6px rgba(0,0,0,.18);left:56%;top:58%}
.oc-ref-activity{padding:3px 10px}.oc-ref-activity-row{display:grid;grid-template-columns:38px 10px 1fr;gap:7px;align-items:start;padding:8px 0;border-bottom:1px solid #edf1f5;font-size:8px}.oc-ref-activity-row:last-child{border-bottom:0}.oc-ref-time{color:#607692;font-weight:800}.oc-ref-dot{width:8px;height:8px;border-radius:50%;background:#1979df;margin-top:2px}.oc-ref-activity-row:nth-child(3n) .oc-ref-dot{background:#e33f38}.oc-ref-activity-row:nth-child(4n) .oc-ref-dot{background:#17a15b}.oc-ref-activity-row b{display:block;font-size:9px}.oc-ref-activity-row span{color:#6a7b91}
.oc-ref-bottomgrid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.oc-ref-coverage{padding:10px}.oc-ref-coverage-bar{height:8px;border-radius:99px;overflow:hidden;display:flex;background:#eaf0f5;margin:8px 0}.oc-ref-coverage-bar i{display:block;height:100%}.oc-ref-coverage-bar i:nth-child(1){width:72%;background:#20b26b}.oc-ref-coverage-bar i:nth-child(2){width:17%;background:#f1aa24}.oc-ref-coverage-bar i:nth-child(3){width:11%;background:#e64b48}.oc-ref-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:8px;color:#60728b}.oc-ref-alertchips{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px}.oc-ref-alertchip{border:1px solid #e4eaf1;border-radius:7px;padding:8px;font-size:8px}.oc-ref-alertchip b{display:block;font-size:9px;margin-bottom:2px}#manager-dashboard.oc-ref-control-room>.grid.grid-2{display:none!important}
#client-portal{padding:0!important}.oc-client-canonical .client-portal-hero,.oc-client-canonical .client-context-bar{display:none!important}.oc-client-tabs{position:static!important;margin:0 -18px 9px!important;padding:0 18px!important;border-radius:0!important;border-width:1px 0!important;box-shadow:none!important;background:#fff!important}.oc-client-tabs button{font-size:8px!important;min-height:36px!important;padding:8px 10px!important}.oc-client-canonical:before{content:"Client Portal";display:block;font-size:24px;font-weight:850;letter-spacing:-.03em;margin:2px 0 1px}.oc-client-canonical:after{content:"Your security services, performance and reports.";display:block;color:#6b7d94;font-size:9px;margin-bottom:10px}#ocClientOverview{display:none!important}.oc-ref-client-dashboard{display:none}.oc-ref-client-dashboard.active{display:block}.oc-ref-client-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:9px}.oc-ref-client-kpi{background:#fff;border:1px solid var(--ref-line);border-radius:8px;padding:10px;box-shadow:var(--ref-shadow);font-size:8px;color:#6c7e95}.oc-ref-client-kpi b{display:block;font-size:19px;color:#0b1d3a;margin:4px 0 1px}
.oc-ref-client-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:9px}.oc-ref-chart{padding:12px;height:260px}.oc-ref-chart-area{height:190px;display:flex;align-items:flex-end;justify-content:space-around;border-left:1px solid #dce5ee;border-bottom:1px solid #dce5ee;padding:10px 16px 0;gap:18px}.oc-ref-chart-month{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:7px;position:relative}.oc-ref-chart-month:after{content:attr(data-month);position:absolute;bottom:-24px;font-size:8px;color:#697b90}.oc-ref-bar{width:18px;border-radius:2px 2px 0 0;background:#9ecbff}.oc-ref-bar.worked{background:#1269d3}.oc-ref-reports{padding:4px 10px}.oc-ref-report{display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5}.oc-ref-report:last-child{border:0}.oc-ref-report-icon{width:22px;height:22px;border-radius:7px;background:#fff3db;color:#d18a00;display:grid;place-items:center;font-size:10px}.oc-ref-report b{display:block;font-size:9px}.oc-ref-report small{font-size:7px;color:#6e7f94}.oc-ref-report button{border:0;background:transparent;color:#0878d8;font-size:8px;font-weight:800}
@media(max-width:560px){
 body.officer-mode{background:#f3f7fb!important}body.officer-mode .topbar{display:flex!important;position:sticky!important;top:0!important;height:54px!important;min-height:54px!important;padding:7px 12px!important;background:#fff!important;border-bottom:1px solid #e1e8f0!important}body.officer-mode .topbar>div:first-of-type{display:flex!important}body.officer-mode .topbar .mobile-menu-button{display:none!important}body.officer-mode .topbar .opscontrol-brand.compact{display:flex!important;min-width:120px!important}body.officer-mode .topbar .opscontrol-brand.compact::before{width:118px!important;height:34px!important}body.officer-mode .workspace-topbar .workspace-switch-copy,body.officer-mode .workspace-topbar .role-pill,body.officer-mode .workspace-topbar>.btn{display:none!important}body.officer-mode .workspace-switch{border:0!important;padding:0!important;min-height:34px!important;background:transparent!important}body.officer-mode .shell{display:block!important;min-height:0!important}body.officer-mode .sidebar{display:none!important}body.officer-mode .main{margin:0!important;width:100%!important;padding:10px 8px 76px!important;min-height:0!important}body.officer-mode .oc-ops-tabs{display:none!important}body.officer-mode .main>.screen.active{margin:0!important;padding-top:0!important}
 #officer-shifts.oc-officer-canonical>div:first-child{display:none!important}.oc-officer-focus{background:#e9f8ee!important;color:#173c2a!important;border:1px solid #cbeed8!important;border-radius:9px!important;padding:11px 12px!important;margin:0 0 8px!important;box-shadow:none!important}.oc-officer-focus .oc-kicker{color:#40805b!important;font-size:7px!important}.oc-officer-focus h2{color:#163829!important;font-size:14px!important;margin:2px 0!important}.oc-officer-focus p{color:#527363!important;font-size:8px!important}.oc-officer-focus-meta{margin-top:6px!important}.oc-officer-focus-actions{display:flex!important;min-width:0!important}.oc-officer-focus-actions .btn{min-height:30px!important;padding:6px 8px!important;font-size:8px!important}.oc-ref-officer-greet{margin:2px 3px 8px}.oc-ref-officer-greet small{display:block;font-size:8px;color:#64758b}.oc-ref-officer-greet b{display:block;font-size:17px}.oc-ref-officer-quick{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px}.oc-ref-officer-quick button{min-height:46px;border:1px solid #dbe5ef;background:#fff;border-radius:8px;font-size:8px;font-weight:800;color:#183555;display:flex;align-items:center;gap:7px;padding:8px}.oc-ref-officer-quick i{width:20px;height:20px;border-radius:6px;background:#eaf4ff;color:#0878d8;display:grid;place-items:center;font-style:normal}
 .officer-view-toolbar{border-radius:8px!important;padding:6px!important;margin:0 0 7px!important}.view-toggle button{font-size:9px!important;padding:7px 8px!important}.officer-week-label{font-size:10px!important;min-width:150px!important}.officer-calendar-day{min-height:0!important;padding:0!important}.officer-calendar-day-head{padding:8px!important}.officer-calendar-day .day-name{font-size:9px!important}.officer-calendar-day .day-date{font-size:8px!important}.officer-calendar-empty{font-size:8px!important}.officer-calendar-shift{font-size:8px!important}.oc-officer-bottom-nav{height:58px!important;padding:4px 5px max(4px,env(safe-area-inset-bottom))!important}.oc-officer-bottom-nav button{font-size:7px!important}.oc-officer-bottom-nav button span{font-size:14px!important}
}
@media(max-width:1180px) and (min-width:821px){:root{--ref-sidebar:210px}.oc-common-grid{grid-template-columns:repeat(3,1fr)!important}.oc-workforce-layout{grid-template-columns:1fr!important}.oc-ref-client-grid,.oc-ref-livegrid{grid-template-columns:1fr!important}}
@media(max-width:820px){.login-wrap{grid-template-columns:minmax(0,430px)!important;padding:12px!important}.oc-login-scene{display:none!important}.login-card{border-radius:14px!important;min-height:auto!important;padding:28px 22px!important}.topbar{margin:0!important;width:100%!important}.main{margin:0!important;width:100%!important}.oc-workforce-layout{grid-template-columns:1fr!important}.oc-common-grid{grid-template-columns:1fr 1fr!important}.oc-ref-client-kpis{grid-template-columns:1fr 1fr}.oc-ref-client-grid,.oc-ref-livegrid,.oc-ref-bottomgrid{grid-template-columns:1fr}}


/* Reference cleanup: remove legacy duplicate shells that sit behind the approved layouts */
.oc-ops-tabs{display:none!important}
body[data-oc-screen="manager-employees"] .oc-ops-header,
body[data-oc-screen="client-portal"] .oc-ops-header{display:none!important}
#manager-dashboard.oc-ref-control-room > .oc-ops-tabs + div:not(.grid){display:none!important}
#manager-employees #opsControlRoomLite{display:none!important}
#manager-employees > .oc-legacy-heading{display:none!important}

/* Client Portal approved heading and compact first viewport */
#client-portal .oc-ref-client-head{margin:0 0 10px;padding:0}
#client-portal .oc-ref-client-head h1{margin:0 0 3px!important;font-size:24px!important;line-height:1.15!important}
#client-portal .oc-ref-client-head p{margin:0;color:#718097;font-size:10px}
body[data-oc-screen="client-portal"] #client-portal{padding-top:0!important}
body[data-oc-screen="client-portal"] #client-portal>.oc-ops-tabs,
body[data-oc-screen="client-portal"] #client-portal>.oc-ops-header{display:none!important}
#client-portal .oc-client-tabs{margin:0 0 10px!important}
#client-portal #ocRefClientDashboard{margin-top:0!important}
#client-portal #clientPortalSummary,
#client-portal #clientPortalPreviewControls{margin-top:10px!important}

/* Client role navigation mirrors the approved portal information architecture */
.oc-ref-client-nav button{width:100%;border:0;background:transparent;color:#d9e6f3;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 11px;border-radius:7px;font-size:11px;font-weight:700}
.oc-ref-client-nav button:hover,.oc-ref-client-nav button.active{background:#0c4d7e;color:#fff}
.oc-ref-client-nav button i{font-style:normal;width:17px;color:#8fd4fb;text-align:center}

/* Final parity clean-up: keep the approved screen composition as the only visible layer. */
#manager-dashboard.oc-ref-control-room > .oc-ops-tabs + div:not(.grid){display:none!important}
#client-portal #ocRefClientDashboard.active ~ .card,
#client-portal #ocRefClientDashboard.active ~ #clientPortalSummary,
#client-portal #ocRefClientDashboard.active ~ .client-report-grid{display:none!important}


/* Sidebar proportion and page-geometry correction — user review 2026-09-19 */
:root{--ref-sidebar:218px}

/* Reserve the sidebar footprint in the desktop layout. Border-box prevents the
   main/topbar padding from making the application wider than the viewport. */
@media(min-width:821px){
  .app,.shell,.topbar,.sidebar,.main{box-sizing:border-box!important}
  .shell{
    display:grid!important;
    grid-template-columns:var(--ref-sidebar) minmax(0,1fr)!important;
    width:100%!important;
    max-width:100vw!important;
    overflow:visible!important;
  }
  .sidebar{
    grid-column:1!important;
    display:flex!important;
    flex-direction:column!important;
    width:var(--ref-sidebar)!important;
    overflow:hidden!important;
  }
  .main{
    grid-column:2!important;
    margin-left:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }
  .topbar{
    margin-left:var(--ref-sidebar)!important;
    width:calc(100% - var(--ref-sidebar))!important;
    max-width:calc(100vw - var(--ref-sidebar))!important;
    box-sizing:border-box!important;
  }

  /* Keep the footer from sitting on top of navigation items. */
  .oc-ref-nav{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 9px 12px!important;
  }
  .oc-ref-footer{
    position:static!important;
    flex:0 0 auto!important;
    margin-top:auto!important;
    padding:11px 13px!important;
  }
}

/* Sidebar type scale aligned with the application's primary content. */
.oc-ref-sidebrand{padding:18px 14px 11px!important}
.oc-ref-wordmark{font-size:19px!important}
.oc-ref-tagline{font-size:7px!important}
.oc-ref-tenant{margin:8px 10px 13px!important;padding:9px 10px!important}
.oc-ref-tenant-logo{width:38px!important;height:38px!important;font-size:10px!important}
.oc-ref-tenant-copy small{font-size:8px!important;line-height:1.25!important}
.oc-ref-tenant-copy b{font-size:12px!important;line-height:1.35!important}
.oc-ref-tenant-copy span{font-size:9.5px!important;line-height:1.35!important}
.oc-ref-group{margin:7px 0 11px!important}
.oc-ref-group-title{padding:6px 9px 5px!important;font-size:9px!important;line-height:1.2!important}
.sidebar .oc-ref-nav button{
  min-height:41px!important;
  padding:9px 10px!important;
  font-size:12px!important;
  line-height:1.25!important;
  gap:9px!important;
}
.oc-ref-nav-icon{
  width:19px!important;
  height:19px!important;
  font-size:12px!important;
}
.oc-ref-footer{font-size:10.5px!important;line-height:1.35!important}
.oc-ref-footer-row{gap:9px!important;padding:5px 2px!important}
.oc-ref-avatar{width:30px!important;height:30px!important;font-size:10px!important}

/* A slightly narrower, still readable rail on smaller desktop screens. */
@media(max-width:1180px) and (min-width:821px){
  :root{--ref-sidebar:200px}
  .sidebar .oc-ref-nav button{font-size:11.5px!important;padding-left:9px!important;padding-right:9px!important}
  .oc-ref-tenant-copy b{font-size:11.5px!important}
}


/* 2026-09-21 tenant branding repair — Tornado reverse logo */
html[data-tenant-slug="tornado-fm"] .tenant-mark.has-logo,
html[data-tenant-slug="tornado-fm"] .oc-ref-tenant-logo{
  background:#071a2f!important;
  border-color:#173a5a!important;
}
html[data-tenant-slug="tornado-fm"] .tenant-brand-img,
html[data-tenant-slug="tornado-fm"] .oc-ref-tenant-logo img{
  object-fit:contain!important;
}


/* Help & Support — role-based, plain English */
.oc-ref-footer-help{width:100%;border:0;background:transparent;color:#c9d9e8;font:inherit;text-align:left;cursor:pointer;border-radius:6px}
.oc-ref-footer-help:hover,.oc-ref-footer-help:focus{background:rgba(255,255,255,.08);color:#fff;outline:none}
.oc-ref-footer-help span:first-child{width:15px;text-align:center;color:#8fd4fb;font-weight:900}
body.oc-help-open{overflow:hidden}
.oc-help-overlay{position:fixed;inset:0;z-index:3000;background:rgba(5,22,42,.62);display:none;align-items:center;justify-content:center;padding:24px}
.oc-help-overlay.open{display:flex}
.oc-help-panel{width:min(920px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;background:#f5f8fb;border:1px solid #d9e3ec;border-radius:16px;box-shadow:0 24px 70px rgba(5,24,45,.28);color:#10223d}
.oc-help-head{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:22px 24px 16px;background:#fff;border-bottom:1px solid #e2e9f0}
.oc-help-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;color:#0878d8}
.oc-help-head h1{margin:3px 0 4px!important;font-size:25px!important;line-height:1.15!important}
.oc-help-head p{margin:0;color:#62758d;font-size:12px}
.oc-help-close{width:36px;height:36px;border:1px solid #cfdbe7;border-radius:9px;background:#fff;color:#173252;font-size:23px;line-height:1;cursor:pointer}
.oc-help-search{display:flex;align-items:center;gap:10px;margin:16px 24px 10px;padding:0 12px;background:#fff;border:1px solid #cad7e4;border-radius:10px}
.oc-help-search span{font-size:17px;color:#71849a}
.oc-help-search input{border:0!important;outline:0!important;box-shadow:none!important;width:100%;min-height:44px!important;font-size:13px!important;background:transparent!important}
.oc-help-role{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 24px 10px}
.oc-help-role>div:first-child{display:flex;align-items:baseline;gap:9px}
.oc-help-role b{font-size:14px}
.oc-help-role span{font-size:10px;color:#718097}
.oc-help-plain{font-size:10px;font-weight:850;color:#05603a;background:#ecfdf3;border:1px solid #abefc6;border-radius:999px;padding:5px 8px}
.oc-help-notice{display:flex;gap:10px;align-items:flex-start;margin:0 24px 12px;padding:11px 12px;border:1px solid #f5c36a;background:#fff8e8;border-radius:9px;font-size:11px}
.oc-help-notice b{white-space:nowrap;color:#8a4b00}
.oc-help-notice span{color:#5e5140}
.oc-help-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 24px 18px}
.oc-help-article{background:#fff;border:1px solid #dce5ed;border-radius:10px;overflow:hidden}
.oc-help-article.urgent{border-color:#f0b1ae;background:#fffafa}
.oc-help-article summary{list-style:none;display:grid;grid-template-columns:30px 1fr 18px;gap:10px;align-items:center;padding:13px 14px;cursor:pointer}
.oc-help-article summary::-webkit-details-marker{display:none}
.oc-help-article summary:hover{background:#f8fbfe}
.oc-help-icon{width:28px;height:28px;border-radius:8px;background:#eaf4ff;color:#0878d8;display:grid;place-items:center;font-weight:900}
.oc-help-article.urgent .oc-help-icon{background:#fff0ef;color:#b42318}
.oc-help-article summary b{display:block;font-size:12px;color:#10223d;margin-bottom:3px}
.oc-help-article summary small{display:block;color:#6c7e92;font-size:10px;line-height:1.35}
.oc-help-article summary i{font-style:normal;color:#71849a;font-size:18px;transition:transform .15s ease}
.oc-help-article[open] summary i{transform:rotate(90deg)}
.oc-help-article-body{border-top:1px solid #edf1f5;padding:12px 16px 14px 48px;background:#fcfdff}
.oc-help-article-body ol{margin:0;padding-left:18px}
.oc-help-article-body li{padding:3px 0;font-size:11px;line-height:1.45;color:#30455f}
.oc-help-empty{grid-column:1/-1;background:#fff;border:1px dashed #cad7e4;border-radius:10px;padding:22px;text-align:center}
.oc-help-empty b,.oc-help-empty span{display:block}.oc-help-empty span{margin-top:5px;color:#6c7e92;font-size:11px}
.oc-help-support-box{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 24px 24px;padding:14px 16px;background:#0b2d50;border-radius:10px;color:#fff}
.oc-help-support-box b{display:block;font-size:12px;margin-bottom:4px}
.oc-help-support-box span{display:block;color:#c4d4e4;font-size:10px;line-height:1.45}
.oc-help-support-box .btn{flex:0 0 auto}
@media(max-width:700px){
  .oc-help-overlay{padding:0}
  .oc-help-panel{width:100vw;max-height:100vh;height:100vh;border:0;border-radius:0}
  .oc-help-head{padding:16px 14px 12px}
  .oc-help-head h1{font-size:21px!important}
  .oc-help-head p{font-size:11px}
  .oc-help-search{margin:12px 12px 8px}
  .oc-help-role{margin:0 12px 8px}
  .oc-help-notice{margin:0 12px 10px;display:block}
  .oc-help-notice b{display:block;margin-bottom:4px}
  .oc-help-list{grid-template-columns:1fr;padding:0 12px 14px}
  .oc-help-support-box{margin:0 12px 18px;align-items:flex-start;flex-direction:column}
  .oc-help-support-box .btn{width:100%}
}


/* Shift-start live uniform / PPE photo */
.shift-selfie-block{margin:12px 0 14px;padding:12px;border:1px solid #dce6ef;border-radius:10px;background:#fbfdff}
.shift-selfie-camera-shell{position:relative;width:min(100%,420px);aspect-ratio:3/4;margin:10px auto;background:#0b1728;border-radius:12px;overflow:hidden;display:grid;place-items:center}
.shift-selfie-camera-shell video,.shift-selfie-camera-shell img{width:100%;height:100%;object-fit:cover;display:block}
.shift-selfie-camera-shell video{transform:scaleX(-1)}
.shift-selfie-placeholder{position:absolute;inset:0;display:grid;place-content:center;text-align:center;gap:5px;padding:18px;color:#dce7f3;background:linear-gradient(160deg,#102943,#08192b)}
.shift-selfie-placeholder b{color:#fff;font-size:13px}.shift-selfie-placeholder span{font-size:10px;color:#b8cadb}
#shiftSelfieChallenge{max-width:520px;margin:10px auto}
.shift-selfie-block>.actions{justify-content:center}
.shift-selfie-review-row{align-items:flex-start}
@media(max-width:560px){
  .shift-selfie-block{padding:10px;margin:8px 0 10px}
  .shift-selfie-camera-shell{width:100%;max-height:54vh}
  #shiftSelfieChallenge{font-size:11px}
  .shift-selfie-review-row{display:block!important}
  .shift-selfie-review-row>.actions{margin-top:10px!important;justify-content:flex-start!important}
}
