:root{--ink:#22383d;--muted:#74848a;--primary:#147d76;--primary-dark:#0d655f;--light:#eaf5f3;--line:#e4ebed;--canvas:#f4f7f8;--white:#fff;--danger:#b34240;--shadow:0 4px 18px #28485004;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);font-size:16px;line-height:1.55;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button{transition:background .16s,color .16s,box-shadow .16s}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #74b9b2;outline-offset:2px}button,select{min-height:38px}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin:0}h2{font-size:16px;font-weight:650}h3{font-size:16px}small{font-size:12px}[hidden]{display:none!important}
.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:34px 18px 24px;z-index:3}.brand{display:flex;align-items:center;gap:12px;padding-left:10px;font-size:21px;font-weight:700;letter-spacing:1px}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:500;color:var(--muted);margin-top:1px}.brand-mark{display:grid;place-items:center;width:39px;height:42px;background:var(--primary);color:white;border-radius:11px;font-size:27px;line-height:1;box-shadow:0 4px 9px #147d7620}.workspace-label{font-size:12px;letter-spacing:1px;color:#91a0a4;padding:42px 16px 15px}.nav-button{display:flex;align-items:center;gap:14px;width:100%;border:0;background:transparent;padding:13px 16px;border-radius:7px;color:#62777c;font-size:14px;text-align:left;margin-bottom:7px}.nav-button>span:first-child{font-size:20px;line-height:1.2;width:20px}.nav-button.active{background:var(--light);color:var(--primary);font-weight:600}.nav-button:hover{background:#f0f6f6}.nav-dot{width:5px;height:5px;border-radius:50%;background:var(--primary);margin-left:auto}.sidebar-bottom{margin-top:auto;padding:20px 12px 0}.local-label{font-size:14px;display:flex;align-items:center;gap:8px}.status-dot{height:6px;width:6px;background:var(--primary);border-radius:100%}.sidebar-bottom p{font-size:12px;line-height:1.9;color:var(--muted);margin-top:12px}.version{display:block;font-size:10px;letter-spacing:1.5px;margin-top:25px;color:#98a7ac}.main-shell{margin-left:218px}.topbar{height:78px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;gap:16px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb span{margin:0 13px;color:#bac4c7}.breadcrumb strong{font-weight:500;color:#3d5259}.top-actions{display:flex;align-items:center;gap:17px}.avatar{width:32px;height:32px;background:#ecf2f3;border-radius:50%;display:grid;place-items:center;font-size:13px;color:#5a757b}.button{border:1px solid #d8e3e4;border-radius:6px;color:#4c656b;background:white;padding:9px 17px;font-size:14px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-weight:500}.button:hover{background:#f0f6f5}.button.primary{background:var(--primary);border-color:var(--primary);color:#fff}.button.primary:hover{background:var(--primary-dark)}.button.small{font-size:13px;padding:6px 12px;min-height:34px}.button.danger{color:var(--danger)}.badge{font-size:12px;line-height:1.7;border-radius:4px;padding:3px 8px;white-space:nowrap}.badge.amber{color:#9b722c;background:#fcf5e7}.badge.neutral{color:#72888c;background:#f0f4f5}.badge.green{color:var(--primary);background:var(--light)}.badge.error{color:var(--danger);background:#fceeee}main{padding:29px 34px 18px;max-width:1900px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}.eyebrow{font-size:10px;letter-spacing:2.1px;color:#8a9ea3;font-weight:600;margin-bottom:6px}h1{font-size:27px;letter-spacing:.5px;line-height:1.4;font-weight:650}.page-heading p{font-size:14px;color:var(--muted);margin-top:7px}.heading-meta{font-size:12px;color:#829298;text-align:right;display:flex;flex-direction:column;gap:6px}.notice{background:#edf5f8;border:1px solid #e0ebef;color:#597982;font-size:13px;padding:11px 15px;border-radius:6px;display:flex;align-items:center;gap:10px;margin-bottom:23px}.notice-icon{border:1px solid #769ca4;font-size:11px;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-family:serif}.notice .text-button{margin-left:auto;white-space:nowrap}.text-button{border:0;background:transparent;color:var(--primary);padding:3px 0;font-size:13px;min-height:28px}.text-button:hover{color:var(--primary-dark);text-decoration:underline}.icon-button{border:0;border-radius:5px;background:transparent;width:32px;min-height:32px;font-size:20px;color:#789095;flex-shrink:0}.icon-button:hover{background:var(--light);color:var(--primary)}.work-grid{display:grid;grid-template-columns:minmax(235px,.85fr) minmax(380px,1.66fr) minmax(275px,1fr);gap:19px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid var(--line);min-height:65px}.panel-title h2{display:flex;align-items:center;gap:9px}.count{font-size:12px;background:#f0f4f5;color:#789094;border-radius:4px;padding:1px 6px;font-weight:500}.resident-search{padding:18px 17px 13px}.search-line{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;padding-left:10px;color:#8fa0a5}.search-line>span{font-size:21px}.search-line input{border:0!important;background:transparent;min-width:0;padding:8px!important;font-size:13px}.search-extra{display:flex;gap:8px;margin-top:8px}.search-extra input{padding:6px 9px;font-size:12px;min-width:0;min-height:32px}.list-caption{padding:0 19px 12px;display:flex;justify-content:space-between;font-size:11px;color:#8b9b9f;letter-spacing:.5px}.residents-list{min-height:439px;max-height:584px;overflow-y:auto;padding:0 9px}.resident-item{width:100%;border:1px solid transparent;background:transparent;display:flex;align-items:center;text-align:left;border-radius:7px;gap:12px;padding:15px 10px;margin-bottom:5px;position:relative}.resident-item:hover{background:#f5f9f9}.resident-item.selected{background:#eff7f5;border-color:#d4e9e3}.resident-item.selected:before{content:"";width:3px;height:30px;position:absolute;left:-10px;border-radius:2px;background:var(--primary)}.resident-avatar{background:#edf1f5;color:#6f8593;width:37px;height:40px;border-radius:8px;display:grid;place-items:center;font-size:14px;flex-shrink:0}.selected .resident-avatar{background:#dceee8;color:var(--primary)}.resident-info{min-width:0;flex:1}.resident-info strong{font-size:14px;font-weight:550;display:block;overflow-wrap:anywhere}.resident-info p{font-size:11px;color:#91a0a5;margin-top:4px}.resident-bed{font-size:12px;color:#81939a;white-space:nowrap}.pagination{display:flex;justify-content:center;align-items:center;gap:22px;padding:12px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.empty-state{padding:40px 15px;text-align:center;color:var(--muted);font-size:14px}.patient-summary{margin:20px 22px 15px;padding:15px 16px;background:#f6f9fa;border:1px solid #eef2f4;border-radius:7px;display:flex;gap:13px;align-items:center}.patient-avatar{width:43px;height:46px;border-radius:9px;background:#e3eeef;color:#64878d;display:grid;place-items:center;font-size:18px;flex-shrink:0}.patient-summary h3{font-size:18px;font-weight:600;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.patient-summary p{font-size:12px;color:#80939a;margin-top:5px;overflow-wrap:anywhere}.patient-summary .badge{font-size:10px;font-weight:400;background:#ebf2f3}.record-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:0 23px;color:#96a4a8;font-size:11px}.record-meta .text-button{font-size:12px}.editor-fields{padding:13px 23px 0}.field-title{display:flex;align-items:center;justify-content:space-between;margin:7px 0 12px;font-size:14px;font-weight:600}.field-title>span:first-child{display:flex;align-items:center;gap:8px}.section-index{font-size:10px;font-weight:600;background:#ecf4f3;color:#7b9d9d;border-radius:3px;padding:2px 5px;letter-spacing:1px}.field-counter{font-size:11px;color:#95a3a6;font-weight:400}.field-counter.over-limit{color:var(--danger)}input,select,textarea{display:block;width:100%;border:1px solid #dfe7e8;border-radius:6px;background:#fff;color:var(--ink);padding:10px 12px;min-width:0}input::placeholder,textarea::placeholder{color:#a1aeb2}textarea{resize:vertical;line-height:1.9;font-size:14px}textarea:disabled{background:#f8fafb}.medical-field{min-height:169px;padding:13px 15px;line-height:2;font-size:14px}.medical-field.diagnosis{min-height:140px}.medical-field:focus,.paste-field:focus{border-color:#76aaa4;outline:2px solid #e0f0ed;outline-offset:0}.field-foot{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#a0acaf;margin:8px 0 23px}.field-foot>span:last-child{color:#6f9690}.editor-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#95a3a7;margin:0 23px 12px;min-height:25px}.editor-toolbar .text-button{font-size:12px}.editor-footer{border-top:1px solid var(--line);padding:16px 23px;display:flex;justify-content:space-between;gap:12px}.editor-footer .primary{min-width:149px}.assistant-heading{display:flex;align-items:center;gap:12px;padding:22px 20px 20px;background:linear-gradient(110deg,#f2faf7,#fcfdfd)}.sparkle{font-size:31px;color:var(--primary);line-height:1}.assistant-heading h2{font-size:17px;color:#276b65}.assistant-heading p{font-size:12px;color:#8aa39f;margin-top:3px}.source-tabs{display:flex;padding:0 16px;border-bottom:1px solid var(--line);gap:10px}.source-tabs button{flex:1;border:0;border-bottom:2px solid transparent;font-size:13px;color:#839397;background:transparent;white-space:nowrap;padding:13px 0;min-height:47px}.source-tabs button[aria-selected="true"]{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.source-body{padding:19px 20px 21px}.small-label{display:block;font-size:13px;color:#627e83;margin-bottom:10px}.paste-field{min-height:214px;background:#fcfdfd;font-size:13px;line-height:1.9}.paste-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:5px 0 11px}.paste-actions span{font-size:10px;color:#a0abad}.paste-actions .text-button{font-size:11px}.parse-feedback{font-size:11px;color:#889d9a;background:#f3f7f7;padding:9px 10px;border-radius:4px;line-height:1.8}.fill-settings{border-top:1px solid #edf1f1;margin-top:25px;padding-top:17px}.fill-settings label{font-size:12px;color:#7a8f93;display:block;margin-bottom:9px}select{font-size:13px;padding:9px 8px;background:#fff}.fill-button{width:100%;margin-top:18px;min-height:43px}.fill-hint{text-align:center;color:#9babad;font-size:11px;margin-top:10px}.assistant-bottom{display:flex;align-items:flex-start;gap:11px;border-top:1px dashed #e0e9e7;padding:18px 20px;background:#fbfdfc;color:#809c98}.assistant-bottom>span{border:1px solid #b9d2cc;color:#78a498;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;font-size:10px;flex-shrink:0;margin-top:3px}.assistant-bottom strong{font-size:12px;font-weight:500}.assistant-bottom p{font-size:10px;color:#a0b0ac;margin-top:4px}.source-note{font-size:13px;color:#849694;line-height:1.9;margin-bottom:15px}.source-note:last-child{margin:15px 0 0}.mini-record{min-height:208px;overflow-wrap:anywhere}.mini-record h3{font-size:13px;color:#6b8a86;margin:16px 0 8px}.mini-record p{white-space:pre-wrap;color:#819391;font-size:13px}.unassigned{border:1px solid #eedeba;background:#fdfaf3;padding:10px;margin-top:10px;border-radius:5px;color:#8d753b;font-size:12px}.unassigned pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:160px;overflow:auto}.unassigned select{margin-top:6px}.page-footer{display:flex;justify-content:space-between;gap:10px;color:#9babae;font-size:10px;letter-spacing:.5px;padding:23px 2px 5px}.inline-alert{background:#fff4f0;color:#a15437;font-size:13px;line-height:1.8;padding:10px 13px;border-radius:5px;margin:12px 0}.editor-panel>.inline-alert{margin:12px 23px}
.modal{border:1px solid var(--line);border-radius:12px;box-shadow:0 24px 100px #14373233;padding:26px;width:440px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 40px);overflow:auto;color:var(--ink)}.modal::backdrop{background:#163b4755;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.modal-header h2{font-size:20px}.modal-description{font-size:14px;line-height:1.9;color:var(--muted);margin:14px 0 20px}.modal form>label{font-size:14px;display:block;margin:15px 0 7px}.modal input,.modal textarea{font-size:14px}.captcha-row{display:flex;gap:12px}.captcha-button{flex-shrink:0;width:125px;min-height:44px;background:#eef4f3;border:1px solid #e1ebe9;border-radius:5px;color:var(--primary);font-size:13px;padding:0;overflow:hidden}.captcha-button img{display:block;max-width:100%;height:44px;object-fit:contain;margin:auto}.help-text{font-size:12px;color:var(--muted);margin:7px 0 20px}.full-width{width:100%}.login-footnote{font-size:12px;line-height:1.8;color:#98a6aa;text-align:center;margin:20px 0 0}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.review-modal{width:780px}.review-patient{background:var(--light);padding:14px;margin:19px 0;font-size:14px;color:var(--primary);border-radius:6px}.comparison-row{margin-top:20px}.comparison-row h3{font-size:15px;margin-bottom:10px}.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.comparison-box{border:1px solid var(--line);border-radius:6px;padding:13px;min-width:0}.comparison-box.updated{background:#f6faf9}.comparison-box>span{font-size:11px;color:var(--muted)}.comparison-box pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.9;margin:10px 0 0}.review-checkbox{display:flex;align-items:center;gap:10px;font-size:14px;margin-top:22px}.review-checkbox input{width:17px;height:17px;accent-color:var(--primary)}.templates-modal{width:800px}.template-layout{display:grid;grid-template-columns:220px 1fr;gap:28px}.template-entry{width:100%;text-align:left;border:1px solid var(--line);border-radius:6px;background:white;padding:12px;color:#617b7f;margin-bottom:9px;font-size:14px;overflow-wrap:anywhere}.template-entry.selected{background:var(--light);border-color:#bcdcd5;color:var(--primary)}.template-file-actions{display:flex;justify-content:space-between;margin-top:12px}.template-layout form>label:first-child{margin-top:0}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:#244e49;color:#fff;padding:13px 22px;box-shadow:0 8px 25px #173b4930;border-radius:7px;z-index:20;font-size:14px;max-width:min(650px,calc(100vw - 32px));white-space:pre-line}.toast.error{background:#8e4944}
@media(min-width:1700px){.work-grid{grid-template-columns:300px minmax(450px,1fr) 360px}.medical-field{min-height:206px}.medical-field.diagnosis{min-height:170px}.residents-list{min-height:510px}}
@media(max-width:1300px){.sidebar{width:182px;padding-left:12px;padding-right:12px}.brand{font-size:18px;gap:9px}.brand small{font-size:9px}.main-shell{margin-left:182px}main{padding:24px 22px 16px}.topbar{padding:0 22px}.work-grid{gap:13px;grid-template-columns:215px minmax(315px,1fr) 270px}.panel-title{padding:15px}.patient-summary{margin-left:16px;margin-right:16px}.editor-fields{padding-left:16px;padding-right:16px}.source-body{padding:17px 15px}.field-foot>span:first-child{font-size:10px}.resident-item{gap:8px}.resident-bed{font-size:11px}.source-tabs{gap:7px;padding:0 12px}.heading-meta{font-size:11px}}
@media(max-width:1120px){.sidebar{width:82px;padding-left:10px;padding-right:10px}.brand{padding:0;justify-content:center}.brand>span:last-child,.workspace-label,.sidebar-bottom,.nav-dot{display:none}.sidebar nav{margin-top:38px}.nav-button{font-size:0;justify-content:center;padding:14px 9px;gap:0}.nav-button>span:first-child{font-size:25px;width:auto}.main-shell{margin-left:82px}.work-grid{grid-template-columns:210px minmax(300px,1fr)}.assistant-panel{grid-column:1 / -1}.assistant-panel .source-body{display:grid;grid-template-columns:minmax(300px,1fr) minmax(230px,.6fr);gap:0 25px}.assistant-panel [role=tabpanel]{grid-column:1;grid-row:1/5}.fill-settings{grid-column:2;margin-top:0;border:0}.fill-button,.fill-hint{grid-column:2;align-self:end}.assistant-panel .assistant-bottom{display:none}.paste-field{min-height:140px}.source-tabs{max-width:350px}.residents-list{max-height:610px}.notice{font-size:12px}.page-heading p{font-size:13px}}
@media(max-width:700px){.sidebar{position:static;width:100%;padding:14px 18px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:18px;gap:9px}.brand>span:last-child{display:block}.brand small{font-size:8px}.brand-mark{width:31px;height:33px;font-size:23px}.sidebar nav{display:flex;margin:0;gap:6px}.nav-button{margin:0;padding:9px;width:38px}.nav-button>span:first-child{font-size:20px}.main-shell{margin:0}.topbar{height:56px;padding:0 17px}.breadcrumb{font-size:12px}.breadcrumb span{margin:0 6px}.top-actions{gap:8px}.avatar{display:none}.top-actions .button{font-size:11px;padding:6px}.badge{font-size:10px}main{padding:21px 15px}.page-heading{margin-bottom:18px}h1{font-size:24px}.eyebrow{font-size:9px}.heading-meta{display:none}.notice{align-items:flex-start;padding:10px;font-size:11px;flex-wrap:wrap;gap:7px}.notice>span:nth-child(2){flex:1}.notice .text-button{width:100%;text-align:right;font-size:11px}.work-grid{display:flex;flex-direction:column;gap:16px}.panel{width:100%}.residents-list{display:flex;min-height:0;max-height:none;overflow-x:auto;padding:0 10px 10px;gap:6px}.resident-item{min-width:165px;width:auto;margin:0;min-height:75px;padding:9px;gap:7px}.resident-item.selected:before{display:none}.resident-bed{display:none}.resident-avatar{width:32px;height:35px}.list-caption{display:none}.resident-search{padding:12px 15px;display:flex;gap:8px}.search-line{flex:1;min-width:0}.search-extra{width:42%;margin:0;gap:5px}.search-extra input{font-size:11px;padding:4px}.pagination{padding:5px}.panel-title{min-height:51px;padding:10px 16px}.assistant-panel{order:2}.editor-panel{order:3}.assistant-panel .source-body{display:block}.fill-settings{border-top:1px solid var(--line);margin-top:15px}.assistant-heading{padding:15px 18px}.paste-field{min-height:128px;max-height:220px}.paste-actions span{font-size:11px}.page-footer{flex-direction:column;text-align:center;font-size:10px}.medical-field{font-size:16px}.field-foot{font-size:11px}.template-layout{grid-template-columns:1fr}.template-layout>div:first-child{max-height:210px;overflow:auto}.comparison-grid{grid-template-columns:1fr}.modal{padding:20px}.review-checkbox{font-size:13px;align-items:flex-start}.review-checkbox input{flex-shrink:0}.editor-footer{padding:14px 16px}.editor-toolbar{margin-left:16px;margin-right:16px}.source-tabs{max-width:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Keep routine controls readable, including on dense clinical workstations. */
.medical-field,.modal-description,.comparison-box pre{font-size:16px}
.source-tabs button,.small-label,.paste-field,.fill-settings label,select,.text-button,.template-entry,.resident-info strong,.resident-bed,.notice,.button.small{font-size:14px}
.resident-info p,.field-foot,.field-counter,.record-meta,.editor-toolbar,.parse-feedback,.source-note,.mini-record p,.assistant-heading p,.fill-hint,.assistant-bottom p,.patient-summary p,.pagination,.paste-actions span,.page-footer,.help-text,.login-footnote{font-size:12px}
.resident-info p{line-height:1.7}.patient-summary .badge{font-size:12px}.field-foot{flex-wrap:wrap}.resident-search input{font-size:14px}
.source-tabs{gap:7px}.paste-actions{flex-wrap:wrap}.record-meta{flex-wrap:wrap}
.record-meta .text-button,.editor-toolbar .text-button,.paste-actions .text-button{font-size:13px}
@media(max-width:700px){.resident-search{flex-wrap:wrap}.search-line{flex-basis:100%}.search-extra{width:100%}.notice{font-size:13px}.resident-bed{font-size:12px}.field-foot>span:first-child{font-size:12px}.page-footer{font-size:12px}.top-actions .button{font-size:12px}.resident-item{min-width:175px}}

.patrol-picker{padding:0 22px 10px}.patrol-picker>label{font-size:14px;display:block;margin-bottom:8px}.patrol-picker>div{display:flex;gap:8px}.patrol-picker select{flex:1}.patrol-picker .button{white-space:nowrap}.patrol-picker>.text-button{margin-top:6px}.patrol-fields .field-title{margin-top:18px}.patrol-fields input{font-size:16px}.patrol-format-note{font-size:12px;color:var(--muted);margin:10px 0 20px;line-height:1.8}.patrol-editor>.inline-alert{margin:12px 22px}.patrol-time-check{display:flex!important;align-items:flex-start;gap:8px;line-height:1.8;margin-top:12px!important;font-size:13px!important}.patrol-time-check input{width:16px;height:16px;flex-shrink:0;margin-top:4px;accent-color:var(--primary)}.patrol-assistant .mini-record{max-height:370px;overflow:auto}.patrol-assistant .parse-feedback{margin-top:10px}
.patrol-assistant .source-tabs{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.patrol-assistant .source-tabs button{min-width:0}.default-fill-card>strong{font-size:14px;color:var(--primary)}.default-fill-card>p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:10px}.default-fill-grid{display:grid;gap:10px;margin-top:16px}.default-fill-grid label{display:block;font-size:13px;color:#627e83}.default-fill-grid select{margin-top:7px}.default-fill-grid input{font-size:14px}.default-fill-card .mini-record{min-height:0;max-height:210px;margin:14px 0}.default-fill-card .mini-record h3{margin:0 0 7px}.default-fill-card .mini-record p{line-height:1.9}.default-fill-card>.text-button{margin-top:8px}
.bulk-fill-card{border-top:1px solid #e5eeee;margin-top:20px;padding-top:17px}.bulk-fill-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.bulk-fill-heading strong{font-size:14px;color:var(--primary)}.bulk-fill-card>p{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0 12px}.bulk-fill-card .button{width:100%;font-size:13px}.bulk-progress{margin-top:13px}.bulk-progress-line{display:flex;align-items:center;gap:9px}.bulk-progress progress{height:9px;flex:1;accent-color:var(--primary)}.bulk-progress-line span{font-size:12px;color:var(--primary);min-width:34px;text-align:right}.bulk-progress>p{font-size:12px;color:var(--muted);margin:7px 0}.bulk-progress ul{list-style:none;margin:0;padding:0;max-height:142px;overflow:auto;border-top:1px dashed #e0e9e7}.bulk-progress li{font-size:11px;line-height:1.7;padding:3px 0;border-bottom:1px dashed #eef2f2;overflow-wrap:anywhere}.bulk-progress li span{display:inline-block;width:34px;font-weight:600;margin-right:5px}.bulk-result-success span{color:var(--primary)}.bulk-result-skipped span{color:#9a7c37}.bulk-result-failed span{color:var(--danger)}
@media(max-width:1120px){.patrol-assistant{grid-column:1 / -1}.patrol-assistant .source-body{display:grid;grid-template-columns:minmax(300px,1fr) minmax(230px,.6fr);gap:0 25px}.patrol-assistant [role=tabpanel]{grid-column:1;grid-row:1/5}.patrol-assistant .fill-settings,.patrol-assistant .fill-button,.patrol-assistant .fill-hint{grid-column:2}.patrol-assistant .fill-settings{border:0;margin-top:0}}
@media(max-width:700px){.patrol-editor{order:3}.patrol-assistant{order:2}.patrol-assistant .source-body{display:block}.patrol-assistant .fill-settings{border-top:1px solid var(--line);margin-top:15px}.sidebar nav{gap:2px}.brand{font-size:17px}.patrol-picker{padding:0 16px 8px}.patrol-picker>div{flex-wrap:wrap}.patrol-picker select{flex-basis:100%}}
.patrol-people-modal{width:740px}.people-search{display:flex;align-items:center;gap:12px}.people-search input{flex:1}.people-search .text-button{white-space:nowrap}.people-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:17px 0 10px}.people-check{display:flex;align-items:center;gap:9px;font-size:14px;margin-right:auto}.people-check input,.people-row input{width:18px;height:18px;min-height:18px;flex-shrink:0;accent-color:var(--primary)}.people-count{font-size:13px;line-height:1.8;color:var(--primary);padding:10px 12px;background:var(--light);border-radius:6px;margin-bottom:12px}.people-list{max-height:min(390px,42vh);min-height:150px;overflow-y:auto;border:1px solid var(--line);border-radius:7px}.people-row{display:flex;align-items:center;gap:13px;padding:13px 16px;border-bottom:1px solid var(--line);cursor:pointer}.people-row:last-child{border:0}.people-row:has(input:checked){background:#f6faf9}.people-row>span:nth-child(2){flex:1;min-width:0}.people-row strong{font-size:15px;font-weight:550}.people-row small{display:block;color:var(--muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere;margin-top:3px}.people-selection-state{font-size:12px;color:var(--muted);white-space:nowrap}.people-row:has(input:checked) .people-selection-state{color:var(--primary)}
@media(max-width:700px){.people-toolbar{gap:10px}.people-row{padding:12px 10px;gap:9px}.patrol-people-modal .modal-footer{flex-wrap:wrap}.patrol-people-modal .modal-description{font-size:14px}.people-search{gap:8px}.people-count{font-size:12px}}
.patrol-input-hint{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0 12px}.patrol-body-corpus>div{display:flex;align-items:center;gap:12px}.patrol-body-corpus select{flex:1;min-width:0}.patrol-body-corpus .text-button{flex-shrink:0;white-space:nowrap}
