:root{--red:#e31b23;--nav:#0b2233;--ink:#102033;--muted:#60708a;--line:#dbe3ec;--bg:#f5f8fb;--blue:#1676c5;--green:#2d9d50;--purple:#7142c1;--orange:#df6d0b;--gold:#c39a19;--teal:#088e91;--gray:#4e5964}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg)}header{min-height:94px;background:linear-gradient(100deg,#d40e19,#ef2029);color:white;display:flex;align-items:center;justify-content:space-between;padding:14px 26px;border-bottom:5px solid #9f0911}.brand{display:flex;gap:14px;align-items:center}.shield{border:3px solid white;border-radius:14px 14px 22px 22px;padding:8px 13px;font-size:26px}.brand b{font-size:19px}.brand h1{margin:2px 0 -2px;font-size:33px}.brand h1 span{font-size:12px;font-weight:600;letter-spacing:1.2px}.brand small{letter-spacing:1.5px}.top-actions{display:flex;gap:10px;align-items:center}.top-actions button,.top-actions strong{border:1px solid #ff7f86;background:#c90d17;color:#fff;border-radius:7px;padding:13px 16px}.top-actions strong{background:#fff;color:#b20b14;text-align:center}.hamb{display:none;border:0;background:#fff;color:var(--red);font-size:20px;border-radius:6px;padding:7px 9px}.app{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 94px)}aside{background:var(--nav);color:#fff;padding-top:8px}.navitem{padding:15px 18px;border-bottom:1px solid #264052;cursor:pointer;display:flex;gap:12px;align-items:center;border-left:5px solid transparent}.navitem:hover,.navitem.active{background:#173548}.navitem.active{border-left-color:var(--accent,#fff)}main{padding:28px;overflow:auto}.title{display:flex;justify-content:space-between;align-items:start}.title h2{font-size:30px;margin:0}.title p{color:var(--muted);margin:5px 0 22px}.badge{background:#fff;border:1px solid var(--line);padding:10px 14px;border-radius:8px;color:#344b69}.statusbar{padding:12px 16px;border-radius:8px;margin-bottom:14px}.statusbar.ok{background:#eaf8ef;border:1px solid #a8dfba}.statusbar.bad{background:#fff0f0;border:1px solid #efb3b7}.modules{display:grid;grid-template-columns:repeat(9,minmax(105px,1fr));gap:10px}.module{color:white;border-radius:8px;padding:17px 10px;text-align:center;min-height:126px;box-shadow:0 5px 12px #10203318;cursor:pointer}.module .ico{font-size:25px}.module b{display:block;margin:10px 0 5px}.module small{font-size:10px}.grid3{display:grid;grid-template-columns:1.1fr 1fr .85fr;gap:14px;margin-top:16px}.panel{background:white;border:1px solid var(--line);border-radius:9px;padding:16px;box-shadow:0 2px 7px #1020330b;margin-bottom:14px}.panel h3{margin:0 0 13px;font-size:16px}.section{scroll-margin-top:12px;border-top:5px solid var(--gray)}.section.blue{border-top-color:var(--blue)}.section.green{border-top-color:var(--green)}.section.purple{border-top-color:var(--purple)}.section.orange{border-top-color:var(--orange)}.section.gold{border-top-color:var(--gold)}.section.teal{border-top-color:var(--teal)}.section.pink{border-top-color:#c83778}.section.slate{border-top-color:#44617a}.section.admin{border-top-color:#9b6b14}.count{float:right;font-size:12px;color:var(--muted)}.metricgrid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.metric{border-radius:8px;padding:13px;background:#f2f6fb}.metric b{font-size:27px}.good{background:#eaf8ef}.warn{background:#fff5dd}.danger{background:#fff0f0}.info{background:#edf5ff}.txtgood{color:#17763a}.txtbad{color:#b40c16}.row{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #e9eef4}.emergencyBtn,.btn.emergency{padding:13px;border:0;border-radius:7px;background:var(--red);color:white;font-weight:900;cursor:pointer}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.formgrid,.detailgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field label{display:block;font-weight:700;margin-bottom:6px}.field select,.field input{width:100%;padding:12px;border:1px solid #cfd9e5;border-radius:7px;background:white}.emergency-active{border:3px solid var(--red);background:#fff6f6}.emergency-banner{background:var(--red);color:white;padding:18px;border-radius:8px;margin:15px 0;font-weight:900;font-size:20px}.docgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.doc{background:white;border:1px solid var(--line);border-radius:9px;padding:18px}.doc h3{margin-top:0}.doc a{display:inline-block;margin-top:8px;padding:10px 14px;background:#3f4a55;color:#fff;border-radius:6px;text-decoration:none}.notice{padding:12px;border:1px solid #f0c4c7;background:#fff4f4;border-radius:8px;color:#8d1b23;margin-bottom:16px}.agencyHero{background:#fff;border:1px solid var(--line);border-left:7px solid var(--red);border-radius:10px;padding:18px;display:flex;justify-content:space-between;gap:18px;margin-bottom:12px}.eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:1.2px;color:var(--muted)}.bigstatus{display:block;font-size:26px;margin:4px 0}.agencyHero small{color:var(--muted)}.heroActions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:680px}.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:10px 12px;border-radius:7px;font-weight:800;cursor:pointer;font-size:13px}.btn.secondary{background:white;border:1px solid #b9c7d5;color:#22384d}.workflow{display:flex;gap:9px;align-items:center;flex-wrap:wrap;background:#fff7e5;border:1px solid #ead6a0;padding:11px 14px;border-radius:8px;margin-bottom:12px}.workflow span{background:white;border:1px solid #ead6a0;padding:6px 8px;border-radius:6px}.categoryGrid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:14px 0}.cat{min-height:112px;border:0;border-radius:9px;background:var(--cat);color:white;padding:13px;cursor:pointer;text-align:left;box-shadow:0 4px 10px #1020331a}.cat span{font-size:23px}.cat b,.cat small{display:block}.cat b{margin:8px 0 5px;font-size:14px}.cat small{font-weight:800;opacity:.9}.kv{background:#f7f9fb;border:1px solid #e1e7ee;border-radius:7px;padding:10px}.kv small{display:block;color:var(--muted);font-weight:700;margin-bottom:4px}.tablewrap{overflow:auto;border:1px solid var(--line);border-radius:7px}table{border-collapse:collapse;width:100%;font-size:13px}th{background:#eef3f8;text-align:left}th,td{padding:9px;border-bottom:1px solid #e2e8ef;vertical-align:top}.patient{background:white;border:1px solid #dbe3ec;border-left:6px solid #8a99aa;border-radius:9px;padding:14px;margin:12px 0;break-inside:avoid}.patient.high{border:3px solid var(--red);border-left-width:9px;background:#fffafa}.patientHead{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px}.patientHead b{font-size:16px}.patientHead small{display:block;color:var(--muted)}.priority{padding:8px 11px;border-radius:6px;font-size:12px}.priority.high{background:var(--red);color:white}.priority.moderate{background:#f6a623;color:#231800}.priority.standard{background:#dcefe4;color:#155b31}.patientgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.patientgrid>div{background:#f7f9fb;padding:9px;border-radius:6px}.patientgrid small,.comments small{display:block;color:var(--muted);font-weight:800;margin-bottom:4px}.resourcechips{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0}.resourcechips span{background:#edf5ff;border:1px solid #c9def3;border-radius:999px;padding:6px 9px;font-size:11px}.comments{border-top:1px solid #e2e8ef;padding-top:9px}.comments p{margin:4px 0}.validation{padding:12px;border-radius:8px}.okbox{background:#eaf8ef;border:1px solid #a8dfba}.badbox{background:#fff0f0;border:1px solid #efb3b7}.muted{color:var(--muted)}.toolbar{display:flex;justify-content:flex-end;gap:8px;margin-bottom:10px}.printdoc{background:white;max-width:900px;margin:auto}.printhead{background:var(--red);color:white;padding:16px;display:grid;grid-template-columns:1fr 1fr}.printhead span{text-align:right;font-weight:800}.printhead small{grid-column:1/-1;margin-top:5px}.printstatus{border:2px solid var(--red);padding:10px;display:flex;justify-content:space-between;margin:10px 0}.printdoc h2{font-size:16px;border-bottom:2px solid var(--red);padding-bottom:5px;margin-top:22px}.demofoot{margin-top:20px;border:1px solid #d6c07c;background:#fff9e9;padding:10px;font-size:11px;font-weight:700}
@media(max-width:1200px){.modules{grid-template-columns:repeat(3,1fr)}.categoryGrid{grid-template-columns:repeat(3,1fr)}.grid3,.cards{grid-template-columns:1fr}.top-actions button{display:none}.patientgrid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){header{min-height:78px;padding:10px 12px}.hamb{display:block}.shield{display:none}.brand h1{font-size:24px}.brand h1 span,.brand>div>small{display:none}.top-actions strong{font-size:10px;padding:8px}.app{grid-template-columns:1fr}aside{position:fixed;z-index:30;left:-270px;top:78px;width:260px;height:calc(100vh - 78px);transition:.2s;overflow:auto}aside.open{left:0}.navitem{min-width:0}main{padding:14px}.title{display:block}.title h2{font-size:25px}.badge{display:inline-block;margin-bottom:12px}.agencyHero{display:block}.heroActions{justify-content:stretch;margin-top:12px}.heroActions .btn{width:100%}.categoryGrid{grid-template-columns:1fr 1fr}.formgrid,.detailgrid,.patientgrid,.docgrid{grid-template-columns:1fr}.workflow i{display:none}.workflow span{width:100%}.row{align-items:flex-start}.tablewrap table{min-width:680px}.patientHead{align-items:flex-start}.priority{white-space:nowrap}.toolbar{display:grid}.toolbar .btn{width:100%}}
@media(max-width:430px){.categoryGrid{grid-template-columns:1fr}.brand b{font-size:14px}.brand h1{font-size:21px}}
@media print{header,aside,.title,.agencyHero,.workflow,.categoryGrid,.toolbar{display:none!important}.app{display:block}.app main{padding:0}.printing #view{display:block}.printdoc{max-width:none}.patient{page-break-inside:avoid}.patient.high{border:3px solid #000;border-left:9px solid #000}.priority.high{background:#000!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.printhead{background:#e31b23!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.resourcechips span{border:1px solid #777}.tablewrap{overflow:visible}table{font-size:9.5pt}body{background:#fff}}

.ep-counts{display:flex;gap:12px;align-items:center;background:#fff7e5;border:1px solid #ead6a0;border-radius:8px;padding:11px 14px;margin:12px 0}.ep-counts b{font-size:20px;color:var(--red)}
.ep-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ep-card{background:white;border:1px solid var(--line);border-radius:10px;padding:15px;text-align:left;cursor:pointer;color:var(--ink);min-height:170px}.ep-card.demo{border-top:5px solid var(--red)}.ep-card.locked{border-top:5px solid var(--gray);background:#fafbfc}.ep-top{display:flex;justify-content:space-between;gap:8px}.epnum{font-weight:900;color:var(--red)}.access{font-size:10px;font-weight:900;letter-spacing:.4px}.ep-card h3{font-size:15px;min-height:40px}.status{font-size:11px;color:var(--muted);margin:12px 0}.status strong{color:var(--ink)}.ep-action{font-size:11px;font-weight:900;color:#244d72}.ep-lock{border-top:5px solid var(--gray);margin-top:16px}.ep-work{border-top:5px solid var(--red);margin-top:16px}.ep-work .field{margin:12px 0}.ep-work .field small{display:block;color:var(--muted);margin:4px 0 6px}.ep-work textarea,.ep-work select,.ep-work input{width:100%;padding:11px;border:1px solid #cfd9e5;border-radius:7px;background:#fff}.ep-work textarea{min-height:90px}.ep-report{border:2px solid var(--red);background:#fffafa;padding:16px;border-radius:8px;margin-top:16px}
@media(max-width:1000px){.ep-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.ep-grid{grid-template-columns:1fr}.ep-counts{display:block}.ep-card{min-height:0}}
.eo-shell{border-top:5px solid #e31b23}.eo-titlebar{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.eo-badge{background:#202933;color:#fff;padding:10px 13px;border-radius:8px;font-weight:800;white-space:nowrap}.eo-lock-note{margin-top:12px;padding:14px;border-left:5px solid #e31b23;background:#f7f8fa}.hazard-scope{margin-top:16px}.hazard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.hazard-chip{padding:10px;border:1px solid #dce2e8;border-radius:8px;background:#fafbfc;font-size:12px}.hazard-chip.demo{border-color:#2d9d50}.hazard-chip .state{display:block;font-size:9px;font-weight:800;margin-top:5px;color:#6b7280}.hazard-chip.demo .state{color:#2d9d50}.eo-meta{background:#f6f8fa;border:1px solid #dce2e8;border-radius:8px;padding:12px;margin:12px 0;font-size:12px}.eo-action-row{border-left:4px solid #e31b23;background:#f8f9fa;padding:10px 12px;margin:7px 0}.eo-action-row small{display:block;color:#68717d;margin-top:3px}.demo-banner{background:#fff3cd;border:1px solid #e6c55a;padding:10px 14px;font-weight:800;border-radius:7px;margin:12px 0}.hidden{display:none}.emergencyBtn:disabled{background:#8d949b;cursor:not-allowed}@media(max-width:900px){.hazard-grid{grid-template-columns:repeat(2,1fr)}.eo-titlebar{display:block}.eo-badge{display:inline-block;margin-top:8px}}@media(max-width:600px){.hazard-grid{grid-template-columns:1fr}}

/* CEMP MASTER PUBLIC DEMO */
.cemp-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.cemp-kpis>div{background:#fff;border:1px solid var(--line);border-top:4px solid #23384d;border-radius:9px;padding:14px}.cemp-kpis b{display:block;font-size:28px}.cemp-kpis small{color:var(--muted);font-weight:800}.cemp-kpis .cemp-kpi-red{border-top-color:var(--red);background:#fff8f8}.cemp-controlbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.cemp-controlbar .field{min-width:310px}.cemp-section-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.cemp-demo-mark{background:#fff3cd;border:1px solid #e6c55a;padding:8px 10px;border-radius:7px;font-weight:900;font-size:11px}.cemp-tablewrap{overflow:auto;border:1px solid #d9e2eb;border-radius:8px}.cemp-table{min-width:1250px}.cemp-table td small,.cemp-table td b{display:block}.cemp-table tr.cemp-missing td:nth-child(4){background:#ffc7ce;color:#8d1017}.cemp-table tr.cemp-missing td:nth-child(5){background:#fff0f0}.cemp-status{display:inline-block;padding:6px 8px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.cemp-status.cemp-missing{background:#b20f1c;color:white}.cemp-status.cemp-complete{background:#dff3e6;color:#156b36}.cemp-status.cemp-review{background:#fff0b5;color:#765100}.cemp-status.cemp-open{background:#e8edf2;color:#34495e}.cemp-redbox{border:2px solid #b20f1c;background:#fff0f0;padding:8px;border-radius:7px}.cemp-redbox input{display:block;width:100%;margin:7px 0;padding:8px;border:1px solid #d88;border-radius:5px}.mini{border:0;border-radius:5px;background:#23384d;color:#fff;padding:6px 8px;font-size:10px;font-weight:900;cursor:pointer;margin-top:6px}.mini.verify{background:#17763a}.cemp-gap{display:block;width:100%;text-align:left;background:#fff7f7;border:1px solid #efc2c5;border-left:5px solid var(--red);border-radius:7px;padding:10px 12px;margin:7px 0;cursor:pointer}.cemp-gap b,.cemp-gap span,.cemp-gap small{display:block}.cemp-gap span{margin:3px 0}.cemp-gap small{color:var(--muted)}
@media(max-width:900px){.cemp-kpis{grid-template-columns:1fr 1fr}.cemp-controlbar{display:block}.cemp-controlbar .field{min-width:0;margin-top:12px}}
@media(max-width:520px){.cemp-kpis{grid-template-columns:1fr}}


/* Integrated Patient Continuity Center — governing demo projection */
.pc-shell{margin:24px auto;padding:24px;max-width:1500px;background:#fff;border:1px solid #e2d8d2;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.06)}
.pc-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid #eee;padding-bottom:16px}.pc-head h2{margin:.1rem 0}.pc-badge{font-size:11px;font-weight:800;letter-spacing:.08em;padding:9px 12px;border:1px solid #b78c37;border-radius:999px;background:#fff9e8;color:#6d4b10}.pc-kpis{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;margin:18px 0}.pc-kpi{background:#f8f3ef;border:1px solid #e6ddd7;border-radius:12px;padding:13px}.pc-kpi span{display:block;font-size:11px;text-transform:uppercase;color:#756b66;font-weight:700}.pc-kpi b{display:block;font-size:25px;margin-top:4px}.pc-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:14px 0}.pc-toolbar label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#625a55}.pc-toolbar select,.pc-toolbar input{display:block;margin-top:5px;min-height:40px;border:1px solid #d7cec8;border-radius:8px;padding:0 10px;background:#fff}.pc-toolbar input{min-width:220px}.pc-layout{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(480px,1.6fr);gap:16px}.pc-list{display:flex;flex-direction:column;gap:9px}.pc-card{width:100%;text-align:left;border:1px solid #e0d8d2;background:#fff;border-radius:12px;padding:13px;cursor:pointer}.pc-card:hover,.pc-card.active{border-color:#8b0000;box-shadow:0 4px 14px rgba(139,0,0,.1)}.pc-card-top{display:flex;justify-content:space-between;gap:10px}.pc-id{font-weight:900}.pc-priority{font-size:10px;font-weight:900;padding:4px 7px;border-radius:999px;background:#f4e6e6;color:#7d1212}.pc-gap{margin-top:8px;color:#8b0000;font-size:12px;font-weight:700}.pc-detail{border:1px solid #e0d8d2;border-radius:14px;padding:18px;background:#fcfbfa;min-height:520px}.pc-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:12px 0}.pc-summary div{background:#fff;border:1px solid #e5ded8;border-radius:9px;padding:9px}.pc-summary small{display:block;color:#776e68;font-size:10px;text-transform:uppercase}.pc-summary strong{display:block;margin-top:3px}.pc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pc-box{background:#fff;border:1px solid #e5ded8;border-radius:10px;padding:12px}.pc-box h4{margin:0 0 8px;color:#5a1020}.pc-box ul{margin:0;padding-left:18px}.pc-chip{display:inline-block;margin:2px 4px 2px 0;padding:4px 7px;background:#f1eee9;border-radius:999px;font-size:11px}.pc-alert{border-left:4px solid #8b0000;background:#fff2f2;padding:10px;border-radius:7px;margin:5px 0}.pc-ok{border-left:4px solid #3f7b55;background:#eff8f1;padding:10px;border-radius:7px;margin:5px 0}.pc-timeline{border-left:2px solid #d9d0ca;padding-left:14px}.pc-event{margin-bottom:10px}.pc-event b{display:block}.pc-event small{color:#766e68}.pc-report-panel{margin-top:16px}.pc-report{background:#fff;border:1px solid #d8cec7;border-radius:12px;padding:16px}.pc-report table{width:100%;border-collapse:collapse}.pc-report th,.pc-report td{padding:7px;border-bottom:1px solid #eee;text-align:left;font-size:12px}.pc-empty{color:#756d68;padding:50px 20px;text-align:center}.pc-actions button{margin:4px 6px 4px 0}.pc-demo-note{font-size:11px;color:#776e68}
@media(max-width:1000px){.pc-kpis{grid-template-columns:repeat(3,1fr)}.pc-layout{grid-template-columns:1fr}.pc-detail{min-height:auto}.pc-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.pc-shell{margin:10px;padding:14px;border-radius:12px}.pc-head{flex-direction:column}.pc-kpis{grid-template-columns:repeat(2,1fr)}.pc-toolbar{display:grid;grid-template-columns:1fr}.pc-toolbar input,.pc-toolbar select{width:100%;box-sizing:border-box}.pc-grid{grid-template-columns:1fr}.pc-summary{grid-template-columns:1fr 1fr}.pc-detail{padding:12px}}

.cemp-gap small{display:block;margin-top:5px}.cemp-gap:hover{outline:2px solid #9b1c24}.pc-alert .mini{margin-top:7px}.pc-detail .row{gap:12px}.pc-report table{width:100%;border-collapse:collapse}.pc-report th,.pc-report td{padding:8px;border-bottom:1px solid #e8e8e8;text-align:left}

/* CEMP Controls / Compliance Center integrated module */
.cc-shell{background:#fff;border-radius:14px;padding:22px;border-top:6px solid #8b1122;box-shadow:0 4px 18px #18202a12}.cc-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.cc-head h2{margin:5px 0;font-size:28px}.cc-badge{background:#18202a;color:#fff;padding:11px 14px;border-radius:8px;font-weight:900;white-space:nowrap}.cc-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:16px 0}.cc-kpi{border:1px solid #dce2e8;border-radius:9px;padding:12px;background:#f8f9fb;cursor:pointer;text-align:left}.cc-kpi b{display:block;font-size:23px}.cc-kpi.red{border-color:#d92935;background:#fff2f2;color:#a40e1a}.cc-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:9px;margin:13px 0}.cc-toolbar input,.cc-toolbar select,.cc-box select{padding:11px;border:1px solid #cfd7df;border-radius:7px;background:#fff}.cc-impact{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-left:5px solid #8b1122;background:#f8f5f5;margin:12px 0}.cc-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:14px}.cc-list{display:flex;flex-direction:column;gap:8px;max-height:800px;overflow:auto}.cc-card{background:#fff;border:1px solid #dce2e8;border-radius:9px;padding:13px;text-align:left;cursor:pointer}.cc-card.active{border-color:#8b1122;box-shadow:0 0 0 2px #8b112222}.cc-card.red{border-left:6px solid #d92935;background:#fff7f7}.cc-card .cc-status{font-size:10px;font-weight:900;letter-spacing:.5px}.cc-card .cc-meta{font-size:11px;color:#6b7280;margin-top:4px}.cc-detail{border:1px solid #dce2e8;border-radius:12px;padding:18px;min-height:380px;min-width:0}.cc-empty{padding:28px;color:#6b7280}.cc-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.cc-summary>div{background:#f8f9fb;padding:10px;border-radius:8px}.cc-summary small{display:block;color:#667085}.cc-summary strong{display:block;margin-top:4px;overflow-wrap:anywhere}.cc-box{border:1px solid #e3e6ea;border-radius:9px;padding:13px;margin-top:12px}.cc-box h4{margin:0 0 8px}.cc-red{background:#fff1f1;border:1px solid #e22b38;color:#9e111b;padding:10px;border-radius:7px;margin:7px 0;font-weight:800}.cc-ok{background:#edf8f1;border:1px solid #55a76d;padding:10px;border-radius:7px}.cc-pill{display:inline-block;border:0;background:#eef1f5;padding:6px 9px;border-radius:999px;margin:3px;font-size:11px;cursor:pointer}.cc-evidence{padding:9px;background:#f8f9fb;border-radius:7px;margin:6px 0}.cc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.cc-history{border-left:3px solid #c4c9d0;padding-left:12px;margin:8px 0}.cc-report-panel{margin-top:15px}.cc-report{border:2px solid #8b1122;padding:18px;border-radius:10px}.cc-report table{width:100%;border-collapse:collapse}.cc-report th,.cc-report td{border-bottom:1px solid #ddd;padding:7px;text-align:left;font-size:12px;vertical-align:top}.cc-report tr.red td{background:#fff3f3}.cc-source{font-size:12px;color:#59616b}.cc-sim{font-size:11px;color:#8b1122;font-weight:800}.pc-demo-note{display:inline-block;background:#18202a;color:#fff;padding:6px 9px;border-radius:6px;font-size:10px;font-weight:800}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.8px;color:#8b1122}.mini{border:1px solid #c8d0d9;background:#fff;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:800;cursor:pointer;margin-top:5px}
@media(max-width:1000px){.cc-kpis{grid-template-columns:repeat(3,1fr)}.cc-toolbar{grid-template-columns:1fr 1fr}.cc-toolbar button{grid-column:1/-1}.cc-layout{grid-template-columns:1fr}.cc-list{max-height:360px}.cc-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.cc-head{display:block}.cc-badge{display:inline-block;margin-top:10px}.cc-kpis,.cc-summary{grid-template-columns:1fr 1fr}.cc-toolbar{grid-template-columns:1fr}.cc-toolbar button{grid-column:auto}.cc-impact{display:block}.cc-actions{flex-direction:column}.cc-actions>*{width:100%}}


/* Staff & Training / Education Center */
.tt-shell{display:flex;flex-direction:column;gap:16px}.tt-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(135deg,#102f4e,#174e79);color:#fff;padding:24px;border-radius:16px}.tt-hero h2{margin:4px 0 8px}.tt-badge{background:#fff;color:#174e79;font-weight:800;padding:10px 14px;border-radius:999px;white-space:nowrap}.tt-kpis{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:10px}.tt-kpi{background:#fff;border:1px solid #d9e1e8;border-radius:12px;padding:14px}.tt-kpi b{font-size:24px;display:block}.tt-kpi span{font-size:12px;color:#56616b}.tt-kpi.bad{border-top:4px solid #e31b23}.tt-kpi.warn{border-top:4px solid #c39a19}.tt-kpi.good{border-top:4px solid #2d9d50}.tt-toolbar{display:flex;gap:8px;flex-wrap:wrap}.tt-toolbar input,.tt-toolbar select{padding:10px 12px;border:1px solid #cbd5df;border-radius:8px;background:#fff}.tt-layout{display:grid;grid-template-columns:minmax(300px,38%) 1fr;gap:14px}.tt-list{display:flex;flex-direction:column;gap:8px;max-height:700px;overflow:auto}.tt-card{background:#fff;border:1px solid #dce4eb;border-left:5px solid #1676c5;border-radius:10px;padding:13px;text-align:left;display:flex;flex-direction:column;gap:5px;cursor:pointer}.tt-card.tt-bad{border-left-color:#e31b23}.tt-card.selected{box-shadow:0 0 0 2px #1676c5}.tt-card small{color:#68737d}.tt-card span{font-size:13px;color:#56616b}.tt-status{font-style:normal;font-weight:800;font-size:11px;background:#e8f4ff;color:#165c94;padding:4px 7px;border-radius:999px;align-self:flex-start}.tt-status.bad{background:#fde8e8;color:#a80e18}.tt-detail{background:#fff;border:1px solid #dce4eb;border-radius:14px;padding:18px;min-height:420px}.tt-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e4e9ee;padding-bottom:12px}.tt-detail-head h3{margin:4px 0}.tt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.tt-grid>div{border:1px solid #e1e7ed;border-radius:10px;padding:11px;display:flex;flex-direction:column;gap:4px}.tt-grid label{font-size:11px;font-weight:800;text-transform:uppercase;color:#66727c}.tt-grid span{font-size:12px;color:#5e6871}.tt-remed{background:#fff1f1;border:1px solid #f2b7ba;border-left:5px solid #e31b23;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px}.tt-actions,.tt-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.tt-links button{border:1px solid #cbd5df;background:#f8fafc;padding:8px 10px;border-radius:8px;cursor:pointer}.tt-audit{margin-top:14px;padding-top:10px;border-top:1px solid #e3e8ed;display:flex;flex-direction:column;font-size:12px;color:#65717a}.tt-report-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:12px 0}.tt-report-grid>div{border:1px solid #dce4eb;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px}.tt-report-grid span{font-size:12px;color:#63707a}@media(max-width:1100px){.tt-kpis{grid-template-columns:repeat(3,1fr)}.tt-report-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.tt-hero{flex-direction:column;align-items:flex-start}.tt-layout{grid-template-columns:1fr}.tt-kpis{grid-template-columns:repeat(2,1fr)}.tt-grid{grid-template-columns:1fr}.tt-report-grid{grid-template-columns:1fr}}


/* Six-Center Intelligence Integration */
.sx-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(135deg,#123e43,#0b6f72);color:#fff;padding:24px;border-radius:16px;margin-bottom:14px}.sx-hero.purple{background:linear-gradient(135deg,#3a225e,#7142c1)}.sx-hero.orange{background:linear-gradient(135deg,#6d350a,#df6d0b)}.sx-hero.gold{background:linear-gradient(135deg,#5d4909,#a78416)}.sx-hero.slate{background:linear-gradient(135deg,#27333d,#536573)}.sx-hero h2{margin:5px 0 8px}.sx-hero>b{background:#fff;color:#20303a;border-radius:999px;padding:10px 14px;white-space:nowrap}.sx-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.sx-toolbar input,.sx-toolbar select{padding:10px 12px;border:1px solid #ccd5dd;border-radius:8px;background:#fff;min-width:180px}.sx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sx-card{background:#fff;border:1px solid #dce3e8;border-left:5px solid #088e91;border-radius:12px;padding:15px;min-width:0}.sx-card.red{border-left-color:#e31b23;background:#fffafa}.sx-card h3{margin:6px 0 9px}.sx-card small{color:#65717a}.sx-card p{font-size:13px;color:#3f4b55;overflow-wrap:anywhere}.sx-status{display:inline-block;font-size:10px;font-weight:900;padding:5px 8px;border-radius:999px;background:#fff0c2;color:#705b00}.sx-status.good{background:#e3f5e8;color:#1b6832}.sx-status.bad{background:#fde7e7;color:#9c1018}.sx-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.sx-actions button{border:1px solid #cbd5df;background:#f7f9fb;border-radius:7px;padding:7px 9px;font-size:11px;font-weight:800;cursor:pointer}.sx-packet{margin-top:14px;border-top:5px solid #7142c1}.sx-dashboard{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:13px 0}.sx-dashboard button{background:#fff;border:1px solid #dce3e8;border-radius:10px;padding:12px;text-align:left;cursor:pointer}.sx-dashboard b{display:block;font-size:23px;color:#7d121d}.sx-dashboard span{font-size:11px;color:#606d77}
@media(max-width:1000px){.sx-grid{grid-template-columns:1fr}.sx-dashboard{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.sx-hero{flex-direction:column;align-items:flex-start}.sx-grid{grid-template-columns:1fr}.sx-dashboard{grid-template-columns:repeat(2,1fr)}.sx-toolbar{display:grid;grid-template-columns:1fr}.sx-toolbar input,.sx-toolbar select,.sx-toolbar button{width:100%;box-sizing:border-box}.sx-actions{flex-direction:column}.sx-actions button{width:100%}}


/* Final intelligence / command center */
.fx-hero,.fx-command{margin:18px 0;padding:22px;border:1px solid #dce3e8;border-radius:14px;background:linear-gradient(135deg,#f8fafc,#fff);display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.fx-hero.green{border-left:5px solid #277d72}.fx-hero h2,.fx-command h2{margin:6px 0 8px}.fx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px}.fx-card{border:1px solid #dbe2e7;border-radius:12px;padding:16px;background:#fff}.fx-card.red{border-left:5px solid #b20f1c;background:#fff8f8}.fx-command{display:block;border-left:5px solid #23384d}.fx-command.incident{border-left-color:#b20f1c;background:#fff8f8}.fx-command-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin-top:14px}.fx-command-grid button{border:1px solid #dbe2e7;background:white;border-radius:10px;padding:14px;cursor:pointer;text-align:left}.fx-command-grid b{display:block;font-size:24px}.fx-command-grid span{font-size:12px;color:#52606d}@media(max-width:700px){.fx-hero{display:block}.fx-command-grid{grid-template-columns:repeat(2,1fr)}}
