:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f7f9fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}.app-shell{display:flex;min-height:100vh;background:#f7f9fc}.sidebar{display:flex;position:fixed;z-index:2;width:250px;height:100vh;flex-direction:column;padding:26px 14px 18px;border-right:1px solid #e8edf4;background:#fff}.sidebar-brand{display:flex;align-items:center;gap:9px;padding:0 12px;color:#12213a;font-size:21px;font-weight:780;letter-spacing:-.9px}.brand-symbol{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;color:#fff;font-size:16px;background:linear-gradient(135deg,#2879ea,#1f57bb)}.workspace-label{margin:38px 12px 10px;color:#93a1b7;font-size:10px;font-weight:750;letter-spacing:1.15px}.side-nav{display:grid;gap:3px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-radius:9px;color:#65738a;font-size:14px;font-weight:600;text-align:left;background:transparent}.nav-item:hover{background:#f5f8fc}.nav-item.active{color:#236fe0;background:#edf5ff}.nav-icon{width:18px;color:currentColor;font-size:19px;line-height:16px;text-align:center}.sidebar-bottom{margin-top:auto}.workspace-card{display:flex;align-items:center;gap:9px;margin:0 2px 17px;padding:10px;border-radius:10px;background:#f7f9fc}.hospital-avatar,.doctor-avatar{display:grid;flex:0 0 auto;place-items:center;border-radius:7px;color:#286bce;background:#e1efff;font-size:10px;font-weight:800}.hospital-avatar{width:28px;height:28px}.workspace-card div{min-width:0;flex:1}.workspace-card strong,.workspace-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-card strong{color:#344158;font-size:11px}.workspace-card small{margin-top:2px;color:#8996a9;font-size:9px}.chevron{color:#8a98aa}.help-link{display:flex;align-items:center;gap:9px;width:100%;padding:9px 12px;border:0;color:#78869a;font-size:13px;text-align:left;background:transparent}.help-link span{display:grid;width:17px;height:17px;place-items:center;border:1px solid #afbbc9;border-radius:50%;font-size:11px}.workspace{width:calc(100% - 250px);margin-left:250px}.topbar{display:flex;height:72px;align-items:center;justify-content:space-between;padding:0 43px;border-bottom:1px solid #e8edf4;background:#ffffffe6}.breadcrumb{display:flex;gap:10px;align-items:center;color:#8a98aa;font-size:13px}.breadcrumb b{color:#c2cad6;font-weight:500}.breadcrumb strong{color:#47556b}.topbar-actions{display:flex;align-items:center;gap:19px;margin-left:auto}.icon-button{position:relative;width:31px;height:31px;border:0;color:#6f7e93;font-size:20px;background:transparent}.icon-button i{position:absolute;top:5px;right:3px;width:6px;height:6px;border:1px solid #fff;border-radius:50%;background:#ef5350}.doctor-menu{display:flex;align-items:center;gap:8px;border:0;color:#536177;text-align:left;background:transparent}.doctor-avatar{width:32px;height:32px;color:#825a53;background:#f8e6df}.doctor-menu span:not(.doctor-avatar){display:grid;gap:2px}.doctor-menu strong{color:#344158;font-size:12px}.doctor-menu small{color:#8b98aa;font-size:10px}.doctor-menu b{margin-left:4px;color:#a2adbd;font-weight:500}.main-content{max-width:1500px;margin:0 auto;padding:39px 43px 55px}.page-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:30px}.eyebrow{margin:0 0 7px;color:#5590e9;font-size:10px;font-weight:800;letter-spacing:1.25px}.page-heading h1{margin:0;color:#172338;font-size:30px;letter-spacing:-1.2px}.page-heading p:not(.eyebrow){margin:7px 0 0;color:#758399;font-size:14px}.primary-action{min-height:40px;padding:0 16px;border:0;border-radius:9px;color:#fff;font-size:13px;font-weight:700;background:#2f80ed;box-shadow:0 4px 9px #2f80ed2e}.primary-action:hover{background:#2473dc}.outline-button{min-height:38px;padding:0 13px;border:1px solid #dce4ef;border-radius:8px;color:#536178;font-size:13px;font-weight:650;background:#fff}.patient-layout{display:grid;grid-template-columns:minmax(375px,.84fr) minmax(500px,1.3fr);gap:22px}.patient-list-panel,.patient-profile{border:1px solid #e8edf4;border-radius:13px;background:#fff;box-shadow:0 3px 12px #1c355806}.patient-list-panel{overflow:hidden}.search-wrap{display:flex;align-items:center;gap:9px;margin:19px 19px 13px;padding:0 11px;border:1px solid #dce5f0;border-radius:8px;color:#93a1b4;background:#fff}.search-wrap span{font-size:21px}.search-wrap input{width:100%;height:41px;border:0;outline:none;color:#344158;font-size:13px}.search-wrap input::placeholder{color:#a3afc0}.search-wrap kbd{padding:3px 5px;border:1px solid #e2e8f0;border-radius:4px;color:#a3afc0;font-size:9px;white-space:nowrap;background:#f9fafc}.filter-row{display:flex;gap:4px;padding:0 15px 16px;border-bottom:1px solid #edf1f6}.filter{padding:6px 8px;border:0;border-radius:6px;color:#8290a4;font-size:11px;font-weight:650;background:transparent}.filter.active{color:#2874e0;background:#eff6ff}.filter b{margin-left:3px;font-size:10px}.list-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 8px;color:#98a5b6;font-size:10px;font-weight:750;letter-spacing:.9px}.list-heading button,.text-button{border:0;color:#347ee6;font-size:11px;font-weight:700;background:none}.patient-list{padding:0 9px 10px}.patient-row{display:flex;position:relative;width:100%;align-items:center;gap:11px;padding:12px 10px;border:0;border-radius:9px;color:#314058;text-align:left;background:transparent}.patient-row:hover{background:#f7faff}.patient-row.selected{background:#eff6ff}.patient-row.selected:before{position:absolute;left:-9px;width:3px;height:34px;border-radius:0 4px 4px 0;content:"";background:#3382eb}.patient-avatar{display:grid;width:35px;height:35px;flex:0 0 auto;place-items:center;border-radius:50%;font-size:11px;font-weight:750}.patient-avatar.purple{color:#7554b8;background:#eee7fa}.patient-avatar.blue{color:#397dc4;background:#e1efff}.patient-avatar.orange{color:#b56a38;background:#fcebdc}.patient-avatar.green{color:#35846c;background:#dff4ed}.patient-avatar.large{width:48px;height:48px;font-size:14px}.patient-info{min-width:0;flex:1}.patient-info strong,.patient-info small,.patient-info em{display:block}.patient-info strong{font-size:13px}.patient-info small{margin-top:3px;color:#8b99ac;font-size:10px}.patient-info em{margin-top:4px;color:#64748b;font-size:11px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.patient-status{display:grid;gap:4px;width:92px;color:#94a0b1;font-size:10px;line-height:1.15}.patient-status i{width:6px;height:6px;border-radius:50%}.patient-status .success{background:#38b98b}.patient-status .warning{background:#f3ae42}.row-arrow{color:#b3becb;font-size:21px;font-weight:400}.patient-profile{padding:24px 26px}.profile-top,.profile-person,.patient-title,.section-title{display:flex;align-items:center}.profile-top,.section-title{justify-content:space-between}.profile-person{gap:13px}.patient-title{gap:9px}.patient-title h2{margin:0;color:#26344b;font-size:20px;letter-spacing:-.6px}.patient-title span{padding:3px 7px;border-radius:10px;color:#268e69;font-size:10px;font-weight:750;background:#e6f8f0}.profile-person p{margin:4px 0 0;color:#8592a5;font-size:12px}.profile-tabs{display:flex;gap:21px;margin-top:28px;border-bottom:1px solid #e8edf4}.profile-tabs button{position:relative;padding:0 0 12px;border:0;color:#7c899d;font-size:12px;font-weight:650;background:none}.profile-tabs button.active{color:#2778e5}.profile-tabs button.active:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;content:"";background:#2f80ed}.profile-tabs b{padding:1px 4px;border-radius:5px;color:#708097;font-size:9px;background:#eef2f7}.profile-section{padding-top:23px}.section-title h3{margin:0;color:#334158;font-size:14px}.section-title p{margin:4px 0 0;color:#96a1b1;font-size:10px}.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin-top:14px;border:1px solid #e9eef5;border-radius:9px;overflow:hidden;background:#e9eef5}.overview-grid div{min-height:84px;padding:13px 14px;background:#fff}.overview-grid small,.overview-grid strong,.overview-grid span{display:block}.overview-grid small{margin-bottom:6px;color:#9ba8b9;font-size:9px;font-weight:800;letter-spacing:.55px}.overview-grid strong{color:#3c4a60;font-size:12px}.overview-grid span{margin-top:4px;color:#8491a4;font-size:10px}.activity-timeline{display:grid;gap:0;margin-top:12px}.activity-timeline>div{display:flex;position:relative;gap:11px;min-height:57px}.activity-timeline>div:before{position:absolute;top:15px;bottom:-3px;left:4px;width:1px;content:"";background:#e2e8f0}.activity-timeline>div:last-child:before{display:none}.dot{width:9px;height:9px;flex:0 0 auto;margin-top:4px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px currentColor}.dot.blue{color:#438ce9;background:#438ce9}.dot.green{color:#4fb58a;background:#4fb58a}.dot.grey{color:#abb7c6;background:#abb7c6}.activity-timeline span{flex:1}.activity-timeline strong,.activity-timeline small{display:block}.activity-timeline strong{color:#46546a;font-size:12px}.activity-timeline small{margin-top:4px;color:#8996a8;font-size:10px}.activity-timeline button{margin-top:0;border:0;color:#2f80ed;font-size:10px;font-weight:700;background:none}.ai-summary-layout{display:grid;grid-template-columns:minmax(200px,228px) minmax(0,1fr) minmax(248px,276px);width:100%;min-height:calc(100vh - 56px);height:auto;border:1px solid #e2e8f0;border-radius:13px;overflow:visible;background:#fff;margin:-25px -24px}.ai-source-panel{display:flex;flex-direction:column;border-right:1px solid #e2e8f0;background:#fff;overflow-y:auto;min-height:0}.ai-source-header{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#64748b;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.ai-source-list{flex:1;overflow-y:auto;padding:12px;display:grid;gap:4px}.ai-source-item{display:flex;align-items:flex-start;gap:8px;width:100%;padding:10px;border:0;border-radius:8px;color:inherit;text-align:left;background:transparent;cursor:pointer;transition:.1s ease}.ai-source-item:hover{background:#f8fafc}.ai-doc-icon{display:grid;width:13px;height:13px;flex:0 0 auto;place-items:center;color:#94a3b8;margin-top:2px}.ai-source-info{min-width:0}.ai-source-name{color:#334155;font-size:12px;font-weight:500;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-source-type{color:#94a3b8;font-size:10px;margin-top:2px}.ai-source-processing{color:#d97706;font-size:10px;font-weight:500;margin-top:2px}.ai-source-empty{padding:24px 16px;color:#94a3b8;font-size:12px;text-align:center}.ai-doc-status{flex:0 0 auto;font-size:10px;font-weight:700}.ai-doc-status.ready{color:#059669}.ai-doc-status.processing{color:#d97706}.ai-confidence-footer{padding:12px 16px;border-top:1px solid #f1f5f9}.ai-confidence-label{color:#94a3b8;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}.ai-confidence-bar{height:6px;border-radius:3px;background:#f1f5f9;overflow:hidden}.ai-confidence-fill{height:100%;border-radius:3px;background:#10b981;transition:width .4s ease}.ai-confidence-value{display:block;margin-top:4px;color:#059669;font-size:12px;font-weight:700;text-align:right}.ai-summary-center{display:flex;flex-direction:column;overflow:visible;background:#fff;min-height:0;overflow-wrap:break-word}.ai-progress-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:64px 24px;text-align:center}.ai-progress-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#3b82f6;border-radius:50%;animation:ai-spin .8s linear infinite}@keyframes ai-spin{to{transform:rotate(360deg)}}.ai-progress-title{margin:0;font-size:18px;font-weight:600;color:#0f172a}.ai-progress-subtitle{margin:0;font-size:13px;color:#94a3b8}.ai-stop-button{display:inline-flex;align-items:center;gap:8px;margin-top:4px;padding:8px 18px;border:1px solid #ef5350;border-radius:8px;color:#d33f3f;background:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease}.ai-stop-button:hover{background:#fef2f2}.ai-stop-button:disabled{cursor:not-allowed;opacity:.6}.ai-stop-spinner{width:12px;height:12px;border:2px solid #fecaca;border-top-color:#d33f3f;border-radius:50%;animation:ai-spin .8s linear infinite}.ai-stop-status{margin:0;font-size:12px}.ai-stop-status.success{color:#1e8e3e}.ai-stop-status.error{color:#d33f3f}.ai-progress-steps{display:flex;flex-direction:column;gap:10px;margin-top:12px;min-width:280px;text-align:left}.ai-progress-step{display:flex;align-items:center;gap:10px;padding:8px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;color:#334155}.ai-progress-step-dot{width:8px;height:8px;border-radius:50%;background:#3b82f6;flex-shrink:0;animation:ai-dot-pulse 1.2s ease-in-out infinite}@keyframes ai-dot-pulse{0%,to{opacity:1}50%{opacity:.3}}.ai-progress-step-label{flex:1}.ai-progress-step-error{color:#ef4444;font-size:12px}.ai-progress-docs{margin-top:8px;width:100%}.ai-progress-docs-text{display:block;margin-bottom:4px;color:#64738a;font-size:11px;font-weight:600}.ai-progress-docs-bar{width:100%;height:4px;border-radius:4px;background:#e2e8f0;overflow:hidden}.ai-progress-docs-fill{height:100%;border-radius:4px;background:#3b82f6;transition:width .5s ease}.ai-patient-picker{width:100%;max-width:720px;margin:48px auto;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 8px 30px #0f172a0f;overflow:hidden}.ai-patient-picker-head{display:flex;align-items:center;gap:12px;padding:20px 24px 16px}.ai-patient-picker-icon{width:38px;height:38px;border-radius:10px;background:#eff6ff;color:#2f80ed;display:grid;place-items:center;flex-shrink:0}.ai-patient-picker-title{margin:0;font-size:17px;font-weight:600;color:#0f172a}.ai-patient-picker-sub{margin:2px 0 0;font-size:13px;color:#94a3b8}.ai-patient-search{display:flex;align-items:center;gap:8px;margin:0 24px 16px;padding:9px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#94a3b8;transition:.15s ease}.ai-patient-search:focus-within{border-color:#2f80ed;background:#fff;box-shadow:0 0 0 3px #2f80ed1f}.ai-patient-search input{flex:1;border:0;outline:0;background:transparent;font-size:13px;color:#0f172a}.ai-patient-search input::placeholder{color:#94a3b8}.ai-patient-list-head{display:flex;align-items:center;justify-content:space-between;padding:0 24px 8px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#94a3b8}.ai-patient-list{display:flex;flex-direction:column;padding:0 12px 12px;max-height:420px;overflow-y:auto}.ai-patient-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-radius:10px;background:transparent;cursor:pointer;text-align:left;transition:.12s ease}.ai-patient-row:hover{background:#f8fafc}.ai-patient-avatar{width:38px;height:38px;border-radius:50%;background:#ede9fe;color:#7c3aed;display:grid;place-items:center;font-size:13px;font-weight:700;flex-shrink:0}.ai-patient-main{display:flex;flex-direction:column;min-width:0;flex:1}.ai-patient-name{font-size:14px;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-patient-meta{font-size:12px;color:#94a3b8;margin-top:2px}.ai-patient-dx{font-size:12px;color:#64748b;background:#f1f5f9;border-radius:6px;padding:4px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px;flex-shrink:0}.ai-patient-arrow{color:#cbd5e1;flex-shrink:0;transition:.12s ease}.ai-patient-row:hover .ai-patient-arrow{color:#2f80ed;transform:translate(2px)}.ai-patient-empty{margin:0;padding:24px;text-align:center;font-size:13px;color:#94a3b8}.ai-summary-sticky-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;row-gap:8px;padding:12px 24px;border-bottom:1px solid #e2e8f0;background:#fff}.ai-summary-title-row{display:flex;align-items:center;gap:8px}.ai-summary-title{color:#0f172a;font-size:14px;font-weight:600}.ai-summary-patient{color:#94a3b8;font-size:12px}.ai-summary-progress-text{color:#94a3b8;font-size:11px;margin-top:2px}.ai-summary-export{display:flex;align-items:center;gap:10px}.ai-progress-bar-mini{width:96px;height:6px;border-radius:3px;background:#f1f5f9;overflow:hidden}.ai-progress-fill-mini{height:100%;border-radius:3px;background:#10b981;transition:width .3s ease}.ai-export-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;border:0;border-radius:12px;color:#fff;font-size:12px;font-weight:500;background:#2f80ed;cursor:pointer;transition:.15s ease}.ai-export-btn:hover{opacity:.9}.ai-quick-refresh{position:relative;display:flex}.ai-quick-refresh-btn{background:#f8fafc;color:#334155;border:1px solid #e2e8f0}.ai-quick-refresh-btn:hover{opacity:1;background:#f1f5f9}.ai-dots-btn{background:#f8fafc;color:#334155;border:1px solid #e2e8f0;padding:8px 10px}.ai-dots-btn:hover{opacity:1;background:#f1f5f9}.ai-adv-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:180px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 8px 24px #0f172a1f;padding:6px;z-index:50}.ai-adv-menu-title{font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8;padding:6px 10px 4px}.ai-adv-item{display:block;width:100%;text-align:left;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#334155;font-size:13px;cursor:pointer;transition:.12s ease}.ai-adv-item:hover{background:#f1f5f9;color:#2f80ed}.ai-sections-list{flex:1;overflow-y:auto;padding:20px;display:grid;gap:8px;align-content:start;min-height:0}.ai-patient-card{display:flex;align-items:center;gap:16px;margin-bottom:12px;padding:16px 20px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:#0000000d 0 1px 3px}.ai-patient-card-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#4f46e5);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:600;flex-shrink:0}.ai-patient-card-info{flex:1;min-width:0}.ai-patient-card-name{margin:0;font-size:15px;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-patient-card-meta{margin:2px 0 0;font-size:13px;color:#9ca3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ai-patient-alerts{flex-shrink:0;font-size:12px;font-weight:500;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:999px;padding:4px 10px}.ai-section-card{border:1px solid #e5e7eb;border-radius:12px;overflow:visible;box-shadow:#0000000d 0 1px 3px;background:#fff;transition:.15s ease}.ai-section-card:hover{border-color:#cbd5e1}.ai-section-card.accepted{border-color:#a7f3d0}.ai-section-card.expanded{border-color:#e5e7eb}.ai-section-header{display:flex;align-items:center;gap:12px;width:100%;padding:16px 20px;border:0;color:inherit;text-align:left;background:transparent;cursor:pointer;transition:.1s ease}.ai-section-header:hover{background:#f9fafb}.ai-section-check{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 auto;border:2px solid #cbd5e1;border-radius:50%;transition:.15s ease}.ai-section-check.checked{border-color:#059669;background:#ecfdf5}.ai-section-title{flex:1;color:#111827;font-size:15px;font-weight:600}.ai-section-badge{flex-shrink:0;font-size:12px;font-weight:500;color:#6b7280;background:#f3f4f6;border-radius:999px;padding:2px 10px}.ai-section-badge.active{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.ai-section-conf{font-size:12px;font-weight:700;margin-right:8px}.ai-section-conf.emerald{color:#059669}.ai-section-conf.amber{color:#d97706}.ai-section-chevron{color:#94a3b8;flex-shrink:0;transition:transform .2s ease}.ai-section-chevron.open{transform:rotate(180deg)}.ai-section-body{border-top:1px solid #f3f4f6;padding:16px 20px 20px;overflow:visible}.ai-section-source{display:flex;align-items:center;gap:6px;margin-bottom:12px;color:#9ca3af;font-size:11px}.ai-section-content{margin:0 0 12px;color:#374151;font-size:13px;line-height:1.65;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;max-height:70vh;overflow-y:auto;border:1px solid #e5e7eb;border-radius:10px;padding:14px 16px;background:#f9fafb}.ai-item-array{margin-top:10px}.ai-item-array-label{display:block;margin-bottom:6px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#9ca3af}.ai-item-lines{display:flex;flex-direction:column;gap:6px}.ai-alerts-body{display:flex;flex-direction:column}.ai-alerts-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ai-alerts-sub{margin:0;font-size:13px;color:#9ca3af}.ai-alerts-critical{flex-shrink:0;font-size:12px;font-weight:500;color:#dc2626;background:#fef2f2;border:1px solid #fee2e2;border-radius:999px;padding:2px 8px}.ai-alerts-scroll{display:flex;flex-direction:column;gap:12px;max-height:520px;overflow-y:auto;padding-right:4px}.ai-alert-card{background:#f9fafb;border:1px solid #e5e7eb;border-left-width:3px;border-radius:12px;padding:14px 16px;box-shadow:#0000000f 0 1px 4px}.ai-alert-card.priority-critical{border-left-color:#ef4444}.ai-alert-card.priority-high{border-left-color:#fbbf24}.ai-alert-card.priority-moderate{border-left-color:#facc15}.ai-alert-card.priority-low{border-left-color:#e5e7eb}.ai-alert-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.ai-alert-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ai-alert-priority{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:500;border-radius:999px;padding:2px 8px;flex-shrink:0}.ai-alert-priority.pri-critical{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.ai-alert-priority.pri-critical:before{content:"🔴";font-size:10px}.ai-alert-priority.pri-high{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.ai-alert-priority.pri-high:before{content:"🟠";font-size:10px}.ai-alert-priority.pri-moderate{color:#a16207;background:#fefce8;border:1px solid #fef08a}.ai-alert-priority.pri-moderate:before{content:"🟡";font-size:10px}.ai-alert-priority.pri-low{color:#4b5563;background:#f3f4f6;border:1px solid #e5e7eb}.ai-alert-title{margin:0;font-size:15px;font-weight:600;line-height:1.3;color:#111827}.ai-alert-desc{margin:0 0 12px;font-size:13px;line-height:1.5;color:#6b7280}.ai-alert-metrics{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.ai-alert-metric{display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #f3f4f6;border-radius:8px;padding:8px 12px;min-width:90px}.ai-alert-metric-label{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:#9ca3af}.ai-alert-metric-values{display:flex;align-items:baseline;gap:4px}.ai-alert-metric-prev{font-size:12px;color:#9ca3af;text-decoration:line-through}.ai-alert-metric-trend{font-size:13px;font-weight:600}.ai-alert-metric-trend.up{color:#ef4444}.ai-alert-metric-trend.down{color:#3b82f6}.ai-alert-metric-current{font-size:13px;font-weight:600;color:#1f2937}.ai-alert-evidence{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#4b5563;font-size:13px;font-weight:500;cursor:pointer;transition:.12s ease}.ai-alert-evidence:hover{background:#f9fafb;border-color:#d1d5db}.ai-item-list{display:flex;flex-direction:column;gap:8px}.ai-item-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:12px 16px}.ai-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ai-item-title{font-size:14px;font-weight:600;color:#111827}.ai-item-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ai-item-badge{font-size:12px;font-weight:500;color:#1f2937;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:2px 10px}.ai-item-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}.ai-item-chip{font-size:11px;font-weight:500;color:#6b7280;background:#f3f4f6;border-radius:999px;padding:2px 8px}.ai-item-desc{margin:8px 0 0;font-size:13px;line-height:1.55;color:#6b7280;white-space:pre-wrap;word-break:break-word}.ai-item-lines{display:flex;flex-direction:column;gap:6px;margin-top:8px}.ai-item-line{display:flex;align-items:baseline;gap:8px}.ai-item-line-title{font-size:13px;font-weight:500;color:#1f2937}.ai-item-line-info{font-size:13px;color:#6b7280}.ai-section-actions{display:flex;gap:6px;flex-wrap:wrap}.ai-sec-btn{display:flex;align-items:center;gap:5px;padding:6px 12px;border:1px solid #e2e8f0;border-radius:8px;color:#475569;font-size:12px;font-weight:500;background:#fff;cursor:pointer;transition:.12s ease}.ai-sec-btn:hover{background:#f8fafc;border-color:#cbd5e1}.ai-sec-btn.sec-accepted{color:#059669;background:#ecfdf5;border-color:#a7f3d0}.ai-sec-btn.sec-reject:hover{background:#fef2f2;border-color:#fecaca;color:#dc2626}.ai-sec-btn.sec-evidence{color:#2f80ed;margin-left:auto}.ai-actions-panel{display:flex;flex-direction:column;border-left:1px solid #e2e8f0;background:#fff;overflow:hidden;overflow-wrap:break-word}.ai-actions-header{padding:12px 16px;border-bottom:1px solid #f1f5f9;color:#64748b;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.ai-actions-body{flex:1;overflow-y:auto;padding:16px;display:grid;gap:12px;align-content:start}.ai-action-group{display:grid;gap:12px;align-content:start;min-width:0}.ai-approve-all{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:10px;border:0;border-radius:12px;color:#fff;font-size:14px;font-weight:500;background:#10b981;cursor:pointer;transition:.15s ease}.ai-approve-all:hover{opacity:.9}.ai-review-stats{padding:14px;border-radius:12px;background:#f8fafc;display:grid;gap:8px}.ai-stats-label{color:#94a3b8;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.ai-stat-row{display:flex;align-items:center;justify-content:space-between}.ai-stat-row span{color:#475569;font-size:12px}.ai-stat-row strong{font-size:12px;font-weight:700}.ai-stat-row strong.emerald{color:#059669}.ai-stat-row strong.amber{color:#d97706}.ai-stat-row strong.red{color:#ef4444}.ai-export-section{display:grid;gap:6px}.ai-export-label{color:#94a3b8;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.ai-export-card{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;color:#334155;text-align:left;background:#fff;cursor:pointer;transition:.12s ease}.ai-export-card:hover{background:#f8fafc;border-color:#cbd5e1}.ai-export-card span:first-child{font-size:16px}.ai-export-card-text{font-size:12px;font-weight:500}.ai-flag-card{padding:12px;border:1px solid #fecaca;border-radius:12px;background:#fef2f2}.ai-flag-title{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:#991b1b;font-size:12px;font-weight:600}.ai-flag-card p{margin:0;color:#dc2626;font-size:12px;line-height:1.4}.ai-source-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.ai-source-link{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:500;cursor:pointer;transition:.15s ease}.ai-source-link:hover:not(:disabled){background:#dbeafe;border-color:#93c5fd}.ai-source-link:disabled{opacity:.65;cursor:wait}.ai-source-spin{animation:ai-source-rotate .8s linear infinite}@keyframes ai-source-rotate{to{transform:rotate(360deg)}}.ai-disclaimer{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px;padding:12px 14px;border:1px solid #fde68a;border-radius:12px;background:#fffbeb}.ai-disclaimer svg{flex-shrink:0;margin-top:1px}.ai-disclaimer span{color:#b45309;font-size:12px;line-height:1.5}.ai-fab{position:fixed;bottom:24px;right:24px;z-index:30;width:48px;height:48px;border:0;border-radius:50%;color:#fff;background:#2f80ed;cursor:pointer;box-shadow:0 4px 16px #2f80ed59;display:grid;place-items:center;transition:.2s ease}.ai-fab:hover{transform:scale(1.08)}.ai-source-panel,.ai-summary-center,.ai-actions-panel{min-width:0}.ai-actions-panel:empty{display:none}.ai-panel-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;background:transparent;font-family:inherit;text-align:left}.ai-panel-toggle .ai-panel-chevron{display:none;flex-shrink:0;color:#94a3b8;transition:transform .2s ease}.ai-panel-toggle[aria-expanded=true] .ai-panel-chevron{transform:rotate(180deg)}@media (max-width: 1443px){.ai-summary-layout{grid-template-columns:minmax(176px,208px) minmax(0,1fr);align-content:start}.ai-actions-panel{grid-column:1 / -1;display:flex;border-left:0;border-top:1px solid #e2e8f0;max-height:none}.ai-source-header,.ai-actions-header{cursor:default}.ai-actions-header{border-bottom:1px solid #f1f5f9}.ai-actions-body{overflow:visible;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}}@media (max-width: 1024px){.ai-summary-layout{grid-template-columns:minmax(152px,184px) minmax(0,1fr)}}@media (max-width: 768px){.ai-summary-layout{grid-template-columns:1fr;align-content:start;min-height:0}.ai-source-panel,.ai-summary-center,.ai-actions-panel,.ai-sections-list{overflow:visible;min-height:0;height:auto;max-height:none}.ai-sections-list{flex:none;padding:16px 14px}.ai-panel-toggle{cursor:pointer}.ai-panel-toggle .ai-panel-chevron{display:block}.ai-source-panel:not(.panel-open) :is(.ai-source-list,.ai-confidence-footer),.ai-actions-panel:not(.panel-open) .ai-actions-body{display:none}.ai-source-panel{display:flex;border-right:0;border-bottom:1px solid #e2e8f0}.ai-source-header{padding:12px 14px}.ai-source-list{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 14px 12px;-webkit-overflow-scrolling:touch}.ai-source-item{flex:0 0 auto;width:210px;border:1px solid #f1f5f9;border-radius:10px;background:#f8fafc;cursor:default}.ai-source-item .ai-source-name{max-width:150px}.ai-confidence-footer{display:flex;align-items:center;gap:10px;padding:10px 14px 12px;border-top:1px solid #f1f5f9}.ai-confidence-label{margin-bottom:0;flex-shrink:0}.ai-confidence-bar{flex:1}.ai-actions-panel{border-top:1px solid #e2e8f0}.ai-actions-header{padding:12px 14px;border-bottom:0}.ai-actions-body{grid-template-columns:1fr;gap:12px;padding:2px 14px 16px}.ai-summary-sticky-header{padding:10px 14px}}@media (max-width: 760px){.ai-summary-layout{margin:-20px -14px;border-radius:0;border-left:0;border-right:0}}@media (max-width: 640px){.ai-progress-bar-mini,.ai-quick-refresh-btn .ai-btn-label{display:none}.ai-export-btn{padding:7px 11px;font-size:11.5px}.ai-adv-menu{min-width:150px}}@media (max-width: 560px){.ai-summary-sticky-header{padding:10px 12px}.ai-summary-progress-text{font-size:10.5px}.ai-sections-list{padding:12px;gap:6px}.ai-patient-card{flex-wrap:wrap;gap:10px;padding:12px 14px}.ai-patient-card-avatar{width:36px;height:36px;font-size:12px}.ai-patient-card-name{font-size:14px}.ai-patient-card-meta{white-space:normal;font-size:12px}.ai-disclaimer{margin-bottom:12px;padding:10px 12px}.ai-disclaimer span{font-size:11px}.ai-section-header{padding:12px 14px;gap:8px}.ai-section-title{font-size:13.5px}.ai-section-badge{font-size:11px;padding:2px 8px}.ai-section-body{padding:12px 14px 14px}.ai-section-content{font-size:12.5px;max-height:55vh;padding:12px}.ai-item-card,.ai-alert-card{padding:11px 12px}.ai-alert-title{font-size:14px}.ai-alerts-scroll{max-height:none}.ai-item-line{flex-wrap:wrap}.ai-item-line-info,.ai-item-desc{word-break:break-word;overflow-wrap:anywhere}.ai-alert-metric{min-width:78px;padding:7px 9px}.ai-sec-btn{padding:5px 8px;font-size:11px}.ai-fab{bottom:16px;right:16px;width:44px;height:44px}}@media (max-width: 480px){.ai-section-body .bio-charts-grid{grid-template-columns:1fr}.ai-section-body .bio-card-stats{width:100%;justify-content:flex-start;gap:16px}.ai-section-body .bio-stat{align-items:flex-start}}.settings-page{padding:24px;max-width:780px;animation:fadeUp .35s ease}.settings-page-header{margin-bottom:24px}.settings-page-header h1{font-size:20px;font-weight:700;color:#0f172a;margin:0}.settings-page-header p{color:#64748b;font-size:13px;margin:2px 0 0}.settings-sections{display:flex;flex-direction:column;gap:24px}.settings-section-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000a;overflow:hidden}.settings-section-header{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid #f1f5f9}.settings-section-icon{color:#2f80ed;flex-shrink:0}.settings-section-title{font-size:13px;font-weight:600;color:#0f172a}.settings-section-count{margin-left:auto;font-size:12px;color:#94a3b8}.settings-section-body{padding:20px}.settings-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-grid-2 .settings-field-full{grid-column:1 / -1}.settings-field label{display:block;font-size:12px;font-weight:500;color:#475569;margin-bottom:6px}.settings-field select,.settings-field input{width:100%;padding:8px 12px;font-size:13px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;outline:none;transition:border-color .15s;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.settings-field select:focus,.settings-field input:focus{border-color:#93c5fd}.settings-toggle-row{display:flex;align-items:center;justify-content:space-between;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.settings-edit-default-row{flex-direction:row!important;align-items:center;justify-content:space-between;padding:12px 14px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;gap:12px!important}.settings-toggle-label{font-size:13px;font-weight:500;color:#1e293b}.settings-toggle-desc{font-size:12px;color:#64748b;margin-top:2px}.settings-logo-upload{display:flex;align-items:center;gap:12px;padding:12px;border:1.5px dashed #cbd5e1;border-radius:10px;background:#f8fafc;cursor:pointer;transition:border-color .15s}.settings-logo-upload:hover{border-color:#93c5fd}.settings-logo-placeholder{width:40px;height:40px;border-radius:8px;background:#e2e8f0;display:grid;place-items:center;font-size:11px;font-weight:700;color:#94a3b8;flex-shrink:0}.settings-logo-upload span{font-size:12px;color:#64748b}.settings-feature-list{border-top:1px solid #f1f5f9}.settings-feature-row{display:flex;align-items:center;gap:16px;padding:16px 20px;border-bottom:1px solid #f1f5f9;transition:background .1s}.settings-feature-row:last-child{border-bottom:none}.settings-feature-row:hover{background:#f8fafc}.settings-feature-icon{font-size:18px;flex-shrink:0;width:28px;text-align:center}.settings-feature-info{flex:1;min-width:0}.settings-feature-name{font-size:13px;font-weight:500;color:#1e293b}.settings-feature-desc{font-size:12px;color:#64748b;margin-top:2px}.settings-add-template-btn{margin-left:auto;display:flex;align-items:center;gap:6px;padding:8px 14px;border:0;border-radius:8px;background:#1d4ed8;color:#fff;font-size:12px;font-weight:500;cursor:pointer;transition:opacity .15s}.settings-add-template-btn:hover{opacity:.92}.settings-template-note{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px;padding:14px 16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px}.settings-template-note svg{flex-shrink:0;margin-top:2px;color:#2563eb}.settings-template-note p{margin:0;font-size:13px;line-height:1.5;color:#1d4ed8}.settings-template-table-wrap{border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto}.settings-template-table{width:100%;min-width:680px;border-collapse:collapse;font-size:13px}.settings-template-table th{text-align:left;padding:12px 16px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#64748b;background:#f8fafc;border-bottom:1px solid #e2e8f0;white-space:nowrap}.settings-template-table td{padding:14px 16px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.settings-template-table tbody tr{transition:background .1s}.settings-template-table tbody tr:hover{background:#f8fafc}.settings-template-table tbody tr:last-child td{border-bottom:none}.settings-template-name{display:flex;align-items:center;gap:10px}.settings-template-file-icon{width:32px;height:32px;border-radius:8px;background:#eff6ff;color:#2f80ed;display:grid;place-items:center;flex-shrink:0}.settings-template-name b{display:block;font-size:13px;font-weight:500;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.settings-template-name span{font-size:12px;color:#94a3b8}.settings-template-default{margin-left:8px;font-size:10px;font-weight:600;padding:2px 8px;border-radius:999px;background:#d1fae5;color:#065f46;white-space:nowrap}.settings-template-cell{color:#475569}.settings-template-cell-light{color:#94a3b8}.settings-template-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;padding:3px 10px;border-radius:999px;white-space:nowrap}.settings-template-status .dot{width:6px;height:6px;border-radius:50%}.settings-template-status.active{background:#f0fdf4;color:#15803d}.settings-template-status.active .dot{background:#16a34a}.settings-template-status.draft{background:#fffbeb;color:#92400e}.settings-template-status.draft .dot{background:#d97706}.settings-template-actions{display:flex;align-items:center;gap:6px}.settings-template-btn{padding:6px 10px;font-size:12px;font-weight:500;color:#374151;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;white-space:nowrap;transition:background .15s}.settings-template-btn:hover{background:#eef2f7}.settings-template-btn:disabled{opacity:.6;cursor:default}.settings-template-more{padding:6px;border:0;background:none;color:#94a3b8;border-radius:6px;cursor:pointer;transition:color .15s,background .15s}.settings-template-more:hover{color:#475569;background:#f1f5f9}.settings-template-footnote{margin:12px 0 0;font-size:12px;color:#94a3b8}.settings-template-footnote strong{color:#64748b;font-weight:600}.settings-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.settings-modal{background:#fff;border-radius:14px;width:440px;max-width:92vw;padding:22px 24px;box-shadow:0 20px 60px #0000002e}@media (max-width: 500px){.settings-modal{width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0;padding:18px}}.settings-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.settings-modal-header h2{font-size:18px;margin:0;color:#1a1f2e}.settings-modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#94a3b8;padding:0;line-height:1;display:flex;align-items:center;justify-content:center}.settings-modal-close:hover{color:#475569}.settings-modal-form{display:flex;flex-direction:column;gap:10px}.settings-modal-form label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:600;color:#44536a}.settings-modal-form input{height:36px;width:100%;min-width:0;box-sizing:border-box;padding:0 10px;border:1px solid #d7e1ee;border-radius:8px;font-size:13px;outline:none;color:#1e2a42}.settings-modal-form input:focus{border-color:#307ee6;box-shadow:0 0 0 3px #307ee61f}.settings-modal-row{display:flex;gap:10px}.settings-modal-row label{flex:1;min-width:0}.settings-modal-label{font-size:12px;font-weight:600;color:#44536a}.settings-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.settings-outline-btn{padding:10px 24px;border:1px solid #e2e8f0;border-radius:10px;color:#475569;font-size:13px;font-weight:500;background:#fff;cursor:pointer;transition:background .15s}.settings-outline-btn:hover{background:#f8fafc}.settings-modal-error{color:#e53e3e;font-size:12px;margin:0}.settings-modal-preview{width:min(92vw,720px);max-height:92vh;overflow-y:auto}.settings-modal-view{max-height:92vh;overflow-y:auto}.settings-modal-loading{color:#64748b;font-size:13px;margin:8px 0}.settings-view-modal{width:min(92vw,820px);padding:0;overflow:hidden;display:flex;flex-direction:column}.settings-view-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;background:linear-gradient(135deg,#f0f7ff,#eef2ff);border-bottom:1px solid #e0e8f5}.settings-view-title{display:flex;align-items:center;gap:12px;min-width:0}.settings-view-icon{width:38px;height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #d8e3f4;border-radius:10px;color:#307ee6;box-shadow:0 2px 6px #307ee614}.settings-view-title h2{font-size:16px;font-weight:600;color:#1a1f2e;margin:0;word-break:break-word}.settings-view-subtitle{font-size:12px;color:#64748b}.settings-view-header-right{display:flex;align-items:center;gap:10px;flex-shrink:0}.settings-view-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:600;color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:999px}.settings-view-badge .dot{width:7px;height:7px;border-radius:50%;background:#10b981}.settings-view-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;padding:20px 22px;overflow-y:auto}.settings-view-image{position:relative;display:flex;align-items:center;justify-content:center;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-self:start;position:sticky;top:0}.settings-view-image img{max-width:100%;max-height:340px;object-fit:contain;border-radius:8px;box-shadow:0 4px 16px #0f172a14}.settings-view-image-badge{position:absolute;top:12px;left:12px;padding:3px 10px;font-size:11px;font-weight:600;color:#fff;background:#10b981;border-radius:999px;box-shadow:0 2px 8px #10b98159}.settings-view-info{display:flex;flex-direction:column;gap:14px;min-width:0}.settings-view-meta{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}.settings-view-meta-item{display:flex;flex-direction:column;gap:2px;padding:10px 12px;background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;min-width:0}.settings-view-meta-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.settings-view-meta-value{font-size:13px;font-weight:600;color:#1e2a42}.settings-view-meta-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-view-card{padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0f172a0a}.settings-view-card-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:10px}.settings-view-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.settings-view-grid-2{grid-template-columns:repeat(2,1fr)}.settings-view-stat{display:flex;flex-direction:column;gap:3px;padding:10px 12px;background:#f8fafc;border:1px solid #eef2f7;border-radius:10px}.settings-view-stat-label{font-size:11px;font-weight:600;color:#94a3b8}.settings-view-stat-value{font-size:15px;font-weight:700;color:#1e2a42;font-variant-numeric:tabular-nums}.settings-view-stat-value em{font-style:normal;font-size:11px;font-weight:500;color:#94a3b8;margin-left:3px}.settings-view-stat-text{font-size:13px;font-weight:600;word-break:break-word}.settings-view-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:48px 0;color:#64748b;font-size:13px}.settings-view-loading p{margin:0}.settings-view-spinner{width:18px;height:18px;border:2px solid #e2e8f0;border-top-color:#307ee6;border-radius:50%;animation:settings-spin .7s linear infinite}@keyframes settings-spin{to{transform:rotate(360deg)}}.settings-view-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px;border-top:1px solid #e8edf5;background:#fbfcfe}.settings-view-uid{font-size:11px;color:#94a3b8;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.settings-view-footer-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.settings-view-download-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border:0;border-radius:10px;background:#307ee6;color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s}.settings-view-download-btn:hover{background:#2563eb}@media (max-width: 640px){.settings-view-body{grid-template-columns:1fr}.settings-view-image{position:static}.settings-view-meta{grid-template-columns:1fr}.settings-view-footer{flex-direction:column;align-items:stretch}.settings-view-footer-actions{justify-content:flex-end}}.settings-pad-upload{position:relative;border:1.5px dashed #b6c6dd;border-radius:10px;background:#f8fafc;padding:26px 16px;align-items:center;justify-content:center;text-align:center;gap:4px!important;color:#64748b;cursor:pointer;transition:border-color .15s,background .15s}.settings-pad-upload:hover{border-color:#307ee6;background:#f1f6fe}.settings-pad-upload svg{color:#307ee6;margin-bottom:4px}.settings-pad-upload b{font-size:13px;font-weight:600;color:#33415c}.settings-pad-upload span{font-size:11px;font-weight:400;color:#8a97ad}.settings-pad-upload input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.settings-pad-editor{position:relative;border:1px solid #d7e1ee;border-radius:10px;overflow:hidden;background:#0f172a;touch-action:none;-webkit-user-select:none;user-select:none}.settings-pad-editor img{display:block;width:100%;height:auto}.settings-pad-margin{position:absolute;background:#0f172a6b;z-index:2;touch-action:none}.pad-margin-top{top:0;left:0;right:0;cursor:ns-resize}.pad-margin-bottom{bottom:0;left:0;right:0;cursor:ns-resize}.pad-margin-left{left:0;top:0;bottom:0;cursor:ew-resize}.pad-margin-right{right:0;top:0;bottom:0;cursor:ew-resize}.pad-margin .pad-handle{position:absolute;background:#2f80ed;box-shadow:0 0 0 1px #ffffffb3}.pad-handle:after{content:"";position:absolute;background:#2f80ed;border:1.5px solid #fff;border-radius:50%;box-shadow:0 1px 4px #00000059}.pad-margin-top .pad-handle,.pad-margin-bottom .pad-handle{left:0;right:0;height:3px}.pad-margin-top .pad-handle{bottom:-1.5px}.pad-margin-bottom .pad-handle{top:-1.5px}.pad-margin-top .pad-handle:after,.pad-margin-bottom .pad-handle:after{left:50%;top:50%;width:12px;height:12px;transform:translate(-50%,-50%)}.pad-margin-left .pad-handle,.pad-margin-right .pad-handle{top:0;bottom:0;width:3px}.pad-margin-left .pad-handle{right:-1.5px}.pad-margin-right .pad-handle{left:-1.5px}.pad-margin-left .pad-handle:after,.pad-margin-right .pad-handle:after{left:50%;top:50%;width:12px;height:12px;transform:translate(-50%,-50%)}.pad-label{position:absolute;font-style:normal;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:#0f172aa6;padding:1px 6px;border-radius:4px;pointer-events:none}.pad-margin-top .pad-label,.pad-margin-bottom .pad-label{left:50%;transform:translate(-50%)}.pad-margin-top .pad-label{bottom:8px}.pad-margin-bottom .pad-label{top:8px}.pad-margin-left .pad-label,.pad-margin-right .pad-label{top:50%;transform:translateY(-50%)}.pad-margin-left .pad-label{right:8px}.pad-margin-right .pad-label{left:8px}.settings-pad-date{position:absolute;z-index:3;transform:translate(-50%,-50%);cursor:move;touch-action:none}.pad-date-label{display:block;font-size:10px;font-weight:700;color:#fff;background:#2f80ed;padding:3px 8px;border-radius:999px;box-shadow:0 2px 8px #00000059;white-space:nowrap;pointer-events:none}.settings-pad-change-img{position:absolute;top:8px;right:8px;z-index:4;border:0;border-radius:6px;background:#0f172abf;color:#fff;font-size:11px;font-weight:500;padding:5px 10px;cursor:pointer}.settings-pad-change-img:hover{background:#0f172ae6}.settings-actions{display:flex;gap:12px;padding-bottom:24px}.settings-save-btn{padding:10px 24px;border:0;border-radius:10px;color:#fff;font-size:13px;font-weight:500;background:#2f80ed;cursor:pointer;transition:opacity .15s}.settings-save-btn:hover{opacity:.9}.settings-reset-btn{padding:10px 24px;border:1px solid #e2e8f0;border-radius:10px;color:#475569;font-size:13px;font-weight:500;background:#fff;cursor:pointer;transition:background .15s}.settings-reset-btn:hover{background:#f8fafc}.toggle{position:relative;width:40px;height:22px;flex:0 0 auto;padding:0;border:0;border-radius:12px;background:#cbd5e1;cursor:pointer}.toggle i{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000001a;transition:.18s ease}.toggle.on{background:#2f80ed}.toggle.on i{transform:translate(18px)}@media (max-width: 1180px){.summary-workspace{grid-template-columns:200px minmax(390px,1fr)}.action-panel{display:none}.patient-layout{grid-template-columns:360px 1fr}}.summary-workspace{overflow-x:auto}@media (max-width: 850px){.sidebar{width:65px;padding:20px 8px}.sidebar-brand{justify-content:center;padding:0}.sidebar-brand>span:last-child,.workspace-label,.nav-item:not(.active):after,.nav-item{font-size:0}.nav-item{justify-content:center;padding:12px}.nav-icon{font-size:20px}.workspace-card,.help-link{display:none}.workspace{width:calc(100% - 65px);margin-left:65px}.topbar,.main-content{padding-left:25px;padding-right:25px}.patient-layout,.settings-grid-2{grid-template-columns:1fr}.summary-workspace{grid-template-columns:200px minmax(450px,1fr)}}.topbar{padding-top:0;padding-bottom:0}@media (max-width: 600px){.sidebar{display:none}.workspace{width:100%;margin-left:0}.topbar{height:58px;padding:0 16px}.breadcrumb span,.doctor-menu span:not(.doctor-avatar),.doctor-menu b{display:none}.main-content{padding:26px 16px}.page-heading{align-items:start;gap:15px;margin-bottom:22px}.page-heading h1{font-size:26px}.page-heading p:not(.eyebrow){line-height:1.45}.primary-action{flex:0 0 auto}.patient-list-panel{display:none}.profile-tabs{gap:13px;overflow-x:auto}.overview-grid,.field-grid{grid-template-columns:1fr}.summary-actions .outline-button,.review-patient .summary-status{display:none}.summary-workspace{margin-right:-16px;border-right:0;border-radius:12px 0 0 12px}.document-panel{display:none}.summary-workspace{grid-template-columns:minmax(450px,1fr)}.settings-section-card{border-radius:10px}.settings-section-body{padding:16px}.settings-feature-row{padding:14px 16px;gap:12px}}.login-page{display:flex;min-height:100vh;background:#fff}.login-visual{position:relative;display:flex;width:55%;min-height:100vh;flex-direction:column;padding:54px 45px 46px;overflow:hidden;color:#fff;background:linear-gradient(137deg,#173a7b,#1b499a 44%,#2e7de3)}.login-visual:after{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;content:"";background:radial-gradient(ellipse at 8% 79%,rgba(255,255,255,.04),transparent 44%)}.login-brand,.login-message,.hospital-trust{position:relative;z-index:1}.login-brand{display:flex;align-items:center;gap:12px}.login-brand>span{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;color:#fff;background:#92b9f659}.login-brand strong,.login-brand small{display:block}.login-brand strong{font-size:20px;letter-spacing:-.7px}.login-brand small{margin-top:1px;color:#d6e5ff;font-size:10px;font-weight:700;letter-spacing:1.1px}.login-message{margin:auto 0;transform:translateY(8px)}.login-message p{margin:0 0 18px;color:#acc9f8;font-size:14px;font-weight:700;letter-spacing:1.25px}.login-message h1{max-width:590px;margin:0;font-size:clamp(34px,2.5vw,40px);letter-spacing:-1.55px;line-height:1.18}.login-message>span{display:block;max-width:520px;margin-top:18px;color:#c4d9fb;font-size:18px;line-height:1.62}.login-chips{display:flex;gap:12px;flex-wrap:wrap;margin-top:33px}.login-chips b{padding:9px 16px;border:1px solid rgba(184,211,252,.35);border-radius:999px;color:#f2f7ff;font-size:14px;background:#6fa4ef33}.hospital-trust{color:#90b6ef;font-size:12px;font-weight:650;letter-spacing:1px}.hospital-trust div{display:flex;gap:26px;margin-top:17px;color:#b9d0f5;font-size:14px;letter-spacing:0}.login-panel{display:grid;width:45%;min-height:100vh;place-items:center}.login-card{width:min(449px,calc(100% - 48px))}.login-card h2{margin:0 0 5px;color:#151d2f;font-size:25px;letter-spacing:-.8px}.login-card>p{margin:0;color:#617594;font-size:15px}.login-tabs{display:flex;height:45px;margin:32px 0 20px;padding:4px;border-radius:13px;background:#edf2f8}.login-tabs button{flex:1;border:0;border-radius:9px;color:#617594;font-size:14px;font-weight:650;background:transparent}.login-tabs button.active{color:#1d293d;background:#fff;box-shadow:0 1px 4px #2a3a5238}.login-options button,.sso-button{display:flex;position:relative;width:100%;height:46px;align-items:center;justify-content:center;margin:11px 0;border:1px solid #dbe4ef;border-radius:12px;color:#43536d;font-size:14px;font-weight:650;background:#fff}.login-options i{display:grid;position:absolute;left:93px;width:20px;height:20px;place-items:center;border-radius:4px;color:#fff;font-size:12px;font-style:normal;font-weight:800}.azure-icon{background:#2164f3}.google-icon{background:#f52d3a}.login-options .sso-button,.email-login .sso-button{gap:10px;margin-top:12px;border:0;color:#fff;background:#307ee6;box-shadow:0 1px 1px #1c60c01f}.sso-button:disabled{opacity:.75;cursor:wait}.login-error{margin:0 0 12px;padding:10px 12px;font-size:13px;color:#dc2626;background:#fef2f2;border-radius:8px}.login-compliance{display:block;margin-top:23px;color:#92a8c7;font-size:12px;text-align:center}.email-login label{display:block;margin-bottom:14px;color:#44536a;font-size:12px;font-weight:650}.email-login input{display:block;width:100%;height:43px;margin-top:6px;padding:0 12px;border:1px solid #d7e1ee;border-radius:9px;outline:none}.email-login input:focus{border-color:#307ee6;box-shadow:0 0 0 3px #307ee61f}.email-login select{display:block;width:100%;height:43px;margin-top:6px;padding:0 12px;border:1px solid #d7e1ee;border-radius:9px;outline:none;background:#fff;color:#1e2a42;font-size:14px;cursor:pointer;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.email-login select:focus{border-color:#307ee6;box-shadow:0 0 0 3px #307ee61f}@media (max-width: 850px){.login-page{display:block}.login-visual,.login-panel{width:100%}.login-visual{min-height:auto;padding:36px 32px}.login-message{margin:70px 0;transform:none}.hospital-trust{display:none}.login-panel{min-height:570px;padding:54px 0}.login-options i{left:20%}}@media (max-width: 480px){.login-visual{padding:28px 24px}.login-message{margin:58px 0 28px}.login-message h1{font-size:33px}.login-message>span{font-size:16px}.login-chips b{font-size:12px}.login-card{width:calc(100% - 32px)}.login-options i{left:12%}}.reference-shell .sidebar{width:241px;padding:20px 12px 17px;border-left:1px solid #dce3ed;border-top:2px solid #2d3139;border-right-color:#e1e7ef}.reference-shell .workspace{width:calc(100% - 241px);margin-left:241px}.reference-shell .sidebar-brand{gap:10px;padding:0 8px 18px;border-bottom:1px solid #edf1f5;font-size:18px}.reference-shell .sidebar-brand .brand-symbol{width:33px;height:33px;border-radius:8px;font-size:16px}.reference-shell .sidebar-brand div{display:grid;gap:1px}.reference-shell .sidebar-brand small{color:#7691bf;font-size:9px;font-weight:650;letter-spacing:1px}.reference-shell .side-nav{gap:2px;margin-top:20px}.reference-shell .nav-item{gap:12px;padding:10px 11px;border-radius:8px;color:#364b68;font-size:14px;font-weight:500}.reference-shell .nav-item:nth-child(7){margin-top:13px}.reference-shell .nav-item.active{color:#2f80ed;background:#e8f2ff}.reference-shell .nav-icon{color:#526984;font-size:18px}.reference-shell .nav-item.active .nav-icon{color:#2f80ed}.nav-badge{display:grid;width:18px;height:18px;place-items:center;margin-left:auto;border-radius:50%;color:#fff;font-size:10px;background:#2f80ed}.reference-shell .sidebar-bottom{margin:auto -12px -17px;padding:22px 24px;border-top:1px solid #edf1f5}.signed-user{display:flex;align-items:center;gap:12px}.signed-user .doctor-avatar{width:33px;height:33px;color:#fff;background:#2f80ed}.signed-user strong,.signed-user small{display:block}.signed-user strong{color:#18253a;font-size:13px}.signed-user small{margin-top:3px;color:#8295b5;font-size:11px}.signout-link{display:flex;gap:14px;margin-top:22px;padding:0;border:0;color:#48607c;font-size:13px;background:transparent}.reference-shell .topbar{height:56px;padding:0 25px;border-top:2px solid #2d3139;background:#fff}.global-search{display:flex;width:448px;height:38px;align-items:center;gap:10px;padding:0 13px;border:1px solid #dce5f0;border-radius:8px;color:#8095b4;background:#f8fafd}.global-search span{font-size:19px}.global-search input{width:100%;border:0;outline:0;color:#536681;font-size:14px;background:transparent}.global-search input::placeholder{color:#8aa0c3}.reference-shell .topbar-actions{gap:13px}.upload-button{height:37px;padding:0 14px;border:0;border-radius:8px;color:#fff;font-size:13px;font-weight:700;background:#2f80ed}.reference-shell .icon-button{font-size:19px}.reference-shell .profile-avatar{width:32px;height:32px;border:0;color:#fff;background:#2f80ed}.notif-wrapper{position:relative}.notif-dot{position:absolute;top:0;right:0;width:8px;height:8px;border-radius:50%;background:#e53e3e}.notif-dropdown{position:absolute;top:calc(100% + 6px);right:0;width:360px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 30px #0000001f;z-index:100;max-height:400px;overflow-y:auto}.notif-header{padding:12px 16px;font-weight:600;font-size:13px;color:#1a1f2e;border-bottom:1px solid #e2e8f0}.notif-empty{padding:24px;text-align:center;color:#94a3b8;font-size:13px}.notif-item{padding:12px 16px;border-bottom:1px solid #f1f5f9}.notif-item:last-child{border-bottom:0}.notif-item.notif-unread{background:#f0f7ff;cursor:pointer}.notif-item.notif-unread:hover{background:#e0f0fe}.notif-tag{display:inline-block;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:600;background:#ede9fe;color:#7c3aed;margin-bottom:4px;text-transform:uppercase}.notif-desc{font-size:12px;color:#475569;line-height:1.4}.notif-time{font-size:11px;color:#94a3b8;margin-top:4px}.reference-shell .main-content{max-width:none;min-height:calc(100vh - 56px);padding:25px 24px;background:#f7f9fc}.patient-page-heading h1{margin:0;color:#172238;font-size:21px;letter-spacing:-.65px}.patient-page-heading p{margin:5px 0 19px;color:#617895;font-size:14px}.patient-search-row{display:flex;gap:11px;align-items:center}.large-search{display:flex;height:46px;flex:1;align-items:center;gap:10px;padding:0 14px;border:2px solid #bfd8f9;border-radius:12px;color:#6486b1;background:#fff;box-shadow:0 1px 2px #2669bf0f}.large-search span{font-size:21px}.large-search input{width:100%;border:0;outline:none;color:#405672;font-size:14px;background:transparent}.large-search input::placeholder{color:#8ba1bf}.search-filter-tabs{display:flex;height:42px;padding:4px;border:1px solid #e0e6ee;border-radius:11px;background:#fff;box-shadow:0 1px 3px #243a581f}.search-filter-tabs button{min-width:55px;padding:0 10px;border:0;border-radius:8px;color:#57708f;font-size:12px;font-weight:650;background:transparent}.search-filter-tabs button.active{color:#fff;background:#2f80ed}.recent-label{margin:19px 0 13px;color:#91a5c2;font-size:12px;font-weight:750;letter-spacing:.95px}.reference-patient-list{display:grid;gap:5px}.reference-patient-card{display:flex;width:100%;min-height:99px;align-items:center;gap:16px;padding:15px 20px;border:1px solid #dde5ee;border-radius:13px;color:#172238;text-align:left;background:#fff;box-shadow:0 2px 3px #29405f17}.reference-patient-card:hover,.reference-patient-card.chosen{border-color:#b7d3f8;background:#fbfdff}.reference-avatar{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border-radius:50%;color:#fff;font-size:13px;font-weight:750;background:#2f80ed}.reference-patient-info{display:grid;gap:5px;min-width:0;flex:1}.patient-name-line{display:flex;align-items:center;gap:8px}.patient-name-line strong{font-size:16px}.patient-name-line em{color:#90a2ba;font-size:14px;font-style:normal}.patient-name-line b{padding:3px 7px;border-radius:10px;font-size:11px;font-weight:650}.patient-name-line .active{color:#2f80ed;background:#e4f1ff}.patient-name-line .followup{color:#16b486;background:#e0f9ef}.patient-name-line .critical{color:#ee4c54;background:#ffe8e9}.patient-name-line .remission{color:#8751dc;background:#f0e7ff}.patient-diagnosis{color:#425875;font-size:14px}.patient-meta{display:flex;align-items:center;gap:9px;color:#8ba0be;font-size:12px}.patient-meta i{width:3px;height:3px;border-radius:50%;background:#bfd0e6}.last-visit{display:grid;gap:4px;min-width:99px}.last-visit small{color:#9aacc5;font-size:11px}.last-visit strong{color:#40536f;font-size:13px}.patient-arrow{color:#b5c5da;font-size:25px;font-weight:350}.reference-shell .summary-heading{margin-top:0}@media (max-width: 760px){.reference-shell .sidebar{display:none}.reference-shell .workspace{width:100%;margin-left:0}.reference-shell .topbar{padding:0 14px}.global-search{width:100%}.upload-button span{display:none}.reference-shell .main-content{padding:20px 14px}.patient-search-row{display:block}.search-filter-tabs{width:100%;margin-top:10px}.search-filter-tabs button{flex:1}.reference-patient-card{min-height:94px;padding:12px;gap:11px}.patient-meta{flex-wrap:wrap;gap:5px}.last-visit{display:none}.patient-name-line strong{font-size:14px}.patient-diagnosis{font-size:12px}.reference-avatar{width:38px;height:38px}}.patient-profile-page{margin:-25px -24px;min-height:calc(100vh - 56px);background:#f7f9fc}.profile-header{display:flex;min-height:106px;align-items:start;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #e1e8f1;background:#fff}.profile-overview{display:flex;gap:19px;align-items:flex-start}.profile-initials{display:grid;width:57px;height:57px;place-items:center;border-radius:14px;color:#fff;font-size:18px;font-weight:750;background:#2f80ed}.profile-name{display:flex;align-items:center;gap:12px}.profile-name h1{margin:0;color:#132037;font-size:21px;letter-spacing:-.6px}.profile-name>span{color:#8ca0bb;font-size:14px}.profile-name b{padding:5px 9px;border-radius:10px;color:#fff;font-size:11px;background:#2f80ed}.profile-facts{display:flex;gap:23px;margin-top:10px;color:#8ca0bb;font-size:13px}.profile-facts strong,.profile-overview p strong{color:#182a45;font-weight:600}.profile-overview p{margin:8px 0 0;color:#8ca0bb;font-size:13px}.profile-actions{display:flex;gap:9px;margin:1px 0 0 25px}.profile-actions button{height:38px;padding:0 13px;border:1px solid #dde6f0;border-radius:11px;color:#17355e;font-size:13px;font-weight:650;background:#fff}.profile-actions .profile-ai{border-color:#2f80ed;color:#fff;background:#2f80ed}.patient-detail-tabs{display:flex;gap:32px;height:56px;align-items:end;padding:0 24px;border-bottom:1px solid #e0e7f0;background:#fff}.patient-detail-tabs button{position:relative;height:43px;padding:0 17px;border:0;color:#4b6080;font-size:14px;background:transparent}.patient-detail-tabs button.active{color:#2f80ed}.patient-detail-tabs button.active:after{position:absolute;right:0;bottom:0;left:0;height:2px;content:"";background:#2f80ed}.patient-timeline{padding:24px 24px 40px;max-width:720px}.timeline-item{display:flex;gap:16px}.timeline-left{display:flex;flex-direction:column;align-items:center;flex-shrink:0}.timeline-node{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:13px;font-weight:700;flex-shrink:0;cursor:pointer;border:2px solid;transition:.15s ease}.timeline-node:hover{transform:scale(1.1)}.timeline-node.red{color:#ef4444;background:#fef2f2;border-color:#ef4444}.timeline-node.purple{color:#9333ea;background:#faf5ff;border-color:#9333ea}.timeline-node.cyan{color:#0891b2;background:#ecfeff;border-color:#0891b2}.timeline-node.blue{color:#2563eb;background:#eff6ff;border-color:#2563eb}.timeline-node.green{color:#16a34a;background:#f0fdf4;border-color:#16a34a}.timeline-node.slate{color:#475569;background:#f8fafc;border-color:#475569}.timeline-connector{width:2px;flex:1;min-height:32px;margin-top:4px;background:#e2e8f0}.timeline-card-new{flex:1;margin-bottom:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 1px 3px #0000000f;cursor:pointer;transition:.2s ease;overflow:hidden}.timeline-card-new:hover{box-shadow:0 4px 12px #00000014}.timeline-card-new.open{border-color:#2f80ed;box-shadow:0 2px 8px #2f80ed1f}.timeline-card-top{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}.timeline-card-labels{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.timeline-badge{padding:3px 8px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap}.timeline-badge.red{color:#ef4444;background:#fef2f2}.timeline-badge.purple{color:#9333ea;background:#faf5ff}.timeline-badge.cyan{color:#0891b2;background:#ecfeff}.timeline-badge.blue{color:#2563eb;background:#eff6ff}.timeline-badge.green{color:#16a34a;background:#f0fdf4}.timeline-badge.slate{color:#475569;background:#f1f5f9}.timeline-card-title{color:#0f172a;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-card-meta{display:flex;align-items:center;gap:8px;flex-shrink:0}.timeline-date{color:#94a3b8;font-size:12px}.timeline-chevron{color:#94a3b8;transition:transform .2s ease}.timeline-chevron.open{transform:rotate(90deg)}.timeline-card-body{border-top:1px solid #f1f5f9;padding:12px 16px 16px}.timeline-card-desc{margin:0 0 12px;color:#475569;font-size:14px;line-height:1.6}.timeline-card-sources{display:flex;gap:6px;flex-wrap:wrap}.timeline-source-tag{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:8px;color:#2f80ed;font-size:12px;font-weight:500;background:#ebf5ff}@media (max-width: 900px){.profile-header{display:grid;gap:18px}.profile-actions{margin-left:0}.profile-facts{flex-wrap:wrap;gap:8px 15px}.patient-timeline{max-width:calc(100vw - 68px)}}@media (max-width: 560px){.patient-profile-page{margin:-20px -14px}.profile-header{padding:16px}.profile-initials{width:45px;height:45px;border-radius:11px}.profile-name{flex-wrap:wrap;gap:7px}.profile-name h1{font-size:18px}.profile-facts{display:grid;margin-top:8px}.profile-actions{width:100%;gap:5px}.profile-actions button{flex:1;padding:0 6px;font-size:11px}.patient-detail-tabs{gap:9px;padding:0 12px}.patient-detail-tabs button{padding:0 10px}.patient-timeline{padding:20px 16px 30px}.timeline-node{width:30px;height:30px;font-size:11px}.timeline-card-top{padding:10px 12px}.timeline-card-title{font-size:13px}.timeline-date{font-size:11px}.timeline-card-body{padding:10px 12px 14px}.timeline-card-desc{font-size:13px}}.patient-documents{display:grid;width:768px;gap:8px;padding:24px 0 38px 23px}.document-record{display:flex;min-height:72px;align-items:center;padding:11px 20px;border:1px solid #dce5ee;border-radius:12px;background:#fff;box-shadow:0 2px 3px #29405f1a}.document-record-icon{display:grid;width:36px;height:36px;place-items:center;margin-right:16px;border-radius:8px;font-size:15px}.document-record-icon.violet{color:#794de1;background:#f0eaff}.document-record-icon.cyan{color:#129ab2;background:#e7f8fb}.document-record-icon.blue{color:#2f80ed;background:#e9f3ff}.document-record-icon.red{color:#eb4e55;background:#ffeded}.document-record-icon.green{color:#14aa7a;background:#e7f9f1}.document-record-icon.orange{color:#df8b25;background:#fff4e6}.document-record-info{display:grid;min-width:0;flex:1;gap:3px}.document-record-info strong{color:#1d2a40;font-size:14px}.document-record-info span,.document-record-info small{font-size:12px}.document-record-info span{font-weight:650}.document-record-info span.violet{color:#794de1}.document-record-info span.cyan{color:#129ab2}.document-record-info span.blue{color:#2f80ed}.document-record-info span.red{color:#eb4e55}.document-record-info span.green{color:#14aa7a}.document-record-info span.orange{color:#df8b25}.document-record-info small{color:#8aa0bd}.document-ai-status{width:110px;font-size:12px}.document-ai-status.ready{color:#10a676}.document-ai-status.processing{color:#e98619}.document-confidence{display:grid;width:70px;gap:3px;text-align:right}.document-confidence small{color:#8ba0bd;font-size:11px}.document-confidence strong{color:#10a676;font-size:14px}.document-confidence.processing strong{color:#e98619}.clinical-notes{padding:24px 0 40px 20px}.notes-editor{display:flex;width:673px;min-height:294px;flex-direction:column;padding:22px 20px 18px;border:1px solid #dce5ee;border-radius:12px;background:#fff;box-shadow:0 2px 3px #29405f1a}.notes-editor label{color:#40536f;font-size:14px;font-weight:700}.notes-editor textarea{width:100%;min-height:170px;flex:1;padding:13px 0;border:0;outline:none;resize:vertical;color:#40536f;font:inherit;font-size:14px;line-height:1.55}.notes-editor footer{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid #edf1f6}.notes-editor footer span{color:#8da2c0;font-size:12px}.notes-editor footer button{padding:7px 13px;border:0;border-radius:8px;color:#fff;font-size:12px;font-weight:700;background:#2f80ed}@media (max-width: 760px){.patient-documents{width:100%;padding:20px 14px}.document-record{padding:10px}.document-ai-status{width:auto}.document-confidence{display:none}.clinical-notes{padding:20px 14px}.notes-editor{width:100%}.notes-editor footer{align-items:end;gap:10px}.notes-editor footer span{line-height:1.35}}@media (max-width: 500px){.document-record-icon{margin-right:9px}.document-record-info strong{font-size:12px}.document-ai-status{font-size:10px}}.admin-page{display:flex;flex-direction:column;height:100%;animation:fadeUp .35s ease}@keyframes fadeUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.admin-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0}.admin-header-left{display:flex;align-items:center;gap:10px}.admin-header-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#ebf5ff;color:#2f80ed;flex-shrink:0}.admin-header h1{font-size:18px;font-weight:700;color:#0f172a;margin:0}.admin-header p{font-size:12px;color:#64748b;margin:2px 0 0}.admin-header-stats{display:flex;gap:32px}.admin-header-stat{text-align:center}.admin-header-stat-value{font-size:18px;font-weight:700;color:#0f172a}.admin-header-stat-label{font-size:11px;color:#94a3b8}.admin-tabs{display:flex;gap:0;padding:0 24px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.admin-tab{padding:10px 16px;border:0;border-bottom:2px solid transparent;background:transparent;color:#64748b;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s;margin-bottom:-1px}.admin-tab:hover{color:#334155}.admin-tab.active{color:#2f80ed;border-bottom-color:#2f80ed}.admin-content{flex:1;overflow:auto;padding:24px}.admin-table-section{display:flex;flex-direction:column;gap:12px}.admin-table-header{display:flex;align-items:center;justify-content:space-between}.admin-table-title{font-size:13px;font-weight:600;color:#475569}.admin-add-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;border:0;border-radius:10px;background:#2f80ed;color:#fff;font-size:12px;font-weight:500;cursor:pointer;transition:opacity .15s}.admin-add-btn:hover{opacity:.9}.admin-outline-btn{padding:8px 14px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#475569;font-size:12px;font-weight:500;cursor:pointer;transition:background .15s}.admin-outline-btn:hover{background:#f8fafc}.admin-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.admin-modal{background:#fff;border-radius:14px;width:420px;max-width:92vw;max-height:95vh;padding:22px 24px;box-shadow:0 20px 60px #0000002e}@media (max-width: 500px){.admin-modal{width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0;padding:18px}.admin-modal-row{flex-direction:column;gap:10px}}.admin-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.admin-modal-header h2{font-size:18px;margin:0;color:#1a1f2e}.admin-modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#94a3b8;padding:0;line-height:1}.admin-modal-close:hover{color:#475569}.admin-modal-form{display:flex;flex-direction:column;gap:10px}.admin-modal-form label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:600;color:#44536a}.admin-modal-form input,.admin-modal-form select{height:36px;padding:0 10px;border:1px solid #d7e1ee;border-radius:8px;font-size:13px;outline:none;color:#1e2a42}.admin-modal-form input:focus,.admin-modal-form select:focus{border-color:#307ee6;box-shadow:0 0 0 3px #307ee61f}.admin-modal-row{display:flex;gap:10px}.admin-modal-row label{flex:1}.admin-modal-field{display:flex;flex-direction:column;gap:6px}.admin-modal-label{font-size:12px;font-weight:600;color:#44536a}.admin-modal-checkboxes{display:flex;gap:16px}.admin-checkbox-label{display:flex;align-items:center;gap:6px;font-size:13px;color:#1e2a42;cursor:pointer}.admin-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.admin-modal-error{color:#e53e3e;font-size:12px;margin:0}.admin-table-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000a;overflow:hidden}.admin-table{width:100%;border-collapse:collapse}.admin-table thead tr{border-bottom:1px solid #f1f5f9}.admin-table th{text-align:left;padding:12px 20px;font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.admin-table td{padding:14px 20px;font-size:13px;color:#475569;border-bottom:1px solid #f1f5f9}.admin-table tbody tr:hover{background:#f8fafc}.admin-table tbody tr:last-child td{border-bottom:none}.admin-table-name{display:flex;align-items:center;gap:10px;font-weight:500;color:#0f172a}.admin-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#2f80ed;color:#fff;font-size:11px;font-weight:700;flex-shrink:0}.admin-table-sessions{font-weight:600;color:#0f172a}.admin-status{display:inline-block;padding:4px 10px;border-radius:20px;font-size:11px;font-weight:500}.admin-status.active{color:#15803d;background:#dcfce7}.admin-status.inactive{color:#64748b;background:#f1f5f9}.admin-status.pending{color:#a16207;background:#fef9c3}.admin-status.Connected{color:#15803d;background:#dcfce7}.admin-role-badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:500;color:#1e293b;background:#f1f5f9}.admin-role-badge.admin{color:#7c3aed;background:#ede9fe}.admin-table-actions{display:flex;gap:6px}.admin-action-btn{padding:4px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:11px;font-weight:500;cursor:pointer;transition:all .12s}.admin-action-btn:hover{background:#f8fafc}.admin-action-btn.danger{color:#ef4444;border-color:#fecaca}.admin-action-btn.danger:hover{background:#fef2f2}.admin-dept-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.admin-dept-card{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000a;transition:all .15s}.admin-dept-card:hover{border-color:#93c5fd;box-shadow:0 2px 8px #2f80ed14}.admin-dept-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#ebf5ff;color:#2f80ed;margin-bottom:12px}.admin-dept-name{font-size:14px;font-weight:600;color:#0f172a;margin-bottom:4px}.admin-dept-meta{font-size:12px;color:#64748b;margin-bottom:14px}.admin-dept-actions{display:flex;gap:8px}.admin-dept-btn{flex:1;padding:6px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:11px;font-weight:500;cursor:pointer;transition:background .12s;text-align:center}.admin-dept-btn:hover{background:#f8fafc}.admin-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.admin-stat-card{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000a}.admin-stat-value{font-size:24px;font-weight:700;color:#0f172a;letter-spacing:-.5px}.admin-stat-label{font-size:12px;color:#64748b;margin-top:2px}.admin-stat-trend{font-size:12px;margin-top:8px}.admin-stat-trend.up{color:#16a34a}.admin-stat-trend.neutral{color:#94a3b8}.admin-stat-trend.warn{color:#d97706}.admin-intg-list{display:flex;flex-direction:column;gap:8px}.admin-intg-row{display:flex;align-items:center;gap:14px;padding:14px 20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000a}.admin-intg-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#ebf5ff;color:#2f80ed;flex-shrink:0}.admin-intg-info{flex:1}.admin-intg-name{font-size:13px;font-weight:500;color:#0f172a}.admin-intg-provider{font-size:12px;color:#64748b;margin-top:1px}.admin-intg-sync{font-size:12px;color:#94a3b8}.admin-intg-btn{padding:6px 14px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#475569;font-size:12px;font-weight:500;cursor:pointer;transition:background .12s}.admin-intg-btn:hover{background:#f8fafc}.admin-audit-list{display:flex;flex-direction:column}.admin-audit-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f1f5f9}.admin-audit-row:last-child{border-bottom:none}.admin-audit-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.admin-audit-dot.export{background:#2f80ed}.admin-audit-dot.review{background:#16a34a}.admin-audit-dot.upload{background:#9333ea}.admin-audit-dot.security{background:#ef4444}.admin-audit-dot.account{background:#d97706}.admin-audit-dot.integration{background:#0891b2}.admin-audit-dot.permissions{background:#7c3aed}.admin-audit-info{flex:1}.admin-audit-action{font-size:13px;font-weight:500;color:#0f172a}.admin-audit-user{font-size:12px;color:#94a3b8;margin-top:1px}.admin-audit-time{font-size:12px;color:#94a3b8;white-space:nowrap}.admin-audit-badge{padding:3px 10px;border-radius:20px;font-size:10px;font-weight:500;white-space:nowrap}.admin-audit-badge.export{color:#2f80ed;background:#eff6ff}.admin-audit-badge.review{color:#16a34a;background:#f0fdf4}.admin-audit-badge.upload{color:#7c3aed;background:#f5f3ff}.admin-audit-badge.security{color:#dc2626;background:#fef2f2}.admin-audit-badge.account{color:#d97706;background:#fffbeb}.admin-audit-badge.integration{color:#0891b2;background:#ecfeff}.admin-audit-badge.permissions{color:#7c3aed;background:#f5f3ff}.admin-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 0}.admin-page-info{font-size:12px;color:#64748b}@media (max-width: 1100px){.admin-header-stats{display:none}.admin-dept-grid,.admin-stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 850px){.admin-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:0 16px}.admin-tab{white-space:nowrap;flex:0 0 auto}.admin-content{padding:16px}}@media (max-width: 560px){.admin-header{padding:16px}.admin-header h1{font-size:16px}.admin-stats-grid,.admin-dept-grid{grid-template-columns:1fr}.admin-table-wrapper{overflow-x:auto}.admin-table{min-width:600px}.admin-intg-row{flex-wrap:wrap;gap:10px}.admin-intg-sync{display:none}}.brand-icon{width:38px;height:38px;border-radius:12px;background:#ffffff26;display:flex;align-items:center;justify-content:center;color:#fff}.login-brand{display:flex;align-items:center;gap:14px}.login-brand strong{display:block;font-size:30px;color:#fff}.login-brand small{display:block;color:#ffffffbf;letter-spacing:2px;font-size:12px}.login-chips{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}.login-chips b{display:flex;align-items:center;gap:8px;padding:12px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:#ffffff14;color:#fff;font-weight:500}.login-options button,.sso-button{display:flex;align-items:center;justify-content:center;gap:12px}.azure-icon,.google-icon{width:22px;height:22px;border-radius:5px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.azure-icon{background:#2563eb;color:#fff}.google-icon{background:#ea4335;color:#fff;font-size:12px;font-weight:700}.sso-button svg{stroke-width:2.2}.create-patient-btn{display:flex;align-items:center;gap:6px;padding:10px 16px;border:none;border-radius:10px;background:#2563eb;color:#fff;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s}.create-patient-btn:hover{background:#1d4ed8}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#00000080;z-index:1000}.modal-content{width:100%;max-width:480px;background:#fff;border-radius:16px;box-shadow:0 20px 60px #00000026;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e8edf4}.modal-header h2{margin:0;font-size:18px;font-weight:700;color:#172338}.modal-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:20px;cursor:pointer;transition:background .15s}.modal-close:hover{background:#e2e8f0}.modal-body{padding:24px;display:flex;flex-direction:column;gap:16px}.modal-body .settings-field label{display:block;font-size:12px;font-weight:500;color:#475569;margin-bottom:6px}.modal-body .settings-field input,.modal-body .settings-field select{width:100%;padding:10px 12px;font-size:14px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;outline:none;transition:border-color .15s}.modal-body .settings-field input:focus,.modal-body .settings-field select:focus{border-color:#93c5fd}.create-error{margin:0;padding:10px 12px;font-size:13px;color:#dc2626;background:#fef2f2;border-radius:8px}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e8edf4}.modal-cancel{padding:10px 16px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#475569;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s}.modal-cancel:hover{background:#f8fafc}.modal-submit{padding:10px 20px;border:none;border-radius:10px;background:#2563eb;color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s}.modal-submit:hover{background:#1d4ed8}.modal-submit:disabled{opacity:.6;cursor:not-allowed}.dash-greeting-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dash-greeting-row h1{margin:0;color:#172338;font-size:21px;letter-spacing:-.4px}.dash-greeting-row p{margin:5px 0 0;color:#758399;font-size:13px}.dash-greeting-actions{display:flex;gap:10px}.dash-greeting-actions button{display:flex;align-items:center;gap:7px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.stat-card{padding:18px 19px;border:1px solid #e8edf4;border-radius:13px;background:#fff;box-shadow:0 3px 12px #1c355806}.stat-icon{display:grid;width:34px;height:34px;place-items:center;margin-bottom:14px;border-radius:9px}.stat-card strong{display:block;color:#172338;font-size:25px;letter-spacing:-.6px}.stat-card small{display:block;margin-top:3px;color:#64738a;font-size:12px;font-weight:650}.stat-delta{display:block;margin-top:8px;color:#98a5b6;font-size:11px}.dash-columns{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}.dash-panel{border:1px solid #e8edf4;border-radius:13px;background:#fff;align-self:start;box-shadow:0 3px 12px #1c355806}.dash-panel .panel-title{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 13px;border-bottom:1px solid #edf1f6}.dash-panel .panel-title h3{display:flex;align-items:center;gap:8px;font-size:14px}.consult-list{padding:6px 10px 10px}.consult-row{display:flex;width:100%;align-items:center;gap:13px;padding:11px 10px;border:0;border-radius:9px;text-align:left;background:transparent;cursor:pointer}.consult-row:hover{background:#f7faff}.consult-time{width:68px;flex:0 0 auto;color:#96a1b1;font-size:11px;font-weight:650}.consult-info{min-width:0;flex:1}.consult-info strong{display:block;color:#314058;font-size:13px}.consult-info small{display:block;margin-top:3px;color:#8b98aa;font-size:11px}.consult-status{flex:0 0 auto;font-size:11px;font-weight:700;text-align:right}.consult-arrow{flex:0 0 auto;color:#b5c5da;font-size:19px}.patient-avatar.grey{color:#5b6b85;background:#eef2f7}.quick-actions-list{display:grid;gap:8px;padding:14px}.quick-action-row{display:flex;width:100%;align-items:center;gap:11px;padding:10px;border:1px solid #e5eaf1;border-radius:9px;text-align:left;background:#fff;cursor:pointer}.quick-action-row:hover{border-color:#a6c9f7;background:#f7faff}.quick-action-icon{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border-radius:8px;color:#2f80ed;background:#edf5ff}.quick-action-row strong{display:block;color:#344158;font-size:12px}.quick-action-row small{display:block;margin-top:2px;color:#96a1b1;font-size:10px}.review-panel{margin-top:16px}.review-badge{display:grid;width:18px;height:18px;place-items:center;border-radius:50%;color:#fff;font-size:10px;font-weight:800;background:#ef8b3d}.review-list{padding:6px 10px 4px}.review-row{display:flex;width:100%;align-items:center;gap:11px;padding:9px 10px;border:0;border-radius:9px;text-align:left;background:transparent;cursor:pointer}.review-row:hover{background:#f7faff}.review-row .patient-avatar{width:30px;height:30px;font-size:10px}.review-info{min-width:0;flex:1}.review-info strong{display:block;color:#314058;font-size:12px}.review-info small{display:block;margin-top:2px;color:#8b98aa;font-size:10px}.review-view-all{display:block;width:100%;padding:10px 20px 16px;border:0;border-top:1px solid #edf1f6;color:#347ee6;font-size:11px;font-weight:700;text-align:right;background:transparent;cursor:pointer}.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:6px}.activity-item{display:flex;gap:11px;padding:14px;border-radius:10px}.activity-item:hover{background:#f9fbfd}.activity-icon{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;border-radius:8px}.activity-item strong{display:block;color:#344158;font-size:12px}.activity-item p{margin:3px 0 0;color:#8996a8;font-size:10px;line-height:1.4}.activity-item time{display:block;margin-top:6px;color:#a3afc0;font-size:10px}@media (max-width: 1180px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dash-columns{grid-template-columns:1fr}}@media (max-width: 760px){.stat-grid,.activity-grid{grid-template-columns:1fr}.dash-greeting-row{flex-direction:column;align-items:flex-start;gap:14px}}.voice-stage{display:flex;flex-direction:column;align-items:center;gap:14px;padding:40px 24px 32px;text-align:center}.voice-patient-select{display:flex;align-items:center;gap:10px;width:min(100%,420px);padding:10px 14px;border:1px solid #dce5f0;border-radius:10px;background:#f9fbfd}.voice-patient-select label{font-size:13px;color:#8b98aa;white-space:nowrap}.voice-patient-select select{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#172338;font-size:14px;font-weight:600}.voice-mic-button{display:grid;place-items:center;width:108px;height:108px;border:0;border-radius:50%;color:#fff;background:linear-gradient(135deg,#2879ea,#1f57bb);box-shadow:0 10px 26px #2f80ed47;transition:transform .15s ease,box-shadow .15s ease;cursor:pointer}.voice-mic-button:hover{transform:translateY(-2px);box-shadow:0 14px 30px #2f80ed57}.voice-mic-button:disabled{cursor:not-allowed;opacity:.7}.voice-mic-button.recording{background:linear-gradient(135deg,#ef5350,#d33f3f);box-shadow:0 0 #ef535073;animation:voice-pulse 1.6s ease-out infinite}@keyframes voice-pulse{0%{box-shadow:0 0 #ef535066}70%{box-shadow:0 0 0 18px #ef535000}to{box-shadow:0 0 #ef535000}}.voice-timer{margin-top:6px;color:#172338;font-size:34px;font-weight:700;letter-spacing:1px;font-variant-numeric:tabular-nums}.voice-hint{margin:0;color:#8b98aa;font-size:13px}.voice-status-card{margin-top:20px}.voice-live-dot{color:#ee4c54;font-size:11px;font-weight:700}.voice-status-box{min-height:72px;margin-top:4px;padding:18px;border:1px dashed #dce5f0;border-radius:10px;background:#f9fbfd}.voice-status-line{display:flex;align-items:center;gap:8px;margin:0;color:#96a1b1;font-size:13px}.voice-status-line.success{color:#1e8e3e}.voice-status-line.error{color:#d33f3f}.voice-status-line.info{color:#2879ea}.voice-status-line.idle{font-style:italic;justify-content:center}.voice-spin{animation:voice-spin 1s linear infinite}@keyframes voice-spin{to{transform:rotate(360deg)}}.voice-playback{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:14px}.voice-playback audio{width:100%;height:38px}.voice-download{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:0;border-radius:8px;color:#fff;background:linear-gradient(135deg,#2879ea,#1f57bb);font-size:13px;font-weight:600;cursor:pointer}.voice-download:hover{opacity:.9}.voice-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:24px;background:#0f172a8c}.voice-modal{width:min(100%,640px);max-height:80vh;display:flex;flex-direction:column;background:#fff;border-radius:14px;box-shadow:0 24px 60px #0f172a40;overflow:hidden}.voice-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #f1f5f9}.voice-modal-header h3{margin:0;font-size:15px;color:#0f172a}.voice-modal-header span{display:block;font-size:12px;font-weight:500;color:#8b98aa}.voice-modal-close{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;color:#64748b;background:#f1f5f9;cursor:pointer}.voice-modal-body{padding:20px;overflow-y:auto;color:#334155;font-size:14px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.voice-modal-body .voice-pad{margin-top:18px;padding-top:16px;border-top:1px dashed #dce5f0;color:#94a3b8;font-size:13px}.voice-modal-empty{color:#94a3b8;font-style:italic}.voice-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:14px 20px;border-top:1px solid #f1f5f9;background:#fbfdff}.voice-submit-status{flex:1;font-size:12px}.voice-submit-status.success{color:#1e8e3e}.voice-submit-status.error{color:#d33f3f}.voice-default-pad{display:inline-flex;align-items:center;gap:6px;margin-left:auto;padding:4px 10px;font-size:12px;font-weight:500;color:#1e2a42;background:#f0f7ff;border:1px solid #d3e6fb;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:45%}.voice-default-pad em{font-style:normal;font-weight:700;font-size:10px;letter-spacing:.04em;color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:999px;padding:1px 7px;text-transform:uppercase}.voice-pad-modal{width:min(100%,760px)}.voice-pad-image{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:8px;background:#f8fafc;border:1px solid #eef2f7}.voice-pad-pdf{display:block;width:100%;height:65vh;border:1px solid #eef2f7;border-radius:8px;background:#f8fafc}
