@import "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";.patient-filter{box-shadow:var(--shadow);background:#fff!important;border-radius:12px!important}.patient-filter input,.patient-filter select{background:#fbfcfc!important;border-color:#dce5e2!important;border-radius:8px!important;height:37px!important}.filter-search,.patient-batch-actions button{box-shadow:0 6px 13px #164f4621;background:var(--green)!important;border-radius:8px!important}.patient-tabs button{color:#74827f!important;border-color:#d6e1de!important}.patient-tabs button.active{background:var(--green)!important;border-color:var(--green)!important;color:#fff!important}.patient-table-card{box-shadow:var(--shadow);border-radius:12px!important}.patient-table th{letter-spacing:.02em;color:#315d55!important;background:#e7f0ed!important;border-right:1px solid #d8e5e1!important;height:42px!important;font-weight:700!important}.patient-table td{border-right:1px solid #edf1f0!important}.custom-columns{color:#286b60!important;border-color:#cddbd7!important;border-radius:7px!important}.table-actions button,.patient-pagination{color:#287568!important}.patient-pagination button.active{background:var(--green)!important;border-color:var(--green)!important}.patient-batch-actions{margin-top:3px}.patient-batch-actions button{height:34px!important}.patient-toolbar{background:#f8faf9!important}.patient-filter{grid-template-columns:1.25fr .9fr 1.8fr 1.25fr .9fr 1.8fr auto;align-items:end;gap:12px 16px;margin-bottom:16px;padding:17px 19px;display:grid}.patient-filter label{flex-direction:column;gap:6px;display:flex}.patient-filter label>span{color:#52615e;font-size:8px;font-weight:600}.patient-filter input,.patient-filter select{color:#55635f;background:#fff;border:1px solid #d7e1de;border-radius:6px;outline:0;width:100%;min-width:0;height:34px;padding:0 8px;font-size:8px}.patient-filter .date-range,.patient-filter .age-range{grid-template-columns:1fr auto 1fr;align-items:center;display:grid}.patient-filter .date-range>span,.patient-filter .age-range>span{grid-column:1/-1}.patient-filter label i{color:#81908c;font-size:8px;font-style:normal}.filter-search{color:#fff;background:#159bce;border:0;border-radius:6px;align-items:center;gap:6px;height:34px;padding:0 16px;font-size:8px;display:flex}.patient-batch-actions{gap:9px;margin:0 0 13px;display:flex}.patient-batch-actions button{color:#fff;background:#159bce;border:0;border-radius:5px;align-items:center;gap:6px;height:32px;padding:0 13px;font-size:8px;display:flex}.patient-table-card{border-radius:4px!important}.patient-table th{border-right:1px solid #ffffffa6;color:#164453!important;background:#79cbea!important;height:38px!important}.patient-table td{border-right:1px solid #e4e9e7;height:64px!important}.patient-table th:first-child,.patient-table td:first-child{text-align:center}.patient-toolbar{background:#f8faf9;min-height:44px!important;padding:6px 9px!important}.patient-toolbar>span{margin-left:0!important}.custom-columns{height:28px!important;margin-left:auto!important}.table-actions{gap:13px;display:flex}.table-actions button{color:#276d86;white-space:nowrap;background:0 0;border:0;padding:3px;font-size:8px}.patient-pagination{color:#168fbf;border-top:1px solid #e7ecea;justify-content:center;align-items:center;gap:0;min-height:58px;font-size:8px;display:flex}.patient-pagination>span{margin-right:10px}.patient-pagination button{color:#168fbf;background:#fff;border:1px solid #dbe4e1;min-width:31px;height:28px;margin-left:-1px;font-size:8px}.patient-pagination i{color:#64736f;margin:0 6px 0 10px;font-style:normal}.patient-pagination input{text-align:center;border:1px solid #dbe4e1;border-radius:4px;width:36px;height:28px;font-size:8px}.patient-tabs{border-bottom:0!important;gap:0!important;height:37px!important;margin-bottom:13px!important}.patient-tabs button{min-width:130px;margin-left:-1px;background:#fff!important;border:1px solid #b9c5c1!important;height:37px!important}.patient-tabs button.active{color:#fff!important;background:#159bce!important}.patient-tabs button.active:after{display:none}.patient-tabs button b{background:#ffffff40!important}.patient-page-head{margin-bottom:17px!important}@media (width<=1050px){.patient-filter{grid-template-columns:repeat(3,1fr)}.filter-search{justify-content:center}}@media (width<=700px){.patient-filter{grid-template-columns:1fr 1fr}.patient-filter .date-range,.patient-filter .age-range{grid-column:1/-1}.patient-tabs button{min-width:105px}.patient-batch-actions{overflow:auto}.patient-pagination{justify-content:flex-start;padding:10px;overflow:auto}.patient-filter .filter-search{grid-column:1/-1}}.drawer-actions{align-items:center;gap:8px;display:flex}.drawer-actions>button{color:#53635f;background:#fff;border:1px solid #dce4e1;border-radius:7px;align-items:center;gap:6px;height:33px;padding:0 10px;font-size:8px;display:flex}.drawer-actions .close-drawer{background:#f0f4f2;border:0;border-radius:50%;place-items:center;width:33px;padding:0;display:grid}.form-section-head{justify-content:space-between;align-items:flex-start;margin-bottom:15px;display:flex}.form-section-head h3{margin:0 0 5px}.form-section-head p{color:#8d9996;margin:0;font-size:8px}.save-patient-form{color:#286b60;background:#fff;border:1px solid #cddbd7;border-radius:7px;height:31px;padding:0 12px;font-size:8px}.patient-form{grid-template-columns:1fr 1fr;gap:13px;display:grid}.patient-form label>span{color:#667470;align-items:center;gap:6px;margin-bottom:6px;font-size:8px;display:flex}.patient-form label>span i{color:#8e9b98;background:#e9eeec;border-radius:7px;padding:2px 5px;font-size:6px;font-style:normal}.patient-form input{color:#33443f;background:#fff;border:1px solid #dce4e1;border-radius:7px;outline:0;width:100%;height:38px;padding:0 10px;font-size:9px}.patient-form input:focus{border-color:#3b8175;box-shadow:0 0 0 3px #3b817517}.patient-form input[readonly]{color:#7f8c89;background:#f0f3f2}.no-fields{color:#8d9996;border:1px dashed #d5dfdc;border-radius:9px;place-items:center;min-height:230px;font-size:9px;display:grid}.field-config-backdrop{z-index:80;background:#0a26218f;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.field-config-backdrop[hidden]{display:none}.field-config{background:#fff;border-radius:15px;grid-template-rows:auto auto 1fr auto;width:min(780px,100%);height:min(760px,90vh);display:grid;overflow:hidden;box-shadow:0 28px 80px #08221e4d}.field-config>header{border-bottom:1px solid #e3e9e7;justify-content:space-between;padding:20px 23px;display:flex}.field-config header h2{margin:0 0 5px;font:600 18px Georgia,Noto Sans SC,serif}.field-config header>div>span{color:#8c9996;font-size:8px}.field-config header>button{background:#f0f3f2;border:0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.config-toolbar{background:#f8faf9;align-items:center;gap:8px;height:48px;padding:0 20px;display:flex}.config-toolbar button{color:#527068;background:#fff;border:1px solid #d9e2df;border-radius:6px;height:28px;padding:0 10px;font-size:8px}.config-toolbar span{color:#7f8d89;margin-left:auto;font-size:8px}.config-sections{padding:17px 20px;overflow:auto}.config-sections>section{border-bottom:1px solid #edf1ef;margin-bottom:15px;padding:0 0 15px}.config-sections>section>div:first-child{align-items:center;margin-bottom:10px;display:flex}.config-sections h3{margin:0;font-size:10px}.config-sections>section>div:first-child span{color:#97a29f;margin-left:7px;font-size:7px}.config-sections>section>div:last-child{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.config-sections label{color:#5f6d69;cursor:pointer;border:1px solid #e3e9e7;border-radius:6px;align-items:center;gap:6px;min-width:0;height:31px;padding:0 8px;font-size:8px;display:flex}.config-sections label input{opacity:0;position:absolute}.config-sections label i{color:#0000;border:1px solid #ccd8d4;border-radius:3px;place-items:center;width:14px;height:14px;display:grid}.config-sections label:has(input:checked){color:#276b60;background:#f1f8f6;border-color:#acd0c8}.config-sections label input:checked+i{color:#fff;background:#287568;border-color:#287568}.config-sections label span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.field-config>footer{border-top:1px solid #e3e9e7;justify-content:flex-end;gap:8px;padding:13px 20px;display:flex}.field-config>footer>button{height:36px}.cancel-config{color:#65736f;background:#fff;border:1px solid #dbe3e0;border-radius:7px;padding:0 15px;font-size:8px}.table-sub{color:#9aa5a2;margin-top:4px;font-size:7px;display:block}.patient-table tbody tr{cursor:pointer}.patient-drawer-backdrop{z-index:60;background:#0a26217a;justify-content:flex-end;display:flex;position:fixed;inset:0}.patient-drawer-backdrop[hidden]{display:none}.patient-drawer{background:#f7f9f8;grid-template-rows:auto 1fr;grid-template-columns:170px 1fr;width:min(780px,92vw);height:100%;animation:.25s drawerIn;display:grid;box-shadow:-20px 0 60px #08221e2e}.drawer-head{background:#fff;border-bottom:1px solid #e1e8e5;grid-column:1/-1;justify-content:space-between;align-items:center;min-height:86px;padding:18px 23px;display:flex}.drawer-head h2{margin:0 0 5px;font:600 19px Georgia,Noto Sans SC,serif}.drawer-head>div>span{color:#8b9794;font-size:9px}.drawer-head>button{color:#54635f;background:#f0f4f2;border:0;border-radius:50%;place-items:center;width:33px;height:33px;display:grid}.drawer-nav{background:#fff;border-right:1px solid #e1e8e5;padding:14px 10px;overflow:auto}.drawer-nav button{color:#6c7976;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;width:100%;min-height:37px;padding:0 9px;font-size:9px;display:flex}.drawer-nav button b{color:#9da7a5;margin-left:auto;font-size:7px}.drawer-nav button.active{color:#246a5e;background:#e9f2ef;font-weight:700}.drawer-content{padding:23px;overflow:auto}.drawer-content h3{margin:0 0 15px;font-size:13px}.drawer-content h3 small{color:#929e9b;margin-left:8px;font-size:8px;font-weight:400}.field-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.field-grid>div{background:#fff;border:1px solid #e2e8e6;border-radius:8px;min-height:57px;padding:10px 12px}.field-grid span,.field-grid strong{display:block}.field-grid span{color:#8d9996;margin-bottom:6px;font-size:8px}.field-grid strong{color:#33443f;word-break:break-all;font-size:9px;font-weight:500}@keyframes drawerIn{0%{opacity:.4;transform:translate(30px)}}@media (width<=620px){.patient-drawer{grid-template-columns:115px 1fr;width:100vw}.drawer-head{padding:15px}.drawer-content{padding:14px}.field-grid{grid-template-columns:1fr}}:root{color:#172321;font-synthesis:none;--ink:#172321;--muted:#71807c;--green:#164f46;--green-2:#267568;--pale:#e9f1ee;--line:#dfe6e3;--white:#fff;--shadow:0 14px 34px #1536300e;background:#f2f5f3;font-family:Manrope,Noto Sans SC,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:#f2f5f3;min-width:320px;margin:0}body.no-scroll{overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #26756838}svg{display:block}.shell{min-height:100vh;display:flex}.sidebar{color:#fff;z-index:20;background:#123f38;flex-direction:column;width:252px;padding:27px 18px 18px;display:flex;position:fixed;inset:0 auto 0 0;overflow:auto}.brand{align-items:center;gap:12px;padding:0 10px 32px;display:flex}.brand-mark{background:#ffffff14;border:1px solid #ffffff3d;border-radius:12px;width:39px;height:39px;display:block;position:relative;transform:rotate(45deg)}.brand-mark i{background:#c7a966;border-radius:50%;width:7px;height:7px;position:absolute}.brand-mark i:first-child{top:8px;left:8px}.brand-mark i:nth-child(2){top:8px;right:8px}.brand-mark i:nth-child(3){bottom:8px;left:8px}.brand-mark i:nth-child(4){bottom:8px;right:8px}.brand-copy{flex-direction:column;display:flex}.brand-copy strong{letter-spacing:.12em;font-family:Georgia,serif;font-size:18px}.brand-copy small{letter-spacing:.2em;color:#a9c3bd;margin-top:3px;font-size:7px}nav p{letter-spacing:.16em;color:#779d94;margin:23px 13px 8px;font-size:10px;font-weight:700}nav a{color:#abc2bd;border-radius:9px;align-items:center;gap:13px;height:44px;margin:2px 0;padding:0 13px;font-size:13px;text-decoration:none;transition:all .18s;display:flex}nav a:hover{color:#fff;background:#ffffff0f}nav a b{color:#183e38;text-align:center;background:#c8ad6b;border-radius:12px;min-width:22px;margin-left:auto;padding:3px 7px;font-size:10px}.nav-group-toggle{color:#abc2bd;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:13px;width:100%;height:44px;padding:0 13px;font-size:13px;display:flex}.nav-group-toggle span{flex:1}.nav-group-toggle svg:last-child{transition:all .2s}.nav-group-toggle[aria-expanded=true] svg:last-child{transform:rotate(90deg)}.nav-children,.nav-subnav{display:grid;overflow:hidden}.nav-children.collapsed,.nav-subnav.collapsed{display:none}.nav-children a,.nav-subnav a{height:35px;margin:0;padding-left:45px;font-size:11px}.nav-children a:before,.nav-subnav a:before{content:"";background:#6f978e;border-radius:50%;width:4px;height:4px;margin-left:-12px}.sidebar nav{padding-bottom:20px}.clinic-switcher{margin-top:auto;position:relative}.clinic-card{color:#fff;text-align:left;background:#ffffff0e;border:1px solid #ffffff1a;border-radius:11px;align-items:center;gap:10px;width:100%;padding:12px;display:flex}.clinic-card>svg{transition:all .2s}.clinic-card[aria-expanded=true]>svg{transform:rotate(-90deg)}.clinic-card>span:nth-child(2){flex:1;min-width:0}.clinic-card strong,.clinic-card small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.clinic-card strong{font-size:12px}.clinic-card small{color:#8fb0a9;margin-top:3px;font-size:10px}.clinic-logo{color:#173f38;background:#c5aa68;border-radius:8px;place-items:center;width:33px;height:33px;font:700 16px Georgia;display:grid!important}.clinic-popover{color:#20332f;z-index:30;background:#fff;border:1px solid #dce5e2;border-radius:12px;width:290px;padding:13px;position:absolute;bottom:65px;left:0;box-shadow:0 18px 50px #061f1b3d}.clinic-popover[hidden]{display:none}.clinic-popover>div:first-child{padding:2px 3px 10px}.clinic-popover>div:first-child strong,.clinic-popover>div:first-child small{display:block}.clinic-popover>div:first-child strong{font-size:11px}.clinic-popover>div:first-child small{color:#8b9895;margin-top:3px;font-size:8px}.clinic-options{gap:4px;max-height:270px;display:grid;overflow:auto}.clinic-options button{color:#596662;text-align:left;background:#fff;border:0;border-radius:7px;align-items:center;gap:8px;min-height:38px;padding:5px 8px;display:flex}.clinic-options button:hover,.clinic-options button.selected{color:#235f55;background:#edf5f2}.clinic-options button>span{background:#e6efec;border-radius:7px;place-items:center;width:27px;height:27px;font-size:9px;font-weight:700;display:grid}.clinic-options button>b{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:9px;overflow:hidden}.clinic-options button>svg{color:#277667}.header-clinic,.header-role{font-style:normal}main{width:calc(100% - 252px);margin-left:252px}header{border-bottom:1px solid var(--line);z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;align-items:center;height:70px;padding:0 38px;display:flex;position:sticky;top:0}.plain{background:0 0;border:0}.mobile-menu{color:var(--ink);margin-right:8px;display:none}.search{color:#8a9794;background:#f4f6f5;border:1px solid #e9eeec;border-radius:9px;align-items:center;gap:9px;width:min(430px,48%);height:39px;padding:0 12px;display:flex}.search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:12px}.search kbd{color:#8b9895;background:#fff;border:1px solid #dbe2df;border-radius:5px;padding:3px 6px;font:500 9px Manrope}.header-actions{align-items:center;gap:17px;margin-left:auto;display:flex}.notification{color:#53625f;background:#fff;border:1px solid #e6ebe9;border-radius:50%;place-items:center;width:37px;height:37px;display:grid;position:relative}.notification i{background:#c8665c;border:1px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;top:7px;right:7px}.role-switcher{position:relative}.profile{text-align:left;color:var(--ink);background:0 0;border:0;align-items:center;gap:9px;display:flex}.profile>svg{transition:all .2s}.profile[aria-expanded=true]>svg{transform:rotate(90deg)}.role-popover{color:#20332f;z-index:30;background:#fff;border:1px solid #dce5e2;border-radius:12px;width:230px;padding:13px;position:absolute;top:49px;right:0;box-shadow:0 18px 50px #061f1b2e}.role-popover[hidden]{display:none}.role-popover>div:first-child{padding:2px 3px 10px}.role-popover>div:first-child strong,.role-popover>div:first-child small{display:block}.role-popover>div:first-child strong{font-size:11px}.role-popover>div:first-child small{color:#8b9895;margin-top:3px;font-size:8px}.role-options{gap:4px;display:grid}.role-options button{color:#596662;text-align:left;background:#fff;border:0;border-radius:7px;align-items:center;gap:8px;min-height:38px;padding:5px 8px;display:flex}.role-options button:hover,.role-options button.selected{color:#235f55;background:#edf5f2}.role-options button>span{background:#e6efec;border-radius:7px;place-items:center;width:27px;height:27px;font-size:9px;font-weight:700;display:grid}.role-options button>b{flex:1;font-size:9px}.role-options button>svg{color:#277667}.doctor-avatar,.patient-avatar{border-radius:50%;flex:none;place-items:center;font-weight:600;display:grid}.doctor-avatar{color:#174c43;background:linear-gradient(145deg,#d9e7e3,#a6c2bb);width:38px;height:38px}.profile span:nth-child(2){margin-right:7px}.profile strong,.profile small{display:block}.profile strong{font-size:12px}.profile small{color:#899692;margin-top:3px;font-size:9px}.content{max-width:1420px;margin:auto;padding:38px 42px 55px}.module-frame[hidden],.workbench-view[hidden]{display:none}.module-breadcrumb{color:#96a19f;margin-bottom:17px;font-size:10px}.module-breadcrumb span{margin:0 7px}.module-breadcrumb b{color:#48605b}.module-title{justify-content:space-between;align-items:flex-end;margin-bottom:25px;display:flex}.module-title h1{margin:0 0 8px;font:500 28px Georgia,Noto Sans SC,serif}.module-title>div>span{color:#7c8986;font-size:11px}.empty-module{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:420px;display:flex}.empty-icon{color:#287568;background:#e9f2ef;border-radius:17px;place-items:center;width:64px;height:64px;display:grid}.empty-module h2{margin:18px 0 7px;font:600 15px Georgia,Noto Sans SC,serif}.empty-module p{color:#899592;font-size:10px}.patient-center-view[hidden],.patient-table-wrap[hidden],.patient-empty[hidden]{display:none}.patient-page-head{justify-content:space-between;align-items:flex-end;margin-bottom:24px;display:flex}.patient-page-head h1{margin:0 0 8px;font:500 28px Georgia,Noto Sans SC,serif}.patient-page-head>div>span{color:#7c8986;font-size:11px}.patient-tabs{border-bottom:1px solid #dbe4e1;gap:28px;height:45px;margin-bottom:15px;display:flex}.patient-tabs button{color:#778581;background:0 0;border:0;height:45px;padding:0 3px;font-size:11px;position:relative}.patient-tabs button b{background:#e9efed;border-radius:10px;margin-left:5px;padding:2px 6px;font-size:8px}.patient-tabs button.active{color:#21675b;font-weight:700}.patient-tabs button.active:after{content:"";background:#267568;height:2px;position:absolute;bottom:-1px;left:0;right:0}.patient-table-card{overflow:hidden}.patient-toolbar{border-bottom:1px solid #e7ecea;align-items:center;gap:8px;min-height:62px;padding:11px 16px;display:flex}.patient-toolbar label{color:#95a09d;border:1px solid #dce4e1;border-radius:8px;align-items:center;gap:7px;width:280px;height:36px;padding:0 10px;display:flex}.patient-toolbar input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:9px}.patient-toolbar>button{color:#64726f;background:#fff;border:1px solid #dce4e1;border-radius:8px;height:36px;padding:0 11px;font-size:9px}.patient-toolbar>span{color:#8a9693;margin-left:auto;font-size:9px}.patient-toolbar>span b{color:#285f55}.patient-table-wrap{overflow:auto}.patient-table{border-collapse:collapse;white-space:nowrap;width:100%}.patient-table th{color:#879390;text-align:left;background:#f7f9f8;height:40px;padding:0 13px;font-size:8px;font-weight:600}.patient-table td{color:#596762;border-top:1px solid #edf1f0;height:61px;padding:0 13px;font-size:9px}.patient-identity{align-items:center;gap:9px;display:flex}.patient-identity>img{object-fit:cover;border-radius:50%;width:31px;height:31px;display:block}.patient-identity strong,.patient-identity small{display:block}.patient-identity strong{color:#263834;font-size:10px}.patient-identity small{color:#94a09d;margin-top:3px;font-size:7px}.patient-state{color:#687672;background:#edf1f0;border-radius:11px;padding:4px 7px;font-size:8px;font-style:normal}.state-待认领,.state-待联系{color:#9d6f34;background:#f6ead9}.row-action{color:#8f9a97;background:0 0;border:0}.patient-empty{color:#8b9895;flex-direction:column;justify-content:center;align-items:center;min-height:320px;display:flex}.patient-empty strong{color:#50605c;margin-top:12px;font-size:11px}.patient-empty span{margin-top:5px;font-size:8px}.welcome{justify-content:space-between;align-items:flex-end;margin-bottom:28px;display:flex}.kicker{letter-spacing:.17em;color:#94a09d;margin:0 0 8px;font-size:9px;font-weight:700}.welcome h1{letter-spacing:-.025em;color:#162a27;margin:0 0 8px;font-family:Georgia,Noto Sans SC,serif;font-size:29px;font-weight:500}.welcome>div>p:last-child{color:var(--muted);margin:0;font-size:12px}.primary{background:var(--green);color:#fff;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:41px;padding:0 17px;font-size:12px;font-weight:600;transition:all .18s;display:inline-flex;box-shadow:0 7px 16px #164f462e}.primary:hover{background:#0f423a;transform:translateY(-1px)}.primary:disabled{opacity:.6;cursor:wait;transform:none}.metrics{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px;display:grid}.metrics article{border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);background:#fff;border-radius:12px;gap:13px;padding:18px;display:flex}.metric-icon{color:#297165;border-radius:10px;flex:none;place-items:center;width:39px;height:39px;display:grid}.metric-icon.mint{background:#e3f2ed}.metric-icon.sky{color:#557796;background:#e5eef6}.metric-icon.purple{color:#725e91;background:#eee9f5;font-weight:700}.metric-icon.sand{color:#96723e;background:#f5eddf}.metrics p{color:#7b8986;margin:0 0 4px;font-size:11px}.metrics strong{letter-spacing:.02em;font:500 22px Georgia,serif;display:block}.metrics small{color:#96a19f;margin-top:5px;font-size:9px;display:block}.metrics small b{color:#319172}.metrics small.urgent b{color:#c46959}.workspace{grid-template-columns:minmax(480px,1.45fr) minmax(330px,.78fr);gap:18px;display:grid}.card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:12px}.card-head{justify-content:space-between;align-items:flex-start;padding:22px 22px 18px;display:flex}.card-head h2{margin:0 0 5px;font-family:Georgia,Noto Sans SC,serif;font-size:17px;font-weight:600}.card-head span{color:#8c9996;font-size:10px}.link-btn{color:var(--green-2);background:0 0;border:0;align-items:center;gap:6px;margin-top:13px;font-size:10px;font-weight:600;display:flex}.appointment-list{border-top:1px solid #edf1ef}.appointment{width:100%;min-height:67px;color:var(--ink);text-align:left;background:#fff;border:0;border-bottom:1px solid #edf1ef;grid-template-columns:45px 15px 38px 1fr auto 16px;align-items:center;gap:10px;padding:9px 20px;transition:all .15s;display:grid}.appointment:last-child{border-bottom:0;border-radius:0 0 12px 12px}.appointment:hover,.appointment.selected{background:#f5f9f7}.appointment>svg{color:#a4aeac}.appointment time{color:#7b8986;font-size:11px;font-weight:600}.line-dot{border:1.5px solid #b8c4c1;border-radius:50%;width:7px;height:7px;position:relative}.line-dot:after{content:"";border-left:1px dashed #dce3e1;height:61px;position:absolute;top:7px;left:2px}.appointment:last-child .line-dot:after{display:none}.line-dot.current{background:#2b7a6d;border-color:#2b7a6d;box-shadow:0 0 0 4px #e1efeb}.patient-avatar{width:36px;height:36px;font-size:11px}.sage{color:#246b60;background:#dcece7}.blue{color:#547695;background:#e3ecf4}.violet{color:#755f91;background:#ece6f3}.gold{color:#96713f;background:#f3e8d5}.rose{color:#9a5b5b;background:#f3e2e2}.patient{min-width:0}.patient strong,.patient small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.patient strong{font-size:12px}.patient small{color:#84918e;margin-top:4px;font-size:10px}.status{color:#73817e;white-space:nowrap;background:#f0f3f2;border-radius:12px;padding:4px 8px;font-size:9px}.s-治疗中{color:#237565;background:#e0f0eb}.s-已签到{color:#547792;background:#e6eef5}.s-待确认{color:#a27234;background:#f6ead9}.side-stack{flex-direction:column;gap:14px;display:flex}.live{background:#e6f2ee;border-radius:12px;align-items:center;padding:5px 8px;display:flex;color:#277769!important;gap:6px!important}.live i{background:#2d8a78;border-radius:50%;width:6px;height:6px;animation:1.8s infinite pulse}.patient-focus{background:#f8faf9;border:1px solid #e5ebe9;border-radius:10px;align-items:center;gap:10px;margin:0 22px;padding:13px;display:flex}.patient-focus div{flex:1;min-width:0}.patient-focus strong,.patient-focus small{display:block}.patient-focus strong{font-size:12px}.patient-focus small{color:#7e8b88;white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:9px;overflow:hidden}.tooth-no{color:#277366;background:#fff;border:1px solid #d9e5e1;border-radius:7px;padding:5px 7px;font-size:9px;font-weight:700}.progress-copy{color:#7b8885;justify-content:space-between;margin:18px 22px 7px;font-size:10px;display:flex}.progress-copy b{color:#285f55}.progress{background:#e6ecea;border-radius:4px;height:5px;margin:0 22px;overflow:hidden}.progress i{background:linear-gradient(90deg,#1e665a,#4b9385);border-radius:4px;width:66%;height:100%;display:block}.steps{justify-content:space-between;margin:20px 29px 30px;padding:0;list-style:none;display:flex;position:relative}.steps:before{content:"";border-top:1px dashed #ccd7d4;position:absolute;top:10px;left:11px;right:11px}.steps li{z-index:1;width:22px;height:22px}.steps li i{color:#8d9996;background:#edf1f0;border-radius:50%;place-items:center;width:22px;height:22px;font-size:9px;font-style:normal;display:grid}.steps li span{text-align:center;white-space:nowrap;width:78px;margin-top:7px;font-size:9px;font-weight:600;display:block;transform:translate(-28px)}.steps li small{color:#97a29f;margin-top:3px;font-weight:400;display:block}.steps .done i,.steps .active i{color:#fff;background:var(--green-2)}.steps .active i{box-shadow:0 0 0 4px #e2efec}.secondary{color:#255e54;background:#fff;border:1px solid #d5e0dd;border-radius:8px;justify-content:center;align-items:center;gap:7px;width:calc(100% - 44px);height:37px;margin:14px 22px 20px;font-size:10px;font-weight:600;display:flex}.note{color:#725f3e;background:#fbf7ec;border:1px solid #e9dfc8;border-radius:11px;gap:10px;padding:14px;display:flex}.note-mark{background:#efe3c5;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font:700 12px Georgia;display:grid}.note strong{font-size:10px}.note p{color:#927d59;margin:4px 0 0;font-size:9px;line-height:1.6}.note button{color:#a18e69;background:0 0;border:0;align-self:flex-start;padding:0}.overlay{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0a272294;place-items:center;padding:20px;display:none;position:fixed;inset:0}.overlay.show{display:grid}.modal{background:#fff;border-radius:15px;width:min(520px,100%);max-height:calc(100vh - 32px);padding:25px;animation:.22s appear;overflow:auto;box-shadow:0 28px 80px #09241f59}.modal-head{justify-content:space-between;margin-bottom:22px;display:flex}.modal-head h2{margin:0 0 5px;font:600 21px Georgia,Noto Sans SC,serif}.modal-head span{color:#899592;font-size:10px}.modal-close{color:#53625f;background:#f2f5f4;border:0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.modal label{color:#53615e;flex-direction:column;gap:7px;margin-bottom:14px;font-size:10px;font-weight:600;display:flex}.modal input,.modal select{color:#263633;background:#fff;border:1px solid #dce4e1;border-radius:8px;outline:0;width:100%;height:41px;padding:0 11px;font-size:11px}.modal input:focus,.modal select:focus{border-color:#3d8478;box-shadow:0 0 0 3px #3d84781f}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.modal-actions{justify-content:flex-end;gap:9px;margin-top:8px;display:flex}.cancel{color:#64716e;background:#fff;border:1px solid #dbe3e0;border-radius:8px;height:41px;padding:0 18px;font-size:11px}.toast{z-index:70;color:#fff;opacity:0;pointer-events:none;background:#153f38;border:1px solid #ffffff1f;border-radius:9px;align-items:center;gap:9px;padding:12px 17px;font-size:11px;transition:all .28s;display:flex;position:fixed;bottom:24px;right:24px;transform:translateY(70px);box-shadow:0 15px 35px #0a282340}.toast.show{opacity:1;transform:none}@keyframes pulse{50%{box-shadow:0 0 0 4px #2d8a7829}}@keyframes appear{0%{opacity:0;transform:translateY(8px)scale(.985)}}@media (width<=1050px){.metrics{grid-template-columns:1fr 1fr}.workspace{grid-template-columns:1fr}.side-stack{grid-template-columns:1fr 1fr;display:grid}.note{height:max-content}}@media (width<=760px){.sidebar{transition:all .25s;transform:translate(-100%);box-shadow:20px 0 50px #0e2c2740}.sidebar.open{transform:none}main{width:100%;margin:0}header{padding:0 15px}.mobile-menu{display:block}.search{flex:1;width:auto}.search kbd,.profile>span:nth-child(2),.profile>svg{display:none}.header-actions{gap:8px}.content{padding:26px 16px 42px}.welcome{align-items:flex-start;gap:18px}.welcome>div>p:last-child{display:none}.welcome h1{font-size:25px}.metrics{gap:10px}.metrics article{padding:14px}.workspace,.side-stack{display:block}.treatment,.note{margin-top:14px}.appointment{grid-template-columns:39px 10px 34px 1fr auto;padding:9px 13px}.appointment>svg{display:none}.side-stack{margin-top:14px}.patient-page-head{align-items:flex-start;gap:14px}.patient-page-head h1{font-size:24px}.patient-page-head>div>span{display:none}.patient-tabs{gap:14px;overflow:auto}.patient-tabs button{white-space:nowrap}.patient-toolbar{flex-wrap:wrap}.patient-toolbar label{width:100%}.patient-toolbar>span{margin-left:0}.patient-table-card{border-radius:10px}}@media (width<=470px){.welcome{display:block}.welcome .primary{margin-top:16px}.metrics{grid-template-columns:1fr 1fr}.metrics article{display:block}.metric-icon{margin-bottom:9px}.appointment{grid-template-columns:36px 8px 32px 1fr}.appointment .status{display:none}.card-head{padding:19px 16px 16px}.form-grid{grid-template-columns:1fr}.modal{padding:20px}.profile{padding:0}.notification{display:none}}.patient-filter{color:#f4f8f7;background:#123f38;border:1px solid #1d554c;border-radius:12px;box-shadow:0 14px 34px #123f3821}.patient-filter input,.patient-filter select{color:#243a35;background:#f7faf9;border-color:#ffffff2e;border-radius:8px;height:37px}.patient-filter label>span{color:#c2d3cf}.patient-filter label i{color:#9cb7b1}.patient-filter input:focus,.patient-filter select:focus{border-color:#2f8173;box-shadow:0 0 0 3px #2f817329}.filter-search,.patient-batch-actions button{border-radius:8px;box-shadow:0 6px 13px #08231e29;color:#173f38!important;background:#2f8173!important}.filter-search:hover,.patient-batch-actions button:hover{background:#3d9183!important}.patient-tabs button{color:#74827f;background:#fff;border-color:#d6e1de}.patient-tabs button.active{font-weight:700;color:#173f38!important;background:#2f8173!important;border-color:#2f8173!important}.patient-tabs button:not(.active):hover{color:#fff;background:var(--green);border-color:var(--green)}.patient-table-card{box-shadow:var(--shadow);border-radius:12px;overflow:hidden}.patient-toolbar{border-bottom-color:#255b52;color:#d3e0dd!important;background:#174941!important}.patient-toolbar>span,.patient-toolbar>span b{color:#d3e0dd}.scroll-hint{color:#8fb0a9;margin-left:12px;font-size:8px;font-style:normal}.patient-table-wrap{scrollbar-color:#789d95 #e8efed;scrollbar-width:thin;width:100%;overflow:auto hidden}.patient-table-wrap::-webkit-scrollbar{height:9px}.patient-table-wrap::-webkit-scrollbar-track{background:#e8efed}.patient-table-wrap::-webkit-scrollbar-thumb{background:#789d95;border:2px solid #e8efed;border-radius:8px}.patient-table{table-layout:auto;width:max-content;min-width:100%}.patient-table th,.patient-table td{white-space:nowrap;min-width:112px;max-width:260px}.patient-table th:first-child,.patient-table td:first-child{min-width:58px}.patient-table th:last-child,.patient-table td:last-child{min-width:285px}.patient-table .fixed-index{z-index:4;width:58px;min-width:58px;max-width:58px;position:sticky;left:0}.patient-table .fixed-patient{z-index:4;width:170px;min-width:170px;max-width:170px;position:sticky;left:58px;box-shadow:5px 0 10px #153f380d}.patient-table .fixed-actions{z-index:4;width:285px;min-width:285px;max-width:285px;position:sticky;right:0;box-shadow:-5px 0 10px #153f380f}.patient-table thead .fixed-index,.patient-table thead .fixed-patient,.patient-table thead .fixed-actions{z-index:6;background:#123f38!important}.patient-table tbody .fixed-index,.patient-table tbody .fixed-patient,.patient-table tbody .fixed-actions{background:#fff}.patient-table tbody tr:nth-child(2n) .fixed-index,.patient-table tbody tr:nth-child(2n) .fixed-patient,.patient-table tbody tr:nth-child(2n) .fixed-actions{background:#fbfcfc}.patient-center-view button{transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s}.patient-center-view button:active{transform:translateY(1px)}.patient-page-head .primary{color:#fff;background:#164f46;border:1px solid #164f46;border-radius:9px;height:40px;box-shadow:0 7px 16px #164f462b}.patient-page-head .primary:hover{color:#fff;background:#0f423a;transform:translateY(-1px);box-shadow:0 9px 20px #164f4638}.filter-search{border:1px solid #2f8173;border-radius:8px;height:37px;font-weight:700;color:#173f38!important;background:#2f8173!important}.filter-search:hover{border-color:#3d9183;transform:translateY(-1px);background:#3d9183!important}.patient-tabs button{padding:0 20px;font-weight:600;border-radius:0!important;height:39px!important}.patient-tabs button:first-child{border-radius:9px 0 0 9px!important}.patient-tabs button:last-child{border-radius:0 9px 9px 0!important}.patient-batch-actions button{box-shadow:none;padding:0 14px;font-weight:600;height:35px!important}.patient-batch-actions button:first-child{border:1px solid #164f46;color:#fff!important;background:#164f46!important}.patient-batch-actions button:first-child:hover{transform:translateY(-1px);background:#0f423a!important}.patient-batch-actions button:last-child{border:1px solid #cbdad6;color:#285f55!important;background:#fff!important}.patient-batch-actions button:last-child:hover{border-color:#8eafa7;transform:translateY(-1px);background:#edf5f2!important}.custom-columns{font-weight:700;color:#173f38!important;background:#2f8173!important;border:1px solid #2f8173!important;border-radius:7px!important;height:30px!important;padding:0 12px!important}.custom-columns:hover{background:#3d9183!important;border-color:#3d9183!important}.table-actions{gap:5px}.table-actions button{background:0 0;border:1px solid #0000;border-radius:6px;min-height:27px;padding:0 8px;color:#45655e!important}.table-actions button:first-child{background:#267568;color:#fff!important}.table-actions button:hover{background:#e3f0ec;border-color:#bdd3cd;color:#205f54!important}.table-actions button:first-child:hover{background:#1b5f54;border-color:#1b5f54;color:#fff!important}.patient-pagination button{background:#fff;border-color:#d6e1de;min-width:30px;height:30px;color:#546762!important}.patient-pagination button:hover{z-index:1;background:#e8f1ee;border-color:#a9c2bc;position:relative;color:#205f54!important}.patient-pagination button.active{font-weight:700;color:#173f38!important;background:#2f8173!important;border-color:#2f8173!important}.patient-center-view button:focus-visible{outline-offset:2px;outline:3px solid #2f817340}.patient-table th{height:42px;font-weight:700;color:#f2f7f5!important;background:#123f38!important;border-right:1px solid #ffffff1f!important}.patient-table th:first-child{box-shadow:inset 3px 0 #2f8173}.patient-table td{border-right-color:#edf1f0}.patient-table tbody tr:nth-child(2n){background:#fbfcfc}.patient-table tbody tr:hover{background:#eaf3f0;box-shadow:inset 3px 0 #2f8173}.custom-columns{color:#173f38;background:#2f8173;border-color:#2f8173;border-radius:7px}.table-actions button,.patient-pagination{color:#21675b}.table-actions button:hover{color:#21675b;background:#e5f2ee;border-radius:5px}.patient-pagination button{color:var(--green-2);border-color:#d8e2df}.patient-pagination button.active{color:#173f38;background:#2f8173;border-color:#2f8173}.patient-pagination input{border-color:#d8e2df}.patient-state{color:#61716d;background:#edf2f0}.state-治疗中,.state-重点跟进{color:#216b5f;background:#dff0eb}.field-config .primary,.save-patient-form{color:#fff;background:var(--green);border-color:var(--green)}.patient-page-head h1,.module-breadcrumb b{color:#173f38}.patient-page-head .primary{color:#173f38;background:#2f8173;box-shadow:0 7px 15px #5c481c29}.field-config>header,.drawer-head{border-top:4px solid #123f38}.config-toolbar{background:#e9f1ee}.drawer-nav button.active{color:#205f54;background:#e5f0ed;border-color:#9cbeb7}.config-sections label:has(input:checked){color:#205f54;background:#e5f0ed;border-color:#9cbeb7}.filter-buttons{align-items:center;gap:7px;display:flex}.advanced-search-button{color:#d8e4e1;white-space:nowrap;background:#ffffff14;border:1px solid #ffffff4d;border-radius:8px;height:37px;padding:0 13px;font-size:8px}.advanced-search-button:hover{background:#ffffff26}.advanced-search-backdrop{z-index:90;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);overscroll-behavior:none;background:#092520b3;place-items:center;padding:36px 24px;display:grid;position:fixed;inset:0;overflow:hidden}.advanced-search-backdrop[hidden]{display:none}.advanced-search-dialog{isolation:isolate;background:#fff;border:1px solid #ffffff24;border-radius:18px;grid-template-rows:92px 42px minmax(0,1fr) 63px;width:min(1120px,96vw);height:min(790px,100dvh - 72px);max-height:calc(100dvh - 72px);display:grid;overflow:hidden;box-shadow:0 32px 90px #04191566}.advanced-search-dialog>header{z-index:5;color:#fff;background:linear-gradient(135deg,#123f38,#195149);border:0;justify-content:space-between;align-items:center;min-height:92px;padding:18px 24px 17px;display:flex;position:relative}.advanced-search-dialog header .kicker{color:#8fc0b6;margin-bottom:7px}.advanced-search-dialog header h2{color:#fff;margin:0 0 6px;font:600 20px Georgia,Noto Sans SC,serif}.advanced-search-dialog header>div>span{color:#b5cdc8;font-size:9px}.advanced-search-dialog header>button{color:#fff;background:#ffffff1a;border:1px solid #ffffff26;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.advanced-search-dialog header>button:hover{background:#ffffff2e}.advanced-search-summary{z-index:4;color:#61716d;background:#e9f1ee;align-items:center;height:42px;padding:0 23px;font-size:8px;display:flex;position:relative;box-shadow:0 4px 10px #123f380f}.advanced-search-summary b{color:#246b60;margin-left:auto}.advanced-field-sections{overscroll-behavior:contain;scrollbar-color:#789d95 #e8efed;scrollbar-width:thin;background:#fff;min-height:0;padding:0 22px 18px;scroll-padding-top:48px;overflow:hidden auto}.advanced-field-sections>section{border-bottom:1px solid #e7ecea;margin-bottom:0;padding:0 0 19px}.advanced-field-sections>section:last-child{border-bottom:0}.advanced-field-sections section>header{z-index:3;background:#fff;border-bottom:1px solid #edf1ef;align-items:center;min-height:45px;margin:0 -3px 11px;padding:0 3px;display:flex;position:sticky;top:0;box-shadow:0 5px 9px #123f380a}.advanced-field-sections h3{color:#24453e;margin:0;font-size:11px}.advanced-field-sections section>header span{color:#6c817b;background:#e8f1ee;border-radius:10px;margin-left:8px;padding:2px 7px;font-size:7px}.advanced-field-sections section>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px 13px;display:grid}.advanced-field-sections label{min-width:0}.advanced-field-sections label>span{white-space:nowrap;text-overflow:ellipsis;color:#64736f;height:15px;font-size:8px;display:block;overflow:hidden}.advanced-field-input{color:#41514d;background:#fbfcfc;border:1px solid #d9e3e0;border-radius:7px;outline:0;width:100%;height:36px;padding:0 9px;font-size:9px}.advanced-field-input:focus{background:#fff;border-color:#2f8173;box-shadow:0 0 0 3px #2f817317}.advanced-search-dialog>footer{z-index:5;background:#fff;border-top:1px solid #e2e9e6;justify-content:flex-end;align-items:center;gap:8px;min-height:63px;padding:13px 22px;display:flex;position:relative;box-shadow:0 -5px 13px #123f380f}.advanced-search-dialog>footer button{border-radius:7px;height:36px;padding:0 15px;font-size:8px}.reset-advanced,.cancel-advanced{color:#60706c;background:#fff;border:1px solid #d8e2df}.advanced-search-dialog .apply-advanced{color:#fff;box-shadow:none;background:#164f46;border:0}@media (width<=900px){.advanced-field-sections section>div{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=650px){.filter-buttons{grid-column:1/-1}.filter-buttons button{flex:1;justify-content:center}.advanced-search-backdrop{padding:8px}.advanced-search-dialog{border-radius:14px;grid-template-rows:82px 42px minmax(0,1fr) 63px;width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.advanced-search-dialog>header{min-height:82px;padding:14px 16px}.advanced-search-dialog header h2{font-size:18px}.advanced-field-sections{padding:0 14px 14px}.advanced-field-sections section>div{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--ink:#162723;--muted:#72817d;--green:#103d36;--green-2:#247467;--pale:#e7f0ed;--line:#dce5e2;--shadow:0 16px 38px #0f342d0f}body{background:radial-gradient(circle at 82% -10%,#357d7014,#0000 28%),#f2f5f4}.sidebar{background:radial-gradient(circle at 15% 8%,#48968833,#0000 28%),linear-gradient(#113f38 0%,#0c342e 100%);border-right:1px solid #ffffff0f;box-shadow:10px 0 35px #09262114}.brand{border-bottom:1px solid #ffffff14;margin:0 4px 18px;padding:0 6px 25px}.brand-mark{background:#ffffff1a;border-color:#ffffff38;box-shadow:0 10px 25px #04191533}.brand-mark i{background:#71b6a9}nav p{color:#719b92}nav a,.nav-group-toggle{color:#aec5c0}nav a:hover,.nav-group-toggle:hover{color:#fff;background:#ffffff12}nav a.active{color:#fff;background:linear-gradient(90deg,#4ea29238,#ffffff0f);box-shadow:inset 3px 0 #62aa9c}nav a b{color:#dff1ed;background:#5ba99a3d}.clinic-logo{color:#e8f4f1;background:#27786b}.clinic-card{background:#ffffff12;border-color:#ffffff1f}header{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffdb;border-bottom-color:#d0ddd9d9;box-shadow:0 6px 24px #14363009}.header-new-patient{color:#fff;background:linear-gradient(135deg,#287c6e,#1b6257);border:1px solid #1f685d;border-radius:8px;align-items:center;gap:7px;height:36px;padding:0 13px;font-size:10px;font-weight:600;transition:transform .18s,box-shadow .18s,background .18s;display:inline-flex;box-shadow:0 6px 14px #185d5226}.header-new-patient:hover{background:linear-gradient(135deg,#319080,#226f63);transform:translateY(-1px);box-shadow:0 8px 18px #185d5233}.header-new-patient:active{transform:translateY(0)}.search{background:#f3f7f5e6;border-color:#e1e9e6}.content{padding-top:34px}.welcome h1,.patient-page-head h1,.module-title h1{color:#152e29;letter-spacing:-.025em}.card,.metrics article,.patient-filter{border-color:#d3dfdbeb;box-shadow:0 14px 36px #1037300e}.metrics article{transition:transform .2s,box-shadow .2s;position:relative;overflow:hidden}.metrics article:after{content:"";opacity:0;background:linear-gradient(90deg,#0000,#67aa9d,#0000);height:2px;transition:opacity .2s;position:absolute;inset:auto 0 0}.metrics article:hover{transform:translateY(-2px);box-shadow:0 18px 42px #10373017}.metrics article:hover:after{opacity:1}.primary{background:linear-gradient(135deg,#174d44,#0f3d36);box-shadow:0 8px 19px #0f3d362e}.primary:hover{background:linear-gradient(135deg,#1d5b50,#123f38)}.patient-filter{background:linear-gradient(135deg,#123f38,#174b43);border-color:#ffffff14}.patient-filter input,.patient-filter select{background:#fffffff5}.filter-search,.patient-batch-actions button:first-child{color:#fff!important;background:linear-gradient(135deg,#2a8173,#1e695e)!important;border-color:#27786b!important}.filter-search:hover,.patient-batch-actions button:first-child:hover{background:linear-gradient(135deg,#329080,#247467)!important}.patient-tabs button.active,.patient-pagination button.active,.custom-columns{color:#fff!important;background:#28786b!important;border-color:#28786b!important}.patient-table th{background:linear-gradient(#15483f,#103d36)!important}.patient-table tbody tr:hover{background:#edf5f2!important}.patient-table tbody tr:hover .fixed-index,.patient-table tbody tr:hover .fixed-patient,.patient-table tbody tr:hover .fixed-actions{background:#edf5f2}.table-actions button:first-child{background:#28786b}.advanced-search-dialog,.field-config,.patient-drawer{border:1px solid #d3dfdbe6;box-shadow:0 30px 90px #061f1b47}.advanced-search-dialog>header{background:radial-gradient(circle at 90% 10%,#5cac9c33,#0000 32%),linear-gradient(135deg,#103d36,#185148)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#28786b3d}@media (width<=760px){.header-new-patient{justify-content:center;width:36px;padding:0}.header-new-patient span{display:none}}.patient-settings-view[hidden]{display:none}.settings-page-head{justify-content:space-between;align-items:flex-end;margin-bottom:22px;display:flex}.settings-page-head h1{color:#152e29;margin:0 0 8px;font:500 28px Georgia,Noto Sans SC,serif}.settings-page-head>div>span{color:#798783;font-size:10px}.settings-saved{color:#277064;background:#eaf4f1;border:1px solid #cfe0db;border-radius:14px;align-items:center;gap:6px;padding:5px 9px;font-size:8px;display:flex}.settings-layout{grid-template-columns:245px minmax(0,1fr);align-items:start;gap:16px;display:grid}.settings-menu{background:#fff;border:1px solid #dbe5e2;border-radius:12px;padding:9px;box-shadow:0 14px 36px #1037300d}.settings-menu button{color:#71807c;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:58px;padding:9px;display:flex}.settings-menu button>span{flex:1;min-width:0}.settings-menu button b,.settings-menu button small{display:block}.settings-menu button b{color:#40514d;font-size:10px}.settings-menu button small{color:#929e9b;margin-top:4px;font-size:7px}.settings-menu button>svg:last-child{color:#a1aba8}.settings-menu button:hover{background:#f2f7f5}.settings-menu button.active{color:#fff;background:linear-gradient(135deg,#1b5b51,#103f38);box-shadow:0 7px 17px #103f3826}.settings-menu button.active b{color:#fff}.settings-menu button.active small,.settings-menu button.active>svg:last-child{color:#abc9c3}.settings-panel{min-height:525px;overflow:hidden}.settings-panel>header{background:linear-gradient(#fbfcfc,#f7faf9);border-bottom:1px solid #e4eae8;min-height:88px;padding:21px 23px}.settings-panel h2{color:#203a34;margin:0 0 7px;font:600 17px Georgia,Noto Sans SC,serif}.settings-panel header p{color:#7d8a87;margin:0;font-size:9px}.settings-panel-body{padding:20px 23px}.setting-list{border:1px solid #e1e8e5;border-radius:10px;overflow:hidden}.setting-list label{cursor:pointer;border-bottom:1px solid #e7ecea;align-items:center;min-height:61px;padding:11px 15px;display:flex}.setting-list label:last-child{border-bottom:0}.setting-list label:hover{background:#f8fbfa}.setting-list label>span{flex:1;min-width:0}.setting-list label b,.setting-list label small{display:block}.setting-list label b{color:#334641;font-size:10px}.setting-list label small{color:#8e9a97;margin-top:5px;font-size:8px}.setting-list input{opacity:0;position:absolute}.setting-list label>i{background:#cbd6d3;border-radius:12px;width:35px;height:19px;transition:all .2s;position:relative}.setting-list label>i:after{content:"";background:#fff;border-radius:50%;width:15px;height:15px;transition:all .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 4px #00000026}.setting-list input:checked+i{background:#28786b}.setting-list input:checked+i:after{transform:translate(16px)}.setting-list input:disabled+i{opacity:.5}.assignment-options{grid-template-columns:repeat(3,1fr);gap:11px;display:grid}.assignment-options label{cursor:pointer;border:1px solid #dce5e2;border-radius:10px;min-height:105px;padding:14px;position:relative}.assignment-options input{opacity:0;position:absolute}.assignment-options label>i{color:#0000;border:1px solid #d1dcd8;border-radius:50%;place-items:center;width:20px;height:20px;margin-bottom:13px;display:grid}.assignment-options input:checked+i{color:#fff;background:#28786b;border-color:#28786b}.assignment-options input:checked~span b{color:#246b60}.assignment-options label:has(input:checked){background:#f0f7f5;border-color:#78aa9f}.assignment-options b,.assignment-options small{display:block}.assignment-options b{font-size:10px}.assignment-options small{color:#8a9693;margin-top:5px;font-size:8px;line-height:1.55}.setting-note{color:#6c7e79;background:#edf4f2;border-radius:8px;margin-top:15px;padding:10px 12px;font-size:8px}.tag-toolbar{gap:8px;margin-bottom:18px;display:flex}.tag-toolbar input{border:1px solid #d9e3e0;border-radius:8px;outline:0;flex:1;height:38px;padding:0 11px;font-size:9px}.tag-toolbar input:focus{border-color:#2f8173;box-shadow:0 0 0 3px #2f817317}.tag-toolbar button,.column-summary button{color:#fff;background:#174f46;border:0;border-radius:8px;height:38px;padding:0 14px;font-size:9px}.tag-groups{flex-wrap:wrap;gap:9px;display:flex}.tag-groups>span{color:#40524d;background:#f8faf9;border:1px solid #dbe5e2;border-radius:8px;align-items:center;gap:7px;height:36px;padding:0 9px 0 11px;font-size:9px;display:flex}.tag-groups i{color:#87938f;font-size:7px;font-style:normal}.tag-groups button{color:#9ba5a2;background:0 0;border:0}.column-summary{background:#f8fbfa;border:1px solid #dce5e2;border-radius:11px;align-items:center;gap:14px;min-height:105px;padding:18px;display:flex}.column-summary>span{color:#287568;background:#e1efeb;border-radius:11px;place-items:center;width:46px;height:46px;display:grid}.column-summary>div{flex:1;min-width:0}.column-summary b,.column-summary small{display:block}.column-summary b{color:#334641;font-size:11px}.column-summary small{color:#889692;margin-top:5px;font-size:8px}@media (width<=850px){.settings-layout{grid-template-columns:1fr}.settings-menu{display:flex;overflow:auto}.settings-menu button{min-width:190px}.assignment-options{grid-template-columns:1fr}}@media (width<=520px){.settings-page-head{display:block}.settings-saved{width:max-content;margin-top:12px}.settings-panel-body{padding:15px}.column-summary{flex-wrap:wrap;align-items:flex-start}.column-summary>div{flex-basis:calc(100% - 65px)}}.required-type-tabs{gap:0;margin-bottom:12px;display:flex}.required-type-tabs button{color:#61716d;background:#fff;border:1px solid #d5e1dd;min-width:115px;height:38px;margin-left:-1px;font-size:9px}.required-type-tabs button:first-child{border-radius:8px 0 0 8px;margin-left:0}.required-type-tabs button:last-child{border-radius:0 8px 8px 0}.required-type-tabs button.active{color:#fff;z-index:1;background:#1e6b5f;border-color:#1e6b5f;position:relative}.required-type-note{color:#687a75;background:#eef5f3;border-left:3px solid #328575;border-radius:0 7px 7px 0;margin-bottom:17px;padding:10px 12px;font-size:8px}.required-field-groups>section{border:1px solid #e0e8e5;border-radius:10px;margin-bottom:19px;overflow:hidden}.required-field-groups>section>header{background:#f4f8f6;border-bottom:1px solid #e1e8e5;justify-content:space-between;align-items:center;min-height:45px;padding:0 14px;display:flex}.required-field-groups h3{color:#2e4842;margin:0;font-size:10px;display:inline}.required-field-groups header span{color:#658079;background:#e1ede9;border-radius:10px;margin-left:7px;padding:2px 7px;font-size:7px}.required-field-groups header small{color:#8d9996;font-size:7px}.required-field-groups>section>div{display:block}.required-field-groups label{cursor:pointer;border-bottom:1px solid #edf1ef;grid-template-columns:minmax(0,1fr) 46px 46px;align-items:center;gap:0;min-height:54px;padding:8px 14px;display:grid}.required-field-groups label:last-child{border-bottom:0}.required-field-groups label:hover{background:#f8fbfa}.required-field-groups label .required-field-name{min-width:0}.required-field-groups label .required-field-name b,.required-field-groups label .required-field-name small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.required-field-groups label b{color:#42534f;font-size:8px}.required-field-groups label small{color:#97a19f;margin-top:4px;font-size:7px}.required-field-groups label.system-field{cursor:default;background:#fafbfb}.required-field-groups label.system-field b{color:#899592}.required-module-toolbar{background:#f7faf9;border:1px solid #dce7e3;border-radius:10px;align-items:end;gap:10px;margin:0 0 18px;padding:14px;display:flex}.required-module-toolbar label{gap:6px;min-width:260px;display:grid}.required-module-toolbar label span{color:#657671;font-size:8px}.required-module-toolbar select{color:#344b45;background:#fff;border:1px solid #cfddd8;border-radius:7px;outline:0;height:38px;padding:0 34px 0 11px;font-size:9px}.required-module-toolbar select:focus{border-color:#2e7d70;box-shadow:0 0 0 3px #2e7d701a}.required-module-toolbar button{color:#fff;background:#1d665a;border:0;border-radius:7px;align-items:center;gap:6px;height:38px;padding:0 15px;font-size:9px;display:flex;box-shadow:0 6px 14px #1d665a29}.required-module-toolbar button:disabled{box-shadow:none;cursor:not-allowed;background:#a9b8b4}.required-field-groups>section>header .field-option-head{text-align:center;grid-template-columns:46px 46px 24px;align-items:center;display:grid}.required-field-groups>section>header .field-option-head small{color:#657a74;font-size:7px}.required-field-groups>section>header .field-option-head button{color:#638078;background:#e7efec;border:0;border-radius:5px;width:22px;height:22px;font-size:14px;line-height:1}.required-field-groups>section>header .field-option-head button:hover{color:#245f55;background:#d8e8e3}.required-field-groups label .field-option{place-items:center;height:30px;display:grid;position:relative}.required-field-groups label .field-option input{opacity:0;position:absolute}.required-field-groups label .field-option i{color:#0000;border:1px solid #cbd8d4;border-radius:4px;place-items:center;width:17px;height:17px;display:grid}.required-field-groups label .field-option input:checked+i{color:#fff;background:#28786b;border-color:#28786b}.required-field-groups label .field-option input:disabled+i{cursor:not-allowed;background:#e8eeec;border-color:#dce5e2}@media (width<=560px){.required-type-tabs{overflow:auto}.required-type-tabs button{min-width:105px}.required-module-toolbar{flex-direction:column;align-items:stretch}.required-module-toolbar label{min-width:0}.required-module-toolbar button{justify-content:center}.required-field-groups>section>header{padding:0 9px}.required-field-groups>section>header .field-option-head{grid-template-columns:40px 40px 20px}.required-field-groups label{grid-template-columns:minmax(0,1fr) 40px 40px;padding:8px 9px}}.required-field-groups>section>header>button{color:#657872;background:#fff;border:1px solid #d4e1dd;border-radius:6px;height:27px;padding:0 10px;font-size:8px}.required-field-groups>section>header>button:hover{color:#266b60;background:#f5faf8;border-color:#9bbeb5}.field-transfer{background:#fff;grid-template-columns:minmax(190px,.75fr) 34px minmax(300px,1.25fr);padding:14px;gap:12px!important;display:grid!important}.transfer-mark{color:#5b897f;place-items:center;display:grid}.transfer-mark svg{transform:rotate(180deg)}.field-pool{background:#fbfcfc;border:1px solid #dde6e3;border-radius:8px;min-width:0;overflow:hidden}.pool-head{background:#f3f7f6;border-bottom:1px solid #e3eae8;justify-content:space-between;align-items:center;height:42px;padding:0 12px;display:flex}.pool-head b{color:#344b45;font-size:9px}.pool-head small{color:#81908c;font-size:7px}.pool-list{max-height:330px;padding:7px;overflow:auto}.pool-list>p{text-align:center;color:#a0aaa7;margin:0;padding:28px 10px;font-size:8px}.hidden-pool .pool-list>button{color:#53645f;text-align:left;background:0 0;border:0;border-bottom:1px solid #edf1ef;justify-content:space-between;align-items:center;width:100%;min-height:35px;padding:0 8px;font-size:8px;display:flex}.hidden-pool .pool-list>button:last-child{border-bottom:0}.hidden-pool .pool-list>button:hover{color:#24695e;background:#eaf4f1;border-radius:5px}.shown-field{border-bottom:1px solid #edf1ef;align-items:center;gap:8px;min-height:40px;display:flex}.shown-field:last-child{border-bottom:0}.shown-field>button{color:#3e514c;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:7px;min-width:0;height:34px;padding:0 7px;font-size:8px;display:flex}.shown-field>button svg{color:#8ba099;transform:rotate(180deg)}.shown-field>button:hover{color:#1e665b}.shown-field>label{cursor:pointer;width:38px;position:relative;border:0!important;height:21px!important;min-height:0!important;padding:0!important;display:block!important}.shown-field>label input{opacity:0;position:absolute}.shown-field>label i{background:#cbd6d3;border-radius:10px;width:34px;height:18px;transition:all .2s;display:block;position:relative}.shown-field>label i:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:all .2s;position:absolute;top:2px;left:2px;box-shadow:0 1px 4px #00000029}.shown-field>label input:checked+i{background:#28786b}.shown-field>label input:checked+i:after{transform:translate(16px)}.shown-field>label input:disabled+i{opacity:.65;cursor:not-allowed;background:#e2e8e6}@media (width<=760px){.field-transfer{grid-template-columns:1fr!important}.transfer-mark{height:18px}.transfer-mark svg{transform:rotate(90deg)}.pool-list{max-height:240px}}.hidden-pool .pool-list>button{justify-content:flex-start;gap:8px}.hidden-pool .pool-list>button>i{color:#0000;border:1px solid #c9d7d3;border-radius:4px;flex:none;place-items:center;width:16px;height:16px;display:grid}.hidden-pool .pool-list>button[aria-pressed=true]{color:#1f665b;background:#e7f2ef;border-radius:5px}.hidden-pool .pool-list>button[aria-pressed=true]>i{color:#fff;background:#28786b;border-color:#28786b}.transfer-mark>button{color:#fff;background:#1f6b5f;border:0;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:34px;min-height:62px;display:flex;box-shadow:0 5px 12px #1f6b5f29}.transfer-mark>button small{white-space:nowrap;font-size:7px}.transfer-mark>button:disabled{color:#92a09c;box-shadow:none;cursor:not-allowed;background:#d2dcda}.transfer-mark>button svg{transform:none}@media (width<=760px){.transfer-mark{height:auto}.transfer-mark>button{flex-direction:row;width:100%;min-height:36px}.transfer-mark>button svg{transform:rotate(90deg)}}.transfer-mark{align-content:center;gap:6px}.transfer-mark>button{min-height:34px}.transfer-mark>button>span{font:600 18px/1 Arial}.shown-field>button>i{color:#0000;border:1px solid #c9d7d3;border-radius:4px;flex:none;place-items:center;width:16px;height:16px;display:grid}.shown-field>button>i svg{transform:none}.shown-field>button[aria-pressed=true]{color:#1f665b;background:#e7f2ef;border-radius:5px}.shown-field>button[aria-pressed=true]>i{color:#fff;background:#28786b;border-color:#28786b}@media (width<=760px){.transfer-mark{grid-template-columns:repeat(4,1fr)}.transfer-mark>button{min-width:0}.transfer-mark>button>span{transform:rotate(90deg)}}.required-field-groups{grid-template-columns:repeat(auto-fit,minmax(520px,1fr));align-items:start;gap:16px;display:grid}.required-field-groups>section{margin-bottom:0}.required-field-groups .field-transfer{grid-template-columns:minmax(145px,.8fr) 38px minmax(210px,1.2fr);padding:11px;gap:9px!important}.required-field-groups .pool-list{max-height:300px}.new-patient-type-select{background:#f7faf9;border:1px solid #d8e3df;border-radius:8px;align-items:center;gap:8px;height:36px;padding:0 9px;display:flex}.new-patient-type-select span{color:#71807c;font-size:8px}.new-patient-type-select select{color:#234d44;background:0 0;border:0;outline:0;font-size:9px}.patient-form label span em{color:#d05555;margin-left:3px;font-style:normal}.patient-form>label>select{color:#33443f;background:#fff;border:1px solid #dce4e1;border-radius:7px;outline:0;width:100%;height:38px;padding:0 10px;font-size:9px}.patient-form>label>select:focus{border-color:#3b8175;box-shadow:0 0 0 3px #3b817517}@media (width<=680px){.required-field-groups{grid-template-columns:1fr}}.patient-type-badge{vertical-align:middle;white-space:nowrap;border-radius:9px;align-items:center;height:17px;margin-left:6px;padding:0 6px;font:600 7px/1 Noto Sans SC,sans-serif;display:inline-flex!important}.patient-type-badge.normal{color:#246b60;background:#e4f1ed}.patient-type-badge.potential{color:#426c91;background:#e6edf7}.patient-type-badge.temporary{color:#936936;background:#f4eadc}.patient-type-badge.shared{color:#6c5888;background:#ece8f5}.drawer-head h2 .patient-type-badge{transform:translateY(-2px)}.tag-config-tabs{border-bottom:1px solid #dfe7e4;margin:-3px 0 18px;display:flex}.tag-config-tabs button{color:#70807b;background:0 0;border:0;min-width:110px;height:39px;font-size:9px;position:relative}.tag-config-tabs button.active{color:#1f6b5f;font-weight:700}.tag-config-tabs button.active:after{content:"";background:#28786b;height:2px;position:absolute;bottom:-1px;left:12px;right:12px}.tag-manager-actions{align-items:center;margin-bottom:15px;display:flex}.tag-manager-actions button{border-radius:7px;align-items:center;gap:6px;height:36px;padding:0 12px;font-size:8px;display:flex}.primary-tag-action{color:#fff;background:#1d665a;border:0;box-shadow:0 6px 14px #1d665a26}.tag-log-action{color:#5b6d68;background:#fff;border:1px solid #d7e1de;margin-left:auto}.tag-table-scroll{border:1px solid #dfe7e4;border-radius:9px;overflow:auto}.tag-manager-table table{border-collapse:collapse;white-space:nowrap;width:100%;min-width:1180px}.tag-manager-table th{color:#71817c;text-align:left;background:#f2f6f5;height:39px;padding:0 10px;font-size:7px;font-weight:600}.tag-manager-table td{color:#53635f;border-top:1px solid #e8eeec;height:47px;padding:0 10px;font-size:8px}.tag-group-row{background:#fbfcfc}.tag-group-row>td:first-child>button{color:#334a44;background:0 0;border:0;align-items:center;gap:6px;font-size:8px;display:flex}.tag-group-row>td:first-child>button svg{transition:all .2s}.tag-group-row>td:first-child>button[aria-expanded=true] svg{transform:rotate(90deg)}.tag-group-row>td:first-child>button small{color:#6d817b;background:#e7efec;border-radius:8px;padding:2px 5px;font-size:6px}.tag-group-row>td:first-child>button em{color:#2c7569;font-size:7px;font-style:normal}.tag-detail-row td:first-child{background:linear-gradient(90deg,#eaf3f0 3px,#0000 3px)}.tag-color-chip{align-items:center;gap:5px;display:flex}.tag-color-chip i{border-radius:4px;width:14px;height:14px}.tag-items{text-overflow:ellipsis;max-width:210px;display:block;overflow:hidden}.tag-status{color:#7f8b88;background:#eef1f0;border-radius:9px;padding:3px 7px;font-size:7px;font-style:normal}.tag-status.enabled{color:#246c60;background:#e4f1ed}.tag-row-actions{gap:3px;display:flex}.tag-row-actions button{color:#286f64;background:0 0;border:0;border-radius:5px;height:25px;padding:0 6px;font-size:7px}.tag-row-actions button:hover{background:#eaf3f0}.tag-row-actions button.danger{color:#a25c5c}.tag-row-actions button.danger:hover{background:#f8ebeb}.tag-empty{color:#8b9995;place-items:center;min-height:220px;font-size:9px;display:grid}.tag-editor-backdrop{z-index:120;background:#0a231f8c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.tag-editor-backdrop[hidden]{display:none}.tag-editor{background:#fff;border-radius:14px;width:min(520px,100%);overflow:hidden;box-shadow:0 25px 70px #071f1b4d}.tag-editor>header{border-bottom:1px solid #e3e9e7;justify-content:space-between;align-items:center;min-height:77px;padding:17px 20px;display:flex}.tag-editor>header h3{color:#263d37;margin:0 0 5px;font-size:14px}.tag-editor>header p{color:#83908d;margin:0;font-size:8px}.tag-editor>header>button{color:#667772;background:#f0f4f2;border:0;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.tag-editor-form{grid-template-columns:1fr 1fr;gap:13px;padding:19px 20px;display:grid}.tag-editor-form label{gap:6px;display:grid}.tag-editor-form label.wide{grid-column:1/-1}.tag-editor-form label span{color:#5e6e69;font-size:8px}.tag-editor-form input,.tag-editor-form select,.tag-editor-form textarea{color:#334640;background:#fff;border:1px solid #d8e2df;border-radius:7px;outline:0;width:100%;padding:0 10px;font-size:9px}.tag-editor-form input,.tag-editor-form select{height:38px}.tag-editor-form input[type=color]{padding:4px}.tag-editor-form textarea{resize:vertical;height:75px;padding-top:9px}.tag-editor-form input:focus,.tag-editor-form select:focus,.tag-editor-form textarea:focus{border-color:#378174;box-shadow:0 0 0 3px #37817417}.tag-editor>footer{border-top:1px solid #e3e9e7;justify-content:flex-end;gap:8px;padding:13px 20px;display:flex}.tag-editor>footer button{color:#687772;background:#fff;border:1px solid #d7e1de;border-radius:7px;height:34px;padding:0 14px;font-size:8px}.tag-editor>footer .save-tag-editor{color:#fff;background:#1d665a;border-color:#1d665a}.tag-editor>footer .confirm-delete-tag{color:#fff;background:#a95252;border-color:#a95252}.tag-confirm-copy{color:#a15858;background:#fbf2f2;border-radius:9px;align-items:flex-start;gap:12px;margin:20px;padding:15px;display:flex}.tag-confirm-copy span,.tag-confirm-copy b{display:block}.tag-confirm-copy b{font-size:10px}.tag-confirm-copy span{color:#886c6c;margin-top:5px;font-size:8px}.tag-log-list{padding:8px 20px 20px}.tag-log-list>div{border-bottom:1px solid #e7ecea;align-items:center;gap:10px;min-height:58px;display:flex}.tag-log-list>div>i{color:#2d7569;background:#e7f1ee;border-radius:7px;place-items:center;width:29px;height:29px;display:grid}.tag-log-list>div>span{flex:1;min-width:0}.tag-log-list b,.tag-log-list small{display:block}.tag-log-list b{color:#3c4f49;font-size:9px}.tag-log-list small{color:#8b9794;margin-top:3px;font-size:7px}.tag-log-list time,.tag-log-list em{color:#7e8b87;font-size:7px;font-style:normal}.tag-log-list em{text-align:right;width:80px}@media (width<=560px){.tag-config-tabs{overflow:auto}.tag-config-tabs button{min-width:105px}.tag-editor-form{grid-template-columns:1fr}.tag-editor-form label.wide{grid-column:auto}}.tag-editor-backdrop.drawer-mode{place-items:stretch end;padding:0}.tag-group-drawer{background:#fff;grid-template-rows:auto 1fr auto;width:min(680px,92vw);height:100vh;animation:.22s ease-out tagDrawerIn;display:grid;box-shadow:-18px 0 50px #081f1b38}.tag-group-drawer>header{border-bottom:1px solid #dfe6e3;justify-content:space-between;align-items:center;height:75px;padding:0 26px;display:flex}.tag-group-drawer>header>div{align-items:center;gap:10px;display:flex}.tag-group-drawer>header>div>i{background:#28786b;border-radius:2px;width:3px;height:22px}.tag-group-drawer>header h3{color:#263c37;margin:0;font-size:17px}.tag-group-drawer>header>button{color:#285f56;background:#eef4f2;border:0;border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.tag-group-form{flex-direction:column;gap:28px;padding:50px 64px;display:flex}.tag-group-form>label{grid-template-columns:125px minmax(0,310px);align-items:center;display:grid}.tag-group-form>label>span,.group-status-field>span{color:#43534f;font-size:10px}.tag-group-form em{color:#c94f4f;margin-right:2px;font-style:normal}.group-name-input{border:1px solid #d3ddda;border-radius:7px;align-items:center;height:40px;display:flex}.group-name-input input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:100%;padding:0 10px;font-size:9px}.group-name-input>b{color:#7d8986;padding:0 9px;font-size:8px;font-weight:400}.group-name-input>b i{font-style:normal}.group-status-field{align-items:center;gap:22px;display:flex}.group-status-field>span{text-align:right;width:103px}.group-status-field label{color:#4f5f5a;cursor:pointer;align-items:center;gap:6px;font-size:9px;display:flex}.group-status-field input{opacity:0;position:absolute}.group-status-field label>i{border:1px solid #bfcac7;border-radius:50%;width:16px;height:16px;position:relative}.group-status-field input:checked+i{border-color:#28786b}.group-status-field input:checked+i:after{content:"";background:#28786b;border-radius:50%;position:absolute;inset:3px}.group-sort-input{align-items:center;display:flex}.group-sort-input button{color:#286c61;background:#f6f9f8;border:1px solid #cfdad6;width:36px;height:36px;font-size:17px}.group-sort-input button:first-child{border-radius:7px 0 0 7px}.group-sort-input button:last-child{border-radius:0 7px 7px 0}.group-sort-input input{text-align:center;border:1px solid #cfdad6;border-left:0;border-right:0;outline:0;width:95px;height:36px;font-size:10px}.group-sort-input input::-webkit-inner-spin-button{display:none}.tag-group-drawer>footer{border-top:1px solid #e1e8e5;justify-content:center;align-items:center;gap:110px;height:78px;display:flex}.tag-group-drawer>footer button{color:#5d6c68;background:#fff;border:1px solid #cad6d2;border-radius:7px;width:126px;height:38px;font-size:9px}.tag-group-drawer>footer .save-tag-editor{color:#fff;background:#1f6b5f;border-color:#1f6b5f;box-shadow:0 6px 14px #1f6b5f29}@keyframes tagDrawerIn{0%{opacity:.5;transform:translate(35px)}to{opacity:1;transform:none}}@media (width<=600px){.tag-group-drawer{width:100vw}.tag-group-form{padding:30px 18px}.tag-group-form>label{grid-template-columns:105px minmax(0,1fr)}.group-status-field>span{width:83px}.tag-group-drawer>footer{gap:18px}}.tag-value-form,.custom-tag-form{flex-direction:column;gap:22px;padding:34px 54px;display:flex;overflow:auto}.tag-value-form>label,.custom-tag-form>label{grid-template-columns:130px minmax(0,1fr);align-items:center;display:grid}.tag-value-form>label>span,.custom-tag-form>label>span,.tag-radio-field>span,.custom-role-field>span{color:#465752;font-size:9px}.tag-value-form em,.custom-tag-form em,.tag-radio-field em,.custom-role-field em{color:#c54d4d;font-style:normal}.tag-color-picker{align-items:center;gap:8px;display:flex}.tag-color-picker>i{border:3px solid #fff;border-radius:7px;width:34px;height:34px;box-shadow:0 0 0 1px #ccd9d5}.tag-color-picker>b{color:#657570;min-width:82px;font-size:8px;font-weight:500}.tag-color-picker>button,.role-add-row>button{color:#fff;background:#1f6b5f;border:0;border-radius:7px;height:36px;padding:0 13px;font-size:8px}.tag-color-picker>input{opacity:0;width:1px;height:1px;position:absolute}.tag-radio-field{grid-template-columns:130px auto auto 1fr;align-items:center;gap:18px;display:grid}.tag-radio-field label{color:#4e5f59;align-items:center;gap:6px;font-size:9px;display:flex}.tag-radio-field input{opacity:0;position:absolute}.tag-radio-field label>i{border:1px solid #bdcac6;border-radius:50%;width:16px;height:16px;position:relative}.tag-radio-field input:checked+i{border-color:#28786b}.tag-radio-field input:checked+i:after{content:"";background:#28786b;border-radius:50%;position:absolute;inset:3px}.tag-items-field{align-items:start!important}.tag-items-field textarea,.custom-note-field textarea{resize:vertical;border:1px solid #d5dfdc;border-radius:7px;outline:0;width:100%;height:105px;padding:10px;font-size:9px}.tag-items-field small{color:#899692;grid-column:2;margin-top:6px;font-size:7px}.custom-tag-table{min-width:1100px!important}.custom-tag-abbr{color:#fff;border-radius:6px;place-items:center;min-width:23px;height:23px;padding:0 5px;font-size:8px;font-style:normal;display:inline-grid}.custom-note{text-overflow:ellipsis;max-width:120px;display:block;position:relative;overflow:hidden}.custom-note:hover:after{content:attr(data-note);z-index:140;white-space:normal;color:#455650;background:#fff;border:1px solid #d8e3df;border-radius:8px;width:240px;padding:10px;line-height:1.6;position:fixed;box-shadow:0 10px 28px #0c2b2529}.tag-pagination{justify-content:center;margin:22px 0 4px;display:flex}.tag-pagination button{color:#587069;background:#fff;border:1px solid #d8e2df;border-left:0;min-width:35px;height:33px;font-size:8px}.tag-pagination button:first-child{border-left:1px solid #d8e2df;border-radius:7px 0 0 7px;padding:0 11px}.tag-pagination button:last-child{border-radius:0 7px 7px 0;padding:0 11px}.tag-pagination button.active{color:#fff;background:#28786b}.tag-pagination button:disabled{color:#b3bdb9;background:#f4f6f5}.custom-role-field{grid-template-columns:130px minmax(0,1fr);align-items:start;display:grid}.custom-role-field[hidden]{display:none}.role-add-row{gap:8px;display:flex}.role-add-row input{border:1px solid #d5dfdc;border-radius:7px;outline:0;flex:1;min-width:0;height:36px;padding:0 10px;font-size:9px}.selected-role-list{border:1px solid #e0e7e5;border-radius:7px;margin-top:9px;overflow:hidden}.selected-role-list>div{border-bottom:1px solid #e8eeec;grid-template-columns:38px 1fr 55px;align-items:center;height:34px;padding:0 8px;font-size:8px;display:grid}.selected-role-list>div:last-child{border-bottom:0}.selected-role-list>div span{color:#8b9894}.selected-role-list>div button{color:#a15d5d;background:0 0;border:0;font-size:8px}.selected-role-list>p{text-align:center;color:#919d99;margin:0;padding:17px;font-size:8px}.custom-tag-form>label>input{border:1px solid #d5dfdc;border-radius:7px;outline:0;height:38px;padding:0 10px;font-size:9px}.custom-note-field{align-items:start!important}.custom-note-field>div{position:relative}.custom-note-field small{color:#899692;font-size:7px;position:absolute;bottom:8px;right:9px}.custom-note-field small i{font-style:normal}.system-tag-intro{margin:8px 0 20px}.system-tag-intro h3{color:#263d37;align-items:center;gap:9px;margin:0 0 10px;font-size:15px;display:flex}.system-tag-intro h3 i{background:#28786b;border-radius:2px;width:3px;height:20px}.system-tag-intro p{color:#73827e;margin:0;font-size:9px}.system-tag-table{border:1px solid #dce5e2;border-radius:9px;overflow:hidden}.system-tag-head,.system-tag-row{grid-template-columns:90px 130px 1.1fr 1.4fr 100px;align-items:center;display:grid}.system-tag-head{color:#71807c;background:#f2f6f5;height:39px;font-size:8px}.system-tag-head span,.system-tag-row>span,.system-tag-row>b,.system-tag-row>div,.system-tag-row>p,.system-tag-row>label{padding:0 12px}.system-tag-row{color:#52635e;border-top:1px solid #e5ebe9;min-height:52px;font-size:8px}.system-tag-row>b{color:#334a44}.system-tag-row>div{flex-wrap:wrap;gap:5px;display:flex}.system-tag-row>div i{color:#2a6d62;background:#e8f1ee;border-radius:6px;padding:4px 7px;font-style:normal}.system-tag-row>p{margin:0}.system-tag-row>label{position:relative}.system-tag-row>label input{opacity:0;position:absolute}.system-tag-row>label>i{background:#cbd6d3;border-radius:10px;width:34px;height:18px;display:block;position:relative}.system-tag-row>label>i:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:all .2s;position:absolute;top:2px;left:2px}.system-tag-row>label input:checked+i{background:#28786b}.system-tag-row>label input:checked+i:after{transform:translate(16px)}.system-tag-source{color:#7c8b87;background:#f3f7f6;border-radius:7px;margin-top:12px;padding:10px 12px;font-size:7px}@media (width<=650px){.tag-value-form,.custom-tag-form{padding:28px 18px}.tag-value-form>label,.custom-tag-form>label,.custom-role-field{grid-template-columns:105px minmax(0,1fr)}.tag-radio-field{grid-template-columns:105px auto auto}.system-tag-table{overflow:auto}.system-tag-head,.system-tag-row{min-width:720px}}.settings-layout{display:block}.settings-menu{border-radius:10px;align-items:stretch;width:100%;margin-bottom:16px;padding:0 8px;display:flex;overflow-x:auto;box-shadow:0 8px 24px #1037300a}.settings-menu button{border-radius:0;justify-content:center;width:auto;min-width:max-content;min-height:51px;padding:0 14px;position:relative}.settings-menu button>svg,.settings-menu button>span>small,.settings-menu button>svg:last-child{display:none}.settings-menu button b{font-size:9px;font-weight:500}.settings-menu button.active{color:#1f6b5f;box-shadow:none;background:0 0}.settings-menu button.active b{color:#1f6b5f;font-weight:700}.settings-menu button.active:after{content:"";background:#28786b;height:2px;position:absolute;bottom:0;left:12px;right:12px}.settings-panel{min-height:560px}.settings-panel>header{min-height:80px}.patient-base-rules{gap:26px;display:grid}.patient-base-rules section{background:#fff;border:1px solid #dce5e2;border-radius:11px;overflow:hidden}.patient-base-rules section>header{background:#f8faf9;border-bottom:1px solid #e5ebe9;align-items:center;gap:11px;min-height:73px;padding:0 18px;display:flex}.patient-base-rules section>header>i{background:#28786b;border-radius:2px;width:3px;height:24px}.patient-base-rules h3{color:#2e4540;margin:0 0 5px;font-size:12px}.patient-base-rules header p{color:#899692;margin:0;font-size:8px}.patient-base-rules section>label{color:#53635f;flex-wrap:wrap;align-items:center;gap:8px;min-height:92px;padding:22px;display:flex}.patient-base-rules section>label span,.patient-base-rules section>label b{font-size:9px;font-weight:400}.patient-base-rules section>label input{border:1px solid #d2ddda;border-radius:7px;outline:0;width:150px;height:38px;padding:0 10px;font-size:9px}.patient-base-rules section>label input:focus{border-color:#328074;box-shadow:0 0 0 3px #32807417}.channel-toolbar{justify-content:flex-end;margin-bottom:12px;display:flex}.channel-toolbar button{color:#fff;background:#1f6b5f;border:0;border-radius:7px;align-items:center;gap:6px;height:36px;padding:0 13px;font-size:8px;display:flex}.channel-list{border:1px solid #dfe7e4;border-radius:9px;overflow:hidden}.channel-list>div{color:#65736f;border-bottom:1px solid #e7ecea;grid-template-columns:45px minmax(120px,1fr) minmax(100px,1fr) 70px 60px;align-items:center;min-height:49px;padding:0 13px;font-size:8px;display:grid}.channel-list>div:last-child{border-bottom:0}.channel-list b{color:#344a44}.channel-list small{font-size:8px}.channel-list i{color:#7e8a87;background:#eef1f0;border-radius:9px;width:max-content;padding:3px 7px;font-style:normal}.channel-list i.enabled{color:#246b60;background:#e4f1ed}.channel-list button{color:#286f64;background:0 0;border:0;font-size:8px}@media (width<=700px){.settings-menu{padding:0}.settings-menu button{padding:0 11px}.patient-base-rules section>label{flex-direction:column;align-items:flex-start}.patient-base-rules section>label input{width:100%}}.encryption-actions{margin-bottom:14px;display:flex}.encryption-actions button{color:#fff;background:#1f6b5f;border:0;border-radius:7px;align-items:center;gap:6px;height:37px;padding:0 14px;font-size:8px;display:flex;box-shadow:0 6px 14px #1f6b5f26}.encryption-table-scroll{border:1px solid #dfe7e4;border-radius:9px;overflow:auto}.encryption-table table{border-collapse:collapse;white-space:nowrap;width:100%;min-width:1030px}.encryption-table th{color:#70807b;text-align:left;background:#f2f6f5;height:39px;padding:0 11px;font-size:8px}.encryption-table td{color:#596965;border-top:1px solid #e5ebe9;height:48px;padding:0 11px;font-size:8px}.encryption-table td b{color:#354b45}.encryption-table code{color:#2d6d62;background:#edf4f2;border-radius:5px;padding:4px 7px;font:8px monospace}.encryption-table td>span{text-overflow:ellipsis;max-width:150px;display:block;overflow:hidden}.encryption-note{color:#74847f;margin:12px 0 0;font-size:8px}.encryption-editor-backdrop{z-index:125;background:#0a231f8c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.encryption-editor-backdrop[hidden]{display:none}.encryption-editor{background:#fff;border-radius:14px;width:min(570px,100%);overflow:hidden;box-shadow:0 25px 70px #071f1b4d}.encryption-editor>header{border-bottom:1px solid #e3e9e7;justify-content:space-between;align-items:center;min-height:76px;padding:17px 20px;display:flex}.encryption-editor>header h3{color:#293f39;margin:0 0 5px;font-size:14px}.encryption-editor>header p{color:#82908c;margin:0;font-size:8px}.encryption-editor>header>button{color:#657671;background:#f0f4f2;border:0;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.encryption-form{grid-template-columns:1fr 1fr;gap:13px;padding:20px;display:grid}.encryption-form label{gap:6px;display:grid}.encryption-form label.wide{grid-column:1/-1}.encryption-form label span{color:#596a65;font-size:8px}.encryption-form input,.encryption-form select,.encryption-form textarea{color:#344640;background:#fff;border:1px solid #d6e0dd;border-radius:7px;outline:0;width:100%;padding:0 10px;font-size:9px}.encryption-form input,.encryption-form select{height:38px}.encryption-form textarea{resize:vertical;height:75px;padding-top:9px}.encryption-editor>footer{border-top:1px solid #e3e9e7;justify-content:flex-end;gap:8px;padding:13px 20px;display:flex}.encryption-editor>footer button{color:#64736e;background:#fff;border:1px solid #d5dfdc;border-radius:7px;height:34px;padding:0 14px;font-size:8px}.encryption-editor>footer .save-encryption-rule{color:#fff;background:#1f6b5f;border-color:#1f6b5f}.encryption-confirm>div:not(:first-child):not(footer){color:#9b5555;background:#fbf1f1;border-radius:9px;margin:20px;padding:16px}.encryption-confirm>div b,.encryption-confirm>div span{display:block}.encryption-confirm>div b{font-size:10px}.encryption-confirm>div span{margin-top:5px;font-size:8px}.encryption-confirm>footer .confirm-encryption-delete{color:#fff;background:#a65353;border-color:#a65353}@media (width<=560px){.encryption-form{grid-template-columns:1fr}.encryption-form label.wide{grid-column:auto}}
