.dashboard-layout{background-color:#06060b;min-height:100vh;display:flex;position:relative;overflow:hidden}.sidebar{-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);z-index:100;background:#0f0f1999;border-right:1px solid #ffffff0f;flex-direction:column;width:260px;transition:width .25s cubic-bezier(.4,0,.2,1),transform .3s cubic-bezier(.4,0,.2,1);display:flex;position:relative}.sidebar-logo{border-bottom:1px solid #ffffff0a;justify-content:space-between;align-items:center;gap:12px;padding:1.25rem 1.5rem;display:flex}.sidebar-logo-brand{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.sidebar-logo-text{color:#f1f5f9;letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:1rem;font-weight:800;overflow:hidden}.sidebar-collapse-btn{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #ffffff14;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.sidebar-collapse-btn:hover{color:#f1f5f9;background:#ffffff14;border-color:#ffffff29}.sidebar-nav{flex-direction:column;flex:1;gap:.35rem;padding:1.25rem 1rem;display:flex;overflow:hidden}.sidebar-group{flex-direction:column;gap:2px;display:flex}.sidebar-group-header{cursor:pointer;color:#64748b;text-transform:uppercase;letter-spacing:.05em;text-align:left;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;width:100%;padding:.65rem 1rem;font-size:.75rem;font-weight:700;transition:all .2s;display:flex}.sidebar-group-header:hover{color:#cbd5e1;background:#ffffff08}.sidebar-group-icon{opacity:.85;display:flex}.sidebar-group-icon svg{width:16px;height:16px}.sidebar-group-chevron{opacity:.7;width:14px;height:14px;margin-left:auto;transition:transform .25s}.sidebar-group-chevron.open{transform:rotate(180deg)}.sidebar-group-items{border-left:1px solid #ffffff0f;flex-direction:column;gap:2px;margin:2px 0 6px 21px;padding-left:10px;display:flex}.sidebar-link-nested{border-radius:10px;padding:.55rem .75rem;font-size:.875rem}.sidebar-link{color:#94a3b8;border-radius:12px;align-items:center;gap:12px;padding:.75rem 1rem;font-size:.95rem;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.sidebar-link:hover{color:#e2e8f0;background:#ffffff0a}.sidebar-link-active{color:#818cf8;background:linear-gradient(135deg,#6366f126,#8b5cf61a);border:1px solid #6366f133}.sidebar-footer{border-top:1px solid #ffffff0a;padding:1rem}.sidebar-user{align-items:center;gap:12px;padding:.5rem;display:flex}.sidebar-user-avatar{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.8rem;font-weight:700;display:flex}.sidebar-user-info{flex-direction:column;display:flex}.sidebar-user-name{color:#f1f5f9;font-size:.85rem;font-weight:600}.sidebar-user-role{color:#64748b;text-transform:capitalize;font-size:.75rem}.sidebar-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:90;background:#00000080;position:fixed;inset:0}@media (max-width:1023px){.sidebar{height:100vh;position:fixed;transform:translate(-100%)}.sidebar-open{transform:translate(0)}}.dashboard-content{flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.dashboard-topbar{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:40;background:#06060bcc;border-bottom:1px solid #ffffff0a;justify-content:space-between;align-items:center;height:72px;padding:0 2rem;display:flex;position:sticky;top:0}.mobile-menu-btn{color:#e2e8f0;cursor:pointer;background:0 0;border:none;padding:8px;display:none}@media (max-width:1023px){.mobile-menu-btn{display:block}.dashboard-topbar{padding:0 1rem}}@media (min-width:1024px){.sidebar.sidebar-collapsed{width:72px}.sidebar.sidebar-collapsed .sidebar-logo{justify-content:center;padding:1.25rem .5rem}.sidebar.sidebar-collapsed .sidebar-logo-text{display:none}.sidebar.sidebar-collapsed .sidebar-collapse-btn{color:#818cf8;background:#6366f11f;border-color:#6366f140;border-radius:12px;width:44px;height:44px;margin:0 auto;display:flex}.sidebar.sidebar-collapsed .sidebar-collapse-btn:hover{color:#a5b4fc;background:#6366f133;border-color:#6366f166}.sidebar.sidebar-collapsed .sidebar-nav{align-items:center;padding:1rem .5rem;overflow:visible}.sidebar.sidebar-collapsed .sidebar-link{border-radius:12px;justify-content:center;width:44px;height:44px;margin:0 auto;padding:0}.sidebar.sidebar-collapsed .sidebar-link-label{display:none}.sidebar.sidebar-collapsed .sidebar-group{align-items:center;width:100%;position:relative}.sidebar.sidebar-collapsed .sidebar-group-header{border-radius:12px;justify-content:center;width:44px;height:44px;margin:0 auto;padding:0}.sidebar.sidebar-collapsed .sidebar-group-header.active-group{color:#818cf8;background:#6366f126}.sidebar.sidebar-collapsed .sidebar-group-label,.sidebar.sidebar-collapsed .sidebar-group-chevron,.sidebar.sidebar-collapsed .sidebar-group-items{display:none}.sidebar.sidebar-collapsed .sidebar-user{justify-content:center;padding:.5rem 0}.sidebar.sidebar-collapsed .sidebar-user-info{display:none}.sidebar.sidebar-collapsed .sidebar-group-flyout{z-index:300;-webkit-backdrop-filter:blur(25px);backdrop-filter:blur(25px);background:#0f101d;border:1px solid #ffffff1f;border-radius:14px;flex-direction:column;gap:4px;min-width:210px;padding:.6rem;animation:.15s ease-out sidebarFlyoutFadeIn;display:none;position:absolute;top:0;left:calc(100% + 10px);box-shadow:0 12px 36px #0009,0 0 0 1px #ffffff0d}.sidebar.sidebar-collapsed .sidebar-group-flyout:before{content:"";width:12px;position:absolute;top:0;bottom:0;left:-12px}.sidebar.sidebar-collapsed .sidebar-group:hover .sidebar-group-flyout,.sidebar.sidebar-collapsed .sidebar-group-flyout:hover{display:flex}.sidebar-flyout-title{text-transform:uppercase;letter-spacing:.06em;color:#64748b;border-bottom:1px solid #ffffff0f;margin-bottom:2px;padding:.35rem .6rem .5rem;font-size:.72rem;font-weight:700}.sidebar-flyout-items{flex-direction:column;gap:2px;display:flex}.sidebar-flyout-link{color:#94a3b8;border-radius:8px;align-items:center;gap:10px;padding:.5rem .65rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.sidebar-flyout-link:hover{color:#f1f5f9;background:#ffffff0f}.sidebar-flyout-link.active{color:#818cf8;background:#6366f126;font-weight:600}.sidebar-flyout-link-icon{opacity:.85;align-items:center;display:flex}.sidebar-flyout-link-icon svg{width:16px;height:16px}.dashboard-layout.sidebar-collapsed .dashboard-content-inner{max-width:100%;padding-left:.5rem;padding-right:.5rem}}@keyframes sidebarFlyoutFadeIn{0%{opacity:0;transform:translate(-6px)}to{opacity:1;transform:translate(0)}}.consultation-full-view{transition:all .3s;max-width:100%!important}.dashboard-topbar-right{align-items:center;gap:1.5rem;margin-left:auto;display:flex}.dashboard-main-content{flex:1;padding:2rem;overflow-y:auto}.dashboard-content-inner{flex-direction:column;gap:1.5rem;max-width:1200px;margin:0 auto;display:flex}.dashboard-header-flex{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.dashboard-title{color:#f1f5f9;letter-spacing:-.02em;font-size:1.75rem;font-weight:800}.dashboard-subtitle{color:#94a3b8;margin-top:.25rem;font-size:.95rem}.dashboard-card{-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);background:#0f0f1999;border:1px solid #ffffff0f;border-radius:16px;padding:1.5rem}.dashboard-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;display:grid}.action-card{cursor:pointer;flex-direction:column;text-decoration:none;transition:all .3s;display:flex}.action-card:hover{border-color:#6366f166;transform:translateY(-4px);box-shadow:0 10px 30px #6366f11a}.dashboard-card-icon{border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:1rem;display:flex}.data-table-container{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%}.data-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;background:#ffffff05;border-bottom:1px solid #ffffff0f;padding:1rem 1.5rem;font-size:.75rem;font-weight:600}.data-table td{color:#e2e8f0;border-bottom:1px solid #ffffff0a;padding:1.25rem 1.5rem;font-size:.9rem}.data-table tbody tr:hover{background:#ffffff05}.data-table-loading,.data-table-empty{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:4rem 2rem;display:flex}.pagination-wrapper{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;display:flex}.pagination-info{color:#94a3b8;font-size:.85rem}.pagination-buttons{align-items:center;gap:.25rem;display:flex}.pagination-btn{color:#e2e8f0;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;padding:.35rem .75rem;font-size:.85rem;transition:all .2s}.pagination-btn:hover:not(:disabled){background:#ffffff1a}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-active{color:#fff;background:#6366f1;border-color:#6366f1}.pagination-dots{color:#94a3b8;padding:0 .25rem}.modal-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1000;background:#0009;justify-content:center;align-items:center;padding:1rem;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#0f0f19;border:1px solid #ffffff1a;border-radius:16px;flex-direction:column;width:100%;max-height:90vh;animation:.3s cubic-bezier(.16,1,.3,1) modalSlideUp;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #00000080}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(20px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}.modal-sm{max-width:400px}.modal-md{max-width:500px}.modal-lg{max-width:700px}.modal-xl{max-width:900px}.modal-full{width:96vw!important;max-width:1400px!important;height:94vh!important;max-height:94vh!important}@keyframes modalShake{0%,to{transform:translate(0)}20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}.modal-shake{animation:.35s ease-in-out modalShake!important}.register-patient-grid{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}@media (max-width:960px){.register-patient-grid{grid-template-columns:1fr}}.form-panel{background:#ffffff05;border:1px solid #ffffff12;border-radius:14px;flex-direction:column;gap:1rem;padding:1.25rem;display:flex}.form-panel-title{color:#f1f5f9;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;margin:0;padding-bottom:.6rem;font-size:.95rem;font-weight:700;display:flex}.quick-chip{color:#94a3b8;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;padding:3px 9px;font-size:.75rem;transition:all .15s}.quick-chip:hover{color:#c7d2fe;background:#6366f126;border-color:#6366f159}.modal-header{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;padding:1.5rem;display:flex}.modal-header h3{color:#f1f5f9;margin:0;font-size:1.25rem;font-weight:700}.modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px;transition:all .2s}.modal-close-btn:hover{color:#f1f5f9;background:#ffffff1a}.modal-body{flex:1;min-height:0;padding:1.5rem;overflow-y:auto}.modal-footer{z-index:10;background:#0f0f19;border-top:1px solid #ffffff14;flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex}html.light .modal-footer{background:#fff;border-top-color:#00000014}.toast-container{z-index:2000;pointer-events:none;flex-direction:column;gap:10px;display:flex;position:fixed;bottom:24px;right:24px}.toast{pointer-events:auto;color:#f1f5f9;background:#1e1e2d;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:12px;max-width:350px;padding:12px 16px;font-size:.9rem;animation:.3s cubic-bezier(.16,1,.3,1) toastSlideIn;display:flex;box-shadow:0 10px 25px #0000004d}@keyframes toastSlideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.toast-success .toast-icon{color:#34d399}.toast-error .toast-icon{color:#f87171}.toast-info .toast-icon{color:#60a5fa}.toast-message{flex:1}.toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:1.25rem;line-height:1}.form-group{flex-direction:column;gap:6px;margin-bottom:0;display:flex}.form-group label{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;font-weight:600}.form-input,.auth-input,select.auth-input,textarea.auth-input{color:#e2e8f0;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:10px;outline:none;width:100%;padding:10px 14px;font-family:inherit;font-size:.9rem;transition:all .2s}.form-input:focus,.auth-input:focus{background:#6366f10a;border-color:#6366f180;box-shadow:0 0 0 3px #6366f11a}.form-input::placeholder,.auth-input::placeholder{color:#475569}select.auth-input option{color:#e2e8f0;background:#1e293b}.form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.form-row-3{grid-template-columns:1fr 1fr 1fr;gap:1rem;display:grid}.auth-input-group{flex-direction:column;gap:6px;display:flex}.auth-input-group label{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;font-size:.8rem;font-weight:600}.auth-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6366f1,#7c3aed);border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px 20px;font-family:inherit;font-size:.9rem;font-weight:600;transition:all .3s;display:flex;box-shadow:0 4px 16px #6366f140}.auth-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px #6366f159}.auth-btn:disabled{opacity:.6;cursor:not-allowed}.form-section-title{color:#f1f5f9;border-bottom:1px solid #ffffff0f;margin-top:1.5rem;margin-bottom:1rem;padding-bottom:.5rem;font-size:.95rem;font-weight:700}.form-section-title:first-child{margin-top:0}.search-bar{background:#ffffff0a;border:1px solid #ffffff14;border-radius:12px;align-items:center;gap:.75rem;max-width:400px;padding:10px 16px;transition:all .2s;display:flex}.search-bar:focus-within{background:#6366f10a;border-color:#6366f166}.search-bar svg{color:#64748b;flex-shrink:0}.search-bar input{color:#e2e8f0;background:0 0;border:none;outline:none;width:100%;font-family:inherit;font-size:.9rem}.search-bar input::placeholder{color:#475569}.tab-container{flex-direction:column;gap:0;display:flex}.tab-header{scrollbar-width:none;border-bottom:1px solid #ffffff0f;gap:0;display:flex;overflow-x:auto}.tab-header::-webkit-scrollbar{display:none}.tab-btn{color:#94a3b8;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;padding:.75rem 1.25rem;font-family:inherit;font-size:.9rem;font-weight:500;transition:all .2s}.tab-btn:hover{color:#e2e8f0;background:#ffffff05}.tab-btn-active{color:#818cf8;border-bottom-color:#6366f1}.tab-content{padding:1.5rem 0}.patient-header-card{background:linear-gradient(135deg,#6366f114,#8b5cf60a);border:1px solid #6366f11a;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1.5rem;display:flex}.patient-header-info{align-items:center;gap:1.25rem;display:flex}.patient-avatar{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:14px;justify-content:center;align-items:center;width:56px;height:56px;font-size:1.1rem;font-weight:800;display:flex}.patient-meta h2{color:#f1f5f9;margin:0 0 4px;font-size:1.25rem;font-weight:700}.patient-meta-row{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.patient-meta-item{color:#94a3b8;align-items:center;gap:4px;font-size:.85rem;display:flex}.patient-meta-item strong{color:#e2e8f0;font-weight:600}.patient-header-actions{flex-wrap:wrap;gap:.75rem;display:flex}.vital-badge{border-radius:50px;align-items:center;gap:4px;padding:2px 10px;font-size:.8rem;font-weight:600;display:inline-flex}.vital-normal{color:#34d399;background:#34d3991a;border:1px solid #34d39933}.vital-warning{color:#fbbf24;background:#fbbf241a;border:1px solid #fbbf2433}.vital-critical{color:#f87171;background:#f871711a;border:1px solid #f8717133}.vitals-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;display:grid}.print-btn{color:#e2e8f0;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-family:inherit;font-size:.85rem;transition:all .2s;display:flex}.print-btn:hover{background:#ffffff14;border-color:#ffffff26}.status-badge{text-transform:capitalize;border-radius:50px;padding:2px 10px;font-size:.78rem;font-weight:600;display:inline-flex}.status-pending{color:#fbbf24;background:#fbbf241a}.status-completed{color:#34d399;background:#34d3991a}.status-in_progress{color:#60a5fa;background:#60a5fa1a}@media print{body{color:#000!important;background:#fff!important}.sidebar,.sidebar-overlay,.dashboard-topbar,.mobile-menu-btn,.tab-header,.patient-header-actions,.print-btn,.auth-btn,.toast-container,.no-print{display:none!important}.dashboard-layout{display:block!important}.dashboard-content,.dashboard-main-content,.dashboard-content-inner{max-width:100%!important;padding:0!important}.dashboard-card{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#fff!important;border:1px solid #ddd!important}.patient-header-card{color:#000!important;background:#fff!important;border:1px solid #ddd!important}.patient-meta h2{color:#000!important}.patient-meta-item{color:#333!important}.patient-meta-item strong{color:#000!important}.data-table th{color:#000!important;background:#f5f5f5!important;border-bottom:2px solid #333!important}.data-table td{color:#000!important;border-bottom:1px solid #ddd!important}.print-header{text-align:center;border-bottom:2px solid #000;margin-bottom:1rem;padding-bottom:1rem;display:block!important}.print-header h1{margin:0;font-size:1.5rem}.print-header p{color:#666;margin:4px 0 0;font-size:.9rem}}.print-header{display:none}.theme-toggle-btn{color:#94a3b8;cursor:pointer;white-space:nowrap;background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;flex-shrink:0;align-items:center;gap:6px;padding:7px 14px;font-family:inherit;font-size:.82rem;font-weight:600;transition:all .25s;display:flex}.theme-toggle-btn:hover{color:#818cf8;background:#6366f11f;border-color:#6366f14d;transform:translateY(-1px);box-shadow:0 4px 12px #6366f126}.theme-toggle-btn svg{flex-shrink:0;transition:transform .3s}.theme-toggle-btn:hover svg{transform:rotate(20deg)}.theme-toggle-placeholder{flex-shrink:0;width:80px;height:36px}*,:before,:after{transition:background-color .25s,border-color .25s,color .2s}html.light body,html.light .dashboard-layout{color:#0f172a;background-color:#f1f5f9}html.light .sidebar{background:#ffffffeb;border-right-color:#00000012}html.light .sidebar-logo{border-bottom-color:#0000000f}html.light .sidebar-logo-text,html.light .sidebar-user-name{color:#0f172a}html.light .sidebar-link{color:#475569}html.light .sidebar-link:hover{color:#1e293b;background:#6366f10f}html.light .sidebar-link-active{color:#4f46e5;background:linear-gradient(135deg,#6366f11f,#8b5cf614);border-color:#6366f133}html.light .sidebar-footer{border-top-color:#0000000f}html.light .sidebar-group-header:hover{color:#334155;background:#6366f10d}html.light .sidebar-group-items{border-left-color:#00000014}html.light .sidebar-user-role{color:#64748b}html.light .sidebar-collapse-btn{color:#64748b;border-color:#00000014}html.light .sidebar-collapse-btn:hover{color:#0f172a;background:#0000000d;border-color:#00000026}html.light .sidebar.sidebar-collapsed .sidebar-collapse-btn{color:#4f46e5;background:#6366f114;border-color:#6366f133}html.light .sidebar.sidebar-collapsed .sidebar-collapse-btn:hover{color:#4338ca;background:#6366f126;border-color:#6366f159}html.light .sidebar.sidebar-collapsed .sidebar-group-flyout{background:#fff;border-color:#00000014;box-shadow:0 12px 36px #0000001f,0 0 0 1px #0000000a}html.light .sidebar-flyout-title{color:#94a3b8;border-bottom-color:#0000000f}html.light .sidebar-flyout-link{color:#475569}html.light .sidebar-flyout-link:hover{color:#0f172a;background:#0000000a}html.light .sidebar-flyout-link.active{color:#4f46e5;background:#6366f11a}html.light .dashboard-topbar{background:#ffffffd9;border-bottom-color:#00000012}html.light .mobile-menu-btn{color:#334155}html.light .dashboard-card{background:#ffffffd9;border-color:#0000000f}html.light .dashboard-card:hover{border-color:#6366f133}html.light .dashboard-title{color:#0f172a}html.light .dashboard-subtitle{color:#64748b}html.light .dashboard-user-pill{background:#f1f5f9cc;border-color:#00000014}html.light .dashboard-user-name{color:#1e293b}html.light .auth-input,html.light .auth-field input,html.light select.auth-input{color:#0f172a;background:#f8fafc;border-color:#0000001f}html.light .auth-input:focus,html.light .auth-field input:focus{background:#fff;border-color:#6366f180}html.light .auth-container{background:#ffffffd9;border-color:#0000000f;box-shadow:0 20px 60px #00000014,0 0 100px #6366f10a}html.light .auth-brand-panel{background:linear-gradient(135deg,#6366f10f,#8b5cf60a);border-right-color:#0000000f}html.light .auth-brand-title,html.light .auth-logo-text{color:#0f172a}html.light .auth-brand-desc,html.light .auth-feature-item{color:#475569}html.light .data-table tr:hover td{background:#6366f108!important}html.light .dashboard-content-inner label,html.light [style*="color: #94a3b8"],html.light [style*="color:#94a3b8"]{color:#64748b!important}html.light [style*="color: #f1f5f9"],html.light [style*="color:#f1f5f9"],html.light [style*="color: #e2e8f0"],html.light [style*="color:#e2e8f0"]{color:#0f172a!important}html.light [style*="color: #cbd5e1"],html.light [style*="color:#cbd5e1"]{color:#334155!important}html.light [style*="background: rgba(255,255,255,0.02)"],html.light [style*="background:rgba(255,255,255,0.02)"]{background:#00000005!important}html.light [style*="borderBottom: '1px solid rgba(255,255,255,0.08)'"]{border-bottom-color:#00000012!important}html.light .modal-overlay{background:#0000004d}html.light .modal-content{box-shadow:0 25px 50px -12px #00000026}html.light .modal-header{background:#f1f5f980}html.light .theme-toggle-btn{color:#475569;background:#0000000a;border-color:#0000001a}html.light .theme-toggle-btn:hover{color:#4f46e5;background:#6366f114;border-color:#6366f140}html.light .searchable-select-input,html.light .searchable-select-dropdown{color:#0f172a;background:#fff;border-color:#0000001f}html.light .pagination-btn{color:#334155;background:#00000008;border-color:#00000014}html.light .pagination-btn:hover:not(:disabled){color:#4f46e5;background:#6366f114}html.light .subscription-warning{background:#f59e0b0f;border-color:#f59e0b33}html.light .dashboard-loading{color:#64748b;background:#f1f5f9}html.light .auth-bg-glow{opacity:.06!important}html.light .auth-grid-bg{background-image:linear-gradient(#00000005 1px,#0000 1px),linear-gradient(90deg,#00000005 1px,#0000 1px)}html.light .auth-page{background:linear-gradient(135deg,#f8faff 0%,#f1f5ff 100%)}html.light .form-input,html.light .auth-input,html.light select.auth-input,html.light textarea.auth-input{color:#0f172a;background:#f8fafc;border-color:#0000001f}html.light select.auth-input option{color:#0f172a;background:#fff}html.light .form-input::placeholder,html.light .auth-input::placeholder{color:#94a3b8}html.light .dashboard-card h3{color:#0f172a}html.light [style*="background: '#06060b'"],html.light [style*="background: #06060b"],html.light div[style*="background: '#06060b'"],html.light div[style*="height: '100vh'"][style*=background]{background:#f1f5f9!important}html.light .auth-glow-1,html.light .auth-glow-2{opacity:.04!important}html.light .dashboard-logout-btn{background:var(--st-danger-bg);color:var(--st-danger);border-color:#b91c1c2e}html.light .dashboard-logout-btn:hover{background:#ef44441a}html.light .auth-form-header h2{color:#0f172a}html.light .auth-form-header p{color:#64748b}html.light .auth-field label{color:#475569}html.light .auth-switch-link{color:#64748b}html.light .subscription-disabled-overlay-bg{background:#0003}html.light .modal-content{background:#fff;border-color:#00000014}html.light .modal-header{background:#f8fafc;border-bottom-color:#00000012}html.light .modal-header h3{color:#0f172a}html.light .modal-close-btn{color:#64748b}html.light .modal-close-btn:hover{color:#dc2626;background:#ef444414}html.light .modal-body{color:#0f172a;background:#fff}html.light .data-table-container{background:0 0}html.light .data-table th{color:#475569!important;background:#f1f5f9!important;border-bottom-color:#00000014!important}html.light .data-table td{color:#1e293b!important;border-bottom-color:#0000000d!important}html.light .data-table tbody tr:hover{background:#6366f10a!important}html.light .data-table-loading,html.light .data-table-empty{color:#64748b}html.light .search-bar{background:#f8fafc;border-color:#0000001a}html.light .search-bar:focus-within{background:#fff;border-color:#6366f166}html.light .search-bar input{color:#0f172a}html.light .search-bar input::placeholder,html.light .search-bar svg{color:#94a3b8}html.light .form-section-title{color:#0f172a;border-bottom-color:#00000012}html.light .auth-input-group label{color:#475569}html.light .tab-header{border-bottom-color:#00000012}html.light .tab-btn{color:#64748b}html.light .tab-btn:hover{color:#1e293b;background:#00000008}html.light .tab-btn-active{color:#4f46e5;border-bottom-color:#4f46e5}html.light .patient-header-card{background:linear-gradient(135deg,#6366f10f,#8b5cf608);border-color:#6366f11f}html.light .patient-meta h2{color:#0f172a}html.light .patient-meta-item{color:#64748b}html.light .patient-meta-item strong{color:#1e293b}html.light .dashboard-card h3,html.light .dashboard-card h2,html.light .dashboard-card h4{color:#0f172a!important}html.light .dashboard-card span[style*=\#e2e8f0],html.light .dashboard-card span[style*=\#f1f5f9],html.light .dashboard-card span[style*=\#cbd5e1]{color:#1e293b!important}html.light .dashboard-card table th{color:#475569!important;border-bottom-color:#00000012!important}html.light .dashboard-card table td{color:#1e293b!important;border-bottom-color:#0000000a!important}html.light .dashboard-card table thead tr{background:#00000005!important;border-bottom-color:#00000012!important}html.light .dashboard-card table tbody tr{border-bottom-color:#00000008!important}html.light .dashboard-card table td span[style*="background: rgba(34"]{background:#22c55e1f!important}html.light .dashboard-card[style*="0.75rem 1.25rem"] span[style*=\#94a3b8]{color:#64748b!important}html.light .dashboard-card[style*="0.75rem 1.25rem"] span[style*=\#e2e8f0]{color:#1e293b!important}html.light .auth-form .auth-input-group label{color:#475569}html.light .auth-form label[style*=\#f1f5f9]{color:#1e293b!important}html.light [style*="rgba(99, 102, 241, 0.05)"][style*="border: '1px solid rgba(99, 102, 241, 0.2)'"],html.light div[style*="background: rgba(99, 102, 241, 0.05)"]{background:#6366f10a!important;border-color:#6366f126!important}html.light [style*="color: '#f1f5f9'"],html.light [style*="color: #f1f5f9"]{color:#0f172a!important}html.light [style*="color: '#e2e8f0'"],html.light [style*="color: #e2e8f0"]{color:#1e293b!important}html.light [style*="color: '#cbd5e1'"],html.light [style*="color: #cbd5e1"]{color:#334155!important}html.light [style*="color: '#94a3b8'"],html.light [style*="color: #94a3b8"]{color:#64748b!important}html.light span[style*="background: rgba(34, 197, 94, 0.15)"],html.light span[style*="background:rgba(34, 197, 94, 0.15)"]{background:#22c55e1f!important}html.light span[style*="background: rgba(234, 179, 8, 0.15)"],html.light span[style*="background:rgba(234, 179, 8, 0.15)"]{background:#eab3081f!important}html.light div[style*="background: 'rgba(255,255,255,0.06)'"],html.light div[style*="background: rgba(255,255,255,0.06)"]{background:#0000000f!important}html.light .subscription-warning-banner{color:#92400e;background:#f59e0b12;border-color:#f59e0b33}html.light .data-table-loading span,html.light .data-table-empty p{color:#64748b}html.light [style*="color: '#f1f5f9'"][style*="margin: 0"]{color:#0f172a!important}html.light div[style*="padding: '1.5rem'"] h3{color:#0f172a}html.light .form-input{color:#0f172a;background:#f8fafc;border-color:#0000001f}html.light .form-input option{color:#0f172a;background:#fff}html.light span[style*="rgba(34, 197, 94, 0.2)"]{background:#22c55e1f!important}html.light .dashboard-card label[style*=\#94a3b8]{color:#64748b!important}html.light div[style*="rgba(99, 102, 241, 0.05)"]{background:#6366f10a!important}html.light .sidebar-link-icon{color:inherit}.history-card{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;padding:1.25rem;transition:background .2s,border-color .2s}.history-card.history-card--current{background:#6366f114;border-color:#6366f14d}.history-card-date{color:#e2e8f0;font-size:.95rem;font-weight:600}.history-card-reason{color:#e2e8f0;margin:0;font-size:.85rem}.history-card-meta{color:#94a3b8;margin:0 0 .5rem;font-size:.85rem}.soap-block{background:#ffffff05;border:1px solid #ffffff0d;border-radius:6px;margin-top:.35rem;padding:.5rem .75rem}.soap-text{color:#cbd5e1;margin:0;font-size:.8rem}.history-item-row{border-radius:6px;justify-content:space-between;align-items:center;padding:.4rem .75rem;display:flex}.history-item-row--procedure{background:#eab3080a;border-left:2px solid #eab30866}.history-item-row--lab{background:#f472b60a;border-left:2px solid #f472b666}.history-item-row--rx{background:#34d3990a;border-left:2px solid #34d39966}.history-item-name{color:#e2e8f0;font-size:.8rem}.history-item-code{color:#64748b;margin-left:.35rem}.history-item-note{color:#94a3b8;margin-left:.35rem}.history-reason-block{background:#6366f10f;border-left:3px solid #818cf8;border-radius:6px;margin-bottom:.75rem;padding:.5rem .75rem}.history-reason-text{color:#e2e8f0;margin:0;font-size:.85rem}.billing-item-name{color:#e2e8f0}.billing-label{color:#94a3b8}.billing-value{color:#e2e8f0}.billing-divider{border-top:1px solid #ffffff1a}html.light .history-card{background:#fff;border-color:#00000012}html.light .history-card.history-card--current{background:#6366f10d;border-color:#6366f133}html.light .history-card-date{color:#0f172a}html.light .history-card-reason{color:#1e293b}html.light .history-card-meta{color:#475569}html.light .soap-block{background:#6366f10a;border-color:#6366f11a}html.light .soap-text,html.light .history-item-name{color:#1e293b}html.light .history-item-code,html.light .history-item-note{color:#64748b}html.light .history-reason-block{background:#6366f10d}html.light .history-reason-text,html.light .billing-item-name{color:#1e293b}html.light .billing-label{color:#475569}html.light .billing-value{color:#1e293b}html.light .billing-divider{border-top-color:#00000014}html.light .dashboard-card[style*="rgba(255,255,255,0.02)"],html.light .dashboard-card[style*="rgba(255, 255, 255, 0.02)"]{background:#fff!important;border-color:#00000012!important}html.light .dashboard-card[style*="rgba(99, 102, 241, 0.08)"]{background:#6366f10d!important;border-color:#6366f133!important}html.light div[style*="background: rgba(255,255,255,0.02)"][style*="border: 1px solid rgba(255,255,255,0.05)"],html.light div[style*="background: 'rgba(255,255,255,0.02)'"]{background:#f8fafc!important;border-color:#00000012!important}html.light div[style*="background: rgba(99,102,241,0.06)"],html.light div[style*="background: 'rgba(99,102,241,0.06)'"]{background:#6366f10d!important}html.light p[style*="color: '#e2e8f0'"],html.light p[style*="color: #e2e8f0"],html.light p[style*="color: '#cbd5e1'"],html.light p[style*="color: #cbd5e1"],html.light span[style*="color: '#e2e8f0'"],html.light span[style*="color: #e2e8f0"]{color:#1e293b!important}html.light span[style*="color: '#94a3b8'"],html.light span[style*="color: #94a3b8"],html.light p[style*="color: '#94a3b8'"],html.light p[style*="color: #94a3b8"],html.light div[style*="color: '#94a3b8'"],html.light div[style*="color: #94a3b8"]{color:#475569!important}html.light span[style*="color: '#cbd5e1'"],html.light span[style*="color: #cbd5e1"]{color:#334155!important}html.light span[style*="color: '#f1f5f9'"],html.light span[style*="color: #f1f5f9"],html.light h3[style*="color: '#f1f5f9'"],html.light h3[style*="color: #f1f5f9"],html.light h4[style*="color: '#f1f5f9'"],html.light h4[style*="color: #f1f5f9"]{color:#0f172a!important}html.light div[style*="background: rgba(234,179,8,0.04)"],html.light div[style*="background: rgba(234, 179, 8, 0.04)"]{background:#eab3080d!important}html.light div[style*="background: rgba(244,114,182,0.04)"],html.light div[style*="background: rgba(244, 114, 182, 0.04)"]{background:#f472b60d!important}html.light div[style*="background: rgba(52,211,153,0.04)"],html.light div[style*="background: rgba(52, 211, 153, 0.04)"]{background:#34d3990d!important}html.light div[style*="borderTop: '1px solid rgba(255,255,255,0.1)'"],html.light div[style*="border-top: 1px solid rgba(255,255,255,0.1)"],html.light div[style*=borderTop][style*="rgba(255,255,255,0.1)"]{border-top-color:#00000014!important}html.light div[style*="borderBottom: '1px solid rgba(255,255,255,0.06)'"],html.light div[style*=borderBottom][style*="rgba(255,255,255,0.06)"]{border-bottom-color:#00000012!important}html.light p[style*="color: '#64748b'"],html.light p[style*="color: #64748b"]{color:#64748b!important}html.light .dashboard-card[style*="rgba(99, 102, 241, 0.05)"]{background:#6366f10d!important}html.light span[style*="color: '#475569'"],html.light span[style*="color: #475569"]{color:#475569!important}html.light div[style*="color: '#f1f5f9'"],html.light .dashboard-content-inner h3[style],html.light .dashboard-content-inner h4[style],html.light div[style*="padding: '1.5rem'"] h3,html.light div[style*="padding: 1.5rem"] h3{color:#0f172a!important}html.light div[style*="background: rgba(255,255,255,0.03)"],html.light div[style*="background: 'rgba(255,255,255,0.03)'"]{background:#f8fafc!important;border-color:#0000000f!important}html.light div[style*="background: rgba(255,255,255,0.02)"][style*="border: 1px solid rgba(255,255,255,0.08)"],html.light div[style*="background: 'rgba(255,255,255,0.02)'"][style*="border: '1px solid rgba(255,255,255,0.08)'"]{background:#f8fafc!important;border-color:#00000012!important}html.light div[style*="background: rgba(255,255,255,0.02)"],html.light div[style*="background: rgba(255, 255, 255, 0.02)"],html.light div[style*="background: rgba(255,255,255,0.03)"]{background:#f8fafc!important}html.light div[style*="background: rgba(255,255,255,0.02)"] h4,html.light div[style*="background: rgba(255,255,255,0.03)"] h4,html.light div[style*="background: rgba(255, 255, 255, 0.02)"] h4{color:#0f172a!important}html.light div[style*="background: rgba(34, 197, 94, 0.05)"]{background:#22c55e0a!important;border-color:#22c55e26!important}html.light div[style*="background: rgba(234, 179, 8, 0.05)"]{background:#eab3080a!important}html.light div[style*="background: rgba(99, 102, 241, 0.05)"][style*="border: 1px solid rgba(99, 102, 241, 0.15)"]{background:#6366f10a!important;border-color:#6366f11f!important}html.light div[style*="rgba(255,255,255"] strong,html.light div[style*="rgba(99, 102, 241"] strong{color:#0f172a!important}html.light strong[style*="color: '#94a3b8'"],html.light strong[style*="color: #94a3b8"]{color:#475569!important}html.light span[style*="color: '#818cf8'"],html.light span[style*="color: #818cf8"]{color:#4f46e5!important}html.light span[style*="color: '#94a3b8'"][style*="background: rgba(100, 116, 139"]{color:#475569!important;background:#64748b1a!important}html.light p[style*="color: '#475569'"]{color:#64748b!important}html.light p[style*="color: '#e2e8f0'"]{color:#1e293b!important}html.light div[style*="borderTop: '1px solid rgba(255,255,255,0.1)'"],html.light div[style*=border-top][style*="rgba(255,255,255,0.1)"]{border-top-color:#0000001a!important}html.light div[style*=borderBottom][style*="rgba(255,255,255,0.06)"]{border-bottom-color:#00000012!important}.txt-primary{color:#f1f5f9}.txt-secondary{color:#94a3b8}.txt-muted{color:#64748b}.txt-body{color:#e2e8f0}.txt-slate{color:#cbd5e1}.txt-brand{color:#818cf8}html.light .txt-primary{color:#0f172a}html.light .txt-secondary{color:#475569}html.light .txt-muted{color:#64748b}html.light .txt-body{color:#1e293b}html.light .txt-slate{color:#334155}html.light .txt-brand{color:#4f46e5}.panel-dark{background:#ffffff05;border:1px solid #ffffff12;border-radius:10px;padding:1rem;transition:background .2s,border-color .2s}html.light .panel-dark{background:#fff;border-color:#00000014}.panel-indigo{background:#6366f10f;border:1px solid #6366f126;border-radius:10px;padding:1rem}html.light .panel-indigo{background:#6366f10d;border-color:#6366f121}.panel-green{background:#22c55e0d;border:1px solid #22c55e26;border-radius:10px;padding:1rem}html.light .panel-green{background:#22c55e0a;border-color:#22c55e26}.panel-amber{background:#eab3080d;border:1px solid #eab30826;border-radius:8px;padding:1rem}html.light .panel-amber{background:#eab3080a;border-color:#eab30826}.soap-card{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;padding:1.25rem;transition:background .2s,border-color .2s}html.light .soap-card{background:#fff;border-color:#00000014;box-shadow:0 1px 4px #0000000d}.soap-section-label{color:#818cf8;text-transform:uppercase;letter-spacing:.06em;margin:0 0 .4rem;font-size:.78rem;font-weight:700}html.light .soap-section-label{color:#4f46e5}.soap-section-body{color:#e2e8f0;white-space:pre-wrap;margin:0;font-size:.9rem;line-height:1.6}html.light .soap-section-body{color:#1e293b}.soap-meta-date{color:#64748b;margin-bottom:.75rem;font-size:.75rem}html.light .soap-meta-date{color:#64748b}.soap-label-hint{font-size:.8rem}html.light .soap-label-hint{color:#64748b}.vh-card{background:#ffffff05;border:1px solid #ffffff0f;border-left:3px solid #818cf8;border-radius:6px;transition:background .2s,border-color .2s;overflow:hidden}html.light .vh-card{background:#f8fafc;border-color:#0000000f #0000000f #0000000f #6366f1}html.light .vh-card:hover{background:#fff;box-shadow:0 2px 8px #6366f114}.vh-card-inner{cursor:pointer;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .85rem;display:flex}.vh-date{color:#94a3b8;white-space:nowrap;font-size:.8rem;font-weight:500}html.light .vh-date{color:#475569;font-weight:600}.vh-reason{color:#e2e8f0;font-size:.8rem;font-weight:500}html.light .vh-reason{color:#1e293b}.vh-view-link{color:#818cf8;white-space:nowrap;font-size:.72rem;font-weight:600}html.light .vh-view-link{color:#4f46e5}.section-heading{color:#f1f5f9;margin:0 0 .75rem;font-size:.95rem;font-weight:700}html.light .section-heading{color:#0f172a}.section-subheading{color:#818cf8;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .75rem;font-size:.85rem;font-weight:700}html.light .section-subheading{color:#4f46e5}.hist-card{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;padding:1.25rem;transition:background .2s,border-color .2s}html.light .hist-card{background:#fff;border-color:#00000014;box-shadow:0 1px 4px #0000000a}.hist-card--current{background:#6366f114;border-color:#6366f14d}html.light .hist-card--current{background:#6366f10d;border-color:#6366f133}.hist-date{color:#e2e8f0;font-size:.95rem;font-weight:600}html.light .hist-date{color:#0f172a}.reason-block{background:#6366f10f;border-left:3px solid #818cf8;border-radius:4px;margin-bottom:.75rem;padding:.5rem .85rem}html.light .reason-block{background:#6366f10d}.reason-text{color:#e2e8f0;margin:0;font-size:.85rem}html.light .reason-text{color:#1e293b}.item-row{border-radius:6px;justify-content:space-between;align-items:center;padding:.45rem .85rem;font-size:.82rem;display:flex}.item-row--proc{background:#eab3080d;border-left:2px solid #eab30880}.item-row--lab{background:#f472b60d;border-left:2px solid #f472b680}.item-row--rx{background:#34d3990d;border-left:2px solid #34d39980}.item-name{color:#e2e8f0;font-weight:500}html.light .item-name{color:#1e293b}.item-code{color:#64748b;margin-left:.35rem}html.light .item-code{color:#64748b}.item-note{color:#94a3b8;margin-left:.35rem}html.light .item-note{color:#64748b}.bill-row{justify-content:space-between;font-size:.9rem;display:flex}.bill-label{color:#94a3b8}html.light .bill-label{color:#475569}.bill-value{color:#e2e8f0}html.light .bill-value{color:#1e293b}.bill-item-name{color:#e2e8f0}html.light .bill-item-name{color:#1e293b}.bill-divider{border-top:1px solid #ffffff1a;margin-top:.5rem;padding-top:.75rem}html.light .bill-divider{border-top-color:#0000001a}.bill-separator{border-bottom:1px solid #ffffff0f;padding-bottom:1rem}html.light .bill-separator{border-bottom-color:#00000012}.vitals-label{color:#94a3b8;font-weight:600}html.light .vitals-label{color:#475569}.vitals-value{color:#e2e8f0}html.light .vitals-value{color:#1e293b}.meta-text{color:#94a3b8;margin:0 0 .5rem;font-size:.85rem}html.light .meta-text{color:#475569}.meta-strong{color:#e2e8f0;font-weight:600}html.light .meta-strong{color:#334155}.empty-text{color:#64748b;font-size:.9rem}html.light .empty-text{color:#64748b}.patient-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.25rem;margin-bottom:1.5rem;display:grid}.patient-kpi-card{background:#ffffff05;border:1px solid #ffffff14;border-radius:14px;align-items:center;gap:1rem;padding:1.1rem 1.25rem;transition:all .2s;display:flex}.patient-kpi-card:hover{background:#ffffff0a;border-color:#6366f140;transform:translateY(-2px)}.patient-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;font-size:1.3rem;display:flex}.patient-kpi-info{flex-direction:column;min-width:0;display:flex}.patient-kpi-label{text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;margin-bottom:2px;font-size:.76rem;font-weight:600}.patient-kpi-value{color:#f1f5f9;white-space:nowrap;text-overflow:ellipsis;font-size:1.15rem;font-weight:700;overflow:hidden}.patient-kpi-sub{color:#64748b;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:.75rem;overflow:hidden}html.light .patient-kpi-card{background:#fff;border-color:#00000014;box-shadow:0 1px 3px #0000000d}html.light .patient-kpi-card:hover{background:#f8fafc;border-color:#6366f14d}html.light .patient-kpi-value{color:#0f172a}.ehr-timeline{flex-direction:column;gap:1.25rem;display:flex;position:relative}.ehr-visit-card{background:#131322;border:1px solid #ffffff14;border-radius:16px;transition:all .2s;overflow:hidden;box-shadow:0 4px 16px -4px #0000004d}.ehr-visit-card:hover{border-color:#6366f14d}.ehr-visit-header{cursor:pointer;-webkit-user-select:none;user-select:none;background:#ffffff05;border-bottom:1px solid #ffffff0f;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:1.1rem 1.4rem;display:flex}.ehr-visit-header:hover{background:#ffffff0a}html.light .ehr-visit-card{background:#fff;border-color:#00000014;box-shadow:0 4px 16px -4px #0000000f}html.light .ehr-visit-header{background:#f8fafc;border-bottom-color:#0000000f}.clinical-badge{border-radius:999px;align-items:center;gap:5px;padding:3px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.clinical-box{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;padding:1rem}html.light .clinical-box{background:#f8fafc;border-color:#0000000f}.clinical-box-title{text-transform:uppercase;letter-spacing:.05em;justify-content:space-between;align-items:center;margin-bottom:.65rem;font-size:.8rem;font-weight:700;display:flex}.rx-row{background:#ffffff05;border:1px solid #ffffff0d;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.4rem;padding:.5rem .75rem;display:flex}html.light .rx-row{background:#fff;border-color:#0000000f}.a4-pad-modal-body{background:#e2e8f0;justify-content:center;padding:1.5rem;display:flex;overflow-y:auto}.a4-prescription-pad{box-sizing:border-box;flex-direction:column;justify-content:space-between;width:100%;max-width:210mm;min-height:280mm;padding:12mm 14mm;font-size:11.5px;line-height:1.45;display:flex;box-shadow:0 10px 30px #00000040;color:#0f172a!important;background:#fff!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif!important}.a4-header-top{width:100%;margin-bottom:0;padding-bottom:6px}.a4-header-doctor-row{background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;width:100%;margin-bottom:4px;padding:7px 0 6px}.a4-header-divider{border-bottom:2.5px solid #0f2b5c;margin-bottom:10px}.a4-hospital-info{width:100%}.a4-hospital-id{align-items:center;gap:9px;display:flex}.a4-hospital-logo{object-fit:contain;width:auto;max-width:84px;height:40px}.a4-hospital-name{color:#0f2b5c;letter-spacing:.04em;text-transform:uppercase;margin-bottom:2px;font-size:17px;font-weight:800}.a4-hospital-tagline{margin-bottom:3px;font-size:10.5px;font-weight:600;color:#3b82f6!important}.a4-hospital-contact{font-size:9.5px;color:#64748b!important}.a4-doctor-box{text-align:left;flex-wrap:wrap;align-items:baseline;gap:2px 14px;width:100%;display:flex}.a4-doc-name{width:100%;margin-bottom:1px;font-size:15px;font-weight:800;color:#0f2b5c!important}.a4-doc-spec{width:100%;font-size:11px;font-weight:700;color:#2563eb!important}.a4-doc-dept{font-size:10px;color:#475569!important}.a4-doc-degrees{width:100%;font-size:10px;font-weight:600;color:#1e293b!important}.a4-doc-exp-years{font-size:9.5px;color:#475569!important}.a4-doc-exp-list{flex-wrap:wrap;gap:0 20px;width:100%;margin:2px 0 0;padding-left:16px;font-size:9px;list-style:outside;display:flex;color:#475569!important}.a4-doc-exp-list li{margin-bottom:1px}.a4-doc-room{font-size:9.5px;font-weight:700;color:#0f2b5c!important}.a4-ruled-lines{flex-direction:column;gap:14px;margin-top:4px;display:flex}.a4-ruled-line{border-bottom:1px solid #e2e8f0;height:0}.a4-doc-license{width:100%;margin-top:3px;font-size:9.5px;font-weight:700;color:#0f2b5c!important}.a4-fee-row{background:#eff6ff;border:1.5px solid #bfdbfe;border-radius:5px;justify-content:space-between;align-items:center;margin-bottom:2px;padding:5px 10px;display:flex}.a4-fee-label{color:#1e3a8a;text-transform:uppercase;letter-spacing:.04em;font-size:10.5px;font-weight:700}.a4-fee-value{color:#1d4ed8;font-size:13px;font-weight:800}.a4-vitals-record{flex-direction:column;gap:5.5px;margin-top:3px;display:flex}.a4-vitals-record-row{white-space:nowrap;align-items:baseline;gap:6px;min-height:18px;display:flex}.a4-vr-label{color:#334155;white-space:nowrap;flex:0 0 82px;font-size:9.5px;font-weight:600}.a4-vr-blank{border-bottom:1px solid #94a3b8;flex:1;min-width:40px;height:13px}.a4-vr-unit{text-align:right;color:#94a3b8;white-space:nowrap;flex:0 0 46px;font-size:8.5px}.a4-patient-strip{border:1px solid #cbd5e1;border-radius:6px;margin-bottom:12px;padding:8px 12px;background:#f8fafc!important}.a4-patient-grid{grid-template-columns:repeat(4,1fr);gap:6px 12px;font-size:11px;display:grid}.a4-lbl{margin-right:4px;font-weight:500;color:#64748b!important}.a4-val{font-weight:600;color:#0f172a!important}.a4-bold{font-weight:700}.a4-body-columns{flex:1;gap:14px;min-height:202mm;margin-bottom:12px;display:flex}.a4-left-col{border-right:1.5px dashed #cbd5e1;flex-direction:column;gap:8px;width:38%;padding-right:12px;display:flex}.a4-right-col{flex-direction:column;gap:10px;width:62%;padding-left:2px;display:flex}.a4-tests-grid{grid-template-columns:repeat(2,1fr);gap:3px 8px;margin-top:3px;display:grid}.a4-test-item{color:#1e293b;align-items:center;gap:5px;font-size:8.5px;line-height:1.25;display:flex}.a4-test-box{background:#fff;border:1px solid #475569;border-radius:2px;flex-shrink:0;width:9px;height:9px;display:inline-block}.a4-test-name{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.a4-test-other{color:#475569;align-items:center;gap:5px;margin-top:4px;font-size:8.5px;font-weight:600;display:flex}.a4-test-other-line{border-bottom:1px solid #94a3b8;flex:1;height:0}.a4-card-section{border:1px solid #e2e8f0;border-radius:6px;padding:7px 10px;background:#fff!important}.a4-section-title{text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #f1f5f9;align-items:center;gap:4px;margin-bottom:5px;padding-bottom:3px;font-size:10.5px;font-weight:700;display:flex;color:#0f2b5c!important}.a4-vitals-table{flex-direction:column;gap:3px;display:flex}.a4-vital-row{justify-content:space-between;padding:1px 0;font-size:10.5px;display:flex}.a4-v-key{color:#64748b!important}.a4-v-val{color:#0f172a!important}.a4-diagnosis-text{font-size:12px;font-weight:700;line-height:1.35;color:#1e3a8a!important}.a4-prose-text{font-size:11px;line-height:1.45;color:#334155!important}.a4-list{margin:0;padding-left:16px;font-size:10.5px;color:#1e293b!important}.a4-list li{margin-bottom:2px}.a4-result-tag{font-weight:600;color:#0284c7!important}.a4-proc-notes{font-size:9.5px;color:#64748b!important}.a4-empty-hint{font-size:10px;font-style:italic;color:#94a3b8!important}.a4-rx-section{border:1.5px solid #0f2b5c;border-radius:6px;flex-direction:column;flex:1;height:100%;display:flex;overflow:hidden;background:#fff!important}.a4-rx-lines{flex-direction:column;flex:1;justify-content:space-between;padding:6px 10px 10px;display:flex}.a4-rx-header{align-items:center;gap:8px;padding:4px 10px;display:flex;color:#fff!important;background:#0f2b5c!important}.a4-rx-symbol{font-family:serif;font-size:18px;font-weight:800;line-height:1;color:#38bdf8!important}.a4-rx-title{text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:700;color:#fff!important}.a4-rx-table{border-collapse:collapse;width:100%;font-size:10.5px}.a4-rx-table th{text-align:left;text-transform:uppercase;border-bottom:1px solid #cbd5e1;padding:5px 8px;font-size:10px;font-weight:700;color:#475569!important;background:#f1f5f9!important}.a4-rx-table td{vertical-align:top;border-bottom:1px solid #f1f5f9;padding:6px 8px;color:#1e293b!important}.a4-med-name{font-weight:700;color:#0f172a!important}.a4-med-generic{font-size:9.5px;color:#64748b!important}.a4-pill-freq{border-radius:4px;padding:1px 6px;font-weight:700;display:inline-block;color:#047857!important;background:#ecfdf5!important}.a4-med-inst{font-size:9.5px;font-style:italic;color:#64748b!important}.a4-followup-box{border:1px solid #bfdbfe;border-radius:6px;padding:6px 10px;font-size:10.5px;color:#1e40af!important;background:#eff6ff!important}.a4-footer{border-top:1.5px solid #0f2b5c;justify-content:space-between;align-items:flex-end;gap:1rem;margin-top:auto;padding-top:8px;display:flex}.a4-footer.a4-full-footer{border-top:none;padding:0}.a4-footer-left{flex:1}.a4-footer-emergency{margin-bottom:2px;font-size:9.5px;font-weight:700;color:#dc2626!important}.a4-footer-note{color:#334155;margin-bottom:2px;font-size:9px}.a4-footer-disclaimer{font-size:8.5px;color:#64748b!important}.a4-footer-right{text-align:right;min-width:190px}.a4-sig-line{border-top:1.5px solid #0f172a;width:170px;margin-bottom:4px;margin-left:auto}.a4-sig-doc{font-size:11px;font-weight:700;color:#0f172a!important}.a4-sig-sub{text-transform:uppercase;font-size:8.5px;color:#64748b!important}html.light .dashboard-card{background:var(--surface);border-color:var(--surface-border);box-shadow:var(--surface-shadow)}html.light .dashboard-card:hover{border-color:#6366f147;box-shadow:0 2px 4px #0f172a0d,0 16px 32px -22px #0f172a42}html.light .auth-input,html.light .auth-field input,html.light select.auth-input,html.light .form-input,html.light .search-bar input,html.light textarea.auth-input{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}html.light textarea.auth-input::placeholder{color:#94a3b8}html.light .dashboard-content-inner label,html.light .auth-field label{color:var(--text-secondary)}html.light .sidebar-group-header{color:#64748b}html.light .sidebar-group-header:hover{color:#334155}html.light .print-btn{color:#334155;background:#fff;border-color:#0f172a29}html.light .print-btn:hover{color:#0f172a;background:#f8fafc;border-color:#0f172a42}html.light .auth-btn:disabled,html.light .print-btn:disabled,html.light .lab-btn:disabled{opacity:1;color:#64748b;box-shadow:none;cursor:not-allowed;background:#e2e8f0;border-color:#0f172a1a;transform:none}html.light .status-pending{background:var(--st-warn-bg);color:var(--st-warn)}html.light .status-completed{background:var(--st-ok-bg);color:var(--st-ok)}html.light .status-badge{border:1px solid #0f172a0f}@media (max-width:768px){.dashboard-main-content{padding:1rem .75rem}.dashboard-content-inner{gap:1rem}.dashboard-title{font-size:1.35rem}.dashboard-subtitle{font-size:.85rem}.dashboard-topbar-right{gap:.75rem}.theme-toggle-btn{padding:6px 10px;font-size:.75rem}.dash-stat-grid{grid-template-columns:repeat(2,1fr)!important;gap:.75rem!important}.dash-bottom-row{grid-template-columns:1fr!important;gap:1rem!important}.dash-shift-grid{grid-template-columns:1fr!important;gap:.75rem!important}.dash-filter-bar{flex-direction:column!important;align-items:stretch!important;gap:.75rem!important}.dash-filter-bar>div{flex:unset!important;width:100%!important;min-width:0!important}.dash-filter-bar>button{justify-content:center;width:100%!important}.dash-bills-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.dash-bills-table-wrap table{min-width:480px}.st-controls-row{flex-direction:column!important;align-items:flex-start!important;gap:.5rem!important}.st-type-tabs{-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;overflow-x:auto}.st-type-tabs::-webkit-scrollbar{display:none}.st-type-tabs button{white-space:nowrap}.st-kpi-row{grid-template-columns:repeat(2,1fr)!important;gap:.5rem!important}.st-chart-svg-wrap{-webkit-overflow-scrolling:touch;scrollbar-width:none;overflow-x:auto}.st-chart-svg-wrap::-webkit-scrollbar{display:none}.dashboard-card{border-radius:12px;padding:1rem!important}.dash-header-flex{flex-direction:column!important;align-items:flex-start!important;gap:.75rem!important}}@media (min-width:480px) and (max-width:768px){.dash-shift-grid{grid-template-columns:repeat(2,1fr)!important}}@media (min-width:769px) and (max-width:1023px){.dashboard-main-content{padding:1.25rem 1rem}.dash-bottom-row{grid-template-columns:1fr 1fr!important}}.vitals-tab{flex-direction:column;gap:1rem;min-width:0;display:flex}.vitals-tab-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.vitals-tab-title{color:var(--text-primary);margin:0;font-size:1.05rem;font-weight:700}.vitals-tab-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.vitals-tab .data-table-wrap,.vitals-tab .table-wrap,.vitals-tab .data-table-container{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;overflow-x:auto}@media (max-width:640px){.vitals-tab-header{flex-direction:column;align-items:stretch}.vitals-tab-actions{width:100%}.vitals-tab-actions>button{text-align:center;flex:auto;justify-content:center;min-height:44px}.vitals-record-btn,.vitals-print-btn{width:100%}.form-row,.form-row-3{grid-template-columns:1fr;gap:.75rem}.vitals-tab .auth-input,.modal-body .auth-input{font-size:16px}.modal-overlay{align-items:flex-end;padding:0}.modal-content{border-radius:18px 18px 0 0;width:100%;max-height:94dvh;max-width:100%!important}.modal-header{padding:1rem 1.1rem}.modal-body{padding:1.1rem}.modal-footer{flex-wrap:wrap;padding:.9rem 1.1rem}}.st-trend-card{max-width:100%;overflow:hidden}.st-trend-card .st-controls-row>*{min-width:0;max-width:100%}.st-trend-card .st-type-tabs{max-width:100%}.st-trend-card .st-kpi-row{min-width:0}.st-trend-card svg{max-width:100%;display:block}
.ipd-wrap{flex-direction:column;gap:1.5rem;max-width:1480px;margin:0 auto;padding:2rem;display:flex}.ipd-hdr{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1.5rem;display:flex}.ipd-eyebrow{color:#818cf8;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:.72rem;font-weight:700}.ipd-title{color:#f1f5f9;letter-spacing:-.025em;margin:0 0 6px;font-size:1.75rem;font-weight:800}.ipd-subtitle{color:#94a3b8;max-width:680px;margin:0;font-size:.9rem}.ipd-hdr-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.ipd-tabs{border-bottom:1px solid #ffffff12;gap:0;display:flex}.ipd-tab{color:#64748b;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 18px;font-family:inherit;font-size:.9rem;font-weight:600;transition:all .15s}.ipd-tab:hover{color:#cbd5e1}.ipd-tab.active{color:#818cf8;border-bottom-color:#818cf8}.ipd-tab:disabled{opacity:.38;cursor:not-allowed}.ipd-card{-webkit-backdrop-filter:blur(40px);backdrop-filter:blur(40px);background:#0f0f1999;border:1px solid #ffffff0f;border-radius:16px;padding:1.5rem}.ipd-card-hdr{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:1.25rem;display:flex}.ipd-card-hdr h2{color:#f1f5f9;margin:0;font-size:1.1rem;font-weight:700}.ipd-card-sub{color:#64748b;margin:3px 0 0;font-size:.82rem}.ipd-card-actions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.ipd-btn{color:#e2e8f0;cursor:pointer;white-space:nowrap;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:10px;padding:9px 16px;font-family:inherit;font-size:.875rem;font-weight:600;transition:all .15s}.ipd-btn:hover{background:#ffffff14;border-color:#fff3}.ipd-btn-primary{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:#0000}.ipd-btn-primary:hover{filter:brightness(1.1)}.ipd-btn-sm{border-radius:8px;padding:6px 12px;font-size:.82rem}.ipd-btn-danger{color:#f87171;background:#f8717112;border-color:#f8717140}.ipd-btn-danger:hover{background:#f8717124}.ipd-btn:disabled{opacity:.45;cursor:not-allowed;pointer-events:none}.ipd-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:1rem;display:flex}.ipd-search-wrap{flex:1;max-width:360px;position:relative}.ipd-search-wrap svg{color:#64748b;pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.ipd-search{color:#e2e8f0;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:10px;outline:none;width:100%;padding:9px 12px 9px 36px;font-family:inherit;font-size:.875rem}.ipd-search:focus{background:#6366f10a;border-color:#6366f180}.ipd-search::placeholder{color:#475569}.ipd-table-wrap{border:1px solid #ffffff0f;border-radius:12px;overflow-x:auto}.ipd-table{border-collapse:collapse;width:100%;min-width:860px}.ipd-table th{text-align:left;text-transform:uppercase;letter-spacing:.05em;color:#64748b;white-space:nowrap;background:#ffffff04;border-bottom:1px solid #ffffff0f;padding:.85rem 1.1rem;font-size:.72rem;font-weight:600}.ipd-table td{color:#e2e8f0;vertical-align:top;border-bottom:1px solid #ffffff0a;padding:1rem 1.1rem;font-size:.875rem}.ipd-table tr:last-child td{border-bottom:0}.ipd-table tr.clickable{cursor:pointer}.ipd-table tr.clickable:hover td{background:#6366f10a}.ipd-table-cell-name{color:#f1f5f9;font-weight:600}.ipd-table-cell-sub{color:#64748b;margin-top:2px;font-size:.8rem}.ipd-badge{border-radius:999px;padding:3px 10px;font-size:.75rem;font-weight:700;display:inline-flex}.ipd-badge-blue{color:#60a5fa;background:#60a5fa1f}.ipd-badge-green{color:#34d399;background:#34d3991f}.ipd-badge-yellow{color:#fbbf24;background:#fbbf241f}.ipd-badge-red{color:#f87171;background:#f871711f}.ipd-badge-purple{color:#818cf8;background:#818cf81f}.ipd-badge-gray{color:#94a3b8;background:#94a3b81a}.ipd-form-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;display:grid}.ipd-col-12{grid-column:span 12}.ipd-col-8{grid-column:span 8}.ipd-col-6{grid-column:span 6}.ipd-col-4{grid-column:span 4}.ipd-col-3{grid-column:span 3}@media (max-width:860px){.ipd-col-8,.ipd-col-6,.ipd-col-4,.ipd-col-3{grid-column:span 12}}.ipd-field{flex-direction:column;gap:6px;display:flex}.ipd-field label,.ipd-field-caption{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-size:.77rem;font-weight:700}html.light .ipd-field-caption{color:#64748b}.ipd-hint{color:#64748b;margin-top:2px;font-size:.78rem}.ipd-label-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.ipd-link-btn{font:inherit;color:#818cf8;cursor:pointer;background:0 0;border:0;padding:2px 0;text-decoration:underline}.ipd-link-btn:hover{color:#a5b4fc}html.light .ipd-link-btn{color:var(--brand-text)}.ipd-note{color:#a5b4fc;background:#6366f11a;border:1px solid #6366f147;border-radius:10px;align-items:flex-start;gap:8px;margin-bottom:16px;padding:10px 12px;font-size:.8rem;line-height:1.5;display:flex}html.light .ipd-note{color:#3730a3;background:#6366f112;border-color:#6366f138}.ipd-row-group td{letter-spacing:.05em;text-transform:uppercase;color:#a5b4fc;background:#6366f114;font-size:.74rem;font-weight:800}html.light .ipd-row-group td{color:var(--brand-text);background:#6366f10f}.ipd-bill-totals{max-width:380px;margin-top:1rem;margin-left:auto}.ipd-bill-row{justify-content:space-between;gap:16px;padding:4px 0;font-size:.86rem;display:flex}.ipd-bill-grand{border-top:1px solid #ffffff1f;margin-top:2px;padding-top:6px;font-weight:800}html.light .ipd-bill-grand{border-top-color:var(--border-color)}.ipd-inline-check{cursor:pointer;text-transform:none;letter-spacing:0;align-items:flex-start;gap:8px;font-size:.84rem;font-weight:500;line-height:1.5;display:flex}.ipd-inline-check input{accent-color:#6366f1;cursor:pointer;flex-shrink:0;width:16px;height:16px;margin-top:2px}.ipd-discharge-bill{background:#6366f114;border:1px solid #6366f14d;border-radius:10px;margin-bottom:14px;padding:12px 14px}html.light .ipd-discharge-bill{background:#6366f10d;border-color:#6366f138}.ipd-discharge-bill-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.ipd-discharge-bill-table{border-collapse:collapse;width:100%;font-size:.84rem}.ipd-discharge-bill-table td{padding:3px 0}.ipd-discharge-bill-table td.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ipd-discharge-bill-table tr.strong td{border-top:1px solid #ffffff24;font-weight:800}html.light .ipd-discharge-bill-table tr.strong td{border-top-color:var(--border-color)}.ipd-modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1000;background:#000000a6;justify-content:center;align-items:center;padding:20px;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.ipd-modal{background:#0f0f19;border:1px solid #ffffff1a;border-radius:18px;width:min(940px,100%);max-height:92vh;padding:24px;animation:.25s cubic-bezier(.16,1,.3,1) modalSlideUp;overflow-y:auto;box-shadow:0 25px 60px #0009}.ipd-modal-head{border-bottom:1px solid #ffffff12;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px;padding-bottom:16px;display:flex}.ipd-modal-head h2{color:#f1f5f9;margin:0;font-size:1.15rem;font-weight:700}.ipd-modal-head p{color:#64748b;margin:4px 0 0;font-size:.85rem}.ipd-modal-footer{border-top:1px solid #ffffff12;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:16px;display:flex}.ipd-patient-results{flex-direction:column;gap:5px;max-height:260px;margin-top:6px;display:flex;overflow-y:auto}.ipd-patient-item{cursor:pointer;background:#ffffff06;border:1px solid #ffffff14;border-radius:9px;padding:10px 12px;transition:all .15s}.ipd-patient-item:hover{background:#6366f10f;border-color:#6366f173}.ipd-patient-item-name{color:#f1f5f9;font-size:.88rem;font-weight:600}.ipd-patient-item-sub{color:#64748b;margin-top:2px;font-size:.78rem}.ipd-selected-tag{color:#a5b4fc;background:#6366f11f;border:1px solid #6366f14d;border-radius:8px;align-items:center;gap:6px;margin-top:7px;padding:5px 10px;font-size:.82rem;font-weight:600;display:inline-flex}.ipd-med-results{flex-direction:column;gap:4px;max-height:200px;margin-top:5px;display:flex;overflow-y:auto}.ipd-med-item{cursor:pointer;background:#ffffff05;border:1px solid #ffffff12;border-radius:8px;padding:8px 12px;transition:all .15s}.ipd-med-item:hover{background:#6366f10d;border-color:#6366f166}.ipd-med-item-name{color:#f1f5f9;font-size:.85rem;font-weight:600}.ipd-med-item-sub{color:#64748b;font-size:.77rem}.ipd-history-row{flex-wrap:wrap;gap:7px;margin-top:8px;display:flex}.ipd-history-chip{color:#e2e8f0;cursor:pointer;text-align:left;background:#ffffff08;border:1px solid #ffffff17;border-radius:8px;padding:7px 11px;font-family:inherit;font-size:.82rem;transition:all .15s}.ipd-history-chip:hover{background:#6366f114;border-color:#6366f166}.ipd-history-chip strong{color:#f1f5f9;font-size:.85rem;display:block}.ipd-form-grid>.ipd-slot-check{justify-self:start}.ipd-field>.ipd-slot-check{min-height:42px}.ipd-slot-check-row{align-items:flex-start;gap:9px;width:100%;padding:10px 12px;line-height:1.4;display:flex}.ipd-slot-check-row input[type=checkbox]{margin-top:1px}.ipd-form-actions{flex-wrap:wrap;grid-column:span 12;justify-content:flex-end;align-items:center;gap:8px;padding-top:2px;display:flex}.ipd-slots-row{flex-wrap:wrap;gap:8px;display:flex}.ipd-slot-check{cursor:pointer;color:#94a3b8;-webkit-user-select:none;user-select:none;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;align-items:center;gap:7px;padding:6px 10px;font-size:.82rem;line-height:1.2;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.ipd-slot-check:hover{color:#cbd5e1;border-color:#ffffff38}.ipd-slot-check.checked{color:#a5b4fc;background:#6366f11f;border-color:#6366f166}.ipd-slot-check:has(input:checked){color:#a5b4fc;background:#6366f11f;border-color:#6366f166}.ipd-slot-check input[type=checkbox]{appearance:none;cursor:pointer;background:#ffffff0f;border:1.5px solid #ffffff4d;border-radius:4px;flex-shrink:0;width:15px;height:15px;margin:0;transition:background .15s,border-color .15s;position:relative}.ipd-slot-check input[type=checkbox]:checked{background:#6366f1;border-color:#6366f1}.ipd-slot-check input[type=checkbox]:checked:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:4px;height:8px;position:absolute;top:1px;left:4px;transform:rotate(45deg)}.ipd-slot-check input[type=checkbox]:focus-visible{outline:none;box-shadow:0 0 0 3px #6366f147}.ipd-slot-check input[type=checkbox]:disabled{opacity:.5;cursor:not-allowed}.ipd-slot-check input[type=radio]{appearance:none;cursor:pointer;background:#ffffff0f;border:1.5px solid #ffffff4d;border-radius:50%;flex-shrink:0;width:15px;height:15px;margin:0;transition:border-color .15s;position:relative}.ipd-slot-check input[type=radio]:checked{border-color:#6366f1}.ipd-slot-check input[type=radio]:checked:after{content:"";background:#6366f1;border-radius:50%;position:absolute;inset:2.5px}.ipd-slot-check input[type=radio]:focus-visible{outline:none;box-shadow:0 0 0 3px #6366f147}html.light .ipd-slot-check input[type=radio]{background:#fff;border-color:#0f172a4d}html.light .ipd-slot-check input[type=radio]:checked:after{background:#4f46e5}.ipd-suggest-box{background:#12121c;border:1px solid #ffffff17;border-radius:10px;flex-direction:column;gap:5px;max-height:240px;margin-top:6px;padding:6px;display:flex;overflow-y:auto}.ipd-suggest-item{text-align:left;color:#94a3b8;cursor:pointer;background:#ffffff06;border:1px solid #ffffff14;border-radius:9px;width:100%;padding:9px 12px;font-family:inherit;font-size:.84rem;transition:background .15s,border-color .15s,color .15s;display:block}.ipd-suggest-item strong{color:#f1f5f9;margin-bottom:1px;font-size:.88rem;display:block}.ipd-suggest-item:hover{color:#cbd5e1;background:#6366f114;border-color:#6366f173}.ipd-suggest-item:focus-visible{border-color:#6366f199;outline:none;box-shadow:0 0 0 3px #6366f138}html.light .ipd-suggest-box{background:#fff;border-color:#0f172a1f}html.light .ipd-suggest-item{color:#475569;background:#f8fafc;border-color:#0f172a1a}html.light .ipd-suggest-item strong{color:#0f172a}html.light .ipd-suggest-item:hover{color:#334155;background:#eef2ff;border-color:#4f46e566}html.light .ipd-slot-check{color:#475569;background:#f8fafc;border-color:#0f172a24}html.light .ipd-slot-check.checked{color:#4338ca;background:#eef2ff;border-color:#4f46e566}html.light .ipd-slot-check:has(input:checked){color:#4338ca;background:#eef2ff;border-color:#4f46e566}html.light .ipd-slot-check input[type=checkbox]{background:#fff;border-color:#0f172a4d}html.light .ipd-slot-check input[type=checkbox]:checked{background:#4f46e5;border-color:#4f46e5}.ipd-empty{text-align:center;color:#64748b;padding:3rem 2rem;font-size:.875rem}.ipd-print-bar{background:#ffffff06;border:1px solid #ffffff12;border-radius:12px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:1.25rem;padding:14px;display:flex}.ipd-print-ctrl{min-width:130px}.ipd-print-bar>.ipd-btn{align-self:center}.sec-label{letter-spacing:.07em;text-transform:uppercase;color:#818cf8;margin:22px 0 10px;font-size:.72rem;font-weight:800}html.light .sec-label{color:var(--brand-text)}.ipd-fieldset{border:0;min-width:0;margin:0;padding:0}.ipd-rec-list{flex-direction:column;gap:10px;display:flex}.ipd-rec-card{background:#ffffff05;border:1px solid #ffffff17;border-radius:12px;padding:12px}html.light .ipd-rec-card{background:#0f172a04;border-color:#0f172a1a}.ipd-rec-head{letter-spacing:.06em;text-transform:uppercase;opacity:.7;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:.72rem;font-weight:800;display:flex}.ipd-rec-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px 12px;display:grid}.ipd-rec-grid .ipd-field:nth-child(6),.ipd-rec-grid .ipd-field:nth-child(7){grid-column:1/-1}.ipd-orders-table-wrap{border:1px solid #ffffff0f;border-radius:12px;overflow-x:auto}.ipd-orders-table{border-collapse:collapse;width:100%}.ipd-orders-table th{text-transform:uppercase;letter-spacing:.05em;color:#64748b;text-align:left;background:#ffffff04;border-bottom:1px solid #ffffff12;padding:.75rem 1rem;font-size:.72rem;font-weight:700}.ipd-orders-table td{color:#e2e8f0;vertical-align:top;border-bottom:1px solid #ffffff0a;padding:.875rem 1rem;font-size:.875rem}.ipd-orders-table tr:last-child td{border-bottom:0}.ipd-history-box{background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;margin-top:1.5rem;padding:1rem}.ipd-history-box h4{color:#f1f5f9;margin:0 0 4px;font-size:.85rem;font-weight:700}.ipd-history-box p{color:#64748b;margin:0 0 10px;font-size:.78rem}.med-sheet-print-only{display:none}@media print{.dashboard-layout>:not(.dashboard-content),.dashboard-topbar,.dashboard-main-content>:not(.ipd-wrap){display:none!important}.med-sheet-print-only{display:block!important}.med-sheet-page{page-break-after:always}.med-sheet-page:last-child{page-break-after:auto}}.med-sheet-screen{margin-top:1.5rem;overflow-x:auto}.med-sheet-page{color:#111;box-sizing:border-box;background:#fff;padding:8mm 10mm;font-family:Arial,Helvetica,sans-serif}.med-sheet-page.A4-landscape{width:297mm;min-height:200mm}.med-sheet-page.A4-portrait{width:210mm;min-height:280mm}.med-sheet-page.Letter-landscape{width:279mm;min-height:210mm}.med-sheet-page.Letter-portrait{width:216mm;min-height:275mm}.med-sheet-hdr{border-bottom:2px solid #111;justify-content:space-between;align-items:flex-start;margin-bottom:7px;padding-bottom:6px;display:flex}.med-sheet-hdr h2{margin:0;font-size:16px;font-weight:800}.med-sheet-hdr p{margin:2px 0;font-size:10px}.med-sheet-hdr-right{text-align:right}.med-sheet-meta{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:7px;font-size:10px;display:grid}.med-sheet-meta-item{border-bottom:1px solid #888;padding-bottom:3px}.med-sheet-meta-item strong{display:block}.med-sheet-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:9.5px}.med-sheet-table th,.med-sheet-table td{text-align:center;border:1px solid #333;padding:2px 3px}.med-sheet-table th{background:#f0f0f0;font-size:9px;font-weight:700}.med-sheet-col-drug{width:18%;text-align:left!important}.med-sheet-col-time{width:6%}.med-sheet-cell-drug{vertical-align:top;text-align:left;font-size:9px;padding:4px!important}.med-sheet-cell-drug strong{font-size:9.5px;display:block}.med-sheet-cell-empty{color:#999;background:#e5e5e5}.med-sheet-footer{border-top:1px solid #333;justify-content:space-between;margin-top:7px;padding-top:4px;font-size:9px;display:flex}.ipd-wrap select.form-input,.ipd-modal select.form-input,.ipd-wrap select,.ipd-modal select{appearance:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e2e8f0;cursor:pointer;text-overflow:ellipsis;background-color:#16161f;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-position:right 13px center;background-repeat:no-repeat;border:1px solid #ffffff24;border-radius:10px;height:42px;padding:0 36px 0 14px;font-family:inherit;font-size:.875rem;font-weight:500;line-height:1.2;transition:background-color .15s,border-color .15s,box-shadow .15s}.ipd-wrap select[multiple],.ipd-modal select[multiple]{background-image:none;height:auto;min-height:42px;padding:8px 12px}.ipd-wrap select.form-input:hover,.ipd-modal select.form-input:hover,.ipd-wrap select:hover,.ipd-modal select:hover{background-color:#1d1d29;border-color:#ffffff42}.ipd-wrap select.form-input:focus,.ipd-modal select.form-input:focus,.ipd-wrap select:focus,.ipd-modal select:focus{background-color:#1b1b2a;border-color:#6366f199;outline:none;box-shadow:0 0 0 3px #6366f129}.ipd-wrap select.form-input:disabled,.ipd-modal select.form-input:disabled,.ipd-wrap select:disabled,.ipd-modal select:disabled{opacity:.55;cursor:not-allowed;background-color:#14141c}.ipd-wrap select.form-input option,.ipd-modal select.form-input option,.ipd-wrap select option,.ipd-modal select option{color:#e2e8f0;background:#1e293b;font-weight:500}.ipd-wrap select option:disabled,.ipd-modal select option:disabled{color:#7c8798;background:#171f2e}.ipd-wrap select.form-input option:checked,.ipd-modal select.form-input option:checked,.ipd-wrap select option:checked,.ipd-modal select option:checked{color:#fff;background:#4f46e5}.ipd-wrap select optgroup,.ipd-modal select optgroup{color:#cbd5e1;background:#1e293b;font-style:normal;font-weight:700}.ipd-modal input.form-input,.ipd-wrap input.form-input{min-height:42px}.ipd-modal textarea.form-input,.ipd-wrap textarea.form-input{resize:vertical;min-height:84px;padding:10px 14px;line-height:1.45}html.light .ipd-wrap select.form-input,html.light .ipd-modal select.form-input,html.light .ipd-wrap select,html.light .ipd-modal select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#0f172a;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");border-color:#0f172a2e}html.light .ipd-wrap select.form-input:hover,html.light .ipd-modal select.form-input:hover,html.light .ipd-wrap select:hover,html.light .ipd-modal select:hover{background-color:#f8fafc;border-color:#0f172a4d}html.light .ipd-wrap select.form-input:focus,html.light .ipd-modal select.form-input:focus,html.light .ipd-wrap select:focus,html.light .ipd-modal select:focus{background-color:#fff;border-color:#4f46e58c;box-shadow:0 0 0 3px #4f46e524}html.light .ipd-wrap select.form-input:disabled,html.light .ipd-modal select.form-input:disabled,html.light .ipd-wrap select:disabled,html.light .ipd-modal select:disabled{color:#64748b;background-color:#f1f5f9}html.light .ipd-wrap select.form-input option,html.light .ipd-modal select.form-input option,html.light .ipd-wrap select option,html.light .ipd-modal select option{color:#0f172a;background:#fff}html.light .ipd-wrap select option:disabled,html.light .ipd-modal select option:disabled{color:#94a3b8;background:#f1f5f9}html.light .ipd-wrap select.form-input option:checked,html.light .ipd-modal select.form-input option:checked,html.light .ipd-wrap select option:checked,html.light .ipd-modal select option:checked{color:#fff;background:#4f46e5}html.light .ipd-wrap select optgroup,html.light .ipd-modal select optgroup{color:#334155;background:#f8fafc}html.light .ipd-eyebrow{color:var(--brand-text)}html.light .ipd-title{color:var(--text-primary)}html.light .ipd-subtitle{color:var(--text-secondary)}html.light .ipd-tabs{border-bottom-color:var(--border-color)}html.light .ipd-tab{color:#64748b}html.light .ipd-tab:hover{color:var(--text-primary)}html.light .ipd-tab.active{color:var(--brand-text);border-bottom-color:var(--brand-text)}html.light .ipd-card{background:var(--surface);border-color:var(--surface-border);box-shadow:var(--surface-shadow);-webkit-backdrop-filter:none;backdrop-filter:none}html.light .ipd-card-hdr h2{color:var(--text-primary)}html.light .ipd-card-sub{color:#64748b}html.light .ipd-btn{color:#334155;background:#fff;border-color:#0f172a29;box-shadow:0 1px 2px #0f172a0f}html.light .ipd-btn:hover{background:#f8fafc;border-color:#0f172a4d}html.light .ipd-btn-primary{color:#fff;border-color:#0000}html.light .ipd-btn-primary:hover{filter:brightness(1.06)}html.light .ipd-btn-danger{color:var(--st-danger);background:var(--st-danger-bg);border-color:#b91c1c52}html.light .ipd-btn-danger:hover{background:#ef44442e}html.light .ipd-btn:disabled{opacity:1;color:#64748b;box-shadow:none;background:#e2e8f0;border-color:#0f172a1a}html.light .ipd-search{background:var(--input-bg);border-color:var(--input-border);color:var(--text-primary)}html.light .ipd-search:focus{background:#fff;border-color:#4f46e58c}html.light .ipd-search::placeholder,html.light .ipd-search-wrap svg{color:#94a3b8}html.light .ipd-table-wrap,html.light .ipd-orders-table-wrap{border-color:var(--border-color)}html.light .ipd-table th,html.light .ipd-orders-table th{color:#64748b;border-bottom-color:var(--border-color);background:#f8fafc}html.light .ipd-table td,html.light .ipd-orders-table td{color:var(--text-primary);border-bottom-color:#0f172a12}html.light .ipd-table-cell-name{color:var(--text-primary)}html.light .ipd-table-cell-sub{color:#64748b}html.light .ipd-table tr.clickable:hover td{background:#6366f10f}html.light .ipd-badge-blue{background:var(--st-info-bg);color:var(--st-info)}html.light .ipd-badge-green{background:var(--st-ok-bg);color:var(--st-ok)}html.light .ipd-badge-yellow{background:var(--st-warn-bg);color:var(--st-warn)}html.light .ipd-badge-red{background:var(--st-danger-bg);color:var(--st-danger)}html.light .ipd-badge-purple{background:var(--st-accent-bg);color:var(--st-accent)}html.light .ipd-badge-gray{color:var(--text-secondary);background:#64748b1f}html.light .ipd-field label,html.light .ipd-field-caption{color:var(--text-secondary)}html.light .ipd-hint,html.light .ipd-empty{color:#64748b}html.light .ipd-modal-backdrop{background:#0f172a59}html.light .ipd-modal{background:var(--surface);border-color:var(--surface-border);box-shadow:0 25px 60px -20px #0f172a4d}html.light .ipd-modal-head{border-bottom-color:var(--border-color)}html.light .ipd-modal-head h2{color:var(--text-primary)}html.light .ipd-modal-head p{color:#64748b}html.light .ipd-modal-footer{border-top-color:var(--border-color)}html.light .ipd-modal input.form-input:disabled,html.light .ipd-wrap input.form-input:disabled{color:#64748b;background:#f1f5f9}html.light .ipd-patient-item,html.light .ipd-med-item{background:#fff;border-color:#0f172a1a}html.light .ipd-patient-item:hover,html.light .ipd-med-item:hover{background:#eef2ff;border-color:#4f46e566}html.light .ipd-patient-item-name,html.light .ipd-med-item-name{color:var(--text-primary)}html.light .ipd-patient-item-sub,html.light .ipd-med-item-sub{color:#64748b}html.light .ipd-selected-tag{color:var(--brand-text);background:#eef2ff;border-color:#4338ca4d}html.light .ipd-history-box{border-color:var(--border-color);background:#f8fafc}html.light .ipd-history-box h4{color:var(--text-primary)}html.light .ipd-history-box p{color:#64748b}html.light .ipd-history-chip{color:var(--text-secondary);background:#fff;border-color:#0f172a1f}html.light .ipd-history-chip:hover{background:#eef2ff;border-color:#4f46e566}html.light .ipd-history-chip strong{color:var(--text-primary)}html.light .ipd-print-bar{border-color:var(--border-color);background:#f8fafc}.ipd-summary-strip{color:#e2e8f0;background:#ffffff08;border:1px solid #ffffff12;border-radius:8px;flex-wrap:wrap;align-items:center;gap:24px;margin:12px 0;padding:12px 16px;font-size:.85rem;display:flex}.ipd-summary-strip strong{color:#f1f5f9;font-weight:700}html.light .ipd-summary-strip{border-color:var(--border-color);color:var(--text-primary);background:#f8fafc}html.light .ipd-summary-strip strong{color:var(--text-primary)}.ipd-flag-danger{color:#f87171;font-weight:600}.ipd-flag-ok{color:#34d399}html.light .ipd-flag-danger{color:var(--st-danger)}html.light .ipd-flag-ok{color:var(--st-ok)}.ipd-sheet-note{color:#94a3b8;margin:0 0 12px;font-size:.875rem}html.light .ipd-sheet-note{color:var(--text-secondary)}@media (max-width:768px){.ipd-wrap{gap:1rem;padding:.25rem 0 1.5rem}.ipd-hdr{flex-direction:column;align-items:stretch;gap:1rem}.ipd-title{font-size:1.3rem}.ipd-subtitle{font-size:.82rem}.ipd-hdr-actions{width:100%}.ipd-hdr-actions>.ipd-btn{text-align:center;flex:auto;justify-content:center}.ipd-tabs{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.ipd-tabs::-webkit-scrollbar{display:none}.ipd-tab{white-space:nowrap;flex:none;padding:10px 14px;font-size:.85rem}.ipd-card{border-radius:14px;padding:1rem}.ipd-card-hdr{gap:10px}.ipd-card-hdr h2{font-size:1rem}.ipd-card-actions{width:100%}.ipd-card-actions>.ipd-btn{text-align:center;flex:auto;justify-content:center}.ipd-toolbar{flex-direction:column;align-items:stretch;gap:.6rem}.ipd-search-wrap{width:100%;max-width:none}.ipd-search{padding:11px 12px 11px 36px}.ipd-btn{min-height:44px;padding:11px 16px}.ipd-btn-sm{min-height:40px;padding:9px 13px}.ipd-slot-check{min-height:44px;padding:10px 12px;font-size:.8rem}.ipd-history-chip,.ipd-suggest-item,.ipd-patient-item,.ipd-med-item{min-height:44px}.ipd-slots-row{gap:6px}.ipd-form-grid{gap:12px}.ipd-form-actions{flex-direction:column-reverse;align-items:stretch}.ipd-form-actions>.ipd-btn{text-align:center;justify-content:center;width:100%}.ipd-print-bar{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.ipd-print-ctrl{width:100%;min-width:0}.ipd-print-bar>.ipd-btn{text-align:center;justify-content:center;width:100%}.ipd-summary-strip{gap:12px 18px;padding:10px 12px;font-size:.8rem}.ipd-table-wrap,.ipd-orders-table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.ipd-table{min-width:640px}.ipd-table th,.ipd-table td{padding:.7rem .75rem}.ipd-orders-table{min-width:620px}.ipd-orders-table th,.ipd-orders-table td{padding:.6rem .7rem}.ipd-rec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ipd-rec-card{padding:10px}.ipd-modal-backdrop{align-items:flex-end;padding:0}.ipd-modal{border-radius:18px 18px 0 0;width:100%;max-height:94dvh;padding:16px}.ipd-modal-head{margin-bottom:16px;padding-bottom:12px}.ipd-modal-head h2{font-size:1.05rem}.ipd-modal-head p{font-size:.82rem}.ipd-modal-footer{flex-direction:column-reverse;align-items:stretch;gap:8px;margin-top:18px;padding-top:14px}.ipd-modal-footer>.ipd-btn{text-align:center;justify-content:center;width:100%}.med-sheet-screen{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}}@media (max-width:480px){.ipd-card{padding:.85rem}.ipd-modal{padding:14px}.ipd-title{font-size:1.2rem}.ipd-table{min-width:560px}.ipd-summary-strip{gap:10px 14px}}.ipd-report-toolbar{background:#6366f112;border:1px solid #6366f138;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:1.25rem;padding:10px 14px;display:flex}.ipd-report-toolbar-label{color:#c7d2fe;white-space:nowrap;align-items:center;gap:8px;font-size:.84rem;font-weight:700;display:inline-flex}.ipd-report-icon{font-size:1rem}.ipd-report-toolbar-buttons{flex-wrap:wrap;align-items:center;gap:8px;display:flex}html.light .ipd-report-toolbar{background:#f1f5f9;border-color:#6366f147}html.light .ipd-report-toolbar-label{color:#4338ca}.ipd-print-bar{background:#ffffff06;border:1px solid #ffffff12;border-radius:12px;flex-direction:column;gap:12px;margin-bottom:1.25rem;padding:14px;display:flex}.ipd-print-bar-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;width:100%;display:flex}.ipd-print-controls-group{flex-wrap:wrap;align-items:flex-end;gap:14px;display:flex}.ipd-print-actions-group{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.ipd-print-bar-hint{border-top:1px solid #ffffff0d;width:100%;padding-top:8px}html.light .ipd-print-bar-hint{border-top-color:#0f172a12}@media (max-width:768px){.ipd-form-grid .form-input,.ipd-print-bar .form-input,.ipd-wrap textarea.form-input,.ipd-wrap select.form-input{font-size:16px}.ipd-card .ipd-table-wrap{width:100%;max-width:100%}.ipd-tab{white-space:nowrap}}
.ward-page{flex-direction:column;gap:1.25rem;display:flex}.ward-summary-row{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.ward-summary-card{background:#ffffff09;border:1px solid #ffffff14;border-radius:12px;flex-direction:column;justify-content:space-between;gap:8px;min-height:88px;padding:1rem 1.15rem;display:flex}.ward-summary-card span{color:#94a3b8;font-size:.78rem;font-weight:600}.ward-summary-card strong{color:#f1f5f9;font-size:1.55rem;line-height:1}.ward-summary-available strong{color:#34d399}.ward-summary-occupied strong{color:#60a5fa}.ward-summary-cleaning strong{color:#fbbf24}.ward-summary-blocked strong{color:#f87171}.ward-list{flex-direction:column;gap:1rem;display:flex}.ward-card{padding:0;overflow:hidden}.ward-card-header{border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;gap:16px;padding:1.05rem 1.25rem;display:flex}.ward-card-title{min-width:0}.ward-card-header h2{color:#f1f5f9;margin:0;font-size:1.05rem}.ward-card-header p{color:#64748b;margin:4px 0 0;font-size:.8rem}.ward-actions,.ward-bed-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ward-card-header .ward-actions{flex-shrink:0}.ward-bed-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;padding:1.15rem 1.25rem 1.25rem;display:grid}.ward-bed-card{background:#ffffff05;border:1px solid #ffffff14;border-left:3px solid #64748b;border-radius:10px;flex-direction:column;gap:12px;min-height:112px;padding:12px 13px;display:flex}.ward-bed-occupied{background:#60a5fa0d;border-left-color:#60a5fa}.ward-bed-vacant{border-left-color:#34d399}.ward-bed-cleaning{border-left-color:#fbbf24}.ward-bed-blocked{border-left-color:#f87171}.ward-bed-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:0;display:flex}.ward-bed-number{align-items:center;gap:6px;min-width:0;display:inline-flex}.ward-bed-number svg{color:#64748b;flex-shrink:0;width:14px;height:14px}.ward-bed-top strong{color:#f1f5f9;overflow-wrap:anywhere;font-size:.95rem}.ward-bed-actions{margin-top:auto}.ward-bed-actions .ward-btn{flex:0 auto}.ward-bed-note{color:#94a3b8;margin:0;font-size:.72rem;line-height:1.35}html.light .ward-bed-note{color:#64748b}.ward-bed-grid-empty{display:block}.ward-bed-none{color:#64748b;text-align:center;border:1px dashed #ffffff24;border-radius:10px;padding:1rem 1.15rem;font-size:.84rem}.ward-status{text-transform:uppercase;white-space:nowrap;border-radius:999px;padding:3px 8px;font-size:.68rem;font-weight:700}.ward-status-vacant{color:#34d399;background:#34d39921}.ward-status-occupied{color:#60a5fa;background:#60a5fa21}.ward-status-cleaning{color:#fbbf24;background:#fbbf2421}.ward-status-blocked{color:#f87171;background:#f8717121}.ward-btn{color:#e2e8f0;white-space:nowrap;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 12px;font-family:inherit;font-size:.78rem;font-weight:600;line-height:1;transition:background .15s,border-color .15s,color .15s;display:inline-flex;box-shadow:0 1px 2px #00000040}.ward-btn:hover:not(:disabled){background:#ffffff21;border-color:#ffffff4d}.ward-btn:active:not(:disabled){transform:translateY(1px)}.ward-btn:focus-visible{border-color:#6366f199;outline:none;box-shadow:0 0 0 3px #6366f138}.ward-btn:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.ward-btn svg{flex-shrink:0;width:13px;height:13px}.ward-btn-lg{border-radius:10px;height:40px;padding:0 16px;font-size:.85rem}.ward-btn-lg svg{width:15px;height:15px}.ward-btn-primary{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:#0000;box-shadow:0 2px 8px -2px #6366f18c}.ward-btn-primary:hover:not(:disabled){filter:brightness(1.1);background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:#0000}.ward-btn-edit{color:#c7d2fe;background:#6366f11a;border-color:#6366f157}.ward-btn-edit:hover:not(:disabled){color:#e0e7ff;background:#6366f130;border-color:#6366f18c}.ward-btn-danger{color:#fca5a5;background:#f871711a;border-color:#f8717152}.ward-btn-danger:hover:not(:disabled){color:#fecaca;background:#f8717130;border-color:#f871718c}.ward-dialog-form{flex-direction:column;gap:1rem;display:flex}.ward-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;display:grid}.ward-form-grid .auth-input-group{min-width:0}.ward-dialog-footer{justify-content:flex-end;align-items:center;gap:10px;width:100%;display:flex}.ward-modal-badge{text-transform:uppercase;letter-spacing:.04em;color:#a5b4fc;background:#6366f124;border:1px solid #6366f14d;border-radius:999px;align-items:center;padding:2px 8px;font-size:.68rem;font-weight:700;display:inline-flex}.ward-dialog-form select.auth-input{appearance:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-position:right 13px center;background-repeat:no-repeat;padding-right:36px}.ward-dialog-form select.auth-input option{color:#e2e8f0;background:#1e293b}.ward-dialog-form select.auth-input option:checked{color:#fff;background:#4f46e5}.ward-dialog-form select.auth-input:disabled{cursor:not-allowed}.ward-empty{text-align:center;color:#94a3b8;padding:3rem}.ward-warning{color:#fbbf24;font-size:.76rem}.ward-field-hint{color:#64748b;font-size:.76rem}html.light .ward-summary-card{background:#fff;border-color:#0f172a1a}html.light .ward-summary-card span{color:#64748b}html.light .ward-summary-card strong{color:#0f172a}html.light .ward-card-header{border-bottom-color:#0f172a14}html.light .ward-card-header h2{color:#0f172a}html.light .ward-card-header p{color:#64748b}html.light .ward-bed-card{background:#0f172a05;border-color:#0f172a1a;border-left-width:3px}html.light .ward-bed-occupied{background:#3b82f60d;border-left-color:#3b82f6}html.light .ward-bed-vacant{border-left-color:#10b981}html.light .ward-bed-cleaning{border-left-color:#f59e0b}html.light .ward-bed-blocked{border-left-color:#ef4444}html.light .ward-bed-top strong{color:#0f172a}html.light .ward-bed-number svg{color:#94a3b8}html.light .ward-bed-none{color:#64748b;border-color:#0f172a29}html.light .ward-status-vacant{color:#047857;background:#10b98124}html.light .ward-status-occupied{color:#1d4ed8;background:#3b82f624}html.light .ward-status-cleaning{color:#b45309;background:#f59e0b29}html.light .ward-status-blocked{color:#b91c1c;background:#ef444424}html.light .ward-btn{color:#334155;background:#f1f5f9;border-color:#0f172a29;box-shadow:0 1px 2px #0f172a0f}html.light .ward-btn:hover:not(:disabled){background:#e2e8f0;border-color:#0f172a4d}html.light .ward-btn-primary{color:#fff;border-color:#0000}html.light .ward-btn-edit{color:#4338ca;background:#eef2ff;border-color:#4338ca4d}html.light .ward-btn-edit:hover:not(:disabled){background:#e0e7ff;border-color:#4338ca80}html.light .ward-btn-danger{color:#b91c1c;background:#fef2f2;border-color:#b91c1c52}html.light .ward-btn-danger:hover:not(:disabled){background:#fee2e2;border-color:#b91c1c80}html.light .ward-modal-badge{color:#4338ca;background:#eef2ff;border-color:#4338ca4d}html.light .ward-dialog-form select.auth-input{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")}html.light .ward-dialog-form select.auth-input option{color:#0f172a;background:#fff}html.light .ward-dialog-form select.auth-input option:checked{color:#fff;background:#4f46e5}html.light .ward-empty{color:#64748b}@media (max-width:820px){.ward-summary-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ward-card-header{flex-direction:column;align-items:stretch}.ward-card-header .ward-actions{justify-content:flex-start}.ward-form-grid{grid-template-columns:1fr}}.ward-mode-tabs{background:#ffffff0d;border:1px solid #ffffff14;border-radius:10px;gap:4px;margin-bottom:4px;padding:4px;display:flex}.ward-mode-tab{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:8px;padding:8px 14px;font-size:.84rem;font-weight:600;transition:all .15s;display:inline-flex}.ward-mode-tab:hover{color:#f1f5f9;background:#ffffff0a}.ward-mode-tab.active{color:#fff;background:#4f46e5;box-shadow:0 2px 6px #4f46e566}.ward-mode-tab svg{width:15px;height:15px}.ward-preset-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.ward-preset-btn{color:#cbd5e1;cursor:pointer;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:6px;padding:4px 10px;font-size:.75rem;font-weight:600;transition:all .15s}.ward-preset-btn:hover{color:#fff;background:#ffffff1a}.ward-preset-btn.active{color:#c7d2fe;background:#6366f140;border-color:#6366f1}.ward-bulk-preview{background:#0f172a99;border:1px solid #ffffff14;border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.ward-bulk-preview-title{color:#94a3b8;justify-content:space-between;align-items:center;font-size:.76rem;font-weight:600;display:flex}.ward-bulk-chips{flex-wrap:wrap;gap:6px;max-height:110px;padding-right:4px;display:flex;overflow-y:auto}.ward-bulk-chip{color:#c7d2fe;background:#6366f126;border:1px solid #6366f14d;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-family:monospace;font-size:.74rem;font-weight:600;display:inline-flex}.ward-bulk-chip-conflict{color:#fbbf24;background:#f59e0b26;border-color:#f59e0b66}.ward-btn-bulk{color:#fff;background:linear-gradient(135deg,#0284c7,#6366f1);border-color:#0000;box-shadow:0 2px 8px -2px #0ea5e980}.ward-btn-bulk:hover:not(:disabled){filter:brightness(1.1);background:linear-gradient(135deg,#0284c7,#6366f1);border-color:#0000}.ward-checkbox-label{color:#cbd5e1;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:.8rem;display:inline-flex}.ward-checkbox-label input[type=checkbox]{accent-color:#6366f1;cursor:pointer;width:15px;height:15px}.ward-link-btn{color:#818cf8;cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.ward-link-btn:hover{color:#a5b4fc}html.light .ward-mode-tabs{background:#f1f5f9;border-color:#0f172a1a}html.light .ward-mode-tab{color:#64748b}html.light .ward-mode-tab:hover{color:#0f172a;background:#e2e8f0}html.light .ward-mode-tab.active{color:#fff;background:#4f46e5}html.light .ward-preset-btn{color:#334155;background:#f8fafc;border-color:#0f172a1f}html.light .ward-preset-btn:hover{color:#0f172a;background:#f1f5f9}html.light .ward-preset-btn.active{color:#4338ca;background:#eef2ff;border-color:#6366f1}html.light .ward-bulk-preview{background:#f8fafc;border-color:#0f172a1a}html.light .ward-bulk-preview-title{color:#64748b}html.light .ward-bulk-chip{color:#4338ca;background:#eef2ff;border-color:#6366f14d}html.light .ward-bulk-chip-conflict{color:#b45309;background:#fffbeb;border-color:#fde68a}html.light .ward-checkbox-label{color:#334155}html.light .ward-link-btn{color:#4f46e5}html.light .ward-btn-bulk{color:#fff;border-color:#0000}
