@import"https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap";@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&display=swap";@import"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap";:root{color-scheme:light;--primary: #1f6a5c;--primary-dark: #174d43;--primary-light: #dcece5;--accent: #b67a3f;--accent-light: #f2e4d2;--success: #2d8a68;--warning: #b7852f;--error: #b24c45;--info: #2d6f9f;--bg-primary: #f5f0e7;--bg-secondary: #ece6db;--card-bg: #fffdfa;--sidebar-bg: #fffdfa;--border-color: #d8d1c5;--text-primary: #1f2927;--text-secondary: #52605a;--text-muted: #6e7a74;--hover-bg: #efe8dc;--shadow-sm: 0 10px 22px -18px rgba(31, 41, 39, .18);--shadow-md: 0 18px 40px -28px rgba(31, 41, 39, .22);--shadow-lg: 0 24px 56px -34px rgba(31, 41, 39, .24);--app-background: radial-gradient(circle at top left, rgba(31, 106, 92, .08), transparent 32%), linear-gradient(180deg, #f7f2ea 0%, #f3eee5 52%, #eef2ea 100%);--selection-bg: rgba(31, 106, 92, .22);--selection-color: #10201b;--font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--transition-fast: .15s ease;--transition-normal: .2s ease}:root[data-theme=dark]{color-scheme:dark;--accent-light: rgba(182, 122, 63, .18);--bg-primary: #223034;--bg-secondary: #2c3c40;--card-bg: #34464b;--sidebar-bg: #25353a;--border-color: rgba(191, 206, 202, .24);--text-primary: #f4f8f7;--text-secondary: #d9e4e0;--text-muted: #b2c3be;--hover-bg: rgba(255, 255, 255, .1);--shadow-sm: 0 12px 28px -20px rgba(0, 0, 0, .28);--shadow-md: 0 20px 46px -28px rgba(0, 0, 0, .34);--shadow-lg: 0 28px 64px -34px rgba(0, 0, 0, .4);--app-background: radial-gradient(circle at top left, rgba(83, 162, 145, .22), transparent 34%), linear-gradient(180deg, #223034 0%, #2b3b40 52%, #34484d 100%);--selection-bg: rgba(123, 192, 175, .34);--selection-color: #f4fffb}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}body{font-family:var(--font-family);font-size:14px;line-height:1.6;color:var(--text-primary);background:var(--app-background);min-height:100vh;transition:background .18s ease,color .18s ease}body.desktop-runtime{overscroll-behavior:none}#root{min-height:100vh}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.3;color:var(--text-primary)}h1{font-size:28px}h2{font-size:24px}h3{font-size:18px}h4{font-size:16px}h5{font-size:14px}h6{font-size:12px}p{margin:0}a{color:var(--primary);text-decoration:none;transition:color var(--transition-fast)}a:hover{color:var(--primary-dark)}input,select,textarea,button{font-family:inherit;font-size:inherit}input:focus,select:focus,textarea:focus{outline:none}button{cursor:pointer;border:none;background:none}table{border-collapse:collapse;width:100%}img{max-width:100%;height:auto}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-secondary);border-radius:4px}::-webkit-scrollbar-thumb{background:var(--text-muted);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}::selection{background-color:var(--selection-bg);color:var(--selection-color)}*:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-fadeIn{animation:fadeIn .3s ease forwards}.animate-slideUp{animation:slideUp .3s ease forwards}.animate-pulse{animation:pulse 2s ease-in-out infinite}.animate-spin{animation:spin 1s linear infinite}@media print{body{background:#fff;color:#000}*{color-adjust:exact;-webkit-print-color-adjust:exact;print-color-adjust:exact}}.app-boot-screen{min-height:100vh;display:grid;place-items:center;padding:32px;background:radial-gradient(circle at top,rgba(31,106,92,.12),transparent 38%),linear-gradient(180deg,#f7f2ea,#f1ece2)}.app-boot-screen__panel{min-width:min(460px,100%);padding:32px 36px;border:1px solid rgba(93,109,104,.14);border-radius:24px;background:#fffcf7e0;box-shadow:0 24px 64px #1f29271a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-boot-screen__eyebrow{font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:#1f29278f}.app-boot-screen__title{margin-top:14px;font-size:32px;font-weight:700;letter-spacing:-.04em;color:#1f2927}.app-boot-screen__meta{margin-top:10px;font-size:14px;color:#1f2927ad}.login-screen{min-height:100vh;background-color:var(--bg-primary);display:flex;align-items:center;justify-content:center;padding:24px}.login-container{width:100%;max-width:900px}.login-container--narrow{max-width:440px}.login-header{text-align:center;margin-bottom:40px}.login-logo{margin-bottom:16px}.login-logo .logo-icon.large{width:80px;height:80px;font-size:48px;margin:0 auto}.login-header h1{font-size:32px;font-weight:700;color:var(--text-primary);margin:0 0 8px}.login-header p{font-size:16px;color:var(--text-muted)}.login-content{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:16px;padding:32px}.login-content h2{font-size:18px;font-weight:600;color:var(--text-primary);margin:0 0 24px;text-align:center}.roles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:32px}.role-card{padding:20px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:12px;cursor:pointer;transition:all .2s ease;text-align:center}.role-card:hover{background-color:var(--hover-bg);transform:translateY(-2px)}.role-card.selected{border-color:var(--role-color, var(--primary));background-color:#fff;box-shadow:0 4px 12px #0000001a}.role-emoji{display:block;font-size:32px;margin-bottom:8px}.role-card .role-name{display:block;font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:4px}.role-card .role-desc{display:block;font-size:12px;color:var(--text-muted)}.staff-selection{margin-top:32px;padding-top:32px;border-top:1px solid var(--border-color)}.staff-selection h3{font-size:16px;font-weight:600;color:var(--text-primary);margin:0 0 16px;text-align:center}.staff-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.staff-card{display:flex;align-items:center;gap:12px;padding:14px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:10px;cursor:pointer;transition:all .2s ease}.staff-card:hover{background-color:var(--hover-bg)}.staff-card.selected{border-color:var(--primary);background-color:var(--primary-light)}.staff-avatar{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px;flex-shrink:0}.staff-info{display:flex;flex-direction:column}.staff-name{font-size:14px;font-weight:500;color:var(--text-primary)}.staff-username{font-size:12px;color:var(--text-muted)}.login-btn{display:block;width:100%;max-width:300px;margin:32px auto 0;padding:14px 28px;background-color:var(--primary);color:#fff;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.login-btn:hover{background-color:var(--primary-dark);transform:translateY(-1px)}.login-footer{text-align:center;margin-top:32px;color:var(--text-muted);font-size:13px}.app{display:flex;min-height:100vh;background-color:var(--bg-primary)}.sidebar-backdrop,.mobile-topbar,.sidebar-mobile-close{display:none}.sidebar{width:260px;background-color:var(--sidebar-bg);border-right:1px solid var(--border-color);display:flex;flex-direction:column;position:fixed;height:100vh;z-index:100}.sidebar-header{padding:24px 20px;border-bottom:1px solid var(--border-color)}.sidebar-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sidebar-header-row .logo{flex:1;min-width:0}.logo{display:flex;align-items:center;gap:12px}.logo-icon{width:44px;height:44px;background-color:var(--primary);color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700}.logo-text{font-size:18px;font-weight:700;color:var(--text-primary);line-height:1.2}.logo-text small{font-size:11px;font-weight:500;color:var(--text-muted);letter-spacing:.5px}.sidebar-nav{flex:1;padding:16px 12px;overflow-y:auto}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;color:var(--text-secondary);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;background:none;border:none;width:100%;text-align:left;margin-bottom:4px}.nav-item-icon-image{width:20px;height:20px;object-fit:contain;flex-shrink:0;filter:brightness(0) saturate(100%);opacity:.72}.nav-item:hover{background-color:var(--hover-bg);color:var(--text-primary)}.nav-item:hover .nav-item-icon-image{opacity:.92}.nav-item.active{background-color:var(--primary);color:#fff}.nav-item.active .nav-item-icon-image{filter:brightness(0) saturate(100%) invert(1);opacity:1}.nav-item .badge{margin-left:auto;background-color:var(--accent);color:#fff;font-size:11px;padding:2px 8px;border-radius:10px;font-weight:600}.nav-item.active .badge{background-color:#fff;color:var(--primary)}.sidebar-footer{padding:16px;border-top:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between}.user-info{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.user-info.clickable{cursor:pointer;padding:8px;margin:-8px;border-radius:10px;transition:background-color .15s;position:relative}.user-info.clickable:hover{background:#ffffff1a}.user-info .profile-edit-icon{position:absolute;right:8px;opacity:0;transition:opacity .15s;width:16px;height:16px;color:var(--text-light)}.user-info.clickable:hover .profile-edit-icon{opacity:.7}.user-avatar{width:40px;height:40px;background-color:var(--accent);color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;flex-shrink:0}.user-details{display:flex;flex-direction:column;min-width:0}.user-name{font-size:14px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{font-size:12px;color:var(--text-muted)}.logout-btn{padding:8px;background-color:var(--bg-secondary);border:none;border-radius:8px;color:var(--text-muted);cursor:pointer;transition:all .2s ease;flex-shrink:0}.logout-btn:hover{background-color:var(--error);color:#fff}.main-content{flex:1;margin-left:260px;padding:32px;min-height:100vh;position:relative}.mobile-menu-btn,.sidebar-mobile-close{width:42px;height:42px;border:none;border-radius:12px;background:var(--bg-secondary);color:var(--text-primary);align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease,color .2s ease}.mobile-menu-btn{display:inline-flex}.mobile-menu-btn:hover,.sidebar-mobile-close:hover{background:var(--hover-bg)}.mobile-topbar-copy{display:flex;flex-direction:column;min-width:0}.mobile-topbar-copy strong{font-size:14px;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-topbar-copy span{font-size:12px;color:var(--text-muted)}.main-content-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.role-badge{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:20px;color:#fff;font-size:13px;font-weight:600}.role-badge .role-icon{font-size:16px}.notification{position:fixed;top:24px;right:24px;padding:16px 24px;border-radius:8px;font-size:14px;font-weight:500;z-index:1000;animation:slideIn .3s ease;box-shadow:var(--shadow-lg)}.notification.success{background-color:var(--success);color:#fff}.notification.error{background-color:var(--error);color:#fff}.notification.warning{background-color:#fef3c7;color:#92400e;border:1px solid #fde68a}.runtime-pill{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;background:var(--card-bg);border:1px solid var(--border-color);color:var(--text-secondary);box-shadow:var(--shadow-sm);font-size:12px;font-weight:600}.runtime-pill strong{color:var(--text-primary)}.runtime-sync-state{padding:2px 8px;border-radius:999px;background:var(--bg-secondary);color:var(--text-secondary);font-size:11px}.runtime-sync-state.synced{background:#dcfce7;color:#166534}.runtime-sync-state.queued,.runtime-sync-state.syncing{background:#dbeafe;color:#1d4ed8}.runtime-sync-state.failed{background:#fee2e2;color:#b91c1c}.runtime-sync-state.conflict{background:#ffedd5;color:#c2410c}.runtime-pill.online strong{color:var(--success)}.runtime-pill.offline strong{color:var(--warning)}.runtime-status-indicator{width:10px;height:10px;border-radius:50%;background:#9ca3af}.runtime-status-indicator.online{background:#10b981;box-shadow:0 0 8px #10b98173}.runtime-status-indicator.offline{background:#f59e0b;box-shadow:0 0 8px #f59e0b59}.connectivity-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:14px 16px;border-radius:14px;border:1px solid #fde68a;background:#fffbeb;color:#92400e}.connectivity-banner-copy{display:flex;flex-direction:column;gap:4px}.connectivity-banner-copy strong{font-size:14px}.connectivity-banner-copy span{font-size:13px;line-height:1.5}.connectivity-banner.sync-issue{border-color:#fecaca;background:#fff1f2;color:#9f1239}.connectivity-banner-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.connectivity-banner-dismiss{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer;transition:background .2s ease,opacity .2s ease}.connectivity-banner-dismiss:hover{background:#ffffff59}.connectivity-banner-dismiss svg{width:16px;height:16px}@media(max-width:900px){.main-content-top{flex-wrap:wrap;justify-content:space-between}.connectivity-banner{align-items:flex-start}}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.module-header{margin-bottom:32px}.module-header h1{font-size:28px;font-weight:700;color:var(--text-primary);margin:0 0 8px}.module-header .subtitle{color:var(--text-muted);font-size:15px;margin:0}.card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.card-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border-color)}.card-header h3{font-size:16px;font-weight:600;color:var(--text-primary);margin:0}.card-body{padding:20px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:32px}.stat-card{background-color:var(--card-bg);border:1px solid var(--border-color);border-left:4px solid var(--primary);border-radius:12px;padding:20px 24px}.stat-value{font-size:32px;font-weight:700;color:var(--text-primary);margin-bottom:4px}.stat-label{font-size:14px;color:var(--text-muted)}.welcome-banner{background:var(--primary);border-radius:16px;padding:32px;margin-bottom:24px;margin-top:48px;color:#fff;position:relative}.welcome-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px}.welcome-text{flex:1}.welcome-greeting{font-size:16px;opacity:.9;display:block;margin-bottom:4px}.welcome-name{font-size:28px;font-weight:700;margin:0 0 8px;color:#fff}.welcome-date{font-size:14px;opacity:.85;margin:0}.welcome-summary{display:flex;align-items:center;gap:24px;background:#ffffff26;padding:16px 24px;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.summary-item{text-align:center}.summary-value{display:block;font-size:24px;font-weight:700}.summary-label{display:block;font-size:12px;opacity:.85;margin-top:4px}.summary-divider{width:1px;height:40px;background:#ffffff4d}.quick-actions-section{margin-bottom:24px}.section-title{font-size:16px;font-weight:600;color:var(--text-primary);margin:0 0 16px}.quick-actions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.quick-action-btn{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px 16px;background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;cursor:pointer;transition:all .2s ease}.quick-action-btn:hover{border-color:var(--action-color, var(--primary));background:var(--bg-secondary);transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.quick-action-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--action-color, var(--primary));color:#fff;border-radius:12px}.quick-action-icon svg{width:24px;height:24px}.quick-action-label{font-size:14px;font-weight:500;color:var(--text-primary)}.activity-section{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-top:20px}.activity-feed{display:flex;flex-direction:column;gap:12px}.activity-item{display:flex;align-items:center;gap:12px;padding:12px;background:var(--bg-secondary);border-radius:8px;transition:background .2s}.activity-item:hover{background:var(--bg-hover)}.activity-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#64748b;color:#fff}.activity-item.registration .activity-icon{background:#3b82f6}.activity-item.lab .activity-icon{background:#f59e0b}.activity-item.billing .activity-icon{background:#8b5cf6}.activity-item.pharmacy .activity-icon{background:#ef4444}.activity-item.procurement .activity-icon{background:#0891b2}.activity-item.ward .activity-icon{background:#ec4899}.activity-copy{display:flex;flex-direction:column;gap:4px}.activity-content{flex:1;display:flex;justify-content:space-between;align-items:center}.activity-text{font-size:14px;color:var(--text-primary)}.activity-sync-tag{display:inline-flex;align-items:center;align-self:flex-start;padding:2px 8px;border-radius:999px;background:#ffedd5;color:#c2410c;font-size:11px;font-weight:600}.activity-time{font-size:12px;color:var(--text-muted)}.system-status-card .status-items{display:flex;flex-direction:column;gap:12px}.status-item{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-secondary)}.status-indicator{width:10px;height:10px;border-radius:50%;background:#9ca3af}.status-indicator.online{background:#10b981;box-shadow:0 0 8px #10b98180;animation:pulse-status 2s infinite}@keyframes pulse-status{0%,to{opacity:1}50%{opacity:.7}}.status-label{flex:1}.status-value{font-weight:600;color:var(--text-primary)}.status-value.warning{color:var(--warning)}.dashboard-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.department-bars{display:flex;flex-direction:column;gap:16px}.dept-bar-item{display:flex;flex-direction:column;gap:8px}.dept-bar-label{display:flex;justify-content:space-between;font-size:14px;color:var(--text-secondary)}.dept-count{font-weight:600;color:var(--text-primary)}.dept-bar-track{height:8px;background-color:var(--bg-secondary);border-radius:4px;overflow:hidden}.dept-bar-fill{height:100%;background-color:var(--primary);border-radius:4px;transition:width .3s ease;min-width:4px}.revenue-display{text-align:center;padding:24px 0;border-bottom:1px solid var(--border-color);margin-bottom:16px}.revenue-amount{font-size:36px;font-weight:700;color:var(--success)}.revenue-label{font-size:14px;color:var(--text-muted);margin-top:4px}.revenue-breakdown{display:flex;flex-direction:column;gap:12px}.breakdown-item{display:flex;justify-content:space-between;font-size:14px;color:var(--text-secondary)}.breakdown-item span:last-child{font-weight:600;color:var(--text-primary)}.alert-badge{background-color:var(--error);color:#fff;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:600}.low-stock-list{display:flex;flex-direction:column;gap:12px}.low-stock-item{display:flex;align-items:center;justify-content:space-between;padding:12px;background-color:var(--bg-secondary);border-radius:8px}.item-info{display:flex;flex-direction:column}.item-name{font-size:14px;font-weight:500;color:var(--text-primary)}.item-category{font-size:12px;color:var(--text-muted)}.item-qty{font-size:13px;font-weight:600}.item-qty.warning{color:var(--error)}.recent-patients-list,.dashboard-appointments-list{display:flex;flex-direction:column;gap:12px}.dashboard-appointment-item{display:flex;align-items:center;gap:14px;width:100%;padding:12px;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-secondary);text-align:left;cursor:pointer;transition:border-color .2s ease,transform .2s ease,background-color .2s ease}.dashboard-appointment-item:hover{border-color:var(--primary);background:var(--primary-light);transform:translateY(-1px)}.dashboard-appointment-item.assigned-to-current-user{border-color:#f59e0b;box-shadow:inset 0 0 0 1px #f59e0b33}.dashboard-appointment-timeblock{display:flex;flex-direction:column;min-width:76px}.dashboard-appointment-time{font-size:15px;font-weight:700;color:var(--text-primary)}.dashboard-appointment-day{font-size:12px;color:var(--text-muted)}.dashboard-appointment-main{display:flex;flex-direction:column;min-width:0}.dashboard-appointment-patient{font-size:14px;font-weight:600;color:var(--text-primary)}.dashboard-appointment-meta{font-size:12px;color:var(--text-muted)}.recent-patient-item{display:flex;align-items:center;gap:12px;padding:12px;background-color:var(--bg-secondary);border-radius:8px}.patient-avatar{width:40px;height:40px;background-color:var(--primary);color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;flex-shrink:0}.patient-avatar.large{width:56px;height:56px;font-size:18px}.patient-info{display:flex;flex-direction:column;flex:1;min-width:0}.patient-name{font-size:14px;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.patient-id{font-size:12px;color:var(--text-muted)}.dept-tag{font-size:11px;padding:4px 10px;border-radius:12px;font-weight:500;text-transform:capitalize;background-color:var(--bg-secondary);color:var(--text-secondary)}.dept-tag.registration{background-color:#dbeafe;color:#1e40af}.dept-tag.vitals{background-color:#e0f2fe;color:#0c4a6e}.dept-tag.clinical{background-color:#d1fae5;color:#065f46}.dept-tag.laboratory{background-color:#fef3c7;color:#92400e}.dept-tag.pharmacy{background-color:#fee2e2;color:#991b1b}.dept-tag.billing{background-color:#ede9fe;color:#5b21b6}.dept-tag.ward{background-color:#fce7f3;color:#9d174d}.empty-state{text-align:center;color:var(--text-muted);padding:24px;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;border-radius:999px;font-size:13px;font-weight:500;cursor:pointer;border:none;transition:all .2s ease}.btn-primary{background-color:var(--primary);color:#fff}.btn-primary:hover{background-color:var(--primary-dark)}.btn-primary:disabled{background-color:var(--text-muted);cursor:not-allowed}.btn-secondary{background-color:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover{background-color:var(--hover-bg)}.btn-sm{padding:6px 12px;font-size:12px}.btn-large{padding:14px 28px;font-size:15px}.btn-move{background-color:var(--info);color:#fff}.btn-move:hover{background-color:#0369a1}.btn-discharge{background-color:var(--success);color:#fff}.btn-discharge:hover{background-color:#059669}.btn-remove{background:none;border:none;color:var(--error);cursor:pointer;padding:4px}.registration-tabs{display:flex;gap:8px;margin-bottom:20px}.reg-tab{display:flex;align-items:center;gap:8px;padding:12px 24px;border:1px solid var(--border-color);border-radius:8px;background:#fff;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .15s}.reg-tab:hover{background:var(--bg-secondary)}.reg-tab.active{background:var(--primary);border-color:var(--primary);color:#fff}.registration-layout{display:grid;grid-template-columns:1fr 380px;gap:24px}.registration-form-card,.returning-patient-card{height:fit-content}.returning-patient-card .search-box.large{margin-bottom:20px}.returning-patient-card .search-box.large input{font-size:16px;padding:14px 14px 14px 44px}.returning-patient-card .search-box.large svg{width:20px;height:20px;left:14px}.empty-state-box{text-align:center;padding:48px 24px;color:var(--text-muted)}.empty-state-box svg{width:48px;height:48px;margin-bottom:16px;opacity:.3}.empty-state-box h4{margin:0 0 8px;color:var(--text-secondary)}.empty-state-box p{margin:0;font-size:14px}.patients-table-container{width:100%;overflow-x:auto}.patient-name-link{background:none;border:none;padding:0;margin:0;font-size:14px;font-weight:500;color:var(--primary);cursor:pointer}.patient-name-link:hover{text-decoration:underline}.patient-name-cell{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sync-entity-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap}.sync-entity-badge.queued,.sync-entity-badge.syncing{background:#dbeafe;color:#1d4ed8}.sync-entity-badge.failed{background:#fee2e2;color:#b91c1c}.sync-entity-badge.conflict{background:#ffedd5;color:#c2410c}.results-count{font-size:13px;color:var(--text-muted);margin-bottom:16px}.returning-patients-list{display:flex;flex-direction:column;gap:12px}.returning-patient-item{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid var(--border-color);border-radius:10px;background:#fff;transition:all .15s}.returning-patient-item:hover{border-color:var(--primary);box-shadow:0 2px 8px #0000000f}.returning-patient-item.in-queue{background:var(--bg-secondary);border-color:var(--border-color)}.returning-patient-avatar{width:48px;height:48px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;flex-shrink:0}.returning-patient-info{flex:1;display:flex;flex-direction:column;gap:4px}.returning-patient-name{font-weight:600;font-size:15px;color:var(--text-primary)}.returning-patient-details{font-size:13px;color:var(--text-secondary)}.returning-patient-meta{font-size:12px;color:var(--text-muted)}.current-status{font-size:12px;color:var(--primary);margin-top:4px}.current-status strong{text-transform:capitalize}.returning-patient-actions{flex-shrink:0}.already-in-queue{display:inline-block;padding:8px 16px;background:var(--bg-secondary);border-radius:6px;font-size:13px;color:var(--text-muted)}.clickable{cursor:pointer;transition:color .15s}.clickable:hover{color:var(--primary)}.returning-patient-avatar.clickable:hover{transform:scale(1.05);box-shadow:0 2px 8px #00000026}.patient-profile-modal{width:100%;max-width:700px;max-height:90vh;overflow-y:auto}.profile-header{display:flex;align-items:center;gap:20px;padding:20px;background:var(--primary);border-radius:12px;margin-bottom:20px}.profile-avatar{width:80px;height:80px;border-radius:50%;background:#fff;color:var(--primary);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;flex-shrink:0}.profile-header-info{color:#fff}.profile-header-info h2{margin:0 0 4px;font-size:24px}.profile-id{display:block;font-size:14px;opacity:.9;margin-bottom:8px}.profile-status{display:inline-block;padding:4px 12px;background:#fff3;border-radius:20px;font-size:12px;font-weight:500;text-transform:capitalize}.profile-section{background:var(--bg-secondary);border-radius:10px;padding:16px;margin-bottom:16px}.profile-section h4{margin:0 0 12px;font-size:14px;font-weight:600;color:var(--text-primary)}.profile-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.profile-info-item{display:flex;flex-direction:column;gap:2px}.profile-info-item.full-width{grid-column:span 2}.profile-info-item .label{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.profile-info-item .value{font-size:14px;color:var(--text-primary);font-weight:500}.profile-info-item .value.allergy{color:var(--error)}.history-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.summary-card{background:#fff;border-radius:8px;padding:16px;text-align:center;border:1px solid var(--border-color)}.summary-number{display:block;font-size:28px;font-weight:700;color:var(--primary)}.summary-label{font-size:12px;color:var(--text-muted)}.profile-history-list{display:flex;flex-direction:column;gap:10px}.profile-history-item{background:#fff;border:1px solid var(--border-color);border-radius:8px;padding:12px}.history-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.history-date{font-size:12px;color:var(--text-muted)}.history-status{font-size:11px;padding:2px 8px;border-radius:10px;font-weight:500;text-transform:capitalize}.history-status.pending{background:#fef3c7;color:#92400e}.history-status.dispensed,.history-status.completed{background:#d1fae5;color:#065f46}.history-status.processing{background:#dbeafe;color:#1e40af}.history-item-content{font-size:13px;color:var(--text-primary);margin-bottom:6px}.history-item-footer{font-size:11px;color:var(--text-muted)}.profile-timeline{display:flex;flex-direction:column;padding-left:16px;border-left:2px solid var(--border-color)}.profile-timeline-item{display:flex;align-items:flex-start;gap:12px;padding:8px 0;position:relative}.timeline-dot{width:10px;height:10px;background:var(--primary);border-radius:50%;position:absolute;left:-22px;top:12px}.timeline-info{display:flex;flex-direction:column;gap:2px}.timeline-action{font-size:13px;color:var(--text-primary)}.timeline-date{font-size:11px;color:var(--text-muted)}.profile-section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.section-note{margin:8px 0 0;font-size:13px;color:var(--text-muted);line-height:1.5}.patient-record-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.patient-record-actions .btn:disabled{opacity:.6;cursor:not-allowed}.patient-documents-layout{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:16px;align-items:start}.document-upload-card{background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:16px}.document-upload-card .form-group:last-of-type{margin-bottom:16px}.document-upload-card .upload-btn{width:100%;justify-content:center}.document-upload-card .upload-btn.disabled{opacity:.7;pointer-events:none}.document-support-text{margin:12px 0 0;font-size:12px;line-height:1.5;color:var(--text-muted)}.document-period-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.document-period-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.document-period-summary{font-size:12px;color:var(--text-muted);line-height:1.4}.document-period-summary.error{color:#b91c1c}.document-list{display:flex;flex-direction:column;gap:12px}.document-empty-state{background:#fff;border:1px dashed var(--border-color);border-radius:12px;padding:28px 20px;text-align:center;color:var(--text-muted)}.document-empty-state svg{width:24px;height:24px;margin-bottom:10px}.document-empty-state p{margin:0}.patient-document-card{display:grid;grid-template-columns:140px minmax(0,1fr);gap:14px;background:#fff;border:1px solid var(--border-color);border-radius:12px;padding:14px}.patient-document-preview{min-height:120px;border-radius:10px;border:1px solid var(--border-color);overflow:hidden;background:var(--bg-secondary);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--text-muted);text-align:center;padding:12px}.patient-document-preview.image{padding:0;background:#e2e8f0}.patient-document-preview img{width:100%;height:100%;min-height:120px;object-fit:cover;display:block}.patient-document-meta{min-width:0}.patient-document-title-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.patient-document-title-row strong{font-size:14px;color:var(--text-primary);word-break:break-word}.patient-document-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.document-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:600;background:var(--bg-secondary);color:var(--text-secondary)}.document-badge.image{background:#dbeafe;color:#1d4ed8}.document-badge.pdf{background:#fee2e2;color:#b91c1c}.document-badge.category{background:#ecfeff;color:#155e75}.patient-document-details{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;font-size:12px;color:var(--text-muted)}.document-notes,.document-unavailable{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--text-secondary)}.document-unavailable{color:#b45309}.document-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.document-preview-modal{max-width:min(980px,100%);width:100%}.document-preview-header{min-width:0}.document-preview-header h3{margin:0 0 4px;font-size:18px;word-break:break-word}.document-preview-header span{font-size:12px;color:var(--text-muted)}.document-preview-body{padding:24px;background:#0f172a}.document-preview-image,.document-preview-frame{display:block;width:100%;min-height:70vh;max-height:75vh;border:none;border-radius:10px;background:#fff}.document-preview-image{object-fit:contain}@media(max-width:768px){.profile-section-header{flex-direction:column;align-items:stretch}.patient-record-actions{justify-content:flex-start}.patient-documents-layout,.document-period-grid,.patient-document-card{grid-template-columns:1fr}.patient-document-title-row{flex-direction:column}.patient-document-badges{justify-content:flex-start}.document-preview-body{padding:16px}.document-preview-image,.document-preview-frame{min-height:55vh}}.registration-sidebar{display:flex;flex-direction:column;gap:20px}.form-section{margin-bottom:24px}.form-section:last-child{margin-bottom:0}.form-section h4{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 16px;padding-bottom:8px;border-bottom:1px solid var(--border-color)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group.full-width{grid-column:1 / -1}.form-group label{font-size:13px;font-weight:500;color:var(--text-secondary)}.checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer}.checkbox-label input{width:16px;height:16px}.form-group input,.form-group select,.form-group textarea{padding:10px 14px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;color:var(--text-primary);background-color:var(--card-bg);transition:border-color .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary)}.form-group textarea{resize:vertical;min-height:100px}.field-hint{font-size:12px;color:var(--text-muted)}.form-actions{margin-top:24px;padding-top:24px;border-top:1px solid var(--border-color)}.queue-count{background-color:var(--primary);color:#fff;padding:4px 12px;border-radius:12px;font-size:13px;font-weight:600}.queue-list{display:flex;flex-direction:column;gap:12px}.queue-item{display:flex;align-items:center;justify-content:space-between;padding:12px;background-color:var(--bg-secondary);border-radius:8px;gap:12px}.registration-queue-item{border:2px solid transparent;cursor:pointer;transition:all .2s ease}.registration-queue-item:hover{background-color:var(--hover-bg)}.registration-queue-item.active{border-color:var(--primary);background-color:var(--primary-light)}.queue-item-info{display:flex;flex-direction:column;min-width:0;flex:1}.queue-item-name{font-size:14px;font-weight:500;color:var(--text-primary)}.queue-item-id{font-size:12px;color:var(--text-muted)}.registration-deposit-status{margin-top:4px;font-size:12px;font-weight:500}.registration-deposit-status.pending{color:#b45309}.registration-deposit-status.met{color:var(--success)}.registration-deposit-card{display:flex;flex-direction:column;gap:16px}.registration-deposit-patient{display:flex;flex-direction:column;gap:4px}.registration-deposit-patient strong{font-size:15px;color:var(--text-primary)}.registration-deposit-patient span{font-size:12px;color:var(--text-muted)}.registration-deposit-summary{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:10px;background-color:var(--bg-secondary);border:1px solid var(--border-color)}.registration-deposit-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--text-secondary)}.registration-deposit-summary-row strong{color:var(--text-primary)}.registration-deposit-summary-row.highlight{padding-top:10px;border-top:1px solid var(--border-color)}.registration-deposit-success{margin:0;padding:12px 14px;border-radius:8px;background:#10b9811f;color:#047857;font-size:13px}.ward-deposit-gate{margin-bottom:16px;padding:14px;border-radius:10px;display:flex;flex-direction:column;gap:4px;border:1px solid var(--border-color)}.ward-deposit-gate.pending{background:#f59e0b14;border-color:#f59e0b3d}.ward-deposit-gate.met{background:#10b98114;border-color:#10b9813d}.ward-deposit-gate strong{font-size:14px;color:var(--text-primary)}.ward-deposit-gate span,.ward-deposit-gate small{color:var(--text-secondary)}.search-box{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--border-color);border-radius:8px;background-color:var(--bg-secondary)}.search-box input{flex:1;border:none;background:none;font-size:14px;color:var(--text-primary);outline:none}.search-box svg{color:var(--text-muted)}.search-results{margin-top:16px;display:flex;flex-direction:column;gap:8px}.search-result-item{display:flex;align-items:center;gap:12px;padding:10px;background-color:var(--bg-secondary);border-radius:8px;cursor:pointer;transition:background-color .2s ease}.search-result-item:hover{background-color:var(--hover-bg)}.clinical-layout{display:grid;grid-template-columns:300px 1fr;gap:24px}.ward-layout{display:grid;grid-template-columns:2fr 1.2fr;gap:24px;align-items:flex-start}.ward-table .table-actions{display:flex;gap:8px}.patient-queue-card .card-body{padding:12px;max-height:600px;overflow-y:auto}.patient-queue{display:flex;flex-direction:column;gap:8px}.queue-patient{display:flex;align-items:center;gap:12px;padding:12px;background-color:var(--bg-secondary);border-radius:8px;cursor:pointer;transition:all .2s ease;border:2px solid transparent}.queue-patient:hover{background-color:var(--hover-bg)}.queue-patient.active{border-color:var(--primary);background-color:var(--primary-light)}.queue-number{width:28px;height:28px;background-color:var(--primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}.queue-patient-info{display:flex;flex-direction:column;flex:1;min-width:0}.queue-patient-name{font-size:14px;font-weight:500;color:var(--text-primary)}.queue-patient-id{font-size:11px;color:var(--text-muted)}.queue-time{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--text-muted)}.queue-status-summary{display:flex;gap:16px;padding:10px 12px;background:var(--bg-secondary);border-radius:8px;margin-bottom:12px}.queue-status-summary .status-item{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500}.queue-status-summary .status-dot{width:8px;height:8px;border-radius:50%}.queue-status-summary .status-item.waiting .status-dot{background:#10b981}.queue-status-summary .status-item.in-consultation .status-dot{background:#f59e0b;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.queue-patient.in-consultation{background:#fef3c7;border-color:#f59e0b}.queue-patient.in-consultation.my-patient{background:#d1fae5;border-color:#10b981}.consultation-badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;padding:2px 8px;border-radius:10px;margin-top:4px;font-weight:500}.consultation-badge.my-patient{background:#10b981;color:#fff}.consultation-badge.other-doctor{background:#f59e0b;color:#fff}.empty-consultation{display:flex;align-items:center;justify-content:center;min-height:400px}.empty-consultation-content{text-align:center;color:var(--text-muted)}.empty-consultation-content svg{margin-bottom:16px;opacity:.5}.empty-consultation-content h3{margin:0 0 8px;color:var(--text-secondary)}.empty-consultation-content p{margin:0;font-size:14px}.patient-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px}.patient-header-main{display:flex;align-items:center;gap:16px}.patient-header-info h2{margin:0 0 8px;font-size:20px;font-weight:600;color:var(--text-primary)}.patient-meta{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted)}.blood-group{font-weight:600;color:var(--error)}.allergy-warning{display:flex;align-items:center;gap:6px;margin-top:8px;padding:8px 12px;background-color:#fef2f2;color:var(--error);border-radius:6px;font-size:13px;font-weight:500}.consultation-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border-color)}.consultation-tabs{display:flex}.tab{padding:12px 20px;background:none;border:none;font-size:14px;font-weight:500;color:var(--text-muted);cursor:pointer;border-bottom:2px solid transparent;transition:all .2s ease}.tab:hover{color:var(--text-primary)}.tab.active{color:var(--primary);border-bottom-color:var(--primary)}.tab-content{padding:20px}.consultation-actions{display:flex;gap:12px}.consultation-actions-top{margin-left:auto}.lab-tests-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.lab-test-item{display:flex;align-items:flex-start;gap:12px;padding:14px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s ease}.lab-test-item:hover{background-color:var(--hover-bg)}.lab-test-item.selected{border-color:var(--primary);background-color:var(--primary-light)}.test-check{width:20px;height:20px;border:2px solid var(--border-color);border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.lab-test-item.selected .test-check{background-color:var(--primary);border-color:var(--primary);color:#fff}.test-info{display:flex;flex-direction:column;gap:4px}.test-name{font-size:14px;font-weight:500;color:var(--text-primary)}.test-meta{font-size:12px;color:var(--text-muted)}.order-summary{margin-top:20px;padding-top:20px;border-top:1px solid var(--border-color);display:flex;align-items:center;justify-content:space-between}.order-total{display:flex;flex-direction:column;gap:4px}.order-total span:first-child{font-size:14px;color:var(--text-muted)}.total-amount{font-size:20px;font-weight:700;color:var(--primary)}.medication-selector{margin-top:20px}.medication-selector label{display:block;font-size:13px;font-weight:500;color:var(--text-secondary);margin-bottom:12px}.medication-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:240px;overflow-y:auto;padding:4px}.medication-item{padding:12px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s ease}.medication-item:hover{background-color:var(--hover-bg)}.medication-item.selected{border-color:var(--primary);background-color:var(--primary-light)}.medication-item .med-name{display:block;font-size:13px;font-weight:500;color:var(--text-primary);margin-bottom:4px}.medication-item .med-price{display:block;font-size:12px;font-weight:600;color:var(--primary)}.medication-item .med-stock{display:block;font-size:11px;color:var(--text-muted)}.selected-medications{margin-top:24px}.selected-medications label{display:block;font-size:13px;font-weight:500;color:var(--text-secondary);margin-bottom:12px}.selected-meds-list{display:flex;flex-direction:column;gap:10px}.selected-med-item{display:flex;align-items:center;justify-content:space-between;padding:12px;background-color:var(--bg-secondary);border-radius:8px;gap:16px}.selected-med-item .med-info{display:flex;flex-direction:column;min-width:150px}.selected-med-item .med-name{font-size:14px;font-weight:500;color:var(--text-primary)}.selected-med-item .med-unit-price{font-size:12px;color:var(--text-muted)}.med-controls{display:flex;align-items:center;gap:10px;flex:1}.qty-input{width:70px;padding:8px 10px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;text-align:center}.dosage-input{flex:1;padding:8px 10px;border:1px solid var(--border-color);border-radius:6px;font-size:14px}.prescription-stock-error{margin:0 0 12px;padding:10px 14px;background:#fef2f2;color:#b91c1c;font-size:13px;border-radius:8px;border:1px solid #fecaca}.prescription-summary{margin-top:20px;padding-top:20px;border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:12px}.prescription-summary-row{display:flex;align-items:center;justify-content:space-between}.prescription-total{display:flex;flex-direction:column;gap:4px}.prescription-total span:first-child{font-size:14px;color:var(--text-muted)}.visit-history{display:flex;flex-direction:column;gap:0;padding-left:20px;border-left:2px solid var(--border-color)}.history-item{display:flex;align-items:flex-start;gap:16px;padding:12px 0;position:relative}.history-marker{width:12px;height:12px;background-color:var(--primary);border-radius:50%;position:absolute;left:-27px;top:16px}.history-content{display:flex;flex-direction:column;gap:4px}.history-action{font-size:14px;font-weight:500;color:var(--text-primary)}.history-time{font-size:12px;color:var(--text-muted)}.patient-history{display:flex;flex-direction:column;gap:24px;max-height:500px;overflow-y:auto;padding-right:8px}.history-section{background:var(--bg-secondary);border-radius:10px;padding:16px}.history-section-title{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border-color)}.patient-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.patient-info-grid .info-item{display:flex;flex-direction:column;gap:2px}.patient-info-grid .info-label{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px}.patient-info-grid .info-value{font-size:14px;color:var(--text-primary);font-weight:500}.patient-info-grid .info-value.allergy{color:var(--error)}.no-history{color:var(--text-muted);font-size:13px;font-style:italic;margin:0}.prescriptions-history{display:flex;flex-direction:column;gap:12px}.history-rx-card{background:#fff;border:1px solid var(--border-color);border-radius:8px;padding:12px}.rx-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.rx-date{font-size:12px;color:var(--text-muted)}.rx-status{font-size:11px;padding:2px 8px;border-radius:10px;font-weight:500}.rx-status.pending{background:#fef3c7;color:#92400e}.rx-status.dispensed{background:#d1fae5;color:#065f46}.rx-diagnosis{font-size:13px;margin-bottom:8px;color:var(--text-primary)}.rx-medications{font-size:13px;color:var(--text-secondary)}.rx-medications ul{margin:4px 0 0;padding-left:20px}.rx-medications li{margin-bottom:2px}.rx-footer{font-size:11px;color:var(--text-muted);margin-top:8px;padding-top:8px;border-top:1px solid var(--border-color)}.lab-history{display:flex;flex-direction:column;gap:12px}.history-lab-card{background:#fff;border:1px solid var(--border-color);border-radius:8px;padding:12px}.history-lab-card.completed{border-left:3px solid var(--success)}.history-lab-card.pending{border-left:3px solid var(--warning)}.history-lab-card.processing{border-left:3px solid var(--info)}.lab-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.lab-date{font-size:12px;color:var(--text-muted)}.lab-status{font-size:11px;padding:2px 8px;border-radius:10px;font-weight:500;text-transform:capitalize}.lab-status.completed{background:#d1fae5;color:#065f46}.lab-status.pending{background:#fef3c7;color:#92400e}.lab-status.processing{background:#dbeafe;color:#1e40af}.lab-tests{display:flex;flex-direction:column;gap:6px}.lab-test-item{display:flex;justify-content:space-between;align-items:center;font-size:13px}.lab-test-item .test-name{color:var(--text-primary)}.lab-test-item .test-result{color:var(--text-secondary);font-size:12px}.lab-test-item .test-result strong{color:var(--success)}.lab-footer{font-size:11px;color:var(--text-muted);margin-top:8px;padding-top:8px;border-top:1px solid var(--border-color)}.billing-history{display:flex;flex-direction:column;gap:12px}.history-billing-card{background:#fff;border:1px solid var(--border-color);border-radius:8px;padding:12px}.billing-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.billing-date{font-size:12px;color:var(--text-muted)}.billing-receipt{font-size:12px;font-weight:500;color:var(--primary)}.billing-amount{font-size:14px;color:var(--text-primary)}.billing-amount strong{color:var(--success)}.billing-method{font-size:12px;color:var(--text-muted);margin-top:4px}.visit-timeline{display:flex;flex-direction:column;padding-left:20px;border-left:2px solid var(--border-color)}.timeline-item{display:flex;align-items:flex-start;gap:16px;padding:10px 0;position:relative}.timeline-marker{width:10px;height:10px;background-color:var(--primary);border-radius:50%;position:absolute;left:-26px;top:14px}.timeline-content{display:flex;flex-direction:column;gap:2px}.timeline-action{font-size:13px;font-weight:500;color:var(--text-primary)}.timeline-meta{font-size:11px;color:var(--text-muted)}.lab-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.lab-tabs{display:flex;gap:8px;margin-bottom:16px}.lab-tab{padding:8px 16px;background-color:var(--bg-secondary);border:none;border-radius:999px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.lab-tab:hover{background-color:var(--hover-bg)}.lab-tab.active{background-color:var(--primary);color:#fff}.filter-tabs{display:flex;gap:8px}.filter-tab{padding:6px 14px;background-color:var(--bg-secondary);border:none;border-radius:6px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.filter-tab:hover{background-color:var(--hover-bg)}.filter-tab.active{background-color:var(--primary);color:#fff}.lab-orders-list{display:flex;flex-direction:column;gap:12px;max-height:600px;overflow-y:auto}.lab-order-item{padding:16px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s ease}.lab-order-item:hover{background-color:var(--hover-bg)}.lab-order-item.active{border-color:var(--primary)}.order-patient{display:flex;flex-direction:column;margin-bottom:8px}.order-patient-name{font-size:15px;font-weight:600;color:var(--text-primary)}.order-patient-id{font-size:12px;color:var(--text-muted)}.order-tests{font-size:13px;color:var(--text-secondary);margin-bottom:12px}.order-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.status-badge{font-size:11px;padding:4px 10px;border-radius:12px;font-weight:600;text-transform:capitalize}.status-badge.pending{background-color:#fef3c7;color:#92400e}.status-badge.processing{background-color:#dbeafe;color:#1e40af}.status-badge.completed{background-color:#d1fae5;color:#065f46}.status-badge.cancelled{background-color:#fee2e2;color:#b91c1c}.status-badge.large{font-size:12px;padding:6px 14px}.order-time{font-size:11px;color:var(--text-muted)}.empty-processing{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center;color:var(--text-muted)}.empty-processing svg{margin-bottom:16px;opacity:.5;width:48px;height:48px}.empty-processing h4{margin:0 0 8px;color:var(--text-secondary)}.empty-processing p{margin:0;font-size:14px}.order-processing{padding:0}.order-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.order-header h4{margin:0;font-size:18px;font-weight:600;color:var(--text-primary)}.order-info{display:flex;gap:20px;font-size:13px;color:var(--text-muted);padding-bottom:16px;border-bottom:1px solid var(--border-color);margin-bottom:20px}.tests-list h5{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 12px}.test-item{padding:16px;background-color:var(--bg-secondary);border-radius:8px;margin-bottom:12px}.test-header{display:flex;justify-content:space-between;margin-bottom:12px}.test-header .test-name{font-weight:500;color:var(--text-primary)}.test-header .test-price{font-weight:600;color:var(--primary)}.test-result-input textarea{width:100%;padding:10px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;resize:vertical}.test-result-display{padding:12px;background-color:var(--card-bg);border-radius:6px;font-size:14px;color:var(--text-primary)}.processing-actions{margin-top:24px;padding-top:24px;border-top:1px solid var(--border-color)}.pharmacy-tabs,.billing-tabs{display:flex;gap:8px;margin-bottom:24px}.pharmacy-tab,.billing-tab{display:flex;align-items:center;gap:8px;padding:12px 24px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:8px;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.pharmacy-tab:hover,.billing-tab:hover{background-color:var(--hover-bg)}.pharmacy-tab.active,.billing-tab.active{background-color:var(--primary);color:#fff;border-color:var(--primary)}.tab-badge{background-color:var(--accent);color:#fff;padding:2px 8px;border-radius:10px;font-size:11px}.pharmacy-tab.active .tab-badge,.billing-tab.active .tab-badge{background-color:#fff;color:var(--primary)}.pharmacy-layout,.billing-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.procurement-header-note{margin:10px 0 0;font-size:13px;color:var(--text-muted)}.procurement-layout{display:grid;grid-template-columns:minmax(320px,380px) minmax(0,1fr);align-items:start;gap:24px}.procurement-column{display:flex;flex-direction:column;gap:24px}.procurement-layout .card{min-width:0;overflow:visible}.procurement-table-wrap{overflow-x:auto}.procurement-table-wrap .settings-table{min-width:1180px}.procurement-order-count{font-size:13px;color:var(--text-muted);font-weight:500}.procurement-card-note{margin:0 0 14px;padding:10px 12px;border-radius:8px;background-color:#eff6ff;color:#1d4ed8;font-size:13px}.procurement-filters{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(140px,1fr));gap:12px;margin-bottom:16px}.procurement-filters input,.procurement-filters select{width:100%;padding:10px 14px;border:1px solid var(--border-color);border-radius:8px;font-size:13px;background:var(--card-bg);color:var(--text-primary)}.procurement-filters input:focus,.procurement-filters select:focus,.procurement-receive-inline input:focus{outline:none;border-color:var(--primary)}.procurement-actions{display:flex;align-items:flex-start;flex-direction:column;gap:8px;min-width:220px}.procurement-item-cell{display:flex;flex-direction:column;gap:4px}.procurement-item-cell strong{font-size:13px;color:var(--text-primary)}.procurement-item-cell span{font-size:12px;color:var(--text-muted)}.procurement-qty-cell{display:flex;flex-direction:column;gap:2px;font-size:12px;color:var(--text-secondary)}.procurement-receive-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.procurement-receive-inline input{width:82px;padding:7px 10px;border:1px solid var(--border-color);border-radius:8px;font-size:12px;background:var(--card-bg);color:var(--text-primary)}.procurement-receive-inline input[type=date]{width:138px}.procurement-receipt-note{margin-top:6px;font-size:12px;color:var(--text-muted)}.procurement-action-note{font-size:12px;color:var(--text-muted)}.procurement-overdue-date{color:#dc2626;font-weight:600}.procurement-low-stock-list{display:flex;flex-direction:column;gap:12px}.procurement-low-stock-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:10px;border:1px solid var(--border-color);background-color:var(--bg-secondary)}.procurement-low-stock-meta{display:flex;flex-direction:column;gap:4px;min-width:0}.procurement-low-stock-meta strong{font-size:13px;color:var(--text-primary)}.procurement-low-stock-meta span{font-size:12px;color:var(--text-muted)}.procurement-form-actions{margin-top:14px}.procurement-receipt-modal{width:92%;max-width:720px}@media(max-width:1400px){.procurement-layout{grid-template-columns:1fr}.procurement-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}.prescriptions-list,.billing-patients-list{display:flex;flex-direction:column;gap:12px;max-height:600px;overflow-y:auto}.prescription-item,.billing-patient-item{padding:16px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:8px;cursor:pointer;transition:all .2s ease}.prescription-item:hover,.billing-patient-item:hover{background-color:var(--hover-bg)}.prescription-item.active,.billing-patient-item.active{border-color:var(--primary)}.prescription-patient{display:flex;flex-direction:column;margin-bottom:8px}.prescription-patient-name{font-size:15px;font-weight:600;color:var(--text-primary)}.prescription-patient-id{font-size:12px;color:var(--text-muted)}.prescription-diagnosis{font-size:13px;color:var(--text-secondary);margin-bottom:12px}.prescription-meta{display:flex;justify-content:space-between;font-size:13px}.prescription-items{color:var(--text-muted)}.prescription-total{font-weight:600;color:var(--primary)}.empty-dispense,.empty-invoice{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center;color:var(--text-muted)}.empty-dispense svg,.empty-invoice svg{margin-bottom:16px;opacity:.5;width:48px;height:48px}.empty-dispense h4,.empty-invoice h4{margin:0 0 8px;color:var(--text-secondary)}.empty-dispense p,.empty-invoice p{margin:0;font-size:14px}.dispense-form,.invoice-form{padding:0}.dispense-header,.invoice-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dispense-header h4,.invoice-header h4{margin:0;font-size:18px;font-weight:600;color:var(--text-primary)}.dispense-id,.invoice-id{font-size:13px;color:var(--text-muted)}.dispense-diagnosis{font-size:14px;color:var(--text-secondary);margin-bottom:20px;padding:12px;background-color:var(--bg-secondary);border-radius:8px}.dispense-medications h5,.invoice-items h5{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 12px}.dispense-med-item{padding:14px;background-color:var(--bg-secondary);border-radius:8px;margin-bottom:10px}.dispense-med-item.low-stock{border:1px solid var(--error)}.med-details{display:flex;justify-content:space-between;margin-bottom:8px}.med-details .med-name{font-weight:500;color:var(--text-primary)}.med-details .med-dosage{font-size:13px;color:var(--text-muted)}.med-qty{display:flex;justify-content:space-between;font-size:13px;color:var(--text-secondary)}.med-subtotal{font-weight:600;color:var(--primary)}.stock-warning{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:12px;color:var(--error)}.dispense-summary,.invoice-summary{margin-top:24px;padding-top:24px;border-top:1px solid var(--border-color)}.dispense-total,.invoice-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dispense-total span:first-child,.invoice-total span:first-child{font-size:14px;color:var(--text-muted)}.inventory-section{display:flex;flex-direction:column;gap:24px}.barcode-scan-row{display:flex;align-items:flex-end;gap:12px;margin-bottom:18px}.barcode-scan-row .form-group{flex:1;margin-bottom:0}.barcode-scan-actions{display:flex;gap:12px}.camera-scanner-modal{width:min(92vw,640px)}.camera-scanner-intro{margin:0 0 16px;color:var(--text-secondary);font-size:14px}.camera-scanner-preview{position:relative;min-height:320px;border-radius:16px;overflow:hidden;background:#0f172a}.camera-scanner-video{width:100%;height:100%;min-height:320px;object-fit:cover;display:block}.camera-scanner-guide{position:absolute;inset:50% auto auto 50%;width:min(72%,360px);height:132px;transform:translate(-50%,-50%);border:2px solid rgba(255,255,255,.92);border-radius:18px;box-shadow:0 0 0 999px #0f172a47}.camera-scanner-guide:after{content:"";position:absolute;left:10%;right:10%;top:50%;height:2px;background:#22c55ee6;box-shadow:0 0 14px #22c55ea6}.camera-scanner-fallback{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:28px;color:#e2e8f0;text-align:center}.camera-scanner-fallback svg{width:28px;height:28px}.camera-scanner-status,.camera-scanner-error{margin:14px 0 0;font-size:13px;line-height:1.5}.camera-scanner-status{color:var(--text-secondary)}.camera-scanner-error{color:#dc2626}.add-stock-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.add-stock-form select,.add-stock-form input{padding:10px 14px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;background:var(--card-bg);color:var(--text-primary)}.add-stock-form select{flex:2 1 260px;max-width:none}.add-stock-form input{flex:1 1 140px;width:auto}.inventory-table{width:100%;border-collapse:collapse}.inventory-table th,.inventory-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--border-color)}.inventory-table th{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);background-color:var(--bg-secondary)}.inventory-table td{font-size:14px;color:var(--text-primary)}.low-stock-row{background-color:#fef2f2}.stock-status{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500}.stock-status.ok{color:var(--success)}.stock-status.expiring{color:#d97706}.stock-status.expired{color:#dc2626}.stock-status.low{color:var(--error)}.inventory-item-main{display:flex;flex-direction:column;gap:4px}.inventory-item-main strong{font-size:14px;color:var(--text-primary)}.inventory-item-meta{font-size:12px;color:var(--text-muted)}.sale-availability{display:flex;flex-direction:column;gap:2px}.sale-availability strong{font-size:14px;color:var(--text-primary)}.sale-availability span{font-size:12px;color:#b45309}.inventory-actions-row{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:20px}.restock-card .add-stock-form{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.restock-card .add-stock-form select{flex:1;min-width:200px}.restock-card .add-stock-form input{min-width:130px}.new-item-card{display:flex;flex-direction:column}.new-item-card .card-body{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center}.new-item-desc{color:var(--text-secondary);font-size:13px;margin:0}.btn-full{width:100%}.inventory-count{font-size:13px;color:var(--text-muted);font-weight:400}.new-medication-modal{max-width:480px;width:90%}.new-medication-modal .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-hint{display:block;font-size:12px;color:var(--text-muted);margin-top:4px}.queue-flow{display:flex;gap:16px;overflow-x:auto;padding-bottom:20px;margin-bottom:24px}.queue-department{flex:1;min-width:220px;display:flex;flex-direction:column;position:relative}.dept-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:10px 10px 0 0;color:#fff}.dept-header h3{margin:0;font-size:14px;font-weight:600}.dept-header .dept-count{background-color:#fff3;padding:2px 10px;border-radius:10px;font-size:13px;font-weight:600}.dept-queue{flex:1;background-color:var(--card-bg);border:1px solid var(--border-color);border-top:none;border-radius:0 0 10px 10px;padding:12px;min-height:300px;display:flex;flex-direction:column;gap:10px}.empty-queue{text-align:center;color:var(--text-muted);font-size:13px;padding:20px}.queue-card{background-color:var(--bg-secondary);border-radius:8px;padding:14px}.queue-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.patient-initials{width:32px;height:32px;background-color:var(--primary);color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.queue-card .patient-id{font-size:11px;color:var(--text-muted)}.queue-card-name{font-size:14px;font-weight:500;color:var(--text-primary);margin-bottom:8px}.queue-card-times{margin-bottom:12px}.queue-card-time{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--text-muted);margin-bottom:6px}.queue-card-time svg{width:12px;height:12px}.queue-card-waiting{display:flex;align-items:center;gap:6px;font-size:12px;padding:4px 8px;border-radius:4px;background:var(--bg-secondary)}.queue-card-waiting .waiting-label{color:var(--text-muted)}.queue-card-waiting .waiting-time{font-weight:600}.queue-card-waiting.waiting-short .waiting-time{color:#059669}.queue-card-waiting.waiting-moderate .waiting-time{color:#d97706}.queue-card-waiting.waiting-long .waiting-time{color:#dc2626}.queue-card.waiting-moderate{border-left:3px solid #f59e0b}.queue-card.waiting-long{border-left:3px solid #ef4444;background:#fef2f2}.queue-arrow{position:absolute;right:-24px;top:50%;transform:translateY(-50%);color:var(--text-muted);z-index:1}.discharged-card{margin-top:0}.discharged-list{display:flex;flex-direction:column;gap:12px}.discharged-item{display:flex;align-items:center;gap:12px;padding:12px;background-color:var(--bg-secondary);border-radius:8px}.discharged-info{display:flex;flex-direction:column;flex:1}.discharged-name{font-size:14px;font-weight:500;color:var(--text-primary)}.discharged-id,.discharged-time{font-size:12px;color:var(--text-muted)}.billing-patient-item{display:flex;align-items:center;gap:14px}.billing-patient-info{display:flex;flex-direction:column;flex:1}.billing-patient-name{font-size:15px;font-weight:600;color:var(--text-primary)}.billing-patient-id{font-size:12px;color:var(--text-muted)}.billing-patient-balance{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}.billing-patient-balance strong{font-size:14px;color:var(--text-primary)}.billing-patient-balance small{font-size:11px;color:var(--text-muted)}.invoice-balance-badge{min-width:130px;display:flex;flex-direction:column;align-items:flex-end;gap:4px;padding:10px 12px;border-radius:10px;background:linear-gradient(135deg,#3b82f614,#8b5cf61f)}.invoice-balance-badge span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted)}.invoice-balance-badge strong{font-size:18px;color:var(--text-primary)}.billing-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.billing-overview-card{padding:14px;border-radius:10px;background-color:var(--bg-secondary);border:1px solid var(--border-color);display:flex;flex-direction:column;gap:6px}.billing-overview-card span{font-size:12px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.billing-overview-card strong{font-size:18px;color:var(--text-primary)}.billing-overview-card.outstanding{border-color:#ef444440;background:#ef44440d}.billing-complete-state{padding:28px 20px;border:1px dashed var(--border-color);border-radius:12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--text-secondary)}.billing-complete-state svg{width:34px;height:34px;color:var(--success)}.billing-complete-state h5{margin:0;font-size:16px;color:var(--text-primary)}.billing-complete-state p{margin:0 0 6px;font-size:14px}.invoice-items{margin-bottom:24px}.invoice-item{display:flex;align-items:center;gap:14px;padding:14px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:8px;cursor:pointer;margin-bottom:10px;transition:all .2s ease}.invoice-item:hover{background-color:var(--hover-bg)}.invoice-item.selected{border-color:var(--primary);background-color:var(--primary-light)}.item-check{width:20px;height:20px;border:2px solid var(--border-color);border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.invoice-item.selected .item-check{background-color:var(--primary);border-color:var(--primary);color:#fff}.item-details{flex:1;display:flex;flex-direction:column;gap:4px}.item-meta-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.item-desc{font-size:14px;font-weight:500;color:var(--text-primary)}.item-type{font-size:11px;padding:2px 8px;border-radius:4px;font-weight:500;text-transform:capitalize;width:fit-content}.item-type.consultation{background-color:#d1fae5;color:#065f46}.item-type.lab{background-color:#fef3c7;color:#92400e}.item-type.pharmacy{background-color:#fee2e2;color:#991b1b}.item-progress-note{font-size:12px;color:var(--text-muted)}.item-pricing{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.item-original-amount{font-size:12px;color:var(--text-muted);text-decoration:line-through}.item-amount{font-weight:600;color:var(--primary)}.billing-adjustments{margin-bottom:24px;padding:18px;border-radius:12px;background-color:var(--bg-secondary);border:1px solid var(--border-color)}.billing-adjustments-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.billing-form-help{display:block;margin-top:6px;font-size:12px;color:var(--text-muted)}.payment-method h5{font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 12px}.payment-options{display:flex;gap:10px;flex-wrap:wrap}.payment-option{padding:12px 20px;background-color:var(--bg-secondary);border:2px solid transparent;border-radius:8px;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.payment-option:hover{background-color:var(--hover-bg)}.payment-option.active{border-color:var(--primary);background-color:var(--primary-light);color:var(--primary)}.receipts-table{width:100%;border-collapse:collapse}.receipts-table th,.receipts-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--border-color)}.receipts-table th{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);background-color:var(--bg-secondary)}.receipts-table td{font-size:14px;color:var(--text-primary)}.payment-method-cell{text-transform:capitalize}.invoice-summary-grid{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}.invoice-summary-row{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;color:var(--text-secondary)}.invoice-summary-row strong{color:var(--text-primary)}.invoice-summary-row.highlight{padding-top:10px;border-top:1px solid var(--border-color);font-weight:600}.invoice-error-message{margin:0 0 16px;padding:12px 14px;border-radius:8px;background:#ef444414;color:var(--error);font-size:13px}.receipts-section .header-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}.receipts-section .filter-group{display:flex;align-items:center;gap:8px}.receipts-section .filter-group label{font-size:13px;color:var(--text-muted)}.receipts-section .filter-group select,.receipts-section .filter-group input[type=date]{border-radius:8px;border:1px solid var(--border-color);padding:6px 10px;font-size:13px;background:var(--bg-secondary)}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px}.modal{background-color:var(--card-bg);border-radius:12px;max-width:480px;width:100%;max-height:90vh;overflow-y:auto;animation:modalSlide .3s ease}@keyframes modalSlide{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.receipt-content{padding:32px}.receipt-header{text-align:center;margin-bottom:24px;padding-bottom:24px;border-bottom:2px dashed var(--border-color)}.receipt-logo{display:flex;align-items:center;justify-content:center;gap:8px;font-size:18px;font-weight:700;color:var(--primary);margin-bottom:12px}.receipt-logo .logo-icon{width:32px;height:32px;font-size:20px}.receipt-header h2{margin:0;font-size:16px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px}.receipt-info{margin-bottom:24px}.info-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px}.info-row span:first-child{color:var(--text-muted)}.info-row span:last-child{font-weight:500;color:var(--text-primary)}.receipt-items table{width:100%;border-collapse:collapse;margin-bottom:20px}.receipt-items th,.receipt-items td{padding:10px 0;text-align:left;font-size:14px}.receipt-items th{border-bottom:1px solid var(--border-color);color:var(--text-muted);font-weight:500}.receipt-items td{border-bottom:1px solid var(--border-color);color:var(--text-primary)}.receipt-items th:nth-child(n+2),.receipt-items td:nth-child(n+2){text-align:right}.receipt-items th:last-child,.receipt-items td:last-child{text-align:right}.receipt-items tfoot td{border-bottom:none;padding-top:16px;font-size:16px}.receipt-payment{display:flex;justify-content:space-between;align-items:center;padding:16px;background-color:var(--bg-secondary);border-radius:8px;margin-bottom:24px}.receipt-payment span:first-child{font-size:14px;color:var(--text-secondary)}.receipt-payment.partial{background-color:#f59e0b1f}.receipt-payment.partial .paid-stamp{color:#b45309}.paid-stamp{font-size:18px;font-weight:700;color:var(--success);letter-spacing:2px}.receipt-footer{text-align:center;padding-top:24px;border-top:2px dashed var(--border-color)}.receipt-footer p{margin:0 0 8px;font-size:14px;color:var(--text-muted)}.receipt-footer p:last-child{font-style:italic;margin-bottom:0}.modal-actions{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--border-color);background-color:var(--bg-secondary)}@media(max-width:1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.quick-actions-grid{grid-template-columns:repeat(2,1fr)}.activity-section,.registration-layout,.clinical-layout,.lab-layout,.ward-layout,.pharmacy-layout,.billing-layout,.procurement-layout{grid-template-columns:1fr}}@media(max-width:768px){.billing-overview-grid,.billing-adjustments-row{grid-template-columns:1fr}.barcode-scan-row,.inventory-actions-row{grid-template-columns:1fr;flex-direction:column}.barcode-scan-row{align-items:stretch}.barcode-scan-actions{width:100%;flex-direction:column}.camera-scanner-preview,.camera-scanner-video,.camera-scanner-fallback{min-height:260px}.barcode-scan-row button{width:100%}.invoice-header{flex-direction:column;align-items:flex-start;gap:12px}.invoice-balance-badge,.billing-patient-balance,.item-pricing{align-items:flex-start;text-align:left}.receipts-table{min-width:960px}.procurement-filters{grid-template-columns:1fr}.procurement-table-wrap .settings-table{min-width:820px}.procurement-actions{min-width:0}.sidebar-backdrop{display:block;position:fixed;inset:0;border:none;background:#0f172a6b;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:110}.sidebar-backdrop.visible{opacity:1;pointer-events:auto}.sidebar{width:min(84vw,300px);transform:translate(-100%);transition:transform .24s ease;z-index:120}.sidebar.open{transform:translate(0)}.sidebar-header,.sidebar-footer{padding:18px 16px}.sidebar-mobile-close,.mobile-topbar{display:flex}.nav-item{justify-content:flex-start;padding:13px 14px}.nav-item .badge{position:static;margin-left:auto}.main-content{margin-left:0;padding:16px}.mobile-topbar{align-items:center;gap:12px;margin-bottom:16px;padding:10px 12px;border-radius:16px;background:#ffffffe0;border:1px solid var(--border-color);box-shadow:0 10px 26px #0f172a14;position:sticky;top:12px;z-index:90;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.role-badge{display:none}.welcome-banner{padding:20px}.welcome-content{flex-direction:column;align-items:flex-start}.welcome-name{font-size:22px}.welcome-summary{width:100%;justify-content:space-around;padding:12px}.summary-value{font-size:18px}.quick-actions-grid{grid-template-columns:repeat(2,1fr)}.quick-action-btn{padding:16px 12px}.quick-action-icon{width:40px;height:40px}.quick-action-label{font-size:12px;text-align:center}.stats-grid,.form-grid{grid-template-columns:1fr}.medication-grid{grid-template-columns:repeat(2,1fr)}.lab-tests-grid{grid-template-columns:1fr}.queue-flow{flex-direction:column}.queue-department{min-width:100%}.queue-arrow{display:none}}.reports-tabs,.settings-tabs{display:flex;gap:8px;margin-bottom:24px}.report-tab,.settings-tab{padding:10px 18px;background-color:var(--bg-secondary);border:none;border-radius:8px;font-size:14px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:8px}.report-tab:hover,.settings-tab:hover{background-color:var(--hover-bg)}.report-tab.active,.settings-tab.active{background-color:var(--primary);color:#fff}.settings-tab .tab-icon{width:26px;height:26px;border-radius:999px;display:flex;align-items:center;justify-content:center;background-color:#0f172a0f}.settings-tab.active .tab-icon{background-color:#ffffff29}.settings-tab .tab-icon svg{width:16px;height:16px}.reports-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:24px}.report-card{display:flex;align-items:center;gap:16px;padding:24px;background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:12px}.report-card-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.report-card-content{display:flex;flex-direction:column}.report-card-value{font-size:24px;font-weight:700;color:var(--text-primary)}.report-card-label{font-size:14px;color:var(--text-muted)}.revenue-chart{margin-bottom:24px}.revenue-bar-item{margin-bottom:20px}.revenue-bar-label{display:flex;justify-content:space-between;margin-bottom:8px;font-size:14px}.revenue-bar-label span:first-child{color:var(--text-secondary)}.revenue-bar-label span:last-child{font-weight:600;color:var(--text-primary)}.revenue-bar-track{height:12px;background-color:var(--bg-secondary);border-radius:6px;overflow:hidden}.revenue-bar-fill{height:100%;border-radius:6px;transition:width .3s ease}.revenue-total-display{display:flex;justify-content:space-between;align-items:center;padding:20px;background-color:var(--bg-secondary);border-radius:10px;margin-top:24px}.revenue-total-display span:first-child{font-size:16px;font-weight:600;color:var(--text-secondary)}.revenue-total-display .total-value{font-size:28px;font-weight:700;color:var(--success)}.reports-table{width:100%;border-collapse:collapse}.reports-table th,.reports-table td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--border-color)}.reports-table th{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);background-color:var(--bg-secondary)}.reports-table td{font-size:14px;color:var(--text-primary)}.reports-table tfoot td{background-color:var(--bg-secondary);font-weight:600}.staff-management{display:flex;flex-direction:column;gap:20px}.header-actions{display:flex;align-items:center;gap:12px}.staff-filter-select{padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:13px;background-color:var(--card-bg);color:var(--text-primary)}.settings-table{width:100%;border-collapse:collapse}.settings-table th,.settings-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--border-color)}.settings-table th{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);background-color:var(--bg-secondary)}.settings-table .disabled-row{background-color:#f9fafb;opacity:.7}.staff-cell{display:flex;align-items:center;gap:12px}.staff-cell-info{display:flex;flex-direction:column}.staff-cell-name{font-weight:500;color:var(--text-primary)}.staff-cell-username{font-size:12px;color:var(--text-muted)}.contact-cell{display:flex;flex-direction:column;font-size:13px}.contact-cell span:first-child{color:var(--text-primary)}.contact-cell span:last-child{color:var(--text-muted)}.staff-avatar-sm{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:600;flex-shrink:0}.staff-avatar-sm.disabled{filter:grayscale(100%)}.role-select{padding:6px 10px;border:2px solid var(--border-color);border-radius:6px;font-size:13px;background-color:var(--card-bg);cursor:pointer;min-width:150px}.role-select:focus{outline:none;border-color:var(--primary)}.status-pill{display:inline-flex;align-items:center;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500}.status-pill.active{background-color:#d1fae5;color:#065f46}.status-pill.disabled{background-color:#f3f4f6;color:#6b7280}.action-buttons{display:flex;gap:8px}.btn-warning{background-color:#fef3c7;color:#92400e}.btn-warning:hover{background-color:#fde68a}.btn-success{background-color:#d1fae5;color:#065f46}.btn-success:hover{background-color:#a7f3d0}.staff-summary{display:flex;gap:24px;padding:16px;background-color:var(--bg-secondary);border-radius:8px;margin-top:16px;font-size:14px;color:var(--text-secondary)}.staff-summary span{display:flex;align-items:center;gap:6px}.services-management{display:flex;flex-direction:column;gap:20px}.service-filter-select{padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background-color:#fff;min-width:150px}.services-table{width:100%;border-collapse:collapse}.services-table th,.services-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--border-color)}.services-table th{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text-muted);background-color:var(--bg-secondary)}.services-table td{font-size:14px;color:var(--text-primary)}.service-name-cell{font-weight:500}.dept-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500}.dept-badge.dept-laboratory{background-color:#fef3c7;color:#92400e}.dept-badge.dept-radiology{background-color:#e0e7ff;color:#3730a3}.dept-badge.dept-clinical{background-color:#d1fae5;color:#065f46}.dept-badge.dept-registration{background-color:#dbeafe;color:#1e40af}.dept-badge.dept-pharmacy{background-color:#fee2e2;color:#991b1b}.dept-badge.dept-billing{background-color:#f3e8ff;color:#6b21a8}.services-summary{display:flex;gap:24px;padding:16px;background-color:var(--bg-secondary);border-radius:8px;margin-top:16px;font-size:14px;color:var(--text-secondary)}.services-summary span{display:flex;align-items:center;gap:6px}.service-modal{width:100%;max-width:520px}.service-modal .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.roles-management{display:flex;flex-direction:column;gap:20px}.roles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.role-card-item{border:1px solid var(--border-color);border-radius:12px;overflow:hidden;background:#fff;transition:box-shadow .2s}.role-card-item:hover{box-shadow:0 4px 12px #00000014}.role-card-header{display:flex;align-items:center;gap:12px;padding:16px;color:#fff;position:relative}.role-icon-large{font-size:28px}.role-header-info{flex:1}.role-header-info .role-title{display:block;font-weight:600;font-size:16px}.role-header-info .role-id{display:block;font-size:11px;opacity:.8}.system-badge{position:absolute;top:8px;right:8px;background:#ffffff40;padding:2px 8px;border-radius:10px;font-size:10px;font-weight:600;text-transform:uppercase}.role-card-body{padding:16px}.role-card-body .role-description{color:var(--text-secondary);font-size:13px;margin:0 0 12px}.role-stats{display:flex;gap:16px;margin-bottom:12px}.stat-item{font-size:13px;color:var(--text-muted)}.stat-item strong{color:var(--text-primary)}.role-modules{margin-top:8px}.modules-label{font-size:12px;color:var(--text-muted);margin-right:8px}.modules-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.module-tag{background:var(--bg-secondary);padding:3px 8px;border-radius:4px;font-size:11px;color:var(--text-secondary);text-transform:capitalize}.role-card-actions{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--border-color);background:var(--bg-secondary)}.btn-danger{background-color:#fee2e2;color:#dc2626}.btn-danger:hover{background-color:#fecaca}.roles-summary{display:flex;gap:24px;padding:16px;background-color:var(--bg-secondary);border-radius:8px;margin-top:16px;font-size:14px;color:var(--text-secondary)}.role-modal{width:100%;max-width:600px;max-height:90vh;overflow-y:auto}.role-modal .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.icon-selector{display:flex;flex-wrap:wrap;gap:6px}.icon-option{width:36px;height:36px;border:2px solid var(--border-color);border-radius:8px;background:#fff;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}.icon-option:hover{border-color:var(--primary);background:var(--bg-secondary)}.icon-option.selected{border-color:var(--primary);background:var(--primary);box-shadow:0 0 0 2px #14b8a633}.color-selector{display:flex;flex-wrap:wrap;gap:6px}.color-option{width:28px;height:28px;border:2px solid transparent;border-radius:50%;cursor:pointer;transition:all .15s}.color-option:hover{transform:scale(1.1)}.color-option.selected{border-color:var(--text-primary);box-shadow:0 0 0 2px #fff,0 0 0 4px currentColor}.modules-selector{display:flex;flex-direction:column;gap:8px;max-height:240px;overflow-y:auto;padding:4px}.module-checkbox{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer;transition:all .15s}.module-checkbox:hover{background:var(--bg-secondary)}.module-checkbox.checked{background:#f0fdfa;border-color:var(--primary)}.module-checkbox.required{opacity:.6}.module-checkbox input{margin-top:2px;width:18px;height:18px;accent-color:var(--primary)}.module-checkbox-info{display:flex;flex-direction:column;gap:2px}.module-checkbox-info strong{font-size:14px;color:var(--text-primary)}.module-checkbox-info small{font-size:12px;color:var(--text-muted)}.input-disabled{background:var(--bg-secondary);color:var(--text-muted);cursor:not-allowed}.staff-modal{width:100%;max-width:480px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border-color)}.modal-header h3{margin:0;font-size:18px;font-weight:600}.modal-close{background:none;border:none;color:var(--text-muted);cursor:pointer;padding:4px}.modal-close:hover{color:var(--text-primary)}.modal-body{padding:24px}.modal-body .form-group{margin-bottom:16px}.modal-body .form-group:last-child{margin-bottom:0}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--border-color);background-color:var(--bg-secondary)}.profile-settings-modal{max-width:550px;width:100%}.profile-modal-content{padding:24px}.profile-modal-header{display:flex;align-items:center;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--border-color);margin-bottom:20px}.profile-avatar-container{position:relative;flex-shrink:0}.profile-avatar-large{width:80px;height:80px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:600;color:#fff;flex-shrink:0}.profile-avatar-large.profile-photo{object-fit:cover}.photo-upload-btn{position:absolute;bottom:-4px;right:-4px;width:32px;height:32px;background:var(--primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;border:3px solid white;transition:background-color .15s}.photo-upload-btn:hover{background:var(--primary-dark)}.photo-remove-btn{position:absolute;top:-4px;right:-4px;width:24px;height:24px;background:#ef4444;color:#fff;border:2px solid white;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.photo-remove-btn:hover{background:#dc2626}.photo-remove-btn svg{width:12px;height:12px}.user-avatar.user-photo{object-fit:cover}.profile-header-info h2{margin:0 0 8px;font-size:22px}.profile-role{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:15px;font-size:13px;font-weight:500;color:#fff}.profile-username{display:block;margin-top:8px;font-size:14px;color:var(--text-secondary)}.profile-tabs{display:flex;gap:4px;margin-bottom:24px;background:var(--bg-secondary);padding:4px;border-radius:10px}.profile-tab{flex:1;padding:10px 16px;border:none;background:transparent;border-radius:8px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .15s}.profile-tab:hover{color:var(--text-primary)}.profile-tab.active{background:#fff;color:var(--primary);box-shadow:0 1px 3px #0000001a}.profile-tab-content{min-height:300px}.profile-form .form-group,.security-form .form-group{margin-bottom:20px}.profile-form .form-actions,.security-form .form-actions{margin-top:24px;padding-top:20px;border-top:1px solid var(--border-color);display:flex;gap:12px;justify-content:flex-end}.security-form h4{margin:0 0 8px;font-size:16px;font-weight:600}.security-note{color:var(--text-secondary);font-size:14px;margin-bottom:20px}.password-error{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;font-size:14px;margin-bottom:20px}.password-error svg{flex-shrink:0}.password-success{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#d1fae5;border:1px solid #a7f3d0;border-radius:8px;color:#059669;font-size:14px;margin-bottom:20px}.activity-info .info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.activity-info .info-card{background:var(--bg-secondary);padding:16px;border-radius:10px}.activity-info .info-label{display:block;font-size:12px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.activity-info .info-value{display:block;font-size:15px;font-weight:500;color:var(--text-primary)}.activity-info .info-value.status-active{color:#059669}.activity-info .info-value.status-inactive{color:#dc2626}.account-note{display:flex;gap:12px;margin-top:24px;padding:16px;background:#fef3c7;border-radius:10px;color:#92400e}.account-note svg{flex-shrink:0;margin-top:2px}.account-note p{margin:0;font-size:13px;line-height:1.5}.role-count{margin-left:auto;background-color:#fff3;padding:2px 10px;border-radius:10px;font-size:12px}.hospital-settings{display:flex;flex-direction:column;gap:24px}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.settings-grid .full-width{grid-column:1 / -1}.logo-upload-section{display:flex;flex-direction:column;align-items:center;gap:16px}.logo-preview{width:120px;height:120px;border:2px dashed var(--border-color);border-radius:16px;display:flex;align-items:center;justify-content:center;overflow:hidden;background-color:var(--bg-secondary)}.preview-logo{width:100%;height:100%;object-fit:contain;padding:8px}.logo-placeholder{width:80px;height:80px;background-color:var(--primary);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:700}.logo-actions{display:flex;gap:8px}.upload-btn{cursor:pointer}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;border-top:1px solid var(--border-color)}.receipt-preview{margin-top:20px;padding-top:20px;border-top:1px solid var(--border-color)}.receipt-preview h4{font-size:14px;font-weight:600;color:var(--text-secondary);margin:0 0 16px}.mini-receipt{max-width:280px;margin:0 auto;background-color:#fff;border:1px solid var(--border-color);border-radius:8px;padding:20px;font-size:12px;box-shadow:var(--shadow-md)}.mini-receipt-header{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:16px}.mini-receipt-header .mini-logo{width:40px;height:40px;object-fit:contain;margin-bottom:8px}.mini-receipt-header .mini-logo-text{width:40px;height:40px;background-color:var(--primary);color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;margin-bottom:8px}.mini-receipt-header strong{font-size:14px;color:var(--text-primary)}.mini-receipt-header small{color:var(--text-muted);font-size:10px}.mini-receipt-body{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 0;color:var(--text-muted)}.mini-line{width:100%;height:0;border-top:1px dashed var(--border-color)}.mini-receipt-footer{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:12px;border-top:1px dashed var(--border-color)}.mini-receipt-footer small{color:var(--text-muted);font-size:10px}.logo-image{width:44px;height:44px;border-radius:10px;object-fit:contain}.logo-image.large{width:80px;height:80px;border-radius:16px}.receipt-logo-image{width:32px;height:32px;object-fit:contain}.receipt-hospital-info{display:flex;flex-direction:column;align-items:center;font-size:12px;color:var(--text-muted);margin:8px 0 16px}.receipt-hospital-info span{margin:2px 0}.lab-results-alert{display:flex;align-items:center;gap:12px;padding:16px;background-color:#ecfdf5;border:2px solid #10b981;border-radius:10px;margin-bottom:20px;cursor:pointer;transition:all .2s ease}.lab-results-alert:hover{background-color:#d1fae5;transform:translate(4px)}.lab-results-alert .alert-icon{font-size:28px}.lab-results-alert .alert-text{display:flex;flex-direction:column;flex:1}.lab-results-alert .alert-text strong{color:#065f46;font-size:15px}.lab-results-alert .alert-text small{color:#059669;font-size:13px}.lab-results-alert svg{color:#10b981}.tab-badge-inline{background-color:#10b981;color:#fff;padding:2px 8px;border-radius:10px;font-size:11px;margin-left:6px}.tab.active .tab-badge-inline{background-color:#fff;color:var(--primary)}.lab-results-view{padding:0}.no-results{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center}.no-results-icon{font-size:48px;margin-bottom:16px;opacity:.5}.no-results h4{margin:0 0 8px;color:var(--text-secondary)}.no-results p{margin:0 0 20px;color:var(--text-muted);font-size:14px}.results-section{margin-bottom:24px}.results-section-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid var(--border-color)}.results-section-title.pending{color:#f59e0b;border-bottom-color:#fef3c7}.results-section-title.completed{color:#10b981;border-bottom-color:#d1fae5}.lab-order-card{background-color:var(--bg-secondary);border-radius:10px;padding:16px;margin-bottom:12px;border-left:4px solid var(--border-color)}.lab-order-card.pending{border-left-color:#f59e0b}.lab-order-card.completed{border-left-color:#10b981}.lab-order-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.lab-order-header .order-info{display:flex;flex-direction:column;gap:2px}.lab-order-header .order-date,.lab-order-header .order-completed{font-size:12px;color:var(--text-muted)}.lab-order-tests{display:flex;flex-direction:column;gap:10px}.test-result-item{background-color:var(--card-bg);border-radius:8px;padding:12px}.test-result-item.pending{display:flex;justify-content:space-between;align-items:center}.test-result-item.pending .test-name{font-weight:500;color:var(--text-primary)}.test-result-item.pending .test-status{font-size:13px;color:var(--text-muted);font-style:italic}.test-result-item.completed .test-result-header{display:flex;justify-content:space-between;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--border-color)}.test-result-item.completed .test-name{font-weight:600;color:var(--text-primary)}.test-result-item.completed .test-price{font-size:13px;color:var(--text-muted)}.test-result-value{font-size:14px}.test-result-value strong{display:block;font-size:12px;color:var(--text-muted);margin-bottom:4px}.test-result-value p{margin:0;color:var(--text-primary);background-color:var(--bg-secondary);padding:10px;border-radius:6px;white-space:pre-wrap}.lab-order-footer{margin-top:12px;padding-top:12px;border-top:1px solid var(--border-color);font-size:12px;color:var(--text-muted)}.clinical-module-header{margin-bottom:24px}.clinical-layout{display:grid;grid-template-columns:304px minmax(0,1fr);gap:24px;align-items:start}.clinical-queue-panel{display:flex;flex-direction:column;gap:14px;padding:22px;background:var(--card-bg);border:1px solid var(--border-color);border-radius:24px;position:sticky;top:24px}.clinical-queue-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.clinical-queue-head h3{margin:4px 0 0;font-size:22px;color:var(--text-primary)}.clinical-queue-caption{margin:0;font-size:13px;line-height:1.55;color:var(--text-muted)}.clinical-queue-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;background:none;margin-bottom:14px}.clinical-queue-summary .status-item{padding:12px 14px;border:1px solid var(--border-color);border-radius:14px;background:var(--bg-secondary);justify-content:flex-start}.clinical-queue-focus{display:flex;flex-direction:column;gap:4px;padding:14px 16px;margin-bottom:14px;border:1px solid var(--border-color);border-radius:16px;background:var(--card-bg)}.clinical-queue-focus-label,.clinical-section-kicker{display:inline-block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}.clinical-queue-focus strong{font-size:15px;color:var(--text-primary)}.clinical-queue-focus small{font-size:12px;color:var(--text-muted)}.clinical-patient-queue{gap:10px;max-height:calc(100vh - 320px);overflow-y:auto;padding-right:4px}.clinical-patient-queue .queue-patient{width:100%;align-items:flex-start;padding:14px;border:1px solid var(--border-color);border-radius:16px;background:var(--bg-secondary);text-align:left;transition:border-color .2s ease,background-color .2s ease}.clinical-patient-queue .queue-patient:hover{background:var(--card-bg);border-color:var(--border-color)}.clinical-patient-queue .queue-patient.active{border-color:var(--primary);background:var(--card-bg)}.clinical-patient-queue .queue-number{width:34px;height:34px;border-radius:12px;background:#111827}.clinical-patient-queue .queue-patient-info{gap:4px}.clinical-patient-queue .queue-patient-name{font-size:14px;font-weight:600}.clinical-patient-queue .queue-patient-id{font-size:12px}.clinical-patient-queue .queue-time{padding-top:2px}.consultation-area{display:flex;flex-direction:column;gap:20px}.clinical-empty-state{display:flex;align-items:center;justify-content:center;min-height:640px;padding:32px;border:1px solid var(--border-color);border-radius:20px;background:var(--card-bg)}.clinical-empty-state .empty-consultation-content{max-width:320px;text-align:center}.clinical-empty-state .empty-consultation-content svg{margin-bottom:16px;opacity:.35}.clinical-session-shell{display:flex;flex-direction:column;gap:0;background:var(--card-bg);border:1px solid var(--border-color);border-radius:24px;overflow:hidden}.clinical-session-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 30px 22px;border-bottom:1px solid var(--border-color)}.clinical-session-identity{min-width:0;flex:1}.clinical-session-identity h2{margin:8px 0 10px;font-size:34px;line-height:1.02;color:var(--text-primary)}.clinical-session-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--text-muted)}.clinical-session-side{display:flex;flex-direction:column;align-items:flex-end;gap:14px}.clinical-session-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;max-width:280px}.clinical-session-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.clinical-session-actions .btn{min-width:168px}.clinical-session-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:var(--bg-secondary);color:var(--text-secondary);font-size:12px;font-weight:600;white-space:nowrap}.clinical-session-chip--accent{background:#3b82f61f;color:#1d4ed8}.clinical-session-chip--alert{background:#ef44441a;color:#b91c1c}.clinical-session-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);background:#fafbfc}.clinical-summary-item{display:flex;flex-direction:column;gap:6px;padding:16px 18px;min-width:0}.clinical-summary-item+.clinical-summary-item{border-left:1px solid var(--border-color)}.clinical-summary-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.clinical-summary-value{font-size:14px;font-weight:600;color:var(--text-primary);min-width:0}.clinical-summary-value--alert{color:#b91c1c}.clinical-summary-value--accent{color:var(--primary)}.clinical-tab-bar{display:flex;align-items:center;gap:28px;padding:0 30px;overflow-x:auto}.clinical-tab-switch{display:inline-flex;align-items:center;gap:8px;min-height:58px;padding:0;border:none;border-bottom:2px solid transparent;background:transparent;color:var(--text-muted);font-size:14px;font-weight:600;white-space:nowrap;transition:color .2s ease,border-color .2s ease}.clinical-tab-switch:hover{color:var(--text-primary)}.clinical-tab-switch.active{color:var(--text-primary);border-bottom-color:var(--text-primary)}.tab-badge-inline{background-color:#111827;color:#fff;padding:2px 8px;border-radius:999px;font-size:11px;margin-left:0}.clinical-tab-switch.active .tab-badge-inline{background-color:var(--primary)}.clinical-pane-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 30px 20px;border-bottom:1px solid var(--border-color)}.clinical-pane-header h3{margin:6px 0 0;font-size:24px;color:var(--text-primary)}.clinical-pane-header p{max-width:420px;margin:0;font-size:14px;line-height:1.6;color:var(--text-muted)}.clinical-pane-content{padding:24px 30px 30px}.clinical-consultation-form,.clinical-lab-order-form,.clinical-prescription-form{display:flex;flex-direction:column;gap:18px}.lab-results-alert{gap:14px;padding:18px;background-color:#f4fbf6;border:1px solid #cddfd0;border-radius:16px;margin-bottom:0}.lab-results-alert:hover{background-color:#eef7f0;transform:none}.clinical-consultation-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px}.clinical-editor-panel,.clinical-side-panel,.clinical-selection-summary,.clinical-medication-selector,.clinical-prescription-panel{border:1px solid var(--border-color);border-radius:18px;background:var(--bg-secondary)}.clinical-editor-panel,.clinical-side-panel,.clinical-medication-selector,.clinical-prescription-panel{padding:20px}.clinical-form-group{margin-bottom:0}.clinical-form-group textarea,.clinical-form-group input{background:var(--card-bg)}.clinical-form-group textarea{min-height:420px;resize:vertical}.clinical-side-panel{display:flex;flex-direction:column;gap:16px;background:#fafbfc}.clinical-mini-summary{overflow:hidden;border:1px solid var(--border-color);border-radius:14px;background:var(--card-bg)}.clinical-mini-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;font-size:13px;color:var(--text-secondary)}.clinical-mini-summary-row+.clinical-mini-summary-row{border-top:1px solid var(--border-color)}.clinical-mini-summary-row strong{color:var(--text-primary)}.clinical-selection-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}.clinical-selection-item{padding:16px 18px}.clinical-selection-item+.clinical-selection-item{border-left:1px solid var(--border-color)}.clinical-selection-label{display:block;margin-bottom:6px;font-size:12px;color:var(--text-muted)}.clinical-selection-item strong{font-size:20px;color:var(--text-primary)}.clinical-lab-grid{gap:14px}.lab-test-item{border:1px solid var(--border-color);border-radius:16px;background:var(--bg-secondary);transition:border-color .2s ease,background-color .2s ease}.lab-test-item:hover{background:var(--card-bg)}.lab-test-item.selected{border-color:var(--primary);background:var(--card-bg)}.clinical-order-summary{margin-top:0;padding:18px 20px;border:1px solid var(--border-color);border-radius:18px;background:var(--bg-secondary)}.results-section{margin-bottom:18px;padding:18px;border:1px solid var(--border-color);border-radius:18px;background:var(--bg-secondary)}.results-section:last-child{margin-bottom:0}.results-section-title{margin-bottom:16px;padding-bottom:12px}.lab-order-card,.history-rx-card,.history-lab-card,.history-billing-card{border-radius:16px;background:var(--card-bg)}.test-result-item{border:1px solid var(--border-color);border-radius:12px;background:var(--card-bg)}.test-result-value p{background-color:var(--bg-secondary);border-radius:10px}.clinical-prescription-layout{display:grid;grid-template-columns:minmax(0,1.15fr) 340px;gap:22px;align-items:start}.clinical-medication-selector{margin-top:0}.clinical-medication-selector label,.clinical-selected-medications label{display:block;margin-bottom:14px;font-size:13px;font-weight:600;color:var(--text-secondary)}.clinical-medication-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:420px}.medication-item{border:1px solid var(--border-color);border-radius:16px;background:var(--card-bg);transition:border-color .2s ease,background-color .2s ease}.medication-item:hover{background:var(--bg-secondary)}.medication-item.selected{border-color:var(--primary);background:var(--primary-light)}.clinical-prescription-panel{display:flex;flex-direction:column;gap:16px}.clinical-inline-empty{padding:20px;border:1px dashed var(--border-color);border-radius:14px;background:var(--card-bg)}.clinical-inline-empty p{margin:0;font-size:13px;color:var(--text-muted)}.clinical-selected-medications{margin-top:0}.selected-med-item{align-items:flex-start;padding:14px;border:1px solid var(--border-color);border-radius:16px;background:var(--card-bg)}.prescription-summary{margin-top:16px;padding:16px;border:1px solid var(--border-color);border-radius:16px;background:var(--card-bg)}.clinical-history-layout{display:flex;flex-direction:column;gap:18px;max-height:none;overflow:visible;padding-right:0}.clinical-history-archive{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.history-section{border:1px solid var(--border-color);border-radius:18px;background:var(--bg-secondary);padding:18px}.history-section-title{display:flex;align-items:center;gap:8px;font-size:15px;margin-bottom:14px;padding-bottom:12px}.visit-timeline{border-left:1px solid var(--border-color)}.timeline-marker{background-color:#111827}@media(max-width:1280px){.clinical-session-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.clinical-consultation-grid,.clinical-prescription-layout,.clinical-history-archive{grid-template-columns:1fr}}@media(max-width:900px){.clinical-queue-panel{position:static}.clinical-session-summary,.clinical-selection-summary,.clinical-queue-summary{grid-template-columns:1fr}.clinical-summary-item+.clinical-summary-item,.clinical-selection-item+.clinical-selection-item{border-left:none;border-top:1px solid var(--border-color)}.clinical-layout{grid-template-columns:1fr}.clinical-session-banner,.clinical-pane-header,.clinical-pane-content,.clinical-queue-panel{padding-left:20px;padding-right:20px}.clinical-tab-bar{gap:18px;padding-left:20px;padding-right:20px}.clinical-session-banner{flex-direction:column}.clinical-session-side,.clinical-session-tags{align-items:flex-start;justify-content:flex-start;max-width:none}.clinical-session-actions{width:100%}.clinical-session-actions .btn{flex:1 1 220px}.clinical-session-identity h2{font-size:28px}.clinical-pane-header{flex-direction:column}.clinical-consultation-grid,.clinical-prescription-layout,.clinical-selection-summary{grid-template-columns:1fr}}.shift-warning{display:flex;align-items:flex-start;gap:16px;padding:20px;background-color:#fef2f2;border:2px solid #ef4444;border-radius:12px;margin-bottom:20px}.shift-warning-icon{font-size:32px}.shift-warning-content{display:flex;flex-direction:column;gap:4px}.shift-warning-content strong{color:#991b1b;font-size:16px}.shift-warning-content p{color:#b91c1c;font-size:14px;margin:0}.shift-details{display:flex;flex-direction:column;gap:2px;margin-top:8px;padding-top:8px;border-top:1px solid #fecaca;font-size:13px;color:#dc2626}.login-btn.disabled{background-color:#9ca3af;cursor:not-allowed}.login-btn.disabled:hover{background-color:#9ca3af;transform:none}.password-screen .login-content{max-width:400px;margin:0 auto}.password-content{text-align:center}.back-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background:transparent;border:1px solid var(--border-color);border-radius:8px;font-size:14px;color:var(--text-secondary);cursor:pointer;transition:all .2s;margin-bottom:24px}.back-btn:hover{background:var(--bg-secondary);color:var(--text-primary)}.back-btn svg{width:16px;height:16px}.password-user-info{display:flex;flex-direction:column;align-items:center;margin-bottom:32px}.password-avatar{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:600;color:#fff;margin-bottom:16px;overflow:hidden}.password-avatar img{width:100%;height:100%;object-fit:cover}.password-user-info h2{font-size:24px;font-weight:600;color:var(--text-primary);margin:0 0 8px}.password-role{font-size:14px;font-weight:500;margin-bottom:4px}.password-username{font-size:14px;color:var(--text-muted)}.password-form{text-align:left}.password-form .form-group{margin-bottom:20px}.password-form label{display:block;font-size:14px;font-weight:500;color:var(--text-secondary);margin-bottom:8px}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{width:100%;padding:12px 44px 12px 16px;border:1px solid var(--border-color);border-radius:10px;font-size:16px;background:var(--bg-secondary);color:var(--text-primary);transition:all .2s}.password-input-wrapper input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #6366f11a}.password-input-wrapper input.error{border-color:var(--danger)}.toggle-password{position:absolute;right:12px;background:transparent;border:none;padding:4px;cursor:pointer;color:var(--text-muted);display:flex;align-items:center;justify-content:center}.toggle-password:hover{color:var(--text-primary)}.error-message{display:block;color:var(--danger);font-size:13px;margin-top:6px}.password-form .login-btn{margin-top:16px}.password-hint{font-size:12px;color:var(--text-muted);margin-top:16px}.no-staff-message{text-align:center;padding:24px;color:var(--text-muted);font-size:14px}.staff-avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}.shift-indicator{font-size:11px;font-weight:500;margin-top:2px}.shift-indicator.on-shift{color:#10b981}.shift-indicator.off-shift{color:#ef4444}.staff-card.outside-shift{opacity:.7}.staff-card.outside-shift .staff-avatar{filter:grayscale(50%)}.schedule-cell{display:flex;flex-direction:column;gap:2px;font-size:12px}.shift-status{font-weight:600}.shift-status.on{color:#10b981}.shift-status.off{color:#ef4444}.schedule-time{color:var(--text-primary)}.schedule-days{color:var(--text-muted);font-size:11px}.no-schedule{color:var(--text-muted);font-size:12px;font-style:italic}.staff-modal.large{max-width:600px}.edit-section{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--border-color)}.edit-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.edit-section h4{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600;color:var(--text-primary);margin:0 0 16px}.toggle-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:400}.toggle-label input{display:none}.toggle-switch{width:40px;height:22px;background-color:var(--border-color);border-radius:11px;position:relative;transition:background-color .2s ease}.toggle-switch:after{content:"";position:absolute;width:18px;height:18px;background-color:#fff;border-radius:50%;top:2px;left:2px;transition:transform .2s ease;box-shadow:0 1px 3px #0003}.toggle-label input:checked+.toggle-switch{background-color:var(--primary)}.toggle-label input:checked+.toggle-switch:after{transform:translate(18px)}.toggle-text{font-size:13px;color:var(--text-secondary)}.days-selector{display:flex;gap:6px;flex-wrap:wrap}.day-btn{padding:8px 12px;background-color:var(--bg-secondary);border:2px solid var(--border-color);border-radius:8px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.day-btn:hover{background-color:var(--hover-bg)}.day-btn.selected{background-color:var(--primary);border-color:var(--primary);color:#fff}.schedule-preview{display:flex;align-items:center;gap:8px;padding:12px;background-color:var(--bg-secondary);border-radius:8px;margin-top:16px;font-size:13px;color:var(--text-secondary)}.schedule-preview svg{color:var(--primary)}.schedule-note{padding:12px;background-color:#fefce8;border-radius:8px;font-size:13px;color:#854d0e;margin:0}.role-badge-sm{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;color:#fff;font-size:12px;font-weight:500}.roles-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.role-item{border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.role-item .role-header{display:flex;align-items:center;gap:10px;padding:16px;color:#fff}.role-item .role-icon{font-size:24px}.role-item .role-title{font-size:16px;font-weight:600}.role-item .role-body{padding:16px;background-color:var(--card-bg)}.role-item .role-description{font-size:14px;color:var(--text-secondary);margin:0 0 16px}.role-modules{border-top:1px solid var(--border-color);padding-top:12px}.modules-label{display:block;font-size:12px;font-weight:600;color:var(--text-muted);margin-bottom:8px}.modules-list{display:flex;flex-wrap:wrap;gap:6px}.module-tag{padding:4px 10px;background-color:var(--bg-secondary);border-radius:4px;font-size:12px;color:var(--text-secondary);text-transform:capitalize}.system-info{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:20px}.info-item{padding:16px;background-color:var(--bg-secondary);border-radius:8px}.info-label{display:block;font-size:12px;font-weight:600;color:var(--text-muted);margin-bottom:4px}.info-value{font-size:16px;font-weight:500;color:var(--text-primary)}.system-update-panel{display:grid;gap:14px;padding:18px;border:1px solid var(--border-color);border-radius:12px;background:var(--card-bg)}.system-update-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.system-update-header h4{margin:0 0 4px;font-size:16px}.system-update-header p,.system-update-copy p,.system-update-note{margin:0;font-size:13px;line-height:1.5;color:var(--text-secondary)}.system-update-status{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border-radius:10px;border:1px solid transparent}.system-update-status.available{background-color:#0d948814;border-color:#0d948838}.system-update-status.in-progress{background-color:#3b82f614;border-color:#3b82f633}.system-update-status.current{background-color:#10b98114;border-color:#10b98133}.system-update-status.error{background-color:#ef444414;border-color:#ef44442e}.system-update-copy{display:grid;gap:6px}.system-update-copy strong{color:var(--text-primary)}.system-update-notes{white-space:pre-wrap}.desktop-download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.desktop-download-card{display:grid;gap:10px;padding:16px;border-radius:12px;border:1px solid rgba(13,148,136,.18);background:#ffffffe0;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.desktop-download-card:hover{transform:translateY(-1px);border-color:#0d948857;box-shadow:0 14px 32px #0f172a14}.desktop-download-card.loading{opacity:.72}.desktop-download-card strong{color:var(--text-primary);font-size:15px}.desktop-download-card p{margin:0;color:var(--text-secondary);font-size:13px;line-height:1.5}.desktop-download-format{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:4px 10px;border-radius:999px;background:#0d94881f;color:#0f766e;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.staff-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.staff-dept-group{border:1px solid var(--border-color);border-radius:10px;overflow:hidden}.staff-dept-header{display:flex;align-items:center;gap:8px;padding:10px 14px;color:#fff;font-size:13px;font-weight:600}.staff-dept-list{padding:10px;background-color:var(--card-bg)}.staff-mini-card{padding:8px 10px;background-color:var(--bg-secondary);border-radius:6px;margin-bottom:6px}.staff-mini-card:last-child{margin-bottom:0}.staff-mini-name{font-size:13px;color:var(--text-primary)}.history-meta{font-size:12px;color:var(--text-muted)}.prescription-by{font-size:12px;color:var(--text-muted);margin-top:8px}.subs-nav-tabs{display:flex;gap:10px;margin-bottom:20px;padding-bottom:4px}.subs-nav-tab{padding:10px 14px;background-color:var(--bg-secondary);border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:600;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:8px}.subs-nav-tab:hover{border-color:var(--border-color);color:var(--text-primary)}.subs-nav-tab.active{background-color:var(--card-bg);color:var(--primary);border-color:#0d948847;box-shadow:0 1px 2px #0f172a14}.subs-nav-tab .tab-icon{width:24px;height:24px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#0f172a0f}.subs-nav-tab.active .tab-icon{background:#0d94881f}.subs-nav-tab .tab-icon svg{width:14px;height:14px}.subs-overview{margin-bottom:16px}.subs-overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:18px;align-items:start}.subs-overview-side{display:flex;flex-direction:column;gap:16px}.subs-overview-card{border-radius:12px}.subs-overview-card .card-header{padding:14px 16px}.subs-overview-card .card-body{padding:16px}.subs-plan-card{background:var(--card-bg);border:1px solid var(--border-color);border-left:5px solid var(--primary);border-radius:12px;padding:24px}.subs-plan-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.subs-plan-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border-radius:20px;color:#fff;font-weight:600;font-size:14px}.subs-plan-badge svg{width:16px;height:16px}.subs-status-badge{font-size:12px;font-weight:600;padding:4px 12px;border-radius:12px}.subs-status-badge[data-status=active]{background:#dcfce7;color:#16a34a}.subs-status-badge[data-status=trial]{background:#fef3c7;color:#d97706}.subs-status-badge[data-status=expired]{background:#fee2e2;color:#dc2626}.subs-status-badge[data-status=cancelled]{background:#fef3c7;color:#d97706}.subs-plan-desc{color:var(--text-muted);font-size:14px;margin:0 0 16px}.subs-plan-pricing-line{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.subs-plan-pricing-main{display:flex;flex-direction:column;gap:2px}.subs-plan-pricing-main small{font-size:12px;color:var(--text-muted)}.subs-plan-pricing-main strong{font-size:28px;line-height:1.15;color:var(--text-primary)}.subs-inline-savings{display:inline-flex;align-items:center;font-size:12px;font-weight:700;color:#166534;background:#dcfce7;padding:4px 10px;border-radius:999px;white-space:nowrap}.subs-plan-details{display:flex;flex-direction:column;gap:10px;padding:16px 0;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);margin-bottom:16px}.subs-detail-row{display:flex;align-items:center;justify-content:space-between}.subs-detail-label{color:var(--text-secondary);font-size:14px}.subs-detail-value{color:var(--text-primary);font-weight:500;font-size:14px}.subs-detail-row.subs-savings .subs-detail-value{color:#10b981;font-weight:600}.subs-detail-row.subs-total{padding-top:10px;border-top:1px dashed var(--border-color)}.subs-detail-row.subs-total .subs-detail-label{font-weight:700;color:var(--text-primary);font-size:16px}.subs-detail-row.subs-total .subs-detail-value{font-weight:700;font-size:20px;color:var(--primary)}.subs-plan-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.subs-billing-toggle{display:flex;background:var(--bg-secondary);border-radius:10px;padding:4px;gap:4px;margin-bottom:16px}.subs-cycle-btn{padding:8px 16px;border:none;background:transparent;border-radius:8px;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:6px}.subs-cycle-btn.active{background:var(--card-bg);color:var(--text-primary);box-shadow:0 1px 3px #00000014;font-weight:600}.subs-quick-actions{display:flex;flex-wrap:wrap;gap:10px}.subs-quick-actions .btn{min-height:38px}.subs-stat-panel{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:10px}.subs-stat-item{border:1px solid var(--border-color);border-radius:10px;padding:12px;background:var(--bg-secondary);display:flex;flex-direction:column;gap:4px}.subs-stat-item-label{font-size:12px;font-weight:600;color:var(--text-muted)}.subs-stat-item strong{font-size:20px;line-height:1.2;color:var(--text-primary)}.subs-stat-item small{font-size:12px;color:var(--text-muted)}.subs-save-tag{font-size:10px;font-weight:700;background:#dcfce7;color:#16a34a;padding:2px 6px;border-radius:4px;text-transform:uppercase;letter-spacing:.5px}.subs-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:24px}.subs-stat-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:20px;display:flex;align-items:flex-start;gap:16px}.subs-stat-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.subs-stat-icon svg{width:20px;height:20px}.subs-stat-content{display:flex;flex-direction:column;min-width:0}.subs-stat-value{font-size:22px;font-weight:700;color:var(--text-primary);line-height:1.2}.subs-stat-label{font-size:13px;color:var(--text-muted);margin-bottom:6px}.subs-usage-bar{width:100%;height:6px;background:var(--bg-secondary);border-radius:3px;overflow:hidden;margin:6px 0 4px}.subs-usage-fill{height:100%;border-radius:3px;transition:width .4s ease}.subs-usage-text{font-size:11px;color:var(--text-muted)}.subs-modules-quick{display:flex;flex-wrap:wrap;gap:10px}.subs-modules-quick-active{display:flex;flex-direction:column;gap:8px}.subs-modules-quick-active .subs-module-chip{width:100%}.subs-modules-quick-active .subs-module-chip span{min-width:0;flex:1}.subs-module-chip{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:10px;border:1px solid var(--border-color);font-size:13px;font-weight:500;color:var(--text-primary);transition:all .2s}.subs-module-chip.inactive{opacity:.5;color:var(--text-muted)}.subs-module-chip.active{background:var(--bg-secondary);border-color:var(--primary)}.subs-module-chip-icon{width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:700}.subs-module-chip svg{width:14px;height:14px;color:var(--text-muted)}.subs-module-chip.active svg{color:#10b981}.subs-inline-hint{margin-top:10px;padding-top:10px;border-top:1px dashed var(--border-color)}.subs-inline-hint small{color:var(--text-muted)}.subs-section-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.subs-section-header h3{font-size:18px;font-weight:700;color:var(--text-primary);margin:0 0 4px}.subs-section-header p{font-size:14px;color:var(--text-muted);margin:0}.subs-core-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.subs-core-card{display:flex;align-items:center;gap:14px;padding:16px 20px;background:var(--card-bg);border:1px solid var(--border-color);border-radius:10px}.subs-core-icon{width:32px;height:32px;border-radius:8px;background:#dcfce7;color:#16a34a;display:flex;align-items:center;justify-content:center;flex-shrink:0}.subs-core-icon svg{width:16px;height:16px}.subs-core-card strong{font-size:14px;color:var(--text-primary);display:block}.subs-core-card span{font-size:12px;color:var(--text-muted)}.subs-addons-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.subs-addon-card{background:var(--card-bg);border:2px solid var(--border-color);border-radius:12px;padding:24px;transition:all .2s;position:relative}.subs-addon-card.active{border-color:var(--primary);background:var(--bg-secondary)}.subs-addon-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.subs-addon-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;transition:all .2s}.subs-addon-price{text-align:right}.subs-addon-amount{font-size:18px;font-weight:700;color:var(--text-primary)}.subs-addon-period{font-size:12px;color:var(--text-muted)}.subs-addon-name{font-size:16px;font-weight:600;color:var(--text-primary);margin:0 0 6px}.subs-addon-desc{font-size:13px;color:var(--text-muted);margin:0 0 20px;line-height:1.5}.btn-full{width:100%;justify-content:center}.btn-sm{padding:6px 14px!important;font-size:13px!important}.btn-danger-outline{background:transparent;border:1px solid #fca5a5;color:#ef4444;padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:all .2s}.btn-danger-outline:hover{background:#fef2f2;border-color:#ef4444}.subs-cost-bar{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:16px 24px;margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.subs-cost-bar-left{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.subs-cost-bar-label{font-size:14px;color:var(--text-muted)}.subs-cost-bar-total{font-size:20px;font-weight:700;color:var(--primary)}.subs-cost-bar-savings{font-size:12px;font-weight:600;color:#10b981;background:#dcfce7;padding:3px 10px;border-radius:6px}.subs-bundles-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.subs-bundle-card{background:var(--card-bg);border:2px solid var(--border-color);border-radius:12px;padding:24px;transition:all .2s;position:relative}.subs-bundle-card.active{border-color:var(--primary);background:var(--bg-secondary)}.subs-bundle-active-tag{position:absolute;top:12px;right:12px;font-size:11px;font-weight:700;color:var(--primary);background:var(--primary-light);padding:3px 10px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px}.subs-bundle-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:8px}.subs-bundle-header h4{font-size:18px;font-weight:700;color:var(--text-primary);margin:0}.subs-bundle-pricing{text-align:right}.subs-bundle-old-price{font-size:13px;color:var(--text-muted);text-decoration:line-through;display:block}.subs-bundle-price{font-size:18px;font-weight:700;color:var(--primary)}.subs-bundle-desc{font-size:13px;color:var(--text-muted);margin:0 0 16px}.subs-bundle-modules{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.subs-bundle-module-tag{display:flex;align-items:center;gap:6px;padding:4px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:12px;font-weight:500;color:var(--text-secondary)}.subs-bundle-module-dot{width:8px;height:8px;border-radius:50%}.subs-bundle-footer{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid var(--border-color)}.subs-bundle-savings{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#10b981}.subs-bundle-savings svg{width:16px;height:16px;color:#10b981}.subs-comparison-card{display:flex;align-items:flex-start;gap:16px;padding:20px 24px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;margin-top:24px}.subs-comparison-icon{width:40px;height:40px;border-radius:10px;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.subs-comparison-icon svg{width:18px;height:18px}.subs-comparison-card h4{font-size:15px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.subs-comparison-card p{font-size:13px;color:var(--text-secondary);margin:0;line-height:1.6}.subs-billing-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.subs-billing-summary-card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:10px;padding:16px 20px}.subs-billing-summary-label{font-size:12px;color:var(--text-muted);display:block;margin-bottom:4px}.subs-billing-summary-value{font-size:16px;font-weight:600;color:var(--text-primary)}.subs-payment-method-tag{font-size:12px;font-weight:500;padding:3px 10px;border-radius:6px;background:#f1f5f9;color:var(--text-secondary)}.subs-payment-status{font-size:12px;font-weight:600;padding:3px 10px;border-radius:6px}.subs-payment-status.paid{background:#dcfce7;color:#16a34a}.subs-payment-status.pending{background:#fef3c7;color:#d97706}.subs-payment-status.failed{background:#fee2e2;color:#dc2626}.subs-plan-modal{max-width:900px}.subs-plans-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.subs-plan-option{border:2px solid var(--border-color);border-radius:12px;padding:24px;position:relative;transition:all .2s}.subs-plan-option:hover{border-color:var(--text-muted)}.subs-plan-option.current{border-width:2px}.subs-plan-option.popular{border-color:#10b981}.subs-popular-tag{position:absolute;top:-10px;left:50%;transform:translate(-50%);font-size:11px;font-weight:700;color:#fff;background:#10b981;padding:3px 12px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.subs-current-tag{position:absolute;top:-10px;left:50%;transform:translate(-50%);font-size:11px;font-weight:700;color:#fff;background:var(--primary);padding:3px 12px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.subs-plan-option-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:700;margin-bottom:12px}.subs-plan-option h4{font-size:18px;font-weight:700;color:var(--text-primary);margin:0 0 4px}.subs-plan-option-desc{font-size:13px;color:var(--text-muted);margin:0 0 16px}.subs-plan-option-price{margin-bottom:16px}.subs-plan-option-amount{font-size:28px;font-weight:700;color:var(--text-primary)}.subs-plan-option-period{font-size:14px;color:var(--text-muted)}.subs-plan-option-features{list-style:none;padding:0;margin:0 0 20px}.subs-plan-option-features li{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-secondary);padding:4px 0}.subs-plan-option-features li svg{width:14px;height:14px;color:#10b981;flex-shrink:0}.subs-confirm-modal{max-width:440px}.subs-confirm-modal .modal-body p{font-size:14px;color:var(--text-secondary);line-height:1.6}.subs-confirm-modal .modal-actions{display:flex;gap:12px;justify-content:flex-end;padding:16px 24px;border-top:1px solid var(--border-color)}@media(max-width:1200px){.subs-overview-grid{grid-template-columns:1fr}.subs-stats-grid,.subs-addons-grid,.subs-plans-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.subs-nav-tabs{overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}.subs-nav-tab{flex:0 0 auto;white-space:nowrap}.subs-plan-card{padding:18px}.subs-plan-card-header{flex-direction:column;align-items:flex-start;gap:10px}.subs-plan-pricing-line{flex-direction:column;align-items:flex-start}.subs-billing-toggle{width:100%}.subs-cycle-btn{flex:1;justify-content:center}.subs-quick-actions{flex-direction:column;align-items:stretch}.subs-quick-actions .btn{width:100%;justify-content:center}.subs-stats-grid,.subs-addons-grid,.subs-bundles-grid{grid-template-columns:1fr}.subs-billing-summary{grid-template-columns:repeat(2,1fr)}.subs-plans-grid{grid-template-columns:1fr}.subs-plan-actions{flex-direction:column;align-items:flex-start}.subs-core-grid{grid-template-columns:1fr}.subs-cost-bar{padding:14px 16px;flex-direction:column;align-items:flex-start}.subs-paystack-card-info{gap:10px}.subs-paystack-badge{margin-left:0}}.trial-banner{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-radius:10px;margin-bottom:20px;gap:16px;flex-wrap:wrap}.trial-banner-content{display:flex;align-items:center;gap:12px}.trial-banner-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.trial-banner-icon svg{width:18px;height:18px}.trial-banner-text{display:flex;flex-direction:column}.trial-banner-text strong{font-size:14px;line-height:1.3}.trial-banner-text span{font-size:12px;opacity:.85}.trial-banner-actions{display:flex;align-items:center;gap:12px}.trial-banner-dismiss{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer;transition:background .2s ease,opacity .2s ease}.trial-banner-dismiss:hover{background:#ffffff59}.trial-banner-dismiss svg{width:16px;height:16px}.trial-banner.trial-active{background:#f8fffc;border:1px solid #bfead8;color:#047857}.trial-banner.trial-active .trial-banner-icon{background:#10b981;color:#fff}.trial-banner.trial-active .trial-banner-text strong{color:#065f46}.trial-banner.trial-active .trial-banner-text span{color:#047857}.trial-banner.trial-reminder{background:#fffdf6;border:1px solid #f5d89f;color:#b45309}.trial-banner.trial-reminder .trial-banner-icon{background:#f59e0b;color:#fff}.trial-banner.trial-reminder .trial-banner-text strong{color:#92400e}.trial-banner.trial-reminder .trial-banner-text span{color:#b45309}.trial-banner.trial-expired{background:#fff8f8;border:1px solid #f3b8b8}.trial-banner.trial-expired .trial-banner-icon{background:#ef4444;color:#fff}.trial-banner.trial-expired .trial-banner-text strong{color:#991b1b}.trial-banner.trial-expired .trial-banner-text span{color:#b91c1c}.trial-progress-mini{width:80px;height:5px;background:#0000001a;border-radius:3px;overflow:hidden}.trial-progress-mini-fill{height:100%;border-radius:3px;background:var(--primary);transition:width .4s ease}.trial-banner.trial-active .trial-progress-mini-fill{background:#10b981}.trial-banner.trial-reminder .trial-progress-mini-fill{background:#f59e0b}.read-only-badge{display:inline-flex;align-items:center;gap:4px;background:#fef2f2;color:#b91c1c;font-size:.65rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;padding:2px 8px;border-radius:6px;border:1px solid #fecaca;margin-left:8px}.sidebar.read-only .nav-item{position:relative}.main-content.read-only .btn-primary,.main-content.read-only .btn-success,.main-content.read-only .btn-danger,.main-content.read-only button[type=submit]{opacity:.5;cursor:not-allowed}.main-content.read-only .module-subscription .btn-primary,.main-content.read-only .module-subscription .btn-success,.main-content.read-only .module-subscription .btn-danger,.main-content.read-only .module-subscription button[type=submit],.main-content.read-only .trial-banner .btn-primary,.main-content.read-only .trial-banner .btn-success{opacity:1;cursor:pointer}.subs-trial-hero{background:var(--card-bg);border:1px solid var(--border-color);border-left:4px solid #10b981;border-radius:12px;padding:24px;display:block;margin-bottom:24px}.subs-trial-expired-hero{border-left-color:#ef4444}.subs-trial-hero-content{flex:1}.subs-trial-hero-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 14px;background:#10b981;color:#fff;border-radius:20px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px}.subs-trial-hero-badge svg{width:14px;height:14px}.subs-trial-hero-badge.expired{background:#ef4444}.subs-trial-hero h2{font-size:24px;font-weight:700;color:var(--text-primary);margin:0 0 8px}.subs-trial-expired-hero h2{color:var(--text-primary)}.subs-trial-hero p{font-size:14px;color:var(--text-secondary);margin:0 0 20px;line-height:1.6;max-width:680px}.subs-trial-expired-hero p{color:var(--text-secondary)}.subs-trial-progress{margin-bottom:20px;max-width:360px}.subs-trial-progress-bar{width:100%;height:8px;background:#fff9;border-radius:4px;overflow:hidden;margin-bottom:6px}.subs-trial-progress-fill{height:100%;border-radius:4px;transition:width .4s ease}.subs-trial-progress-text{font-size:12px;color:var(--text-muted);font-weight:500}.subs-trial-hero-visual,.subs-trial-circle{display:none}.subs-trial-circle-number{font-size:40px;font-weight:800;color:#065f46;line-height:1}.subs-trial-circle-label{font-size:12px;color:#047857;font-weight:600}.subs-detail-row.subs-trial-note{background:#fffbeb;margin:-4px -8px 4px;padding:8px 12px;border-radius:6px;border:1px dashed #fde68a}.subs-detail-row.subs-trial-note .subs-detail-label{color:#92400e;font-weight:500}.subs-detail-row.subs-trial-note .subs-detail-value{color:#b45309;font-size:13px}.subs-paystack-modal{max-width:540px}.subs-paystack-modal .modal-header h2{display:flex;align-items:center;gap:8px}.subs-paystack-modal .modal-header h2 svg{width:20px;height:20px}.subs-checkout-summary{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:10px;padding:20px;margin-bottom:24px}.subs-checkout-summary h4{font-size:14px;font-weight:600;color:var(--text-muted);margin:0 0 14px;text-transform:uppercase;letter-spacing:.5px}.subs-checkout-plan{display:flex;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--border-color);margin-bottom:12px}.subs-checkout-plan-badge{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:16px}.subs-checkout-plan strong{font-size:15px;color:var(--text-primary);display:block}.subs-checkout-plan span{font-size:12px;color:var(--text-muted)}.subs-checkout-plan-price{margin-left:auto;font-weight:600;color:var(--text-primary)}.subs-checkout-modules{display:flex;align-items:flex-start;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--border-color);margin-bottom:12px;flex-wrap:wrap}.subs-checkout-modules-label{font-size:13px;color:var(--text-muted);min-width:60px}.subs-checkout-modules-list{display:flex;flex-wrap:wrap;gap:4px;flex:1}.subs-checkout-module-tag{font-size:11px;padding:2px 8px;background:var(--card-bg);border:1px solid var(--border-color);border-radius:4px;color:var(--text-secondary)}.subs-checkout-modules-price{font-weight:600;font-size:14px;color:var(--text-primary);margin-left:auto}.subs-checkout-extra{display:flex;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--border-color);margin-bottom:12px;font-size:13px;color:var(--text-secondary)}.subs-checkout-total{display:flex;justify-content:space-between;font-size:18px;color:var(--text-primary)}.subs-checkout-form{margin-bottom:20px}.subs-checkout-form .form-group{margin-bottom:16px}.subs-checkout-form label{font-size:13px;font-weight:600;color:var(--text-primary);display:block;margin-bottom:6px}.subs-checkout-form input[type=email]{width:100%;padding:10px 14px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;color:var(--text-primary);background:var(--card-bg);box-sizing:border-box}.subs-checkout-form input[type=email]:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #0d94881a}.subs-checkout-form small{font-size:11px;color:var(--text-muted);margin-top:4px;display:block}.subs-channel-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.subs-channel-option{display:flex;align-items:center;gap:10px;padding:12px;border:2px solid var(--border-color);border-radius:10px;cursor:pointer;transition:all .2s}.subs-channel-option:hover{border-color:var(--text-muted)}.subs-channel-option.active{border-color:var(--primary);background:#0d948808}.subs-channel-option input[type=radio]{display:none}.subs-channel-icon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.subs-channel-option svg{width:20px;height:20px;color:var(--text-muted)}.subs-channel-option.active svg{color:var(--primary)}.subs-channel-logo{width:100%;height:100%;object-fit:contain}.subs-channel-option strong{font-size:13px;color:var(--text-primary);display:block}.subs-channel-option span{font-size:11px;color:var(--text-muted)}.subs-paystack-trust{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;font-size:12px;color:#065f46}.subs-paystack-trust svg{flex-shrink:0}.subs-pay-btn{min-width:200px}.subs-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:subs-spin .6s linear infinite;display:inline-block;margin-right:8px}@keyframes subs-spin{to{transform:rotate(360deg)}}.subs-paystack-card-info{display:flex;align-items:center;gap:16px}.subs-card-icon{width:48px;height:32px;border-radius:6px;background:var(--bg-secondary);border:1px solid var(--border-color);display:flex;align-items:center;justify-content:center}.subs-card-icon svg{width:20px;height:20px;color:var(--text-muted)}.subs-card-details{display:flex;flex-direction:column}.subs-card-brand{font-size:11px;font-weight:700;color:var(--text-muted);letter-spacing:1px}.subs-card-number{font-size:14px;font-weight:500;color:var(--text-primary);font-family:monospace;letter-spacing:1px}.subs-paystack-badge{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:12px;color:#10b981;font-weight:500}.subs-paystack-badge svg{width:14px;height:14px}.subs-paystack-info{display:flex;align-items:flex-start;gap:14px;padding:16px 20px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:10px}.subs-paystack-info-icon{flex-shrink:0;margin-top:2px}.subs-paystack-info-content strong{font-size:14px;color:var(--text-primary);display:block;margin-bottom:4px}.subs-paystack-info-content p{font-size:13px;color:var(--text-secondary);margin:0;line-height:1.5}.subs-empty-history{text-align:center;padding:48px 24px;color:var(--text-muted)}.subs-empty-history svg{width:40px;height:40px;margin-bottom:12px;opacity:.4}.subs-empty-history h4{font-size:16px;color:var(--text-secondary);margin:0 0 4px}.subs-empty-history p{font-size:13px;margin:0}@media(max-width:768px){.subs-trial-hero{flex-direction:column;text-align:center}.subs-trial-hero p,.subs-trial-progress{max-width:100%}.subs-channel-options{grid-template-columns:1fr}.trial-banner{flex-direction:column;align-items:flex-start}}@media print{.app{display:block}.sidebar,.sidebar-backdrop,.mobile-topbar,.modal-actions,.main-content-top,.role-badge{display:none}.main-content{margin-left:0;padding:0}.modal-overlay{position:static;background:none}.modal{max-width:100%;box-shadow:none}}.results-warning{font-size:13px;color:#ef4444;margin-bottom:8px}.history-section--previous{opacity:.7;border-top:2px dashed var(--border-color);padding-top:16px;margin-top:8px}.history-section--previous .history-section-title{font-size:13px;color:var(--text-muted)}.history-rx-card--previous,.history-lab-card--previous{border-left:3px solid var(--border-color)}.analytics-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.analytics-kpi-grid--3{grid-template-columns:repeat(3,1fr)}.analytics-kpi-grid--4{grid-template-columns:repeat(4,1fr)}.analytics-kpi-card{display:flex;align-items:center;gap:16px;padding:20px;background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;transition:box-shadow .2s}.analytics-kpi-card:hover{box-shadow:0 2px 12px #0000000f}.analytics-kpi-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.analytics-kpi-icon svg{width:22px;height:22px}.analytics-kpi-body{display:flex;flex-direction:column;min-width:0}.analytics-kpi-value{font-size:22px;font-weight:700;color:var(--text-primary);line-height:1.2}.analytics-kpi-label{font-size:13px;color:var(--text-muted);margin-top:2px}.analytics-kpi-sub{font-size:11px;color:var(--text-muted);margin-top:2px;opacity:.8}.analytics-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.analytics-hbar{display:flex;align-items:center;gap:12px;margin-bottom:12px}.analytics-hbar-label{font-size:13px;color:var(--text-secondary);min-width:50px;flex-shrink:0;text-align:right}.analytics-hbar-label--wide{min-width:140px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analytics-hbar-track{flex:1;height:10px;background:var(--bg-secondary);border-radius:5px;overflow:hidden}.analytics-hbar-fill{height:100%;border-radius:5px;background:var(--primary);transition:width .4s ease}.analytics-hbar-value{font-size:13px;font-weight:600;color:var(--text-primary);min-width:30px;text-align:right}.analytics-stacked-bar{display:flex;height:32px;border-radius:8px;overflow:hidden;margin-bottom:12px}.analytics-stacked-fill{transition:width .4s ease;min-width:2px}.analytics-legend{display:flex;flex-wrap:wrap;gap:16px;margin-top:4px}.analytics-legend--col{flex-direction:column;gap:8px}.analytics-legend-item{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-secondary)}.analytics-legend-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.analytics-donut-wrap{display:flex;align-items:center;gap:24px}.analytics-donut{width:140px;height:140px;border-radius:50%;position:relative;flex-shrink:0}.analytics-donut-hole{position:absolute;inset:25%;background:var(--card-bg);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.analytics-donut-hole span{font-size:20px;font-weight:700;color:var(--text-primary);line-height:1}.analytics-donut-hole small{font-size:10px;color:var(--text-muted);margin-top:2px}.analytics-rank-list{display:flex;flex-direction:column;gap:8px}.analytics-rank-item{display:flex;align-items:center;gap:12px;padding:10px 12px;background:var(--bg-secondary);border-radius:8px;transition:background .15s}.analytics-rank-item:hover{background:var(--hover-bg)}.analytics-rank-num{width:24px;height:24px;border-radius:6px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}.analytics-rank-name{flex:1;font-size:14px;color:var(--text-primary);font-weight:500}.analytics-rank-badge{font-size:12px;font-weight:600;color:var(--primary);background:#0d94881a;padding:3px 10px;border-radius:12px}.analytics-stat-list{display:flex;flex-direction:column;gap:2px}.analytics-stat-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--border-color);font-size:14px}.analytics-stat-row:last-child{border-bottom:none}.analytics-stat-row span{color:var(--text-secondary)}.analytics-stat-row strong{color:var(--text-primary)}.analytics-vbar-chart{display:flex;align-items:flex-end;gap:8px;height:220px;padding-top:24px}.analytics-vbar-col{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}.analytics-vbar-value{font-size:10px;font-weight:600;color:var(--text-muted);margin-bottom:4px;white-space:nowrap;opacity:0;transition:opacity .15s}.analytics-vbar-col:hover .analytics-vbar-value{opacity:1}.analytics-vbar-track{flex:1;width:100%;max-width:40px;display:flex;align-items:flex-end;border-radius:6px 6px 0 0;overflow:hidden}.analytics-vbar-fill{width:100%;background:var(--primary);border-radius:6px 6px 0 0;transition:height .4s ease;min-height:2px}.analytics-vbar-col:hover .analytics-vbar-fill{opacity:.8}.analytics-vbar-label{font-size:10px;color:var(--text-muted);margin-top:6px;text-align:center;white-space:nowrap}.reports-tabs{display:flex;gap:6px;margin-bottom:24px;overflow-x:auto;padding-bottom:4px}.reports-tabs::-webkit-scrollbar{height:3px}.reports-tabs::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:3px}@media(max-width:1200px){.reports-grid,.analytics-kpi-grid,.analytics-kpi-grid--3,.analytics-kpi-grid--4{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.reports-grid,.analytics-kpi-grid,.analytics-kpi-grid--3,.analytics-kpi-grid--4,.analytics-two-col{grid-template-columns:1fr}.analytics-donut-wrap{flex-direction:column}.analytics-hbar-label--wide{min-width:100px}.analytics-vbar-chart{height:160px}.system-info,.desktop-download-grid{grid-template-columns:1fr}.system-update-header,.system-update-status{flex-direction:column;align-items:stretch}}@media(max-width:1024px){.web-desktop-downloads{display:none}}.login-subtitle{font-size:14px;color:var(--text-muted);text-align:center;margin:-16px 0 24px}.login-session-notice{margin:-6px 0 20px;padding:12px 14px;border-radius:10px;border:1px solid #f59e0b;background:#fff7ed;color:#9a3412;font-size:13px;line-height:1.5}.onboarding-facility-grid{display:grid;gap:10px}.onboarding-facility-card{width:100%;text-align:left;border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:10px;padding:12px;cursor:pointer;transition:all .15s ease}.onboarding-facility-card:hover{border-color:var(--primary);background:var(--hover-bg)}.onboarding-facility-card.active{border-color:var(--primary);background:var(--primary-light);box-shadow:0 0 0 1px var(--primary)}.onboarding-facility-title{display:block;font-size:13px;font-weight:600;color:var(--text-primary);margin-bottom:4px}.onboarding-facility-desc{display:block;font-size:12px;color:var(--text-muted);line-height:1.4}.login-divider{display:flex;align-items:center;gap:14px;margin:20px 0}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:var(--border-color)}.login-divider span{font-size:12px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}.staff-login-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:300px;margin:0 auto;padding:12px 24px;border-radius:10px;border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary);font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease}.staff-login-btn:hover{background:var(--hover-bg);border-color:var(--text-muted)}.staff-login-btn svg{opacity:.6}.color-picker-row{display:flex;align-items:center;gap:10px}.color-picker-input{width:44px;height:44px;padding:2px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer;background:none}.color-hex-input{width:100px;padding:10px 12px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;font-family:monospace}.color-hex-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #6366f11a}.color-preview-swatch{width:44px;height:44px;border-radius:8px;border:1px solid var(--border-color);flex-shrink:0}.color-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.color-preset-btn{width:32px;height:32px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:transform .15s,border-color .15s}.color-preset-btn:hover{transform:scale(1.15)}.color-preset-btn.active{border-color:var(--text-primary);box-shadow:0 0 0 2px #fff,0 0 0 4px var(--text-primary)}.login-switch-prompt{text-align:center;font-size:14px;color:var(--text-muted);margin-top:16px}.login-switch-link{background:none;border:none;color:var(--primary);font-size:14px;font-weight:600;cursor:pointer;padding:0;text-decoration:none;transition:color .15s}.login-switch-link:hover{color:var(--primary-dark);text-decoration:underline}.signup-terms{text-align:center;font-size:12px;color:var(--text-muted);margin-top:12px;line-height:1.5}.forgot-password-link{display:inline-block;background:none;border:none;color:var(--primary);font-size:13px;cursor:pointer;padding:6px 0;margin-top:8px;text-decoration:none;transition:color .15s}.forgot-password-link:hover{color:var(--primary-dark);text-decoration:underline}.forgot-password-desc{font-size:14px;color:var(--text-secondary);line-height:1.6;margin-bottom:20px}.forgot-password-hint{font-size:12px;color:var(--text-muted);margin-bottom:20px}.forgot-password-success{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:12px 0}.forgot-password-success h2{margin:4px 0 0}.forgot-password-success .forgot-password-desc{max-width:340px}.forgot-password-success .login-btn{margin-top:8px}.success-icon-circle{width:64px;height:64px;border-radius:50%;background:var(--primary);display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:4px}.login-content .btn-secondary{display:block;width:100%;max-width:300px;margin:12px auto 0;padding:10px 24px;border-radius:8px;font-size:14px;text-align:center;cursor:pointer}.appointments-module .module-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap}.appointments-header-actions{display:flex;gap:10px;align-items:center}.appointments-layout{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}.appointments-overview-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.appointments-overview-pill{padding:14px 16px;border:1px solid var(--border-color);border-radius:12px;background:var(--card-bg)}.appointments-overview-label{display:block;font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.appointments-overview-value{display:block;margin-top:6px;font-size:28px;font-weight:700;color:var(--text-primary)}.appointments-sidebar{display:flex;flex-direction:column;gap:24px;position:sticky;top:24px}@media(max-width:1024px){.appointments-overview-strip,.appointments-layout{grid-template-columns:1fr}.appointments-sidebar{position:static}}.appointments-schedule-card{min-width:0}.appointments-upcoming-card .card-body{max-height:400px;overflow-y:auto}.appointments-date-nav{display:flex;align-items:center;gap:12px;margin-bottom:20px}.appointments-nav-btn{padding:8px 12px;min-width:40px}.appointments-date-display{display:flex;align-items:center;gap:12px;flex:1;justify-content:center}.appointments-date-text{font-weight:600;font-size:15px;color:var(--text-primary)}.appointments-today-btn{padding:6px 12px;font-size:13px;color:var(--text-muted);background:transparent;border:1px solid var(--border-color);border-radius:6px;cursor:pointer;transition:all .2s}.appointments-today-btn:hover{color:var(--primary);border-color:var(--primary)}.appointments-today-btn.active{background:var(--primary-light);color:var(--primary);border-color:var(--primary)}.appointments-empty-state{text-align:center;padding:48px 24px;border:2px dashed var(--border-color);border-radius:12px;background:var(--bg-secondary)}.appointments-empty-icon{width:64px;height:64px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;background:var(--primary-light);color:var(--primary);border-radius:50%}.appointments-empty-icon svg{width:32px;height:32px}.appointments-empty-state p{margin:0 0 16px;color:var(--text-muted);font-size:15px}.appointments-upcoming-empty{color:var(--text-muted);font-size:14px;margin:0;padding:24px 0;text-align:center}.appointments-list{display:flex;flex-direction:column;gap:10px}.appointment-card{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:var(--bg-secondary);border-radius:10px;border-left:4px solid var(--primary)}.appointment-card.status-cancelled{opacity:.7;border-left-color:var(--text-muted)}.appointment-card.status-completed{border-left-color:#10b981}.appointment-card.assigned-to-current-user{border-left-color:#f59e0b;box-shadow:inset 0 0 0 1px #f59e0b2e}.appointment-card-main{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.appointment-time{font-weight:600;min-width:56px;font-size:14px}.appointment-duration{font-size:13px;color:var(--text-muted)}.appointment-patient{font-weight:500}.appointment-type{font-size:12px;padding:3px 8px;background:var(--primary-light);border-radius:6px;color:var(--primary)}.appointment-staff{font-size:13px;color:var(--text-muted)}.appointment-assigned-flag{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#fef3c7;color:#b45309;font-size:11px;font-weight:700;white-space:nowrap}.appointment-status-badge{font-size:11px;padding:3px 8px;border-radius:6px;text-transform:capitalize}.appointment-status-badge.scheduled{background:#dbeafe;color:#1d4ed8}.appointment-status-badge.confirmed{background:#d1fae5;color:#047857}.appointment-status-badge.completed{background:#e5e7eb;color:#4b5563}.appointment-status-badge.cancelled{background:#fee2e2;color:#b91c1c}.appointment-status-badge.no_show{background:#fef3c7;color:#b45309}.appointment-card-actions{display:flex;gap:6px}.appointments-upcoming{display:flex;flex-direction:column;gap:8px}.appointment-upcoming-item{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--bg-secondary);border-radius:8px;cursor:pointer;transition:background .2s;border:1px solid transparent}.appointment-upcoming-item:hover{background:var(--primary-light);border-color:var(--primary)}.appointment-upcoming-item.assigned-to-current-user{border-color:#f59e0b;background:#fffbeb}.appointment-upcoming-item .sync-entity-badge{margin-left:auto}.appointment-upcoming-item .apt-main{display:flex;flex:1;min-width:0;flex-direction:column}.appointment-upcoming-item .apt-time{font-weight:600;min-width:48px;font-size:14px}.appointment-upcoming-item .apt-patient{font-weight:500}.appointment-upcoming-item .apt-detail{font-size:12px;color:var(--text-muted)}.appointments-modal{max-width:480px;background-color:var(--card-bg)}.appointments-form-body .form-group{margin-bottom:16px}.appointments-form-body .form-group:last-of-type{margin-bottom:0}.appointments-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workboard-section{margin-bottom:24px}.workboard-header{align-items:flex-start}.workboard-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:18px}.workboard-task-card{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:6px;text-align:left;color:var(--text-primary);transition:border-color .2s ease,background-color .2s ease,transform .2s ease}.workboard-task-card:hover{border-color:var(--primary);background:var(--card-bg);transform:translateY(-1px)}.workboard-task-card.tone-warning{border-color:#f59e0b;background:#fffaf0}.workboard-task-label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.workboard-task-value{font-size:28px;line-height:1}.workboard-task-note{font-size:13px;color:var(--text-muted)}.workboard-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workboard-panel{border:1px solid var(--border-color);border-radius:12px;padding:16px;background:var(--card-bg)}.workboard-panel-header{margin-bottom:12px}.workboard-panel-header h4{margin:0;font-size:15px}.workboard-escalation-list{display:flex;flex-direction:column;gap:10px}.workboard-escalation-item,.workboard-appointment-item{border:1px solid var(--border-color);border-radius:10px;padding:12px;background:var(--bg-secondary);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;color:var(--text-primary)}.workboard-escalation-item:hover,.workboard-appointment-item:hover{border-color:var(--primary);background:var(--card-bg)}.workboard-escalation-item.tone-warning,.workboard-appointment-item.is-critical{border-color:#f59e0b;background:#fffaf0}.workboard-appointment-item.is-warning{border-color:#fcd34d;background:#fffbeb}.workboard-appointment-item>div{display:flex;flex-direction:column;gap:4px}.workboard-appointment-item>div span{font-size:12px;color:var(--text-muted)}.workboard-empty-state{padding:12px 0;margin:0;text-align:left}.appointment-inline-pill,.appointment-escalation-tag{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.appointment-inline-pill.normal,.appointment-inline-pill.low{background:#e2e8f0;color:#334155}.appointment-inline-pill.warning,.appointment-escalation-tag.warning{background:#fef3c7;color:#92400e}.appointment-inline-pill.critical,.appointment-escalation-tag.critical{background:#fee2e2;color:#b91c1c}.appointment-inline-pill.medium,.appointment-escalation-tag.medium{background:#fef3c7;color:#92400e}.appointment-inline-pill.high{background:#fee2e2;color:#b91c1c}.appointment-card.is-overdue{border-color:#f59e0b}.appointment-card.is-overdue.critical{border-color:#ef4444}.appointment-escalation-tag{background:#f8fafc;color:#475569}.appointment-upcoming-item.overdue-item{border-color:#f59e0b;background:#fffaf0}.appointments-inline-warning{margin:0 0 12px;padding:10px 12px;border:1px solid #fcd34d;background:#fffbeb;border-radius:10px;color:#92400e;font-size:13px}.report-pack-header{align-items:flex-start}.report-pack-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.report-pack-range-note{align-self:end;padding:11px 12px;border:1px solid var(--border-color);border-radius:10px;background:var(--bg-secondary);color:var(--text-muted);font-size:13px}.report-pack-export-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.report-pack-export-card{border:1px solid var(--border-color);border-radius:12px;background:var(--card-bg);padding:16px;display:flex;flex-direction:column;gap:8px;text-align:left;color:var(--text-primary)}.report-pack-export-card:hover{border-color:var(--primary);background:var(--bg-secondary)}.report-pack-export-card span{font-size:13px;color:var(--text-muted)}.reports-table.compact th,.reports-table.compact td{padding:10px 12px;font-size:13px}.pharmacy-safety-layout{display:grid;gap:16px}.safety-checkbox{margin-top:6px}.safety-event-list{display:flex;flex-direction:column;gap:12px}.safety-event-card{border:1px solid var(--border-color);border-radius:12px;padding:14px;background:var(--card-bg)}.safety-event-card.severity-medium{border-color:#f59e0b}.safety-event-card.severity-high{border-color:#ef4444}.safety-event-main{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.safety-event-main>div{display:flex;flex-direction:column;gap:4px}.safety-event-main span,.safety-event-meta,.safety-event-action,.table-note{font-size:13px;color:var(--text-muted)}.safety-event-meta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:8px}.stock-status.quarantined{background:#fff7ed;color:#9a3412}.continuity-modal{max-width:720px;background:var(--card-bg)}.patient-communication-section{display:flex;flex-direction:column;gap:16px}.communication-launcher-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.communication-launcher{border:1px solid var(--border-color);border-radius:12px;background:var(--bg-secondary);padding:14px;display:flex;flex-direction:column;gap:6px;text-align:left;color:var(--text-primary);transition:border-color .2s ease,background-color .2s ease,transform .2s ease}.communication-launcher:hover{border-color:var(--primary);background:var(--card-bg);transform:translateY(-1px)}.communication-launcher-label{font-weight:700}.communication-launcher-meta,.communication-history-inline-item div span,.communication-history-meta,.communication-recipient-meta,.communication-history-empty{font-size:13px;color:var(--text-muted)}.communication-history-inline{display:flex;flex-direction:column;gap:10px}.communication-history-inline-item{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-top:10px;border-top:1px solid var(--border-color)}.communication-history-inline-item:first-child{padding-top:0;border-top:none}.communication-history-inline-item div{display:flex;flex-direction:column;gap:4px}.communication-modal{max-width:1040px;background:var(--card-bg)}.communication-modal-header{align-items:flex-start}.communication-modal-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:18px}.communication-config,.communication-preview-panel{display:flex;flex-direction:column;gap:14px}.communication-recipient-card,.communication-preview-card,.communication-history-card{border:1px solid var(--border-color);border-radius:14px;background:var(--bg-secondary);padding:16px}.communication-section-eyebrow{display:block;margin-bottom:8px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.communication-recipient-card strong,.communication-preview-card h4{display:block;margin:0}.communication-recipient-meta,.communication-history-title-row,.communication-history-meta{display:flex;flex-wrap:wrap;gap:10px}.communication-recipient-meta{margin-top:8px}.communication-config-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.communication-warning-stack{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.communication-warning{margin:0;padding:10px 12px;border:1px solid #fcd34d;border-radius:10px;background:#fffbeb;color:#92400e;font-size:13px}.communication-preview-textarea{width:100%;min-height:250px;resize:vertical;background:var(--card-bg)}.communication-preview-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.communication-history-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.communication-history-list{display:flex;flex-direction:column;gap:10px}.communication-history-item{border-top:1px solid var(--border-color);padding-top:10px}.communication-history-item:first-child{border-top:none;padding-top:0}.communication-history-title-row{justify-content:space-between;align-items:flex-start;margin-bottom:6px}.invoice-header-actions{display:flex;align-items:flex-start;gap:12px}.patient-profile-page{--patient-line: rgba(15, 23, 42, .09);--patient-soft: #f7f9fc;--patient-soft-strong: #eef3f8}.patient-profile-header{display:flex;align-items:flex-start;gap:15px}.patient-profile-shell{display:flex;flex-direction:column;gap:22px}.patient-profile-order-nav{display:flex;flex-wrap:wrap;gap:10px}.patient-profile-order-link{display:inline-flex;align-items:center;padding:9px 14px;border-radius:999px;border:1px solid var(--patient-line);background:var(--card-bg);color:var(--text-secondary);font-size:12px;font-weight:650;text-decoration:none;letter-spacing:.02em}.patient-profile-order-link:hover{background:var(--patient-soft);color:var(--text-primary)}.patient-profile-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:30px 32px;border:1px solid var(--patient-line);border-radius:28px;background:#fbfcfe}.patient-profile-hero-main{display:flex;align-items:flex-start;gap:18px;min-width:0}.patient-profile-avatar{width:92px;height:92px;border-radius:28px;background:var(--bg-secondary);color:var(--primary);border:1px solid rgba(13,148,136,.16);font-size:30px}.patient-profile-hero-copy{min-width:0}.patient-profile-hero-copy h2{margin:0 0 8px;font-size:32px;line-height:1.05;letter-spacing:-.03em}.patient-profile-hero-meta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.patient-profile-page .profile-id,.patient-profile-page .profile-status{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1}.patient-profile-page .profile-id{margin-bottom:0;background:var(--bg-secondary);color:var(--text-primary)}.patient-profile-page .profile-status{background:#0d94881a;color:var(--primary-dark)}.patient-profile-hero-subtitle{margin:0;font-size:14px;color:var(--text-muted)}.patient-profile-hero-actions{display:grid;gap:10px;width:220px;flex-shrink:0}.patient-profile-flag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.patient-profile-flag{display:inline-flex;align-items:center;padding:6px 11px;border-radius:999px;background:var(--bg-secondary);color:var(--text-primary);font-size:12px;font-weight:600}.patient-profile-flag--alert{background:#fee2e2;color:#991b1b}.patient-profile-flag--warning{background:#fef3c7;color:#92400e}.patient-profile-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--patient-line);border-radius:24px;background:var(--card-bg);overflow:hidden}.patient-profile-summary-item{min-width:0;padding:20px 22px;border:0;border-right:1px solid var(--patient-line);border-radius:0;background:transparent;display:flex;flex-direction:column;gap:6px;min-height:112px;justify-content:center}.patient-profile-summary-item:nth-child(1){grid-column:span 1}.patient-profile-summary-item:nth-child(4){grid-column:span 1}.patient-profile-summary-item strong{font-size:18px;line-height:1.2}.patient-profile-summary-item span:last-child{color:var(--text-muted);font-size:13px;line-height:1.45}.patient-profile-summary-label,.profile-section-eyebrow,.patient-profile-support-label{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.patient-profile-layout{display:block}.patient-profile-workspace{display:flex;flex-direction:column;gap:22px}.patient-profile-stage,#patient-overview{scroll-margin-top:92px}.patient-profile-stage{display:flex;flex-direction:column;gap:14px}.patient-profile-context-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(280px,.82fr);gap:22px;align-items:start}.patient-profile-stage-header{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:2px 2px 0}.patient-profile-stage-index{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:999px;border:1px solid var(--patient-line);background:var(--card-bg);color:var(--text-muted);font-size:11px;font-weight:700;letter-spacing:.08em}.patient-profile-stage-header h3{margin:0;font-size:16px;font-weight:700;color:var(--text-primary)}.patient-profile-stage-header p{margin:4px 0 0;font-size:13px;color:var(--text-muted)}.patient-profile-band{display:grid;gap:22px}.patient-profile-band--split{grid-template-columns:minmax(320px,.88fr) minmax(0,1.12fr);align-items:start}.patient-profile-page .profile-section{margin-bottom:0;padding:24px;border-radius:24px;border:1px solid var(--patient-line);background:var(--card-bg);box-shadow:none}.patient-profile-page .profile-section--continuity,.patient-profile-page .profile-section--communication{min-height:0}.patient-profile-page .profile-section-header{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--patient-line)}.patient-profile-page .profile-section h4{margin:4px 0 0;font-size:18px;font-weight:650;line-height:1.2}.patient-profile-page .profile-section .section-note{margin-top:6px}.patient-profile-page .profile-info-grid{gap:14px}.patient-profile-page .profile-info-item{gap:6px;padding:16px 14px;border-radius:16px;background:var(--patient-soft);border:1px solid rgba(15,23,42,.05)}.patient-profile-page .profile-info-item .label{font-size:10px;letter-spacing:.08em}.patient-profile-page .profile-info-item .value{font-size:14px;line-height:1.4;font-weight:600;word-break:break-word}.patient-profile-context-grid .profile-section{min-height:100%}.patient-profile-context-grid .profile-section--identity .profile-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-profile-context-grid .profile-section--identity .profile-info-item.full-width{grid-column:1 / -1}.patient-profile-support-stack{display:flex;flex-direction:column;gap:14px}.patient-profile-support-group{display:flex;flex-direction:column;gap:8px;padding-top:14px;border-top:1px solid var(--patient-line)}.patient-profile-support-group:first-child{padding-top:0;border-top:0}.patient-profile-vitals-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.patient-profile-vitals-grid .profile-info-item{background:var(--patient-soft)}.patient-profile-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.patient-profile-secondary-grid--overview{grid-template-columns:minmax(260px,.82fr) minmax(0,1.18fr)}.patient-profile-secondary-grid--clinical{grid-template-columns:minmax(0,1.14fr) minmax(260px,.86fr)}.patient-profile-page .history-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--patient-line);border-radius:20px;overflow:hidden}.patient-profile-page .summary-card{border-radius:0;padding:20px 18px;background:transparent;border:0;border-right:1px solid var(--patient-line);text-align:left}.patient-profile-page .summary-number{color:var(--text-primary);font-size:26px}.patient-profile-page .profile-history-item{border-radius:18px;background:transparent;border:1px solid var(--patient-line)}.patient-profile-page .profile-timeline{padding-left:20px;border-left:1px solid var(--patient-line)}.patient-profile-page .timeline-dot{left:-24px;width:8px;height:8px;background:var(--text-primary)}.patient-profile-registration-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:18px;border:1px solid var(--patient-line);border-radius:18px;overflow:hidden}.patient-profile-registration-strip>div{padding:16px 18px;border-radius:0;background:transparent;border:0}.patient-profile-registration-strip>div+div{border-left:1px solid var(--patient-line)}.patient-profile-registration-strip strong{display:block;margin-top:6px;font-size:14px}.patient-profile-page .profile-section--continuity .profile-section-header{flex-direction:column;align-items:stretch}.patient-profile-page .profile-section--continuity .patient-record-actions{width:100%;display:grid;grid-template-columns:1fr;justify-content:flex-start}.patient-profile-page .profile-section--continuity .patient-record-actions .btn{width:100%;justify-content:center}.patient-profile-page .communication-launcher-grid{grid-template-columns:1fr;gap:12px}.patient-profile-page .communication-launcher{min-height:0;background:transparent;border-color:var(--patient-line);border-radius:16px;padding:14px 16px;transition:border-color .18s ease,background-color .18s ease}.patient-profile-page .communication-launcher:first-child:nth-last-child(n+3),.patient-profile-page .communication-launcher:only-child{grid-column:auto}.patient-profile-page .communication-launcher:hover{border-color:#0f172a24;background:var(--patient-soft);transform:none}.patient-profile-page .communication-launcher-label{font-size:15px;line-height:1.25}.patient-profile-page .communication-history-inline{display:flex;flex-direction:column;gap:10px;padding-top:16px;border-top:1px solid var(--patient-line)}.patient-profile-page .communication-history-inline-item{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:0;padding:14px 16px;border-top:none;border:1px solid var(--patient-line);border-radius:16px;background:transparent}.patient-profile-page .communication-history-inline-item>div{display:flex;flex-direction:column;gap:3px}.patient-profile-page .communication-history-inline-item:first-child{padding:14px 16px}.patient-profile-page .communication-history-inline>.section-note{margin:0;padding-top:2px}.patient-profile-page .patient-documents-layout{gap:20px}.patient-profile-page .patient-record-actions{gap:8px}.patient-profile-page .document-upload-card,.patient-profile-page .patient-document-card{border-radius:20px;border-color:var(--patient-line);box-shadow:none}.patient-profile-page .document-upload-card{background:#fbfcfe}.patient-profile-page .document-support-text{font-size:12px;color:var(--text-muted)}.patient-profile-page .document-period-summary{padding:10px 12px;border:1px solid var(--patient-line);border-radius:14px;background:var(--patient-soft)}.patient-profile-page .document-empty-state{border:1px dashed var(--patient-line);border-radius:20px;background:#fbfcfe}.patient-profile-page .document-list{gap:14px}@media(max-width:1280px){.patient-profile-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-profile-summary-item:nth-child(1),.patient-profile-summary-item:nth-child(4){grid-column:span 1}.patient-profile-summary-item{border-right:1px solid var(--patient-line);border-bottom:1px solid var(--patient-line)}.patient-profile-summary-item:nth-child(2n){border-right:0}.patient-profile-summary-item:nth-last-child(-n+2){border-bottom:0}.patient-profile-layout{display:block}.patient-profile-context-grid,.patient-profile-band--split{grid-template-columns:1fr}.patient-profile-vitals-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.patient-profile-secondary-grid,.patient-profile-secondary-grid--overview,.patient-profile-secondary-grid--clinical{grid-template-columns:1fr}.patient-profile-page .history-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-profile-page .summary-card{border-right:1px solid var(--patient-line);border-bottom:1px solid var(--patient-line)}.patient-profile-page .summary-card:nth-child(2n){border-right:0}.patient-profile-page .summary-card:nth-last-child(-n+2){border-bottom:0}.patient-profile-page .patient-documents-layout{grid-template-columns:1fr}.patient-profile-vitals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.workboard-panels,.report-pack-controls,.communication-modal-layout,.communication-config-row{grid-template-columns:1fr}.invoice-header-actions,.communication-history-inline-item{flex-direction:column;align-items:stretch}.patient-profile-summary-strip,.patient-profile-band--split,.patient-profile-secondary-grid,.patient-profile-registration-strip,.patient-profile-page .communication-launcher-grid,.patient-profile-page .communication-history-inline{grid-template-columns:1fr}.patient-profile-summary-item:nth-child(1),.patient-profile-summary-item:nth-child(4){grid-column:span 1}.patient-profile-hero{flex-direction:column}.patient-profile-hero-actions{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.patient-profile-page .history-summary-grid{grid-template-columns:1fr}.patient-profile-page .summary-card{border-right:0;border-bottom:1px solid var(--patient-line)}.patient-profile-page .summary-card:last-child{border-bottom:0}.patient-profile-registration-strip>div+div{border-left:0;border-top:1px solid var(--patient-line)}.patient-profile-summary-item{border-right:0;border-bottom:1px solid var(--patient-line)}.patient-profile-summary-item:last-child{border-bottom:0}.patient-profile-vitals-grid{grid-template-columns:1fr}}@media(max-width:640px){.patient-profile-hero{padding:24px 22px}.patient-profile-order-nav{gap:8px}.patient-profile-order-link{width:100%;justify-content:center}.patient-profile-hero-actions{grid-template-columns:1fr}.patient-profile-stage-header{grid-template-columns:1fr;gap:10px}.patient-profile-page .profile-section{padding:20px 18px;border-radius:20px}.patient-profile-context-grid .profile-section--identity .profile-info-grid{grid-template-columns:1fr}}:root[data-theme=dark] .app-boot-screen{background:radial-gradient(circle at top,rgba(83,162,145,.22),transparent 38%),linear-gradient(180deg,#223034,#2b3b40)}:root[data-theme=dark] .app-boot-screen__panel{border-color:#bfceca33;background:#34484ce0;box-shadow:0 24px 64px #0000002e}:root[data-theme=dark] .app-boot-screen__eyebrow,:root[data-theme=dark] .app-boot-screen__meta{color:var(--text-muted)}:root[data-theme=dark] .app-boot-screen__title{color:var(--text-primary)}:root[data-theme=dark] .role-card.selected{background-color:var(--card-bg);box-shadow:0 8px 20px #00000038}:root{--ledger-surface: #f5f0e7;--ledger-surface-low: #ece6db;--ledger-surface-panel: #fffdfa;--ledger-surface-panel-strong: #e6ddd0;--ledger-text: #1f2927;--ledger-text-muted: #586460;--ledger-outline: rgba(93, 109, 104, .16);--ledger-outline-strong: rgba(74, 88, 84, .22);--ledger-primary: #1f6a5c;--ledger-primary-dim: #174d43;--ledger-primary-soft: rgba(31, 106, 92, .14);--ledger-secondary: #2d7b6b;--ledger-error: #b24c45;--ledger-error-soft: rgba(178, 76, 69, .14);--ledger-on-primary: #f7fcfa;--ledger-shadow: 0 18px 42px -24px rgba(31, 41, 39, .2);--ledger-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--ledger-font-headline: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}.ledger-shell{min-height:100vh;display:flex;background:radial-gradient(circle at top left,rgba(31,106,92,.06),transparent 30%),linear-gradient(180deg,#f7f2ea,#f3eee5 52%,#eef2ea);color:var(--ledger-text);font-family:var(--ledger-font-body)}.ledger-sidebar-backdrop{display:none}.ledger-sidebar{width:16rem;min-width:16rem;height:100vh;position:sticky;top:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#16211e,#111917);color:#f0f8f6db;z-index:30}@media(min-width:1101px){.ledger-shell.nav-collapsed .ledger-sidebar{display:none}}.ledger-sidebar__section{padding:1.5rem}.ledger-sidebar__brand{display:flex;align-items:center;gap:.9rem}.ledger-sidebar__brand-mark{width:2.25rem;height:2.25rem;border-radius:.25rem;overflow:hidden;background:var(--ledger-primary);display:inline-flex;align-items:center;justify-content:center;color:#dcfff8;flex-shrink:0}.ledger-sidebar__brand-mark img{width:100%;height:100%;object-fit:cover}.ledger-sidebar__brand-title{font-family:var(--ledger-font-headline);font-size:1.2rem;font-weight:800;letter-spacing:-.04em;color:#fff;line-height:1}.ledger-sidebar__brand-subtitle{margin-top:.35rem;font-size:.62rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#879c99d1}.ledger-sidebar__utility{padding:0 1.25rem 1.25rem}.ledger-sidebar__new-entry{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border:0;border-radius:.25rem;background:linear-gradient(135deg,var(--ledger-primary),var(--ledger-primary-dim));color:#fff;padding:.8rem 1rem;font-family:var(--ledger-font-headline);font-size:.82rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;cursor:pointer}.ledger-sidebar__new-entry svg{width:.95rem;height:.95rem}.ledger-sidebar__nav{flex:1;padding:0 .75rem;overflow-y:auto}.ledger-nav-item{width:100%;display:flex;align-items:center;gap:.9rem;padding:.82rem 1rem;border:0;border-left:4px solid transparent;background:transparent;color:#becbc9cc;font-family:var(--ledger-font-headline);font-size:.92rem;font-weight:700;letter-spacing:-.02em;text-align:left;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.ledger-nav-item svg,.ledger-nav-item img{width:1rem;height:1rem;flex-shrink:0}.ledger-nav-item:hover{background:#ffffff0f;color:#f5faf9}.ledger-nav-item.is-active{border-left-color:#6fb5a5;background:#6fb5a529;color:#f8fffd}.ledger-nav-item__label{flex:1}.ledger-nav-item__badge{min-width:1.35rem;height:1.35rem;padding:0 .35rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#c4eae329;color:#c4eae3;font-size:.7rem;font-weight:700}.ledger-sidebar__meta{border-top:1px solid rgba(255,255,255,.08);padding:1rem 1.25rem 1.25rem;display:flex;flex-direction:column;gap:.35rem}.ledger-sidebar__meta-link{display:inline-flex;align-items:center;gap:.6rem;color:#becbc9b8;font-size:.76rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.ledger-sidebar__meta-link svg{width:.9rem;height:.9rem}.ledger-sidebar__profile{display:flex;align-items:center;gap:.8rem;margin-top:.9rem;padding-top:.9rem;border-top:1px solid rgba(255,255,255,.08)}.ledger-sidebar__profile-button{flex:1;display:flex;align-items:center;gap:.8rem;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.ledger-avatar{width:2.4rem;height:2.4rem;border-radius:999px;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:#c4eae333;color:#effcf9;font-size:.88rem;font-weight:800;text-transform:uppercase}.ledger-avatar img{width:100%;height:100%;object-fit:cover}.ledger-sidebar__profile-name{color:#fff;font-size:.92rem;font-weight:700;line-height:1.15}.ledger-sidebar__profile-role{margin-top:.2rem;color:#becbc9b8;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.ledger-sidebar__logout{width:2.5rem;height:2.5rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.08);border-radius:.25rem;background:#ffffff0a;color:#f0f8f6e6;cursor:pointer}.ledger-sidebar__logout svg{width:1rem;height:1rem}.ledger-main{min-width:0;flex:1;display:flex;flex-direction:column}.ledger-topbar{height:4rem;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:0 1.75rem;background:#fffcf7e6;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--ledger-outline)}.ledger-topbar__left,.ledger-topbar__right{display:flex;align-items:center;gap:1rem}.ledger-topbar__title{font-family:var(--ledger-font-headline);font-size:1.1rem;font-weight:800;letter-spacing:-.04em;color:#111827;white-space:nowrap}.ledger-nav-toggle{width:2.5rem;height:2.5rem;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:.35rem;background:#fffdf9f5;color:var(--ledger-text);box-shadow:var(--ledger-shadow);flex-shrink:0;cursor:pointer}.ledger-nav-toggle svg{width:1rem;height:1rem}.ledger-nav-toggle:hover{background:#f5efe5}.ledger-nav-toggle:focus-visible{outline:2px solid rgba(65,101,95,.42);outline-offset:2px}.ledger-mobile-toggle{width:2.5rem;height:2.5rem;display:none}.ledger-search{position:relative;min-width:min(24rem,38vw)}.ledger-search svg{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);width:.95rem;height:.95rem;color:var(--ledger-text-muted)}.ledger-search input{width:100%;height:2.5rem;border:0;border-radius:.25rem;background:#fff;padding:0 .95rem 0 2.5rem;color:var(--ledger-text);font-size:.84rem;box-shadow:inset 0 0 0 1px #abb4b51f}.ledger-search input:focus{outline:none;box-shadow:inset 0 0 0 1px var(--ledger-primary)}.ledger-topbar__signals{display:flex;align-items:center;gap:1rem}.ledger-topbar__signal{color:var(--ledger-text-muted);font-size:.68rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap}.ledger-topbar__signal.is-active{color:var(--ledger-primary)}.ledger-topbar__icon-button{width:2.4rem;height:2.4rem;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:.25rem;background:transparent;color:var(--ledger-text-muted);cursor:pointer}.ledger-topbar__icon-button svg{width:1rem;height:1rem}.ledger-status-stack{padding:1.4rem 2rem 0;display:flex;flex-direction:column;gap:.9rem}.ledger-banner{border-radius:.5rem;padding:.95rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--ledger-primary-soft);color:var(--ledger-primary-dim)}.ledger-banner--error{background:var(--ledger-error-soft);color:#752121}.ledger-banner--neutral{background:#e3e9eac7;color:var(--ledger-text)}.ledger-banner__copy{display:flex;align-items:flex-start;gap:.85rem;min-width:0}.ledger-banner__copy svg{width:1rem;height:1rem;margin-top:.1rem;flex-shrink:0}.ledger-banner__title{display:block;font-family:var(--ledger-font-headline);font-size:.88rem;font-weight:800;letter-spacing:-.02em}.ledger-banner__text{display:block;margin-top:.2rem;font-size:.78rem;line-height:1.45;color:inherit;opacity:.9}.ledger-banner__actions{display:flex;align-items:center;gap:.65rem;flex-shrink:0}.ledger-banner__button,.ledger-banner__dismiss{border:0;cursor:pointer}.ledger-banner__button{border-radius:.25rem;padding:.65rem .9rem;background:#ffffffbd;color:inherit;font-size:.73rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ledger-banner__dismiss{width:2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center;border-radius:.25rem;background:#ffffff85;color:inherit}.ledger-banner__dismiss svg{width:.9rem;height:.9rem}.ledger-content{flex:1;min-width:0;padding:2rem}.ledger-page{max-width:86rem;margin:0 auto}.ledger-page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.75rem}.ledger-eyebrow{display:inline-block;margin-bottom:.7rem;color:var(--ledger-primary);font-size:.68rem;font-weight:800;letter-spacing:.24em;text-transform:uppercase}.ledger-page-title{margin:0;font-family:var(--ledger-font-headline);font-size:clamp(2.4rem,4vw,3.4rem);font-weight:800;line-height:.95;letter-spacing:-.05em}.ledger-page-subtitle{margin:.75rem 0 0;color:var(--ledger-text-muted);font-size:.94rem;line-height:1.5;max-width:40rem}.ledger-page-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}.ledger-chip-button{display:inline-flex;align-items:center;gap:.55rem;border:0;border-radius:.25rem;padding:.8rem 1rem;background:var(--ledger-surface-panel-strong);color:var(--ledger-primary-dim);font-family:var(--ledger-font-body);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.ledger-chip-button svg{width:.9rem;height:.9rem}.ledger-chip-button--primary{background:linear-gradient(135deg,var(--ledger-primary),var(--ledger-primary-dim));color:#fff}.ledger-dashboard-grid,.ledger-workboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 22rem;gap:1.5rem;align-items:start}.ledger-panel{background:var(--ledger-surface-panel);padding:1.75rem;box-shadow:var(--ledger-shadow);min-width:0}.ledger-panel--accent{background:linear-gradient(135deg,var(--ledger-primary),var(--ledger-primary-dim));color:#dcfff8}.ledger-panel--accent .ledger-panel-title,.ledger-panel--accent .ledger-panel-subtitle,.ledger-panel--accent .ledger-panel-meta,.ledger-panel--accent .ledger-list-item__title,.ledger-panel--accent .ledger-list-item__meta,.ledger-panel--accent .ledger-note{color:inherit}.ledger-panel-title{margin:0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.84rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-panel-subtitle{margin:.45rem 0 0;color:var(--ledger-text-muted);font-size:.82rem;line-height:1.45}.ledger-panel-meta{color:var(--ledger-text-muted);font-size:.68rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-dashboard-overview{display:flex;flex-direction:column;gap:1.4rem}.ledger-workboard-panel{display:flex;flex-direction:column;gap:1.35rem}.ledger-workboard-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ledger-workboard-status{display:inline-flex;align-items:center;min-height:2rem;padding:0 .8rem;background:var(--ledger-surface-panel-strong);color:var(--ledger-primary-dim);font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}.ledger-workboard-status.is-warning{background:#be5d3e1f;color:#b45b3f}.ledger-workboard-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.ledger-workboard-task{display:flex;flex-direction:column;gap:.35rem;align-items:flex-start;min-height:8.25rem;padding:1rem 1.05rem;border:0;background:var(--ledger-surface-low);text-align:left;cursor:pointer;transition:background .14s ease,transform .14s ease}.ledger-workboard-task:hover{background:var(--ledger-surface-panel-strong);transform:translateY(-1px)}.ledger-workboard-task.is-warning{background:#be5d3e14}.ledger-workboard-task__label{color:var(--ledger-text-muted);font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ledger-workboard-task__value{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:2.2rem;font-weight:800;letter-spacing:-.06em;line-height:1}.ledger-workboard-task__note{color:var(--ledger-text-muted);font-size:.8rem;line-height:1.45}.ledger-mini-kpis{display:flex;gap:1rem}.ledger-mini-kpi{min-width:8rem;padding:.85rem 1rem;background:var(--ledger-surface-low)}.ledger-mini-kpi__label{display:block;color:var(--ledger-text-muted);font-size:.64rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-mini-kpi__value{display:block;margin-top:.4rem;font-family:var(--ledger-font-headline);font-size:1.4rem;font-weight:800;color:var(--ledger-primary)}.ledger-department-list{display:flex;flex-direction:column;gap:1.05rem}.ledger-department-row{display:flex;flex-direction:column;gap:.35rem}.ledger-department-row__meta{display:flex;align-items:center;justify-content:space-between;gap:1rem}.ledger-department-row__label{font-family:var(--ledger-font-headline);font-size:1rem;font-weight:700;letter-spacing:-.02em}.ledger-department-row__value{color:var(--ledger-primary);font-size:.78rem;font-weight:800}.ledger-progress{width:100%;height:.22rem;background:var(--ledger-surface-panel-strong);overflow:hidden}.ledger-progress>span{display:block;height:100%;background:var(--ledger-primary)}.ledger-sparkline{display:flex;align-items:flex-end;gap:.35rem;height:4.4rem;padding-top:1rem;border-top:1px solid var(--ledger-outline)}.ledger-sparkline__bar{flex:1;min-width:0;background:#41655f2e}.ledger-sparkline__bar.is-active{background:var(--ledger-primary)}.ledger-rail{display:flex;flex-direction:column;gap:1.5rem}.ledger-workboard-rail{align-self:stretch}.ledger-workboard-side-item{display:flex;width:100%;align-items:flex-start;justify-content:space-between;gap:1rem;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.ledger-workboard-side-item__time{color:var(--ledger-primary);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.ledger-workboard-side-item__time.is-warning{color:#b45b3f}.ledger-priority-count{margin-top:1rem;font-family:var(--ledger-font-headline);font-size:3rem;font-weight:800;line-height:1;letter-spacing:-.05em}.ledger-list{display:flex;flex-direction:column;gap:.8rem}.ledger-list-item{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ledger-list-item__title{margin:0;font-size:.88rem;font-weight:700;line-height:1.4}.ledger-list-item__meta{margin-top:.2rem;color:var(--ledger-text-muted);font-size:.74rem;line-height:1.35}.ledger-list-item__value{color:inherit;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.ledger-note{color:var(--ledger-text-muted);font-size:.78rem;line-height:1.45}.ledger-ledger-section{display:flex;flex-direction:column;gap:1.25rem}.ledger-ledger-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.ledger-ledger-header__actions{display:flex;gap:.5rem}.ledger-ledger-header__actions button{border:0;padding:.62rem .8rem;background:var(--ledger-surface-panel-strong);color:var(--ledger-primary-dim);font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.ledger-ledger-rows{display:flex;flex-direction:column;gap:.45rem}.ledger-ledger-row{width:100%;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) auto;gap:1rem;align-items:center;padding:1rem 1.1rem;border:0;background:transparent;text-align:left;cursor:pointer}.ledger-ledger-row:hover{background:var(--ledger-surface-panel-strong)}.ledger-ledger-row--workboard{grid-template-columns:minmax(0,1.4fr) minmax(0,.75fr) auto}.ledger-ledger-row__name{font-family:var(--ledger-font-headline);font-size:.96rem;font-weight:700;letter-spacing:-.02em}.ledger-ledger-row__summary{margin-top:.2rem;color:var(--ledger-text-muted);font-size:.78rem;line-height:1.4}.ledger-ledger-row__department{font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ledger-primary)}.ledger-ledger-row__timestamp{color:var(--ledger-text-muted);font-size:.74rem;text-align:right;white-space:nowrap}.ledger-workboard-pill{display:inline-flex;align-items:center;min-height:1.75rem;padding:0 .65rem;background:var(--ledger-surface-panel-strong);color:var(--ledger-text-muted);font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}.ledger-workboard-pill.is-warning,.ledger-workboard-pill.is-critical{background:#be5d3e1f;color:#b45b3f}.ledger-workboard-pill.is-normal{background:#41655f1f;color:var(--ledger-primary)}.ledger-section-divider{height:1px;background:var(--ledger-outline);margin:1rem 0 0}.ledger-empty{padding:1.25rem 0;color:var(--ledger-text-muted);font-size:.85rem}.ledger-compact-stack{display:flex;flex-direction:column;gap:1rem}.ledger-inline-status{display:inline-flex;align-items:center;gap:.4rem;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ledger-inline-status.is-critical{color:#ffe9e7}.ledger-inline-status svg{width:.85rem;height:.85rem}.ledger-auth{min-height:100vh;display:grid;grid-template-columns:minmax(22rem,34rem) minmax(0,1fr);background:radial-gradient(circle at top left,rgba(48,106,95,.14),transparent 32%),linear-gradient(135deg,#f5f1ea,#f9f7f2 48%,#eef3ef);color:var(--ledger-text);overflow:hidden}.ledger-auth__aside{position:relative;overflow:hidden;background:radial-gradient(circle at 18% 18%,rgba(132,255,225,.18),transparent 28%),radial-gradient(circle at 80% 22%,rgba(242,196,119,.15),transparent 26%),linear-gradient(160deg,#10211d,#0b1412 52%,#07100d);color:#f0f8f6e6;padding:2rem clamp(1.5rem,3vw,2.4rem)}.ledger-auth__aside:before,.ledger-auth__aside:after{content:"";position:absolute;border-radius:999px;filter:blur(12px);opacity:.4;animation:ledger-auth-float 18s ease-in-out infinite}.ledger-auth__aside:before{width:16rem;height:16rem;top:-4rem;right:-3rem;background:#4082743d}.ledger-auth__aside:after{width:12rem;height:12rem;bottom:3rem;left:-4rem;background:#e6c9951f;animation-delay:-8s}.ledger-auth__aside-shell{position:relative;z-index:1;min-height:calc(100vh - 4rem);display:flex;flex-direction:column}.ledger-auth__brand{display:flex;align-items:center;gap:.9rem}.ledger-auth__brand-mark{width:3rem;height:3rem;border-radius:.9rem;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#68d3bd,#2a6d62);color:#dcfff8;font-family:var(--ledger-font-headline);font-size:.98rem;font-weight:800;flex-shrink:0;box-shadow:0 18px 34px #09161347}.ledger-auth__brand-mark img{width:100%;height:100%;object-fit:cover}.ledger-auth__brand-title{color:#fff;font-family:var(--ledger-font-headline);font-size:1.15rem;font-weight:800;letter-spacing:-.04em}.ledger-auth__brand-subtitle{margin-top:.25rem;color:#c9dcd6b8;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.ledger-auth__aside-copy{margin-top:clamp(4rem,11vh,7rem);max-width:24rem}.ledger-auth__aside-kicker{display:inline-block;color:#d2e2dcb8;font-size:.64rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase}.ledger-auth__aside-title{margin:.9rem 0 0;color:#fff;font-family:var(--ledger-font-headline);font-size:clamp(2.5rem,4vw,4.2rem);font-weight:800;line-height:.92;letter-spacing:-.06em}.ledger-auth__aside-text{margin:1rem 0 0;color:#d5e2dfc7;font-size:.98rem;line-height:1.65;max-width:21rem}.ledger-auth__signal-list{margin-top:2.4rem;display:grid;gap:.9rem}.ledger-auth__signal{padding:1rem 1.1rem;background:#ffffff0d;border:1px solid rgba(199,221,214,.11);border-radius:1.1rem;display:flex;flex-direction:column;gap:.35rem;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:ledger-auth-rise .75s ease both}.ledger-auth__signal:nth-child(2){animation-delay:.08s}.ledger-auth__signal:nth-child(3){animation-delay:.16s}.ledger-auth__signal span{color:#c2d4cfb3;font-size:.62rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-auth__signal strong{color:#f5faf9;font-size:1rem;font-weight:700}.ledger-auth__spotlight{margin-top:1.25rem;padding:1.3rem 1.2rem;border-radius:1.4rem;background:linear-gradient(145deg,#66c6b02e,#ffffff0d);border:1px solid rgba(196,228,220,.12);box-shadow:inset 0 1px #ffffff0f;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.ledger-auth__spotlight-label{display:block;color:#cedfdbb8;font-size:.64rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase}.ledger-auth__spotlight strong{display:block;margin-top:.65rem;color:#fff;font-family:var(--ledger-font-headline);font-size:1.65rem;line-height:1;letter-spacing:-.04em}.ledger-auth__spotlight p{margin:.75rem 0 0;color:#dbe8e4c7;font-size:.88rem;line-height:1.6}.ledger-auth__aside-footer{margin-top:auto;display:flex;gap:.65rem;padding-top:1.25rem;color:#becbc994;font-size:.62rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-auth__main{position:relative;min-width:0;display:flex;flex-direction:column}.ledger-auth__main:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 14%,rgba(94,162,146,.1),transparent 24%),radial-gradient(circle at 10% 82%,rgba(229,199,144,.12),transparent 26%);pointer-events:none}.ledger-auth__topbar{position:relative;z-index:1;height:4.5rem;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(1.35rem,3vw,2.5rem);background:transparent}.ledger-auth__topbar-title,.ledger-auth__topbar-meta{font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-auth__topbar-title{color:#313c39cc}.ledger-auth__topbar-meta{color:#2a6d62db}.ledger-auth__stage{position:relative;z-index:1;flex:1;display:flex;align-items:center;justify-content:center;padding:clamp(2rem,5vw,4rem) clamp(1.35rem,4vw,3.5rem) clamp(2.5rem,6vw,4.5rem)}.ledger-auth__panel{width:min(100%,37rem);background:#fffcf6c7;border:1px solid rgba(123,143,137,.16);border-radius:1.75rem;padding:clamp(1.6rem,3.2vw,2.8rem);box-shadow:0 28px 90px #444c4a21;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);animation:ledger-auth-rise .8s ease both}.ledger-auth__panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ledger-auth__context{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.ledger-auth__context span{display:inline-flex;align-items:center;min-height:1.9rem;padding:.3rem .75rem;border-radius:999px;background:#3d685e14;color:#28423cd1;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ledger-auth__title{margin:1rem 0 0;font-family:var(--ledger-font-headline);font-size:clamp(2.25rem,3vw,3.4rem);font-weight:800;line-height:.92;letter-spacing:-.05em}.ledger-auth__subtitle{margin:.85rem 0 0;max-width:27rem;color:#4e5c58d1;font-size:.96rem;line-height:1.65}.ledger-auth__form{margin-top:1.65rem;display:flex;flex-direction:column;gap:1rem}.ledger-auth__split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ledger-auth__field{display:flex;flex-direction:column;gap:.55rem}.ledger-auth__field-label{color:#2d3c38e0;font-size:.68rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-auth__field input,.ledger-auth__field select,.ledger-auth__field textarea{width:100%;border:0;border-radius:1rem;background:#ffffffeb;color:var(--ledger-text);font-size:.92rem;padding:1rem 1.05rem;box-shadow:inset 0 0 0 1px #76858129;transition:box-shadow .16s ease,transform .16s ease,background-color .16s ease}.ledger-auth__field input:focus,.ledger-auth__field select:focus,.ledger-auth__field textarea:focus{outline:none;background:#fff;box-shadow:inset 0 0 0 1px #2a6d6299,0 0 0 4px #42887b17;transform:translateY(-1px)}.ledger-auth__field-hint,.ledger-auth__field-error{font-size:.78rem;line-height:1.4}.ledger-auth__field-hint{color:var(--ledger-text-muted)}.ledger-auth__field-error{color:var(--ledger-error)}.ledger-auth__input-wrap{position:relative}.ledger-auth__input-wrap input{padding-right:4.75rem}.ledger-auth__toggle{position:absolute;top:50%;right:1rem;transform:translateY(-50%);border:0;background:transparent;color:#2a6d62e0;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.ledger-auth__facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.ledger-auth__facility-option{border:0;border-radius:1rem;background:#ffffffc2;color:var(--ledger-text-muted);padding:1rem;text-align:left;display:flex;flex-direction:column;gap:.4rem;box-shadow:inset 0 0 0 1px #7685811f;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}.ledger-auth__facility-option strong{color:var(--ledger-text);font-size:.9rem;font-weight:800}.ledger-auth__facility-option span{font-size:.78rem;line-height:1.35}.ledger-auth__facility-option.is-active{background:#c4eae380;box-shadow:inset 0 0 0 1px #41655f47,0 14px 28px #53736b1f;color:var(--ledger-primary-dim);transform:translateY(-1px)}.ledger-auth__button{width:100%;border:0;border-radius:999px;padding:1rem 1.2rem;font-family:var(--ledger-font-headline);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.ledger-auth__button:disabled{cursor:not-allowed;opacity:.68}.ledger-auth__button--primary{background:linear-gradient(135deg,#2e6e63,#163f39);color:#fff;box-shadow:0 18px 34px #254d4538}.ledger-auth__button:hover:not(:disabled),.ledger-auth__facility-option:hover,.ledger-auth__ghost-link:hover,.ledger-auth__switch button:hover{transform:translateY(-1px)}.ledger-auth__actions{margin-top:1.15rem}.ledger-auth__ghost-link,.ledger-auth__switch button{border:0;background:transparent;color:#225b51eb;font-size:.82rem;font-weight:700;padding:0;cursor:pointer}.ledger-auth__switch{color:var(--ledger-text-muted);font-size:.82rem;line-height:1.45}.ledger-auth__notice{margin-top:1.2rem;padding:1rem 1.05rem;border-radius:1rem;background:#e6ebe9d1;color:var(--ledger-text);font-size:.82rem;line-height:1.45}.ledger-auth__notice--error{background:#802b2b14;color:#8f3d3d}.ledger-auth__message-block{margin-top:1.6rem;display:flex;flex-direction:column;gap:1rem}.ledger-auth__success-badge{width:3rem;height:3rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#c4eae3b3;color:var(--ledger-primary)}.ledger-auth__success-badge svg{width:1.2rem;height:1.2rem}.ledger-auth__footer{margin-top:1.4rem;padding-top:1rem;border-top:1px solid rgba(118,133,129,.12)}@keyframes ledger-auth-rise{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes ledger-auth-float{0%,to{transform:translateZ(0) scale(1)}50%{transform:translate3d(.8rem,-.9rem,0) scale(1.05)}}.ledger-registration__header-meta{display:flex;gap:.9rem;flex-wrap:wrap}.ledger-registration__metric{min-width:8rem;padding:.95rem 1rem;background:var(--ledger-surface-panel);box-shadow:var(--ledger-shadow)}.ledger-registration__metric span{display:block;color:var(--ledger-text-muted);font-size:.64rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-registration__metric strong{display:block;margin-top:.35rem;font-family:var(--ledger-font-headline);font-size:1.3rem;font-weight:800;letter-spacing:-.04em}.ledger-registration__toolbar{display:flex;gap:.75rem;margin-bottom:1.5rem}.ledger-registration__tab{display:inline-flex;align-items:center;gap:.55rem;border:0;background:var(--ledger-surface-panel-strong);color:var(--ledger-text-muted);padding:.85rem 1rem;font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}.ledger-registration__tab svg{width:.9rem;height:.9rem}.ledger-registration__tab.is-active{background:#c4eae3b3;color:var(--ledger-primary-dim)}.ledger-registration__layout{display:grid;grid-template-columns:minmax(0,1fr) 23rem;gap:1.5rem;align-items:start}.ledger-registration__plane{background:var(--ledger-surface-panel);border-left:4px solid var(--ledger-primary);box-shadow:var(--ledger-shadow);padding:2.1rem}.ledger-registration__plane-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1.75rem}.ledger-registration__plane-header h2{margin:0;font-family:var(--ledger-font-headline);font-size:2rem;font-weight:800;line-height:.96;letter-spacing:-.04em}.ledger-registration__plane-header p{margin:.65rem 0 0;color:var(--ledger-text-muted);font-size:.88rem;line-height:1.45}.ledger-registration__age-state{min-width:11rem;padding:.95rem 1rem;background:var(--ledger-surface-low);display:flex;flex-direction:column;gap:.28rem}.ledger-registration__age-state strong{font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--ledger-primary-dim)}.ledger-registration__age-state span{color:var(--ledger-text-muted);font-size:.78rem;line-height:1.4}.ledger-registration__age-state.is-minor{background:#c4eae357}.ledger-registration__age-state.is-adult{background:#e3e9ead6}.ledger-registration__form,.ledger-registration__search-flow,.ledger-registration__rail{display:flex;flex-direction:column}.ledger-registration__form,.ledger-registration__search-flow,.ledger-registration__rail{gap:1.4rem}.ledger-registration__section,.ledger-registration__rail-block{display:flex;flex-direction:column;gap:1rem}.ledger-registration__section+.ledger-registration__section,.ledger-registration__section-grid+.ledger-registration__section,.ledger-registration__search-groups+.ledger-registration__section{padding-top:1.4rem;border-top:1px solid var(--ledger-outline)}.ledger-registration__section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.ledger-registration__section-header h3{margin:0;color:var(--ledger-primary);font-family:var(--ledger-font-headline);font-size:.96rem;font-weight:800;letter-spacing:-.02em}.ledger-registration__section-header span{color:var(--ledger-text-muted);font-size:.64rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-registration__grid{display:grid;gap:1rem}.ledger-registration__grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}.ledger-registration__grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}.ledger-registration__grid--two,.ledger-registration__section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-registration__section-grid{display:grid;gap:1.4rem}.ledger-registration__field{display:flex;flex-direction:column;gap:.55rem}.ledger-registration__field--span-2{grid-column:span 2}.ledger-registration__field--span-3{grid-column:span 3}.ledger-registration__field span{color:var(--ledger-text);font-size:.66rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-registration__field input,.ledger-registration__field select,.ledger-registration__field textarea,.ledger-registration__search input{width:100%;border:0;background:var(--ledger-surface-low);color:var(--ledger-text);font-size:.9rem;padding:.95rem 1rem;box-shadow:inset 0 0 0 1px #abb4b524;resize:vertical}.ledger-registration__field input:focus,.ledger-registration__field select:focus,.ledger-registration__field textarea:focus,.ledger-registration__search input:focus{outline:none;box-shadow:inset 0 0 0 1px var(--ledger-primary)}.ledger-registration__form-actions{padding-top:1.4rem;border-top:1px solid var(--ledger-outline);display:flex;align-items:center;justify-content:space-between;gap:1rem}.ledger-registration__inline-note{display:inline-flex;align-items:center;gap:.6rem;color:var(--ledger-text-muted);font-size:.8rem;line-height:1.4}.ledger-registration__inline-note svg{width:.95rem;height:.95rem;color:var(--ledger-primary)}.ledger-registration__submit,.ledger-registration__secondary-button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.95rem 1.1rem;font-family:var(--ledger-font-headline);font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.ledger-registration__submit{background:linear-gradient(135deg,var(--ledger-primary),var(--ledger-primary-dim));color:#fff}.ledger-registration__submit:disabled{opacity:.6;cursor:not-allowed}.ledger-registration__secondary-button{background:var(--ledger-surface-panel-strong);color:var(--ledger-primary-dim)}.ledger-registration__secondary-button--full,.ledger-registration__submit{width:100%}.ledger-registration__search{position:relative}.ledger-registration__search svg{position:absolute;left:.95rem;top:50%;transform:translateY(-50%);width:.95rem;height:.95rem;color:var(--ledger-text-muted)}.ledger-registration__search input{padding-left:2.85rem}.ledger-registration__search-groups,.ledger-registration__result-list,.ledger-registration__queue-list{display:flex;flex-direction:column;gap:.65rem}.ledger-registration__result-row,.ledger-registration__queue-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:transparent}.ledger-registration__result-row{padding:1rem;border:1px solid rgba(171,180,181,.14)}.ledger-registration__queue-row{width:100%;border:0;padding:.95rem 1rem;text-align:left;background:var(--ledger-surface-low);cursor:pointer}.ledger-registration__queue-row.is-active{background:#c4eae357}.ledger-registration__result-row.is-active{background:#e3e9ea85}.ledger-registration__result-meta,.ledger-registration__queue-row-meta,.ledger-registration__patient-heading span,.ledger-registration__patient-stats span{color:var(--ledger-text-muted);font-size:.76rem;line-height:1.4}.ledger-registration__result-meta,.ledger-registration__patient-stats{display:flex;flex-wrap:wrap;gap:.55rem}.ledger-registration__queue-row-main{display:flex;flex-direction:column;gap:.25rem}.ledger-registration__queue-row-name,.ledger-registration__text-link{border:0;background:transparent;padding:0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:700;letter-spacing:-.02em;cursor:pointer;text-align:left}.ledger-registration__status-pill{display:inline-flex;align-items:center;justify-content:center;padding:.36rem .55rem;background:#9f403d1f;color:var(--ledger-error);font-size:.64rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}.ledger-registration__status-pill.is-clear{background:#c4eae38c;color:var(--ledger-primary-dim)}.ledger-registration__queue-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.ledger-registration__queue-metric{padding:.85rem 1rem;background:var(--ledger-surface-low)}.ledger-registration__queue-metric span{display:block;color:var(--ledger-text-muted);font-size:.62rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-registration__queue-metric strong{display:block;margin-top:.3rem;font-family:var(--ledger-font-headline);font-size:1.15rem;font-weight:800}.ledger-registration__deposit-flow,.ledger-registration__summary{display:flex;flex-direction:column}.ledger-registration__deposit-flow{gap:1rem}.ledger-registration__patient-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ledger-registration__summary{gap:.55rem}.ledger-registration__summary-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:var(--ledger-text-muted);font-size:.82rem}.ledger-registration__summary-row strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1rem}.ledger-registration__summary-row.is-highlight strong{color:var(--ledger-primary)}.ledger-registration__payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.ledger-registration__payment-option{border:0;background:var(--ledger-surface-low);color:var(--ledger-text-muted);padding:.85rem .95rem;font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.ledger-registration__payment-option.is-active{background:#c4eae3b3;color:var(--ledger-primary-dim)}.ledger-registration__payment-option:disabled{opacity:.5;cursor:not-allowed}.ledger-registration__empty{padding:1.4rem;background:var(--ledger-surface-low);display:flex;flex-direction:column;gap:.35rem;color:var(--ledger-text-muted);font-size:.82rem;line-height:1.45}.ledger-registration__empty strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.96rem;font-weight:700}.ledger-registration__empty--compact{padding:1rem}.ledger-registration__error{margin:0;color:var(--ledger-error);font-size:.78rem;line-height:1.45}.ledger-shell.is-readonly .ledger-topbar__title:after{content:"Read Only";margin-left:.75rem;padding:.35rem .55rem;border-radius:999px;background:#9f403d1f;color:var(--ledger-error);font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}@media(max-width:1100px){.ledger-shell{position:relative}.ledger-sidebar-backdrop{position:fixed;inset:0;background:#0c0f0f73;opacity:0;pointer-events:none;transition:opacity .14s ease;z-index:25;display:block}.ledger-shell.nav-open .ledger-sidebar-backdrop{opacity:1;pointer-events:auto}.ledger-sidebar{position:fixed;left:0;transform:translate(-100%);transition:transform .18s ease;box-shadow:0 12px 40px #00000038}.ledger-shell.nav-open .ledger-sidebar{transform:translate(0)}.ledger-search{min-width:0;flex:1}.ledger-topbar__signals{display:none}.ledger-content,.ledger-status-stack{padding-left:1rem;padding-right:1rem}.ledger-dashboard-grid,.ledger-workboard-layout,.ledger-auth{grid-template-columns:1fr}.ledger-auth__aside{display:none}.ledger-auth__topbar,.ledger-auth__stage{padding-left:1rem;padding-right:1rem}.ledger-auth__topbar{height:4rem}.ledger-registration__layout{grid-template-columns:1fr}.ledger-registration__plane-header,.ledger-registration__form-actions{flex-direction:column;align-items:flex-start}}@media(max-width:720px){.ledger-topbar{padding:0 1rem}.ledger-search{display:none}.ledger-page-header,.ledger-mini-kpis,.ledger-workboard-panel__head{flex-direction:column;align-items:flex-start}.ledger-workboard-task-grid{grid-template-columns:1fr}.ledger-content{padding-top:1.25rem}.ledger-ledger-row{grid-template-columns:1fr}.ledger-ledger-row__timestamp{text-align:left}.ledger-auth__panel,.ledger-registration__plane{padding:1.35rem}.ledger-auth__panel-head,.ledger-auth__context{flex-direction:column;align-items:flex-start}.ledger-auth__split,.ledger-auth__facility-grid,.ledger-registration__grid--four,.ledger-registration__grid--three,.ledger-registration__grid--two,.ledger-registration__section-grid,.ledger-registration__queue-metrics,.ledger-registration__payment-options{grid-template-columns:1fr}.ledger-registration__field--span-2,.ledger-registration__field--span-3{grid-column:span 1}.ledger-registration__header-meta,.ledger-registration__toolbar,.ledger-registration__result-row,.ledger-registration__queue-row,.ledger-registration__patient-heading{flex-direction:column;align-items:flex-start}}.ledger-clinical{display:flex;flex-direction:column;gap:1.5rem}.ledger-clinical__header-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;min-width:24rem}.ledger-clinical__header-metric{padding:1rem 1.15rem;background:var(--ledger-surface-panel);border:1px solid var(--ledger-outline);box-shadow:var(--ledger-shadow)}.ledger-clinical__header-metric span{display:block;color:var(--ledger-text-muted);font-size:.66rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-clinical__header-metric strong{display:block;margin-top:.45rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.2rem;font-weight:800;letter-spacing:-.04em}.ledger-clinical__layout{display:grid;grid-template-columns:minmax(17rem,18.5rem) minmax(0,1fr);gap:1.25rem;align-items:start}.ledger-clinical__queue,.ledger-clinical__desk{background:var(--ledger-surface-panel);border:1px solid var(--ledger-outline);box-shadow:var(--ledger-shadow)}.ledger-clinical__queue{min-height:48rem;display:flex;flex-direction:column}.ledger-clinical__queue-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;padding:1.35rem 1.35rem 1rem;border-bottom:1px solid rgba(171,180,181,.28)}.ledger-clinical__queue-header h2{margin:.35rem 0 0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.2rem;font-weight:800;letter-spacing:-.04em}.ledger-clinical__queue-count{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 .6rem;background:#c4eae38c;color:var(--ledger-primary-dim);font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:800}.ledger-clinical__queue-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-bottom:1px solid rgba(171,180,181,.28);background:linear-gradient(180deg,#f1f4f4e0,#f8f9f9f5)}.ledger-clinical__queue-summary>div{padding:.95rem 1.35rem 1rem}.ledger-clinical__queue-summary>div+div{border-left:1px solid rgba(171,180,181,.28)}.ledger-clinical__queue-summary span{display:block;color:var(--ledger-text-muted);font-size:.64rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__queue-summary strong{display:block;margin-top:.4rem;font-family:var(--ledger-font-headline);font-size:1.05rem;font-weight:800;letter-spacing:-.03em}.ledger-clinical__queue-list{display:flex;flex-direction:column}.ledger-clinical__queue-alert{margin-bottom:1.25rem;background:linear-gradient(90deg,#7f1d1d1f,#fef2f2e0);color:#7f1d1d}.ledger-clinical__queue-alert .ledger-banner__button{background:#7f1d1d24;color:#7f1d1d}.ledger-clinical__queue-alert .ledger-banner__button:hover{background:#7f1d1d33}.ledger-clinical__queue-item{width:100%;border:0;border-bottom:1px solid rgba(171,180,181,.22);background:transparent;padding:1rem 1.35rem;color:inherit;text-align:left;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,padding-left .14s ease}.ledger-clinical__queue-item:hover{background:#f1f4f4d1}.ledger-clinical__queue-item.is-active{background:linear-gradient(90deg,#c4eae373,#f8f9f900);border-left:3px solid var(--ledger-primary);padding-left:calc(1.35rem - 3px)}.ledger-clinical__queue-item.is-busy:not(.is-active){background:#f1f4f48c}.ledger-clinical__queue-item.is-emergency:not(.is-active){background:linear-gradient(90deg,#ffedd5b3,#fff0);border-left:3px solid #c2410c;padding-left:calc(1.35rem - 3px)}.ledger-clinical__queue-item-top,.ledger-clinical__queue-meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.ledger-clinical__queue-item-top{margin-bottom:.55rem}.ledger-clinical__queue-item strong{display:block;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.96rem;font-weight:800;letter-spacing:-.02em}.ledger-clinical__queue-slot,.ledger-clinical__queue-state{display:inline-flex;align-items:center;gap:.35rem;font-size:.64rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__queue-slot{color:var(--ledger-text-muted)}.ledger-clinical__queue-state{color:var(--ledger-primary-dim)}.ledger-clinical__queue-state.is-emergency{color:#b45309}.ledger-clinical__queue-item-subcopy{display:grid;gap:.28rem;margin-top:.45rem;margin-bottom:.55rem}.ledger-clinical__queue-item-subcopy span:last-child,.ledger-clinical__queue-meta{color:var(--ledger-text-muted);font-size:.76rem}.ledger-clinical__queue-flag{display:inline-flex;width:fit-content;align-items:center;border-radius:999px;background:#c2410c1f;color:#9a3412;font-size:.62rem;font-weight:800;letter-spacing:.12em;padding:.28rem .55rem;text-transform:uppercase}.ledger-clinical__queue-state.is-busy{color:var(--ledger-error)}.ledger-clinical__queue-meta{margin-top:.4rem;color:var(--ledger-text-muted);font-size:.76rem}.ledger-clinical__desk{min-height:48rem;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.ledger-clinical__hero{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.45rem 1.5rem;background:linear-gradient(180deg,#f1f4f4eb,#f8f9f9fa);border:1px solid rgba(171,180,181,.22)}.ledger-clinical__hero-main{display:flex;align-items:center;gap:1rem;min-width:0}.ledger-clinical__hero-mark{width:3rem;height:3rem;display:inline-flex;align-items:center;justify-content:center;background:#c4eae3a6;color:var(--ledger-primary-dim);flex-shrink:0}.ledger-clinical__hero-mark svg{width:1.15rem;height:1.15rem}.ledger-clinical__hero h2{margin:.35rem 0 0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:clamp(1.5rem,3vw,2rem);font-weight:800;letter-spacing:-.05em}.ledger-clinical__hero p{margin:.5rem 0 0;color:var(--ledger-text-muted);font-size:.88rem}.ledger-clinical__hero-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.65rem}.ledger-clinical__summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border:1px solid rgba(171,180,181,.24);background:linear-gradient(180deg,#f8f9f9fa,#f1f4f4d6);overflow:hidden}.ledger-clinical__summary-item{min-width:0;padding:1rem 1.1rem;display:flex;flex-direction:column;justify-content:center;gap:.4rem;min-height:5rem}.ledger-clinical__summary-item+.ledger-clinical__summary-item{border-left:1px solid rgba(171,180,181,.24)}.ledger-clinical__summary-item span{color:var(--ledger-text-muted);font-size:.64rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.ledger-clinical__summary-item strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1rem;font-weight:800;letter-spacing:-.03em}.ledger-clinical__tabs{display:flex;flex-wrap:wrap;gap:1.2rem;border-bottom:1px solid rgba(171,180,181,.28);padding:0 .1rem}.ledger-clinical__tab{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 0 .9rem;display:inline-flex;align-items:center;gap:.45rem;color:var(--ledger-text-muted);font-family:var(--ledger-font-body);font-size:.75rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.ledger-clinical__tab.is-active{color:var(--ledger-primary-dim);border-bottom-color:var(--ledger-primary)}.ledger-clinical__tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.2rem;height:1.2rem;padding:0 .35rem;background:#c4eae3b3;color:var(--ledger-primary-dim);font-size:.62rem;font-weight:800;letter-spacing:0}.ledger-clinical__pane-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;padding-top:.15rem}.ledger-clinical__pane-header h3{margin:.35rem 0 0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.15rem;font-weight:800;letter-spacing:-.03em}.ledger-clinical__pane-header p{margin:0;max-width:32rem;color:var(--ledger-text-muted);font-size:.86rem;line-height:1.45}.ledger-clinical__workspace{display:grid;grid-template-columns:minmax(0,1fr) 20rem;gap:1rem;align-items:start}.ledger-clinical__notes-panel,.ledger-clinical__result-stack,.ledger-clinical__order-flow,.ledger-clinical__med-list,.ledger-clinical__med-panel,.ledger-clinical__history-block,.ledger-clinical__result-group,.ledger-clinical__rail-block{min-width:0}.ledger-clinical__notes-panel,.ledger-clinical__context-rail,.ledger-clinical__result-stack,.ledger-clinical__history-stack{display:flex;flex-direction:column;gap:1rem}.ledger-clinical__notes-block,.ledger-clinical__rail-block,.ledger-clinical__result-group,.ledger-clinical__med-list,.ledger-clinical__med-panel,.ledger-clinical__history-block{padding:1.2rem 1.25rem;background:var(--ledger-surface-low);border:1px solid rgba(171,180,181,.22)}.ledger-clinical__section-heading,.ledger-clinical__group-header{display:flex;align-items:center;justify-content:space-between;gap:.85rem;margin-bottom:.9rem}.ledger-clinical__section-heading>span{display:inline-flex;width:1rem;height:2px;background:var(--ledger-primary);flex-shrink:0}.ledger-clinical__section-heading h4,.ledger-clinical__group-header h4{margin:0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:800;letter-spacing:-.02em}.ledger-clinical__group-header span{color:var(--ledger-text-muted);font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ledger-clinical textarea,.ledger-clinical input{width:100%;border:1px solid rgba(171,180,181,.34);background:#ffffffe6;color:var(--ledger-text);padding:.9rem 1rem;font:inherit}.ledger-clinical textarea::placeholder,.ledger-clinical input::placeholder{color:#586162d1}.ledger-clinical textarea:focus,.ledger-clinical input:focus{outline:none;border-color:#41655f80;box-shadow:0 0 0 3px #c4eae380}.ledger-clinical__vitals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.ledger-clinical__vital{padding:.85rem .9rem;background:#ffffffeb;border:1px solid rgba(171,180,181,.28);display:flex;flex-direction:column;gap:.35rem}.ledger-clinical__vital span,.ledger-clinical__vital small{color:var(--ledger-text-muted);font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ledger-clinical__vital strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.05rem;font-weight:800;letter-spacing:-.03em}.ledger-clinical__vital.is-critical{background:#fe898324;border-color:#9f403d38}.ledger-clinical__vital.is-critical strong,.ledger-clinical__vital.is-critical small{color:var(--ledger-error)}.ledger-clinical__handoff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.ledger-clinical__handoff-button{border:1px solid rgba(171,180,181,.28);background:#ffffffe6;padding:.9rem 1rem;display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;color:var(--ledger-primary-dim);font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.ledger-clinical__handoff-button svg{width:1rem;height:1rem}.ledger-clinical__handoff-button.is-danger{color:var(--ledger-error)}.ledger-clinical__handoff-note{display:flex;flex-direction:column;gap:.45rem;margin-top:.9rem}.ledger-clinical__handoff-note span{color:var(--ledger-text-muted);font-size:.66rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__result-card,.ledger-clinical__archive-card{padding:1rem 0;border-top:1px solid rgba(171,180,181,.26)}.ledger-clinical__result-card:first-of-type,.ledger-clinical__archive-card:first-of-type{padding-top:0;border-top:0}.ledger-clinical__result-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.ledger-clinical__result-card-head strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.92rem;font-weight:800}.ledger-clinical__result-card-head span{color:var(--ledger-text-muted);font-size:.66rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__pill-list{display:flex;flex-wrap:wrap;gap:.45rem}.ledger-clinical__pill-list span{display:inline-flex;align-items:center;padding:.45rem .7rem;background:#ffffffeb;border:1px solid rgba(171,180,181,.28);color:var(--ledger-text);font-size:.72rem;font-weight:600}.ledger-clinical__result-list,.ledger-clinical__history-list{display:flex;flex-direction:column}.ledger-clinical__result-row,.ledger-clinical__history-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.9rem 0;border-top:1px solid rgba(171,180,181,.24)}.ledger-clinical__result-row:first-child,.ledger-clinical__history-row:first-child{padding-top:0;border-top:0}.ledger-clinical__result-row strong,.ledger-clinical__history-row strong{color:var(--ledger-text);font-size:.9rem;font-weight:700}.ledger-clinical__result-row span,.ledger-clinical__history-row span{color:var(--ledger-text-muted);font-size:.76rem}.ledger-clinical__result-row p{margin:0;max-width:19rem;color:var(--ledger-text);font-size:.84rem;line-height:1.45;text-align:right}.ledger-clinical__selection-strip,.ledger-clinical__action-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.ledger-clinical__selection-strip{padding:0 0 1rem;border-bottom:1px solid rgba(171,180,181,.24)}.ledger-clinical__selection-strip span,.ledger-clinical__action-bar span{display:block;color:var(--ledger-text-muted);font-size:.66rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__selection-strip strong,.ledger-clinical__action-bar strong{display:block;margin-top:.35rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1rem;font-weight:800}.ledger-clinical__select-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1rem}.ledger-clinical__select-grid--meds{margin-top:0}.ledger-clinical__select-card{border:1px solid rgba(171,180,181,.28);background:#ffffffeb;padding:1rem 1.05rem;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;color:inherit;text-align:left;cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.ledger-clinical__select-card.is-selected{background:#c4eae373;border-color:#41655f57}.ledger-clinical__select-card strong{display:block;color:var(--ledger-text);font-size:.9rem;font-weight:700}.ledger-clinical__select-card span{color:var(--ledger-text-muted);font-size:.75rem}.ledger-clinical__action-bar{margin-top:1rem;padding:.95rem 1rem;background:linear-gradient(180deg,#f1f4f4e6,#f8f9f9fa);border:1px solid rgba(171,180,181,.24)}.ledger-clinical__medication-layout,.ledger-clinical__history-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(18rem,.9fr);gap:1rem}.ledger-clinical__med-selected{display:flex;flex-direction:column}.ledger-clinical__med-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 0;border-top:1px solid rgba(171,180,181,.24)}.ledger-clinical__med-row:first-child{padding-top:0;border-top:0}.ledger-clinical__med-row strong{display:block;color:var(--ledger-text);font-size:.92rem;font-weight:700}.ledger-clinical__med-row span{color:var(--ledger-text-muted);font-size:.76rem}.ledger-clinical__med-controls{display:grid;grid-template-columns:5rem minmax(0,1fr) 2.75rem;gap:.55rem;width:min(100%,22rem)}.ledger-clinical__med-controls button{border:1px solid rgba(171,180,181,.28);background:#ffffffe6;color:var(--ledger-error);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.ledger-clinical__med-controls button svg{width:.9rem;height:.9rem}.ledger-clinical__history-stack{gap:0}.ledger-clinical__archive-card>div{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ledger-clinical__archive-card strong{color:var(--ledger-text);font-size:.9rem;font-weight:700}.ledger-clinical__archive-card span,.ledger-clinical__archive-card p{color:var(--ledger-text-muted);font-size:.76rem}.ledger-clinical__archive-card p{margin:.55rem 0 0;line-height:1.45}.ledger-clinical__empty,.ledger-clinical__inline-empty{display:flex;flex-direction:column;gap:.35rem;color:var(--ledger-text-muted);line-height:1.45}.ledger-clinical__empty{padding:1.5rem;background:var(--ledger-surface-low);border:1px solid rgba(171,180,181,.22);min-height:10rem;justify-content:center}.ledger-clinical__empty--desk{min-height:44rem}.ledger-clinical__empty strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.05rem;font-weight:800}.ledger-clinical__inline-empty{padding:1rem 0;font-size:.82rem}.ledger-clinical__workspace-switch{display:inline-flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.1rem}.ledger-clinical__workspace-button{border:1px solid rgba(171,180,181,.28);background:#ffffffb8;padding:.72rem .95rem;color:var(--ledger-text-muted);font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.ledger-clinical__workspace-button.is-active{background:#c4eae399;border-color:#41655f4d;color:var(--ledger-primary-dim)}.ledger-clinical__emergency-shell{display:flex;flex-direction:column;gap:1.15rem}.ledger-clinical__emergency-nav{display:flex;flex-wrap:wrap;gap:1.35rem;border-bottom:1px solid rgba(171,180,181,.28)}.ledger-clinical__emergency-nav-button{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 0 .85rem;color:var(--ledger-text-muted);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.ledger-clinical__emergency-nav-button.is-active{color:var(--ledger-primary-dim);border-bottom-color:var(--ledger-primary)}.ledger-clinical__emergency-banner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.35rem 1.5rem;background:#c4eae3b8;border:1px solid rgba(65,101,95,.14)}.ledger-clinical__emergency-banner-main{display:flex;align-items:center;gap:.95rem;min-width:0}.ledger-clinical__emergency-avatar{width:2.7rem;height:2.7rem;display:inline-flex;align-items:center;justify-content:center;background:#41655f29;color:var(--ledger-primary-dim);font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:800;flex-shrink:0}.ledger-clinical__emergency-banner h2{margin:0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:clamp(1.2rem,2.2vw,1.5rem);font-weight:800;letter-spacing:-.04em}.ledger-clinical__emergency-banner p{margin:.3rem 0 0;color:var(--ledger-text-muted);font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.ledger-clinical__emergency-banner-side{display:flex;align-items:center;gap:1rem}.ledger-clinical__emergency-banner-side span{display:block;color:var(--ledger-text-muted);font-size:.6rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__emergency-banner-side strong{display:block;margin-top:.25rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.35rem;font-weight:800;letter-spacing:-.04em}.ledger-clinical__emergency-end{border:0;background:var(--ledger-error);color:#fff7f6;padding:.85rem 1.05rem;font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.ledger-clinical__emergency-grid{display:grid;grid-template-columns:minmax(18rem,.95fr) minmax(0,1.55fr);gap:1rem;align-items:start}.ledger-clinical__emergency-side,.ledger-clinical__emergency-main{display:flex;flex-direction:column;gap:1rem}.ledger-clinical__emergency-block,.ledger-clinical__emergency-ledger{background:var(--ledger-surface-panel);border:1px solid rgba(171,180,181,.2);box-shadow:var(--ledger-shadow)}.ledger-clinical__emergency-block{padding:1rem 1.05rem}.ledger-clinical__emergency-ledger{padding:1.2rem}.ledger-clinical__emergency-block-head,.ledger-clinical__emergency-ledger-head,.ledger-clinical__ledger-actions{display:flex;align-items:center;justify-content:space-between;gap:.85rem}.ledger-clinical__emergency-block-head{margin-bottom:.9rem}.ledger-clinical__emergency-block-head strong{color:var(--ledger-text-muted);font-size:.72rem;font-weight:800}.ledger-clinical__telemetry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.ledger-clinical__telemetry-card{padding:1rem;background:#ffffffe6;border:1px solid rgba(171,180,181,.18);display:flex;flex-direction:column;gap:.45rem;min-height:7.2rem}.ledger-clinical__telemetry-card.is-wide{grid-column:1 / -1}.ledger-clinical__telemetry-card.is-critical{background:#fe89831f;border-color:#9f403d2e}.ledger-clinical__telemetry-top{display:flex;justify-content:space-between;gap:.7rem}.ledger-clinical__telemetry-top span,.ledger-clinical__telemetry-card small{color:var(--ledger-text-muted);font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ledger-clinical__telemetry-card strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:clamp(1.6rem,3vw,2.65rem);font-weight:800;letter-spacing:-.06em;line-height:1}.ledger-clinical__intervention-stack{display:flex;flex-direction:column;gap:.65rem}.ledger-clinical__intervention-button{width:100%;border:1px solid rgba(171,180,181,.18);background:#ffffffeb;padding:.95rem 1rem;display:flex;align-items:center;gap:.75rem;text-align:left;cursor:pointer}.ledger-clinical__intervention-button span{width:1rem;height:1rem;display:inline-flex;align-items:center;justify-content:center;color:var(--ledger-primary-dim);flex-shrink:0}.ledger-clinical__intervention-button span svg{width:1rem;height:1rem}.ledger-clinical__intervention-button strong{color:var(--ledger-text);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ledger-clinical__emergency-ledger-head{align-items:flex-start;margin-bottom:1rem}.ledger-clinical__emergency-ledger-head h3{margin:.35rem 0 0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.1rem;font-weight:800;letter-spacing:-.04em}.ledger-clinical__emergency-sync{display:inline-flex;align-items:center;gap:.55rem;flex-wrap:wrap}.ledger-clinical__emergency-sync span{display:inline-flex;align-items:center;min-height:1.45rem;padding:0 .5rem;background:#e3e9eae0;color:var(--ledger-text-muted);font-size:.58rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.ledger-clinical__emergency-sync .is-synced{background:#c4eae3b3;color:var(--ledger-primary-dim)}.ledger-clinical__emergency-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem;margin-bottom:1rem}.ledger-clinical__ledger-list{display:flex;flex-direction:column;gap:.65rem}.ledger-clinical__ledger-entry{display:grid;grid-template-columns:3.25rem minmax(0,1fr) auto;gap:.9rem;align-items:start;padding:.95rem 0;border-top:1px solid rgba(171,180,181,.16)}.ledger-clinical__ledger-entry:first-child{border-top:0;padding-top:.15rem}.ledger-clinical__ledger-entry time{color:#586162d1;font-size:.62rem;font-weight:800;letter-spacing:.12em}.ledger-clinical__ledger-entry strong{display:block;color:var(--ledger-text);font-size:.95rem;font-weight:800}.ledger-clinical__ledger-entry p{margin:.32rem 0 0;color:var(--ledger-text);font-size:.84rem;line-height:1.45}.ledger-clinical__ledger-entry span{display:block;margin-top:.35rem;color:var(--ledger-text-muted);font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ledger-clinical__ledger-entry b{width:.95rem;height:.95rem;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#abb4b53d}.ledger-clinical__ledger-entry.is-complete{background:#c4eae338}.ledger-clinical__ledger-entry.is-complete b{background:#14b18a33}.ledger-clinical__ledger-entry.is-critical b{background:#9f403d38}.ledger-clinical__ledger-actions{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(171,180,181,.18);flex-wrap:wrap}.ledger-clinical__ledger-button{border:0;background:transparent;display:inline-flex;align-items:center;gap:.45rem;color:var(--ledger-text-muted);font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.ledger-clinical__ledger-button svg,.ledger-clinical__emergency-fab svg{width:1rem;height:1rem}.ledger-clinical__emergency-support-grid,.ledger-clinical__emergency-alt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ledger-clinical__pipeline-list,.ledger-clinical__order-list{display:flex;flex-direction:column;gap:.65rem}.ledger-clinical__pipeline-row,.ledger-clinical__order-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.82rem 0;border-top:1px solid rgba(171,180,181,.18)}.ledger-clinical__pipeline-row:first-child,.ledger-clinical__order-row:first-child{padding-top:0;border-top:0}.ledger-clinical__pipeline-row strong,.ledger-clinical__order-row span{color:var(--ledger-text);font-size:.84rem;font-weight:700}.ledger-clinical__pipeline-row span{display:inline-flex;align-items:center;min-height:1.45rem;padding:0 .5rem;background:#e3e9eae0;color:var(--ledger-text-muted);font-size:.58rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ledger-clinical__pipeline-row span.is-pending{background:#f4d66633;color:#9b6b05}.ledger-clinical__pipeline-row span.is-completed,.ledger-clinical__pipeline-row span.is-complete{background:#c4eae3b3;color:var(--ledger-primary-dim)}.ledger-clinical__pipeline-row span.is-idle{background:#e3e9eae0;color:var(--ledger-text-muted)}.ledger-clinical__order-row{justify-content:flex-start}.ledger-clinical__order-row b{width:.38rem;height:.38rem;border-radius:999px;background:#abb4b56b;flex-shrink:0}.ledger-clinical__order-row.is-active b{background:var(--ledger-primary)}.ledger-clinical__order-row.is-pending b{background:#c97905}.ledger-clinical__emergency-fab{width:2.5rem;height:2.5rem;border:0;background:var(--ledger-primary);color:var(--ledger-on-primary);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.ledger-clinical__triage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.ledger-clinical__triage-card{padding:.95rem 1rem;background:#ffffffeb;border:1px solid rgba(171,180,181,.18)}.ledger-clinical__triage-card span{display:block;color:var(--ledger-text-muted);font-size:.62rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__triage-card strong{display:block;margin-top:.35rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1rem;font-weight:800;letter-spacing:-.03em}.ledger-clinical__layout{grid-template-columns:minmax(20rem,23rem) minmax(0,1fr);gap:1.25rem;align-items:stretch}.ledger-clinical__queue{min-height:52rem;background:linear-gradient(180deg,#05090c,#0b1118)!important;color:#e7fbf6!important;border:0;box-shadow:0 20px 50px #070c1229;overflow:hidden}.ledger-clinical__context-panel{padding:1.5rem 1.35rem 1.25rem;display:flex;flex-direction:column;gap:1.25rem;background:linear-gradient(180deg,#05090c,#0a1118);border-bottom:1px solid rgba(255,255,255,.08)}.ledger-clinical__patient-identity{display:flex;align-items:center;gap:.95rem}.ledger-clinical__patient-avatar{width:3rem;height:3rem;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#86f6e03d,#41655feb);color:#fff;font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:800;letter-spacing:-.03em;flex-shrink:0}.ledger-clinical__patient-copy h2{margin:0;color:#fff;font-family:var(--ledger-font-headline);font-size:1.15rem;font-weight:800;letter-spacing:-.03em}.ledger-clinical__patient-copy p{margin:.25rem 0 0;color:#e7fbf6cc;font-size:.74rem}.ledger-clinical__detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.95rem 1rem;padding:1rem 0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}.ledger-clinical__detail-grid span,.ledger-clinical__context-block h3,.ledger-clinical__context-footer span{display:block;color:#e7fbf69e;font-size:.62rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__detail-grid strong,.ledger-clinical__context-footer strong{display:block;margin-top:.32rem;color:#fff;font-size:.9rem;font-weight:700}.ledger-clinical__context-block{display:flex;flex-direction:column;gap:.9rem}.ledger-clinical__context-block h3{margin:0}.ledger-clinical__vitals-stack{display:flex;flex-direction:column;gap:.8rem}.ledger-clinical__vital-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.ledger-clinical__vital-row span{color:#e7fbf6bd;font-size:.76rem}.ledger-clinical__vital-row strong{color:#fff;font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:800;letter-spacing:-.03em}.ledger-clinical__vital-row small{margin-left:.35rem;color:#e7fbf68f;font-size:.6rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ledger-clinical__context-footer{padding:.95rem 1rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;background:#ffffff0f}.ledger-clinical__patient-placeholder,.ledger-clinical__context-empty{padding:.95rem 1rem;background:#ffffff0f;color:#e7fbf6d6;font-size:.78rem}.ledger-clinical__patient-placeholder strong{display:block;margin-bottom:.35rem;color:#fff}.ledger-clinical__context-nav{display:flex;flex-direction:column;gap:.45rem}.ledger-clinical__context-nav-button{width:100%;border:0;border-left:3px solid transparent;background:transparent;padding:.85rem .95rem;display:flex;align-items:center;gap:.75rem;color:#e7fbf6c7;font-size:.72rem;font-weight:700;cursor:pointer;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.ledger-clinical__context-nav-button svg{width:1rem;height:1rem;flex-shrink:0}.ledger-clinical__context-nav-button:hover{background:#ffffff14;color:#fff}.ledger-clinical__context-nav-button.is-active{border-left-color:var(--ledger-primary);background:#41655f52;color:#fff}.ledger-clinical__queue-panel{display:flex;flex-direction:column;min-height:0;flex:1;background:linear-gradient(180deg,#081019,#0e151d)}.ledger-clinical__queue-header{padding:1.25rem 1.35rem 1rem;background:#ffffff08;border-bottom:1px solid rgba(255,255,255,.08)}.ledger-clinical__queue-header h2{color:#fff}.ledger-clinical__queue-count{background:#86f6e029;color:#d7fff7}.ledger-clinical__queue-summary{grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid rgba(255,255,255,.08);background:#ffffff0d}.ledger-clinical__queue-summary>div{padding:.95rem 1rem 1rem}.ledger-clinical__queue-summary>div+div{border-left:1px solid rgba(255,255,255,.08)}.ledger-clinical__queue-summary span{color:#e7fbf6a3}.ledger-clinical__queue-summary strong{color:#fff}.ledger-clinical__queue .ledger-clinical__empty{margin:1rem 1.35rem;background:#ffffff0a;border:1px solid rgba(255,255,255,.08)}.ledger-clinical__queue .ledger-clinical__empty strong{color:#fff}.ledger-clinical__queue .ledger-clinical__empty span{color:#d7fff7ad}.ledger-clinical__queue-list{flex:1;overflow:auto}.ledger-clinical__queue-item{border-bottom:1px solid rgba(255,255,255,.06);color:inherit}.ledger-clinical__queue-item:hover{background:#ffffff12}.ledger-clinical__queue-item.is-active{background:linear-gradient(90deg,#86f6e024,#fff0)}.ledger-clinical__queue-item.is-busy:not(.is-active){background:#ffffff06}.ledger-clinical__queue-item.is-emergency:not(.is-active){background:linear-gradient(90deg,#c2410c29,#fff0)}.ledger-clinical__queue-item strong{color:#fff}.ledger-clinical__queue-slot,.ledger-clinical__queue-meta,.ledger-clinical__queue-item-subcopy span:last-child{color:#e7fbf6b3}.ledger-clinical__queue-state{color:#abffef}.ledger-clinical__queue-state.is-busy{color:#fe8983}.ledger-clinical__queue-state.is-emergency,.ledger-clinical__queue-flag{color:#f7b36c}.ledger-clinical__queue-flag{background:#c2410c2e}.ledger-clinical__desk{min-height:52rem;padding:0;overflow:hidden}.ledger-clinical__toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.5rem;border-bottom:1px solid rgba(171,180,181,.22);background:linear-gradient(180deg,#f1f4f4f2,#f8f9f9fa)}.ledger-clinical__tabs{gap:1rem;border-bottom:0;padding:0}.ledger-clinical__tab{padding:.15rem 0 .75rem;color:#607071}.ledger-clinical__tab.is-active{color:#284c46}.ledger-clinical__toolbar-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.5rem}.ledger-clinical__utility-button,.ledger-clinical__toolbar-button{border:1px solid rgba(171,180,181,.28);background:#ffffffdb;color:#284c46;min-height:2.55rem;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:0 .95rem;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.ledger-clinical__utility-button{width:2.55rem;padding:0}.ledger-clinical__utility-button svg,.ledger-clinical__toolbar-button svg{width:.95rem;height:.95rem}.ledger-clinical__toolbar-button--primary,.ledger-clinical__finalize-button{border-color:var(--ledger-primary);background:var(--ledger-primary);color:#f7fffd}.ledger-clinical__toolbar-button:disabled,.ledger-clinical__utility-button:disabled,.ledger-clinical__handoff-button:disabled,.ledger-clinical__finalize-button:disabled{cursor:not-allowed;opacity:.56}.ledger-clinical__station-shell{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 18rem;flex:1}.ledger-clinical__station-main{min-width:0;padding:2rem 2.5rem 2.75rem;display:flex;flex-direction:column;gap:1.75rem;overflow:auto}.ledger-clinical__pane-header{padding-top:0}.ledger-clinical__pane-header h3{font-size:1.35rem;color:#243738}.ledger-clinical__pane-header p{color:#556364}.ledger-clinical__action-rail{min-width:0;display:flex;flex-direction:column;gap:1rem;padding:1.5rem 1.25rem;border-left:1px solid rgba(171,180,181,.2);background:linear-gradient(180deg,#f1f4f4bd,#f8f9f9fa)}.ledger-clinical__service-route-button{width:100%;justify-content:center}.ledger-clinical__action-rail-head{display:flex;flex-direction:column;gap:.5rem}.ledger-clinical__action-rail-head strong{color:#27393a;font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:800;letter-spacing:-.02em}.ledger-clinical__rail-note{display:flex;flex-direction:column;gap:.35rem;padding:.95rem 1rem;background:#ffffffb3;border:1px solid rgba(171,180,181,.22)}.ledger-clinical__rail-note strong{color:#233839;font-size:.82rem;font-weight:800;letter-spacing:-.02em}.ledger-clinical__rail-note span{color:#5c6869;font-size:.74rem;line-height:1.45}.ledger-clinical__consultation-flow{display:flex;flex-direction:column;gap:3.5rem}.ledger-clinical__plane-section{display:flex;flex-direction:column;gap:1.15rem}.ledger-clinical__plane-heading{display:flex;align-items:baseline;gap:.85rem}.ledger-clinical__plane-heading h3{margin:0;color:#133833;font-family:var(--ledger-font-headline);font-size:clamp(1.85rem,3vw,2.35rem);font-weight:800;letter-spacing:-.05em}.ledger-clinical__plane-heading span{color:#6a7677;font-size:.66rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-clinical__note-plane{position:relative;padding-bottom:.75rem}.ledger-clinical__note-plane:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#abb4b52e}.ledger-clinical__note-plane textarea{min-height:14rem;padding:0 0 .2rem;border:0;background:transparent;resize:vertical;color:var(--ledger-text);font-size:1.02rem;line-height:1.75;box-shadow:none}.ledger-clinical__note-plane textarea::placeholder{color:#7e8889}.ledger-clinical__note-plane textarea:focus{border:0;box-shadow:none}.ledger-clinical__note-actions{display:flex;flex-wrap:wrap;gap:.75rem}.ledger-clinical__ghost-button,.ledger-clinical__micro-action{border:1px solid rgba(171,180,181,.22);background:var(--ledger-surface-low);color:#556465;padding:.72rem .9rem;display:inline-flex;align-items:center;gap:.55rem;font-size:.72rem;font-weight:800;letter-spacing:.06em;cursor:pointer}.ledger-clinical__ghost-button svg,.ledger-clinical__micro-action svg{width:.95rem;height:.95rem}.ledger-clinical__objective-grid,.ledger-clinical__plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 2rem}.ledger-clinical__objective-group{display:flex;flex-direction:column;gap:.9rem}.ledger-clinical__objective-label,.ledger-clinical__diagnosis-field>span{display:block;color:#647071;font-size:.62rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-clinical__objective-options{display:flex;flex-direction:column;gap:.75rem}.ledger-clinical__objective-option{display:flex;align-items:flex-start;gap:.75rem;color:#2c3536;font-size:.88rem;line-height:1.45}.ledger-clinical__objective-option input{width:1rem;height:1rem;margin-top:.15rem;accent-color:var(--ledger-primary)}.ledger-clinical__objective-live-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.ledger-clinical__objective-live-card,.ledger-clinical__plan-card{padding:1rem 1.1rem;background:#f1f4f4b8;border:1px solid rgba(171,180,181,.18)}.ledger-clinical__objective-live-card span,.ledger-clinical__plan-card-head span,.ledger-clinical__status-copy span{display:block;color:#647071;font-size:.62rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-clinical__objective-live-card strong,.ledger-clinical__plan-card-head strong,.ledger-clinical__status-copy strong{display:block;margin-top:.45rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.98rem;font-weight:800;letter-spacing:-.03em}.ledger-clinical__diagnosis-field{display:flex;flex-direction:column;gap:.8rem}.ledger-clinical__diagnosis-input{position:relative;padding-bottom:.25rem;border-bottom:1px solid rgba(171,180,181,.22)}.ledger-clinical__diagnosis-input svg{position:absolute;left:0;top:50%;transform:translateY(-50%);color:#647071}.ledger-clinical__diagnosis-input input{padding:0 0 0 1.9rem;border:0;background:transparent;box-shadow:none}.ledger-clinical__diagnosis-input input:focus{border:0;box-shadow:none}.ledger-clinical__tag-list{display:flex;flex-wrap:wrap;gap:.6rem}.ledger-clinical__tag{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .8rem;background:#41655f1a;color:var(--ledger-primary-dim);font-size:.72rem;font-weight:700}.ledger-clinical__tag--muted{background:#abb4b524;color:#566364}.ledger-clinical__tag--pending{background:#c2410c1f;color:#b45309}.ledger-clinical__plan-card{display:flex;flex-direction:column;gap:1rem}.ledger-clinical__plan-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ledger-clinical__plan-summary{display:flex;flex-direction:column;gap:.8rem}.ledger-clinical__plan-summary-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ledger-clinical__plan-summary-row span,.ledger-clinical__plan-note{color:#647071;font-size:.76rem;line-height:1.5}.ledger-clinical__plan-summary-row strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.88rem;font-weight:800;letter-spacing:-.02em;text-align:right}.ledger-clinical__plan-note{margin:0}.ledger-clinical__plan-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.ledger-clinical__micro-action{justify-content:center;background:#ffffffe0}.ledger-clinical__handoff-grid{grid-template-columns:1fr}.ledger-clinical__handoff-button{justify-content:space-between;flex-direction:row;align-items:center;gap:.85rem;text-transform:none;letter-spacing:0;font-size:.86rem;font-weight:700;color:#2a3c3d}.ledger-clinical__handoff-button.is-primary{background:#c4eae357;border-color:#41655f3d;color:#1f4b45}.ledger-clinical__handoff-button-copy{display:inline-flex;align-items:center;gap:.75rem;flex-shrink:0}.ledger-clinical__handoff-button small{flex:1;color:#617071;font-size:.72rem;font-weight:600;line-height:1.45;text-transform:none;letter-spacing:0;text-align:left}.ledger-clinical__handoff-button.is-primary small{color:#315e57}.ledger-clinical__handoff-button.is-danger small{color:#8a4a49}.ledger-clinical__status-card{padding:1rem 1.1rem;background:#c4eae352;border:1px solid rgba(65,101,95,.14)}.ledger-clinical__status-copy small{display:block;margin-top:.55rem;color:#5e6b6d;font-size:.76rem}.ledger-clinical__finalize-button{width:100%;min-height:3rem;border:0;font-family:var(--ledger-font-headline);font-size:.84rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.patient-profile-page{--patient-line: rgba(171, 180, 181, .34);--patient-soft: var(--ledger-surface-low);--patient-soft-strong: var(--ledger-surface-panel-strong);max-width:88rem;margin:0 auto;color:var(--ledger-text)}.patient-profile-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:1.75rem}.patient-profile-header .btn,.patient-profile-page .btn{border-radius:.25rem;padding:.75rem .95rem;font-family:var(--ledger-font-body);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.patient-profile-page .btn-primary{background:linear-gradient(135deg,var(--ledger-primary),var(--ledger-primary-dim));color:#fff}.patient-profile-page .btn-secondary{background:#f1f4f4eb;border:1px solid rgba(171,180,181,.28);color:var(--ledger-primary-dim)}.patient-profile-page .btn-outline{background:transparent;border:1px solid rgba(171,180,181,.34);color:var(--ledger-text)}.patient-profile-header h1{margin:0 0 .4rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:clamp(2.2rem,4vw,3.2rem);font-weight:800;line-height:.95;letter-spacing:-.05em}.patient-profile-header .subtitle{margin:0;max-width:36rem;color:var(--ledger-text-muted);font-size:.9rem}.patient-profile-shell{display:flex;flex-direction:column;gap:1.5rem}.patient-profile-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;padding:2rem 2.15rem;border:1px solid rgba(171,180,181,.3);background:linear-gradient(180deg,#ffffffe0,#f1f4f4f0);box-shadow:var(--ledger-shadow)}.patient-profile-hero-main{display:flex;align-items:flex-start;gap:1rem;min-width:0}.patient-profile-avatar{width:5.25rem;height:5.25rem;border-radius:.35rem;background:#c4eae394;color:var(--ledger-primary-dim);border:1px solid rgba(171,180,181,.18);font-family:var(--ledger-font-headline);font-size:1.6rem;font-weight:800}.patient-profile-hero-copy h2{margin:0 0 .55rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:clamp(1.9rem,4vw,2.6rem);font-weight:800;line-height:.96;letter-spacing:-.05em}.patient-profile-hero-meta{display:flex;flex-wrap:wrap;gap:.65rem;margin-bottom:.85rem}.patient-profile-page .profile-id,.patient-profile-page .profile-status{display:inline-flex;align-items:center;padding:.4rem .6rem;border-radius:999px;font-size:.64rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.patient-profile-page .profile-id{background:#f1f4f4f5;color:var(--ledger-text)}.patient-profile-page .profile-status{background:#c4eae3a6;color:var(--ledger-primary-dim)}.patient-profile-hero-subtitle{margin:0;color:var(--ledger-text-muted);font-size:.9rem;line-height:1.5}.patient-profile-hero-actions{width:min(22rem,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;flex-shrink:0}.patient-profile-hero-actions .btn{width:100%;justify-content:center}.patient-profile-flag-row{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}.patient-profile-flag{display:inline-flex;align-items:center;padding:.38rem .65rem;background:#f1f4f4f5;color:var(--ledger-text);font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.patient-profile-flag--alert{background:#fe898324;color:var(--ledger-error)}.patient-profile-flag--warning{background:#c4eae3b8;color:var(--ledger-primary-dim)}.patient-profile-summary-strip,.patient-profile-registration-strip,.patient-profile-page .history-summary-grid{overflow:hidden;border:1px solid rgba(171,180,181,.28);background:linear-gradient(180deg,#f8f9f9fa,#f1f4f4db)}.patient-profile-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.patient-profile-summary-item{min-height:6rem;padding:1.1rem 1.2rem;display:flex;flex-direction:column;justify-content:center;gap:.45rem;border-right:0;background:transparent}.patient-profile-summary-item+.patient-profile-summary-item{border-left:1px solid rgba(171,180,181,.26)}.patient-profile-summary-item strong,.patient-profile-registration-strip strong,.patient-profile-page .summary-number{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-weight:800;letter-spacing:-.03em}.patient-profile-summary-item strong{font-size:1rem}.patient-profile-summary-item span:last-child{color:var(--ledger-text-muted);font-size:.76rem;line-height:1.45}.patient-profile-order-nav{display:flex;flex-wrap:wrap;gap:1.2rem;padding-bottom:.1rem;border-bottom:1px solid rgba(171,180,181,.28)}.patient-profile-order-link{display:inline-flex;align-items:center;padding:0 0 .9rem;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--ledger-text-muted);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-decoration:none;text-transform:uppercase}.patient-profile-order-link:hover{color:var(--ledger-primary-dim);border-bottom-color:#41655f42;background:transparent}.patient-profile-layout,.patient-profile-workspace{display:flex;flex-direction:column;gap:1.25rem}.patient-profile-stage{display:flex;flex-direction:column;gap:1rem}.patient-profile-stage-header{display:grid;grid-template-columns:auto 1fr;gap:.85rem;align-items:start;padding:0 .1rem}.patient-profile-stage-index{width:1.8rem;min-width:1.8rem;height:1.8rem;border-radius:999px;border:1px solid rgba(171,180,181,.3);background:#f1f4f4f2;color:var(--ledger-primary-dim);font-size:.68rem;font-weight:800;letter-spacing:.12em}.patient-profile-stage-header h3{margin:0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.15rem;font-weight:800;letter-spacing:-.03em}.patient-profile-stage-header p{margin:.25rem 0 0;color:var(--ledger-text-muted);font-size:.82rem;line-height:1.45}.patient-profile-context-grid,.patient-profile-band--split,.patient-profile-secondary-grid--overview,.patient-profile-secondary-grid--clinical{gap:1rem}.patient-profile-page .profile-section{margin-bottom:0;padding:1.35rem 1.45rem;border:1px solid rgba(171,180,181,.3);border-radius:.35rem;background:var(--ledger-surface-panel);box-shadow:var(--ledger-shadow)}.patient-profile-page .profile-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(171,180,181,.28)}.patient-profile-page .profile-section h4{margin:.25rem 0 0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1rem;font-weight:800;line-height:1.2}.patient-profile-summary-label,.profile-section-eyebrow,.patient-profile-support-label{display:block;color:var(--ledger-primary);font-size:.64rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.patient-profile-page .profile-info-grid{gap:0 1.5rem}.patient-profile-page .profile-info-item{gap:.3rem;padding:.95rem 0;border:0;border-top:1px solid rgba(171,180,181,.24);border-radius:0;background:transparent}.patient-profile-page .profile-info-item .label{color:var(--ledger-text-muted);font-size:.62rem;font-weight:800;letter-spacing:.14em}.patient-profile-page .profile-info-item .value{color:var(--ledger-text);font-size:.88rem;font-weight:600;line-height:1.45;word-break:break-word}.patient-profile-support-stack{display:flex;flex-direction:column;gap:1rem}.patient-profile-support-group{gap:.6rem;padding-top:1rem;border-top:1px solid rgba(171,180,181,.24)}.patient-profile-vitals-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.patient-profile-vitals-grid .profile-info-item{padding:.9rem .95rem;background:#f1f4f4e6;border:1px solid rgba(171,180,181,.24)}.patient-profile-secondary-grid{gap:1rem}.patient-profile-page .history-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.patient-profile-page .summary-card{padding:1.1rem 1rem;border:0;border-right:1px solid rgba(171,180,181,.26);border-radius:0;background:transparent;text-align:left}.patient-profile-page .summary-card:last-child{border-right:0}.patient-profile-page .summary-number{font-size:1.8rem}.patient-profile-page .summary-label{color:var(--ledger-text-muted);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.patient-profile-page .profile-history-list,.patient-profile-page .communication-history-inline{gap:0}.patient-profile-page .profile-history-item,.patient-profile-page .communication-history-inline-item{padding:1rem 0;border:0;border-top:1px solid rgba(171,180,181,.24);border-radius:0;background:transparent}.patient-profile-page .history-item-header,.patient-profile-page .communication-history-inline-item{align-items:flex-start}.patient-profile-page .history-date,.patient-profile-page .history-item-footer,.patient-profile-page .communication-history-inline-item span:last-child{color:var(--ledger-text-muted);font-size:.74rem}.patient-profile-page .history-status{padding:.25rem .55rem;border-radius:999px;font-size:.62rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.patient-profile-page .profile-timeline{padding-left:1.35rem;border-left:1px solid rgba(171,180,181,.34)}.patient-profile-page .profile-timeline-item{padding:.85rem 0}.patient-profile-page .timeline-dot{left:-1.62rem;width:.55rem;height:.55rem;background:var(--ledger-primary)}.patient-profile-registration-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:1rem}.patient-profile-registration-strip>div{padding:1rem 1.1rem;border-radius:0;background:transparent}.patient-profile-registration-strip>div+div{border-left:1px solid rgba(171,180,181,.26)}.patient-profile-page .patient-record-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.55rem}.patient-profile-page .profile-section--continuity .profile-section-header{flex-direction:row;align-items:flex-start}.patient-profile-page .profile-section--continuity .patient-record-actions{width:auto;display:flex}.patient-profile-page .profile-section--continuity .patient-record-actions .btn{width:auto}.patient-profile-page .communication-launcher-grid{grid-template-columns:1fr;gap:0}.patient-profile-page .communication-launcher{min-height:0;padding:1rem 0;border:0;border-top:1px solid rgba(171,180,181,.24);border-radius:0;background:transparent}.patient-profile-page .communication-launcher:hover{background:transparent;border-color:#abb4b53d;transform:none}.patient-profile-page .communication-launcher-label{color:var(--ledger-text);font-size:.92rem;font-weight:700}.patient-profile-page .communication-launcher-meta,.patient-profile-page .document-support-text{color:var(--ledger-text-muted);font-size:.76rem}.patient-profile-page .patient-documents-layout{gap:1rem}.patient-profile-page .document-upload-card,.patient-profile-page .patient-document-card,.patient-profile-page .document-empty-state{border-radius:.35rem;border:1px solid rgba(171,180,181,.28);background:var(--ledger-surface-panel);box-shadow:none}.patient-profile-page .document-upload-card,.patient-profile-page .patient-document-card{padding:1.2rem}.patient-profile-page .document-period-summary{padding:.8rem .9rem;border:1px solid rgba(171,180,181,.24);border-radius:.25rem;background:#f1f4f4e6}.patient-profile-page .document-list{gap:1rem}@media(max-width:1280px){.ledger-clinical__summary{grid-template-columns:repeat(3,minmax(0,1fr))}.ledger-clinical__summary-item:nth-child(4){border-left:0}.ledger-clinical__workspace,.ledger-clinical__medication-layout,.ledger-clinical__emergency-grid,.patient-profile-context-grid,.patient-profile-band--split{grid-template-columns:1fr}.patient-profile-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-profile-summary-item:nth-child(3){border-left:0}.patient-profile-page .history-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1100px){.ledger-clinical__layout,.ledger-clinical__history-grid,.ledger-clinical__emergency-support-grid,.ledger-clinical__emergency-alt-grid,.patient-profile-secondary-grid,.patient-profile-secondary-grid--overview,.patient-profile-secondary-grid--clinical{grid-template-columns:1fr}.ledger-clinical__header-metrics{min-width:0}.ledger-clinical__queue{min-height:0}.ledger-clinical__hero,.ledger-clinical__pane-header,.ledger-clinical__emergency-banner,.ledger-clinical__emergency-banner-side,.ledger-clinical__emergency-ledger-head,.patient-profile-hero,.patient-profile-header{flex-direction:column;align-items:flex-start}.ledger-clinical__hero-actions,.patient-profile-hero-actions{width:100%;justify-content:flex-start}.ledger-clinical__select-grid,.ledger-clinical__telemetry-grid,.ledger-clinical__triage-grid,.patient-profile-vitals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.ledger-clinical__header-metrics,.ledger-clinical__summary,.ledger-clinical__handoff-grid,.ledger-clinical__select-grid,.ledger-clinical__telemetry-grid,.ledger-clinical__triage-grid,.patient-profile-summary-strip,.patient-profile-page .history-summary-grid,.patient-profile-registration-strip,.patient-profile-vitals-grid{grid-template-columns:1fr}.ledger-clinical__desk,.ledger-clinical__emergency-block,.ledger-clinical__emergency-ledger,.patient-profile-hero,.patient-profile-page .profile-section{padding:1.15rem}.ledger-clinical__summary-item+.ledger-clinical__summary-item,.patient-profile-summary-item+.patient-profile-summary-item,.patient-profile-page .summary-card,.patient-profile-registration-strip>div+div{border-left:0}.ledger-clinical__tabs,.ledger-clinical__emergency-nav,.patient-profile-order-nav{gap:.8rem}.ledger-clinical__tab{padding-bottom:.7rem}.ledger-clinical__action-bar,.ledger-clinical__selection-strip,.ledger-clinical__result-row,.ledger-clinical__history-row,.ledger-clinical__ledger-actions,.patient-profile-page .history-item-header,.patient-profile-page .communication-history-inline-item{flex-direction:column;align-items:flex-start}.ledger-clinical__workspace-switch,.ledger-clinical__emergency-banner-side{width:100%}.ledger-clinical__workspace-button,.ledger-clinical__emergency-end,.ledger-clinical__ledger-button,.ledger-clinical__emergency-fab{width:100%;justify-content:center}.ledger-clinical__emergency-composer,.ledger-clinical__ledger-entry,.ledger-clinical__med-controls{grid-template-columns:1fr}.patient-profile-hero-actions,.patient-profile-page .patient-record-actions{grid-template-columns:1fr;width:100%}.patient-profile-page .patient-record-actions .btn,.patient-profile-hero-actions .btn{width:100%}.patient-profile-page .summary-card{border-right:0;border-bottom:1px solid rgba(171,180,181,.26)}.patient-profile-page .summary-card:last-child,.patient-profile-summary-item:last-child{border-bottom:0}}@media(max-width:1280px){.ledger-clinical__station-shell,.ledger-clinical__objective-live-grid,.ledger-clinical__plan-actions{grid-template-columns:1fr}.ledger-clinical__action-rail{border-left:0;border-top:1px solid rgba(171,180,181,.2)}}@media(max-width:1100px){.ledger-clinical__layout{grid-template-columns:1fr}.ledger-clinical__queue{min-height:0}.ledger-clinical__toolbar{flex-direction:column;align-items:flex-start}.ledger-clinical__toolbar-actions{width:100%;justify-content:flex-start}.ledger-clinical__station-main{padding:1.5rem}}@media(max-width:720px){.ledger-clinical__context-panel,.ledger-clinical__queue-header,.ledger-clinical__station-main,.ledger-clinical__action-rail{padding:1.15rem}.ledger-clinical__detail-grid,.ledger-clinical__context-footer,.ledger-clinical__queue-summary,.ledger-clinical__objective-grid,.ledger-clinical__plan-grid{grid-template-columns:1fr}.ledger-clinical__toolbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.ledger-clinical__utility-button,.ledger-clinical__toolbar-button,.ledger-clinical__ghost-button,.ledger-clinical__micro-action{width:100%;justify-content:center}.ledger-clinical__tabs{width:100%;overflow-x:auto;padding-bottom:.2rem}.ledger-clinical__tab{white-space:nowrap}.ledger-clinical__plane-heading{flex-direction:column;align-items:flex-start;gap:.35rem}}:root[data-theme=dark] .ledger-auth__main:before{background:radial-gradient(circle at 85% 14%,rgba(94,162,146,.2),transparent 24%),radial-gradient(circle at 10% 82%,rgba(229,199,144,.16),transparent 26%)}:root[data-theme=dark] .ledger-auth__panel{background:#34484ceb;border-color:#bfceca2e;box-shadow:0 28px 90px #0000002e}:root[data-theme=dark] .ledger-auth__context span{background:#ffffff1f;color:#e2f0ecd6}:root[data-theme=dark] .ledger-auth__subtitle,:root[data-theme=dark] .ledger-auth__field-label{color:#dae7e3d1}:root[data-theme=dark] .ledger-auth__field input,:root[data-theme=dark] .ledger-auth__field select,:root[data-theme=dark] .ledger-auth__field textarea,:root[data-theme=dark] .ledger-auth__facility-option{background:#ffffff1f;box-shadow:inset 0 0 0 1px #bfceca2e;color:var(--ledger-text-muted)}:root[data-theme=dark] .ledger-auth__field input:focus,:root[data-theme=dark] .ledger-auth__field select:focus,:root[data-theme=dark] .ledger-auth__field textarea:focus{background:#ffffff29;box-shadow:inset 0 0 0 1px #6fb5a58c,0 0 0 4px #1f6a5c2e}:root[data-theme=dark] .ledger-auth__toggle{color:#b9ece0e0}:root[data-theme=dark] .ledger-auth__facility-option.is-active{background:var(--ledger-primary-soft);box-shadow:inset 0 0 0 1px #6fb5a547,0 14px 28px #0000001f;color:var(--ledger-on-primary)}.ledger-module-page{padding:2rem clamp(1.15rem,2vw,2rem) 2.5rem}.ledger-module-page .module{max-width:1440px;margin:0 auto;display:flex;flex-direction:column;gap:1rem}.ledger-module-page .module-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.9rem 1.2rem;padding-bottom:.85rem;border-bottom:1px solid rgba(171,180,181,.28)}.ledger-module-page .module-header h1{margin:0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:clamp(1.9rem,2.5vw,2.45rem);font-weight:800;letter-spacing:-.055em;line-height:.98}.ledger-module-page .module-header .subtitle{margin:.35rem 0 0;max-width:48rem;color:var(--ledger-text-muted);font-size:.84rem;line-height:1.45}.ledger-module-page .module-header>p:not(.subtitle){margin:0;color:var(--ledger-text-muted);font-size:.79rem;line-height:1.45}.ledger-module-page .card,.ledger-module-page .analytics-kpi-card,.ledger-module-page .subs-plan-card,.ledger-module-page .subs-overview-card,.ledger-module-page .subs-core-card,.ledger-module-page .subs-addon-card,.ledger-module-page .subs-bundle-card,.ledger-module-page .subs-comparison-card,.ledger-module-page .subs-billing-summary-card,.ledger-module-page .subs-stat-item,.ledger-module-page .queue-department{border:1px solid rgba(171,180,181,.26);border-radius:.42rem;background:#ffffffd6;box-shadow:none}.ledger-module-page .card-header{min-height:4rem;display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem;padding:1rem 1.15rem;border-bottom:1px solid rgba(171,180,181,.22)}.ledger-module-page .card-header h2,.ledger-module-page .card-header h3,.ledger-module-page .card-header h4{margin:0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1rem;font-weight:800;letter-spacing:-.03em;line-height:1.1}.ledger-module-page .card-body{padding:1.05rem 1.15rem 1.15rem}.ledger-module-page .header-actions,.ledger-module-page .table-actions,.ledger-module-page .modal-actions,.ledger-module-page .form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.ledger-module-page .form-row,.ledger-module-page .appointments-form-row,.ledger-module-page .billing-adjustments-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.ledger-module-page .form-group{display:flex;flex-direction:column;gap:.45rem}.ledger-module-page .form-group label,.ledger-module-page .filter-group label{color:var(--ledger-text-muted);font-size:.69rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ledger-module-page .filter-group{display:flex;flex-direction:column;gap:.35rem;min-width:10rem}.ledger-module-page input:not([type=checkbox]):not([type=color]):not([type=file]),.ledger-module-page select,.ledger-module-page textarea{width:100%;border:1px solid rgba(171,180,181,.34);border-radius:.26rem;background:#f8f9f9eb;color:var(--ledger-text);font-family:var(--ledger-font-body);font-size:.9rem;line-height:1.45;box-shadow:none}.ledger-module-page input:not([type=checkbox]):not([type=color]):not([type=file]),.ledger-module-page select{min-height:2.8rem;padding:.7rem .8rem}.ledger-module-page textarea{min-height:6.5rem;padding:.8rem;resize:vertical}.ledger-module-page input:focus,.ledger-module-page select:focus,.ledger-module-page textarea:focus{outline:0;border-color:#41655f85;box-shadow:0 0 0 3px #c4eae352}.ledger-module-page .search-box.large{min-width:min(28rem,100%);display:flex;align-items:center;gap:.7rem;padding:0 .85rem;border:1px solid rgba(171,180,181,.34);border-radius:.28rem;background:#f8f9f9f0}.ledger-module-page .search-box.large svg{width:.95rem;height:.95rem;color:var(--ledger-text-muted);flex-shrink:0}.ledger-module-page .search-box.large input{min-height:2.7rem;padding:0;border:0;background:transparent;box-shadow:none}.ledger-module-page .search-box.large input:focus{box-shadow:none}.ledger-module-page .btn{min-height:2.45rem;border-radius:.28rem;box-shadow:none;font-family:var(--ledger-font-headline);font-size:.82rem;font-weight:800;letter-spacing:.01em}.ledger-module-page .btn-primary{border-color:var(--ledger-primary);background:var(--ledger-primary);color:#fff}.ledger-module-page .btn-primary:hover{background:var(--ledger-primary-dim)}.ledger-module-page .btn-secondary,.ledger-module-page .btn-outline{border-color:#abb4b55c;background:#f8f9f9eb;color:var(--ledger-text)}.ledger-module-page .btn-danger{border-color:#9f403d3d;background:#fe89831f;color:var(--ledger-error)}.ledger-module-page .btn-success{border-color:#006c5e42;background:#c4eae34d;color:var(--ledger-secondary)}.ledger-module-page .status-badge,.ledger-module-page .appointment-status-badge,.ledger-module-page .appointment-assigned-flag,.ledger-module-page .appointment-escalation-tag,.ledger-module-page .item-type,.ledger-module-page .stock-status,.ledger-module-page .subs-status-badge,.ledger-module-page .subs-paystack-badge,.ledger-module-page .subs-save-tag,.ledger-module-page .subs-inline-savings,.ledger-module-page .subs-payment-status,.ledger-module-page .subs-payment-method-tag{display:inline-flex;align-items:center;gap:.3rem;padding:.26rem .58rem;border-radius:999px;border:1px solid rgba(171,180,181,.26);background:#f1f4f4eb;color:var(--ledger-text);font-size:.63rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.ledger-module-page .status-badge.pending,.ledger-module-page .appointment-status-badge.scheduled,.ledger-module-page .item-type.consultation,.ledger-module-page .stock-status.warning,.ledger-module-page .subs-status-badge[data-status=trial]{background:#ffd66638;color:#876317}.ledger-module-page .status-badge.processing,.ledger-module-page .appointment-status-badge.completed,.ledger-module-page .item-type.lab,.ledger-module-page .stock-status.ok,.ledger-module-page .subs-status-badge[data-status=active]{background:#c4eae34d;color:var(--ledger-secondary)}.ledger-module-page .status-badge.cancelled,.ledger-module-page .appointment-status-badge.cancelled,.ledger-module-page .appointment-escalation-tag.critical,.ledger-module-page .stock-status.expired,.ledger-module-page .subs-status-badge[data-status=expired],.ledger-module-page .subs-status-badge[data-status=cancelled]{background:#fe89832e;color:var(--ledger-error)}.ledger-module-page .tab-badge,.ledger-module-page .alert-badge,.ledger-module-page .dept-count,.ledger-module-page .procurement-order-count,.ledger-module-page .inventory-count{min-width:1.5rem;height:1.5rem;padding:0 .4rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#c4eae357;color:var(--ledger-secondary);font-size:.7rem;font-weight:800}.ledger-module-page .patients-table-container,.ledger-module-page .procurement-table-wrap{overflow:auto;border:1px solid rgba(171,180,181,.22);border-radius:.34rem;background:#fff}.ledger-module-page .settings-table,.ledger-module-page .receipts-table,.ledger-module-page .inventory-table{width:100%;min-width:100%;border-collapse:separate;border-spacing:0}.ledger-module-page .settings-table thead th,.ledger-module-page .receipts-table thead th,.ledger-module-page .inventory-table thead th{padding:.82rem .95rem;border-bottom:1px solid rgba(171,180,181,.2);background:#f8f9f9f5;color:var(--ledger-text-muted);font-size:.67rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;text-align:left;white-space:nowrap}.ledger-module-page .settings-table tbody td,.ledger-module-page .receipts-table tbody td,.ledger-module-page .inventory-table tbody td{padding:.92rem .95rem;border-bottom:1px solid rgba(171,180,181,.16);color:var(--ledger-text);font-size:.87rem;vertical-align:top}.ledger-module-page .settings-table tbody tr:last-child td,.ledger-module-page .receipts-table tbody tr:last-child td,.ledger-module-page .inventory-table tbody tr:last-child td{border-bottom:0}.ledger-module-page .settings-table tbody tr:hover td,.ledger-module-page .receipts-table tbody tr:hover td,.ledger-module-page .inventory-table tbody tr:hover td{background:#f8f9f9eb}.ledger-module-page .empty-state,.ledger-module-page .appointments-upcoming-empty,.ledger-module-page .appointments-empty-state p,.ledger-module-page .empty-invoice p,.ledger-module-page .empty-dispense p,.ledger-module-page .empty-processing p,.ledger-module-page .empty-queue{margin:0;color:var(--ledger-text-muted);font-size:.84rem;line-height:1.5}.ledger-module-page .lab-tabs,.ledger-module-page .pharmacy-tabs,.ledger-module-page .billing-tabs,.ledger-module-page .reports-tabs,.ledger-module-page .settings-tabs,.ledger-module-page .subs-nav-tabs{display:flex;flex-wrap:wrap;gap:1rem;padding-bottom:.85rem;border-bottom:1px solid rgba(171,180,181,.26)}.ledger-module-page .lab-tab,.ledger-module-page .pharmacy-tab,.ledger-module-page .billing-tab,.ledger-module-page .report-tab,.ledger-module-page .settings-tab,.ledger-module-page .subs-nav-tab{padding:0 0 .72rem;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--ledger-text-muted);font-family:var(--ledger-font-headline);font-size:.8rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.ledger-module-page .lab-tab.active,.ledger-module-page .pharmacy-tab.active,.ledger-module-page .billing-tab.active,.ledger-module-page .report-tab.active,.ledger-module-page .settings-tab.active,.ledger-module-page .subs-nav-tab.active{border-color:var(--ledger-primary);color:var(--ledger-text)}.ledger-module-page .analytics-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.ledger-module-page .analytics-kpi-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.ledger-module-page .analytics-kpi-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}.ledger-module-page .analytics-kpi-card{padding:1rem 1.05rem;display:flex;align-items:flex-start;gap:.85rem}.ledger-module-page .analytics-kpi-icon{width:2.5rem;height:2.5rem;border-radius:.3rem;display:inline-flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.ledger-module-page .analytics-kpi-body{display:flex;flex-direction:column;gap:.2rem;min-width:0}.ledger-module-page .analytics-kpi-value{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.45rem;font-weight:800;letter-spacing:-.05em;line-height:1}.ledger-module-page .analytics-kpi-label,.ledger-module-page .analytics-kpi-sub{color:var(--ledger-text-muted);font-size:.76rem;line-height:1.4}.ledger-module-page .analytics-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ledger-module-page .analytics-hbar,.ledger-module-page .revenue-bar-item{display:grid;grid-template-columns:6.25rem minmax(0,1fr) auto;gap:.75rem;align-items:center}.ledger-module-page .analytics-hbar+.analytics-hbar,.ledger-module-page .revenue-bar-item+.revenue-bar-item{margin-top:.8rem}.ledger-module-page .analytics-hbar-track,.ledger-module-page .revenue-bar-track,.ledger-module-page .analytics-stacked-bar,.ledger-module-page .subs-trial-progress-bar,.ledger-module-page .subs-usage-bar{height:.52rem;border-radius:999px;overflow:hidden;background:#abb4b538}.ledger-module-page .analytics-hbar-fill,.ledger-module-page .revenue-bar-fill,.ledger-module-page .analytics-stacked-fill,.ledger-module-page .subs-trial-progress-fill,.ledger-module-page .subs-usage-fill{height:100%;border-radius:inherit;background:var(--ledger-primary)}.ledger-module-page .analytics-legend,.ledger-module-page .analytics-legend--col,.ledger-module-page .analytics-stat-list,.ledger-module-page .analytics-rank-list,.ledger-module-page .procurement-low-stock-list,.ledger-module-page .appointments-upcoming,.ledger-module-page .billing-patients-list{display:flex;flex-direction:column}.ledger-module-page .analytics-legend{gap:.55rem}.ledger-module-page .analytics-legend--col{gap:.45rem}.ledger-module-page .analytics-legend-item{display:inline-flex;align-items:center;gap:.45rem;color:var(--ledger-text-muted);font-size:.78rem}.ledger-module-page .analytics-legend-dot{width:.6rem;height:.6rem;border-radius:999px;flex-shrink:0}.ledger-module-page .analytics-rank-item,.ledger-module-page .analytics-stat-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem 0;border-top:1px solid rgba(171,180,181,.18)}.ledger-module-page .analytics-rank-item:first-child,.ledger-module-page .analytics-stat-row:first-child{border-top:0;padding-top:0}.ledger-module-page .analytics-rank-num{width:1.7rem;height:1.7rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#c4eae34d;color:var(--ledger-secondary);font-size:.72rem;font-weight:800;flex-shrink:0}.ledger-module-page .analytics-rank-name,.ledger-module-page .analytics-hbar-label,.ledger-module-page .revenue-bar-label span:first-child{color:var(--ledger-text);font-size:.84rem;font-weight:700}.ledger-module-page .analytics-rank-badge,.ledger-module-page .analytics-hbar-value{color:var(--ledger-text-muted);font-size:.76rem}.ledger-module-page .analytics-donut-wrap{display:flex;align-items:center;gap:1.1rem}.ledger-module-page .analytics-donut{width:12rem;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.ledger-module-page .analytics-donut-hole{width:6.3rem;aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fffffff5}.ledger-module-page .analytics-donut-hole span{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.3rem;font-weight:800;letter-spacing:-.05em}.ledger-module-page .analytics-donut-hole small{color:var(--ledger-text-muted);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase}.ledger-route--patients .patient-name-cell{display:flex;align-items:center;gap:.45rem}.ledger-route--patients .patient-name-link{padding:0;border:0;background:transparent;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.92rem;font-weight:800;letter-spacing:-.02em}.ledger-route--appointments .appointments-overview-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid rgba(171,180,181,.26);border-radius:.42rem;background:#ffffffd6}.ledger-route--appointments .appointments-overview-pill{padding:1rem 1.15rem;border-right:1px solid rgba(171,180,181,.18);background:transparent}.ledger-route--appointments .appointments-overview-pill:last-child{border-right:0}.ledger-route--appointments .appointments-overview-label{display:block;color:var(--ledger-text-muted);font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.ledger-route--appointments .appointments-overview-value{display:block;margin-top:.35rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.45rem;font-weight:800;letter-spacing:-.05em}.ledger-route--appointments .appointments-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.92fr);gap:1rem;align-items:start}.ledger-route--appointments .appointments-sidebar{display:flex;flex-direction:column;gap:1rem}.ledger-route--appointments .appointments-date-nav{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding-bottom:.95rem;border-bottom:1px solid rgba(171,180,181,.18)}.ledger-route--appointments .appointments-date-display{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.ledger-route--appointments .appointments-date-text{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.98rem;font-weight:800;letter-spacing:-.03em}.ledger-route--appointments .appointments-list{display:flex;flex-direction:column}.ledger-route--appointments .appointment-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem 1rem;padding:.95rem 0;border-bottom:1px solid rgba(171,180,181,.18);background:transparent;border-radius:0;box-shadow:none}.ledger-route--appointments .appointment-card-main{display:grid;grid-template-columns:auto auto minmax(170px,1fr) minmax(120px,.7fr) minmax(150px,.95fr);gap:.4rem .9rem;align-items:center}.ledger-route--appointments .appointment-time{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1rem;font-weight:800;letter-spacing:-.03em}.ledger-route--appointments .appointment-patient{color:var(--ledger-text);font-size:.88rem;font-weight:700}.ledger-route--appointments .appointment-duration,.ledger-route--appointments .appointment-type,.ledger-route--appointments .appointment-staff,.ledger-route--appointments .apt-detail,.ledger-route--appointments .apt-time{color:var(--ledger-text-muted);font-size:.76rem}.ledger-route--appointments .appointment-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem;align-items:flex-start}.ledger-route--appointments .appointments-inline-warning{margin:0 0 .85rem;padding:.7rem .8rem;border:1px solid rgba(159,64,61,.16);background:#fe89831f;color:var(--ledger-error);font-size:.78rem;border-radius:.28rem}.ledger-route--appointments .appointment-upcoming-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:.7rem;align-items:center;padding:.9rem 0;border-top:1px solid rgba(171,180,181,.18);cursor:pointer}.ledger-route--appointments .appointment-upcoming-item:first-child{border-top:0;padding-top:0}.ledger-route--appointments .apt-main{min-width:0;display:flex;flex-direction:column;gap:.12rem}.ledger-route--appointments .apt-patient{color:var(--ledger-text);font-size:.84rem;font-weight:700}.ledger-route--ward .ward-layout,.ledger-route--laboratory .lab-layout,.ledger-route--pharmacy .pharmacy-layout,.ledger-route--billing .billing-layout{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);gap:1rem;align-items:start}.ledger-route--ward .ward-deposit-gate{display:flex;flex-direction:column;gap:.3rem;padding:.85rem .9rem;border:1px solid rgba(171,180,181,.22);border-radius:.3rem;background:#f8f9f9f5}.ledger-route--ward .ward-deposit-gate.pending{border-color:#9f403d29;background:#fe89831f}.ledger-route--ward .ward-deposit-gate.met{border-color:#006c5e2e;background:#c4eae33d}.ledger-route--laboratory .lab-orders-list,.ledger-route--pharmacy .prescriptions-list,.ledger-route--billing .billing-patients-list{display:flex;flex-direction:column}.ledger-route--laboratory .lab-order-item,.ledger-route--pharmacy .prescription-item,.ledger-route--billing .billing-patient-item{display:grid;gap:.75rem;align-items:center;padding:.95rem 0;border-bottom:1px solid rgba(171,180,181,.18);background:transparent;border-radius:0;box-shadow:none}.ledger-route--laboratory .lab-order-item{grid-template-columns:minmax(0,1fr) auto auto auto}.ledger-route--pharmacy .prescription-item,.ledger-route--billing .billing-patient-item{grid-template-columns:auto minmax(0,1fr) auto;cursor:pointer}.ledger-route--laboratory .lab-order-item.active,.ledger-route--pharmacy .prescription-item.active,.ledger-route--billing .billing-patient-item.active{margin:0 -.75rem;padding-left:.75rem;padding-right:.75rem;background:#c4eae32e}.ledger-route--laboratory .order-patient-name,.ledger-route--pharmacy .prescription-patient-name,.ledger-route--billing .billing-patient-name,.ledger-route--procurement .procurement-item-cell strong{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.92rem;font-weight:800;letter-spacing:-.02em}.ledger-route--laboratory .order-patient,.ledger-route--pharmacy .prescription-patient,.ledger-route--billing .billing-patient-info,.ledger-route--procurement .procurement-item-cell,.ledger-route--procurement .procurement-low-stock-meta,.ledger-route--pharmacy .sale-availability{display:flex;flex-direction:column;gap:.12rem;min-width:0}.ledger-route--laboratory .order-tests,.ledger-route--laboratory .order-meta,.ledger-route--pharmacy .prescription-meta,.ledger-route--pharmacy .prescription-by,.ledger-route--billing .billing-patient-id,.ledger-route--billing .billing-patient-balance small,.ledger-route--procurement .procurement-item-cell span,.ledger-route--procurement .procurement-low-stock-meta span,.ledger-route--procurement .procurement-action-note,.ledger-route--pharmacy .new-item-desc,.ledger-route--pharmacy .inventory-item-meta{color:var(--ledger-text-muted);font-size:.76rem;line-height:1.45}.ledger-route--laboratory .tests-list,.ledger-route--pharmacy .dispense-medications,.ledger-route--pharmacy .safety-event-list{display:flex;flex-direction:column;gap:.75rem}.ledger-route--laboratory .test-item,.ledger-route--pharmacy .dispense-med-item,.ledger-route--pharmacy .safety-event-card,.ledger-route--pharmacy .communication-recipient-card,.ledger-route--pharmacy .communication-preview-card,.ledger-route--pharmacy .communication-history-card{padding:.9rem 1rem;border:1px solid rgba(171,180,181,.2);border-radius:.3rem;background:#f8f9f9f5;box-shadow:none}.ledger-route--laboratory .order-info,.ledger-route--laboratory .test-header,.ledger-route--pharmacy .dispense-header,.ledger-route--pharmacy .dispense-summary,.ledger-route--pharmacy .dispense-total,.ledger-route--pharmacy .safety-event-main,.ledger-route--pharmacy .safety-event-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.55rem .9rem}.ledger-route--pharmacy .barcode-scan-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.85rem;align-items:end}.ledger-route--pharmacy .barcode-scan-actions{display:flex;gap:.6rem}.ledger-route--pharmacy .inventory-actions-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:1rem;margin-bottom:1rem}.ledger-route--pharmacy .add-stock-form{display:grid;grid-template-columns:repeat(6,minmax(0,1fr)) auto;gap:.6rem}.ledger-route--pharmacy .stock-warning{margin-top:.4rem;color:var(--ledger-error);font-size:.74rem}.ledger-route--procurement .module-header{align-items:flex-start}.ledger-route--procurement .procurement-layout{display:grid;grid-template-columns:minmax(320px,.84fr) minmax(0,1.16fr);gap:1rem;align-items:start}.ledger-route--procurement .procurement-column{display:flex;flex-direction:column;gap:1rem}.ledger-route--procurement .procurement-header-note{max-width:22rem}.ledger-route--procurement .procurement-filters{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(140px,.72fr));gap:.65rem;margin-bottom:.95rem}.ledger-route--procurement .procurement-qty-cell{display:flex;flex-direction:column;gap:.15rem;color:var(--ledger-text-muted);font-size:.75rem}.ledger-route--procurement .procurement-actions{display:flex;flex-direction:column;gap:.5rem;min-width:19rem}.ledger-route--procurement .procurement-receive-inline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:.45rem}.ledger-route--procurement .procurement-low-stock-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 0;border-top:1px solid rgba(171,180,181,.18)}.ledger-route--procurement .procurement-low-stock-item:first-child{border-top:0;padding-top:0}.ledger-route--procurement .procurement-overdue-date{color:var(--ledger-error);font-weight:700}.ledger-route--billing .invoice-form{display:flex;flex-direction:column;gap:1rem}.ledger-route--billing .invoice-header,.ledger-route--billing .invoice-header-actions,.ledger-route--billing .invoice-total,.ledger-route--billing .invoice-summary-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.ledger-route--billing .invoice-header{align-items:flex-start;padding-bottom:.95rem;border-bottom:1px solid rgba(171,180,181,.18)}.ledger-route--billing .invoice-id{color:var(--ledger-text-muted);font-size:.78rem}.ledger-route--billing .invoice-balance-badge{min-width:9rem;padding:.85rem .95rem;border:1px solid rgba(171,180,181,.18);border-radius:.3rem;background:#f8f9f9f0;text-align:right}.ledger-route--billing .invoice-balance-badge span{display:block;color:var(--ledger-text-muted);font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ledger-route--billing .invoice-balance-badge strong{display:block;margin-top:.3rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.2rem;font-weight:800}.ledger-route--billing .billing-overview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid rgba(171,180,181,.22);border-radius:.34rem}.ledger-route--billing .billing-overview-card{padding:.9rem .95rem;border-right:1px solid rgba(171,180,181,.18);background:#f8f9f9e6;box-shadow:none}.ledger-route--billing .billing-overview-card:last-child{border-right:0}.ledger-route--billing .billing-overview-card span{display:block;color:var(--ledger-text-muted);font-size:.69rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ledger-route--billing .billing-overview-card strong{display:block;margin-top:.35rem;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1rem;font-weight:800}.ledger-route--billing .billing-overview-card.outstanding{background:#c4eae342}.ledger-route--billing .invoice-items{display:flex;flex-direction:column}.ledger-route--billing .invoice-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center;padding:.9rem 1rem;border:1px solid rgba(171,180,181,.18);border-bottom:0;background:#f8f9f9d6;cursor:pointer}.ledger-route--billing .invoice-item:last-child{border-bottom:1px solid rgba(171,180,181,.18)}.ledger-route--billing .invoice-item.selected{background:#c4eae338}.ledger-route--billing .item-check{width:1.35rem;height:1.35rem;border:1px solid rgba(171,180,181,.26);border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:var(--ledger-secondary);background:#fff;flex-shrink:0}.ledger-route--billing .item-details,.ledger-route--billing .item-pricing{min-width:0;display:flex;flex-direction:column;gap:.2rem}.ledger-route--billing .item-desc,.ledger-route--billing .item-amount{color:var(--ledger-text);font-size:.88rem;font-weight:700}.ledger-route--billing .item-meta-row{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.ledger-route--billing .item-progress-note,.ledger-route--billing .item-original-amount,.ledger-route--billing .billing-form-help,.ledger-route--billing .payment-method-cell{color:var(--ledger-text-muted);font-size:.75rem}.ledger-route--billing .billing-adjustments{display:flex;flex-direction:column;gap:.9rem;padding-top:.9rem;border-top:1px solid rgba(171,180,181,.18)}.ledger-route--billing .payment-method{padding-top:.95rem;border-top:1px solid rgba(171,180,181,.18)}.ledger-route--billing .payment-options{display:flex;flex-wrap:wrap;gap:.55rem}.ledger-route--billing .payment-option{min-height:2.3rem;padding:0 .9rem;border:1px solid rgba(171,180,181,.28);border-radius:999px;background:#f8f9f9f0;color:var(--ledger-text-muted);font-family:var(--ledger-font-headline);font-size:.76rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.ledger-route--billing .payment-option.active{border-color:#41655f47;background:#c4eae342;color:var(--ledger-secondary)}.ledger-route--billing .invoice-summary{padding:1rem;border:1px solid rgba(171,180,181,.2);border-radius:.34rem;background:#f8f9f9f5}.ledger-route--billing .invoice-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem 1rem}.ledger-route--billing .invoice-summary-row{color:var(--ledger-text-muted);font-size:.8rem}.ledger-route--billing .invoice-summary-row strong{color:var(--ledger-text);font-size:.86rem}.ledger-route--billing .invoice-summary-row.highlight{padding-top:.6rem;border-top:1px solid rgba(171,180,181,.18);grid-column:1 / -1}.ledger-route--billing .invoice-error-message{margin:.85rem 0 0;color:var(--ledger-error);font-size:.79rem}.ledger-route--queue .queue-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;align-items:start}.ledger-route--queue .queue-department{overflow:hidden}.ledger-route--queue .dept-header{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.95rem 1rem .9rem;color:#fff}.ledger-route--queue .dept-header h3{margin:0;font-family:var(--ledger-font-headline);font-size:.98rem;font-weight:800;letter-spacing:-.02em}.ledger-route--queue .dept-queue{padding:.1rem .95rem .95rem}.ledger-route--queue .queue-card{padding:.9rem 0;border-bottom:1px solid rgba(171,180,181,.16);background:transparent;border-radius:0;box-shadow:none}.ledger-route--queue .queue-card:last-child{border-bottom:0}.ledger-route--queue .queue-card-header{display:flex;align-items:center;justify-content:space-between;gap:.65rem;margin-bottom:.45rem}.ledger-route--queue .patient-initials,.ledger-route--queue .patient-avatar,.ledger-route--billing .patient-avatar{width:2rem;height:2rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#c4eae34d;color:var(--ledger-secondary);font-size:.78rem;font-weight:800;text-transform:uppercase;flex-shrink:0}.ledger-route--queue .queue-card-name{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:.92rem;font-weight:800;letter-spacing:-.02em}.ledger-route--queue .queue-card-times{display:flex;flex-direction:column;gap:.32rem}.ledger-route--queue .queue-card-time,.ledger-route--queue .queue-card-waiting,.ledger-route--queue .discharged-time,.ledger-route--queue .discharged-id{color:var(--ledger-text-muted);font-size:.75rem}.ledger-route--queue .queue-arrow{display:none}.ledger-route--queue .discharged-list{display:flex;flex-direction:column}.ledger-route--queue .discharged-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.75rem;align-items:center;padding:.9rem 0;border-bottom:1px solid rgba(171,180,181,.18)}.ledger-route--queue .discharged-item:last-child{border-bottom:0}.ledger-route--queue .discharged-info{display:flex;flex-direction:column;gap:.12rem;min-width:0}.ledger-route--queue .discharged-name{color:var(--ledger-text);font-size:.85rem;font-weight:700}.ledger-route--reports .reports-grid,.ledger-route--reports .reports-table{gap:1rem}.ledger-route--settings .settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.ledger-route--settings .full-width{grid-column:1 / -1}.ledger-route--settings .logo-upload-section,.ledger-route--settings .hospital-settings,.ledger-route--settings .subs-section-header{display:flex;flex-direction:column;gap:1rem}.ledger-route--settings .logo-preview{min-height:10.75rem;display:grid;place-items:center;border:1px dashed rgba(171,180,181,.34);border-radius:.34rem;background:#f8f9f9f5}.ledger-route--settings .logo-actions,.ledger-route--settings .settings-actions,.ledger-route--settings .role-card-actions{display:flex;flex-wrap:wrap;gap:.55rem}.ledger-route--settings .color-picker-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.6rem;align-items:center}.ledger-route--settings .color-presets{display:flex;flex-wrap:wrap;gap:.5rem}.ledger-route--settings .color-preset-btn{width:1.55rem;height:1.55rem;border-radius:999px;border:2px solid transparent;box-shadow:none}.ledger-route--settings .color-preset-btn.active{border-color:#ffffffeb;box-shadow:0 0 0 1px #abb4b557}.ledger-route--settings .receipt-preview,.ledger-route--settings .role-card-item,.ledger-route--settings .staff-card,.ledger-route--settings .staff-mini-card,.ledger-route--settings .desktop-download-card,.ledger-route--settings .onboarding-facility-card{border:1px solid rgba(171,180,181,.22);border-radius:.34rem;background:#f8f9f9f5;box-shadow:none}.ledger-route--settings .receipt-preview{padding:1rem}.ledger-route--settings .mini-receipt{max-width:20rem;margin-top:.8rem;padding:1rem;border:1px solid rgba(171,180,181,.18);border-radius:.3rem;background:#fff}.ledger-route--subscription .module-subscription{gap:1rem}.ledger-route--subscription .subs-trial-hero,.ledger-route--subscription .subs-trial-expired-hero{padding:1.4rem 1.45rem;border:1px solid rgba(171,180,181,.24);border-radius:.44rem;background:linear-gradient(135deg,#f8f9f9f5,#e4ececf0)}.ledger-route--subscription .subs-trial-hero-content{max-width:42rem}.ledger-route--subscription .subs-trial-hero h2{margin:0;color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.85rem;font-weight:800;letter-spacing:-.05em}.ledger-route--subscription .subs-trial-hero p{margin:.5rem 0 0;color:var(--ledger-text-muted);font-size:.86rem;line-height:1.55}.ledger-route--subscription .subs-trial-progress{margin:1rem 0 1.2rem}.ledger-route--subscription .subs-trial-progress-text{display:block;margin-top:.45rem;color:var(--ledger-text-muted);font-size:.75rem}.ledger-route--subscription .subs-overview-grid{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(320px,.76fr);gap:1rem}.ledger-route--subscription .subs-plan-card,.ledger-route--subscription .subs-overview-card,.ledger-route--subscription .subs-core-card,.ledger-route--subscription .subs-addon-card,.ledger-route--subscription .subs-bundle-card,.ledger-route--subscription .subs-comparison-card,.ledger-route--subscription .subs-billing-summary-card,.ledger-route--subscription .subs-stat-item{padding:1rem 1.1rem}.ledger-route--subscription .subs-plan-card-header,.ledger-route--subscription .subs-addon-header,.ledger-route--subscription .subs-bundle-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem}.ledger-route--subscription .subs-plan-badge,.ledger-route--subscription .subs-checkout-plan-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.42rem .68rem;border-radius:999px;background:#c4eae347;color:var(--ledger-secondary);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ledger-route--subscription .subs-plan-desc,.ledger-route--subscription .subs-addon-desc,.ledger-route--subscription .subs-bundle-desc{color:var(--ledger-text-muted);font-size:.82rem;line-height:1.5}.ledger-route--subscription .subs-plan-pricing-line,.ledger-route--subscription .subs-checkout-total{display:flex;align-items:flex-end;justify-content:space-between;gap:.85rem;margin:1rem 0;padding:.95rem 0;border-top:1px solid rgba(171,180,181,.18);border-bottom:1px solid rgba(171,180,181,.18)}.ledger-route--subscription .subs-plan-pricing-main strong,.ledger-route--subscription .subs-bundle-price,.ledger-route--subscription .subs-checkout-plan-price,.ledger-route--subscription .subs-billing-summary-value{color:var(--ledger-text);font-family:var(--ledger-font-headline);font-size:1.4rem;font-weight:800;letter-spacing:-.05em}.ledger-route--subscription .subs-plan-details,.ledger-route--subscription .subs-billing-summary{display:flex;flex-direction:column;gap:.55rem}.ledger-route--subscription .subs-detail-row,.ledger-route--subscription .subs-billing-summary-card,.ledger-route--subscription .subs-cost-bar,.ledger-route--subscription .subs-checkout-modules,.ledger-route--subscription .subs-checkout-extra{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.ledger-route--subscription .subs-detail-label,.ledger-route--subscription .subs-billing-summary-label,.ledger-route--subscription .subs-stat-item-label,.ledger-route--subscription .subs-cost-bar-label,.ledger-route--subscription .subs-checkout-modules-label{color:var(--ledger-text-muted);font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.ledger-route--subscription .subs-detail-value,.ledger-route--subscription .subs-cost-bar-total,.ledger-route--subscription .subs-checkout-modules-price{color:var(--ledger-text);font-size:.84rem;font-weight:700}.ledger-route--subscription .subs-billing-toggle{display:inline-flex;align-items:center;gap:.2rem;padding:.2rem;border:1px solid rgba(171,180,181,.22);border-radius:999px;background:#f8f9f9eb}.ledger-route--subscription .subs-cycle-btn,.ledger-route--subscription .subs-channel-option{border:0;border-radius:999px;background:transparent;color:var(--ledger-text-muted);font-family:var(--ledger-font-headline);font-size:.78rem;font-weight:800}.ledger-route--subscription .subs-cycle-btn.active,.ledger-route--subscription .subs-channel-option.active{background:#fff;color:var(--ledger-secondary)}.ledger-route--subscription .subs-quick-actions,.ledger-route--subscription .subs-channel-options{display:flex;flex-wrap:wrap;gap:.6rem}.ledger-route--subscription .subs-overview-side{display:flex;flex-direction:column;gap:1rem}.ledger-route--subscription .subs-stat-panel,.ledger-route--subscription .subs-modules-quick,.ledger-route--subscription .subs-core-grid,.ledger-route--subscription .subs-addons-grid,.ledger-route--subscription .subs-bundles-grid,.ledger-route--subscription .subs-plans-grid{display:grid;gap:.8rem}.ledger-route--subscription .subs-module-chip,.ledger-route--subscription .subs-bundle-module-tag,.ledger-route--subscription .subs-checkout-module-tag,.ledger-route--subscription .subs-plan-option-features span{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem .75rem;border:1px solid rgba(171,180,181,.18);border-radius:.3rem;background:#f8f9f9f0;color:var(--ledger-text);font-size:.8rem;font-weight:700}.ledger-route--subscription .subs-module-chip-icon,.ledger-route--subscription .subs-core-icon,.ledger-route--subscription .subs-addon-icon,.ledger-route--subscription .subs-plan-option-icon,.ledger-route--subscription .subs-card-icon,.ledger-route--subscription .subs-channel-icon{width:2rem;height:2rem;border-radius:.28rem;display:inline-flex;align-items:center;justify-content:center;background:#c4eae347;color:var(--ledger-secondary);flex-shrink:0}.ledger-route--subscription .subs-billing-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.ledger-route--subscription .subs-empty-history{color:var(--ledger-text-muted);font-size:.82rem}@media(max-width:1320px){.ledger-route--subscription .subs-overview-grid,.ledger-route--appointments .appointments-layout,.ledger-route--procurement .procurement-layout{grid-template-columns:1fr}.ledger-route--billing .billing-overview-grid,.ledger-route--subscription .subs-billing-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1180px){.ledger-module-page .analytics-kpi-grid,.ledger-route--appointments .appointments-overview-strip,.ledger-route--settings .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-route--ward .ward-layout,.ledger-route--laboratory .lab-layout,.ledger-route--pharmacy .pharmacy-layout,.ledger-route--billing .billing-layout,.ledger-route--reports .analytics-two-col{grid-template-columns:1fr}.ledger-route--pharmacy .inventory-actions-row,.ledger-route--procurement .procurement-filters,.ledger-route--pharmacy .add-stock-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-route--appointments .appointment-card-main{grid-template-columns:repeat(3,minmax(0,1fr))}.ledger-route--subscription .subs-billing-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:840px){.ledger-module-page{padding:1.2rem .9rem 1.8rem}.ledger-module-page .analytics-kpi-grid,.ledger-module-page .analytics-kpi-grid--3,.ledger-module-page .analytics-kpi-grid--4,.ledger-route--appointments .appointments-overview-strip,.ledger-route--billing .billing-overview-grid,.ledger-route--billing .invoice-summary-grid,.ledger-route--settings .settings-grid,.ledger-route--subscription .subs-billing-summary,.ledger-module-page .form-row,.ledger-module-page .appointments-form-row,.ledger-module-page .billing-adjustments-row,.ledger-route--pharmacy .barcode-scan-row,.ledger-route--pharmacy .inventory-actions-row,.ledger-route--pharmacy .add-stock-form,.ledger-route--procurement .procurement-filters,.ledger-route--procurement .procurement-receive-inline,.ledger-route--appointments .appointment-card,.ledger-route--appointments .appointment-card-main,.ledger-route--appointments .appointment-upcoming-item,.ledger-route--billing .billing-patient-item,.ledger-route--billing .invoice-item,.ledger-route--queue .discharged-item{grid-template-columns:1fr}.ledger-route--appointments .appointment-card-actions,.ledger-route--billing .invoice-header,.ledger-route--billing .invoice-header-actions,.ledger-route--billing .invoice-summary-row,.ledger-route--procurement .procurement-low-stock-item{align-items:flex-start;justify-content:flex-start}.ledger-route--queue .queue-flow,.ledger-route--subscription .subs-overview-grid,.ledger-route--subscription .subs-billing-summary{grid-template-columns:1fr}.ledger-route--subscription .subs-plan-pricing-line,.ledger-route--subscription .subs-detail-row,.ledger-route--subscription .subs-cost-bar,.ledger-route--subscription .subs-checkout-modules,.ledger-route--subscription .subs-checkout-extra,.ledger-route--subscription .subs-checkout-total,.ledger-module-page .analytics-donut-wrap{flex-direction:column;align-items:flex-start}}:root[data-theme=dark] .ledger-module-page .card,:root[data-theme=dark] .ledger-module-page .analytics-kpi-card,:root[data-theme=dark] .ledger-module-page .subs-plan-card,:root[data-theme=dark] .ledger-module-page .subs-overview-card,:root[data-theme=dark] .ledger-module-page .subs-core-card,:root[data-theme=dark] .ledger-module-page .subs-addon-card,:root[data-theme=dark] .ledger-module-page .subs-bundle-card,:root[data-theme=dark] .ledger-module-page .subs-comparison-card,:root[data-theme=dark] .ledger-module-page .subs-billing-summary-card,:root[data-theme=dark] .ledger-module-page .subs-stat-item,:root[data-theme=dark] .ledger-module-page .queue-department,:root[data-theme=dark] .ledger-module-page .patients-table-container,:root[data-theme=dark] .ledger-module-page .procurement-table-wrap{border-color:#bfceca33;background:#34484ce0}:root[data-theme=dark] .ledger-module-page .card-header,:root[data-theme=dark] .ledger-module-page .module-header,:root[data-theme=dark] .ledger-module-page .settings-table thead th,:root[data-theme=dark] .ledger-module-page .receipts-table thead th,:root[data-theme=dark] .ledger-module-page .inventory-table thead th{border-color:#bfceca29;background:#2c3d41eb}:root[data-theme=dark] .ledger-module-page input:not([type=checkbox]):not([type=color]):not([type=file]),:root[data-theme=dark] .ledger-module-page select,:root[data-theme=dark] .ledger-module-page textarea,:root[data-theme=dark] .ledger-module-page .search-box.large,:root[data-theme=dark] .ledger-module-page .btn-secondary,:root[data-theme=dark] .ledger-module-page .btn-outline,:root[data-theme=dark] .ledger-module-page .status-badge,:root[data-theme=dark] .ledger-module-page .appointment-status-badge,:root[data-theme=dark] .ledger-module-page .appointment-assigned-flag,:root[data-theme=dark] .ledger-module-page .appointment-escalation-tag,:root[data-theme=dark] .ledger-module-page .item-type,:root[data-theme=dark] .ledger-module-page .stock-status,:root[data-theme=dark] .ledger-module-page .subs-status-badge,:root[data-theme=dark] .ledger-module-page .subs-paystack-badge,:root[data-theme=dark] .ledger-module-page .subs-save-tag,:root[data-theme=dark] .ledger-module-page .subs-inline-savings,:root[data-theme=dark] .ledger-module-page .subs-payment-status,:root[data-theme=dark] .ledger-module-page .subs-payment-method-tag{border-color:#bfceca33;background:#2c3d41eb;color:var(--ledger-text)}:root[data-theme=dark] .ledger-module-page .settings-table tbody td,:root[data-theme=dark] .ledger-module-page .receipts-table tbody td,:root[data-theme=dark] .ledger-module-page .inventory-table tbody td,:root[data-theme=dark] .ledger-module-page .analytics-rank-item,:root[data-theme=dark] .ledger-module-page .analytics-stat-row,:root[data-theme=dark] .ledger-module-page .lab-tabs,:root[data-theme=dark] .ledger-module-page .pharmacy-tabs,:root[data-theme=dark] .ledger-module-page .billing-tabs,:root[data-theme=dark] .ledger-module-page .reports-tabs,:root[data-theme=dark] .ledger-module-page .settings-tabs,:root[data-theme=dark] .ledger-module-page .subs-nav-tabs{border-color:#bfceca29}:root[data-theme=dark] .ledger-module-page .settings-table tbody tr:hover td,:root[data-theme=dark] .ledger-module-page .receipts-table tbody tr:hover td,:root[data-theme=dark] .ledger-module-page .inventory-table tbody tr:hover td{background:#ffffff14}:root[data-theme=dark] .ledger-module-page .analytics-hbar-track,:root[data-theme=dark] .ledger-module-page .revenue-bar-track,:root[data-theme=dark] .ledger-module-page .analytics-stacked-bar,:root[data-theme=dark] .ledger-module-page .subs-trial-progress-bar,:root[data-theme=dark] .ledger-module-page .subs-usage-bar,:root[data-theme=dark] .ledger-module-page .analytics-donut-hole{background:#2c3d41eb}.ledger-route-screen{display:flex;flex-direction:column;gap:1.5rem}.ledger-route-screen__header{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem 2rem}.ledger-route-screen__header-copy{min-width:0}.ledger-route-screen__metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.8rem;min-width:min(32rem,100%)}.ledger-route-screen__metric{display:flex;flex-direction:column;gap:.35rem;min-width:0;padding:1rem 1.1rem;background:var(--ledger-surface-panel);box-shadow:var(--ledger-shadow)}.ledger-route-screen__metric.is-critical{background:linear-gradient(135deg,#463130,#6b403d);color:#fff0ee}.ledger-route-screen__metric.is-accent{background:linear-gradient(135deg,var(--ledger-primary),var(--ledger-primary-dim));color:#effcf9}.ledger-route-screen__metric-label{font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;opacity:.72}.ledger-route-screen__metric-value{font-family:var(--ledger-font-headline);font-size:1.8rem;font-weight:800;line-height:.95;letter-spacing:-.05em}.ledger-route-screen__metric-meta{font-size:.76rem;line-height:1.4;opacity:.78}.ledger-route-screen__layout{display:grid;grid-template-columns:minmax(0,1fr) 22rem;gap:1.5rem;align-items:start}.ledger-route-screen__main,.ledger-route-screen__rail{min-width:0;display:flex;flex-direction:column;gap:1.5rem}.ledger-route-screen__band{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:.75rem}.ledger-route-screen__band-item{display:flex;flex-direction:column;gap:.35rem;padding:1rem 1.1rem;background:var(--ledger-surface-low)}.ledger-route-screen__band-item span,.ledger-route-screen__summary-label{font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--ledger-text-muted)}.ledger-route-screen__band-item strong,.ledger-route-screen__summary-value{font-family:var(--ledger-font-headline);font-size:1.05rem;font-weight:800;letter-spacing:-.03em;color:var(--ledger-text)}.ledger-route-screen__summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.8rem}.ledger-route-screen__summary-card{padding:1rem 1.1rem;background:var(--ledger-surface-low)}.ledger-route-screen__split-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:1rem}.ledger-route-screen__module-shell{background:var(--ledger-surface-panel);box-shadow:var(--ledger-shadow)}.ledger-route-screen__module-shell .ledger-module-page{padding:0}.ledger-route-screen__module-shell .module{max-width:none}.ledger-route-screen__module-shell .module-header{display:none}.ledger-route-screen__list,.ledger-route-screen__stat-list{display:flex;flex-direction:column;gap:.65rem}.ledger-route-screen__list-item,.ledger-route-screen__stat-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:start;padding:.95rem 0;border-bottom:1px solid var(--ledger-outline)}.ledger-route-screen__list-item:last-child,.ledger-route-screen__stat-item:last-child{border-bottom:0;padding-bottom:0}.ledger-route-screen__list-item:first-child,.ledger-route-screen__stat-item:first-child{padding-top:0}.ledger-route-screen__list-title{margin:0;font-family:var(--ledger-font-headline);font-size:.98rem;font-weight:700;letter-spacing:-.02em}.ledger-route-screen__list-meta{margin-top:.25rem;font-size:.78rem;line-height:1.45;color:var(--ledger-text-muted)}.ledger-route-screen__list-value{font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ledger-primary);white-space:nowrap}.ledger-route-screen__list-button{width:100%;border:0;padding:0;background:transparent;text-align:left;cursor:pointer}.ledger-route-screen__callout{display:flex;flex-direction:column;gap:.85rem;padding:1.2rem 1.25rem;background:linear-gradient(135deg,#41655ff2,#2b4b45f5);color:#f2fffb}.ledger-route-screen__callout .ledger-panel-title,.ledger-route-screen__callout .ledger-panel-subtitle,.ledger-route-screen__callout .ledger-note{color:inherit}.ledger-route-screen__tags{display:flex;flex-wrap:wrap;gap:.45rem}.ledger-route-screen__tag{display:inline-flex;align-items:center;gap:.35rem;padding:.42rem .62rem;background:#ffffff14;color:inherit;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ledger-route-screen__timeline{display:flex;flex-direction:column;gap:.85rem}.ledger-route-screen__timeline-item{display:grid;grid-template-columns:4.5rem minmax(0,1fr);gap:.8rem;align-items:start}.ledger-route-screen__timeline-time{font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ledger-primary)}.ledger-route-screen__timeline-card{padding-bottom:.85rem;border-bottom:1px solid var(--ledger-outline)}.ledger-route-screen__timeline-item:last-child .ledger-route-screen__timeline-card{padding-bottom:0;border-bottom:0}.ledger-route-screen__note-list{display:flex;flex-direction:column;gap:.55rem}.ledger-route-screen__note-row{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--ledger-outline);font-size:.8rem}.ledger-route-screen__note-row:last-child{border-bottom:0;padding-bottom:0}.ledger-route-screen__note-row:first-child{padding-top:0}@media(max-width:1200px){.ledger-route-screen__layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:900px){.ledger-route-screen__header,.ledger-route-screen__split-grid{grid-template-columns:1fr;display:grid}.ledger-route-screen__metrics{min-width:0}}@media(max-width:720px){.ledger-route-screen__metrics,.ledger-route-screen__band,.ledger-route-screen__summary-grid{grid-template-columns:1fr 1fr}}@media(max-width:540px){.ledger-route-screen__metrics,.ledger-route-screen__band,.ledger-route-screen__summary-grid,.ledger-route-screen__timeline-item{grid-template-columns:1fr}}.app-symbol{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:1.15rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 0,"wght" 450,"GRAD" 0,"opsz" 24}.app-symbol.is-filled{font-variation-settings:"FILL" 1,"wght" 500,"GRAD" 0,"opsz" 24}:root{--stitch-rail: #16211e;--stitch-rail-hover: #1f2c28;--stitch-paper: #fffdfa;--stitch-plane: #f5f0e7;--stitch-plane-low: #ece6db;--stitch-line: rgba(93, 109, 104, .16);--stitch-strong-line: rgba(74, 88, 84, .22);--stitch-ink: #1f2927;--stitch-muted: #586460;--stitch-accent: #1f6a5c;--stitch-accent-strong: #174d43;--stitch-alert: #b24c45}:root[data-theme=dark]{--ledger-surface: #243438;--ledger-surface-low: #2c3d41;--ledger-surface-panel: #34484c;--ledger-surface-panel-strong: #3f5559;--ledger-text: #f4f8f7;--ledger-text-muted: #b2c3be;--ledger-outline: rgba(191, 206, 202, .18);--ledger-outline-strong: rgba(191, 206, 202, .3);--ledger-on-primary: #f5fffb;--ledger-shadow: 0 24px 48px -30px rgba(0, 0, 0, .36);--stitch-rail: #1d2b30;--stitch-rail-hover: #26383d;--stitch-paper: #34484c;--stitch-plane: #243438;--stitch-plane-low: #2c3d41;--stitch-line: rgba(191, 206, 202, .16);--stitch-strong-line: rgba(191, 206, 202, .28);--stitch-ink: #f4f8f7;--stitch-muted: #b2c3be}body{background:radial-gradient(circle at top left,rgba(31,106,92,.08),transparent 32%),linear-gradient(180deg,#f7f2ea,#f3eee5 52%,#eef2ea)}:root[data-theme=dark] body{background:radial-gradient(circle at top left,rgba(83,162,145,.22),transparent 34%),linear-gradient(180deg,#223034,#2b3b40 52%,#34484d)}::selection,*::selection{background:#1f6a5c38;color:#10201b;text-shadow:none}::-moz-selection,*::-moz-selection{background:#1f6a5c38;color:#10201b;text-shadow:none}.ledger-shell{background:var(--stitch-plane)}.ledger-sidebar{background:linear-gradient(180deg,var(--stitch-rail) 0%,#101816 100%);box-shadow:inset -1px 0 #ffffff0a}.ledger-sidebar__brand-mark{border-radius:.125rem;background:var(--stitch-accent)}.ledger-sidebar__brand-mark .app-symbol{font-size:1.2rem}.ledger-sidebar__brand-title{font-size:1.15rem;letter-spacing:-.05em}.ledger-sidebar__brand-subtitle{margin-top:.2rem;color:#b1e1d6b8}.ledger-sidebar__new-entry{border-radius:.18rem;background:linear-gradient(135deg,#2a7f70,#1c5b50);letter-spacing:.12em}.ledger-sidebar__new-entry:hover{background:linear-gradient(135deg,#318d7c,#22675b)}.ledger-sidebar__nav{padding:0 .5rem}.ledger-nav-item{gap:.8rem;padding:.82rem .95rem;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;border-radius:0}.ledger-nav-item__icon{font-size:1.12rem}.ledger-nav-item:hover{background:var(--stitch-rail-hover)}.ledger-nav-item.is-active{border-left-color:#7bc0af;background:#7bc0af24}.ledger-nav-item__badge{background:#7bc0af2e;color:#d9fff6}.ledger-sidebar__meta{padding-top:.85rem}.ledger-sidebar__meta-link{width:100%;border:0;padding:.2rem 0;background:transparent;color:#becbc9c2;cursor:pointer;text-align:left}.ledger-sidebar__meta-link:hover{color:#f3f8f8}.ledger-sidebar__meta-icon{font-size:.95rem}.ledger-sidebar__profile-name{font-size:.8rem;letter-spacing:.02em}.ledger-sidebar__profile-role{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase}.ledger-sidebar__logout{width:2.25rem;height:2.25rem;border-radius:.2rem}.ledger-main{background:radial-gradient(circle at top right,rgba(182,122,63,.06),transparent 28%),linear-gradient(180deg,#f7f2ea,#f3eee5 52%,#eef2ea)}:root[data-theme=dark] .ledger-main{background:radial-gradient(circle at top right,rgba(182,122,63,.14),transparent 28%),linear-gradient(180deg,#243438,#2c3d41 52%,#365056)}.ledger-topbar{min-height:3.5rem;padding-inline:1.75rem;background:#fffcf7e0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid var(--stitch-line)}.ledger-topbar__title-group{display:flex;align-items:baseline;gap:.85rem}.ledger-topbar__title{font-family:var(--ledger-font-headline);font-size:1.03rem;font-weight:800;letter-spacing:-.04em}.ledger-topbar__section{color:var(--stitch-muted);font-size:.66rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.ledger-search{min-width:min(20rem,100%);border:1px solid var(--stitch-line);border-radius:.2rem;background:#fffdf9eb}.ledger-search .app-symbol{color:var(--stitch-muted);font-size:1rem}.ledger-search input{font-size:.78rem;letter-spacing:.01em;text-transform:none}.ledger-topbar__signals{gap:.55rem}.ledger-topbar__signal{padding:.35rem .55rem;border:0;background:#fffaf4f2;color:var(--stitch-muted);font-size:.6rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-topbar__signal.is-active{background:#1f6a5c1f;color:var(--stitch-accent-strong)}.ledger-topbar__icon-button{width:2.2rem;height:2.2rem;border:0;border-radius:.2rem;background:transparent;color:var(--stitch-muted)}.ledger-topbar__icon-button:hover{background:#1f6a5c14;color:var(--stitch-accent-strong)}.ledger-topbar__profile-button{width:2.3rem;height:2.3rem;padding:0;border:0;background:transparent;cursor:pointer}.ledger-topbar__profile-avatar{width:2.3rem;height:2.3rem;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(93,109,104,.2);border-radius:999px;background:linear-gradient(145deg,#1f6a5cf0,#174d43fa);color:#effcf9;font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ledger-topbar__profile-avatar img{width:100%;height:100%;object-fit:cover}:root[data-theme=dark] .ledger-topbar{background:#243438d6}:root[data-theme=dark] .ledger-search{background:#34484ceb}:root[data-theme=dark] .ledger-topbar__signal,:root[data-theme=dark] .ledger-route-screen__action,:root[data-theme=dark] .ledger-route-screen__metric{background:#ffffff1f}:root[data-theme=dark] .ledger-topbar__signal.is-active,:root[data-theme=dark] .ledger-route-screen__action--primary{background:var(--ledger-primary-soft);color:var(--ledger-on-primary)}:root[data-theme=dark] .ledger-topbar__icon-button:hover{background:#ffffff1f;color:var(--stitch-ink)}.ledger-status-stack{gap:.6rem;padding:1rem 1.5rem 0}.ledger-banner{align-items:center;border:0;border-left:3px solid var(--stitch-accent);border-radius:0;background:var(--stitch-paper);box-shadow:none}.ledger-banner--error{border-left-color:var(--stitch-alert)}.ledger-banner__copy{gap:.75rem}.ledger-banner__icon{color:var(--stitch-accent)}.ledger-banner--error .ledger-banner__icon{color:var(--stitch-alert)}.ledger-banner__title{display:block;margin-bottom:.1rem;font-family:var(--ledger-font-headline);font-size:.74rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.ledger-banner__text{font-size:.82rem;color:var(--stitch-muted)}.ledger-banner__button,.ledger-banner__dismiss{border-radius:.16rem}.ledger-content{padding:1.4rem 1.5rem 2rem}.ledger-page{display:flex;flex-direction:column;gap:1.25rem}.ledger-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem 2rem;padding-bottom:.75rem;border-bottom:1px solid var(--stitch-line)}.ledger-eyebrow{color:var(--stitch-accent);font-size:.62rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase}.ledger-page-title{margin:.25rem 0 0;font-family:var(--ledger-font-headline);font-size:clamp(1.9rem,2.5vw,2.55rem);font-weight:800;letter-spacing:-.06em;line-height:.95}.ledger-page-subtitle{margin:.35rem 0 0;max-width:28rem;color:var(--stitch-muted);font-size:.78rem;line-height:1.45}.ledger-panel-subtitle,.ledger-route-screen__subtitle,.ledger-route-screen .ledger-panel-subtitle,.ledger-route-screen .ledger-note{display:none}.ledger-route-screen__hero{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem 2rem;padding-bottom:.75rem;border-bottom:1px solid var(--stitch-line)}.ledger-route-screen__hero-copy{min-width:0}.ledger-route-screen__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.55rem}.ledger-route-screen__action{display:inline-flex;align-items:center;gap:.45rem;min-height:2.4rem;padding:0 .9rem;border:0;border-radius:.16rem;background:#fff;color:var(--stitch-ink);font-family:var(--ledger-font-headline);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.ledger-route-screen__action--primary{background:var(--stitch-accent);color:#effcf9}.ledger-route-screen__action .app-symbol{font-size:1rem}.ledger-route-screen__action-icon{display:inline-flex;align-items:center}.ledger-route-screen__action-icon--legacy svg{width:1rem;height:1rem}.ledger-route-screen__metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.65rem}.ledger-route-screen__metric{padding:.9rem 1rem;background:#fff;border-left:3px solid transparent}.ledger-route-screen__metric.is-critical{border-left-color:var(--stitch-alert)}.ledger-route-screen__metric.is-accent{border-left-color:var(--stitch-accent)}.ledger-route-screen__metric-label{display:block;font-size:.62rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--stitch-muted)}.ledger-route-screen__metric-value{display:block;margin-top:.38rem;font-family:var(--ledger-font-headline);font-size:1.45rem;font-weight:800;letter-spacing:-.05em;line-height:1}.ledger-route-screen__layout{display:grid;grid-template-columns:minmax(0,1fr) 22rem;gap:1rem;align-items:start}.ledger-route-screen__layout--single{grid-template-columns:minmax(0,1fr)}.ledger-route-screen__main,.ledger-route-screen__rail{display:flex;flex-direction:column;gap:1rem;min-width:0}.ledger-panel,.ledger-route-screen__callout,.ledger-route-screen__module-shell,.ledger-registration__plane,.ledger-registration__rail-block,.appointments-overview-pill,.appointments-schedule-card,.appointments-upcoming-card,.patient-profile-hero,.patient-profile-summary-strip,.patient-profile-stage,.ledger-dashboard-grid>*,.ledger-clinical__queue,.ledger-clinical__workspace,.ledger-clinical__support{background:var(--stitch-paper);border:0;border-left:3px solid transparent;border-radius:0;box-shadow:none}.ledger-panel--accent{background:linear-gradient(135deg,var(--ledger-primary),var(--ledger-primary-dim))!important;color:#dcfff8}.ledger-panel--accent .ledger-panel-title,.ledger-panel--accent .ledger-panel-subtitle,.ledger-panel--accent .ledger-panel-meta,.ledger-panel--accent .ledger-list-item__title,.ledger-panel--accent .ledger-list-item__meta,.ledger-panel--accent .ledger-list-item__value,.ledger-panel--accent .ledger-priority-count,.ledger-panel--accent .ledger-note{color:inherit}.ledger-panel,.ledger-route-screen__callout,.ledger-route-screen__module-shell,.ledger-registration__plane,.ledger-registration__rail-block,.patient-profile-hero,.patient-profile-stage,.ledger-clinical__queue,.ledger-clinical__workspace,.ledger-clinical__support{padding:1.2rem 1.25rem}.ledger-panel-title,.ledger-registration__section-header h3,.card-header h3,.profile-section-header h4,.patient-profile-stage-header h3{margin:0;font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:800;letter-spacing:-.03em}.ledger-panel-subtitle,.ledger-workboard-task__note,.ledger-list-item__meta,.ledger-note{color:#5f6b6c}.ledger-workboard-task__label,.ledger-mini-kpi__label,.ledger-panel-meta{color:#667172}.ledger-mini-kpi__value,.ledger-workboard-status,.ledger-workboard-side-item__time{color:#284c46}.ledger-route-screen__split-grid,.ledger-route-screen__summary-grid,.ledger-route-screen__band{gap:.75rem}.ledger-route-screen__summary-card,.ledger-route-screen__band-item{padding:.85rem .95rem;background:var(--stitch-plane-low);border-radius:0}.ledger-route-screen__summary-label,.ledger-route-screen__band-item span{color:var(--stitch-muted)}.ledger-route-screen__list-item,.ledger-route-screen__stat-item,.ledger-route-screen__note-row{border-bottom-color:var(--stitch-line)}.ledger-route-screen__list-value,.ledger-route-screen__timeline-time{color:var(--stitch-accent)}.ledger-route-screen__callout{border-left-color:var(--stitch-accent);color:var(--stitch-ink);background:var(--stitch-paper)}.ledger-route-screen__callout .ledger-panel-title{color:var(--stitch-ink)}.ledger-route-screen__tag{background:var(--stitch-plane-low);color:var(--stitch-accent-strong)}.ledger-route-screen__module-shell{padding:1.15rem 1.25rem 1.4rem;border-left-color:var(--stitch-accent)}.ledger-route-screen__module-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem 1.5rem;padding-bottom:.85rem;border-bottom:1px solid var(--stitch-line)}.ledger-route-screen__module-copy{min-width:0}.ledger-route-screen__module-title{margin:.25rem 0 0;font-family:var(--ledger-font-headline);font-size:1.05rem;font-weight:800;letter-spacing:-.03em}.ledger-route-screen__module-actions{display:flex;align-items:center;gap:.6rem}.ledger-route-screen__module-shell--placeholder{padding-bottom:1.15rem}.ledger-route-screen__module-placeholder{display:flex;justify-content:flex-start}.ledger-module-page{padding:0}.ledger-module-page .module,.appointments-module,.patient-profile-page{display:flex;flex-direction:column;gap:1rem}.ledger-module-page .module-header,.appointments-module .module-header,.patient-profile-page .module-header,.ledger-module-page .subtitle,.appointments-module .subtitle,.patient-profile-page .subtitle,.ledger-registration .ledger-page-subtitle,.patient-profile-page .patient-profile-stage-header p{display:none}.ledger-module-page .card,.appointments-module .card,.patient-profile-page .profile-section,.patient-profile-page .summary-card,.patient-profile-page .patient-profile-registration-strip{border:0;border-left:3px solid transparent;border-radius:0;background:var(--stitch-paper);box-shadow:none}.ledger-module-page .card-header,.appointments-module .card-header,.patient-profile-page .profile-section-header{min-height:0;padding:0 0 .85rem;border-bottom:1px solid var(--stitch-line);background:transparent}.ledger-module-page .card-header svg,.ledger-module-page .btn svg,.appointments-module .card-header svg,.appointments-module .btn svg,.ledger-registration__toolbar svg,.ledger-registration__form-actions svg,.patient-profile-page .module-header svg,.patient-profile-page .btn svg{display:none}.ledger-module-page .card-body,.appointments-module .card-body{padding:1rem 0 0}.ledger-module-page .patients-table-container,.ledger-module-page .procurement-table-wrap,.appointments-module table{border:0;border-radius:0;background:transparent}.ledger-module-page .settings-table thead th,.ledger-module-page .receipts-table thead th,.ledger-module-page .inventory-table thead th,.appointments-module thead th{background:var(--stitch-plane-low);color:var(--stitch-muted);font-size:.66rem;letter-spacing:.14em;text-transform:uppercase}.ledger-module-page .settings-table tbody tr:hover,.ledger-module-page .receipts-table tbody tr:hover,.ledger-module-page .inventory-table tbody tr:hover,.appointments-module tbody tr:hover{background:#41655f0a}.ledger-module-page .btn,.appointments-module .btn,.patient-profile-page .btn,.ledger-registration__secondary-button,.ledger-registration__submit{border-radius:.16rem}.ledger-registration__header-meta,.ledger-clinical__header-metrics{gap:.55rem}.ledger-registration__metric,.ledger-clinical__header-metric,.appointments-overview-pill{padding:.8rem .95rem;border-left:3px solid transparent}.ledger-registration__metric strong,.ledger-clinical__header-metric strong,.appointments-overview-value{font-family:var(--ledger-font-headline);font-size:1.25rem;font-weight:800;letter-spacing:-.05em}.ledger-registration__toolbar{gap:.5rem}.ledger-registration__tab{min-height:2.5rem;border:0;border-radius:.16rem;background:var(--stitch-paper);font-family:var(--ledger-font-headline);font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.ledger-registration__tab.is-active{background:var(--stitch-accent);color:#f1fffb}.ledger-registration__layout,.appointments-layout{gap:1rem}.ledger-registration__plane{border-left-color:var(--stitch-accent)}.ledger-registration__rail-block,.appointments-upcoming-card,.appointments-schedule-card{border-left-color:#41655f33}.ledger-registration__plane-header p,.ledger-registration__empty strong+span,.appointments-upcoming-empty,.appointments-inline-warning{color:var(--stitch-muted);font-size:.78rem}.ledger-registration__search,.ledger-module-page .search-box.large{border:0;border-radius:.16rem;background:var(--stitch-plane-low)}.ledger-registration__queue-row,.ledger-registration__result-row,.appointment-card,.appointment-upcoming-item{border-radius:0}.appointment-card,.appointment-upcoming-item,.ledger-registration__queue-row,.ledger-registration__result-row{border:0;border-bottom:1px solid var(--stitch-line);background:transparent}.appointment-card:last-child,.appointment-upcoming-item:last-child,.ledger-registration__queue-row:last-child,.ledger-registration__result-row:last-child{border-bottom:0}.appointments-module .appointments-date-nav{background:var(--stitch-plane-low);border-radius:.16rem}.appointments-module .appointments-today-btn.active,.appointments-module .btn-primary,.patient-profile-page .btn-primary,.ledger-registration__submit,.ledger-route-screen__action--primary{background:var(--stitch-accent);border-color:var(--stitch-accent)}.appointments-module .appointments-empty-icon{background:var(--stitch-plane-low);color:var(--stitch-accent)}.patient-profile-page{gap:1rem}.patient-profile-hero{border-left-color:var(--stitch-accent)}.patient-profile-hero-subtitle{margin-top:.25rem;color:var(--stitch-muted);font-size:.8rem}.patient-profile-summary-strip{gap:0;padding:0}.patient-profile-summary-item{padding:1rem 1.15rem;border-right:1px solid var(--stitch-line)}.patient-profile-summary-item:last-child{border-right:0}.patient-profile-order-nav{gap:.5rem;padding:0;background:transparent}.patient-profile-order-link{padding:.55rem .7rem;background:var(--stitch-paper);color:var(--stitch-muted);font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.patient-profile-stage{border-left-color:#41655f33}.patient-profile-stage-header{align-items:center;margin-bottom:1rem}.patient-profile-stage-index,.profile-section-eyebrow{color:var(--stitch-accent)}.patient-360-route{gap:1rem}.patient-360-route__summary{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem 2rem;padding:2rem;background:var(--stitch-plane-low);border-bottom:1px solid var(--stitch-line)}.patient-360-route__summary-main{display:flex;align-items:flex-start;gap:1.4rem;min-width:0}.patient-360-route__avatar{width:5.5rem;height:5.5rem;flex-shrink:0;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:#dbe4e5;color:var(--stitch-accent-strong);font-family:var(--ledger-font-headline);font-size:1.4rem;font-weight:800;letter-spacing:-.04em;text-transform:uppercase}.patient-360-route__avatar img{width:100%;height:100%;object-fit:cover;filter:grayscale(.95);opacity:.92}.patient-360-route__summary-copy{min-width:0}.patient-360-route__summary-title{margin:0;font-family:var(--ledger-font-headline);font-size:clamp(2rem,3vw,2.6rem);font-weight:800;letter-spacing:-.06em;line-height:.95}.patient-360-route__summary-meta{display:flex;flex-wrap:wrap;gap:.6rem 1.25rem;margin-top:.75rem;color:var(--stitch-muted);font-size:.72rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.patient-360-route__summary-bands{display:flex;flex-wrap:wrap;gap:1.4rem;margin-top:1rem}.patient-360-route__summary-bands>div{min-width:8rem}.patient-360-route__summary-bands span,.patient-360-route__record-strip span,.patient-360-route__info-panel>span,.patient-360-route__team-panel>span{display:block;color:var(--stitch-muted);font-size:.62rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.patient-360-route__summary-bands strong,.patient-360-route__record-strip strong,.patient-360-route__info-panel strong{display:block;margin-top:.28rem;font-family:var(--ledger-font-headline);font-size:.98rem;font-weight:800;letter-spacing:-.03em}.patient-360-route__summary-actions{display:flex;align-items:center;gap:.7rem}.patient-360-route__summary-actions--stack{flex-direction:column;align-items:stretch}.patient-360-route__summary-actions--stack .patient-360-route__primary-action,.patient-360-route__summary-actions--stack .patient-360-route__secondary-action{width:100%;justify-content:center}.patient-360-route__primary-action,.patient-360-route__secondary-action{display:inline-flex;align-items:center;gap:.55rem;min-height:2.6rem;padding:0 1rem;border:0;border-radius:.16rem;font-family:var(--ledger-font-headline);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.patient-360-route__primary-action{background:var(--stitch-accent);color:#f2fffb}.patient-360-route__secondary-action{background:#fff;color:var(--stitch-accent-strong);border:1px solid rgba(171,180,181,.24)}.patient-360-route__workspace{display:grid;grid-template-columns:minmax(0,1fr) 5.5rem;gap:0;min-width:0}.patient-360-route__content{min-width:0;padding:1.5rem;background:var(--stitch-paper)}.patient-360-route__tabs{display:flex;flex-wrap:wrap;gap:1.4rem;padding-bottom:.95rem;border-bottom:1px solid var(--stitch-line);margin-bottom:1.25rem}.patient-360-route__tabs button{border:0;padding:0 0 .65rem;background:transparent;color:var(--stitch-muted);font-size:.75rem;font-weight:700;cursor:pointer}.patient-360-route__tabs button.is-active{color:var(--stitch-accent);box-shadow:inset 0 -2px 0 var(--stitch-accent)}.patient-360-route__tab-panel{align-items:start}.patient-360-route__overview-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:1.2rem}.patient-360-route__main-column,.patient-360-route__side-column{display:flex;flex-direction:column;gap:1rem;min-width:0}.patient-360-route__panel,.patient-360-route__info-panel,.patient-360-route__team-panel,.patient-360-route__alert-panel,.patient-360-route__record-strip{padding:1.2rem 1.25rem;background:var(--stitch-paper);border-left:3px solid rgba(65,101,95,.2)}.patient-360-route__panel.is-targeted,.patient-360-route__info-panel.is-targeted,.patient-360-route__team-panel.is-targeted{border-left-color:var(--stitch-accent);box-shadow:0 0 0 1px #41655f24}.patient-360-route__panel-title{margin:0 0 1rem;font-family:var(--ledger-font-headline);font-size:1rem;font-weight:800;letter-spacing:-.03em}.patient-360-route__panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.patient-360-route__panel-head .patient-360-route__panel-title{margin-bottom:0}.patient-360-route__panel-kicker{display:inline-flex;align-items:center;min-height:1.9rem;padding:0 .6rem;background:var(--stitch-plane-low);color:var(--stitch-accent-strong);font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}.patient-360-route__inline-action{min-height:2rem;padding:0 .75rem;border:1px solid rgba(65,101,95,.18);background:#fff;color:var(--stitch-accent-strong);font-size:.6rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;white-space:nowrap}.patient-360-route__stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.patient-360-route__stat-card{min-height:5.6rem;padding:.95rem 1rem;background:var(--stitch-plane-low);display:flex;flex-direction:column;justify-content:space-between;gap:.35rem}.patient-360-route__stat-card span{color:var(--stitch-muted);font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.patient-360-route__stat-card strong{color:var(--stitch-ink);font-family:var(--ledger-font-headline);font-size:1.05rem;font-weight:800;letter-spacing:-.03em;line-height:1.2}.patient-360-route__upload-stack{display:flex;flex-direction:column;gap:.9rem}.patient-360-route__upload-stack .form-group{display:flex;flex-direction:column;gap:.35rem}.patient-360-route__upload-stack label{color:var(--stitch-muted);font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.patient-360-route__upload-stack input,.patient-360-route__upload-stack select,.patient-360-route__upload-stack textarea{width:100%;border:1px solid var(--stitch-line);background:var(--stitch-plane-low);color:var(--stitch-ink);padding:.8rem .9rem;font:inherit}.patient-360-route__upload-stack textarea{resize:vertical;min-height:5.5rem}.patient-360-route__upload-button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:2.7rem;padding:0 1rem;background:var(--stitch-accent);color:#f2fffb;font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.patient-360-route__upload-button.is-disabled{opacity:.7;cursor:wait}.patient-360-route__upload-button input{display:none}.patient-360-route__upload-note{margin:0;color:var(--stitch-muted);font-size:.76rem;line-height:1.45}.patient-360-route__activity-list{display:flex;flex-direction:column;gap:.55rem}.patient-360-route__activity-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.9rem;align-items:center;padding:.9rem 0;border-bottom:1px solid var(--stitch-line)}.patient-360-route__activity-row:last-child{padding-bottom:0;border-bottom:0}.patient-360-route__activity-icon{width:2.5rem;height:2.5rem;display:inline-flex;align-items:center;justify-content:center;background:var(--stitch-plane-low);color:var(--stitch-accent)}.patient-360-route__activity-copy p,.patient-360-route__team-row strong{margin:0;font-family:var(--ledger-font-headline);font-size:.95rem;font-weight:700;letter-spacing:-.02em}.patient-360-route__activity-copy span,.patient-360-route__activity-time,.patient-360-route__team-row span{color:var(--stitch-muted);font-size:.76rem;line-height:1.45}.patient-360-route__activity-copy small{color:var(--stitch-muted);display:block;font-size:.68rem;line-height:1.45;margin-top:.18rem}.patient-360-route__activity-time{text-align:right}.patient-360-route__activity-time strong{display:block;color:var(--stitch-ink);font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.patient-360-route__activity-time span{display:block;margin-top:.2rem;font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--stitch-accent)}.patient-360-route__vitals-chart{min-height:16rem;display:flex;align-items:flex-end;gap:.7rem;padding:1rem;background:var(--stitch-plane-low)}.patient-360-route__vitals-bar{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.45rem;height:100%}.patient-360-route__vitals-column{width:100%;min-height:1.5rem;background:linear-gradient(180deg,#41655fb8,#41655f);align-self:stretch}.patient-360-route__vitals-bar strong{color:var(--stitch-accent-strong);font-size:.66rem;font-weight:800;letter-spacing:.08em}.patient-360-route__vitals-bar span{color:var(--stitch-muted);font-size:.58rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.patient-360-route__alert-panel{border-left-color:var(--stitch-alert);background:#fe89831a}.patient-360-route__alert-panel>div{display:flex;align-items:center;gap:.65rem;color:#7d302b;font-size:.62rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.patient-360-route__alert-panel strong{display:block;margin-top:.6rem;color:#7d302b;font-size:.95rem;font-weight:700}.patient-360-route__tag-list{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.8rem}.patient-360-route__tag{display:inline-flex;align-items:center;padding:.42rem .55rem;background:var(--stitch-plane-low);color:var(--stitch-muted);font-size:.62rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.patient-360-route__team-panel{background:var(--stitch-rail);color:#fff;border-left-color:var(--stitch-accent)}.patient-360-route__team-panel.is-targeted{box-shadow:0 0 0 1px #63d9b34d}.patient-360-route__team-panel>span,.patient-360-route__team-row span{color:#becbc9b3}.patient-360-route__team-list{display:flex;flex-direction:column;gap:.8rem;margin-top:1rem}.patient-360-route__team-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;align-items:center}.patient-360-route__team-avatar{width:2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center;background:#ffffff12;border:1px solid rgba(255,255,255,.08)}.patient-360-route__team-button{width:100%;min-height:2.35rem;margin-top:1rem;border:1px solid rgba(255,255,255,.12);background:transparent;color:#fff;font-size:.66rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;cursor:pointer}.patient-360-route__team-inline-button{min-height:2rem;padding:0 .7rem;border:1px solid rgba(255,255,255,.16);background:transparent;color:#fff;font-size:.58rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;white-space:nowrap}.patient-360-route__record-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:1rem;padding:0}.patient-360-route__record-strip>div{padding:1rem 1.1rem;border-right:1px solid var(--stitch-line)}.patient-360-route__record-strip>div:last-child{border-right:0}.patient-360-route__module{margin-top:1rem}.patient-360-route__module-header,.patient-360-route__module--placeholder{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;background:var(--stitch-plane-low);border-left:3px solid rgba(65,101,95,.2)}.patient-360-route__module--placeholder{border-left-color:var(--stitch-accent)}.patient-360-route__quick-rail{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:1.4rem .5rem;background:var(--stitch-plane-low);border-left:1px solid var(--stitch-line)}.patient-360-route__quick-action{border:0;padding:0;background:transparent;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:.35rem}.patient-360-route__quick-action-box{width:3rem;height:3rem;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--stitch-accent)}.patient-360-route__quick-action.is-accent .patient-360-route__quick-action-box{background:var(--stitch-accent);color:#fff}.patient-360-route__quick-action span{color:var(--stitch-muted);font-size:.55rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.patient-360-route__empty{color:var(--stitch-muted);font-size:.82rem}.patient-360-route .patient-profile-shell>.patient-profile-hero,.patient-360-route .patient-profile-shell>.patient-profile-summary-strip,.patient-360-route .patient-profile-shell>.patient-profile-order-nav{display:none}.patient-360-route .patient-profile-shell{gap:0}.patient-360-route .patient-profile-layout{grid-template-columns:minmax(0,1fr) 21rem}.ledger-clinical__queue,.ledger-clinical__workspace,.ledger-clinical__support{border-left-color:#41655f33}.ledger-clinical__queue .ledger-eyebrow,.ledger-clinical__workspace .ledger-eyebrow,.ledger-clinical__support .ledger-eyebrow{color:var(--stitch-accent)}.ledger-clinical__tab{border-radius:.16rem}.ledger-clinical__tab.is-active{background:var(--stitch-accent);color:#effcf9}.department-workspace__patient-list{display:grid;gap:1rem}.department-workspace__patient-card{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr) auto;padding:1rem 1.1rem;border:1px solid var(--stitch-line);border-radius:18px;background:#f8fbfaeb}.department-workspace__patient-copy{display:grid;gap:.35rem}.department-workspace__patient-copy strong{color:var(--stitch-ink);font-size:1rem}.department-workspace__patient-copy span{color:var(--stitch-muted);font-size:.86rem}.department-workspace__patient-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.65rem}@media(max-width:1200px){.ledger-route-screen__layout,.ledger-registration__layout,.appointments-layout,.patient-360-route__workspace,.patient-360-route__overview-grid,.patient-360-route .patient-profile-layout,.department-workspace__patient-card{grid-template-columns:1fr}.department-workspace__patient-actions{justify-content:flex-start}.patient-360-route__quick-rail{flex-direction:row;justify-content:flex-start;flex-wrap:wrap;border-left:0;border-top:1px solid var(--stitch-line)}.patient-profile-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.ledger-topbar,.ledger-status-stack,.ledger-content{padding-inline:1rem}.ledger-route-screen__hero,.ledger-page-header,.ledger-route-screen__module-head{display:grid}.ledger-topbar__signals{display:none}.patient-360-route__summary{display:grid;padding:1.35rem}.patient-360-route__summary-main{display:grid}.patient-360-route__summary-actions{flex-wrap:wrap}.patient-360-route__content{padding:1rem}}@media(max-width:720px){.ledger-route-screen__metrics,.patient-profile-summary-strip{grid-template-columns:1fr}.patient-360-route__stat-grid,.patient-360-route__record-strip{grid-template-columns:1fr 1fr}.patient-360-route__record-strip>div:nth-child(2){border-right:0}.patient-360-route__activity-row{grid-template-columns:auto minmax(0,1fr)}.patient-360-route__activity-time{grid-column:2;text-align:left}}@media(max-width:560px){.patient-360-route__stat-grid{grid-template-columns:1fr}}.ledger-list-item>*,.ledger-workboard-panel__head>*,.ledger-workboard-side-item>*,.ledger-route-screen__header>*,.ledger-route-screen__list-item>*,.ledger-route-screen__stat-item>*,.ledger-module-page .module-header>*,.ledger-module-page .card-header>*,.ledger-clinical__plan-summary-row>*,.ledger-clinical__queue-item>*,.ledger-clinical__queue-item-subcopy>*,.ledger-clinical__queue-meta>*,.ledger-clinical__patient-identity>*,.ledger-clinical__handoff-button>*{min-width:0}.ledger-panel-title,.ledger-panel-subtitle,.ledger-panel-meta,.ledger-list-item__title,.ledger-list-item__meta,.ledger-note,.ledger-workboard-task__note,.ledger-department-row__label,.ledger-route-screen__metric-value,.ledger-route-screen__metric-meta,.ledger-route-screen__band-item strong,.ledger-route-screen__summary-value,.ledger-route-screen__list-title,.ledger-route-screen__list-meta,.ledger-module-page .module-header h1,.ledger-module-page .module-header .subtitle,.ledger-module-page .module-header>p:not(.subtitle),.ledger-module-page .card-header h2,.ledger-module-page .card-header h3,.ledger-module-page .card-header h4,.ledger-module-page .card-body strong,.ledger-module-page .card-body p,.ledger-module-page .card-body span,.ledger-clinical__patient-copy h2,.ledger-clinical__patient-copy p,.ledger-clinical__detail-grid strong,.ledger-clinical__context-footer strong,.ledger-clinical__queue-item strong,.ledger-clinical__queue-item-subcopy span:last-child,.ledger-clinical__queue-meta,.ledger-clinical__objective-live-card strong,.ledger-clinical__plan-card-head strong,.ledger-clinical__plan-summary-row strong,.ledger-clinical__plan-note,.ledger-clinical__rail-note strong,.ledger-clinical__rail-note span,.ledger-clinical__handoff-button small,.ledger-clinical__status-copy strong,.ledger-clinical__status-copy small,.ledger-clinical__triage-card strong,.ledger-clinical__result-card-head strong,.ledger-clinical__result-row strong,.ledger-clinical__result-row p,.ledger-clinical__select-card strong,.ledger-clinical__select-card span,.ledger-clinical__med-row strong,.ledger-clinical__archive-card strong,.ledger-clinical__archive-card span,.ledger-clinical__archive-card p{min-width:0;overflow-wrap:anywhere;word-break:break-word}.ledger-clinical__handoff-button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.45rem .85rem}.ledger-clinical__handoff-button-copy{min-width:0;display:inline-flex;align-items:center;gap:.75rem}.ledger-clinical__handoff-button-copy span:last-child{overflow-wrap:anywhere;word-break:break-word}.ledger-clinical__handoff-button>.app-symbol:last-child{align-self:center}.ledger-clinical__handoff-button small{grid-column:1 / -1;margin:0;padding-left:1.75rem}@media(max-width:720px){.ledger-clinical__handoff-button small{padding-left:0}}.ledger-sidebar__brand-subtitle,.ledger-page-subtitle,.ledger-route-screen__subtitle,.ledger-route-screen__note-row,.ledger-panel-subtitle,.ledger-note,.ledger-workboard-task__note,.ledger-module-page .module-header .subtitle,.ledger-module-page .module-header>p:not(.subtitle),.ledger-module-page .card-header p,.patient-profile-hero-subtitle,.profile-section-eyebrow,.reports-stitch__head p,.reports-compliance__eyebrow,.reports-compliance__nav-footer,.reports-compliance__ledger-foot span{display:none}.ledger-content{padding:1.1rem 1.2rem 1.55rem}.ledger-page,.reports-stitch{gap:1rem}.ledger-page-header,.ledger-route-screen__hero,.ledger-module-page .module-header{gap:.75rem 1rem;padding-bottom:.55rem}.reports-stitch__mode-switch,.reports-stitch__tabs{padding:.16rem}.reports-stitch__mode-switch button,.reports-stitch__tabs button{min-height:2.15rem;padding:0 .82rem}.reports-compliance__masthead{gap:.8rem;padding:1.1rem 1.35rem .9rem}.reports-compliance__main{gap:1rem;padding:1rem 1.35rem 1.35rem}.reports-compliance__ledger-foot{padding:.8rem 1rem;justify-content:flex-end}.profile-settings-sheet{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:2rem;background:#0c0f0f61;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.profile-settings-sheet__dialog{width:min(67rem,calc(100vw - 2rem));max-height:min(51rem,calc(100vh - 2rem));display:flex;flex-direction:column;overflow:hidden;background:var(--stitch-paper);box-shadow:0 24px 60px #2c343524}.profile-settings-sheet__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.8rem 2rem 1rem}.profile-settings-sheet__header h2{margin:0;font-family:var(--ledger-font-headline);font-size:2rem;font-weight:800;letter-spacing:-.06em;color:var(--stitch-ink)}.profile-settings-sheet__header p{margin:.35rem 0 0;color:var(--stitch-muted);font-size:.92rem}.profile-settings-sheet__close{width:2.6rem;height:2.6rem;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:var(--stitch-muted);cursor:pointer}.profile-settings-sheet__tabs{display:flex;gap:2rem;padding:0 2rem;border-bottom:1px solid rgba(171,180,181,.15)}.profile-settings-sheet__tabs button{min-height:3rem;padding:0;border:0;background:transparent;color:var(--stitch-muted);font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.profile-settings-sheet__tabs button.is-active{color:var(--stitch-accent);box-shadow:inset 0 -2px 0 var(--stitch-accent)}.profile-settings-sheet__body{flex:1;overflow:auto;padding:2rem;display:flex;flex-direction:column;gap:2.2rem}.profile-settings-sheet__section{display:flex;flex-direction:column;gap:1.2rem}.profile-settings-sheet__section h3{margin:0;color:var(--stitch-accent);font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.profile-settings-sheet__identity{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.6rem;align-items:start}.profile-settings-sheet__photo{position:relative}.profile-settings-sheet__photo-frame{width:6.5rem;height:6.5rem;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#41655fe6,#2f4d48f5);color:#effcf9;font-family:var(--ledger-font-headline);font-size:1.5rem;font-weight:800}.profile-settings-sheet__photo-frame img{width:100%;height:100%;object-fit:cover}.profile-settings-sheet__photo-button{position:absolute;right:-.45rem;bottom:-.45rem;width:2rem;height:2rem;display:inline-flex;align-items:center;justify-content:center;background:var(--stitch-accent);color:#effcf9;cursor:pointer}.profile-settings-sheet__photo-button input{display:none}.profile-settings-sheet__field-grid,.profile-settings-sheet__security-grid,.profile-settings-sheet__preferences,.profile-settings-sheet__permission-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.profile-settings-sheet__field-grid label,.profile-settings-sheet__security-grid label,.profile-settings-sheet__ledger-row,.profile-settings-sheet__notification-item,.profile-settings-sheet__permission-summary div{display:flex;flex-direction:column;gap:.35rem}.profile-settings-sheet__field-grid span,.profile-settings-sheet__security-grid span,.profile-settings-sheet__ledger-row span,.profile-settings-sheet__section-head span,.profile-settings-sheet__permission-summary span{color:var(--stitch-muted);font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.profile-settings-sheet__field-grid input,.profile-settings-sheet__security-grid input,.profile-settings-sheet__ledger-row input{width:100%;min-height:3rem;border:0;outline:0;background:var(--stitch-plane-low);color:var(--stitch-ink);padding:0 .95rem;font-size:.95rem;font-weight:600}.profile-settings-sheet__ledger{display:flex;flex-direction:column;gap:.1rem}.profile-settings-sheet__ledger-row input{min-height:2.9rem}.profile-settings-sheet__section-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.profile-settings-sheet__section-head span{min-height:1.35rem;display:inline-flex;align-items:center;padding:0 .5rem;background:#e3e9eae6}.profile-settings-sheet__preference-card{padding:1rem;background:var(--stitch-plane-low);border-left:4px solid rgba(65,101,95,.18)}.profile-settings-sheet__preference-title{display:inline-flex;align-items:center;gap:.5rem;color:var(--stitch-ink);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.profile-settings-sheet__preference-title .app-symbol{color:var(--stitch-accent)}.profile-settings-sheet__toggle-row{display:flex;gap:.65rem;margin-top:.9rem}.profile-settings-sheet__toggle-row button{flex:1;min-height:2.35rem;border:0;background:transparent;color:var(--stitch-muted);font-size:.64rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.profile-settings-sheet__toggle-row button.is-active{background:#fff;color:var(--stitch-accent-strong);box-shadow:inset 0 0 0 1px #abb4b52e}.profile-settings-sheet__hint,.profile-settings-sheet__notification-item p{margin:0;color:var(--stitch-muted);font-size:.82rem}.profile-settings-sheet__error,.profile-settings-sheet__success{margin:0;font-size:.82rem;font-weight:600}.profile-settings-sheet__error{color:#a3443f}.profile-settings-sheet__success{color:#00685a}.profile-settings-sheet__audit{overflow:hidden;background:var(--stitch-plane-low)}.profile-settings-sheet__audit table{width:100%;border-collapse:collapse}.profile-settings-sheet__audit th,.profile-settings-sheet__audit td{padding:.85rem 1rem;text-align:left}.profile-settings-sheet__audit thead tr{background:#e3e9ead9}.profile-settings-sheet__audit th{color:var(--stitch-muted);font-size:.6rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.profile-settings-sheet__audit td{border-top:1px solid rgba(171,180,181,.08);color:var(--stitch-ink);font-size:.84rem;font-weight:600}.profile-settings-sheet__audit td.is-muted{color:var(--stitch-muted)}.profile-settings-sheet__audit-pill{min-height:1.5rem;display:inline-flex;align-items:center;padding:0 .6rem;background:#86f6e052;color:#00685a;font-size:.58rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.profile-settings-sheet__notification-list{display:flex;flex-direction:column;gap:.4rem}.profile-settings-sheet__notification-item{flex-direction:row;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;background:var(--stitch-plane-low)}.profile-settings-sheet__notification-item strong{color:var(--stitch-ink);font-size:.92rem;font-weight:700}.profile-settings-sheet__notification-item button{min-width:4rem;min-height:2.2rem;border:0;background:#e3e9eae6;color:var(--stitch-muted);font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}.profile-settings-sheet__notification-item button.is-active{background:var(--stitch-accent);color:#effcf9}.profile-settings-sheet__permission-summary div{padding:1rem;background:var(--stitch-plane-low)}.profile-settings-sheet__permission-summary strong{color:var(--stitch-ink);font-family:var(--ledger-font-headline);font-size:1.2rem;font-weight:800;letter-spacing:-.04em}.profile-settings-sheet__module-grid{display:flex;flex-wrap:wrap;gap:.55rem}.profile-settings-sheet__module-pill{min-height:2rem;display:inline-flex;align-items:center;padding:0 .8rem;background:var(--stitch-plane-low);color:var(--stitch-accent-strong);font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.profile-settings-sheet__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.8rem;background:var(--stitch-plane-low);border-top:1px solid rgba(171,180,181,.1)}.profile-settings-sheet__signout,.profile-settings-sheet__cancel,.profile-settings-sheet__save{min-height:2.75rem;border:0;cursor:pointer}.profile-settings-sheet__signout{display:inline-flex;align-items:center;gap:.45rem;background:transparent;color:#a3443f;font-size:.63rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.profile-settings-sheet__footer-actions{display:inline-flex;gap:.7rem}.profile-settings-sheet__cancel{padding:0 1.1rem;background:transparent;color:var(--stitch-muted);font-size:.63rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.profile-settings-sheet__save{padding:0 1.35rem;background:linear-gradient(145deg,var(--stitch-accent),var(--stitch-accent-strong));color:#effcf9;font-size:.63rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.profile-settings-sheet__save:disabled{opacity:.65;cursor:progress}@media(max-width:980px){.profile-settings-sheet__dialog{width:100%;max-height:calc(100vh - 1rem)}.profile-settings-sheet__identity,.profile-settings-sheet__field-grid,.profile-settings-sheet__security-grid,.profile-settings-sheet__preferences,.profile-settings-sheet__permission-summary{grid-template-columns:1fr}}@media(max-width:720px){.profile-settings-sheet{padding:.5rem}.profile-settings-sheet__header,.profile-settings-sheet__body,.profile-settings-sheet__footer{padding-inline:1rem}.profile-settings-sheet__tabs{gap:1rem;padding-inline:1rem;overflow-x:auto}.profile-settings-sheet__notification-item,.profile-settings-sheet__footer{flex-direction:column;align-items:stretch}.profile-settings-sheet__footer-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}}:root[data-theme=dark] .profile-settings-sheet{--profile-surface: rgba(52, 72, 76, .94);--profile-surface-soft: rgba(44, 61, 65, .96);--profile-surface-strong: rgba(33, 48, 52, .98);--profile-border: rgba(173, 198, 198, .16)}:root[data-theme=dark] .profile-settings-sheet__dialog,:root[data-theme=dark] .profile-settings-sheet__audit,:root[data-theme=dark] .profile-settings-sheet__notification-item,:root[data-theme=dark] .profile-settings-sheet__permission-summary div{background:var(--profile-surface);border-color:var(--profile-border);box-shadow:none}:root[data-theme=dark] .profile-settings-sheet__tabs,:root[data-theme=dark] .profile-settings-sheet__field-grid input,:root[data-theme=dark] .profile-settings-sheet__security-grid input,:root[data-theme=dark] .profile-settings-sheet__ledger-row input,:root[data-theme=dark] .profile-settings-sheet__preference-card,:root[data-theme=dark] .profile-settings-sheet__toggle-row button,:root[data-theme=dark] .profile-settings-sheet__section-head span,:root[data-theme=dark] .profile-settings-sheet__audit thead tr,:root[data-theme=dark] .profile-settings-sheet__notification-item button,:root[data-theme=dark] .profile-settings-sheet__module-pill,:root[data-theme=dark] .profile-settings-sheet__cancel{background:var(--profile-surface-soft);border-color:var(--profile-border)}:root[data-theme=dark] .profile-settings-sheet__tabs,:root[data-theme=dark] .profile-settings-sheet__audit td{border-color:#adc6c61f}:root[data-theme=dark] .profile-settings-sheet__toggle-row button.is-active{background:var(--profile-surface-strong);color:#f3f7f7;box-shadow:inset 0 0 0 1px #adc6c629}
