:root{--color-bg:#f1f5f9;--color-surface:#fafbfc;--color-surface-muted:#f1f5f9;--color-input-bg:#f8fafc;--color-sidebar:#e8ecf1;--color-border:#cbd5e1;--color-border-strong:#94a3b8;--color-text:#111827;--color-text-muted:#5b6574;--color-text-subtle:#9ca3af;--color-primary:#18395b;--color-primary-soft:#cfe2ff;--color-primary-hover:#122c46;--color-success:#16a34a;--color-success-soft:#dcfce7;--color-warning:#ca8a04;--color-warning-soft:#fef9c3;--color-danger:#dc2626;--color-danger-soft:#fee2e2;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-pill:999px;--shadow-card:0 1px 3px #0f172a14, 0 1px 2px #0f172a0f;--shadow-md:0 4px 14px #0f172a1a;--shadow-modal:0 25px 50px -12px #0f172a47;--font-sans:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;--sidebar-width:260px;color:#0f172a;background:#f1f5f9;font-family:Inter,Arial,sans-serif}body{background:linear-gradient(#f1f5f9 0%,#e2e8f0 100%);margin:0}.container{max-width:860px;margin:0 auto;padding:24px}.subtitle{color:#475569}.card{background:#fff;border:1px solid #cbd5e1;border-radius:14px;gap:10px;margin-bottom:12px;padding:18px;display:grid;box-shadow:0 4px 14px #0f172a0f}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;font:inherit;box-sizing:border-box;border:1px solid #94a3b8;border-radius:8px;margin-top:4px;padding:8px}button{color:#fff;cursor:pointer;background:#0ea5e9;border:0;border-radius:8px;padding:10px 14px}button.secondary{background:#64748b}.error{color:#b91c1c}.layout{grid-template-columns:260px 1fr;min-height:100vh;display:grid}.sidebar{color:#e2e8f0;background:linear-gradient(#0b132b,#172554);padding:20px}.roleHint{color:#c7d2fe;font-size:.86rem;line-height:1.4}.sidebar nav{gap:8px;display:grid}.sidebar a{color:#cbd5e1;border-radius:8px;padding:8px;text-decoration:none}.sidebar a.activeNav,.sidebar a:hover{color:#f8fafc;background:#1e293b}.workspace{grid-template-rows:auto 1fr;display:grid}.topbar{background:#fff;border-bottom:1px solid #dbeafe;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.topbar p{color:#64748b;margin:2px 0 0}.page{padding:22px}.stack{gap:12px;display:grid}.kpiGrid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.kpiValue{margin:0;font-size:1.7rem;font-weight:700}.chartRows{gap:8px;display:grid}.chartRow{grid-template-columns:180px 1fr 60px;align-items:center;gap:10px;display:grid}.barWrap{background:#e2e8f0;border-radius:999px;width:100%;height:14px;overflow:hidden}.bar{background:linear-gradient(90deg,#22d3ee,#0284c7);height:100%}.formGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.formGrid h3,.formGrid button,.fullWidth{grid-column:1/-1}table{border-collapse:collapse;width:100%;font-size:.93rem}th,td{text-align:left;border:1px solid #e2e8f0;padding:8px}th{background:#f8fafc}.twoCol{grid-template-columns:repeat(2,minmax(0,1fr))}.compactList{gap:4px;margin:0;padding-left:18px;display:grid}.topbarActions{align-items:center;gap:8px;display:flex}.pillLink{color:#1e293b;border:1px solid #cbd5e1;border-radius:999px;padding:7px 12px;font-size:.86rem;text-decoration:none}.threadList{gap:8px;margin:0;padding-left:0;list-style:none;display:grid}.threadList li{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px}.mutedBox{color:#475569;background:#f8fafc;border:1px dashed #94a3b8;border-radius:10px;padding:10px}.invoicePreview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.actionChips{flex-wrap:wrap;gap:8px;display:flex}.chip{color:#075985;background:#f0f9ff;border:1px solid #bae6fd;border-radius:999px;padding:8px 12px;font-size:.9rem;text-decoration:none}.landing{gap:22px;max-width:1120px;margin:0 auto;padding:24px;display:grid}.hero{grid-template-columns:1.4fr 1fr;gap:16px;display:grid}.heroText,.heroPanel{background:#fff;border:1px solid #cbd5e1;border-radius:18px;padding:22px;box-shadow:0 10px 20px #0f172a14}.eyebrow{color:#0369a1;text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:.82rem;font-weight:700}.heroText h1{margin:10px 0;font-size:2rem}.heroActions{gap:10px;margin-top:14px;display:flex}.primaryLink,.ghostLink{border-radius:10px;padding:10px 14px;text-decoration:none}.primaryLink{color:#fff;background:#0284c7}.ghostLink{color:#334155;border:1px solid #94a3b8}.alertBanner{border:1px solid #0000;border-radius:8px;padding:10px 14px;font-size:13.5px;line-height:1.5}.alertBannerWarning{color:#713f12;background:#fef9c3;border-color:#fde047}.alertBannerDanger{color:#7f1d1d;background:#fee2e2;border-color:#fca5a5}.alertBannerInfo{color:#1e3a8a;background:#dbeafe;border-color:#93c5fd}@media (width<=1024px){.layout{grid-template-columns:1fr}.sidebar{padding:14px}.hero,.twoCol,.chartRow{grid-template-columns:1fr}}body{font-family:var(--font-sans);color:var(--color-text);background:var(--color-bg)}input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),select,textarea{border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font:inherit;box-sizing:border-box}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--color-primary);box-shadow:0 0 0 1px var(--color-primary);outline:none}.layoutMockup{grid-template-columns:var(--sidebar-width) 1fr;height:100dvh;min-height:100vh;max-height:100dvh;display:grid;overflow:hidden}.sidebarLight{background:var(--color-sidebar);border-right:1px solid var(--color-border);flex-direction:column;min-height:0;padding:20px 12px 16px;display:flex;overflow:hidden}.sidebarBrand{border-bottom:1px solid var(--color-border);flex-shrink:0;align-items:center;gap:10px;margin-bottom:12px;padding:8px 8px 20px;display:flex}.sidebarLogoIcon{background:var(--color-primary-soft);width:40px;height:40px;color:var(--color-primary);border-radius:10px;justify-content:center;align-items:center;display:flex}.sidebarLogoIconImg{object-fit:cover;border-radius:10px;flex-shrink:0;width:40px;height:40px}.sidebarLogoTitle{color:var(--color-primary);font-size:1.1rem;font-weight:800;line-height:1.1}.sidebarLogoSub{color:var(--color-text-muted);font-size:.75rem}.sidebarNav{flex-direction:column;flex:1;gap:4px;min-height:0;display:flex;overflow-y:auto}.sidebarLink{border-radius:var(--radius-sm);color:var(--color-text);border-left:3px solid #0000;align-items:center;gap:10px;padding:10px 12px;font-size:.92rem;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.sidebarLink:hover{color:var(--color-primary);background:#2563eb0f}.sidebarLinkActive,.sidebarNav .sidebarLinkActive:hover{background:var(--color-primary);color:#fff;border-left-color:var(--color-primary);font-weight:600}.sidebarFooter{border-top:1px solid var(--color-border);flex-shrink:0;align-items:center;gap:10px;margin-top:auto;padding-top:16px;display:flex}.sidebarUserMeta{flex:1;min-width:0}.sidebarUserMeta strong{font-size:.88rem;display:block}.sidebarUserMeta span{color:var(--color-text-muted);font-size:.72rem}.workspaceMain{background:var(--color-bg);flex-direction:column;height:100%;min-height:0;max-height:100dvh;display:flex;overflow:hidden}.topbarLight{background:var(--color-surface);border-bottom:1px solid var(--color-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:14px 24px;display:flex}@media (width>=961px){.topbarLight{display:none}}.topbarLight h1.pageTitleSm{margin:0;font-size:1rem;font-weight:600}.pageShell{box-sizing:border-box;flex-direction:column;flex:1;width:100%;max-width:none;min-height:0;padding:24px;display:flex;overflow:hidden}.pageContent{box-sizing:border-box;flex-direction:column;flex:1;width:100%;max-width:1280px;min-height:0;margin-left:auto;margin-right:auto;display:flex}.workspaceMain,.workspaceMain *{scrollbar-width:thin;scrollbar-color:#64748b73 transparent}.workspaceMain ::-webkit-scrollbar{width:10px;height:10px}.workspaceMain ::-webkit-scrollbar-track{background:0 0}.workspaceMain ::-webkit-scrollbar-thumb{background:#64748b73;border-radius:999px}.workspaceMain ::-webkit-scrollbar-corner{background:0 0}.workspaceMain ::-webkit-scrollbar-button{width:0;height:0;display:none}.pageContent>section,.pageContent>div:not(.pageContentInner){flex:1;min-height:0;overflow:hidden auto}@media (height<=700px){.pageShell{overflow-y:auto}.pageContent>section,.pageContent>div:not(.pageContentInner){flex:none;overflow-y:visible}.pageContent>.notifSection,.pageContent>.messagesPageSection,.pageContent>.secPatientsSection,.pageContent>.docPatientRecordsSection,.pageContent>.certRequestsSection,.pageContent>.staffDashSection,.pageContent>.secDashSection,:is(.pageContent>section.staffScheduleSection:has(.secScheduleOverview),.pageContent>section.staffScheduleSection:has(.secScheduleOverviewClinical),.pageContent>section.staffScheduleSection:has(.secSchedulePersonnelView)){flex:1;min-height:0;overflow:hidden}:is(.pageShell:has(.staffScheduleSection:has(.secScheduleOverview)),.pageShell:has(.staffScheduleSection:has(.secScheduleOverviewClinical)),.pageShell:has(.staffScheduleSection:has(.secSchedulePersonnelView))){overflow:hidden}.userMgmtSection .userMgmtTableWrap{flex:none;max-height:min(420px,50vh)}.userMgmtSection .userMgmtToolbarRow{flex-direction:column;align-items:stretch}.userMgmtSection .userMgmtToolbarRow .searchInputWrap{width:100%}.userMgmtSection .userMgmtFilterRow{flex-wrap:wrap}.patientPaySection .patientPayToolbarRow,.patientPaySection .patientPayFilterRow{flex-direction:column;align-items:stretch}.pageContent>.mrPersonnelDetailSection{flex:none;overflow-y:visible}.mrPersonnelDetailSection .mrDetailScrollBody{flex:none;max-height:min(480px,55vh)}.pageContent>.mrPatientDetailSection{flex:none;overflow-y:visible}.mrPatientDetailSection .mrDetailScrollBody{flex:none;max-height:min(480px,55vh)}.mrPatientDetailSection .mrDetailScrollBody--recordsTab,.mrPatientDetailSection .mrDetailScrollBody--transactionsTab{max-height:min(480px,55vh);overflow:hidden}.patientRecordTxnHistoryScroll{height:min(var(--record-list-scroll-height-txn,calc(136px * 3.5)), 40vh);max-height:min(var(--record-list-scroll-height-txn,calc(136px * 3.5)), 40vh);flex:none}.mrDocListScroll--embedded{height:min(var(--record-list-scroll-height,calc(118px * 3.5)), 40vh);max-height:min(var(--record-list-scroll-height,calc(118px * 3.5)), 40vh);flex:none}.activityHistoryListScroll{height:min(calc(var(--activity-history-row-height) * var(--activity-history-visible-rows,3.5)), 40vh);max-height:min(calc(var(--activity-history-row-height) * var(--activity-history-visible-rows,3.5)), 40vh)}.patientPaySection .payTransactionsListBody{flex:1;min-height:0;max-height:none}.pageContent>.patientPaySection{flex:1;min-height:0;overflow:hidden}.patientPaySection .payTransactionsListBody>.patientPayStaffListScroll{flex:1;min-height:0;max-height:min(420px,50vh)}.patientPaySection .patientPayCategoryListScroll{max-height:min(var(--patient-pay-category-list-cap), 22vh)}}.pageContent:has(.messagesPageSection){width:100%;max-width:none;margin-left:0;margin-right:0}.pageShell:has(.notifSection){box-sizing:border-box;flex-direction:column;width:100%;padding:24px 0 24px 24px;display:flex;overflow:hidden}.pageShell:has(.notifSection) .pageContent{flex-direction:column;flex:1;min-height:0;display:flex}.pageContent>.notifSection{overflow:hidden}.pageContent:has(.notifSection)>.notifSection{box-sizing:border-box;flex:1;width:100%;min-height:0;padding-right:24px}@media (width<=960px){.pageShell:has(.notifSection){padding:16px 0 16px 16px}.pageContent:has(.notifSection)>.notifSection{padding-right:16px}}.pageContent:has(.certRequestsSection){width:100%;max-width:none;margin-left:0;margin-right:0}.pageShell:has(.certRequestsSection){box-sizing:border-box;flex-direction:column;width:100%;padding:24px 0 24px 24px;display:flex;overflow:hidden}.pageShell:has(.certRequestsSection) .pageContent{flex-direction:column;flex:1;min-height:0;display:flex}.pageContent>.certRequestsSection{overflow:hidden}.pageContent:has(.certRequestsSection)>.certRequestsSection{box-sizing:border-box;flex:1;width:100%;min-height:0;padding-right:24px}@media (width<=960px){.pageShell:has(.certRequestsSection){padding:16px 0 16px 16px}.pageContent:has(.certRequestsSection)>.certRequestsSection{padding-right:16px}}.pageContent:has(.secPatientsSection){width:100%;max-width:none;margin-left:0;margin-right:0}.pageShell:has(.secPatientsSection){box-sizing:border-box;flex-direction:column;width:100%;padding:24px 0 24px 24px;display:flex;overflow:hidden}.pageShell:has(.secPatientsSection) .pageContent{flex-direction:column;flex:1;min-height:0;display:flex}.pageContent>.secPatientsSection{overflow:hidden}.pageContent:has(.secPatientsSection)>.secPatientsSection{box-sizing:border-box;flex:1;width:100%;min-height:0;padding-right:24px}@media (width<=960px){.pageShell:has(.secPatientsSection){padding:16px 0 16px 16px}.pageContent:has(.secPatientsSection)>.secPatientsSection{padding-right:16px}}.pageContent:has(.docPatientRecordsSection){width:100%;max-width:none;margin-left:0;margin-right:0}.pageShell:has(.docPatientRecordsSection){box-sizing:border-box;flex-direction:column;width:100%;padding:24px 0 24px 24px;display:flex;overflow:hidden}.pageShell:has(.docPatientRecordsSection) .pageContent{flex-direction:column;flex:1;min-height:0;display:flex}.pageContent>.docPatientRecordsSection{overflow:hidden}.pageContent:has(.docPatientRecordsSection)>.docPatientRecordsSection{box-sizing:border-box;flex:1;width:100%;min-height:0;padding-right:24px}@media (width<=960px){.pageShell:has(.docPatientRecordsSection){padding:16px 0 16px 16px}.pageContent:has(.docPatientRecordsSection)>.docPatientRecordsSection{padding-right:16px}}.docPatientRecordsSection{box-sizing:border-box;flex-direction:column;flex:1;gap:12px;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.docPatientRecordsSection .pageHead,.docPatientRecordsSection>.error{flex-shrink:0}.docPatientRecordsHub{box-sizing:border-box;flex-direction:column;flex:1;gap:12px;width:100%;min-width:0;min-height:0;display:flex}.docPatientRecordsHub>.error{flex-shrink:0;margin:0}.docPatientRecordsHub .refQueueCard{flex-shrink:0;margin-bottom:0}.pageShell:has(.messagesPageSection) .pageContent{flex-direction:column;flex:1;min-height:0;display:flex}.pageContent>.messagesPageSection{overflow:hidden}.sidebarMenuBtn{border:1px solid var(--color-border);background:var(--color-surface);width:40px;height:40px;color:var(--color-text);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;display:none}.sidebarBackdrop{display:none}.userMgmtRecordStack{flex-direction:column;gap:16px;width:100%;display:flex}.userMgmtRecordStack>*{box-sizing:border-box;width:100%}.pageHead{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.pageHead h1{margin:0 0 6px;font-size:1.5rem;font-weight:700}.pageHead .subtitle{color:var(--color-text-muted);margin:0;font-size:.95rem}.surface-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:18px}.btn{font:inherit;cursor:pointer;border-radius:var(--radius-sm);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:.9rem;font-weight:600;display:inline-flex}.btn-primary{background:var(--color-primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--color-primary-hover)}.btn-secondary{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border-strong)}.btn-outline{border-color:var(--color-primary);color:var(--color-primary);background:0 0}.btn-danger{background:var(--color-danger-soft);color:var(--color-danger);border-color:#fecaca}.btn-ghost{color:var(--color-text-muted);background:0 0}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-sm{padding:6px 12px;font-size:.82rem}a.btn{box-sizing:border-box;text-decoration:none}.badge{border-radius:var(--radius-pill);text-transform:capitalize;align-items:center;padding:2px 10px;font-size:.72rem;font-weight:700;display:inline-flex}.badge-neutral{background:var(--color-sidebar);color:#4b5563}.badge-success{background:var(--color-success-soft);color:var(--color-success)}.badge-warning{background:var(--color-warning-soft);color:var(--color-warning)}.badge-danger{background:var(--color-danger-soft);color:var(--color-danger)}.badge-info{background:var(--color-primary-soft);color:var(--color-primary)}.badge-violet{color:#6d28d9;background:#ede9fe}.avatar{background:var(--color-primary-soft);color:var(--color-primary);border-radius:999px;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.avatar-sm{width:32px;height:32px;font-size:.72rem}.avatar-md{width:40px;height:40px;font-size:.82rem}.avatar-lg{width:56px;height:56px;font-size:1rem}.avatar-xl{width:72px;height:72px;font-size:1.2rem}.avatar-img{padding:0;overflow:hidden}.avatar-img img{object-fit:contain;object-position:center;width:100%;height:100%;display:block}.tabsBar{border-radius:var(--radius-pill);background:#eef2f7;gap:8px;margin-bottom:18px;padding:6px;display:inline-flex}.tabBtn{border-radius:var(--radius-pill);font:inherit;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:8px 18px;font-size:.88rem;font-weight:600;display:inline-flex}.tabBtnActive{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-card)}.tabsBarSecSchedule{background:#eef2f7;border-radius:999px;gap:6px;padding:6px 8px}.tabsBarSecSchedule .tabBtn{padding:8px 16px;font-size:.84rem}.tabBadge{background:var(--color-danger);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.65rem;display:inline-flex}.modalOverlay{z-index:1000;background:#0f172a73;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modalOverlayRaised{z-index:1100}.modalHeader{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.modalHeaderText{flex:1;min-width:0}.modalHeaderMeta{color:var(--color-text-muted);flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:6px;font-size:.85rem;display:flex}.announcementPostedTime:before{content:"·";color:var(--color-text-muted);margin-right:14px}.modalHeader h2{margin:0;font-size:1.1rem}.modalPanel{background:var(--color-surface);border-radius:var(--radius-md);box-shadow:var(--shadow-modal);width:100%;max-width:520px;max-height:90vh;overflow:auto}.modalClose{cursor:pointer;color:var(--color-text-muted);background:0 0;border:0;flex-shrink:0;padding:4px}.modalBody{gap:14px;padding:18px;display:grid}.modalFooter{border-top:1px solid var(--color-border);justify-content:flex-end;align-items:stretch;gap:10px;padding:14px 18px;display:flex}.modalActions{justify-content:flex-end;gap:10px;display:flex}.modalActionsSplit{justify-content:space-between;align-items:center;width:100%}.modalActionsRight{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.modalFooter .modalActionsWrap,.modalFooter .modalActions{width:100%}.modalPanelLandscape{flex-direction:column;max-width:min(980px,96vw);max-height:94vh;display:flex;overflow:hidden}.modalPanelPayInvoice{max-width:min(760px,96vw)}.modalPanelImageLightbox{max-width:min(920px,96vw)}.payDiscountIdThumbInteractive{gap:8px}.payDiscountIdThumbBtn{border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:zoom-in;background:#fff;width:100%;padding:0;display:block;overflow:hidden}.payDiscountIdThumbBtn img{object-fit:contain;width:100%;max-height:180px;display:block}.payDiscountIdThumbActions{flex-wrap:wrap;gap:6px;display:flex}.payDiscountIdLightboxImg{object-fit:contain;width:100%;max-height:72vh;margin:0 auto;display:block}.patientOrdMyOrdersList .patientOrdMyOrderItem{grid-template-rows:auto auto auto auto;grid-template-columns:1fr auto}.patientOrdMyOrdersList .patientOrdMyOrderItem .ordProductSimpleName{grid-area:1/1}.patientOrdMyOrdersList .patientOrdMyOrderItem .ordProductSimpleDesc{grid-area:2/1}.patientOrdMyOrdersList .patientOrdMyOrderItem .ordProductListStock{grid-area:3/1}.patientOrdMyOrdersList .patientOrdMyOrderItem .patientOrdOrderAside{flex-direction:column;grid-area:1/2/span 2;align-items:flex-end;gap:6px;display:flex}.patientOrdMyOrdersList .patientOrdMyOrderItem .patientOrdOrderAside .ordProductListPrice{grid-area:auto}.patientOrdMyOrdersList .patientOrdMyOrderItem .ordProductListActions{grid-area:3/2/span 2}.patientOrdOrderStatus{color:var(--color-text-muted);text-align:right;font-size:.78rem;font-weight:700}.modalPanelLandscape .modalBody{flex:auto;min-height:0;padding:12px 16px;overflow:hidden}.modalPanelEmrViewer{width:min(1280px,98vw);max-width:min(1280px,98vw)}.modalPanelEmrViewer .modalBody{padding:14px 16px 16px}.emrDocViewerLayout{flex-direction:column;gap:14px;display:flex}.emrDocViewerHeader{border-bottom:1px solid var(--color-border);grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px 16px;padding-bottom:12px;display:grid}.emrDocViewerMetaItem{flex-direction:column;gap:4px;min-width:0;display:flex}.emrDocViewerMetaLbl{letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-muted);font-size:.72rem;font-weight:700}.emrDocViewerPanels{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.emrDocViewerPanel{aspect-ratio:1;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#ffffffb8;flex-direction:column;width:100%;max-height:min(52vh,420px);display:flex;overflow:hidden}.emrDocViewerPanelBody{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.emrDocViewerPanelTitle{letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid var(--color-border);background:#0f172a08;margin:0;padding:10px 12px;font-size:.78rem;font-weight:800}.emrDocViewerPanelTitleRow{border-bottom:1px solid var(--color-border);background:#0f172a08;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.emrDocViewerPanelTitleRow .emrDocViewerPanelTitle{background:0 0;border:0;padding:0}.emrDocViewerSourceTag{color:var(--color-text-muted);white-space:nowrap;font-size:.72rem;font-weight:600}.emrDocViewerFileFrame,.emrDocViewerImage{background:var(--color-surface-muted);object-fit:contain;border:0;width:100%;height:100%;min-height:0}.emrDocViewerTextFile,.emrDocViewerExtractBody,.emrDocViewerExtractEdit{white-space:pre-line;word-break:break-word;box-sizing:border-box;flex:1;width:100%;min-height:0;margin:0;padding:12px;font-family:inherit;font-size:.86rem;line-height:1.5;overflow:auto}.emrDocViewerExtractEdit{resize:none;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff}.emrDocViewerExtractEditActions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;padding:0 12px 12px;display:flex}.emrDocViewerEmpty{color:var(--color-text-muted);margin:0;padding:16px 12px;font-size:.9rem}.emrDocViewerFooter{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;width:100%}.emrDocViewerFooterLeft{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.emrDocViewerVerifyHint{color:var(--color-text-muted);max-width:420px;font-size:.82rem}.emrDocViewerFooterActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.modalPanel.modalPanelEmrUpload{flex-direction:column;width:min(960px,96vw);max-width:min(960px,96vw);max-height:92vh;display:flex;overflow:hidden}.modalPanelEmrUpload .modalBody{flex:1;min-height:0;padding:14px 16px 16px;display:block;overflow-y:auto}.modalPanelEmrUpload .modalFooter{flex-shrink:0;overflow:visible}.modalActionsEmrUpload{flex-wrap:wrap;justify-content:flex-end;gap:10px;width:100%}.staffPayToolbarRow{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.staffPayToolbarStack{flex-direction:column;gap:10px;margin-bottom:8px;display:flex}.staffPayToolbarTop{width:100%;margin-bottom:0}.staffPayFilterRow{margin-bottom:0}.staffPayFlatList{flex-direction:column;gap:10px;display:flex}.patientPaySection .payTransactionsListBody>.staffPayFlatList,.patientPaySection .payTransactionsListBody>.patientPayFlatList{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow-y:auto}.staffPayToolbarSelect{min-width:168px}.staffPayToolbarSearch{flex:220px;min-width:200px}.refPatientSortLabel{align-items:center;gap:8px;display:flex}.refPatientSortByText{color:var(--color-text-muted);white-space:nowrap;font-size:.82rem;font-weight:600}.mrDocFilterRow{flex-wrap:wrap;align-items:flex-end;gap:10px 14px;display:flex}.mrDocFilterField{flex-direction:column;gap:4px;min-width:160px;display:flex}.mrDocFilterLabel{color:var(--color-text-muted);font-size:.78rem;font-weight:600}.certRequestsToolbar{flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.certRequestsToolbarTop{width:100%;margin-bottom:0}.certRequestsSearchWrap{background:0 0;border:0;padding:0}.certRequestsSearchWrap .searchInputWrap{width:100%}.mrDocToolbarTop{width:100%;margin-bottom:0}.certRequestsFilterRow{flex-wrap:wrap;align-items:flex-end;gap:10px 14px;display:flex}.certRequestsFilterField{min-width:180px;color:var(--color-text-muted);flex-direction:column;gap:4px;font-size:.78rem;font-weight:600;display:flex}.adminDashQueueEmpty{text-align:center;color:var(--color-text-muted);padding:16px}.emrUploadLayout{grid-template-columns:1fr 1fr;align-items:start;gap:20px 28px;display:grid}.emrUploadMetaColumn,.emrUploadFileColumn{flex-direction:column;gap:14px;min-width:0;display:flex;overflow:visible}.emrUploadLinkDateField .emrUploadCheckRow{color:var(--color-text);font-weight:400}.fieldGroup{flex-direction:column;gap:4px;margin-bottom:12px;display:flex}.fieldGroupLabel{color:var(--color-text-secondary,#64748b);flex-wrap:wrap;align-items:center;gap:2px;font-size:.78rem;font-weight:600;display:inline-flex}.fieldLabelOptional{color:var(--color-text-muted,#94a3b8);margin-left:4px;font-size:.72rem;font-weight:400}.emrFileLabel{flex-direction:column;gap:4px}.emrSectionTitle{color:var(--color-text,#1e293b);margin-top:2px;margin-bottom:10px;font-size:.85rem;font-weight:700}.emrPreviewModal{width:min(960px,96vw);max-width:min(960px,96vw);max-height:88vh}.emrPreviewPopupLayout{gap:20px;height:520px;display:flex}.emrPreviewPopupPdf{flex:0 0 58%;min-width:0}.emrPreviewIframe{border:1px solid var(--color-border,#e2e8f0);background:#fff;border-radius:6px;width:100%;height:100%}.emrPreviewPlaceholder{background:var(--color-bg-subtle,#f8fafc);border:1px dashed var(--color-border,#e2e8f0);width:100%;height:100%;color:var(--color-text-muted);border-radius:6px;justify-content:center;align-items:center;font-size:.85rem;display:flex}.emrPreviewPopupFields{flex-direction:column;flex:42%;gap:14px;min-width:240px;padding-right:4px;display:flex;overflow-y:auto}.emrPreviewHint{color:var(--color-text-muted,#94a3b8);margin-bottom:2px;font-size:.76rem}.emrUploadCheckRow{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;width:fit-content;max-width:100%;margin:0;font-size:.92rem;line-height:1.35;display:inline-flex}.emrUploadCheckRow input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:0}.emrUploadCheckRow span{flex:auto;min-width:0}.emrUploadVisitHint{color:var(--color-text-muted);margin:0;font-size:.85rem;line-height:1.45}.emrUploadSelectedFile{color:var(--color-text-muted);margin:-4px 0 0;font-size:.88rem}.emrUploadTextarea{resize:vertical;min-height:140px}@media (width<=720px){.emrUploadLayout{grid-template-columns:1fr}}@media (width<=900px){.emrDocViewerPanels{grid-template-columns:1fr}.emrDocViewerPanel{max-height:min(45vh,360px)}}.searchInputWrap{width:100%;position:relative}.searchIcon{color:var(--color-text-subtle);position:absolute;top:50%;left:12px;transform:translateY(-50%)}.searchInput{border-radius:var(--radius-pill)!important;border:1px solid var(--color-border)!important;background:var(--color-input-bg)!important;border-color:var(--color-border-strong)!important;padding-left:40px!important}.kpiStatCard{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.kpiStatCard .kpiIcon{border-radius:999px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.docRow{border-bottom:1px solid var(--color-border);background:var(--color-surface);grid-template-columns:auto 1fr auto;align-items:start;gap:16px;padding:18px;display:grid}.docRow:last-child{border-bottom:0}.docRow--card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);margin-bottom:12px;padding:16px}.docRow--card:last-child{margin-bottom:0}.docRowMain{min-width:0}.docRowTitleRow{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:4px;display:flex}.docRowTitle{font-size:1.05rem;font-weight:800;line-height:1.2}.docRowDesc{color:var(--color-text-muted);margin:0 0 4px;font-size:.88rem}.docRowMeta{color:var(--color-text-muted);margin:0;font-size:.82rem;line-height:1.35}.docRowActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.refConsultationDocActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.ordersScrollList{max-height:min(480px,52vh);margin-bottom:8px;padding-right:4px;overflow-y:auto}.orderCardMock{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);margin-bottom:12px;padding:16px}.orderCardStaffClickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.orderCardStaffClickable:hover,.orderCardStaffClickable:focus-visible{border-color:#94a3b8;outline:none;box-shadow:0 2px 8px #0f172a14}.orderCardStaffSummary{justify-content:space-between;align-items:center;gap:16px;display:flex}.orderCardStaffSummaryMain{flex:1;min-width:0}.orderCardStaffSummaryBadge{flex-shrink:0;margin-left:auto}.orderCardStaffSummaryAside{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:8px;margin-left:auto;display:flex}.orderCardStaffSummaryPrice{color:var(--color-text);white-space:nowrap;font-size:1rem;font-weight:800}.orderCardStaffStatusSelect{min-width:148px;font-size:.85rem}.staffOrdersStatusTabs{margin-top:12px;margin-bottom:12px}.orderDetailLineMain{flex-wrap:wrap;align-items:baseline;gap:8px;min-width:0;display:flex}.orderDetailLineQty{color:var(--color-text-muted);font-size:.88rem}.orderDetailLinePrice{white-space:nowrap;font-weight:700}.orderDetailGrid{grid-template-columns:1fr 1fr;gap:14px 20px;display:grid}.orderDetailGridFull{grid-column:1/-1}.orderDetailLines{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.orderDetailLines li{border:1px solid var(--color-border);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:.9rem;display:flex}.orderDetailLines li span.orderDetailLineQty{color:var(--color-text-muted)}.orderCardHead{justify-content:space-between;align-items:flex-start;margin-bottom:10px;display:flex}.orderCardStaffFig .orderCardHead{margin-bottom:0}.orderCardStaffRow{grid-template-columns:1fr minmax(200px,260px);align-items:stretch;gap:18px;display:grid}@media (width<=720px){.orderCardStaffRow{grid-template-columns:1fr}.orderCardStaffAside{border-top:1px solid var(--color-border);padding-top:14px;border-left:0!important;padding-left:0!important}}.orderCardStaffMain{min-width:0}.orderCardStaffTitle{font-size:1rem;font-weight:700;line-height:1.35;display:block}.orderCardStaffPrice{color:var(--color-text);margin:6px 0 0;font-size:1.05rem;font-weight:700}.orderCardStaffMeta{color:var(--color-text-muted);margin:4px 0 0;font-size:.88rem}.orderCardStaffLines,.orderCardStaffExtraLines{color:var(--color-text-muted);margin:10px 0 0;padding-left:18px;font-size:.88rem}.orderCardStaffAside{border-left:1px solid var(--color-border);flex-direction:column;gap:10px;min-width:0;padding-left:18px;display:flex}.orderCardStaffStatusLabel{flex-direction:column;gap:6px;margin:0;display:flex}.staffOrdCatalogCard{margin-bottom:16px}.staffOrdCatalogHint{color:var(--color-text-muted);margin:0 0 14px;font-size:.86rem}.staffOrdProductCardReadonly{cursor:default;opacity:.98}.staffOrdProductCardReadonly .patientOrdProductFootRow{flex-wrap:wrap;justify-content:space-between;gap:8px}.chatLayout{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-sizing:border-box;grid-template-columns:minmax(240px,32%) minmax(0,1fr);gap:0;width:100%;min-width:0;min-height:420px;display:grid;overflow:hidden}.chatThreads{border-right:1px solid var(--color-border);background:#fafafa}.chatThreadItem{cursor:pointer;text-align:left;width:100%;font:inherit;color:inherit;background:0 0;border:0;padding:12px 14px}.chatThreadItem.active{background:var(--color-primary-soft);border-left-color:var(--color-primary)}.chatPane{flex-direction:column;padding:0;display:flex}.chatHeaderBar{border-bottom:1px solid var(--color-border);padding:14px 18px}.chatMessages{flex-direction:column;flex:1;gap:10px;padding:16px;display:flex;overflow-y:auto}.bubbleStaff{background:var(--color-primary);color:#fff;border-radius:14px 14px 4px;align-self:flex-end;max-width:78%;padding:10px 14px}.bubblePatient{background:var(--color-sidebar);color:var(--color-text);border-radius:14px 14px 14px 4px;align-self:flex-start;max-width:78%;padding:10px 14px}.chatComposer{border-top:1px solid var(--color-border);gap:8px;padding:12px;display:flex}.chatComposer input{flex:1;margin-top:0!important}.inventoryCard{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:16px}.inventoryStockRow{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:10px 0 8px;display:flex}.inventoryStockLabel{color:var(--color-text-muted);font-size:.82rem;font-weight:600}.inventoryStockActions{align-items:center;gap:8px;display:flex}.ordProductSimpleList{flex-direction:column;gap:10px;display:flex}.ordProductListType{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:0;overflow:hidden}.ordProductListType .ordProductListItem{border-bottom:1px solid var(--color-border);grid-template-rows:auto auto auto;grid-template-columns:1fr auto;align-items:start;gap:4px 20px;padding:14px 16px;display:grid}.ordProductListType .ordProductListItem:last-child{border-bottom:none}.ordProductListItemClickable{cursor:pointer}.ordProductListItemClickable:hover,.ordProductListItemClickable:focus-visible{background:var(--color-surface-muted)}.ordProductListType .ordProductSimpleName{grid-area:1/1;margin:0;font-size:.95rem;font-weight:700}.ordProductListType .ordProductListPrice{color:var(--color-text);text-align:right;white-space:nowrap;grid-area:1/2;font-size:.95rem;font-weight:800}.ordProductListType .ordProductSimpleDesc{color:var(--color-text-muted);grid-area:2/1;margin:0;font-size:.82rem;line-height:1.35}.ordProductListType .ordProductListStock{color:var(--color-text-muted);text-align:left;white-space:nowrap;grid-area:3/1;font-size:.82rem;font-weight:600}.ordProductListActions{grid-area:2/2/span 2;justify-content:flex-end;align-items:flex-start;display:flex}.ordProductListEmpty{margin:0;padding:14px 16px}.ordProductSimpleName{font-size:.95rem;font-weight:700}.ordProductNameRow{flex-wrap:wrap;align-items:baseline;gap:.35rem;display:flex}.ordProductBrand{color:var(--color-text-muted);font-size:.95rem;font-weight:400}.ordProductSimpleDesc{color:var(--color-text-muted);margin:0;font-size:.82rem;line-height:1.35}.ordProductSimpleMeta{color:var(--color-text);margin:0;font-size:.88rem;font-weight:600}.inventoryCard .ordProductNameRow{margin-bottom:2px}.inventoryCard .ordProductNameRow .ordProductSimpleName{margin-bottom:0;display:inline}.inventoryCard .ordProductSimpleDesc,.inventoryCard .ordProductSimpleMeta{margin-bottom:2px}.inventoryDeleteIconBtn{color:#b91c1c;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;justify-content:center;align-items:center;padding:6px;display:inline-flex}.inventoryDeleteIconBtn:hover{background:#fee2e2}.stockBar{background:var(--color-border);border-radius:999px;height:8px;margin:8px 0;overflow:hidden}.stockBar>div{background:linear-gradient(90deg,#22c55e,#16a34a);border-radius:999px;height:100%}.invoiceListCard{border:1px solid var(--color-border);border-radius:var(--radius-md);grid-template-columns:auto 1fr auto;align-items:start;gap:14px;margin-bottom:12px;padding:16px;display:grid}.notifSection{box-sizing:border-box;flex-direction:column;flex:1;gap:12px;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.notifSection .pageHead,.notifSection>.error{flex-shrink:0}.notifSection .pageHead{flex-wrap:wrap;gap:12px;margin-bottom:0}.notifList{box-sizing:border-box;overscroll-behavior:contain;flex:1;width:100%;min-width:0;min-height:0;overflow-y:auto}.notifRow{border-bottom:1px solid var(--color-border);box-sizing:border-box;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;width:100%;min-width:0;padding:16px 0;display:grid}.notifRowRead{opacity:.72}.notifRowClickable{cursor:pointer}.notifRowContent{min-width:0}.notifRowContent strong{word-break:break-word;display:block}.notifAnnouncementTitle{word-break:break-word;margin:4px 0 0;font-size:.95rem;font-weight:600}.notifRowBody{color:var(--color-text-muted);word-break:break-word;margin:6px 0 0;font-size:.88rem}.notifRowTime{color:var(--color-text-subtle);margin:4px 0 0;font-size:.8rem}.notifRowActions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;display:flex}.notifUnreadDot{background:var(--color-primary);border-radius:999px;flex-shrink:0;width:8px;height:8px}@media (width<=720px){.notifRow{grid-template-columns:auto minmax(0,1fr)}.notifRowActions{grid-column:1/-1;justify-content:flex-start;padding-left:54px}.notifPageHead{flex-direction:column;align-items:stretch}.notifPageHead>div:last-child .btn{width:100%}}.backLink,button.backLink{color:var(--color-text-muted);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:0;align-items:center;gap:6px;margin-bottom:12px;padding:0;font-size:.9rem;text-decoration:none;display:inline-flex}.backLink:hover,button.backLink:hover{color:var(--color-primary)}.selectMock{border:1px solid var(--color-border);border-radius:var(--radius-sm);font:inherit;background:var(--color-surface);min-width:160px;min-height:30px;padding:4px 10px;font-size:.85rem;line-height:1.25}.selectMockDropdown{width:100%;min-width:0;position:relative}.selectMockDropdownTrigger{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0;min-height:30px;padding:4px 10px;font-size:.85rem;line-height:1.25;display:flex}.selectMockDropdownTrigger:disabled{cursor:not-allowed;opacity:.65}.selectMockDropdownValue{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--color-text);flex:auto;font-weight:400;overflow:hidden}.selectMockDropdownValuePlaceholder{color:var(--color-text-muted)}.selectMockDropdownChevron{color:var(--color-text-muted);flex-shrink:0;transition:transform .15s}.selectMockDropdownOpen .selectMockDropdownChevron{transform:rotate(180deg)}.selectMockDropdownMenu{z-index:40;overscroll-behavior:contain;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-sm);max-height:min(280px,42vh);box-shadow:var(--shadow-card);position:absolute;inset:calc(100% + 4px) 0 auto;overflow-y:auto}.modalPanel .selectMockDropdownMenu{z-index:60}.selectMockDropdownGroupLabel{color:var(--color-text-muted);padding:8px 12px 4px;font-size:.75rem;font-weight:700}.selectMockDropdownOption{width:100%;font:inherit;font-size:inherit;color:var(--color-text);text-align:left;cursor:pointer;background:0 0;border:none;padding:8px 12px;font-weight:400;display:block}.selectMockDropdownOption:hover,.selectMockDropdownOptionSelected{background:var(--color-primary-soft)}.selectMockDropdownGroupBlock+.selectMockDropdownGroupBlock .selectMockDropdownGroupLabel{border-top:1px solid var(--color-border);margin-top:4px;padding-top:10px}.docIconWrap{background:var(--color-primary-soft);border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.docIconRx{color:#2563eb}.docIconLab{color:#16a34a}.fileDropMock{border:2px dashed var(--color-border-strong);border-radius:var(--radius-md);text-align:center;color:var(--color-text-muted);background:#fafafa;padding:32px}.notifIconSq{border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.calendarGrid{text-align:center;grid-template-columns:repeat(7,1fr);gap:4px;font-size:.8rem;display:grid}.calendarDay{cursor:default;border-radius:8px;padding:8px 4px}.calendarDayMuted{color:var(--color-text-subtle)}.calendarDaySelected{color:#fff;background:#111827}.calendarDayDot:after{content:"";background:var(--color-primary);border-radius:999px;width:4px;height:4px;margin:4px auto 0;display:block}.filterPills{border-radius:var(--radius-pill);background:#eef2f7;flex-wrap:wrap;gap:8px;margin-bottom:16px;padding:6px;display:inline-flex}.filterPill{color:var(--color-text-muted);border-radius:var(--radius-pill);font:inherit;cursor:pointer;background:0 0;border:0;padding:8px 18px;font-size:.88rem;font-weight:600}.filterPillActive{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-card)}.formGridMock{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.apptRequestFormGrid{align-items:start}.apptRequestField{align-self:start}.apptRequestFieldHead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.apptServicePrice{color:var(--color-primary);white-space:nowrap;font-size:.82rem;font-weight:700}.apptRequestSelect{align-self:start;width:100%;max-width:100%;height:auto;min-height:42px}.apptRequestHint{color:var(--color-text-muted);margin-top:4px;font-size:.82rem;font-weight:500;line-height:1.35;display:block}.apptPackageIncludes{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted,#f8fafc);margin-top:8px;padding:10px 12px}.apptPackageIncludesList{color:var(--color-text-muted);margin:6px 0 0;padding-left:1.25rem;font-size:.82rem;line-height:1.45}.apptPackageIncludesList li+li{margin-top:2px}.apptRequestField input[type=date]{border:1px solid var(--color-border);border-radius:var(--radius-sm);width:100%;font:inherit;background:var(--color-surface);box-sizing:border-box;padding:10px 12px}@media (width<=640px){.formGridMock{grid-template-columns:1fr}}.tableMock{border-collapse:collapse;width:100%;font-size:.88rem}.tableMock th,.tableMock td{border:1px solid var(--color-border);text-align:left;padding:10px 12px}.tableMock th{background:var(--color-input-bg);color:var(--color-text-muted);text-transform:uppercase;font-size:.72rem;font-weight:600}.loginDiagnosticWrap{background:linear-gradient(#e8eef5 0%,#dce4ee 100%);flex-direction:column;align-items:center;height:100dvh;max-height:100dvh;padding:24px 16px 40px;display:flex;position:relative;overflow:hidden}.loginDiagnosticHeader{z-index:2;align-items:center;gap:12px;margin:0;padding:20px 24px;display:flex;position:absolute;top:0;left:0}.loginDiagnosticHeaderIcon{color:#0f172a}.loginDiagnosticBrand{color:#0f172a;letter-spacing:-.02em;font-family:Georgia,Times New Roman,serif;font-size:1.35rem;font-weight:600}.loginDiagnosticMain{flex:1;justify-content:center;align-items:center;width:100%;display:flex}.loginDiagnosticCard{background:#1a3a5c;border-radius:12px;width:100%;max-width:420px;padding:32px 28px 28px;box-shadow:0 18px 40px #0f172a38}.loginDiagnosticTitle{letter-spacing:.06em;color:#fff;text-align:center;margin:0 0 24px;font-size:1.05rem;font-weight:700}.loginDiagnosticLabel{color:#ffffffeb;gap:8px;margin-bottom:18px;font-size:.82rem;font-weight:600;display:grid}.loginDiagnosticInput{color:#0f172a;background:#fff;border:none;border-radius:6px;padding:11px 12px;font-size:.95rem}.loginDiagnosticInput:focus{outline-offset:1px;outline:2px solid #ffffff73}input[type=password]::-ms-reveal{visibility:hidden;pointer-events:none;display:none!important}input[type=password]::-ms-clear{visibility:hidden;pointer-events:none;display:none!important}input[type=password]::-webkit-contacts-auto-fill-button{visibility:hidden;pointer-events:none;display:none!important}input[type=password]::-webkit-credentials-auto-fill-button{visibility:hidden;pointer-events:none;display:none!important}.loginDiagnosticPasswordWrap{position:relative}.loginDiagnosticPasswordInput{box-sizing:border-box;width:100%;padding-right:42px}.loginDiagnosticPasswordToggle{color:#64748b;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.loginDiagnosticPasswordToggle:hover{color:#334155}.loginDiagnosticActions{margin-top:8px}.loginDiagnosticSubmit{appearance:none;cursor:pointer;color:#1a3a5c;background:#fff;border:none;border-radius:8px;padding:10px 22px;font-size:.9rem;font-weight:600;box-shadow:0 2px 6px #0000001f}.loginDiagnosticSubmit:hover:not(:disabled){background:#f1f5f9}.loginDiagnosticSubmit:disabled{opacity:.65;cursor:not-allowed}.loginDiagnosticError{color:#fecaca;margin:14px 0 0;font-size:.85rem}.pageContent>.userMgmtSection{flex-direction:column;display:flex;overflow:hidden}.userMgmtSection .userMgmtTableWrap{overscroll-behavior:contain;scrollbar-color:#64748b73 transparent;flex:1;min-height:0;overflow:auto}.userMgmtSection .userMgmtTableWrap::-webkit-scrollbar{background:0 0;width:8px}.userMgmtSection .userMgmtTableWrap::-webkit-scrollbar-track{background:0 0}.userMgmtSection .userMgmtTableWrap::-webkit-scrollbar-thumb{background-color:#64748b73;background-clip:padding-box;border:2px solid #0000;border-radius:999px}.userMgmtSection .userMgmtTableWrap::-webkit-scrollbar-corner{background:0 0}.userMgmtToolbar{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.userMgmtToolbarMainRow{align-items:center;gap:12px;display:flex}.userMgmtToolbarMainRow>:first-child,.userMgmtToolbarSearch{flex:1;min-width:0}.userMgmtToolbarFilters{flex-direction:column;gap:10px;display:flex}.userMgmtToolbarSortFilterRow{flex-wrap:wrap;align-items:flex-end;gap:10px 14px;display:flex}.userMgmtInlineFilter{min-width:160px}.userMgmtToolbarActions{flex-shrink:0;align-items:center;gap:8px;display:flex}.userMgmtRoleSelect{border:1px solid var(--color-border);background:#fff;border-radius:8px;min-width:140px;padding:8px 12px;font-size:.88rem}.userMgmtInactiveToggle{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;align-self:flex-start;align-items:center;gap:6px;width:fit-content;font-size:.875rem;display:inline-flex}.userMgmtInactiveToggle input[type=checkbox]{flex-shrink:0;width:1rem;height:1rem;margin:0}.userMgmtTableWrap{border:1px solid var(--color-border);background:0 0;border-radius:10px;overflow-x:auto}.userMgmtTable{border-collapse:collapse;background:#fff;width:100%;font-size:.88rem}.userMgmtTable th,.userMgmtTable td{border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle;padding:12px 14px}.userMgmtTable th{z-index:1;background:var(--color-input-bg);color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:600;position:sticky;top:0}.userMgmtTable tbody tr:hover,.userMgmtTable tbody tr:hover td{background:#fafbfc}.userMgmtTable .userMgmtCheckbox{cursor:pointer;width:18px;height:18px}.userMgmtActionsCell{flex-wrap:wrap;gap:6px;display:flex}.userMgmtModalGrid{gap:14px;display:grid}.userMgmtModalGrid label:not(.patientProfileCheckboxLabel){color:var(--color-text-muted);gap:6px;font-size:.82rem;font-weight:600;display:grid}.userMgmtModalGrid .patientProfileCheckboxRow{grid-column:1/-1}.userMgmtModalGrid input,.userMgmtModalGrid select{border:1px solid var(--color-border);border-radius:8px;padding:9px 11px;font-size:.9rem}.userMgmtAddModal{max-width:min(1080px,96vw)}.userMgmtAddModal .modalHeader{padding:10px 18px 12px}.userMgmtAddModal .userMgmtModalGrid{grid-template-columns:repeat(6,minmax(0,1fr))}.userMgmtAddModal .userMgmtFieldLastName,.userMgmtAddModal .userMgmtFieldFirstName{grid-column:span 2}.userMgmtAddModal .userMgmtFieldMiddleName,.userMgmtAddModal .userMgmtFieldSuffix{grid-column:span 1}.userMgmtAddModal .userMgmtFieldGender{grid-column:span 2}.userMgmtAddModal .userMgmtFieldBirthDate{grid-column:span 3}.userMgmtAddModal .userMgmtFieldBirthDateOnly{grid-column:span 4}.userMgmtAddModal .userMgmtFieldWeight{grid-column:span 1}.userMgmtAddModal .userMgmtFieldContact,.userMgmtAddModal .userMgmtFieldEmail{grid-column:span 2}.userMgmtContactFourRow{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:14px;display:grid}.userMgmtAddModal .userMgmtModalGrid>.userMgmtContactFourRow{grid-column:1/-1}@media (width<=900px){.userMgmtContactFourRow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.userMgmtContactFourRow{grid-template-columns:1fr}}.userMgmtAddModal .userMgmtFieldRoleCol{flex-direction:column;grid-column:span 2;align-self:start;gap:10px;display:flex}.userMgmtAddModal .userMgmtFieldRoleCol .patientProfileCheckboxRow{grid-column:auto;margin:0}.userMgmtAddModal .patientProfileAddressGridCompact{grid-template-columns:repeat(3,minmax(0,1fr))}@media (width<=820px){.userMgmtAddModal .userMgmtModalGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.userMgmtAddModal .userMgmtFieldLastName,.userMgmtAddModal .userMgmtFieldFirstName,.userMgmtAddModal .userMgmtFieldMiddleName,.userMgmtAddModal .userMgmtFieldSuffix,.userMgmtAddModal .userMgmtFieldGender,.userMgmtAddModal .userMgmtFieldBirthDate,.userMgmtAddModal .userMgmtFieldBirthDateOnly,.userMgmtAddModal .userMgmtFieldWeight,.userMgmtAddModal .userMgmtFieldContact,.userMgmtAddModal .userMgmtFieldEmail,.userMgmtAddModal .userMgmtFieldRoleCol{grid-column:span 1}.userMgmtAddModal .patientProfileAddressGridCompact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.userMgmtAddModal .userMgmtModalGrid{grid-template-columns:1fr}.userMgmtAddModal .userMgmtFieldLastName,.userMgmtAddModal .userMgmtFieldFirstName,.userMgmtAddModal .userMgmtFieldMiddleName,.userMgmtAddModal .userMgmtFieldSuffix,.userMgmtAddModal .userMgmtFieldGender,.userMgmtAddModal .userMgmtFieldBirthDate,.userMgmtAddModal .userMgmtFieldBirthDateOnly,.userMgmtAddModal .userMgmtFieldWeight,.userMgmtAddModal .userMgmtFieldContact,.userMgmtAddModal .userMgmtFieldEmail,.userMgmtAddModal .userMgmtFieldRoleCol{grid-column:span 1}.userMgmtAddModal .patientProfileAddressGridCompact{grid-template-columns:1fr}}.userMgmtHint{color:var(--color-text-muted);margin:0 0 12px;font-size:.82rem}.userMgmtInlineHint{color:var(--color-text-muted);font-size:.82rem;line-height:1.4}.patientProfileAccountValWithHint{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.userMgmtTabs{margin-bottom:4px}.adminDashKpiGrid{box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%;min-width:0;margin-bottom:20px;display:grid}@media (width<=960px){.adminDashKpiGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.adminDashKpiGrid{grid-template-columns:1fr}}.adminDashKpiCard{padding:18px 20px!important}.adminDashKpiInner{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.adminDashKpiTitle{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 6px;font-size:.78rem;font-weight:600}.adminDashKpiValue{margin:0;font-size:1.75rem;font-weight:800;line-height:1.1}.adminDashKpiTrend{align-items:center;gap:4px;margin:8px 0 0;font-size:.82rem;font-weight:600;display:inline-flex}.adminDashKpiTrendUp{color:#16a34a}.adminDashKpiTrendDown{color:#dc2626}.adminDashKpiIconWrap{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.adminDashQueueCard{box-sizing:border-box;width:100%;min-width:0;margin-bottom:20px;padding:20px!important}.adminDashQueueHeader{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.adminDashQueueTitle{margin:0;font-size:1.1rem;font-weight:700}.adminDashLivePill{color:#0369a1;background:#e0f2fe;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.78rem;font-weight:600;display:inline-flex}.adminDashQueueTableWrap{border:1px solid var(--color-border);border-radius:10px;overflow-x:auto}.adminDashQueueTable{border-collapse:collapse;width:100%;font-size:.88rem}.adminDashQueueTable th,.adminDashQueueTable td{text-align:left;border-bottom:1px solid var(--color-border);padding:12px 14px}.adminDashQueueTable th{background:var(--color-input-bg);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);font-size:.72rem;font-weight:600}.adminDashQueueTable tbody tr:hover{background:#fafbfc}.adminDashReportsCard{padding:20px!important}.adminDashReportsRow{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.adminDashReportsTitle{margin:0 0 6px;font-size:1.1rem;font-weight:700}.adminDashReportsSub{color:var(--color-text-muted);margin:0;font-size:.88rem}.adminDashReportsActions{flex-wrap:wrap;gap:10px;display:flex}.adminDashReportsActions a{text-decoration:none}.reportsChartGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:8px;display:grid}@media (width<=960px){.reportsChartGrid{grid-template-columns:1fr}}.reportsChartCard{padding:16px 18px!important}.reportsChartCard h4{margin:0 0 12px;font-size:.95rem;font-weight:700}.reportsChartWrap{min-height:240px}.reportsChartFooter{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px;display:flex;position:relative}.reportsKpiCardTop{margin-bottom:18px}.reportsChartExport{position:relative}.reportsChartExport summary::-webkit-details-marker{display:none}.reportsChartExportSummary{cursor:pointer;color:var(--color-text);border:1px solid var(--color-border);background:var(--color-surface,#fff);-webkit-user-select:none;user-select:none;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:.8rem;font-weight:600;list-style:none;display:inline-flex}.reportsChartExportSummary:hover{background:var(--color-surface-muted)}.reportsExportMenu{border:1px solid var(--color-border);background:var(--color-surface,#fff);z-index:5;border-radius:10px;flex-direction:column;gap:4px;min-width:140px;margin-bottom:4px;padding:6px;display:flex;position:absolute;bottom:100%;right:0;box-shadow:0 8px 24px #0f172a1f}.reportsFullExport{position:relative}.reportsFullExport .reportsExportMenu{margin-top:6px;margin-bottom:0;top:100%;bottom:auto}.reportsExportMenuBtn{font:inherit;text-align:left;cursor:pointer;color:var(--color-text);background:0 0;border:none;border-radius:6px;padding:8px 10px;font-size:.8rem}.reportsExportMenuBtn:hover{background:#f1f5f9}.reportsFullExportSummary{padding:8px 14px}.reportsHeaderRow{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:8px;display:flex;position:relative}.reportsExportGroup{flex-wrap:wrap;gap:8px;display:flex}.reportsKpiStrip{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:8px;display:grid}.reportsKpiMini{border:1px solid var(--color-border);border-radius:10px;padding:14px 16px}.reportsKpiMini strong{color:var(--color-text-muted);margin-bottom:6px;font-size:.78rem;display:block}.reportsKpiMini span{font-size:1.35rem;font-weight:800}.reportsPage{display:block}.reportsToolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 18px;display:flex}.reportsFilterBar{border:1.5px solid var(--color-border,#d8e0ec);background:#fff;border-radius:14px;margin:14px 0 18px;padding:14px 16px;box-shadow:0 1px 2px #0f172a0a}.reportsFilterBarInner{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.reportsFilterBarMain{flex-wrap:wrap;flex:640px;align-items:flex-end;gap:12px 14px;min-width:0;display:flex}.reportsFilterGroup{flex-direction:column;gap:6px;min-width:0;display:flex}.reportsFilterGroupGrow{flex:220px;min-width:200px;max-width:320px}.reportsFilterGroupSegmented{flex:none}.reportsFilterGroupLabel{text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted,#64748b);font-size:.68rem;font-weight:700}.reportsSegmentedControl{border:1.5px solid var(--color-border,#d8e0ec);background:#f8fafc;border-radius:10px;gap:2px;padding:3px;display:inline-flex}.reportsSegmentBtn{font:inherit;color:#475569;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px 14px;font-size:.82rem;font-weight:700;transition:background .15s,color .15s,box-shadow .15s}.reportsSegmentBtn:hover{color:#1f3a5f;background:#1f3a5f0f}.reportsSegmentBtn.isActive{color:#fff;background:#1f3a5f;box-shadow:0 1px 3px #1f3a5f47}.reportsFilterDateRow{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.reportsFilterPeriod .reportsPeriodSelect{min-width:148px}.reportsFilterContextual{border-top:1px dashed #e2e8f0;flex-wrap:wrap;flex:100%;align-items:flex-end;gap:12px 14px;padding-top:4px;display:flex}.reportsFilterMultiSelect{min-width:200px}.reportsFilterMultiSelect .multiSelectDropdownTrigger{border-radius:10px;min-width:200px;min-height:36px}.reportsFilterSelectWrap .reportsFilterSelect{background-image:none;min-width:190px;padding-left:12px}.reportsFilterPersonnel,.reportsAsyncSearch{min-width:220px}.reportsAsyncSearch{align-items:center;display:flex;position:relative}.reportsAsyncSearchIcon{color:var(--color-text-muted,#64748b);pointer-events:none;position:absolute;left:10px}.reportsAsyncSearchInput{font:inherit;border:1.5px solid var(--color-border,#cbd5e1);width:100%;min-width:220px;min-height:36px;color:var(--color-text,#0f172a);background:#fff;border-radius:10px;padding:7px 34px;font-size:.84rem;transition:border-color .15s,box-shadow .15s}.reportsAsyncSearchInput:focus{border-color:#1f3a5f;outline:none;box-shadow:0 0 0 3px #1f3a5f1f}.reportsAsyncSearchClear{color:#475569;cursor:pointer;background:#eef2f8;border:0;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;position:absolute;right:6px}.reportsAsyncSearchClear:hover{color:#1f3a5f;background:#e2e8f0}.reportsAsyncSearchMenu{z-index:45;border:1.5px solid var(--color-border,#cbd5e1);background:#fff;border-radius:10px;max-height:220px;padding:4px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 10px 28px #0f172a1f}.reportsAsyncSearchOption{text-align:left;cursor:pointer;width:100%;font:inherit;background:0 0;border:0;border-radius:8px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.reportsAsyncSearchOption strong{color:#0f172a;font-size:.84rem}.reportsAsyncSearchOption span{color:var(--color-text-muted,#64748b);font-size:.72rem}.reportsAsyncSearchOption:hover{background:#f1f5f9}.reportsAsyncSearchHint{color:var(--color-text-muted,#64748b);margin:0;padding:10px 12px;font-size:.8rem}.reportsFilterActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.reportsFilterRangeBadge{white-space:nowrap}.reportsFilterActionBtn{align-items:center;gap:6px;display:inline-flex}.reportsFilterActionChevron{opacity:.65}.reportsFilterExportBtn{align-items:center;gap:6px;display:inline-flex}.reportsColumnsPopoverWrap{position:relative}.reportsColumnsPopover{z-index:50;border:1.5px solid var(--color-border,#cbd5e1);background:#fff;border-radius:12px;min-width:220px;padding:10px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #0f172a24}.reportsColumnsPopoverTitle{text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted,#64748b);margin:0 0 8px;font-size:.72rem;font-weight:700}.reportsColumnsOption{color:#0f172a;cursor:pointer;align-items:center;gap:8px;padding:6px 4px;font-size:.84rem;display:flex}.reportsColumnsOption input{accent-color:#1f3a5f}@media (width<=1100px){.reportsFilterActions{justify-content:flex-start;width:100%}.reportsFilterGroupGrow{flex-basis:100%;max-width:none}}@media (width<=720px){.reportsFilterBar{padding:12px}.reportsFilterBarMain,.reportsFilterContextual{flex-direction:column;align-items:stretch}.reportsAsyncSearchInput,.reportsFilterMultiSelect .multiSelectDropdownTrigger,.reportsFilterSelectWrap .reportsFilterSelect{width:100%;min-width:0}}.reportsToolbarLeft{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.reportsPeriodDropdown{align-items:center;display:inline-flex;position:relative}.reportsPeriodIcon{color:var(--color-text-muted);pointer-events:none;position:absolute;left:10px}.reportsPeriodSelect{font:inherit;color:#1f3a5f;border:1.5px solid var(--color-border);appearance:none;cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 10px center no-repeat;border-radius:8px;padding:7px 36px 7px 30px;font-size:.84rem;font-weight:600;transition:border-color .15s,box-shadow .15s}.reportsPeriodSelect:hover{border-color:#1f3a5f}.reportsPeriodSelect:focus{border-color:#1f3a5f;outline:none;box-shadow:0 0 0 3px #1f3a5f1f}.reportsCustomRange{border:1.5px solid var(--color-border);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:4px 10px 4px 4px;display:flex}.reportsCustomRangeLabel{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);white-space:nowrap;padding-left:4px;font-size:.72rem;font-weight:700}.reportsCustomRangeSep{color:var(--color-text-muted);padding:0 2px;font-weight:600}.reportsDateInput{font:inherit;border:1px solid var(--color-border);color:var(--color-text);background:#f8fafc;border-radius:7px;padding:6px 8px;font-size:.84rem;transition:border-color .15s}.reportsDateInput:focus{background:#fff;border-color:#1f3a5f;outline:none}.reportsCustomRangeCompact{gap:6px;padding:2px 8px 2px 4px}.reportsDateInputCompact{width:118px;min-width:118px;padding:4px 6px;font-size:.78rem}.multiSelectDropdown{min-width:200px;position:relative}.multiSelectDropdownTrigger{text-align:left;width:100%;min-width:220px;min-height:38px;color:var(--color-text,#0f172a);border:1.5px solid var(--color-border,#cbd5e1);cursor:pointer;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:.875rem;display:flex}.multiSelectDropdownTrigger:hover{border-color:#94a3b8}.multiSelectDropdownLabel{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.multiSelectDropdownChevron{opacity:.7;flex-shrink:0}.multiSelectDropdownMenu{z-index:40;border:1.5px solid var(--color-border);background:#fff;border-radius:10px;min-width:100%;max-height:240px;padding:6px;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto;box-shadow:0 8px 24px #0f172a1f}.multiSelectDropdownOption{text-align:left;width:100%;color:var(--color-text,#0f172a);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-size:.85rem;display:flex}.multiSelectDropdownOptionSelected{color:#1f3a5f;background:#e8f0fe;font-weight:600}.multiSelectDropdownOption:hover{background:#f1f5f9}.reportModuleMultiSelect{flex:1;max-width:280px}.reportsRangeBadge{color:#1f3a5f;background:#eef2f8;border:1px solid #d8e0ec;border-radius:999px;padding:6px 12px;font-size:.8rem;font-weight:600}.reportsGrid{grid-template-columns:1fr 1fr;align-items:start;gap:16px;display:grid}.reportsGridSpaced{margin-top:16px}.reportsChartColumn{flex-direction:column;gap:16px;display:flex}@media (width<=960px){.reportsGrid{grid-template-columns:1fr}}.reportsKpiMini{background:#fff;border-left-width:4px;flex-direction:column;justify-content:center;gap:4px;min-height:78px;display:flex}.reportsKpiMini strong{align-items:center;gap:6px;display:flex}.reportsKpiAccent-sky{border-left-color:#38bdf8}.reportsKpiAccent-amber{border-left-color:#f59e0b}.reportsKpiAccent-rose{border-left-color:#f43f5e}.reportsKpiAccent-green{border-left-color:#22c55e}.reportsKpiAccent-violet{border-left-color:#8b5cf6}.reportsKpiAccent-blue{border-left-color:#3b82f6}.reportsKpiAccent-orange{border-left-color:#f97316}.reportsActivitySection{margin-top:16px}.activityReportCard{padding:16px 18px!important}.activityCardHead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.activityCardHead h4{align-items:center;gap:8px;margin:0;font-size:.95rem;font-weight:700;display:flex}.activityCardFooter{justify-content:flex-end;margin-top:12px;display:flex}.activityTable{border-collapse:collapse;width:100%;font-size:.82rem}.activityTable thead th{text-align:left;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);border-bottom:2px solid var(--color-border);background:#fff;padding:8px 10px;font-size:.72rem;font-weight:700;position:sticky;top:0}.activityTable tbody td{border-bottom:1px solid var(--color-border);vertical-align:top;padding:9px 10px}.activityTablePreview tbody tr:last-child td{border-bottom:none}.activityUserCell{flex-direction:column;display:flex}.activityUserId{color:var(--color-text-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.68rem}.activityTime{white-space:nowrap;color:var(--color-text-muted)}.activityAction{color:#1f3a5f;font-weight:600}.activityDesc{color:var(--color-text);max-width:360px}.activityTableScroll{max-height:60vh;overflow:auto}.activityFullModal{width:96vw;max-width:1040px}.rolePill{color:#334155;white-space:nowrap;background:#eef2f8;border-radius:999px;padding:2px 8px;font-size:.68rem;font-weight:700;display:inline-block}.rolePill.role-administrator{color:#5b21b6;background:#ede9fe}.rolePill.role-doctor{color:#1e40af;background:#dbeafe}.rolePill.role-medicaltechnologist{color:#166534;background:#dcfce7}.rolePill.role-laboratorytechnician{color:#155e75;background:#cffafe}.rolePill.role-medicalsecretary{color:#92400e;background:#fef3c7}.rolePill.role-patient{color:#475569;background:#f1f5f9}.reportExportModal.modalPanel{flex-direction:column;max-height:90vh;display:flex;overflow:hidden}.reportExportModal .modalHeader,.reportExportModal .modalFooter{flex-shrink:0}.reportExportModal .modalBody{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:hidden}.reportExportFormScroll{flex:1;min-height:0;padding:18px;overflow-y:auto}.reportExportModal{max-width:560px}.reportExportModalWide{max-width:720px}.userActivityExportModal{max-width:620px}.reportExportForm{flex-direction:column;gap:16px;display:flex}.reportExportDates{grid-template-columns:1fr 1fr;gap:12px;display:grid}.reportExportDates label{letter-spacing:.03em;text-transform:uppercase;color:var(--color-text-muted);flex-direction:column;gap:5px;font-size:.78rem;font-weight:700;display:flex}.reportExportDates input{font:inherit;border:1.5px solid var(--color-border);color:var(--color-text);background:#fff;border-radius:8px;padding:10px 11px;font-size:.9rem;transition:border-color .15s}.reportExportDates input:focus{border-color:#1f3a5f;outline:none}.reportExportSectionLabel{letter-spacing:.03em;text-transform:uppercase;color:var(--color-text-muted);margin-bottom:-4px;font-size:.78rem;font-weight:700}.reportExportCoverageNote{color:var(--color-text-muted);flex-wrap:wrap;align-items:center;gap:10px;margin:6px 0 0;font-size:.84rem;display:flex}.reportExportTargetBlock{z-index:1;background:#f8fafc;border:1.5px solid #d8e0ec;border-radius:12px;flex-direction:column;gap:10px;padding:12px 14px;display:flex;position:relative;overflow:visible}.reportExportTargetBlock:focus-within{z-index:5}.reportExportModal .reportsAsyncSearchMenu{z-index:100}.reportExportTargetRadios{flex-wrap:wrap;gap:8px 14px;display:flex}.reportExportTargetRadio{color:#0f172a;cursor:pointer;align-items:center;gap:8px;font-size:.84rem;display:inline-flex}.reportExportTargetRadio input{accent-color:#1f3a5f}.reportExportTargetSearch{max-width:100%}.reportExportTargetHint{color:var(--color-text-muted);margin:0;font-size:.76rem;line-height:1.4}.reportExportForm.isBusy{opacity:.72;pointer-events:none}.reportExportSectionOption.isDisabled{opacity:.55;cursor:not-allowed;background:#f1f5f9}.reportExportSectionOption.isDisabled input{cursor:not-allowed}.reportExportSectionColumns{grid-template-columns:1fr 1fr;gap:12px;display:grid}.reportExportSectionColumn{border:1.5px solid var(--color-border);background:#f8fafc;border-radius:12px;padding:12px}.reportExportGroupTitle{letter-spacing:.04em;text-transform:uppercase;color:#1f3a5f;margin:0 0 10px;font-size:.78rem;font-weight:700}.reportExportGroupList{flex-direction:column;gap:8px;display:flex}.reportExportSectionOption{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.reportExportSectionOption input{accent-color:#1f3a5f;margin-top:3px}.reportExportSectionOptionText{flex-direction:column;gap:2px;display:flex}.reportExportSectionOptionText strong{color:#0f172a;font-size:.84rem}.reportExportSectionOptionText small{color:var(--color-text-muted);font-size:.74rem;line-height:1.35}.reportExportAnonymizeRow{background:#fff;border:1.5px solid #d8e0ec;border-radius:12px;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.reportExportAnonymizeCopy strong{color:#0f172a;margin-bottom:4px;font-size:.86rem;display:block}.reportExportAnonymizeCopy p{color:var(--color-text-muted);margin:0;font-size:.78rem;line-height:1.4}.reportExportToggle{flex-shrink:0;display:inline-flex;position:relative}.reportExportToggle input{opacity:0;width:0;height:0;position:absolute}.reportExportToggleTrack{background:#cbd5e1;border-radius:999px;width:42px;height:24px;transition:background .15s;display:block}.reportExportToggleTrack:after{content:"";background:#fff;border-radius:999px;width:18px;height:18px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #0f172a33}.reportExportToggle input:checked+.reportExportToggleTrack{background:#1f3a5f}.reportExportToggle input:checked+.reportExportToggleTrack:after{transform:translate(18px)}@media (width<=720px){.reportExportSectionColumns{grid-template-columns:1fr}}.reportFormatChoice{grid-template-columns:1fr 1fr;gap:10px;display:grid}.reportFormatOption{text-align:left;border:1.5px solid var(--color-border);cursor:pointer;font:inherit;color:var(--color-text);background:#fff;border-radius:10px;align-items:center;gap:12px;padding:14px 16px;transition:border-color .15s,background .15s,color .15s;display:flex}.reportFormatOption:hover{background:#f8fafc;border-color:#93aac9}.reportFormatOption>svg{color:var(--color-text-muted);flex-shrink:0;transition:color .15s}.reportFormatOption span{flex-direction:column;gap:2px;display:flex}.reportFormatOption strong{color:var(--color-text);font-size:.85rem;font-weight:700;display:block}.reportFormatOption small{color:var(--color-text-muted);font-size:.72rem;display:block}.reportFormatOption.isActive{background:#eef2f8;border-color:#1f3a5f}.reportFormatOption.isActive>svg,.reportFormatOption.isActive strong{color:#1f3a5f}.reportFormatOption.isActive small{color:#4b6a9b}.userPickerHead{justify-content:space-between;align-items:center;gap:10px;display:flex}.userPickerSearch{border:1px solid var(--color-border);color:var(--color-text-muted);background:#fff;border-radius:8px;flex:1;align-items:center;gap:6px;padding:7px 10px;display:flex}.userPickerSearch input{font:inherit;background:0 0;border:none;outline:none;width:100%}.userPickerSelectAll{font:inherit;border:1px solid var(--color-border);cursor:pointer;white-space:nowrap;background:#fff;border-radius:8px;padding:7px 12px;font-size:.78rem;font-weight:600}.userPickerList{border:1px solid var(--color-border);border-radius:10px;max-height:240px;margin:0;padding:4px;list-style:none;overflow:auto}.userPickerList li{margin:0;padding:0}.userPickerRow{box-sizing:border-box;cursor:pointer;border-radius:8px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:8px 10px;display:grid}.userPickerRow input[type=checkbox]{place-self:center;width:16px;height:16px;margin:0}.userPickerRow:hover{background:var(--color-surface-muted,#f1f5f9)}.userPickerName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.85rem;font-weight:600;display:block;overflow:hidden}.userPickerEmpty{text-align:center;color:var(--color-text-muted);padding:16px;font-size:.85rem}.monoHint code{background:var(--color-sidebar);border-radius:4px;padding:2px 6px}.fieldLabel{color:var(--color-text-muted);gap:6px;min-width:0;font-size:.82rem;font-weight:600;display:grid}.fieldLabel>input:not([type=checkbox]):not([type=radio]):not([type=file]),.fieldLabel>select,.fieldLabel>textarea,.fieldLabel>.selectMockDropdown{width:100%;min-width:0}.fieldLabelInvalid{color:var(--color-danger)}.fieldLabelInvalid input,.fieldLabelInvalid select{border-color:var(--color-danger)}.fieldError{color:var(--color-danger);margin:0;font-size:.8rem;font-weight:500}.fieldRequiredStar{color:var(--color-danger);font-weight:700}.fieldLabelText{display:inline}.pwdReqList{border:1px dashed var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted);gap:4px;margin:4px 0 12px;padding:10px 12px;font-size:.78rem;list-style:none;display:grid}.pwdReqItem{align-items:center;gap:6px;font-weight:500;display:inline-flex}.pwdReqItemOk{color:#16a34a}.pwdReqItemBad{color:#94a3b8}@media (width<=960px){.sidebarMenuBtn{display:inline-flex}.sidebarBackdrop{z-index:190;cursor:pointer;background:#0f172a73;border:0;padding:0;display:block;position:fixed;inset:0}.layoutMockup{grid-template-columns:1fr;height:auto;min-height:100vh;max-height:none;overflow:visible}.sidebarLight{z-index:200;width:min(var(--sidebar-width), 88vw);border-right:1px solid var(--color-border);border-bottom:0;min-height:auto;max-height:none;transition:transform .2s;position:fixed;top:0;bottom:0;left:0;overflow:auto;transform:translate(-105%);box-shadow:0 12px 40px #0f172a2e}.sidebarLight.sidebarOpen{transform:translate(0)}.sidebarNav{overflow-y:visible}.workspaceMain{height:auto;min-height:0;max-height:none;overflow:visible}.pageShell{flex:none;min-height:0;padding:16px;overflow:visible}.pageContent{padding:0}.pageContent>section,.pageContent>div:not(.pageContentInner){flex:none;overflow:visible}.chatLayout{grid-template-columns:1fr}}.doctorDashKpiGrid{flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;margin-bottom:0}.doctorDashKpiGrid:has(>:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.doctorDashKpiGrid>.adminDashKpiCard{box-sizing:border-box;width:100%;min-width:0}@media (width<=720px){.doctorDashKpiGrid .adminDashKpiCard{padding:14px 12px!important}.doctorDashKpiGrid .adminDashKpiTitle{font-size:.68rem}.doctorDashKpiGrid .adminDashKpiValue{font-size:1.35rem}.doctorDashKpiGrid .adminDashKpiIconWrap{width:44px;height:44px}.doctorDashKpiGrid .adminDashKpiIconWrap svg{width:22px;height:22px}}.doctorDashColumns{box-sizing:border-box;flex:1;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);align-items:stretch;gap:18px;width:100%;min-width:0;min-height:0;margin-top:0;display:grid}.doctorDashQueueCard{flex-direction:column;height:100%;min-height:0;margin-bottom:0;display:flex}.doctorDashQueueCard .adminDashQueueHeader{flex-shrink:0}.doctorDashQueueCard .adminDashQueueTableWrap{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.doctorDashSideStack{flex-direction:column;gap:16px;height:100%;min-height:0;display:flex}.doctorDashSideCard{box-sizing:border-box;flex-direction:column;flex:1;height:100%;min-height:0;display:flex;padding:18px!important}.doctorDashSideTitle{flex-shrink:0;margin:0 0 12px;font-size:1rem;font-weight:700}.doctorApptList{overscroll-behavior:contain;flex-direction:column;flex:1;gap:10px;min-height:0;max-height:none;display:flex;overflow-y:auto}.doctorApptRow{border-radius:var(--radius-sm);border:1px solid var(--color-border);background:#ffffffa6;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 12px;display:flex}.doctorApptTime{margin:0;font-size:.95rem;font-weight:700}.doctorApptName{margin:4px 0 0;font-weight:600}.doctorApptMeta{margin:2px 0 0;font-size:.82rem}.doctorApptReason{color:var(--color-text-muted);margin:6px 0 0;font-size:.85rem}.doctorQueueCards{flex-direction:column;gap:12px;max-height:480px;display:flex;overflow:auto}.doctorQueueCard{border-radius:var(--radius-sm);border:1px solid var(--color-border);background:linear-gradient(135deg,#2563eb0f,#ffffffe6);padding:14px 16px}.doctorQueueCardTime{color:var(--color-primary);letter-spacing:.02em;font-size:.78rem;font-weight:700}.doctorQueueCardName{margin-top:4px;font-weight:700}.doctorQueueCardCode{margin-top:2px;font-size:.82rem}.doctorQueueCardDetail{color:var(--color-text-muted);margin:8px 0 0;font-size:.86rem;line-height:1.45}.doctorQueueCardActions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.doctorPatientsToolbar{margin-bottom:16px;padding:14px 16px!important}.doctorPatientsSearch{align-items:center;gap:10px;margin:0;display:flex}.doctorPatientsSearch input{flex:1}.doctorPatientsSearchIcon{color:var(--color-text-muted);flex-shrink:0}.doctorPatientCardGrid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.doctorPatientCardLink{color:inherit;text-decoration:none}.doctorPatientCard{height:100%;transition:box-shadow .15s,transform .15s}.doctorPatientCardLink:hover .doctorPatientCard{transform:translateY(-1px);box-shadow:0 8px 28px #0f172a14}.doctorPatientCardTop{align-items:flex-start;gap:12px;display:flex}.doctorPatientAvatar{background:var(--color-primary-soft);width:48px;height:48px;color:var(--color-primary);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:flex}.doctorPatientCardHead{min-width:0}.doctorPatientName{font-size:1rem;font-weight:700}.doctorPatientCode{margin-top:2px;font-size:.82rem}.doctorPatientDemo{color:var(--color-text-muted);margin-top:4px;font-size:.82rem}.doctorPatientCardCols{border-top:1px solid var(--color-border);grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding-top:12px;display:grid}.doctorPatientColLabel{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin-bottom:4px;font-size:.72rem;font-weight:700}.doctorPatientColValue{font-size:.88rem}.doctorPatientLastVisit{color:var(--color-text-muted);margin-top:6px;font-size:.78rem}.doctorPatientTags{flex-wrap:wrap;gap:6px;display:flex}.doctorPatientTag{color:#0369a1;background:#e0f2fe;border-radius:999px;padding:3px 8px;font-size:.75rem;font-weight:600}.doctorPatientColMuted{color:var(--color-text-muted);font-size:.85rem}.consultationLayout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.consultationApptCard{padding:18px!important}.consultationCardTitle{margin:0 0 12px;font-size:1rem}.consultationApptLine{margin:0 0 8px;font-size:.9rem;line-height:1.5}.consultationMain{flex-direction:column;gap:14px;display:flex}.consultationTabs{flex-wrap:wrap;gap:8px;display:flex}.consultationTab{border:1px solid var(--color-border);cursor:pointer;color:var(--color-text-muted);background:#fff;border-radius:999px;padding:8px 14px;font-size:.86rem;font-weight:600}.consultationTabActive{border-color:var(--color-primary);color:var(--color-primary);background:#2563eb14}.consultationNotesArea{border-radius:var(--radius-sm);border:1px solid var(--color-border);width:100%;min-height:180px;margin-top:6px;padding:10px 12px;font-family:inherit;font-size:.92rem}.consultationFileGrid{gap:12px;margin-top:16px;display:grid}.certIndexerBox{border-radius:var(--radius-sm);background:#2563eb0f;border:1px dashed #2563eb59;margin-top:14px;padding:12px 14px}.certIndexerSub{color:var(--color-text-muted);margin:8px 0 12px;font-size:.85rem;line-height:1.5}.certIndexerHint{margin:8px 0 0;font-size:.85rem}@media (width<=900px){.doctorDashColumns,.consultationLayout,.patientProfileSummary:not(.patientProfileSummary--directory):not(.patientProfileSummary--recordsHeader){grid-template-columns:1fr}.patientProfileSummary--directory{flex-direction:column;gap:20px}.patientProfileSummary--directory .patientProfileSummaryLeftBlock{flex:none;grid-template-columns:80px minmax(0,1fr);gap:14px 18px;width:100%;min-width:0}.patientProfileSummary--directory .patientProfileSummaryRightCol{flex:none;width:100%;min-width:0;max-width:none}.patientProfileSummaryDetailsGrid{grid-template-columns:1fr;gap:8px}.patientProfileSummaryContactCol{border-top:0;border-left:0;padding-top:0;padding-left:0}.patientProfileSummaryRightCol:not(.patientProfileSummary--directory .patientProfileSummaryRightCol){border-top:1px solid #e2e8f0;border-left:0;align-items:stretch;width:100%;min-width:0;padding-top:12px;padding-left:0}.patientProfileSummary:has(.patientProfileSummaryActions):not(.patientProfileSummary--directory):not(.patientProfileSummary--consultHeader):not(.patientProfileSummary--recordsHeader){grid-template-columns:1fr}.patientProfileSummaryActions{align-items:stretch}.mrInfoDemoRow,.mrInfoTwoCol{grid-template-columns:1fr;gap:14px}}.doctorQueueCardReason{color:var(--color-text-muted);margin:4px 0 0;font-size:.86rem;font-style:italic}.refQueueCard{margin-bottom:20px;position:relative;overflow:hidden;padding:0!important}.refQueueAccent{background:var(--color-primary);width:5px;position:absolute;top:0;bottom:0;left:0}.refQueueInner{padding:20px 22px 20px 24px}.refQueueHeader{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.refQueueTitleRow{align-items:flex-start;gap:12px;display:flex}.refQueueTitleIcon{color:var(--color-primary);flex-shrink:0;margin-top:2px}.refQueueTitle{margin:0;font-size:1.15rem;font-weight:800}.refQueueDate{color:var(--color-text-muted);margin:4px 0 0;font-size:.88rem}.refQueueList{--ref-queue-row-height:112px;--ref-queue-visible-rows:1.5;--ref-queue-row-gap:12px;--ref-queue-list-height:calc(var(--ref-queue-row-height) * var(--ref-queue-visible-rows) + var(--ref-queue-row-gap) * (var(--ref-queue-visible-rows) - 1));gap:var(--ref-queue-row-gap);min-height:var(--ref-queue-list-height);max-height:var(--ref-queue-list-height);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;box-sizing:border-box;flex-direction:column;padding-right:4px;display:flex;overflow:hidden auto}.refQueueRow{border:1px solid var(--color-border);border-radius:var(--radius-sm);min-height:var(--ref-queue-row-height);box-sizing:border-box;background:#ffffffd9;flex-shrink:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 16px;display:grid}.refQueueRowMidLink{width:100%;font:inherit;font-family:var(--font-sans);text-align:left;color:inherit;cursor:pointer;appearance:none;outline-offset:2px;background:0 0;border:0;border-radius:8px;min-width:0;margin:0;padding:8px 10px;text-decoration:none;display:block}.refQueueRowMidLink:focus{outline:none}.refQueueRowMidLink:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.refQueueRowMidLink:hover{background:#0f172a0a}.refQueueAddDocBtn{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.refQueueRowActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.refQueueRowTime{color:var(--color-primary);white-space:nowrap;flex-wrap:wrap;align-items:center;gap:8px;font-size:.95rem;font-weight:700;display:flex}.refQueueRowTime .refQueueStatusBadge{margin-left:2px}.refQueueScheduledTag{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:600}.refQueueServingTag{color:var(--color-primary);text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:700}.refQueueWaitingTag{color:#b45309;text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:600}.refQueueEmpty{color:var(--color-text-muted);flex:1;align-items:flex-start;margin:0;padding:12px 4px 4px;font-size:.92rem;display:flex}.refQueueRowMid{min-width:0}.refQueueRowNameLine{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.refQueuePatientName{font-size:1.02rem;font-weight:800}.refQueueIdChip{color:var(--color-text-muted);background:#f1f5f9;border-radius:6px;padding:2px 8px;font-size:.78rem;font-weight:600}.refQueueRowDetail{align-items:flex-start;gap:10px;display:flex}.refQueueVisitIcon{color:var(--color-text-muted);flex-shrink:0;margin-top:2px}.refQueueServiceLine{color:var(--color-text);font-size:.88rem;font-weight:600}.refQueueReasonLine{color:var(--color-text-muted);margin-top:4px;font-size:.84rem;font-style:italic}.refQueueServeBtn{border-radius:10px;min-width:88px;font-weight:700;color:#fff!important;background:#0f172a!important;border-color:#0f172a!important;padding-left:18px!important;padding-right:18px!important}.refQueueCancelX{border:1px solid var(--color-border);cursor:pointer;width:36px;height:36px;color:var(--color-text-muted);background:#fff;border-radius:8px;font-size:1.25rem;line-height:1}.refQueueCancelX:hover{color:#b91c1c;border-color:#fecaca}.refPatientToolbar{flex-wrap:wrap;align-items:stretch;gap:12px;margin-bottom:10px;display:flex}.refPatientSearchPlain{flex:280px;min-width:0}.refPatientSearchPlain .searchInputWrap{width:100%}.refPatientSearchWrap{border:1px solid var(--color-border);background:#f1f5f9;border-radius:12px;flex:280px;align-items:center;gap:10px;padding:10px 14px;display:flex}.refPatientSearchIcon{color:var(--color-text-muted);flex-shrink:0}.refPatientSearchInput{background:0 0;border:0;outline:none;flex:1;font-size:.95rem}.refPatientSortSelect{border:1px solid var(--color-border);background:#fff;border-radius:10px;min-width:220px;padding:10px 12px;font-size:.9rem}.refPatientList{flex-direction:column;gap:10px;display:flex}.refPatientListScroll{--ref-patient-row-height:120px;--ref-patient-visible-rows:2.5;--ref-patient-row-gap:10px;max-height:calc(var(--ref-patient-row-height) * var(--ref-patient-visible-rows) + var(--ref-patient-row-gap) * (var(--ref-patient-visible-rows) - 1));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding-right:4px;overflow:hidden auto}.refPatientListScroll .refPatientRowLink{flex-shrink:0}.refPatientListScroll .refPatientRow.patientProfileSummary{min-height:var(--ref-patient-row-height);box-sizing:border-box}.refPatientDirectoryFill{--ref-patient-row-height:120px;box-sizing:border-box;flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex}.refPatientDirectoryFill .refPatientToolbar{flex-shrink:0;margin-bottom:8px}.refPatientDirectoryFill>.subtitle{flex-shrink:0;margin:0 0 12px}.refPatientListScrollFill{overscroll-behavior:contain;box-sizing:border-box;flex:1;min-height:0;padding-right:2px;overflow-y:auto}.docPatientRecordsHub .refPatientDirectoryFill{flex:1;min-height:0}.refPatientListScrollFill .refPatientRowLink{flex-shrink:0}.refPatientListScrollFill .refPatientRow.patientProfileSummary{min-height:var(--ref-patient-row-height,120px);box-sizing:border-box}.secPatientsSection{box-sizing:border-box;flex-direction:column;flex:1;gap:8px;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.secPatientsSection .pageHead{margin-bottom:8px}.secPatientsSection .pageHead,.secPatientsSection>.error{flex-shrink:0}@media (width<=720px){.refPatientSortSelect{width:100%;min-width:0}.refPatientToolbar{flex-direction:column}.secPatientsSection .pageHead{flex-wrap:wrap;gap:12px}}.refPatientRowLink{width:100%;font:inherit;font-family:var(--font-sans);text-align:left;color:inherit;cursor:pointer;appearance:none;background:0 0;border:0;margin:0;padding:0;text-decoration:none;display:block}.refPatientRowLink:focus{outline:none}.refPatientRowLink:focus-visible .refPatientRow{outline:2px solid var(--color-primary);outline-offset:2px}.refPatientRow.patientProfileSummary,.mrPatientProfileBanner.patientProfileSummary{border:1px solid var(--color-border);box-shadow:var(--shadow-card);background:#fff;border-radius:12px;padding:18px 22px}.refPatientRow.patientProfileSummary--directory .patientProfileSummaryLeftBlock{grid-template-columns:minmax(72px,92px) minmax(0,1fr);align-items:start;gap:16px 20px}.patientProfileSummaryListIdCol{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;max-width:92px;display:flex}.patientProfileSummaryListIdCol .patientProfileSummaryIdLbl{line-height:1.2}.patientProfileSummaryListIdCol .patientProfileSummaryIdVal{word-break:break-all}.patientProfileSummaryNameAgeRow{flex-wrap:wrap;align-items:baseline;gap:8px 12px;display:flex}.patientProfileSummaryAgeInline{color:var(--color-text-muted);white-space:nowrap;font-size:.875rem;font-weight:500}.patientProfileSummaryListMetrics{flex-direction:column;align-items:flex-start;gap:6px;margin-top:8px;display:flex}.refPatientRow.patientProfileSummary--directory .patientProfileSummaryListMetrics .patientProfileSummaryDetailLine,.refPatientRow.patientProfileSummary--directory .patientProfileSummaryListMetrics .patientProfileSummaryWeight{margin:0}.refPatientRow.patientProfileSummary--directory .patientProfileSummaryRightCol{background:0 0;border:0;max-width:280px;padding:0}.mrPatientProfileBanner.mrPatientProfileBanner--flat.patientProfileSummary{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.mrPatientProfileBanner.patientProfileSummary--directory{box-sizing:border-box;width:100%;margin-bottom:4px;padding:20px 24px}.patientProfileSummary--recordsHeader{box-sizing:border-box;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"avatar identity actions";align-items:center;gap:0 8px;width:100%;display:grid}.patientProfileSummaryRecordsAvatar{flex-shrink:0;grid-area:avatar;align-self:center;line-height:0}.patientProfileSummaryRecordsIdentity{flex-direction:column;grid-area:identity;justify-content:center;align-items:flex-start;gap:2px;min-width:0;display:flex}.patientProfileSummaryRecordsAvatar .avatar,.patientProfileSummaryRecordsAvatar .avatar-img{border-radius:50%}.patientProfileSummaryRecordsAvatar .avatar-img img{object-fit:cover}.patientProfileSummaryName--records{color:#0f172a;letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin:0;font-size:1.35rem;font-weight:800;line-height:1.2;overflow:hidden}.patientProfileSummaryRecordsId{color:#64748b;letter-spacing:.02em;font-variant-numeric:tabular-nums;white-space:nowrap;background:0 0;border-radius:0;padding:0;font-size:.8125rem;font-weight:400;line-height:1.3}.patientProfileSummaryRecordsActions{flex-wrap:nowrap;grid-area:actions;justify-content:flex-end;place-self:start end;align-items:flex-start;gap:10px;display:flex}.patientProfileSummary--recordsHeader .patientProfileSummaryRecordsActions .btn,.patientProfileSummary--recordsHeader .patientProfileSummaryRecordsActions .mrAddDocsBtn{white-space:nowrap}.mrPatientProfileBanner.patientProfileSummary--recordsHeader{padding:16px 22px}.refConsultationProfileHeader{margin-bottom:0}.refConsultationProfileHeader .patientProfileSummaryActions{align-self:flex-start}.refConsultationProfileHeader .mrPatientProfileBanner{margin-bottom:0}.refConsultationProfileActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.patientProfileSummary--consultHeader .patientProfileSummaryNameRow{align-items:center}.patientProfileSummary{font-family:var(--font-sans);letter-spacing:-.01em;grid-template-columns:100px minmax(0,1.45fr) minmax(200px,1fr);align-items:start;gap:16px 28px;display:grid}.patientProfileSummary.patientProfileSummary--recordsHeader{box-sizing:border-box;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"avatar identity actions";align-items:center;gap:0 8px;width:100%;display:grid}.patientProfileSummary:has(.patientProfileSummaryActions):not(.patientProfileSummary--directory):not(.patientProfileSummary--consultHeader):not(.patientProfileSummary--recordsHeader){grid-template-columns:100px minmax(0,1.2fr) minmax(200px,1fr) auto}.patientProfileSummaryIdCol{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.patientProfileSummaryAvatarCircle{color:#475569;background:#e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.patientProfileSummaryAvatarWrap .avatar{color:#334155;background:#e2e8f0}.patientProfileSummaryIdLbl{text-transform:uppercase;letter-spacing:.06em;color:var(--color-text-muted);font-size:.6875rem;font-weight:600;line-height:1.2}.patientProfileSummaryIdVal{color:#1e3a8a;letter-spacing:.03em;font-variant-numeric:tabular-nums;font-size:.9375rem;font-weight:700}.patientProfileSummaryMainCol{flex-direction:column;gap:8px;min-width:0;display:flex}.patientProfileSummaryNameRow{flex-wrap:wrap;align-items:baseline;gap:10px 16px;display:flex}.patientProfileSummaryName{color:#0f172a;letter-spacing:-.02em;margin:0;font-size:1.125rem;font-weight:700;line-height:1.25}.patientProfileSummaryMetaRow{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}.patientProfileSummaryMetaItem{color:#334155;align-items:center;gap:6px;font-size:.875rem;font-weight:500;display:inline-flex}.patientProfileSummaryMetaItem svg{color:#94a3b8;flex-shrink:0}.patientProfileSummaryAgePill,.patientProfileSummaryPill{border-radius:var(--radius-pill);color:#475569;background:#f1f5f9;padding:3px 10px;font-size:.75rem;font-weight:600}.patientProfileSummaryMetaPlain{color:var(--color-text-muted);font-size:.88rem;font-weight:500}.patientProfileSummary--directory{box-sizing:border-box;flex-direction:row;align-items:stretch;gap:24px 32px;width:100%;display:flex}.patientProfileSummary--directory:has(.patientProfileSummaryActions){display:flex}.patientProfileSummaryLeftBlock{flex:1 1 0;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:18px 28px;min-width:0;display:grid}.patientProfileSummary--directory .patientProfileSummaryLeftBlock{min-width:0}.patientProfileSummaryDetailsGrid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:10px 28px;width:100%;display:grid}@media (width<=1100px){.patientProfileSummaryDetailsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}.patientProfileSummary--directory .patientProfileSummaryDetailsGrid .patientProfileSummaryDetailLine,.patientProfileSummary--directory .patientProfileSummaryDetailsGrid .patientProfileSummaryWeight,.patientProfileSummary--directory .patientProfileSummaryDetailsGrid .patientProfileSummaryBirthAgeRow{margin:0}.patientProfileSummaryNameLine{flex-wrap:wrap;align-items:baseline;gap:8px 12px;margin-bottom:4px;display:flex}.patientProfileSummaryIdChip{color:#1e3a8a;letter-spacing:.03em;font-variant-numeric:tabular-nums;background:#eff6ff;border-radius:6px;padding:2px 8px;font-size:.8125rem;font-weight:700}.patientProfileSummary--consultHeader{grid-template-columns:100px minmax(0,1fr)}.patientProfileSummary--consultHeader:has(.patientProfileSummaryActions){grid-template-columns:100px minmax(0,1fr) auto}.patientProfileSummaryName--solo{color:#0f172a;letter-spacing:-.02em;overflow-wrap:normal;word-break:normal;flex:auto;min-width:0;margin:0;font-size:1.35rem;font-weight:800;line-height:1.25}.patientProfileSummary--directory .patientProfileSummaryName--solo{margin-bottom:10px}.patientProfileSummary--directory .patientProfileSummaryNameAgeRow .patientProfileSummaryName--solo{margin-bottom:0}.patientProfileSummary--directory .patientProfileSummaryMainCol:has(.patientProfileSummaryNameAgeRow){gap:2px}.patientProfileSummary--directory .patientProfileSummaryMainCol:has(.patientProfileSummaryNameAgeRow) .patientProfileSummaryListMetrics{margin-top:0}.patientProfileSummaryDetailLine{color:#334155;align-items:center;gap:6px;margin:0;font-size:.875rem;font-weight:500;display:inline-flex}.patientProfileSummaryDetailLine svg{color:#94a3b8;flex-shrink:0}.patientProfileSummaryBirthAgeRow{gap:16px 24px}.patientProfileSummaryRightCol{flex-direction:column;align-items:stretch;gap:14px;min-width:0;display:flex}.patientProfileSummary--directory .patientProfileSummaryRightCol{box-sizing:border-box;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex:0 0 clamp(280px,32%,400px);justify-content:flex-start;align-self:stretch;align-items:stretch;gap:16px;width:auto;min-width:280px;max-width:none;padding:16px 18px}.patientProfileSummaryAvatarWrap .avatar-img img{object-fit:cover}.patientProfileSummary--directory .patientProfileSummaryMainCol{flex:auto;gap:6px;min-width:0}.patientProfileSummary--directory .patientProfileSummaryDetailLine,.patientProfileSummary--directory .patientProfileSummaryWeight,.patientProfileSummary--directory .patientProfileSummaryBirthAgeRow{flex-wrap:nowrap}.patientProfileSummary--directory .patientProfileSummaryContactCol{border-left:0;width:100%;min-width:0;padding-left:0}.patientProfileSummary--directory .patientProfileSummaryActions{align-items:stretch;width:100%}.patientProfileSummary--directory .patientProfileSummaryActions .btn,.patientProfileSummary--directory .patientProfileSummaryActions .mrAddDocsBtn{white-space:normal;text-align:center;justify-content:center;width:100%;min-height:44px}.patientProfileSummary--directory .patientProfileSummaryContactHdr{text-align:left;width:100%}.patientProfileSummary--directory .patientProfileSummaryContactLine{width:100%}.refPatientAddDocBtn{white-space:nowrap;justify-content:center;width:100%}.refQueueStatusBadge{text-transform:uppercase;letter-spacing:.04em;border-radius:var(--radius-pill);white-space:nowrap;padding:4px 10px;font-size:.72rem;font-weight:700}.refQueueStatusBadgeScheduled{color:#1d4ed8;background:#eff6ff}.refQueueStatusBadgeServing{color:#b45309;background:#fffbeb}.refQueueStatusBadgeWaiting{color:#c2410c;background:#fff7ed}.patientProfileSummaryAddress,.patientProfileSummaryWeight{color:#334155;align-items:flex-start;gap:8px;margin:0;font-size:.875rem;font-weight:500;line-height:1.45;display:flex}.patientProfileSummaryAddress svg,.patientProfileSummaryWeight svg{color:#94a3b8;flex-shrink:0;margin-top:2px}.patientProfileSummaryWeightLbl{color:var(--color-text-muted);font-weight:500}.patientProfileSummaryContactCol{border-left:1px solid #e2e8f0;min-width:0;padding-left:8px}.patientProfileSummaryContactHdr{text-transform:uppercase;letter-spacing:.06em;color:var(--color-text-muted);margin-bottom:10px;font-size:.6875rem;font-weight:600;display:block}.patientProfileSummaryContactLine{color:#334155;word-break:break-word;align-items:flex-start;gap:8px;margin:0 0 8px;font-size:.875rem;font-weight:500;line-height:1.4;display:flex}.patientProfileSummaryContactLine svg{color:#94a3b8;flex-shrink:0;margin-top:2px}.patientProfileSummaryActions{flex-direction:column;justify-content:flex-start;align-items:flex-end;gap:8px;display:flex}.mrPatientProfileBanner{margin-bottom:18px}.walkInModalIntro{margin-top:0;font-size:.88rem}.walkInPatientTableWrap{border:1px solid var(--color-border);border-radius:8px;flex-direction:column;flex:1;min-height:0;margin-top:10px;display:flex;overflow:hidden}.walkInPatientTableHead,.walkInPatientTableRow{text-align:left;grid-template-columns:120px 1fr;align-items:center;gap:12px;display:grid}.walkInPatientTableHead{background:var(--color-surface-muted,#f8fafc);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);border-bottom:1px solid var(--color-border);padding:8px 12px;font-size:.72rem;font-weight:700}.walkInPatientTableBody{flex:1;min-height:0;max-height:220px;overflow-y:auto}.walkInPatientTableRow{border:0;border-bottom:1px solid var(--color-border);width:100%;color:var(--color-text);cursor:pointer;font:inherit;background:0 0;padding:10px 12px}.walkInPatientTableRow:last-child{border-bottom:0}.walkInPatientTableRowSelected{background:var(--color-primary-soft,#eff6ff)}.walkInPatientTableId{color:var(--color-primary);font-size:.92rem;font-weight:800}.walkInPatientTableName{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.walkInPatientTableEmpty{color:var(--color-text-muted);margin:0;padding:12px;font-size:.88rem}.refPatientFullName{margin-bottom:8px;font-size:1.08rem;font-weight:800}.refPatientMetaLine{color:var(--color-text);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px;font-size:.88rem;display:flex}.refPatientAgePill{color:var(--color-text-muted);background:#f1f5f9;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:600}.refPatientBloodLabel{color:var(--color-text-muted);margin-right:4px;font-weight:500}.refPatientBloodPill{color:var(--color-text-muted);background:#f1f5f9;border-radius:8px;padding:2px 8px;font-size:.78rem;font-weight:600}.refPatientColHdr{text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted);margin-bottom:10px;font-size:.72rem;font-weight:700}.refPatientContactLine{align-items:flex-start;gap:8px;margin-bottom:8px;font-size:.88rem;display:flex}.refPatientContactMuted{color:var(--color-text-muted)}.refPatientSummaryLine{margin-bottom:8px;font-size:.86rem;line-height:1.45}.refPatientSummaryLbl{color:var(--color-text-muted);margin-right:6px;font-weight:600}.refPatientConditionPills{flex-wrap:wrap;gap:6px;display:inline-flex}.refPatientConditionPill{color:#64748b;background:#f1f5f9;border-radius:999px;padding:3px 10px;font-size:.75rem;font-weight:600}.refPatientRowLink:hover .patientProfileSummary.refPatientRow{border-color:#94a3b8;box-shadow:0 4px 16px #0f172a14}.refConsultationSection{max-width:1100px}.refConsultationTopBar{margin-bottom:16px}.refConsultationBackLink{color:var(--color-text);align-items:center;gap:8px;font-weight:600;text-decoration:none;display:inline-flex}.refConsultationBackLink:hover{color:var(--color-primary)}.refConsultationGrid{grid-template-columns:minmax(240px,300px) minmax(0,1fr);align-items:start;gap:22px;display:grid}.refConsultationSideCol{flex-direction:column;gap:16px;display:flex}.refConsultationNotesSideCard,.refConsultationApptCard{padding:20px!important}.refConsultationApptTitle{margin:0 0 14px;font-size:1.05rem;font-weight:800}.refConsultationDateCapsule{color:#0369a1;background:#e0f2fe;border-radius:12px;align-items:center;gap:12px;margin-bottom:16px;padding:12px 14px;display:flex}.refConsultationDateMain{font-size:.95rem;font-weight:800}.refConsultationTimeMain{margin-top:2px;font-size:.88rem;font-weight:600}.refConsultationDl{gap:10px;margin:0;display:grid}.refConsultationDl dt{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin:0;font-size:.72rem;font-weight:700}.refConsultationDl dd{margin:0 0 4px;font-size:.92rem}.refConsultationMain{flex-direction:column;gap:16px;display:flex}.refConsultationTabBar{background:#f1f5f9;border-radius:12px;flex-wrap:wrap;gap:8px;padding:6px;display:flex}.refConsultationTab{color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:10px 16px;font-size:.88rem;font-weight:600}.refConsultationTabOn{color:var(--color-text);background:#fff;box-shadow:0 1px 4px #0f172a14}.refConsultationPanelCard{padding:20px!important}.refConsultationCardHeading{margin:0 0 14px;font-size:1rem;font-weight:800}.refConsultationNotesLabel{margin:0}.refConsultationNotesArea{border:1px solid var(--color-border);background:var(--color-surface-muted);border-radius:10px;width:100%;min-height:200px;margin-top:8px;padding:12px 14px;font-family:inherit;font-size:.95rem}.refConsultationDocTwoCol{grid-template-columns:1fr 1fr;gap:16px;display:grid}.refConsultationLabFull{margin-top:12px}.refConsultationActions{justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.refConsultationUploadHint{color:var(--color-text-muted);margin:0 0 12px;font-size:.88rem;line-height:1.45}.refConsultationHint{color:var(--color-text-subtle);margin-top:-2px;font-size:.78rem;font-weight:500;display:block}.refConsultationUploadStatus{color:var(--color-primary);margin-top:6px;font-size:.82rem;font-weight:600;display:block}.refConsultationInlineCheck{color:var(--color-text);align-items:center;gap:8px;margin-top:8px;font-size:.82rem;font-weight:600;display:inline-flex}.refConsultationInlineCheck input[type=checkbox]{width:16px;height:16px}.refConsultationSessionDocs{border-top:1px solid var(--color-border);margin-top:18px;padding-top:16px}.refConsultationSessionDocsTitle{margin:0 0 10px;font-size:.92rem;font-weight:700}.refConsultationSessionDocsList{flex-direction:column;gap:10px;display:flex}.refConsultationSessionDocRow{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#ffffffb3;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.refConsultationSessionDocMeta{color:var(--color-text-muted);margin:4px 0 6px;font-size:.82rem}.refConsultationSaveBtn{font-weight:700;color:#fff!important;background:#0f172a!important;border-color:#0f172a!important}@media (width<=960px){.refConsultationGrid,.refConsultationDocTwoCol{grid-template-columns:1fr}}.mrDetailSection{box-sizing:border-box;flex-direction:column;gap:16px;width:100%;max-width:none;display:flex}.pageContent>.mrPersonnelDetailSection.mrDetailSection,.pageContent>.mrPatientDetailSection.mrDetailSection{width:100%;max-width:none}.pageContent>.mrPersonnelDetailSection{box-sizing:border-box;flex-direction:column;gap:12px;padding-inline:6px;display:flex;overflow:hidden}.pageContent>.mrPatientDetailSection{box-sizing:border-box;--record-list-row-height:118px;--record-list-row-height-txn:136px;--record-list-visible-rows:3.5;--record-list-scroll-height:calc(var(--record-list-row-height) * var(--record-list-visible-rows));--record-list-scroll-height-txn:calc(var(--record-list-row-height-txn) * var(--record-list-visible-rows));flex-direction:column;gap:12px;padding-inline:6px;display:flex;overflow:hidden}.mrPatientDetailSection .mrDetailStickyHead{box-sizing:border-box;flex-direction:column;flex-shrink:0;gap:8px;width:100%;min-width:0;max-width:100%;display:flex}.mrPatientDetailSection .mrDetailStickyHead .patientProfileHeaderCard,.mrPatientDetailSection .mrDetailStickyHead .mrDetailTabs{box-sizing:border-box;align-self:stretch;width:100%;min-width:0;max-width:100%}.mrPatientDetailSection .mrDetailStickyHead .mrDetailTabs,.mrPatientDetailSection .mrDetailStickyHead .pageHead{margin-bottom:0}.mrPatientDetailSection .mrDetailScrollBody{overscroll-behavior:contain;box-sizing:border-box;flex-direction:column;flex:1;gap:16px;width:100%;min-width:0;max-width:100%;min-height:0;display:flex;overflow-y:auto}.mrPatientDetailSection .mrDetailScrollBody:not(.mrDetailScrollBody--recordsTab):not(.mrDetailScrollBody--transactionsTab){display:block}.mrPatientDetailSection .mrDetailScrollBody:not(.mrDetailScrollBody--recordsTab):not(.mrDetailScrollBody--transactionsTab)>.surface-card{margin-bottom:16px}.mrPatientDetailSection .mrDetailScrollBody:not(.mrDetailScrollBody--recordsTab):not(.mrDetailScrollBody--transactionsTab)>.surface-card:last-child{margin-bottom:0}.mrPatientDetailSection .mrDetailScrollBody>.surface-card{box-sizing:border-box;flex-shrink:0;width:100%;min-width:0;max-width:100%}.mrPatientDetailSection .mrDetailScrollBody--recordsTab>.mrEmbeddedRecordsRoot{flex:1;min-height:0}.mrPatientDetailSection .mrDetailScrollBody--recordsTab .mrInfoCard,.mrPatientDetailSection .mrDetailScrollBody--recordsTab .activityHistoryCard,.mrPatientDetailSection .mrDetailScrollBody--transactionsTab .mrInfoCard,.mrPatientDetailSection .mrDetailScrollBody--transactionsTab .activityHistoryCard{margin-top:0;margin-bottom:0}.mrPatientDetailSection .mrDetailScrollBody--recordsTab,.mrPatientDetailSection .mrDetailScrollBody--transactionsTab{overflow:hidden}.mrPatientDetailSection .mrDetailScrollBody--transactionsTab>.patientRecordTxnHistoryShell,.mrPatientDetailSection .mrDetailScrollBody--transactionsTab>.patientRecordTxnHistoryCard{flex:1;min-height:0}.patientRecordTxnHistoryShell,.patientRecordTxnHistoryCard{box-sizing:border-box;flex-direction:column;flex:1;width:100%;max-width:100%;min-height:0;display:flex;overflow:hidden}.patientRecordTxnHistoryShell .patientPayInvoicesCardTitle,.patientRecordTxnHistoryCard .patientPayInvoicesCardTitle{flex-shrink:0}.patientRecordTxnHistoryScroll{height:var(--record-list-scroll-height-txn,calc(136px * 3.5));max-height:var(--record-list-scroll-height-txn,calc(136px * 3.5));min-height:calc(var(--record-list-row-height-txn,136px) * 3);overscroll-behavior:contain;box-sizing:border-box;flex:none;overflow-y:auto}.mrPatientDetailSection .patientRecordTxnHistoryScroll .patientPayInvoiceRowFig{min-height:var(--record-list-row-height-txn,136px);box-sizing:border-box}.patientRecordTxnHistoryEmpty{margin:0;padding:16px 18px}.patientRecordTxnHistoryScroll:not(:has(.patientPayInvoiceList)){justify-content:center;align-items:center;display:flex}.patientRecordTxnHistoryShell .patientPayInvoiceTitleRow,.patientRecordTxnHistoryCard .patientPayInvoiceTitleRow{margin-bottom:4px}.patientRecordTxnHistoryShell .patientPayInvoiceDesc,.patientRecordTxnHistoryCard .patientPayInvoiceDesc{margin:0 0 4px}.patientRecordTxnAmountRow{flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0 0 2px;display:flex}.patientRecordTxnAmount{color:var(--color-text);font-size:.88rem;font-weight:700}.patientRecordTxnMethod{color:var(--color-text-muted);font-size:.82rem}.patientRecordTxnHistoryCard .patientPayInvoiceMeta{margin:0;line-height:1.35}.mrEmbeddedRecordsRoot{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.mrEmbeddedRecordsDocs{box-sizing:border-box;flex-direction:column;flex:1;gap:14px;width:100%;min-width:0;max-width:100%;min-height:0;display:flex;overflow:hidden}.mrEmbeddedRecordsDocs .mrDocToolbarStrip,.mrEmbeddedRecordsDocs .mrDocToolbarCard,.mrEmbeddedRecordsDocs .mrDocListScroll,.mrEmbeddedRecordsDocs .mrDocListCard{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.mrEmbeddedRecordsDocs .mrDocToolbarStrip,.mrEmbeddedRecordsDocs .mrDocToolbarCard{flex-shrink:0;margin-bottom:0}.mrDocToolbarStrip{margin-bottom:14px}.mrDocListScroll--embedded{height:var(--record-list-scroll-height,calc(118px * 3.5));max-height:var(--record-list-scroll-height,calc(118px * 3.5));min-height:calc(var(--record-list-row-height,118px) * 3);overscroll-behavior:contain;box-sizing:border-box;flex:none;padding-right:4px;overflow-y:auto}.mrPatientDetailSection .mrDocListScroll--embedded .docRow--card{min-height:calc(var(--record-list-row-height,118px) - 12px);box-sizing:border-box}.mrDocListScroll--embedded .mrDocEmpty{justify-content:center;align-items:center;min-height:120px;display:flex}.mrDocListCard--scrollBody{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.mrDocListCard--scrollBody .mrDocListTitle{flex-shrink:0}.mrDocListCard--scrollBody .mrDocListInner{overscroll-behavior:contain;box-sizing:border-box;flex:1;min-height:0;overflow-y:auto}.mrDocListCard--scrollBody .mrDocEmpty{flex:1;justify-content:center;align-items:center;display:flex}.mrPersonnelDetailSection .mrDetailStickyHead{box-sizing:border-box;flex-direction:column;flex-shrink:0;gap:8px;width:100%;min-width:0;max-width:100%;display:flex}.mrPersonnelDetailSection .mrDetailStickyHead .patientProfileHeaderCard{box-sizing:border-box;align-self:stretch;width:100%;min-width:0;max-width:100%;margin-top:0}.mrPatientDetailSection .mrDetailStickyHead .patientProfileHeaderCard{margin-top:0}.mrPersonnelDetailSection .mrDetailStickyHead .pageHead{margin-bottom:0}.mrPersonnelDetailSection .mrDetailScrollBody{overscroll-behavior:contain;box-sizing:border-box;flex:1;width:100%;min-width:0;max-width:100%;min-height:0;display:block;overflow-y:auto}.mrPersonnelDetailSection .mrDetailScrollBody>.surface-card,.mrPersonnelDetailSection .mrDetailScrollBody>.userMgmtRecordStack,.mrPatientDetailSection .mrDetailScrollBody>.surface-card{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.mrPersonnelDetailSection .mrDetailScrollBody .activityHistoryCard{margin-top:0;margin-bottom:0}.mrDetailBack{margin-bottom:12px}.mrPatientHeaderRow{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.mrPatientHeaderLeft{align-items:center;gap:14px;display:flex}.mrPatientAvatarWrap .avatar{color:#1e40af;background:#dbeafe}.mrPatientName{margin:0;font-size:1.5rem;font-weight:800}.mrPatientIdLine{color:var(--color-text-muted);margin:4px 0 0;font-size:.92rem}.mrAddDocsBtn{border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:700;line-height:1.3;display:inline-flex;color:#fff!important;background:#0f172a!important;border-color:#0f172a!important}.mrDetailTabs.tabsBar{background:var(--color-border);box-sizing:border-box;border-radius:var(--radius-md);align-self:stretch;width:100%;max-width:100%;margin-top:4px;display:flex}.mrDetailTabs .tabBtn{background:var(--color-border);color:#1f2937;flex:auto;justify-content:center}.mrDetailTabs .tabBtnActive{color:#fff;box-shadow:0 0 0 2px var(--color-primary-soft), 0 0 0 3px #18395b59;background:#4b5563}.mrInfoCard{box-sizing:border-box;width:100%;margin-bottom:16px;padding:20px 22px!important}.mrInfoCardTitle{margin:0 0 16px;font-size:1.05rem;font-weight:800}.mrInfoCardTitleWithIcon{align-items:center;gap:10px;margin:0 0 14px;font-size:1.05rem;font-weight:800;display:flex}.mrInfoDemographicGrid{flex-direction:column;gap:14px;display:flex}.mrInfoDemoRow{grid-template-columns:1fr 1fr;align-items:start;gap:20px 32px;display:grid}.mrInfoDemoAddressFull{width:100%}.mrInfoTwoCol{grid-template-columns:1fr 1fr;gap:20px 32px;display:grid}.mrInfoCol{flex-direction:column;gap:14px;display:flex}.mrInfoField{flex-direction:column;gap:4px;display:flex}.mrInfoLbl{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);font-size:.75rem;font-weight:700}.mrInfoVal{color:var(--color-text);font-size:1rem;font-weight:700}.mrInfoMuted{color:var(--color-text-muted);margin:0;font-size:.9rem}.mrConditionPills{flex-wrap:wrap;gap:8px;display:flex}.mrConditionPill{color:#1e40af;background:#dbeafe;border-radius:8px;padding:6px 12px;font-size:.82rem;font-weight:600}.mrEditContactCard{margin-top:4px}.mrDocToolbarCard{margin-bottom:14px;padding:16px 18px!important}.mrDocToolbarInner{flex-direction:column;align-items:stretch;gap:12px;display:flex}.mrDocSearchWrap{flex:240px;min-width:0}.mrDocFilterSelect{min-width:180px}.mrDocListCard{overflow:hidden;padding:0!important}.mrDocListTitle{border-bottom:1px solid var(--color-border);margin:0;padding:16px 18px 12px;font-size:1.05rem;font-weight:800}.mrDocEmpty{text-align:center;color:var(--color-text-muted);margin:0;padding:36px 16px;font-size:.95rem}.mrDocListInner{flex-direction:column;gap:0;display:flex}.mrVisitHistoryList{flex-direction:column;gap:10px;display:flex}.refConsultationVisitHistoryList{max-height:460px;padding-right:4px;overflow-y:auto}.mrVisitHistoryRow{border:1px solid var(--color-border);background:var(--color-surface-muted);color:inherit;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;text-decoration:none;transition:background .15s,border-color .15s;display:flex}.mrVisitHistoryRow:hover{background:#f1f5f9;border-color:#cbd5e1}.mrVisitHistoryLeft{flex-shrink:0;align-items:flex-start;gap:10px;display:flex}.mrVisitHistoryClock{color:var(--color-text-muted);flex-shrink:0;margin-top:3px}.mrVisitHistoryDateTimeStack{flex-direction:column;gap:2px;display:flex}.mrVisitHistoryDate,.mrVisitHistoryTime{font-weight:400;line-height:1.3}.mrVisitHistoryDate{color:var(--color-text);font-size:.92rem}.mrVisitHistoryTime{color:var(--color-text-muted);font-size:.88rem}.mrVisitHistoryRight{flex:1;justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.mrVisitHistoryConcern{color:var(--color-text);text-align:right;font-size:.95rem;font-weight:700;line-height:1.35}.mrVisitHistoryChevron{color:var(--color-text-muted);flex-shrink:0}.refConsultationNotesFileLabel{margin-top:14px}.refConsultationNotesFileName{color:var(--color-text-muted);margin-top:8px;font-size:.88rem}@media (width<=720px){.mrInfoDemoRow,.mrInfoTwoCol{grid-template-columns:1fr}.mrVisitHistoryRow{flex-direction:column;align-items:stretch;gap:12px}.mrVisitHistoryRight{justify-content:space-between}.mrVisitHistoryConcern{text-align:left}}.pageContent>.certRequestsSection{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex;overflow:hidden}.certRequestsSection{box-sizing:border-box;flex-direction:column;flex:1;gap:12px;width:100%;min-width:0;max-width:none;min-height:0;display:flex;overflow:hidden}.certRequestsSection .pageHead{flex-shrink:0;margin-bottom:0}.certRequestsSection .pageHead h1{margin-bottom:0}.certRequestsError{flex-shrink:0;margin:0}.certRequestsTabsBar.tabsBar{border-radius:var(--radius-pill);background:#eef2f7;flex-wrap:wrap;flex-shrink:0;align-self:flex-start;gap:8px;width:auto;max-width:100%;margin-bottom:0;padding:6px;display:inline-flex}.certRequestsTabsBar .tabBtn{border-radius:var(--radius-pill);font:inherit;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:6px;padding:8px 18px;font-size:.88rem;font-weight:600;display:inline-flex}.certRequestsTabsBar .tabBtnActive{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-card)}.certRequestsTabPanel{box-sizing:border-box;flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.certRequestsNewCard{box-sizing:border-box;width:100%;margin-bottom:22px;padding:18px 20px!important}.certRequestsNewTitle{margin-top:0}.certRequestsStack{flex-direction:column;gap:28px;width:100%;display:flex}.certRequestsBlock{flex-direction:column;gap:14px;width:100%;display:flex}.certRequestsBlockHeader{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.certRequestsBlockTitle{color:var(--color-text);margin:0;font-size:1.1rem;font-weight:800}.certRequestsPendingBadge{color:#991b1b;background:#fecaca;border-radius:999px;padding:5px 12px;font-size:.78rem;font-weight:700}.certRequestsBlockCompleted{padding-top:4px}.certRequestsCardList{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;box-sizing:border-box;flex-direction:column;flex:1;gap:12px;width:100%;min-width:0;min-height:0;padding-right:4px;display:flex;overflow:hidden auto}.certRequestsItemActions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.certRequestsMetaLineSub{font-size:.8rem}.certRequestsItemCard{box-sizing:border-box;width:100%;padding:16px 18px!important}.certRequestsItemTop{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;display:flex}.certRequestsItemNameRow{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.certRequestsPatientName{font-size:1.02rem}.certProcessModal{flex-direction:column;max-height:92vh;display:flex;overflow:hidden;width:96vw!important;max-width:min(1140px,96vw)!important}.certProcessModal .modalHeader{flex-shrink:0;padding:10px 18px}.certProcessModal .modalBody{flex-direction:column;flex:1;gap:0;min-height:0;padding:0;display:flex;overflow:hidden}.certProcessScrollBody{flex:1;gap:10px;min-height:0;padding:10px 18px 14px;display:grid;overflow-y:auto}.certProcessModal .modalFooter{border-top:1px solid var(--color-border);background:#fff;flex-shrink:0;padding:10px 18px 12px}.certViewModal{width:96vw!important;max-width:min(1120px,96vw)!important}.certViewModalLayout{grid-template-columns:minmax(220px,280px) 1fr;align-items:stretch;gap:20px;min-height:0;display:grid}.certViewModalMeta{flex-direction:column;gap:12px;min-width:0;display:flex}.certViewModalFields{flex-direction:column;gap:10px;display:flex}.certViewModalPreview{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);height:min(58vh,520px);min-height:min(58vh,520px);overflow:hidden}.certViewModalPreview .emrDocViewerFileFrame,.certViewModalPreview .emrDocViewerImage{border:0;width:100%;height:100%;min-height:min(58vh,520px)}.certViewModalPreview .emrDocViewerEmpty{margin:0;padding:24px}@media (width<=760px){.certViewModalLayout{grid-template-columns:1fr}.certViewModalPreview{height:360px;min-height:360px}.certViewModalPreview .emrDocViewerFileFrame,.certViewModalPreview .emrDocViewerImage{min-height:360px}}.certProcessHeader{border-bottom:1px solid var(--color-border);margin-bottom:8px;padding-bottom:8px}.certProcessVisitLine,.certProcessReason{color:var(--color-text-muted);margin:2px 0 0;font-size:.9rem}.certProcessBody{grid-template-columns:1.08fr .92fr;align-items:start;gap:18px;min-height:0;display:grid}@media (width<=680px){.certProcessBody{grid-template-columns:1fr}}.certProcessDocPanel{flex-direction:column;gap:6px;min-height:0;display:flex}.certProcessDocPanel .emrDocViewerFileFrame,.certProcessDocPanel .emrDocViewerImage{border:1px solid var(--color-border);border-radius:6px;width:100%;height:min(50vh,500px);min-height:min(50vh,500px)}.certProcessRight{flex-direction:column;gap:0;display:flex}.certProcessActions{justify-content:flex-end;width:100%}.certProcessModal .modalFooter .certProcessActions{border-top:0;margin-top:0;padding-top:0}.certContextLoading{color:var(--color-text-muted);padding:12px 18px;font-size:.9rem}.certProcessModal .modalBody>.certReviewLayout{flex:1;min-height:0;padding:10px 18px 14px;overflow-y:auto}.certReviewLayout{flex-direction:column;gap:14px;min-height:0;display:flex}.certReviewDocsRow{grid-template-columns:1fr 1fr;align-items:start;gap:18px;min-height:0;display:grid}@media (width<=680px){.certReviewDocsRow{grid-template-columns:1fr}}.certReviewLeft,.certReviewRight{flex-direction:column;gap:10px;min-width:0;display:flex}.certReviewPatientHeader{border-bottom:1px solid var(--color-border);flex-direction:column;gap:4px;padding-bottom:8px;display:flex}.certReviewPatientName{color:var(--color-text);font-size:1rem}.certReviewPatientId,.certReviewVisitDate{color:var(--color-text-muted);font-size:.84rem}.certReviewDocPanel{flex-direction:column;flex:1;gap:4px;display:flex}.certReviewDocLabel{color:var(--color-text-muted);margin:0;font-size:.82rem;font-weight:600}.certReviewDraftLabel{color:var(--color-primary)}.certReviewDocIframe,.certReviewPreview{border:1px solid var(--color-border);border-radius:var(--radius-sm);width:100%;height:340px}.certReviewDocImg{object-fit:contain;border:1px solid var(--color-border);border-radius:var(--radius-sm);width:100%;max-height:340px}.certReviewPreviewPanel{flex-direction:column;gap:4px;min-width:0;display:flex}.certReviewPreviewPanel .emrDocViewerFileFrame,.certReviewPreviewPanel .emrDocViewerImage,.certReviewDocPanel .emrDocViewerFileFrame,.certReviewDocPanel .emrDocViewerImage{border:1px solid var(--color-border);border-radius:6px;width:100%;height:min(50vh,480px);min-height:min(50vh,480px)}.certReviewNoDoc{color:var(--color-text-muted);margin:0;font-size:.88rem}.certReviewFields{flex-direction:column;gap:8px;display:flex}.certReviewActions{border-top:1px solid var(--color-border);flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px;padding-top:10px;display:flex}.certManualPanel{flex-direction:column;gap:10px;display:flex}.certManualPanelTitle{margin:0 0 4px;font-size:.95rem;font-weight:700}.certManualOptional{color:var(--color-text-muted);font-size:.78rem;font-weight:400;display:block}.prescriptionStructuredGrid{gap:14px;display:grid}.prescriptionStructuredGrid .prescriptionFieldLabel{flex-direction:column;gap:6px;display:flex}.prescriptionStructuredGrid .fieldLabelText{display:inline}.prescriptionTextarea{resize:vertical}.certNoVisitHint{color:#d97706;font-weight:500}.refConsultationPrescriptionSection{background:var(--color-surface-alt,#f9fafb);border-radius:var(--radius-sm);border:1px solid var(--color-border);flex-direction:column;gap:6px;margin-top:4px;padding:12px 14px;display:flex}.refConsultationPrescriptionTitle{color:var(--color-text);margin:0 0 6px;font-weight:700}.certRequestsPatientLine{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.certRequestsPatientId{color:var(--color-text-muted);font-size:.88rem;font-weight:600}.certRequestsProcessBtn{flex-shrink:0}.certRequestsMetaLine{color:var(--color-text-muted);margin:8px 0 0;font-size:.86rem}.certRequestsReasonLine{color:var(--color-text);margin:10px 0 0;font-size:.92rem;line-height:1.45}.certRequestsReasonLbl{color:var(--color-text-muted);font-weight:600}.certRequestsEmpty{color:var(--color-text-muted);flex-shrink:0;margin:0;font-size:.9rem}@media (width<=720px){.certRequestsTabsBar.tabsBar{width:100%}.certRequestsTabsBar .tabBtn{flex:auto;justify-content:center;min-width:0}.certRequestsItemTop{flex-direction:column;align-items:stretch;gap:10px}.certRequestsItemActions{justify-content:flex-start}}.certRequestsAttachmentBar{border-radius:var(--radius-sm);color:#166534;background:#dcfce7;align-items:center;gap:10px;margin-top:14px;padding:12px 14px;font-size:.88rem;display:flex}.certRequestsAttachmentIcon{color:#15803d;flex-shrink:0}.staffScheduleSection{flex-direction:column;gap:8px;width:100%;min-height:0;display:flex;overflow:clip visible}:is(.pageShell:has(.staffScheduleSection),.pageShell:has(.staffOrdersSection),.pageShell:has(.patientDashSection),.pageShell:has(.staffDashSection),.pageShell:has(.secDashSection),.pageShell:has(.patientMrHubSection),.pageShell:has(.apptPageSection),.pageShell:has(.patientOrdersSection),.pageShell:has(.patientProfileSection)){padding:24px 0 24px 24px;overflow:hidden auto}:is(.pageShell:has(.staffDashSection),.pageShell:has(.secDashSection)){flex-direction:column;padding:24px 0 24px 24px;display:flex;overflow:hidden}.pageShell:has(.apptPageSection.apptPageSectionStretch){flex-direction:column;display:flex;overflow:hidden}.pageContent:has(.apptPageSection.apptPageSectionStretch){flex-direction:column;flex:1;min-height:0;display:flex}:is(.pageShell:has(.staffDashSection) .pageContent,.pageShell:has(.secDashSection) .pageContent){flex-direction:column;flex:1;min-height:0;display:flex}:is(.pageContent:has(.staffScheduleSection),.pageContent:has(.staffOrdersSection),.pageContent:has(.patientPaySection),.pageContent:has(.patientDashSection),.pageContent:has(.staffDashSection),.pageContent:has(.secDashSection),.pageContent:has(.patientMrHubSection),.pageContent:has(.apptPageSection),.pageContent:has(.patientOrdersSection),.pageContent:has(.patientProfileSection),.pageContent:has(.notifSection),.pageContent:has(.certRequestsSection)){width:100%;max-width:none;margin-left:0;margin-right:0}:is(.pageContent:has(.staffScheduleSection)>.staffScheduleSection,.pageContent:has(.staffOrdersSection)>.staffOrdersSection,.pageContent:has(.patientDashSection)>.patientDashSection,.pageContent:has(.patientMrHubSection)>.patientMrHubSection,.pageContent:has(.patientOrdersSection)>.patientOrdersSection,.pageContent:has(.patientProfileSection)>.patientProfileSection){box-sizing:border-box;flex-direction:column;flex:1;width:100%;min-height:0;padding-right:24px;display:flex;overflow:clip visible}.pageContent:has(.apptPageSection)>.apptPageSection{box-sizing:border-box;width:100%;padding-right:24px}.pageContent:has(.apptPageSection.apptPageSectionStretch)>.apptPageSection{box-sizing:border-box;flex-direction:column;flex:1;width:100%;min-height:0;padding-right:24px;display:flex;overflow:clip visible}:is(.pageContent:has(.staffDashSection)>.staffDashSection,.pageContent:has(.secDashSection)>.secDashSection){box-sizing:border-box;flex:1;width:100%;min-height:0;padding-right:24px;overflow:hidden}:is(.pageContent:has(.staffOrdersSection)>.staffOrdersSection--clip,.pageContent:has(.staffOrdersSection)>.staffOrdersSection--orders){overflow:visible}.pageContent:has(.staffOrdersSection) .staffOrdersListBody{overscroll-behavior:auto;flex:none;min-height:0;overflow-y:visible}.pageContent:has(.staffOrdersSection) .staffOrdersStickyHead{width:100%}.pageContent:has(.staffOrdersSection) .ordersScrollList{max-height:none;overflow-y:visible}.pageShell:has(.staffOrdersSection--catalog){flex-direction:column;min-height:0;display:flex;overflow:hidden}.pageShell:has(.staffOrdersSection--catalog) .pageContent{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.pageContent:has(.staffOrdersSection--catalog)>.staffOrdersSection--catalog{flex:1;min-height:0;overflow:hidden}:is(.pageContent:has(.staffOrdersSection--catalog) .servicesCatalogPanel,.pageContent:has(.staffOrdersSection--catalog) .servicesCatalogTwoPanel){flex:1;min-height:0;overflow:hidden}:is(.pageContent:has(.staffOrdersSection--catalog) .servicesCatalogLeftPanel,.pageContent:has(.staffOrdersSection--catalog) .servicesCatalogRightPanel){min-height:0;overflow:hidden}:is(.pageContent:has(.staffOrdersSection--catalog) .servicesCatalogCategoryItems,.pageContent:has(.staffOrdersSection--catalog) .servicesCatalogRightBody){overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow-y:auto}@media (width<=960px){:is(.pageShell:has(.staffScheduleSection),.pageShell:has(.staffOrdersSection),.pageShell:has(.patientPaySection),.pageShell:has(.patientDashSection),.pageShell:has(.staffDashSection),.pageShell:has(.secDashSection),.pageShell:has(.patientMrHubSection),.pageShell:has(.apptPageSection),.pageShell:has(.patientOrdersSection),.pageShell:has(.patientProfileSection)){padding:16px 0 16px 16px}:is(.pageContent:has(.staffScheduleSection)>.staffScheduleSection,.pageContent:has(.staffOrdersSection)>.staffOrdersSection,.pageContent:has(.patientPaySection)>.patientPaySection,.pageContent:has(.patientDashSection)>.patientDashSection,.pageContent:has(.staffDashSection)>.staffDashSection,.pageContent:has(.secDashSection)>.secDashSection,.pageContent:has(.patientMrHubSection)>.patientMrHubSection,.pageContent:has(.apptPageSection)>.apptPageSection,.pageContent:has(.apptPageSection.apptPageSectionStretch)>.apptPageSection,.pageContent:has(.patientOrdersSection)>.patientOrdersSection,.pageContent:has(.patientProfileSection)>.patientProfileSection){padding-right:16px}}.staffScheduleSection .pageHead{margin-bottom:8px}.staffScheduleTabsBar{margin-bottom:0}:is(.pageContent:has(.staffScheduleSection:has(.secScheduleOverview))>.staffScheduleSection,.pageContent:has(.staffScheduleSection:has(.secScheduleOverviewClinical))>.staffScheduleSection){flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}:is(.pageShell:has(.staffScheduleSection:has(.secScheduleOverview)),.pageShell:has(.staffScheduleSection:has(.secScheduleOverviewClinical))){flex-direction:column;display:flex;overflow:hidden}:is(.pageShell:has(.staffScheduleSection:has(.secScheduleOverview)) .pageContent,.pageShell:has(.staffScheduleSection:has(.secScheduleOverviewClinical)) .pageContent),:is(.pageShell:has(.staffScheduleSection:has(.secScheduleOverview)) .pageContent>.staffScheduleSection,.pageShell:has(.staffScheduleSection:has(.secScheduleOverviewClinical)) .pageContent>.staffScheduleSection){flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}:is(.staffScheduleSection:has(.secScheduleOverview),.staffScheduleSection:has(.secScheduleOverviewClinical)){flex:1 1 0;gap:16px;min-height:0;max-height:100%;overflow:hidden}:is(.staffScheduleSection:has(.secScheduleOverview) .staffScheduleTabsBar,.staffScheduleSection:has(.secScheduleOverviewClinical) .staffScheduleTabsBar,.staffScheduleSection:has(.secScheduleOverview)>.tabsBarSecSchedule,.staffScheduleSection:has(.secScheduleOverviewClinical)>.tabsBarSecSchedule,.staffScheduleSection:has(.secScheduleOverview) .pageHead,.staffScheduleSection:has(.secScheduleOverviewClinical) .pageHead){flex-shrink:0}.secScheduleOverviewClinical{flex:1;grid-template-rows:minmax(0,1fr);min-height:0;display:grid}.secScheduleOverviewClinical .secScheduleOverviewTopRow{min-height:0;overflow:hidden}.secScheduleOverview{box-sizing:border-box;flex-direction:column;flex:1 1 0;gap:0;width:100%;min-width:0;min-height:0;max-height:100%;display:flex;overflow:hidden}.secScheduleOverview>.secScheduleOverviewTopRow{flex:1;align-self:stretch;min-height:0;max-height:100%;overflow:hidden}.secScheduleOverview>.secSchedulePersonnelOverview{min-height:0;max-height:100%;overflow:hidden}.secScheduleOverview>*{min-width:0;min-height:0}.staffScheduleSection:has(.secScheduleOverview)>.secScheduleOverview{flex:1 1 0;min-height:0;max-height:100%;overflow:hidden}.secScheduleOverviewTopRow{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(300px,1.05fr) minmax(260px,.95fr);align-items:stretch;gap:24px;min-width:0;min-height:0;max-height:100%;margin-top:0;display:grid;position:relative;overflow:hidden}.secScheduleOverviewTopRow>.secScheduleOverviewCalCard{flex-shrink:0;align-self:stretch;height:100%;max-height:100%}.secScheduleOverviewTopRow>.secOverviewTodayCard,.secScheduleOverviewTopRow>.secSchedulePersonnelSide{height:100%;min-height:0;max-height:100%;overflow:hidden}.secScheduleOverviewTopRow>*{min-width:0;min-height:0;max-height:100%;overflow:hidden}.secScheduleOverviewTopRow .secScheduleOverviewCalCard,.secScheduleOverviewTopRow .secOverviewTodayCard,.secScheduleOverviewTopRow .surface-card.secScheduleOverviewCard{box-sizing:border-box;border-radius:20px;flex-direction:column;height:100%;min-height:0;max-height:100%;display:flex;overflow:hidden}.secScheduleOverviewCalCard{border-radius:20px;flex-direction:column;justify-content:flex-start;min-height:0;display:flex;overflow:hidden}.secScheduleOverviewCalCard .secScheduleOverviewCalTop{flex-shrink:0}.secScheduleOverviewCalCard .secScheduleOverviewCalTopNavOnly{justify-content:center;margin-bottom:4px}.secScheduleOverviewCalCard .secScheduleOverviewCalGrid{overscroll-behavior:auto;flex:none;grid-template-rows:auto repeat(6,auto);align-content:start;min-height:0;overflow:visible}.secScheduleOverviewTopRow .staffScheduleCard.secScheduleOverviewCalCard{border-radius:20px;flex-direction:column;min-height:0;max-height:100%;display:flex;overflow:hidden}.secScheduleOverviewTopRow .staffScheduleCard.secScheduleOverviewCalCard .staffScheduleCardHead{flex-shrink:0}@media (width<=900px){.secScheduleOverviewTopRow{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;min-height:0;max-height:100%}.secScheduleOverviewTopRow>.secScheduleOverviewCalCard{height:auto;max-height:none}.secScheduleOverview{overflow:hidden}}.secScheduleOverviewDoctorsFull{width:100%;min-width:0}.secSchedulePersonnelOverview{box-sizing:border-box;z-index:1;border-radius:20px;flex-direction:column;align-self:stretch;min-width:0;height:100%;min-height:0;max-height:100%;margin-top:0;display:flex;position:relative;overflow:hidden}.secSchedulePersonnelOverview .secScheduleDutyHead,.secSchedulePersonnelOverview .secScheduleDutyDate{flex-shrink:0}.secSchedulePersonnelOverview .secScheduleDutyDate{margin-bottom:10px}.adminSchedulePersonnelRow{width:100%;min-width:0}.adminSchedulePersonnelRow .secSchedulePersonnelSide{flex-direction:column;min-width:0;height:100%;min-height:0;max-height:100%;display:flex;overflow:hidden}.secSchedulePersonnelSections{flex:1;min-height:0}.secSchedulePersonnelSections:not(.secSchedulePersonnelOverviewGrid){flex-direction:column;gap:16px;display:flex}.adminSchedulePersonnelRow .secSchedulePersonnelSections{margin-right:2px;padding-right:6px;overflow-y:auto}.secSchedulePersonnelOverview .secSchedulePersonnelSections{flex:1;min-height:0;margin-right:0;padding-right:0;overflow:hidden}.secSchedulePersonnelOverview .secSchedulePersonnelOverviewGroup .secScheduleDutyListScroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#64748b73 transparent;flex:1;min-height:0;overflow:hidden auto}.secSchedulePersonnelOverviewGroup{flex-direction:column;gap:8px;min-width:0;min-height:0;display:flex;overflow:hidden}.secSchedulePersonnelOverviewGroup .secOverviewDaySectionTitle{flex-shrink:0;margin:0}.secSchedulePersonnelOverviewGrid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px 24px;min-height:0;display:grid;overflow:hidden}.secSchedulePersonnelOverviewGrid .secSchedulePersonnelOverviewGroup{height:100%}@media (width>=1100px){.secSchedulePersonnelOverviewGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}.adminSchedulePersonnelRow .secSchedulePersonnelOverviewGroup+.secSchedulePersonnelOverviewGroup{margin-top:0}.secSchedulePersonnelTab{max-width:min(100%,560px)}.secOverviewTodayCard{box-sizing:border-box;border-radius:20px;flex-direction:column;min-width:0;height:100%;min-height:0;max-height:100%;display:flex;overflow:hidden}.secOverviewTodayCard>.secOverviewTodayHead,.secOverviewTodayCard>.staffApptNoPatients{flex-shrink:0}.secOverviewTodayCard>.secOverviewTodayBody{flex:1;min-height:0;overflow:hidden}.secOverviewTodayBody{flex:1;grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.secOverviewTodayBody>.tabsBarSecSchedule,.secOverviewTodayBody>.secOverviewDayTabs{flex-shrink:0;min-height:0}.secOverviewTodayBody>.secOverviewTodayTabPanel{min-height:0;overflow:hidden}.secOverviewTodayBodySingle{flex-direction:column;grid-template-rows:none;display:flex}.secOverviewTodayBodySingle>.secOverviewTodayTabPanel{flex:1;height:100%;min-height:0}.secOverviewTodayHead{border-bottom:1px solid var(--color-border);flex-shrink:0;align-items:flex-start;gap:12px;margin-bottom:4px;padding-bottom:14px;display:flex}.secOverviewTodayHeadIcon{color:#2563eb;flex-shrink:0;margin-top:2px}.secOverviewTodayHeadText{flex:1;min-width:0}.secOverviewTodayHeadText .secScheduleOverviewCardTitle{margin:0 0 4px}.secOverviewTodayDate{color:#64748b;margin:0;font-size:.88rem;font-weight:500}.secOverviewDaySectionTitle{letter-spacing:.06em;text-transform:uppercase;color:#64748b;margin:12px 0 4px;font-size:.72rem;font-weight:800}.secOverviewDaySectionTitle:first-child,.secOverviewTodayList>.secOverviewDaySectionTitle:first-child,.secOverviewTodayListScroll>.secOverviewDaySectionTitle:first-child{margin-top:0}.secOverviewDaySectionTitleSpaced{margin-top:20px}.secOverviewDaySectionHint{color:#94a3b8;margin:0 0 8px;font-size:.8rem;line-height:1.35}.secScheduleDutyIntro{margin:0 0 12px}.secScheduleDutyRoleLeave{color:#b45309}.secOverviewTodayList{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#64748b73 transparent;flex-direction:column;flex:1;gap:12px;min-height:0;padding-top:4px;padding-right:4px;display:flex;overflow:hidden auto}.secOverviewTodayListScroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#64748b73 transparent;flex-direction:column;gap:12px;padding-top:4px;padding-right:4px;display:flex;position:absolute;inset:0;overflow:hidden auto}.secOverviewTodayListScroll>.secOverviewTodayRow,.secOverviewTodayListScroll>.staffApptCard,.secOverviewTodayListScroll>.secOverviewTodayRowWrap{flex-shrink:0}.secOverviewTodayRowWrap{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.secOverviewTodayRowActions{justify-content:flex-end;padding:0 4px;display:flex}.secOverviewTodayListScroll>.secOverviewDaySectionTitle{flex-shrink:0}.secOverviewDayTabs{flex-shrink:0;margin:8px 0 12px}.secOverviewTodayTabPanel{min-height:0;padding-top:2px;padding-right:2px;position:relative;overflow:hidden}.secOverviewTodayList .secOverviewTodayRequestList{flex-direction:column;gap:12px;min-height:0;display:flex}.secOverviewTodayTabPanel .secOverviewTodayRow,.secOverviewTodayTabPanel .staffApptCard,.secOverviewTodayListScroll .secOverviewTodayRow,.secOverviewTodayListScroll .staffApptCard{box-sizing:border-box;flex-shrink:0;min-height:0}.secOverviewTodayRow{text-align:left;border:1px solid var(--color-border);background:var(--color-input-bg);cursor:pointer;width:100%;font:inherit;border-radius:14px;padding:14px 16px;transition:box-shadow .15s,border-color .15s}.secOverviewTodayRow:hover{border-color:#cbd5e1;box-shadow:0 4px 14px #0f172a0f}.secOverviewTodayRowTop{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.secOverviewTodayTimeLine{color:#0f172a;align-items:center;gap:6px;font-size:.9rem;font-weight:700;display:inline-flex}.secOverviewTodayPatient{color:#0f172a;font-size:.98rem;display:block}.secOverviewTodaySubDetail{color:#64748b;margin-top:4px;font-size:.84rem;font-weight:600;display:block}.secOverviewTodayId{color:#64748b;margin-top:4px;font-size:.8rem;font-weight:600;display:block}.secOverviewTodayDetail{color:#2563eb;align-items:flex-start;gap:8px;margin:10px 0 0;font-size:.86rem;font-weight:500;line-height:1.4;display:flex}.secOverviewTodayDetailIcon{color:#2563eb;flex-shrink:0;margin-top:2px}.secOverviewTodayPill{text-transform:none;border-radius:999px;flex-shrink:0;padding:5px 11px;font-size:.7rem;font-weight:700}.secOverviewTodayPillFilled{color:#fff;background:#0f172a;border:1px solid #0f172a}.secOverviewTodayPillSuccess{color:#166534;background:#dcfce7;border:1px solid #86efac}.secOverviewTodayPillInfo{color:#1d4ed8;background:#dbeafe;border:1px solid #93c5fd}.secOverviewTodayPillDanger{color:#b91c1c;background:#fee2e2;border:1px solid #fca5a5}.secOverviewTodayPillOutline{color:#0f172a;background:#fff;border:1px solid #0f172a}.secOverviewTodayPillWarning{color:#92400e;background:#fef3c7;border:1px solid #fcd34d}.secOverviewTodayPillMuted{background:var(--color-primary-soft);color:#1d4ed8;border:1px solid #93c5fd}.secScheduleOverviewCard{box-sizing:border-box;background:#fff;border:1px solid #eef2f7;padding:22px 24px 24px;overflow:hidden;box-shadow:0 4px 24px #0f172a0f;border-radius:20px!important}:is(.pageContent>section.staffScheduleSection:has(.secScheduleOverview),.pageContent>section.staffScheduleSection:has(.secScheduleOverviewClinical)){flex:1 1 0;min-height:0;max-height:100%;overflow:hidden}.pageShell:has(.staffScheduleSection:has(.secScheduleOverview)){overflow:hidden}.secScheduleOverviewCardTitle{color:#0f172a;letter-spacing:-.02em;margin:0;font-size:1.05rem;font-weight:700}.secScheduleOverviewCalTop{flex-direction:column;gap:16px;margin-bottom:8px;display:flex}.secScheduleOverviewCalNav{margin:0}.secScheduleOverviewCalNavBtn{border-color:var(--color-border);background:#fff;border-radius:12px;box-shadow:0 1px 2px #0f172a0a}.secScheduleOverviewCalNavTitle{color:#0f172a;font-size:1.02rem;font-weight:700}.secOverviewCalWeekday{color:#64748b;text-transform:none;font-size:.7rem;font-weight:700}.secScheduleOverviewCalGrid{gap:10px;margin-top:8px;padding:2px}.secScheduleOverviewCalGrid .staffCalDay.secOverviewCalDay{border:1px solid var(--color-border);box-sizing:border-box;background:#fff;border-radius:12px;min-height:clamp(38px,5.8vh,52px);padding:8px 4px;font-size:.88rem;font-weight:600}.secScheduleOverviewCalGrid .staffCalDay.secOverviewCalDay.staffCalDayMuted:not(.staffCalDaySelected){color:var(--color-text-subtle);background:#fafafa;border-color:#f1f5f9}.secScheduleOverviewCalGrid .staffCalDay.secOverviewCalDay.staffCalDayDuty:not(.staffCalDaySelected){background:#ecfdf5;border-color:#a7f3d0}.secScheduleOverviewCalGrid .staffCalDay.secOverviewCalDay.staffCalDayLeave:not(.staffCalDaySelected){background:#fef2f2;border-color:#fecaca}.secScheduleOverviewCalGrid .staffCalDaySelected{color:#fff!important;box-shadow:none!important;background:#0f172a!important;border-color:#0f172a!important}.secScheduleOverviewCalGrid .staffCalDaySelected.staffCalDayDuty,.secScheduleOverviewCalGrid .staffCalDaySelected.staffCalDayLeave{color:#fff!important;background:#0f172a!important}.secScheduleDutyHead{align-items:center;gap:10px;margin-bottom:4px;display:flex}.secScheduleOverviewCardTitleDuty{flex:1}.secScheduleDutyIcon{color:#2563eb;flex-shrink:0}.secScheduleDutyDate{color:#64748b;margin:0 0 16px;font-size:.9rem;font-weight:500}.secScheduleDutyList{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.secScheduleDutyEmpty{background:var(--color-surface-muted);color:var(--color-text-muted);border:1px solid #f1f5f9;border-radius:16px;margin:0;padding:16px 18px;font-size:.88rem}.secScheduleDutyRow{background:var(--color-primary-soft);border:1px solid #dbeafe;border-radius:16px;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.secScheduleDutyRowSplit{align-items:flex-start}.secScheduleDutyTime{color:#334155;white-space:nowrap;flex-shrink:0;font-size:.82rem;font-weight:600}.secScheduleDutyAvatar{background:linear-gradient(145deg,#3b82f6 0%,#2563eb 55%,#1d4ed8 100%);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex;box-shadow:0 2px 8px #2563eb40}.secScheduleDutyAvatarIcon{color:#fff;opacity:.95}.secScheduleDutyText{min-width:0}.secScheduleDutyName{color:#0f172a;font-size:1rem;font-weight:700}.secScheduleDutyNameSm{font-size:.88rem;font-weight:600}.staffCalClinicHoursSummary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;margin-top:14px;padding:12px 14px}.staffCalClinicHoursTime{color:#334155;margin:6px 0 0;font-size:.9rem;font-weight:600}.staffCalSelectedDayStatusHead{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.staffCalSelectedDayStatusTime{color:#475569;margin:8px 0 0;font-size:.88rem;font-weight:600}.staffApptDetailSub,.refConsultationSubDetail{color:#64748b;margin-top:4px;font-size:.88rem;font-weight:500}.secScheduleDutyRole{color:#64748b;margin-top:3px;font-size:.82rem;font-weight:500}.staffScheduleCard{padding:20px 20px 18px}.staffScheduleCardHead{flex-direction:column;gap:14px;margin-bottom:8px;display:flex}.staffScheduleCardTitle{margin:0;font-size:1.05rem;font-weight:700}.staffScheduleToolbar{flex-direction:column;gap:10px;display:flex}.staffScheduleFilterRow{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.staffScheduleFilterIcon{color:var(--color-text-muted);flex-shrink:0}.staffScheduleFilterPills{flex:1;margin-bottom:0}.staffCalNav{justify-content:space-between;align-items:center;margin:12px 0 10px;display:flex}.staffCalNavBtn{border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;color:var(--color-text);border-radius:10px;justify-content:center;align-items:center;padding:6px 8px;display:flex}.staffCalNavBtn:hover{background:var(--color-sidebar)}.staffCalNavTitle{font-size:1rem;font-weight:700}.staffCalGrid{margin-top:4px}.staffCalWeekday{color:var(--color-text-muted);padding:4px 0;font-size:.72rem;font-weight:700}.staffCalDay{cursor:pointer;color:var(--color-text);background:#fff;border:1px solid #0000;border-radius:10px;min-height:40px;padding:8px 4px;font-size:.85rem}.staffCalDayMuted{color:var(--color-text-subtle);background:#fafafa}.staffCalDayDuty{background:#dcfce7}.staffCalDayLeave{background:#fee2e2}.staffCalDayFilteredOut{opacity:.38}.staffCalDaySelected{background:#fff;border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.staffCalSelectedPanel{border-top:1px solid var(--color-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:18px;padding-top:16px;display:flex}.staffCalSelectedPanelStacked{flex-direction:column;align-items:flex-start}.staffCalSelectedDayStatus{border-top:1px solid var(--color-border);box-sizing:border-box;flex-direction:column;flex-shrink:0;align-items:flex-start;gap:8px;width:100%;min-height:96px;margin-top:16px;padding-top:16px;display:flex}.staffCalSelectedDayStatusTitle{color:#334155;margin:0;font-size:.875rem;font-weight:600}.staffCalSelectedDayStatusDate{color:#64748b;margin:0;font-size:.88rem;font-weight:500}.staffCalSelectedPanelStacked>.staffCalLeaveList:first-child{border-top:none;margin-top:0;padding-top:0}.staffCalLeaveList{border-top:1px solid var(--color-border);width:100%;margin-top:12px;padding-top:12px}.staffCalLeaveListTitle{color:#334155;margin:0 0 10px;font-size:.875rem;font-weight:600}.staffCalLeaveListEmpty{color:var(--color-text-muted,#64748b);margin:0;font-size:.85rem}.staffCalLeaveListUl{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.staffCalLeaveListUlScrollTwo,.staffCalLeaveListUlScrollThree{--staff-cal-leave-row:44px;--staff-cal-leave-gap:8px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;padding-right:2px;overflow:hidden auto}.staffCalLeaveListUlScrollTwo::-webkit-scrollbar{display:none}.staffCalLeaveListUlScrollThree::-webkit-scrollbar{display:none}.staffCalLeaveListUlScrollTwo{min-height:calc(var(--staff-cal-leave-row) * 2 + var(--staff-cal-leave-gap));max-height:calc(var(--staff-cal-leave-row) * 2 + var(--staff-cal-leave-gap))}.staffCalLeaveListUlScrollThree{min-height:calc(var(--staff-cal-leave-row) * 3 + var(--staff-cal-leave-gap) * 2);max-height:calc(var(--staff-cal-leave-row) * 3 + var(--staff-cal-leave-gap) * 2)}.staffCalLeaveListEmptyRow{min-height:var(--staff-cal-leave-row);background:0 0;border:0;align-items:flex-start;margin:0;padding:0;list-style:none;display:flex}.staffCalLeaveListUlScrollTwo .staffCalLeaveListRow,.staffCalLeaveListUlScrollThree .staffCalLeaveListRow{min-height:var(--staff-cal-leave-row);box-sizing:border-box;flex-shrink:0}.secSchedulePersonnelStaffTab{flex-direction:column;gap:16px;display:flex;overflow:visible}.secSchedulePersonnelStaffGroup{flex-direction:column;gap:8px;min-width:0;display:flex}.secSchedulePersonnelStaffGroup .secOverviewDaySectionTitle{margin:0}.secSchedulePersonnelStaffGroup .secOverviewDaySectionTitleSpaced{margin-top:0}.staffCalLeaveListRow{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;display:flex}.staffCalLeaveListDate{color:#7f1d1d;font-size:.9rem;font-weight:500}.staffCalLeaveListDay{color:#991b1b;white-space:nowrap;font-size:.85rem}.staffCalDutyListRow{background:#dcfce7;border-color:#86efac}.staffCalDutyListRow .staffCalLeaveListDate{color:#14532d}.staffCalDutyListRow .staffCalLeaveListDay{color:#166534}.staffCalSelectedLeft{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.staffCalSelectedDate{font-size:.95rem;font-weight:600}.staffCalSelectedActions{flex-wrap:wrap;gap:10px;display:flex}.staffCalBtnDuty{background:#16a34a!important;border-color:#16a34a!important}.staffCalBtnLeave{color:#111827!important;border-color:#111827!important}.staffScheduleListWrap{border-top:1px dashed var(--color-border);margin-top:18px;padding-top:14px}.staffScheduleSubTitle{color:var(--color-text-muted);margin:0 0 8px;font-size:.88rem;font-weight:600}.staffScheduleMiniList{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.staffScheduleMiniListBtn{text-align:left;border:1px solid var(--color-border);cursor:pointer;background:#fafafa;border-radius:8px;width:100%;padding:8px 10px;font-size:.85rem}.staffScheduleMiniListBtn:hover{background:var(--color-sidebar)}.staffApptScheduleWrap{--staff-appt-section-pad-y:42px;--staff-appt-section-title:36px;--staff-appt-row-compact:172px;--staff-appt-row-wide:112px;--staff-appt-list-gap:12px;--staff-appt-section-compact-h:calc(var(--staff-appt-section-pad-y) + var(--staff-appt-section-title) + var(--staff-appt-row-compact) * 2 + var(--staff-appt-list-gap));--staff-appt-section-wide-h:calc(var(--staff-appt-section-pad-y) + var(--staff-appt-section-title) + var(--staff-appt-row-wide) * 3 + var(--staff-appt-list-gap) * 2);flex-direction:column;gap:16px;width:100%;min-width:0;margin-top:0;display:flex}.staffApptScheduleHead{flex-direction:column;gap:12px;display:flex}.staffApptToolbar{margin-top:0}.staffApptNoPatients{color:var(--color-text-muted);margin:0;font-size:.88rem}.staffApptCardList{flex-direction:column;gap:12px;display:flex}.staffApptCardListScroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow:hidden auto}.staffApptCardListScrollHidden{-ms-overflow-style:none;scrollbar-width:none!important}.workspaceMain .staffApptCardListScrollHidden,.staffApptCardListScrollHidden{scrollbar-width:none!important;scrollbar-color:transparent transparent!important}.staffApptCardListScrollHidden::-webkit-scrollbar{background:0 0!important;width:0!important;height:0!important;display:none!important}.staffApptCardListScrollTwo{--staff-appt-card-row:var(--staff-appt-row-compact,172px);--staff-appt-card-gap:var(--staff-appt-list-gap,12px)}.staffApptCardListScrollThree{--staff-appt-card-row:var(--staff-appt-row-wide,112px);--staff-appt-card-gap:var(--staff-appt-list-gap,12px)}.staffScheduleMiniListScroll{overscroll-behavior:contain;max-height:min(220px,32vh);overflow-y:auto}.secSchedulePersonnelSide{flex-direction:column;min-height:0;display:flex}.secSchedulePersonnelSide .secScheduleDutyHead,.secSchedulePersonnelSide .secPersonnelTabs{flex-shrink:0}.adminSchedulePersonnelRow .secSchedulePersonnelSide .secScheduleDutyListScroll{flex:1;min-height:0;max-height:none}.secScheduleDutyListScroll .secScheduleDutyRow{min-height:var(--sec-schedule-duty-row);box-sizing:border-box}.secScheduleDutyListScroll{--sec-schedule-duty-row:52px;--sec-schedule-duty-gap:12px;max-height:calc(var(--sec-schedule-duty-row) * 2 + var(--sec-schedule-duty-gap));overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none;overflow-y:auto}.secScheduleDutyListScroll::-webkit-scrollbar{display:none}.staffApptCard{align-items:center;gap:14px;padding:14px 16px;display:flex}.staffApptDateBox{background:#dbeafe;border-radius:10px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;width:52px;padding:8px 6px;display:flex}.staffApptDateMon{color:#1e3a8a;font-size:.72rem;font-weight:600}.staffApptDateDay{color:#1e3a8a;font-size:1.25rem;font-weight:800;line-height:1.1}.staffApptCardBody{flex:1;min-width:0}.staffApptPatient{color:#0f172a;font-size:1rem;display:block}.staffApptReason{color:var(--color-text-muted);margin:4px 0 0;font-size:.88rem}.staffApptTime{color:var(--color-text-muted);align-items:center;gap:6px;margin:8px 0 0;font-size:.86rem;display:flex}.staffApptSlotHint{color:var(--color-warning,#b45309);margin:6px 0 0;font-size:.78rem;font-weight:600}.staffApptStatusWrap .badge{text-transform:none;border-radius:999px;align-self:center;padding:6px 12px;font-size:.72rem;font-weight:600}.staffApptCardClickable{cursor:pointer;transition:box-shadow .15s,transform .15s}.staffApptCardClickable:hover{box-shadow:0 4px 14px #0f172a14}.staffApptCardClickable:focus{outline:2px solid var(--color-primary);outline-offset:2px}.staffApptDetailList{margin:0}.staffApptDetailRow{margin:0 0 14px}.staffApptDetailRow:last-child{margin-bottom:0}.staffApptDetailRow dt{letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);margin:0 0 4px;font-size:.72rem;font-weight:700}.staffApptDetailRow dd{color:var(--color-text);margin:0;font-size:.95rem;line-height:1.45}.staffDashSection,.secDashSection{box-sizing:border-box;flex-direction:column;flex:1;gap:18px;width:100%;min-width:0;min-height:0;display:flex;overflow:hidden}.staffDashSection .pageHead,.staffDashSection>.error,.secDashSection .pageHead,.secDashSection>.error{flex-shrink:0}.staffDashSection .adminDashKpiGrid,.secDashSection .secDashKpiGrid{flex-shrink:0;margin-bottom:0}.staffDashSection .doctorDashColumns,.secDashSection .secDashBottomGrid{flex:1;min-height:0}.secDashKpiGrid{width:100%;min-width:0;margin-bottom:0}.secDashBottomGrid{box-sizing:border-box;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);align-items:stretch;gap:18px;width:100%;min-width:0;min-height:0;display:grid}.secDashQueueCard{flex-direction:column;height:100%;min-height:0;margin-bottom:0;display:flex}.secDashQueueCard .adminDashQueueTableWrap{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.secDashAnnounceCard{flex-direction:column;height:100%;min-height:0;padding:16px 18px 18px;display:flex}.secDashAnnounceCard .secDashAnnounceHeader{flex-shrink:0}@media (width<=960px){.secDashBottomGrid{grid-template-columns:1fr}}.secDashLivePill{align-items:center;gap:8px;display:inline-flex}.secDashPulse{background:#2563eb;border-radius:999px;width:8px;height:8px;animation:1.6s ease-out infinite secDashPulse;box-shadow:0 0 #2563eb80}@keyframes secDashPulse{0%{opacity:1;transform:scale(1)}70%{opacity:.5;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.secDashStatus{text-transform:lowercase;border-radius:999px;padding:4px 10px;font-size:.72rem;font-weight:700;display:inline-block}.secDashStatusSession{color:#1d4ed8;background:#dbeafe}.secDashStatusWaiting{color:#a16207;background:#fef9c3}.secDashStatusNeutral{background:var(--color-sidebar);color:#4b5563}.secDashStatusDone{color:#166534;background:#dcfce7}.secDashQueueStatusSelect{text-transform:lowercase;border:1px solid var(--color-border);cursor:pointer;color:#374151;background:#fff;border-radius:999px;min-width:9.75rem;max-width:100%;padding:5px 10px;font-size:.72rem;font-weight:700}.secDashQueueStatusSelect:disabled{cursor:wait;opacity:.75}.secDashQueueStatusSelectWaiting{color:#a16207;background:#fef9c3;border-color:#fde047}.secDashQueueStatusSelectSession{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.secDashQueueStatusSelectDone{color:#166534;background:#dcfce7;border-color:#86efac}.secDashQueueStatusSelectNeutral{background:var(--color-sidebar);color:#4b5563}.secDashAnnounceHeader{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.secDashNewAnnBtn{align-items:center;gap:6px;display:inline-flex}.secDashAnnounceList{overscroll-behavior:contain;flex-direction:column;flex:1;gap:12px;min-height:0;display:flex;overflow-y:auto}.secDashAnnounceItem{box-shadow:none;border:1px solid var(--color-border);padding:14px 36px 12px 14px;position:relative}.secDashAnnounceClose{cursor:pointer;color:var(--color-text-muted);background:0 0;border:none;border-radius:6px;padding:4px;position:absolute;top:10px;right:10px}.secDashAnnounceClose:hover{background:var(--color-sidebar);color:var(--color-text)}.secDashAnnounceTitle{margin:0 0 8px;font-size:.98rem;font-weight:700}.secDashAnnounceBody{color:var(--color-text-muted);margin:0 0 10px;font-size:.88rem;line-height:1.45}.secDashAnnounceDate{color:var(--color-text-subtle);margin:0;font-size:.78rem}.secDashAnnounceEmpty{color:var(--color-text-muted);margin:0;font-size:.88rem}.staffSecPersonnelHint{color:var(--color-text-muted);margin:0;font-size:.86rem;line-height:1.45}.staffSecRosterHead{border-top:1px solid var(--color-border);margin-top:16px;padding-top:14px}.staffSecRosterTableWrap{margin-top:10px;overflow-x:auto}.staffSecRosterTable th{font-size:.72rem}.staffApptSectionTitle{margin:0;font-size:.95rem;font-weight:700}.staffApptSectionHead{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.staffApptSectionFilter{flex-shrink:0;min-width:148px;max-width:200px;margin-left:auto}.staffApptInlineActionsStack{flex-direction:column;align-items:stretch;width:auto;min-width:72px;max-width:88px}.staffApptInlineActionsStack .btn{width:100%;padding:4px 8px;font-size:.76rem}.staffSecApptSections{flex-direction:column;gap:24px;width:100%;min-width:0;min-height:0;display:flex}.staffSecApptSectionCard{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;padding:20px 22px 22px;display:flex;overflow:hidden}.staffSecApptSectionCardCompact{height:var(--staff-appt-section-compact-h);min-height:var(--staff-appt-section-compact-h);max-height:var(--staff-appt-section-compact-h)}.staffSecApptSectionCardWide{height:var(--staff-appt-section-wide-h);min-height:var(--staff-appt-section-wide-h);max-height:var(--staff-appt-section-wide-h)}.staffSecApptSectionCard .staffApptSectionTitle{flex-shrink:0;margin:0}.staffSecApptSectionCard .staffApptSectionHead{margin-bottom:14px}.staffSecApptSectionCard .staffApptCardListScroll{flex:1;min-height:0;max-height:none}.staffSecApptTodayRequestsRow{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:24px;display:grid}@media (width<=900px){.staffApptScheduleWrap{--staff-appt-row-compact:160px;--staff-appt-row-wide:104px}.staffSecApptTodayRequestsRow{grid-template-columns:1fr}.staffSecApptSectionCardCompact,.staffSecApptSectionCardWide{width:100%}}@media (width<=560px){.staffApptScheduleWrap{--staff-appt-row-compact:148px;--staff-appt-row-wide:96px}.staffSecApptSectionCard{padding:16px 18px 18px}}.staffSecApptTodayRequestsRowSingle{grid-template-columns:1fr}.staffSecApptSection{padding-bottom:8px}.staffSecApptSectionDivider{border-top:none;margin-top:0;padding-top:0}.staffSecApptSectionSub{color:var(--color-text-muted);margin:0 0 14px;font-size:.86rem}.staffApptSectionTitleSpaced{margin-top:22px}.secPatientsActions{margin-bottom:18px}.mrVisitHistoryRowStatic{cursor:default;text-decoration:none}.mrVisitHistoryRowStatic .mrVisitHistoryRight{padding-right:0}.sidebarFooterProfileLink{color:inherit;border-radius:var(--radius-sm);flex:1;align-items:center;gap:10px;min-width:0;margin:-2px -4px;padding:2px 4px;text-decoration:none;display:flex}.sidebarFooterProfileLink:hover{background:var(--color-primary-soft)}.patientDashMuted{color:var(--color-text-muted);margin:0;font-size:.88rem;line-height:1.45}.patientDashSection{box-sizing:border-box;--patient-dash-announce-row-h:112px;--patient-dash-announce-gap:10px;--patient-dash-announce-visible:2;--patient-dash-announce-list-h:calc(var(--patient-dash-announce-row-h) * var(--patient-dash-announce-visible) + var(--patient-dash-announce-gap) * (var(--patient-dash-announce-visible) - 1));--patient-dash-announce-head-h:36px;--patient-dash-announce-band-pad-y:32px;--patient-dash-announce-band-h:calc(var(--patient-dash-announce-band-pad-y) + var(--patient-dash-announce-head-h) + 12px + var(--patient-dash-announce-list-h));--patient-dash-panel-row-h:84px;--patient-dash-panel-gap:10px;--patient-dash-panel-visible:3;--patient-dash-panel-list-h:calc(var(--patient-dash-panel-row-h) * var(--patient-dash-panel-visible) + var(--patient-dash-panel-gap) * (var(--patient-dash-panel-visible) - 1));--patient-dash-panel-head-h:36px;--patient-dash-panel-pad-y:36px;--patient-dash-panel-h:calc(var(--patient-dash-panel-pad-y) + var(--patient-dash-panel-head-h) + 12px + var(--patient-dash-panel-list-h));flex-direction:column;gap:22px;width:100%;min-width:0;display:flex}.patientDashGreeting{margin-bottom:4px}.patientDashGreetingTitle{letter-spacing:-.02em;margin:0 0 6px;font-size:1.65rem;font-weight:800}.patientDashGreetingSub{color:var(--color-text-muted);margin:0;font-size:.95rem}.patientDashAnnounceBand{background:linear-gradient(135deg, var(--color-primary-soft) 0%, var(--color-surface-muted) 100%);border:1px solid var(--color-border);border-radius:var(--radius-md);box-sizing:border-box;width:100%;min-width:0;height:var(--patient-dash-announce-band-h);min-height:var(--patient-dash-announce-band-h);max-height:var(--patient-dash-announce-band-h);flex-direction:column;padding:16px 18px;display:flex;overflow:hidden}.patientDashAnnounceHead{min-height:var(--patient-dash-announce-head-h);flex-shrink:0;align-items:center;gap:10px;margin-bottom:12px;display:flex}.patientDashAnnounceIcon{color:var(--color-primary)}.patientDashAnnounceTitle{margin:0;font-size:1rem;font-weight:700}.patientDashAnnounceList{gap:var(--patient-dash-announce-gap);min-height:0;max-height:var(--patient-dash-announce-list-h);overscroll-behavior:contain;box-sizing:border-box;flex-direction:column;flex:1;padding-right:2px;display:flex;overflow-y:auto}.patientDashAnnounceCard{min-height:var(--patient-dash-announce-row-h);box-sizing:border-box;flex-shrink:0;border-radius:var(--radius-md)!important}.patientDashAnnounceCardTop{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:6px;display:flex}.patientDashAnnounceCardTitle{margin:0;font-size:.95rem;font-weight:700}.patientDashAnnounceDate{color:var(--color-text-muted);white-space:nowrap;font-size:.78rem}.patientDashAnnounceBody{color:var(--color-text);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.88rem;line-height:1.45;display:-webkit-box;overflow:hidden}.patientDashBottomGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;min-width:0;display:grid}.patientDashPanel{box-sizing:border-box;width:100%;min-width:0;height:var(--patient-dash-panel-h);min-height:var(--patient-dash-panel-h);max-height:var(--patient-dash-panel-h);flex-direction:column;display:flex;overflow:hidden}.patientDashPanelHead{min-height:var(--patient-dash-panel-head-h);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.patientDashPanelEmpty{min-height:var(--patient-dash-panel-list-h);flex:1;justify-content:center;align-items:center;margin:0;display:flex}.patientDashPanelTitle{margin:0;font-size:1rem;font-weight:700}.patientDashViewAll{color:var(--color-primary);white-space:nowrap;font-size:.82rem;font-weight:600;text-decoration:none}.patientDashViewAll:hover{text-decoration:underline}.patientDashApptList,.patientDashMsgList{gap:var(--patient-dash-panel-gap);min-height:0;max-height:var(--patient-dash-panel-list-h);overscroll-behavior:contain;box-sizing:border-box;flex-direction:column;flex:1;padding-right:2px;display:flex;overflow-y:auto}.patientDashCardListScroll{-webkit-overflow-scrolling:touch;overflow:hidden auto}.patientDashCardListScrollHidden{-ms-overflow-style:none;scrollbar-width:none!important}.workspaceMain .patientDashCardListScrollHidden,.patientDashCardListScrollHidden{scrollbar-width:none!important;scrollbar-color:transparent transparent!important}.patientDashCardListScrollHidden::-webkit-scrollbar{background:0 0!important;width:0!important;height:0!important;display:none!important}.patientDashApptRow{border-radius:var(--radius-sm);background:var(--color-input-bg);border:1px solid var(--color-border);min-height:var(--patient-dash-panel-row-h);box-sizing:border-box;flex-shrink:0;justify-content:space-between;gap:12px;padding:10px 12px;display:flex}.patientDashApptDoctor{margin:0 0 2px;font-size:.9rem;font-weight:700}.patientDashApptType{color:var(--color-text-muted);margin:0;font-size:.82rem}.patientDashApptWhen{text-align:right;color:var(--color-text-muted);white-space:nowrap;font-size:.78rem}.patientDashMsgRow{border-radius:var(--radius-sm);border:1px solid var(--color-border);color:inherit;background:var(--color-surface);min-height:var(--patient-dash-panel-row-h);box-sizing:border-box;flex-shrink:0;justify-content:space-between;gap:12px;padding:10px 12px;text-decoration:none;display:flex}.patientDashMsgRow:hover{border-color:var(--color-primary);box-shadow:var(--shadow-card)}.patientDashMsgSender{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin:0 0 2px;font-size:.72rem;font-weight:700}.patientDashMsgSubject{margin:0 0 2px;font-size:.9rem;font-weight:700}.patientDashMsgSnippet{color:var(--color-text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.82rem;display:-webkit-box;overflow:hidden}.patientDashMsgDate{color:var(--color-text-muted);align-self:flex-start;font-size:.75rem}@media (width<=720px){.staffDashSection .pageHead,.secDashSection .pageHead{flex-wrap:wrap}.adminDashQueueHeader{flex-direction:column;align-items:flex-start}.secDashAnnounceHeader{flex-wrap:wrap;gap:10px}.patientDashGreetingTitle{font-size:1.35rem}.patientDashSection{--patient-dash-announce-row-h:104px;--patient-dash-panel-row-h:80px;--patient-dash-announce-band-pad-y:28px;--patient-dash-panel-pad-y:32px}.patientDashBottomGrid{grid-template-columns:1fr}.patientDashAnnounceCardTop,.patientDashApptRow,.patientDashMsgRow{flex-direction:column;align-items:flex-start}.patientDashApptWhen{text-align:left;white-space:normal}.patientDashMsgDate{align-self:flex-start}}.patientMrHubSection{box-sizing:border-box;flex-direction:column;gap:18px;width:100%;min-width:0;display:flex}.patientMrKpiRow{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;display:grid}.patientMrKpiCard{text-align:left;min-width:0}.patientMrKpiLbl{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.03em;margin:0 0 6px;font-size:.78rem;font-weight:600}.patientMrKpiVal{margin:0;font-size:1.35rem;font-weight:800}.patientMrHubTabs{border-radius:var(--radius-pill);box-sizing:border-box;background:#eef2f7;flex-wrap:wrap;gap:8px;width:100%;padding:6px;display:flex}.patientMrHubTab{border-radius:var(--radius-pill);font:inherit;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;padding:8px 16px;font-size:.86rem;font-weight:600}.patientMrHubTabActive{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-card)}.patientMrCertToolbar{margin-bottom:0}.patientMrRecordsCard{box-sizing:border-box;width:100%;min-width:0;border-radius:var(--radius-md)!important}.patientMrOthersCard{flex-direction:column;display:flex;overflow:hidden}.patientMrOthersCard .patientMrRecordsHead{flex-shrink:0}.patientMrRecordsHead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.patientMrRecordsListTitle{margin:0;font-size:1.05rem;font-weight:700}.patientMrSearchRow{width:100%;margin-bottom:14px}.patientMrDocCardList{--patient-mr-record-row-height:92px;--patient-mr-record-visible-rows:4;width:100%;min-width:0;height:calc(var(--patient-mr-record-row-height) * var(--patient-mr-record-visible-rows));max-height:calc(var(--patient-mr-record-row-height) * var(--patient-mr-record-visible-rows));overscroll-behavior:contain;flex-direction:column;flex-shrink:0;gap:12px;padding:2px 4px 2px 0;display:flex;overflow:hidden auto}.patientMrOthersList{--patient-mr-vaccine-row-height:88px;--patient-mr-vaccine-visible-rows:3.5;height:calc(var(--patient-mr-vaccine-row-height) * var(--patient-mr-vaccine-visible-rows));max-height:calc(var(--patient-mr-vaccine-row-height) * var(--patient-mr-vaccine-visible-rows));min-height:calc(var(--patient-mr-vaccine-row-height) * 2);overscroll-behavior:contain;box-sizing:border-box;flex-direction:column;flex-shrink:0;gap:12px;padding:2px 4px 2px 0;display:flex;overflow:hidden auto}.patientMrOthersList .patientDashMuted{margin:0;padding:8px 2px}.patientMrOthersList .patientMrVaccineRow{flex-shrink:0}.patientMrVaccineRow{padding:14px 16px}.patientMrVaccineMain{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) auto;align-items:center;gap:16px;display:grid}.patientMrVaccineInfo{min-width:0}.patientMrVaccineName{color:var(--color-text);margin:0 0 2px;font-size:.95rem;font-weight:700}.patientMrVaccineBrand{color:var(--color-text-muted);margin:0;font-size:.86rem;font-weight:400}.patientMrVaccineDoctor{color:var(--color-text);margin:0;font-size:.86rem}.patientMrVaccineWhen{color:var(--color-text-muted);text-align:right;white-space:nowrap;margin:0;font-size:.82rem}.patientMrDocRow{grid-template-columns:auto 1fr auto;align-items:center;gap:14px;display:grid}.patientMrDocIcon{background:var(--color-primary-soft);color:#2563eb;border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.patientMrDocBody{min-width:0}.patientMrDocTitleRow{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:4px;display:flex}.patientMrDocTitle{font-size:.95rem}.patientMrDocPill{font-size:.72rem!important}.patientMrDocDesc{color:var(--color-text-muted);margin:0 0 4px;font-size:.86rem}.patientMrDocMeta{color:var(--color-text-subtle);margin:0;font-size:.78rem}.patientMrDocActions{flex-direction:column;align-items:stretch;gap:6px;display:flex}@media (width<=900px){.patientMrKpiRow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.patientMrKpiRow{grid-template-columns:1fr}.patientMrVaccineMain{grid-template-columns:1fr;gap:8px}.patientMrVaccineWhen{text-align:left;white-space:normal}}.patientMrDocIframe{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface-muted);width:100%;min-height:min(65vh,560px)}.patientProfileSection{box-sizing:border-box;flex-direction:column;gap:0;width:100%;min-width:0;display:flex}.patientProfileSection .pageHead,.patientProfileSection .pageHead h1{margin-bottom:0}.patientProfileSection>.error,.patientProfileSection>.saveSuccessBanner{margin-top:12px}.patientProfileInfoCard,.patientProfilePwdCard{margin-top:18px}.patientProfileHeaderCard{box-sizing:border-box;width:100%;min-width:0;margin-top:16px;border-radius:var(--radius-md)!important}.patientProfileSection .mrInfoDemographicGrid{width:100%;min-width:0}.patientProfileHeaderInner{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.patientProfileAvatarLarge{border:3px solid var(--color-border);background:var(--color-sidebar);border-radius:999px;flex-shrink:0;width:88px;height:88px;overflow:hidden}.patientProfileAvatarImg{object-fit:contain;object-position:center;width:100%;height:100%;display:block}.patientProfileAvatarFallback{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.patientProfileAvatarFallback .avatar{border-radius:999px!important;width:100%!important;height:100%!important;font-size:1.4rem!important}.patientProfileHeaderText{flex:200px;min-width:0}.patientProfileName{margin:0 0 6px;font-size:1.4rem;font-weight:800}.patientProfileIdLine,.patientProfileMemberLine{color:var(--color-text-muted);margin:0 0 4px;font-size:.88rem}.patientProfileInfoCard,.patientProfilePwdCard{box-sizing:border-box;width:100%;border-radius:var(--radius-md)!important}.patientProfileInfoCard .mrInfoDemoRow>*,.patientProfileInfoCard .mrInfoTwoCol>*,.patientProfileInfoCard .mrInfoField{min-width:0}.patientProfileInfoCard .mrInfoVal,.patientProfilePwdCard .mrInfoVal,.patientProfilePwdCard .patientProfileAccountVal{overflow-wrap:anywhere;word-break:break-word}.patientProfileInfoTitle{margin:0 0 16px;font-size:1.05rem;font-weight:700}.patientProfileSectionHeading{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.06em;margin:12px 0 6px;font-size:.78rem;font-weight:700}.patientProfileSectionHeading:first-child{margin-top:0}.patientProfileInfoGrid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px 20px;display:grid}.patientProfileInfoItem{flex-direction:column;gap:4px;display:flex}.patientProfileInfoLbl{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);align-items:center;gap:6px;font-size:.72rem;font-weight:700;display:inline-flex}.patientProfileInfoVal{font-size:.95rem;font-weight:600}.patientProfileInlineIcon{opacity:.7}.patientProfileEditGrid{flex-direction:column;gap:14px;width:100%;min-width:0;display:flex}.patientProfileEditGrid>.patientProfileSectionHeading,.patientProfileEditGrid>.patientProfileNameRow,.patientProfileEditGrid>.patientProfilePairRow,.patientProfileEditGrid>.patientProfileAddressGrid,.patientProfileEditGrid>.patientProfileFullRow,.patientProfileEditGrid>.patientProfileAccountRow,.patientProfileEditGrid>.patientProfileAccountEditor,.patientProfileEditGrid>.userMgmtHint,.patientProfileEditGrid>.btn{box-sizing:border-box;width:100%;min-width:0}.patientProfileFullRow{display:block}.patientProfileNameRow{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.patientProfilePairRow{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;display:grid}.patientProfileCheckboxRow{width:100%;margin-top:2px;margin-bottom:2px;display:block}.patientProfileCheckboxLabel{width:fit-content;max-width:100%;color:var(--color-text-muted);cursor:pointer;flex-direction:row;align-items:center;gap:8px;font-size:.82rem;font-weight:600;display:flex}.patientProfileCheckboxText{line-height:1.35}.patientProfileFormActions{justify-content:flex-start;width:100%;margin-top:20px;padding-top:4px;display:flex}.patientProfileCheckboxLabel input[type=checkbox]{flex-shrink:0;width:1rem;height:1rem;margin:0}.saveSuccessBanner{color:#166534;background:#ecfdf5;border:1px solid #86efac;border-radius:8px;align-items:center;gap:10px;margin:0 0 16px;padding:12px 16px;font-size:.9rem;font-weight:600;display:flex}.toastStack{z-index:9999;pointer-events:none;flex-direction:column;gap:10px;max-width:min(380px,100vw - 32px);display:flex;position:fixed;top:16px;right:16px}.toastItem{border:1px solid var(--color-border);pointer-events:auto;background:#fff;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;animation:.25s ease-out toastSlideIn;display:flex;box-shadow:0 8px 24px #0f172a1f}@keyframes toastSlideIn{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}.toastItem--success{background:#f0fdf4;border-color:#86efac}.toastItem--info{background:#eff6ff;border-color:#bfdbfe}.toastItem--warn{background:#fffbeb;border-color:#fcd34d}.toastItemIcon{flex-shrink:0;margin-top:2px}.toastItem--success .toastItemIcon{color:#16a34a}.toastItem--info .toastItemIcon{color:#2563eb}.toastItem--warn .toastItemIcon{color:#d97706}.toastItemBody{flex-direction:column;flex:1;gap:4px;min-width:0;font-size:.875rem;line-height:1.4;display:flex}.toastItemTitle{color:var(--color-text);font-weight:700;display:block}.toastItemMessage{color:var(--color-text-muted)}.toastItemAction{color:var(--color-primary);margin-top:2px;font-size:.8rem;font-weight:600;text-decoration:none}.toastItemAction:hover{text-decoration:underline}.toastItemClose{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;padding:2px}.toastItemClose:hover{color:var(--color-text);background:#0000000f}.sidebarNavBadge{color:#fff;background:#ef4444;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;margin-left:auto;padding:0 6px;font-size:.7rem;font-weight:700;display:inline-flex}.activityHistoryCard{flex-direction:column;margin-top:20px;display:flex;overflow:hidden;padding:0!important}.mrVisitHistoryCard{flex-direction:column;display:flex;overflow:hidden;padding:0!important}.mrVisitHistoryCard .patientHistoryCardHead,.activityHistoryCard .patientHistoryCardHead{border-bottom:1px solid var(--color-border);flex-shrink:0;margin-bottom:0;padding:16px 18px 12px}.mrVisitHistoryCard>.mrInfoCardTitle{border-bottom:1px solid var(--color-border);margin:0;padding:16px 18px 12px}.mrVisitHistoryCard .mrInfoMuted,.activityHistoryCard .subtitle,.activityHistoryCard .error{margin:0;padding:16px 18px}.patientHistoryCardHead{justify-content:space-between;align-items:center;gap:12px;display:flex}.patientHistoryCardHead .patientProfileInfoTitle,.patientHistoryCardHead .mrInfoCardTitle{margin:0}.patientHistoryViewAll{color:var(--color-primary);font:inherit;cursor:pointer;background:0 0;border:0;flex-shrink:0;padding:0;font-size:.88rem;font-weight:600}.patientHistoryViewAll:hover{text-decoration:underline}.activityHistoryList{--activity-history-row-height:80px;--activity-history-visible-rows:3.5;flex-direction:column;gap:0;margin:0;padding:0;list-style:none;display:flex}.activityHistoryListScroll{--activity-history-row-height:80px;--activity-history-visible-rows:3.5;height:calc(var(--activity-history-row-height) * var(--activity-history-visible-rows));max-height:calc(var(--activity-history-row-height) * var(--activity-history-visible-rows));min-height:calc(var(--activity-history-row-height) * 3);overscroll-behavior:contain;box-sizing:border-box;flex-shrink:0;overflow-y:auto}.activityHistoryItem{border-bottom:1px solid var(--color-border);background:var(--color-surface);min-height:var(--activity-history-row-height,80px);box-sizing:border-box;grid-template-columns:auto 1fr;align-items:start;gap:16px;padding:18px;display:grid}.activityHistoryItem:last-child{border-bottom:0}.activityHistoryIconWrap{border-radius:var(--radius-md);background:var(--color-surface-muted);color:#64748b;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.activityHistoryIcon{color:inherit;flex-shrink:0;margin-top:0}.activityHistoryBody{flex-direction:column;gap:4px;min-width:0;font-size:.88rem;display:flex}.activityHistoryBody strong{font-size:1.05rem;font-weight:800;line-height:1.2}.activityHistoryMeta{color:var(--color-text-muted);font-size:.82rem;line-height:1.35}.activityHistoryItemVisit{grid-template-columns:auto 1fr auto;align-items:center}.activityHistoryItemVisit .activityHistoryBody{flex:1;min-width:0}.activityHistoryVisitStatus{flex-shrink:0}.patientProfileAddressGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;min-width:0;display:grid}.patientProfileAddressGridCompact{grid-template-columns:repeat(3,minmax(0,1fr))}.patientProfileAddressFull,.patientProfileInfoItemFull{grid-column:1/-1}@media (width<=900px){.patientProfileNameRow,.patientProfileAddressGridCompact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.patientProfileNameRow,.patientProfilePairRow,.patientProfileAddressGrid,.patientProfileAddressGridCompact,.patientProfileSection .mrInfoDemoRow,.patientProfileSection .mrInfoTwoCol{grid-template-columns:1fr}.patientProfileAccountRow{grid-template-columns:1fr;gap:6px}.patientProfileHeaderInner{align-items:flex-start}}.patientProfileSaveRow{grid-column:1/-1}.inputReadonly{opacity:.85;cursor:not-allowed;background:var(--color-sidebar)!important;border-color:var(--color-border)!important}.patientProfileAccountRow{border-bottom:1px solid var(--color-border);grid-template-columns:140px 1fr auto;align-items:center;gap:12px;padding:14px 0;display:grid}.patientProfileAccountRow:last-of-type{border-bottom:none}.patientProfileAccountLbl{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);font-size:.78rem;font-weight:700}.patientProfileAccountVal{font-size:.95rem;font-weight:600}.patientProfileAccountEditor{flex-direction:column;grid-column:1/-1;gap:10px;padding-top:10px;display:flex}.patientProfileAccountEditorActions{gap:8px;display:flex}.pageShell:has(.messagesPageSection){box-sizing:border-box;flex-direction:column;width:100%;max-width:none;display:flex;overflow:hidden}.messagesPageSection{box-sizing:border-box;flex-direction:column;flex:1;gap:8px;width:100%;min-width:0;min-height:0;display:flex}.messagesPageSection .pageHead,.messagesPageSection .pageHead,.messagesPageSection>.pageHeader,.messagesPageSection>header{flex-shrink:0}.messagesChatLayout{flex:1;width:100%;height:auto;min-height:0;max-height:none}.patientMsgSection{flex-direction:column;gap:8px;width:100%;min-width:0;display:flex}.patientMsgChatLayout{border-radius:var(--radius-md);min-height:min(520px,100vh - 280px);box-shadow:var(--shadow-card);width:100%}.patientMsgThreads,.messagesChatLayout .chatThreads{background:var(--color-surface-muted);flex-direction:column;min-height:0;display:flex;overflow:hidden}.patientMsgConvHead,.messagesChatLayout .patientMsgNewThread{flex-shrink:0}.patientMsgConvHead{border-bottom:1px solid var(--color-border);padding:14px 14px 10px}.patientMsgConvTitle{margin:0 0 10px;font-size:1rem;font-weight:800}.patientMsgNewChatBtn{width:100%;margin-top:10px}.patientMsgThreadEmpty{color:var(--color-text-muted);margin:12px 14px;font-size:.85rem}.patientMsgAiRow{border-bottom:1px solid var(--color-border);color:inherit;background:linear-gradient(90deg, var(--color-primary-soft), var(--color-surface-muted));align-items:center;gap:12px;padding:12px 14px;text-decoration:none;display:flex}.patientMsgAiRow:hover{background:#e0e7ff}.patientMsgAiIcon{color:#fff;background:#4f46e5;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.patientMsgAiText p{color:var(--color-text-muted);margin:4px 0 0;font-size:.82rem}.patientMsgNewThread{border-bottom:1px solid var(--color-border);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.patientMsgNewThread input,.patientMsgNewThread textarea{width:100%}.patientMsgThreadItem{flex:1;min-width:0;padding-left:16px!important;padding-right:16px!important}.patientMsgThreadList{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.patientMsgThreadRow{border-bottom:1px solid var(--color-border);background:var(--color-surface);align-items:stretch;display:flex}.patientMsgThreadRow.isActive{background:var(--color-primary-soft)}.patientMsgThreadRow .chatThreadItem.active{background:0 0}.patientMsgThreadSubject{font-size:.92rem;line-height:1.35;display:block}.patientMsgThreadMeta{color:var(--color-text-muted);margin:4px 0 0;font-size:.78rem}.patientMsgThreadTime{color:var(--color-text-subtle);margin:4px 0 0;font-size:.78rem}.patientMsgThreadDeleteBtn{width:36px;min-height:36px;color:var(--color-text-subtle);cursor:pointer;opacity:.65;background:0 0;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-self:stretch;align-items:center;margin:6px 8px 6px 0;transition:color .15s,background .15s,opacity .15s;display:inline-flex}.patientMsgThreadRow:hover .patientMsgThreadDeleteBtn,.patientMsgThreadRow.isActive .patientMsgThreadDeleteBtn{opacity:1}.patientMsgThreadDeleteBtn:hover{color:var(--color-danger);background:var(--color-danger-soft)}.patientMsgThreadDeleteBtn:focus-visible{outline:2px solid var(--color-danger-soft);outline-offset:2px;opacity:1}.patientMsgPaneHeaderMain{justify-content:space-between;align-items:flex-start;gap:12px;width:100%;display:flex}.patientMsgDeleteActiveBtn{flex-shrink:0}.patientMsgBubbleMeta{opacity:.75;margin-top:4px;font-size:.72rem}.patientMsgBubbleMetaError{opacity:1;color:var(--color-danger)}.patientMsgPaneHeader{background:var(--color-surface)}.patientMsgPaneTitle{margin:0 0 4px;font-size:1rem;font-weight:800}.patientMsgPaneSub{color:var(--color-text-muted);margin:0;font-size:.82rem}.messagesChatLayout .chatPane,.messagesChatLayout .patientMsgPane{flex-direction:column;min-height:0;display:flex;overflow:hidden}.messagesChatLayout .chatHeaderBar,.messagesChatLayout .patientMsgPaneHeader,.messagesChatLayout .patientMsgFaqHint,.messagesChatLayout .patientMsgEscalateBanner{flex-shrink:0}.messagesChatLayout .chatMessages,.messagesChatLayout .patientMsgMessages{flex:1;min-height:0;overflow-y:auto}.patientMsgMessages{background:#fafafa}.messagesChatLayout .chatComposer,.messagesChatLayout .patientMsgComposer{flex-shrink:0}.patientMsgComposer{align-items:center}.patientMsgAttachBtn{font:inherit;border-radius:var(--radius-sm);border:1px dashed var(--color-border-strong);color:var(--color-text-muted);cursor:not-allowed;background:#fff;flex-shrink:0;padding:8px 10px;font-size:.78rem;font-weight:600}.patientOrdersSection{box-sizing:border-box;flex-direction:column;flex:1;gap:8px;width:100%;min-width:0;min-height:0;display:flex}.patientOrdersSection .pageHead{flex-shrink:0;margin-bottom:0}.patientOrdersSection .pageHead h1{margin-bottom:0}.patientOrdersStatusStrip{flex-wrap:wrap;gap:10px;display:flex}.patientOrdersStatusPill{border-radius:var(--radius-pill);align-items:center;padding:8px 14px;font-size:.82rem;font-weight:700;display:inline-flex}.patientOrdersStatusPillWarn{color:#92400e;background:#fef3c7}.patientOrdersStatusPillInfo{color:#1e40af;background:#dbeafe}.patientOrdersStatusPillMuted{background:var(--color-sidebar);color:var(--color-text-muted)}.patientOrdersSubhead{margin:8px 0 0;font-size:1rem;font-weight:800}.patientProductGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;display:grid}.patientProductCard{flex-direction:column;gap:8px;display:flex}.patientProductCardTop{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.patientProductName{font-size:.95rem}.patientProductCat{color:var(--color-text-muted);margin:0;font-size:.82rem}.patientProductStock{color:var(--color-text-subtle);margin:0;font-size:.78rem}.patientOrdersQuickCard{border-radius:var(--radius-md)!important}.patientOrdersQuickTitle{margin:0 0 10px;font-size:.95rem;font-weight:700}.patientOrdersSearchRow{margin-bottom:10px}.patientOrdersFilterPills{margin-bottom:12px}.patientOrderCard{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);margin-bottom:10px;padding:14px 16px}.patientOrderCardHead{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.patientOrderId{font-family:ui-monospace,monospace;font-size:.88rem}.patientOrderMeta{color:var(--color-text-muted);margin:4px 0 0;font-size:.82rem}.patientOrderLines{color:var(--color-text);margin:0;padding-left:18px;font-size:.88rem}.patientOrdProductsCard,.patientOrdStatusCard,.patientOrdHistoryCard,.patientOrdCartCard{box-sizing:border-box;flex-direction:column;flex:1;gap:12px;width:100%;min-width:0;min-height:0;display:flex}.patientOrdProductsScroll{flex:1;min-height:0;max-height:min(560px,100dvh - 240px);padding-right:2px;overflow-y:auto}.patientOrdProductDetailList{flex-direction:column;gap:12px;margin:0;display:flex}.patientOrdProductDetailRow{grid-template-columns:140px 1fr;gap:10px;font-size:.9rem;display:grid}.patientOrdProductDetailRow dt{color:var(--color-text-muted,#64748b);margin:0;font-weight:700}.patientOrdProductDetailRow dd{color:var(--color-text);margin:0;font-weight:600}@media (width<=520px){.patientOrdProductDetailRow{grid-template-columns:1fr;gap:4px}}.patientOrdHistoryScroll{max-height:min(420px,50vh);padding-right:2px;overflow-y:auto}.patientOrdersSection .ordProductListType,.patientOrdersSection .ordProductSimpleList{width:100%;min-width:0}.patientOrdSectionTitle{margin:0;font-size:1.05rem;font-weight:800}.patientOrdSectionHead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.patientOrdStatusFilter{min-width:168px;max-width:220px;margin-left:auto}.patientOrdMyOrdersCard .ordProductListActions{flex-direction:column;align-items:stretch;gap:6px}.patientPayInvoiceBadges{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:inline-flex}.modalReceiptScrollBody{flex-direction:column;gap:14px;max-height:min(68vh,640px);padding-right:2px;display:flex;overflow-y:auto}.patientOrdProductGrid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;display:grid}.patientOrdProductCard{border-radius:var(--radius-md);flex-direction:column;gap:6px;padding:16px;display:flex}.patientOrdProductIconWrap{border-radius:var(--radius-md);justify-content:center;align-items:center;width:46px;height:46px;margin-bottom:6px;display:flex}.patientOrdProductCatPill{text-transform:uppercase;letter-spacing:.04em;border-radius:var(--radius-pill);max-width:100%;color:var(--color-text-muted);white-space:nowrap;text-overflow:ellipsis;background:#f1f5f9;align-self:flex-start;padding:2px 8px;font-size:.7rem;font-weight:700;display:inline-block;overflow:hidden}.patientOrdProductName{font-size:.95rem;font-weight:700}.patientOrdProductDesc{color:var(--color-text-muted);min-height:2.6em;margin:0;font-size:.82rem;line-height:1.35}.patientOrdProductStock{color:var(--color-text-muted);margin:4px 0 0;font-size:.8rem;font-weight:600}.staffOrdProductCardReadonly .patientOrdProductDesc{min-height:0}.patientOrdProductFootRow{justify-content:space-between;align-items:center;gap:10px;margin-top:auto;display:flex}.patientOrdProductPrice{font-size:1rem;font-weight:800}.patientOrdOrderBtn{min-width:84px}.patientOrdActiveRow,.patientOrdHistoryRow{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:1fr auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.patientOrdHistoryRowClickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.patientOrdHistoryRowClickable:hover,.patientOrdHistoryRowClickable:focus-visible{border-color:#94a3b8;outline:none;box-shadow:0 2px 8px #0f172a14}.patientOrdStatusCard .patientOrdActiveRow{background:#f0fdf4;border-color:#bbf7d0}.patientOrdActiveLeft{align-items:center;gap:12px;display:flex}.patientOrdActiveIcon{border-radius:var(--radius-md);width:38px;height:38px;color:var(--color-text-muted);background:#f1f5f9;justify-content:center;align-items:center;display:flex}.patientOrdStatusCard .patientOrdActiveIcon{color:#15803d;background:#dcfce7}.patientOrdActiveTitle{font-size:.95rem;font-weight:700}.patientOrdActiveMeta{color:var(--color-text-muted);margin:4px 0 0;font-size:.78rem}.patientOrdHistoryRight{flex-direction:column;justify-content:center;align-items:flex-end;gap:8px;min-width:max-content;display:flex}.patientOrdHistoryStatusBadge{flex-shrink:0}.patientOrdHistoryActions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.staffApptCardActions{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.staffApptInlineActions{gap:6px;display:flex}.patientOrdProductCardClickable{cursor:pointer;transition:transform .12s,box-shadow .12s,border-color .12s}.patientOrdProductCardClickable:hover,.patientOrdProductCardClickable:focus-visible{border-color:var(--color-primary);outline:none;transform:translateY(-2px);box-shadow:0 8px 22px -12px #0f172a40}.patientOrdPlaceModal{flex-direction:column;gap:14px;display:flex}.patientOrdPlaceProduct{border-radius:var(--radius-md);background:var(--color-surface-muted);border:1px solid #e2e8f0;align-items:flex-start;gap:12px;padding:12px;display:flex}.patientOrdPlaceProduct .patientOrdProductIconWrap{flex-shrink:0;width:44px;height:44px;margin-bottom:0}.patientOrdPlaceProduct .patientOrdProductName{margin-bottom:2px;font-size:1rem;display:block}.patientOrdPlaceProduct .patientOrdProductDesc{color:var(--color-text-muted);margin:0 0 4px;font-size:.82rem}.patientOrdPlaceProduct .patientOrdProductPrice{font-size:.9rem}.patientOrdPlaceField{margin:0}.patientOrdQtyRow{border-radius:var(--radius-md);border:1px solid #cbd5e1;flex:none;align-items:stretch;width:auto;max-width:max-content;margin-top:6px;display:inline-flex;overflow:hidden}.patientOrdQtyBtn{cursor:pointer;width:30px;color:var(--color-text);background:#f1f5f9;border:none;flex:0 0 30px;padding:0;font-size:1rem;font-weight:700}.patientOrdQtyBtn:hover{background:#e2e8f0}.patientOrdQtyRow input.patientOrdQtyInput{text-align:center;-moz-appearance:textfield;border:none;border-left:1px solid #cbd5e1;border-right:1px solid #cbd5e1;border-radius:0;flex:0 0 1.75rem;width:1.75rem;min-width:1.75rem;max-width:1.75rem;margin-top:0;padding:4px 0;font-size:.9rem;font-weight:600}.patientOrdQtyInput::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.patientOrdQtyInput::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.patientOrdPaymentFieldset{border:none;flex-direction:column;gap:8px;padding:0;display:flex}.patientOrdPaymentFieldset legend{color:var(--color-text);margin-bottom:4px;font-size:.85rem;font-weight:600}.patientOrdPaymentOption{border-radius:var(--radius-md);cursor:pointer;background:#fff;border:1px solid #e2e8f0;align-items:flex-start;gap:10px;padding:10px 12px;transition:border-color .12s,background .12s;display:flex}.patientOrdPaymentOption input[type=radio]{width:1rem;height:1rem;accent-color:var(--color-primary);flex-shrink:0;margin-top:3px}.patientOrdPaymentOption strong{margin-bottom:2px;font-size:.92rem;display:block}.patientOrdPaymentOption span{color:var(--color-text-muted);font-size:.8rem;display:block}.patientOrdPaymentOptionActive{border-color:var(--color-primary);background:var(--color-primary-soft)}.patientOrdPlaceTotal{border-radius:var(--radius-md);background:var(--color-surface-muted);border:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:10px 12px;font-size:.95rem;display:flex}.patientOrdPlaceTotal strong{color:var(--color-primary);font-size:1.05rem}.patientOrdPlaceFinePrint{margin:0;font-size:.8rem}.patientOrdersMainTabs{box-sizing:border-box;width:100%;margin-bottom:12px}.patientOrdCartCard{gap:16px}@media (width<=640px){.patientOrdersSection .ordProductListType .ordProductListItem{grid-template-rows:auto;grid-template-columns:1fr;gap:8px}.patientOrdersSection .ordProductListType .ordProductListPrice{text-align:left;grid-area:auto/1}.patientOrdersSection .ordProductListType .ordProductSimpleDesc,.patientOrdersSection .ordProductListType .ordProductListStock{grid-area:auto/1}.patientOrdersSection .ordProductListActions{grid-area:auto/1;justify-content:flex-start}.patientOrdCartList .patientOrdCartItem{grid-template-columns:1fr}.patientOrdCartItemSide{align-items:flex-start}}.patientOrdCartList .patientOrdCartItem{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:unset;align-items:start;gap:6px 16px;display:grid}.patientOrdCartList .patientOrdCartItem .ordProductSimpleName,.patientOrdCartList .patientOrdCartItem .ordProductSimpleDesc,.patientOrdCartList .patientOrdCartItem .ordProductListPrice{grid-column:unset;grid-row:unset}.patientOrdCartItemMain{flex-direction:column;gap:4px;min-width:0;display:flex}.patientOrdCartItemSide{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.patientOrdCartList .patientOrdCartItem .ordProductListPrice{text-align:right}.patientOrdCartBrand{display:inline-block}.patientOrdCartUnitPrice{color:var(--color-text-muted);font-size:.82rem}.patientOrdAddCartModal{flex-direction:column;gap:8px;display:flex}.patientOrdAddCartName{color:#0f172a;margin:0;font-size:1.05rem;font-weight:700}.patientOrdAddCartMeta{color:var(--color-text-muted);margin:0;font-size:.88rem;line-height:1.45}.patientOrdAddCartQtyField{margin-top:8px}.patientOrdCartRemoveBtn{color:var(--color-danger,#dc2626)}.patientOrdCartFooter{border-top:1px solid var(--color-border);justify-content:flex-end;padding-top:12px;display:flex}.patientOrdCartFooterRight{flex-direction:column;align-items:flex-end;gap:14px;display:flex}.patientOrdCartTotal{color:var(--color-text);align-items:baseline;gap:3rem;font-size:.95rem;display:flex}.patientOrdCartTotal strong{color:var(--color-text);font-size:1.05rem;font-weight:800}.patientOrdCartCheckoutList{flex-direction:column;gap:12px;display:flex}.patientOrdHistoryPrice{font-size:.95rem;font-weight:800}.patientPayInvoicesCard{padding:0;overflow:hidden}.patientPayInvoicesCard--scrollBody{flex-direction:column;display:flex}.patientPayInvoicesCard--scrollBody .patientPayInvoicesCardTitle{flex-shrink:0}.patientPayStaffListScroll{overscroll-behavior:contain;box-sizing:border-box;max-height:min(480px,55vh);padding:12px 18px 16px;overflow-y:auto}.patientPayStaffListScroll--bare{padding:0 4px 8px 0}.patientPayStaffListEmpty{margin:0;padding:8px 0 16px}.paySummaryRow{margin-bottom:12px}.paySummaryRow:last-child{margin-bottom:0}.paySummaryRowAwaiting{border-color:var(--color-border)}.orderCardStaffSummaryBadges{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:6px;margin-left:auto;display:flex}.orderCardStaffSummaryAside .orderCardStaffSummaryBadges{margin-left:0}.paySummaryRowActions{flex-flow:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.paySummaryRowActions .btn{white-space:nowrap;width:auto;min-width:0;padding:5px 10px;font-size:.78rem;line-height:1.2}.paySummaryRowActions .btn svg{flex-shrink:0;width:14px;height:14px}.paySummaryRow .orderCardStaffSummaryAside{flex-shrink:0;align-items:flex-end}.modalActionsWrap{flex-wrap:wrap;justify-content:flex-end;align-items:stretch;gap:8px}.modalActionsWrap>.medSecPayValidationActions{flex:100%;order:-1;width:100%;min-width:100%}.patientPayInvoicesCardTitle{border-bottom:1px solid var(--color-border);margin:0;padding:16px 18px 12px;font-size:1.05rem;font-weight:800}.patientPayInvoiceList,.patientPayCategories{flex-direction:column;display:flex}.patientPayCategoryBlock{padding:0 0 4px}.patientPayCategoryBlockDivider{border-top:1px solid var(--color-border);margin-top:4px;padding-top:16px}.patientPayCategoryTitle{letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);margin:0;padding:10px 18px 8px;font-size:.88rem;font-weight:800}.patientPayCategoryListScroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;overflow-y:auto}.patientPayCategoryEmpty{color:var(--color-text-muted);margin:0;padding:12px 18px 16px;font-size:.88rem}.patientPayInvoiceRowFig{border-bottom:1px solid var(--color-border);background:var(--color-surface);grid-template-columns:auto 1fr auto;align-items:start;gap:16px;padding:18px;display:grid}.patientPayInvoiceRowFig:last-child{border-bottom:0}.patientPayInvoiceRowFigIcon{border-radius:var(--radius-md);background:var(--color-primary-soft);color:#2563eb;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.patientPayTxnIcon{background:var(--color-surface-muted);color:#64748b}.patientPayInvoiceRowFigMain{min-width:0}.patientPayInvoiceTitleRow{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:6px;display:flex}.patientPayInvoiceHeadingStack{flex-direction:column;gap:2px;min-width:0;display:flex}.patientPayInvoiceKind{letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-muted);font-size:.72rem;font-weight:800}.patientPayInvoiceCode{font-size:1.05rem;font-weight:800;line-height:1.2}.patientPayInvoiceServiceTitle{font-size:1.05rem;font-weight:800}.patientPayInvoiceDesc{color:var(--color-text-muted);margin:0 0 8px;font-size:.88rem}.patientPayInvoiceMeta{color:var(--color-text-muted);margin:0;font-size:.82rem}.patientPayInvoiceRowFigActions{flex-direction:column;align-items:stretch;gap:8px;min-width:160px;display:flex}.patientPayInvoiceActionBadge{justify-content:flex-end;display:flex}.patientPayInvoiceRowAmount{text-align:right;color:var(--color-text);font-size:1rem;font-weight:800;line-height:1.2}.medSecPayAwaitingRow{background:linear-gradient(180deg, var(--color-primary-soft) 0%, var(--color-surface) 72%);border:1px solid #93c5fd;border-radius:12px;margin-bottom:4px;padding:14px 16px}.medSecPayRowAwaiting{min-width:172px}.medSecPayValidationActionsInline{flex-direction:row;align-items:center;gap:8px;width:auto}.medSecPayValidationDecisionInline{gap:8px;width:auto;display:inline-flex}.medSecPayValidationDecisionInline .medSecPayBtnValid,.medSecPayValidationDecisionInline .medSecPayBtnNotValid{white-space:nowrap;width:auto;padding:8px 14px}.modalActionsReceiptFooter{flex-direction:column;align-items:stretch;gap:10px;width:100%;display:flex}.modalActionsReceiptFooterStacked .medSecPayValidationActionsInline,.modalActionsReceiptFooterStacked .medSecPayValidationDecisionInline{width:100%}.modalActionsReceiptFooterStacked .medSecPayValidationDecisionInline{grid-template-columns:1fr 1fr;gap:10px;display:grid}.modalActionsReceiptFooterStacked .medSecPayValidationDecisionInline .medSecPayBtnValid,.modalActionsReceiptFooterStacked .medSecPayValidationDecisionInline .medSecPayBtnNotValid,.modalActionsReceiptFooterStacked .patientPayBtnDlSolid{justify-content:center;width:100%}.modalActionsReceiptLeft{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.modalActionsReceiptRight{align-items:center;gap:8px;margin-left:auto;display:flex}.staffApptDeclineSummary{gap:8px;margin:0;display:grid}.staffApptDeclineRow{grid-template-columns:minmax(140px,auto) 1fr;align-items:baseline;gap:8px 12px;display:grid}.staffApptDeclineRow dt{color:#334155;margin:0;font-weight:700}.staffApptDeclineRow dd{color:#0f172a;margin:0}.orderDetailHead{flex-direction:column;gap:10px;margin-bottom:14px;display:flex}.orderDetailHeadRow{flex-wrap:wrap;align-items:center;gap:12px 16px;display:flex}.orderDetailCode{font-size:1rem}.orderDetailDate{color:#64748b;font-size:.9rem}.orderDetailStatusField{align-items:center;gap:8px;margin-left:auto;display:inline-flex}.orderDetailStatusLabel{color:#64748b;font-size:.82rem;font-weight:700}.orderDetailStatusSelect{border:1px solid var(--color-border);background:#fff;border-radius:8px;min-width:148px;padding:6px 10px;font-size:.88rem}.orderDetailStatusValue{font-weight:600}.orderDetailPatientRow{flex-wrap:wrap;gap:8px 14px;margin:0;font-size:.92rem;display:flex}.orderDetailPatientRow span{color:#64748b}.orderDetailTableWrap{margin-top:0}.orderDetailTotalRow td{border-top:1px solid var(--color-border);padding-top:10px}.secSchedulePersonnelInlineDate{color:#64748b;margin:0 0 10px;font-size:.88rem;font-weight:500}.staffCalPersonnelScheduleBar.secClinicHoursBar{border-top:1px solid var(--color-border);margin-top:12px;padding-top:12px}.secClinicHoursSavePlaceholder{min-width:64px;min-height:32px;display:inline-block}.staffApptDeclineSummaryCols{grid-template-columns:max-content 1fr;align-items:baseline;gap:8px 24px;display:grid}.staffApptDeclineSummaryCols .staffApptDeclineRow{display:contents}.declineApptModal{max-width:min(720px,96vw)}.orderDetailModal{max-width:min(1080px,96vw)}.orderDetailMetaGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin-bottom:16px;display:grid}.orderDetailMetaRow{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px 20px;display:grid}@media (width<=720px){.orderDetailMetaRow{grid-template-columns:1fr}}.orderDetailMetaPairSplit{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;display:grid}.orderDetailMetaValue{margin-top:4px;font-size:.95rem}.orderStatusFilterSelectDisabled{opacity:1;color:var(--color-text);background:var(--color-surface-muted);cursor:not-allowed;pointer-events:none}.orderStatusFilterSelect{border:1px solid var(--color-border);background:#fff;border-radius:8px;min-width:148px;min-height:30px;padding:4px 10px;font-size:.85rem;line-height:1.25}.catalogSortRowSelect.orderStatusFilterSelect{min-width:180px}.medSecPayValidationActions{flex-direction:column;gap:8px;width:100%;display:flex}.medSecPayValidationDecision{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.medSecPayBtnValid,.medSecPayBtnNotValid{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:100%;min-width:0;padding:9px 10px;font-size:.82rem;font-weight:700;transition:filter .15s,transform .1s;display:flex}.medSecPayBtnValid{color:#fff;background:#16a34a;box-shadow:0 1px 2px #16a34a59}.medSecPayBtnValid:hover{filter:brightness(1.06)}.medSecPayBtnNotValid{color:#fff;background:#dc2626;box-shadow:0 1px 2px #dc262659}.medSecPayBtnNotValid:hover{filter:brightness(1.06)}.medSecPayValidationActions .medSecPayBtnViewInvoice{width:100%}.patientPayBtnView{justify-content:center;align-items:center;gap:6px;display:inline-flex}.patientPayBtnDl{color:#15803d;border-color:#22c55e;justify-content:center;align-items:center;gap:6px;display:inline-flex}.patientPayBtnDlSolid{color:#fff;background:#16a34a;border-color:#16a34a;justify-content:center;align-items:center;gap:6px;display:inline-flex}.patientPayBtnDlSolid:hover{filter:brightness(1.05)}.patientPayBtnPay{background:#16a34a;border-color:#16a34a;justify-content:center;align-items:center;gap:6px;display:inline-flex}.patientPayBtnPay:hover{filter:brightness(1.05)}.patientPayTxnAmt{text-align:right;padding-top:4px;font-size:1rem;font-weight:800}.payInvoiceModal{flex-direction:column;gap:14px;display:flex}.payInvoiceSummaryRow{grid-template-columns:72px 1fr;gap:10px;font-size:.9rem;display:grid}.payInvoiceServiceVal{text-align:right;font-weight:600}.payInvoiceTotalRow{border-top:1px solid var(--color-border);justify-content:space-between;align-items:baseline;padding-top:8px;display:flex}.payInvoiceTotalAmt{color:#2563eb;font-size:1.35rem}.payInvoiceMethodLabel{margin:8px 0 0;font-size:.9rem}.payInvoiceOption{border:1px solid var(--color-border);border-radius:var(--radius-md);cursor:pointer;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.payInvoiceOption input[type=radio]{accent-color:#2563eb;flex-shrink:0;width:1rem;min-width:1rem;height:1rem;margin-top:6px}.payInvoiceOption p{color:var(--color-text-muted);margin:4px 0 0;font-size:.82rem}.payInvoiceOptionActive{background:var(--color-surface-muted);border-color:#2563eb}.payInvoiceInfoBox{border-radius:var(--radius-sm);color:#1e3a8a;background:#dbeafe;margin-top:10px;padding:10px 12px;font-size:.82rem;line-height:1.45}.ordProductVaccineHint{color:var(--color-text-muted,#64748b);font-size:.78rem;line-height:1.35}.payInvoiceDiscountSection{flex-direction:column;gap:10px;display:flex}.payInvoiceDiscountSectionLocked{opacity:.92}.payInvoiceDiscountRow{grid-template-columns:1fr 1fr;gap:10px;display:grid}.payInvoiceDiscountOption{align-items:center;margin:0;padding:8px 10px}.payInvoiceDiscountOption input[type=radio]{margin-top:0}.payInvoiceDiscountOption>div strong{font-size:.86rem}.payInvoiceIdUploadRow{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=560px){.payInvoiceIdUploadRow{grid-template-columns:1fr}}.payInvoiceIdUpload{flex-direction:column;gap:8px;display:flex}.payInvoiceIdUploadLabel{margin:0;font-size:.84rem;font-weight:600}.payInvoiceIdUploadActions{flex-wrap:wrap;gap:8px;display:flex}.payInvoiceIdInputHidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.payInvoiceDiscountReview{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface-muted,#f8fafc);margin-bottom:14px;padding:12px 14px}.payInvoiceDiscountReviewTitle{margin:0 0 8px;font-size:.9rem}.payInvoiceDiscountNotice{margin:0 0 10px;font-size:.84rem}.payInvoiceDiscountReviewActions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.payDiscountIdGrid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.payDiscountIdThumb{flex-direction:column;gap:6px;margin:0;display:flex}.payDiscountIdThumb figcaption{color:var(--color-text-muted,#64748b);font-size:.78rem;font-weight:600}.payDiscountIdThumb img{object-fit:contain;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff;width:100%;max-height:180px}.payInvoiceTotalBase{color:var(--color-text-muted,#64748b);margin-left:8px;font-size:.82rem;font-weight:500;text-decoration:line-through}.patientMsgFaqHint{border-bottom:1px solid var(--color-border);padding:10px 12px;font-size:.82rem}.patientMsgContactCard{border:1px solid var(--color-border);background:var(--color-surface-muted,#f8fafc);box-sizing:border-box;flex-shrink:0;width:100%;min-width:0;margin:0 0 12px;padding:12px 14px;font-size:.84rem;line-height:1.45}.patientMsgContactName{color:var(--color-text);margin:0 0 8px;font-weight:600}.patientMsgContactRow{color:var(--color-text-muted);align-items:flex-start;gap:8px;margin:0 0 6px;display:flex}.patientMsgContactRow:last-child{margin-bottom:0}.patientMsgContactRow svg{color:var(--color-primary,#2563eb);flex-shrink:0;margin-top:2px}.patientMsgFaqTitle{margin-bottom:6px;display:block}.patientMsgFaqList{color:var(--color-text-muted);margin:0;padding-left:18px}.patientMsgFaqFoot{color:var(--color-text-subtle);margin:8px 0 0;font-size:.78rem}.servicesCatalogPanel{flex-direction:column;flex:1;gap:16px;min-height:0;display:flex;overflow:hidden}.servicesCatalogTwoPanel{flex:1;align-items:stretch;gap:16px;min-height:0;display:flex;overflow:hidden}.servicesCatalogLeftPanel{flex-direction:column;flex:0 0 220px;min-width:170px;min-height:0;padding:14px 12px;display:flex;overflow:hidden}.servicesCatalogLeftHeader{flex-shrink:0;justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.servicesCatalogLeftTitle{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin:0;font-size:.88rem;font-weight:700}.servicesCatalogAddCatForm{flex-shrink:0;margin-bottom:10px}.servicesCatalogAddCatActions{gap:4px;margin-top:6px;display:flex}.servicesCatalogCategoryItems{overscroll-behavior:contain;flex-direction:column;flex:1;gap:2px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.servicesCatalogCategoryItem{border-radius:6px;align-items:center;display:flex;overflow:hidden}.servicesCatalogCategoryItem:hover .servicesCatalogCategoryItemActions{opacity:1}.servicesCatalogCategoryItemActive{background:var(--color-primary)}.servicesCatalogCategoryItemActive .servicesCatalogCategoryItemBtn{color:#fff;font-weight:700}.servicesCatalogCategoryItemBtn{text-align:left;cursor:pointer;color:inherit;background:0 0;border:none;border-radius:6px;flex:1;padding:8px 10px;font-size:.9rem}.servicesCatalogCategoryItemBtn:hover{background:color-mix(in srgb, var(--color-primary) 10%, transparent)}.servicesCatalogCategoryItemActive .servicesCatalogCategoryItemBtn:hover{background:color-mix(in srgb, #000 12%, var(--color-primary))}.servicesCatalogCategoryItemActions{opacity:0;gap:2px;padding-right:6px;transition:opacity .15s;display:flex}.servicesCatalogInactiveBadge{opacity:.75;font-size:.75em}.servicesCatalogRightPanel{flex-direction:column;flex:1;min-width:0;min-height:0;padding:16px 18px;display:flex;overflow:hidden}.servicesCatalogRightHeader{flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.servicesCatalogRightBody{overscroll-behavior:contain;box-sizing:border-box;flex:1;min-height:0;padding-right:4px;overflow-y:auto}.servicesCatalogInventoryGrid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));align-content:start;gap:16px;display:grid}.servicesCatalogCategoryTitle{margin:0;font-size:1.05rem}.servicesCatalogServiceRows{flex-direction:column;gap:0;display:flex}.pageContent>.staffOrdersSection--clip{flex-direction:column;gap:8px;display:flex;overflow:hidden}.staffOrdersSection--clip .pageHead{flex-shrink:0;margin-bottom:0}.staffOrdersSection--clip .pageHead h1{margin-bottom:0}.staffOrdersTabsBar.tabsBar{border-radius:var(--radius-pill);background:#eef2f7;flex-shrink:0;align-self:flex-start;gap:8px;width:auto;max-width:100%;margin-bottom:10px;padding:6px;display:inline-flex}.staffOrdersTabsBar .tabBtn{border-radius:var(--radius-pill);font:inherit;color:var(--color-text-muted);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:6px;padding:8px 18px;font-size:.88rem;font-weight:600;display:inline-flex}.staffOrdersTabsBar .tabBtnActive{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-card)}.pageContent>.staffOrdersSection--orders{flex-direction:column;gap:8px;display:flex;overflow:hidden}.staffOrdersSection .pageHead,.staffOrdersSection--orders .pageHead{flex-shrink:0;margin-bottom:0}.staffOrdersSection .pageHead h1,.staffOrdersSection--orders .pageHead h1{margin-bottom:0}.staffOrdersStickyHead{box-sizing:border-box;flex-direction:column;flex-shrink:0;gap:12px;width:100%;min-width:0;display:flex}.staffOrdersKpiRow{box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;min-width:0;display:grid}.staffOrdersKpiCard{box-sizing:border-box;width:100%;min-width:0}.staffOrdersKpiCard .kpiStatCard{width:100%;min-width:0}.staffOrdersSearchRow{box-sizing:border-box;width:100%;min-width:0}.staffOrdersSearchRow .searchInputWrap{width:100%}@media (width<=960px){.staffOrdersKpiRow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.staffOrdersKpiRow{grid-template-columns:1fr}}.staffOrdersFilterPills{margin-bottom:0}.staffOrdersListBody{overscroll-behavior:contain;box-sizing:border-box;flex:1;min-height:0;padding-right:4px;overflow-y:auto}.staffOrdersSection--orders .staffOrdersScrollList,.staffOrdersSection--orders .ordersScrollList--nested{max-height:none;margin-bottom:0;overflow:visible}.pageContent>.staffOrdersSection--catalog{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex;overflow:hidden}.staffOrdersSection--catalog>.error,.staffOrdersSection--catalog .staffOrdersTabsBar,.staffOrdersSection--catalog .servicesCatalogPanel>.subtitle,.staffOrdersSection--catalog .servicesCatalogPanel>.error{flex-shrink:0}.staffOrdersSection--catalog .servicesCatalogPanel{flex:1;min-height:0}@media (width<=768px){.staffOrdersSection--catalog .servicesCatalogTwoPanel{flex-direction:column}.staffOrdersSection--catalog .servicesCatalogLeftPanel{flex:none;max-height:min(240px,32vh)}.staffOrdersSection--catalog .servicesCatalogRightPanel{flex:1;min-height:0}}.servicesCatalogServiceRow{border-bottom:1px solid var(--color-border);flex-wrap:wrap;align-items:flex-end;gap:12px 16px;padding:12px 0;display:flex}.servicesCatalogServiceRow:last-child{border-bottom:none}.servicesCatalogServiceRowMain{flex-direction:column;flex:180px;gap:2px;min-width:160px;display:flex}.servicesCatalogFieldLabel{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.02em;font-size:.72rem;font-weight:600}.servicesCatalogInlineField{flex-direction:column;gap:4px;min-width:0;display:flex}.servicesCatalogStockInput{width:88px}.servicesCatalogStockReadonly,.servicesCatalogPriceReadonly{color:var(--color-text);font-size:.9rem;font-weight:600;line-height:1.35}.servicesCatalogServiceRowStockReadonly,.servicesCatalogServiceRowPriceReadonly{flex-direction:column;gap:4px;min-width:72px;display:flex}.servicesCatalogModalDescPrice{grid-template-columns:1fr minmax(120px,160px);align-items:end;gap:12px;display:grid}.servicesCatalogServiceName{font-size:.92rem;font-weight:600}.servicesCatalogServiceMeta{color:var(--color-text-muted);font-size:.76rem}.servicesCatalogServiceRowPrice{min-width:108px}.servicesCatalogPriceField{align-items:center;gap:6px;display:flex}.servicesCatalogPeso{color:var(--color-text-muted);font-size:.9rem}.servicesCatalogPriceInput{width:88px}.servicesCatalogServiceRowActions{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.servicesCatalogRowActionBtn{min-width:72px;min-height:36px;padding-inline:14px}.servicesCatalogRowInactive{opacity:.55}.catalogFilterSelect{min-width:180px}.secClinicHoursEditReadOnly .fieldInput:disabled{opacity:1;color:var(--color-text,#0f172a);cursor:default;background:#f8fafc}.secClinicHoursBar{border-top:1px solid var(--color-border);flex-shrink:0;margin-top:12px;padding:12px 14px}.secClinicHoursHead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.secClinicHoursHeadLeft{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.secClinicHoursSaveBtn{margin-left:auto}.secClinicHoursValue{color:var(--color-text-muted);font-size:.88rem}.secClinicHoursEdit{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:10px;display:flex}.secClinicHoursStatusField,.secClinicHoursStatusSelect,.secClinicHoursTimeInput{min-width:120px}.secOverviewDayTabsCompact .tabBtn{padding:6px 12px;font-size:.72rem}.secSchedulePersonnelHead{align-items:flex-start}.secSchedulePersonnelHeadText{flex:1;min-width:0}.secSchedulePersonnelDate{margin:4px 0 0}.secSchedulePersonnelHead.secOverviewTodayHead{border-bottom:1px solid var(--color-border);margin-bottom:12px;padding-bottom:14px}.secSchedulePersonnelSide .secPersonnelTabs{margin-top:0}.staffCalDayPad,.secOverviewCalPad{visibility:hidden;pointer-events:none;min-height:clamp(38px,5.8vh,52px)}.staffScheduleSectionPortal .pageHead,.staffScheduleSection .pageHead{margin-bottom:4px}.staffScheduleSectionPortal .staffScheduleTabsBar,.staffScheduleSectionPortal>.tabsBarSecSchedule{margin-top:0}.staffScheduleSectionPortal{flex-direction:column;flex:1 1 0;gap:16px;min-height:0;max-height:100%;display:flex;overflow:hidden}.staffScheduleTabPanel{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.staffScheduleTabPanelScroll{overscroll-behavior:contain;overflow-y:auto}.pageContent>section.staffScheduleSectionPortal{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.pageShell:has(.staffScheduleSectionPortal) .pageContent{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.pageShell:has(.staffScheduleSectionPortal) .pageContent>.staffScheduleSectionPortal{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.pageShell:has(.staffScheduleSectionPortal){flex-direction:column;display:flex;overflow:hidden}.staffCalPersonnelScheduleBar{border-top:1px solid var(--color-border);margin-top:12px;padding-top:12px}.staffCalPersonnelScheduleFields{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:8px;display:flex}.clinicalScheduleListCard{flex-direction:column;min-height:0;display:flex;overflow:hidden}.clinicalScheduleListScroll{flex:1;min-height:0;max-height:none;overflow-y:auto}.staffCalLeaveListTime{color:var(--color-text-muted);margin-left:auto;font-size:.82rem}.staffCalLeaveListTimeMuted{font-style:italic}.reportsCustomizeBar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;display:flex}.reportsCustomizeLabel{color:var(--color-text-muted);font-size:.82rem;font-weight:700}.reportModulePicker{flex-wrap:wrap;gap:8px 14px;display:flex}.reportModuleOption{color:var(--color-text);align-items:center;gap:6px;font-size:.84rem;display:inline-flex}.reportExportSortSelect{min-width:180px}.secPersonnelTabs{margin-bottom:10px}.catalogAdminPanel{flex-direction:column;gap:12px;display:flex}.catalogSearchRow{width:100%}.catalogToolbarTop{width:100%;margin-bottom:0}.catalogToolbarSearch{flex:280px;min-width:0}.catalogToolbarSearch .searchInputWrap{width:100%}.catalogFilterRow{flex-wrap:wrap;align-items:flex-end;gap:10px 14px;display:flex}.catalogFilterControls{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.catalogFilterField{min-width:160px;color:var(--color-text-muted);flex-direction:column;flex:none;gap:4px;font-size:.78rem;font-weight:600;display:flex}.catalogFilterLabel{color:var(--color-text-muted);font-size:.78rem;font-weight:600}.catalogFilterRangeToggle{color:var(--color-text-muted);align-items:center;gap:6px;padding-bottom:10px;font-size:.82rem;display:inline-flex}.catalogToolbarWithFilter{flex-wrap:wrap;align-items:flex-end;gap:10px 14px;display:flex}.catalogToolbarWithFilter .catalogToolbarTop{flex:420px;min-width:0}.catalogToolbarWithFilter .catalogFilterField{flex:none;min-width:160px}.catalogSearchRow .searchInputWrap{width:100%}.catalogSearchRow .searchInput{box-sizing:border-box;width:100%;padding-left:40px!important}.catalogSortFilterRow{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.catalogSortFilterMain{flex-shrink:0;align-items:center;gap:10px;display:flex}.catalogSortFilterChips{flex-wrap:wrap;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.catalogSortRow{flex-wrap:nowrap;align-items:center;gap:10px;display:flex}.catalogSortRowSelect{min-width:220px}.catalogChipActionBtn{border:1px dashed var(--color-primary,#2563eb);color:var(--color-primary,#2563eb);cursor:pointer;background:0 0;border-radius:999px;padding:6px 14px;font-size:.82rem;font-weight:600}.catalogChipActionBtn:hover{background:#2563eb0f}.catalogChipActionBtnActive{color:#fff;background:#1e2a44;border-style:solid;border-color:#1e2a44}.catalogChipEditBtn{border:1px solid var(--color-border);width:32px;height:32px;color:var(--color-text-muted);cursor:pointer;background:#fff;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.catalogChipEditBtn:hover{color:var(--color-text);background:#f3f4f6}.catalogQtyStepper{border:1px solid var(--color-border);background:#fff;border-radius:8px;align-items:stretch;display:flex;overflow:hidden}.catalogQtyStepperBtn{width:40px;color:var(--color-text);cursor:pointer;background:#f8fafc;border:none;font-size:1.1rem}.catalogQtyStepperBtn:hover{background:#eef2f7}.catalogQtyStepperInput{border:none;border-left:1px solid var(--color-border);border-right:1px solid var(--color-border);text-align:center;flex:1;min-width:48px;padding:8px 4px;font-size:.95rem}.catalogProductFormMetaRow{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}@media (width<=720px){.catalogProductFormMetaRow{grid-template-columns:1fr}}.catalogNoResize{resize:none}.catalogRowPencilBtn{width:28px;height:28px;color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.catalogRowPencilBtn:hover{color:var(--color-primary,#2563eb)}.catalogTableActions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.catalogViewMetaRow{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}@media (width<=720px){.catalogViewMetaRow{grid-template-columns:1fr}}.catalogAdminToolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.catalogAdminToolbarFilters{flex-wrap:wrap;flex:1;align-items:center;gap:10px;min-width:0;display:flex}.catalogAdminToolbarLabel{color:var(--color-text-muted);white-space:nowrap;font-size:.85rem;font-weight:600}.catalogAdminToolbarSelect{min-width:150px}.catalogAdminToolbarSearch{flex:1;min-width:180px;max-width:320px}.catalogCategoryChips{display:contents}.catalogCategoryChip{border:1px solid var(--color-border);color:var(--color-text);cursor:pointer;background:#fff;border-radius:999px;padding:6px 14px;font-size:.82rem;font-weight:600}.catalogCategoryChipActive{color:#fff;background:#1e2a44;border-color:#1e2a44}.catalogCategoryChipAdd{color:var(--color-primary,#2563eb);border-style:dashed}.catalogAdminTableWrap{border:1px solid var(--color-border);background:#fff;border-radius:10px;max-height:min(58vh,520px);overflow:auto}.catalogAdminTable{border-collapse:collapse;width:100%;font-size:.88rem}.catalogAdminTable th,.catalogAdminTable td{border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle;border-left:none;border-right:none;padding:10px 12px}.catalogAdminTable th{text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-muted);background:#f8fafc;font-size:.78rem}.catalogAdminTable tbody tr:last-child td{border-bottom:none}.catalogRowViewBtn{border:1px solid var(--color-border);cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.catalogRowViewBtn:hover{background:#f3f4f6}.catalogTableFooter{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.catalogTableFooterMeta{color:var(--color-text-muted);font-size:.82rem}.catalogTableFooterActions{gap:8px;display:flex}.catalogViewGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px;display:grid}.catalogBatchSection{margin-top:16px}.catalogBatchSectionHead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.catalogBatchSectionHead h4{margin:0;font-size:.95rem}.catalogOutOfStockBadge{vertical-align:middle;margin-left:8px}.ordProductListItemOutOfStock{opacity:.72}.svcIconBtn{border:1px solid var(--color-border);color:var(--color-text-muted);cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;padding:5px;transition:background .12s,color .12s;display:inline-flex}.svcIconBtn:hover{background:var(--color-surface-hover,#f3f4f6);color:var(--color-text)}.svcIconBtnDanger{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.svcIconBtnDanger:hover{background:#fee2e2}.patientMsgThreadTagAi,.patientMsgThreadTagSec{text-transform:uppercase;letter-spacing:.04em;border-radius:var(--radius-pill);margin-top:6px;padding:2px 6px;font-size:.68rem;font-weight:700;display:inline-block}.patientMsgThreadTagAi{color:#4338ca;background:#e0e7ff}.patientMsgThreadTagSec{color:#1d4ed8;background:#dbeafe}.patientPaySection{--staff-pay-list-row-height:96px;--staff-pay-list-visible-rows:3.5;--staff-pay-list-scroll-min:calc(var(--staff-pay-list-row-height) * var(--staff-pay-list-visible-rows));--staff-pay-card-row-height:100px;--staff-pay-card-list-gap:12px;--staff-pay-card-visible-rows:2;--staff-pay-section-pad-y:42px;--staff-pay-section-title-h:36px;--staff-pay-section-card-h:calc(var(--staff-pay-section-pad-y) + var(--staff-pay-section-title-h) + var(--staff-pay-card-row-height) * var(--staff-pay-card-visible-rows) + var(--staff-pay-card-list-gap) * (var(--staff-pay-card-visible-rows) - 1));--patient-pay-row-height:180px;--patient-pay-category-visible-rows:1.5;--patient-pay-category-list-cap:calc(var(--patient-pay-row-height) * var(--patient-pay-category-visible-rows));--patient-pay-portal-visible-rows:5;--patient-pay-portal-row-h:120px;--patient-pay-portal-title-h:46px;--patient-pay-portal-list-h:calc(var(--patient-pay-portal-row-h) * var(--patient-pay-portal-visible-rows));--patient-pay-portal-card-h:calc(var(--patient-pay-portal-title-h) + var(--patient-pay-portal-list-h));flex-direction:column;gap:8px;display:flex}.pageContent>.patientPaySection{overflow:hidden}.pageContent:has(.staffPayCategoriesStack)>.patientPaySection{overflow:visible}.pageContent:has(.staffPayCategoriesStack) .payTransactionsListBody{flex:none;overflow:visible}.pageShell:has(.patientPaySection){flex-direction:column;display:flex;overflow:hidden}.pageContent:has(.patientPaySection){flex-direction:column;flex:1;min-height:0;display:flex}.pageContent:has(.patientPaySection)>.patientPaySection{flex:1;min-height:0;overflow:hidden}.pageContent:has(.patientPayCategoriesGrid) .payTransactionsListBody{flex:1;min-height:0;overflow:hidden}.pageContent:has(.patientPayCategoriesGrid) .patientPayCategoriesGrid{flex:1;align-items:stretch;height:100%;min-height:0}.pageContent:has(.patientPayCategoriesGrid) .patientPayPortalSectionCard{height:100%;min-height:0;max-height:100%}.patientPaySection .pageHead{flex-shrink:0;margin-bottom:0}.patientPaySection .payTransactionsStickyHead{box-sizing:border-box;flex-direction:column;flex-shrink:0;gap:8px;width:100%;min-width:0;display:flex}.patientPaySection .payTransactionsListBody,.patientPaySection .payTransactionsListBody>.patientPayInvoicesCard,.patientPaySection .patientPayInvoicesCard{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.patientPaySection .payTransactionsListBody>.patientPayStaffListScroll{min-height:var(--staff-pay-list-scroll-min,calc(96px * 3.5));flex:1;max-height:none;overflow-y:auto}.patientPaySection .payTransactionsListBody>.patientPayStaffListScroll .paySummaryRow{min-height:var(--staff-pay-list-row-height,96px);box-sizing:border-box}.staffPayCategoriesStack{flex-direction:column;gap:16px;width:100%;min-width:0;display:flex}.staffPaySectionCard{box-sizing:border-box;width:100%;min-width:0;height:min(var(--staff-pay-section-card-h), 44vh);min-height:min(var(--staff-pay-section-card-h), 44vh);max-height:min(var(--staff-pay-section-card-h), 44vh);flex-direction:column;padding:20px 22px 22px;display:flex;overflow:hidden}.staffPaySectionTitle{color:var(--color-text);flex-shrink:0;margin:0 0 14px;font-size:1rem;font-weight:700}.staffPaySectionEmpty{flex:1;justify-content:center;align-items:center;min-height:0;margin:0;display:flex}.staffPayCardListScroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;overflow:hidden auto}.staffPayCardListScrollHidden{-ms-overflow-style:none;scrollbar-width:none!important}.workspaceMain .staffPayCardListScrollHidden,.staffPayCardListScrollHidden{scrollbar-width:none!important;scrollbar-color:transparent transparent!important}.staffPayCardListScrollHidden::-webkit-scrollbar{background:0 0!important;width:0!important;height:0!important;display:none!important}.staffPayCardList{gap:var(--staff-pay-card-list-gap);flex-direction:column;display:flex}.staffPayCardList .paySummaryRow{min-height:var(--staff-pay-card-row-height);box-sizing:border-box;flex-shrink:0;margin-bottom:0}.patientPayCategoriesGrid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;width:100%;min-width:0;display:grid}.patientPayCategoriesGrid--single{grid-template-columns:minmax(0,1fr)}.patientPayPortalSectionCard{box-sizing:border-box;width:100%;min-width:0;height:min(var(--patient-pay-portal-card-h), 70vh);min-height:min(var(--patient-pay-portal-card-h), 70vh);max-height:min(var(--patient-pay-portal-card-h), 70vh);flex-direction:column;padding:0;display:flex;overflow:hidden}.patientPayPortalSectionCardFit{height:auto;min-height:0;max-height:none;overflow:visible}.patientPayPortalListFit{flex:none;overflow:visible}.patientPayPortalSectionTitle{letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-muted);flex-shrink:0;margin:0;padding:16px 18px 10px;font-size:.88rem;font-weight:800}.patientPayPortalSectionEmpty{flex:1;justify-content:center;align-items:center;min-height:0;margin:0;padding:12px 18px 16px;display:flex}.patientPayPortalListScroll{min-height:0;max-height:var(--patient-pay-portal-list-h);overscroll-behavior:contain;box-sizing:border-box;flex:1;overflow-y:auto}.patientPayPortalList{flex-direction:column;display:flex}.patientPayPortalList .patientPayInvoiceRowFig{min-height:var(--patient-pay-portal-row-h);box-sizing:border-box;flex-shrink:0;padding:14px 18px}.patientPayPortalList .patientPayInvoiceDesc{margin-bottom:4px}.staffPayInvoicesGrid .staffPayPortalList .patientPayInvoiceRowFig{align-items:start;min-height:148px}.staffPayInvoicesGrid .staffPayInvoiceRowFigActions,.staffPayInvoiceRowFigActionsStack{flex-direction:column;align-items:stretch;gap:8px;min-width:172px;display:flex}.staffPayInvoiceRowFigActionsStack .staffPayInvoiceActionBtn{width:100%;min-width:0}.staffPayInvoicesGrid .staffPayPortalList .paySummaryRowAwaiting{background:var(--color-surface)}@media (width<=900px){.patientPayCategoriesGrid{grid-template-columns:1fr}}@media (width<=720px){.patientPaySection{--patient-pay-portal-title-h:42px;--patient-pay-portal-row-h:128px;--staff-pay-card-row-height:92px;--staff-pay-section-pad-y:36px}.staffPaySectionCard{padding:16px 18px 18px}}.patientPaySection .payTransactionsListBody>.patientPayStaffListEmpty{flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.patientPaySection .patientPayCategories{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.patientPaySection .patientPayCategoryBlock:has(.patientPayCategoryListScroll){min-height:0;max-height:calc(var(--patient-pay-category-list-cap) + 2.85rem);flex-direction:column;flex:1 1 0;display:flex;overflow:hidden}.patientPaySection .patientPayCategoryBlock:not(:has(.patientPayCategoryListScroll)){flex:none}.patientPaySection .patientPayCategoryTitle{flex-shrink:0}.patientPaySection .patientPayCategoryListScroll{min-height:0;max-height:min(var(--patient-pay-category-list-cap), 26vh);overscroll-behavior:contain;flex:auto;overflow-y:auto}.patientPaySection .patientPayCategoryListScroll .patientPayInvoiceRowFig{min-height:var(--patient-pay-row-height);box-sizing:border-box}.patientPayKpiRow{box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;min-width:0;display:grid}.patientPayKpiCard{text-align:left;box-sizing:border-box;width:100%;min-width:0}.patientPayKpiCard .kpiStatCard{width:100%;min-width:0}.staffPaySearchRow{box-sizing:border-box;flex-wrap:wrap;align-items:center;gap:12px;width:100%;min-width:0;display:flex}.staffPaySearchRow .searchInputWrap,.staffPaySearchRow>*{flex:240px;width:100%;min-width:0}@media (width<=640px){.patientPayKpiRow{grid-template-columns:1fr}}.patientPayKpiLbl{color:var(--color-text-muted);margin:0 0 6px;font-size:.78rem;font-weight:600}.patientPayKpiVal{margin:0;font-size:1.35rem;font-weight:800}.patientPayTabsBar{background:#f1f5f9;margin-bottom:0}.patientPayInvoiceRow{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:auto 1fr auto;align-items:start;gap:14px;margin-bottom:12px;padding:16px;display:grid}.patientPayInvoiceActions{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.patientPayRowBtns{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.patientPayTxnRow{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:auto 1fr auto;align-items:start;gap:14px;margin-bottom:12px;padding:16px;display:grid}@media (width<=720px){.docRow{grid-template-columns:1fr;align-items:start}.refConsultationDocActions{justify-content:flex-start}.patientMrDocRow{grid-template-columns:1fr}.patientMrDocActions{flex-flow:wrap}.patientPayInvoiceRowFig{grid-template-columns:1fr}.patientPayInvoiceRowFigActions{flex-flow:wrap;min-width:0}.patientPayTxnAmt{text-align:left;width:100%}.patientPayInvoiceRow,.patientPayTxnRow{grid-template-columns:1fr}.patientPayInvoiceActions{align-items:flex-start}.patientPayRowBtns{justify-content:flex-start}.chatLayout.patientMsgChatLayout{grid-template-rows:auto minmax(280px,1fr);grid-template-columns:1fr;min-height:min(640px,100vh - 220px)}.patientMsgThreads{border-right:0;border-bottom:1px solid var(--color-border);max-height:min(42vh,340px)}.patientMsgThreadList{max-height:none}.patientMsgContactRow{flex-wrap:wrap}}.apptPageSection{box-sizing:border-box;--appt-fig49-row-h:108px;--appt-fig49-gap:10px;--appt-fig49-visible:2.5;--appt-fig49-title-h:28px;--appt-fig49-card-pad-y:32px;--appt-fig49-list-h:calc(var(--appt-fig49-row-h) * var(--appt-fig49-visible) + var(--appt-fig49-gap) * (var(--appt-fig49-visible) - 1));--appt-fig49-card-h:calc(var(--appt-fig49-card-pad-y) + var(--appt-fig49-title-h) + 12px + var(--appt-fig49-list-h));width:100%;min-width:0}.apptPageSection .pageHead,.apptPageSection .pageHead h1{margin-bottom:0}.apptPageSection .pageHead .subtitle{margin-top:6px}.apptPageSection .apptTabsBar{margin-bottom:16px}.apptPageSection.apptPageSectionStretch{flex-direction:column;flex:1;min-height:0;display:flex}.apptPageSection .secScheduleOverviewTopRow{width:100%}.apptPageSection.apptPageSectionStretch .secScheduleOverviewTopRow{flex:1;min-height:0;max-height:none}.apptFig49SubDetail{color:var(--color-text-muted);margin-top:2px;font-size:.82rem;font-weight:600;display:block}.apptCancelConfirmText{margin:0}.apptCancelModalActions{margin-top:0}.modalPanelCancelCompact .modalBody{gap:10px;padding-top:10px;padding-bottom:10px}.apptTopRequestBar{margin-bottom:16px}.apptFig49Stack{flex-direction:column;gap:16px;width:100%;min-width:0;display:flex}.apptFig49TopRow{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px;width:100%;min-width:0;display:grid}.apptFig49TopRow .apptFig49SectionCard{width:100%}.apptFig49SectionCard{box-sizing:border-box;width:100%;min-width:0;height:var(--appt-fig49-card-h);min-height:var(--appt-fig49-card-h);max-height:var(--appt-fig49-card-h);flex-direction:column;padding:16px 18px;display:flex;overflow:hidden}.apptFig49SectionTitle{flex-shrink:0;margin:0;font-size:1rem}.apptFig49SectionHead{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.apptFig49SectionFilter{min-width:132px;max-width:180px;margin-left:auto}.apptFig49RowClickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.apptFig49RowClickable:hover,.apptFig49RowClickable:focus-visible{border-color:var(--color-primary);outline:none;box-shadow:0 4px 14px -8px #2563eb73}.apptCancelModalReason{margin-top:0}.apptDetailCancelBlock{border-top:1px solid var(--color-border);flex-direction:column;align-items:flex-start;gap:10px;margin-top:16px;padding-top:12px;display:flex}.apptFig49SectionEmpty{min-height:var(--appt-fig49-list-h);flex:1;justify-content:center;align-items:center;margin:0;display:flex}.apptFig49List{gap:var(--appt-fig49-gap);min-height:0;max-height:var(--appt-fig49-list-h);overscroll-behavior:contain;box-sizing:border-box;flex-direction:column;flex:1;display:flex;overflow-y:auto}.apptFig49ListSpaced{margin-top:12px}.patientProfileAccountRowSplit .patientProfileAccountValSplit{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.secDashAnnounceItemClickable{cursor:pointer}.secDashAnnounceItemClickable:hover,.secDashAnnounceItemClickable:focus-visible{border-color:var(--color-primary);outline:none}.announcementImageList{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.announcementAttachedImage{object-fit:cover;border:1px solid var(--color-border);border-radius:8px;max-width:120px;max-height:90px}.announcementAttachedImageDetail{object-fit:contain;width:100%;max-width:min(100%,480px);max-height:320px}.announcementImageButton{cursor:zoom-in;background:0 0;border:0;border-radius:8px;padding:0}.announcementImageListDetail{margin-top:12px}.announcementImageLightbox{z-index:1200;background:#0f172ae0;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.announcementImageLightboxImg{object-fit:contain;border-radius:12px;max-width:min(96vw,1200px);max-height:92vh;box-shadow:0 24px 64px #00000059}.announcementImageLightboxClose{color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:999px;width:40px;height:40px;font-size:1.6rem;line-height:1;position:absolute;top:16px;right:20px}.modalPanel.walkInModalPanel{flex-direction:column;max-height:min(90vh,760px);display:flex;overflow:hidden}.modalPanel.walkInModalPanel .modalBody{flex-direction:column;min-height:0;display:flex;overflow:hidden}.walkInModalForm{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}.walkInModalPatientSection{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.doctorDashColumnsSingle{grid-template-columns:1fr!important}.catalogInventoryDateRange{align-items:center;gap:6px;display:flex}.patientMrToolbarStack,.patientOrdToolbarStack{flex-direction:column;gap:6px;margin-bottom:8px;display:flex}.userMgmtPermIdentity{gap:12px;margin-bottom:16px;display:grid}.userMgmtPermIdentityField{flex-direction:column;gap:4px;display:flex}.userMgmtPermIdentityLbl{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.82rem;font-weight:600}.userMgmtPermIdentityVal{color:var(--color-text);font-size:1rem;font-weight:600}.catalogModalFooter{justify-content:space-between;width:100%}.mrDocToolbarStripSpaced{margin-bottom:16px}.mrDocToolbarStripSpaced+.mrDocListCard,.mrDocToolbarStripSpaced+.mrDocListScroll{margin-top:4px}.patientPayFlatList{margin-top:8px}.patientOrdCartFooter,.patientOrdProductsScroll{margin-top:12px}html.loginPageNoScroll,html.loginPageNoScroll body{height:100%;overflow:hidden}.apptFig49Row{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-sizing:border-box;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;min-height:0;padding:12px 16px;display:flex}.apptFig49RowCompact{padding-top:10px;padding-bottom:10px}.apptFig49RowClosed{background:var(--color-surface-muted);opacity:.78}.apptFig49RowClosed .apptFig49VisitType,.apptFig49RowClosed .apptFig49Doctor,.apptFig49RowClosed .apptFig49Reason{-webkit-text-decoration:line-through #94a3b8;text-decoration:line-through #94a3b8}.apptFig49Main{flex-direction:column;flex:auto;gap:6px;min-width:0;display:flex}.apptFig49Title{align-items:center;gap:8px;display:flex}.apptFig49Title .badge,.apptDayListRow .badge{text-transform:none}.apptFig49VisitType{font-size:.98rem}.apptFig49StaffReason{flex-wrap:wrap;align-items:baseline;gap:6px;font-size:.88rem;display:flex}.apptFig49Doctor{color:var(--color-text);font-weight:500}.apptFig49ReasonSep{color:var(--color-text-subtle)}.apptFig49Reason{color:var(--color-text-muted)}.apptFig49Meta{color:var(--color-text-muted);flex-wrap:wrap;gap:14px;font-size:.85rem;display:flex}.apptFig49Meta span{align-items:center;gap:6px;display:inline-flex}.apptFig49Actions{flex-direction:column;flex-shrink:0;align-items:stretch;gap:8px;min-width:120px;display:flex}@media (width<=640px){.apptPageSection{--appt-fig49-row-h:100px;--appt-fig49-card-pad-y:28px}.apptFig49TopRow{grid-template-columns:1fr}.apptFig49Row{flex-direction:column;align-items:stretch}.apptFig49Actions{flex-direction:row}}.patientPayReceiptIframe{aspect-ratio:297/210;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;width:100%;height:auto;min-height:240px;max-height:min(52vh,420px);display:block}.modalPanelLandscape .patientPayReceiptIframe{aspect-ratio:auto;width:100%;height:min(520px,94vh - 148px);min-height:320px;max-height:none}.patientMrAiExtract{border-radius:var(--radius-md);background:#f5f3ff;border:1px solid #c7d2fe;margin-top:14px;padding:12px 14px}.patientMrAiExtractHead{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.patientMrAiExtractHead strong{color:#4338ca;font-size:.92rem}.patientMrAiExtractTag{letter-spacing:.04em;text-transform:uppercase;color:#4338ca;background:#e0e7ff;border-radius:999px;padding:2px 8px;font-size:.7rem;font-weight:700}.patientMrAiExtractBody{white-space:pre-wrap;word-break:break-word;color:#1f2937;margin:0;font-family:inherit;font-size:.86rem;line-height:1.55}.apptScheduleStack{flex-direction:column;gap:16px;display:flex}.apptCalendarCard{flex-direction:column;gap:12px;display:flex}.apptPatientCalGrid{gap:4px;margin-top:4px}.secScheduleOverviewTopRow .apptPatientCalGrid .apptCalCell.staffCalDay{aspect-ratio:unset;background:#fff;border:1px solid #0000;border-radius:10px;min-height:40px;padding:8px 4px;font-size:.85rem;font-weight:600}.secScheduleOverviewTopRow .apptPatientCalGrid .apptCalCell.staffCalDaySelected{background:#fff;border-color:#2563eb;outline:none;box-shadow:0 0 0 1px #2563eb}.secScheduleOverviewTopRow .apptPatientCalGrid .apptCalCellDotMark{width:4px;height:4px;bottom:6px}.apptVisitTypeField{gap:6px;font-size:.82rem;display:grid}.apptDayPanel{min-height:200px}.apptDayPanelStacked{margin-top:0}.apptCalendarToolbar{justify-content:space-between;align-items:center;gap:8px;display:flex}.apptCalendarTitle{font-size:.92rem;font-weight:700}.apptCalendarGrid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.apptCalDow{color:var(--color-text-muted);text-align:center;padding:2px 0;font-size:.62rem;font-weight:600}.apptCalCell{border:1px solid var(--color-border);aspect-ratio:1;background:var(--color-surface);cursor:pointer;min-height:44px;font:inherit;color:var(--color-text);border-radius:6px;justify-content:center;align-items:center;padding:4px;font-size:.92rem;display:flex;position:relative}.apptCalCellDay{line-height:1}.apptCalCellDotMark{background:var(--color-primary);border-radius:50%;width:6px;height:6px;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.apptCalCellEmpty{cursor:default;background:0 0;border:0}.apptCalCellDot{font-weight:700}.apptCalCellSelected{outline:2px solid var(--color-primary);background:var(--color-primary-soft)}.apptCalCellToday{background:#f1f5f9;font-weight:800}.apptCalCellBlocked{opacity:.45;cursor:not-allowed;text-decoration:line-through}.apptCalCellBlockedMark{background:#94a3b8;border-radius:50%;width:6px;height:6px;margin:2px auto 0;display:block}.apptDayList{padding-top:0}.apptDayPanelStacked .apptDayList{border-top:1px solid var(--color-border);padding-top:14px}.apptDayListTitle{color:var(--color-primary);align-items:flex-start;gap:8px;margin:0 0 6px;font-size:.95rem;font-weight:700;display:flex}.apptDayListTitleAccent{font-weight:700}.apptDayListHint{color:var(--color-text-muted);margin:0 0 12px;font-size:.82rem}.apptDayListEmpty{color:var(--color-text-muted);margin:0;font-size:.92rem}.apptDayListUl{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.apptDayListRow{border:1px solid var(--color-border);background:var(--color-surface-elevated,var(--color-surface));border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 12px;display:flex}.apptDayListBody{flex:1;min-width:0}.apptDayListVisitType{font-size:.95rem;display:block}.apptDayListStaffReason{flex-wrap:wrap;align-items:baseline;gap:6px;margin-top:4px;font-size:.88rem;display:flex}.apptDayListStaff{color:var(--color-text);font-weight:500}.apptDayListReasonSep{color:var(--color-text-subtle)}.apptDayListReasonInline{color:var(--color-text-muted)}.apptDayListMeta{color:var(--color-text-muted);flex-wrap:wrap;gap:12px;margin-top:6px;font-size:.8rem;display:flex}.apptRequestCta,.apptListToolbar{justify-content:flex-end;display:flex}.apptListHeading{margin:20px 0 12px}.apptPendingCard{margin-bottom:12px}.apptPendingInner{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.apptPendingMeta{color:var(--color-text-muted);flex-wrap:wrap;gap:16px;margin-top:10px;font-size:.88rem;display:flex}.apptPendingReason{margin:10px 0 0}.apptPendingActions{gap:8px;display:flex}.apptListTableCard{overflow-x:auto}.payModalGrid{gap:12px;display:grid}.payModalAmt{margin:0;font-size:1.35rem;font-weight:800}.payModalMethods{grid-template-columns:1fr 1fr;gap:10px;display:grid}.payModalMethodBtn{border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;font:inherit;text-align:center;border-radius:10px;padding:12px}.payModalMethodBtn:hover{border-color:var(--color-primary)}.bubbleAi{background:var(--color-primary-soft);color:#1e1b4b;border-radius:12px 12px 12px 4px;align-self:flex-start;max-width:82%;padding:10px 12px}.patientMsgTranslateLinks{flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:8px;font-size:.78rem;display:flex}.patientMsgTranslateSep{color:var(--color-text-subtle);-webkit-user-select:none;user-select:none}.patientMsgTranslateLink{color:var(--color-primary);cursor:pointer;font:inherit;font-size:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.patientMsgTranslateLink:hover:not(:disabled){color:var(--color-primary-hover)}.patientMsgTranslateLink:disabled{opacity:.55;cursor:wait}.patientMsgTranslateLink.isActive{color:var(--color-text-muted);cursor:default;font-weight:600;text-decoration:none}.patientMsgEscalateBanner{border-top:1px solid var(--color-border);background:var(--color-primary-soft);color:var(--color-text);padding:12px 14px;font-size:.85rem;line-height:1.45}.patientMsgEscalateBanner strong{color:var(--color-primary-hover);margin-bottom:4px;font-size:.9rem;font-weight:700;display:block}.patientMsgEscalateBanner p{color:var(--color-text-muted);margin:0}.chatbotKnowledgeNote{color:var(--color-text-muted);margin-bottom:16px;padding:14px 18px;font-size:.88rem}.chatbotKnowledgeNote p{margin:0}.chatbotKnowledgeList{flex-direction:column;gap:14px;display:flex}.chatbotKnowledgeItemHead{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.chatbotKnowledgeItemTitle{margin:0;font-size:1.05rem}.chatbotKnowledgeItemMeta{color:var(--color-text-muted);margin:4px 0 0;font-size:.8rem}.chatbotKnowledgeItemActions{flex-wrap:wrap;gap:8px;display:flex}.chatbotKnowledgeItemBody{white-space:pre-wrap;color:var(--color-text-muted);margin:0;font-family:inherit;font-size:.88rem;line-height:1.5}.chatbotKnowledgeItemInactive{opacity:.65}.chatbotKnowledgeModal .fieldLabel{margin-bottom:14px;display:block}.chatbotKnowledgeTextarea{resize:vertical;min-height:200px}.chatbotKnowledgeActiveRow{align-items:center;gap:8px;display:flex}.staffApptDetailGrid{grid-template-columns:1fr 1fr;gap:12px 20px;display:grid}.staffApptDetailGridCell dt{letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin-bottom:4px;font-size:.72rem;font-weight:700}.staffApptDetailGridCell dd{color:#0f172a;margin:0;font-weight:600}.staffApptDetailGridFull{grid-column:1/-1}.staffCalClinicHoursSummaryInline .secClinicHoursHeadLeft{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.staffCalClinicHoursTimeInline,.staffCalSelectedDayStatusTimeInline{color:#475569;font-size:.88rem;font-weight:600}.staffCalSelectedDayStatusBadgeRow{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;display:flex}.refConsultationDlStructured dt,.refConsultationDlInline dt{letter-spacing:.04em;text-transform:uppercase;color:#64748b;font-size:.72rem;font-weight:700}.refConsultationDlInline{grid-template-columns:auto 1fr;align-items:baseline;gap:8px 16px;display:grid}.refConsultationMedicalDocsActions{border-top:1px solid #e2e8f0;margin-top:16px;padding-top:12px}.catalogFilterRowWithActions{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.catalogFilterActions{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.catalogToolbarStatusRow{justify-content:flex-end;margin:-4px 0 8px;display:flex}.catalogFilterFieldCompact{min-width:180px}.catalogModalFooterSplit{justify-content:space-between;gap:12px;width:100%;display:flex}.catalogModalFooterRight{justify-content:flex-end;gap:12px;width:100%;display:flex}.catalogAdminTableFixed{table-layout:fixed;width:100%}.catalogColProduct{width:22%}.catalogColBrand{width:14%}.catalogColCategory{width:16%}.catalogColServiceName{width:34%}.catalogColPrice{width:12%}.catalogColStock{width:8%}.catalogColStatus{width:12%}.catalogColUpdated{width:14%}.catalogColEdit{width:44px}.apptDayListRowClickable{text-align:left;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:0;display:flex}.apptDayListRowClickable:hover{background:#f8fafc}.orderPlacedFinePrint{color:#64748b;margin-top:8px;font-size:.82rem;line-height:1.45}.reportsGridOperationalSplit{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:16px;display:grid}@media (width<=960px){.reportsGridOperationalSplit{grid-template-columns:1fr}}.modalPanelPayInvoiceSticky .modalBody{max-height:min(62vh,560px);overflow-y:auto}.modalPanelPayInvoiceSticky .modalFooter{border-top:1px solid var(--color-border);background:#fff;flex-shrink:0}.payInvoiceModalScroll{padding-bottom:4px}.payInvoiceDiscountLine{color:#475569;justify-content:space-between;gap:12px;font-size:.92rem;display:flex}.payInvoiceModalFooter{justify-content:flex-end;width:100%}.refConsultationMedicalDocsSave{width:100%;margin-top:12px}.refConsultationDoneBtn{min-width:120px}.ordProductListNameRow{flex-wrap:wrap;grid-area:1/1;align-items:baseline;gap:8px;display:flex}.ordProductListItem .ordProductSimpleName{display:inline}.ordProductListItem .ordProductBrand{color:#64748b;font-size:.88rem;font-weight:500;display:inline}.secDashQueueStatusSelect{text-align:center;min-width:4.5rem;padding:4px 8px;font-size:.72rem}
