:root{--brand-orange: #F68D45;--brand-orange-deep: #E2631A;--brand-taupe: #958A85;--brand-brown: #96796A;--brand-bluegray: #A8B6C3;--brand-yellow: #D5BC59;--brand-header: #7F665A;--brand-orange-soft: #FFF3EA;--brand-brown-soft: #F3EEEA;--brand-bluegray-soft: #EDF3F7;--brand-yellow-soft: #FFF7D7;--bg: #f2f1ef;--ink: #17202a;--muted: #667085;--line: #d8d1cc;--line-soft: #eee8e3;--panel: #ffffff;--slate: var(--brand-header);--blue: var(--brand-orange);--blue-soft: var(--brand-orange-soft);--emerald: var(--brand-brown);--emerald-soft: var(--brand-brown-soft);--amber: var(--brand-orange-deep);--amber-soft: var(--brand-yellow-soft);--red: #b42318;--red-soft: #fff1f3}*{box-sizing:border-box}body{margin:0;min-width:360px;color:var(--ink);background:var(--bg);font-family:Segoe UI,Apple SD Gothic Neo,Malgun Gothic,Arial,sans-serif;letter-spacing:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-page{min-height:100vh;background:linear-gradient(#eee9e5,#f8f7f5 240px)}.app-header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px clamp(14px,3vw,34px);color:#fff;background:var(--brand-header);border-bottom:1px solid #6f5a50}.app-header p{margin:0 0 6px;color:#f3ece7;font-size:13px}.app-header h1{margin:0;font-size:25px;line-height:1.2}.header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.admin-toggle,.print-button,.submit-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px;border:1px solid var(--brand-orange-deep);border-radius:6px;color:#fff;background:var(--brand-orange);font-weight:800}.admin-toggle.danger{border-color:#b91c1c;background:#dc2626}.admin-toggle.sync.synced{border-color:#7c6256;background:var(--brand-brown)}.admin-toggle.sync.syncing{border-color:var(--brand-orange-deep);background:var(--brand-orange)}.admin-toggle.sync.error{border-color:#b91c1c;background:#dc2626}.sync-panel{padding:12px clamp(10px,2vw,22px);border-bottom:1px solid #d7c7bc;background:var(--brand-brown-soft)}.sync-panel-content{width:min(1440px,100%);display:grid;grid-template-columns:1fr;gap:12px;align-items:end;margin:0 auto}.sync-panel strong,.sync-panel label{display:grid;gap:5px;color:#6f5a50;font-weight:900}.sync-panel p{margin:3px 0 0;color:#475467;font-size:13px;line-height:1.4}.sync-panel input{width:100%;min-height:40px;padding:8px 10px;border:1px solid #d7c7bc;border-radius:6px}.sync-actions,.sync-panel-actions{display:flex;flex-wrap:wrap;gap:8px}.sync-panel-actions button{min-height:38px;padding:0 12px;border:1px solid var(--brand-brown);border-radius:6px;color:#6f5a50;background:#fff;font-weight:900}.sync-panel-actions button.danger{border-color:#b91c1c;color:#fff;background:#dc2626}.sync-status{width:min(1440px,100%);margin:8px auto 0;color:#334155;font-size:13px;font-weight:800}.sync-status.error{color:var(--red)}.viewer-links-panel{padding:12px clamp(10px,2vw,22px);border-bottom:1px solid #d7c7bc;background:var(--pharmacy-label-background, #fff)}.viewer-link-list{width:min(1440px,100%);display:flex;flex-wrap:wrap;gap:8px;margin:0 auto}.viewer-link-item{flex:1 1 320px;display:grid;gap:6px;padding:10px;border:1px solid #eadfd8;border-radius:6px;background:#fff}.viewer-link-list a{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--brand-brown);border-radius:6px;color:#6f5a50;background:var(--brand-brown-soft);font-weight:900;text-decoration:none}.viewer-link-item code{display:block;padding:7px 8px;border-radius:6px;color:#334155;background:#f8fafc;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.viewer-link-help{width:min(1440px,100%);display:grid;gap:6px;margin:10px auto 0;padding:10px 12px;border:1px solid #d7c7bc;border-radius:6px;background:#f8fafc}.viewer-link-help strong{color:#6f5a50;font-weight:900}.viewer-link-help p{margin:0;color:#475467;font-size:13px;line-height:1.45}.viewer-link-help code{padding:2px 5px;border-radius:4px;color:#334155;background:#fff}.secondary-button.danger-light{border-color:#fecaca;color:#991b1b;background:#fff1f3}@media(max-width:820px){.sync-panel-content{grid-template-columns:1fr}.sync-actions,.sync-panel-actions{align-items:stretch}.sync-actions button{flex:1 1 160px}}.primary-tabs{display:grid;grid-template-columns:1fr 1fr 1fr;background:var(--brand-header)}.primary-tabs button{min-height:56px;border:0;border-bottom:4px solid transparent;color:#f3ece7;background:var(--brand-taupe);font-weight:900;font-size:16px}.primary-tabs button.active.stock{color:#fff;background:var(--brand-orange);border-bottom-color:var(--brand-yellow)}.primary-tabs button.active.ecart{color:#fff;background:var(--brand-brown);border-bottom-color:var(--brand-bluegray)}.primary-tabs button.active.narcotic{color:#fff;background:#8b3a62;border-bottom-color:#d4436a}.primary-tabs button.narcotic-order{order:-1}.app-content{width:min(1440px,100%);margin:0 auto;padding:16px clamp(10px,2vw,22px) 32px}.summary-grid{display:grid;grid-template-columns:repeat(5,minmax(160px,1fr));gap:10px;margin-bottom:14px}.bottom-summary{margin-top:18px}.bottom-summary .summary-grid{margin-bottom:0}.metric-card{min-height:96px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 1px 2px #1018280a}.metric-card span,.metric-card small{display:block;color:var(--muted)}.metric-card span{font-size:12px;font-weight:900}.metric-card strong{display:block;margin-top:2px;color:#111827;font-size:25px;line-height:1.1;font-weight:950}.metric-card small{margin-top:5px;font-size:12px;line-height:1.3}.metric-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.metric-card.blue .metric-icon{color:var(--brand-orange-deep);background:var(--brand-orange-soft)}.metric-card.indigo .metric-icon{color:#6f5a50;background:var(--brand-brown-soft)}.metric-card.green .metric-icon{color:var(--brand-brown);background:var(--brand-bluegray-soft)}.metric-card.slate .metric-icon{color:#6f5a50;background:#f2eeeb}.metric-card.amber .metric-icon{color:var(--brand-orange-deep);background:var(--brand-yellow-soft)}.inspection-stack,.master-stack{display:grid;gap:14px}.card,.report-card{background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:0 1px 2px #1018280d}.card{overflow:hidden}.card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 18px;border-bottom:1px solid var(--line)}.card-head h2,.section-toolbar h2,.report-title h2{margin:0;font-size:19px}.card-head p,.section-toolbar p{margin:4px 0 0;color:var(--muted);font-size:13px}.tab-strip{display:flex;gap:4px;overflow-x:auto;padding:0 0 6px;border-bottom:2px solid #cbd5e1}.tab-strip button,.ecart-tab-row button{flex:0 0 auto;min-height:40px;padding:0 16px;border:1px solid var(--line);border-bottom:0;border-radius:7px 7px 0 0;color:#475467;background:#fff;font-size:14px;font-weight:800}.tab-strip.stock button.active{color:#fff;background:var(--brand-orange);border-color:var(--brand-orange)}.tab-strip.stock button.uninspected{color:#991b1b;border-color:#fca5a5;background:#fee2e2}.tab-strip.stock button.uninspected.active{color:#fff;border-color:#b91c1c;background:#dc2626}.tab-strip.stock button.inspected{color:#6f5a50;border-color:#d7c7bc;background:var(--brand-brown-soft)}.tab-strip.stock button.inspected.active{color:#fff;border-color:#7c6256;background:var(--brand-brown)}.tab-strip.narcotic button.active{color:#fff;background:#8b3a62;border-color:#8b3a62}.tab-strip.narcotic button.inspected{color:#7b2d5f;border-color:#d9bfd0;background:#f3e8ee}.tab-strip.narcotic button.inspected.active{color:#fff;border-color:#7b2d5f;background:#8b3a62}.tab-strip.narcotic button.uninspected{color:#991b1b;border-color:#fca5a5;background:#fee2e2}.tab-strip.narcotic button.uninspected.active{color:#fff;border-color:#b91c1c;background:#dc2626}.group-row.psychotropic{background:#f3e8ee;color:#7b2d5f;font-weight:800}.group-row.narcotic-group{background:#fde8e8;color:#991b1b;font-weight:800}.ecart-tab-row{display:flex;gap:6px;overflow-x:auto;border-bottom:2px solid #d7c7bc}.ecart-tab-row button.active{color:#fff;background:var(--brand-brown);border-color:var(--brand-brown)}.section-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:0 4px}.toolbar-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.search-box{min-width:260px;min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:#fff}.search-box input{width:100%;border:0;outline:0}.master-search-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-items:center}.master-search-actions .search-box{min-width:min(340px,100%)}.master-kind-filter{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.master-kind-filter label{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#344054;font-size:13px;font-weight:800}.master-kind-filter input{width:16px;height:16px;accent-color:var(--brand-orange)}.master-excel-button{border-color:#7c6256;background:var(--brand-brown);white-space:nowrap}.print-button{border-color:#7c6256;background:var(--brand-header)}.print-button:disabled{cursor:wait;opacity:.76}.pdf-ready-link{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--brand-brown);border-radius:6px;color:#6f5a50;background:var(--brand-brown-soft);font-size:13px;font-weight:900;text-decoration:none}.pdf-error{color:var(--red);font-size:13px;font-weight:900}.print-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:stretch;justify-content:center;padding:24px;background:#7f665a9e}.print-preview-shell{width:min(1180px,100%);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;box-shadow:0 24px 80px #0f172a52}.print-preview-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--line);background:#fff}.print-preview-toolbar strong{display:block;color:var(--slate);font-size:15px}.print-preview-toolbar span{color:var(--muted);font-size:12px;font-weight:800}.preview-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.secondary-button:disabled{cursor:wait;opacity:.76}.print-preview-body{overflow:auto;padding:18px}.print-preview-report{max-width:1040px;margin:0 auto}.print-preview-report .stock-inventory-title{position:static;margin:18px 0 8px;padding:0;border:0;background:transparent;box-shadow:none}.print-preview-report .stock-inventory-wrap{max-height:none;overflow:visible;border-radius:7px}.print-preview-report .stock-inventory-wrap .inspection-table thead th{position:static}.bulk-report-stack{display:grid;gap:22px}.bulk-report-page{break-after:page;page-break-after:always}.bulk-report-page:last-child{break-after:auto;page-break-after:auto}.round-summary-stack{display:grid;gap:14px}.round-summary-form{display:grid;gap:14px;padding:16px 18px 18px}.round-summary-period,.round-summary-guidance-editor{display:grid;gap:6px;color:#344054;font-size:13px;font-weight:900}.round-summary-period input,.round-summary-guidance-editor input,.round-summary-guidance-editor textarea,.round-summary-table.editable input,.round-summary-table.editable textarea{width:100%;border:1px solid #cbd5e1;border-radius:6px;color:var(--ink);background:#fff}.round-summary-period input,.round-summary-guidance-editor input,.round-summary-table.editable input{min-height:38px;padding:8px 10px}.round-summary-guidance-editor textarea,.round-summary-table.editable textarea{min-height:72px;padding:9px 10px;resize:vertical;line-height:1.45}.round-summary-report{max-width:1040px;margin:0 auto;padding:22px;border:1px solid var(--line);border-radius:8px;background:#fff}.round-summary-title{display:grid;justify-items:center;gap:8px;margin-bottom:18px;padding-bottom:14px;border-bottom:3px solid var(--slate);text-align:center}.round-summary-title h2{margin:0;font-size:24px}.round-summary-title p{margin:0;color:#344054;font-weight:800}.round-summary-table{min-width:900px}.round-summary-table th:first-child,.round-summary-table td:first-child{width:140px;text-align:center}.round-summary-table th:nth-child(2),.round-summary-table td:nth-child(2){width:120px;text-align:center}.round-summary-table td{white-space:pre-line}.summary-detail-cell{line-height:1.5}.round-summary-guidance{margin-top:16px;padding:14px 16px;border:1px solid var(--line-soft);border-radius:7px;background:#f8fafc;white-space:pre-wrap;line-height:1.55;font-size:13px}.round-summary-closing{margin:14px 0 0;color:#344054;font-weight:800}.report-card{padding:22px}.report-title{display:grid;gap:10px;justify-items:center;margin-bottom:22px;padding-bottom:16px;border-bottom:3px solid var(--slate);text-align:center}.report-title-row{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px;align-items:center}.report-title span{justify-self:end;color:var(--muted);font-weight:700;font-size:13px}.header-link-button{min-height:30px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid var(--brand-brown);border-radius:6px;color:#6f5a50;background:var(--brand-brown-soft);font-size:12px;font-weight:900}.report-section-title{display:flex;align-items:center;gap:8px;margin:18px 0 8px;color:var(--brand-orange-deep);font-weight:900}.report-section-title.with-meta{justify-content:space-between}.report-section-title.with-meta span,.report-section-title.with-meta small{display:inline-flex;align-items:center;gap:8px}.report-section-title.with-meta small{padding:4px 8px;border:1px solid #d7c7bc;border-radius:6px;color:#6f5a50;background:var(--brand-brown-soft);font-size:12px;font-weight:900}.stock-inventory-title{position:sticky;top:8px;z-index:8;margin-bottom:0;padding:9px 10px;border:1px solid #d7c7bc;border-bottom:0;border-radius:7px 7px 0 0;background:#fbf7f2;box-shadow:0 8px 18px #0f172a14}.table-wrap{width:100%;overflow-x:auto}.table-wrap.bordered{border:1px solid var(--line);border-radius:7px}.data-table{width:100%;min-width:820px;border-collapse:collapse;table-layout:fixed;background:#fff}.data-table th,.data-table td{padding:10px;border-bottom:1px solid var(--line-soft);border-right:1px solid var(--line-soft);vertical-align:middle;text-align:left;font-size:13px}.data-table th{color:#344054;background:#f3f6fa;text-align:center;font-weight:900}.data-table td strong{display:block;line-height:1.25}.high-risk-drug-name{color:var(--red)}.data-table td span,.data-table td small{display:block;margin-top:3px;color:var(--muted);line-height:1.35}.data-table .code{width:86px;color:#475467;font-family:Consolas,SFMono-Regular,monospace;font-weight:800;word-break:break-all}.inspection-table th:first-child,.inspection-table td:first-child{width:58px;text-align:center}.inspection-table th:nth-child(2),.inspection-table td:nth-child(2){width:86px}.inspection-table th:nth-child(5),.inspection-table td:nth-child(5),.inspection-table th:nth-child(7),.inspection-table td:nth-child(7){width:80px;text-align:center}.inspection-table th:nth-child(6),.inspection-table td:nth-child(6){width:148px}.stock-inventory-wrap{max-height:min(62vh,620px);overflow:auto;border-radius:0 0 7px 7px}.stock-inventory-wrap .inspection-table thead th{position:sticky;top:0;z-index:6;background:#f3f6fa;box-shadow:inset 0 -1px 0 var(--line-soft)}.group-row td{padding:7px 12px;font-weight:900}.group-row.cold td{color:#546878;background:var(--brand-bluegray-soft)}.group-row.room td{color:#9a3412;background:#fff7ed}.narcotic-inventory-table{min-width:1040px}.narcotic-inventory-table th:first-child,.narcotic-inventory-table td:first-child{width:54px}.narcotic-inventory-table th:nth-child(2),.narcotic-inventory-table td:nth-child(2){width:92px}.narcotic-inventory-table th:nth-child(3),.narcotic-inventory-table td:nth-child(3){width:220px}.narcotic-inventory-table th:nth-child(4),.narcotic-inventory-table td:nth-child(4){width:96px}.narcotic-inventory-table th:nth-child(5),.narcotic-inventory-table td:nth-child(5){width:168px;text-align:left}.narcotic-inventory-table th:nth-child(6),.narcotic-inventory-table td:nth-child(6){width:148px;text-align:left}.narcotic-inventory-table th:nth-child(7),.narcotic-inventory-table td:nth-child(7){width:128px}.narcotic-inventory-table th:nth-child(8),.narcotic-inventory-table td:nth-child(8){width:52px;text-align:center}.narcotic-inventory-table .item-row.psychotropic td{background:#fcf8fb}.narcotic-inventory-table .item-row.narcotic-group td{background:#fff7f7}.narcotic-inventory-table .date-input{min-width:112px}.checklist-table{min-width:760px}.checklist-table th:first-child,.checklist-table td:first-child{width:110px}.checklist-table th:nth-child(3),.checklist-table td:nth-child(3),.checklist-table th:nth-child(4),.checklist-table td:nth-child(4){width:64px;text-align:center}.checklist-status-heading{display:inline-flex;flex-direction:column;align-items:center;line-height:1.08;white-space:nowrap}.checklist-note-row td{padding-top:4px;background:#fbfdff}.split-count-inputs{display:grid;grid-template-columns:1fr 1fr;gap:5px}.split-count-button{min-height:34px;border:1px solid #cbd5e1;border-radius:6px;color:#334155;background:#fff;font-weight:900}.split-count-button.checked{color:#6f5a50;border-color:#d7c7bc;background:var(--brand-brown-soft)}.empty-row{color:var(--muted);text-align:center!important}.count-input,.date-input,.note-input,.assignment-form input,.assignment-form select,.pdf-input-value{width:100%;min-height:34px;padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.pdf-input-value{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:28px;color:#111827;font-weight:800}.count-input{text-align:center;font-weight:900}.check-cell{text-align:center!important}.check-cell input{width:18px;height:18px}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:6px;color:#98a2b3;background:transparent}.icon-button:hover{color:var(--red);background:var(--red-soft);border-color:#fecdd3}.badge{display:inline-flex!important;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:900}.badge.gray{color:#475467;background:#f2f4f7}.badge.blue{color:#546878;background:var(--brand-bluegray-soft)}.badge.amber{color:var(--amber);background:var(--amber-soft)}.badge.red{color:var(--red);background:var(--red-soft)}.badge.psychotropic{color:#7b2d5f;background:#f3e8ee}.badge.narcotic-group{color:#991b1b;background:#fde8e8}.empty{color:var(--muted)}.lot-cell{max-width:160px;color:#344054;font-size:12px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}.checklist-section{margin-top:28px}.checklist-table td:first-child{color:#6f5a50;font-weight:900}.ecart-departments{padding:14px;border-color:#d7c7bc}.ecart-departments h3{margin:0 0 10px;color:#6f5a50;font-size:14px}.department-tags,.room-chip-grid{display:flex;flex-wrap:wrap;gap:7px}.department-tags span,.department-tags button,.room-chip-grid label{padding:6px 9px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:12px;font-weight:800}.department-tags button.active{color:#6f5a50;background:var(--brand-brown-soft);border-color:#d7c7bc}.stock-guide{overflow:hidden}.narcotic-guide{margin-bottom:10px;padding:14px}.narcotic-guide-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.narcotic-guide-head h3{margin:0;color:#8b3a62;font-size:14px;font-weight:900}.hidden-file-input{display:none}.narcotic-upload-name{margin:-2px 0 10px;color:var(--muted);font-size:12px;font-weight:800}.narcotic-sync-button,.narcotic-upload-button{white-space:nowrap}.narcotic-sync-button .sync-warning-text{display:inline;margin-left:4px;color:#dc2626;font-size:11px;font-weight:900}.narcotic-apply-panel{display:flex;justify-content:flex-end;margin:6px 0 10px}.narcotic-guide-list{display:grid;gap:8px}.narcotic-guide-floor{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:8px 0;border-top:1px solid var(--line-soft)}.narcotic-guide-floor>strong{color:#111827;font-size:13px;font-weight:900}.narcotic-guide-rows{display:grid;gap:5px}.narcotic-guide-row{display:flex;flex-wrap:wrap;gap:5px}.narcotic-guide-row button{min-height:28px;padding:3px 8px;border:1px solid #d8d1cc;border-radius:5px;color:#475467;background:#fff;font-size:12px;font-weight:700}.narcotic-guide-row button.active{color:#8b3a62;background:#f3e8ee;border:2px solid #8b3a62;font-weight:900}.narcotic-guide-row button.inspected{color:#7b2d5f;background:#f3e8ee;border-color:#d9bfd0;font-weight:900}.narcotic-guide-row button.inspected.active{color:#fff;background:#8b3a62;border-color:#7b2d5f}.narcotic-guide-row button.uninspected{color:#991b1b;background:#fee2e2;border-color:#fca5a5;font-weight:900}.narcotic-guide-row button.uninspected.active{color:#fff;background:#dc2626;border-color:#b91c1c}.stock-guide-list{display:grid;gap:0;padding:0 16px 16px}.stock-guide-floor{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid var(--line-soft)}.stock-guide-floor:last-child{border-bottom:0}.stock-guide-floor>strong{color:#111827;font-size:14px}.stock-guide-rows{display:grid;gap:7px}.stock-guide-row{display:flex;flex-wrap:wrap;gap:7px}.guide-chip{min-height:32px;display:inline-flex;align-items:center;gap:4px;padding:0 10px;border:1px solid #cbd5e1;border-radius:6px;color:#344054;background:#fff;font-size:13px;font-weight:900}.guide-chip span{color:var(--brand-orange-deep);font-size:11px}.guide-chip.active{color:#9a4f1d;background:var(--brand-orange-soft);border-color:#f2b17d}.guide-chip.ecart-only{color:#6f5a50;background:var(--brand-brown-soft);border-color:#d7c7bc}.guide-chip.inspected{color:#6f5a50;background:var(--brand-bluegray-soft);border-color:var(--brand-bluegray)}.guide-chip.inspected.active{color:#fff;background:var(--brand-brown);border-color:#7c6256}.guide-chip.uninspected,.guide-chip.ecart-only.uninspected{color:#991b1b;background:#fee2e2;border-color:#fca5a5}.guide-chip.uninspected.active,.guide-chip.ecart-only.uninspected.active{color:#fff;background:#dc2626;border-color:#b91c1c}.master-stack{max-width:1380px}.assignment-form{display:grid;grid-template-columns:minmax(260px,1fr) 120px minmax(320px,2fr) auto;gap:14px;align-items:end;padding:16px 18px}.drug-picker{display:grid;gap:8px}.selected-drug-pill{padding:8px 10px;border:1px solid #d7c7bc;border-radius:6px;color:#6f5a50;background:var(--brand-brown-soft);font-size:12px;font-weight:800}.drug-search-results{max-height:178px;display:grid;gap:6px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:7px;background:#f8fafc}.drug-search-results button{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;align-items:center;padding:8px 10px;border:1px solid var(--line-soft);border-radius:6px;color:#344054;background:#fff;text-align:left}.drug-search-results button.selected{border-color:var(--brand-orange);background:var(--brand-orange-soft)}.drug-search-results strong{color:#475467;font-family:Consolas,SFMono-Regular,monospace}.assignment-form label{display:grid;gap:6px;color:#475467;font-size:12px;font-weight:900}.room-picker{display:grid;gap:8px}.room-picker>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#475467;font-size:12px}.room-picker button{border:0;color:var(--brand-orange-deep);background:transparent;font-weight:900}.room-chip-grid{max-height:116px;overflow:auto;padding:9px;border:1px solid var(--line);border-radius:7px;background:#f8fafc}.room-chip-grid label{cursor:pointer}.room-chip-grid label.selected{color:#6f5a50;background:var(--brand-brown-soft);border-color:#d7c7bc}.room-chip-grid input{display:none}.submit-button{border-color:var(--brand-orange-deep)}.secondary-button{width:max-content;border-color:var(--brand-orange-deep);background:var(--brand-orange)}.master-add-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:14px;padding:0 18px 18px}.add-panel{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.add-panel.compact{align-content:start}.add-panel h3,.add-panel p{margin:0}.add-panel h3{color:#1f2937;font-size:15px}.add-panel p{margin-top:4px;color:var(--muted);font-size:12px}.add-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.add-panel label{display:grid;gap:6px;color:#475467;font-size:12px;font-weight:900}.room-floor-field{display:grid;gap:6px;margin:0;padding:0;border:0}.room-floor-field legend{margin-bottom:6px;padding:0;color:#475467;font-size:12px;font-weight:900}.drug-label-tools{display:grid;gap:14px;padding:0 18px 18px}.drug-label-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.drug-label-controls .search-box{flex:0 1 260px;max-width:320px}.label-mode-row{display:grid;gap:10px}.segmented-buttons{display:flex;flex-wrap:wrap;gap:7px}.segmented-buttons button{min-height:36px;padding:0 12px;border:1px solid #d7c7bc;border-radius:7px;color:#6f5a50;background:#fff;font-size:12px;font-weight:900;cursor:pointer}.segmented-buttons button.active{border-color:var(--brand-orange-deep);color:#fff;background:var(--brand-orange)}.segmented-buttons button.danger{border-color:#fecaca;color:#b91c1c;background:#fff1f2}.segmented-buttons button.danger.active{border-color:#991b1b;color:#fff;background:#dc2626}.label-size-groups{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-start}.label-size-group{display:grid;gap:5px}.label-size-output-label{color:#6f5a50;font-size:12px;font-weight:900;line-height:1.35;white-space:pre-line}.label-size-buttons button.active{border-color:#7c6256;background:var(--brand-brown)}.label-copy-field{display:grid;gap:6px;color:#475467;font-size:12px;font-weight:900}.label-copy-field input{width:86px;min-height:42px}.label-panel-toggle{white-space:nowrap}.drug-label-layout{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(0,1.2fr);gap:14px}.label-drug-list{display:grid;gap:7px;max-height:260px;overflow:auto;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff}.label-drug-list button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;min-height:42px;padding:8px 10px;border:1px solid var(--line-soft);border-radius:7px;color:#1f2937;background:#fff;text-align:left;cursor:pointer}.label-drug-list-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) minmax(96px,auto) auto;gap:8px;align-items:center;min-height:42px;padding:8px 10px;border:1px solid var(--line-soft);border-radius:7px;color:#1f2937;background:#fff;text-align:left;cursor:pointer}.label-drug-checkbox{display:inline-flex;align-items:center;justify-content:center}.label-drug-checkbox input{width:18px;height:18px;margin:0;accent-color:var(--brand-orange-deep);cursor:pointer}.label-drug-select-all{position:sticky;top:0;z-index:1;border-color:#d7c7bc;background:#fbfaf9;box-shadow:0 2px 8px #2c221d14}.label-drug-list-row strong{color:var(--brand-brown);font-size:12px}.label-drug-list-row>span:not(.badge):not(.label-list-cautions):not(.label-storage-badge):not(.label-drug-checkbox){min-width:0;overflow:hidden;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.label-list-cautions{display:flex;min-width:0;flex-wrap:wrap;gap:4px}.label-list-cautions .badge{width:max-content}.label-list-cautions .empty{font-size:12px;font-weight:900}.label-drug-list button.selected,.label-drug-list-row.selected{border-color:var(--brand-orange-deep);background:var(--brand-orange-soft)}.label-drug-list button strong{color:var(--brand-brown);font-size:12px}.label-drug-list button>span:not(.badge):not(.label-list-cautions):not(.label-storage-badge){min-width:0;overflow:hidden;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.label-preview-panel{display:grid;gap:10px;padding:12px;border:1px solid #d7c7bc;border-radius:8px;background:var(--brand-brown-soft)}.label-preview-panel>div:first-child{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline;justify-content:space-between}.label-preview-panel>div:first-child span,.label-preview-panel small{color:var(--muted);font-size:12px;font-weight:800}.drug-label-preview-grid{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;overflow-x:auto}.drug-label-print-grid{display:flex;flex-wrap:wrap;gap:5mm;align-items:flex-start;justify-content:flex-start}.drug-label-item{display:grid;position:relative;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:7px;box-sizing:border-box;min-height:128px;padding:11px;border:1px solid #4b5563;border-radius:8px;background:#fff;break-inside:avoid}.drug-label-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.drug-label-topline span,.label-storage-badge,.label-top-quantity,.label-quantity-circle{padding:3px 7px;border-radius:999px;font-size:11px;font-weight:900}.drug-label-warning-flag{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:4px;color:#fff;background:#ef1d19;font-size:12px;font-style:normal;font-weight:1000;line-height:1.05}.drug-label-warning-group{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}.drug-label-warning-chip{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:3px 8px;border-radius:999px;color:#fff;background:#ef1d19;font-size:12px;font-weight:1000;line-height:1.05}.drug-label-warning-spacer{display:none}.label-top-quantity{color:#1f3f57;background:var(--brand-bluegray-soft)}.label-quantity-circle{display:inline-grid;place-items:center;width:26px;height:26px;padding:0;color:#0b4fa5;background:#9fc8ff;font-size:15px}.label-storage-badge.room{color:#8a3f0f;background:#fff3ea}.label-storage-badge.cold{color:#0b5c88;background:#dff3ff}.label-storage-badge.light{color:#7a5200;background:#fff3bd}.label-storage-badge.ecart{color:#ff1f1f;background:transparent}.label-code-storage{display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:1000;line-height:1}.drug-label-item .label-code-storage{color:#fff}.drug-label-code-stack{display:grid;justify-items:end;gap:2px;min-width:0;margin-left:auto;text-align:right}.drug-label-code-line{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0}.drug-label-topline strong{color:var(--brand-brown);font-family:Verdana,Segoe UI,Malgun Gothic,sans-serif;font-size:13px}.drug-label-item h3,.drug-label-item p,.drug-label-item em{margin:0}.drug-label-item h3{display:block;align-self:center;justify-self:center;min-height:0;color:#111827;font-family:Verdana,Segoe UI,Malgun Gothic,sans-serif;font-size:16px;line-height:1.25;overflow-wrap:anywhere;word-break:keep-all;text-align:center}.dose-number-highlight{display:inline-block;padding:0 .04em;color:#ef1d19;background:#fff200;line-height:1}.drug-name-parenthetical{white-space:nowrap}.drug-label-item h3.fluid-name{font-size:18px;font-weight:1000}.fluid-list-tone{padding:3px 7px;border:1px solid currentColor;border-radius:5px;font-size:11px;font-weight:1000}.fluid-list-tone.orange{color:#f97316}.fluid-list-tone.black{color:#111}.fluid-list-tone.gray{color:#4b5563}.fluid-list-tone.blue{color:#0b5cff}.fluid-list-tone.pink{color:#db2777}.fluid-list-tone.green{color:#15803d}.fluid-list-tone.yellow{color:#ca8a04}.fluid-list-tone.red{color:#dc2626}.fluid-list-tone.purple{color:#7c3aed}.fluid-name.orange{color:#f97316}.fluid-name.black{color:#050505}.fluid-name.gray{color:#4b5563}.fluid-name.blue{color:#0b5cff}.fluid-name.pink{color:#db2777}.fluid-name.green{color:#15803d}.fluid-name.yellow{color:#ca8a04}.fluid-name.red{color:#dc2626}.fluid-name.purple{color:#7c3aed}.drug-label-item p{color:#4b5563;font-family:Verdana,Segoe UI,Malgun Gothic,sans-serif;font-size:12px;font-weight:800}.drug-label-item em{display:block;width:max-content;max-width:100%;padding:3px 6px;border:1px solid #fecaca;border-radius:5px;color:#b91c1c;background:#fff1f2;font-size:12px;font-style:normal;font-weight:900;line-height:1.15;overflow-wrap:anywhere}.drug-label-item .drug-label-top-caution{display:none}.drug-label-caution-bottom{align-self:end}.drug-label-sheet{max-width:840px;margin:0 auto;padding:24px;border-radius:8px;background:#fff}.drug-label-sheet-head{display:flex;gap:12px;align-items:flex-end;justify-content:space-between;margin-bottom:16px}.drug-label-sheet-head h2,.drug-label-sheet-head p{margin:0}.drug-label-sheet-head p,.drug-label-sheet-head span{color:var(--muted);font-size:12px;font-weight:800}.print-label,.drug-label-preview-grid .drug-label-item{width:calc(var(--label-width-mm, 100) * 1mm);height:calc(var(--label-height-mm, 35) * 1mm);min-height:0;overflow:hidden}.label-size-10x70 .drug-label-item,.drug-label-item.label-size-10x70{gap:1px;grid-template-rows:auto minmax(0,1fr);padding:1mm 2mm;border-radius:0}.label-size-10x70 .drug-label-topline,.drug-label-item.label-size-10x70 .drug-label-topline{gap:2px}.label-size-10x70 .label-storage-badge,.label-size-10x70 .label-top-quantity,.drug-label-item.label-size-10x70 .label-storage-badge,.drug-label-item.label-size-10x70 .label-top-quantity{padding:1px 3px;border-radius:4px;font-size:6.4px;line-height:1}.label-size-10x70 .drug-label-code-stack,.drug-label-item.label-size-10x70 .drug-label-code-stack{gap:0}.label-size-10x70 .drug-label-code-stack strong,.drug-label-item.label-size-10x70 .drug-label-code-stack strong{font-size:5.8px;line-height:1}.label-size-10x70 .drug-label-item p,.label-size-10x70 .drug-label-item dl div:first-child:not(.drug-label-quantity),.drug-label-item.label-size-10x70 p,.drug-label-item.label-size-10x70 dl div:first-child:not(.drug-label-quantity){display:none}.label-size-10x70 .drug-label-item h3,.drug-label-item.label-size-10x70 h3{align-self:center;display:-webkit-box;overflow:hidden;font-size:8.8px;line-height:1.05;-webkit-box-orient:vertical;-webkit-line-clamp:1}.label-size-10x70 .drug-label-item .drug-label-top-caution,.drug-label-item.label-size-10x70 .drug-label-top-caution{display:block;width:auto;padding:0;border:0;border-radius:0;color:#7f1d1d;background:transparent;font-size:6.8px;font-weight:1000;line-height:1}.label-size-10x70 .drug-label-caution-bottom,.label-size-10x70 .drug-label-item dl,.drug-label-item.label-size-10x70 .drug-label-caution-bottom,.drug-label-item.label-size-10x70 dl{display:none}.label-size-15x95 .drug-label-item,.drug-label-item.label-size-15x95{gap:2px;grid-template-rows:auto minmax(0,1fr) auto;padding:2.5mm 3mm;border-radius:0}.label-size-15x95 .label-storage-badge,.label-size-15x95 .label-top-quantity,.drug-label-item.label-size-15x95 .label-storage-badge,.drug-label-item.label-size-15x95 .label-top-quantity{padding:2px 6px;font-size:8px}.label-size-15x95 .drug-label-code-stack strong,.drug-label-item.label-size-15x95 .drug-label-code-stack strong{font-size:7.5px;line-height:1}.drug-label-item:is(.label-size-10x70,.label-size-15x95) .drug-label-code-stack strong{display:none}.label-size-15x95 .drug-label-item .drug-label-top-caution,.drug-label-item.label-size-15x95 .drug-label-top-caution{display:block;width:auto;padding:0;border:0;border-radius:0;color:#7f1d1d;background:transparent;font-size:9px;font-weight:1000;line-height:1.05}.label-size-15x95 .drug-label-item h3,.drug-label-item.label-size-15x95 h3{align-self:center;font-size:15px;line-height:1.08}.label-size-15x95 .drug-label-item p,.label-size-15x95 .drug-label-caution-bottom,.drug-label-item.label-size-15x95 p,.drug-label-item.label-size-15x95 .drug-label-caution-bottom{font-size:8px}.label-size-15x95 .drug-label-caution-bottom,.label-size-15x95 .drug-label-item dl div:first-child:not(.drug-label-quantity),.drug-label-item.label-size-15x95 .drug-label-caution-bottom,.drug-label-item.label-size-15x95 dl div:first-child:not(.drug-label-quantity){display:none}.label-size-55x95 .drug-label-item,.label-size-35x100 .drug-label-item,.drug-label-item.label-size-55x95,.drug-label-item.label-size-35x100{grid-template-rows:auto minmax(0,1fr) auto auto auto;padding:4mm}.label-size-55x95 .drug-label-item h3,.drug-label-item.label-size-55x95 h3{display:-webkit-box;overflow:hidden;font-size:46px;line-height:.95;-webkit-box-orient:vertical;-webkit-line-clamp:2}.label-size-35x100 .drug-label-item h3,.drug-label-item.label-size-35x100 h3{display:-webkit-box;overflow:hidden;font-size:31px;line-height:1;-webkit-box-orient:vertical;-webkit-line-clamp:2}.label-size-55x95 .drug-label-item h3.fluid-name,.drug-label-item.label-size-55x95 h3.fluid-name{font-size:50px}.label-size-35x100 .drug-label-item h3.fluid-name,.drug-label-item.label-size-35x100 h3.fluid-name{font-size:36px}.label-size-55x95 .drug-name-parenthetical,.drug-label-item.label-size-55x95 .drug-name-parenthetical{display:block;font-size:.72em;line-height:.95}.drug-label-item.label-size-55x95.name-long:not(.label-kind-fluid):not(.label-kind-ecart) h3,.drug-label-item.label-size-55x95.name-extra-long:not(.label-kind-fluid):not(.label-kind-ecart) h3,.drug-label-item.label-size-35x100.name-long:not(.label-kind-fluid):not(.label-kind-ecart) h3,.drug-label-item.label-size-35x100.name-extra-long:not(.label-kind-fluid):not(.label-kind-ecart) h3{display:block;overflow:visible;max-width:100%;-webkit-line-clamp:unset;text-wrap:balance}.drug-label-item.label-size-55x95.name-long:not(.label-kind-fluid):not(.label-kind-ecart) h3{font-size:34px;line-height:1.04}.drug-label-item.label-size-55x95.name-extra-long:not(.label-kind-fluid):not(.label-kind-ecart) h3{font-size:28px;line-height:1.03}.drug-label-item.label-size-35x100.name-long:not(.label-kind-fluid):not(.label-kind-ecart) h3{font-size:25px;line-height:1.04}.drug-label-item.label-size-35x100.name-extra-long:not(.label-kind-fluid):not(.label-kind-ecart) h3{font-size:21px;line-height:1.03}.label-kind-ecart{border:1px solid #111;border-radius:0;background:#fff}.label-kind-ecart .drug-label-topline{align-items:stretch}.label-kind-ecart .drug-label-warning-flag{align-self:stretch;box-sizing:border-box;height:100%;min-width:22%;border-radius:0;justify-content:center;text-align:center}.label-kind-ecart:not(.has-caution-label) .drug-label-warning-flag,.label-kind-ecart:not(.has-caution-label) .drug-label-warning-spacer{display:none}.label-kind-ecart .drug-label-code-stack{align-self:stretch;align-content:center;justify-items:center;min-width:18mm;padding:2px 4px;background:#101010}.label-kind-ecart .drug-label-code-stack strong{color:#d1d5db}.label-kind-ecart .label-storage-badge.ecart{color:#ff2b2b;font-size:12px;text-transform:none}.label-kind-ecart.light-protected-label h3{align-self:stretch;align-content:center;background:#e0f7e8}.label-kind-ecart.light-protection-only-label .drug-label-warning-flag{color:#fff;background:#0f8f52}.label-kind-fluid{display:grid;grid-template-rows:1fr;border-width:1.5px;border-color:currentColor;border-radius:0;color:#0b5c88;background:#fff}.label-kind-fluid .drug-label-topline,.label-kind-fluid .drug-label-caution-bottom{display:none}.label-kind-fluid h3{align-self:center;justify-self:center;max-width:100%}.label-kind-fluid.fluid-label{padding:1.5mm 3mm}.label-kind-fluid.fluid-tone-orange{color:#f97316}.label-kind-fluid.fluid-tone-black{color:#111}.label-kind-fluid.fluid-tone-gray{color:#4b5563}.label-kind-fluid.fluid-tone-blue{color:#0b5cff}.label-kind-fluid.fluid-tone-pink{color:#db2777}.label-kind-fluid.fluid-tone-green{color:#15803d}.label-kind-fluid.fluid-tone-yellow{color:#ca8a04}.label-kind-fluid.fluid-tone-red{color:#dc2626}.label-kind-fluid.fluid-tone-purple{color:#7c3aed}.high-risk-label:not(.label-kind-ecart){border-color:#b91c1c}.high-risk-label:not(.label-kind-ecart) .drug-label-warning-flag{min-width:32%;justify-content:center}.drug-label-item.label-size-10x70.label-kind-ecart{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr;gap:1.5mm;padding:0}.drug-label-item.label-size-10x70.label-kind-ecart .drug-label-topline{display:contents}.drug-label-item.label-size-10x70.label-kind-ecart .drug-label-warning-flag{grid-column:1;grid-row:1;min-width:17mm;padding:0 1mm;font-size:9.2px;line-height:1.1;overflow-wrap:anywhere;word-break:keep-all}.drug-label-item.label-size-10x70.label-kind-ecart h3{grid-column:2;grid-row:1;font-size:13.4px;font-weight:1000}.drug-label-item.label-size-10x70.label-kind-ecart .drug-label-code-stack{grid-column:3;grid-row:1;min-width:12mm;padding:.3mm 1mm;gap:.15mm}.drug-label-item.label-size-10x70.label-kind-ecart:not(.has-caution-label) h3{grid-column:1 / 3}.drug-label-item.label-size-10x70.label-kind-ecart .label-storage-badge.ecart{font-size:7.6px;line-height:1.05}.drug-label-item.label-size-10x70 .label-quantity-circle{width:5.1mm;height:5.1mm;font-size:9.5px;line-height:1}.drug-label-item.label-size-15x95.label-kind-ecart{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr;gap:2mm;padding:0}.drug-label-item.label-size-15x95.label-kind-ecart .drug-label-topline{display:contents}.drug-label-item.label-size-15x95.label-kind-ecart .drug-label-warning-flag{grid-column:1;grid-row:1;min-width:22mm;padding:0 1.5mm;font-size:11px;line-height:1.1}.drug-label-item.label-size-15x95.label-kind-ecart h3{grid-column:2;grid-row:1;font-size:22px;font-weight:1000}.drug-label-item.label-size-15x95.label-kind-ecart .drug-label-code-stack{grid-column:3;grid-row:1;min-width:14mm;padding:0 4px;align-content:center;gap:.25mm}.drug-label-item.label-size-15x95.label-kind-ecart:not(.has-caution-label) h3{grid-column:1 / 3}.drug-label-item.label-size-15x95 .label-quantity-circle{width:6.5mm;height:6.5mm;font-size:12px;line-height:1}.drug-label-item.label-size-10x70.label-kind-stock,.drug-label-item.label-size-10x70.label-kind-pharmacy{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr;gap:1.5mm;padding:0;border:1px solid #111;border-radius:0;background:#fff}.drug-label-item.label-size-10x70.label-kind-stock .drug-label-topline,.drug-label-item.label-size-10x70.label-kind-pharmacy .drug-label-topline{display:contents}.drug-label-item.label-size-10x70.label-kind-stock .label-storage-badge:not(.ecart),.drug-label-item.label-size-10x70.label-kind-pharmacy .label-storage-badge:not(.ecart),.drug-label-item.label-size-10x70.label-kind-stock .drug-label-warning-spacer,.drug-label-item.label-size-10x70.label-kind-pharmacy .drug-label-warning-spacer{display:none}.drug-label-item.label-size-10x70.label-kind-stock .drug-label-warning-flag,.drug-label-item.label-size-10x70.label-kind-pharmacy .drug-label-warning-flag{grid-column:1;grid-row:1;align-self:stretch;box-sizing:border-box;min-width:17mm;height:100%;padding:0 1mm;border-radius:0;justify-content:center;font-size:9.2px;line-height:1.1;overflow-wrap:anywhere;text-align:center;word-break:keep-all}.drug-label-item.label-size-10x70.label-kind-stock h3,.drug-label-item.label-size-10x70.label-kind-pharmacy h3{grid-column:2;grid-row:1;align-self:center;font-size:13.4px;font-weight:1000}.drug-label-item.label-size-10x70.label-kind-stock .drug-label-code-stack,.drug-label-item.label-size-10x70.label-kind-pharmacy .drug-label-code-stack{grid-column:3;grid-row:1;align-self:stretch;align-content:center;justify-items:center;min-width:12mm;padding:.3mm 1mm;gap:.15mm;background:#101010}.drug-label-item.label-size-10x70.label-kind-stock .drug-label-code-stack strong,.drug-label-item.label-size-10x70.label-kind-pharmacy .drug-label-code-stack strong{color:#d1d5db}.drug-label-item.label-size-10x70.label-kind-stock .drug-label-code-stack .label-storage-badge,.drug-label-item.label-size-10x70.label-kind-pharmacy .drug-label-code-stack .label-storage-badge,.drug-label-item.label-size-10x70.label-kind-stock .drug-label-code-stack .label-code-storage,.drug-label-item.label-size-10x70.label-kind-pharmacy .drug-label-code-stack .label-code-storage{display:inline-flex;padding:1px 3px;border-radius:4px;font-size:7.4px;line-height:1.05}.drug-label-sheet.pharmacy-paper-a4{width:210mm;min-height:297mm}.drug-label-sheet.pharmacy-paper-a3{width:297mm;min-height:420mm}.pharmacy-print-pages{display:grid;gap:16px}.pharmacy-print-page{box-sizing:border-box;width:calc(var(--pharmacy-paper-width-mm) * 1mm);min-height:calc(var(--pharmacy-paper-height-mm) * 1mm);margin:0 auto;padding:calc(var(--pharmacy-paper-margin-mm) * 1mm);background:#fff;break-after:page;page-break-after:always}.pharmacy-print-page:last-child{break-after:auto;page-break-after:auto}.pharmacy-paper-label-grid{gap:0;align-content:flex-start}.drug-label-print-page{box-sizing:border-box;width:210mm;height:297mm;margin:0 auto;overflow:hidden;background:#fff;break-after:page;page-break-after:always;page:drug-label-paper}.drug-label-print-page:last-child{break-after:auto;page-break-after:auto}.drug-label-page-grid{gap:0;align-content:flex-start}@page drug-label-paper{size:A4 portrait;margin:0}.drug-label-item.label-size-10x70.label-kind-stock .drug-label-code-stack .label-code-storage.cold{color:#0b5c88;background:#dff3ff}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy).light-protected-label h3{align-self:stretch;align-content:center;box-sizing:border-box;padding:0 1mm;background:#e0f7e8}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy).light-protected-label:not(.has-red-priority-label) .drug-label-warning-flag{color:#fff;background:#0f8f52}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-code-stack .label-code-storage.light{color:#047857;background:#d8f7df}.drug-label-item.label-size-10x70.label-kind-stock:not(.has-caution-label) h3,.drug-label-item.label-size-10x70.label-kind-pharmacy:not(.has-caution-label) h3{grid-column:1 / 3}.drug-label-item.label-size-15x95.label-kind-stock,.drug-label-item.label-size-15x95.label-kind-pharmacy{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr;gap:2mm;padding:0;border:1px solid #111;border-radius:0;background:#fff}.drug-label-item.label-size-15x95.label-kind-stock .drug-label-topline,.drug-label-item.label-size-15x95.label-kind-pharmacy .drug-label-topline{display:contents}.drug-label-item.label-size-15x95.label-kind-stock .label-storage-badge:not(.ecart),.drug-label-item.label-size-15x95.label-kind-pharmacy .label-storage-badge:not(.ecart),.drug-label-item.label-size-15x95.label-kind-stock .drug-label-warning-spacer,.drug-label-item.label-size-15x95.label-kind-pharmacy .drug-label-warning-spacer{display:none}.drug-label-item.label-size-15x95.label-kind-stock .drug-label-warning-flag,.drug-label-item.label-size-15x95.label-kind-pharmacy .drug-label-warning-flag{grid-column:1;grid-row:1;align-self:stretch;box-sizing:border-box;min-width:22mm;height:100%;padding:0 1.5mm;border-radius:0;justify-content:center;font-size:11px;line-height:1.1;overflow-wrap:anywhere;text-align:center;word-break:keep-all}.drug-label-item.label-size-15x95.label-kind-stock h3,.drug-label-item.label-size-15x95.label-kind-pharmacy h3{grid-column:2;grid-row:1;align-self:center;font-size:22px;font-weight:1000}.drug-label-item.label-size-15x95.label-kind-stock .drug-label-code-stack,.drug-label-item.label-size-15x95.label-kind-pharmacy .drug-label-code-stack{grid-column:3;grid-row:1;align-self:stretch;align-content:center;justify-items:center;min-width:14mm;padding:.3mm 1.2mm;gap:.25mm;background:#101010}.drug-label-item.label-size-15x95.label-kind-stock .drug-label-code-stack strong,.drug-label-item.label-size-15x95.label-kind-pharmacy .drug-label-code-stack strong{color:#d1d5db}.drug-label-item.label-size-15x95.label-kind-stock .drug-label-code-stack .label-storage-badge,.drug-label-item.label-size-15x95.label-kind-pharmacy .drug-label-code-stack .label-storage-badge,.drug-label-item.label-size-15x95.label-kind-stock .drug-label-code-stack .label-code-storage,.drug-label-item.label-size-15x95.label-kind-pharmacy .drug-label-code-stack .label-code-storage{display:inline-flex;padding:2px 5px;border-radius:5px;font-size:8.6px;line-height:1.05}.drug-label-item.label-size-15x95.label-kind-stock .drug-label-code-stack .label-code-storage.cold{color:#0b5c88;background:#dff3ff}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy).light-protected-label h3{align-self:stretch;align-content:center;box-sizing:border-box;padding:0 1.2mm;background:#e0f7e8}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy).light-protected-label:not(.has-red-priority-label) .drug-label-warning-flag{color:#fff;background:#0f8f52}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-code-stack .label-code-storage.light{color:#047857;background:#d8f7df}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) h3{display:flex;align-items:center;justify-content:center;overflow:visible;white-space:normal;-webkit-line-clamp:unset}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines{display:grid;align-content:center;justify-items:center;width:100%;max-width:100%;gap:0;color:#111827;text-align:center;font-size:19px;line-height:1.05}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-3,.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-4,.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-5{font-size:14.6px}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-line{display:block;max-width:100%;font-weight:1000;line-height:1.02;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}.drug-label-item.label-size-15x95.label-kind-stock:not(.has-caution-label) h3,.drug-label-item.label-size-15x95.label-kind-pharmacy:not(.has-caution-label) h3{grid-column:1 / 3}.drug-label-item.label-size-10x70.label-kind-narcotic{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr;gap:1.5mm;padding:0;border:1px solid #111;border-radius:0;background:#fff}.drug-label-item.label-size-10x70.label-kind-narcotic .drug-label-topline{display:contents}.drug-label-item.label-size-10x70.label-kind-narcotic .drug-label-warning-spacer{display:none}.drug-label-item.label-size-10x70.label-kind-narcotic .drug-label-warning-flag{grid-column:1;grid-row:1;align-self:stretch;box-sizing:border-box;min-width:17mm;height:100%;padding:0 1mm;border-radius:0;justify-content:center;font-size:8px;line-height:1.05;overflow-wrap:anywhere;text-align:center;word-break:keep-all}.drug-label-item.label-size-10x70.label-kind-narcotic h3{grid-column:2;grid-row:1;align-self:center;font-size:12px;font-weight:1000}.drug-label-item.label-size-10x70.label-kind-narcotic .drug-label-code-stack{grid-column:3;grid-row:1;align-self:stretch;align-content:center;justify-items:center;min-width:14mm;padding:.3mm 1mm;gap:.15mm;background:#101010}.drug-label-item.label-size-10x70.label-kind-narcotic .drug-label-code-stack strong{color:#d1d5db}.drug-label-item.label-size-10x70.label-kind-narcotic .label-code-storage.cold{color:#0b5c88;background:#dff3ff;font-size:6px}.drug-label-item.label-size-15x95.label-kind-narcotic{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr;gap:2mm;padding:0;border:1px solid #111;border-radius:0;background:#fff}.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-topline{display:contents}.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-warning-spacer{display:none}.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-warning-flag{grid-column:1;grid-row:1;align-self:stretch;box-sizing:border-box;min-width:22mm;height:100%;padding:0 1.5mm;border-radius:0;justify-content:center;font-size:9px;line-height:1.05;overflow-wrap:anywhere;text-align:center;word-break:keep-all}.drug-label-item.label-size-15x95.label-kind-narcotic h3{grid-column:2;grid-row:1;align-self:center;font-size:19px;font-weight:1000}.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-code-stack{grid-column:3;grid-row:1;align-self:stretch;align-content:center;justify-items:center;min-width:17mm;padding:.3mm 1.2mm;gap:.25mm;background:#101010}.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-code-stack strong{color:#d1d5db}.drug-label-item.label-size-15x95.label-kind-narcotic .label-code-storage.cold{color:#0b5c88;background:#dff3ff;font-size:7.5px}.drug-label-item:is(.label-size-10x70,.label-size-15x95) .drug-label-warning-flag,.drug-label-item:is(.label-size-10x70,.label-size-15x95) .label-code-storage,.drug-label-item:is(.label-size-10x70,.label-size-15x95) .label-storage-badge{font-family:Verdana,Segoe UI,Malgun Gothic,sans-serif;line-height:1.2}.drug-label-item.label-size-10x70 .drug-label-warning-flag,.drug-label-item.label-size-10x70 .label-code-storage,.drug-label-item.label-size-10x70 .label-storage-badge{font-size:11.9px}.drug-label-item.label-size-15x95 .drug-label-warning-flag,.drug-label-item.label-size-15x95 .label-code-storage,.drug-label-item.label-size-15x95 .label-storage-badge{font-size:13.7px}.drug-label-item.label-size-10x70 :is(.drug-label-warning-flag,.label-code-storage,.label-storage-badge){font-size:13px!important;line-height:1.25!important;white-space:normal;overflow-wrap:anywhere;word-break:keep-all}.drug-label-item.label-size-15x95 :is(.drug-label-warning-flag,.label-code-storage,.label-storage-badge){font-size:16px!important;line-height:1.25!important;white-space:normal;overflow-wrap:anywhere;word-break:keep-all}.drug-label-item.label-size-10x70 .label-quantity-circle{width:6.5mm;height:6.5mm;font-size:13px;line-height:1}.drug-label-item.label-size-15x95 .label-quantity-circle{width:8mm;height:8mm;font-size:16px;line-height:1}.drug-label-item.label-kind-ecart:is(.label-size-10x70,.label-size-15x95) .drug-label-warning-flag,.drug-label-item.label-kind-ecart:is(.label-size-10x70,.label-size-15x95) .drug-label-code-stack{min-height:0;height:100%;overflow:visible}.drug-label-item.label-kind-ecart.label-size-10x70 .drug-label-code-stack{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr;min-width:19mm;padding:0 .8mm;column-gap:.8mm}.drug-label-item.label-kind-ecart.label-size-15x95 .drug-label-code-stack{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr;min-width:23mm;padding:0 1.2mm;column-gap:1.2mm}.drug-label-item.label-kind-ecart:is(.label-size-10x70,.label-size-15x95) .drug-label-code-line{display:none}.drug-label-item.label-kind-ecart:is(.label-size-10x70,.label-size-15x95) .label-storage-badge.ecart,.drug-label-item.label-kind-ecart:is(.label-size-10x70,.label-size-15x95) .label-quantity-circle{grid-row:1;align-self:center}.drug-label-item.label-kind-ecart:is(.label-size-10x70,.label-size-15x95) .label-storage-badge.ecart{grid-column:1;justify-self:center}.drug-label-item.label-kind-ecart:is(.label-size-10x70,.label-size-15x95) .label-quantity-circle{grid-column:2;justify-self:end}.drug-label-item.label-size-15x95.label-kind-ecart{grid-template-rows:minmax(0,1fr);align-items:stretch}.drug-label-item.label-size-15x95.label-kind-ecart :is(.drug-label-warning-flag,.drug-label-code-stack){align-self:stretch;block-size:auto;box-sizing:border-box}.drug-label-item.label-size-15x95.label-kind-ecart h3{align-self:stretch;display:flex;align-items:center;justify-content:center;-webkit-line-clamp:unset}.drug-label-item.label-size-10x70.label-kind-narcotic .drug-label-warning-flag,.drug-label-item.label-size-10x70.label-kind-narcotic .label-code-storage{font-size:13px!important;line-height:1.25!important;white-space:normal;overflow-wrap:anywhere}.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-warning-flag,.drug-label-item.label-size-15x95.label-kind-narcotic .label-code-storage{font-size:16px!important;line-height:1.25!important;white-space:normal;overflow-wrap:anywhere}.drug-label-item.label-size-10x70.label-kind-narcotic .drug-label-code-stack{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);column-gap:1mm;min-width:21mm;padding-inline:.8mm;overflow:hidden}.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-code-stack{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);column-gap:1mm;min-width:27mm;padding-inline:1.2mm;overflow:hidden}.drug-label-item.label-size-10x70.label-kind-narcotic .drug-label-code-line,.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-code-line{min-width:0;justify-content:center;overflow:hidden}.drug-label-item.label-size-10x70.label-kind-narcotic .label-code-storage,.drug-label-item.label-size-15x95.label-kind-narcotic .label-code-storage{max-width:100%;overflow:hidden;text-overflow:clip}.drug-label-item.label-size-10x70.label-kind-narcotic .label-code-storage{font-size:9px!important;line-height:1.1!important}.drug-label-item.label-size-15x95.label-kind-narcotic .label-code-storage{font-size:12px!important;line-height:1.1!important}.drug-label-item h3,.drug-label-item .drug-label-name-lines,.drug-label-item .drug-label-name-line{font-family:Verdana,Segoe UI,Malgun Gothic,sans-serif}.drug-label-item.label-kind-narcotic:is(.label-size-55x95,.label-size-35x100) h3{display:flex;align-items:center;justify-content:center;overflow:visible;padding-block:.08em;line-height:1.12;-webkit-line-clamp:unset}.drug-label-item.label-kind-narcotic.label-size-55x95.name-long h3{font-size:32px}.drug-label-item.label-kind-narcotic.label-size-55x95.name-extra-long h3{font-size:27px}.drug-label-item.label-kind-narcotic.label-size-35x100.name-long h3{font-size:24px}.drug-label-item.label-kind-narcotic.label-size-35x100.name-extra-long h3{font-size:20px}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-code-stack{min-width:18mm}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-code-stack{min-width:22mm}.drug-label-item:is(.label-size-10x70,.label-size-15x95):is(.label-kind-stock,.label-kind-pharmacy) .drug-label-code-line{flex-wrap:nowrap}.drug-label-item.label-kind-ecart:is(.label-size-10x70,.label-size-15x95) p{display:none}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95) .drug-label-code-stack{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);align-items:center;align-content:stretch;column-gap:1mm;padding-block:0}.drug-label-item.checked-master-label.label-size-10x70 .drug-label-code-stack{min-width:20mm;padding-inline:1mm}.drug-label-item.checked-master-label.label-size-15x95 .drug-label-code-stack{min-width:25mm;padding-inline:1.4mm}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95) .drug-label-code-line,.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95) .label-quantity-circle{grid-row:1;align-self:center}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95) .drug-label-code-line{grid-column:1;justify-content:center;flex-wrap:nowrap}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95) .label-quantity-circle{grid-column:2;justify-self:end}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95) .drug-label-code-line:not(:has(.label-code-storage)){display:none}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95):not(:has(.label-code-storage)) .label-quantity-circle{grid-column:1 / -1;justify-self:center}.drug-label-item.label-size-15x95.label-kind-ecart h3{display:flex!important;align-self:stretch;align-items:center;justify-content:center;min-height:0;padding:.6mm 1mm;overflow:hidden;font-size:21px;line-height:1.06;-webkit-line-clamp:unset}.drug-label-item.label-size-15x95.label-kind-ecart.name-long h3{font-size:18px;line-height:1.08}.drug-label-item.label-size-15x95.label-kind-ecart.name-extra-long h3{font-size:12px;line-height:1}.drug-label-item.checked-master-label.light-protected-label.has-controlled-caution-label .drug-label-warning-flag{color:#fff;background:#ef1d19}.drug-label-item.checked-master-label.light-protected-label.has-controlled-caution-label h3{background:#e0f7e8}.drug-label-item.compact-controlled-caution-label.light-protected-label:is(.label-size-10x70,.label-size-15x95):is(.label-kind-stock,.label-kind-pharmacy) .drug-label-warning-flag{color:#fff;background:#ef1d19}.drug-label-item.compact-controlled-caution-label.light-protected-label:is(.label-size-10x70,.label-size-15x95):is(.label-kind-stock,.label-kind-pharmacy) h3{background:#e0f7e8}.drug-label-item.checked-master-label.label-size-15x95.label-kind-stock h3{align-self:stretch;min-height:0;padding:.5mm 1mm;overflow:hidden}.drug-label-item.checked-master-label.label-size-15x95.label-kind-stock .drug-label-name-lines{line-height:1.08}.drug-label-item.checked-master-label.label-size-15x95.label-kind-stock .drug-label-name-lines-3,.drug-label-item.checked-master-label.label-size-15x95.label-kind-stock .drug-label-name-lines-4,.drug-label-item.checked-master-label.label-size-15x95.label-kind-stock .drug-label-name-lines-5{font-size:12.6px;line-height:1.08}.drug-label-item.checked-master-label.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) h3{display:flex;align-items:center;justify-content:center}.drug-label-item.checked-master-label.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines{display:grid;align-content:center;justify-items:center;width:100%;max-width:100%}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-warning-flag{white-space:pre-line;line-height:1.02!important}.drug-label-item.label-size-10x70.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic){grid-template-columns:16mm minmax(27mm,1fr) 15mm}.drug-label-item.label-size-15x95.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic){grid-template-columns:23mm minmax(38mm,1fr) 18mm}.drug-label-item.label-size-10x70.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-warning-flag{min-width:0;max-width:16mm;padding-inline:.7mm;font-size:9px!important;line-height:1.08!important;overflow-wrap:anywhere;word-break:break-word}.drug-label-item.label-size-15x95.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-warning-flag{min-width:0;max-width:23mm;padding-inline:1mm;font-size:11.5px!important;line-height:1.1!important;overflow-wrap:anywhere;word-break:break-word}.drug-label-item.label-size-10x70.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-name-lines{font-size:10px;line-height:1.05}.drug-label-item.label-size-10x70.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic).name-long .drug-label-name-lines{font-size:9px}.drug-label-item.label-size-10x70.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic).name-extra-long .drug-label-name-lines{font-size:8px}.drug-label-item.label-size-15x95.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-name-lines{font-size:17px;line-height:1.08}.drug-label-item.label-size-15x95.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic).name-long .drug-label-name-lines{font-size:14px}.drug-label-item.label-size-15x95.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic).name-extra-long .drug-label-name-lines{font-size:12px}.drug-label-item.label-size-10x70.has-caution-label.label-kind-narcotic h3{display:flex;align-items:center;justify-content:center;font-size:9px;line-height:1.05;-webkit-line-clamp:unset}.drug-label-item.label-size-15x95.has-caution-label.label-kind-narcotic h3{display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1.08;-webkit-line-clamp:unset}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) h3{min-height:0;padding-block:.4mm;overflow:hidden}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines{font-size:18px;line-height:1.04}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-3{font-size:12.5px;line-height:1.04}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-4{font-size:11px;line-height:1.03}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-5{font-size:9.5px;line-height:1.02}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .label-code-storage{font-size:9px!important;line-height:1.1!important}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .label-code-storage{font-size:12px!important;line-height:1.1!important}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-code-stack{min-width:15mm}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-code-stack{min-width:18mm}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines{font-size:13px}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy).name-long .drug-label-name-lines{font-size:11.2px}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy).name-extra-long .drug-label-name-lines{font-size:9.2px}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines{font-size:21px}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-3,.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-4,.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-5{font-size:15.2px}.drug-label-item:is(.label-size-10x70,.label-size-15x95):not(:has(.drug-label-code-stack)):not(.has-caution-label) h3{grid-column:1 / -1;padding-inline:2mm}.drug-label-item.label-size-10x70.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-ecart,.label-kind-narcotic) h3,.drug-label-item.label-size-15x95.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-ecart,.label-kind-narcotic) h3{display:-webkit-box;max-width:100%;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.drug-label-item.label-size-10x70.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-ecart,.label-kind-narcotic).name-long h3{font-size:10.4px;line-height:1.02}.drug-label-item.label-size-10x70.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-ecart,.label-kind-narcotic).name-extra-long h3{font-size:8.4px;line-height:1.02}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) h3{display:flex;align-items:center;justify-content:center;overflow:visible;white-space:normal;-webkit-line-clamp:unset}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines{display:grid;align-content:center;justify-items:center;width:100%;max-width:100%;gap:0;color:#111827;text-align:center;font-size:11.8px;line-height:1.05}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy).name-long .drug-label-name-lines{font-size:10.4px}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy).name-extra-long .drug-label-name-lines{font-size:8.8px}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-3,.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-4,.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines-5{font-size:7.6px}.drug-label-item.label-size-10x70:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-line{display:block;max-width:100%;font-weight:1000;line-height:1.02;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}.drug-label-item.label-size-15x95.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-ecart,.label-kind-narcotic).name-long h3{font-size:16.4px;line-height:1.02}.drug-label-item.label-size-15x95.has-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-ecart,.label-kind-narcotic).name-extra-long h3{font-size:13.6px;line-height:1.02}.drug-label-item.label-size-40x70.label-kind-narcotic{position:relative;grid-template-columns:minmax(0,1fr);grid-template-rows:7mm minmax(0,1fr) 7mm;gap:0;padding:0;border:1px solid #111;border-radius:0;background:#fff}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-topline{grid-column:1;grid-row:1;display:flex;min-height:0}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-warning-spacer{display:none}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-warning-flag{box-sizing:border-box;width:100%;min-height:100%;padding:0 1mm;border-radius:0;justify-content:center;font-size:14px;line-height:1;overflow-wrap:anywhere;text-align:center;word-break:keep-all}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-narcotic-forty-quantity{position:absolute;top:1mm;right:1.5mm;z-index:1}.drug-label-item.label-size-40x70.label-kind-narcotic h3{grid-column:1;grid-row:2;align-self:center;justify-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding:1mm 2.2mm;overflow:hidden;font-size:20px;font-weight:1000;line-height:1.08;white-space:nowrap}.drug-label-item.label-size-40x70.label-kind-narcotic.name-long h3{font-size:18.5px;line-height:1.08}.drug-label-item.label-size-40x70.label-kind-narcotic.name-extra-long h3{font-size:16.5px;line-height:1.08}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-name-parenthetical{white-space:normal}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-name-lines{display:grid;align-content:center;justify-items:center;width:100%;min-width:0;gap:.2mm;color:#050505;text-align:center}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-name-lines-3,.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-name-lines-4{gap:.05mm}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-name-line{display:block;max-width:100%;font-weight:1000;line-height:1.02;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;text-shadow:.25px 0 #050505,-.25px 0 #050505}.drug-label-item.label-size-40x70.label-kind-narcotic .dose-number-highlight{display:inline-block;color:#ef1d19;white-space:nowrap}.drug-label-narcotic-footer{grid-column:1;grid-row:3;display:flex;align-items:center;justify-content:center;min-height:0;color:#fff;background:#6f1d1b;font-family:Verdana,Segoe UI,Malgun Gothic,sans-serif;font-size:14px;font-weight:1000;line-height:1;text-align:center}.drug-label-item.label-size-40x70.label-kind-narcotic .drug-label-code-stack{display:none}.drug-label-item.label-size-55x95.label-kind-fluid h3,.drug-label-item.label-size-35x100.label-kind-fluid h3{line-height:.92}.drug-label-item.label-size-10x70.label-kind-fluid,.drug-label-item.label-size-15x95.label-kind-fluid,.drug-label-item.label-size-55x95.label-kind-fluid,.drug-label-item.label-size-35x100.label-kind-fluid{grid-template-rows:1fr;align-items:center;justify-items:center}.drug-label-item.label-size-10x70.label-kind-fluid h3,.drug-label-item.label-size-15x95.label-kind-fluid h3,.drug-label-item.label-size-55x95.label-kind-fluid h3,.drug-label-item.label-size-35x100.label-kind-fluid h3{grid-row:1;align-self:center;justify-self:center}.drug-label-item.label-size-10x70.label-kind-fluid{padding:.5mm 2mm}.drug-label-item.label-size-10x70.label-kind-fluid h3{display:-webkit-box;font-size:10.8px;line-height:.98;-webkit-box-orient:vertical;-webkit-line-clamp:2}.drug-label-item.label-size-15x95.label-kind-fluid{padding:1mm 3mm}.drug-label-item.label-size-15x95.label-kind-fluid h3{display:-webkit-box;font-size:18px;line-height:.95;-webkit-box-orient:vertical;-webkit-line-clamp:2}.drug-label-item.label-kind-fluid.name-long h3,.drug-label-item.label-kind-fluid.name-extra-long h3{max-width:100%;overflow:visible;text-wrap:balance}.drug-label-item.label-size-10x70.label-kind-fluid.name-long h3{font-size:9px;line-height:1.02}.drug-label-item.label-size-10x70.label-kind-fluid.name-extra-long h3{font-size:7.6px;line-height:1.02}.drug-label-item.label-size-15x95.label-kind-fluid.name-long h3{font-size:15px;line-height:1}.drug-label-item.label-size-15x95.label-kind-fluid.name-extra-long h3{font-size:12.5px;line-height:1.02}.drug-label-item.label-size-55x95.label-kind-fluid.name-long h3{font-size:40px;line-height:1.08}.drug-label-item.label-size-55x95.label-kind-fluid.name-extra-long h3{font-size:34px;line-height:1.08}.drug-label-item.label-size-35x100.label-kind-fluid.name-long h3{font-size:30px;line-height:1.08}.drug-label-item.label-size-35x100.label-kind-fluid.name-extra-long h3{font-size:25px;line-height:1.08}.drug-label-item.label-size-55x95:not(.label-kind-fluid):not(.label-kind-ecart),.drug-label-item.label-size-35x100:not(.label-kind-fluid):not(.label-kind-ecart){grid-template-rows:auto minmax(0,1fr);gap:4mm}.drug-label-item.label-size-55x95:not(.label-kind-fluid):not(.label-kind-ecart) h3{align-self:center;font-size:50px;line-height:.96}.drug-label-item.label-size-35x100:not(.label-kind-fluid):not(.label-kind-ecart) h3{align-self:center;font-size:34px;line-height:.98}.drug-label-item.label-size-55x95.label-kind-stock,.drug-label-item.label-size-35x100.label-kind-stock{gap:0;padding:0;border:1px solid #111;border-radius:0;overflow:hidden}.drug-label-item.label-size-55x95.label-kind-stock .drug-label-topline,.drug-label-item.label-size-35x100.label-kind-stock .drug-label-topline{align-items:center;box-sizing:border-box;min-height:10mm;padding:1.6mm 3mm;border-bottom:1px solid #111}.drug-label-item.label-size-35x100.label-kind-stock .drug-label-topline{min-height:8mm;padding:1mm 2.5mm}.drug-label-item.label-size-55x95.label-kind-stock h3,.drug-label-item.label-size-35x100.label-kind-stock h3{display:flex;align-items:center;align-self:stretch;justify-content:center;justify-self:stretch;box-sizing:border-box;width:100%;padding:2mm 4mm 3mm;overflow:visible;max-width:100%;-webkit-line-clamp:unset}.drug-label-item.label-size-35x100.label-kind-stock{padding:0}.drug-label-item.label-size-35x100.label-kind-stock h3{padding:1.5mm 3mm 2mm}.drug-label-item.label-size-55x95.label-kind-stock.high-risk-label .drug-label-topline,.drug-label-item.label-size-35x100.label-kind-stock.high-risk-label .drug-label-topline{border-bottom-color:#991b1b;background:#dc2626}.drug-label-item.label-size-55x95.label-kind-stock.light-protected-label:not(.high-risk-label) .drug-label-topline,.drug-label-item.label-size-35x100.label-kind-stock.light-protected-label:not(.high-risk-label) .drug-label-topline{border-bottom-color:#047857;background:#0f8f52}.drug-label-item.label-size-55x95.label-kind-stock.light-protected-label:not(.high-risk-label) h3,.drug-label-item.label-size-35x100.label-kind-stock.light-protected-label:not(.high-risk-label) h3{background:#e0f7e8}.drug-label-item.label-size-55x95.label-kind-stock:is(.high-risk-label,.light-protected-label) .drug-label-warning-flag,.drug-label-item.label-size-35x100.label-kind-stock:is(.high-risk-label,.light-protected-label) .drug-label-warning-flag{padding:0;border-radius:0;color:#fff;background:transparent}.drug-label-item.label-size-55x95.label-kind-stock.light-protected-label:not(.high-risk-label) .drug-label-warning-group,.drug-label-item.label-size-35x100.label-kind-stock.light-protected-label:not(.high-risk-label) .drug-label-warning-group{flex:1 1 auto;gap:1mm}.drug-label-item.label-size-55x95.label-kind-stock.light-protected-label:not(.high-risk-label) .drug-label-warning-chip,.drug-label-item.label-size-35x100.label-kind-stock.light-protected-label:not(.high-risk-label) .drug-label-warning-chip{min-height:6mm;padding:0 2mm;font-size:11px}.drug-label-item.label-size-35x100.label-kind-stock.light-protected-label:not(.high-risk-label) .drug-label-warning-chip{min-height:5mm;padding:0 1.7mm;font-size:10px}.drug-label-item.label-size-55x95.label-kind-stock:is(.high-risk-label,.light-protected-label) .drug-label-topline strong,.drug-label-item.label-size-35x100.label-kind-stock:is(.high-risk-label,.light-protected-label) .drug-label-topline strong{color:#d1d5db}.drug-label-item.label-size-55x95.label-kind-stock .label-code-storage,.drug-label-item.label-size-35x100.label-kind-stock .label-code-storage{padding:3px 7px;border-radius:999px;font-size:11px}.drug-label-item.label-size-55x95.label-kind-stock .label-code-storage.cold,.drug-label-item.label-size-35x100.label-kind-stock .label-code-storage.cold{color:#0b5c88;background:#dff3ff}.drug-label-item.label-size-55x95.label-kind-stock .label-code-storage.light,.drug-label-item.label-size-35x100.label-kind-stock .label-code-storage.light{color:#047857;background:#d8f7df}.drug-label-item.label-size-55x95.label-kind-stock .drug-label-name-lines,.drug-label-item.label-size-35x100.label-kind-stock .drug-label-name-lines{display:grid;align-content:center;justify-items:center;width:100%;max-width:100%;color:#111827;text-align:center}.drug-label-item.label-size-55x95.label-kind-stock .drug-label-name-line,.drug-label-item.label-size-35x100.label-kind-stock .drug-label-name-line{display:block;max-width:100%;font-weight:1000;line-height:1.03;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}.drug-label-item.label-size-55x95.label-kind-stock .drug-label-name-lines{gap:.7mm;font-size:30px}.drug-label-item.label-size-55x95.label-kind-stock .drug-label-name-lines-3{gap:.45mm;font-size:25px}.drug-label-item.label-size-55x95.label-kind-stock .drug-label-name-lines-4{gap:.35mm;font-size:21px}.drug-label-item.label-size-55x95.label-kind-stock .drug-label-name-lines-5{gap:.2mm;font-size:18px}.drug-label-item.label-size-35x100.label-kind-stock .drug-label-name-lines{gap:.35mm;font-size:23px}.drug-label-item.label-size-35x100.label-kind-stock .drug-label-name-lines-3{gap:.25mm;font-size:19px}.drug-label-item.label-size-35x100.label-kind-stock .drug-label-name-lines-4{gap:.15mm;font-size:16px}.drug-label-item.label-size-35x100.label-kind-stock .drug-label-name-lines-5{gap:0;font-size:13px}.drug-label-item.label-size-55x95.label-kind-stock .drug-label-name-line{overflow-wrap:normal}.print-label dl{display:grid;gap:4px;margin:0}.print-label dl div{display:flex;gap:8px}.print-label dt{min-width:54px;color:var(--muted);font-size:11px;font-weight:900}.print-label dd{margin:0;color:#111827;font-size:11px;font-weight:800}.master-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,300px);gap:14px;padding:14px;align-items:start}.master-grid.single-column,.master-grid.quick-bottom{grid-template-columns:1fr}.master-grid.quick-bottom .master-side{position:static;grid-row:2;max-width:none;resize:vertical}.master-grid>.table-wrap{max-height:min(72vh,760px);overflow:auto;border:1px solid var(--line-soft);border-radius:8px}.master-table{min-width:1240px}.master-table thead th{position:sticky;top:0;z-index:2}.master-select-cell{width:42px;text-align:center!important}.master-select-cell input{width:18px;height:18px;accent-color:var(--brand-orange)}.master-drug-name strong{color:#111827}.master-table tr.master-row-psychotropic td{background:#fcf8fb}.master-table tr.master-row-narcotic td{background:#fff7f7}.master-storage-cell,.master-caution-cell{width:170px}.master-caution-cell .badge{display:inline-flex;width:max-content;margin:2px}.master-storage-cell .badge,.master-side-storage .badge{width:max-content;margin-top:6px}.master-side-storage{display:grid;gap:4px;padding:8px;border:1px solid var(--line-soft);border-radius:6px;background:#fff}.master-row-actions{width:92px;text-align:center!important}.master-row-actions .secondary-button{min-height:32px;padding:0 9px;font-size:12px}.room-detail-list{display:flex;flex-wrap:wrap;gap:6px}.room-detail-list button,.room-detail-pill{min-height:26px;padding:0 8px;border:1px solid #d7c7bc;border-radius:999px;color:#6f5a50;background:var(--brand-brown-soft);font-size:12px;font-weight:900}.room-detail-pill{display:inline-flex;align-items:center}.qty-total{width:80px;text-align:center!important;color:#111827;font-size:18px!important;font-weight:900}.master-side{display:grid;gap:8px;position:sticky;top:84px;min-width:240px;max-width:min(420px,100%);max-height:min(72vh,760px);overflow:auto;resize:both;padding:16px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.master-side-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.compact-button{min-height:30px;padding:0 9px;font-size:12px}.master-side h3,.master-side p{margin:0}.master-side p,.master-side span{color:var(--muted);font-size:13px}.big-total{color:var(--brand-orange-deep);font-size:42px;line-height:1;font-weight:900}.detail-scroll{max-height:360px;overflow:auto;display:grid;gap:6px;margin-top:8px}.detail-scroll div{display:flex;justify-content:space-between;gap:10px;padding:8px;border-radius:6px;background:#fff;border:1px solid var(--line-soft)}@media(max-width:1020px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.assignment-form,.master-add-grid,.drug-label-layout,.master-grid{grid-template-columns:1fr}.section-toolbar,.toolbar-actions,.narcotic-guide-head,.drug-label-controls,.master-search-actions,.app-header{align-items:stretch;flex-direction:column}.header-actions{justify-content:flex-start}.stock-guide-floor{grid-template-columns:1fr;gap:8px}.narcotic-guide-floor{grid-template-columns:1fr;gap:6px}.search-box,.master-excel-button{width:100%}}@media(max-width:720px){.primary-tabs{grid-template-columns:1fr}.primary-tabs button.narcotic-order{order:3}.summary-grid,.add-form-grid{grid-template-columns:1fr}.report-card{padding:12px}.print-preview-backdrop{padding:8px}.print-preview-toolbar,.preview-actions{align-items:stretch;flex-direction:column}.preview-actions>*{width:100%}.app-header h1{font-size:22px}.inspection-table-wrap{max-height:430px;overflow-y:auto;border:1px solid var(--line);border-radius:7px}.inspection-table thead th{position:sticky;top:0;background:#f3f6fa;z-index:5;box-shadow:inset 0 -1px 0 var(--line-soft)}.inspection-table{min-width:auto!important;width:100%!important;table-layout:fixed!important}.inspection-table th,.inspection-table td{padding:3px 4px!important;font-size:11px!important}.inspection-table th:nth-child(1),.inspection-table td:nth-child(1){width:25px!important;padding:3px 2px!important}.inspection-table th:nth-child(2),.inspection-table td:nth-child(2){width:45px!important;font-size:10px!important;word-break:break-all}.inspection-table th:nth-child(3),.inspection-table td:nth-child(3){width:95px!important;max-width:95px!important;word-break:break-all!important;white-space:normal!important}.inspection-table th:nth-child(4),.inspection-table td:nth-child(4){width:45px!important}.inspection-table th:nth-child(5),.inspection-table td:nth-child(5){width:45px!important}.inspection-table td:nth-child(5) .badge{white-space:normal;text-align:center;word-break:break-all;padding:2px 3px;font-size:9px;line-height:1.1;display:block!important;min-height:auto}.inspection-table th:nth-child(6),.inspection-table td:nth-child(6){width:85px!important}.inspection-table th:nth-child(7),.inspection-table td:nth-child(7){width:30px!important;padding:3px 2px!important}.inspection-table .date-input{padding:2px 4px!important;font-size:10.5px!important;min-height:24px!important;height:24px!important}.inspection-table .count-input{padding:2px!important;font-size:11px!important;min-height:24px!important;height:24px!important}.inspection-table td strong{display:block!important;line-height:1.25!important;font-size:11px!important;margin-bottom:2px!important}.inspection-table td span,.inspection-table td small{display:inline!important;margin-top:0!important;margin-right:6px!important;font-size:10px!important;color:var(--muted)!important}.inspection-table td .badge{display:inline-flex!important;margin-top:0!important;min-height:18px!important;padding:1px 4px!important;font-size:9px!important;vertical-align:middle!important}}@media print{@page{margin:0}body{background:#fff}.app-header,.primary-tabs,.tab-strip,.ecart-tab-row,.section-toolbar,.ecart-departments,.admin-toggle,.header-link-button,.icon-button{display:none!important}.app-content{padding:0}.report-card{border:0;box-shadow:none;padding:0}.stock-inventory-title{position:static;margin:18px 0 8px;padding:0;border:0;background:transparent;box-shadow:none}.stock-inventory-wrap{max-height:none;overflow:visible;border-radius:7px}.stock-inventory-wrap .inspection-table thead th{position:static}.round-summary-report{max-width:none;border:0;padding:0}body.printing-preview .app-page>:not(.print-preview-backdrop){display:none!important}body.printing-preview .print-preview-backdrop{position:static;display:block;padding:0;background:#fff}body.printing-preview .print-preview-shell{display:block;width:100%;overflow:visible;border:0;box-shadow:none}body.printing-preview .print-preview-toolbar{display:none!important}body.printing-preview .print-preview-body{overflow:visible;padding:0}body.printing-preview .print-preview-report{max-width:none;margin:0}body.printing-preview:has(.pdf-full-label-source)>.app-page .print-preview-report{display:none!important}body.printing-preview .pdf-full-label-source{position:static;display:block;width:auto}body.printing-preview .bulk-report-stack{display:block}body.printing-preview .bulk-report-page{break-after:page;page-break-after:always}body.printing-preview .bulk-report-page:last-child{break-after:auto;page-break-after:auto}body.printing-preview .pharmacy-print-pages{display:block}body.printing-preview .pharmacy-print-page{width:calc(var(--pharmacy-paper-width-mm) * 1mm);height:calc(var(--pharmacy-paper-height-mm) * 1mm);min-height:0;margin:0;overflow:hidden;break-inside:avoid-page;page-break-inside:avoid}body.printing-preview .drug-label-sheet{max-width:none;padding:0;border:0}body.printing-preview .drug-label-print-grid{gap:0}body.printing-preview .drug-label-item{flex:0 0 auto;break-inside:avoid-page;page-break-inside:avoid}body.printing-preview .drug-label-print-page{width:210mm;height:297mm;margin:0;overflow:hidden;break-inside:avoid-page;page-break-inside:avoid}}.app-page.mobile-mode{max-width:520px;margin:0 auto;border-left:1px solid var(--line);border-right:1px solid var(--line);box-shadow:0 0 24px #00000014;min-height:100vh;background:#f8fafc}.mobile-mode .summary-grid,.mobile-mode .assignment-form,.mobile-mode .master-add-grid,.mobile-mode .drug-label-layout,.mobile-mode .master-grid{grid-template-columns:1fr!important}.mobile-mode .section-toolbar,.mobile-mode .toolbar-actions,.mobile-mode .narcotic-guide-head,.mobile-mode .drug-label-controls,.mobile-mode .app-header{align-items:stretch!important;flex-direction:column!important}.mobile-mode .stock-guide-floor{grid-template-columns:1fr!important;gap:8px!important}.mobile-mode .narcotic-guide-floor{grid-template-columns:1fr!important;gap:6px!important}.mobile-mode .search-box{width:100%!important}.mobile-mode .drug-label-controls .search-box{align-self:flex-start!important;width:min(100%,300px)!important;max-width:300px}.mobile-mode .primary-tabs{grid-template-columns:1fr!important}.mobile-mode .primary-tabs button.narcotic-order{order:3}.mobile-mode .add-form-grid{grid-template-columns:1fr!important}.mobile-mode .report-card{padding:12px!important}.mobile-mode .print-preview-backdrop{padding:8px!important}.mobile-mode .print-preview-toolbar,.mobile-mode .preview-actions{align-items:stretch!important;flex-direction:column!important}.mobile-mode .preview-actions>*{width:100%!important}.mobile-mode .app-header h1{font-size:22px!important}.admin-toggle.active{background-color:var(--brand-brown)!important;color:#fff!important;border-color:var(--brand-brown)!important}.mobile-mode .header-actions{justify-content:flex-start!important}.mobile-mode .inspection-table-wrap{max-height:430px!important;overflow-y:auto!important;border:1px solid var(--line)!important;border-radius:7px!important}.mobile-mode .inspection-table thead th{position:sticky!important;top:0!important;background:#f3f6fa!important;z-index:5!important;box-shadow:inset 0 -1px 0 var(--line-soft)!important}.mobile-mode .inspection-table{min-width:auto!important;width:100%!important;table-layout:fixed!important}.mobile-mode .inspection-table th,.mobile-mode .inspection-table td{padding:3px 4px!important;font-size:11px!important}.mobile-mode .inspection-table th:nth-child(1),.mobile-mode .inspection-table td:nth-child(1){width:25px!important;padding:3px 2px!important}.mobile-mode .inspection-table th:nth-child(2),.mobile-mode .inspection-table td:nth-child(2){width:45px!important;font-size:10px!important;word-break:break-all!important}.mobile-mode .inspection-table th:nth-child(3),.mobile-mode .inspection-table td:nth-child(3){width:95px!important;max-width:95px!important;word-break:break-all!important;white-space:normal!important}.mobile-mode .inspection-table th:nth-child(4),.mobile-mode .inspection-table td:nth-child(4){width:45px!important}.mobile-mode .inspection-table th:nth-child(5),.mobile-mode .inspection-table td:nth-child(5){width:45px!important}.mobile-mode .inspection-table td:nth-child(5) .badge{white-space:normal!important;text-align:center!important;word-break:break-all!important;padding:2px 3px!important;font-size:9px!important;line-height:1.1!important;display:block!important;min-height:auto!important}.mobile-mode .inspection-table th:nth-child(6),.mobile-mode .inspection-table td:nth-child(6){width:85px!important}.mobile-mode .inspection-table th:nth-child(7),.mobile-mode .inspection-table td:nth-child(7){width:30px!important;padding:3px 2px!important}.mobile-mode .inspection-table .date-input{padding:2px 4px!important;font-size:10.5px!important;min-height:24px!important;height:24px!important}.mobile-mode .inspection-table .count-input{padding:2px!important;font-size:11px!important;min-height:24px!important;height:24px!important}.mobile-mode .inspection-table td strong{display:block!important;line-height:1.25!important;font-size:11px!important;margin-bottom:2px!important}.mobile-mode .inspection-table td span,.mobile-mode .inspection-table td small{display:inline!important;margin-top:0!important;margin-right:6px!important;font-size:10px!important;color:var(--muted)!important}.mobile-mode .inspection-table td .badge{display:inline-flex!important;margin-top:0!important;min-height:18px!important;padding:1px 4px!important;font-size:9px!important;vertical-align:middle!important}.pharmacy-label-studio{min-height:100vh;background:#f7f8fa}.pharmacy-studio-topbar{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(220px,1fr) minmax(260px,.9fr);gap:12px;align-items:center;padding:12px 14px;color:#fff;background:var(--brand-header)}.pharmacy-studio-topbar p,.pharmacy-studio-topbar h1{margin:0}.pharmacy-studio-topbar p{color:#f3ece7;font-size:12px;font-weight:800}.pharmacy-studio-topbar h1{font-size:24px;line-height:1.2}.pharmacy-studio-search{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:center;min-height:40px;padding:0 12px;border:1px solid #d7c7bc;border-radius:7px;color:#96796a;background:#fff}.pharmacy-studio-search input{min-width:0;border:0;outline:0;color:var(--ink);font-weight:800}.pharmacy-studio-actions,.pharmacy-label-tabs,.pharmacy-edit-modes,.pharmacy-save-row,.pharmacy-canvas-status,.pharmacy-list-filters{display:flex;flex-wrap:wrap;gap:8px}.pharmacy-studio-actions{min-width:0;align-items:center;justify-content:flex-end}.pharmacy-upload-button{cursor:pointer;white-space:nowrap}.pharmacy-upload-button[aria-disabled=true]{cursor:wait;opacity:.76}.pharmacy-upload-status{flex-basis:100%;color:#f3ece7;font-size:12px;font-weight:800;text-align:right}.pharmacy-label-tabs{padding:10px 14px;border-bottom:1px solid var(--line-soft);background:#fbfaf9}.pharmacy-category-panel{border-bottom:1px solid var(--line-soft);background:#fff}.pharmacy-collapse-button{margin-left:auto;display:inline-flex;align-items:center;gap:5px}.pharmacy-category-groups{display:grid;gap:7px;padding:0 14px 12px}.pharmacy-category-block{display:grid;gap:8px}.pharmacy-category-row,.pharmacy-high-cost-routes,.pharmacy-accessory-filters,.pharmacy-warning-editor,.pharmacy-type-editor,.pharmacy-choice-grid{display:flex;flex-wrap:wrap;gap:7px}.pharmacy-category-row button,.pharmacy-high-cost-routes button,.pharmacy-accessory-filters button,.pharmacy-choice-grid button{min-height:32px;padding:0 11px;border:1px solid var(--line);border-radius:999px;color:var(--brand-header);background:#fff;font-weight:900}.pharmacy-category-row button.active,.pharmacy-high-cost-routes button.active,.pharmacy-accessory-filters button.active,.pharmacy-choice-grid button.active{color:#fff;border-color:var(--brand-orange);background:var(--brand-orange)}.pharmacy-category-row .pharmacy-major-category{min-width:78px;border-width:2px;border-radius:8px;color:#7c2d12;background:#fff7ed;font-size:14px}.pharmacy-high-cost-routes,.pharmacy-accessory-filters{align-items:center;padding-top:3px}.pharmacy-accessory-filters strong{margin-right:3px;font-size:12px}.pharmacy-filter-dashboard{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:10px;padding:9px 10px;border:1px solid #eadfd8;border-radius:8px;background:#fcfaf8}.pharmacy-filter-group{display:grid;gap:6px}.pharmacy-filter-group strong{color:var(--brand-header);font-size:12px}.pharmacy-filter-group>div{display:flex;flex-wrap:wrap;gap:6px}.pharmacy-filter-group button{min-height:30px;padding:0 10px;border:1px solid var(--line);border-radius:999px;color:var(--brand-header);background:#fff;font-weight:900}.pharmacy-filter-group button.active{color:#fff;border-color:var(--brand-orange);background:var(--brand-orange)}.pharmacy-high-cost-routes strong{margin-right:3px;font-size:12px}.pharmacy-label-tabs button,.pharmacy-edit-modes button,.pharmacy-size-preset{min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:6px;color:var(--brand-header);background:#fff;font-weight:900}.pharmacy-label-tabs button.active,.pharmacy-edit-modes button.active,.pharmacy-size-preset.active{color:#fff;border-color:#6f5a50;background:var(--brand-header)}.pharmacy-studio-workspace{display:grid;grid-template-columns:minmax(230px,.78fr) minmax(420px,1.45fr) minmax(285px,.95fr);gap:12px;padding:14px}.pharmacy-drug-list,.pharmacy-label-canvas-panel,.pharmacy-tool-panel{min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff}.pharmacy-tool-panel{position:sticky;top:12px;align-self:start;max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.pharmacy-panel-head{display:flex;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid var(--line-soft)}.pharmacy-panel-head h2,.pharmacy-panel-head p{margin:0}.pharmacy-panel-head h2{font-size:16px}.pharmacy-panel-head p{margin-top:3px;color:var(--muted);font-size:12px;font-weight:800}.pharmacy-list-filters{padding:10px 12px;border-bottom:1px solid var(--line-soft)}.pharmacy-drug-list-scroll{display:grid;gap:7px;max-height:calc(100vh - 240px);overflow:auto;padding:10px 12px}.pharmacy-select-all{display:flex;gap:7px;align-items:center;padding:9px 12px;border-bottom:1px solid var(--line-soft);font-size:12px;font-weight:900}.pharmacy-selection-actions{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line-soft)}.pharmacy-selection-actions .pharmacy-select-all{border-bottom:0}.pharmacy-selection-actions>button{margin-right:10px;padding:5px 9px;border:1px solid #cbd5e1;border-radius:6px;color:#475569;background:#fff;font-size:11px;font-weight:900}.pharmacy-drug-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;padding:9px;border:1px solid var(--line-soft);border-radius:7px;color:var(--ink);background:#fff;text-align:left}.pharmacy-drug-row button{min-width:0;padding:0;border:0;color:inherit;background:transparent;text-align:left}.pharmacy-drug-row.selected{border-color:var(--brand-orange);background:#fff8f3;box-shadow:inset 4px 0 0 var(--brand-orange)}.pharmacy-drug-row strong,.pharmacy-drug-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pharmacy-drug-row strong{font-size:13px}.pharmacy-drug-row small{margin-top:2px;color:var(--muted);font-size:11px;font-weight:800}.pharmacy-edit-modes{padding:10px 12px;border-bottom:1px solid var(--line-soft);background:#fbfaf9}.pharmacy-label-canvas{display:flex;min-height:315px;align-items:center;justify-content:center;margin:14px;border:1px dashed #c7d7e5;border-radius:8px;background:linear-gradient(90deg,rgba(148,163,184,.1) 1px,transparent 1px),linear-gradient(0deg,rgba(148,163,184,.1) 1px,transparent 1px),#f8fbfd;background-size:22px 22px}.pharmacy-print-label{position:relative;display:grid;box-sizing:border-box;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;width:calc(var(--pharmacy-label-width-mm, 100) * 1mm);height:calc(var(--pharmacy-label-height-mm, 35) * 1mm);min-height:0;overflow:hidden;border:var(--pharmacy-label-border, 3px solid #111827);border-radius:4px;color:var(--pharmacy-label-color, #111827);background:#fff;font-family:var(--pharmacy-label-font-family, "Malgun Gothic", "Segoe UI", sans-serif)}.pharmacy-list-dose-warning{display:inline-flex;width:fit-content;margin-top:3px;padding:2px 5px;border-radius:4px;color:#fff;background:#d92d20;font-size:10px;font-style:normal;font-weight:900}.pharmacy-list-search{display:flex;align-items:center;gap:7px;margin:0 10px 8px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff}.pharmacy-list-search input{min-width:0;width:100%;border:0;outline:0;font:inherit}.pharmacy-accessory-divider{width:1px;align-self:stretch;margin:0 3px;background:#cbd5e1}.pharmacy-label-top-banner{grid-column:1;min-height:8mm;padding:1mm 2mm;display:flex;align-items:center;justify-content:center;color:#fff;background:#d92d20;font-size:17px;font-weight:1000;letter-spacing:-.02em;text-align:center}.pharmacy-label-top-banner>span{font-weight:1000;text-shadow:0 0 .01px currentColor}.pharmacy-label-top-banner.with-mandatory-dilution{min-height:11mm;flex-wrap:wrap;align-content:center;gap:.45mm 1.5mm;padding-top:.8mm;padding-bottom:.8mm}.pharmacy-label-top-banner.with-mandatory-dilution>span,.pharmacy-mandatory-dilution{flex:0 0 100%}.pharmacy-mandatory-dilution{display:block;color:inherit;font-size:.86em;font-weight:1000;line-height:1;text-align:center}.pharmacy-label-top-banner{gap:1.5mm}.pharmacy-label-top-banner.light-only{color:#16803c;background:#d9f99d}.pharmacy-label-top-banner.light-only.ampoule-vial-light-only{color:#fff;background:#16803c}.pharmacy-label-top-banner.cold-only,.pharmacy-print-label.storage-cold .pharmacy-label-top-banner.cold-only{color:#155eef;background:#bae6fd}.pharmacy-storage-badge{flex:0 0 auto;padding:.7mm 1.5mm;border-radius:999px;color:#fff;font-size:11px;line-height:1}.pharmacy-storage-badge.light{background:#16803c}.pharmacy-storage-badge.cold,.pharmacy-print-label.high-cost .pharmacy-label-top-banner{background:#155eef}.pharmacy-print-label.high-cost.storage-light .pharmacy-label-top-banner{color:#d9f99d;background:#155eef}.employee-access-page{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(145deg,#f2e8e2,#f8f7f5 55%)}.employee-access-card{width:min(100%,420px);padding:34px;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 16px 38px #4a312524}.employee-access-eyebrow{margin:0 0 8px;color:var(--brand-header);font-size:14px;font-weight:800}.employee-access-card h1{margin:0;color:var(--ink);font-size:26px}.employee-access-card>p:not(.employee-access-eyebrow){margin:10px 0 24px;color:var(--muted)}.employee-access-card form{display:grid;gap:9px}.employee-access-card label{color:var(--ink);font-size:14px;font-weight:800}.employee-access-card input,.employee-access-card button{min-height:46px;border-radius:8px}.employee-access-card input{width:100%;border:1px solid var(--line);padding:0 13px;background:#fff;color:var(--ink)}.employee-access-card button{margin-top:8px;border:1px solid var(--brand-orange-deep);background:var(--brand-orange);color:#fff;font-weight:800}.employee-access-card button:disabled{cursor:wait;opacity:.7}.employee-access-message{margin:0;color:var(--red);font-size:13px;font-weight:700}.pharmacy-print-label.sialanar-high-cost-label{grid-template-columns:23mm minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.pharmacy-print-label.sialanar-high-cost-label .pharmacy-label-top-banner{grid-column:1;grid-row:1;min-height:0;padding:.7mm;font-size:7pt;line-height:1.05;word-break:keep-all}.pharmacy-print-label.sialanar-high-cost-label .pharmacy-label-main{grid-column:2;grid-row:1;padding:.6mm 1.5mm;font-size:18pt}.pharmacy-print-label.sialanar-high-cost-label .pharmacy-label-main strong{line-height:1.03}.pharmacy-print-label.storage-light{border-color:#16803c;background:#ecfdf3}.pharmacy-print-label.storage-light .pharmacy-label-top-banner{background:#16803c}.pharmacy-print-label.storage-cold{border-color:#155eef;background:#eff8ff}.pharmacy-print-label.storage-cold .pharmacy-label-top-banner{background:#155eef}.pharmacy-print-label.storage-light-cold{border-color:#16803c;background:#ecfdf3}.pharmacy-print-label.storage-tone-light .pharmacy-label-main{background:#ecfdf3}.pharmacy-print-label.storage-tone-cold:not(.storage-tone-light) .pharmacy-label-main{background:#eff8ff}.pharmacy-storage-circle{position:absolute;z-index:2;top:1.5mm;right:1.5mm;display:flex;width:9mm;height:9mm;align-items:center;justify-content:center;border-radius:50%;color:#fff;font-size:7pt;font-weight:1000}.pharmacy-storage-circle.cold{background:#155eef}.pharmacy-label-warning{display:none}.pharmacy-label-main{grid-row:2;display:flex;min-width:0;align-items:center;justify-content:center;padding:2mm 4mm;color:var(--pharmacy-label-color, #111827);font-size:var(--pharmacy-label-font-size, 25pt);font-weight:1000;line-height:1.06;text-align:center;text-shadow:calc(var(--pharmacy-label-outline-px, 0px) * -1) calc(var(--pharmacy-label-outline-px, 0px) * -1) 0 var(--pharmacy-label-outline-color, #fff),var(--pharmacy-label-outline-px, 0px) calc(var(--pharmacy-label-outline-px, 0px) * -1) 0 var(--pharmacy-label-outline-color, #fff),calc(var(--pharmacy-label-outline-px, 0px) * -1) var(--pharmacy-label-outline-px, 0px) 0 var(--pharmacy-label-outline-color, #fff),var(--pharmacy-label-outline-px, 0px) var(--pharmacy-label-outline-px, 0px) 0 var(--pharmacy-label-outline-color, #fff);white-space:pre-line}.pharmacy-label-main{flex-direction:column;position:relative}.pharmacy-label-auto-fit{display:block;min-width:0;max-width:100%;max-height:100%;text-align:inherit}.pharmacy-label-auto-fit strong{word-break:normal;overflow-wrap:anywhere}.pharmacy-label-main strong{display:block;max-width:100%;text-wrap:balance;word-break:keep-all;overflow-wrap:normal;isolation:isolate}.pharmacy-editable-title-highlight{position:relative;z-index:0;display:inline-block;padding:0;line-height:1;vertical-align:baseline;background:transparent!important}.pharmacy-editable-title-highlight:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;content:"";background:var(--pharmacy-title-highlight-background, transparent);pointer-events:none}.pharmacy-label-main strong.medium-name{font-size:.86em}.pharmacy-label-main strong.long-name{font-size:.68em}.pharmacy-label-main strong.very-long-name{font-size:.54em;line-height:1.12}.pharmacy-print-label[class*=label-size-15x] .pharmacy-label-main strong,.pharmacy-print-label[class*="label-size-13.5x"] .pharmacy-label-main strong{line-height:1}.pharmacy-print-label.label-size-15x90 .pharmacy-label-main strong{font-size:.72em}.pharmacy-print-label.label-size-48x94 .pharmacy-label-main strong{font-size:1em}.pharmacy-print-label.no-top-banner .pharmacy-label-main{grid-row:1 / 3}.pharmacy-print-label.no-warning .pharmacy-label-main{grid-row:1 / -1}.pharmacy-print-label.no-warning .pharmacy-label-main strong{font-size:1.18em}.pharmacy-print-label.injection-label .pharmacy-label-main strong{font-size:min(1.12em,30pt);font-weight:1000}.pharmacy-print-label.general-fluid-label .pharmacy-label-main{padding:2mm 3mm}.pharmacy-print-label.general-fluid-label .pharmacy-label-main strong{font-size:1.22em;font-weight:1000}.pharmacy-print-label.general-fluid-label.fluid-tone-orange .pharmacy-label-main strong{color:#f97316}.pharmacy-print-label.general-fluid-label.fluid-tone-black .pharmacy-label-main strong{color:#111}.pharmacy-print-label.general-fluid-label.fluid-tone-gray .pharmacy-label-main strong{color:#4b5563}.pharmacy-print-label.general-fluid-label.fluid-tone-blue .pharmacy-label-main strong{color:#0b5cff}.pharmacy-print-label.general-fluid-label.fluid-tone-pink .pharmacy-label-main strong{color:#db2777}.pharmacy-print-label.general-fluid-label.fluid-tone-green .pharmacy-label-main strong{color:#15803d}.pharmacy-print-label.general-fluid-label.fluid-tone-yellow .pharmacy-label-main strong{color:#ca8a04}.pharmacy-print-label.general-fluid-label.fluid-tone-red .pharmacy-label-main strong{color:#dc2626}.pharmacy-print-label.general-fluid-label.fluid-tone-purple .pharmacy-label-main strong{color:#7c3aed}.pharmacy-print-label.general-fluid-label.custom-general-fluid-text-color .pharmacy-label-main strong{color:var(--pharmacy-label-color)!important}.drug-label-item.label-kind-fluid.saved-general-fluid-text-color h3.fluid-name{color:var(--saved-general-fluid-text-color)!important}.pharmacy-title-style-dashboard{display:grid;gap:7px;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}.pharmacy-title-style-dashboard small{color:#64748b;font-weight:800}.pharmacy-title-style-dashboard>div{display:flex;flex-wrap:wrap;gap:6px}.pharmacy-title-style-dashboard .pharmacy-title-style-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px}.pharmacy-title-style-dashboard .pharmacy-title-style-control label{display:grid;gap:4px}.pharmacy-title-style-dashboard button{padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-weight:900}.pharmacy-print-label.controlled-drug-label{display:block;border:1px solid #111;border-radius:0;background:#fff}.pharmacy-controlled-label-form{display:grid;grid-template-rows:7mm minmax(0,1fr) 7mm;width:100%;height:100%}.pharmacy-controlled-label-top,.pharmacy-controlled-label-footer{display:flex;align-items:center;justify-content:center;min-width:0;padding:0 1mm;color:#fff;font-size:14px;font-weight:1000;line-height:1;text-align:center}.pharmacy-controlled-label-top{background:#d92d20}.pharmacy-controlled-label-footer{background:#6f1d1b}.pharmacy-controlled-label-form>strong{display:flex;min-width:0;align-items:center;justify-content:center;padding:1mm 2.2mm;overflow:hidden;color:#050505;font-size:20px;font-weight:1000;line-height:1.08;text-align:center;text-wrap:balance;word-break:keep-all}.pharmacy-controlled-label-form>strong.medium-name{font-size:18.5px}.pharmacy-controlled-label-form>strong.long-name,.pharmacy-controlled-label-form>strong.very-long-name{font-size:16.5px}.pharmacy-controlled-label-form mark.dose-highlight{padding:0 .3mm;color:#ef1d19;background:#fff200}.pharmacy-print-label.cap-label{grid-template-rows:1fr}.pharmacy-print-label.cap-label .pharmacy-label-main{grid-row:1;padding:.7mm 1mm}.pharmacy-print-label.cap-label .pharmacy-label-main strong{font-size:.58em;line-height:1;text-wrap:balance;overflow-wrap:anywhere}.pharmacy-print-label.cap-label .pharmacy-label-main b{margin-top:.4mm;font-size:.48em}.pharmacy-print-label.side-label{display:block;border-radius:0;background:#fff}.pharmacy-side-label-form{display:grid;grid-template-columns:45% 39% 16%;width:100%;height:100%;color:#111827;text-shadow:none}.pharmacy-side-label-photo,.pharmacy-side-label-name,.pharmacy-side-label-meta{min-width:0;min-height:0;border-right:1px solid #111827}.pharmacy-side-label-photo{display:flex;align-items:center;justify-content:center;color:#98a2b3;background:#ffffffb8;font-size:8px;font-weight:900}.pharmacy-side-label-photo a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:#667085;text-decoration:none}.pharmacy-side-label-photo img{display:block;width:100%;height:100%;object-fit:contain}.pharmacy-side-label-name{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.7mm 1mm;text-align:center;background:var(--pharmacy-label-background, #fff)}.pharmacy-side-label-name-core{display:flex;width:100%;min-height:0;flex:1;flex-direction:column;align-items:center;justify-content:center}.pharmacy-side-label-name strong{display:block;min-height:0;font-size:11pt;font-weight:1000;line-height:1.05}.pharmacy-side-label-name strong mark.dose-highlight{padding:0 .25mm;color:#d92d20;background:#fff200}.pharmacy-side-label-name span,.pharmacy-side-label-name b{margin-top:.4mm;font-size:8pt;font-weight:900;line-height:1}.pharmacy-side-label-name small{position:absolute;right:.5mm;bottom:.5mm;left:.5mm;color:#d92d20;font-size:6pt;font-weight:1000;line-height:1}.pharmacy-side-label-name small.side-storage-light{position:static;margin-top:.5mm;color:#16803c;font-size:7pt}.pharmacy-side-label-name mark.dose-highlight{padding:0 .25mm;color:#d92d20;background:#fff200}.pharmacy-print-label.external-shelf-label{display:block;border:var(--pharmacy-label-border-width, .35mm) solid #d92d20;background:#fff}.pharmacy-print-label.external-shelf-label .pharmacy-label-main{grid-row:1;padding:1mm 1.5mm}.pharmacy-print-label.external-shelf-label .pharmacy-label-main strong{width:100%;font-size:16pt;line-height:1;white-space:nowrap;word-break:normal}.pharmacy-print-label.external-shelf-label .pharmacy-label-main strong.medium-name{font-size:13pt}.pharmacy-print-label.external-shelf-label .pharmacy-label-main strong.long-name{font-size:10pt}.pharmacy-external-strip{display:grid;grid-template-columns:15mm minmax(0,1fr);width:100%;height:100%;background:#fff}.pharmacy-external-strip.name-only{grid-template-columns:minmax(0,1fr)}.pharmacy-external-strip.with-two-flags{grid-template-columns:15mm minmax(0,1fr) 15mm}.pharmacy-external-strip>*{display:flex;min-width:0;align-items:center;justify-content:center;box-sizing:border-box;padding:.5mm 1mm;text-align:center}.pharmacy-external-strip aside{color:#fff;font-size:8pt;font-style:normal;font-weight:1000;line-height:1.05;word-break:keep-all;white-space:pre-line}.pharmacy-external-strip aside.caution{background:#d92d20}.pharmacy-external-strip aside.light{color:#16803c;background:#d9f99d}.pharmacy-external-strip aside.cold{color:#155eef;background:#bae6fd}.pharmacy-external-strip>strong{overflow:hidden;color:#111827;background:#fff;font-size:15pt;font-weight:1000;line-height:1;text-wrap:balance;word-break:keep-all}.pharmacy-external-strip.light-storage>strong{background:#ecfdf3}.pharmacy-external-strip.cold-storage:not(.light-storage)>strong{background:#eff8ff}.pharmacy-external-strip>strong.medium-name{font-size:12pt}.pharmacy-external-strip>strong.long-name{font-size:10pt}.pharmacy-external-strip>strong.very-long-name{font-size:8pt}.pharmacy-external-strip strong.confusion-name,.pharmacy-label-main strong.confusion-name{color:#d92d20}.pharmacy-external-strip mark.dose-highlight{padding:0 .3mm;color:#d92d20;background:#fff200}.pharmacy-side-label-meta{display:grid;grid-template-rows:1fr 1fr 1fr;border-right:0;text-align:center}.pharmacy-side-label-meta>*{display:flex;align-items:center;justify-content:center;min-width:0;padding:.3mm;border-bottom:1px solid #111827;font-size:6.5pt;font-weight:1000;line-height:1}.pharmacy-side-label-meta>:last-child{border-bottom:0}.pharmacy-label-auto-fit>span{margin-top:1mm;font-size:.48em}.pharmacy-print-label:has(.pharmacy-label-top-banner.with-mandatory-dilution) .pharmacy-label-main{padding-top:1.2mm;padding-bottom:1.2mm}.pharmacy-print-label:has(.pharmacy-label-top-banner.with-mandatory-dilution) .pharmacy-label-auto-fit>span{margin-top:.65mm;line-height:1.05}.pharmacy-label-main b{margin-top:.5mm;font-size:.7em}.pharmacy-label-main b.dose-highlight{padding:0 .8mm;color:#d92d20;background:#fff200;border-radius:2px}.pharmacy-label-main mark.dose-highlight{padding:0 .35mm;color:#d92d20;background:#fff200;border-radius:2px}.pharmacy-label-main em{margin-top:1mm;font-size:.5em;font-style:normal}.pharmacy-print-label.has-ampoule-holder{grid-template-rows:auto minmax(0,1fr) 8mm}.pharmacy-print-label.has-ampoule-holder.no-warning .pharmacy-label-main{grid-row:1 / 3}.pharmacy-ampoule-holder{grid-column:1 / -1;grid-row:3;display:flex;align-items:center;justify-content:center;border-top:1px solid #111827;color:#111827;background:#fff200;font-size:16pt;font-weight:1000;line-height:1}.pharmacy-label-atc,.pharmacy-label-location{position:absolute;right:1mm;font-size:8px;font-weight:900}.pharmacy-label-atc{top:.5mm}.pharmacy-label-location{bottom:.5mm}.pharmacy-print-label.anticancer{grid-template-columns:1fr}.pharmacy-print-label.anticancer .pharmacy-label-main{grid-column:1}.pharmacy-print-label.anticancer .pharmacy-label-top-banner,.pharmacy-print-label.anticancer footer.anticancer-footer{box-sizing:border-box;min-height:8mm;height:8mm;padding:1mm 2mm;font-size:15pt;line-height:1}.pharmacy-print-label.anticancer .pharmacy-storage-badge{display:flex;width:8mm;height:8mm;align-items:center;justify-content:center;padding:0;border-radius:50%;font-size:6.5pt}.pharmacy-print-label.anticancer.storage-tone-light .pharmacy-label-main{background:#ecfdf3!important}.pharmacy-print-label.anticancer.storage-tone-cold:not(.storage-tone-light) .pharmacy-label-main{background:#eff8ff!important}.pharmacy-print-label.anticancer .pharmacy-label-main em{color:#16803c}.pharmacy-print-label footer.anticancer-footer{padding:1.5mm 2mm;color:#fff;background:#800020;font-size:16pt;font-weight:1000}.pharmacy-print-label footer.anticancer-footer.has-second-reconstitution{display:grid;grid-template-columns:auto auto;gap:1.5em;min-height:13mm;height:13mm;padding:1.4mm 2mm .6mm;align-items:start;justify-content:center}.pharmacy-print-label .anticancer-footer-title{color:#fff}.pharmacy-print-label .anticancer-footer-reconstitution{color:#fff200;font-weight:800;margin-left:1.5mm;text-shadow:0 1px 1px #111827}.pharmacy-print-label footer.anticancer-footer.has-second-reconstitution .anticancer-footer-title{align-self:start;margin-left:0;font-size:16pt;line-height:1;padding-top:.1mm;white-space:nowrap}.pharmacy-print-label footer.anticancer-footer.has-second-reconstitution .anticancer-footer-reconstitution{align-self:start;display:grid;grid-template-columns:auto max-content;gap:.1mm;margin-left:0;font-size:13pt;line-height:1.1;padding-top:.1mm}.pharmacy-print-label footer.anticancer-footer.has-second-reconstitution .anticancer-footer-reconstitution b{align-self:start;font-size:16pt;line-height:1;white-space:nowrap}.pharmacy-print-label .anticancer-footer-reconstitution-lines{display:grid;min-width:0;grid-template-rows:repeat(2,minmax(0,1fr));justify-items:start;text-align:left;overflow:hidden;overflow-wrap:anywhere}.pharmacy-print-label footer{grid-column:1 / -1;padding:1mm 2mm;border-top:2px solid #111827;font-size:10px;font-weight:900;text-align:center}.pharmacy-print-label footer.high-concentration-electrolyte-footer{display:flex;align-items:center;justify-content:center;min-height:4.5mm;padding:.6mm 2mm;color:#991b1b;font-size:11px;line-height:1}.pharmacy-canvas-status,.pharmacy-save-row{padding:0 14px 12px}.pharmacy-print-label.heparin-label .pharmacy-label-main{padding-bottom:1mm}.pharmacy-print-label.heparin-label .pharmacy-label-auto-fit>span{max-width:100%;font-size:.42em;line-height:1.05;overflow-wrap:anywhere}.pharmacy-print-label footer.heparin-footer{min-height:7mm;padding:1mm 2mm;border-top-color:#b91c1c;color:#fff;background:#d92d20;font-size:13pt;line-height:1}.pharmacy-cabinet-list-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(22mm,1fr);width:100%;height:100%;background:#fff}.pharmacy-cabinet-list-row.with-storage-column,.pharmacy-cabinet-list-row.with-location-column{grid-template-columns:minmax(0,2fr) minmax(22mm,1fr) 16mm}.pharmacy-cabinet-list-row>*{display:flex;min-width:0;align-items:center;justify-content:center;padding:1mm 2mm;border-right:1px solid #111827;font-style:normal;text-align:center}.pharmacy-cabinet-list-row>:last-child{border-right:0}.pharmacy-cabinet-list-row div{flex-direction:column}.pharmacy-cabinet-list-row strong{font-size:13pt;font-weight:1000}.pharmacy-cabinet-list-row span,.pharmacy-cabinet-list-row b,.pharmacy-cabinet-list-row em{font-size:8pt;font-weight:900}.pharmacy-cabinet-list-row,.pharmacy-cabinet-location-label,.pharmacy-cabinet-full-list,.pharmacy-three-tier-label{font-weight:1000}.pharmacy-cabinet-list-row :is(strong,span,b,em),.pharmacy-cabinet-location-label :is(strong,span),.pharmacy-cabinet-full-list :is(strong,small,b,em,time),.pharmacy-three-tier-label :is(strong,b){font-weight:1000}.pharmacy-nutrition-label{display:grid;grid-template-columns:minmax(0,1fr);width:100%;height:100%;border:.35mm solid #d92d20;background:#fff}.pharmacy-print-label.nutrition-fluid-label{display:block;border:0}.pharmacy-nutrition-label.with-flags{grid-template-columns:12mm minmax(0,1fr)}.pharmacy-nutrition-label.with-flags:has(aside+strong+aside){grid-template-columns:12mm minmax(0,1fr) 12mm}.pharmacy-nutrition-label>*{display:flex;min-width:0;align-items:center;justify-content:center;padding:.5mm;text-align:center}.pharmacy-nutrition-label aside{position:relative;color:#fff;background:#d92d20;font-size:8pt;font-style:normal;font-weight:1000;line-height:1.05;word-break:keep-all;white-space:pre-line}.pharmacy-nutrition-label aside:last-child{background:#d92d20}.pharmacy-nutrition-label aside.light-condition{color:#16803c;background:#d9f99d}.pharmacy-nutrition-label strong{overflow:hidden;color:#050505;font-size:18pt;font-weight:1000;line-height:1;text-wrap:balance;word-break:keep-all}.pharmacy-nutrition-label strong.medium-name{font-size:15pt}.pharmacy-nutrition-label strong.long-name{font-size:12pt}.pharmacy-nutrition-label strong.very-long-name{font-size:10pt}.pharmacy-print-label.storage-tone-light .pharmacy-nutrition-label{border-color:#d92d20}.pharmacy-print-label.storage-tone-light .pharmacy-nutrition-label>strong{background:#ecfdf3}.pharmacy-print-label.storage-tone-cold:not(.storage-tone-light) .pharmacy-nutrition-label>strong{background:#eff8ff}.nutrition-storage-dot{position:absolute;top:50%;right:-5mm;z-index:2;display:flex;width:8mm;height:8mm;align-items:center;justify-content:center;transform:translateY(-50%);border-radius:50%;font-size:5.5pt;font-weight:1000}.nutrition-storage-dot.light{color:#16803c;background:#d9f99d}.nutrition-storage-dot.cold{color:#155eef;background:#bae6fd}.pharmacy-nutrition-label mark.dose-highlight{padding:0 .35mm;color:#d92d20;background:#fff200}.pharmacy-print-label.syrup-label.label-size-15x90{border:.35mm solid #d92d20!important}.pharmacy-print-label.syrup-label.label-size-48x94{border:.35mm solid #111827!important}.pharmacy-print-label.syrup-label.label-size-15x90.storage-tone-light{border-color:#16803c!important}.pharmacy-print-label.syrup-label.label-size-15x90.storage-tone-light:after{content:"차광";position:absolute;right:1mm;top:50%;display:flex;width:8mm;height:8mm;align-items:center;justify-content:center;transform:translateY(-50%);border-radius:50%;color:#16803c;background:#d9f99d;font-size:6pt;font-weight:1000}.pharmacy-print-label:is(.label-size-50x93,.label-size-55x93,.label-size-50x160) .pharmacy-label-main strong{font-size:1.15em;font-weight:1000}.pharmacy-inline-border-choice{display:flex;align-items:center;gap:5px;margin-left:auto}.pdf-full-label-source{position:fixed;left:-100000px;top:0;width:max-content;pointer-events:none}.pdf-label-export .drug-label-item h3,.pdf-label-export .drug-label-item .drug-label-name-lines,.pdf-label-export .drug-label-item .drug-label-name-line{font-family:Arial,Arial Nova,Segoe UI,Malgun Gothic,sans-serif!important;font-synthesis:none;text-rendering:geometricPrecision}.pdf-label-export .drug-label-item h3{overflow:visible!important;padding-block:.1em}.pdf-label-export .drug-label-item .drug-label-name-line{font-weight:700!important;line-height:1.12!important}.pharmacy-inline-border-choice span{font-size:12px;font-weight:900}.pharmacy-warning-editor,.pharmacy-type-editor,.pharmacy-new-label-fields{margin:0 14px 12px;padding:10px;border:1px solid var(--line-soft);border-radius:7px;background:#fbfaf9}.pharmacy-condition-dashboard{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px;margin:0 14px 12px}.pharmacy-condition-dashboard>div{min-width:0;padding:10px;border:1px solid var(--line-soft);border-radius:8px;background:#f8fafc}.pharmacy-condition-dashboard h3{margin:0 0 8px;font-size:12px}.pharmacy-condition-dashboard .pharmacy-warning-editor,.pharmacy-condition-dashboard .pharmacy-type-editor{margin:0;padding:0;border:0;background:transparent}.pharmacy-condition-dashboard label{min-height:30px;padding:5px 8px;border:1px solid #d7dee8;border-radius:6px;background:#fff}.pharmacy-condition-dashboard label.checked{color:#fff;border-color:var(--brand-header);background:var(--brand-header)}.pharmacy-warning-editor label,.pharmacy-type-editor label{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:850}.pharmacy-type-editor{max-height:125px;overflow:auto}.pharmacy-new-label-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pharmacy-new-label-fields input{min-width:0;min-height:34px;padding:6px 8px;border:1px solid var(--line-soft);border-radius:6px}.pharmacy-save-row{align-items:center;justify-content:space-between}.pharmacy-save-row span{color:var(--muted);font-size:11px;font-weight:800}.pharmacy-paper-mini{display:inline-flex;align-items:center;gap:3px;min-height:30px;padding:3px;border:1px solid var(--line);border-radius:6px;background:#fff}.pharmacy-paper-mini button{min-width:34px;min-height:24px;padding:0 8px;border:0;border-radius:4px;color:var(--brand-header);background:transparent;font-size:11px;font-weight:1000}.pharmacy-paper-mini button.active{color:#fff;background:var(--brand-header)}.pharmacy-paper-mini small{min-width:28px;padding:0 5px;color:var(--muted);font-size:10px;font-weight:900;text-align:center}.pharmacy-tool-panel details{border-bottom:1px solid var(--line-soft)}.pharmacy-tool-panel summary{cursor:pointer;padding:12px;color:var(--ink);font-size:13px;font-weight:1000;list-style:none}.pharmacy-tool-panel summary::-webkit-details-marker{display:none}.pharmacy-tool-body{display:grid;gap:8px;padding:0 12px 12px;color:#475467;font-size:12px;font-weight:850}.pharmacy-tool-body label{display:grid;gap:4px}.pharmacy-tool-body input,.pharmacy-tool-body textarea{min-width:0;min-height:32px;padding:6px 8px;border:1px solid var(--line-soft);border-radius:6px;color:var(--ink);background:#fff}.pharmacy-tool-body textarea{min-height:74px;resize:vertical}.pharmacy-size-grid,.pharmacy-custom-size{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.pharmacy-size-preset{justify-content:flex-start;min-height:40px;text-align:left}.pharmacy-master-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px}.pharmacy-master-column{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.pharmacy-master-column>header{min-height:112px;padding:16px;border-bottom:1px solid var(--line-soft);background:#fbfaf9}.pharmacy-master-column>header p,.pharmacy-master-column>header h2,.pharmacy-master-column>header span{margin:0}.pharmacy-master-column>header p{color:var(--brand-orange);font-size:12px;font-weight:900}.pharmacy-master-column>header h2{margin-top:4px;color:var(--brand-header);font-size:18px}.pharmacy-master-column>header span{display:block;margin-top:7px;color:var(--muted);font-size:12px;font-weight:700;line-height:1.45}.pharmacy-master-search-results{display:grid;max-height:176px;overflow:auto;border-bottom:1px solid var(--line-soft)}.pharmacy-print-label.cap-label .pharmacy-label-main strong.medium-name{font-size:.5em}.pharmacy-print-label.cap-label .pharmacy-label-main strong.long-name{font-size:.42em}.pharmacy-print-label.cap-label .pharmacy-label-main strong.very-long-name{font-size:.34em}.pharmacy-print-label.colored-cap-label,.pharmacy-print-label.colored-cap-label .pharmacy-label-main{background:var(--pharmacy-label-background, #fff)}.pharmacy-print-label.custom-outer-border[class]{border-color:var(--pharmacy-label-border-color, #111827)!important}.pharmacy-master-search-row{display:grid;grid-template-columns:minmax(0,1fr)}.pharmacy-master-search-row:has(.pharmacy-master-row-check){grid-template-columns:42px minmax(0,1fr)}.pharmacy-master-search-row.active{box-shadow:inset 4px 0 var(--brand-orange);background:#fff7ed}.pharmacy-master-search-results button,.pharmacy-master-live-list button{display:grid;gap:3px;padding:10px 12px;border:0;border-bottom:1px solid var(--line-soft);color:var(--ink);background:transparent;text-align:left}.pharmacy-master-search-results button{width:100%}.pharmacy-master-row-check{display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line-soft);background:#f8fafc;cursor:pointer}.pharmacy-master-row-check.checked{background:#fff1e6}.pharmacy-master-row-check span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.pharmacy-master-list-batch-toolbar{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;border-bottom:1px solid var(--line-soft);background:#f8fafc;font-size:12px;font-weight:900}.pharmacy-master-list-batch-toolbar label{display:flex;align-items:center;gap:7px}.pharmacy-master-search-results small,.pharmacy-master-live-list small,.pharmacy-master-selected small{color:var(--muted);font-size:11px;font-weight:700}.pharmacy-master-new-drug{border-bottom:1px solid var(--line-soft)}.pharmacy-master-new-drug summary{padding:11px 12px;color:var(--brand-header);cursor:pointer;font-size:13px;font-weight:900}.pharmacy-master-new-drug>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 12px 12px}.pharmacy-master-new-drug input,.pharmacy-master-new-drug select,.pharmacy-master-selects select{min-width:0;min-height:36px;padding:0 9px;border:1px solid var(--line);border-radius:6px;background:#fff}.pharmacy-master-new-type{display:grid;gap:4px;color:var(--brand-header);font-size:11px;font-weight:800}.pharmacy-master-new-drug .secondary-button{grid-column:1 / -1}.pharmacy-master-bulk-actions{display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pharmacy-master-new-drug .pharmacy-master-bulk-actions .secondary-button{grid-column:auto;width:100%;min-width:0;padding:7px 9px;font-size:12px;cursor:pointer}.pharmacy-master-new-drug .pharmacy-master-bulk-actions .pharmacy-master-template-download{grid-column:1 / -1}.pharmacy-master-editor{display:grid;gap:12px;padding:14px 12px}.pharmacy-master-selected{display:grid;gap:3px;padding:10px;border-radius:7px;background:#f7f8fa}.pharmacy-master-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pharmacy-master-check-grid label{display:flex;align-items:center;gap:7px;min-height:36px;padding:7px 9px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:12px;font-weight:800}.pharmacy-master-check-grid label.checked{border-color:#f0a36f;background:#fff7ed}.pharmacy-master-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pharmacy-master-selects label{display:grid;gap:5px;color:var(--brand-header);font-size:12px;font-weight:900}.pharmacy-master-editor h3{margin:2px 0 -5px;color:var(--brand-header);font-size:13px}.pharmacy-master-save{justify-content:center;width:100%}.pharmacy-master-batch-check{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:7px;font-size:12px;font-weight:900}.pharmacy-master-batch-check.checked{border-color:#f0a36f;background:#fff7ed}.pharmacy-master-batch-save{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #bfd4ff;border-radius:7px;background:#f5f8ff;font-size:12px;font-weight:900}.pharmacy-master-status{margin:0;color:var(--brand-header);font-size:12px;font-weight:800;line-height:1.45}.pharmacy-master-list-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:12px;border-bottom:1px solid var(--line-soft)}.pharmacy-master-list-tabs button{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:34px;padding:0 9px;border:1px solid var(--line);border-radius:6px;color:var(--brand-header);background:#fff;font-size:12px;font-weight:900}.pharmacy-master-list-tabs button b{min-width:22px;padding:2px 5px;border-radius:999px;background:#f1edea;font-size:10px}.pharmacy-master-list-tabs button.active{color:#fff;border-color:var(--brand-header);background:var(--brand-header)}.pharmacy-master-list-tabs button.active b{color:var(--brand-header);background:#fff}.pharmacy-master-live-list{display:grid;max-height:720px;overflow:auto}.pharmacy-master-live-list button em{color:#6b7280;font-size:11px;font-style:normal;font-weight:800}.pharmacy-master-live-list button.high-risk-priority{border-left:5px solid #c2410c;background:#fff7ed}.pharmacy-master-live-list button.high-risk-priority strong,.pharmacy-master-live-list button.high-risk-priority em{color:#9a3412}@media(max-width:1120px){.pharmacy-studio-topbar,.pharmacy-studio-workspace,.pharmacy-master-grid{grid-template-columns:1fr}.pharmacy-master-column>header{min-height:0}.pharmacy-tool-panel{position:static;max-height:none;overflow:visible}}.drug-label-item.checked-master-label.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) h3{display:flex!important;align-items:center;justify-content:center;align-self:stretch;height:100%;min-height:0;padding-block:0!important;overflow:hidden;-webkit-line-clamp:unset}.drug-label-item.checked-master-label.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-lines{display:grid!important;align-content:center;justify-items:center;width:100%;max-width:100%}.drug-label-item.label-kind-ecart,.drug-label-item.label-kind-ecart h3,.drug-label-item.label-kind-ecart .drug-label-warning-flag,.drug-label-item.label-kind-ecart .label-storage-badge,.drug-label-item.label-kind-ecart .label-code-storage,.drug-label-item.label-kind-ecart .drug-label-code-stack strong{font-family:Segoe UI,Malgun Gothic,Arial,sans-serif}.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) h3,.drug-label-item.label-size-15x95:is(.label-kind-stock,.label-kind-pharmacy) .drug-label-name-line{overflow-wrap:normal;word-break:keep-all}.drug-label-item:is(.label-size-10x70,.label-size-15x95):is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-warning-flag{white-space:pre-line!important;line-height:1.02!important}.drug-label-item:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .drug-label-code-stack{overflow:visible;min-width:24mm}.drug-label-item.label-size-15x95.label-kind-narcotic .drug-label-code-stack{min-width:30mm}.drug-label-item.label-size-10x70.label-kind-narcotic .label-code-storage{font-size:6px!important}.drug-label-item.label-size-15x95.label-kind-narcotic .label-code-storage{font-size:7px!important}.drug-label-item:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .drug-label-code-line{overflow:visible;gap:.5mm}.drug-label-item:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .label-code-storage{box-sizing:border-box;width:5.5mm;min-width:5.5mm;height:5.5mm;padding:0;border-radius:50%;line-height:1!important;writing-mode:vertical-rl;text-orientation:upright;overflow:hidden;white-space:nowrap}.drug-label-item:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .label-quantity-circle{flex:0 0 auto;justify-self:center;align-self:center;overflow:visible}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-code-stack{overflow:visible;min-width:24mm}.drug-label-item.label-size-15x95.has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-code-stack{min-width:30mm}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-code-stack{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);column-gap:1mm;align-items:center}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-code-line{grid-column:1;grid-row:1;justify-content:center}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .label-quantity-circle{grid-column:2;grid-row:1}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .drug-label-code-line{overflow:visible;gap:.5mm}.drug-label-item.label-size-10x70.has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .label-code-storage{font-size:6px!important}.drug-label-item.label-size-15x95.has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .label-code-storage{font-size:7px!important}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .label-code-storage{box-sizing:border-box;width:5.5mm;min-width:5.5mm;height:5.5mm;padding:0;border-radius:50%;line-height:1!important;writing-mode:vertical-rl;text-orientation:upright;overflow:hidden;white-space:nowrap}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .label-code-storage.cold{color:#0b5c88;background:#dff3ff}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .label-code-storage.light{color:#047857;background:#d8f7df}.drug-label-item:is(.label-size-10x70,.label-size-15x95).has-controlled-caution-label:is(.label-kind-stock,.label-kind-pharmacy,.label-kind-narcotic) .label-quantity-circle{flex:0 0 auto;justify-self:center;align-self:center;overflow:visible}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .drug-label-code-stack{min-width:0;overflow:visible;grid-template-columns:minmax(0,1fr) auto;column-gap:.5mm;padding-inline:.5mm}.drug-label-item.checked-master-label.label-size-10x70.label-kind-narcotic .drug-label-code-stack{min-width:18mm}.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic .drug-label-code-stack{min-width:22mm}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .drug-label-code-line{min-width:0;overflow:hidden;gap:.25mm}.drug-label-item.checked-master-label.label-size-10x70.label-kind-narcotic .drug-label-code-line strong{max-width:8mm;overflow:hidden;font-size:7.5px}.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic .drug-label-code-line strong{max-width:10mm;overflow:hidden;font-size:9px}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .label-code-storage{width:4mm;min-width:4mm;height:5.5mm;padding:0;border-radius:999px;writing-mode:vertical-rl;text-orientation:upright;overflow:hidden;white-space:nowrap}.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic .label-code-storage{width:4.5mm;min-width:4.5mm;height:6.5mm}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .label-quantity-circle{width:auto;min-width:6.5mm;height:6.5mm;padding-inline:.45mm;border-radius:999px;font-size:13px;white-space:nowrap}.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic .label-quantity-circle{min-width:8mm;height:8mm;font-size:16px}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic h3,.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .drug-label-name-lines{min-width:0;max-width:100%;overflow:hidden;padding-inline:.5mm}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .drug-label-name-lines{display:grid;align-content:center;justify-items:center;width:100%}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .drug-label-name-line{display:block;max-width:100%;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;line-height:1.02}.drug-label-item.checked-master-label.label-size-10x70.label-kind-narcotic.name-long h3,.drug-label-item.checked-master-label.label-size-10x70.label-kind-narcotic.name-long .drug-label-name-line{font-size:10.5px}.drug-label-item.checked-master-label.label-size-10x70.label-kind-narcotic.name-extra-long h3,.drug-label-item.checked-master-label.label-size-10x70.label-kind-narcotic.name-extra-long .drug-label-name-line{font-size:8.5px}.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic.name-long h3,.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic.name-long .drug-label-name-line{font-size:16px}.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic.name-extra-long h3,.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic.name-extra-long .drug-label-name-line{font-size:13px}.drug-label-item.checked-master-label.label-size-10x70.label-kind-narcotic{grid-template-columns:17mm minmax(0,1fr) 20mm}.drug-label-item.checked-master-label.label-size-15x95.label-kind-narcotic{grid-template-columns:22mm minmax(0,1fr) 25mm}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .drug-label-code-stack{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic .label-quantity-circle{grid-column:2;justify-self:end;max-width:100%;box-sizing:border-box}.drug-label-item.checked-master-label:is(.label-size-10x70,.label-size-15x95).label-kind-narcotic:not(:has(.label-code-storage)) .label-quantity-circle{grid-column:1 / -1;justify-self:center}.drug-label-item.has-positioned-mandatory-dilution .drug-label-mandatory-dilution{z-index:2;display:flex;box-sizing:border-box;align-items:center;justify-content:center;color:#dc2626;background:#fff;font-weight:1000;line-height:1.05;text-align:center;word-break:keep-all}.drug-label-item.has-positioned-mandatory-dilution:is(.label-size-10x70,.label-size-15x95) .drug-label-mandatory-dilution{grid-column:3;grid-row:1;align-self:stretch;width:100%;max-width:100%;padding:0 .8mm;border-left:1px solid #dc2626}.drug-label-item.has-positioned-mandatory-dilution:is(.label-size-10x70,.label-size-15x95) .drug-label-code-stack{display:none}.drug-label-item.has-positioned-mandatory-dilution.label-size-10x70{grid-template-columns:17mm minmax(0,1fr) 18mm}.drug-label-item.has-positioned-mandatory-dilution.label-size-10x70 .drug-label-mandatory-dilution{font-size:7.5px}.drug-label-item.has-positioned-mandatory-dilution.label-size-15x95{grid-template-columns:22mm minmax(0,1fr) 24mm}.drug-label-item.has-positioned-mandatory-dilution.label-size-15x95 .drug-label-mandatory-dilution{font-size:10px}.drug-label-item.has-positioned-mandatory-dilution:is(.label-size-55x95,.label-size-35x100){grid-template-rows:auto minmax(0,1fr) auto}.drug-label-item.has-positioned-mandatory-dilution:is(.label-size-55x95,.label-size-35x100) .drug-label-mandatory-dilution{grid-column:1;grid-row:3;align-self:stretch;width:100%;border-top:1px solid #dc2626}.drug-label-item.has-positioned-mandatory-dilution.label-size-55x95 .drug-label-mandatory-dilution{min-height:8mm;padding:1mm 3mm;font-size:18px}.drug-label-item.has-positioned-mandatory-dilution.label-size-35x100 .drug-label-mandatory-dilution{min-height:6mm;padding:.7mm 2.5mm;font-size:14px}.pharmacy-cabinet-canvas-panel{grid-column:2 / 4;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff}.pharmacy-cabinet-location-section,.pharmacy-cabinet-full-section{padding:16px;border-top:1px solid var(--line)}.pharmacy-cabinet-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.pharmacy-cabinet-section-head h3,.pharmacy-cabinet-section-head p{margin:0}.pharmacy-cabinet-section-head p{margin-top:4px;color:var(--muted);font-size:13px}.pharmacy-cabinet-section-head label{display:grid;gap:5px;min-width:190px;font-size:12px;font-weight:800}.pharmacy-cabinet-section-head select{min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:#fff}.pharmacy-cabinet-preview-shell{overflow:auto;padding:18px;border:1px solid #d7dce2;background:#eef1f4}.pharmacy-cabinet-preview-shell.multiple{display:grid;grid-template-columns:repeat(auto-fit,minmax(120mm,1fr));gap:12px;max-height:520px}.pharmacy-cabinet-preview-shell.multiple>div{break-inside:avoid}.pharmacy-cabinet-location-label{display:grid;grid-template-columns:repeat(2,60mm);grid-auto-rows:5mm;width:120mm;background:#fff}.pharmacy-cabinet-location-cell{display:flex;box-sizing:border-box;min-width:0;align-items:center;justify-content:space-between;gap:1mm;padding:0 .9mm;border:.2mm solid #111827;overflow:hidden;font-size:6.5pt;line-height:1;white-space:nowrap}.pharmacy-cabinet-location-cell strong{overflow:hidden;text-overflow:ellipsis}.pharmacy-cabinet-location-cell span{flex:0 1 auto;overflow:hidden;color:#c81e1e;font-size:5.5pt;font-weight:900;text-overflow:ellipsis}.pharmacy-cabinet-location-cell.blank{background:#fff}.pharmacy-cabinet-page-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pharmacy-cabinet-page-thumbnails.single-page{grid-template-columns:minmax(0,1fr);max-width:620px}.pharmacy-cabinet-page-thumbnails>div{height:420px;overflow:hidden;border:1px solid #cfd5dc;background:#eef1f4}.pharmacy-cabinet-page-thumbnails .pharmacy-cabinet-full-list{width:198mm;height:285mm;zoom:.38}.pharmacy-cabinet-page-thumbnails .pharmacy-cabinet-full-list.full-list-A3{width:285mm;height:408mm;zoom:.27}.pharmacy-cabinet-full-list{display:flex;flex-direction:column;box-sizing:border-box;width:100%;height:100%;padding:4mm;color:#111827;background:#fff;font-family:Malgun Gothic,sans-serif}.pharmacy-cabinet-full-list>header{display:flex;flex:0 0 8mm;height:8mm;align-items:center;justify-content:space-between;border-bottom:.4mm solid #111827;font-size:12pt}.pharmacy-cabinet-full-list-grid{display:grid;grid-template-columns:repeat(var(--cabinet-list-columns, 3),minmax(0,1fr));grid-template-rows:repeat(var(--cabinet-list-rows, 1),minmax(0,1fr));grid-auto-flow:column;flex:1 1 auto;min-height:0;height:auto}.pharmacy-cabinet-full-list .pharmacy-cabinet-full-list-grid{height:auto}.pharmacy-cabinet-full-list .pharmacy-cabinet-full-list-row{padding:.55mm 1mm;font-size:7.5pt}.pharmacy-cabinet-full-list .pharmacy-cabinet-full-list-row b{font-size:6.2pt}.pharmacy-cabinet-full-list .pharmacy-cabinet-full-list-row em,.pharmacy-cabinet-full-list .pharmacy-cabinet-full-list-row time{font-size:6.2pt}.pharmacy-cabinet-full-list .cabinet-entry-details b,.pharmacy-cabinet-full-list .cabinet-entry-details em,.pharmacy-cabinet-full-list.refrigerated-list .cabinet-entry-warning{font-size:5.8pt}.pharmacy-cabinet-full-list.refrigerated-list .cabinet-entry-location{font-size:7.2pt}.pharmacy-cabinet-full-list.atc-list .pharmacy-cabinet-full-list-row{padding:0}.pharmacy-cabinet-full-list.atc-list:not(.full-list-A3) .pharmacy-cabinet-full-list-grid{grid-auto-flow:column;box-sizing:border-box;padding-top:0;grid-auto-rows:minmax(0,1fr);grid-template-rows:repeat(var(--cabinet-list-rows, 1),minmax(0,1fr));align-content:stretch}.pharmacy-cabinet-full-list.atc-list.full-list-A3 .pharmacy-cabinet-full-list-grid{grid-auto-flow:column;box-sizing:border-box;padding-top:0;grid-auto-rows:minmax(0,1fr);grid-template-rows:repeat(var(--cabinet-list-rows, 1),minmax(0,1fr));align-content:stretch}.pharmacy-cabinet-full-list.atc-list .pharmacy-cabinet-full-list-row.atc-row{grid-template-columns:7mm minmax(0,1fr) 16mm;overflow:hidden}.pharmacy-cabinet-full-list.atc-list .pharmacy-cabinet-full-list-row.atc-row>em{font-size:calc(9.5pt * var(--atc-text-scale, 1));font-weight:1000}.pharmacy-cabinet-full-list.atc-list .pharmacy-cabinet-full-list-row.atc-row>div strong{font-size:var(--atc-name-size, 9.5pt);font-weight:1000;line-height:1.1}.pharmacy-cabinet-full-list.atc-list .pharmacy-cabinet-full-list-row.atc-row>div strong{text-overflow:clip}.pharmacy-cabinet-full-list.atc-list .pharmacy-atc-detail b,.pharmacy-cabinet-full-list.atc-list .pharmacy-atc-detail time{box-sizing:border-box;min-height:0;padding:.12mm .2mm 0;font-size:calc(5.6pt * var(--atc-text-scale, 1));font-weight:1000;line-height:1.05}.pharmacy-cabinet-full-list.atc-list .pharmacy-atc-detail b.multiple-warnings{font-size:calc(5.2pt * var(--atc-text-scale, 1));letter-spacing:-.1mm}.pharmacy-cabinet-full-list-print-date{flex:0 0 4mm;height:4mm;display:flex;align-items:end;justify-content:end;color:#4b5563;font-size:6pt}.pharmacy-cabinet-full-list.full-list-A3>header{font-size:15pt}.pharmacy-cabinet-full-list.full-list-A3 .pharmacy-cabinet-full-list-row{padding:.8mm 1.3mm;font-size:9pt}.pharmacy-cabinet-full-list.full-list-A3 .pharmacy-cabinet-full-list-row b,.pharmacy-cabinet-full-list.full-list-A3 .pharmacy-cabinet-full-list-row em,.pharmacy-cabinet-full-list.full-list-A3 .pharmacy-cabinet-full-list-row time,.pharmacy-cabinet-full-list.full-list-A3 .cabinet-entry-details b,.pharmacy-cabinet-full-list.full-list-A3 .cabinet-entry-details em,.pharmacy-cabinet-full-list.full-list-A3.refrigerated-list .cabinet-entry-location,.pharmacy-cabinet-full-list.full-list-A3.refrigerated-list .cabinet-entry-warning{font-size:7.2pt}.pharmacy-cabinet-full-list.full-list-A3 .pharmacy-cabinet-full-list-print-date{font-size:7pt}.pharmacy-cabinet-full-list.atc-list.full-list-A3 .pharmacy-cabinet-full-list-row.atc-row>em{font-size:calc(11.4pt * var(--atc-text-scale, 1))}.pharmacy-cabinet-full-list.atc-list.full-list-A3 .pharmacy-cabinet-full-list-row.atc-row>div strong{font-size:var(--atc-name-size, 12pt)}.pharmacy-cabinet-full-list.atc-list.full-list-A3 .pharmacy-atc-detail b,.pharmacy-cabinet-full-list.atc-list.full-list-A3 .pharmacy-atc-detail time{font-size:calc(7.8pt * var(--atc-text-scale, 1));font-weight:1000}.pharmacy-cabinet-full-list.atc-list.full-list-A3 .pharmacy-atc-detail b.multiple-warnings{font-size:calc(6.8pt * var(--atc-text-scale, 1))}.pharmacy-cabinet-full-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;box-sizing:border-box;min-width:0;align-content:center;gap:0 .5mm;padding:.35mm .7mm;border-right:.15mm solid #71717a;border-bottom:.15mm solid #a1a1aa;overflow:hidden;font-size:6pt;font-weight:800;line-height:1.05}.pharmacy-cabinet-full-list-row>div{min-width:0}.pharmacy-cabinet-full-list-row strong,.pharmacy-cabinet-full-list-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pharmacy-cabinet-full-list-row b{align-self:center;color:#c81e1e;font-size:5pt;text-align:right}.pharmacy-cabinet-full-list-row em,.pharmacy-cabinet-full-list-row time{color:#155eef;font-size:5pt;font-style:normal}.pharmacy-cabinet-full-list-row time{color:#111827;text-align:right}.pharmacy-cabinet-full-list-row.atc-row{grid-template-columns:9mm minmax(0,1fr) 25mm;grid-template-rows:minmax(0,1fr);gap:0;padding:0;font-size:6.4pt;overflow:visible}.pharmacy-cabinet-full-list-row.with-category-details{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:.2mm}.pharmacy-cabinet-full-list-row.with-category-details>div:first-of-type{display:flex;min-width:0;align-items:end}.pharmacy-cabinet-full-list.location-inline-list .pharmacy-cabinet-full-list-row.with-category-details{grid-template-columns:minmax(0,1fr) 20mm;grid-template-rows:minmax(0,1fr);gap:0}.pharmacy-cabinet-full-list.location-inline-list .pharmacy-cabinet-full-list-row.with-category-details>div:first-of-type{grid-column:1;grid-row:1;align-items:center}.pharmacy-cabinet-full-list.location-inline-list .cabinet-entry-details{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:0;height:100%;padding:0;border-top:0;border-left:.15mm solid #d0d5dd}.pharmacy-cabinet-full-list.location-inline-list .cabinet-entry-details b,.pharmacy-cabinet-full-list.location-inline-list .cabinet-entry-details em{display:flex;align-items:center;justify-content:end;padding:0 .5mm;font-size:5.8pt}.pharmacy-cabinet-full-list.location-inline-list .cabinet-entry-details b{font-size:var(--cabinet-warning-size, 5.8pt);text-overflow:clip}.pharmacy-cabinet-full-list.prominent-name-location-list .pharmacy-cabinet-full-list-row.with-category-details>div:first-of-type strong{overflow:hidden;font-size:8.2pt;line-height:1.12;text-overflow:clip;white-space:normal;word-break:break-word}.pharmacy-cabinet-full-list.prominent-name-location-list .cabinet-entry-details.no-warning em,.pharmacy-cabinet-full-list.location-inline-list .cabinet-entry-details.no-warning em{grid-row:1 / -1}.pharmacy-cabinet-full-list.external-list .cabinet-entry-details{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:0}.pharmacy-cabinet-full-list.external-list .cabinet-entry-details em{grid-column:1;grid-row:2;text-align:right}.pharmacy-cabinet-full-list.external-list .cabinet-entry-details b{grid-column:1;grid-row:1;text-align:right}.pharmacy-cabinet-full-list.external-list .cabinet-entry-details.no-warning em{grid-row:1 / -1}.pharmacy-cabinet-full-list.ptp-list .cabinet-entry-details b{font-size:var(--cabinet-warning-size, 5.2pt);letter-spacing:-.08mm}.pharmacy-cabinet-full-list.ptp-list .cabinet-entry-details b.cabinet-warning-long{font-size:var(--cabinet-warning-size, 4.2pt);letter-spacing:-.12mm}.pharmacy-cabinet-full-list.ptp-list.full-list-A3 .cabinet-entry-details b{font-size:var(--cabinet-warning-size, 6.4pt)}.pharmacy-cabinet-full-list.ptp-list.full-list-A3 .cabinet-entry-details b.cabinet-warning-long{font-size:var(--cabinet-warning-size, 5.2pt)}.pharmacy-cabinet-full-list.nutrition-list .pharmacy-cabinet-full-list-grid{grid-auto-rows:10mm;grid-template-rows:repeat(var(--cabinet-list-rows, 1),10mm);align-content:start}.pharmacy-cabinet-full-list.nutrition-list .pharmacy-cabinet-full-list-row.with-category-details{grid-template-rows:minmax(0,1fr) auto}.pharmacy-cabinet-full-list.nutrition-list .pharmacy-cabinet-full-list-row.with-category-details>div:first-of-type{align-items:center}.pharmacy-cabinet-full-list.nutrition-list .pharmacy-cabinet-full-list-row strong{font-size:7.2pt}.pharmacy-cabinet-full-list.nutrition-list .cabinet-entry-details b,.pharmacy-cabinet-full-list.nutrition-list .cabinet-entry-details em{font-size:6pt}.pharmacy-cabinet-full-list.refrigerated-list .pharmacy-cabinet-full-list-row{grid-template-columns:minmax(0,1fr) 14mm;grid-template-rows:minmax(0,1fr) auto;gap:.25mm .5mm}.pharmacy-cabinet-full-list.refrigerated-list .pharmacy-cabinet-full-list-row>div:first-of-type{grid-column:1;grid-row:1;display:flex;align-items:center}.pharmacy-cabinet-full-list.refrigerated-list .cabinet-entry-location{grid-column:2;grid-row:1;align-self:center;color:#155eef;font-size:7.2pt;font-style:normal;font-weight:1000;text-align:right;white-space:nowrap}.pharmacy-cabinet-full-list.refrigerated-list .cabinet-entry-warning{grid-column:1 / -1;grid-row:2;color:#c81e1e;font-size:5.8pt;font-weight:1000;text-align:right}.pharmacy-cabinet-full-list-row .cabinet-entry-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5mm;min-width:0;padding-top:.2mm;border-top:.15mm solid #d0d5dd}.pharmacy-cabinet-full-list-row .cabinet-entry-details b,.pharmacy-cabinet-full-list-row .cabinet-entry-details em{overflow:hidden;font-size:5.6pt;font-style:normal;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.pharmacy-cabinet-full-list-row .cabinet-entry-details em{color:#155eef;text-align:right}.pharmacy-cabinet-full-list-row.atc-row>em{grid-column:1;grid-row:1;display:flex;height:100%;align-items:center;justify-content:center;box-sizing:border-box;border-right:.25mm solid #86a789;color:#14532d;background:#dcfce7;font-size:7.4pt;font-weight:1000}.pharmacy-cabinet-full-list-row.atc-row>div{grid-column:2;grid-row:1;display:flex;min-width:0;align-items:center;padding:0 .8mm}.pharmacy-cabinet-full-list-row.atc-row>div strong{font-family:Arial,Arial Nova,Segoe UI,Malgun Gothic,sans-serif;font-size:6.8pt;font-weight:700;line-height:1.25}.pharmacy-atc-detail{grid-column:3;grid-row:1;display:grid;grid-template-rows:2.6mm minmax(0,1fr);align-content:stretch;min-width:0;overflow:hidden;border-left:.2mm solid #64748b}.pharmacy-atc-detail b,.pharmacy-atc-detail time{display:flex;min-width:0;align-items:center;justify-content:center;box-sizing:border-box;min-height:0;padding:.12mm .5mm 0;overflow:hidden;font-family:Arial,Arial Nova,Segoe UI,Malgun Gothic,sans-serif;font-size:5.6pt;font-weight:700;line-height:1.05;white-space:nowrap}.pharmacy-atc-detail b{grid-row:1;color:#c81e1e}.pharmacy-atc-detail time{grid-row:2;color:#111827}.pharmacy-cabinet-full-list .cabinet-entry-location{grid-column:1 / -1;color:#155eef;font-weight:900}.pharmacy-print-label.label-size-cabinet-location,.pharmacy-print-label.label-size-cabinet-full-list,.pharmacy-print-label.label-size-three-tier-position{padding:0;border:0;overflow:hidden}.pharmacy-three-tier-panel{grid-column:2 / 4;min-width:0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff}.pharmacy-alphabet-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.pharmacy-alphabet-filters button{min-width:34px;min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:999px;color:var(--brand-header);background:#fff;font-weight:900}.pharmacy-alphabet-filters button.active{color:#fff;border-color:var(--brand-orange);background:var(--brand-orange)}.pharmacy-three-tier-preview{max-height:420px;overflow:auto;padding:14px;border:1px solid #d7dce2;background:#eef1f4}.pharmacy-three-tier-label{display:grid;grid-template-columns:repeat(2,43mm);grid-auto-rows:3mm;width:86mm;background:#fff}.pharmacy-three-tier-cell{display:grid;grid-template-columns:minmax(0,1fr) 9mm;box-sizing:border-box;min-width:0;align-items:center;padding:0;border:.2mm solid #111827;overflow:hidden;font-size:5.7pt;line-height:1;white-space:nowrap}.pharmacy-three-tier-cell strong{overflow:hidden;padding:0 .7mm;font-weight:1000;text-overflow:ellipsis}.pharmacy-three-tier-dose{display:flex;height:100%;align-items:center;justify-content:center;color:#111827;font-size:5.8pt;font-weight:1000}.pharmacy-three-tier-dose.dose-0-5t{color:#dc2626}.pharmacy-three-tier-dose.dose-0-25t{color:#155eef}.pharmacy-three-tier-name-dose{color:#dc2626;background:#fff200}.pharmacy-cabinet-canvas-panel>.pharmacy-three-tier-panel{grid-column:auto;border:0;border-top:1px solid var(--line);border-radius:0}.pharmacy-master-subtype-field{grid-column:1 / -1}.pharmacy-master-subtype-field>span{display:block;margin-bottom:6px;font-size:12px;font-weight:800}.pharmacy-staged-labels{margin:14px;padding:14px;border:1px solid #bfd4ff;border-radius:8px;background:#f5f8ff}.pharmacy-staged-labels h3,.pharmacy-staged-labels p{margin:0}.pharmacy-staged-labels p{margin-top:3px;color:var(--muted);font-size:12px}.pharmacy-staged-labels>div:nth-child(2){display:grid;gap:6px;margin:10px 0}.pharmacy-staged-labels label{display:flex;align-items:center;gap:9px;padding:8px;border:1px solid #d9e3f7;border-radius:6px;background:#fff}.pharmacy-staged-labels label span,.pharmacy-staged-labels label small{display:block}@media(max-width:1050px){.pharmacy-cabinet-canvas-panel{grid-column:1 / -1}.pharmacy-cabinet-page-thumbnails{grid-template-columns:1fr}}
