/* MH Development Suite — Allocation list module */
.mha-root{--mha-green:#0b6b3a;--mha-green2:#0e8a4a;--mha-line:#e3e8e3;font-family:"Hind Siliguri",system-ui,Segoe UI,sans-serif;color:#16302a;margin:16px 0}
.mha-root *{box-sizing:border-box}
.mha-head{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,var(--mha-green),var(--mha-green2));color:#fff;padding:14px 18px;border:2px solid #ffd200;border-radius:12px;cursor:pointer;user-select:none;box-shadow:0 2px 8px rgba(11,107,58,.15)}
.mha-head:hover{filter:brightness(1.05)}
.mha-title{font-size:16px;font-weight:700;flex:1;line-height:1.35}
.mha-count-badge{background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.5);border-radius:20px;font-size:12px;padding:3px 11px;font-weight:600;white-space:nowrap}
.mha-chev{font-size:18px;transition:transform .25s;line-height:1}
.mha-root.is-open .mha-chev{transform:rotate(180deg)}
.mha-panel{position:relative;border:2px solid #ffd200;border-top:none;border-radius:0 0 12px 12px;background:#fff;padding:14px 16px 18px;margin-top:-4px;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.mha-close{position:absolute;top:10px;right:12px;width:30px;height:30px;border:1px solid var(--mha-line);background:#f7faf7;border-radius:8px;font-size:18px;line-height:1;cursor:pointer;color:#5a6b60}
.mha-close:hover{background:#eef3ef;color:#16302a}
.mha-tools{display:flex;flex-wrap:wrap;gap:8px;margin:6px 40px 12px 0}
.mha-tools input,.mha-tools select{padding:8px 10px;border:1px solid var(--mha-line);border-radius:8px;font-size:13px;font-family:inherit;background:#fff}
.mha-tools input{flex:1;min-width:160px}
.mha-count{font-size:12px;color:#5a6b60;margin-bottom:8px}
.mha-tablewrap{max-height:520px;overflow:auto;border:1px solid var(--mha-line);border-radius:10px}
.mha-table{width:100%;border-collapse:collapse;font-size:13px}
.mha-table thead th{position:sticky;top:0;background:#0b6b3a;color:#fff;text-align:left;padding:9px 10px;font-weight:600;white-space:nowrap;z-index:1}
.mha-table td{padding:8px 10px;border-top:1px solid #eef1ee;vertical-align:top}
.mha-table tbody tr:nth-child(even){background:#f8faf8}
.mha-table tbody tr:hover{background:#f0f7f2}
.mha-src{display:inline-block;font-size:10.5px;padding:2px 7px;border-radius:5px;background:#eef3ef;color:#33513f;white-space:nowrap}
.mha-src.pio{background:#e7f0ff;color:#274b7a}
.mha-src.zila{background:#fff2dc;color:#8a5a00}
.mha-c-serial{width:44px;color:#8a978f;text-align:center}
.mha-c-ward{width:60px;text-align:center}
.mha-c-alloc{width:96px;white-space:nowrap}
.mha-c-union{width:120px}
.mha-empty{padding:18px;text-align:center;color:#8a978f}
@media(max-width:640px){.mha-title{font-size:14px}.mha-c-union,.mha-c-alloc{display:none}.mha-table thead th.mha-c-union,.mha-table thead th.mha-c-alloc{display:none}}

.mha-c-status{width:84px}
.mha-st{display:inline-block;font-size:10.5px;padding:2px 9px;border-radius:20px;color:#fff;white-space:nowrap}
.mha-st.completed{background:#0e8a4a}
.mha-st.ongoing{background:#e08a1e}
@media(max-width:640px){.mha-table thead th.mha-c-status{display:none}.mha-c-status{display:none}}
