:root{--ink:#0b2152;--muted:#7286a7;--line:#e7eef6;--teal:#009b8d;--sidebar:260px}
.oh-shell-pending{margin:0;min-height:100vh;background:#f5fafc}.oh-shell-pending #workspace{visibility:hidden}.oh-shell-pending::before{content:'';position:fixed;inset:0;z-index:99999;background:#f5fafc url('/logo.png') center 45%/220px auto no-repeat}
.oh-admin{background:radial-gradient(ellipse at top,#f4fbfe,#ecf6fa);color:var(--ink);font:13px/1.4 'Segoe UI','Myanmar Text',sans-serif}.oh-admin .oh-sidebar{width:var(--sidebar);padding:0;background:linear-gradient(140deg,#fff,#f3fbfc);border-right:1px solid var(--line);z-index:20;overflow-y:auto}.oh-brand{height:62px;min-height:62px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line)}.oh-brand img{width:218px;max-height:52px;object-fit:contain}.oh-navigation{padding:15px 8px;display:block}.oh-nav-group{font-size:11px;font-weight:600;color:#536c90;padding:13px 21px 6px}.oh-navigation .oh-nav-link{position:relative;display:flex;gap:16px;align-items:center;padding:7px 21px;color:var(--ink);font-size:13px;border-radius:5px;text-decoration:none;min-height:31px}.oh-navigation .oh-nav-link:hover{background:#eaf6f7}.oh-navigation .oh-nav-link.active{color:#008b80;background:#dff4f3;font-weight:600}.oh-navigation .oh-nav-link.active:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:3px;background:var(--teal)}.oh-navigation .no-access{opacity:.42;cursor:not-allowed}.oh-chevron{margin-left:auto;font-size:17px}.oh-icon{height:23px;width:23px;min-width:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.teal{color:#00a88d}.red{color:#ff3156}.blue{color:#087dff}.purple{color:#9500eb}.orange{color:#ff6b00}.slate{color:#4b6383}.oh-admin main{margin-left:var(--sidebar)}.oh-admin .oh-topbar{height:62px;padding:8px 24px;background:#ffffffdd;border-bottom:1px solid var(--line);display:flex;gap:18px}.oh-global-search{position:relative;display:flex;align-items:center;gap:12px;background:#f0f4fa;border:1px solid #e7edf6;border-radius:8px;padding:0 12px;width:480px;max-width:45%}.oh-global-search .oh-icon{width:18px;height:18px;min-width:18px}.oh-global-search input{background:transparent;border:0;box-shadow:none;padding:10px 0;font-size:11px;margin:0;color:var(--ink)}.oh-top-actions{display:flex;align-items:center;gap:18px}.oh-top-actions small{display:block;font-size:10px;color:var(--muted)}.oh-identity{font-size:12px;color:var(--ink)}.oh-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e4ecf5;color:#6e85a1;font-size:20px}.oh-notifications{display:flex;padding-right:8px}.oh-admin .content{max-width:none;padding:14px 14px 22px}.oh-admin h1{font-size:27px;letter-spacing:-.65px;margin:3px 0 0;line-height:1.2;color:#091e4d}.oh-admin h2{color:var(--ink)}.oh-admin h3{font-size:12px;color:var(--ink);font-weight:650}.oh-admin p{color:#647a9b}.oh-admin .quiet{font-size:11px;padding:7px 11px;border-color:#e3edf5;color:#345178;border-radius:6px}.oh-admin .primary{padding:9px 14px;border-radius:6px;background:#009d91}.oh-admin input[type=checkbox]{width:16px;height:16px;display:inline-block;vertical-align:middle;margin:0 6px 0 0;accent-color:#00a18f}.oh-admin .panel{border-color:var(--line);border-radius:8px;margin-top:10px}.oh-admin .panel-heading{padding:14px 16px}.oh-admin td{padding:12px 15px}.oh-admin th{color:#587094;background:#f4f8fc}.oh-admin .module-title{font-size:22px;margin:0 0 12px}.module-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px;max-width:100%}.module-tabs button,.module-tabs>a{width:auto;display:inline-flex;align-items:center;margin:0;padding:7px 10px;font-size:11px;background:#fff;border:1px solid var(--line);border-radius:6px;white-space:nowrap}.module-tabs button.active,.module-tabs a[aria-current=page]{background:#ddf5ef;color:#008f81}.module-tabs button span{font-size:14px;width:auto}.oh-admin #care-content{padding:12px}.oh-admin #blood-content>.panel{padding:16px}.oh-admin #blood-content form{max-width:620px}.oh-admin #master-body{padding:16px}.oh-admin #tabs{padding:12px;flex-wrap:wrap}.oh-intro{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 10px}.oh-intro small{font-size:12px;color:#4f6687}.oh-intro p{font-size:12px;margin:3px 0 0}.oh-period{display:flex;align-items:center;gap:10px}.oh-period>span{padding:8px 11px;background:white;border:1px solid var(--line);border-radius:6px;font-size:11px;white-space:nowrap}.oh-period button{background:#009e93;border:0;border-radius:5px;color:white;padding:8px 14px;font-size:11px}.oh-kpis{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin-bottom:9px}.oh-kpi{background:linear-gradient(120deg,#fff,#ffffffcc);border:1px solid var(--line);border-radius:8px;padding:10px 10px 9px;min-height:119px;display:grid;grid-template-columns:45px 1fr;gap:9px;align-content:start}.oh-kpi-icon{display:grid;place-items:center;width:45px;height:47px;border-radius:10px;background:#e0f7f1}.oh-kpi-icon.red{background:#ffe7ee}.oh-kpi-icon.blue{background:#e5f1ff}.oh-kpi-icon.purple{background:#f2e2ff}.oh-kpi-icon.orange{background:#fff0e3}.oh-kpi-icon .oh-icon{height:29px;width:29px}.oh-kpi strong{font-size:21px;display:block;line-height:1.2;margin:4px 0}.oh-kpi .label{font-size:9px;line-height:1.2;display:block;color:#455f88}.oh-kpi .meta{grid-column:1/-1;font-size:9px;color:#7d91ad;margin-top:6px;display:flex;align-items:center;gap:5px}.oh-kpi .dot{width:5px;height:5px;border-radius:50%;background:#00b299}.oh-grid{display:grid;grid-template-columns:1.17fr 1fr .98fr .94fr;gap:8px}.oh-widget{border:1px solid var(--line);border-radius:8px;background:linear-gradient(120deg,#fff,#ffffffbd);padding:9px 10px;min-width:0;overflow:hidden}.oh-widget-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;min-height:22px}.oh-widget-head h3{margin:0;flex:1}.oh-widget-head a{font-size:9px;color:#087bff;white-space:nowrap;text-decoration:none}.oh-widget-head .oh-icon{height:23px;width:23px}.oh-widget-row{min-height:255px}.oh-widget-row2{min-height:283px}.oh-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:180px;text-align:center;color:#7d90ab;font-size:11px;padding:18px}.oh-empty .oh-icon{height:33px;width:33px;opacity:.3}.oh-empty strong{font-size:12px;font-weight:500;color:#577093}.oh-empty small{font-size:10px;max-width:210px}.oh-list-row{display:flex;align-items:center;gap:9px;padding:9px 2px;border-bottom:1px solid #edf2f8;min-height:42px}.oh-list-row:last-child{border-bottom:0}.oh-list-row .oh-icon{width:20px;height:20px;min-width:20px}.oh-list-text{flex:1;min-width:0}.oh-list-text strong{display:block;font-size:10px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oh-list-text small{display:block;font-size:9px;color:#7d90af}.oh-pill{display:inline-block;border-radius:7px;padding:4px 8px;background:#dcf8f0;color:#008e77;font-size:9px;white-space:nowrap}.oh-pill.urgent{background:#ffe4ec;color:#f5274e}.oh-pill.pending{background:#fff0cd;color:#b97513}.oh-pill.neutral{background:#e7f1ff;color:#0878df}.oh-metric-panel{border:1px solid #edf2f7;border-radius:8px;padding:12px;display:flex;gap:12px;align-items:center;min-height:117px}.oh-ring{width:112px;min-width:112px;height:112px;position:relative;border:12px solid #e8eef5;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.oh-ring strong{font-size:23px;line-height:1.1}.oh-ring small{font-size:9px;text-align:center;color:#7185a0;max-width:76px}.oh-metric-panel p{font-size:10px;margin-bottom:6px}.oh-response{margin-top:8px;background:#f1fcf8;border:1px solid #e5f5ef;border-radius:7px;padding:9px;font-size:10px;display:flex;gap:10px;align-items:center}.oh-response strong{display:block;font-size:16px;margin-top:3px}.oh-response small{color:#7b91ab}.oh-chart-empty{height:82px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 19px,#eff4f9 20px);display:flex;align-items:center;justify-content:center;color:#879ab2;font-size:10px;margin:8px 0}.oh-subtitle{font-size:10px;font-weight:600;margin:8px 0 2px}.oh-map{height:230px;border-radius:8px;background-color:#f0f7f7;background-image:linear-gradient(#dce9ea88 1px,transparent 1px),linear-gradient(90deg,#dce9ea88 1px,transparent 1px);background-size:28px 28px;position:relative;overflow:hidden}.oh-map svg{width:100%;height:100%}.oh-map-note{position:absolute;bottom:5px;left:7px;font-size:9px;background:#ffffffdd;padding:3px;border-radius:3px;color:#587389}.oh-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:8px;margin-top:8px}.oh-bottom .oh-empty{min-height:45px;padding:8px}.oh-quick-actions{display:flex;gap:7px;flex-wrap:wrap}.oh-quick-actions a{display:flex;gap:6px;align-items:center;font-size:9px;text-decoration:none;color:#267395;border:1px solid #dfeef4;background:#f3fbfc;padding:8px;border-radius:6px;flex:1;min-width:80px}.oh-quick-actions .oh-icon{height:20px;width:20px;min-width:20px}.oh-updated{font-size:9px;color:#7a8da8;text-align:right;margin-top:7px}.oh-message{padding:12px;border:1px solid #f2d8a6;border-radius:7px;background:#fff9e9;color:#805e27;margin-bottom:12px}.oh-user-form{max-width:950px;padding:18px}.oh-user-form fieldset{border:1px solid var(--line);border-radius:8px;padding:15px;margin:14px 0}.oh-user-form legend{font-weight:600}.oh-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.oh-permission-table td,.oh-permission-table th{padding:8px;font-size:11px}.oh-permission-table label{margin:0}.oh-permission-table input{margin:0}.oh-user-list{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.oh-admin .oh-pagination-note{font-size:10px;color:var(--muted)}
@media(min-width:1800px){:root{--sidebar:274px}.oh-navigation .oh-nav-link{font-size:14px;min-height:34px}.oh-widget-row{min-height:285px}.oh-widget-row2{min-height:300px}}
@media(max-width:1250px){:root{--sidebar:225px}.oh-brand img{width:190px}.oh-navigation .oh-nav-link{gap:10px;padding-left:14px;font-size:12px}.oh-kpis{grid-template-columns:repeat(4,1fr)}.oh-kpi{min-height:98px}.oh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oh-top-actions{gap:10px}.oh-period{display:none}}
@media(max-width:760px){:root{--sidebar:190px}.oh-topbar .oh-global-search{display:none}.oh-admin .oh-topbar{justify-content:flex-end;padding:8px}.oh-top-actions{gap:7px}.oh-admin .content{padding:10px}.oh-admin h1{font-size:22px}.oh-kpis{grid-template-columns:repeat(2,1fr)}.oh-grid,.oh-bottom{grid-template-columns:1fr}.oh-form-grid{grid-template-columns:1fr}}
@media(max-width:520px){.oh-admin .oh-sidebar{position:static;width:auto;max-height:230px}.oh-navigation{display:grid;grid-template-columns:1fr 1fr;padding:6px}.oh-nav-group{grid-column:1/-1}.oh-admin main{margin-left:0}.oh-brand{height:52px;min-height:52px}.oh-top-actions .oh-avatar{display:none}.oh-admin .oh-topbar{height:52px}.oh-widget-row,.oh-widget-row2{min-height:230px}}

/* Reference-sized desktop alignment; original logo asset is retained. */
@media(min-width:1251px){:root{--sidebar:274px}.oh-navigation .oh-nav-link{gap:14px;padding:5px 21px;min-height:31px}.oh-nav-group{padding-top:12px}.oh-nav-link>span:not(.oh-chevron){white-space:nowrap}}
.oh-brand{height:66px;min-height:66px;overflow:hidden}.oh-brand img{width:200px;height:auto;max-height:none;flex-shrink:0}.oh-widget-row2 .oh-empty{min-height:125px}.oh-widget-row2 .oh-list-row{padding:6px 2px;min-height:34px}.oh-widget-row2 .oh-ring{height:92px;width:92px;min-width:92px;border-width:10px}.oh-widget-row2 .oh-metric-panel{min-height:113px;padding:9px}.oh-widget-row2 .oh-chart-empty{height:72px}.oh-widget-row2{min-height:288px}

.oh-period button:disabled{background:white;color:#516889;border:1px solid var(--line);opacity:.6;cursor:not-allowed}.oh-period{gap:5px}
@media(max-width:1250px){.oh-brand{height:58px;min-height:58px}.oh-brand img{width:176px;max-height:none}}@media(max-width:520px){.oh-brand{height:52px;min-height:52px}.oh-brand img{width:152px;max-height:none}}

/* BLOOD BACKEND UI LOCK — reference approved 2026-09-26 */
.blood-ref{font-family:'Segoe UI','Myanmar Text',sans-serif;color:#0a2455}.blood-ref *{box-sizing:border-box}.blood-loading-state{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#54708f}.blood-loading-state strong{font-size:14px;color:#17385f}.blood-loading-state small{font-size:10px;color:#8193aa}.blood-spinner{width:30px;height:30px;border:3px solid #dceae9;border-top-color:#009c8d;border-radius:50%;animation:blood-spin .8s linear infinite}@keyframes blood-spin{to{transform:rotate(360deg)}}.blood-load-error{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center}.blood-load-error button{border:0;border-radius:7px;background:#009c8d;color:#fff;padding:9px 15px;cursor:pointer}.blood-ref a{text-decoration:none;color:#087be9}.blood-ref-notice{position:fixed;right:24px;top:78px;z-index:80;padding:10px 14px;border-radius:8px;background:#e8fbf4;border:1px solid #bfe9da;color:#087862;box-shadow:0 8px 24px #173c5d1a}
.blood-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:1px 0 13px}.blood-title-wrap{display:flex;align-items:center;gap:14px}.blood-title-icon{width:66px;height:66px;border-radius:14px;background:linear-gradient(145deg,#fff0f4,#ffe4eb);display:grid;place-items:center;color:#ff3156}.blood-title-icon .blood-icon{width:36px;height:36px}.blood-title-wrap small{font-size:10px;letter-spacing:.45px;color:#587091}.blood-title-wrap h1{font-size:27px!important;margin:2px 0!important}.blood-title-wrap p{margin:0;font-size:12px;color:#6d819e}.blood-hero-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.blood-date-controls{display:flex;align-items:center;gap:8px}.blood-date,.blood-refresh{display:flex;align-items:center;gap:8px;height:40px;border-radius:8px;padding:0 14px;border:1px solid #dfe8f1;background:#fff;color:#17385f;font-size:11px}.blood-date{position:relative;min-width:168px;cursor:pointer}.blood-date.active{border-color:#009c8d;box-shadow:0 0 0 2px #009c8d14}.blood-date input.blood-date-native{position:static;inset:auto;width:128px;height:30px;opacity:1;cursor:pointer;border:0;outline:0;background:transparent;color:#17385f;font:inherit;padding:0}.blood-date input.blood-date-native::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.78;margin-left:4px}.blood-range-tabs{display:inline-flex;align-items:center;padding:3px;background:#f3f7fa;border:1px solid #e1e9f1;border-radius:9px;position:relative}.blood-range-btn,.blood-month-summary{height:32px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#607994;font:inherit;font-size:10px;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:5px;list-style:none}.blood-month-summary::-webkit-details-marker{display:none}.blood-range-btn:hover,.blood-month-summary:hover{background:#eaf4f2;color:#087f74}.blood-range-btn.active,.blood-month-summary.active{background:#009c8d;color:#fff;font-weight:600;box-shadow:0 2px 6px #009c8d24}.blood-month-menu{position:relative}.blood-month-dropdown{position:absolute;z-index:60;top:38px;right:0;width:230px;max-height:330px;overflow:auto;padding:8px;background:#fff;border:1px solid #dfe8f1;border-radius:10px;box-shadow:0 14px 34px #1639572b}.blood-month-dropdown>strong{display:block;padding:6px 8px 8px;font-size:9px;color:#7185a1;text-transform:uppercase;letter-spacing:.35px}.blood-month-option{width:100%;border:0;background:transparent;border-radius:7px;padding:9px 10px;text-align:left;color:#17385f;font:inherit;font-size:10px;cursor:pointer}.blood-month-option:hover{background:#f1faf8}.blood-month-option.active{background:#e5f7f3;color:#087f74;font-weight:700}.blood-refresh{background:linear-gradient(135deg,#10b8a5,#009789);color:#fff;border-color:#009789;cursor:pointer}.blood-refresh:hover{filter:brightness(.98)}
.blood-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.blood-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px}.blood-metric{min-height:94px;background:#fff;border:1px solid #e3ebf4;border-radius:10px;display:grid;grid-template-columns:46px 1fr 12px;gap:10px;align-items:center;padding:12px;box-shadow:0 5px 18px #1f4e7210}.blood-metric-icon{width:46px;height:50px;border-radius:11px;display:grid;place-items:center}.blood-metric strong{display:block;font-size:23px;line-height:1}.blood-metric span{display:block;font-size:10px;margin-top:5px}.blood-metric small{display:block;font-size:8px;color:#748aa8;margin-top:9px}.blood-metric>b{font-size:18px;color:#526b8a;font-weight:400}.blood-ref a.blood-metric{color:#0a2455;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.blood-ref a.blood-metric:hover{transform:translateY(-2px);border-color:#cbdce9;box-shadow:0 9px 24px #1f4e721c}.blood-ref a.blood-metric:focus-visible{outline:2px solid #0aa595;outline-offset:2px}.blood-ready-panel{margin:0 0 14px}.blood-ready-panel>h3{margin:0 0 8px;font-size:12px}.blood-metric.red .blood-metric-icon{background:#ffe7ed;color:#ff3156}.blood-metric.green .blood-metric-icon{background:#def8ef;color:#00a985}.blood-metric.blue .blood-metric-icon{background:#e3f1ff;color:#087dff}.blood-metric.purple .blood-metric-icon{background:#f2e4ff;color:#9b38e7}.blood-metric.orange .blood-metric-icon{background:#fff0e4;color:#ff7900}.blood-metric.gold .blood-metric-icon{background:#fff5d9;color:#f6a600}
.blood-tabs{display:flex;align-items:center;gap:4px;padding:5px;background:#fff;border:1px solid #e3ebf4;border-radius:9px;margin:0 0 12px;overflow-x:auto}.blood-tabs a{display:flex;align-items:center;justify-content:center;min-height:36px;padding:0 15px;border-radius:7px;color:#18375f;font-size:10px;white-space:nowrap}.blood-tabs a.active{background:linear-gradient(135deg,#13b8a7,#00998b);color:#fff;box-shadow:0 4px 12px #00a18d2b}
.blood-overview-grid{display:grid;grid-template-columns:1.05fr 1.08fr 1fr;gap:10px;margin-bottom:10px}.blood-card{background:#fff;border:1px solid #e3ebf4;border-radius:10px;padding:11px;box-shadow:0 5px 18px #1f4e7210;margin-bottom:10px;min-width:0}.blood-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.blood-card-head h3{margin:0;font-size:12px}.blood-card-head a{font-size:9px}.blood-status-wrap{display:flex;align-items:center;gap:16px;min-height:154px}.blood-donut{width:128px;height:128px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#ff3156 0 var(--a),#ff871c var(--a) var(--b),#ffc61a var(--b) var(--c),#087dff var(--c) var(--d),#b8c5d5 var(--d) 360deg);position:relative}.blood-donut:after{content:'';position:absolute;inset:18px;border-radius:50%;background:#fff}.blood-donut>div{position:relative;z-index:1;text-align:center}.blood-donut strong{display:block;font-size:22px}.blood-donut span{font-size:9px;color:#7185a1}.blood-legend{flex:1}.blood-legend>div{display:grid;grid-template-columns:10px 1fr 24px;align-items:center;gap:8px;font-size:9px;padding:4px 0}.blood-legend i{width:9px;height:9px;border-radius:3px}.blood-legend i.red{background:#ff3156}.blood-legend i.orange{background:#ff871c}.blood-legend i.yellow{background:#ffc61a}.blood-legend i.blue{background:#087dff}.blood-legend i.slate{background:#b8c5d5}.blood-legend b{text-align:right}
.blood-bars{height:154px;display:flex;gap:10px;align-items:flex-end;padding:8px 6px 2px;border-left:1px solid #edf2f7;border-bottom:1px solid #edf2f7;background:repeating-linear-gradient(to top,transparent 0,transparent 36px,#eef3f8 37px)}.blood-bar-col{flex:1;height:100%;display:grid;grid-template-rows:18px 1fr 18px;text-align:center;align-items:end;font-size:9px}.blood-bar-col>div{height:100%;display:flex;align-items:flex-end;justify-content:center}.blood-bar-col i{display:block;width:58%;max-width:22px;background:linear-gradient(#28b7ac,#079e91);border-radius:4px 4px 0 0}.blood-mini-map{height:154px;border-radius:8px;position:relative;overflow:hidden;background-color:#eff5f7;background-image:linear-gradient(25deg,transparent 45%,#dce7eb 46% 49%,transparent 50%),linear-gradient(155deg,transparent 45%,#dce7eb 46% 49%,transparent 50%),linear-gradient(90deg,#dce7eb55 1px,transparent 1px),linear-gradient(#dce7eb55 1px,transparent 1px);background-size:90px 90px,90px 90px,28px 28px,28px 28px}.blood-map-pin{position:absolute;transform:translate(-50%,-50%);width:30px;height:36px;border-radius:50% 50% 50% 0;transform-origin:center;background:#fff;color:#ff3156;border:2px solid #ff6b83;display:grid;place-items:center;rotate:-45deg;box-shadow:0 3px 8px #27476426}.blood-map-pin .blood-icon{rotate:45deg;width:17px}.blood-user-pin{position:absolute;left:49%;top:49%;width:18px;height:18px;background:#1488ff;border:4px solid #fff;border-radius:50%;box-shadow:0 0 0 15px #1488ff22}.blood-mini-map>a{position:absolute;right:8px;bottom:8px;background:#fff;border:1px solid #dfe8f1;border-radius:7px;padding:8px 10px;color:#17385f;font-size:9px;display:flex;gap:6px;align-items:center}
.blood-table-wrap{overflow:auto}.blood-table{width:100%;border-collapse:collapse;font-size:9px}.blood-table th{background:#f2f6fa;color:#55708f;text-align:left;padding:10px 12px;white-space:nowrap}.blood-table td{padding:11px 12px;border-bottom:1px solid #edf2f7;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blood-table tr:last-child td{border-bottom:0}.blood-row-no{width:46px;min-width:46px;text-align:center!important;font-weight:700;color:#7085a1}.blood-type{display:inline-grid;place-items:center;min-width:32px;padding:4px 7px;border-radius:7px;background:#ffe9ee;color:#ed3153;font-weight:700}.blood-status-pill{display:inline-block;padding:4px 7px;border-radius:7px;background:#e7f7f3;color:#008a76}.blood-coord{display:inline-block;font-family:Consolas,'Courier New',monospace;font-size:8.5px;white-space:nowrap;color:#36516f;background:#f5f8fb;border:1px solid #e3eaf1;border-radius:6px;padding:4px 6px}.blood-distance{color:#087f74;white-space:nowrap}.blood-empty{min-height:124px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8193aa}.blood-empty .blood-icon{width:38px;height:38px;opacity:.55}.blood-empty strong{margin-top:7px;font-size:11px;color:#304e73}.blood-empty p{font-size:9px;margin:4px 0 0}
.blood-donor-list{display:flex;flex-direction:column;gap:7px}.blood-donor-row{display:grid;grid-template-columns:minmax(180px,225px) 1fr;align-items:center;gap:14px;padding:9px 11px;border:1px solid #e3ebf4;border-radius:9px;background:#fbfdff}.blood-donor-person{display:flex;align-items:center;gap:10px;min-width:0}.blood-donor-person h3{margin:0 0 2px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.blood-donor-person small{font-size:8.5px;color:#6f84a0;white-space:nowrap}.blood-donor-inline{display:grid!important;grid-template-columns:150px 170px minmax(175px,1fr) 104px!important;gap:8px!important;align-items:end;margin:0!important;max-width:none!important}.blood-donor-inline label{margin:0!important}.blood-compact-field>span{display:block;margin-bottom:3px;font-size:8px;color:#607895}.blood-donor-inline select,.blood-donor-inline input[type=date]{height:34px!important;margin:0!important;padding:5px 7px!important;border-radius:6px!important;font-size:9px!important}.blood-donor-check{height:34px;display:flex!important;align-items:center;gap:5px;white-space:nowrap;font-size:8.5px!important;color:#607895!important}.blood-donor-check input{width:15px!important;height:15px!important;margin:0!important;flex:0 0 auto}.blood-donor-inline .blood-primary{height:34px;padding:0 10px;font-size:9px;white-space:nowrap}@media(max-width:1100px){.blood-donor-row{grid-template-columns:1fr}.blood-donor-inline{grid-template-columns:1fr 1fr 1fr 104px!important}}@media(max-width:760px){.blood-donor-inline{grid-template-columns:1fr 1fr!important}.blood-donor-check{white-space:normal}.blood-donor-inline .blood-primary{width:100%}}@media(max-width:520px){.blood-donor-inline{grid-template-columns:1fr!important}.blood-donor-row{padding:8px}.blood-donor-check{height:auto;min-height:30px}}
.blood-bottom-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.blood-bottom-grid .blood-card{margin-bottom:0}.blood-mini-table{font-size:8.5px}.blood-mini-table>div{display:grid;grid-template-columns:1.35fr .75fr 1fr 1fr;gap:8px;padding:8px;border-bottom:1px solid #edf2f7}.blood-mini-table>div.head{background:#f2f6fa;color:#5a7290;font-size:7.5px;text-transform:uppercase}.blood-bottom-grid .blood-card:nth-child(2) .blood-mini-table>div,.blood-bottom-grid .blood-card:nth-child(3) .blood-mini-table>div{grid-template-columns:1fr 1fr 1fr}.blood-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.blood-review-card,.blood-bank-card{border:1px solid #e3ebf4;border-radius:9px;padding:14px;background:#fbfdff}.blood-review-card form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.blood-review-card label{font-size:9px;color:#5b7290}.blood-review-card input,.blood-review-card select,.blood-inline-form select{width:100%;margin-top:5px;border:1px solid #dfe8f1;border-radius:6px;padding:8px;background:#fff}.blood-check{grid-column:1/-1}.blood-check input{width:auto;margin:0 5px 0 0}.blood-primary,.blood-inline-form button{border:0;border-radius:6px;background:#009c8d;color:#fff;padding:8px 12px;cursor:pointer}.blood-inline-form{display:flex;gap:5px;min-width:260px}.blood-inline-form select{margin:0}.blood-bank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.blood-bank-card{display:flex;gap:12px;align-items:flex-start}.blood-bank-card>.blood-icon{color:#00a18e;width:28px;height:28px}.blood-bank-card h3{margin:0 0 5px;font-size:11px}.blood-bank-card p,.blood-bank-card small{margin:0;font-size:9px;color:#7085a1}.blood-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;padding:8px 10px;background:#fff;border:1px solid #e3ebf4;border-radius:9px;box-shadow:0 3px 12px #1f4e720a;font-size:9px;color:#637b99}.blood-list-toolbar>div{display:flex;align-items:center;gap:8px;margin-left:auto}.blood-pagination-top{display:flex;align-items:center;gap:4px}.blood-pagination-top a{min-width:28px;height:28px;padding:0 8px;border:1px solid #dfe8f1;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:#17385f;background:#fff}.blood-pagination-top a.active{background:#009c8d;border-color:#009c8d;color:#fff}.blood-pagination-top a.disabled{opacity:.4;pointer-events:none}.blood-excel{height:30px;padding:0 10px;border:0;border-radius:7px;background:#147d64!important;color:#fff!important;display:inline-flex;cursor:pointer;font:inherit;align-items:center;gap:6px;font-weight:600;white-space:nowrap}.blood-excel .blood-icon{width:15px;height:15px}.blood-excel:hover{filter:brightness(.96)}.blood-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 4px;padding:10px 12px;background:#fff;border:1px solid #e3ebf4;border-radius:9px;color:#637b99;font-size:9px}.blood-pagination>div{display:flex;align-items:center;gap:5px}.blood-pagination a{min-width:30px;height:30px;padding:0 9px;border:1px solid #dfe8f1;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:#17385f;background:#fff}.blood-pagination a.active{background:#009c8d;border-color:#009c8d;color:#fff}.blood-pagination a.disabled{opacity:.4;pointer-events:none}.blood-pagination a:not(.disabled):not(.active):hover{background:#f1faf8;border-color:#b9ddd8}@media(max-width:760px){.blood-pagination{align-items:flex-start;flex-direction:column}.blood-pagination>div{width:100%;overflow-x:auto;padding-bottom:2px}}
@media(max-width:1280px){.blood-metrics{grid-template-columns:repeat(3,1fr)}.blood-overview-grid{grid-template-columns:1fr 1fr}.blood-overview-grid .blood-card:last-child{grid-column:1/-1}.blood-bottom-grid{grid-template-columns:1fr}.blood-bank-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.blood-hero{align-items:flex-start;flex-direction:column}.blood-hero-actions{width:100%;justify-content:flex-start}.blood-date-controls{width:100%;flex-wrap:wrap}.blood-date{flex:1;min-width:150px}.blood-range-tabs{width:100%;overflow-x:auto}.blood-range-btn{flex:1}.blood-metrics{grid-template-columns:repeat(2,1fr)}.blood-overview-grid,.blood-review-grid,.blood-bank-grid{grid-template-columns:1fr}.blood-overview-grid .blood-card:last-child{grid-column:auto}.blood-title-wrap h1{font-size:22px!important}}

/* EMERGENCY MODULE — reference UI 2026-09-27 */
#emergency-content{font-family:'Segoe UI','Myanmar Text',sans-serif;color:#0b2852}.emergency-notice{position:fixed;z-index:100;right:24px;top:76px;max-width:420px;padding:10px 14px;border:1px solid #bfe7db;border-radius:9px;background:#eafaf5;color:#087966;box-shadow:0 10px 28px #1d496d20}
.em-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 10px}.em-crumb{font-size:10px;color:#66809f}.em-crumb b{margin:0 8px}.em-head h1{font-size:25px!important;margin:5px 0 2px!important;letter-spacing:-.5px}.em-head p{margin:0;color:#6d819c;font-size:11px}.em-refresh{height:36px;padding:0 14px;border:1px solid #dce6f0;border-radius:8px;background:#fff;color:#173b65;cursor:pointer;font:inherit;font-size:10px}.em-refresh:hover{background:#f6fbfd}
.em-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:10px}.em-kpi{min-height:83px;display:grid;grid-template-columns:52px 1fr;gap:11px;align-items:center;padding:10px 12px;background:#fff;border:1px solid #e4ecf4;border-radius:9px;box-shadow:0 4px 15px #194c7010}.em-kpi-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-size:24px;font-weight:700;border:7px solid #edf3f7}.em-kpi small{display:block;color:#5d7491;font-size:9px}.em-kpi strong{display:block;font-size:21px;line-height:1.05;margin:2px 0}.em-kpi div>span{font-size:8.5px;color:#7b8fa8}.em-kpi.total .em-kpi-icon{background:#ff3c55;color:#fff;border-color:#ffe0e5}.em-kpi.pending .em-kpi-icon{background:#ff8a0a;color:#fff;border-color:#ffecd2}.em-kpi.way .em-kpi-icon{background:#1788f4;color:#fff;border-color:#ddecff}.em-kpi.done .em-kpi-icon{background:#2fc871;color:#fff;border-color:#daf7e6}.em-kpi.cancel .em-kpi-icon{background:#6d8190;color:#fff;border-color:#e5edf1}
.em-tabs{display:flex;gap:4px;align-items:center;margin-bottom:8px;overflow-x:auto}.em-tabs button,.em-tabs select{height:36px;border:1px solid #dfe8f1;border-radius:7px;background:#fff;color:#17385f;padding:0 15px;font:inherit;font-size:9px;white-space:nowrap}.em-tabs button{cursor:pointer;min-width:118px}.em-tabs button.active{background:linear-gradient(135deg,#10ad9e,#008f83);color:#fff;border-color:#008f83;box-shadow:0 3px 10px #009b8d24}.em-tabs button span{opacity:.8}.em-tabs select{margin-left:auto;min-width:145px}

.em-workspace{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:8px;align-items:start}.em-list,.em-detail{background:#fff;border:1px solid #e1eaf3;border-radius:9px;box-shadow:0 4px 18px #1c4b6b0d;min-width:0}.em-list{padding:8px}.em-filter-wrap{margin-bottom:7px}.em-search{height:38px;display:flex;align-items:center;gap:8px;border:1px solid #dce6f0;border-radius:7px;background:#fff;padding-left:10px}.em-search>span{color:#6d84a1;font-size:18px}.em-search input{flex:1;border:0!important;box-shadow:none!important;margin:0!important;padding:8px 0!important;font-size:9.5px!important}.em-search button{height:100%;width:42px;border:0;border-left:1px solid #e5edf4;background:#f5f9fc;color:#1e537f;font-size:17px;cursor:pointer}.em-filter-row{display:flex;gap:7px;margin-top:7px}.em-filter-row select,.em-more{height:34px;border:1px solid #dfe8f1;border-radius:7px;background:#fff;padding:0 10px;color:#254568;font:inherit;font-size:9px;min-width:138px}.em-more{cursor:pointer;min-width:112px}
.em-table-scroll{overflow:auto;border:1px solid #edf2f7;border-radius:7px}.em-table{width:100%;border-collapse:collapse;font-size:8.5px}.em-table th{background:#f2f7fb;color:#395777;padding:9px 8px;text-align:left;white-space:nowrap;font-weight:650}.em-table td{padding:8px;border-bottom:1px solid #edf2f7;vertical-align:middle;color:#3e5876;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.em-table tbody tr{cursor:pointer}.em-table tbody tr:hover,.em-table tbody tr.selected{background:#f4fbfa}.em-table td strong{display:block;color:#15365e;font-size:9px}.em-table td small{display:block;color:#8292a6;font-size:7.5px}.em-type,.em-priority,.em-status{display:inline-flex;align-items:center;gap:5px;border-radius:12px;padding:4px 7px;font-size:8px;white-space:nowrap}.em-type i{font-style:normal;font-size:9px}.em-type.medical{background:#ffecef;color:#e7334e}.em-type.accident{background:#e8f3ff;color:#0879df}.em-type.help{background:#fff1df;color:#e37413}.em-type.quake{background:#fff0e1;color:#ec6d08}.em-priority.high,.em-priority.critical{background:#ffe8eb;color:#e73c50}.em-priority.standard{background:#fff3d7;color:#a66d12}.em-priority.low{background:#e7f8ef;color:#13865f}.em-status{background:#edf3f8;color:#46617d}.em-status.on-the-way,.em-status.assigned{background:#e5f2ff;color:#1876d5}.em-status.accepted,.em-status.arrived{background:#dcf7ed;color:#078564}.em-status.completed{background:#e9f2f7;color:#31536c}.em-status.cancelled,.em-status.rejected{background:#ffe8ec;color:#d83048}.em-status.requested{background:#eef3f8;color:#556d87}.em-actions{width:30px;height:28px;border:1px solid #dfe8f1;border-radius:7px;background:#fff;color:#486582;cursor:pointer}
.em-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:9px 2px 1px;color:#607997;font-size:8.5px}.em-pager>div{display:flex;gap:4px}.em-pager button{min-width:29px;height:29px;border:1px solid #dfe8f1;border-radius:6px;background:#fff;color:#315270;cursor:pointer}.em-pager button.active{background:#04998c;color:#fff;border-color:#04998c}.em-pager button:disabled{opacity:.4;cursor:default}.em-pager label{justify-self:end;display:flex;align-items:center;gap:7px}.em-pager select{height:30px;border:1px solid #dfe8f1;border-radius:6px;background:#fff;font-size:8.5px}.em-empty,.em-loading{min-height:250px;display:flex;align-items:center;justify-content:center;gap:9px;color:#7187a2}.em-loading span{width:24px;height:24px;border:3px solid #dcebe9;border-top-color:#04998c;border-radius:50%;animation:blood-spin .8s linear infinite}

.em-detail{position:sticky;top:74px;overflow:hidden}.em-detail-head{padding:10px 12px 8px;border-bottom:1px solid #e7eef5}.em-detail-head>div:first-child{display:flex;justify-content:space-between;align-items:center}.em-id{display:inline-block;background:#e4faf2;color:#078466;border-radius:11px;padding:4px 8px;font-size:8px;font-weight:700}.em-detail-title{display:grid!important;grid-template-columns:34px 1fr auto!important;gap:8px!important;align-items:center!important;margin-top:8px}.em-detail-icon{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;font-size:15px}.em-detail-icon.medical{background:#ffe8ec;color:#e9344f}.em-detail-icon.accident{background:#e7f3ff;color:#0879df}.em-detail-icon.help{background:#fff1df;color:#e37413}.em-detail-icon.quake{background:#fff0e1;color:#ec6d08}.em-detail-title strong{font-size:10px;margin-right:6px}.em-detail-title time{font-size:7.5px;color:#71849e;text-align:right}.em-detail-tabs{display:flex;border-bottom:1px solid #e7eef5;padding:0 8px}.em-detail-tabs button{flex:1;height:35px;border:0;background:transparent;color:#647b98;font:inherit;font-size:8px;cursor:pointer;border-bottom:2px solid transparent}.em-detail-tabs button.active{color:#038d80;border-bottom-color:#038d80;font-weight:700}
.em-detail-scroll{max-height:585px;overflow:auto;padding:0 11px}.em-detail-section{padding:10px 0;border-bottom:1px solid #eef3f7}.em-detail-section:last-child{border-bottom:0}.em-detail-section h4{display:flex;align-items:center;gap:7px;margin:0 0 7px;font-size:9px;color:#15365d}.em-detail-section h4 i{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;font-style:normal}.em-detail-section h4 i.blue{background:#e8f3ff;color:#147bde}.em-detail-section h4 i.red{background:#ffe9ed;color:#e83b53}.em-detail-section h4 i.rose{background:#ffeaf0;color:#f1425b}.em-detail-section h4 i.purple{background:#f1e9ff;color:#8f42dc}.em-detail-section h4 i.teal{background:#e1f8f3;color:#078a78}.em-detail-section h4 i.slate{background:#edf3f8;color:#526c87}.em-detail-section dl{display:grid;grid-template-columns:115px 1fr;gap:4px 8px;margin:0;font-size:8px}.em-detail-section dt{color:#7488a0}.em-detail-section dd{margin:0;color:#3c5674;overflow-wrap:anywhere}.em-location-grid{display:grid;grid-template-columns:1fr 135px;gap:8px}.em-map{height:104px;border:1px solid #dfe8f0;border-radius:8px;background-color:#edf5f5;background-image:linear-gradient(35deg,transparent 47%,#dce8e9 48% 51%,transparent 52%),linear-gradient(145deg,transparent 47%,#dce8e9 48% 51%,transparent 52%);background-size:55px 55px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#e73851}.em-map>span{font-size:23px}.em-map small{font-size:7px;color:#607b94}.em-map a{background:#fff;border:1px solid #dce6ef;border-radius:6px;padding:5px 7px;font-size:7px;color:#087f72!important}
.em-resource-list{display:grid;gap:5px}.em-resource-list>div{display:flex;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid #e5edf4;border-radius:7px;background:#fbfdff}.em-resource-list b{font-size:8px}.em-resource-list span{font-size:7px;color:#71869f}.em-assign-list{display:grid;gap:4px;margin:7px 0}.em-assign-list label{font-size:8px;color:#49637e;margin:0}.em-assign-list input{width:14px!important;height:14px!important}.em-muted{font-size:8px;color:#8192a7;margin:3px 0}
.em-timeline{display:grid;gap:7px}.em-timeline>div{display:grid;grid-template-columns:12px 1fr;gap:6px}.em-timeline>div>span{width:8px;height:8px;margin-top:3px;border-radius:50%;background:#0ba493;box-shadow:0 0 0 3px #e2f7f3}.em-timeline p{margin:0;font-size:8px}.em-timeline b{display:block}.em-timeline small{display:block;color:#778ba4;font-size:7px;margin-top:2px}
.em-detail-actions{display:flex;gap:6px;align-items:center;padding:9px;border-top:1px solid #e4ecf4;background:#fbfdff}.em-status-menu{display:flex;gap:5px;flex:1}.em-status-menu select{min-width:105px;height:32px;border:1px solid #dce6ef;border-radius:6px;font-size:8px;background:#fff}.em-primary,.em-secondary{height:32px;border-radius:6px;padding:0 10px;font:inherit;font-size:8px;cursor:pointer;white-space:nowrap}.em-primary{border:1px solid #078d80;background:#078d80;color:#fff}.em-secondary{border:1px solid #8bc4bb;background:#fff;color:#087f72}.em-detail-expanded .em-workspace{grid-template-columns:minmax(0,1fr) 520px}

@media(max-width:1380px){.em-workspace{grid-template-columns:minmax(0,1fr) 345px}.em-kpis{grid-template-columns:repeat(5,minmax(150px,1fr));overflow-x:auto}.em-detail-scroll{max-height:520px}}
@media(max-width:1100px){.em-workspace{grid-template-columns:1fr}.em-detail{position:static}.em-detail-scroll{max-height:none}.em-filter-row{flex-wrap:wrap}.em-tabs select{margin-left:0}.em-pager{grid-template-columns:1fr auto}.em-pager label{grid-column:1/-1;justify-self:start}}
@media(max-width:760px){.em-head{align-items:flex-start}.em-head h1{font-size:21px!important}.em-kpis{grid-template-columns:repeat(2,minmax(150px,1fr))}.em-tabs{flex-wrap:wrap}.em-tabs button{min-width:auto;flex:1}.em-tabs select{width:100%}.em-filter-row select,.em-more{flex:1;min-width:130px}.em-location-grid{grid-template-columns:1fr}.em-map{height:125px}.em-detail-actions{flex-wrap:wrap}.em-status-menu{width:100%}.em-pager{display:flex;flex-wrap:wrap;justify-content:space-between}}

/* Emergency desktop readability fix — 2026-09-27 */
.em-workspace{grid-template-columns:minmax(0,1fr) 410px;gap:10px}.em-list{overflow:hidden}.em-table-scroll{overflow-x:auto}.em-table{min-width:790px;font-size:9.2px}.em-table th{padding:10px 9px}.em-table td{padding:9px 9px}.em-table td strong{font-size:9.6px}.em-table td small{font-size:8px}.em-type,.em-priority,.em-status{font-size:8.6px;padding:4px 8px}.em-pager{font-size:9px}.em-pager label{white-space:nowrap}.em-detail{min-width:0}.em-detail-head{padding:12px 14px 10px}.em-detail-title{grid-template-columns:38px minmax(0,1fr) auto!important;gap:9px!important}.em-detail-icon{width:36px;height:36px}.em-detail-title strong{font-size:11.5px}.em-detail-title time{font-size:8px;white-space:nowrap}.em-detail-tabs button{font-size:8.8px;height:37px}.em-detail-scroll{padding:0 14px;max-height:610px}.em-detail-section{padding:11px 0}.em-detail-section h4{font-size:10px;margin-bottom:8px}.em-detail-section dl{grid-template-columns:96px minmax(0,1fr);gap:5px 9px;font-size:9.2px}.em-detail-section dt{line-height:1.35}.em-detail-section dd{line-height:1.35}.em-location-grid{grid-template-columns:1fr;gap:9px}.em-map{height:118px}.em-resource-list b{font-size:9px}.em-resource-list span,.em-muted,.em-timeline p{font-size:8.6px}.em-timeline small{font-size:7.8px}.em-detail-actions{padding:10px;gap:7px}.em-primary,.em-secondary{font-size:8.8px}.em-status-menu select{font-size:8.6px;min-width:118px}
@media(max-width:1450px){.em-workspace{grid-template-columns:minmax(0,1fr) 390px}.em-detail-scroll{max-height:560px}.em-table{min-width:760px}}
@media(max-width:1180px){.em-workspace{grid-template-columns:minmax(0,1fr) 370px}.em-detail-section dl{grid-template-columns:86px minmax(0,1fr)}.em-table{min-width:735px}}
@media(max-width:980px){.em-workspace{grid-template-columns:1fr}.em-detail{position:static}.em-detail-scroll{max-height:none}.em-table{min-width:760px}.em-location-grid{grid-template-columns:1fr 160px}.em-pager label{white-space:nowrap}}

/* Emergency right-panel expansion — use available desktop space */
#emergency-content{width:100%;max-width:none}.oh-admin:has(#emergency-content) main{width:calc(100% - var(--sidebar));max-width:none}.oh-admin:has(#emergency-content) .content{width:100%;max-width:none;margin:0}
.em-workspace{width:100%;grid-template-columns:minmax(620px,1fr) clamp(500px,38vw,680px);gap:10px}.em-detail{width:100%;max-width:none}.em-detail-scroll{padding:0 16px}.em-detail-section dl{grid-template-columns:110px minmax(0,1fr)}.em-location-grid{grid-template-columns:minmax(0,1fr) 190px}.em-map{height:126px}.em-detail-expanded .em-workspace{grid-template-columns:minmax(560px,1fr) clamp(620px,46vw,820px)}
@media(max-width:1350px){.em-workspace{grid-template-columns:minmax(560px,1fr) 480px}.em-detail-expanded .em-workspace{grid-template-columns:minmax(520px,1fr) 560px}.em-location-grid{grid-template-columns:1fr 165px}}
@media(max-width:1080px){.em-workspace,.em-detail-expanded .em-workspace{grid-template-columns:1fr}.em-detail{position:static}.em-detail-scroll{max-height:none}.em-location-grid{grid-template-columns:1fr 180px}}
@media(max-width:700px){.em-location-grid{grid-template-columns:1fr}.em-detail-section dl{grid-template-columns:92px minmax(0,1fr)}}

/* Emergency right-panel expansion — use available desktop space */
#emergency-content{width:100%;max-width:none}.oh-admin:has(#emergency-content) main{width:calc(100% - var(--sidebar));max-width:none}.oh-admin:has(#emergency-content) .content{width:100%;max-width:none;margin:0}
.em-workspace{width:100%;grid-template-columns:minmax(620px,1fr) clamp(500px,38vw,680px);gap:10px}.em-detail{width:100%;max-width:none}.em-detail-scroll{padding:0 16px}.em-detail-section dl{grid-template-columns:110px minmax(0,1fr)}.em-location-grid{grid-template-columns:minmax(0,1fr) 190px}.em-map{height:126px}.em-detail-expanded .em-workspace{grid-template-columns:minmax(560px,1fr) clamp(620px,46vw,820px)}
@media(max-width:1350px){.em-workspace{grid-template-columns:minmax(560px,1fr) 480px}.em-detail-expanded .em-workspace{grid-template-columns:minmax(520px,1fr) 560px}.em-location-grid{grid-template-columns:1fr 165px}}
@media(max-width:1080px){.em-workspace,.em-detail-expanded .em-workspace{grid-template-columns:1fr}.em-detail{position:static}.em-detail-scroll{max-height:none}.em-location-grid{grid-template-columns:1fr 180px}}
@media(max-width:700px){.em-location-grid{grid-template-columns:1fr}.em-detail-section dl{grid-template-columns:92px minmax(0,1fr)}}

/* Emergency final balanced desktop layout — reference proportion */
.oh-admin:has(#emergency-content) .content{padding:12px 14px 18px}
.em-workspace{grid-template-columns:minmax(0,1fr) minmax(430px,520px);gap:10px;align-items:start}
.em-list{min-width:0}.em-detail{width:auto;max-width:520px;min-width:430px;justify-self:stretch;max-height:calc(100vh - 88px);display:flex;flex-direction:column}
.em-detail-head{flex:0 0 auto;padding:10px 12px 9px}.em-detail-title{grid-template-columns:36px minmax(0,1fr) auto!important}.em-detail-title strong{font-size:10.5px;line-height:1.25}.em-detail-title time{font-size:7.5px}
.em-detail-tabs{flex:0 0 auto;padding:0 6px}.em-detail-tabs button{height:34px;font-size:8.3px}
.em-detail-scroll{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;padding:0 12px}.em-detail-section{padding:9px 0}.em-detail-section h4{font-size:9.5px;margin-bottom:7px}.em-detail-section dl{grid-template-columns:105px minmax(0,1fr);gap:4px 8px;font-size:8.7px}
.em-location-grid{grid-template-columns:minmax(0,1fr) 150px;gap:8px}.em-map{height:105px}.em-detail-actions{flex:0 0 auto;padding:8px 9px}
.em-table{min-width:900px}.em-table th,.em-table td{padding-left:8px;padding-right:8px}.em-pager{padding-top:8px}
.em-detail-expanded .em-workspace{grid-template-columns:minmax(0,1fr) minmax(500px,620px)}.em-detail-expanded .em-detail{max-width:620px}
@media(max-width:1380px){.em-workspace{grid-template-columns:minmax(0,1fr) 450px}.em-detail{min-width:450px;max-width:450px}.em-table{min-width:840px}.em-location-grid{grid-template-columns:1fr 135px}}
@media(max-width:1180px){.em-workspace,.em-detail-expanded .em-workspace{grid-template-columns:1fr}.em-detail,.em-detail-expanded .em-detail{position:static;min-width:0;max-width:none;max-height:none}.em-detail-scroll{overflow:visible}.em-table{min-width:820px}.em-location-grid{grid-template-columns:minmax(0,1fr) 160px}}
@media(max-width:700px){.em-location-grid{grid-template-columns:1fr}.em-detail-section dl{grid-template-columns:90px minmax(0,1fr)}}

.em-danger{height:32px;border:1px solid #f1b6bf;border-radius:6px;background:#fff6f7;color:#c83249;padding:0 10px;font:inherit;font-size:8.8px;cursor:pointer;white-space:nowrap}.em-danger:hover{background:#ffe9ed;border-color:#e88d9b}

/* Emergency Team dispatch / registry */
.em-module-tabs{display:flex;gap:6px;margin:-2px 0 10px;overflow-x:auto;padding-bottom:2px}.em-module-tabs button{height:36px;padding:0 14px;border:1px solid #dfe8f1;border-radius:8px;background:#fff;color:#355574;font:inherit;font-size:9px;cursor:pointer;white-space:nowrap}.em-module-tabs button.active{background:#087f72;color:#fff;border-color:#087f72;box-shadow:0 4px 12px #087f7220}
.em-status.submitted,.em-status.searching,.em-status.offered,.em-status.reassigned{background:#fff2dc;color:#a66a0b}.em-status.no-responder{background:#ffe7e8;color:#c93442}.em-status.arrived-at-scene,.em-status.hospital-arrival-handover{background:#e3f8f1;color:#087a64}.em-status.transporting{background:#e7f2ff;color:#176fc7}
.em-team-assigned{display:grid;gap:2px;padding:9px 10px;border:1px solid #cfe9e3;border-radius:8px;background:#f3fbf9;margin-bottom:8px}.em-team-assigned b{font-size:9.5px;color:#0f4960}.em-team-assigned span{font-size:8px;color:#607d8f}.em-team-assigned small{font-size:7.5px;color:#138675}.em-subhead{margin:10px 0 6px;font-size:8px;color:#657f9a;text-transform:uppercase;letter-spacing:.4px}.em-manual-dispatch{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:end;margin:8px 0;padding:8px;border:1px solid #e2eaf1;border-radius:8px;background:#fbfdff}.em-manual-dispatch label{font-size:7.8px;color:#657d98}.em-manual-dispatch select{width:100%;height:31px;margin-top:4px;border:1px solid #dce6ef;border-radius:6px;background:#fff;font-size:8px;color:#274b6d}
.em-admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}.em-admin-metrics article{padding:13px 15px;border:1px solid #e2ebf3;border-radius:10px;background:#fff;box-shadow:0 4px 15px #194c7010}.em-admin-metrics small{display:block;color:#7187a0;font-size:8.5px}.em-admin-metrics strong{display:block;margin-top:3px;font-size:22px;color:#123a61}
.em-admin-grid{display:grid;grid-template-columns:minmax(300px,.7fr) minmax(520px,1.3fr);gap:10px;align-items:start}.em-admin-card{background:#fff;border:1px solid #e1eaf3;border-radius:10px;padding:14px;box-shadow:0 4px 18px #1c4b6b0d}.em-admin-card.wide{min-width:0}.em-admin-card h3{margin:0 0 4px;font-size:12px;color:#143c62}.em-admin-card>p{margin:0 0 12px;font-size:8.5px;color:#70869f;line-height:1.4}
.em-admin-form,.em-review-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.em-admin-form label,.em-review-fields label{font-size:8px;color:#657d98}.em-admin-form label.wide,.em-review-fields label.wide{grid-column:1/-1}.em-admin-form label.check{display:flex;align-items:center;gap:6px;color:#3f607e}.em-admin-form input,.em-admin-form select,.em-review-fields input{width:100%;height:34px;margin-top:4px;border:1px solid #dce6ef;border-radius:7px;background:#fff;padding:0 9px;color:#214866;font:inherit;font-size:8.5px}.em-admin-form label.check input{width:14px;height:14px;margin:0}.em-admin-form button{justify-self:start}
.em-admin-table{overflow:auto;border:1px solid #edf2f7;border-radius:8px}.em-admin-table table{width:100%;min-width:690px;border-collapse:collapse;font-size:8.5px}.em-admin-table th{padding:9px;background:#f2f7fb;color:#3b5878;text-align:left;white-space:nowrap}.em-admin-table td{padding:9px;border-top:1px solid #edf2f7;color:#48617d;vertical-align:middle}.em-admin-table td strong{display:block;color:#173b60}.em-admin-table td small{display:block;color:#8293a5;font-size:7px;margin-top:2px}
.em-app-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.em-app-card{padding:14px;border:1px solid #e1eaf3;border-radius:10px;background:#fff;box-shadow:0 4px 18px #1c4b6b0d}.em-app-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.em-app-head h3{margin:0;font-size:11.5px;color:#143c62}.em-app-head p{margin:3px 0 0;font-size:8px;color:#74879d}.em-app-card dl{display:grid;grid-template-columns:110px 1fr;gap:5px 8px;margin:12px 0;font-size:8.5px}.em-app-card dt{color:#74879d}.em-app-card dd{margin:0;color:#385674;overflow-wrap:anywhere}.em-app-review{border-top:1px solid #edf2f6;padding-top:10px}.em-review-actions{display:flex;gap:7px;margin-top:9px}
.em-credential{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;margin-bottom:10px;border-color:#bfe7db;background:#f1fbf7}.em-credential dl{display:grid;grid-template-columns:110px 1fr;gap:5px 8px;margin:0;font-size:8.5px}.em-credential dt{color:#56766f}.em-credential dd{margin:0;color:#174c45}.em-credential code{padding:3px 6px;border-radius:5px;background:#fff;border:1px solid #d2ebe4}
@media(max-width:1100px){.em-admin-grid{grid-template-columns:1fr}.em-app-list{grid-template-columns:1fr}.em-admin-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.em-module-tabs{flex-wrap:wrap}.em-module-tabs button{flex:1}.em-admin-metrics{grid-template-columns:1fr 1fr}.em-admin-form,.em-review-fields,.em-credential{grid-template-columns:1fr}.em-admin-form label.wide,.em-review-fields label.wide{grid-column:auto}.em-app-card dl{grid-template-columns:90px 1fr}}

/* Emergency Team account actions */
.em-inline-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.em-inline-actions .em-secondary{white-space:nowrap}

/* Donor management flow: automatic activation + audited cooldown override */
.blood-flow-note{margin:0 0 10px;padding:11px 13px;border:1px solid #cfe9e4;border-radius:10px;background:#f1fbf8;color:#38586b}
.blood-flow-note strong{display:block;margin-bottom:4px;color:#143f4c;font-size:11px}
.blood-flow-note p{margin:3px 0;font-size:9px;line-height:1.55}
.blood-donor-management{grid-template-columns:minmax(190px,240px) minmax(0,1fr);align-items:start}
.blood-donor-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.blood-status-pill.muted{background:#f1f4f7!important;color:#6b7b8d!important}
.blood-status-pill.override{background:#fff3df!important;color:#a56405!important}
.blood-donor-admin{display:flex;flex-direction:column;gap:8px;min-width:0}
.blood-donor-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.blood-donor-facts>div{padding:7px 9px;border:1px solid #e4edf3;border-radius:7px;background:#fff;min-width:0}
.blood-donor-facts span{display:block;margin-bottom:2px;font-size:7.8px;color:#72869d}
.blood-donor-facts strong{display:block;font-size:9px;color:#173d52;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.blood-mono{font-family:Consolas,'Courier New',monospace;font-size:8.5px;letter-spacing:-.15px}
.blood-donor-facts .blood-mono{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.blood-table .blood-mono{display:inline-block;max-width:180px;white-space:normal;overflow-wrap:anywhere;color:#36516f}
.blood-donor-actions{display:grid;grid-template-columns:minmax(190px,220px) minmax(390px,1fr) auto;gap:7px;align-items:end}
.donor-status-form{display:grid;grid-template-columns:minmax(100px,1fr) auto;gap:6px;align-items:end;margin:0}
.donor-cooldown-form{display:grid;grid-template-columns:150px minmax(180px,1fr) auto;gap:6px;align-items:end;margin:0}
.donor-status-form label,.donor-cooldown-form label{margin:0}
.donor-status-form select,.donor-cooldown-form input{width:100%;height:34px;margin:0;padding:5px 7px;border:1px solid #dfe8f1;border-radius:6px;background:#fff;font-size:9px;color:#173d52}
.donor-status-form .blood-primary,.donor-cooldown-form .blood-primary{height:34px;padding:0 10px;white-space:nowrap}
.blood-secondary{height:34px;padding:0 10px;border:1px solid #d7e1e8;border-radius:6px;background:#fff;color:#526b80;cursor:pointer;font-size:8.8px;white-space:nowrap}
.blood-secondary:hover{background:#f7fafb}
.blood-flow-card p{font-size:9px;line-height:1.55;color:#5b7290}
@media(max-width:1280px){
 .blood-donor-management{grid-template-columns:1fr}
 .blood-donor-actions{grid-template-columns:1fr 2fr}
 .blood-secondary{grid-column:1/-1;width:max-content}
}
@media(max-width:900px){
 .blood-donor-facts{grid-template-columns:1fr}
 .blood-donor-actions{grid-template-columns:1fr}
 .donor-status-form,.donor-cooldown-form{grid-template-columns:1fr}
 .blood-secondary{width:100%}
}

/* Dashboard interactive overview + reporting filters */
.oh-period{flex-wrap:wrap;justify-content:flex-end}
.oh-date-picker{height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;background:#fff;border:1px solid var(--line);border-radius:6px;cursor:pointer}
.oh-date-picker .oh-icon{width:16px;height:16px;min-width:16px}
.oh-date-picker input,.oh-month-picker{height:30px;border:0;background:#fff;color:#17385f;font:inherit;font-size:10px;padding:0 5px;outline:0;cursor:pointer}
.oh-month-picker{border:1px solid var(--line);border-radius:6px;padding:0 7px}
.oh-period .oh-period-btn,.oh-period .oh-period-refresh{background:#fff;color:#516889;border:1px solid var(--line);cursor:pointer}
.oh-period .oh-period-btn:hover,.oh-period .oh-period-refresh:hover,.oh-date-picker:hover,.oh-month-picker:hover{border-color:#8fcfc8;background:#f3fbfa}
.oh-period .oh-period-btn.active,.oh-month-picker.active{background:#009e93;color:#fff;border-color:#009e93;font-weight:600}
.oh-period .oh-period-refresh{color:#008b80;font-weight:600}
.oh-kpi-link{text-decoration:none;color:inherit;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}
.oh-kpi-link:hover{transform:translateY(-1px);border-color:#b7deda;box-shadow:0 5px 16px #17395b12}
.oh-kpi-link:focus-visible{outline:2px solid #009e93;outline-offset:2px}
.oh-kpi-open{margin-left:auto;color:#1686a0;font-size:9px;font-weight:650;white-space:nowrap}
@media(max-width:1250px){.oh-period{display:flex}.oh-intro{align-items:flex-start;flex-wrap:wrap}.oh-period{width:100%;justify-content:flex-start}}
@media(max-width:760px){.oh-period{gap:4px}.oh-period>span{width:100%}.oh-date-picker,.oh-month-picker{flex:1;min-width:135px}.oh-period .oh-period-btn,.oh-period .oh-period-refresh{padding:7px 9px}}

/* Emergency date-range controls — aligned with Blood dashboard standard */
.em-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.em-date-controls{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #dfe8f1;border-radius:9px;background:#f7fafc}
.em-date-btn,.em-period-btn,.em-month-menu>summary{height:30px;display:flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:6px;background:transparent;color:#526b80;padding:0 10px;font:inherit;font-size:9px;font-weight:600;white-space:nowrap;cursor:pointer}
.em-date-btn{position:relative;overflow:hidden}.em-date-btn span{font-size:12px}.em-date-btn input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.em-date-btn.active,.em-period-btn.active,.em-month-menu>summary.active{background:#fff;color:#008f83;box-shadow:0 1px 4px #173b6518}
.em-period-btn:hover,.em-month-menu>summary:hover,.em-date-btn:hover{background:#fff}
.em-month-menu{position:relative}.em-month-menu>summary{list-style:none}.em-month-menu>summary::-webkit-details-marker{display:none}
.em-month-dropdown{position:absolute;right:0;top:35px;z-index:40;width:210px;max-height:310px;overflow:auto;padding:7px;border:1px solid #dfe8f1;border-radius:8px;background:#fff;box-shadow:0 12px 28px #173b6524}
.em-month-dropdown>strong{display:block;padding:4px 7px 7px;color:#4d6782;font-size:9px}
.em-month-option{display:block;width:100%;height:30px;border:0;border-radius:6px;background:#fff;text-align:left;padding:0 8px;color:#294968;font:inherit;font-size:9px;cursor:pointer}
.em-month-option:hover,.em-month-option.active{background:#eaf8f5;color:#008f83}
@media(max-width:1180px){.em-head{align-items:flex-start;flex-wrap:wrap}.em-head-actions{width:100%;justify-content:space-between}.em-date-controls{overflow-x:auto;max-width:calc(100% - 100px)}}
@media(max-width:760px){.em-head-actions{align-items:stretch}.em-date-controls{width:100%;max-width:none;overflow-x:auto}.em-refresh{margin-left:auto}.em-date-btn,.em-period-btn,.em-month-menu>summary{padding:0 9px}}






.oh-request-alert{position:fixed;right:24px;top:72px;width:min(420px,calc(100vw - 32px));max-height:65vh;overflow:auto;z-index:10000;background:white;border:1px solid #c5e6e1;border-left:5px solid #009c8d;border-radius:12px;padding:18px;box-shadow:0 10px 36px #123c4d26;color:#133c4d;font-size:13px}.oh-request-alert strong{font-size:16px}.oh-request-alert button{float:right;background:#edf8f6;border:1px solid #c5e6e1;border-radius:7px;padding:6px 10px;color:#087d72;cursor:pointer;font-size:12px}.oh-request-alert p{margin:14px 0 8px}.oh-request-alert ul{padding-left:18px;margin:0}.oh-request-alert li{margin:8px 0;overflow-wrap:anywhere}

.oh-admin .ch-container{background:transparent;border:0;margin:0;box-shadow:none}.oh-admin #care-content.ch-dashboard{padding:0}.ch-dashboard{font-size:11px;color:#15364e}.ch-hero{display:flex;gap:14px;align-items:center;margin:0 0 14px}.ch-hero>div{flex:1}.ch-hero p{margin:5px 0;font-size:12px}.ch-hero>span{font-size:10px;color:#5c7891}.ch-tabs,.ch-filters,.ch-pager,.ch-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ch-tabs{margin-bottom:14px}.ch-dashboard button,.ch-dialog button,.ch-link{font:inherit;font-size:10px;cursor:pointer;min-height:36px;border:1px solid #d9e7f1;border-radius:7px;background:white;color:#117d7e;padding:8px 12px;text-decoration:none}.ch-dashboard button:disabled{opacity:.45;cursor:default}.ch-dashboard .ch-primary,.ch-dialog .ch-primary{background:#009b91;color:white}.ch-tabs .selected{background:#dff6f0;color:#008579;border-color:#a7e4da}.ch-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.ch-card{background:white;border:1px solid #e3ebf4;border-radius:10px;padding:14px;min-width:0}.ch-card h2{font-size:13px;margin:0 0 12px}.ch-kpis .ch-card{min-height:88px}.ch-kpis strong,.ch-bottom strong{font-size:23px;display:block;overflow-wrap:anywhere}.ch-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:14px}.ch-filters{margin-bottom:12px}.ch-filters input,.ch-filters select{font-size:11px;min-height:36px;padding:8px;border:1px solid #dce7ed;border-radius:7px;min-width:0}.ch-filters input{flex:1 1 200px}.ch-scroll{overflow:auto}.ch-dashboard table{width:100%;border-collapse:collapse;font-size:11px}.ch-dashboard th{background:#f1f7fa;text-align:left;font-weight:600}.ch-dashboard td,.ch-dashboard th{padding:12px;border-bottom:1px solid #e8eef3}.ch-dashboard td small{display:block;color:#718399;font-size:10px;overflow-wrap:anywhere}.ch-badge{display:inline-block;padding:4px 9px;border-radius:7px;font-size:10px;background:#fff0ce;color:#956900}.ch-badge.done{background:#dcf7e9;color:#087641}.ch-badge.active{background:#e0f1ff;color:#0579c2}.ch-badge.stopped{background:#edf0f4;color:#697888}.ch-pager{margin-top:16px}.ch-pager>span:first-child{margin-right:auto}.ch-detail-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;padding:8px 0}.ch-detail-row small{color:#6e8093}.ch-detail-row span{overflow-wrap:anywhere}.ch-timeline{padding-left:22px;max-height:280px;overflow:auto}.ch-timeline li{margin:10px 0}.ch-timeline small{display:block;font-size:10px;color:#6e8093}.ch-timeline p{margin:3px 0}.ch-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.ch-bottom button{margin-top:14px}.ch-error{padding:14px;border-left:4px solid #d64747;background:#fff0f0;margin-bottom:12px}.ch-dialog{border:0;padding:0;border-radius:12px;max-width:700px;width:90vw;max-height:85vh;font-size:12px}.ch-dialog::backdrop{background:#183a5266}.ch-dialog label{display:block;margin:10px 0}.ch-dialog button{margin:6px}@media(max-width:1050px){.ch-grid{grid-template-columns:1fr}.ch-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.ch-kpis,.ch-bottom{grid-template-columns:1fr 1fr}.ch-hero{flex-wrap:wrap}.ch-filters input{flex-basis:100%}}

/* Charity shares Blood's dimensions; override legacy full-width nav/form rules. */
.oh-admin .ch-dashboard .ch-tabs{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:6px;width:100%;padding:5px;margin:0 0 14px;background:#fff;border:1px solid #e3ebf4;border-radius:8px}.oh-admin .ch-dashboard .ch-tabs>button,.oh-admin .ch-dashboard .ch-tabs>a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-width:0;margin:0;gap:6px;min-height:36px;font-size:10px;white-space:nowrap}.oh-admin .ch-dashboard .ch-tabs>.selected{background:#009d91;color:#fff;border-color:#009d91}.oh-admin .ch-dashboard .ch-filters{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(130px,180px) minmax(130px,180px);gap:8px;align-items:center}.oh-admin .ch-dashboard .ch-filters>input,.oh-admin .ch-dashboard .ch-filters>select{width:100%;min-width:0;margin:0;height:38px;display:block;font-size:11px}.oh-admin .ch-dashboard .ch-filters>button{width:auto;margin:0;height:38px}.oh-admin .ch-dashboard h1{font-family:inherit;font-size:27px;line-height:1.2}.oh-admin .ch-dashboard h2{font-family:inherit;font-size:12px;font-weight:650;margin:0 0 12px}.oh-admin .ch-dashboard .ch-kpis{gap:10px;margin-bottom:12px}.oh-admin .ch-dashboard .ch-kpis .ch-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-content:center;min-height:94px;padding:12px;box-shadow:0 5px 18px #1f4e7210}.oh-admin .ch-dashboard .ch-kpis h2{grid-column:2;grid-row:2;font-size:10px;font-weight:400;margin:5px 0 0}.oh-admin .ch-dashboard .ch-kpis strong{grid-column:2;grid-row:1;font-size:23px;line-height:1.1}.ch-kpi-icon{grid-column:1;grid-row:1/3;display:grid;place-items:center;width:46px;height:50px;background:#def8ef;color:#00a985;border-radius:11px}.ch-kpis .ch-card:nth-child(2) .ch-kpi-icon{background:#e3f1ff;color:#087dff}.ch-kpis .ch-card:nth-child(3) .ch-kpi-icon{background:#fff0e4;color:#ff7900}.ch-kpis .ch-card:nth-child(4) .ch-kpi-icon{background:#f2e4ff;color:#9b38e7}.ch-hero .ch-title-wrap{display:flex;gap:14px;align-items:center}.ch-hero-icon{display:grid;place-items:center;width:60px;height:60px;flex:0 0 60px;border-radius:12px;background:#fff0e4;color:#ff7900}.ch-hero-icon .oh-icon{width:30px;height:30px}.ch-hero .ch-title-wrap p{margin:5px 0 0}.oh-admin .ch-dashboard .ch-scroll td,.oh-admin .ch-dashboard .ch-scroll th{padding:12px 15px;font-size:11px}.oh-admin .ch-dashboard .ch-detail-row{font-size:11px}.oh-admin .ch-dashboard .ch-detail-row small{font-size:10px}.oh-admin .ch-dashboard .ch-hero>button{background:#009d91;color:white;border-color:#009d91}.oh-admin .ch-dashboard .ch-grid{gap:12px}.oh-admin .ch-dashboard .ch-grid .ch-tabs{border:0;padding:0;background:transparent}.oh-admin .ch-dashboard .ch-grid .ch-tabs button{background:#f1f7fa;color:#42617d;border:0;border-radius:18px}.oh-admin .ch-dashboard .ch-grid .ch-tabs button.selected{background:#dff6f0;color:#008579}@media(max-width:1100px){.oh-admin .ch-dashboard .ch-filters{grid-template-columns:minmax(160px,1fr) auto}.oh-admin .ch-dashboard .ch-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.oh-admin .ch-dashboard .ch-filters{grid-template-columns:1fr auto}.oh-admin .ch-dashboard .ch-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

.oh-admin .ch-dashboard>.ch-tabs{padding:0;background:transparent;border:0;border-bottom:1px solid #dce9ee;border-radius:0;gap:8px;margin:0 0 16px}.oh-admin .ch-dashboard>.ch-tabs>button,.oh-admin .ch-dashboard>.ch-tabs>a{border:0;background:transparent;color:#476880;padding:10px 16px;border-radius:0;min-height:44px;margin:0;border-bottom:3px solid transparent}.oh-admin .ch-dashboard>.ch-tabs>button.selected{background:transparent;color:#00878a;border-bottom-color:#00878a;font-weight:650}.oh-admin .ch-dashboard .ch-kpis .ch-card{grid-template-columns:minmax(0,1fr) 46px}.oh-admin .ch-dashboard .ch-kpis h2{grid-column:1;grid-row:1;margin:0 0 10px;font-weight:600}.oh-admin .ch-dashboard .ch-kpis strong{grid-column:1;grid-row:2}.oh-admin .ch-dashboard .ch-kpis .ch-kpi-icon{grid-column:2;border-radius:50%;background:#e8f5ff;color:#0786d6}.oh-admin .ch-dashboard .ch-grid{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.oh-admin .ch-dashboard .ch-grid>.ch-card{display:flex;flex-direction:column}.oh-admin .ch-dashboard .ch-grid>.ch-card>.ch-pager{margin-top:auto;padding-top:18px}.oh-admin .ch-dashboard .ch-grid>.ch-card>.ch-primary{margin-top:auto;width:100%;font-size:11px}.oh-admin .ch-dashboard .ch-scroll td{height:66px}.ch-timeline-horizontal{display:flex;padding:10px 0 18px;list-style:none;gap:10px;max-height:none;overflow-x:auto}.ch-timeline-horizontal li{position:relative;flex:1;min-width:70px;text-align:center;margin:0;font-size:10px}.ch-timeline-horizontal li:before{content:'';position:absolute;top:13px;left:-50%;right:50%;height:2px;background:#92d7d5}.ch-timeline-horizontal li:first-child:before{display:none}.ch-timeline-dot{position:relative;z-index:1;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#008e99;color:#fff;margin:0 auto 10px}.ch-timeline-horizontal strong{display:block}.ch-timeline-horizontal small{margin-top:5px}.oh-admin .ch-dashboard .ch-grid .ch-card h3{margin:18px 0 6px;padding-top:14px;border-top:1px solid #e1edf2}.oh-admin .ch-dashboard .ch-bottom .ch-card{min-height:125px}.oh-admin .ch-dashboard .ch-bottom .ch-card button{float:right}@media(max-width:1050px){.oh-admin .ch-dashboard .ch-grid{grid-template-columns:1fr}}
/* BEGIN APPROVED EMERGENCY DESIGN */
/* Emergency uses the same sizes as Blood Operations and the shared admin shell. */
.oh-admin:has(#emergency-content) .content{padding:14px 14px 22px}
#emergency-content{font:13px/1.4 'Segoe UI','Myanmar Text',sans-serif;color:var(--ink)}
#emergency-content .em-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:1px 0 13px}
#emergency-content .em-crumb{font-size:10px;color:#587091;letter-spacing:.45px}
#emergency-content .em-head h1{font-size:27px!important;margin:2px 0!important;line-height:1.2;letter-spacing:-.65px}
#emergency-content .em-head p{font-size:12px;color:#6d819e;margin:0}
#emergency-content .em-module-tabs{display:flex;align-items:center;flex-wrap:nowrap;gap:4px;padding:5px;background:#fff;border:1px solid #e3ebf4;border-radius:9px;margin:0 0 12px;overflow-x:auto}
#emergency-content .em-module-tabs button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;height:36px;min-height:36px;gap:7px;padding:0 15px;margin:0;border:0;border-radius:7px;background:transparent;color:#18375f;font-size:10px;white-space:nowrap;box-shadow:none}
#emergency-content .em-module-tabs button>span{display:block!important;width:auto!important;min-width:max-content;font-size:inherit!important;line-height:1.4;white-space:nowrap;flex:0 0 auto}
#emergency-content .em-module-tabs button>svg{width:18px;height:18px;flex:0 0 18px}
#emergency-content .em-module-tabs button.active{background:linear-gradient(135deg,#13b8a7,#00998b);color:#fff;box-shadow:0 4px 12px #00a18d2b}
#emergency-content .em-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px;overflow:visible}
#emergency-content .em-kpi{min-height:94px;background:#fff;border:1px solid #e3ebf4;border-radius:10px;display:flex;gap:10px;align-items:center;padding:12px;box-shadow:0 5px 18px #1f4e7210}
#emergency-content .em-kpi small{display:block;font-size:10px;color:#294b6d;line-height:1.4}
#emergency-content .em-kpi strong{display:block;font-size:23px;line-height:1.2;color:var(--ink);margin-top:4px}
#emergency-content .em-kpi div>span{font-size:8px;color:#748aa8}
#emergency-content .em-kpi-icon{width:46px;height:50px;flex:0 0 46px;border-radius:11px;display:grid;place-items:center;box-shadow:none;border:0}
#emergency-content .em-kpi-icon svg{width:26px;height:26px}
#emergency-content .em-kpi.total .em-kpi-icon{background:#def8ef;color:#00a985}
#emergency-content .em-kpi.pending .em-kpi-icon{background:#fff0e4;color:#ff7900}
#emergency-content .em-kpi.way .em-kpi-icon{background:#e3f1ff;color:#087dff}
#emergency-content .em-kpi.done .em-kpi-icon{background:#def8ef;color:#00a985}
#emergency-content .em-kpi.cancel .em-kpi-icon{background:#ffe7ed;color:#ff3156}
#emergency-content .em-result-summary{font-size:9px;margin:0 0 10px;display:flex;justify-content:space-between;gap:10px;align-items:center}
#emergency-content .em-result-summary>div{display:flex;gap:8px}
#emergency-content .em-result-summary small{font-size:9px}
#emergency-content .em-workspace,#emergency-content .em-workspace-empty{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(350px,1fr);gap:10px;align-items:stretch}
#emergency-content .em-list,#emergency-content .em-detail{background:#fff;border:1px solid #e3ebf4;border-radius:10px;box-shadow:0 5px 18px #1f4e7210;min-width:0;max-width:none;min-height:460px;overflow:hidden}
#emergency-content .em-detail{position:static;display:flex;flex-direction:column;max-height:none}
#emergency-content .em-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 12px 10px;flex-wrap:wrap}
#emergency-content .em-list-heading h2,#emergency-content .em-detail-head h2{font-size:16px;line-height:1.4;margin:0}
#emergency-content .em-list-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#emergency-content .em-date-controls{display:flex;align-items:center;gap:3px;padding:3px;background:#f3f7fa;border:1px solid #e1e9f1;border-radius:9px}
#emergency-content .em-period-btn,#emergency-content .em-month-menu>summary,#emergency-content .em-date-btn{height:32px;min-height:32px;padding:0 10px;border:0;border-radius:7px;font-size:10px;margin:0;line-height:1.4;background:transparent;display:flex;align-items:center;justify-content:center;white-space:nowrap}
#emergency-content .em-period-btn.active,#emergency-content .em-month-menu>summary.active{background:#009c8d;color:#fff}
#emergency-content .em-refresh{height:40px;min-height:40px;border:1px solid #009789;border-radius:8px;padding:0 14px;font-size:11px;background:linear-gradient(135deg,#10b8a5,#009789);color:#fff}
#emergency-content .em-filter-wrap{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,.85fr);gap:8px;padding:4px 12px 12px}
#emergency-content .em-search{height:36px;min-width:0}
#emergency-content .em-search input{font-size:10px;margin:0;min-width:0}
#emergency-content .em-search button{font-size:11px;height:34px;width:34px}
#emergency-content .em-filter-row{display:flex;gap:6px;margin:0;min-width:0;align-items:center}
#emergency-content .em-filter-row select{font-size:10px;height:36px;flex:1;width:0;min-width:0;padding:0 8px;margin:0;border-radius:6px}
#emergency-content .em-more{font-size:9px;padding:0 8px;height:36px;flex:0 0 auto;white-space:nowrap}
#emergency-content .em-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px;margin:0 0 12px}
#emergency-content .em-tabs button{font-size:10px;min-height:32px;height:32px;padding:0 10px;min-width:0;border-radius:7px;border:1px solid #e3ebf4;line-height:1.4}
#emergency-content .em-tabs button span{font-size:9px;width:auto;margin-left:4px}
#emergency-content .em-table-scroll{margin:0 12px;overflow-x:auto}
#emergency-content .em-table{font-size:10px;width:100%;min-width:620px;table-layout:fixed}
#emergency-content .em-table th,#emergency-content .em-table td{padding:11px 8px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
#emergency-content .em-table th{font-size:10px;background:#f2f6fa}
#emergency-content .em-table th:first-child{width:14%}#emergency-content .em-table th:nth-child(2){width:17%}#emergency-content .em-table th:nth-child(3){width:22%}#emergency-content .em-table th:nth-child(4){width:20%}#emergency-content .em-table th:nth-child(5){width:17%}#emergency-content .em-table th:last-child{width:10%}
#emergency-content .em-table td strong,#emergency-content .em-table .em-type{font-size:10px}
#emergency-content .em-table td small{font-size:9px}
#emergency-content .em-table .em-status{font-size:9px;padding:4px 7px;border-radius:7px;white-space:normal;display:inline-block}
#emergency-content .em-type{display:inline-flex;align-items:center;gap:5px;background:transparent;padding:0;white-space:normal}
#emergency-content .em-type i{display:grid;place-items:center;width:20px;height:20px;flex-shrink:0}
#emergency-content .em-type svg{width:16px;height:16px}
#emergency-content .em-actions{font-size:10px;height:30px;min-height:30px;padding:0 8px;width:auto}
#emergency-content .em-pager{font-size:9px;padding:12px;gap:8px}
#emergency-content .em-pager button{font-size:10px;height:32px;min-height:32px}
#emergency-content .em-pager select{font-size:10px;height:32px}
#emergency-content .em-empty{min-height:290px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:9px;padding:22px;font-size:11px}
#emergency-content .em-empty h2{font-size:13px;margin:0}
#emergency-content .em-empty p{font-size:10px;max-width:330px;margin:0}
#emergency-content .em-empty-symbol{font-size:28px;color:#8ca2b5}
#emergency-content .em-empty button{font-size:10px;min-height:34px;height:34px}
#emergency-content .em-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 12px 10px}
#emergency-content .em-detail-tabs{display:flex;margin:0 10px;padding:0;border-bottom:1px solid #e3ebf4}
#emergency-content .em-detail-tabs button{font-size:10px;flex:1;width:auto;min-height:36px;height:36px;padding:0 8px;line-height:1.4;margin:0}
#emergency-content .em-detail-scroll{padding:12px;max-height:none;overflow:visible;flex:1}
#emergency-content .em-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f3f7fa;border-radius:8px;padding:12px}
#emergency-content .em-overview-grid small,#emergency-content .em-assignment-summary small{display:block;font-size:9px;color:#748aa8;margin-bottom:4px}
#emergency-content .em-overview-grid strong,#emergency-content .em-assignment-summary strong{display:block;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
#emergency-content .em-assignment-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
#emergency-content .em-overview-actions{display:flex;gap:8px}
#emergency-content .em-overview-actions>*{display:flex;align-items:center;justify-content:center;flex:1;font-size:10px;min-height:36px;border-radius:7px;padding:8px;text-decoration:none;text-align:center}
#emergency-content .em-overview-actions .em-primary{color:#fff}
#emergency-content .em-primary,#emergency-content .em-secondary,#emergency-content .em-danger{font-size:10px;min-height:34px;height:auto;padding:8px 10px;line-height:1.4}
#emergency-content .em-detail-section{padding:12px 0}
#emergency-content .em-detail-section h4{font-size:12px;margin-bottom:9px}
#emergency-content .em-detail-section dl{font-size:10px;grid-template-columns:100px minmax(0,1fr);gap:6px 8px}
#emergency-content .em-timeline p,#emergency-content .em-team-assigned b{font-size:11px}
#emergency-content .em-timeline small,#emergency-content .em-team-assigned span{font-size:9px}
#emergency-content .em-detail-actions{padding:0 12px 12px;background:#fff}
#emergency-content .em-detail-actions .em-danger{width:100%}
#emergency-content .em-detail-empty-state{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:320px;text-align:center;gap:10px;color:#748aa8}
#emergency-content .em-detail-empty-state svg{width:38px;height:38px}
#emergency-content .em-detail-empty-state h3{font-size:12px;margin:0}
#emergency-content .em-detail-empty-state p{font-size:10px;max-width:250px;line-height:1.5}
#emergency-content .em-admin-card{padding:14px;border-radius:10px}
#emergency-content .em-admin-card h3{font-size:12px}
#emergency-content .em-admin-card>p,#emergency-content .em-admin-form label{font-size:10px}
#emergency-content .em-admin-form input,#emergency-content .em-admin-form select{font-size:10px;height:34px}
#emergency-content .em-admin-table table{font-size:10px}
#emergency-content .em-admin-table td small{font-size:9px}
@media(max-width:1200px){#emergency-content .em-filter-wrap{grid-template-columns:1fr}#emergency-content .em-filter-row{flex-wrap:wrap}#emergency-content .em-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){#emergency-content .em-workspace{grid-template-columns:1fr}#emergency-content .em-detail{min-height:350px}}
@media(max-width:700px){#emergency-content .em-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}#emergency-content .em-head{flex-direction:column;align-items:flex-start}#emergency-content .em-overview-grid{grid-template-columns:1fr}}
#emergency-content .em-progress{border:1px solid #e3ebf4;border-radius:9px;padding:12px;margin-bottom:12px;background:#fbfdfd}
#emergency-content .em-progress-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:14px}
#emergency-content .em-progress strong{font-size:12px}
#emergency-content .em-progress-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;list-style:none;margin:0;padding:0}
#emergency-content .em-progress-steps:has(li:nth-child(6)){grid-template-columns:repeat(4,minmax(0,1fr));row-gap:14px}
#emergency-content .em-progress-steps li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;position:relative;color:#8798ad;min-width:0}
#emergency-content .em-progress-steps li>span{display:grid;place-items:center;width:24px;height:24px;background:#ecf1f5;border-radius:50%;font-size:10px;border:1px solid #dde6ee}
#emergency-content .em-progress-steps li>small{font-size:9px;line-height:1.5;overflow-wrap:anywhere}
#emergency-content .em-progress-steps li.done{color:#087f75}
#emergency-content .em-progress-steps li.done>span{background:#dff5ee;border-color:#b9e4d8}
#emergency-content .em-progress-steps li.current{color:#007e73;font-weight:700}
#emergency-content .em-progress-steps li.current>span{background:#009c8d;color:#fff;border-color:#009c8d;box-shadow:0 0 0 3px #009c8d16}
#emergency-content .em-progress-stopped{background:#fff6f7;border-color:#f0ccd3;display:flex;flex-wrap:wrap;gap:8px;color:#bd334c}
#emergency-content .em-progress-stopped span{margin-left:auto;font-size:11px;font-weight:600}
#emergency-content .em-progress-stopped p{width:100%;font-size:10px;margin:0;color:#875362}
#emergency-content .em-auto-refresh{font-size:9px;color:#087f74;padding:4px 8px;background:#e5f7f1;border-radius:6px;white-space:nowrap}

/* END APPROVED EMERGENCY DESIGN */
