:root{--navy:#102541;--blue:#285cda;--text:#172b46;--muted:#748198;--line:#e6ebf2;--bg:#f4f6fa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 "Microsoft YaHei","PingFang SC",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dbe2ec;border-radius:7px;background:#fff;color:var(--text);padding:9px 16px;transition:.15s}button:hover{background:#f0f4ff;border-color:#a9bfe9}button:disabled{cursor:default;opacity:.5}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.primary:hover{background:#1948bc}button.text-btn,.icon{border:0;background:transparent}.text-btn{color:var(--blue)}.icon{padding:3px 9px;font-size:22px}input,select,textarea{padding:10px 12px;border:1px solid #dbe2ec;border-radius:6px;color:var(--text);background:#fff;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #a9c5ff;outline-offset:1px}label{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:.2px;line-height:1.45}h2{font-size:17px}h3{font-size:16px}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;color:#8492a9;margin-bottom:8px}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:var(--navy);color:#fff;padding:32px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none;font-size:18px;font-weight:600}.brand-icon{display:flex;align-items:center;justify-content:center;border-radius:10px;width:40px;height:40px;background:#3269e5;color:white;font-size:22px}.brand-sub{font-weight:400;font-size:11px;letter-spacing:1px;display:block;color:#94a9c6}.nav-caption{font-size:11px;color:#8095b2;letter-spacing:2px;margin:43px 12px 15px}.nav{display:flex;align-items:center;gap:13px;text-align:left;color:#b5c4db;background:none;border:0;padding:12px 15px;margin-bottom:8px}.nav span{font-size:22px}.nav.active{background:#254774;color:white}.nav:hover{background:#1d3a61}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:9px;font-size:12px;border-top:1px solid #2a3e59;padding-top:20px}.sidebar-bottom small{display:block;font-size:10px;color:#8ca2bf}.sidebar-bottom .icon{margin-left:auto;color:#a9bdd6}.avatar{display:grid;place-items:center;background:#36506f;width:33px;height:33px;border-radius:50%}.workspace{margin-left:226px}.topbar{height:65px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);font-size:12px;color:#748198}.crumb{margin:0 12px;color:#c4ccda}.topbar b{color:#243753;font-weight:500}.top-right{display:flex;align-items:center;gap:20px}.view{padding:30px 36px}.hidden{display:none!important}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading .muted{margin-top:8px;font-size:13px}.actions{display:flex;gap:10px}.scopebar{display:flex;align-items:center;gap:12px;margin-bottom:20px;font-size:12px}.scopebar select{padding:5px 30px 5px 10px}.push{margin-left:auto}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stat{text-align:left;padding:18px 22px;background:#fff;border:1px solid var(--line);border-radius:9px;position:relative}.stat.selected{border-color:#a8c0f3;box-shadow:inset 0 3px #3970e8}.stat>span{color:#64758c;font-size:13px}.stat strong{display:block;font-family:Arial,sans-serif;font-size:33px;font-weight:600;line-height:1.6;letter-spacing:.4px}.stat small{color:#8c98a9;font-size:11px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:7px}.blue{background:#4775e9}.green{background:#38a58a}.orange{background:#d49a50}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-top{padding:0 22px;min-height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.tabs{display:flex;align-self:stretch;gap:26px}.tab{border:0;border-radius:0;padding:0 2px;position:relative;color:#7f8b9c}.tab.active{color:var(--blue);font-weight:600}.tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--blue)}.panel-top>.muted{font-size:12px}.filters{display:flex;gap:12px;padding:19px 22px}.search{position:relative;flex:1}.search input{width:100%;padding-left:38px}.search>span{position:absolute;left:13px;top:6px;font-size:22px;color:#9aa7ba}.filters select{font-size:12px;width:158px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th{text-align:left;font-weight:500;color:#8a96a8;background:#f8faff;padding:13px 14px;border-bottom:1px solid var(--line)}td{padding:18px 14px;border-bottom:1px solid #eef1f5;color:#516178}th:first-child,td:first-child{padding-left:23px}th:last-child,td:last-child{padding-right:23px}tbody tr:hover{background:#fbfcff}.company-name{font-size:13px;color:#233954;display:block;font-weight:550;max-width:350px;overflow:hidden;text-overflow:ellipsis}.code{font-size:11px;color:#8d9aae;font-family:Consolas,monospace;display:block;margin-top:4px;letter-spacing:.4px}.tag{display:inline-block;border-radius:4px;padding:2px 8px;font-size:11px;background:#eff3f8;color:#63758e}.tag.新增,.tag.合规{background:#e9f5f0;color:#27826c}.tag.存续{background:#edf3ff;color:#396ac8}.tag.退出,.tag.不合规{background:#fff1e9;color:#bb773d}.tag.待核实{background:#f4f5f7;color:#8a94a3}.tri{display:flex;gap:5px}.tri span{font-size:10px;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:26px}.tri i{font-style:normal;border-radius:50%;width:17px;height:17px;text-align:center;line-height:17px;background:#edf6f1;color:#258669}.tri i.unknown{background:#f0f2f5;color:#a0a8b5}.tri i.bad{background:#ffeded;color:#d45656}.link{background:none;border:0;padding:0;color:#356dd9;font-size:12px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;font-size:11px}.pagination>div{display:flex;align-items:center;gap:15px}.pagination button{padding:4px 11px;font-size:11px}.footnote{font-size:11px;color:#92a0b3;margin:15px 2px}.import-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:28px;margin-bottom:27px}.upload-panel{padding:24px}.upload-panel>.muted{margin:7px 0 20px;font-size:12px}.drop-zone{border:1px dashed #aebed7;border-radius:8px;background:#f8faff;align-items:center;justify-content:center;text-align:center;min-height:170px;cursor:pointer;gap:5px}.drop-zone span:last-of-type{font-size:12px;color:#8595ad}.drop-zone input{max-width:270px;font-size:11px;margin:8px 0;border:0;background:transparent}.upload-symbol{font-size:32px;color:#4f7dd8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.import-help{padding:12px 2px;color:#6e819a;font-size:12px}.import-help h3{color:#284260;margin-bottom:20px}.import-help ol{padding-left:20px}.import-help li{padding-left:4px;margin-bottom:22px}.import-help b{color:#3e536d}.import-help p{margin-top:6px}.preview-result{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.preview-counts{display:flex;gap:22px;margin:14px 0}.preview-counts b{display:block;font-size:23px}.warn{color:#9d722f;background:#fff8e9;padding:10px 12px;border-radius:6px;font-size:12px;margin:12px 0}.preview-result table{margin-bottom:16px;white-space:normal}.preview-result td{padding:8px}.history table{font-size:11px}.history td:first-child{max-width:350px;white-space:normal}.history small{display:block;color:#8997aa}dialog{border:0;border-radius:12px;padding:0;color:var(--text);box-shadow:0 22px 90px #0d23434d}dialog::backdrop{background:#10223b65;backdrop-filter:blur(2px)}.detail-dialog{width:min(1000px,94vw);max-height:90vh}.dialog-top{position:sticky;top:0;background:#fff;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:17px 26px;border-bottom:1px solid var(--line)}#detail-content{padding:25px}.detail-heading{display:flex;gap:18px;justify-content:space-between;align-items:center;margin-bottom:24px}.detail-heading h2{font-size:22px;margin-bottom:7px}.detail-heading .actions{flex-shrink:0}.detail-section{margin-top:25px}.detail-section h3{margin-bottom:14px;display:flex;justify-content:space-between}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:20px;background:#f7f9fc;border-radius:8px}.detail-grid dt{font-size:11px;color:#8392a9;margin-bottom:6px}.detail-grid dd{margin:0;font-size:13px;word-break:break-all}.compliance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.compliance-item{padding:16px;border:1px solid var(--line);border-radius:6px;display:flex;justify-content:space-between;align-items:center}.record-tabs{display:flex;gap:10px}.empty{padding:42px;text-align:center;color:#8b9ab0}.timeline{padding:0;list-style:none}.timeline li{border-left:2px solid #e0e8f4;padding:2px 0 18px 17px;margin-left:5px;font-size:12px}.timeline small{color:#93a0b3;display:block}.timeline p{margin:4px 0;word-break:break-word}.action-dialog{width:490px;max-height:90vh}.action-dialog form{padding:22px 26px}.action-dialog textarea{min-height:90px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.checkbox{flex-direction:row;align-items:flex-start;font-size:12px}.checkbox input{margin-top:5px}.error{color:#bb3c3c;margin:10px 0}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:20;padding:13px 23px;border-radius:7px;background:#183557;color:#fff;box-shadow:0 6px 25px #10254126}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(130deg,#102541,#244777)}.login-card{width:430px;max-width:94vw;padding:42px;background:#fff;border-radius:14px;box-shadow:0 30px 80px #07162955}.login-card .brand-icon{margin-bottom:25px}.login-card h1{font-size:25px}.login-card form{margin:28px 0 23px}.login-card small{color:#94a1b3;font-size:11px}.full{width:100%}@media(min-width:1600px){.view{max-width:1640px;margin:auto;padding:38px 48px}.registry td{padding-top:21px;padding-bottom:21px}.company-name{max-width:440px}}@media(max-width:1150px){.sidebar{width:185px;padding:24px 14px}.workspace{margin-left:185px}.brand{font-size:16px}.view{padding:24px}.stats{gap:10px}.stat{padding:15px}.import-layout{grid-template-columns:1fr}.import-help{display:none}.registry{min-width:900px}.detail-heading{align-items:flex-start;flex-direction:column}.filters{flex-wrap:wrap}.search{min-width:250px}.topbar{padding:0 24px}.scopebar .push{display:none}}@media(max-width:760px){.sidebar{width:65px;padding:22px 10px}.brand>span:last-child,.nav-caption,.nav>span+span,.sidebar-bottom{display:none}.nav{font-size:0;padding:10px}.nav span{font-size:22px}.workspace{margin-left:65px}.brand-icon{width:40px}.top-right{display:none}.view{padding:18px}.page-heading{flex-direction:column;align-items:flex-start}.stats{grid-template-columns:1fr 1fr}.detail-grid{grid-template-columns:1fr 1fr}.form-row{grid-template-columns:1fr}.pagination>.muted{display:none}.scopebar .muted{display:none}.filters{padding:12px}.tabs{gap:18px}}

.stage-preview{margin:20px 0;padding:18px;background:#f7f9fd;border:1px solid #e0e8f4;border-radius:8px}.stage-preview p{font-size:12px;margin:8px 0}.stage-preview summary{cursor:pointer;color:#285cda;margin:12px 0}.stage-preview td{max-width:350px;white-space:normal}.registry td .tag{margin:2px 2px 2px 0}

.monitor-cards{display:grid;gap:16px}.monitor-card{border:1px solid #e3e8ef;border-radius:10px;padding:18px}.monitor-card h3{margin-top:0}.monitor-card summary{cursor:pointer;color:#2756a4;padding:10px 0}.monitor-value{font-size:28px;font-weight:600;margin:12px 0}.monitor-value small{font-size:14px;font-weight:400}

.monitor-card td small{display:block;color:#7b8494;margin-top:5px;overflow-wrap:anywhere}.monitor-card td{vertical-align:top}


/* Compact, aligned registry filters. */
.filter-workbench{margin:20px 22px 22px;padding:18px 20px;background:#f8faff;border:1px solid #e8edf5;border-radius:12px}
.filter-primary{display:flex;align-items:center;gap:16px}
.filter-primary .search{display:flex;align-items:center;gap:10px;flex:1;min-width:240px;position:relative;background:#fff;border:1px solid #dce3ed;border-radius:8px;padding:0 13px;height:42px;transition:border-color .15s,box-shadow .15s}
.filter-primary .search:focus-within{border-color:#7398ef;box-shadow:0 0 0 3px #e8efff}
.filter-primary .search svg{flex-shrink:0;color:#8c9cb5}
.filter-primary .search input{border:0!important;box-shadow:none!important;background:transparent;padding:0!important;width:100%;min-width:0;height:40px;font-size:13px}
.filter-selects{display:flex;gap:10px;flex-shrink:0}
.filter-selects select{height:42px;min-width:145px;border:1px solid #dce3ed;border-radius:8px;background-color:#fff;font-size:13px;color:#45556d;padding:0 30px 0 12px}
.filter-secondary{display:flex;align-items:center;gap:18px;margin-top:16px;padding-top:16px;border-top:1px solid #e7edf5;flex-wrap:wrap}
.date-group{display:flex;align-items:center;gap:14px}.date-caption{font-size:13px;color:#63748c;white-space:nowrap}
.date-range{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #dce3ed;border-radius:8px;height:40px;padding:0 8px}
.date-range:focus-within{border-color:#7398ef;box-shadow:0 0 0 3px #e8efff}
.date-range input{width:139px;min-width:0;border:0!important;box-shadow:none!important;background:transparent;padding:0 6px;height:36px;color:#45556d;font-size:13px}
.date-divider{color:#adb9ca;font-size:12px}.date-range input::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}
.filter-actions{display:flex;gap:8px}.filter-actions button{height:40px;padding:0 18px;border-radius:8px;font-size:13px;display:flex;align-items:center;justify-content:center;gap:7px}
.filter-actions .primary{box-shadow:0 3px 7px #285de51a}.filter-actions #clear-filters{background:transparent;border-color:transparent;color:#77869a}.filter-actions #clear-filters:hover{background:#edf2fa;color:#315783}
.filter-help{margin-left:auto;font-size:12px;color:#8b9ab0;cursor:help;white-space:nowrap}.filter-help>span{margin-right:4px}
@media(max-width:1250px){.filter-primary{flex-wrap:wrap}.filter-primary .search{flex-basis:100%}.filter-selects{flex:1}.filter-selects select{flex:1;min-width:0}.filter-help{margin-left:0}}
@media(max-width:760px){.filter-workbench{margin:12px;padding:14px}.filter-secondary{gap:12px}.date-group{flex-wrap:wrap;gap:8px}.date-range input{width:122px}.filter-selects{flex-wrap:wrap}}

.stage-preview .preview-counts{flex-wrap:wrap}

.filter-selects #stage-type{min-width:205px}.stat small{white-space:normal;line-height:1.7}

.filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 24px}.filter-fields .filter-field{display:flex;flex-direction:row;align-items:center;gap:12px;margin:0;min-width:0}.filter-field>span{flex:0 0 98px;font-size:13px;color:#63748c;text-align:right;white-space:nowrap}.filter-field input,.filter-field select{flex:1;width:0;min-width:0;height:42px;border-radius:8px;border:1px solid #dce3ed;background:#fff;font-size:13px;padding:0 10px}.filter-field input:focus,.filter-field select:focus{border-color:#7398ef;box-shadow:0 0 0 3px #e8efff}.filter-fields .hidden{display:none!important}.filter-secondary .date-caption{width:98px;text-align:right}.filter-secondary .date-group{gap:12px}@media(max-width:1450px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.filter-fields{grid-template-columns:1fr}}

.exit-tab-group{display:flex;align-items:center;gap:6px}.exit-rule-help{position:relative;display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;min-width:17px;padding:0;border:1px solid #9caec7;border-radius:50%;color:#7a8da8;font-size:11px;background:transparent;cursor:help;overflow:visible}.exit-rule-help:hover,.exit-rule-help:focus-visible{color:#285de5;border-color:#285de5;background:#edf3ff}:is(#exit-rule-tooltip,#new-rule-tooltip){display:none;position:absolute;left:-16px;top:27px;width:355px;max-width:70vw;padding:16px 18px;text-align:left;white-space:normal;background:#fff;border:1px solid #e1e8f2;border-radius:10px;box-shadow:0 8px 28px #19334d26;color:#54657d;font-size:12px;line-height:1.8;z-index:30;font-weight:400}:is(#exit-rule-tooltip,#new-rule-tooltip) strong{display:block;font-size:13px;color:#233c60;margin-bottom:8px}:is(#exit-rule-tooltip,#new-rule-tooltip)>span{display:block;margin-top:6px}.exit-rule-help:hover :is(#exit-rule-tooltip,#new-rule-tooltip),.exit-rule-help:focus :is(#exit-rule-tooltip,#new-rule-tooltip){display:block}.filter-field>span{flex-basis:185px}.filter-secondary .date-caption{width:185px}
.exit-tab-group>.tab{align-self:stretch}

.compliance-text{font-size:12px;line-height:1.9;color:#53657d;white-space:nowrap}

.filter-fields{grid-template-columns:minmax(260px,1.1fr) minmax(230px,.8fr) minmax(370px,1.2fr) auto;align-items:center}.filter-field>span{flex:0 0 auto}.filter-field:first-child>span{min-width:56px}.filter-fields .filter-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.filter-fields .filter-actions button{height:42px;padding:0 18px}.filter-fields #reset-filters{background:#fff;border-color:#dbe2ec;color:#63748c}.filter-fields #reset-filters:hover{background:#edf2fa;color:#315783}@media(max-width:1500px){.filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-fields .filter-actions{justify-content:flex-end}}@media(max-width:850px){.filter-fields{grid-template-columns:1fr}.filter-field>span{flex:0 0 120px}}

.dynamic-columns{width:max-content;min-width:100%}.dynamic-columns th,.dynamic-columns td{min-width:140px;max-width:320px;overflow:hidden;text-overflow:ellipsis}.dynamic-columns th:first-child,.dynamic-columns td:first-child{min-width:220px}.dynamic-columns th:nth-child(2),.dynamic-columns td:nth-child(2){min-width:190px}.dynamic-columns th:last-child,.dynamic-columns td:last-child{min-width:90px}.list-code{margin-top:0;color:#657791}.field-dialog{width:min(820px,94vw);max-height:90vh}.field-dialog form{padding:20px 26px}.field-dialog form>.muted{margin-bottom:18px}.field-group{padding:15px 0;border-top:1px solid var(--line)}.field-group:first-child{border-top:0}.field-group h3{font-size:13px;margin-bottom:10px;color:#405774}.field-group>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px}.field-option{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin:0;padding:8px 10px;border-radius:6px;background:#f7f9fc;font-size:12px}.field-option input{margin:0}.field-option small{color:#8795a8}.source-fields{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.field-group>div,.source-fields{grid-template-columns:1fr 1fr}}

.account-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:22px;margin-bottom:22px}.account-card{min-width:0;overflow:visible}.account-form{padding:22px}.account-form label{margin-bottom:15px}.account-form>button{min-width:110px}.account-layout>.account-card:only-child .account-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:0 18px}.account-layout>.account-card:only-child .account-form>p{grid-column:1/3;align-self:center}.account-layout>.account-card:only-child .account-form>button{justify-self:end}.account-list td small{display:block;color:#8795a8}.account-list{width:100%;margin-bottom:24px}@media(max-width:950px){.account-layout{grid-template-columns:1fr}.account-layout>.account-card:only-child .account-form{display:block}.account-layout>.account-card:only-child .account-form>button{justify-self:auto}}

/* Document archive */
.document-total{display:flex;align-items:baseline;gap:8px;padding:12px 18px;border:1px solid #dfe6f0;border-radius:10px;background:#fff;color:#718097}.document-total b{font:600 28px/1 Arial,sans-serif;color:#183454}.document-total span{font-size:12px}.document-folders{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.document-folder{position:relative;min-height:292px;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 5px 18px #173a6b08}.document-folder:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--folder-color)}.document-folder:after{content:"";position:absolute;right:-42px;top:-54px;width:130px;height:130px;border-radius:50%;background:var(--folder-wash)}.folder-blue{--folder-color:#3970e8;--folder-wash:#edf3ff}.folder-cyan{--folder-color:#2796a6;--folder-wash:#eaf8fa}.folder-amber{--folder-color:#d99334;--folder-wash:#fff6e8}.folder-slate{--folder-color:#687d99;--folder-wash:#f0f3f7}.folder-heading{height:49px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.folder-icon{position:relative;width:45px;height:34px;border-radius:5px;background:var(--folder-color);box-shadow:inset 0 -8px 13px #10254112}.folder-icon:before{content:"";position:absolute;left:0;top:-7px;width:21px;height:10px;border-radius:5px 5px 0 0;background:var(--folder-color)}.folder-index{font:600 11px/1.2 Consolas,monospace;color:#9aa7b7;letter-spacing:1px}.document-folder h2{margin-top:13px;font-size:17px;color:#233b5b}.document-folder>p{margin-top:3px;color:#8b98aa;font-size:12px}.document-subfolders{display:flex;flex-direction:column;gap:9px;margin-top:22px}.document-subfolders>div{display:grid;grid-template-columns:27px 1fr auto;align-items:center;gap:8px;padding:11px 12px;border:1px solid #e8edf4;border-radius:8px;background:#f9fbfd;color:#53667e}.document-subfolders b{font-size:12px;font-weight:550}.document-subfolders>div>span:last-child{font-size:11px;color:#96a1b1}.subfolder-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#e7f5ef;color:#258468;font-size:12px}.subfolder-icon.pending{background:#fff3e4;color:#c07b27}.subfolder-icon.transferred{background:#e7f4f7;color:#227d8c}.document-folder-empty{display:flex;flex-direction:column;justify-content:space-between;height:91px;margin-top:22px;padding:14px;border:1px dashed #dbe3ed;border-radius:8px;background:#fafbfd;color:#8b98aa;font-size:11px}.document-folder-empty b{color:#657991;font-weight:500}.document-map{margin-bottom:24px}.document-map .panel-top>div p{font-size:11px;margin-top:2px}.document-map-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 22px 20px}.document-map-list>div{display:flex;align-items:center;gap:10px;min-height:64px;border-bottom:1px solid #edf1f5}.document-map-list>div:nth-last-child(-n+2){border-bottom:0}.document-map-list b{min-width:125px;font-size:13px;color:#344a67}.map-number{font:600 11px/1 Consolas,monospace;color:#9aa7b8}.folder-pill{padding:3px 9px;border-radius:12px;font-size:11px}.folder-pill.signed{background:#eaf6f1;color:#267c66}.folder-pill.waiting{background:#fff3e4;color:#ad7026}.folder-pill.moved{background:#e8f5f7;color:#287a88}.folder-pill.plain{background:#eef2f7;color:#667a95}@media(max-width:1250px){.document-folders{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.document-folders,.document-map-list{grid-template-columns:1fr}.document-map-list>div:nth-last-child(2){border-bottom:1px solid #edf1f5}}

.document-subfolders>button{display:grid;grid-template-columns:27px 1fr auto auto;align-items:center;gap:8px;width:100%;padding:11px 12px;border:1px solid #e8edf4;border-radius:8px;background:#f9fbfd;color:#53667e;text-align:left}.document-subfolders>button>span:last-child{font-size:11px;color:#96a1b1}.document-folder-count{min-width:58px;padding:3px 8px;border-radius:11px;background:#edf2f8;color:#63758c!important;font-size:10px!important;text-align:center;white-space:nowrap}.document-subfolders>button:hover,.document-subfolders>button.selected,.document-folder-empty:hover,.document-folder-empty.selected{border-color:var(--folder-color);background:var(--folder-wash)}.document-folder-empty{width:100%;text-align:left}.document-browser{width:100%;min-width:0;max-width:100%;margin-bottom:24px}.document-browser>.table-scroll{width:100%;max-width:100%;overflow-x:auto}.document-browser .panel-top>div p{font-size:11px;margin-top:2px}.document-upload{display:inline-flex;align-items:center;margin:0;padding:8px 15px;border-radius:7px;background:var(--blue);color:#fff;cursor:pointer;font-size:12px}.document-upload:hover{background:#1948bc}.document-upload input{display:none}.document-name{display:-webkit-box;width:clamp(220px,28vw,420px);max-width:420px;overflow:hidden;color:#304864;font-weight:550;line-height:1.55;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;cursor:help}.document-actions{display:flex;align-items:center;gap:14px}.document-actions .danger{color:#c15353}.document-actions .danger:hover{color:#a62e2e;background:transparent}.document-browser .empty{height:120px;text-align:center;color:#8c99ab}.account-form select{width:100%}
.subfolder-icon.decision{background:#eaf0f7;color:#526f94}.subfolder-icon.receipt{background:#f0edf8;color:#715c9b}

#documents-view{min-width:0;max-width:100%;min-height:calc(100vh - 65px);display:flex;flex-direction:column}#documents-view>.page-heading{margin-bottom:0}.document-folders{flex:1;align-items:center;margin-bottom:0;padding:34px 0 72px}.document-folder{width:100%}#documents-view.folder-open>.page-heading{margin-bottom:26px}#documents-view.folder-open .document-folders{flex:0;align-items:stretch;margin-bottom:24px;padding:0}#documents-view.folder-open .document-browser{flex:0}
.document-folder-page{width:100%;min-width:0;max-width:100%}.document-detail-heading{margin-bottom:26px}.document-detail-heading .eyebrow{margin-top:0}.document-detail-heading .muted{margin-top:8px}.document-back{padding:7px 12px;border-color:#dce4ef;background:#fff;color:#5f7390;font-size:12px}.document-back:hover{color:#285cda;border-color:#a9bfe9}.document-folder-page .document-browser{margin-bottom:0}.topbar-path{display:flex;min-width:0;align-items:center;gap:12px}.topbar-path>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-document-back{flex:0 0 auto;height:30px;padding:0 10px;border-radius:6px;background:#f8faff;color:#45617f;font-size:11px}@media(max-width:760px){.topbar-path{gap:7px}.topbar-document-back{width:30px;padding:0;overflow:hidden;color:transparent}.topbar-document-back:before{content:"←";display:grid;place-items:center;color:#45617f;font-size:14px}}
.irregular-nav-group{margin-bottom:8px}.irregular-nav-group.active .nav-heading{color:#fff}.irregular-nav-group .nav-heading{width:100%;font-size:12px;line-height:1.45}.irregular-nav-group .nav-heading span{flex:0 0 auto}.irregular-nav-group .nav-sub{padding-top:6px;padding-bottom:6px}.sidebar{overflow-y:auto}.document-nav-group{margin-bottom:8px}.nav-heading{margin-bottom:0;cursor:default}.nav-heading:hover{background:transparent}.document-nav-group.active .nav-heading{color:#fff}.nav-sub{position:relative;width:100%;margin:0 0 3px;padding:7px 15px 7px 51px;border:0;background:transparent;color:#91a7c3;text-align:left;font-size:12px}.nav-sub:before{content:"";position:absolute;left:34px;top:50%;width:5px;height:5px;border-radius:50%;background:#5f7695;transform:translateY(-50%)}.nav-sub:hover{background:#1d3a61;color:#fff}.nav-sub.active{background:#254774;color:#fff}.nav-sub.active:before{background:#78a7ff}
.nav-heading{cursor:pointer}.nav-heading:hover{background:#1d3a61}
.sidebar-user-card{display:grid;grid-template-columns:36px minmax(0,1fr) 30px;align-items:center;gap:10px;margin:19px 0 5px;padding:11px 10px;border:1px solid #365274;border-radius:11px;background:linear-gradient(135deg,#162f50,#102541);box-shadow:0 8px 22px #07182a36}.sidebar-user-card .avatar{width:36px;height:36px;background:linear-gradient(135deg,#5689ef,#3c66cf);color:#fff;font-size:14px;font-weight:700}.sidebar-user-card>div{min-width:0}.sidebar-user-card small,.sidebar-user-card strong,.sidebar-user-card>div>span{display:block}.sidebar-user-card small{color:#7890ae;font-size:9px;line-height:1.2}.sidebar-user-card strong{overflow:hidden;margin:2px 0;color:#fff;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-card>div>span{color:#8eafd3;font-size:9px;line-height:1.35}.sidebar-user-card .icon{width:30px;height:30px;padding:0;border:1px solid #365274;border-radius:8px;color:#a9c1df;font-size:16px}.sidebar-user-card .icon:hover{border-color:#5279aa;background:#1b3a61;color:#fff}.sidebar .nav-caption{margin-top:25px}.sidebar-nav-group>.nav-sub{display:none}.sidebar-nav-group.expanded>.nav-sub:not(.hidden){display:block}.sidebar-nav-group .nav-heading:after{content:"›";margin-left:auto;color:#6f89aa;font:18px/1 Arial,sans-serif;transform:rotate(0);transition:transform .18s,color .18s}.sidebar-nav-group.expanded .nav-heading:after{color:#aac3e4;transform:rotate(90deg)}.sidebar-nav-group.active .nav-heading{color:#fff}@media(max-width:760px){.sidebar-user-card{display:none}.sidebar .nav-caption{margin-top:43px}.sidebar-nav-group .nav-heading:after{display:none}}
.sidebar-user-card>div>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar{width:244px;padding:24px 18px;background:linear-gradient(180deg,#102a47 0%,#0d223b 100%);scrollbar-width:thin;scrollbar-color:#315274 transparent}.workspace{margin-left:244px}.brand{min-height:48px;gap:12px;padding:0 2px 16px;border-bottom:1px solid #203d5e;font-size:17px;line-height:1.35}.brand-icon{flex:0 0 40px;box-shadow:0 8px 20px #07182b4d}.brand-sub{margin-top:2px;color:#8ea9c8;font-size:10px;line-height:1.45;letter-spacing:.7px}.sidebar-user-card{display:grid;grid-template-columns:34px minmax(0,1fr) 28px;min-height:58px;align-items:center;gap:10px;margin:14px 0 16px;padding:8px 9px;border:1px solid #81aadc2e;border-radius:10px;background:#ffffff0e;box-shadow:none}.sidebar-user-card .avatar{width:34px;height:34px;background:linear-gradient(145deg,#5b8df2,#3d6bd6);font-size:13px;box-shadow:0 5px 14px #07182b45}.sidebar-user-card strong{margin:0;color:#f7f9fc;font-size:12px;line-height:1.45}.sidebar-user-card>div>span{margin-top:1px;color:#8fa9c8;font-size:10px;line-height:1.4}.sidebar-user-card .icon{display:grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:7px;color:#89a5c5;background:transparent}.sidebar-user-card .icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.sidebar-user-card .icon:hover{border:0;background:#ffffff14;color:#f4f8fc}.sidebar-user-card #sidebar-logout:hover,.sidebar-user-card #sidebar-logout:focus-visible{background:#b8494930;color:#ffd7d7}.sidebar .nav-caption{margin:3px 12px 8px;color:#7189a7;font-size:10px;letter-spacing:1.4px}.nav{position:relative;width:100%;min-height:44px;gap:12px;margin:2px 0;padding:10px 12px;border:0;border-radius:8px;color:#b8c8dc;font-size:13px;font-weight:500;line-height:20px}.nav:hover{border:0;background:#ffffff0f;color:#f3f7fc}.nav.active,.sidebar-nav-group.active>.nav-heading{background:#244d7d;color:#f7f9fc}.nav.active:before,.sidebar-nav-group.active>.nav-heading:before{content:"";position:absolute;top:10px;bottom:10px;left:0;width:3px;border-radius:0 3px 3px 0;background:#4b84ff}.nav-icon{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:#8eabc8;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav:hover .nav-icon,.nav.active .nav-icon,.sidebar-nav-group.active>.nav-heading .nav-icon{stroke:#d9e7f7}.nav-label{min-width:0;flex:1;font-size:13px}.sidebar-nav-group{margin-bottom:2px}.sidebar-nav-group .nav-heading{min-height:44px;margin:2px 0;padding-right:10px;font-size:13px;line-height:20px;cursor:pointer}.irregular-nav-group .nav-heading{min-height:52px;font-size:13px;line-height:18px}.irregular-nav-group .nav-heading .nav-label{max-width:136px}.sidebar-nav-group .nav-heading:after{flex:0 0 12px;margin-left:2px;color:#718dad;font-size:15px}.nav-sub{min-height:34px;margin:1px 0;padding:7px 12px 7px 47px;border-radius:7px;color:#859db9;font-size:12px;line-height:20px}.nav-sub:after{content:"";position:absolute;top:0;bottom:0;left:20px;width:1px;background:#7e9ec23b}.nav-sub:before{z-index:1;left:18px;width:5px;height:5px;background:#66809f;box-shadow:0 0 0 3px #102844}.nav-sub:hover{background:#ffffff0b;color:#dce8f6}.nav-sub.active{background:#1c416c;color:#fff}.nav-sub.active:before{background:#66a0ff;box-shadow:0 0 0 3px #183b65}@media(max-width:1150px) and (min-width:761px){.sidebar{width:204px;padding:22px 14px}.workspace{margin-left:204px}.brand{font-size:15px}.sidebar-user-card{grid-template-columns:32px minmax(0,1fr) 26px;gap:7px}.sidebar-user-card .avatar{width:32px;height:32px}.irregular-nav-group .nav-heading{font-size:12px;line-height:17px}.irregular-nav-group .nav-heading .nav-label{max-width:107px;font-size:12px}.nav{padding-left:10px;padding-right:8px}}@media(max-width:760px){.sidebar{width:65px;padding:22px 10px}.workspace{margin-left:65px}.brand{padding:0 2px 16px;border-bottom:0}.brand>span:last-child,.nav-caption,.nav-label,.sidebar-user-card{display:none}.nav{width:44px;min-height:44px;justify-content:center;margin:3px 0;padding:0}.nav-icon{width:19px;height:19px;flex-basis:19px}.irregular-nav-group .nav-heading{min-height:44px}.nav.active:before,.sidebar-nav-group.active>.nav-heading:before{top:9px;bottom:9px}.sidebar-nav-group .nav-heading:after{display:none}.sidebar-nav-group.expanded>.nav-sub{display:none!important}}
.document-record-filters{min-width:0;max-width:100%;display:grid;grid-template-columns:minmax(160px,.8fr) minmax(180px,1fr) minmax(310px,1.35fr) minmax(150px,.75fr) auto;align-items:end;gap:14px;padding:18px 22px;background:#f8faff;border-bottom:1px solid var(--line)}.document-record-filters.all-records{grid-template-columns:minmax(140px,.7fr) minmax(160px,.8fr) minmax(180px,1fr) minmax(180px,1fr) minmax(290px,1.3fr) minmax(140px,.7fr) auto}.document-record-filters label{margin:0;gap:6px}.document-record-filters label>span{color:#687991;font-size:12px}.document-record-filters select,.document-record-filters input{height:40px;width:100%;font-size:12px}.document-date-filter>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:7px}.document-date-filter i{font-style:normal;color:#9aa7b8;font-size:11px}.document-filter-actions{display:flex;gap:8px}.document-filter-actions button{height:40px;padding:0 17px;white-space:nowrap}@media(max-width:1400px){.document-record-filters,.document-record-filters.all-records{grid-template-columns:repeat(2,minmax(0,1fr))}.document-filter-actions{justify-content:flex-end}}@media(max-width:760px){.document-record-filters,.document-record-filters.all-records{grid-template-columns:1fr}}
.document-record-filters select:disabled{background:#eef2f7;color:#61728a;cursor:not-allowed}
.document-pagination{display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:16px 22px;border-top:1px solid var(--line);background:#fff}.document-pagination label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;color:#687991;font-size:12px}.document-pagination select{height:36px;padding:5px 28px 5px 10px}.document-pagination>div{display:flex;align-items:center;gap:6px}.document-pagination button{height:36px;padding:0 13px}.document-page-number{min-width:36px;padding:0!important}.document-page-number.active{border-color:var(--blue);background:var(--blue);color:#fff}@media(max-width:760px){.document-pagination{flex-wrap:wrap;justify-content:center}}
.import-history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:14px 20px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.import-history-pagination label{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0}.import-history-pagination select{height:34px;padding:4px 28px 4px 9px}.compact-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px;color:var(--muted);font-size:12px}.compact-pagination button{padding:5px 11px;font-size:12px}@media(max-width:760px){.import-history-pagination{flex-wrap:wrap;justify-content:center}}

/* Correction notice delivery subfolders */
.delivery-folder-panel{margin-bottom:24px;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #173a6b08}.delivery-folder-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.delivery-folder-heading h2{margin:0 0 5px;font-size:20px;color:#173454}.delivery-folder-heading>span{padding:7px 12px;border-radius:16px;background:#eef3fa;color:#667992;font-size:11px;white-space:nowrap}.delivery-folder-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.delivery-folder-grid button{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto auto;column-gap:12px;align-items:center;padding:17px;border:1px solid #e1e8f1;border-radius:10px;background:#f9fbfe;text-align:left;color:#27415f}.delivery-folder-grid button:hover{border-color:#8eadeb;background:#f1f6ff;transform:translateY(-1px)}.delivery-folder-icon{grid-row:1/4;display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#e8f5ef;color:#278068;font-weight:700}.delivery-folder-icon.status-2{background:#fff0ed;color:#b65c49}.delivery-folder-icon.status-3{background:#eaf2ff;color:#386bc5}.delivery-folder-icon.status-4{background:#fff4df;color:#a66d24}.delivery-folder-grid b{font-size:13px}.delivery-folder-grid small{margin-top:3px;color:#788aa0}.delivery-folder-grid i{margin-top:7px;color:#93a0b2;font-size:10px;font-style:normal}.document-move-dialog{width:min(520px,92vw)}.document-move-field{display:grid;gap:8px;padding:0 24px 22px}.document-move-field select{width:100%}.document-actions{flex-wrap:wrap}.document-record-filters.all-records{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1080px){.delivery-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.document-record-filters.all-records{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.delivery-folder-heading{display:block}.delivery-folder-heading>span{display:inline-block;margin-top:12px}.delivery-folder-grid,.document-record-filters.all-records{grid-template-columns:1fr}}
.document-detail-heading .document-signature-notice{display:inline-flex;align-items:center;margin-top:10px;padding:7px 12px;border-radius:6px;background:#fff4df;color:#9b641c;font-weight:550}.document-detail-heading .document-signature-notice:before{content:"!";display:grid;place-items:center;width:17px;height:17px;margin-right:7px;border:1px solid #d79a44;border-radius:50%;font-size:11px}
.confirm-dialog{inset:0;width:min(460px,92vw);margin:auto;overflow:hidden}.confirm-body{display:flex;align-items:flex-start;gap:15px;padding:26px 26px 18px}.confirm-symbol{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:#fff0ed;color:#cc4e42;font:bold 21px/1 Arial,sans-serif}.confirm-body h2{font-size:19px;color:#243b59}.confirm-body .muted{margin-top:7px;font-size:12px}.confirm-file-name{margin:0 26px 24px;padding:12px 14px;border:1px solid #e4e9f0;border-radius:8px;background:#f7f9fc;color:#40546d;font-size:13px;overflow-wrap:anywhere}.confirm-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 26px;border-top:1px solid var(--line);background:#fafbfd}.confirm-danger{border-color:#c94d43;background:#c94d43;color:#fff}.confirm-danger:hover{border-color:#ac372e;background:#ac372e}.confirm-danger:disabled{opacity:.55}
.account-nav-group{margin-bottom:8px}.account-nav-group.active .nav-heading{color:#fff}.role-create-panel{width:100%;margin-bottom:22px}.role-create-form{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr) auto;align-items:end;gap:14px;padding:0 22px 22px}.role-create-form label{margin:0}.role-grid{width:100%}.role-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;font-size:15px;font-weight:600}.role-icon.admin{background:#e9f0ff;color:#3264cf}.role-icon.user{background:#e9f7f2;color:#26816a}.role-icon.custom{background:#f2edff;color:#7654bf}.role-system-tag{display:inline-block;padding:3px 9px;border-radius:12px;background:#f0f3f7;color:#77869a;font-size:10px}.role-list-panel{width:100%}.role-list-panel .panel-top>div p{margin-top:2px;font-size:11px}.role-list-total{padding:4px 10px;border-radius:14px;background:#eef3fa;color:#62748c;font-size:11px}.role-list-table th:last-child,.role-list-table td:last-child{width:160px;text-align:center}.role-list-table td{height:78px}.role-list-identity{display:flex;align-items:center;gap:13px}.role-list-identity .role-icon{width:38px;height:38px;border-radius:9px}.role-list-identity b,.role-list-identity small{display:block}.role-list-identity small{margin-top:2px;color:#8795a8;font:11px/1.3 Consolas,monospace}.role-list-description{min-width:260px;color:#63758c}.role-account-badge{display:inline-grid;place-items:center;min-width:34px;height:28px;padding:0 10px;border-radius:14px;background:#edf3ff;color:#2c62d5;font-weight:600}.permission-panel{width:100%}.permission-panel .panel-top>div p{margin-top:2px;font-size:11px}.permission-table td{height:68px}.permission-table td:first-child b,.permission-table td:first-child small{display:block}.permission-table td:first-child small{margin-top:3px;color:#8b98aa}.permission-yes,.permission-no{display:inline-block;padding:4px 10px;border-radius:13px;font-size:11px}.permission-yes{background:#eaf6f1;color:#267e66}.permission-no{background:#f1f3f6;color:#8a95a5}@media(max-width:850px){.role-create-form{grid-template-columns:1fr}.role-list-description{min-width:200px}}
.directory-permission-panel{width:100%;margin-top:22px;overflow:hidden}.directory-permission-panel>.panel-top{align-items:center}.role-directory-grid{display:flex;gap:18px;padding:22px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-gutter:stable}.role-directory-card{flex:0 0 500px;max-width:calc(100vw - 330px);border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;scroll-snap-align:start}.role-directory-heading{display:flex;align-items:center;gap:13px;padding:18px 20px;background:#fafbfd;border-bottom:1px solid var(--line)}.role-directory-heading h2{font-size:15px}.role-directory-heading p{color:#8290a3;font-size:11px}.permission-directory-list{padding:6px 20px 16px}.permission-directory{margin:0;padding:14px 0;border:0;border-bottom:1px solid #edf1f5}.permission-directory:last-child{border-bottom:0}.permission-directory label{display:flex;flex-direction:row;align-items:center;gap:9px;margin:0;cursor:pointer}.permission-directory input{min-width:16px;width:16px;height:16px;padding:0;accent-color:var(--blue)}.permission-category span{display:flex;align-items:center;gap:8px}.permission-category b{font-size:13px}.permission-category small{padding:2px 7px;border-radius:10px;background:#eef2f7;color:#7a889b;font-size:9px}.permission-directory>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:11px 0 0 25px}.permission-directory>div label{padding:7px 9px;border-radius:6px;background:#f8faff;color:#5c6e85;font-size:12px}@media(max-width:850px){.role-directory-card{flex-basis:calc(100vw - 64px);max-width:none}.permission-directory>div{grid-template-columns:1fr}}
.permission-toggle{display:inline-flex;flex-direction:row;align-items:center;gap:7px;margin:0;cursor:pointer}.permission-toggle input{min-width:16px;width:16px;height:16px;padding:0;accent-color:var(--blue)}.permission-toggle span{font-size:12px;color:#52667f}.image-preview-dialog{inset:0;width:calc(100vw - 32px);max-width:none;height:calc(100vh - 32px);max-height:none;margin:auto;overflow:hidden}.image-preview-dialog[open]{display:flex;flex-direction:column}.image-preview-top{display:flex;flex:0 0 76px;align-items:center;justify-content:space-between;height:76px;padding:14px 22px;border-bottom:1px solid var(--line)}.image-preview-top h2{max-width:calc(100vw - 140px);font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-preview-stage{position:relative;flex:1;min-height:0;overflow:hidden;background:#dfe4eb}.image-preview-stage>#document-preview-loading{position:absolute;inset:0;display:grid;place-items:center}.image-preview-stage iframe{position:absolute;inset:10px;display:block;width:calc(100% - 20px);height:calc(100% - 20px);border:0;border-radius:5px;background:#fff;box-shadow:0 8px 30px #24364d24}@media(max-width:760px){.image-preview-dialog{width:100vw;height:100vh;max-width:100vw;max-height:100vh;border-radius:0}.image-preview-stage iframe{inset:0;width:100%;height:100%;border-radius:0}}
.document-browser{overflow:visible}.document-date-filter{display:flex;flex-direction:column;gap:6px;min-width:0}.document-date-filter>span{color:#687991;font-size:12px}.document-date-filter details{position:relative}.document-date-filter summary{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 38px 0 12px;border:1px solid #dbe2ec;border-radius:6px;background:#fff;color:#263b57;font-size:12px;cursor:pointer;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-date-filter summary::-webkit-details-marker{display:none}.document-date-filter summary:after{content:"";position:absolute;right:14px;width:7px;height:7px;border-right:1px solid #62748b;border-bottom:1px solid #62748b;transform:rotate(45deg) translateY(-2px)}.document-date-filter details[open] summary{outline:2px solid #a9c5ff;outline-offset:1px}.document-date-filter summary.default-range:before{content:"默认";margin-right:8px;padding:1px 6px;border-radius:10px;background:#edf3ff;color:#3968ce;font-size:9px}.document-date-popover{position:absolute;z-index:8;top:47px;left:0;width:380px;padding:16px;border:1px solid #dce4ef;border-radius:9px;background:#fff;box-shadow:0 16px 45px #17304f2e}.document-date-modes{display:flex;gap:8px;margin-bottom:14px}.document-date-modes button{height:32px;padding:0 14px;font-size:11px}.document-date-modes button.active{border-color:#9bb8f0;background:#edf3ff;color:#285cda}.document-date-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.document-date-fields label{margin:0}.document-date-fields label>span{font-size:11px}.document-date-fields input{height:38px}.document-date-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.document-date-actions button{height:34px;padding:0 15px;font-size:11px}@media(max-width:760px){.document-date-popover{position:fixed;z-index:30;top:50%;left:50%;width:min(380px,90vw);transform:translate(-50%,-50%)}.document-date-fields{grid-template-columns:1fr}}
.password-control{position:relative;display:block}.password-control input{width:100%;padding-right:45px}.password-toggle{position:absolute;right:3px;top:50%;width:38px;height:36px;padding:0;border:0;background:transparent;color:#78889d;transform:translateY(-50%)}.password-toggle:hover{border:0;background:#f0f4fa;color:#285cda}.password-toggle:before{content:"";position:absolute;left:10px;top:10px;width:15px;height:15px;border:1.6px solid currentColor;border-radius:70% 15%;transform:rotate(45deg)}.password-toggle:after{content:"";position:absolute;left:16px;top:16px;width:5px;height:5px;border-radius:50%;background:currentColor}.password-toggle.visible{color:#285cda}.account-list th:last-child,.account-list td:last-child{width:110px;text-align:center}.account-reset-result{margin:0 26px 24px;padding:14px;border:1px solid #dce7f7;border-radius:9px;background:#f4f8ff}.account-reset-result>span{display:block;margin-bottom:8px;color:#6e7f96;font-size:11px}.account-reset-result>div{display:flex;align-items:center;gap:10px}.account-reset-result code{flex:1;padding:10px 12px;border-radius:6px;background:#fff;color:#17385f;font:bold 16px/1.2 Consolas,monospace;letter-spacing:.5px}.account-reset-result button{height:38px;padding:0 13px;color:#285cda}.account-reset-dialog .confirm-footer{min-height:70px}
.upload-status-dialog{inset:0;width:min(460px,92vw);margin:auto;overflow:hidden;text-align:center}.upload-status-body{padding:34px 34px 26px}.upload-status-body h2{margin-top:18px;font-size:20px}.upload-status-body>.muted{min-height:24px;margin-top:7px}.upload-status-name{max-width:100%;margin-top:12px;color:#415874;font-size:12px;overflow-wrap:anywhere}.upload-status-symbol{position:relative;width:54px;height:54px;margin:auto;border-radius:50%}.upload-status-dialog[data-state="uploading"] .upload-status-symbol{border:4px solid #dce7fb;border-top-color:#2d63d9;animation:upload-spin .85s linear infinite}.upload-status-dialog[data-state="success"] .upload-status-symbol{background:#e8f7f0}.upload-status-dialog[data-state="success"] .upload-status-symbol:before{content:"";position:absolute;left:15px;top:13px;width:21px;height:12px;border-left:3px solid #26906e;border-bottom:3px solid #26906e;transform:rotate(-45deg)}.upload-status-dialog[data-state="error"] .upload-status-symbol{background:#fff0ed}.upload-status-dialog[data-state="error"] .upload-status-symbol:before,.upload-status-dialog[data-state="error"] .upload-status-symbol:after{content:"";position:absolute;left:25px;top:14px;width:3px;height:26px;border-radius:2px;background:#c64e43;transform:rotate(45deg)}.upload-status-dialog[data-state="error"] .upload-status-symbol:after{transform:rotate(-45deg)}@keyframes upload-spin{to{transform:rotate(360deg)}}.upload-progress{height:7px;margin:22px 0 8px;border-radius:8px;background:#e8edf5;overflow:hidden}.upload-progress span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3970e8,#65a1ff);transition:width .2s}.upload-percent{color:#55708f;font:600 12px/1 Arial,sans-serif}.upload-status-footer{display:flex;justify-content:center;padding:16px 24px;border-top:1px solid var(--line);background:#fafbfd}.upload-status-footer button{min-width:110px}
.upload-status-dialog{width:min(620px,94vw)}.upload-status-dialog[data-state="partial"] .upload-status-symbol{background:#fff5df}.upload-status-dialog[data-state="partial"] .upload-status-symbol:before{content:"!";position:absolute;inset:0;color:#c37a16;font:bold 30px/54px Arial,sans-serif}.upload-result-list{max-height:260px;margin-top:16px;border:1px solid #e2e8f0;border-radius:8px;overflow:auto;text-align:left}.upload-result-list:empty{display:none}.upload-result-list>div{display:grid;grid-template-columns:58px minmax(0,1fr);gap:3px 10px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf1f6}.upload-result-list>div:last-child{border-bottom:0}.upload-result-list b{min-width:0;color:#334b68;font-size:12px;overflow-wrap:anywhere}.upload-result-list small{grid-column:2;color:#8a96a7;font-size:11px;overflow-wrap:anywhere}.upload-result-state{grid-row:1/3;align-self:center;padding:3px 7px;border-radius:10px;background:#f0f3f7;color:#7a8798;font-size:10px;text-align:center}.upload-result-list [data-status="uploading"] .upload-result-state{background:#eaf1ff;color:#2d63d9}.upload-result-list [data-status="success"] .upload-result-state{background:#e8f7f0;color:#278168}.upload-result-list [data-status="error"] .upload-result-state{background:#fff0ed;color:#bf4f45}.upload-result-list [data-status="error"] small{color:#b3534b}
#role-folder-form{display:none}.permission-table th:last-child,.permission-table td:last-child{width:140px;text-align:right}.permission-table .compact{min-width:92px;height:36px;padding:0 14px}.permission-count{color:#536a86;font-size:12px}.role-permission-dialog{inset:0;width:min(760px,94vw);max-height:90vh;margin:auto;overflow:hidden}.role-permission-dialog>.dialog-top{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line);background:#fff}.role-permission-dialog>.dialog-top h2{font-size:19px}.role-permission-dialog>.dialog-top .muted{margin-top:4px;font-size:11px}.role-permission-dialog-form{display:flex;flex-direction:column;max-height:calc(90vh - 88px)}.role-permission-dialog-body{padding:22px 24px;overflow-y:auto}.role-permission-dialog-body>section+section{margin-top:22px}.role-permission-dialog-body h3{margin-bottom:5px;color:#2d435f;font-size:14px}.role-permission-dialog-body>section>.muted{font-size:11px}.role-dialog-action{padding:16px 18px;border:1px solid #dce5f2;border-radius:9px;background:#f7faff}.role-dialog-action .permission-toggle{display:inline-flex;margin:10px 0 7px}.role-dialog-action .muted{font-size:11px}.role-permission-dialog .permission-directory-list{margin-top:10px;padding:0 4px}.role-permission-dialog .dialog-footer{flex:0 0 auto}@media(max-width:760px){.role-permission-dialog{width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0}.role-permission-dialog-form{max-height:calc(100vh - 88px)}.role-permission-dialog-body{padding:18px}.permission-table th:last-child,.permission-table td:last-child{width:auto}}
.role-card-count{display:flex;align-items:center;gap:12px}.role-card-count b{font-size:23px}.role-delete-button{border-color:#e2b8b4;background:#fff;color:#b64b42}.role-delete-button:hover{border-color:#c95a50;background:#fff4f2;color:#a33d35}.role-delete-button:disabled{border-color:#e3e7ed;background:#f4f6f8;color:#9aa4b1;cursor:not-allowed}.role-delete-locked{color:#96a1b0;font-size:11px}
.account-list th:last-child,.account-list td:last-child{width:170px}.account-actions{display:flex;align-items:center;justify-content:center;gap:16px}.account-role-dialog .confirm-symbol{background:#edf3ff;color:#285cda}.account-role-field{margin:0 26px 24px}.account-role-field select{width:100%}@media(max-width:760px){.account-actions{align-items:flex-start;flex-direction:column;gap:8px}.account-list th:last-child,.account-list td:last-child{width:auto}}
.permission-actions{display:flex;justify-content:flex-end;gap:9px}.file-permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.file-permission-option{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:11px;margin:0;padding:14px;border:1px solid #dce5f2;border-radius:9px;background:#f7faff;cursor:pointer}.file-permission-option input{width:17px;height:17px;margin:0;padding:0;accent-color:var(--blue)}.file-permission-option span{display:flex;flex-direction:column}.file-permission-option b{color:#2d435f;font-size:13px}.file-permission-option small{color:#7b8ba0;font-size:11px}@media(max-width:760px){.permission-actions{align-items:flex-start;flex-direction:column}.file-permission-grid{grid-template-columns:1fr}}
.file-permission-option.locked{background:#f7faff;border-color:#cfdcf1;cursor:default}.file-permission-option.locked input{-webkit-appearance:none;appearance:none;border:1px solid var(--blue);border-radius:3px;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='m3.2 8.2 3 3 6.6-6.5'/%3E%3C/svg%3E") center/13px 13px no-repeat;opacity:1}.file-permission-option.locked b{color:#2d435f}.file-permission-option.locked small{color:#7b8ba0}.role-permission-dialog .dialog-footer{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:0;padding:18px 24px 22px;border-top:1px solid var(--line);background:#fafbfd}.role-permission-dialog .dialog-footer button{min-width:112px}@media(min-width:761px){.permission-table th:last-child,.permission-table td:last-child{width:230px}}
.account-page-heading{align-items:flex-end}.account-page-actions{display:flex;align-items:center;gap:10px}.current-account-chip{padding:9px 13px;border:1px solid #dce5f2;border-radius:8px;background:#f8faff;color:#748198;font-size:12px}.current-account-chip b{color:#344d6d;font-weight:600}.account-list-panel{box-shadow:0 8px 26px #19385e0a}.account-list-panel .panel-top{min-height:76px}.account-list-heading .muted{margin-top:3px;font-size:11px}.account-count-badge{padding:5px 10px;border:1px solid #dce5f2;border-radius:14px;background:#f7f9fc;color:#536a86!important}.account-name-cell{display:flex;align-items:center;gap:9px}.account-name-cell b{color:#263d5b;font-size:13px}.account-current-tag,.account-role-badge{display:inline-flex;align-items:center;width:max-content;border-radius:12px;padding:2px 8px;font-size:10px}.account-current-tag{background:#eaf1ff;color:#285cda}.account-role-badge{background:#f0f3f7;color:#52667f}.account-actions .link{padding:5px 8px;border-radius:5px}.account-actions .link:hover{border:0;background:#edf3ff}.account-editor-dialog{inset:0;width:min(700px,94vw);max-height:90vh;margin:auto;overflow:hidden}.account-editor-dialog>.dialog-top{position:static;align-items:flex-start}.account-editor-dialog>.dialog-top h2{font-size:19px}.account-editor-dialog>.dialog-top .muted{margin-top:4px;font-size:11px}.account-editor-body{max-height:calc(90vh - 94px);padding:24px 26px;overflow-y:auto}.account-editor-form{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.account-editor-form label{margin-bottom:17px}.account-editor-form input,.account-editor-form select{width:100%}#password-dialog .account-editor-form label:first-child{grid-column:1/-1}.account-form-note{grid-column:1/-1;margin:2px 0 18px;padding:10px 12px;border-radius:7px;background:#f2f6ff;color:#607693;font-size:11px}.account-dialog-footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;margin:5px -26px -24px;padding:16px 26px;border-top:1px solid var(--line);background:#fafbfd}.account-dialog-footer button{min-width:96px}@media(max-width:760px){.account-page-heading{align-items:stretch}.account-page-actions{display:grid;grid-template-columns:1fr 1fr}.current-account-chip{grid-column:1/-1}.account-page-actions button{width:100%}.account-editor-dialog{width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0}.account-editor-body{max-height:calc(100vh - 94px);padding:20px}.account-editor-form{grid-template-columns:1fr}.account-editor-form label,#password-dialog .account-editor-form label:first-child{grid-column:1}.account-form-note,.account-dialog-footer{grid-column:1}.account-dialog-footer{margin:5px -20px -20px;padding:15px 20px}}
.workspace{width:calc(100% - 226px);min-width:0}@media(max-width:1150px){.workspace{width:calc(100% - 185px)}}@media(max-width:760px){.workspace{width:calc(100% - 65px)}}

.irregular-stats-view{height:calc(100vh - 65px);padding:0;max-width:none!important}.irregular-dashboard-frame{display:block;width:100%;height:100%;border:0;background:#f3f6fb}
.supervision-config-panel table{width:100%;border-collapse:collapse}.supervision-config-panel th,.supervision-config-panel td{padding:14px 16px;border-bottom:1px solid #e5eaf1;text-align:left}.supervision-status-dialog{inset:0;width:min(590px,calc(100vw - 32px));margin:auto;overflow:hidden;border-radius:16px}.supervision-status-dialog form{display:block;min-width:0}.supervision-status-dialog-head{display:grid;grid-template-columns:44px minmax(0,1fr) 36px;align-items:center;gap:13px;padding:20px 22px;border-bottom:1px solid #e6ebf2;background:linear-gradient(135deg,#f7faff,#fff)}.supervision-status-dialog-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e8f1ff;color:#2865cf}.supervision-status-dialog-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.supervision-status-dialog-head h2{font-size:18px;line-height:1.35;color:#1d3553}.supervision-status-dialog-head p{margin-top:3px;color:#7c8ca2;font-size:11px}.supervision-status-dialog-head .icon{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#60748e;font-size:21px;line-height:1}.supervision-status-dialog-body{display:grid;gap:20px;padding:24px 24px 22px}.supervision-status-dialog label{display:grid;gap:7px;margin:0;color:#344a65;font-size:12px;font-weight:600}.supervision-status-dialog label>span>b{color:#dc6156;font-weight:600}.supervision-status-dialog input,.supervision-status-dialog select{width:100%;height:44px;box-sizing:border-box;padding:0 12px;border:1px solid #ccd8e7;border-radius:9px;background:#fff;font:inherit;transition:border-color .15s,box-shadow .15s}.supervision-status-dialog input:hover,.supervision-status-dialog select:hover{border-color:#9eb8df}.supervision-status-dialog input:focus,.supervision-status-dialog select:focus{outline:0;border-color:#4d82db;box-shadow:0 0 0 3px #4d82db1a}.supervision-status-dialog label small{color:#8b99aa;font-size:10px;font-weight:400;line-height:1.45}.supervision-status-dialog-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(130px,.65fr);gap:16px}.supervision-status-toggle{position:relative;display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:20px!important;padding:14px 15px;border:1px solid #e1e7ef;border-radius:10px;background:#f8fafc;cursor:pointer}.supervision-status-toggle>span{display:grid;gap:2px}.supervision-status-toggle>span>b{color:#344a65;font-size:12px}.supervision-status-toggle input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.supervision-status-toggle i{position:relative;flex:0 0 44px;width:44px;height:24px;border-radius:20px;background:#c8d2df;box-shadow:inset 0 0 0 1px #bac6d5;transition:.18s}.supervision-status-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #53677c4d;transition:.18s}.supervision-status-toggle input:checked+i{background:#3475db;box-shadow:inset 0 0 0 1px #3475db}.supervision-status-toggle input:checked+i:after{transform:translateX(20px)}.supervision-status-toggle input:focus-visible+i{outline:3px solid #9fc0f4;outline-offset:2px}.supervision-status-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e6ebf2;background:#fafbfd}.supervision-status-dialog-actions button{min-width:92px;height:40px;padding:0 18px}@media(max-width:620px){.supervision-status-dialog-head{grid-template-columns:40px minmax(0,1fr) 34px;padding:18px}.supervision-status-dialog-icon{width:40px;height:40px}.supervision-status-dialog-body{padding:20px 18px}.supervision-status-dialog-grid{grid-template-columns:1fr}.supervision-status-dialog-actions{padding:14px 18px}.supervision-status-dialog-actions button{flex:1}}
.irregular-direct-nav[data-irregular-section="entities"]{margin-bottom:8px}
.workorders-view{height:calc(100vh - 65px);padding:0;max-width:none!important;overflow:hidden;background:#eef2f7}.workorders-view iframe{display:block;width:100%;height:100%;border:0;background:#eef2f7}.workorder-nav-section{display:none;padding:14px 16px 6px 38px;color:#6684a5;font-size:10px;font-weight:700;letter-spacing:.12em}.workorder-nav-group.expanded>.workorder-nav-section:not(.hidden){display:block}.workorder-nav-group.expanded{padding-bottom:7px}.workorder-nav-group .nav-sub{padding-left:46px;font-size:11px}.workorder-nav-group .nav-heading .nav-icon{stroke-width:1.7}@media(max-width:760px){.workorders-view{height:calc(100vh - 57px)}.workorder-nav-section{display:none!important}}
.document-detail-heading>h1:first-child{margin-top:0}

.import-rule-help{margin-left:6px;vertical-align:middle}
.import-rule-help .stage-rule-tooltip{display:none;position:absolute;left:-16px;top:27px;width:380px;max-width:70vw;padding:16px 18px;text-align:left;white-space:normal;background:#fff;border:1px solid #e1e8f2;border-radius:10px;box-shadow:0 8px 28px #19334d26;color:#54657d;font-size:12px;line-height:1.8;z-index:60;font-weight:400}
.import-rule-help .stage-rule-tooltip strong{display:block;font-size:13px;color:#233c60;margin-bottom:8px}
.import-rule-help .stage-rule-tooltip>span{display:block;margin-top:6px}
.import-rule-help:hover .stage-rule-tooltip,.import-rule-help:focus .stage-rule-tooltip{display:block}
.import-detail-dialog{width:min(1180px,92vw);max-height:88vh}
.import-detail-dialog .dialog-top>div{display:flex;align-items:baseline;gap:12px}
.import-detail-dialog #import-detail-content{padding:0 24px 28px;overflow:auto;max-height:calc(88vh - 70px)}
.import-detail-dialog table{min-width:760px}
.history td:last-child{white-space:nowrap}

.rectification-file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.rectification-file-card{position:relative;padding:22px;border:1px solid #dfe6f0;border-radius:12px;background:#fff;box-shadow:0 6px 20px #19385e0a}.rectification-file-card>span{position:absolute;right:18px;top:16px;color:#9aabc0;font:600 11px/1 Arial}.rectification-file-card h2{padding-right:35px}.rectification-file-card>p{min-height:40px;margin:6px 0 16px;color:#748198;font-size:12px}.rectification-file-card label{margin-bottom:12px;color:#526781;font-size:12px}.rectification-file-card input{width:100%}.rectification-file-card small{display:block;min-height:20px;padding:7px 9px;border-radius:6px;background:#f5f8fc;color:#607590;overflow-wrap:anywhere}.rectification-import-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px;padding:16px 20px;border:1px solid #dce5f2;border-radius:10px;background:#f7faff}.rectification-import-actions p{color:#647891;font-size:12px}.rectification-preview-result{margin:0 0 26px;padding:22px;border:1px solid #dfe6f0;border-radius:12px;background:#fff}.rectification-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.rectification-preview-heading p{margin-top:4px;color:#748198;font-size:12px}.preview-success,.preview-error{padding:4px 10px;border-radius:14px;font-size:11px}.preview-success{background:#e9f7f1;color:#248167}.preview-error{background:#fff0ed;color:#bc5148}.rectification-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.rectification-preview-grid article{padding:14px;border:1px solid #e4e9f0;border-radius:9px;background:#fafbfd}.rectification-preview-grid small{display:block;margin:5px 0 12px;color:#8492a6;overflow-wrap:anywhere}.rectification-preview-grid dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.rectification-preview-grid dl div{padding:7px;border-radius:6px;background:#fff}.rectification-preview-grid dt{color:#8896a8;font-size:10px}.rectification-preview-grid dd{margin:1px 0 0;font-weight:600}.source-row-fields{min-width:150px;white-space:normal}.source-row-fields summary{cursor:pointer;color:#356dd9}.source-row-fields dl{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:6px 12px;min-width:520px;max-width:760px;margin:10px 0 0;padding:12px;border:1px solid #e3e8ef;border-radius:8px;background:#f8fafc}.source-row-fields dl div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px}.source-row-fields dt{color:#7c899b}.source-row-fields dd{margin:0;overflow-wrap:anywhere}@media(max-width:1150px){.rectification-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.rectification-file-grid,.rectification-preview-grid{grid-template-columns:1fr}.rectification-import-actions{align-items:stretch;flex-direction:column}.rectification-import-actions button{width:100%}}
.rectification-conflicts{margin:16px 0;padding:18px;border:1px solid #f0c36a;border-radius:10px;background:#fffaf0}.rectification-conflicts h3{margin:0;color:#8a5512;font-size:15px}.rectification-conflicts>p{margin:6px 0 12px;color:#79684f;font-size:12px}.rectification-conflicts ul{max-height:220px;margin:0 0 14px;padding:0;overflow:auto;list-style:none;border:1px solid #f1dfb8;border-radius:8px;background:#fff}.rectification-conflicts li{display:grid;grid-template-columns:minmax(180px,1fr) 130px minmax(260px,2fr);gap:10px;padding:10px 12px;border-bottom:1px solid #f5ead1;align-items:start}.rectification-conflicts li:last-child{border-bottom:0}.rectification-conflicts li span{color:#78869a;font-size:11px}.rectification-conflicts li small{display:block;color:#59697e;line-height:1.55}.rectification-conflict-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rectification-conflict-options label{display:flex;gap:9px;padding:13px;border:1px solid #e0e6ef;border-radius:9px;background:#fff;cursor:pointer}.rectification-conflict-options label:has(input:checked){border-color:#3478dc;box-shadow:0 0 0 2px #3478dc1f}.rectification-conflict-options input{margin-top:3px}.rectification-conflict-options span{display:grid;gap:4px}.rectification-conflict-options small{color:#748198;line-height:1.5}@media(max-width:760px){.rectification-conflicts li{grid-template-columns:1fr}.rectification-conflict-options{grid-template-columns:1fr}}


/* Global page transition loading state. */
.page-loading{position:fixed;z-index:90;inset:65px 0 0 226px;display:grid;place-items:center;background:rgba(244,247,252,.86);backdrop-filter:blur(5px);opacity:1;transition:opacity .2s ease}
.page-loading.leaving{opacity:0;pointer-events:none}.page-loading-card{display:flex;min-width:260px;flex-direction:column;align-items:center;padding:30px 42px 26px;border:1px solid rgba(214,224,239,.9);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 22px 65px rgba(22,51,87,.14)}
.page-loading-emblem{position:relative;display:grid;place-items:center;width:68px;height:68px;margin-bottom:17px}.page-loading-emblem span{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:linear-gradient(145deg,#3974ef,#2455cc);box-shadow:0 9px 24px rgba(40,92,218,.28);color:#fff;font-size:23px;font-weight:650}.page-loading-emblem i{position:absolute;inset:0;border:2px solid rgba(40,92,218,.13);border-top-color:#3974ef;border-radius:50%;animation:page-loading-spin .9s linear infinite}
.page-loading-card strong{color:#243b59;font-size:16px;font-weight:650}.page-loading-card p{margin-top:5px;color:#8795a8;font-size:11px}.page-loading-dots{display:flex;gap:6px;margin-top:16px}.page-loading-dots i{width:6px;height:6px;border-radius:50%;background:#4c7ce7;animation:page-loading-dot 1.1s ease-in-out infinite}.page-loading-dots i:nth-child(2){animation-delay:.14s}.page-loading-dots i:nth-child(3){animation-delay:.28s}
@keyframes page-loading-spin{to{transform:rotate(360deg)}}@keyframes page-loading-dot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-5px);opacity:1}}
@media(max-width:1150px){.page-loading{left:185px}}@media(max-width:760px){.page-loading{left:65px}.page-loading-card{min-width:230px;padding:26px 30px 23px}}

/* Keep the workspace and global loading mask aligned with the polished sidebar widths. */
.workspace{width:calc(100% - 244px)}.page-loading{left:244px}@media(max-width:1150px) and (min-width:761px){.workspace{width:calc(100% - 204px)}.page-loading{left:204px}}@media(max-width:760px){.workspace{width:calc(100% - 65px)}.page-loading{left:65px}}
.nav .nav-label{font-size:13px}@media(max-width:1150px) and (min-width:761px){.irregular-nav-group .nav-heading .nav-label{font-size:12px}}
.document-subject{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:150px}.document-subject>span{color:#263f5d;font-weight:550}.document-subject-source{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:10px;font-size:10px;font-style:normal;white-space:nowrap}.document-subject-source b{font-size:11px}.document-subject-source.auto{background:#eaf3ff;color:#2863c8}.document-subject-source.manual{background:#fff3df;color:#a96817}.document-subject-add{height:28px;padding:0 10px;border-color:#a9bee6;background:#f4f8ff;color:#285fca;font-size:11px}.document-subject-add:hover{border-color:#6e98e5;background:#eaf2ff}.document-subject-editor{display:flex;align-items:center;gap:6px;min-width:250px}.document-subject-editor input{min-width:170px;height:34px;padding:6px 9px}.document-subject-editor button{height:34px;padding:0 12px;white-space:nowrap}
