.pharmacy-page{display:flex;flex-direction:column;gap:16px;color:#102a35}.pharmacy-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:26px 28px;border:1px solid #d5e5e8;border-radius:26px;background:linear-gradient(120deg,#fff 45%,#ecfdf9);box-shadow:0 15px 35px rgba(15,118,110,.08)}.pharmacy-hero.compact{padding:22px 24px}.pharmacy-eyebrow{display:inline-flex;margin-bottom:8px;padding:6px 10px;border-radius:999px;background:#ccfbf1;color:#0f766e;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.pharmacy-hero h1{margin:0;color:#0d2b36;font-size:30px;letter-spacing:-1px}.pharmacy-hero p{max-width:760px;margin:7px 0 0;color:#607184;line-height:1.55}.pharmacy-primary,.pharmacy-secondary,.pharmacy-danger{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:0;border-radius:13px;text-decoration:none;font:inherit;font-weight:900;cursor:pointer;white-space:nowrap}.pharmacy-primary{background:#0f857c;color:#fff;box-shadow:0 9px 20px rgba(15,133,124,.18)}.pharmacy-primary:hover{background:#0b6d66}.pharmacy-primary.full{width:100%;margin-top:8px}.pharmacy-secondary{border:1px solid #ccdde3;background:#fff;color:#0f6e68}.pharmacy-danger{background:#b42318;color:#fff}.pharmacy-header-actions{display:flex;gap:10px}.pharmacy-tabs{display:flex;gap:6px;padding:6px;border:1px solid #d8e5e9;border-radius:15px;background:#fff;overflow-x:auto}.pharmacy-tabs a{padding:9px 13px;border-radius:10px;color:#536477;text-decoration:none;font-size:13px;font-weight:850;white-space:nowrap}.pharmacy-tabs a:hover{background:#eaf8f6;color:#08746d}.pharmacy-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.pharmacy-kpis.three{grid-template-columns:repeat(3,minmax(0,1fr))}.pharmacy-kpis article{min-height:116px;padding:19px 20px;border:1px solid #dbe7eb;border-top:4px solid #5593c5;border-radius:19px;background:#fff;box-shadow:0 10px 25px rgba(15,23,42,.05)}.pharmacy-kpis article.warning{border-top-color:#e6a21a}.pharmacy-kpis article.danger{border-top-color:#dd5349}.pharmacy-kpis article.success{border-top-color:#15a477}.pharmacy-kpis span,.pharmacy-kpis small{display:block;color:#66778a}.pharmacy-kpis span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.pharmacy-kpis strong{display:block;margin:8px 0 5px;font-size:25px;color:#102f3b}.pharmacy-kpis small{font-size:12px}.pharmacy-panel{padding:20px;border:1px solid #d8e5e9;border-radius:21px;background:#fff;box-shadow:0 12px 30px rgba(15,118,110,.07)}.pharmacy-wide{margin-top:0}.pharmacy-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pharmacy-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:15px}.pharmacy-panel h2,.pharmacy-panel-head h2{margin:0;color:#102f3b;font-size:17px}.pharmacy-panel-head p,.pharmacy-form-section p{margin:5px 0 0;color:#718096;font-size:13px}.pharmacy-panel-head>a{color:#08746d;font-size:12px;font-weight:900;text-decoration:none}.pharmacy-compact-list{display:flex;flex-direction:column}.pharmacy-compact-list>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 3px;border-top:1px solid #e8eff2}.pharmacy-compact-list span,.pharmacy-compact-list small{display:block}.pharmacy-compact-list b{font-size:13px}.pharmacy-compact-list small{margin-top:3px;color:#718096;font-size:11.5px}.pharmacy-compact-list strong{color:#31475a;font-size:13px;text-align:right}.pharmacy-filters{display:grid;grid-template-columns:minmax(260px,1fr) 200px auto;gap:12px;align-items:end;padding:16px 18px;border:1px solid #d9e5e9;border-radius:18px;background:#fff}.pharmacy-filters label,.pharmacy-form label,.pharmacy-stock-entry label,.sale-checkout label,.sale-item-row label{display:flex;flex-direction:column;gap:6px}.pharmacy-filters label>span,.pharmacy-form label>span,.pharmacy-stock-entry label>span,.sale-checkout label>span,.sale-item-row label>span{color:#30495b;font-size:12px;font-weight:900}.pharmacy-filters input,.pharmacy-filters select,.pharmacy-form input,.pharmacy-form select,.pharmacy-form textarea,.pharmacy-stock-entry input,.pharmacy-stock-entry select,.sale-checkout input,.sale-checkout select,.sale-checkout textarea,.sale-item-row input,.sale-item-row select,.pharmacy-panel-head select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cfdde3;border-radius:11px;background:#fff;color:#172f3c;font:inherit}.pharmacy-table-wrap{width:100%;overflow:auto}.pharmacy-table{width:100%;border-collapse:collapse;font-size:13px}.pharmacy-table th{padding:11px 10px;border-bottom:1px solid #dbe6ea;background:#f6f9fb;color:#526479;text-align:left;font-size:10.5px;text-transform:uppercase;letter-spacing:.045em}.pharmacy-table td{padding:13px 10px;border-bottom:1px solid #e8eff2;vertical-align:middle}.pharmacy-table tfoot td{border-top:2px solid #cadde3;border-bottom:0;font-size:16px}.pharmacy-table .right{text-align:right}.pharmacy-table a,.pharmacy-link{color:#08746d;font-weight:850;text-decoration:none}.cell-sub{display:block;margin-top:4px;color:#738397;font-size:11.5px;line-height:1.4}.pharmacy-status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef2f5;color:#536477;font-size:10.5px;font-weight:900;white-space:nowrap}.pharmacy-status.active,.pharmacy-status.completed{background:#d9fbe8;color:#087649}.pharmacy-status.inactive,.pharmacy-status.voided,.pharmacy-status.exhausted{background:#fee2e2;color:#b42318}.pharmacy-status.warning{background:#fff2cc;color:#915f00}.pharmacy-status.neutral{background:#edf2f7;color:#536477}.pharmacy-status.quarantined{background:#ede9fe;color:#6d28d9}.stock-value{display:inline-flex;min-width:34px;justify-content:center;padding:5px 8px;border-radius:8px;background:#e0f5ef;color:#08745d;font-weight:900}.stock-value.low{background:#fee2e2;color:#b42318}.pharmacy-actions{display:flex;gap:7px}.pharmacy-actions a,.pharmacy-actions button{padding:7px 9px;border:1px solid #d2e0e5;border-radius:9px;background:#fff;color:#08746d;font-size:11px;font-weight:850;text-decoration:none;cursor:pointer}.pharmacy-actions form{margin:0}.pharmacy-form{max-width:960px;margin:0 auto}.pharmacy-form-section{padding:3px 0 13px;border-bottom:1px solid #e1eaed;margin-bottom:16px}.pharmacy-form-section:not(:first-of-type){margin-top:25px}.pharmacy-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.pharmacy-form-grid.two{grid-template-columns:1fr 1fr}.pharmacy-form-grid.stock{grid-template-columns:repeat(4,minmax(0,1fr))}.pharmacy-form-grid .span-2{grid-column:span 2}.pharmacy-check{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px!important;margin-top:20px;padding:14px;border:1px solid #d8e6e9;border-radius:13px;background:#f7fbfb}.pharmacy-check input{width:18px!important;min-height:18px!important;margin-top:2px}.pharmacy-check span,.pharmacy-check small{display:block}.pharmacy-check small{margin-top:3px;color:#697b8e}.pharmacy-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.pharmacy-stock-entry{padding:21px}.pharmacy-sale-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:16px;align-items:start}.sale-main{min-width:0}.sale-checkout{position:sticky;top:16px}.sale-checkout h2{margin-bottom:16px}.sale-checkout label{margin-bottom:14px}.sale-checkout small,.sale-item-row small{color:#758699;font-size:11.5px}.sale-checkout small.required{color:#b42318;font-weight:850}.sale-items{display:flex;flex-direction:column;gap:10px}.sale-item-row{display:grid;grid-template-columns:minmax(260px,1fr) 105px 115px 34px;gap:10px;align-items:end;padding:13px;border:1px solid #dce7eb;border-radius:14px;background:#fbfdfd}.sale-item-row .line-total{padding:0 4px 8px}.line-total span,.line-total b{display:block}.line-total span{margin-bottom:8px;color:#546679;font-size:11px;font-weight:900}.line-total b{font-size:14px;text-align:right}.remove-row{width:34px;height:44px;border:1px solid #f1c9c6;border-radius:10px;background:#fff;color:#b42318;font-size:23px;cursor:pointer}.pharmacy-add-row{margin-top:12px;padding:9px 12px;border:1px dashed #7fbeb8;border-radius:11px;background:#f2fbfa;color:#08746d;font-weight:900;cursor:pointer}.sale-total{margin:20px 0 12px;padding:17px;border-radius:15px;background:#eaf8f6}.sale-total span,.sale-total small{display:block}.sale-total span{color:#446175;font-size:12px;font-weight:900}.sale-total strong{display:block;margin:7px 0;font-size:27px;color:#08746d}.receipt-sheet{max-width:930px;margin:0 auto}.receipt-head{display:flex;align-items:flex-start;justify-content:space-between;padding-bottom:20px;border-bottom:2px solid #dbe7ea}.receipt-head span{font-size:12px;font-weight:900;color:#08746d}.receipt-head h1{margin:5px 0;font-size:25px}.receipt-head p{margin:0;color:#6b7d8e}.receipt-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.receipt-meta>div{padding:13px;border:1px solid #e0e9ec;border-radius:12px}.receipt-meta span,.receipt-meta b,.receipt-meta small{display:block}.receipt-meta span{color:#748496;font-size:10px;font-weight:900;text-transform:uppercase}.receipt-meta b{margin:6px 0;font-size:13px}.receipt-meta small{color:#6c7d8d;font-size:11px}.receipt-notes,.void-notice{margin-top:17px;padding:14px;border-radius:13px;background:#f6f9fa}.receipt-notes span{font-size:11px;font-weight:900;text-transform:uppercase}.receipt-notes p,.void-notice p{margin:5px 0}.void-notice{border:1px solid #fecaca;background:#fff1f1;color:#8d1c13}.void-form{display:grid;grid-template-columns:1fr minmax(260px,420px) auto;gap:15px;align-items:end;max-width:930px;margin:0 auto}.void-form h2{margin:0}.void-form p{margin:6px 0 0;color:#657789;font-size:12px}.void-form label{display:flex;flex-direction:column;gap:6px}.void-form input{min-height:44px;padding:10px 12px;border:1px solid #d4e1e5;border-radius:11px}.text-danger{color:#b42318!important}.text-success{color:#087649!important}.empty-state{padding:28px 15px;text-align:center;color:#68798b}.empty-state-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0 auto 10px;border-radius:50%;background:#e6f7f4;color:#08746d;font-weight:900}.empty-state p{margin:6px 0 0;font-size:12px}
@media(max-width:1050px){.pharmacy-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.pharmacy-dashboard-grid,.pharmacy-sale-layout{grid-template-columns:1fr}.sale-checkout{position:static}.pharmacy-form-grid.stock{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.void-form{grid-template-columns:1fr}}
@media(max-width:720px){.pharmacy-page{gap:12px}.pharmacy-hero{align-items:flex-start;flex-direction:column;padding:19px}.pharmacy-hero h1{font-size:25px}.pharmacy-header-actions{width:100%}.pharmacy-header-actions>*{flex:1}.pharmacy-kpis,.pharmacy-kpis.three,.pharmacy-form-grid,.pharmacy-form-grid.two,.pharmacy-form-grid.stock,.pharmacy-filters{grid-template-columns:1fr}.pharmacy-form-grid .span-2{grid-column:auto}.pharmacy-panel{padding:15px;border-radius:17px}.sale-item-row{grid-template-columns:1fr 90px}.sale-item-row label:first-child{grid-column:1/-1}.sale-item-row .line-total{padding-bottom:7px}.receipt-meta{grid-template-columns:1fr}.pharmacy-compact-list>div{align-items:flex-start}.pharmacy-table{min-width:720px}}
@media print{.no-print,.sidebar,.mobile-nav-toggle,.mobile-nav-backdrop,.topbar,.connection-banner{display:none!important}.app-layout{display:block!important}.page{max-width:none!important;padding:0!important}.pharmacy-page{display:block}.receipt-sheet{max-width:none;border:0!important;box-shadow:none!important}.receipt-sheet .pharmacy-table{min-width:0}.receipt-sheet .pharmacy-table-wrap{overflow:visible}.receipt-meta{grid-template-columns:repeat(4,1fr)}body{background:#fff!important}}
.customer-patient-grid{grid-template-columns:minmax(280px,620px)}
.pharmacy-clinical-customer{display:flex;align-items:center;gap:14px;margin-bottom:18px;padding:16px;border:1px solid #a7e2da;border-radius:16px;background:#f0fdfa}.pharmacy-context-avatar{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#ccfbf1;color:#0f766e;font-size:18px;font-weight:900}.pharmacy-clinical-customer>div:nth-child(2){display:flex;flex:1;flex-direction:column;gap:2px}.pharmacy-clinical-customer small,.pharmacy-clinical-customer span{color:#607184;font-size:12px}.pharmacy-clinical-customer strong{color:#102f3b;font-size:15px}.pharmacy-otc-badge{display:inline-flex;padding:7px 10px;border-radius:999px;background:#fff4d6!important;color:#8a5a00!important;font-weight:900;white-space:nowrap}@media(max-width:720px){.pharmacy-clinical-customer{align-items:flex-start;flex-wrap:wrap}.pharmacy-otc-badge{margin-left:58px}}
.clinical-sale-hero{padding:18px 22px!important;border-radius:20px}.clinical-sale-hero h1{font-size:27px}.clinical-sale-hero p{margin-top:4px}.clinical-sale-main .pharmacy-form-section:first-child{margin-bottom:12px;padding-bottom:10px}.pharmacy-context-identity{min-width:0}.pharmacy-context-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clinical-sale-main .pharmacy-form-section:not(:first-of-type){margin-top:20px}.clinical-sale-main .sale-item-row{background:#fff}.clinical-sale-main .pharmacy-add-row{margin-top:14px}@media(max-width:720px){.clinical-sale-hero{padding:16px!important}.clinical-sale-hero h1{font-size:23px}.pharmacy-context-identity strong{white-space:normal}}
