.sweetalert-backdrop{position:fixed;inset:0;z-index:99999;background:#0a192f9e;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:1rem;animation:sweetalertFadeIn .22s ease-out forwards}.sweetalert-box{background:#fff;border-radius:1.25rem;width:100%;max-width:460px;box-shadow:0 20px 45px -10px #092a5e47,0 0 0 1px #087ebd29;padding:2rem 1.75rem 1.5rem;text-align:center;position:relative;overflow:hidden;animation:sweetalertPop .28s cubic-bezier(.34,1.56,.64,1) forwards}.sweetalert-toast-container{position:fixed;top:1.5rem;right:1.5rem;z-index:99999;display:flex;flex-direction:column;gap:.75rem;max-width:420px;width:calc(100vw - 3rem);pointer-events:none}.sweetalert-toast{pointer-events:auto;background:#fff;border-radius:1rem;box-shadow:0 12px 32px -4px #0a254038,0 0 0 1px #10a9d62e;padding:1.15rem 1.25rem;display:flex;align-items:flex-start;gap:1rem;position:relative;overflow:hidden;animation:sweetalertToastSlideIn .32s cubic-bezier(.16,1,.3,1) forwards;transition:transform .2s ease,box-shadow .2s ease}.sweetalert-toast:hover{transform:translateY(-2px);box-shadow:0 16px 36px -4px #0a254047,0 0 0 1.5px #087ebd}.sweetalert-icon-wrap{width:76px;height:76px;margin:0 auto 1.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}.sweetalert-icon-wrap.success{background:radial-gradient(circle,#e8f9f5,#d1f4ed);color:#0d9488;box-shadow:0 0 0 8px #0d94881f}.sweetalert-icon-wrap.info{background:radial-gradient(circle,#e0f4ff,#cbebff);color:#0284c7;box-shadow:0 0 0 8px #0284c71f}.sweetalert-toast-icon{width:44px;height:44px;border-radius:.75rem;display:flex;align-items:center;justify-content:center;font-size:1.35rem;flex-shrink:0}.sweetalert-toast-icon.success{background:#e6f9f4;color:#0d9488}.sweetalert-toast-icon.nurse{background:#ede9fe;color:#7c3aed}.sweetalert-toast-icon.doctor{background:#e0f2fe;color:#0284c7}.sweetalert-checkmark-svg{width:42px;height:42px;stroke:#0d9488;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;fill:none}.sweetalert-checkmark-path{stroke-dasharray:48;stroke-dashoffset:48;animation:sweetalertCheckmark .45s .15s ease-in-out forwards}.sweetalert-title{font-size:1.35rem;font-weight:700;color:#0a2540;margin:0 0 .5rem;line-height:1.3}.sweetalert-desc{font-size:.935rem;color:#4a5568;line-height:1.5;margin:0 0 1.25rem}.sweetalert-meta-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.85rem;padding:.85rem 1rem;margin-bottom:1.25rem;text-align:left;display:flex;flex-direction:column;gap:.4rem}.sweetalert-meta-row{display:flex;align-items:center;justify-content:space-between;font-size:.825rem}.sweetalert-meta-label{color:#64748b;font-weight:500}.sweetalert-meta-value{color:#0f172a;font-weight:600}.sweetalert-meta-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:9999px;font-size:.725rem;font-weight:700;letter-spacing:.02em}.sweetalert-meta-badge.online{background:#dcfce7;color:#15803d}.sweetalert-meta-badge.offline{background:#f1f5f9;color:#64748b}.sweetalert-meta-badge.nurse{background:#f3e8ff;color:#6b21a8}.sweetalert-toast-body{flex:1;min-width:0}.sweetalert-toast-title{font-size:.95rem;font-weight:700;color:#0f172a;margin:0 0 .25rem;line-height:1.3}.sweetalert-toast-desc{font-size:.825rem;color:#475569;margin:0 0 .65rem;line-height:1.45;word-break:break-word}.sweetalert-toast-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.sweetalert-action-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border-radius:.5rem;font-size:.775rem;font-weight:600;border:none;cursor:pointer;transition:all .15s ease;text-decoration:none}.sweetalert-action-btn.primary{background:linear-gradient(135deg,#0d9488,#087ebd);color:#fff}.sweetalert-action-btn.primary:hover{filter:brightness(1.08)}.sweetalert-action-btn.secondary{background:#f1f5f9;color:#475569}.sweetalert-action-btn.secondary:hover{background:#e2e8f0;color:#1e293b}.sweetalert-buttons{display:flex;gap:.75rem;justify-content:center}.sweetalert-btn-confirm{background:linear-gradient(135deg,#0d9488,#087ebd);color:#fff;font-weight:600;font-size:.925rem;padding:.7rem 1.75rem;border-radius:.65rem;border:none;cursor:pointer;box-shadow:0 4px 14px #0d948859;transition:all .18s ease}.sweetalert-btn-confirm:hover{transform:translateY(-1px);box-shadow:0 6px 18px #0d948873}.sweetalert-btn-close{position:absolute;top:.85rem;right:.85rem;background:none;border:none;color:#94a3b8;cursor:pointer;font-size:1.15rem;padding:.35rem;border-radius:.375rem;line-height:1;transition:color .15s ease}.sweetalert-btn-close:hover{color:#1e293b}.sweetalert-progress-bar{position:absolute;bottom:0;left:0;height:3px;background:linear-gradient(90deg,#0d9488,#087ebd);width:100%;transform-origin:left;animation:sweetalertProgress linear forwards}@keyframes sweetalertFadeIn{0%{opacity:0}to{opacity:1}}@keyframes sweetalertPop{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@keyframes sweetalertToastSlideIn{0%{opacity:0;transform:translate(30px) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes sweetalertCheckmark{0%{stroke-dashoffset:48}to{stroke-dashoffset:0}}@keyframes sweetalertProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.cavendish-swal-popup{border-radius:1.25rem!important;padding:1.75rem 1.5rem!important;border:1.5px solid #d4af37!important;box-shadow:0 20px 40px -10px #0c4a6040,0 0 0 1px #0c4a6014!important;font-family:inherit!important}.cavendish-swal-title{color:#0c4a60!important;font-size:1.35rem!important;font-weight:700!important}.cavendish-swal-text{color:#334155!important;font-size:.95rem!important;line-height:1.5!important}:root[data-theme=dark] .swal2-popup.cavendish-swal-popup,body.dark-theme .swal2-popup.cavendish-swal-popup{background:#111827!important}:root[data-theme=dark] .cavendish-swal-title,body.dark-theme .cavendish-swal-title{color:#f8fafc!important}:root[data-theme=dark] .cavendish-swal-text,body.dark-theme .cavendish-swal-text{color:#cbd5e1!important}.cavendish-swal-confirm{background:#0c4a60!important;color:#fff!important;font-weight:600!important;border-radius:8px!important;padding:.65rem 1.4rem!important;border:1px solid #0c4a60!important;margin:.35rem!important;transition:all .2s ease!important}.cavendish-swal-confirm:hover{background:#083344!important;box-shadow:0 4px 12px #0c4a604d!important}.cavendish-swal-confirm.cavendish-swal-danger{background:#dc2626!important;border-color:#dc2626!important}.cavendish-swal-confirm.cavendish-swal-danger:hover{background:#b91c1c!important;border-color:#b91c1c!important}.cavendish-swal-cancel{background:#f1f5f9!important;color:#475569!important;font-weight:600!important;border-radius:8px!important;padding:.65rem 1.4rem!important;border:1px solid #cbd5e1!important;margin:.35rem!important;transition:all .2s ease!important}.cavendish-swal-cancel:hover{background:#e2e8f0!important;color:#1e293b!important}:root{color-scheme:dark;font-family:var(--font-sans);--cavendish-navy: #092a5e;--cavendish-navy-dark: #051a3b;--cavendish-navy-light: #103b7a;--cavendish-blue: #087ebd;--cavendish-bright-blue: #10a9d6;--cavendish-bg: #f4f7fa;--cavendish-white: #ffffff;--cavendish-emergency: #d95763;--cavendish-emergency-bg: rgba(217, 87, 99, .12);--cavendish-emergency-border: rgba(217, 87, 99, .32);--font-serif: "DM Serif Display", "Playfair Display", Georgia, serif;--font-sans: "Inter", "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--app-bg: #071522;--sidebar-bg: #0b2038;--surface: rgba(17, 47, 76, .88);--surface-strong: #112f4c;--surface-hover: rgba(61, 194, 221, .15);--surface-subtle: #0b223d;--card-bg: #0e2946;--text: #e2e8f0;--text-strong: #ffffff;--text-color: #f8fbff;--muted: #94a3b8;--border: rgba(94, 191, 219, .24);--border-color: rgba(94, 191, 219, .24);--bg-hover: #163a5f;--primary: #087ebd;--primary-hover: #076ea6;--accent: #10a9d6;--success: #10b981;--danger: #ef4444;--warning: #f59e0b;--shadow-sm: 0 4px 12px rgba(5, 26, 59, .12);--shadow-md: 0 12px 28px rgba(5, 26, 59, .22);--shadow-lg: 0 24px 70px rgba(3, 14, 32, .42);background:var(--app-bg);color:var(--text)}:root[data-theme=light],body.light-theme{color-scheme:light;--app-bg: #f4f7fa;--sidebar-bg: #092a5e;--surface: #ffffff;--surface-strong: #ffffff;--surface-hover: rgba(8, 126, 189, .08);--surface-subtle: #f8fafc;--card-bg: #ffffff;--text: #1e293b;--text-strong: #092a5e;--text-color: #0f172a;--muted: #64748b;--border: rgba(9, 42, 94, .12);--border-color: #e2e8f0;--bg-hover: #f1f5f9;--primary: #087ebd;--primary-hover: #076ea6;--accent: #0284c7;--success: #059669;--danger: #dc2626;--warning: #d97706;--shadow-sm: 0 2px 8px rgba(9, 42, 94, .06);--shadow-md: 0 8px 24px rgba(9, 42, 94, .08);--shadow-lg: 0 20px 55px rgba(9, 42, 94, .12)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{width:100%;max-width:100%;min-width:0;overflow-x:hidden;touch-action:pan-y}body{margin:0;min-height:100vh;min-height:100dvh;background:var(--app-bg);color:var(--text);overscroll-behavior-y:auto}html.theme-transitioning,html.theme-transitioning body,html.theme-transitioning #root,html.theme-transitioning *{transition-property:background-color,border-color,color,box-shadow,fill,stroke;transition-duration:.42s;transition-timing-function:cubic-bezier(.22,1,.36,1)}.cav-theme-toggle svg,.theme-toggle svg{animation:themeIconReveal .26s ease both}.cav-theme-toggle,.theme-toggle{position:relative;isolation:isolate}.cav-theme-toggle:after,.theme-toggle:after{content:"";position:absolute;inset:-5px;z-index:-1;border:2px solid currentColor;border-radius:inherit;opacity:0;pointer-events:none}html.theme-transitioning .cav-theme-toggle,html.theme-transitioning .theme-toggle{animation:themeTogglePop .42s cubic-bezier(.16,1,.3,1) both}html.theme-transitioning .cav-theme-toggle:after,html.theme-transitioning .theme-toggle:after{animation:themeToggleRing .42s ease-out both}html.theme-transitioning .cav-theme-toggle svg,html.theme-transitioning .theme-toggle svg{animation:themeIconSwap .42s cubic-bezier(.16,1,.3,1) both}@keyframes themeIconReveal{0%{opacity:0;transform:rotate(-28deg) scale(.72)}to{opacity:1;transform:rotate(0) scale(1)}}@keyframes themeTogglePop{0%{transform:scale(1) rotate(0)}45%{transform:scale(.84) rotate(-12deg)}78%{transform:scale(1.1) rotate(8deg)}to{transform:scale(1) rotate(0)}}@keyframes themeToggleRing{0%{opacity:.6;transform:scale(.68)}to{opacity:0;transform:scale(1.42)}}@keyframes themeIconSwap{0%{opacity:0;transform:rotate(-110deg) scale(.55)}65%{opacity:1;transform:rotate(12deg) scale(1.16)}to{opacity:1;transform:rotate(0) scale(1)}}@media (prefers-reduced-motion: reduce){html.theme-transitioning,html.theme-transitioning body,html.theme-transitioning #root,html.theme-transitioning *{transition-duration:0ms!important}.cav-theme-toggle svg,.theme-toggle svg{animation:none}html.theme-transitioning .cav-theme-toggle,html.theme-transitioning .theme-toggle,html.theme-transitioning .cav-theme-toggle:after,html.theme-transitioning .theme-toggle:after,html.theme-transitioning .cav-theme-toggle svg,html.theme-transitioning .theme-toggle svg{animation:none!important}}@media (max-width: 760px){.page-content img,.page-container img,.dashboard-page img{max-width:100%;height:auto}.page-content form,.page-content fieldset,.page-content [class*=form-grid],.page-content [class*=filter-grid],.page-content [class*=details-grid]{max-width:100%;min-width:0}.page-content button,.page-content a[role=button],.page-content .button,.page-content .button-secondary,.page-content .icon-text-btn{min-height:44px}.modal,.modal-content,[class*=modal-card],[class*=dialog-card]{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}}button,input,select,textarea{font:inherit;min-width:0;max-width:100%}button,a,select{touch-action:manipulation}img,svg,canvas,video{max-width:100%}button{min-height:40px}.app-shell{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:24px;background:transparent}.page-container{width:min(1180px,100%);margin:24px auto;min-width:0}.nav-bar{width:min(1180px,calc(100% - 48px));margin:0 auto 8px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 14px;border:1px solid rgba(125,211,252,.18);border-radius:18px;background:#07111fd1;box-shadow:0 18px 40px #00000040}.nav-brand{font-size:.95rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#f8fafc}.nav-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nav-links a,.quick-actions a{color:#cbd5e1;text-decoration:none}.nav-links a{padding:9px 11px;border-radius:10px;font-size:.88rem}.nav-links a:hover,.quick-actions a:hover{color:#fff;background:#3b82f638}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat-card{min-height:132px;display:grid;align-content:space-between;gap:10px;background:#0f1f36e0;border:1px solid rgba(125,211,252,.12);border-radius:8px;padding:18px}.stat-card h2,.stat-card .stat-label{margin:0;font-size:.86rem;color:#a7bdd6}.stat-card strong{color:#fff;font-size:1.72rem;line-height:1.1}.stat-card small{color:#62e6c6}.stat-card.warning small,.stat-card.warning strong{color:#fb7185}.card{border:1px solid rgba(125,211,252,.16);border-radius:8px;background:#081323eb;padding:32px;box-shadow:0 20px 45px #00000047}.card h1{margin-top:0;margin-bottom:16px;font-size:1.75rem}label{display:grid;gap:8px;margin-bottom:18px;font-size:.95rem}input,select,textarea{width:100%;padding:14px 16px;border:1px solid rgba(148,163,184,.28);border-radius:8px;outline:none;color:#e5edf8;background:#02081794}input:focus,select:focus,textarea:focus{border-color:#38bdf8;box-shadow:0 0 0 4px #38bdf81f}.button{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:14px 16px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600}.button-secondary{background:#94a3b829;border:1px solid rgba(148,163,184,.18);color:#e5edf8}.button:disabled{opacity:.65;cursor:not-allowed}.error-text{color:#fca5a5;font-size:.85rem}.success-text{color:#86efac}.info-block{margin:16px 0;padding:16px;border-radius:8px;background:#0f1f36b3;border:1px solid rgba(125,211,252,.12)}code{display:block;padding:14px;white-space:pre-wrap;word-break:break-word;border-radius:8px;background:#0208179e}.tester-grid{display:grid;grid-template-columns:minmax(320px,1fr) minmax(280px,1fr);gap:24px}.tester-panel,.tester-output{display:flex;flex-direction:column;gap:16px}.tester-actions{display:flex;gap:12px}.tester-actions .button-secondary{background:#94a3b829;color:#e5edf8}.tester-textarea{min-height:120px;resize:vertical}.preset-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.preset-button{border:1px solid rgba(125,211,252,.18);background:#02081773;color:#dbeafe;padding:8px 10px;border-radius:8px;cursor:pointer}pre{margin:0;white-space:pre-wrap;word-break:break-word}.dashboard-page{display:grid;gap:18px}.dashboard-hero,.dashboard-layout,.feature-panel,.quick-panel{border:1px solid rgba(125,211,252,.16);border-radius:8px;background:#081323c7;box-shadow:0 18px 44px #0000003d}.dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px}.dashboard-hero h1{margin:4px 0 8px;font-size:clamp(2rem,4vw,4.4rem);line-height:.95;color:#fff}.dashboard-hero p{max-width:680px;color:#cbd5e1}.eyebrow{margin:0;color:#38bdf8;font-weight:800;text-transform:uppercase;font-size:.78rem}.system-status,.mini-status{display:grid;gap:6px;min-width:150px;padding:16px;border-radius:8px;background:#10b9811a;border:1px solid rgba(52,211,153,.2)}.system-status strong,.mini-status strong{color:#6ee7b7;font-size:1.35rem}.system-status span,.system-status small,.mini-status span{color:#a7bdd6}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;padding:18px}.dashboard-main{display:grid;gap:18px}.panel-title{display:flex;justify-content:space-between;align-items:end;gap:16px}.panel-title h2,.quick-panel h2{margin:0;color:#f8fafc}.panel-title p,.quick-panel p{margin:6px 0 0;color:#94a3b8}.feature-panel,.quick-panel{padding:18px}.role-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin-top:16px}.role-tile{min-height:96px;display:grid;place-items:center;gap:8px;padding:12px;border:1px solid rgba(125,211,252,.12);border-radius:8px;background:#0f1f36d1;text-align:center}.role-tile span{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,#22d3ee,#7c3aed);color:#fff;font-size:.75rem;font-weight:800}.quick-panel{align-self:start;display:grid;gap:16px}.quick-actions{display:grid;gap:10px}.quick-actions a{padding:12px;border-radius:8px;background:#0f1f36db;border:1px solid rgba(125,211,252,.12)}.table-responsive{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table{width:100%;min-width:680px;border-collapse:collapse}.table th,.table td{padding:14px 12px;border-bottom:1px solid rgba(148,163,184,.14);text-align:left}.table th{color:#93c5fd;font-size:.8rem;text-transform:uppercase}@media (max-width: 980px){.dashboard-layout{grid-template-columns:1fr}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.role-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 680px){.page-container{margin:10px auto}.app-shell{padding:14px}.nav-bar,.dashboard-hero,.page-header,.panel-title{align-items:stretch;flex-direction:column}.nav-bar{width:100%;max-width:100%}.nav-links{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.nav-links a{min-width:0;text-align:center}.dashboard-grid,.role-grid,.tester-grid{grid-template-columns:1fr}.card,.dashboard-hero,.dashboard-layout{padding:18px}.page-container{width:100%;margin:0}.page-header{margin-bottom:16px}.page-header h1,.card h1{font-size:1.45rem}.tester-grid{gap:16px}.tester-actions{flex-direction:column}.preset-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.preset-button,.tester-actions .button,.tester-actions .button-secondary{min-height:44px}input,select,textarea{font-size:16px;min-height:46px}.patient-table-wrapper{overflow:visible}.patient-table,.patient-table thead,.patient-table tbody,.patient-table tr,.patient-table td{display:block;width:100%}.patient-table thead{display:none}.patient-table tr{margin-bottom:12px;padding:12px;border:1px solid rgba(148,163,184,.16);border-radius:8px;background:#0f1f36ad}.patient-table td{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid rgba(148,163,184,.1);white-space:normal}.patient-table td:last-child{border-bottom:0}.patient-table td:before{content:attr(data-label);color:var(--muted);font-size:.74rem;font-weight:900;text-transform:uppercase}.patient-table .patient-row-actions{min-width:0}.patient-table .patient-row-actions .icon-text-btn{flex:1 1 112px;min-width:0}}@media (max-width: 520px){.page-content,.page-container,.dashboard-page,.patient-page,.registration-page,.appointments-page,.doctor-page,.laboratory-page,.pharmacy-page,.inventory-page,.billing-page,.security-page,.setup-page,.rbac-page,.doctor-admin-page{width:100%;max-width:100%;min-width:0}.command-btn,.button,.button-secondary,.icon-text-btn,.setup-actions button,.doctor-action-row button,.patient-row-actions button,.patient-row-actions a{min-width:0;white-space:normal;overflow-wrap:anywhere}.command-actions,.setup-actions,.doctor-action-row,.patient-row-actions,.registration-hero-actions,.tester-actions{display:flex;flex-wrap:wrap;width:100%;min-width:0;gap:8px}.command-actions>*,.setup-actions>*,.doctor-action-row>*,.patient-row-actions>*,.registration-hero-actions>*,.tester-actions>*{flex:1 1 132px}[class*=grid],[class*=panel],[class*=card],form,fieldset{min-width:0}input,select,textarea{width:100%;max-width:100%}}@media (max-width: 360px){.page-content{padding-inline:10px}.command-btn,.button,.button-secondary,.icon-text-btn{padding-inline:10px;font-size:.88rem}.mobile-bottom-nav{gap:4px}.mobile-nav-item{min-width:58px;padding-inline:6px}}@media (max-width: 760px){html,body,#root{min-width:0;max-width:100%;overflow-x:clip}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.loader-wrapper{display:grid;place-items:center;padding:40px 20px;width:100%}.loader-mark{display:flex;flex-direction:column;align-items:center;gap:16px}.loader-ring-wrapper{position:relative;width:80px;height:80px;display:grid;place-items:center}.loader-ring{position:absolute;inset:0;border:2.5px solid rgba(16,169,214,.18);border-top-color:#10a9d6;border-right-color:#087ebd;border-radius:50%;animation:cavendishLoaderSpin .9s cubic-bezier(.55,.15,.45,.85) infinite;box-shadow:0 0 24px #10a9d633}.loader-logo-img{object-fit:contain;border-radius:10px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.25));animation:cavendishLoaderPulse 2s ease-in-out infinite;user-select:none}.loader-caption{color:var(--muted, #8ea5c4);font-size:.85rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.loader-sm .loader-ring-wrapper{width:54px;height:54px}.loader-sm .loader-ring{border-width:2px}.loader-lg .loader-ring-wrapper{width:110px;height:110px}@keyframes cavendishLoaderSpin{to{transform:rotate(360deg)}}@keyframes cavendishLoaderPulse{0%,to{transform:scale(1);opacity:.92}50%{transform:scale(1.06);opacity:1}}.access-denied-notice{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding:12px 14px;border:1px solid rgba(217,119,6,.35);border-radius:12px;background:color-mix(in srgb,#f59e0b 12%,var(--surface));color:var(--text-strong);box-shadow:var(--shadow-sm)}.access-denied-notice>svg{flex:0 0 auto;color:#d97706}.access-denied-notice span{flex:1}.access-denied-notice button{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;padding:0;border:0;border-radius:9px;background:transparent;color:inherit;cursor:pointer}.route-error-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,rgba(14,165,233,.16),transparent 42%),var(--bg)}.route-error-card{width:min(560px,100%);padding:clamp(24px,5vw,42px);border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--text);box-shadow:var(--shadow-lg)}.route-error-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#f59e0b24;color:#d97706;font-size:1.6rem}.route-error-kicker{margin:22px 0 4px;color:var(--accent);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.route-error-card h1{margin:0;color:var(--text-strong);font-size:clamp(1.65rem,5vw,2.35rem)}.route-error-card>p:not(.route-error-kicker){margin:12px 0 0;color:var(--muted);line-height:1.65}.route-error-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.route-error-actions button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid var(--accent);border-radius:11px;background:var(--accent);color:#fff;font:inherit;font-weight:750;cursor:pointer}.route-error-actions button.secondary{border-color:var(--border);background:transparent;color:var(--text-strong)}@media (max-width: 560px){.route-error-actions,.route-error-actions button{width:100%}}.cavendish-swal-popup{border-radius:18px!important;padding:24px!important;box-shadow:0 20px 48px #092a5e38!important;border:1px solid rgba(16,169,214,.25)!important;font-family:var(--font-sans, system-ui, sans-serif)!important}.cavendish-swal-title{font-family:var(--font-sans, system-ui, sans-serif)!important;font-size:1.35rem!important;font-weight:700!important;color:#0c4a60!important}.cavendish-swal-confirm-btn{background:linear-gradient(135deg,#0c4a60,#10a9d6)!important;border-radius:10px!important;font-weight:600!important;padding:10px 22px!important;box-shadow:0 4px 14px #10a9d64d!important}.cavendish-swal-cancel-btn{border-radius:10px!important;font-weight:600!important;padding:10px 22px!important}:root{--field-bg: #0b223d;--field-bg-strong: #07192f;--field-text: #f8fbff;--field-placeholder: #8ea5c4;--field-border: rgba(94, 191, 219, .32);--field-focus: rgba(16, 169, 214, .8);--readable-surface: #0e2946;--readable-surface-soft: #0b223d;--readable-surface-subtle: #081a2f;--readable-text: #dbe7f6;--readable-strong: #ffffff;--readable-muted: #8ea5c4;--readable-border: rgba(94, 191, 219, .22)}:root[data-theme=light],body.light-theme{--field-bg: #ffffff;--field-bg-strong: #f8fafc;--field-text: #092a5e;--field-placeholder: #64748b;--field-border: rgba(9, 42, 94, .18);--field-focus: rgba(8, 126, 189, .7);--readable-surface: #ffffff;--readable-surface-soft: #f8fafc;--readable-surface-subtle: #f1f5f9;--readable-text: #334155;--readable-strong: #092a5e;--readable-muted: #64748b;--readable-border: rgba(9, 42, 94, .14)}body,.admin-layout,.landing-page,.service-page,.login-page,.verification-page{color:var(--readable-text);text-rendering:optimizeLegibility}.admin-layout h1,.admin-layout h2,.admin-layout h3,.admin-layout h4,.admin-layout h5,.admin-layout h6,.admin-layout strong,.admin-layout b,.verification-page h1,.verification-page h2,.verification-page h3,.verification-page h4,.verification-page strong{color:var(--readable-strong)}.admin-layout p,.admin-layout span,.admin-layout li,.admin-layout label,.verification-page p,.verification-page span{color:inherit}.admin-layout .muted,.admin-layout .muted-text,.admin-layout small,.admin-layout .eyebrow+p,.verification-page small{color:var(--readable-muted)}input,select,textarea,.admin-layout input,.admin-layout select,.admin-layout textarea,.landing-page input,.landing-page select,.landing-page textarea,.service-page input,.service-page select,.service-page textarea,.login-page input,.login-page select,.login-page textarea{border:1px solid var(--field-border)!important;background-color:var(--field-bg)!important;color:var(--field-text)!important;caret-color:var(--primary, #087ebd);border-radius:8px;font-family:inherit;transition:border-color .2s ease,box-shadow .2s ease}input::placeholder,textarea::placeholder,.admin-layout input::placeholder,.admin-layout textarea::placeholder{color:var(--field-placeholder)!important;opacity:1}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--field-focus)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--field-focus) 25%,transparent)!important}select option,select optgroup{background:var(--field-bg-strong);color:var(--field-text)}.card,.dashboard-card,.dashboard-panel,.setup-card,.setup-list-panel,.setup-form,.doctor-panel,.nurse-panel,.frontdesk-panel,.billing-card,.inventory-card,.security-card,.modal-content,.notification-panel,.lab-desk-metric-card,.pharmacy-metric-card,.lab-request-item-card,.laboratory-request-card,.lab-request-card,.lab-workspace-card,.lab-analyte-card,.pharmacy-med-card,.pharmacy-cart-dock,.pharmacy-cart-item-card,.lab-result-field-card,.lab-result-demographics-banner,.stat-card,.table-card,.role-card,.user-card,.doctor-card,.ward-card,.bed-card{background-color:var(--readable-surface);color:var(--readable-text);border:1px solid var(--readable-border)}:root[data-theme=light] .admin-layout .dashboard-panel,:root[data-theme=light] .admin-layout .stat-card,:root[data-theme=light] .admin-layout .setup-card,:root[data-theme=light] .admin-layout .setup-list-panel,:root[data-theme=light] .admin-layout .setup-form,:root[data-theme=light] .admin-layout .lab-desk-metric-card,:root[data-theme=light] .admin-layout .pharmacy-metric-card,:root[data-theme=light] .admin-layout .lab-request-item-card,:root[data-theme=light] .admin-layout .lab-request-card,:root[data-theme=light] .admin-layout .lab-workspace-card,:root[data-theme=light] .admin-layout .lab-analyte-card,:root[data-theme=light] .admin-layout .pharmacy-med-card,:root[data-theme=light] .admin-layout .pharmacy-cart-dock,:root[data-theme=light] .admin-layout .lab-result-field-card,:root[data-theme=light] .admin-layout .role-card,:root[data-theme=light] .admin-layout .user-card,body.light-theme .admin-layout .dashboard-panel,body.light-theme .admin-layout .stat-card,body.light-theme .admin-layout .setup-card,body.light-theme .admin-layout .setup-list-panel,body.light-theme .admin-layout .setup-form,body.light-theme .admin-layout .lab-desk-metric-card,body.light-theme .admin-layout .pharmacy-metric-card,body.light-theme .admin-layout .lab-request-item-card,body.light-theme .admin-layout .lab-request-card,body.light-theme .admin-layout .lab-workspace-card,body.light-theme .admin-layout .lab-analyte-card,body.light-theme .admin-layout .pharmacy-med-card,body.light-theme .admin-layout .pharmacy-cart-dock,body.light-theme .admin-layout .lab-result-field-card,body.light-theme .admin-layout .role-card,body.light-theme .admin-layout .user-card{background:#fff;color:#334155;border-color:#092a5e1f;box-shadow:0 4px 14px #092a5e0d}:root[data-theme=light] .admin-layout .dashboard-panel h1,:root[data-theme=light] .admin-layout .dashboard-panel h2,:root[data-theme=light] .admin-layout .dashboard-panel h3,:root[data-theme=light] .admin-layout .stat-card h2,:root[data-theme=light] .admin-layout .lab-desk-metric-content strong,:root[data-theme=light] .admin-layout .pharmacy-metric-content strong,:root[data-theme=light] .admin-layout .lab-request-card-title strong,:root[data-theme=light] .admin-layout .pharmacy-med-name,:root[data-theme=light] .admin-layout .pharmacy-cart-header h2,:root[data-theme=light] .admin-layout .setup-form h2,:root[data-theme=light] .admin-layout .panel-title h2,body.light-theme .admin-layout .dashboard-panel h1,body.light-theme .admin-layout .dashboard-panel h2,body.light-theme .admin-layout .dashboard-panel h3,body.light-theme .admin-layout .stat-card h2,body.light-theme .admin-layout .lab-desk-metric-content strong,body.light-theme .admin-layout .pharmacy-metric-content strong,body.light-theme .admin-layout .lab-request-card-title strong,body.light-theme .admin-layout .pharmacy-med-name,body.light-theme .admin-layout .pharmacy-cart-header h2,body.light-theme .admin-layout .setup-form h2,body.light-theme .admin-layout .panel-title h2{color:#092a5e!important}:root[data-theme=light] .admin-layout .stat-card p,:root[data-theme=light] .admin-layout .lab-desk-metric-content span,:root[data-theme=light] .admin-layout .pharmacy-metric-content span,:root[data-theme=light] .admin-layout .pharmacy-med-sub,:root[data-theme=light] .admin-layout .meta,body.light-theme .admin-layout .stat-card p,body.light-theme .admin-layout .lab-desk-metric-content span,body.light-theme .admin-layout .pharmacy-metric-content span,body.light-theme .admin-layout .pharmacy-med-sub,body.light-theme .admin-layout .meta{color:#64748b!important}:root[data-theme=light] .lab-desk-hero,:root[data-theme=light] .pharmacy-hero,:root[data-theme=light] .workspace-hero,:root[data-theme=light] .setup-hero,body.light-theme .lab-desk-hero,body.light-theme .pharmacy-hero,body.light-theme .workspace-hero,body.light-theme .setup-hero{background:linear-gradient(135deg,#087ebd14,#092a5e0d);border-color:#092a5e24}:root[data-theme=light] .lab-desk-title-group h1,:root[data-theme=light] .pharmacy-hero-title h1,:root[data-theme=light] .workspace-hero h1,:root[data-theme=light] .setup-hero h1,body.light-theme .lab-desk-title-group h1,body.light-theme .pharmacy-hero-title h1,body.light-theme .workspace-hero h1,body.light-theme .setup-hero h1{color:#092a5e!important}:root[data-theme=light] .lab-desk-title-group p,:root[data-theme=light] .pharmacy-hero-title p,:root[data-theme=light] .workspace-hero p,:root[data-theme=light] .setup-hero p,body.light-theme .lab-desk-title-group p,body.light-theme .pharmacy-hero-title p,body.light-theme .workspace-hero p,body.light-theme .setup-hero p{color:#475569!important}:root[data-theme=light] .lab-desk-tab-pill,:root[data-theme=light] .pharmacy-category-chip,:root[data-theme=light] .lab-patient-mode-btn,:root[data-theme=light] .pharmacy-payment-method-btn,:root[data-theme=light] .filter-chip,body.light-theme .lab-desk-tab-pill,body.light-theme .pharmacy-category-chip,body.light-theme .lab-patient-mode-btn,body.light-theme .pharmacy-payment-method-btn,body.light-theme .filter-chip{background:#fff;color:#475569;border-color:#092a5e29}:root[data-theme=light] .lab-desk-tab-pill:hover,:root[data-theme=light] .pharmacy-category-chip:hover,:root[data-theme=light] .lab-patient-mode-btn:hover,:root[data-theme=light] .pharmacy-payment-method-btn:hover,body.light-theme .lab-desk-tab-pill:hover,body.light-theme .pharmacy-category-chip:hover,body.light-theme .lab-patient-mode-btn:hover,body.light-theme .pharmacy-payment-method-btn:hover{background:#f1f5f9;color:#092a5e;border-color:#087ebd}:root[data-theme=light] .lab-desk-tab-pill.active,:root[data-theme=light] .pharmacy-category-chip.active,:root[data-theme=light] .pharmacy-payment-method-btn.active,body.light-theme .lab-desk-tab-pill.active,body.light-theme .pharmacy-category-chip.active,body.light-theme .pharmacy-payment-method-btn.active{background:#087ebd;color:#fff;border-color:#087ebd}:root[data-theme=light] .lab-patient-mode-segmented,body.light-theme .lab-patient-mode-segmented{background:#e2e8f0;border-color:#092a5e1f}:root[data-theme=light] .lab-patient-mode-btn.active,body.light-theme .lab-patient-mode-btn.active{background:#fff;color:#092a5e;box-shadow:0 1px 4px #0000001a}.lab-btn-primary,.registration-submit,.workspace-button.primary{background:#087ebd;color:#fff!important;border:1px solid #087ebd;font-weight:700;box-shadow:0 2px 8px #087ebd40}.lab-btn-primary:hover,.registration-submit:hover,.workspace-button.primary:hover{background:#076ea6;border-color:#076ea6}:root[data-theme=light] .lab-btn-secondary,:root[data-theme=light] .icon-text-btn,:root[data-theme=light] .workspace-button.secondary,body.light-theme .lab-btn-secondary,body.light-theme .icon-text-btn,body.light-theme .workspace-button.secondary{background:#fff;color:#092a5e;border-color:#092a5e33}:root[data-theme=light] .lab-btn-secondary:hover,:root[data-theme=light] .icon-text-btn:hover,:root[data-theme=light] .workspace-button.secondary:hover,body.light-theme .lab-btn-secondary:hover,body.light-theme .icon-text-btn:hover,body.light-theme .workspace-button.secondary:hover{background:#f1f5f9;border-color:#087ebd;color:#087ebd}table{width:100%;border-collapse:collapse;color:var(--readable-text)}th{color:var(--readable-muted);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.75rem 1rem;border-bottom:1px solid var(--readable-border)}td{padding:.85rem 1rem;border-bottom:1px solid var(--readable-border);color:var(--readable-text)}tr:hover td{background:var(--surface-hover)}:root[data-theme=light] th,body.light-theme th{color:#475569;background:#f8fafc}:root[data-theme=light] td,body.light-theme td{color:#1e293b}.laboratory-status-badge.pending,.pharmacy-med-stock-pill.low{background:#f59e0b26;color:#d97706!important;border:1px solid rgba(245,158,11,.35);font-weight:700}.laboratory-status-badge.completed,.laboratory-status-badge.paid,.pharmacy-med-stock-pill.ok{background:#10b98126;color:#059669!important;border:1px solid rgba(16,185,129,.35);font-weight:700}.laboratory-status-badge.cancelled,.pharmacy-med-stock-pill.out{background:#ef444426;color:#dc2626!important;border:1px solid rgba(239,68,68,.35);font-weight:700}.laboratory-status-badge.sample_collected,.laboratory-status-badge.in_progress{background:#087ebd26;color:#087ebd!important;border:1px solid rgba(8,126,189,.35);font-weight:700}.patient-search-popover,.patient-picker-popover{background:var(--readable-surface)!important;border:1px solid var(--readable-border)!important;box-shadow:var(--shadow-lg)!important}.patient-option-item{color:var(--readable-text);border-bottom:1px solid var(--readable-border)}.patient-option-item strong{color:var(--readable-strong)}.patient-option-item:hover{background:var(--surface-hover)}:root[data-theme=light] .patient-search-popover,:root[data-theme=light] .patient-picker-popover,body.light-theme .patient-search-popover,body.light-theme .patient-picker-popover{background:#fff!important;border-color:#092a5e29!important}:root[data-theme=light] .patient-option-item:hover,body.light-theme .patient-option-item:hover{background:#f1f5f9}:root[data-theme=light] .pharmacy-cart-item-card,body.light-theme .pharmacy-cart-item-card{background:#f8fafc!important;border-color:#092a5e24!important}:root[data-theme=light] .pharmacy-cart-item-title strong,:root[data-theme=light] .pharmacy-cart-item-name,body.light-theme .pharmacy-cart-item-title strong,body.light-theme .pharmacy-cart-item-name{color:#092a5e!important;font-weight:850!important}:root[data-theme=light] .pharmacy-cart-item-title span,:root[data-theme=light] .pharmacy-cart-item-spec,body.light-theme .pharmacy-cart-item-title span,body.light-theme .pharmacy-cart-item-spec{color:#475569!important}:root[data-theme=light] .pharmacy-cart-item-price,body.light-theme .pharmacy-cart-item-price{color:#087ebd!important}:root[data-theme=light] .pharmacy-qty-stepper,body.light-theme .pharmacy-qty-stepper{background:#fff!important;border-color:#092a5e33!important}:root[data-theme=light] .pharmacy-qty-stepper input,body.light-theme .pharmacy-qty-stepper input{background:#fff!important;color:#092a5e!important}:root[data-theme=light] .pharmacy-cart-item-instructions,body.light-theme .pharmacy-cart-item-instructions{background:#fff!important;border-color:#092a5e29!important;color:#0f172a!important}:root[data-theme=dark] .pharmacy-cart-item-card,body.dark-theme .pharmacy-cart-item-card{background:#0d213c!important;border-color:#1e3a5f!important}:root[data-theme=dark] .pharmacy-cart-item-title strong,:root[data-theme=dark] .pharmacy-cart-item-name,body.dark-theme .pharmacy-cart-item-title strong,body.dark-theme .pharmacy-cart-item-name{color:#fff!important;font-weight:850!important}:root[data-theme=dark] .pharmacy-cart-item-title span,:root[data-theme=dark] .pharmacy-cart-item-spec,body.dark-theme .pharmacy-cart-item-title span,body.dark-theme .pharmacy-cart-item-spec{color:#94a3b8!important}:root[data-theme=dark] .pharmacy-cart-item-price,body.dark-theme .pharmacy-cart-item-price{color:#38bdf8!important}:root[data-theme=dark] .pharmacy-qty-stepper,body.dark-theme .pharmacy-qty-stepper{background:#07172c!important;border-color:#24415f!important}:root[data-theme=dark] .pharmacy-qty-stepper input,body.dark-theme .pharmacy-qty-stepper input{background:#07172c!important;color:#fff!important}:root[data-theme=dark] .pharmacy-qty-stepper button,body.dark-theme .pharmacy-qty-stepper button{color:#cbd5e1!important}:root[data-theme=dark] .pharmacy-cart-item-instructions,body.dark-theme .pharmacy-cart-item-instructions{background:#07172c!important;border-color:#24415f!important;color:#f1f5f9!important}:root[data-theme=light] .pharmacy-med-modal-container,body.light-theme .pharmacy-med-modal-container{background:#fff!important;border-color:#092a5e24!important}:root[data-theme=light] .pharmacy-med-modal-header,body.light-theme .pharmacy-med-modal-header{background:#fff!important}:root[data-theme=dark] .pharmacy-med-modal-container,body.dark-theme .pharmacy-med-modal-container{background:#0d213c!important;border-color:#24415f!important}:root[data-theme=dark] .pharmacy-med-modal-header,body.dark-theme .pharmacy-med-modal-header{background:#0d213c!important}:root[data-theme=dark] .pharmacy-chip-btn,body.dark-theme .pharmacy-chip-btn{background:#07172c!important;border-color:#24415f!important;color:#cbd5e1!important}:root[data-theme=dark] .pharmacy-chip-btn.active,body.dark-theme .pharmacy-chip-btn.active{background:#087ebd!important;color:#fff!important;border-color:#38bdf8!important}:root[data-theme=dark] .pharmacy-form-input,body.dark-theme .pharmacy-form-input{background:#07172c!important;border-color:#24415f!important;color:#fff!important}:root[data-theme=dark] .pharmacy-unit-tag,body.dark-theme .pharmacy-unit-tag{background:#132f54!important;border-color:#24415f!important;color:#94a3b8!important}:root[data-theme=light] .pharmacy-checkout-totals,body.light-theme .pharmacy-checkout-totals{background:#087ebd0d;border-color:#087ebd40}:root[data-theme=light] .pharmacy-cart-header,body.light-theme .pharmacy-cart-header,:root[data-theme=light] .pharmacy-cart-footer,body.light-theme .pharmacy-cart-footer{background:#fff;border-color:#092a5e1f}:root[data-theme=light] .pharmacy-mobile-view-nav,body.light-theme .pharmacy-mobile-view-nav{background:#f1f5f9;border-color:#092a5e1f}:root[data-theme=light] .pharmacy-mobile-view-btn.active,body.light-theme .pharmacy-mobile-view-btn.active{background:#fff;color:#087ebd}:root[data-theme=light] .billing-metric-card,body.light-theme .billing-metric-card,:root[data-theme=light] .billing-form-card,body.light-theme .billing-form-card,:root[data-theme=light] .billing-ledger-card,body.light-theme .billing-ledger-card{background:#fff!important;border-color:#092a5e1f!important}:root[data-theme=light] .billing-metric-val,body.light-theme .billing-metric-val,:root[data-theme=light] .billing-form-header h2,body.light-theme .billing-form-header h2,:root[data-theme=light] .billing-ledger-header h2,body.light-theme .billing-ledger-header h2,:root[data-theme=light] .billing-invoice-num,body.light-theme .billing-invoice-num,:root[data-theme=light] .billing-invoice-patient,body.light-theme .billing-invoice-patient,:root[data-theme=light] .billing-invoice-price,body.light-theme .billing-invoice-price,:root[data-theme=light] .billing-calc-row.total,body.light-theme .billing-calc-row.total{color:#092a5e!important}:root[data-theme=light] .billing-invoice-item,body.light-theme .billing-invoice-item{background:#fff!important;border-color:#092a5e1a!important}:root[data-theme=light] .billing-preset-chip,body.light-theme .billing-preset-chip{background:#f8fafc!important;border-color:#092a5e24!important;color:#1e293b!important}:root[data-theme=light] .billing-calc-card,body.light-theme .billing-calc-card{background:#087ebd0d!important;border-color:#087ebd40!important}:root[data-theme=dark] .billing-metric-card,body.dark-theme .billing-metric-card,:root[data-theme=dark] .billing-form-card,body.dark-theme .billing-form-card,:root[data-theme=dark] .billing-ledger-card,body.dark-theme .billing-ledger-card{background:#0d213c!important;border-color:#24415f!important;box-shadow:0 4px 16px #0000004d!important}:root[data-theme=dark] .billing-metric-val,body.dark-theme .billing-metric-val{color:#fff!important}:root[data-theme=dark] .billing-metric-label,body.dark-theme .billing-metric-label,:root[data-theme=dark] .billing-form-header p,body.dark-theme .billing-form-header p,:root[data-theme=dark] .billing-ledger-header p,body.dark-theme .billing-ledger-header p,:root[data-theme=dark] .billing-preset-label,body.dark-theme .billing-preset-label,:root[data-theme=dark] .billing-invoice-submeta,body.dark-theme .billing-invoice-submeta{color:#94a3b8!important}:root[data-theme=dark] .billing-form-header h2,body.dark-theme .billing-form-header h2,:root[data-theme=dark] .billing-ledger-header h2,body.dark-theme .billing-ledger-header h2{color:#fff!important}:root[data-theme=dark] .billing-preset-chip,body.dark-theme .billing-preset-chip{background:#07172c!important;border-color:#24415f!important;color:#f1f5f9!important}:root[data-theme=dark] .billing-preset-chip:hover,body.dark-theme .billing-preset-chip:hover{background:#087ebd!important;border-color:#38bdf8!important;color:#fff!important}:root[data-theme=dark] .billing-preset-chip.is-active,body.dark-theme .billing-preset-chip.is-active{background:#087ebd!important;border-color:#38bdf8!important;color:#fff!important}:root[data-theme=dark] .billing-preset-chip span,body.dark-theme .billing-preset-chip span,:root[data-theme=dark] .billing-preset-name,body.dark-theme .billing-preset-name{color:#fff!important}:root[data-theme=dark] .billing-preset-chip strong,body.dark-theme .billing-preset-chip strong,:root[data-theme=dark] .billing-preset-price,body.dark-theme .billing-preset-price{color:#38bdf8!important}:root[data-theme=dark] .billing-quick-patient-section,body.dark-theme .billing-quick-patient-section{background:#07172c!important;border-color:#24415f!important}:root[data-theme=dark] .billing-quick-patient-label,body.dark-theme .billing-quick-patient-label{color:#38bdf8!important}:root[data-theme=dark] .billing-patient-chip-btn,body.dark-theme .billing-patient-chip-btn{background:#0d213c!important;border-color:#24415f!important;color:#f1f5f9!important}:root[data-theme=dark] .billing-patient-chip-btn:hover,body.dark-theme .billing-patient-chip-btn:hover{background:#087ebd!important;border-color:#38bdf8!important;color:#fff!important}:root[data-theme=dark] .billing-patient-chip-btn.is-active,body.dark-theme .billing-patient-chip-btn.is-active{background:#087ebd!important;border-color:#38bdf8!important;color:#fff!important;box-shadow:0 0 0 2px #38bdf866!important}:root[data-theme=dark] .billing-chip-name,body.dark-theme .billing-chip-name{color:inherit!important}:root[data-theme=dark] .patient-select-trigger,body.dark-theme .patient-select-trigger{background:#07172c!important;border-color:#24415f!important;color:#f8fafc!important}:root[data-theme=dark] .selected-patient-name,body.dark-theme .selected-patient-name,:root[data-theme=dark] .patient-name,body.dark-theme .patient-name{color:#fff!important}:root[data-theme=dark] .patient-picker-popover,body.dark-theme .patient-picker-popover{background:#0d213c!important;border-color:#24415f!important}:root[data-theme=dark] .patient-row-card,body.dark-theme .patient-row-card{background:#07172c!important;border-color:#1e3a5f!important}:root[data-theme=dark] .patient-row-card:hover,body.dark-theme .patient-row-card:hover,:root[data-theme=dark] .patient-row-card.highlighted,body.dark-theme .patient-row-card.highlighted{background:#087ebd40!important}:root[data-theme=dark] .billing-calc-card,body.dark-theme .billing-calc-card{background:#07172c!important;border-color:#24415f!important}:root[data-theme=dark] .billing-calc-row,body.dark-theme .billing-calc-row{color:#cbd5e1!important}:root[data-theme=dark] .billing-calc-row strong,body.dark-theme .billing-calc-row strong{color:#fff!important}:root[data-theme=dark] .billing-calc-row.total,body.dark-theme .billing-calc-row.total{color:#38bdf8!important;border-top-color:#24415f!important}:root[data-theme=dark] .billing-quick-pay-btn,body.dark-theme .billing-quick-pay-btn{background:#0d213c!important;border-color:#24415f!important;color:#f1f5f9!important}:root[data-theme=dark] .billing-quick-pay-btn:hover,body.dark-theme .billing-quick-pay-btn:hover{background:#10b981!important;color:#fff!important}:root[data-theme=dark] .billing-invoice-item,body.dark-theme .billing-invoice-item{background:#07172c!important;border-color:#1e3a5f!important}:root[data-theme=dark] .billing-invoice-num,body.dark-theme .billing-invoice-num{color:#38bdf8!important}:root[data-theme=dark] .billing-invoice-patient,body.dark-theme .billing-invoice-patient{color:#fff!important}:root[data-theme=dark] .billing-invoice-price,body.dark-theme .billing-invoice-price{color:#fff!important}:root[data-theme=dark] .billing-invoice-card-badge,body.dark-theme .billing-invoice-card-badge{background:#132f54!important;color:#38bdf8!important}:root[data-theme=dark] .billing-print-action-btn,body.dark-theme .billing-print-action-btn{background:#132f54!important;border-color:#24415f!important;color:#38bdf8!important}:root[data-theme=dark] .billing-print-action-btn:hover,body.dark-theme .billing-print-action-btn:hover{background:#087ebd!important;color:#fff!important}:root[data-theme=dark] .billing-tab-group,body.dark-theme .billing-tab-group{background:#07172c!important}:root[data-theme=dark] .billing-tab-btn.is-active,body.dark-theme .billing-tab-btn.is-active{background:#087ebd!important;color:#fff!important}:root[data-theme=dark] .billing-mobile-view-nav,body.dark-theme .billing-mobile-view-nav,:root[data-theme=dark] .billing-workstation-tabs,body.dark-theme .billing-workstation-tabs{background:#07172c!important;border-color:#24415f!important}:root[data-theme=dark] .billing-mobile-view-btn.active,body.dark-theme .billing-mobile-view-btn.active,:root[data-theme=dark] .billing-workstation-tab-btn.active,body.dark-theme .billing-workstation-tab-btn.active{background:#0d213c!important;color:#38bdf8!important}:root[data-theme=dark] .billing-patient-summary-box,body.dark-theme .billing-patient-summary-box{background:#07172c!important;border-color:#24415f!important;color:#fff!important}:root[data-theme=dark] .billing-patient-summary-box strong,body.dark-theme .billing-patient-summary-box strong{color:#38bdf8!important}:root[data-theme=dark] .billing-search-input-wrap input,body.dark-theme .billing-search-input-wrap input,:root[data-theme=dark] .billing-refresh-btn,body.dark-theme .billing-refresh-btn{background:#07172c!important;border-color:#24415f!important;color:#fff!important}:root[data-theme=light] .pharmacy-total-row.grand,body.light-theme .pharmacy-total-row.grand{color:#092a5e}.lab-print-modal-container{background:var(--readable-surface);border:1px solid var(--readable-border)}:root[data-theme=light] .lab-print-modal-container,body.light-theme .lab-print-modal-container{background:#fff;border-color:#092a5e29}.lab-print-page,.lab-print-document-container,.lab-report-sheet{background:#fff!important;color:#0f172a!important}.lab-print-page h1,.lab-print-page h2,.lab-print-page h3,.lab-print-page h4,.lab-print-page strong,.lab-print-document-container h1,.lab-print-document-container h2,.lab-print-document-container h3,.lab-print-document-container h4,.lab-print-document-container strong,.lab-report-sheet h1,.lab-report-sheet h2,.lab-report-sheet h3,.lab-report-sheet h4,.lab-report-sheet strong,.lab-print-results-table td strong,.lab-print-param-name,.lab-print-param-cell strong,.lab-report-table td strong,.lab-report-param-name,.lab-report-param-cell strong{color:#092a5e!important}.lab-print-page td,.lab-print-page p,.lab-print-page span,.lab-print-document-container td,.lab-print-document-container p,.lab-print-document-container span,.lab-report-sheet td,.lab-report-sheet p,.lab-report-sheet span{color:#1e293b!important}:root[data-theme=dark] .lab-print-document-container strong,body.dark-theme .lab-print-document-container strong,:root[data-theme=dark] .lab-report-sheet strong,body.dark-theme .lab-report-sheet strong,:root[data-theme=dark] .lab-print-page strong,body.dark-theme .lab-print-page strong,:root[data-theme=dark] .lab-print-results-table td strong,body.dark-theme .lab-print-results-table td strong,:root[data-theme=dark] .lab-print-param-name,body.dark-theme .lab-print-param-name,:root[data-theme=dark] .lab-print-param-cell strong,body.dark-theme .lab-print-param-cell strong,:root[data-theme=dark] .lab-report-table td strong,body.dark-theme .lab-report-table td strong,:root[data-theme=dark] .lab-report-param-name,body.dark-theme .lab-report-param-name,:root[data-theme=dark] .lab-report-param-cell strong,body.dark-theme .lab-report-param-cell strong{color:#092a5e!important}:root[data-theme=dark] .lab-print-val-text,body.dark-theme .lab-print-val-text,:root[data-theme=dark] .lab-report-val-text,body.dark-theme .lab-report-val-text{color:#0f172a!important}:root[data-theme=dark] .cav-faq-section,body.dark-theme .cav-faq-section{background:#07172c!important}:root[data-theme=dark] .cav-faq-item,body.dark-theme .cav-faq-item{border-color:#24415f!important;color:#d8e2ed!important}:root[data-theme=dark] .cav-faq-item summary,body.dark-theme .cav-faq-item summary{color:#f3f8fc!important}:root[data-theme=dark] .cav-faq-item p,body.dark-theme .cav-faq-item p{color:#cbd5e1!important}:root[data-theme=dark] .service-faq-item,body.dark-theme .service-faq-item{background:#0d213c!important;border-color:#24415f!important;color:#d8e2ed!important}:root[data-theme=dark] .service-faq-item summary,body.dark-theme .service-faq-item summary{color:#f3f8fc!important}:root[data-theme=dark] .service-faq-item p,body.dark-theme .service-faq-item p{color:#cbd5e1!important}:root[data-theme=dark] .service-detail-panel,body.dark-theme .service-detail-panel{background:#0d213c!important;border-color:#24415f!important;color:#d8e2ed!important}:root[data-theme=dark] .service-detail-panel h2,body.dark-theme .service-detail-panel h2{color:#f3f8fc!important}:root[data-theme=dark] .service-detail-process,body.dark-theme .service-detail-process{background:#0d213c!important;border-color:#24415f!important}:root[data-theme=dark] .service-journey-card,body.dark-theme .service-journey-card{background:#07172c!important;border-color:#24415f!important;color:#d8e2ed!important}:root[data-theme=dark] .service-journey-card p,body.dark-theme .service-journey-card p{color:#d8e2ed!important}:root[data-theme=dark] .service-prep-card,body.dark-theme .service-prep-card{background:#102844!important;border-color:#24415f!important}:root[data-theme=dark] .service-prep-card h3,body.dark-theme .service-prep-card h3{color:#f3f8fc!important}:root[data-theme=dark] .service-prep-list,body.dark-theme .service-prep-list{color:#cbd5e1!important}:root[data-theme=dark] .cardiology-lead-profile,body.dark-theme .cardiology-lead-profile{background:#0d213c!important;border-color:#24415f!important}:root[data-theme=dark] .cardiology-lead-info h2,body.dark-theme .cardiology-lead-info h2{color:#f3f8fc!important}:root[data-theme=dark] .cardiology-lead-info p,body.dark-theme .cardiology-lead-info p{color:#cbd5e1!important}:root[data-theme=dark] .service-related-card,body.dark-theme .service-related-card{background:#0d213c!important;border-color:#24415f!important}:root[data-theme=dark] .service-related-card strong,body.dark-theme .service-related-card strong{color:#f3f8fc!important}:root[data-theme=dark] .service-related-card p,body.dark-theme .service-related-card p{color:#cbd5e1!important}:root[data-theme=dark] .service-index-card,body.dark-theme .service-index-card{background:#0d213c!important;border-color:#24415f!important}:root[data-theme=dark] .service-index-card-content h2,body.dark-theme .service-index-card-content h2{color:#f3f8fc!important}:root[data-theme=dark] .service-index-card-content p,body.dark-theme .service-index-card-content p{color:#cbd5e1!important}:root[data-theme=dark] .service-index-status,body.dark-theme .service-index-status{background:#0d213c!important;border-color:#24415f!important}:root[data-theme=dark] .service-index-status-title,body.dark-theme .service-index-status-title{color:#f3f8fc!important}:root[data-theme=light] .cav-faq-section,body.light-theme .cav-faq-section{background:#f5f3ee!important}:root[data-theme=light] .cav-faq-item summary,body.light-theme .cav-faq-item summary{color:#092a5e!important}:root[data-theme=light] .cav-faq-item p,body.light-theme .cav-faq-item p{color:#475569!important}:root[data-theme=light] .service-faq-item,body.light-theme .service-faq-item{background:#fff!important;border-color:#dfe4e8!important}:root[data-theme=light] .service-faq-item summary,body.light-theme .service-faq-item summary{color:#092a5e!important}:root[data-theme=light] .service-faq-item p,body.light-theme .service-faq-item p{color:#475569!important}:root[data-theme=light] .service-detail-panel,body.light-theme .service-detail-panel{background:#fff!important;border-color:#dfe4e8!important}:root[data-theme=light] .service-detail-panel h2,body.light-theme .service-detail-panel h2{color:#092a5e!important}:root[data-theme=light] .service-detail-process,body.light-theme .service-detail-process{background:#fff!important;border-color:#dfe4e8!important}:root[data-theme=light] .service-journey-card,body.light-theme .service-journey-card{background:#f8fafc!important;border-color:#dfe4e8!important}:root[data-theme=light] .service-journey-card p,body.light-theme .service-journey-card p{color:#1e293b!important}:root[data-theme=light] .cardiology-lead-profile,body.light-theme .cardiology-lead-profile{background:#fff!important;border-color:#dfe4e8!important}:root[data-theme=light] .cardiology-lead-info h2,body.light-theme .cardiology-lead-info h2{color:#092a5e!important}:root[data-theme=light] .cardiology-lead-info p,body.light-theme .cardiology-lead-info p{color:#475569!important}:root[data-theme=light] .service-related-card,body.light-theme .service-related-card{background:#fff!important;border-color:#dfe4e8!important}:root[data-theme=light] .service-related-card strong,body.light-theme .service-related-card strong{color:#092a5e!important}:root[data-theme=light] .service-related-card p,body.light-theme .service-related-card p{color:#475569!important}:root[data-theme=light] .service-index-card,body.light-theme .service-index-card{background:#fff!important;border-color:#dfe4e8!important}:root[data-theme=light] .service-index-card-content h2,body.light-theme .service-index-card-content h2{color:#092a5e!important}:root[data-theme=light] .service-index-card-content p,body.light-theme .service-index-card-content p{color:#475569!important}:root[data-theme=light] .service-index-status,body.light-theme .service-index-status{background:#fff!important;border-color:#dfe4e8!important}:root[data-theme=light] .service-index-status-title,body.light-theme .service-index-status-title{color:#092a5e!important}.doctor-action-ribbon,.nurse-action-ribbon,.patient-action-ribbon,.frontdesk-action-ribbon,.frontdesk-quick-action-ribbon,.command-actions,.doctor-action-row,.nurse-action-row,.lab-desk-tabs,.doctor-tabs-bar,.doctor-tab-pills,.nurse-tab-pills,.lab-desk-tab-pills,.form-actions,.card-actions,.doctor-presets-row,.doctor-hero-controls,.nurse-hero-controls,.lab-desk-hero .lab-desk-title-group+div,.pharmacy-hero>div:last-child{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:.65rem .85rem!important;row-gap:.75rem!important;column-gap:.85rem!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow:visible!important;position:relative!important}.admin-layout button,a.command-btn,.command-btn,.doctor-action-btn,.nurse-action-btn,.lab-btn-primary,.lab-btn-secondary,.lab-desk-tab-pill,.doctor-tab-pill,.nurse-tab-pill,.quickbar-reg-btn,.doctor-assign-btn,.doctor-preset-chip,.role-action-card,.btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.5rem!important;position:relative!important;z-index:1!important;margin:0!important;min-height:40px!important;padding:.55rem 1.05rem!important;border-radius:8px!important;font-family:inherit!important;font-size:.86rem!important;font-weight:600!important;line-height:1.25!important;white-space:nowrap!important;flex-shrink:0!important;box-sizing:border-box!important;text-decoration:none!important;cursor:pointer!important;transition:all .15s ease-in-out!important}.command-btn.primary,.doctor-action-btn.primary,.nurse-action-btn.primary,.lab-btn-primary,.quickbar-reg-btn,.btn-primary,.admin-layout button[type=submit]:not(.secondary){background:#0284c7!important;color:#fff!important;border:1px solid #0284c7!important;box-shadow:0 2px 8px #0284c747!important}.command-btn.primary:hover,.doctor-action-btn.primary:hover,.nurse-action-btn.primary:hover,.lab-btn-primary:hover,.quickbar-reg-btn:hover,.btn-primary:hover,.admin-layout button[type=submit]:not(.secondary):hover{background:#0369a1!important;border-color:#0369a1!important;transform:translateY(-1px)!important;box-shadow:0 4px 12px #0284c761!important}:root[data-theme=light] .command-btn:not(.primary),:root[data-theme=light] .doctor-action-btn.secondary,:root[data-theme=light] .nurse-action-btn.secondary,:root[data-theme=light] .lab-btn-secondary,:root[data-theme=light] .doctor-assign-btn,:root[data-theme=light] .btn-secondary,body.light-theme .command-btn:not(.primary),body.light-theme .doctor-action-btn.secondary,body.light-theme .nurse-action-btn.secondary,body.light-theme .lab-btn-secondary,body.light-theme .doctor-assign-btn,body.light-theme .btn-secondary{background:#fff!important;color:#0f172a!important;border:1.5px solid #cbd5e1!important;box-shadow:0 1px 4px #0000000a!important}:root[data-theme=light] .command-btn:not(.primary):hover,:root[data-theme=light] .doctor-action-btn.secondary:hover,:root[data-theme=light] .nurse-action-btn.secondary:hover,:root[data-theme=light] .lab-btn-secondary:hover,:root[data-theme=light] .doctor-assign-btn:hover,:root[data-theme=light] .btn-secondary:hover,body.light-theme .command-btn:not(.primary):hover,body.light-theme .doctor-action-btn.secondary:hover,body.light-theme .nurse-action-btn.secondary:hover,body.light-theme .lab-btn-secondary:hover,body.light-theme .doctor-assign-btn:hover,body.light-theme .btn-secondary:hover{background:#f1f5f9!important;border-color:#94a3b8!important;color:#0284c7!important;transform:translateY(-1px)!important}:root[data-theme=dark] .command-btn:not(.primary),:root[data-theme=dark] .doctor-action-btn.secondary,:root[data-theme=dark] .nurse-action-btn.secondary,:root[data-theme=dark] .lab-btn-secondary,:root[data-theme=dark] .doctor-assign-btn,:root[data-theme=dark] .btn-secondary,body.dark-theme .command-btn:not(.primary),body.dark-theme .doctor-action-btn.secondary,body.dark-theme .nurse-action-btn.secondary,body.dark-theme .lab-btn-secondary,body.dark-theme .doctor-assign-btn,body.dark-theme .btn-secondary{background:#1e293b!important;color:#f8fafc!important;border:1.5px solid #334155!important;box-shadow:0 2px 6px #00000040!important}:root[data-theme=dark] .command-btn:not(.primary):hover,:root[data-theme=dark] .doctor-action-btn.secondary:hover,:root[data-theme=dark] .nurse-action-btn.secondary:hover,:root[data-theme=dark] .lab-btn-secondary:hover,:root[data-theme=dark] .doctor-assign-btn:hover,:root[data-theme=dark] .btn-secondary:hover,body.dark-theme .command-btn:not(.primary):hover,body.dark-theme .doctor-action-btn.secondary:hover,body.dark-theme .nurse-action-btn.secondary:hover,body.dark-theme .lab-btn-secondary:hover,body.dark-theme .doctor-assign-btn:hover,body.dark-theme .btn-secondary:hover{background:#334155!important;border-color:#475569!important;color:#38bdf8!important;transform:translateY(-1px)!important}.doctor-tab-pill.active,.nurse-tab-pill.active,.lab-desk-tab-pill.active{background:#0284c7!important;color:#fff!important;border-color:#0284c7!important;box-shadow:0 2px 8px #0284c74d!important}:root[data-theme=light] .doctor-tab-pill:not(.active),:root[data-theme=light] .nurse-tab-pill:not(.active),:root[data-theme=light] .lab-desk-tab-pill:not(.active),body.light-theme .doctor-tab-pill:not(.active),body.light-theme .nurse-tab-pill:not(.active),body.light-theme .lab-desk-tab-pill:not(.active){background:#f1f5f9!important;color:#334155!important;border:1px solid #cbd5e1!important}:root[data-theme=dark] .doctor-tab-pill:not(.active),:root[data-theme=dark] .nurse-tab-pill:not(.active),:root[data-theme=dark] .lab-desk-tab-pill:not(.active),body.dark-theme .doctor-tab-pill:not(.active),body.dark-theme .nurse-tab-pill:not(.active),body.dark-theme .lab-desk-tab-pill:not(.active){background:#1e293b!important;color:#94a3b8!important;border:1px solid #334155!important}.doctor-action-btn.active,.nurse-action-btn.active{background:#0284c724!important;color:#0284c7!important;border:1.5px solid #0284c7!important;font-weight:700!important}:root[data-theme=dark] .doctor-action-btn.active,:root[data-theme=dark] .nurse-action-btn.active,body.dark-theme .doctor-action-btn.active,body.dark-theme .nurse-action-btn.active{background:#38bdf82e!important;color:#38bdf8!important;border-color:#38bdf8!important}@media (max-width: 768px){.doctor-action-ribbon,.nurse-action-ribbon,.patient-action-ribbon,.frontdesk-action-ribbon{gap:.5rem!important}.admin-layout button,.command-btn,.doctor-action-btn,.nurse-action-btn,.lab-btn-primary,.lab-btn-secondary{min-height:38px!important;padding:.5rem .85rem!important;font-size:.82rem!important}.admin-layout button.desktop-only{display:none!important}}body.hms-hide-tawk iframe[src*="tawk.to" i],body.hms-hide-tawk iframe[title*=chat i],body.hms-hide-tawk [id^=tawk-],body.hms-hide-tawk .tawk-min-container,body.hms-hide-tawk .widget-visible{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}.hms-auto-table-print-bar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 10px;padding:2px 0;width:100%}.hms-auto-table-print-btn{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px 13px;border-radius:10px;border:1px solid rgba(56,189,248,.28);background:#0f2744d1;color:#e0f2fe;font-family:var(--font-sans, Inter, system-ui, sans-serif);font-size:.78rem;font-weight:700;line-height:1;letter-spacing:.015em;cursor:pointer;box-shadow:0 2px 8px #030e202e;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .16s ease,box-shadow .18s ease}.hms-auto-table-print-btn svg{width:14px;height:14px;color:#38bdf8;flex-shrink:0;transition:transform .18s ease,color .18s ease}.hms-auto-table-print-btn:hover{background:linear-gradient(135deg,#087ebd,#0ea5e9);border-color:#38bdf8;color:#fff;transform:translateY(-1px);box-shadow:0 6px 16px #087ebd52}.hms-auto-table-print-btn:hover svg{color:#fff;transform:scale(1.06)}.hms-auto-table-print-btn:active{transform:translateY(0)}.hms-auto-table-print-btn:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}:root[data-theme=light] .hms-auto-table-print-btn,body.light-theme .hms-auto-table-print-btn{background:#fff;border-color:#092a5e29;color:#092a5e;box-shadow:0 2px 6px #092a5e0f}:root[data-theme=light] .hms-auto-table-print-btn svg,body.light-theme .hms-auto-table-print-btn svg{color:#087ebd}:root[data-theme=light] .hms-auto-table-print-btn:hover,body.light-theme .hms-auto-table-print-btn:hover{background:#092a5e;border-color:#092a5e;color:#fff;box-shadow:0 6px 16px #092a5e33}:root[data-theme=light] .hms-auto-table-print-btn:hover svg,body.light-theme .hms-auto-table-print-btn:hover svg{color:#38bdf8}@media (max-width: 640px){.hms-auto-table-print-bar{margin-bottom:8px}.hms-auto-table-print-btn{min-height:36px;padding:7px 12px;font-size:.76rem}}@keyframes hmsPrintModalFade{0%{opacity:0}to{opacity:1}}@keyframes hmsPrintModalPop{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.lab-print-modal-overlay{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:20px;background:#040f22c2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);overflow-y:auto;animation:hmsPrintModalFade .18s ease-out}.lab-print-modal-container{position:relative;width:min(920px,100%);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:var(--surface-strong, #0e243e);border:1px solid var(--border, rgba(94, 191, 219, .24));box-shadow:0 28px 80px #020c1e8c;animation:hmsPrintModalPop .24s cubic-bezier(.16,1,.3,1)}.lab-print-modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 22px;background:var(--surface, #0b2038);border-bottom:1px solid var(--border, rgba(94, 191, 219, .2));flex-shrink:0}.lab-print-modal-title{display:flex;align-items:center;gap:12px;min-width:0}.lab-print-modal-title>svg{flex-shrink:0}.lab-print-modal-title h3{margin:0;font-size:1.04rem;font-weight:800;color:var(--text-strong, #ffffff);line-height:1.2}.lab-print-modal-title p{margin:3px 0 0;font-size:.8rem;color:var(--muted, #94a3b8);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-print-modal-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.lab-print-modal-header .lab-btn-primary,.lab-modal-header .lab-btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 18px;border:none;border-radius:11px;background:linear-gradient(135deg,#087ebd,#092a5e);color:#fff;font-size:.86rem;font-weight:700;letter-spacing:.01em;cursor:pointer;box-shadow:0 6px 18px #087ebd57;transition:transform .16s ease,box-shadow .18s ease,filter .18s ease}.lab-print-modal-header .lab-btn-primary:hover:not(:disabled),.lab-modal-header .lab-btn-primary:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 10px 24px #087ebd6b}.lab-print-modal-header .lab-btn-primary:disabled,.lab-modal-header .lab-btn-primary:disabled{opacity:.55;cursor:not-allowed}.lab-print-modal-header .lab-btn-secondary,.lab-modal-header .lab-btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;min-height:40px;padding:0 12px;border-radius:11px;border:1px solid var(--border, rgba(148, 163, 184, .28));background:var(--surface-subtle, rgba(255, 255, 255, .06));color:var(--text-strong, #f8fafc);font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.lab-print-modal-header .lab-btn-secondary:hover,.lab-modal-header .lab-btn-secondary:hover{border-color:var(--accent, #0ea5e9);color:var(--accent, #38bdf8);background:var(--surface-hover, rgba(56, 189, 248, .12))}.lab-print-modal-body{flex:1 1 auto;overflow-y:auto;padding:24px 20px 28px;background:radial-gradient(circle at top center,rgba(16,169,214,.12),transparent 55%),#0a1a2e;display:flex;flex-direction:column;align-items:center;-webkit-overflow-scrolling:touch}:root[data-theme=light] .lab-print-modal-body,body.light-theme .lab-print-modal-body{background:radial-gradient(circle at top center,rgba(8,126,189,.08),transparent 55%),#e2e8f0}.lab-print-page,.billing-receipt-print-page{width:100%;max-width:820px;margin:0 auto;padding:28px 32px;background:#fff;color:#0f172a;box-sizing:border-box;font-family:var(--font-sans, Inter, system-ui, sans-serif);border-radius:12px;border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 40px #05163038;display:flex;flex-direction:column;gap:1.15rem;line-height:1.45}.lab-print-header,.lab-print-header-banner{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding-bottom:1.1rem;border-bottom:3px solid #092a5e}.lab-print-brand-left{display:flex;align-items:center;gap:1rem;min-width:0}.lab-print-hospital-name{margin:0;font-size:1.38rem;font-weight:800;color:#092a5e;letter-spacing:-.01em;line-height:1.2}.lab-print-hospital-sub{margin:.15rem 0 .3rem;font-size:.8rem;font-weight:700;color:#087ebd;text-transform:uppercase;letter-spacing:.05em}.lab-print-hospital-address,.lab-print-hospital-contact{margin:.1rem 0 0;font-size:.77rem;color:#475569}.lab-print-qr-group{display:flex;flex-direction:column;align-items:center;text-align:center;padding:.45rem .65rem;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;flex-shrink:0}.lab-print-qr-img{width:92px;height:92px;object-fit:contain}.lab-print-qr-placeholder{width:92px;height:92px;background:#e2e8f0;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.72rem;color:#64748b;font-weight:700}.lab-print-qr-label{font-size:.66rem;font-weight:600;color:#092a5e;margin-top:.25rem;max-width:112px;line-height:1.2}.lab-print-qr-id{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.71rem;color:#475569;margin-top:.18rem;font-weight:700}.billing-receipt-seal-badge{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 14px;border-radius:8px;background:linear-gradient(135deg,#092a5e,#087ebd);color:#fff;min-width:126px}.billing-receipt-seal-top{font-size:.62rem;font-weight:800;letter-spacing:.1em;opacity:.92;color:#e0f2fe!important}.billing-receipt-seal-num{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.84rem;font-weight:800;color:#fff!important}.billing-receipt-seal-date{font-size:.68rem;font-weight:600;opacity:.94;color:#e0f2fe!important}.lab-print-doc-title-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:.62rem 1rem;background:#092a5e;color:#fff;border-radius:8px}.lab-print-page .lab-print-doc-title-bar h2,.lab-print-doc-title-bar h2{margin:0;font-size:.94rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#fff!important}.lab-print-page .lab-print-status-tag,.lab-print-status-tag{padding:.22rem .6rem;font-size:.72rem;font-weight:800;border-radius:6px;background:#fff;color:#092a5e!important;letter-spacing:.04em;text-transform:uppercase;flex-shrink:0}.lab-print-page .lab-print-status-tag.paid,.lab-print-page .lab-print-status-tag.completed,.lab-print-status-tag.paid,.lab-print-status-tag.completed{background:#dcfce7;color:#15803d!important}.lab-print-page .lab-print-status-tag.partial,.lab-print-page .lab-print-status-tag.pending,.lab-print-page .lab-print-status-tag.in_progress,.lab-print-page .lab-print-status-tag.sample_collected,.lab-print-status-tag.partial,.lab-print-status-tag.pending,.lab-print-status-tag.in_progress,.lab-print-status-tag.sample_collected{background:#fef3c7;color:#b45309!important}.lab-print-page .lab-print-status-tag.unpaid,.lab-print-page .lab-print-status-tag.cancelled,.lab-print-page .lab-print-status-tag.overdue,.lab-print-status-tag.unpaid,.lab-print-status-tag.cancelled,.lab-print-status-tag.overdue{background:#fee2e2;color:#b91c1c!important}.lab-print-demographics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem 1rem;padding:.9rem 1.1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.lab-print-demo-item{display:flex;flex-direction:column;gap:2px;min-width:0}.lab-demo-label{font-size:.68rem;color:#64748b;text-transform:uppercase;font-weight:700;letter-spacing:.03em}.lab-demo-value{font-size:.84rem;color:#0f172a;font-weight:700;overflow-wrap:anywhere}.lab-print-results-table{width:100%;border-collapse:collapse;margin-top:.35rem}.lab-print-results-table th{text-align:left;padding:.6rem .7rem;background:#f1f5f9;color:#092a5e;font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em;border-bottom:2px solid #cbd5e1}.lab-print-results-table td{padding:.62rem .7rem;border-bottom:1px solid #e2e8f0;font-size:.83rem;color:#1e293b}.lab-print-results-table td strong{color:#092a5e;font-weight:700}.lab-print-results-table tbody tr:nth-child(2n) td{background:#f8fafc}.lab-print-remarks-box{display:flex;flex-direction:column;gap:.4rem;padding:.75rem .95rem;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;font-size:.8rem;color:#334155}.lab-print-remark-row strong{color:#092a5e}.lab-print-footer-block{margin-top:.75rem;padding-top:1rem;border-top:2px solid #e2e8f0;display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.lab-print-sign-container{display:flex;flex-direction:column}.lab-print-sign-line{width:210px;border-top:1.5px solid #0f172a;margin-bottom:.35rem}.lab-print-sign-role{margin:0;font-size:.88rem;color:#092a5e}.lab-print-sign-title{margin:.1rem 0;font-size:.78rem;color:#475569;font-weight:600}.lab-print-sign-meta{margin:0;font-size:.7rem;color:#64748b}.lab-print-security-stamp{display:flex;align-items:center;justify-content:center;flex-shrink:0}.lab-print-disclaimer{font-size:.69rem;color:#64748b;text-align:center;padding-top:.7rem;border-top:1px solid #e2e8f0;line-height:1.4}@media (max-width: 720px){.lab-print-modal-overlay{padding:0;align-items:flex-end}.lab-print-modal-container{width:100%;max-height:94dvh;border-radius:20px 20px 0 0}.lab-print-modal-header{flex-wrap:wrap;padding:12px 14px;gap:10px}.lab-print-modal-title{flex:1 1 100%}.lab-print-modal-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.lab-print-modal-actions .lab-btn-primary{flex:1 1 auto}.lab-print-modal-body{padding:12px 10px 20px}.lab-print-page,.billing-receipt-print-page{padding:16px 14px;border-radius:10px}.lab-print-header,.lab-print-header-banner{flex-direction:column;align-items:flex-start}.lab-print-demographics-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:.75rem}.lab-print-footer-block{flex-direction:column;align-items:flex-start}}@media print{.hms-auto-table-print-bar,.no-print{display:none!important;visibility:hidden!important}body.has-print-modal #root,body.lab-print-modal-active #root,body:has(.lab-print-modal-overlay) #root,body.has-print-modal>*:not(.lab-print-modal-overlay):not(.lab-modal-overlay),body.lab-print-modal-active>*:not(.lab-print-modal-overlay):not(.lab-modal-overlay){display:none!important;visibility:hidden!important;height:0!important;max-height:0!important;overflow:hidden!important}body.has-print-modal,body.lab-print-modal-active,html:has(body.has-print-modal),html:has(body.lab-print-modal-active){background:#fff!important;color:#0f172a!important;margin:0!important;padding:0!important;height:auto!important;min-height:0!important;overflow:visible!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body.has-print-modal .lab-print-modal-overlay,body.lab-print-modal-active .lab-print-modal-overlay,.lab-print-modal-overlay{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;background:#fff!important;backdrop-filter:none!important;overflow:visible!important;visibility:visible!important;opacity:1!important;animation:none!important}body.has-print-modal .lab-print-modal-overlay *,body.lab-print-modal-active .lab-print-modal-overlay *{visibility:visible!important}body.has-print-modal .lab-print-modal-header,body.has-print-modal .lab-modal-header,body.has-print-modal .no-print,body.lab-print-modal-active .lab-print-modal-header,body.lab-print-modal-active .lab-modal-header,body.lab-print-modal-active .no-print{display:none!important;visibility:hidden!important}body.has-print-modal .lab-print-modal-container,body.lab-print-modal-active .lab-print-modal-container{position:static!important;display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;padding:0!important;margin:0!important;border:none!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important;animation:none!important}body.has-print-modal .lab-print-modal-body,body.lab-print-modal-active .lab-print-modal-body{display:block!important;padding:0!important;margin:0!important;height:auto!important;max-height:none!important;background:#fff!important;overflow:visible!important}body.has-print-modal .lab-print-page:not(.pharmacy-receipt-thermal),body.has-print-modal .billing-receipt-print-page,body.lab-print-modal-active .lab-print-page:not(.pharmacy-receipt-thermal),body.lab-print-modal-active .billing-receipt-print-page{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;margin:0!important;padding:4mm 6mm!important;border:none!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;color:#0f172a!important;overflow:visible!important;page-break-inside:auto!important;break-inside:auto!important}.lab-print-header,.lab-print-header-banner,.lab-print-doc-title-bar,.lab-print-demographics-grid,.lab-print-footer-block,.lab-print-remarks-box,.lab-print-disclaimer{break-inside:avoid!important;page-break-inside:avoid!important}.lab-print-doc-title-bar,.billing-receipt-seal-badge{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}:root{--glass-bg: rgba(14, 38, 66, .68);--glass-bg-strong: rgba(12, 33, 58, .8);--glass-bg-subtle: rgba(16, 44, 76, .48);--glass-border: rgba(125, 211, 252, .17);--glass-border-hover: rgba(56, 189, 248, .42);--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .085);--glass-shadow: 0 14px 36px rgba(2, 10, 24, .34);--glass-shadow-hover: 0 20px 46px rgba(2, 10, 24, .44);--glass-blur: blur(16px) saturate(145%)}:root[data-theme=light],body.light-theme{--glass-bg: rgba(255, 255, 255, .78);--glass-bg-strong: rgba(255, 255, 255, .88);--glass-bg-subtle: rgba(248, 251, 255, .68);--glass-border: rgba(9, 42, 94, .09);--glass-border-hover: rgba(8, 126, 189, .34);--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .92);--glass-shadow: 0 10px 30px rgba(9, 42, 94, .065);--glass-shadow-hover: 0 16px 38px rgba(9, 42, 94, .11);--glass-blur: blur(16px) saturate(160%)}.admin-layout{background:radial-gradient(640px circle at 14% 0%,rgba(16,169,214,.13),transparent 55%),radial-gradient(560px circle at 92% 18%,rgba(8,126,189,.12),transparent 55%),radial-gradient(520px circle at 60% 100%,rgba(16,185,129,.07),transparent 55%),var(--app-bg)}:root[data-theme=light] .admin-layout,body.light-theme .admin-layout{background:radial-gradient(760px circle at 12% 0%,rgba(14,165,233,.09),transparent 58%),radial-gradient(640px circle at 94% 12%,rgba(9,42,94,.06),transparent 56%),radial-gradient(580px circle at 50% 100%,rgba(16,185,129,.055),transparent 58%),var(--app-bg)}.sidebar{background:linear-gradient(180deg,#09203eeb,#071930f2);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);border-right:1px solid rgba(125,211,252,.14)}:root[data-theme=light] .sidebar,body.light-theme .sidebar{background:linear-gradient(180deg,#092a5ef2,#071f46f7)}.topbar{background:var(--glass-bg-strong);backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);border-bottom:1px solid var(--glass-border);box-shadow:var(--glass-shadow),var(--glass-highlight)}.notification-panel,.user-dropdown{background:var(--glass-bg-strong);backdrop-filter:blur(22px) saturate(165%);-webkit-backdrop-filter:blur(22px) saturate(165%);border-color:var(--glass-border);box-shadow:var(--glass-shadow-hover),var(--glass-highlight)}.ws-header,.workspace-hero,.workspace-panel,.dashboard-panel,.admin-chart-panel,.admin-workspace-card,.stat-card,.role-action-card,.billing-metric-card,.billing-panel,.billing-recent-tx-strip,.pharmacy-metric-card,.lab-stat-card,.inv-kpi-card,.card{background:var(--glass-bg);backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);border-color:var(--glass-border);box-shadow:var(--glass-shadow),var(--glass-highlight)}.stat-card:hover,.role-action-card:hover,.billing-metric-card:hover,.pharmacy-metric-card:hover,.lab-stat-card:hover,.inv-kpi-card:hover{border-color:var(--glass-border-hover);box-shadow:var(--glass-shadow-hover),var(--glass-highlight)}.chart-stat-item,.admin-activity-row,.admin-service-item{background:var(--glass-bg-subtle);border-color:var(--glass-border)}.mobile-bottom-nav{background:var(--glass-bg-strong);backdrop-filter:blur(20px) saturate(165%);-webkit-backdrop-filter:blur(20px) saturate(165%);border-top:1px solid var(--glass-border)}@media (prefers-reduced-transparency: reduce){.sidebar,.topbar,.notification-panel,.user-dropdown,.ws-header,.workspace-hero,.workspace-panel,.dashboard-panel,.admin-chart-panel,.admin-workspace-card,.stat-card,.role-action-card,.billing-metric-card,.billing-panel,.billing-recent-tx-strip,.pharmacy-metric-card,.lab-stat-card,.inv-kpi-card,.card,.mobile-bottom-nav{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:var(--surface-strong)!important}}@media print{.admin-layout,.ws-header,.workspace-hero,.workspace-panel,.dashboard-panel,.admin-chart-panel,.admin-workspace-card,.stat-card,.card{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}}
