:root{
  --lab-bg:#04182b;--lab-bg-soft:#07243d;--lab-surface:#0a2b47;--lab-surface-2:#0d3555;
  --lab-text:#edf9ff;--lab-muted:#9ec0d2;--lab-line:rgba(105,198,230,.2);
  --lab-blue:#168fff;--lab-cyan:#3ee0ef;--lab-green:#22d495;--lab-amber:#ffbf3f;--lab-red:#ff5f73;
  --lab-radius-sm:.65rem;--lab-radius-md:.9rem;--lab-radius-lg:1.2rem;--lab-radius-xl:1.6rem;
  --lab-space-1:.25rem;--lab-space-2:.5rem;--lab-space-3:.75rem;--lab-space-4:1rem;--lab-space-5:1.25rem;--lab-space-6:1.5rem;
  --lab-shadow-sm:0 .5rem 1.5rem rgba(0,10,22,.18);--lab-shadow-md:0 1.25rem 3rem rgba(0,10,22,.28);
  --lab-font:"IBM Plex Sans Arabic","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
  --bg-primary:var(--lab-bg);--bg-secondary:var(--lab-bg-soft);--surface-1:var(--lab-surface);--surface-2:var(--lab-surface-2);
  --text-primary:var(--lab-text);--text-secondary:#c3dbe7;--text-muted:var(--lab-muted);--border:var(--lab-line);
  --accent:var(--lab-blue);--success:var(--lab-green);--warning:var(--lab-amber);--danger:var(--lab-red);
}
.ulp-brand-logo{display:block;max-width:100%;width:auto;height:auto;max-height:58px;object-fit:contain;object-position:center;aspect-ratio:235/66;filter:none!important;box-shadow:none!important;background:transparent!important;border:0!important;border-radius:0!important}
.ulp-brand-surface{background:transparent!important;box-shadow:none!important;border:0!important}
body{font-family:var(--lab-font)}
body.cc-shell .brandmark{width:clamp(118px,11vw,148px)!important;height:auto!important;flex:0 0 auto;background:transparent!important;box-shadow:none!important;border-radius:0!important}
body.cc-shell .brandmark .ulp-brand-logo{width:100%;max-height:48px}
body.cc-shell .brand{gap:11px;padding-block:8px 16px;align-items:center}
body.cc-shell .top{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
body.cc-shell .search,body.cc-shell .iconbtn,body.cc-shell .menu{min-height:44px}
body.cc-shell .cc-kicker{font-size:.72rem!important;letter-spacing:.04em!important}
body.cc-shell .cc-hero h2{font-size:clamp(2rem,3.3vw,3rem)!important;line-height:1.2}
body.cc-shell .cc-hero p{font-size:.9rem!important;line-height:1.8!important}
body.cc-shell .cc-pill{font-size:.72rem!important}
body.cc-shell .cc-hero-action b{font-size:.88rem!important}body.cc-shell .cc-hero-action small{font-size:.72rem!important}
body.cc-shell .cc-kpi span{font-size:.78rem!important}body.cc-shell .cc-kpi small{font-size:.7rem!important}
body.cc-shell .cc-head h3{font-size:1.08rem!important}body.cc-shell .cc-head p{font-size:.78rem!important}
body.cc-shell .cc-mod b{font-size:1rem!important}body.cc-shell .cc-mod p{font-size:.78rem!important;line-height:1.65!important}
body.cc-shell .cc-box-head b{font-size:.9rem!important}body.cc-shell .cc-box-head span{font-size:.72rem!important}
body.cc-shell .cc-quick b{font-size:.78rem!important}body.cc-shell .cc-quick small{font-size:.68rem!important}
body.cc-shell .cc-status b{font-size:.78rem!important}body.cc-shell .cc-status small,body.cc-shell .cc-status em{font-size:.68rem!important}
body.ulp-smart-inventory .brand-mark{width:112px;height:auto;background:transparent!important;box-shadow:none!important;border-radius:0!important}
body.ulp-smart-inventory .brand-mark .ulp-brand-logo{width:112px}
body.ulp-smart-inventory .brand-lockup{gap:14px}
body.ulp-smart-inventory .topbar{grid-template-columns:320px minmax(280px,680px) 1fr}
body.ulp-smart-inventory .hero{min-height:230px;border-radius:var(--lab-radius-xl);padding:clamp(1.35rem,3vw,2.25rem)}
body.ulp-smart-inventory .hero-content{max-width:760px}
body.ulp-smart-inventory .hero p{font-size:1rem;max-width:680px}
body.ulp-smart-inventory .metric-card,body.ulp-smart-inventory .panel,body.ulp-smart-inventory .pulse-card,body.ulp-smart-inventory .quick-action{border-radius:var(--lab-radius-lg)}
body.ulp-smart-inventory .quick-action{min-height:106px}
body.ulp-smart-inventory .global-search{min-height:48px}
body.ulp-smart-inventory .label-preview-host .print-label>header{display:grid;grid-template-columns:88px 1fr auto;align-items:center;gap:10px;background:#062c4b;color:#cce7f3;margin:-6px -6px 8px;padding:7px 9px;border:0;border-radius:8px 8px 0 0}
body.ulp-smart-inventory .label-preview-host .print-label>header .label-brand-logo{display:block;width:88px;height:auto;max-height:32px;object-fit:contain;background:transparent;border:0;box-shadow:none;filter:none}
body.ulp-smart-inventory .label-preview-host .print-label>header b{color:#fff}
@media(max-width:1050px){body.ulp-smart-inventory .topbar{grid-template-columns:260px minmax(240px,1fr) auto}}
@media(max-width:760px){
  body.cc-shell .brandmark{width:62px!important}body.cc-shell .brandmark .ulp-brand-logo{width:62px}
  body.cc-shell .cc-hero h2{font-size:1.7rem!important}body.cc-shell .cc-hero p{font-size:.85rem!important}
  body.ulp-smart-inventory .topbar{grid-template-columns:auto minmax(0,1fr) auto;padding:8px 12px}
  body.ulp-smart-inventory .topbar .brand-lockup .brand-mark{display:block;width:68px;height:auto}
  body.ulp-smart-inventory .topbar .brand-lockup .brand-mark .ulp-brand-logo{width:68px}
  body.ulp-smart-inventory .topbar .brand-lockup b{font-size:.86rem}body.ulp-smart-inventory .topbar .brand-lockup small{font-size:.68rem}
  body.ulp-smart-inventory .hero{min-height:220px;padding:1.35rem}
  body.ulp-smart-inventory .hero h2{font-size:2rem}
  body.ulp-smart-inventory .metric-grid{gap:.65rem}
  body.ulp-smart-inventory .quick-action{min-height:88px}
}
@media(max-width:390px){body.ulp-smart-inventory .workspace{padding-inline:12px}body.ulp-smart-inventory .hero{border-radius:1.15rem}body.ulp-smart-inventory .metric-card{padding:12px}}

/* Unified platform visual contract: one premium medical product, distinct modules. */
html{overflow-x:hidden}body.ulp-design-system{overflow-x:hidden;background:
  radial-gradient(circle at 84% -12%,rgba(22,143,255,.15),transparent 36rem),
  radial-gradient(circle at 10% 110%,rgba(34,212,149,.07),transparent 38rem),var(--lab-bg)}
body.cc-shell .app{grid-template-columns:288px minmax(0,1fr)!important}
body.cc-shell .sidebar{padding:18px 13px!important;background:linear-gradient(180deg,#041d34 0%,#072a47 58%,#041827 100%)!important}
body.cc-shell .brand{gap:14px!important;padding:2px 7px 18px!important}
body.cc-shell .brand h1{font-size:1.08rem!important;line-height:1.35}
body.cc-shell .brand small{font-size:.7rem!important;line-height:1.4;letter-spacing:.01em}
body.cc-shell .conn{font-size:.74rem!important;margin:12px 8px 8px!important}
body.cc-shell .nav button{min-height:45px!important;padding:8px 10px!important;font-size:.88rem!important;margin:3px 0!important}
body.cc-shell .nav .ico{width:30px!important;height:30px!important;font-size:.95rem}
body.cc-shell .top{height:78px!important;padding-inline:24px!important}
body.cc-shell .facility b{font-size:.92rem!important}body.cc-shell .facility small{font-size:.72rem!important}
body.cc-shell .search{height:48px!important;max-width:660px!important;border-radius:15px!important}
body.cc-shell .search input{font-size:.88rem!important}
body.cc-shell .content{padding:24px 28px 54px!important;max-width:1760px!important}
body.cc-shell .cc-home{gap:18px!important}
body.cc-shell .cc-hero{border-radius:28px!important;padding:34px!important;min-height:260px;display:grid;align-items:center}
body.cc-shell .cc-hero-grid{grid-template-columns:minmax(0,1.35fr) minmax(340px,.75fr)!important;gap:30px!important}
body.cc-shell .cc-kicker{font-size:.76rem!important;color:#79f0ed!important}
body.cc-shell .cc-hero h2{font-size:clamp(2.35rem,4vw,3.65rem)!important;letter-spacing:-.035em!important}
body.cc-shell .cc-hero p{font-size:1rem!important;line-height:1.85!important;max-width:760px!important}
body.cc-shell .cc-pill{font-size:.76rem!important;padding:8px 11px!important}
body.cc-shell .cc-hero-actions{gap:11px!important}
body.cc-shell .cc-hero-action{min-height:82px!important;padding:15px!important;border-radius:17px!important;transition:.2s transform,.2s background}
body.cc-shell .cc-hero-action:hover{transform:translateY(-2px);background:rgba(255,255,255,.14)!important}
body.cc-shell .cc-hero-action b{font-size:.96rem!important}body.cc-shell .cc-hero-action small{font-size:.72rem!important;margin-top:6px!important}
body.cc-shell .cc-kpis{gap:13px!important}
body.cc-shell .cc-kpi{padding:18px!important;border-radius:20px!important;min-height:145px}
body.cc-shell .cc-kpi .ico{width:44px!important;height:44px!important;font-size:1.3rem!important}
body.cc-shell .cc-kpi span{font-size:.8rem!important;margin-top:12px!important}body.cc-shell .cc-kpi strong{font-size:2rem!important}body.cc-shell .cc-kpi small{font-size:.72rem!important}
body.cc-shell .cc-head h3{font-size:1.25rem!important}body.cc-shell .cc-head p{font-size:.82rem!important}
body.cc-shell .cc-mods{gap:14px!important}
body.cc-shell .cc-mod{min-height:178px!important;padding:20px!important;border-radius:22px!important}
body.cc-shell .cc-mod .mi{font-size:2.2rem!important;margin-bottom:24px!important}
body.cc-shell .cc-mod b{font-size:1.08rem!important}body.cc-shell .cc-mod p{font-size:.82rem!important;line-height:1.7!important}
body.cc-shell .cc-box{border-radius:22px!important;padding:18px!important}
body.cc-shell .cc-box-head b{font-size:1rem!important}body.cc-shell .cc-box-head span{font-size:.76rem!important}
body.cc-shell .cc-quick b,body.cc-shell .cc-status b{font-size:.84rem!important}
body.cc-shell .cc-quick small,body.cc-shell .cc-status small,body.cc-shell .cc-status em{font-size:.7rem!important}

body.ulp-smart-inventory .hero{min-height:250px!important}
body.ulp-smart-inventory .hero h2{font-size:clamp(2.35rem,4vw,3.4rem)!important;letter-spacing:-.035em}
body.ulp-smart-inventory .metric-card{min-height:148px}
body.ulp-smart-inventory .quick-action{min-height:116px!important}

@media(max-width:1000px){
  body.cc-shell .app{grid-template-columns:1fr!important}
  body.cc-shell .content{padding:16px 14px 94px!important}
  body.cc-shell .cc-hero-grid{grid-template-columns:1fr!important}
  body.cc-shell .cc-hero-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:600px){
  body.cc-shell .top{height:64px!important;padding-inline:10px!important}
  body.cc-shell .content{padding:12px 11px 92px!important}
  body.cc-shell .cc-home{gap:12px!important}
  body.cc-shell .cc-hero{min-height:auto;padding:22px 18px!important;border-radius:22px!important}
  body.cc-shell .cc-hero h2{font-size:2rem!important}
  body.cc-shell .cc-hero p{font-size:.88rem!important;line-height:1.75!important}
  body.cc-shell .cc-hero-actions{grid-template-columns:1fr 1fr!important}
  body.cc-shell .cc-hero-action{min-height:70px!important}
  body.cc-shell .cc-kpi{min-height:126px;padding:14px!important}
  body.cc-shell .cc-mod{min-height:150px!important;padding:15px!important}
  body.cc-shell .cc-mod .mi{font-size:1.75rem!important;margin-bottom:17px!important}
  body.cc-shell .cc-mod b{font-size:.92rem!important}body.cc-shell .cc-mod p{font-size:.74rem!important}
  body.ulp-smart-inventory .hero{min-height:235px!important}
  body.ulp-smart-inventory .hero h2{font-size:2rem!important}
  body.ulp-smart-inventory .metric-card{min-height:126px}
}

/* Module visual rollout — shared shell primitives, scoped away from print/label engines. */
body.cc-shell .page>.hero{position:relative;overflow:hidden;min-height:150px;padding:24px 26px;margin-bottom:16px;border:1px solid var(--cc-line);border-radius:24px;background:
  radial-gradient(circle at 8% 0,rgba(35,199,195,.12),transparent 30%),
  linear-gradient(130deg,color-mix(in srgb,var(--cc-surface) 88%,#0e4166 12%),var(--cc-surface));box-shadow:var(--cc-shadow);align-items:center}
body.cc-shell .page>.hero:after{content:"";position:absolute;inset:auto -80px -120px auto;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(36,132,225,.13),transparent 70%);pointer-events:none}
body.cc-shell .page>.hero h2{font-size:clamp(1.8rem,3vw,2.6rem)!important;line-height:1.25;margin-bottom:7px!important}
body.cc-shell .page>.hero p{font-size:.88rem!important;line-height:1.8!important;max-width:780px}
body.cc-shell .page>.hero .eyebrow{font-size:.72rem!important;letter-spacing:.08em!important;text-transform:uppercase;color:var(--lab-cyan)!important}
body.cc-shell .gp-page-ribbon{gap:8px!important;margin-bottom:13px!important}
body.cc-shell .gp-ribbon-chip{min-height:38px!important;padding:8px 11px!important;border-radius:12px!important;font-size:.73rem!important}
body.cc-shell .gp-command-strip{gap:10px!important;margin-bottom:16px!important}
body.cc-shell .gp-command-cell{padding:13px 14px!important;border-radius:16px!important;background:linear-gradient(145deg,var(--cc-surface),var(--cc-soft))!important}
body.cc-shell .gp-command-cell span{font-size:.68rem!important}body.cc-shell .gp-command-cell b{font-size:.86rem!important;margin:5px 0 3px!important}body.cc-shell .gp-command-cell small{font-size:.68rem!important}
body.cc-shell .page .panel,body.cc-shell .page .card{border-radius:21px!important;background:linear-gradient(150deg,var(--cc-surface),color-mix(in srgb,var(--cc-surface) 95%,#167dcf 5%))!important}
body.cc-shell .page .ph h3,body.cc-shell .page .panelhead h3{font-size:1.05rem!important}
body.cc-shell .page .ph,body.cc-shell .page .panelhead{gap:12px}
body.cc-shell .page .field label{font-size:.76rem!important}body.cc-shell .page .field input,body.cc-shell .page .field select,body.cc-shell .page .field textarea{min-height:44px!important;font-size:.82rem!important;border-radius:12px!important;background:var(--cc-soft)!important;border-color:var(--cc-line)!important;color:var(--cc-ink)!important}
body.cc-shell .page .btn{min-height:42px;font-size:.78rem!important;border-radius:12px!important}
body.cc-shell .page .tablewrap{max-width:100%;overflow:auto;border-radius:18px!important;border-color:var(--cc-line)!important;background:var(--cc-surface)!important}
body.cc-shell .page table th,body.cc-shell .page table td{font-size:.76rem!important;padding:12px 13px!important;line-height:1.55}
body.cc-shell .page table th{background:color-mix(in srgb,var(--cc-surface) 82%,#1f76bd 18%)!important;color:var(--cc-muted)!important}
body.cc-shell .modalwrap,body.cc-shell [class*="modal"]{max-width:100vw}

/* Blood Bank keeps its burgundy transfusion identity while gaining readable density. */
body.cc-shell #blood>.hero{border-color:rgba(224,82,111,.3);background:radial-gradient(circle at 8% 0,rgba(232,75,112,.16),transparent 31%),linear-gradient(125deg,#251a2d,#182c40)!important}
body.cc-shell #blood .bb-command-shell{padding:21px!important;background:radial-gradient(circle at 8% 0,rgba(255,154,183,.16),transparent 30%),linear-gradient(130deg,#7d1f3b,#4f253d 55%,#17384d)!important}
body.cc-shell #blood .bb-command-brand h3{font-size:1.55rem!important}body.cc-shell #blood .bb-command-brand p{font-size:.8rem!important;line-height:1.75!important}
body.cc-shell #blood .bb-live{font-size:.7rem!important;padding:7px 10px!important}
body.cc-shell #blood .bb-command-stat{padding:13px!important;border-radius:15px!important}body.cc-shell #blood .bb-command-stat span{font-size:.68rem!important}body.cc-shell #blood .bb-command-stat strong{font-size:1rem!important;margin-top:5px}
body.cc-shell #blood .bb-quick-tools{gap:10px!important;padding:15px 18px!important;background:var(--cc-surface)!important}
body.cc-shell #blood .bb-tool{min-height:84px!important;border-radius:15px!important;background:var(--cc-soft)!important}body.cc-shell #blood .bb-tool i{font-size:1.45rem!important}body.cc-shell #blood .bb-tool b{font-size:.76rem!important}
body.cc-shell #blood .bb-lab-stage{margin:0 18px 16px!important;border-radius:22px!important;background:linear-gradient(145deg,var(--cc-surface),var(--cc-soft))!important}
body.cc-shell #blood .bb-lab-stage-head{padding:18px!important}body.cc-shell #blood .bb-lab-stage-head small{font-size:.67rem!important}body.cc-shell #blood .bb-lab-stage-head h4{font-size:1.25rem!important}body.cc-shell #blood .bb-lab-stage-head p{font-size:.76rem!important}
body.cc-shell #blood .bb-lab-search input{font-size:.76rem!important}
body.cc-shell #blood .bb-lab-card{min-height:164px!important;padding:15px!important;border-radius:18px!important;background:var(--cc-surface)!important}body.cc-shell #blood .bb-lab-card b{font-size:.86rem!important}body.cc-shell #blood .bb-lab-card em{font-size:.68rem!important}body.cc-shell #blood .bb-lab-card .bb-lab-meta span{font-size:.62rem!important}
body.cc-shell #blood .bb-case{min-height:98px!important;padding:13px!important;background:var(--cc-surface)!important}body.cc-shell #blood .bb-case b{font-size:.78rem!important}body.cc-shell #blood .bb-case small{font-size:.66rem!important}
body.cc-shell #blood .blood-component-card small,body.cc-shell #blood .blood-group-tile small{font-size:.66rem!important}body.cc-shell #blood .blood-component-card strong{font-size:1.25rem!important}

/* Devices, maintenance and breakdowns. */
body.cc-shell #equipment .device-registry-grid{gap:14px!important}
body.cc-shell #equipment .device-reg-card{padding:17px!important;border-radius:20px!important;background:linear-gradient(145deg,var(--cc-surface),var(--cc-soft))!important}
body.cc-shell #equipment .device-reg-head h3{font-size:.98rem!important}body.cc-shell #equipment .device-reg-head small{font-size:.7rem!important}body.cc-shell #equipment .device-status{font-size:.68rem!important}
body.cc-shell #equipment .device-reg-meta div{padding:10px!important;background:var(--cc-bg)!important}body.cc-shell #equipment .device-reg-meta span{font-size:.65rem!important}body.cc-shell #equipment .device-reg-meta b{font-size:.8rem!important}
body.cc-shell #equipment .device-actions .btn{font-size:.7rem!important;flex:1}
body.cc-shell #trouble .timeline-item{padding:12px!important;border-radius:14px!important;background:var(--cc-soft)!important}

/* QC and temperature emphasize state without changing thresholds. */
body.cc-shell #qc .qc2-status-strip{gap:12px!important}body.cc-shell #qc .qc2-stat{padding:14px!important;border-radius:17px!important;background:var(--cc-surface)!important}body.cc-shell #qc .qc2-stat span{font-size:.72rem!important}body.cc-shell #qc .qc2-stat b{font-size:1.8rem!important}
body.cc-shell #qc .qc2-entry{padding:18px!important}body.cc-shell #qc .qc2-question>span{font-size:.82rem!important}body.cc-shell #qc .qc2-choice-btn{min-height:78px;font-size:1rem!important}
body.cc-shell #temperature .tempgrid{gap:14px!important}body.cc-shell #temperature .temp{min-height:180px!important;padding:17px!important;border-radius:19px!important}body.cc-shell #temperature .temp b{font-size:.88rem!important}body.cc-shell #temperature .temp strong{font-size:2rem!important}body.cc-shell #temperature .temp small,body.cc-shell #temperature .sourcepill,body.cc-shell #temperature .latest{font-size:.68rem!important}

/* Safety, infection control and policy reading. */
body.cc-shell #safety .si-hero{border-radius:24px!important;padding:24px!important}body.cc-shell #safety .si-hero h2{font-size:2rem!important}body.cc-shell #safety .si-hero p{font-size:.84rem!important;line-height:1.75!important}
body.cc-shell #safety .si-metrics{gap:11px!important}body.cc-shell #safety .si-metric{padding:15px!important;border-radius:17px!important;background:var(--cc-surface)!important}
body.cc-shell #safety .si-panel{padding:17px!important;border-radius:20px!important;background:var(--cc-surface)!important}
body.cc-shell #safety .si-task{padding:12px!important;border-radius:14px!important;background:var(--cc-soft)!important}body.cc-shell #safety .si-task b{font-size:.8rem!important}body.cc-shell #safety .si-task small{font-size:.68rem!important}
body.cc-shell #policies .policy-card{min-height:170px;padding:15px!important;border-radius:18px!important;background:var(--cc-surface)!important}body.cc-shell #policies .policy-card b{font-size:.84rem!important}body.cc-shell #policies .policy-card p,body.cc-shell #policies .policy-card small{font-size:.68rem!important;line-height:1.65!important}
body.cc-shell #policies .policy-searchbox input{min-height:48px!important;font-size:.82rem!important}

/* Academy, competency and access management. */
body.cc-shell #training .tv-command{border-radius:24px!important;padding:22px!important}body.cc-shell #training .tv-head h2{font-size:2rem!important}body.cc-shell #training .tv-stat{padding:15px!important;border-radius:17px!important;background:var(--cc-surface)!important}body.cc-shell #training .tv-stat span{font-size:.7rem!important}body.cc-shell #training .tv-stat b{font-size:1.55rem!important}
body.cc-shell #training .tv-tab{min-height:44px!important;font-size:.76rem!important}body.cc-shell #training .tv-panel{padding:17px!important;border-radius:20px!important;background:var(--cc-surface)!important}
body.cc-shell #users .ulp-access-center{display:grid;gap:13px}.ulp-access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.ulp-access-card{padding:16px;border:1px solid var(--cc-line);border-radius:18px;background:linear-gradient(145deg,var(--cc-surface),var(--cc-soft));box-shadow:var(--cc-shadow)}.ulp-access-card i{font-style:normal;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:color-mix(in srgb,var(--role) 14%,transparent);color:var(--role)}.ulp-access-card b{display:block;margin:11px 0 4px;font-size:.95rem}.ulp-access-card p{font-size:.72rem!important;min-height:auto!important;margin:0!important}.ulp-access-card span{display:inline-flex;margin-top:10px;padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--role) 12%,transparent);color:var(--role);font-size:.66rem;font-weight:900}.ulp-access-table{overflow:auto;border:1px solid var(--cc-line);border-radius:19px;background:var(--cc-surface)}

@media(max-width:900px){
  body.cc-shell .page>.hero{padding:20px!important}
  body.cc-shell .gp-command-strip{grid-template-columns:1fr 1fr!important}
  body.cc-shell #blood .bb-command-stats,body.cc-shell #qc .qc2-status-strip{grid-template-columns:1fr 1fr!important}
  body.cc-shell #equipment .device-registry-grid{grid-template-columns:1fr 1fr!important}
  body.cc-shell #temperature .tempgrid{grid-template-columns:1fr 1fr!important}
  body.cc-shell #training .tv-stats{grid-template-columns:1fr 1fr!important}
  body.cc-shell #users .ulp-access-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  body.cc-shell .page>.hero{display:block!important;min-height:auto;padding:18px 16px!important;border-radius:20px!important}
  body.cc-shell .page>.hero h2{font-size:1.65rem!important}body.cc-shell .page>.hero p{font-size:.8rem!important}
  body.cc-shell .page>.hero .hero-actions{margin-top:13px!important;width:100%}
  body.cc-shell .gp-page-ribbon{overflow:auto;scrollbar-width:none}body.cc-shell .gp-ribbon-chip{flex:0 0 auto}
  body.cc-shell .gp-command-strip{display:flex!important;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:5px}body.cc-shell .gp-command-cell{min-width:72vw;scroll-snap-align:center}
  body.cc-shell .page .tablewrap,body.cc-shell .page [class*="table"]{max-width:100%;overflow:auto}
  body.cc-shell #blood .bb-command-shell{padding:17px!important}body.cc-shell #blood .bb-command-stats{grid-template-columns:1fr 1fr!important}body.cc-shell #blood .bb-quick-tools{display:flex!important;overflow:auto;padding:12px!important}.bb-quick-tools .bb-tool{min-width:42vw}
  body.cc-shell #blood .bb-lab-grid{display:flex!important;overflow:auto;padding:11px!important;scroll-snap-type:x mandatory}.bb-lab-grid .bb-lab-card{min-width:76vw;scroll-snap-align:center}
  body.cc-shell #blood .bb-case-grid{display:flex!important;overflow:auto;padding:11px!important}.bb-case-grid .bb-case{min-width:68vw}
  body.cc-shell #equipment .device-registry-grid,body.cc-shell #temperature .tempgrid{grid-template-columns:1fr!important}
  body.cc-shell #qc .qc2-status-strip,body.cc-shell #training .tv-stats,body.cc-shell #users .ulp-access-grid{grid-template-columns:1fr 1fr!important}
  body.cc-shell #safety .si-layout{grid-template-columns:1fr!important}
  body.cc-shell [class*="modal"]{width:100%!important;max-width:100vw!important;max-height:92dvh!important}
}

/* Functional regression restoration: shared contrast and fixture dialogs. */
body.cc-shell #training .tv-panel,body.cc-shell #training .tv-course,body.cc-shell #training .tv-person,body.cc-shell #training .a5-track,
body.cc-shell #safety .si-panel,body.cc-shell #safety .si-task,body.cc-shell #policies .policy-card{background:var(--cc-surface)!important;color:var(--cc-ink)!important;border-color:var(--cc-line)!important}
body.cc-shell #training .tv-muted,body.cc-shell #training .tv-course p,body.cc-shell #training .tv-person small,
body.cc-shell #safety .si-task small,body.cc-shell #policies .policy-card p,body.cc-shell #policies .policy-card small{color:var(--cc-muted)!important}
.fixture-user-modal{display:none;position:fixed;inset:0;z-index:16000;padding:18px;background:rgba(1,12,24,.72);align-items:center;justify-content:center}.fixture-user-modal.show{display:flex}
.fixture-user-dialog{width:min(620px,100%);max-height:92dvh;overflow:auto;border:1px solid var(--cc-line);border-radius:22px;background:var(--cc-surface);color:var(--cc-ink);box-shadow:0 28px 90px rgba(0,0,0,.45)}
.fixture-user-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid var(--cc-line)}.fixture-user-dialog>header small{color:var(--cc-blue);font-weight:900}.fixture-user-dialog>header h3{margin:4px 0 0}.fixture-user-dialog>header button{width:38px;height:38px;border:1px solid var(--cc-line);border-radius:11px;background:var(--cc-soft);color:var(--cc-ink);font-size:1.3rem}
.fixture-user-dialog form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px}.fixture-user-dialog label{display:grid;gap:6px;font-size:.78rem;font-weight:800}.fixture-user-dialog input,.fixture-user-dialog select{min-height:44px;padding:9px 11px;border:1px solid var(--cc-line);border-radius:12px;background:var(--cc-soft);color:var(--cc-ink)}.fixture-user-check{display:flex!important;align-items:center}.fixture-user-check input{min-height:auto;width:18px;height:18px}.fixture-user-dialog form>p,.fixture-user-dialog form>footer{grid-column:1/-1}.fixture-user-dialog form>footer{display:flex;gap:8px}.fixture-user-dialog form>p{min-height:22px;margin:0;font-size:.76rem}.fixture-user-dialog form>p.ok{color:var(--cc-green)}.fixture-user-dialog form>p.error{color:var(--cc-red)}
.fixture-user-directory{margin-top:2px}.fixture-user-directory table{width:100%;border-collapse:collapse}.fixture-user-directory th,.fixture-user-directory td{padding:11px 13px;border-bottom:1px solid var(--cc-line);text-align:right;font-size:.76rem}
@media(max-width:560px){body.cc-shell .brandmark{width:108px!important}body.cc-shell .brandmark .ulp-brand-logo{max-height:42px}.fixture-user-dialog form{grid-template-columns:1fr}.fixture-user-dialog form>p,.fixture-user-dialog form>footer{grid-column:1}}
