:root{--blue:#237bd4;--blue-dark:#1764b4;--blue-pale:#dcecff;--line:#aebdca;--soft-line:#d7e0e7;--row:#f5f7f8;--row-alt:#e8eaeb;--ink:#182430;--muted:#647382;--green:#0b9564;--amber:#a85d08;--danger:#dc2929}*{box-sizing:border-box}html,body{min-width:1080px}body{color:var(--ink);background:#eef1f3;margin:0;font-family:Arial,Microsoft YaHei,PingFang SC,sans-serif;font-size:13px}button,input,textarea,select{font:inherit}button{cursor:pointer}.his-shell{background:#f6f7f8;border-top:2px solid #2b77bf;min-height:100vh;margin:0}.module-tabs{background:linear-gradient(#fdfdfd,#e4e7e9);border-bottom:1px solid #9eacb8;align-items:stretch;height:32px;display:flex}.module-tabs button{color:#25313d;background:0 0;border:0;border-right:1px solid #aeb8c1;padding:0 16px;font-weight:700}.module-tabs button.active{background:#fff;box-shadow:inset 0 -2px #fff}.module-tabs span{color:#55728e;align-self:center;margin-left:auto;padding-right:14px;font-size:12px}.toolbar,.patient-strip{white-space:nowrap;background:#f4f5f6;border-bottom:1px solid #aeb9c2;align-items:center;gap:7px;min-height:35px;padding:3px 8px;display:flex}.toolbar label,.patient-strip label{align-items:center;gap:4px;display:flex}.toolbar input{width:160px}.toolbar input,.toolbar select,.patient-strip input,.patient-strip select{background:#fff;border:1px solid #8ea3b4;height:25px;padding:1px 6px}.toolbar>button{color:#173e62;background:linear-gradient(#fff,#dcebf7);border:1px solid #7a9fc1;height:27px;padding:0 12px}.toolbar>button:hover{background:#d8ecff}.toolbar .smart-button{color:#074e8d;background:linear-gradient(#eaf6ff,#b9dcfa);border-color:#2d85cf;font-weight:800}.toolbar .urgent{color:red;margin-left:3px;font-size:17px}.checkbox-label input{width:auto;height:auto}.engine-light{color:#65717c;background:#e5e7e9;border:1px solid #c1c8ce;margin-left:auto;padding:5px 8px;font-size:11px}.engine-light.online{color:#08754e;background:#e8f8f2;border-color:#82cdb1}.patient-strip{min-height:34px}.patient-strip .diagnosis-input{flex:1}.patient-strip .diagnosis-input input{width:100%}.patient-strip>span{color:#526f8d;font-size:11px}.intake-panel{background:#fff;border-bottom:1px solid #93aabd}.intake-tabs{background:#edf1f4;border-bottom:1px solid #b7c6d3;align-items:end;gap:2px;height:31px;padding:0 8px;display:flex}.intake-tabs button{color:#53616e;background:#e3e8ec;border:1px solid #a9b9c6;border-bottom:0;height:27px;padding:0 16px}.intake-tabs button.active{color:#145e9f;background:#fff;height:29px;font-weight:700}.intake-tabs span{color:#7d8994;align-self:center;margin-left:auto;font-size:11px}.text-intake{grid-template-columns:1fr auto;gap:8px;min-height:70px;padding:7px 8px;display:grid}.text-intake textarea{resize:vertical;border:1px solid #91a7b9;outline:none;min-height:56px;padding:6px 8px;line-height:1.5}.text-intake textarea:focus{border-color:#2786d6}.example-buttons{flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:4px;max-width:260px;padding-top:2px;display:flex}.example-buttons span{color:#687583;width:100%;font-size:11px}.example-buttons button{color:#3f617f;background:#f7fafc;border:1px solid #b5c5d2;padding:4px 7px;font-size:11px}.file-intake{grid-template-columns:340px 1fr;gap:10px;min-height:76px;padding:7px 8px;display:grid}.upload-box{color:#145d9e;background:#f4faff;border:1px dashed #6197c4;flex-direction:column;justify-content:center;align-items:center;display:flex}.upload-box b{font-size:13px}.upload-box span,.file-preview span{color:#6b7d8e;margin-top:4px;font-size:10px}.file-preview{background:#fafbfc;border:1px solid #d4dde4;flex-direction:column;justify-content:center;min-width:0;padding:8px 12px;display:flex}.file-preview strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.his-workspace{background:#fff;border-top:1px solid #5d91c1;grid-template-columns:185px minmax(330px,32%) minmax(560px,1fr);height:calc(100vh - 239px);min-height:570px;display:grid;overflow:hidden}.category-column,.items-column,.application-column{background:#fff;border-right:1px solid #7d97ab;min-width:0;overflow:hidden}.application-column{border-right:0;flex-direction:column;display:flex}.blue-header{color:#fff;letter-spacing:.12em;background:linear-gradient(#398ce0,#1b6fc5);justify-content:center;align-items:center;height:28px;font-weight:700;display:flex}.blue-header.split{justify-content:space-between;padding:0 10px}.blue-header.split span:last-child{color:#e6f2ff;letter-spacing:0;font-size:11px;font-weight:400}.category-row{color:#26323e;text-align:left;background:#e3e5e6;border:0;border-bottom:1px solid #fff;align-items:center;gap:8px;width:100%;height:37px;padding:0 10px;display:flex}.category-row:nth-child(odd){background:#f5f5f5}.category-row>span{color:#266aa7;background:#fff;border:1px solid #a5b6c4;place-items:center;width:22px;height:22px;font-weight:800;display:grid}.category-row.active{color:#fff;background:#2f8fe9;font-weight:800}.category-row.active>span{color:#1766af;border-color:#fff}.category-row.locked{cursor:not-allowed;color:#9da6ae}.category-row small{color:#8e969e;background:#eef0f2;border-radius:9px;margin-left:auto;padding:2px 6px;font-size:9px}.hard-rule-box{background:#fff8ec;border:1px solid #efbd78;margin:16px 10px 8px;padding:10px}.hard-rule-box b{color:#a05a0a}.hard-rule-box p{color:#755c3f;margin:6px 0 0;font-size:11px;line-height:1.55}.catalog-stats{color:#657582;border-top:1px solid #d5dde3;align-items:baseline;gap:6px;margin:10px;padding-top:9px;display:flex}.catalog-stats b{color:#1667ad;font-size:18px}.catalog-stats small{margin-left:auto;font-size:9px}.recommendation-pane,.hospital-catalog{height:calc(100% - 28px);overflow:auto}.coverage-bar{color:#176b4e;background:#eaf8f3;border-bottom:1px solid #9ad2be;justify-content:space-between;align-items:center;min-height:32px;padding:5px 9px;font-size:11px;display:flex}.coverage-bar.warning{color:#95550b;background:#fff7e9;border-color:#efcb92}.legacy-empty{color:#6d7c8b;flex-direction:column;justify-content:center;align-items:center;height:75%;display:flex}.legacy-empty b{color:#116ac1;background:#dfedfc;border-radius:3px;place-items:center;width:44px;height:44px;font-size:22px;display:grid}.legacy-empty strong{color:#203040;margin:12px 0 5px}.legacy-empty span{font-size:11px}.candidate-row{text-align:left;background:#fff;border:0;border-bottom:1px solid #cdd6dd;grid-template-columns:22px 22px 1fr 38px;align-items:center;gap:4px;width:100%;min-height:49px;padding:5px 7px;display:grid}.candidate-row:nth-child(2n){background:#f0f1f2}.candidate-row>span{text-align:right;color:#64717d}.candidate-row>i{color:#0876d8;background:#fff;border:1px solid #1a74c9;place-items:center;width:18px;height:18px;font-style:normal;display:grid}.candidate-row div{min-width:0}.candidate-row b{color:#1d2d3c;font-size:12px;display:block}.candidate-row small{color:#687885;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:9px;display:block;overflow:hidden}.candidate-row em{color:#14875d;font-size:10px;font-style:normal}.candidate-row.conditional em{color:#ad650d}.candidate-row.conditional>i{color:#b86d0f;border-color:#cb8729}.questions-box{background:#fff8ed;border:1px solid #edbd78;margin:10px;padding:8px 10px}.questions-box b{color:#9f5a09;font-size:11px}.questions-box p{color:#6e5b43;margin:5px 0;font-size:10px;line-height:1.4}.catalog-list{height:calc(100% - 28px);overflow:auto}.catalog-row,.single-row{text-align:left;background:#e6e7e8;border:0;border-bottom:1px solid #fff;align-items:center;width:100%;min-height:35px;padding:3px 6px;display:grid}.catalog-row{grid-template-columns:25px 21px 1fr}.single-row{grid-template-columns:25px 21px 1fr 56px}.catalog-row:nth-child(2n),.single-row:nth-child(2n){background:#f7f7f7}.catalog-row:hover,.single-row:hover{background:#d9ecff}.catalog-row>span,.single-row>span{color:#576878;text-align:right}.catalog-row>i,.single-row>i{color:#0879dc;background:#fff;border:1px solid #0879dc;place-items:center;width:17px;height:17px;font-style:normal;display:grid}.catalog-row b,.single-row b{color:#1d2a36;text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.catalog-row small,.single-row small{color:#697885;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:8px;display:block;overflow:hidden}.single-row em{color:#265f91;text-align:right;font-size:10px;font-style:normal}.catalog-filters{background:#eef1f3;border-bottom:1px solid #b8c4ce;grid-template-columns:90px 1fr;gap:5px;height:33px;padding:4px 6px;display:grid}.catalog-filters select{background:#fff;border:1px solid #9fb0bd;min-width:0}.single-table-head{color:#3d5365;background:#d6e1ea;border-bottom:1px solid #98aab8;grid-template-columns:46px 1fr 56px;align-items:center;height:22px;font-size:9px;display:grid}.single-table-head span:last-child{text-align:right;padding-right:8px}.hospital-catalog .catalog-list{height:calc(100% - 55px)}.validation-strip{color:#08754e;white-space:nowrap;background:#edf8f3;border-bottom:1px solid #b8c5cf;align-items:center;gap:10px;min-height:30px;padding:4px 8px;font-size:9px;display:flex;overflow-x:auto}.validation-strip .pending{color:#9a671f}.validation-strip .checked{color:#08754e;font-weight:700}.validation-strip .blocked{color:#b11f1f;font-weight:700}.insurance-result{color:#765118;background:#fff8e9;border-bottom:1px solid #d6b16d;flex-direction:column;gap:2px;max-height:92px;padding:6px 9px;font-size:10px;line-height:1.4;display:flex;overflow:auto}.insurance-result.pass{color:#176b4e;background:#edf8f3;border-color:#9acdb8}.insurance-result.blocked{color:#9c1f1f;background:#fff0f0;border-color:#e7a1a1}.application-head,.application-row{grid-template-columns:82px 82px minmax(180px,1fr) 64px 40px 55px 38px;align-items:center;gap:0;display:grid}.application-head{color:#344b5d;text-align:center;background:#dbe6ee;border-bottom:1px solid #7f97aa;height:25px;font-size:9px}.application-head span{border-right:1px solid #b1c0cc;height:100%;padding-top:7px}.application-list{flex:1;overflow:auto}.application-empty{color:#7c8995;justify-content:center;align-items:center;height:70%;display:flex}.application-group{border-bottom:1px solid #cbd5dc}.application-row{background:#fff;min-height:39px;font-size:10px}.application-group:nth-child(2n) .application-row{background:#eeeeef}.application-row>span,.application-row>div{min-width:0;padding:5px 6px}.application-row>span{text-align:center;color:#455665}.application-row div b{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.application-row div small{color:#75818c;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:8px;display:block;overflow:hidden}.application-row>button{color:#e02b2b;background:0 0;border:0;font-size:9px}.application-group details{background:#f8fafb;padding:5px 11px}.application-group summary{cursor:pointer;color:#3f6d94;font-size:9px}.application-group ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;margin:6px 0;padding:0;list-style:none;display:grid}.application-group li{font-size:9px}.application-group li span{color:#456884;background:#dce9f4;margin-right:5px;padding:1px 4px;font-size:7px;display:inline-block}.application-group li.calculated{color:#8d979f}.application-group li.calculated span{color:#7e878e;background:#e5e7e9}.application-footer{background:#eef1f3;border-top:1px solid #8ea2b2;justify-content:space-between;align-items:center;min-height:39px;padding:4px 8px;display:flex}.application-footer>div{align-items:baseline;gap:5px;display:flex}.application-footer b{color:#145e9b}.application-footer small{color:#7b8790;font-size:8px}.application-footer button{background:linear-gradient(#fff,#dae5ed);border:1px solid #849eaf;height:26px;padding:0 12px}.application-footer button.submit{color:#fff;background:linear-gradient(#57a7eb,#277ecc);border-color:#287fc6;font-weight:700}.toast{z-index:20;color:#30475b;background:#fff;border:1px solid #6f9fc5;align-items:center;gap:8px;max-width:760px;padding:8px 10px;font-size:11px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 5px 18px #516d8350}.toast>span{color:#fff;background:#277fca;place-items:center;width:18px;height:18px;font-family:Georgia,serif;font-weight:700;display:grid}.toast button{color:#667582;background:0 0;border:0;margin-left:auto;font-size:15px}@media (height<=760px){.his-workspace{height:570px}}
