/* Warehouse workspace: scoped to inventory, without changing shared navigation. */
#clinicalInventoryWarehousesPanel {background:transparent;border:0;padding:24px 4px;color:#12294b}
.warehouse-heading {display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:24px}
.warehouse-title {display:flex;gap:16px;align-items:center;min-width:0}
.warehouse-icon {display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#eaf2ff;color:#0768f9;font-size:32px;flex-shrink:0}
.warehouse-title small {font-size:10px;letter-spacing:.08em;color:#537091;font-weight:700}
.warehouse-title h2 {margin:4px 0 12px;font-size:26px;line-height:1.2;letter-spacing:-.5px}
.warehouse-stats {display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;color:#61738e}
.warehouse-stats span+span {border-left:1px solid #dbe4f1;padding-left:16px}
.warehouse-danger {color:#b42338}.warehouse-warning {color:#956000}
.warehouse-tools {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.warehouse-tools label {background:white;border:1px solid #d9e3f2;border-radius:10px;padding:6px 12px;display:grid;gap:2px;font-size:10px;color:#61738e;min-width:190px}
.warehouse-tools select {border:0;background:transparent;color:#12294b;font-family:inherit;font-weight:600;font-size:13px;max-width:240px;padding:2px 0;min-height:24px}
.warehouse-tools button {min-height:46px;box-shadow:none;border-radius:10px}
.warehouse-alerts {display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:22px}
.warehouse-alert {display:flex;gap:16px;padding:20px;border:1px solid #f4d1d6;background:#fff5f6;border-radius:16px;color:#a32536}
.warehouse-alert.expiring {border-color:#f5dfb4;background:#fff9ee;color:#966300}
.warehouse-alert.clear {border-color:#dce8e5;background:#f5faf9;color:#387065}
.warehouse-alert-symbol {border-radius:50%;background:#ffffffb3;width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;font-size:28px;font-weight:700}
.warehouse-alert h3 {font-size:14px;margin:0 0 2px}.warehouse-alert-count {font-size:24px;line-height:1.2}
.warehouse-alert-list {max-height:120px;overflow:auto}.warehouse-alert p {color:#455c7c;font-size:12px;margin:5px 0 0;line-height:1.5}
.warehouse-items {border:1px solid #e1e8f2;border-radius:16px;background:#fff;padding:18px;box-shadow:0 6px 24px #12386405}
.warehouse-section-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.warehouse-section-heading h3 {margin:0;font-size:17px}.warehouse-section-heading span {font-size:12px;color:#6d7e96}
.warehouse-items .fiscal-table-wrap {border:1px solid #e1e8f2;border-radius:10px;overflow:auto;max-height:65vh}
.warehouse-items .fiscal-table {min-width:1100px;width:100%;border-collapse:separate;border-spacing:0}
.warehouse-items .fiscal-table th {position:sticky;top:0;z-index:2;background:#f3f6fb;font-size:10px;color:#61718e;padding:14px 12px;white-space:nowrap}
.warehouse-items .fiscal-table td {padding:12px;font-size:12px;vertical-align:middle;border-bottom:1px solid #e8edf5}
.warehouse-items .fiscal-table tr:last-child td {border-bottom:0}.warehouse-items .fiscal-table tbody tr:hover td {background:#f5f9ff}
.warehouse-items .clinical-item-identity {min-width:250px;max-width:330px}.warehouse-items .clinical-item-name {font-size:13px;line-height:1.4}.warehouse-items .clinical-item-code {font-size:11px;margin-top:4px;color:#6f819c}
.clinical-item-actions {display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
#clinicalInventoryView .clinical-item-actions button,#clinicalInventoryView .clinical-item-action {height:36px;margin:0;border:1px solid #d7e2f2;border-radius:8px;background:white;color:#24436d;font-size:12px;padding:6px 12px;box-shadow:none;white-space:nowrap}
#clinicalInventoryView .clinical-item-action {min-width:150px;max-width:180px}.clinical-item-actions button:hover {background:#edf4ff!important}
#clinicalInventoryWarehousesPanel .medical-badge.available {background:#dcf8e6;color:#147644}
#clinicalInventoryWarehousesPanel .medical-badge.expired {background:#ffe7eb;color:#aa253b}
#clinicalInventoryWarehousesPanel .medical-badge.low,#clinicalInventoryWarehousesPanel .medical-badge.quarantine {background:#fff2d4;color:#875800}
#clinicalInventoryWarehousesPanel .medical-badge {display:inline-flex;border:0;border-radius:7px;font-size:11px;padding:5px 9px}
.warehouse-history {display:grid;gap:12px;margin-top:20px}.warehouse-history details {border:1px solid #e1e8f2;border-radius:12px;background:white;padding:16px}
.warehouse-history summary {cursor:pointer;font-size:14px;font-weight:600}.warehouse-history summary span {color:#6f819c;margin-left:8px}.warehouse-history details[open] summary {margin-bottom:16px}
#clinicalInventoryView:has(#clinicalInventoryWarehousesPanel:not([hidden])) #clinicalInventorySummary {display:none}
#clinicalInventoryTabs {border-bottom:1px solid #dde5f0;gap:4px;padding-bottom:8px}
#clinicalInventoryTabs button {box-shadow:none}
.warehouse-tools :focus-visible,.clinical-item-actions :focus-visible,.warehouse-history summary:focus-visible {outline:3px solid #69a8ff;outline-offset:3px}
@media(max-width:800px){.warehouse-alerts{grid-template-columns:1fr}.warehouse-heading{gap:16px}.warehouse-tools{width:100%}.warehouse-tools label{flex:1}.warehouse-tools button{flex:1}.warehouse-stats{font-size:11px}.warehouse-title h2{font-size:23px}.warehouse-items{padding:12px}.warehouse-alert{padding:16px}#clinicalInventoryWarehousesPanel{padding:16px 0}.warehouse-items .fiscal-table td:first-child{position:sticky;left:0;background:white;z-index:1;max-width:200px;min-width:160px}.warehouse-items .fiscal-table th:first-child{left:0;z-index:3}}
