:root{color:#15233b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f5f8fd;font-family:Inter,Microsoft YaHei,PingFang SC,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}:where(button,input,select,textarea){font:inherit}:where(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]):not([type=range]):not([type=color]),select,textarea){color:#213650;background:#fff;border:1px solid #dfe7f1;border-radius:8px;outline:none;min-width:0;max-width:100%;min-height:36px;padding:7px 10px;font-size:12px}:where(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]):not([type=range]):not([type=color]),select){height:36px}:where(input,select,textarea):focus{border-color:#4185de;box-shadow:0 0 0 3px #e7f1ff}textarea{resize:vertical}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.04em;margin-bottom:5px;font-size:27px}h2{letter-spacing:-.03em;margin-bottom:7px;font-size:25px}h3{margin-bottom:0;font-size:17px}p{line-height:1.65}small{font-size:12px}.muted{color:#8190a5}.mono{font-variant-numeric:tabular-nums;letter-spacing:.015em}.eyebrow{letter-spacing:.13em;font-size:10px;font-weight:800}.eyebrow.blue{color:#1263d2}.required{color:#db5b58}.boot-screen{color:#58718f;place-items:center;min-height:100vh;display:grid}.app-shell{min-height:100vh;display:flex}.sidebar{z-index:5;background:#fff;border-right:1px solid #e6edf7;flex-direction:column;flex:0 0 236px;width:236px;height:100vh;display:flex;position:sticky;top:0}.brand{border-bottom:1px solid #eef2f8;align-items:center;gap:11px;height:76px;padding:0 22px;display:flex}.brand-mark{color:#fff;background:#1164d8;border-radius:13px;place-items:center;width:39px;height:39px;display:grid;box-shadow:0 5px 14px #1263d233}.brand strong{letter-spacing:-.04em;font-size:17px;display:block}.brand small{color:#9aa9ba;letter-spacing:.035em;margin-top:2px;font-size:10px;display:block}.sidebar-caption{color:#9cabc0;letter-spacing:.12em;justify-content:space-between;padding:30px 25px 11px;font-size:11px;font-weight:700;display:flex}.sidebar-caption span{letter-spacing:0;color:#2769c9;background:#eaf2ff;border-radius:5px;padding:2px 5px}.sidebar nav{gap:4px;padding:0 11px;display:grid}.nav-item{color:#687992;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;height:43px;padding:0 13px;font-size:13px;font-weight:600;display:flex}.nav-item:hover{color:#1558b4;background:#f2f7ff}.nav-item.active{color:#0d5ac6;background:#e9f2ff}.nav-dot{background:#1263d2;border-radius:50%;width:6px;height:6px;margin-left:auto}.sidebar-bottom{border-top:1px solid #eef2f8;align-items:center;gap:9px;margin-top:auto;padding:17px 14px;display:flex}.profile-avatar{color:#135dc5;background:#e7f0ff;border-radius:10px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.profile-info{flex:1;min-width:0}.profile-info strong{text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.profile-info small{color:#9aa9ba;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:10px;display:block;overflow:hidden}.icon-button{color:#7889a1;background:0 0;border:0;border-radius:8px;place-items:center;padding:7px;display:inline-grid}.icon-button:hover{color:#145cca;background:#eaf2ff}.main-area{flex:1;min-width:0}.topbar{background:#fff;border-bottom:1px solid #e7edf7;justify-content:space-between;align-items:center;height:65px;padding:0 30px;display:flex}.breadcrumb,.topbar-right{color:#8a9ab0;align-items:center;gap:10px;font-size:12px;display:flex}.breadcrumb strong{color:#354764}.topbar-right{gap:12px}.online-dot{background:#22aa7a;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #e0f6ec}.topbar-divider{background:#e7edf6;width:1px;height:18px;margin:0 2px}.content{max-width:1580px;margin:0 auto;padding:30px 32px 55px}.page-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px;display:flex}.page-heading h1{margin-top:6px}.page-heading p{color:#8a9ab0;margin:0;font-size:13px}.heading-side input{min-width:155px}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;height:36px;padding:0 13px;font-size:12px;font-weight:700;transition:background .15s,transform .15s;display:inline-flex}.button:not(:disabled):active{transform:translateY(1px)}.button.primary{color:#fff;background:#1263d2;box-shadow:0 3px 8px #1263d226}.button.primary:hover:not(:disabled){background:#0752b8}.button.subtle{color:#4c6180;background:#f2f6fc;border-color:#e7edf6}.button.subtle:hover:not(:disabled){background:#e8f0fc}.button.full{width:100%}.text-button{color:#1166d0;white-space:nowrap;background:0 0;border:0;border-radius:5px;align-items:center;gap:4px;padding:5px;font-size:12px;font-weight:700;display:inline-flex}.text-button:hover{background:#eaf3ff}.text-button.danger{color:#c45151}.text-button.danger:hover{background:#fff0ef}.alert{border-radius:9px;justify-content:space-between;align-items:center;margin-bottom:18px;padding:11px 14px;font-size:12px;display:flex}.alert.success{color:#127451;background:#e7f8ef;border:1px solid #bfead3}.alert.error{color:#b13d45;background:#fff0f0;border:1px solid #f2cccc}.alert button{color:inherit;background:0 0;border:0;font-size:17px}.hero-card{background:linear-gradient(110deg,#fff 65%,#e8f3ff);border:1px solid #e5edf7;border-radius:15px;align-items:center;gap:17px;padding:23px 26px;display:flex;box-shadow:0 4px 16px #315b910a}.hero-icon{color:#fff;background:#1469da;border-radius:16px;flex:0 0 57px;place-items:center;width:57px;height:57px;display:grid}.hero-card h2{margin:4px 0 0;font-size:20px}.hero-card p{color:#8495ad;margin:4px 0 0;font-size:12px}.hero-action{margin-left:auto}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:18px 0;display:grid}.metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{background:#fff;border:1px solid #e5ecf7;border-radius:13px;min-height:132px;padding:19px;position:relative;overflow:hidden;box-shadow:0 3px 13px #315b9108}.metric-card>span{color:#8391a5;font-size:12px;font-weight:600}.metric-card strong{font-variant-numeric:tabular-nums;letter-spacing:-.06em;margin:9px 0 3px;font-size:31px;line-height:1;display:block}.metric-card small{color:#a0aec0}.metric-icon{color:#1263d2;box-sizing:content-box;background:#e9f2ff;border-radius:11px;padding:7px;position:absolute;top:20px;right:19px}.dashboard-grid{grid-template-columns:1.35fr 1fr;gap:17px;display:grid}.card{background:#fff;border:1px solid #e5ecf7;border-radius:13px;margin-bottom:17px;overflow:hidden;box-shadow:0 3px 13px #315b9108}.card-head{border-bottom:1px solid #eff3f8;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding:20px 22px;display:flex}.card-head h3{margin-top:4px}.card-head p{color:#8d9bb0;margin:4px 0 0;font-size:11px}.schedule-preview{padding:0 21px}.preview-row{border-bottom:1px solid #f1f4f9;align-items:center;gap:11px;min-height:66px;display:flex}.preview-row:last-child{border-bottom:0}.doctor-avatar{color:#1763c1;background:#e6f1ff;border-radius:10px;flex:0 0 35px;place-items:center;width:35px;height:35px;font-size:13px;font-weight:800;display:grid}.grow{flex:1;min-width:0}.preview-row strong,.preview-row small{display:block}.preview-row strong{font-size:12px}.preview-row small{color:#98a6b9;margin-top:3px}.preview-row .mono{color:#687993;text-align:right;min-width:45px;font-size:12px}.quick-card{padding-bottom:10px}.quick-action{text-align:left;color:#8a9bb0;background:#fff;border:0;border-radius:9px;align-items:center;gap:11px;width:calc(100% - 42px);margin:5px 21px;padding:12px 10px;display:flex}.quick-action:hover{background:#f5f9ff}.quick-action>span:nth-child(2){flex:1}.quick-action strong,.quick-action small{display:block}.quick-action strong{color:#263a55;font-size:12px}.quick-action small{color:#99a8ba;margin-top:3px;font-size:11px}.quick-icon{border-radius:10px;place-items:center;width:35px;height:35px;display:grid}.quick-icon.cyan{color:#0d9f8a;background:#e1f7f3}.quick-icon.blue-bg{color:#1264d2;background:#e8f2ff}.quick-icon.violet{color:#7762ca;background:#f0ecff}.toolbar{border-bottom:1px solid #eff3f8;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:17px 21px;display:flex}.toolbar>input{flex:190px}.toolbar-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.toolbar .muted{font-size:11px}.search-box{color:#92a1b4;background:#f8faff;border:1px solid #dfe7f3;border-radius:9px;flex:1;align-items:center;gap:9px;min-width:min(220px,100%);max-width:520px;height:36px;padding-left:11px;display:flex}.search-box input{color:#243953;background:0 0;border:0;outline:none;flex:1;min-width:0;height:100%;min-height:0;padding:0;font-size:12px}.search-box input:focus{box-shadow:none}.search-box:focus-within{border-color:#4185de;box-shadow:0 0 0 3px #e7f1ff}.search-box .button{height:31px;margin-right:3px}.inline-field{color:#637590;align-items:center;gap:8px;font-size:12px;font-weight:600;display:inline-flex}.inline-field input,.inline-field select{width:140px}.inline-field{max-width:100%}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;min-width:650px}th{text-align:left;color:#8999ae;white-space:nowrap;background:#fbfcff;padding:12px 20px;font-size:11px;font-weight:700}td{color:#42536c;white-space:nowrap;border-top:1px solid #f0f3f8;padding:13px 20px;font-size:12px}td strong{color:#1a2b44}.name-cell{align-items:center;gap:9px;display:flex}.mini-avatar{color:#1262ce;background:#eaf3ff;border-radius:8px;place-items:center;width:27px;height:27px;display:grid}.truncate-cell{text-overflow:ellipsis;max-width:170px;overflow:hidden}.pill{white-space:nowrap;border-radius:20px;align-items:center;padding:4px 9px;font-size:10px;font-weight:700;display:inline-flex}.pill.green{color:#128259;background:#e5f7ee}.pill.gray{color:#758399;background:#f0f3f7}.pill.blue{color:#1264ce;background:#e7f1ff}.pill.purple{color:#7659c4;background:#efecff}.empty{text-align:center;color:#9aa9b9;justify-content:center;align-items:center;gap:10px;min-height:105px;padding:25px;font-size:12px;display:flex}.empty.small{min-height:65px}.pager{color:#8392a7;border-top:1px solid #eff3f8;justify-content:flex-end;align-items:center;gap:12px;padding:12px 19px;font-size:11px;display:flex}.pager .button{height:30px}.block-muted{color:#a0aebe;margin-top:3px;display:block}.queue-number{color:#1263d2;font-variant-numeric:tabular-nums;font-size:15px}.row-actions{gap:5px;display:flex}.schedule-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:20px;display:grid}.schedule-tile{text-align:left;background:#fff;border:1px solid #e6edf7;border-radius:12px;flex-direction:column;gap:5px;min-height:154px;padding:15px;display:flex}.schedule-tile:hover{background:#fcfdff;border-color:#9ec2f5}.schedule-tile.selected{background:#fbfdff;border-color:#1263d2;box-shadow:0 0 0 2px #d9e9ff}.tile-top{justify-content:space-between;align-items:start;margin-bottom:3px;display:flex}.schedule-tile strong{font-size:13px}.schedule-tile small{color:#91a0b4}.tile-bottom{color:#69819e;margin-top:auto;font-size:11px}.progress{background:#e9eff8;border-radius:4px;height:5px;margin-top:7px;overflow:hidden}.progress i{background:#1263d2;border-radius:4px;height:100%;display:block}.detail-strip{background:#f2f7ff;border:1px solid #e4eeff;border-radius:9px;flex-wrap:wrap;gap:9px;margin:15px 0;padding:12px;font-size:12px;display:flex}.detail-strip span{color:#617898}.patient-results{max-height:225px;margin:12px 0;overflow:auto}.result-row{cursor:pointer;border:1px solid #e6edf7;border-radius:8px;align-items:center;gap:10px;margin-bottom:5px;padding:10px;display:flex}.result-row.picked{background:#f4f9ff;border-color:#2b75de}.result-row span strong,.result-row span small{display:block}.result-row span strong{font-size:12px}.result-row span small{color:#91a0b3;margin-top:3px}.catalog-actions{gap:9px;margin-bottom:17px;display:flex}.catalog-grid{grid-template-columns:1fr 1.2fr;gap:16px;display:grid}.modal-backdrop{z-index:20;background:#12223884;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:min(100%,550px);max-height:min(90vh,850px);padding:25px;overflow:auto;box-shadow:0 22px 70px #10284f3a}.modal-head{justify-content:space-between;align-items:start;gap:10px;display:flex}.confirmation-backdrop{z-index:30}.confirmation{width:min(100%,460px)}.confirmation>p{margin:20px 0;line-height:1.7}.modal-head h2{margin:5px 0 0;font-size:21px}.modal>.muted{margin:12px 0;font-size:12px}.close-button{color:#8b9ab0;background:#f2f5fa;border:0;border-radius:8px;width:30px;height:30px;font-size:19px;line-height:1}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:21px 0;display:grid}.card>.form-grid{margin:21px}.form-grid .span-2{grid-column:1/-1}.form-grid>p{margin:0;font-size:11px}.form-grid label,.login-card label{color:#546781;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:700;display:flex}.form-grid label .required{display:inline}.modal-foot{border-top:1px solid #eef2f7;justify-content:flex-end;gap:8px;padding-top:17px;display:flex}.login-wrap{background:#fff;grid-template-columns:minmax(340px,46%) 1fr;min-height:100vh;display:grid}.login-art{color:#fff;background:radial-gradient(circle at 81% 16%,#2585ed44,#0000 28%),linear-gradient(150deg,#043e91,#082a64 70%,#0a2554);flex-direction:column;padding:35px 48px;display:flex;position:relative;overflow:hidden}.login-art:after{content:"";pointer-events:none;border:1px solid #ffffff18;border-radius:50%;width:460px;height:460px;position:absolute;bottom:-110px;right:-130px;box-shadow:0 0 0 55px #ffffff09,0 0 0 115px #ffffff07}.brand-light{z-index:1;border:0;height:auto;padding:0}.brand-light .brand-mark{box-shadow:none;background:#ffffff25}.brand-light strong{font-size:19px}.brand-light small{color:#bad4f1}.login-art-copy{z-index:1;margin:auto 0}.login-art-copy .eyebrow{color:#8bdbe6}.login-art-copy h1{letter-spacing:-.06em;margin:18px 0;font-size:clamp(32px,4vw,54px);line-height:1.27}.login-art-copy p{color:#bbd3f3;font-size:15px;line-height:1.9}.login-art-foot{color:#9dbde2;z-index:1;font-size:11px}.login-panel{place-items:center;padding:35px;display:grid;position:relative}.login-card{width:min(100%,390px)}.login-card h2{margin:10px 0;font-size:30px}.login-card>.muted{margin-bottom:30px;font-size:13px}.login-card label{margin-bottom:18px;font-size:13px}.login-card input{height:45px;font-size:13px}.login-card .button{height:44px;margin-top:8px;font-size:13px}.login-note{color:#a0adbd;text-align:center;margin:18px 0 0;font-size:11px}.form-grid label{display:block}.form-grid label input,.form-grid label select,.form-grid label textarea{width:100%;margin-top:7px;display:block}@media (width<=1150px){.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.sidebar{flex-basis:67px;width:67px}.sidebar .brand{justify-content:center;padding:0}.brand:not(.brand-light)>div:nth-child(2),.sidebar-caption,.nav-item span,.sidebar-bottom .profile-info,.sidebar-bottom .profile-avatar{display:none}.sidebar nav{padding:18px 7px}.nav-item{justify-content:center;padding:0}.sidebar-bottom{justify-content:center}.topbar{padding:0 16px}.content{padding:22px 16px}.dashboard-grid,.login-wrap{grid-template-columns:1fr}.login-art{min-height:280px;padding:25px}.login-art-copy h1{font-size:32px}.login-art-copy p{font-size:12px}.login-panel{padding:35px 20px}.login-art-foot{display:none}}@media (width<=570px){.topbar-right span:not(.online-dot),.topbar-divider{display:none}.page-heading,.toolbar,.card-head{flex-direction:column;align-items:flex-start}.metric-grid,.metric-grid.three,.schedule-grid{grid-template-columns:1fr 1fr}.metric-card{min-height:115px;padding:14px}.metric-card strong{font-size:26px}.metric-icon{display:none}.hero-card{flex-wrap:wrap;padding:18px}.hero-action{margin:0}.catalog-actions{flex-wrap:wrap}.modal{padding:18px}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:1}}.billing-toolbar,.billing-actions,.billing-catalog-form{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.billing-toolbar select{flex:0 0 120px}.billing-actions{margin:16px 21px 19px}.billing-actions label{color:#657992;gap:6px;font-size:12px;display:grid}.billing-actions .grow{flex:230px}.billing-actions .grow input{width:100%}.card>.detail-strip{margin:15px 21px}.billing-summary{color:#657992;justify-content:flex-end;align-items:center;gap:18px;padding:16px 21px 4px;display:flex}.billing-summary strong{color:#174a83;font-size:22px}.refund-list{border-top:1px solid #e8edf3;margin:16px 21px 19px}.billing-catalog-form{margin-top:16px}.billing-catalog-form input{min-width:130px}.workspace-layout{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:17px;display:grid;position:relative}.workspace-sidebar{min-height:560px;margin-bottom:0;position:sticky;top:17px}.workspace-side-head,.workspace-history-head{border-bottom:1px solid #eff3f8;justify-content:space-between;align-items:center;gap:10px;padding:18px 17px;display:flex}.workspace-side-head h3{margin-top:4px}.workspace-visit-list{padding:9px}.workspace-visit{color:#40536d;text-align:left;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:9px;align-items:center;gap:8px;width:100%;padding:10px 8px;display:flex}.workspace-visit:hover,.workspace-visit.selected{background:#f5f9ff;border-color:#cfe1fa}.workspace-visit strong,.workspace-visit small{display:block}.workspace-visit strong{color:#233b59;font-size:12px}.workspace-visit small{color:#95a4b7;margin-top:3px;font-size:10px}.workspace-visit .pill{padding:3px 6px;font-size:9px}.workspace-history-head{color:#7688a1;border-bottom:0;justify-content:flex-start;padding:14px 17px 9px;font-size:11px;font-weight:700}.history-list{padding-top:0}.workspace-visit.compact{padding:8px}.workspace-main{min-width:0}.workspace-patient-head{align-items:center;gap:13px;padding:19px 21px;display:flex}.doctor-avatar.large{border-radius:14px;flex-basis:48px;width:48px;height:48px;font-size:18px}.workspace-patient-head h2{margin:4px 0}.workspace-patient-head p{color:#8c9caf;margin:0;font-size:11px}.compact-strip{align-items:center;margin:0;font-size:11px}.compact-strip span{align-items:center;gap:5px;display:inline-flex}.workspace-section{overflow:visible}.workspace-section .card-head{padding:17px 21px}.workspace-section .form-grid{margin:18px 21px 21px}.workspace-form-grid textarea{min-height:82px}.workspace-form-grid textarea:disabled{color:#687993;opacity:1;background:#f8faff}.revision-box{color:#6d8099;border-top:1px solid #eff3f8;margin:0 21px 18px;padding-top:12px;font-size:11px}.revision-box summary{cursor:pointer;font-weight:700}.revision-row{justify-content:space-between;padding:9px 0 0;display:flex}.revision-row small{color:#a0adbd}.tag-list,.order-list{padding:15px 21px 2px}.data-tag{color:#324a67;border:1px solid #e1eaf5;border-radius:8px;align-items:center;gap:8px;margin:0 7px 8px 0;padding:7px 9px;font-size:11px;display:inline-flex}.data-tag small{color:#9aa8b9}.icon-button.tiny{width:23px;height:23px}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:8px;padding:12px 21px 19px;display:flex}.inline-form input,.inline-form select{flex:130px}.inline-form>label{color:#657992;flex:150px;gap:6px;min-width:0;font-size:12px;display:grid}.compact-form{flex-wrap:nowrap;padding:0}.compact-form input{min-width:130px}.prescription-tabs{flex-wrap:wrap;gap:7px;padding:14px 21px 0;display:flex}.prescription-tabs button{color:#647893;cursor:pointer;background:#fff;border:1px solid #e0e8f3;border-radius:8px;padding:8px 10px;font-size:11px}.prescription-tabs button.active{color:#1263d2;background:#f2f7ff;border-color:#a9c9f4}.prescription-tabs button span{color:#9aa9bb;margin-top:3px;font-size:9px;display:block}.small-button{height:29px;margin-left:auto;padding:0 10px}.prescription-form select{flex:2;min-width:230px}.prescription-form input{min-width:82px}.order-row{border-bottom:1px solid #f0f3f8;align-items:center;gap:10px;padding:10px 0;display:flex}.order-row:last-child{border-bottom:0}.order-row strong,.order-row small{display:block}.order-row strong{color:#253b58;font-size:12px}.order-row small{color:#97a5b6;margin-top:3px;font-size:10px}.order-form input:nth-child(2){flex:2}.history-card{margin-bottom:0}.history-timeline{padding:10px 21px 17px}.history-timeline button{text-align:left;color:#4b617c;cursor:pointer;background:0 0;border:0;border-left:1px solid #dce7f5;align-items:flex-start;gap:10px;width:100%;padding:9px 10px 9px 17px;display:flex}.timeline-dot{background:#1263d2;border-radius:50%;width:7px;height:7px;margin-top:4px;margin-left:-21px;box-shadow:0 0 0 4px #e8f2ff}.history-timeline strong,.history-timeline small{display:block}.history-timeline strong{color:#304966;font-size:11px}.history-timeline small{color:#99a7b8;margin-top:3px}.workspace-empty{color:#9aa9b9;flex-direction:column;justify-content:center;align-items:center;min-height:360px;display:flex}.workspace-empty h3{color:#657992;margin:13px 0 4px}.workspace-empty p{font-size:12px}.workspace-loading{color:#fff;z-index:10;background:#213b5d;border-radius:9px;padding:10px 14px;font-size:11px;position:fixed;bottom:24px;right:24px;box-shadow:0 7px 20px #172f4a33}@media (width<=980px){.workspace-layout{grid-template-columns:1fr}.workspace-sidebar{min-height:0;position:static}.workspace-visit-list{gap:7px;display:flex;overflow-x:auto}.workspace-visit{min-width:220px}.history-list{display:flex}}@media (width<=570px){.toolbar>input,.toolbar>.search-box{flex:none;width:100%}.billing-toolbar{flex-direction:row}.billing-toolbar>input,.billing-toolbar>select{flex-basis:100%}.workspace-patient-head{flex-wrap:wrap;align-items:flex-start}.workspace-patient-head .compact-strip{width:100%}.compact-form{flex-wrap:wrap;width:100%}.compact-form input{min-width:0}.inline-form input,.inline-form select,.prescription-form select{min-width:100%}}.inspection-grid{grid-template-columns:minmax(300px,1fr) minmax(360px,1fr)}.inspection-choice{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;width:100%}.inspection-choice.selected{background:#f2f8ff;border-color:#8cb8e8}.inspection-report{background:#f8fbff;border:1px solid #dbe6f1;border-radius:12px;margin-top:16px;padding:16px}.inspection-report p{white-space:pre-wrap;overflow-wrap:anywhere}.stats-summary{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:20px 0;display:grid}.stats-summary>div{background:#f8fbff;border:1px solid #dbe6f1;border-radius:12px;padding:16px}.stats-summary small,.stats-summary strong{display:block}.stats-summary strong{margin-top:7px;font-size:1.4rem}@media (width<=900px){.inspection-grid{grid-template-columns:1fr}}.agent-launcher{z-index:18;color:#1263d2;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;background:#fff;border:1px solid #dce8f8;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:60px;height:80px;display:flex;position:fixed;right:8px;box-shadow:0 5px 20px #213b5d18}.agent-launcher span{font-size:10px;font-weight:700}.agent-launcher>svg:last-child{color:#a1b6d0}.agent-launcher:hover,.agent-launcher.is-open{background:#eaf2ff;border-color:#a9c9f4}.agent-launcher:focus-visible,.agent-move:focus-visible,.agent-close:focus-visible{outline-offset:3px;outline:2px solid #1263d2}.agent-launcher.is-dragging,.agent-dialog.is-dragging .agent-dialog-head,.agent-dialog.is-dragging .agent-move{cursor:grabbing}.agent-dialog{z-index:19;background:#fff;border:1px solid #dce6f3;border-radius:18px;flex-direction:column;width:min(400px,100vw - 16px);height:min(520px,100dvh - 16px);display:flex;position:fixed;overflow:hidden;box-shadow:0 16px 48px #213b5d26,0 3px 10px #213b5d0a}.agent-dialog-head{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#f5f8fd;border-bottom:1px solid #e6edf7;flex:none;align-items:center;gap:10px;padding:17px 16px;display:flex}.agent-head-icon{color:#fff;background:#1263d2;border-radius:12px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.agent-head-copy{flex:1;min-width:0}.agent-head-copy h2{margin:0 0 4px;font-size:16px}.agent-head-copy span{color:#8190a5;font-size:10px}.agent-move,.agent-close{color:#8190a5;background:0 0;border:0;border-radius:8px;flex-shrink:0;place-items:center;width:30px;height:30px;padding:0;display:grid}.agent-move{cursor:grab}.agent-move:hover,.agent-close:hover{color:#1263d2;background:#e5edf8}.agent-dialog-content{overscroll-behavior:contain;flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.agent-dialog[hidden]{display:none}.agent-conversation{flex:1;min-height:0;padding:18px;overflow-y:auto}.agent-chat-toolbar{border-bottom:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:8px;padding:10px 16px;display:flex}.agent-chat-toolbar>span{color:#8190a5;font-size:10px}.agent-chat-toolbar button{color:#657992;background:0 0;border:0;align-items:center;gap:4px;padding:4px;font-size:11px;display:flex}.agent-suggestions{gap:8px;display:grid}.agent-suggestions button{text-align:left;color:#35608b;background:#f8faff;border:1px solid #e1e9f4;border-radius:10px;padding:10px 12px;font-size:12px}.agent-message{background:#f5f8fd;border:1px solid #e6edf7;border-radius:12px;margin-bottom:16px;padding:12px}.agent-message.user{background:#edf4ff;margin-left:24px}.agent-message-role{color:#8190a5;margin-bottom:6px;font-size:10px;font-weight:700;display:block}.agent-message-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#304b67;font-size:12px;line-height:1.8}.agent-message.is-error{background:#fff8f5;border-color:#f0d5cd}.agent-sources{overflow-wrap:anywhere;color:#657992;border-top:1px solid #dce6f3;margin:10px 0 0;padding:8px 0 0;font-size:10px;line-height:1.7;list-style:none}.agent-sources li+li{margin-top:6px}.agent-source-detail summary{cursor:pointer;padding:3px 0}.agent-source-detail summary:focus-visible{outline-offset:3px;border-radius:3px;outline:2px solid #1263d2}.agent-source-hint{color:#1263d2;margin-left:6px}.agent-source-detail[open] .agent-source-hint{display:none}.agent-source-excerpt{white-space:pre-wrap;color:#304b67;background:#fff;border:1px solid #dce6f3;border-radius:8px;margin:7px 0 2px;padding:10px;font-size:11px;line-height:1.8}.agent-retry{color:#1263d2;background:0 0;border:0;padding:7px 0 0;font-size:11px}.agent-waiting,.agent-notice{color:#657992;font-size:11px;line-height:1.7}.agent-notice{margin:0 16px 8px}.agent-welcome-icon{color:#1263d2;background:#f2f7ff;border:1px solid #dce8f8;border-radius:20px;place-items:center;width:62px;height:62px;margin-bottom:18px;display:grid}.agent-conversation h3{margin:10px 0 9px;font-size:19px}.agent-conversation>p{color:#8190a5;margin-bottom:18px;font-size:12px}.agent-unavailable{background:#fafcff;border:1px solid #e6edf7;border-radius:12px;padding:12px 14px}.agent-unavailable p{color:#8190a5;margin:9px 0 0;font-size:12px}.agent-composer{background:#f8faff;border:1px solid #e1e9f4;border-radius:12px;flex-shrink:0;margin:0 16px;padding:12px}.agent-composer textarea{resize:none;background:0 0;border:0;width:100%;min-height:48px;padding:0;font-size:12px;display:block}.agent-composer textarea::placeholder{color:#93a2b5}.agent-composer-foot{justify-content:space-between;align-items:center;gap:12px;display:flex}.agent-composer-foot span{color:#93a2b5;font-size:10px}.agent-composer-foot button{color:#657992;background:#dce7f5;border:0;border-radius:9px;place-items:center;width:30px;height:30px;display:grid}.agent-composer-foot button:not(:disabled){color:#fff;background:#1263d2}.agent-composer-foot button:disabled{cursor:not-allowed}.agent-dialog-note{color:#93a2b5;text-align:center;flex-shrink:0;margin:9px 16px 12px;font-size:10px}.agent-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
