@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap";.patients-workspace-container{min-height:calc(100vh - 64px);font-family:var(--font-inter,"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);color:#0f172a;background-color:#f8fafc;flex-direction:column;gap:16px;padding:20px 28px;display:flex}@media (width<=1200px){.patients-workspace-container{gap:14px;padding:16px 20px}}.patients-top-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.patients-header-titles{flex-direction:column;gap:2px;min-width:200px;display:flex}.patients-breadcrumb{color:#64748b;align-items:center;gap:6px;font-size:12px;font-weight:500;display:flex}.patients-main-title{color:#0b192c;letter-spacing:-.02em;margin:0;font-size:22px;font-weight:800;line-height:1.2}.patients-sub-desc{color:#64748b;margin:2px 0 0;font-size:12px}.patients-header-right-cluster{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.patients-kpi-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.patient-kpi-pill-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:12px;min-width:140px;padding:10px 14px;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 1px 3px #0f172a08}.patient-kpi-pill-card:hover{transform:translateY(-1px);box-shadow:0 3px 8px #0f172a0f}.kpi-avatar-disc{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.disc-blue{color:#0284c7;background-color:#f0f9ff;border:1px solid #bae6fd}.disc-teal{color:#0d9488;background-color:#ecfdf5;border:1px solid #a7f3d0}.disc-indigo{color:#3b82f6;background-color:#eff6ff;border:1px solid #bfdbfe}.disc-royal{color:#2563eb;background-color:#eff6ff;border:1px solid #bfdbfe}.kpi-pill-info{flex-direction:column;display:flex}.kpi-pill-label{color:#64748b;white-space:nowrap;font-size:11px;font-weight:500}.kpi-pill-number{color:#0f172a;margin:1px 0;font-size:18px;font-weight:800;line-height:1.1}.kpi-pill-growth{color:#10b981;white-space:nowrap;align-items:center;gap:2px;font-size:10px;font-weight:600;display:flex}.patients-header-actions-group{align-items:center;gap:8px;display:flex}.btn-green-add{color:#fff;cursor:pointer;white-space:nowrap;background-color:#00a86b;border:none;border-radius:10px;align-items:center;gap:6px;height:40px;padding:0 16px;font-size:13px;font-weight:700;transition:all .18s;display:inline-flex;box-shadow:0 2px 6px #00a86b47}.btn-green-add:hover{background-color:#00915c;transform:translateY(-1px);box-shadow:0 4px 12px #00a86b61}.btn-white-refresh{color:#334155;cursor:pointer;white-space:nowrap;background-color:#fff;border:1.5px solid #cbd5e1;border-radius:10px;align-items:center;gap:6px;height:40px;padding:0 14px;font-size:13px;font-weight:600;transition:all .18s;display:inline-flex;box-shadow:0 1px 2px #0000000a}.btn-white-refresh:hover:not(:disabled){color:#0f172a;background-color:#f8fafc;border-color:#94a3b8;transform:translateY(-1px)}.patients-filter-deck{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex;box-shadow:0 1px 3px #0f172a05}.deck-search-box{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;flex:1;align-items:center;gap:8px;min-width:220px;max-width:380px;height:38px;padding:0 12px;transition:all .2s;display:flex}.deck-search-box:focus-within{background:#fff;border-color:#0284c7;box-shadow:0 0 0 3px #0284c71f}.deck-search-input-field{color:#0f172a;background:0 0;border:none;outline:none;width:100%;font-size:13px}.deck-search-input-field::placeholder{color:#94a3b8}.deck-dropdowns-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.deck-filter-select{appearance:none;color:#334155;cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center no-repeat;border:1px solid #cbd5e1;border-radius:8px;outline:none;height:38px;padding:0 28px 0 12px;font-size:12px;font-weight:500;transition:all .15s}.deck-filter-select:hover{border-color:#94a3b8}.deck-filter-select:focus{border-color:#0284c7;box-shadow:0 0 0 3px #0284c71f}.deck-clear-filters-btn{color:#64748b;cursor:pointer;background:0 0;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:5px;height:38px;padding:0 12px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.deck-clear-filters-btn:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}.patients-split-grid{align-items:start;gap:16px;transition:all .3s;display:grid}.patients-split-grid.has-detail-open{grid-template-columns:minmax(0,1fr) 420px}.patients-split-grid.no-detail-open{grid-template-columns:1fr}@media (width<=1280px){.patients-split-grid.has-detail-open{grid-template-columns:minmax(0,1fr) 380px}}@media (width<=1024px){.patients-split-grid.has-detail-open{grid-template-columns:1fr}}.directory-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 1px 3px #0f172a08}.directory-table-scroll-container{width:100%;overflow-x:auto}.ref-patients-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%}.ref-patients-table thead{background-color:#f8fafc;border-bottom:1px solid #e2e8f0}.ref-patients-table th{color:#475569;letter-spacing:.03em;white-space:nowrap;-webkit-user-select:none;user-select:none;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-size:11px;font-weight:700}.th-sortable{cursor:pointer;align-items:center;gap:4px;display:inline-flex}.th-sortable:hover{color:#0f172a}.ref-patients-table tbody tr{cursor:pointer;border-bottom:1px solid #f1f5f9;transition:background-color .15s}.ref-patients-table tbody tr:hover{background-color:#f8fafc}.ref-patients-table tbody tr.is-selected-row{background-color:#f0f9ff}.ref-patients-table td{color:#0f172a;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:12px 16px;font-size:13px}.row-check-input{accent-color:#0284c7;cursor:pointer;border:1.5px solid #cbd5e1;border-radius:4px;width:15px;height:15px}.patient-cell-flex{align-items:center;gap:12px;display:flex}.patient-avatar-circle{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:12px;font-weight:700;display:flex}.patient-name-block{flex-direction:column;display:flex}.patient-row-name{color:#0f172a;font-size:13.5px;font-weight:700;line-height:1.2}.patient-row-mrn{color:#0284c7;margin-top:1px;font-family:ui-monospace,monospace;font-size:11px;font-weight:600}.status-pill-badge{letter-spacing:.02em;border-radius:9999px;align-items:center;padding:3px 10px;font-size:11px;font-weight:700;display:inline-flex}.status-active{color:#15803d;background-color:#ecfdf5;border:1px solid #a7f3d0}.status-followup{color:#d97706;background-color:#fffbeb;border:1px solid #fde68a}.status-inactive{color:#64748b;background-color:#f1f5f9;border:1px solid #e2e8f0}.btn-row-action-dots{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:inline-flex}.btn-row-action-dots:hover{color:#0f172a;background-color:#e2e8f0}.directory-table-footer{color:#64748b;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;font-size:12px;display:flex}.ref-pagination-bar{align-items:center;gap:4px;display:flex}.page-num-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 6px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.page-num-btn:hover:not(:disabled){color:#0f172a;background-color:#f8fafc;border-color:#cbd5e1}.page-num-btn.is-active-page{color:#fff;background-color:#0284c7;border-color:#0284c7;font-weight:700}.page-num-btn:disabled{color:#cbd5e1;cursor:not-allowed;border-color:#f1f5f9}.patient-detail-dossier-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:16px;padding:20px;display:flex;position:relative;box-shadow:0 2px 8px #0f172a0d}.dossier-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:flex;position:absolute;top:14px;right:14px}.dossier-close-btn:hover{color:#0f172a;background-color:#f1f5f9}.dossier-profile-header{align-items:flex-start;gap:14px;padding-right:32px;display:flex}.dossier-big-avatar{color:#0369a1;background-color:#e0f2fe;border:2px solid #bae6fd;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:16px;font-weight:800;display:flex}.dossier-name-area{flex-direction:column;display:flex}.dossier-name-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dossier-patient-name{color:#0f172a;margin:0;font-size:18px;font-weight:800}.dossier-mrn-pill{color:#0369a1;background-color:#e0f2fe;border:1px solid #bae6fd;border-radius:4px;padding:1px 6px;font-family:monospace;font-size:11px;font-weight:700}.dossier-sub-meta{color:#64748b;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;font-size:12px;display:flex}.dossier-actions-row{align-items:center;gap:8px;display:flex}.btn-dossier-primary-consult{color:#fff;cursor:pointer;background-color:#0284c7;border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;height:38px;font-size:13px;font-weight:700;transition:all .18s;display:inline-flex;box-shadow:0 2px 6px #0284c740}.btn-dossier-primary-consult:hover{background-color:#0369a1;transform:translateY(-1px)}.btn-dossier-outline-book{color:#0284c7;cursor:pointer;background-color:#fff;border:1.5px solid #0284c7;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;height:38px;font-size:13px;font-weight:700;transition:all .18s;display:inline-flex}.btn-dossier-outline-book:hover{background-color:#f0f9ff;transform:translateY(-1px)}.btn-dossier-icon-edit{color:#475569;cursor:pointer;background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .15s;display:inline-flex}.btn-dossier-icon-edit:hover{color:#0f172a;background-color:#e2e8f0}.dossier-tabs-nav{border-bottom:1px solid #e2e8f0;align-items:center;gap:16px;margin-top:4px;display:flex}.dossier-tab-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:8px 0;font-size:13px;font-weight:600;transition:all .15s}.dossier-tab-btn:hover{color:#0f172a}.dossier-tab-btn.active{color:#0284c7;border-bottom-color:#0284c7;font-weight:700}.dossier-card-section{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}.section-head-row{justify-content:space-between;align-items:center;display:flex}.section-title-label{color:#0f172a;align-items:center;gap:6px;font-size:13px;font-weight:700;display:flex}.section-link-action{color:#0284c7;cursor:pointer;background:0 0;border:none;font-size:11px;font-weight:700}.section-link-action:hover{text-decoration:underline}.overview-data-grid{grid-template-columns:1fr 1fr;gap:10px;font-size:12px;display:grid}.overview-data-item{flex-direction:column;display:flex}.overview-item-label{color:#64748b;font-size:11px}.overview-item-val{color:#0f172a;margin-top:1px;font-size:12.5px;font-weight:600}.dossier-vitals-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.vital-metric-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;padding:8px 10px;display:flex}.vital-box-label{color:#64748b;text-transform:uppercase;font-size:10px;font-weight:700}.vital-box-value{color:#0f172a;margin:2px 0 1px;font-size:14px;font-weight:800}.vital-box-sub{color:#94a3b8;font-size:9px}.history-items-list{flex-direction:column;gap:8px;display:flex}.history-item-row{align-items:flex-start;gap:8px;font-size:12px;display:flex}.history-icon-box{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;display:flex}.history-item-content{flex-direction:column;display:flex}.history-item-title{color:#0f172a;font-weight:700;line-height:1.2}.history-item-desc{color:#64748b;margin-top:1px;font-size:11px}.encounter-rows-list{flex-direction:column;gap:6px;display:flex}.encounter-row-item{color:#334155;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:4px 0;font-size:12px;display:flex}.encounter-row-item:last-child{border-bottom:none}:root{--font-inter:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-family:var(--font-inter);--q-slate-50:#f8fafc;--q-slate-100:#f1f5f9;--q-slate-200:#e2e8f0;--q-slate-300:#cbd5e1;--q-slate-400:#94a3b8;--q-slate-500:#64748b;--q-slate-600:#475569;--q-slate-700:#334155;--q-slate-800:#1e293b;--q-slate-900:#0f172a;--q-teal-50:#f0fdf4;--q-teal-100:#ccfbf1;--q-teal-500:#0d9488;--q-teal-600:#0f766e;--q-teal-700:#115e59;--q-cyan-50:#e0f2fe;--q-cyan-500:#0284c7;--q-cyan-600:#0369a1;--q-emerald-50:#ecfdf5;--q-emerald-600:#16a34a;--q-amber-50:#fffbeb;--q-amber-500:#f59e0b;--q-rose-50:#fff1f2;--q-rose-600:#e11d48;--nexura-primary:#116fb7;--nexura-primary-hover:#0d5a96;--nexura-primary-light:#e0f2fe;--nexura-primary-subtle:#f0f7ff;--nexura-secondary:#22c55e;--nexura-secondary-hover:#16a34a;--nexura-secondary-light:#dcfce7;--nexura-secondary-subtle:#f0fdf4;--color-primary:var(--q-teal-500);--color-primary-hover:var(--q-teal-600);--color-primary-light:var(--q-teal-100);--color-primary-subtle:var(--q-teal-50);--color-bg:var(--q-slate-50);--color-surface:#fff;--color-sidebar:var(--q-slate-900);--color-border:var(--q-slate-200);--color-border-subtle:var(--q-slate-100);--color-text-main:var(--q-slate-900);--color-text-muted:var(--q-slate-500);--color-text-subtle:var(--q-slate-400);--q-bg-light:#f4f7fb;--q-surface-white:#fff;--q-surface-subtle:#f8fafc;--q-surface-nested:#f1f5f9;--q-border-light:#e0e0e0;--q-border-subtle:#e8ecef;--q-navy-primary:#001f5b;--q-navy-dark:#001642;--q-navy-muted:#334e7b;--q-teal-accent:#20b2aa;--q-teal-hover:#179b94;--q-teal-subtle:#20b2aa1f;--q-teal-glow:#20b2aa40;--q-text-heading:#001f5b;--q-text-body:#2d3748;--q-status-success:#20b2aa;--q-status-warning:#d97706;--q-status-error:#dc2626;--radius-xs:4px;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-full:9999px;--shadow-sm:0 1px 2px 0 #0f172a0d;--shadow-md:0 4px 6px -1px #0f172a12, 0 2px 4px -2px #0f172a0d;--shadow-lg:0 10px 15px -3px #0f172a14;--shadow-xl:0 20px 25px -5px #0f172a1a}*{box-sizing:border-box;font-family:var(--font-inter);margin:0;padding:0}body,button,input,select,textarea,table,th,td,h1,h2,h3,h4,h5,h6,span,div,p,a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:var(--font-inter)!important}html,body,#root{max-width:100%;position:relative;overflow-x:hidden}body{background-color:var(--color-bg);color:var(--color-text-main);line-height:1.5}@media (width<=768px){.table-responsive{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--q-slate-300);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--q-slate-400)}h1,h2,h3,h4,h5,h6{color:var(--color-text-main);letter-spacing:-.02em;font-weight:700}button{cursor:pointer;border:none;outline:none;font-family:inherit;transition:all .15s ease-in-out}input,select,textarea{border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-main);background-color:#fff;outline:none;padding:8px 12px;font-family:inherit;font-size:13px;transition:all .15s ease-in-out}input:focus,select:focus,textarea:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px #0d948826}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInRight{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@keyframes pulseSubtle{0%,to{opacity:1}50%{opacity:.6}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes slideLeft{0%{transform:translate(100%)}to{transform:translate(0)}}.animate-spin{animation:1s linear infinite spin}.animate-fade-in{animation:.2s ease-out forwards fadeIn}.animate-slide-in{animation:.2s ease-out forwards slideInRight}.animate-pulse-subtle{animation:1.5s ease-in-out infinite pulseSubtle}
