.workspace.external-company-workspace{overflow-y:auto;background:#f2f5f9;padding:16px 20px;color:#20334c}
.ec-page{display:grid;grid-template-columns:244px minmax(0,1fr);gap:16px;max-width:1840px;margin:auto;min-height:calc(100dvh - 78px);font-size:13px}
.ec-sidebar,.ec-content{background:#fff;border:1px solid #dbe3ed;border-radius:6px;min-width:0}
.ec-sidebar{padding:15px;align-self:start;position:sticky;top:0;max-height:calc(100dvh - 78px);display:flex;flex-direction:column}
.ec-side-head,.ec-section-head,.ec-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ec-side-head{margin-bottom:14px}.ec-side-head strong{font-size:15px}.ec-side-head small,.ec-section-head small{font-size:12px;color:#718097;font-weight:400}
.ec-sidebar input,.ec-sidebar select,.ec-field input,.ec-field select{width:100%;min-height:36px;padding:7px 10px;border:1px solid #d5deea;border-radius:4px;background:#fff;color:#20334c;font:inherit}
.ec-sidebar select{margin:8px 0 12px}.ec-company-list{overflow:auto;min-height:60px}
.ec-company{display:flex;flex-direction:column;gap:5px;width:100%;padding:11px 12px;text-align:left;border:0;border-left:3px solid transparent;background:transparent;color:#25384d;cursor:pointer}
.ec-company:hover{background:#f4f7fb}.ec-company.selected{background:#e8f2ff;border-left-color:#0865cf;color:#0754b1}.ec-company strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ec-company small{color:#75859a;font-size:11px}
.ec-content{padding:20px;min-height:540px}.ec-heading{padding-bottom:20px;border-bottom:1px solid #e3e9f0}.ec-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ec-heading strong{font-size:20px}.ec-heading small{color:#718097}.ec-heading a{color:#075bb7;text-decoration:none;white-space:nowrap}
.ec-state{padding:3px 8px;background:#edf5ff;color:#125cb0;border-radius:3px;font-size:12px}
.ec-state[data-state="待审核"]{background:#fff4df;color:#986100}.ec-state[data-state="已入驻"]{background:#eaf6ee;color:#1c7040}.ec-state[data-state="已暂停"]{background:#fff4df;color:#986100}.ec-state[data-state="黑名单"]{background:#fff0ef;color:#a83933}.ec-state[data-state="已退出"]{background:#edf2f8;color:#5b6d83}
.ec-tabs{display:flex;gap:20px;overflow:auto;border-bottom:1px solid #e1e8f0}.ec-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:15px 3px 12px;white-space:nowrap;color:#5c6e83;cursor:pointer;font-size:13px}.ec-tabs button[aria-current=page]{color:#075fc2;border-bottom-color:#0865cf;font-weight:600}
.ec-detail{padding-top:22px}.ec-section-head{margin:4px 0 16px}.ec-section-head h3{font-size:15px;margin:0}.ec-section-head button,.ec-heading button,.ec-side-head button,.ec-dialog button{font:inherit;cursor:pointer;border:1px solid #d5deea;background:#fff;border-radius:4px;padding:7px 12px;color:#27516f}.ec-section-head .ec-primary,.ec-side-head .ec-primary,.ec-dialog .ec-primary{background:#0865cf;color:#fff;border-color:#0865cf}
.ec-facts,.ec-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ec-fact{border:1px solid #e2e8f0;border-radius:4px;padding:12px;min-width:0}.ec-fact span{display:block;color:#718097;margin-bottom:7px;font-size:12px}.ec-fact strong{display:block;word-break:break-word;font-size:13px;font-weight:500}.ec-bound{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.ec-bound span{padding:6px 9px;background:#f0f5fb;border-radius:3px}.ec-intro{padding:40px 15px;max-width:760px;margin:auto}.ec-intro>strong{font-size:20px}.ec-intro p{color:#66788f;line-height:1.6}.ec-summary{margin-top:26px}
.ec-table-wrap{overflow:auto;border:1px solid #e0e7ef;border-radius:4px}.ec-table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap}.ec-table-wrap th,.ec-table-wrap td{text-align:left;border-bottom:1px solid #e5ebf2;padding:11px 12px}.ec-table-wrap th{background:#f7f9fc;color:#62738a;font-size:12px;font-weight:500}.ec-table-wrap tr:last-child td{border:0}.ec-table-wrap button,.ec-attachments button{border:0;background:transparent;color:#0865cf;cursor:pointer;padding:4px;font-size:12px}.ec-table-wrap td:last-child{white-space:nowrap}.ec-empty{color:#78889a;padding:18px 5px}.ec-attachments{display:flex;gap:8px;flex-wrap:wrap}.ec-attachments button{border:1px solid #e0e7ef;border-radius:4px;padding:8px}
.ec-dialog{border:1px solid #d7e0eb;border-radius:7px;padding:0;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 40px);box-shadow:0 22px 60px #10294435;color:#20334c}.ec-dialog::backdrop{background:#0b1e3b7d}.ec-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 40px)}.ec-dialog header,.ec-dialog footer{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#f8fafd}.ec-dialog header{border-bottom:1px solid #dfe7f0}.ec-dialog header strong{font-size:17px}.ec-dialog footer{justify-content:flex-end;gap:8px;border-top:1px solid #dfe7f0}.ec-dialog-body{overflow:auto;padding:20px}.ec-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ec-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px}.ec-field span{color:#52647b}.ec-bindings{border:1px solid #dfe7f0;margin-top:20px;display:flex;gap:10px;flex-wrap:wrap;padding:15px}.ec-bindings legend{padding:0 5px;font-weight:600}.ec-bindings label{display:flex;align-items:center;gap:5px}.ec-error{color:#b12a28;background:#fff1f0;padding:10px;border-radius:4px}.ec-error[hidden]{display:none}
.ec-page :is(button,input,select,a):focus-visible,.ec-dialog :is(button,input,select):focus-visible{outline:2px solid #1781e9;outline-offset:2px}
@media(max-width:800px){.workspace.external-company-workspace{padding:10px}.ec-page{grid-template-columns:minmax(0,1fr)}.ec-sidebar{position:static;max-height:none}.ec-company-list{display:flex;overflow:auto;gap:5px}.ec-company{min-width:145px}.ec-content{padding:14px}.ec-facts,.ec-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ec-heading{align-items:flex-start;flex-direction:column}.ec-facts,.ec-summary,.ec-form-grid{grid-template-columns:minmax(0,1fr)}.ec-dialog-body{padding:15px}}
.ec-cert-state{display:inline-block;padding:3px 7px;border-radius:3px;background:#eaf6ee;color:#1c7040;font-size:12px}
.ec-cert-state.state-2{background:#fff4df;color:#986100}
.ec-cert-state.state-3,.ec-cert-state.state-4{background:#fff0ef;color:#a83933}
/* 承包商页面：完整列表在上，详情纵向展开。 */
.ec-page{display:block;min-height:0}
.ec-list-panel{background:#fff;border:1px solid #dbe3ed;border-radius:6px;padding:16px;min-width:0}
.ec-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;flex-wrap:wrap}
.ec-toolbar-title{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
.ec-toolbar-title strong{font-size:16px}
.ec-toolbar-title span{font-size:12px;color:#718097}
.ec-toolbar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}
.ec-toolbar-controls input,.ec-toolbar-controls select{height:36px;border:1px solid #d5deea;border-radius:4px;padding:6px 10px;background:#fff;color:#20334c;font:inherit}
.ec-toolbar-controls input{width:255px}.ec-toolbar-controls select{width:135px}
.ec-toolbar-controls button{height:36px;border:1px solid #0865cf;border-radius:4px;padding:6px 14px;background:#0865cf;color:white;font:inherit;cursor:pointer}
.ec-company-list{min-height:0;overflow:visible}
.ec-company-table{width:100%}
.ec-company-table table{min-width:940px}
.ec-company-table td:first-child{min-width:180px}
.ec-company-table td:nth-child(2){color:#75859a}
.ec-company-table tr.selected{background:#eaf3ff}
.ec-company-table .ec-name-link{font-size:13px;font-weight:600;color:#135bb0}
.ec-company-table td:last-child button{font-size:12px}
.ec-list-hint{color:#7b899a;font-size:12px;margin:12px 2px}
.ec-content{margin-top:16px;min-height:0}
@media(max-width:800px){.ec-company-list{display:block;overflow:visible}.ec-toolbar-controls{width:100%;margin-left:0}.ec-toolbar-controls input{flex:1;min-width:160px}.ec-toolbar-controls select{width:132px}.ec-company-table table{min-width:940px}}
@media(max-width:480px){.ec-list-panel{padding:12px}.ec-toolbar-controls input{width:100%;flex-basis:100%}.ec-toolbar-controls button{margin-left:auto}}
/* 右侧详情抽屉，列表保持原位。 */
.ec-drawer-layer{position:fixed;inset:46px 0 0;z-index:30;display:flex;justify-content:flex-end}
.ec-drawer-backdrop{position:absolute;inset:0;width:100%;border:0;background:rgba(13,31,55,.30);cursor:default}
.ec-drawer-layer .ec-content{position:relative;z-index:1;display:flex;flex-direction:column;width:min(var(--ec-drawer-width,720px),100vw);height:100%;min-height:0;margin:0;padding:0;overflow:hidden;border-radius:8px 0 0 0;box-shadow:-14px 0 36px rgba(19,43,76,.18)}
.ec-resize-handle{position:absolute;z-index:3;left:0;top:0;bottom:0;width:12px;cursor:col-resize;touch-action:none;background:transparent}
.ec-resize-handle::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:transparent}
.ec-resize-handle:hover::before,.ec-resize-handle.dragging::before,.ec-resize-handle:focus-visible::before{background:#2384d1}
.ec-resize-handle:focus-visible{outline:2px solid #1781e9;outline-offset:-2px}
.ec-drawer-layer .ec-heading{flex:0 0 auto;padding:19px 22px 16px;background:#fff}
.ec-drawer-layer .ec-heading strong{font-size:18px}
.ec-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto;flex-wrap:nowrap!important}
.ec-drawer-layer .ec-heading::after{display:none!important;content:none!important}
.ec-heading-actions button{border:0;background:transparent;color:#64758a;font-size:24px;line-height:1;cursor:pointer;padding:4px 7px}
.ec-heading-actions button:hover{color:#1d3e66;background:#f0f5fa;border-radius:4px}
.ec-drawer-layer .ec-tabs{flex:0 0 auto;padding:0 22px;gap:18px}
.ec-drawer-layer .ec-detail{flex:1 1 auto;min-height:0;padding:18px 22px 26px;overflow-y:auto;overscroll-behavior:contain}
.ec-drawer-layer .ec-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.ec-drawer-layer .ec-content{border-radius:0}.ec-drawer-layer .ec-heading{padding:14px}.ec-drawer-layer .ec-tabs{padding:0 14px}.ec-drawer-layer .ec-detail{padding:14px}.ec-heading-actions{gap:4px}.ec-heading-actions a{font-size:12px}.ec-drawer-layer .ec-facts{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.ec-drawer-layer .ec-content{width:100vw}.ec-resize-handle{display:none}}
.ec-registry-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:0 2px}.ec-registry-intro>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.ec-registry-intro strong{font-size:18px}.ec-registry-intro span{color:#708197;font-size:12px}
.ec-registry-stats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:14px}.ec-registry-stats button{text-align:left;background:#fff;border:1px solid #dbe3ed;border-radius:6px;padding:12px 14px;color:#40546d;cursor:pointer;min-width:0}.ec-registry-stats button:hover,.ec-registry-stats button.active{border-color:#1370c5;background:#f0f7ff}.ec-registry-stats button span{display:block;font-size:12px;white-space:nowrap}.ec-registry-stats button strong{display:block;font-size:20px;margin-top:5px;color:#173b66}.ec-registry-stats button.expiring strong{color:#986100}.ec-registry-stats button.expired strong,.ec-registry-stats button.cancelled strong{color:#a83933}
.ec-registry-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.ec-registry-filters label{display:flex;flex-direction:column;gap:5px;color:#60738b;font-size:12px}.ec-registry-filters label:first-child{flex:1;min-width:210px}.ec-registry-filters input,.ec-registry-filters select{height:35px;min-width:135px;border:1px solid #d5deea;border-radius:4px;background:#fff;color:#20334c;padding:6px 10px;font:inherit}.ec-registry-filters input{width:100%}.ec-registry-table table{min-width:1050px}.ec-registry-table td{padding:9px 12px}.ec-registry-table strong{font-weight:600}.ec-registry-table small{display:block;color:#7a8ba0;font-size:11px;margin-top:2px}.ec-registry-state{display:inline-block;border-radius:3px;padding:3px 7px;background:#eaf6ee;color:#1c7040;font-size:12px}.ec-registry-state.expiring{background:#fff4df;color:#986100}.ec-registry-state.expired,.ec-registry-state.cancelled{background:#fff0ef;color:#a83933}.ec-registry-state.pending,.ec-registry-state.unknown{background:#edf2f8;color:#5b6d83}.ec-registry-count{font-size:12px;color:#718097;margin:10px 2px 0}
@media(max-width:1100px){.ec-registry-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.ec-registry-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-registry-filters label{flex:1;min-width:130px}.ec-registry-filters label:first-child{flex-basis:100%}}
/* 表格行始终单行，长字段在表格容器内横向查看。 */
.ec-page .ec-table-wrap{max-width:100%;overflow-x:auto;overflow-y:hidden}
.ec-page .ec-table-wrap table{width:max-content;min-width:100%;table-layout:auto}
.ec-page .ec-table-wrap th,.ec-page .ec-table-wrap td{white-space:nowrap;word-break:normal;overflow-wrap:normal;vertical-align:middle}
.ec-page .ec-table-wrap td strong,.ec-page .ec-table-wrap td button{white-space:nowrap}
.ec-registry-table td,.ec-company-table td{padding-top:8px;padding-bottom:8px}
.ec-registry-table small{display:inline;margin:0}
.ec-page :is(input,select):focus-visible{outline:0;border-color:#1781e9;box-shadow:0 0 0 1px #1781e9}
.ec-toolbar{margin-bottom:10px}
.ec-actions-row{justify-content:flex-start;margin:0 0 12px;padding-top:12px;border-top:1px solid #e3eaf2}
.ec-bound-names{display:inline-block;max-width:280px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}
.ec-company-table td:last-child button+button{margin-left:8px}
.ec-binding-note{margin:0 0 14px;color:#66788f;font-size:13px;line-height:1.5}
.ec-binding-tree{max-height:min(55vh,430px);overflow:auto;border:1px solid #e0e7ef;border-radius:4px;padding:10px 14px}
.ec-binding-tree ul{list-style:none;margin:0;padding:0}.ec-binding-tree ul ul{margin-left:20px;padding-left:14px;border-left:1px solid #e3eaf2}
.ec-binding-tree li{margin:0}.ec-binding-tree label{display:flex;align-items:center;gap:9px;min-height:35px;cursor:pointer;font-size:13px}.ec-binding-tree input{accent-color:#0865cf}.ec-binding-tree small{color:#8190a2;font-size:11px}
.ec-agreement-table table{min-width:1000px}.ec-agreement-status{display:inline-block;padding:3px 8px;border-radius:3px;background:#eaf6ee;color:#1c7040;font-size:12px}
.ec-agreement-status.status-expiring{background:#fff4df;color:#986100}.ec-agreement-status.status-expired{background:#fff0ef;color:#a83933}.ec-agreement-status.status-pending{background:#edf2f8;color:#5b6d83}
.ec-agreement-file{margin-top:18px}.ec-agreement-history{display:grid;gap:10px}.ec-agreement-history>div{display:grid;gap:5px;padding:12px;border:1px solid #e0e7ef;border-radius:4px}.ec-agreement-history span{color:#60738b}.ec-agreement-history button{justify-self:start;border:0;background:transparent;color:#0865cf;cursor:pointer;padding:0}
.ec-inline-profile .ec-form-grid{gap:14px}.ec-inline-profile .ec-bindings{margin-top:18px}.ec-inline-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:14px;border-top:1px solid #e3eaf2}.ec-inline-actions button{border:1px solid #d5deea;background:#fff;border-radius:4px;color:#27516f;padding:8px 14px;font:inherit;cursor:pointer}.ec-inline-actions .ec-primary{background:#0865cf;border-color:#0865cf;color:#fff}
.ec-review-state{display:inline-block;padding:3px 7px;border-radius:3px;background:#edf2f8;color:#5b6d83;font-size:12px}.ec-review-state.state-通过{background:#eaf6ee;color:#1c7040}.ec-review-state.state-驳回{background:#fff0ef;color:#a83933}.ec-review-state.state-补正{background:#fff4df;color:#986100}
.ec-review-link{border:0;background:transparent;padding:0;cursor:pointer;font:inherit}.ec-review-link:hover .ec-review-state{text-decoration:underline}.ec-review-link:focus-visible{outline:2px solid #3d7cdb;outline-offset:2px;border-radius:3px}
.ec-review-note{margin-top:16px}.ec-review-note textarea{resize:vertical;min-height:92px;border:1px solid #d5deea;border-radius:4px;padding:9px 10px;font:inherit;color:#20334c}.ec-review-history{display:grid;gap:10px}.ec-review-history>div{padding:12px;border:1px solid #e0e7ef;border-radius:4px}.ec-review-history strong,.ec-review-history span{display:block}.ec-review-history span{margin-top:5px;color:#60738b}.ec-review-history p{margin:8px 0 0;line-height:1.5}
.ec-registry-filters,.ec-company-filters{display:flex;align-items:center;justify-content:flex-start;gap:10px 16px;flex-wrap:wrap;margin:0 0 14px;width:auto}
.ec-registry-filters label,.ec-company-filters label{display:inline-flex;flex-direction:row;flex:0 0 auto;align-items:center;gap:8px;min-width:0;color:#5d7088;font-size:12px;white-space:nowrap}
.ec-registry-filters label:first-child{flex:0 0 auto;min-width:0}
.ec-registry-filters label span,.ec-company-filters label span{white-space:nowrap}
.ec-registry-filters input,.ec-company-filters input{box-sizing:border-box;width:208px;max-width:100%;height:35px}
.ec-registry-filters select,.ec-company-filters select{box-sizing:border-box;width:132px;min-width:0;height:35px}
.ec-company-filters input,.ec-company-filters select{border:1px solid #d5deea;border-radius:4px;background:#fff;color:#20334c;padding:6px 10px;font:inherit}
.ec-query-button{height:35px;min-width:64px;padding:6px 14px;border:1px solid #0865cf;border-radius:4px;background:#0865cf;color:#fff;font:inherit;cursor:pointer}
.ec-query-button:hover{background:#0759b7}
.ec-toolbar{justify-content:space-between;margin-bottom:14px}.ec-new-company{height:35px;padding:6px 14px;border:1px solid #0865cf;border-radius:4px;background:#0865cf;color:#fff;font:inherit;cursor:pointer}
@media(max-width:800px){.ec-registry-filters label,.ec-company-filters label{flex:0 1 auto}.ec-registry-filters label:first-child{flex:0 1 auto}.ec-registry-filters input,.ec-company-filters input{width:180px}.ec-registry-filters select,.ec-company-filters select{width:126px}}
@media(max-width:480px){.ec-registry-filters,.ec-company-filters{gap:10px}.ec-registry-filters label,.ec-company-filters label{flex:1 1 100%;justify-content:space-between}.ec-registry-filters label:first-child{flex:1 1 100%;min-width:0}.ec-registry-filters input,.ec-company-filters input,.ec-registry-filters select,.ec-company-filters select{width:min(70%,250px)}.ec-query-button{margin-left:auto}}

/* 外协单位全生命周期：法人主档共享，站点执行独立。 */
.ec-section-head>div{min-width:0}.ec-section-head h3{margin:0}.ec-section-head p{margin:5px 0 0;color:#708197;font-size:12px;line-height:1.55}
.ec-master-note{margin:-5px 0 16px;padding:10px 12px;border-left:3px solid #2878c8;background:#f3f7fc;color:#526a84;line-height:1.55}
.ec-life-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}
.ec-life-summary>div{min-width:0;padding:12px 14px;border:1px solid #dce5ef;border-radius:6px;background:#fff}
.ec-life-summary span{display:block;color:#6d7f94;font-size:12px}.ec-life-summary strong{display:block;margin-top:5px;color:#163b65;font-size:20px;font-variant-numeric:tabular-nums}.ec-life-summary .danger strong{color:#b53d35}
.ec-life-panel{margin-bottom:14px;padding:15px;border:1px solid #dce5ef;border-radius:6px;background:#fff}.ec-life-panel:last-child{margin-bottom:0}
.ec-life-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ec-life-step{position:relative;min-width:0;padding:11px 12px 11px 14px;border-left:3px solid #9aaabd;background:#f5f7fa;border-radius:4px}.ec-life-step span,.ec-life-step strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ec-life-step span{color:#52657b;font-size:12px}.ec-life-step strong{margin-top:4px;color:#203d5f;font-size:12px;font-weight:600}.ec-life-step.done{border-left-color:#2c8b63;background:#eff8f3}.ec-life-step.done strong{color:#217450}.ec-life-step.active{border-left-color:#2878c8;background:#eef5fc}.ec-life-step.active strong{color:#155fa9}.ec-life-step.warning{border-left-color:#d18a22;background:#fff7e9}.ec-life-step.warning strong{color:#9c6517}.ec-life-step.blocked{border-left-color:#c74e48;background:#fff1f0}.ec-life-step.blocked strong{color:#a43a35}
.ec-blockers{display:grid;gap:8px}.ec-blockers>div{display:flex;align-items:center;gap:10px;padding:9px 11px;background:#fff7e9;border-radius:4px}.ec-blockers span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f2d59d;color:#7f5614;font-size:11px;font-variant-numeric:tabular-nums}.ec-blockers strong{color:#6d4b17;font-size:12px;font-weight:600}
.ec-life-clear{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:4px;background:#eff8f3;color:#27694d}.ec-life-clear span{color:#557969;font-size:12px}
.ec-site-table table{min-width:1040px}.ec-site-table td>strong,.ec-company-table td>small,.ec-site-table td>small{display:block}.ec-site-table td>small,.ec-company-table td>small{margin-top:3px;color:#7b8b9f;font-size:11px}.ec-site-table td:nth-child(2){max-width:220px;overflow:hidden;text-overflow:ellipsis}
.ec-site-tag{display:inline-block;padding:3px 7px;border-radius:3px;background:#edf2f7;color:#5e7086;font-size:12px}.ec-site-tag.done{background:#eaf6ee;color:#1c7040}.ec-site-tag.active{background:#eaf3ff;color:#185ea9}.ec-site-tag.warning{background:#fff4df;color:#986100}.ec-site-tag.blocked{background:#fff0ef;color:#a83933}
.ec-site-progress{display:inline-block;width:72px;height:5px;overflow:hidden;border-radius:999px;background:#e5ebf2;vertical-align:middle}.ec-site-progress i{display:block;width:var(--value,0);height:100%;background:#2b7dc9;border-radius:inherit}
.ec-site-form-intro{display:flex;flex-direction:column;gap:4px;margin:0 0 16px;padding:12px 14px;border-left:3px solid #2878c8;background:#f3f7fc}.ec-site-form-intro strong{font-size:15px}.ec-site-form-intro span{color:#667a91;font-size:12px}.ec-handover-note{display:flex;flex-direction:column;gap:5px;margin-top:16px;padding:11px 13px;border-radius:4px;background:#fff7e9;color:#684d1e}.ec-handover-note span{font-size:12px;line-height:1.55}
@media(max-width:900px){.ec-life-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.ec-life-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ec-life-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-life-track{grid-template-columns:minmax(0,1fr)}.ec-life-panel{padding:12px}.ec-life-clear{align-items:flex-start;flex-direction:column}}

/* 单位名称较长，筛选框保持紧凑并允许完整选项查看。 */
.ec-registry-filters #ec-cert-company{width:200px;max-width:100%}
@media(max-width:480px){.ec-registry-filters #ec-cert-company{width:min(70%,250px)}}
