:root{color-scheme:light;--bg:#f3f6f4;--surface:#fff;--surface-2:#f8faf9;--ink:#17221d;--muted:#6b7770;--green:#14543c;--green-2:#e7f1eb;--gold:#bd8734;--line:#dfe5e1;--danger:#a53b32;--warn:#a36712;--shadow:0 8px 30px rgba(24,53,40,.06);font-family:"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}
.tender-format-document .tender-template-blank{display:inline-block;white-space:pre;border-bottom:1px solid #000;text-decoration:none;line-height:1}
/* A shared document surface: source and completed body never use competing typography. */
.bid-studio-shell .chapter-compare{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.chapter-compare .chapter-source-pane .section-source.tender-format-document,.chapter-compare .chapter-draft-document{height:480px;box-sizing:border-box;max-height:none;margin:0;padding:26px;background:#fff;color:#293c33;font:14px/1.9 "SimSun","Songti SC",serif;letter-spacing:normal;overflow:auto;white-space:normal}
.chapter-compare .chapter-draft-document .section-source.tender-format-document{height:auto;padding:0;overflow:visible;color:inherit;font:inherit;letter-spacing:inherit}
.chapter-compare .tender-format-document .tender-format-title{margin:0 0 24px;padding:0;text-align:center;color:#20392c;font:700 18px/1.6 "SimSun","Songti SC",serif}
.chapter-compare .tender-format-document p{margin:0 0 14px;padding:0;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}
.chapter-compare .tender-format-document .tender-format-paragraph{text-indent:2em}
.chapter-compare .tender-format-document .tender-format-clause,.chapter-compare .tender-format-document .tender-format-field{text-indent:0}
.chapter-compare .tender-format-document .tender-format-list{margin:0 0 8px;padding-left:2em;text-indent:0}
.tender-format-document .tender-format-table-scroll{max-width:100%;overflow:auto;margin:14px 0 20px}
.tender-format-document .tender-format-table{width:100%;min-width:420px;margin:0;border-collapse:collapse;table-layout:fixed;color:inherit;font:inherit;font-size:13px;line-height:1.65}
.tender-format-document .tender-format-table-wide{min-width:860px}
.tender-format-document .tender-format-table-quotation{min-width:1280px}
.tender-format-document .tender-format-table-quotation th:nth-child(1){width:4%}
.tender-format-document .tender-format-table-quotation th:nth-child(2){width:14%}
.tender-format-document .tender-format-table-quotation th:nth-child(3){width:5%}
.tender-format-document .tender-format-table-quotation th:nth-child(4){width:12%}
.tender-format-document .tender-format-table-quotation th:nth-child(5){width:13%}
.tender-format-document .tender-format-table-quotation th:nth-child(6),.tender-format-document .tender-format-table-quotation th:nth-child(7){width:6%}
.tender-format-document .tender-format-table-quotation th:nth-child(8){width:16%}
.tender-format-document .tender-format-table-quotation th:nth-child(9),.tender-format-document .tender-format-table-quotation th:nth-child(10){width:12%}
.tender-format-document .tender-format-table-response{min-width:760px}
.tender-format-document .tender-format-table-response th:nth-child(1){width:7%}
.tender-format-document .tender-format-table-response th:nth-child(2){width:12%}
.tender-format-document .tender-format-table-response th:nth-child(3),.tender-format-document .tender-format-table-response th:nth-child(4){width:34%}
.tender-format-document .tender-format-table-response td:nth-child(3),.tender-format-document .tender-format-table-response td:nth-child(4){text-align:left}
.tender-format-document .tender-format-table th,.tender-format-document .tender-format-table td{padding:9px 8px;border:1px solid #7d8b83;background:#fff;color:inherit;text-align:center;vertical-align:middle;white-space:pre-wrap;overflow-wrap:anywhere}
.tender-format-document .tender-format-table th{font-weight:700}
.tender-format-document .tender-format-table-wide:not(.tender-format-table-quotation) th:nth-child(2),.tender-format-document .tender-format-table-wide:not(.tender-format-table-quotation) td:nth-child(2){width:19%;text-align:left}
.tender-format-document .tender-format-table-quotation td:nth-child(2){text-align:left}
@media(max-width:1050px){.bid-studio-shell .chapter-compare{grid-template-columns:1fr}.chapter-compare .chapter-source-pane .section-source.tender-format-document,.chapter-compare .chapter-draft-document{height:380px}}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#113d2d;color:white;padding:28px 18px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;padding:0 10px 29px}.brand-mark{width:39px;height:39px;border:1px solid rgba(255,255,255,.5);display:grid;place-items:center;font-family:serif;font-size:22px}.brand strong,.brand small{display:block}.brand strong{font-size:18px;letter-spacing:.08em}.brand small{margin-top:3px;color:#adc6b9;font-size:11px;letter-spacing:.1em}.main-nav{display:flex;flex-direction:column;gap:4px}.main-nav button,.secondary-nav button{border:0;background:transparent;color:#bdd0c6;padding:12px 13px;text-align:left;border-radius:6px;display:flex;gap:13px;align-items:center}.main-nav button span{font:10px ui-monospace,monospace;color:#7fa494}.main-nav button:hover,.main-nav button.active,.secondary-nav button:hover,.secondary-nav button.active{background:rgba(255,255,255,.1);color:white}.secondary-nav{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding-top:12px}.secondary-nav button{width:100%}.guardrail{display:flex;gap:10px;margin:18px 6px 0;padding:13px 11px;background:rgba(255,255,255,.08);border-radius:6px}.guardrail i{width:8px;height:8px;border-radius:50%;background:#4bc287;flex:none;margin-top:4px}.guardrail strong,.guardrail small{display:block}.guardrail strong{font-size:12px}.guardrail small{font-size:10px;line-height:1.5;color:#a8c0b5;margin-top:4px}.app-shell{margin-left:224px;min-height:100vh}.mobile-menu{display:none;position:fixed;left:14px;top:14px;z-index:15;border:1px solid var(--line);background:white;color:var(--green);width:40px;height:40px;border-radius:4px;font-size:22px}.content{padding:30px 34px 70px;max-width:1540px;margin:auto}.page{display:none}.page.active{display:block}.welcome{padding:31px 34px;background:linear-gradient(125deg,#164f3a,#0f392a);color:white;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;box-shadow:var(--shadow)}.welcome p{font-size:11px;letter-spacing:.15em;color:#add0bf;margin:0 0 7px}.welcome h2{font-family:serif;font-size:29px;margin:0 0 9px}.welcome span{font-size:12px;color:#bdd2c7}.primary{border:0;background:var(--green);color:white;padding:11px 17px;border-radius:4px;font-weight:700}.welcome .primary{background:white;color:var(--green)}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:16px}.stat-grid article,.card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}.stat-grid article{padding:20px 22px;position:relative}.stat-grid article:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;background:var(--gold)}.stat-grid span,.stat-grid small,.card p{color:var(--muted)}.stat-grid span{font-size:12px}.stat-grid strong{display:block;font-family:Georgia,serif;font-size:32px;color:var(--green);margin:7px 0 2px}.stat-grid small{font-size:10px}.dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.card{padding:22px}.card-head,.page-toolbar,.freeze-bar{display:flex;justify-content:space-between;align-items:center;gap:20px}.card-head h3,.card h3{margin:3px 0;font-size:17px}.section-kicker{font-size:9px;letter-spacing:.15em;color:var(--green);font-weight:800}.text-button,.icon-button{border:0;background:transparent;color:var(--green)}.icon-button{font-size:24px}.action-list{margin-top:16px}.action-item{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid var(--line)}.action-item:first-child{border-top:0}.action-item .dot{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--green-2);color:var(--green);font-weight:800}.action-item div{flex:1}.action-item strong,.action-item small{display:block}.action-item strong{font-size:13px}.action-item small{font-size:10px;color:var(--muted);margin-top:4px}.action-item button{border:1px solid var(--line);background:white;padding:7px 10px;color:var(--green)}.flow-list{list-style:none;padding:0;margin:14px 0 0}.flow-list li{display:flex;gap:12px;padding:11px 0;border-top:1px solid var(--line)}.flow-list b{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:var(--green-2);color:var(--green);font-size:10px}.flow-list strong,.flow-list small{display:block}.flow-list strong{font-size:12px}.flow-list small{font-size:10px;color:var(--muted);margin-top:3px}.page-toolbar{margin-bottom:20px}.page-toolbar h2{font-family:serif;font-size:26px;margin:0 0 6px}.page-toolbar p{margin:0;color:var(--muted);font-size:12px}.page-toolbar>select{min-width:260px}.form-card{margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:16px 0}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#39473f}input,select,textarea{border:1px solid var(--line);background:white;padding:10px 11px;outline:none;color:var(--ink);border-radius:3px}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-2)}textarea{width:100%;resize:vertical;line-height:1.6;font-family:ui-monospace,"Microsoft YaHei UI",monospace}.file-line{display:flex;align-items:end;gap:12px;margin:8px 0 16px}.file-line label{flex:1}.file-line button,.compact-card button,#add-quote-line,#refresh-audit{border:1px solid var(--green);background:white;color:var(--green);padding:10px 13px}.form-footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.form-footer span,.field-note{font-size:10px;color:var(--muted)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:var(--muted);font-size:10px;font-weight:700;background:var(--surface-2)}th,td{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:middle}td strong,td small{display:block}td small{color:var(--muted);margin-top:4px}.table-action{border:0;background:var(--green-2);color:var(--green);padding:7px 10px;border-radius:3px}.status-chip,.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:10px;background:var(--green-2);color:var(--green)}.badge.warn{background:#fbefd8;color:var(--warn)}.badge.danger{background:#f9e5e2;color:var(--danger)}.badge.neutral{background:#edf0ee;color:#617068}.detail-card{margin-top:18px}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0}.detail-grid div{padding:12px;background:var(--surface-2)}.detail-grid span,.detail-grid strong{display:block}.detail-grid span{font-size:9px;color:var(--muted)}.detail-grid strong{font-size:12px;margin-top:5px}.detail-actions{display:flex;gap:9px;flex-wrap:wrap}.detail-actions button{border:1px solid var(--green);background:white;color:var(--green);padding:9px 12px}.two-column{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.summary-panel ul{padding-left:18px;color:var(--muted);font-size:12px;line-height:2}.record-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}.compact-card label{margin-top:12px}.compact-card .form-grid{gap:10px;margin:12px 0}.compact-card>button{margin-top:14px;width:100%}.upload-zone{display:flex;align-items:end;gap:18px;margin-bottom:18px}.upload-zone>div{flex:1}.upload-zone p{font-size:11px;margin:5px 0}.file-button input{max-width:220px}.review-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:16px;margin:16px 0}.empty-state{background:white;border:1px dashed #bdc8c1;padding:55px;text-align:center;color:var(--muted)}.stage-banner{display:flex;justify-content:space-between;align-items:center}.stage-banner h3{font-family:serif;font-size:22px}.quote-input{width:100%;min-width:80px;padding:7px}.remove-line{border:0;background:transparent;color:var(--danger)}.document-list{margin-top:13px}.document-item{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-top:1px solid var(--line)}.document-item div strong,.document-item div small{display:block}.document-item div small{font:9px ui-monospace,monospace;color:var(--muted);margin-top:4px}.document-item button{border:1px solid var(--line);background:white;color:var(--green);padding:7px}.confirmation-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0}.confirmation-item{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:13px}.confirmation-item.done{background:#f4faf6;border-color:#bcd8c8}.confirmation-item .check{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#edf0ee;color:#718078}.confirmation-item.done .check{background:var(--green);color:white}.confirmation-item div{flex:1}.confirmation-item strong,.confirmation-item small{display:block}.confirmation-item strong{font-size:12px}.confirmation-item small{font-size:10px;color:var(--muted);margin-top:4px}.confirmation-item button{border:1px solid var(--green);background:white;color:var(--green);padding:7px 9px}.freeze-bar{border-top:1px solid var(--line);padding-top:17px}.freeze-bar strong,.freeze-bar small{display:block}.freeze-bar small{font-size:10px;color:var(--muted);margin-top:4px}.checkbox{flex-direction:row;align-items:center;margin:12px 0}.checkbox input{width:auto}.help-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.help-grid .wide{grid-column:1/-1}.help-grid p{line-height:1.9}.help-flow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.help-flow span{background:var(--green-2);color:var(--green);padding:10px 12px;font-size:11px}.identity-drawer{position:fixed;right:0;top:0;bottom:0;width:min(420px,90vw);background:white;z-index:40;padding:28px;box-shadow:-15px 0 40px rgba(0,0,0,.15)}.identity-drawer label{margin-top:17px}.identity-drawer .primary{margin-top:20px;width:100%}.drawer-backdrop{position:fixed;inset:0;background:rgba(8,20,14,.45);z-index:30}#toast{position:fixed;right:24px;bottom:24px;z-index:60;background:#13241c;color:white;padding:13px 17px;max-width:390px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none;font-size:12px}#toast.show{opacity:1;transform:none}#toast.error{background:var(--danger)}
@media(max-width:1080px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.two-column,.review-grid{grid-template-columns:1fr}.record-grid{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:1fr 1fr}.upload-zone{align-items:stretch;flex-wrap:wrap}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.app-shell{margin-left:0}.mobile-menu{display:block}.content{padding:66px 16px 55px}.welcome{align-items:flex-start;gap:25px;flex-direction:column}.stat-grid,.record-grid,.confirmation-list,.help-grid{grid-template-columns:1fr}.form-grid,.form-grid.three{grid-template-columns:1fr}.page-toolbar{align-items:flex-start;flex-direction:column}.detail-grid{grid-template-columns:1fr 1fr}.upload-zone{display:grid}.help-grid .wide{grid-column:auto}}
.filter-bar{display:grid;grid-template-columns:180px 180px minmax(220px,1fr) auto;align-items:end;gap:14px;margin-bottom:16px}.collector-summary{font-size:11px;color:var(--muted);padding:11px 13px;background:var(--surface-2);white-space:nowrap}.collector-health-card{margin-top:16px}.health-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:14px}.health-item{border:1px solid var(--line);padding:11px;background:var(--surface-2)}.health-item strong,.health-item small{display:block}.health-item strong{font-size:11px}.health-item small{font-size:9px;color:var(--muted);margin-top:5px}.health-item i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#96a39c}.health-item.ok i{background:#35a66e}.health-item.fail i{background:var(--danger)}.health-item.stale{border-color:#e3c27c;background:#fffaf0}.health-item.stale i{background:#c88a18}.health-item.stale small{color:#8a6118}
.notice-list-card{padding:0;overflow:hidden}.notice-table-wrap{overflow-x:auto}.notice-table{min-width:860px;table-layout:fixed;font-size:12px}.notice-table .notice-col-project{width:auto}.notice-table .notice-col-source{width:280px}.notice-table .notice-col-type{width:110px}.notice-table .notice-col-time{width:138px}.notice-table thead th{height:48px;padding:0 18px;background:#f7f9f8;color:#56645c;font-size:11px;letter-spacing:.02em;border-bottom:1px solid #d7dfda}.notice-table tbody td{height:68px;padding:12px 18px;border-bottom:1px solid #e5eae7}.notice-table tbody tr:last-child td{border-bottom:0}.notice-row{transition:background-color .16s ease}.notice-row:hover{background:#f8fbf9}.notice-project-cell{min-width:0}.notice-title{display:-webkit-box!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.55;font-weight:700;color:#18241e;text-decoration:none;word-break:break-word;transition:color .16s ease}.notice-title:hover{color:#0e6849;text-decoration:underline;text-underline-offset:3px}.notice-title:focus-visible{border-radius:3px;outline:3px solid rgba(20,84,60,.18);outline-offset:3px}.notice-source-cell strong{font-size:12px;color:#26362e}.notice-source-cell small{display:-webkit-box;max-width:250px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.45}.notice-type-cell .badge{width:76px;min-height:28px;justify-content:center;padding:5px 7px;line-height:1.25;text-align:center}.notice-date{display:flex;flex-direction:column;gap:4px;font-style:normal;white-space:nowrap}.notice-date strong{font-size:11px;font-weight:700;color:#2a3931}.notice-date small{margin:0;color:#77837d;font:10px ui-monospace,SFMono-Regular,Consolas,monospace}.notice-pagination{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:62px;padding:10px 18px;border-top:1px solid #dfe6e2;background:#fbfcfb}.notice-page-summary{margin-right:auto;color:#65736c;font-size:11px}.notice-page-size{display:flex;flex-direction:row;align-items:center;gap:7px;color:#65736c;font-size:11px;font-weight:500;white-space:nowrap}.notice-page-size select{width:68px;height:34px;padding:5px 8px}.notice-page-buttons{display:flex;align-items:center;gap:6px}.notice-page-buttons button{min-width:34px;height:34px;padding:0 10px;border:1px solid #d6dfda;border-radius:4px;background:#fff;color:#395047;font-size:11px}.notice-page-buttons button:hover:not(:disabled){border-color:#7fad97;background:#f1f7f4;color:#0f6447}.notice-page-buttons button.active{border-color:var(--green);background:var(--green);color:#fff;font-weight:700}.notice-page-buttons button:focus-visible{outline:3px solid rgba(20,84,60,.16);outline-offset:2px}.notice-page-ellipsis{display:grid;min-width:22px;place-items:center;color:#829088}
@media(max-width:1080px){.filter-bar{grid-template-columns:1fr 1fr}.health-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.filter-bar{grid-template-columns:1fr}.health-grid{grid-template-columns:1fr 1fr}.notice-list-card{margin-left:-4px;margin-right:-4px}.notice-table{min-width:760px}.notice-table thead th,.notice-table tbody td{padding-left:14px;padding-right:14px}.notice-pagination{align-items:flex-start;flex-wrap:wrap;gap:10px;padding:12px}.notice-page-summary{width:100%;margin-right:0}.notice-page-size{margin-right:auto}.notice-page-buttons{width:100%;overflow-x:auto;padding:2px 0}.notice-page-buttons button{flex:0 0 auto}}

/* Keep notice timestamps compact and readable instead of exposing raw ISO text. */
.notice-table .notice-col-time{width:126px}
.notice-date{gap:3px;line-height:1.2}
.notice-date strong{font-size:12px;letter-spacing:.01em}
.notice-date small{font-size:11px;color:#59675f}

/* Multi-company enterprise library */
.company-switcher{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px;padding:18px 22px;border-left:3px solid var(--green)}
.company-switcher>div{display:flex;align-items:flex-end;gap:22px;flex:1}.company-select-label{width:min(520px,100%);font-size:12px}.company-select-label select{font-size:14px;font-weight:700;color:#173f30;background:#fbfcfb}.company-create-card{margin-bottom:16px;border-color:#b9d2c4}.company-create-card .card-head p{margin:5px 0 0;font-size:11px}.enterprise-empty{margin-top:16px}.enterprise-overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.5fr);gap:16px;margin-bottom:16px}.enterprise-profile-card{padding:24px}.enterprise-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin:20px 0}.enterprise-form-grid label{font-size:12px}.enterprise-form-grid em,.record-entry-grid em{font-style:normal;color:var(--danger)}.enterprise-form-grid .span-2{grid-column:1/-1}.form-actions{display:flex;align-items:center;gap:14px;padding-top:4px}.form-actions span{font-size:10px;color:var(--muted)}.enterprise-summary-card{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#f7fbf8,#fff)}.enterprise-summary-card h3{margin:8px 0 18px;font-size:16px}.inventory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.inventory-stats div{padding:13px 8px;background:white;border:1px solid var(--line);text-align:center}.inventory-stats strong,.inventory-stats span{display:block}.inventory-stats strong{font:700 24px Georgia,serif;color:var(--green)}.inventory-stats span{margin-top:4px;font-size:9px;color:var(--muted)}.enterprise-summary-card p{margin:17px 0 0;font-size:11px;line-height:1.7}.enterprise-records{padding:0;overflow:hidden}.enterprise-records>.card-head{padding:21px 24px 14px}.enterprise-tabs{display:flex;padding:0 24px;border-bottom:1px solid var(--line);gap:4px}.enterprise-tabs button{position:relative;border:0;background:transparent;color:var(--muted);padding:13px 17px;font-size:12px;font-weight:700}.enterprise-tabs button.active{color:var(--green)}.enterprise-tabs button.active:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:var(--green)}.enterprise-tabs span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;padding:0 5px;border-radius:10px;background:#edf1ef;font-size:9px}.enterprise-tabs button.active span{background:var(--green-2)}.enterprise-tab-panel{display:none;padding:24px}.enterprise-tab-panel.active{display:block}.record-entry-grid{display:grid;grid-template-columns:1.15fr repeat(3,minmax(130px,1fr));gap:15px;align-items:end;padding:20px;background:#f8faf9;border:1px solid var(--line)}.record-entry-grid>div:first-child{align-self:center}.record-entry-grid h4{margin:0 0 6px;font-size:14px}.record-entry-grid p{margin:0;color:var(--muted);font-size:10px;line-height:1.6}.record-entry-grid label{font-size:11px}.record-submit{min-height:38px}.record-preview{margin-top:18px;border-top:1px solid var(--line)}.record-preview>div{display:flex;justify-content:space-between;gap:20px;padding:13px 4px;border-bottom:1px solid var(--line)}.record-preview strong{font-size:12px}.record-preview span,.record-preview>p{font-size:10px;color:var(--muted)}
@media(max-width:1180px){.enterprise-overview-grid{grid-template-columns:1fr}.record-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.record-entry-grid>div:first-child{grid-column:1/-1}}
@media(max-width:760px){.company-switcher,.company-switcher>div,.form-actions{align-items:stretch;flex-direction:column}.enterprise-form-grid,.record-entry-grid{grid-template-columns:1fr}.enterprise-form-grid .span-2,.record-entry-grid>div:first-child{grid-column:auto}.enterprise-tabs{padding:0 8px;overflow:auto}.enterprise-tabs button{white-space:nowrap;padding-left:11px;padding-right:11px}.enterprise-tab-panel{padding:16px}.record-preview>div{flex-direction:column;gap:5px}}

/* Clear, task-focused dashboard */
.dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:2px 0 22px}.dashboard-heading h2{margin:0;color:#173328;font:700 28px/1.2 Georgia,"Microsoft YaHei UI",serif}.dashboard-heading p{margin:8px 0 0;color:var(--muted);font-size:12px}.dashboard-entry{display:inline-flex;align-items:center;gap:12px;border:1px solid #bfd2c7;background:#fff;color:var(--green);padding:10px 14px;border-radius:5px;font-size:12px;font-weight:700;transition:.18s}.dashboard-entry span{font-size:16px}.dashboard-entry:hover{background:#f3f8f5;border-color:#8eb5a1;transform:translateY(-1px)}
.dashboard-stats{gap:14px;margin-bottom:18px}.dashboard-stats .dashboard-stat{--stat-accent:#2c8060;--stat-soft:#e7f3ed;min-height:142px;padding:20px 22px 18px;border-radius:7px;box-shadow:0 10px 28px rgba(26,55,42,.055);overflow:hidden}.dashboard-stats .dashboard-stat:before{inset:0 0 auto 0;width:auto;height:3px;background:var(--stat-accent)}.stat-label{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-stats .stat-label span{color:#526158;font-size:12px;font-weight:700}.stat-label i{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:var(--stat-soft);color:var(--stat-accent);font:700 9px/1 ui-monospace,Consolas,monospace}.dashboard-stats .dashboard-stat>strong{margin:14px 0 5px;font-size:34px;line-height:1;color:#163f30}.dashboard-stats .dashboard-stat>small{font-size:10px;line-height:1.5}
.dashboard-workspace{grid-template-columns:minmax(0,1.22fr) minmax(360px,.78fr);align-items:start;gap:18px}.dashboard-actions-card,.dashboard-flow-card{border-radius:7px;box-shadow:0 10px 30px rgba(26,55,42,.05)}.dashboard-actions-card{padding:24px}.dashboard-flow-card{padding:24px}.dashboard-card-head{align-items:flex-start}.dashboard-card-head .section-kicker{display:block;margin-bottom:5px;color:#678077;font-size:9px;letter-spacing:.12em}.dashboard-card-head h3{margin:0;font-size:18px;color:#172b22}.dashboard-card-head p{margin:7px 0 0;font-size:10px;line-height:1.55}.dashboard-card-head .text-button{display:inline-flex;align-items:center;gap:7px;flex:none;padding:5px 0;font-size:11px;font-weight:700}.dashboard-card-head .text-button span{font-size:14px}
.dashboard-action-list{margin-top:19px}.dashboard-action-item{min-height:72px;padding:14px 2px}.dashboard-action-item .dot{width:34px;height:34px;border-radius:8px;font:700 9px/1 ui-monospace,Consolas,monospace}.dashboard-action-item strong{font-size:12px;line-height:1.55}.dashboard-action-item small{font-size:10px;line-height:1.5}.dashboard-action-item button{display:inline-flex;align-items:center;gap:6px;border-color:#c9d8d0;border-radius:4px;padding:8px 10px;font-size:10px;font-weight:700}.dashboard-empty-action{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:148px;padding:25px 26px;border:1px solid #dce7e1;border-radius:6px;background:linear-gradient(135deg,#f7fbf8 0%,#fbfcfb 100%)}.dashboard-empty-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#dfeee6;color:var(--green);font-size:20px;font-weight:800}.dashboard-empty-action strong{display:block;margin-bottom:7px;color:#183328;font-size:14px}.dashboard-empty-action p{max-width:520px;margin:0;color:#68776f;font-size:11px;line-height:1.7}.dashboard-empty-action .primary{white-space:nowrap;padding:10px 14px;font-size:11px}
.dashboard-flow-list{position:relative;margin-top:18px}.dashboard-flow-list:before{content:"";position:absolute;left:17px;top:20px;bottom:21px;width:1px;background:#d8e4dd}.dashboard-flow-list li{position:relative;gap:15px;padding:13px 0;border-top:0}.dashboard-flow-list b{position:relative;z-index:1;flex:0 0 34px;width:34px;height:34px;border:5px solid #fff;background:#e4f0e9;font-size:10px}.dashboard-flow-list li>div{padding-top:2px}.dashboard-flow-list strong{font-size:12px;line-height:1.4}.dashboard-flow-list small{margin-top:4px;font-size:10px;line-height:1.45}
@media(max-width:1180px){.dashboard-workspace{grid-template-columns:1fr}.dashboard-flow-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.dashboard-flow-list:before{display:none}.dashboard-flow-list li{align-items:flex-start;flex-direction:column;padding:12px;border:1px solid var(--line);border-radius:5px}.dashboard-flow-list b{border:0}}
@media(max-width:760px){.dashboard-heading{align-items:stretch;flex-direction:column;margin-top:0}.dashboard-entry{justify-content:space-between}.dashboard-stats .dashboard-stat{min-height:125px}.dashboard-empty-action{grid-template-columns:auto 1fr;padding:20px}.dashboard-empty-action .primary{grid-column:1/-1;width:100%}.dashboard-flow-list{grid-template-columns:1fr}.dashboard-flow-list li{flex-direction:row}.dashboard-flow-list b{flex:0 0 30px;width:30px;height:30px}}

/* Dashboard without explanatory microcopy */
.dashboard-heading{align-items:center;margin-bottom:18px}.dashboard-stats .dashboard-stat{min-height:118px;padding-bottom:20px}.dashboard-stats .dashboard-stat>strong{margin-bottom:0}.dashboard-actions-card,.dashboard-flow-card{padding-top:22px}.dashboard-action-list{margin-top:16px}.dashboard-empty-action{min-height:112px;padding-top:20px;padding-bottom:20px}.dashboard-empty-action strong{margin-bottom:0}.dashboard-flow-list{margin-top:14px}.dashboard-flow-list li{padding-top:11px;padding-bottom:11px}.dashboard-flow-list li>div{display:flex;align-items:center;min-height:34px;padding-top:0}

/* Enterprise library: clean overview, focused lists and modal editing. */
.enterprise-page{font-family:"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}.enterprise-heading{align-items:center;margin-bottom:16px}.enterprise-heading h2{margin:0;color:#183328;font:700 28px/1.25 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;letter-spacing:.01em}.enterprise-heading .status-chip{padding:7px 12px;font-size:11px;font-weight:700}.enterprise-page .company-switcher{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px 20px;border:1px solid #d9e3dd;border-left:4px solid var(--green);border-radius:8px;box-shadow:0 8px 24px rgba(24,53,40,.045)}.enterprise-page .company-select-label{width:min(620px,100%);gap:8px}.enterprise-page .company-select-label>span{color:#53645b;font-size:11px;font-weight:700}.enterprise-page .company-select-label select{height:44px;border-radius:6px;background:#fbfcfb;color:#173f30;font-size:14px;font-weight:700}.enterprise-page .primary,.enterprise-page .secondary-action,.enterprise-modal .primary,.enterprise-modal .ghost-action{min-height:42px;border-radius:6px;padding:10px 16px;font-size:12px;font-weight:700}.secondary-action,.ghost-action{border:1px solid #b9cec2;background:#fff;color:var(--green)}.secondary-action:hover,.ghost-action:hover{border-color:#7ca58f;background:#f3f8f5}.enterprise-empty{margin-top:0;border-radius:8px;padding:68px 24px}.enterprise-page .enterprise-summary-card{display:block;margin-bottom:18px;padding:26px;border-radius:8px;background:#fff}.company-profile-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px}.company-monogram{display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:#e5f1ea;color:var(--green);font-size:21px;font-weight:800}.company-eyebrow{display:block;margin-bottom:5px;color:#658075;font-size:10px;font-weight:700}.company-profile-main h3{margin:0;color:#172b22;font:700 19px/1.4 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}.company-profile-main p{margin:4px 0 0;color:#69776f;font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.company-profile-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:22px 0 18px;overflow:hidden;border:1px solid #e1e8e4;border-radius:7px;background:#e1e8e4}.company-profile-details>div{min-height:72px;padding:14px 16px;background:#fafcfb}.company-profile-details span,.company-profile-details strong{display:block}.company-profile-details span{margin-bottom:7px;color:#718078;font-size:10px}.company-profile-details strong{overflow:hidden;color:#2a3931;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.enterprise-page .inventory-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.enterprise-page .inventory-stats>div{min-height:76px;padding:13px 15px;border:1px solid #e0e8e3;border-radius:7px;background:#f8fbf9;text-align:left}.enterprise-page .inventory-stats strong{font:700 23px/1.2 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}.enterprise-page .inventory-stats span{margin-top:6px;font-size:10px}.inventory-ready strong{font-size:15px!important}.inventory-ready.ready{background:#edf7f1!important}.inventory-ready.pending{background:#fbf5e9!important}.inventory-ready.pending strong{color:#9a681d}.enterprise-page .enterprise-records{padding:0;border-radius:8px}.enterprise-page .enterprise-tabs{display:flex;gap:2px;padding:0 22px;border-bottom:1px solid #dfe6e2;background:#fbfcfb}.enterprise-page .enterprise-tabs button{padding:16px 18px;font-size:12px}.enterprise-page .enterprise-tabs button.active:after{left:16px;right:16px;height:3px;border-radius:3px 3px 0 0}.enterprise-page .enterprise-tabs span{height:21px;min-width:21px;font-size:10px}.enterprise-page .enterprise-tab-panel{padding:22px 24px 26px}.record-list-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.record-list-head h3{margin:0;color:#20342a;font:700 16px/1.4 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}.enterprise-page .record-preview{margin:0;border:1px solid #e1e7e3;border-radius:7px;overflow:hidden}.enterprise-record-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(180px,.35fr);align-items:center;gap:14px;min-height:76px;padding:14px 17px;border-bottom:1px solid #e7ece9;background:#fff}.enterprise-record-row:last-child{border-bottom:0}.enterprise-record-row:hover{background:#fafcfb}.record-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#e8f2ec;color:var(--green);font-size:12px;font-weight:800}.record-copy strong,.record-copy span,.record-aside strong,.record-aside span{display:block}.record-copy strong{color:#1d3027;font-size:13px;line-height:1.5}.record-copy span,.record-aside span{margin-top:5px;color:#718078;font-size:10px;line-height:1.45}.record-aside{text-align:right}.record-aside strong{color:#3a4a42;font-size:11px}.record-empty{display:flex;min-height:160px;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#738078}.record-empty strong{font-size:13px;color:#4b5c53}.record-empty span{font-size:10px}.modal-open{overflow:hidden}.enterprise-modal[hidden]{display:none!important}.enterprise-modal{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:24px;background:rgba(10,30,21,.52);backdrop-filter:blur(2px)}.enterprise-modal-panel{width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #d7e1db;border-radius:10px;background:#fff;box-shadow:0 24px 70px rgba(7,28,18,.25)}.enterprise-modal-panel.modal-wide{width:min(760px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px 17px;border-bottom:1px solid #e4e9e6}.modal-head span{display:block;margin-bottom:5px;color:#658075;font-size:10px;font-weight:700}.modal-head h3{margin:0;color:#172d23;font:700 19px/1.35 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}.modal-close{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#f0f4f2;color:#506158;font-size:23px;line-height:1}.modal-close:hover{background:#e4ece7}.modal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px;padding:22px 24px}.modal-form-grid .span-2{grid-column:1/-1}.modal-form-grid label{gap:8px;color:#34463d;font-size:11px}.modal-form-grid em{color:var(--danger);font-style:normal}.modal-form-grid input,.modal-form-grid select{height:42px;border-radius:6px;background:#fcfdfc}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px 22px;border-top:1px solid #eef1ef}.enterprise-modal .ghost-action{min-width:82px}.enterprise-modal .primary{min-width:110px}#toast{z-index:90}
@media(max-width:1050px){.company-profile-details{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-page .inventory-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.enterprise-heading{align-items:center;flex-direction:row}.enterprise-heading h2{font-size:24px}.enterprise-page .company-switcher{align-items:stretch;flex-direction:column}.enterprise-page .company-switcher .primary{width:100%}.company-profile-main{grid-template-columns:auto 1fr}.company-profile-main .secondary-action{grid-column:1/-1;width:100%}.company-profile-details{grid-template-columns:1fr}.enterprise-page .inventory-stats{grid-template-columns:1fr 1fr}.enterprise-page .enterprise-tabs{padding:0 8px;overflow:auto}.enterprise-page .enterprise-tab-panel{padding:18px 16px 20px}.enterprise-record-row{grid-template-columns:auto minmax(0,1fr)}.record-aside{grid-column:2;text-align:left}.enterprise-modal{padding:12px}.enterprise-modal-panel{max-height:calc(100vh - 24px)}.modal-form-grid{grid-template-columns:1fr;padding:18px}.modal-form-grid .span-2{grid-column:auto}.modal-head{padding:18px}.modal-actions{padding:14px 18px 18px}.modal-actions>*{flex:1}}

/* Keep modal field labels and controls on a shared baseline. */
.modal-form-grid{align-items:start}
.modal-form-grid label{display:grid;grid-template-rows:18px auto;align-content:start;gap:7px;min-width:0}
.modal-form-grid label>span{display:flex;align-items:center;gap:4px;min-height:18px;line-height:18px}
.modal-form-grid input,.modal-form-grid select{width:100%;min-width:0}
.date-control{position:relative;display:flex;align-items:center;width:100%;min-width:0;height:46px;padding:0 42px 0 14px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fcfdfc;color:#23372e;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.date-control:hover{border-color:#9ab9a9;background:#fff}.date-control:focus-within{border-color:var(--green);background:#fff;box-shadow:0 0 0 3px var(--green-2)}.date-control-display{display:block;min-width:0;overflow:hidden;color:#22362d;font-size:12px;font-weight:600;line-height:1;text-overflow:ellipsis;white-space:nowrap}.date-control-display.placeholder{color:#819087;font-weight:500}.date-control-icon{position:absolute;right:13px;top:50%;width:16px;height:16px;transform:translateY(-50%);border:1.5px solid #587066;border-radius:3px;pointer-events:none}.date-control-icon:before{content:"";position:absolute;left:-1px;right:-1px;top:3px;border-top:1.5px solid #587066}.date-control-icon:after{content:"";position:absolute;left:3px;top:-3px;width:6px;height:4px;border-left:1.5px solid #587066;border-right:1.5px solid #587066}.date-control>input{position:absolute!important;inset:0!important;z-index:2!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;opacity:0!important;cursor:pointer!important}.date-control>input:disabled{cursor:not-allowed!important}.analysis-history-filters .date-control{height:36px;border-radius:4px}.analysis-history-filters .date-control-display{font-size:10px}.analysis-history-filters .analysis-date-filter .date-control{min-width:120px}.person-registration-specialty .date-control{height:40px;background:#fff}.person-registration-specialty .date-control-display{font-size:10px}
.license-modal-panel{width:min(720px,100%)!important}.license-form-guide{display:flex;align-items:flex-start;gap:10px;margin:20px 24px 0;padding:13px 15px;border:1px solid #dce8e1;border-left:3px solid var(--green);border-radius:6px;background:#f6faf8}.license-form-guide strong,.license-form-guide span{display:block}.license-form-guide strong{flex:none;color:#173f30;font-size:12px}.license-form-guide span{color:#63736b;font-size:10px;line-height:1.6}.license-form-grid{padding-top:17px}.license-form-grid label[hidden]{display:none!important}.license-form-grid input[readonly]{background:#f3f6f4;color:#526159;cursor:not-allowed}.license-form-grid textarea{min-height:84px;border-radius:6px;background:#fcfdfc}.license-form-grid textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-2)}
.license-form-grid .license-attachment-field{grid-template-rows:18px auto auto auto}.modal-form-grid .record-attachment-field{grid-template-rows:18px auto auto}.license-attachment-field input[type="file"],.record-attachment-field input[type="file"]{min-height:46px;padding:6px;border-style:dashed;background:#fafcfb;color:#617168}.license-attachment-field input[type="file"]::file-selector-button,.record-attachment-field input[type="file"]::file-selector-button{height:32px;margin-right:12px;padding:0 14px;border:1px solid #b9cfc3;border-radius:4px;background:#fff;color:var(--green);font-weight:700;cursor:pointer}.license-attachment-field small,.record-attachment-field small{color:#7a8780;font-size:9px;font-weight:400;line-height:1.5}
.certificate-attachment-upload{margin:-2px 0 2px;padding:13px 14px;border:1px dashed #b9d0c3;border-radius:7px;background:#f7fbf9}.certificate-attachment-upload input[type="file"]{background:#fff}
.existing-certificate-attachment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #cfe0d7;border-radius:5px;background:#fff}.existing-certificate-attachment[hidden]{display:none}.existing-certificate-attachment span{min-width:0;overflow:hidden;color:#40594d;font-size:10px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.existing-certificate-attachment button{flex:0 0 auto;padding:6px 10px;border:1px solid #b9cec2;border-radius:4px;background:#fff;color:var(--green);font-size:9px;font-weight:700;cursor:pointer}.existing-certificate-attachment button:hover{background:#f2f8f5}
.license-qualification-section{display:grid;gap:12px;padding:14px;border:1px solid #d7e5dd;border-radius:7px;background:#f8fbf9}.license-qualification-section[hidden]{display:none}.license-qualification-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.license-qualification-head>div{display:grid;gap:3px}.license-qualification-head strong{color:#173f30;font-size:11px}.license-qualification-head strong em{color:#bf3830;font-style:normal}.license-qualification-head span{color:#74827a;font-size:9px}.license-qualification-head .secondary-action{min-height:34px;padding:7px 12px;font-size:10px}.license-qualification-items{display:grid;gap:8px}.license-qualification-item{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(120px,.7fr) auto;gap:9px;align-items:center}.license-qualification-item input,.license-qualification-item select{height:42px;background:#fff}.license-qualification-item button{height:34px;padding:0 8px;border:0;background:transparent;color:#a33b32;font-size:9px;font-weight:700;cursor:pointer}.license-qualification-item button:hover{text-decoration:underline}.license-qualification-item-index{display:none}.license-form-grid>.license-qualification-section+label[hidden]{display:none!important}
@media(max-width:620px){.license-qualification-head{align-items:flex-start;flex-direction:column}.license-qualification-item{grid-template-columns:1fr 110px}.license-qualification-item button{grid-column:1/-1;justify-self:end}}
.personnel-modal-panel{max-width:960px}.personnel-base-section{border-bottom:1px solid #e6ece8}.personnel-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px 0}.personnel-section-title>div{display:grid;gap:4px}.personnel-section-title strong{color:#173f30;font-size:13px}.personnel-section-title span{color:#75847c;font-size:10px}.personnel-section-title .secondary-action{flex:0 0 auto}.personnel-base-grid{padding-top:14px}.personnel-certificates-section{padding-bottom:6px}.person-certificate-list{display:grid;gap:14px;padding:14px 24px 22px}.person-certificate-card{overflow:hidden;border:1px solid #dce7e1;border-radius:8px;background:#fbfdfc}.person-certificate-card-head{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-bottom:1px solid #e4ece8;background:#f3f8f5}.person-certificate-card-head strong{color:#244b3a;font-size:11px}.person-certificate-card-head button{border:0;background:transparent;color:#a33b32;font-size:9px;font-weight:700;cursor:pointer}.person-certificate-card-head button:hover{text-decoration:underline}.person-certificate-grid{padding:14px}.person-certificate-grid .record-attachment-field{grid-column:1/-1}
.person-certificate-guide{padding:9px 14px;border-bottom:1px solid #e4ece8;background:#fff;color:#65776e;font-size:9px}.person-certificate-grid>[hidden]{display:none!important}.person-registration-section{display:grid;gap:9px;padding:12px;border:1px solid #d9e5df;border-radius:6px;background:#f6faf8}.person-registration-section[hidden]{display:none}.person-registration-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.person-registration-head>div{display:grid;gap:3px}.person-registration-head strong{color:#244b3a;font-size:10px}.person-registration-head strong em{color:#bf3830;font-style:normal}.person-registration-head span{color:#718078;font-size:9px}.person-registration-head .secondary-action{min-height:32px;padding:6px 10px;font-size:9px}.person-registration-columns,.person-registration-specialty{display:grid;grid-template-columns:minmax(150px,1fr) 135px 135px 42px;gap:8px;align-items:center}.person-registration-columns{padding:0 2px;color:#77857e;font-size:8px}.person-registration-specialty+ .person-registration-specialty{margin-top:7px}.person-registration-specialty input{height:40px;background:#fff}.person-registration-specialty button{height:32px;padding:0;border:0;background:transparent;color:#a33b32;font-size:9px;font-weight:700;cursor:pointer}.person-registration-specialty button:hover{text-decoration:underline}.person-registration-specialty button[hidden]{visibility:hidden;display:block}
@media(max-width:720px){.person-registration-columns{display:none}.person-registration-specialty{grid-template-columns:1fr 1fr}.person-registration-specialty button{grid-column:1/-1;justify-self:end}}
.modal-actions{align-items:center}
.analysis-page{--analysis-blue:#0f6edb}.analysis-toolbar-actions,.analysis-file-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.analysis-toolbar-actions a{text-decoration:none}.analysis-title-row,.analysis-results-head,.analysis-evidence-head,.analysis-run-bar,.analysis-confirm-bar{display:flex;align-items:center;justify-content:space-between;gap:18px}.analysis-header-card{padding:26px}.analysis-title-row h3{font-size:24px;margin:5px 0}.analysis-title-row p{margin:0;color:var(--muted)}.analysis-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);margin-top:22px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.analysis-metrics div{background:#fff;padding:17px}.analysis-metrics span{display:block;color:var(--muted);font-size:12px}.analysis-metrics strong{display:block;font-size:20px;margin-top:6px}.analysis-files-card,.analysis-module-card{margin-top:16px}.analysis-file-actions select{min-width:190px}.analysis-file-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.analysis-file-item{border:1px solid var(--line);border-radius:8px;padding:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;background:#fff}.analysis-file-item strong,.analysis-file-item small{display:block}.analysis-file-item small{color:var(--muted);margin-top:5px}.analysis-file-item.required{border-left:3px solid var(--analysis-blue)}.analysis-alert{padding:12px 14px;margin-bottom:12px;border-radius:7px;background:#fff4e6;color:#8a4d00;border:1px solid #f3c98b}.analysis-run-bar,.analysis-confirm-bar{margin-top:16px;padding:15px 0 0;border-top:1px solid var(--line)}.analysis-run-bar small,.analysis-confirm-bar small{display:block;color:var(--muted);margin-top:4px}.analysis-module-tabs{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid var(--line);margin:-22px -22px 0}.analysis-module-tabs button{position:relative;padding:20px 10px;border:0;background:#fff;font-weight:700;color:#263a34}.analysis-module-tabs button.active{color:var(--analysis-blue)}.analysis-module-tabs button.active::after{content:"";position:absolute;left:20%;right:20%;bottom:-1px;height:2px;background:var(--analysis-blue)}.analysis-module-tabs i{display:inline-block;width:8px;height:8px;border:1px solid #5cab68;border-radius:50%;margin-left:5px}.analysis-section-tabs{display:flex;gap:10px;padding:14px 0;border-bottom:1px solid var(--line);overflow:auto}.analysis-section-tabs button{white-space:nowrap;padding:7px 13px}.analysis-section-tabs button.active{background:var(--analysis-blue);border-color:var(--analysis-blue);color:#fff}.analysis-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);min-height:540px}.analysis-results{padding:20px 20px 0 0}.analysis-results-head h3,.analysis-evidence-head h3{margin:0}.analysis-results-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.analysis-evidence{border-left:1px solid var(--line);padding:20px;background:#f8faf9}.analysis-result-item{display:grid;grid-template-columns:minmax(140px,.32fr) minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid var(--line)}.analysis-result-item:hover{background:#fbfdfc}.analysis-result-label strong,.analysis-result-label small{display:block}.analysis-result-label small{color:var(--muted);margin-top:4px}.analysis-result-value{cursor:pointer;word-break:break-word;line-height:1.6}.analysis-result-actions{display:flex;gap:6px}.analysis-result-actions button{padding:6px 9px;font-size:12px}.analysis-result-actions .confirmed{color:#167548;border-color:#91c9aa}.analysis-evidence-content{margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:7px;min-height:390px;padding:22px;line-height:1.8}.analysis-evidence-content blockquote{margin:16px 0;padding:16px;border-left:3px solid var(--analysis-blue);background:#f2f7fc}.analysis-evidence-content mark{background:#ffef8a;padding:2px}.analysis-evidence-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:12px;color:var(--muted)}.analysis-confirm-bar{justify-content:flex-end}.analysis-confirm-bar>div{margin-right:auto}.analysis-case-list table small{display:block;color:var(--muted);margin-top:4px}.dashboard-flow-list li b,.dashboard-flow-list li:last-child b{background:#e7f2ed!important;color:#0e5b45!important;border:0!important}
@media(max-width:1100px){.analysis-split{grid-template-columns:1fr}.analysis-evidence{border-left:0;border-top:1px solid var(--line)}.analysis-file-list{grid-template-columns:1fr 1fr}.analysis-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.analysis-module-tabs{display:flex;overflow:auto}.analysis-module-tabs button{min-width:140px}.analysis-file-list,.analysis-metrics{grid-template-columns:1fr}.analysis-result-item{grid-template-columns:1fr}.analysis-file-actions,.analysis-title-row,.analysis-run-bar,.analysis-confirm-bar{align-items:stretch;flex-direction:column}.analysis-confirm-bar>div{margin-right:0}}

/* Tender document analysis: import-first workspace with details on demand. */
.analysis-page{--analysis-blue:var(--green);font-family:"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif}
.analysis-page-heading{align-items:center;margin-bottom:18px}.analysis-page-heading h2{font:700 28px/1.25 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;color:#173328}.analysis-page-heading p{display:none}
.analysis-toolbar-actions{gap:8px}.analysis-nav-action{display:inline-flex;align-items:center;justify-content:center;min-width:116px;min-height:40px;padding:0 16px;border:1px solid transparent;border-radius:6px;font:700 14px/1 "Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;white-space:nowrap;cursor:pointer;box-shadow:none;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.analysis-nav-action[hidden]{display:none!important}.analysis-nav-action:focus-visible{outline:3px solid rgba(16,91,65,.18);outline-offset:2px}.analysis-nav-back{background:transparent;border-color:transparent;color:#52635b}.analysis-nav-back:hover{background:#e8eeeb;color:#173b2f}.analysis-nav-source{background:#0e5b45;border-color:#0e5b45;color:#fff}.analysis-nav-source:hover{background:#0a4937;border-color:#0a4937;color:#fff}
.analysis-case-list{padding:0;overflow:hidden;border-radius:8px}.analysis-case-list>.card-head{padding:20px 22px;border-bottom:1px solid var(--line)}.analysis-case-list .table-wrap{padding:0 10px 10px}.analysis-case-list th,.analysis-case-list td{padding:14px 12px}
.analysis-case-list>.card-head .primary{min-height:40px;padding:9px 15px;border-radius:6px;font-size:12px}.analysis-create-modal .enterprise-modal-panel{width:min(650px,100%)}
.analysis-header-card{padding:24px 26px;border-radius:8px}.analysis-title-row{align-items:flex-start}.analysis-title-row h3{max-width:820px;margin:0;color:#172e24;font-size:21px;line-height:1.45}.analysis-title-row p{margin-top:7px;font-size:11px}.analysis-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:none}.analysis-title-actions .text-button{min-height:34px;padding:0 13px;border:1px solid #cbdad2;border-radius:5px;background:#fff;color:#155b42;font-size:11px;font-weight:700}.analysis-title-actions .text-button:hover{border-color:#7dab94;background:#f3f8f5}.analysis-title-actions .text-button span{display:inline-block;min-width:18px;margin-left:5px;padding:2px 6px;border-radius:10px;background:#e6f1eb;text-align:center}
.analysis-stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:24px;border-top:1px solid #dde6e1}.analysis-stepper>div{position:relative;display:flex;align-items:center;gap:9px;padding-top:17px;color:#839088;font-size:11px;font-weight:700}.analysis-stepper>div:before{content:"";position:absolute;top:-2px;left:0;width:100%;height:3px;background:transparent}.analysis-stepper b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf1ef;color:#728078;font:700 10px/1 ui-monospace,Consolas,monospace}.analysis-stepper .active{color:#173c2e}.analysis-stepper .active:before,.analysis-stepper .done:before{background:#2b8060}.analysis-stepper .active b{background:#175d43;color:#fff}.analysis-stepper .done{color:#3c715b}.analysis-stepper .done b{background:#e3f0e9;color:#176044}
.analysis-workbench-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:16px;margin-top:16px}.analysis-import-card,.analysis-next-card,.analysis-overview-card{border-radius:8px}.analysis-import-card,.analysis-next-card{min-height:286px}.analysis-card-title{display:flex;align-items:flex-start;gap:13px}.analysis-card-title>div{min-width:0;flex:1}.analysis-card-title h3{margin:1px 0 0;color:#1d3329;font-size:16px;line-height:1.4}.analysis-card-title p{margin:6px 0 0;color:#718078;font-size:10px;line-height:1.55}.analysis-index{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:#e5f1ea;color:#175d43;font:700 10px/1 ui-monospace,Consolas,monospace}
.analysis-import-card .analysis-alert{margin:18px 0 0;padding:10px 12px;font-size:11px}.analysis-upload-grid{display:grid;grid-template-columns:minmax(150px,.48fr) minmax(230px,1fr) auto;align-items:end;gap:12px;margin-top:19px}.analysis-upload-grid label{min-width:0;gap:8px;font-size:11px}.analysis-upload-grid select,.analysis-upload-grid .primary,.analysis-file-picker strong{height:42px;border-radius:6px}.analysis-file-picker{position:relative;cursor:pointer;overflow:hidden}.analysis-file-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.analysis-file-picker strong{display:flex;align-items:center;width:100%;min-width:0;padding:0 12px;overflow:hidden;border:1px dashed #b9c9c0;background:#fafcfb;color:#65746c;font-size:11px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.analysis-file-picker:hover strong,.analysis-file-picker:focus-within strong{border-color:#5d9a7d;background:#f3f8f5;color:#174e39}.analysis-main-file{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding:14px 15px;border:1px solid #e0e8e3;border-radius:7px;background:#f8fbf9}.analysis-main-file span,.analysis-main-file strong{display:block}.analysis-main-file span{margin-bottom:5px;color:#708078;font-size:10px}.analysis-main-file strong{overflow:hidden;color:#293b32;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.analysis-main-file button{flex:none;font-size:11px;font-weight:700}
.analysis-next-card{display:flex;flex-direction:column}.analysis-next-state{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;padding:26px 8px 18px;text-align:center}.analysis-next-state strong{color:#173a2c;font-size:18px}.analysis-next-state span{max-width:290px;margin-top:8px;color:#718078;font-size:11px;line-height:1.65}.analysis-next-card>.primary{width:100%;min-height:44px;border-radius:6px}
.analysis-overview-card{margin-top:16px;padding:24px}.analysis-overview-card>.analysis-card-title{align-items:center}.analysis-overview-card>.analysis-card-title>strong{margin-left:auto;color:#50645a;font-size:11px}.analysis-module-overview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:20px}.analysis-module-overview button{min-width:0;min-height:96px;padding:14px;text-align:left;border:1px solid #dce5e0;border-radius:7px;background:#fafcfb;color:#26392f;transition:.16s}.analysis-module-overview button:hover{border-color:#8ab39f;background:#f2f8f4;transform:translateY(-1px)}.analysis-module-overview span,.analysis-module-overview strong,.analysis-module-overview small{display:block}.analysis-module-overview span{font-size:11px;font-weight:700}.analysis-module-overview strong{margin-top:10px;color:#175d43;font-size:20px}.analysis-module-overview small{margin-top:4px;color:#7a8780;font-size:9px}.analysis-overview-card .analysis-metrics{margin-top:16px;border-radius:7px}.analysis-overview-card .analysis-metrics div{padding:14px 15px}.analysis-overview-card .analysis-metrics strong{font-size:17px}.analysis-overview-card .analysis-confirm-bar{align-items:center;margin-top:18px;padding-top:18px}.analysis-overview-card .analysis-confirm-bar strong{font-size:12px}.analysis-overview-card .analysis-confirm-bar small{font-size:10px}
.analysis-detail-modal{--analysis-blue:var(--green)}.analysis-detail-modal .analysis-file-list{grid-template-columns:repeat(2,minmax(0,1fr));padding:22px 24px}.analysis-detail-modal .analysis-file-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;justify-content:stretch;padding:15px}.analysis-file-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#e7f1eb;color:#14543c;font-size:10px;font-weight:800}.analysis-detail-modal .analysis-file-item button{border:0;background:transparent;color:var(--green);font-size:11px;font-weight:700}
.analysis-results-panel{width:min(1180px,100%);overflow:hidden}.analysis-detail-body{padding:0 24px 22px}.analysis-results-panel .analysis-module-tabs{margin:0 -24px;background:#fff}.analysis-results-panel .analysis-module-tabs button{padding:16px 10px;font-size:12px}.analysis-results-panel .analysis-section-tabs{padding:12px 0}.analysis-results-panel .analysis-split{min-height:470px;max-height:calc(100vh - 260px);overflow:hidden}.analysis-results-panel .analysis-results,.analysis-results-panel .analysis-evidence{overflow:auto}.analysis-results-panel .analysis-result-value{border:0;background:transparent;padding:0;text-align:left;color:#21362c;font-size:12px}.analysis-results-panel .analysis-result-value:hover{color:#0e6a49}.analysis-results-panel .analysis-evidence-content{min-height:300px}
@media(max-width:1180px){.analysis-workbench-grid{grid-template-columns:1fr}.analysis-import-card,.analysis-next-card{min-height:0}.analysis-next-state{min-height:145px}.analysis-module-overview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.analysis-page-heading{align-items:stretch;flex-direction:column}.analysis-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.analysis-nav-action{width:100%}.analysis-title-actions{justify-content:space-between}.analysis-stepper{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px}.analysis-upload-grid{grid-template-columns:1fr}.analysis-main-file{align-items:flex-start;flex-direction:column}.analysis-module-overview{grid-template-columns:1fr 1fr}.analysis-detail-modal .analysis-file-list{grid-template-columns:1fr;padding:16px}.analysis-detail-body{padding:0 16px 16px}.analysis-results-panel .analysis-module-tabs{margin:0 -16px}.analysis-results-panel .analysis-split{max-height:none;overflow:visible}.analysis-results-panel .analysis-results,.analysis-results-panel .analysis-evidence{overflow:visible}}

/* Side-by-side tender document review workbench. */
.analysis-review-card{margin-top:16px;padding:0;overflow:hidden;border-radius:8px}
.analysis-review-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;border-bottom:1px solid #e1e8e4}.analysis-review-heading>div:first-child{display:flex;align-items:center;gap:13px}.analysis-review-heading h3{margin:0;color:#1d3329;font-size:16px}.analysis-review-heading p{margin:5px 0 0;color:#718078;font-size:10px}.analysis-review-summary{text-align:right}.analysis-review-summary span,.analysis-review-summary small{display:block}.analysis-review-summary span{color:#5b6b63;font-size:11px}.analysis-review-summary span strong{margin-left:4px;color:#b45309;font-size:16px}.analysis-review-summary small{margin-top:5px;color:#7c8982;font-size:10px}
.analysis-review-card .analysis-module-tabs{margin:0;border-bottom-color:#dce5e0}.analysis-review-card .analysis-module-tabs button{min-height:52px;padding:16px 10px;font-size:12px}.analysis-review-card .analysis-module-tabs button b{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:7px;padding:0 5px;border-radius:10px;background:#edf2ef;color:#67766f;font:700 9px/1 ui-monospace,Consolas,monospace}.analysis-review-card .analysis-module-tabs button.active b{background:#e1f0e8;color:#176044}.analysis-review-card .analysis-module-tabs button.active:after{left:0;right:0;height:3px;background:#1482e6}.analysis-review-card .analysis-module-tabs i{vertical-align:1px}
.analysis-review-body{padding:0 0 0 22px}.analysis-review-body .analysis-section-tabs{padding:12px 0}.analysis-review-body .analysis-section-tabs button{border-radius:4px;font-size:11px}.analysis-review-body .analysis-section-tabs button.active{background:#1482e6;border-color:#1482e6}
.analysis-review-body .analysis-split{grid-template-columns:minmax(480px,1fr) minmax(480px,1fr);height:clamp(690px,calc(100vh - 190px),900px);min-height:690px;overflow:hidden}.analysis-review-body .analysis-results{display:flex;min-width:0;min-height:0;flex-direction:column;padding:18px 20px 18px 0}.analysis-review-body .analysis-results-head{align-items:flex-start;padding:0 2px 12px}.analysis-review-body .analysis-results-head h3{font-size:15px}.analysis-review-body .analysis-results-head p{max-width:470px}.analysis-review-body .analysis-results-head>span{flex:none;padding:5px 9px;border-radius:12px;background:#f0f4f2;color:#607069;font-size:10px}.analysis-review-body #analysis-result-list{flex:1;min-height:0;overflow:auto;border:1px solid #e0e7e3;border-radius:5px}
.analysis-review-body .analysis-result-item{grid-template-columns:minmax(130px,.34fr) minmax(0,1fr) auto;gap:0;padding:0;border-bottom-color:#e4eae7}.analysis-review-body .analysis-result-item:last-child{border-bottom:0}.analysis-review-body .analysis-result-item.selected{background:#f0f7ff;box-shadow:inset 3px 0 #1482e6}.analysis-review-body .analysis-result-label{align-self:stretch;padding:13px 12px;background:#f7f9f8;border-right:1px solid #e4eae7}.analysis-review-body .analysis-result-item.selected .analysis-result-label{background:#eaf4ff}.analysis-review-body .analysis-result-label strong{font-size:11px;line-height:1.5}.analysis-review-body .analysis-result-label strong em{display:inline-block;margin-left:4px;padding:1px 4px;border-radius:3px;background:#fff0dd;color:#a85c00;font-size:8px;font-style:normal}.analysis-review-body .analysis-result-label small{font-size:9px}.analysis-review-body .analysis-result-value{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;padding:12px;border:0;background:transparent;text-align:left;color:#087bed}.analysis-review-body .analysis-result-value span{min-width:0;font-size:11px;line-height:1.65;word-break:break-word}.analysis-review-body .analysis-result-value small{flex:none;margin-top:2px;color:#7d8b84;font-size:9px;white-space:nowrap}.analysis-review-body .analysis-result-actions{align-self:center;padding-right:9px}.analysis-review-body .analysis-result-actions button{border-radius:4px;background:#fff;font-size:9px}.analysis-review-body .analysis-confirm-bar{justify-content:flex-end;margin-top:12px;padding-top:12px}
.analysis-review-body .analysis-evidence{display:flex;min-width:0;min-height:0;height:100%;overflow:hidden;flex-direction:column;padding:0;border-left-color:#dce4e0;background:#f5f7f6}.analysis-review-body .analysis-evidence-head{min-height:50px;flex:none;padding:0 14px;background:#fff;border-bottom:1px solid #dfe6e2}.analysis-review-body .analysis-evidence-head h3{color:#1482e6;font-size:13px}.analysis-review-body .analysis-evidence-head span{color:#607069;font-size:10px}
.analysis-document-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px;padding:0 12px;border-bottom:1px solid #dfe6e2;background:#f1f3f2}.analysis-document-toolbar>strong{min-width:0;overflow:hidden;color:#3e4e46;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.analysis-document-toolbar>div{display:flex;align-items:center;gap:5px;flex:none}.analysis-document-toolbar button{min-width:27px;height:27px;padding:0 7px;border-color:#d4dcd8;border-radius:3px;background:#fff;font-size:11px}.analysis-document-toolbar button.active{border-color:#1482e6;background:#1482e6;color:#fff}.analysis-document-toolbar button:disabled{opacity:.45}.analysis-document-toolbar span{min-width:42px;text-align:center;color:#43534b;font-size:10px}
.analysis-document-viewport{position:relative;flex:1 1 auto;min-height:420px;overflow:hidden;background:#e9ecea}.analysis-document-viewport iframe{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;border:0;background:#fff}.analysis-document-viewport iframe[hidden]{display:none}.analysis-document-viewport>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#6f7e76}.analysis-document-viewport>div[hidden]{display:none}.analysis-document-viewport>div strong{font-size:14px}.analysis-document-viewport>div span{max-width:280px;font-size:10px;text-align:center;line-height:1.6}
.analysis-document-viewport>.analysis-document-flow{position:absolute;inset:0;display:block;overflow:auto;padding:12px;background:#e9ecef;color:#24372e}.analysis-flow-page{margin:0 auto 12px;padding:18px 22px;border:1px solid #d7dfdb;background:#fff;box-shadow:0 2px 6px rgba(22,48,36,.08)}.analysis-flow-page header{position:sticky;top:-12px;z-index:2;margin:-18px -22px 14px;padding:8px 12px;border-bottom:1px solid #e3e9e6;background:#f6f8f7;color:#718078;font-size:10px}.analysis-flow-page div{font-size:12px;line-height:1.9;white-space:pre-wrap;word-break:break-word}.analysis-flow-loading{padding:30px;text-align:center;color:#718078;font-size:11px}
.analysis-review-body .analysis-evidence-content{flex:0 1 190px;max-height:220px;min-height:0;overflow:auto;margin:0;padding:12px 14px;border:0;border-top:1px solid #dfe6e2;border-radius:0;background:#fff;line-height:1.55}.analysis-review-body .analysis-evidence-meta{grid-template-columns:1fr auto;font-size:9px}.analysis-review-body .analysis-evidence-content blockquote{margin:9px 0 0;padding:9px 11px;border-left-color:#1482e6;background:#f3f8fd}.analysis-review-body .analysis-evidence-content blockquote span,.analysis-review-body .analysis-evidence-content blockquote mark{display:block}.analysis-review-body .analysis-evidence-content blockquote span{margin-bottom:5px;color:#708078;font-size:9px}.analysis-review-body .analysis-evidence-content blockquote mark{background:#fff2a8;color:#2d3a34;font-size:10px;line-height:1.65}.analysis-value-compare{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.analysis-value-compare p{margin:0;padding:7px 8px;background:#f7f9f8}.analysis-value-compare span,.analysis-value-compare strong{display:block}.analysis-value-compare span{color:#7b8881;font-size:8px}.analysis-value-compare strong{margin-top:3px;color:#35463e;font-size:9px;word-break:break-word}.analysis-formula,.analysis-proof{margin-top:8px;padding:9px 10px;border:1px solid #e1e8e4;border-radius:4px;background:#f8faf9}.analysis-formula span,.analysis-proof span{display:block;margin-bottom:5px;color:#74827b;font-size:9px}.analysis-formula code{display:block;color:#1f4d78;font:10px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word}.analysis-proof strong{color:#35463e;font-size:10px;line-height:1.6}.analysis-result-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-height:280px;border:0}.analysis-result-empty strong{font-size:13px}.analysis-result-empty span{color:#78867f;font-size:10px}
.analysis-chapter-tree section{border-bottom:1px solid #e3e9e6}.analysis-chapter-tree section:last-child{border-bottom:0}.analysis-chapter-tree h4{position:sticky;top:0;z-index:2;margin:0;padding:12px 14px;background:#f5f8f7;color:#1f342b;font-size:12px}.analysis-chapter-tree h4 span{display:inline-block;width:20px;color:#718078}.analysis-chapter-tree .analysis-tree-index{display:none}.analysis-chapter-tree .analysis-result-item{padding-left:22px}.analysis-chapter-tree .analysis-result-label{position:relative}.analysis-chapter-tree .analysis-result-label::before{content:"";position:absolute;left:-12px;top:0;bottom:0;border-left:1px solid #d9e2de}
@media(max-width:1280px){.analysis-review-body .analysis-split{grid-template-columns:minmax(420px,.9fr) minmax(460px,1.1fr)}}
@media(max-width:1050px){.analysis-review-body{padding-left:16px}.analysis-review-body .analysis-split{grid-template-columns:1fr;height:auto;max-height:none;overflow:visible}.analysis-review-body .analysis-evidence{min-height:650px;height:650px;border-left:0;border-top:1px solid #dce4e0}.analysis-review-heading{align-items:flex-start;flex-direction:column}.analysis-review-summary{text-align:left}}
@media(max-width:760px){.analysis-review-card .analysis-module-tabs{display:flex}.analysis-review-card .analysis-module-tabs button{min-width:135px}.analysis-review-body{padding-left:12px}.analysis-review-body .analysis-result-item{grid-template-columns:1fr}.analysis-review-body .analysis-result-label{border-right:0;border-bottom:1px solid #e4eae7}.analysis-review-body .analysis-result-actions{padding:0 12px 10px}.analysis-document-toolbar{align-items:flex-start;flex-direction:column;padding:9px 12px}.analysis-value-compare{grid-template-columns:1fr}}

/* File analysis home: three upload panels and analysis history. */
.analysis-home{display:grid;gap:12px}.analysis-home[hidden]{display:none!important}.analysis-batch-upload{padding:12px 12px 10px;border-radius:3px}.analysis-upload-context{display:flex;align-items:center;gap:12px;margin:0 0 10px;padding:8px 11px;border:1px solid #cfe0f2;background:#f3f8fe;color:#536375;font-size:11px}.analysis-upload-context strong{min-width:0;flex:1;overflow:hidden;color:#1e4f82;text-overflow:ellipsis;white-space:nowrap}.analysis-upload-context button{padding:3px 8px;border:0;background:transparent;color:#1482e6;font-size:10px}
.analysis-drop-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.analysis-drop-column{min-width:0}.analysis-drop-column>label{display:block;height:20px;color:#25374a;font-size:11px}.analysis-drop-column>label em{color:#e13d3d;font-style:normal}.analysis-drop-zone{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;height:133px;border:1px dashed #cdd8e5;border-radius:3px;background:#f5f7fa;color:#596979;cursor:pointer;transition:.15s}.analysis-drop-zone:hover,.analysis-drop-zone.dragging{border-color:#1684ef;background:#eff7ff}.analysis-drop-zone.has-file{border-color:#83baf0;background:#f4f9ff}.analysis-drop-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.analysis-upload-icon{display:grid;place-items:center;width:48px;height:43px;border-radius:8px;background:linear-gradient(180deg,#315fff,#6289ff);box-shadow:0 6px 12px rgba(48,94,240,.22);color:#fff;font:700 24px/1 Arial,sans-serif}.analysis-drop-zone strong{font-size:11px;font-weight:600}.analysis-drop-zone strong b{color:#0b7ff0;font-weight:500}.analysis-drop-zone small{color:#8b96a4;font-size:9px}.analysis-picked-file{display:flex;min-height:24px;align-items:center;gap:7px;padding:4px 7px;color:#73808d;font-size:9px;overflow-x:auto}.analysis-picked-file>.picked{display:inline-flex;align-items:center;gap:5px;max-width:100%;flex:none}.analysis-picked-file>.picked i{color:#718091;font-style:normal}.analysis-picked-file>.picked b{max-width:280px;overflow:hidden;color:#536173;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.analysis-picked-file>.picked small{color:#9aa4af}.analysis-picked-file>.picked button{padding:0;border:0;background:transparent;color:#9ea8b2;font-size:14px}.analysis-picked-file>.picked button:hover{color:#e33}
.analysis-batch-actions{display:flex;align-items:center;justify-content:center;min-height:35px;border-top:1px solid #edf0f3}.analysis-batch-actions p{position:absolute;left:34px;margin:0;color:#82909e;font-size:9px}.analysis-batch-actions .primary{min-width:74px;height:28px;padding:0 15px;border-radius:3px;background:#1684ef;font-size:10px}.analysis-batch-actions .primary:hover{background:#0877df}
.analysis-history-card{padding:0;overflow:hidden;border-radius:3px}.analysis-history-title{display:flex;align-items:center;height:33px;padding:0 12px;border-bottom:1px solid #dfe5ec;color:#25374a}.analysis-history-title>span{margin-right:5px;color:#1684ef}.analysis-history-title h3{margin:0;font-size:12px}.analysis-history-filters{display:flex;align-items:center;gap:10px;padding:15px 20px 10px}.analysis-history-filters label{display:flex;align-items:center;gap:8px;color:#526171;font-size:10px}.analysis-history-filters label>span{white-space:nowrap;font-weight:600}.analysis-history-filters input,.analysis-history-filters select{width:165px;height:29px;border-radius:2px;font-size:10px}.analysis-history-filters select{width:165px}.analysis-date-filter input{width:120px}.analysis-date-filter i{color:#7d8997;font-style:normal}.analysis-history-filters>button{height:29px;padding:0 14px;border-radius:2px;font-size:10px}.analysis-history-filters>.primary{background:#1684ef;border-color:#1684ef}.analysis-history-card .table-wrap{padding:0 10px 10px}.analysis-history-table{table-layout:fixed}.analysis-history-table thead{background:#d8ecff}.analysis-history-table th{height:33px;padding:8px 10px;color:#0878e6;font-size:10px;font-weight:700}.analysis-history-table td{height:40px;padding:8px 10px;color:#4b5b6b;font-size:9px}.analysis-history-table tbody tr:nth-child(even){background:#f5f7fa}.analysis-history-table th:nth-child(1){width:44px}.analysis-history-table th:nth-child(2){width:25%}.analysis-history-table th:nth-child(3){width:26%}.analysis-history-table th:nth-child(4){width:85px}.analysis-history-table th:nth-child(5){width:80px}.analysis-history-table th:nth-child(6){width:105px}.analysis-history-table th:nth-child(7){width:80px}.analysis-history-table th:nth-child(8){width:115px}.analysis-history-table th:nth-child(9){width:155px}.analysis-history-table td strong,.analysis-history-table td>span{display:block;overflow:hidden;font-size:9px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.analysis-history-status{display:inline-block!important;width:auto!important;padding:2px 5px;border:1px solid #bce8a8;border-radius:2px;background:#effbe9;color:#61bb36!important}.analysis-history-status.processing{border-color:#a9cdf7;background:#edf6ff;color:#1c83ec!important}.analysis-history-status.review{border-color:#f4d392;background:#fff8e8;color:#b98118!important}.analysis-history-status.failed{border-color:#efb1b1;background:#fff0f0;color:#d64747!important}.analysis-history-actions{display:flex;align-items:center;gap:9px}.analysis-history-actions button{padding:0;border:0;background:transparent;color:#087def;font-size:9px;white-space:nowrap}.analysis-history-actions button:hover{text-decoration:underline}.analysis-history-actions .danger{color:#c53c35}.analysis-history-actions .danger:disabled{color:#9aa5a0;text-decoration:none}
@media(max-width:1100px){.analysis-drop-grid{grid-template-columns:1fr 1fr}.analysis-drop-column.required{grid-column:1/-1}.analysis-history-filters{align-items:flex-start;flex-wrap:wrap}.analysis-batch-actions p{position:static;max-width:65%;margin-right:auto}}
@media(max-width:700px){.analysis-drop-grid{grid-template-columns:1fr}.analysis-drop-column.required{grid-column:auto}.analysis-batch-actions{align-items:stretch;flex-direction:column;gap:8px;padding-top:10px}.analysis-batch-actions p{max-width:none}.analysis-history-filters{display:grid;grid-template-columns:1fr 1fr}.analysis-history-filters label{align-items:flex-start;flex-direction:column}.analysis-history-filters input,.analysis-history-filters select,.analysis-date-filter input{width:100%}.analysis-date-filter{grid-column:1/-1;display:grid!important;grid-template-columns:auto 1fr auto 1fr;align-items:center!important}.analysis-history-card .table-wrap{overflow-x:auto}.analysis-history-table{min-width:1050px}}

/* File analysis home layout corrections. */
.analysis-page-heading{margin-bottom:22px}.analysis-home{gap:16px}.analysis-upload-context[hidden]{display:none!important}.analysis-batch-upload{padding:14px 16px 12px;border-radius:6px}.analysis-drop-grid{gap:18px}.analysis-drop-column>label{height:24px;font-size:12px}.analysis-drop-zone{height:150px;border-radius:5px}.analysis-drop-zone strong{font-size:12px}.analysis-drop-zone small{font-size:10px}.analysis-picked-file{min-height:30px;padding:6px 8px;font-size:10px}
.analysis-batch-actions{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr);align-items:center;min-height:48px;padding-top:10px;border-top:1px solid #e7ebef}.analysis-batch-actions p{position:static;grid-column:1;margin:0;max-width:560px;color:#7d8995;font-size:10px;line-height:1.5}.analysis-batch-actions #analysis-batch-start{grid-column:2;min-width:96px;height:34px;padding:0 20px;font-size:11px}.analysis-batch-actions #analysis-batch-ai{grid-column:3;min-width:150px;height:34px;padding:0 20px;font-size:11px;background:#fff;border:1px solid #1684ef;color:#087ff0}
.analysis-history-card{border-radius:6px}.analysis-history-title{height:42px;padding:0 16px}.analysis-history-title h3{font-size:13px}.analysis-history-filters{display:grid;grid-template-columns:minmax(220px,1.1fr) minmax(200px,.8fr) minmax(360px,1.45fr) auto auto;align-items:end;gap:14px;padding:18px 20px}.analysis-history-filters label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;flex-direction:row;font-size:11px}.analysis-history-filters label>span{font-size:11px}.analysis-history-filters input,.analysis-history-filters select{width:100%;height:36px;padding:8px 10px;border-radius:4px;font-size:11px}.analysis-history-filters .analysis-date-filter{display:grid;grid-template-columns:auto minmax(120px,1fr) auto minmax(120px,1fr);align-items:center}.analysis-history-filters>button{height:36px;min-width:68px;padding:0 16px;border-radius:4px;font-size:11px}.analysis-history-card .table-wrap{padding:0 12px 12px}.analysis-history-table th{height:40px;padding:10px 12px;background:#e8f4ff;color:#0878e6;font-size:11px}.analysis-history-table td{height:50px;padding:11px 12px;color:#435364;font-size:11px}.analysis-history-table td strong,.analysis-history-table td>span{font-size:11px}.analysis-history-status{padding:3px 7px;font-size:10px!important}.analysis-history-actions{gap:12px}.analysis-history-actions button{font-size:11px}.analysis-history-table th:nth-child(1){width:52px}.analysis-history-table th:nth-child(2){width:22%}.analysis-history-table th:nth-child(3){width:27%}.analysis-history-table th:nth-child(4){width:92px}.analysis-history-table th:nth-child(5){width:90px}.analysis-history-table th:nth-child(6){width:110px}.analysis-history-table th:nth-child(7){width:96px}.analysis-history-table th:nth-child(8){width:135px}.analysis-history-table th:nth-child(9){width:175px}
.confirm-modal-panel{width:min(500px,100%)}.confirm-modal-body{display:flex;align-items:flex-start;gap:16px;padding:26px 26px 22px}.confirm-modal-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#fbe9e7;color:#b63d34;font-size:20px;font-weight:800}.confirm-modal-body h3{margin:1px 0 10px;color:#21352b;font-size:18px}.confirm-modal-body p{margin:0;color:#35473e;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.confirm-modal-body small{display:block;margin-top:8px;color:#7a8780;font-size:11px;line-height:1.6}.danger-action{min-width:104px;min-height:42px;padding:10px 16px;border:1px solid #b83e35;border-radius:6px;background:#b83e35;color:#fff;font-size:12px;font-weight:700}.danger-action:hover{border-color:#983128;background:#983128}
.confirm-modal-body .analysis-start-icon{background:#e7f3ec;color:#14543c}
@media(max-width:1250px){.analysis-history-filters{grid-template-columns:1fr 1fr}.analysis-history-filters .analysis-date-filter{grid-column:1/-1}.analysis-history-filters>button{justify-self:start}.analysis-batch-actions{grid-template-columns:1fr auto auto}.analysis-batch-actions p{grid-column:1}.analysis-batch-actions #analysis-batch-start{grid-column:2}.analysis-batch-actions #analysis-batch-ai{grid-column:3}}
@media(max-width:800px){.analysis-history-filters{grid-template-columns:1fr}.analysis-history-filters .analysis-date-filter{grid-column:auto}.analysis-history-filters label{grid-template-columns:90px minmax(0,1fr)}.analysis-history-filters>button{width:100%}.analysis-batch-actions{display:flex;align-items:stretch;flex-direction:column;gap:10px}.analysis-batch-actions p{max-width:none}.analysis-batch-actions .primary{width:100%}}

/* Analysis review: readable source-comparison layout. */
.content.analysis-review-mode{max-width:1760px;padding-right:26px;padding-left:26px}.analysis-page.analysis-review-open .analysis-page-heading{display:none}.analysis-reference-card{height:clamp(720px,calc(100vh - 72px),980px);min-height:720px;padding:0;overflow:hidden;border-radius:6px;box-shadow:0 3px 14px rgba(30,53,43,.08)}
.analysis-reference-head{display:grid;grid-template-columns:minmax(560px,46fr) minmax(620px,54fr);height:52px;border-bottom:1px solid #dce4ec;background:#fff}.analysis-reference-head .analysis-module-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-width:0;margin:0;border:0}.analysis-reference-head .analysis-module-tabs button{position:relative;min-width:0;padding:0 10px;border:0;background:#fff;color:#18261f;font-size:13px;font-weight:700;white-space:nowrap}.analysis-reference-head .analysis-module-tabs button.active{color:#087ff0}.analysis-reference-head .analysis-module-tabs button.active::after{content:"";position:absolute;right:14px;bottom:-1px;left:14px;height:3px;background:#1684ef}.analysis-reference-head .analysis-module-tabs i{display:inline-grid;width:13px;height:13px;place-items:center;margin-left:5px;border:1px solid #50ba42;border-radius:50%;vertical-align:-1px}.analysis-reference-head .analysis-module-tabs i::after{content:"✓";color:#50ba42;font:700 9px/1 Arial,sans-serif}.analysis-reference-head>h3{display:flex;align-items:center;margin:0;padding:0 14px;border-left:1px solid #dce4ec;color:#087ff0;font-size:13px}
.analysis-reference-split{display:grid;grid-template-columns:minmax(560px,46fr) minmax(620px,54fr);height:calc(100% - 52px);min-height:0}.analysis-reference-results{display:flex;min-width:0;min-height:0;flex-direction:column;padding:0 16px;background:#fff}.analysis-reference-results .analysis-section-tabs{display:flex;flex:none;gap:10px;height:56px;padding:10px 0;border-bottom:1px solid #e2e8ee;overflow-x:auto}.analysis-reference-results .analysis-section-tabs button{height:34px;padding:0 15px;border:1px solid #ccd6e1;border-radius:4px;background:#fff;color:#394858;font-size:12px;white-space:nowrap}.analysis-reference-results .analysis-section-tabs button.active{border-color:#1684ef;background:#1684ef;color:#fff}
.analysis-reference-results .analysis-section-tabs[hidden]{display:none}
.analysis-reference-table{flex:1;min-height:0;overflow:auto;padding:14px 0}.analysis-reference-grid,.analysis-reference-list{border-top:1px solid #dfe6ed;border-left:1px solid #dfe6ed}.analysis-reference-row{display:grid;width:100%;grid-template-columns:140px minmax(0,1fr);padding:0;border:0;background:#fff;color:inherit;text-align:left}.analysis-reference-row>*{padding:11px 12px;border-right:1px solid #dfe6ed;border-bottom:1px solid #dfe6ed}.analysis-reference-row strong{background:#f4f6f8;color:#425160;font-size:12px;line-height:1.65}.analysis-reference-row span{color:#087ff0;font-size:12px;font-weight:400;line-height:1.8;word-break:break-word}.analysis-reference-row:hover span,.analysis-reference-row.selected span{background:#f3f9ff}.analysis-reference-row.selected{box-shadow:inset 3px 0 #1684ef}
.analysis-reference-list-row{display:grid;width:100%;grid-template-columns:64px minmax(0,1fr);padding:0;border:0;background:#fff;text-align:left}.analysis-reference-list-row>*{padding:11px 12px;border-right:1px solid #dfe6ed;border-bottom:1px solid #dfe6ed}.analysis-reference-list-row span{display:flex;justify-content:center;background:#f4f6f8;color:#425160;font-size:12px}.analysis-reference-list-row b{color:#087ff0;font-size:12px;font-weight:400;line-height:1.8;word-break:break-word}.analysis-reference-list-row:hover b,.analysis-reference-list-row.selected b{background:#f3f9ff}.analysis-reference-list-row.selected{box-shadow:inset 3px 0 #1684ef}
.analysis-commercial-list .analysis-reference-list-row{grid-template-columns:52px minmax(0,1fr)}.analysis-commercial-list .analysis-reference-list-row span{align-items:flex-start;padding-top:12px;font-weight:600}.analysis-commercial-list .analysis-reference-list-row b{display:block;min-height:40px;padding:9px 12px;white-space:normal}
.evaluation-structured{padding:0 2px 24px;color:#26384a}.evaluation-structured h4{margin:0;padding:4px 0 10px;color:#17261f;font-size:13px}.evaluation-method-section,.evaluation-detail-section,.evaluation-weight-section{margin-bottom:18px}.evaluation-method-table,.evaluation-weight-table{border-top:1px solid #dfe6ed;border-left:1px solid #dfe6ed}.evaluation-method-row,.evaluation-weight-row{display:grid;width:100%;grid-template-columns:125px minmax(0,1fr);padding:0;border:0;background:#fff;text-align:left}.evaluation-method-row>*,.evaluation-weight-row>*{min-height:36px;padding:9px 12px;border-right:1px solid #dfe6ed;border-bottom:1px solid #dfe6ed}.evaluation-method-row strong,.evaluation-weight-row strong{background:#f4f6f8;color:#425160;font-size:12px}.evaluation-method-row span,.evaluation-weight-row span{color:#087ff0;font-size:12px;line-height:1.65}.evaluation-method-row:hover span,.evaluation-method-row.selected span,.evaluation-weight-row:hover span,.evaluation-weight-row.selected span{background:#f3f9ff}.evaluation-detail-section>h4{padding-top:1px}.evaluation-rule-group{display:grid;grid-template-columns:126px minmax(0,1fr);border-top:1px solid #dfe6ed;border-left:1px solid #dfe6ed}.evaluation-rule-group+.evaluation-rule-group{border-top:0}.evaluation-rule-group>h5{display:flex;align-items:center;margin:0;padding:12px 10px;border-right:1px solid #dfe6ed;border-bottom:1px solid #dfe6ed;background:#f4f6f8;color:#425160;font-size:12px;line-height:1.65}.evaluation-rule-cards{padding:8px;border-right:1px solid #dfe6ed;border-bottom:1px solid #dfe6ed;background:#fff}.evaluation-rule-card{display:block;width:100%;padding:0;border:1px solid #dfe6ed;background:#fff;text-align:left}.evaluation-rule-card+.evaluation-rule-card{margin-top:9px}.evaluation-rule-card>span{display:grid;grid-template-columns:90px minmax(0,1fr);min-height:31px}.evaluation-rule-card>span+span{border-top:1px solid #dfe6ed}.evaluation-rule-card strong,.evaluation-rule-card b{padding:7px 9px;font-size:11px;line-height:1.65}.evaluation-rule-card strong{border-right:1px solid #dfe6ed;background:#f4f6f8;color:#425160}.evaluation-rule-card b{color:#087ff0;font-weight:400;word-break:break-word}.evaluation-rule-card:hover b,.evaluation-rule-card.selected b{background:#f3f9ff}.evaluation-rule-card.selected,.evaluation-method-row.selected,.evaluation-weight-row.selected{box-shadow:inset 3px 0 #1684ef}.evaluation-missing{display:grid;min-height:54px;place-items:center;border:1px solid #dfe6ed;color:#80909e;font-size:12px}
.technical-chapter-view{padding:0 0 30px;color:#1e2c25}.technical-chapter-view button{display:block;width:100%;border:0;background:#fff;color:inherit;text-align:left}.technical-chapter-view button:hover,.technical-chapter-view button.selected{background:#f5faff;box-shadow:inset 3px 0 #1684ef}.technical-chapter-view h4,.technical-chapter-view h5,.technical-chapter-view h6,.technical-chapter-view p{margin:0}.technical-chapter-title{padding:0 0 14px;border-bottom:1px solid #e0e6eb!important}.technical-chapter-title h4{padding:0 0 9px;font-size:17px;line-height:1.6}.technical-section-title{padding:20px 0 8px}.technical-section-title h5{font-size:15px;line-height:1.65}.technical-clause{padding:16px 10px 11px}.technical-clause h6{font-size:13px;line-height:1.75}.technical-chapter-view p{padding:8px 0 3px;color:#34453d;font-size:12px;font-weight:400;line-height:1.9;white-space:pre-line;word-break:break-word}.technical-clause p{padding-top:9px}.technical-section-title>p{padding:10px 10px 2px}.technical-paragraph{padding:5px 10px}.technical-paragraph p{padding:4px 0}.technical-chapter-view button:focus-visible{outline:2px solid rgba(22,132,239,.45);outline-offset:-2px}
.analysis-reference-tree{padding:6px 10px 18px;color:#26384a;font-size:13px}.analysis-reference-tree .tree-toggle{display:flex;width:100%;align-items:center;gap:8px;border:0;background:#fff;color:#26384a;text-align:left}.analysis-reference-tree .tree-toggle:hover{background:#f7fafc}.analysis-reference-tree .tree-toggle strong{display:flex;align-items:center;min-height:20px;font-weight:500;line-height:20px}.analysis-reference-tree .tree-toggle small{margin-left:auto;padding-right:10px;color:#8a97a2;font-size:10px}.analysis-reference-tree .tree-root{min-height:42px;padding:8px 4px}.analysis-reference-tree .tree-root strong{font-weight:600}.analysis-reference-tree .tree-chevron{position:relative;display:block;width:18px;height:20px;flex:0 0 18px;color:#758491;font-size:0;line-height:0}.analysis-reference-tree .tree-chevron::before{position:absolute;top:50%;left:50%;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;content:"";transform:translate(-50%,-65%) rotate(45deg);transform-origin:center}.analysis-reference-tree .tree-toggle[aria-expanded="false"] .tree-chevron::before{transform:translate(-65%,-50%) rotate(-45deg)}.analysis-reference-tree .tree-children{padding-left:18px}.analysis-reference-tree section{position:relative}.analysis-reference-tree .tree-group{min-height:38px;padding:7px 4px}.analysis-reference-tree .tree-leaves{padding-left:28px}.analysis-reference-tree .tree-children.collapsed,.analysis-reference-tree .tree-leaves.collapsed{display:none}.analysis-reference-tree .tree-leaf{display:block;width:100%;min-height:35px;padding:8px 12px;border:0;background:#fff;color:#26384a;text-align:left;font-size:12px;line-height:1.55}.analysis-reference-tree .tree-leaf:hover,.analysis-reference-tree .tree-leaf.selected{background:#edf6ff;color:#087ff0}.analysis-reference-tree .tree-leaf.selected{box-shadow:inset 3px 0 #1684ef}
.analysis-reference-empty{display:grid;min-height:180px;place-items:center;border:1px solid #dfe6ed;color:#80909e;font-size:12px}.analysis-reference-footer{position:relative;display:flex;flex:none;align-items:center;justify-content:center;height:56px;border-top:1px solid #e4e9ee}.analysis-reference-footer-actions{display:flex;align-items:center;gap:8px}.analysis-reference-footer .primary,.analysis-reference-footer #analysis-create-bid{min-width:64px;height:34px;padding:0 16px;border-radius:4px;font-size:12px}.analysis-reference-footer .primary{background:#1684ef}.analysis-reference-footer #analysis-create-bid{border:1px solid #1684ef;background:#fff;color:#0874dc;font-weight:700}.analysis-reference-footer #analysis-create-bid:hover{background:#eef7ff}.analysis-reference-footer #analysis-create-bid:disabled{border-color:#c9d5df;background:#f3f5f7;color:#9aa6b0;cursor:not-allowed}.analysis-reference-footer>span{position:absolute;right:8px;color:#89959f;font-size:11px}
.analysis-bid-project-modal .enterprise-modal-panel{width:min(680px,100%)}.analysis-bid-flow{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 24px;border-bottom:1px solid #e8eeea;background:#f8fbf9;color:#63756b;font-size:11px;font-weight:700}.analysis-bid-flow span{padding:7px 10px;border-radius:999px;background:#eef3f0}.analysis-bid-flow span.done{background:#e3f4e9;color:#167647}.analysis-bid-flow b{color:#a1afa7;font-weight:400}.analysis-bid-project-body{display:grid;gap:18px;padding:22px 24px}.analysis-bid-project-summary{padding:16px 18px;border:1px solid #dbe6df;border-left:4px solid #1c8a55;border-radius:7px;background:#fbfdfc}.analysis-bid-project-summary small,.analysis-bid-project-summary strong{display:block}.analysis-bid-project-summary small{margin-bottom:6px;color:#74847b;font-size:10px}.analysis-bid-project-summary strong{color:#173b2b;font-size:15px;line-height:1.55}.analysis-bid-project-summary p{margin:9px 0 0;color:#6c7b73;font-size:11px;line-height:1.7}.analysis-bid-company-label{display:grid;gap:8px;color:#34463d;font-size:11px;font-weight:700}.analysis-bid-company-label em{color:var(--danger);font-style:normal}.analysis-bid-company-label select{height:44px;border-radius:6px;background:#fff}.analysis-bid-project-message{min-height:38px;padding:10px 12px;border-radius:5px;background:#edf7f1;color:#26744e;font-size:11px;line-height:1.55}.analysis-bid-project-message.warning{background:#fff6e5;color:#94631d}
@media(max-width:760px){.analysis-bid-flow{justify-content:flex-start;overflow-x:auto}.analysis-bid-flow span{white-space:nowrap}.analysis-reference-footer-actions{width:100%;padding:0 8px}.analysis-reference-footer-actions>*{flex:1}.analysis-bid-project-body{padding:18px}.analysis-bid-project-modal .modal-actions{flex-wrap:wrap}.analysis-bid-project-modal .modal-actions>*{min-width:calc(50% - 5px)}}
.analysis-history-table th:nth-child(9){width:250px}.analysis-history-actions button:disabled{color:#9aa5a0;cursor:not-allowed;text-decoration:none}
.bid-row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.bid-cancel-action,.bid-delete-action{border:1px solid #d8a9a5;background:#fff;color:#b63d34}.bid-cancel-action:hover,.bid-delete-action:hover{border-color:#b63d34;background:#fff4f3}.bid-pause-action{border:1px solid #d9b875;background:#fffaf0;color:#8a641f}.bid-pause-action:hover{border-color:#b8892f;background:#fff3d7}.bid-cancelled-note{color:#8a9690;font-size:11px}
.bid-strategy-action{border:1px solid #8fb9a4;background:#f7fbf8;color:#176a46}.bid-studio-actions{display:flex;align-items:center;gap:10px}.bid-strategy-modal .enterprise-modal-panel{width:min(940px,96vw)}.bid-strategy-intro{margin:20px 24px 0;padding:15px 17px;border:1px solid #dce7e1;border-left:4px solid var(--green);border-radius:7px;background:#f8fbf9}.bid-strategy-intro small,.bid-strategy-intro strong{display:block}.bid-strategy-intro small{color:#718179;font-size:9px}.bid-strategy-intro strong{margin-top:5px;color:#17392a;font-size:15px}.bid-strategy-intro p{margin:6px 0 0;color:#697970;font-size:10px}.bid-strategy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;padding:18px 24px}.bid-strategy-grid label{display:grid;gap:7px;padding:13px 14px;border:1px solid #e0e8e3;border-radius:7px;background:#fcfdfc}.bid-strategy-grid label.span-2{grid-column:1/-1}.bid-strategy-grid label>span{color:#273f34;font-size:11px;font-weight:700}.bid-strategy-grid em{color:#b34a3f;font-style:normal}.bid-strategy-grid select{height:40px;border-radius:5px;background:#fff;color:#153d2c;font-weight:700}.bid-strategy-grid small{color:#78867e;font-size:9px;line-height:1.55}.bid-strategy-impact{margin:0 24px 18px;padding:13px 15px;border-radius:6px;background:#edf7f1;color:#285c43}.bid-strategy-impact strong{font-size:11px}.bid-strategy-impact p{margin:5px 0 0;font-size:10px;line-height:1.6}
.bid-strategy-grid label[hidden]{display:none}.bid-strategy-grid label.strategy-locked{border-color:#c7ddd1;background:#f2f8f4}.bid-strategy-grid label.strategy-locked>span::after{content:"招标文件已确定";display:inline-block;margin-left:8px;padding:2px 7px;border-radius:999px;background:#dcefe4;color:#176a46;font-size:8px;font-weight:700}.bid-strategy-grid label.strategy-locked select:disabled{border-color:#bcd3c6;background:#eaf3ed;color:#174d36;opacity:1}.bid-strategy-grid small .strategy-source{display:block;margin-top:3px;color:#347052;font-weight:700}
@media(max-width:760px){.bid-strategy-grid{grid-template-columns:1fr;padding:16px}.bid-strategy-grid label.span-2{grid-column:auto}.bid-studio-actions{align-items:stretch;flex-direction:column}.bid-studio-actions>*{width:100%}}
.analysis-edit-grid{border-top:1px solid #dfe6ed;border-left:1px solid #dfe6ed}.analysis-edit-row{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:stretch;background:#fff}.analysis-edit-row>strong{padding:10px;border-right:1px solid #dfe6ed;border-bottom:1px solid #dfe6ed;background:#f4f6f8;color:#425160;font-size:10px;line-height:1.65}.analysis-edit-row>textarea{width:calc(100% - 18px);min-width:0;height:30px;margin:5px 9px;padding:5px 9px;border:1px solid #d5dfe7;border-radius:2px;color:#40515f;font-size:10px;box-shadow:none}.analysis-edit-row>textarea:focus{border-color:#1684ef;box-shadow:0 0 0 2px rgba(22,132,239,.12)}.analysis-edit-row.selected{box-shadow:inset 2px 0 #1684ef}.analysis-reference-footer .primary.save-mode{background:#1684ef}
.analysis-reference-source{min-width:0;min-height:0;border-left:1px solid #dce4ec;background:#eef1f4}.analysis-reference-source .analysis-document-viewport{height:100%;min-height:0;background:#eef1f4}.analysis-reference-source .analysis-document-viewport iframe{width:100%;height:100%;border:0;background:#fff}.analysis-reference-source .analysis-document-viewport>div{background:#f5f7f8}
.analysis-document-viewport>.analysis-pdf-viewer{position:absolute;inset:0;display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:0;background:#eef1f4;color:#33444f}.analysis-document-viewport>.analysis-pdf-viewer[hidden]{display:none}.analysis-pdf-toolbar{display:flex;align-items:center;gap:6px;flex:none;height:43px;padding:0 9px;border-bottom:1px solid #d8e0e7;background:#f6f7f8}.analysis-pdf-toolbar button{height:27px;min-width:27px;padding:0 7px;border:1px solid #d1dae2;border-radius:2px;background:#fff;color:#263744;font-size:11px}.analysis-pdf-toolbar button:hover{border-color:#1684ef;color:#087ff0}.analysis-pdf-toolbar label{display:flex;align-items:center;gap:5px;flex-direction:row;font-size:10px;font-weight:400}.analysis-pdf-toolbar input{width:42px;height:27px;padding:3px 5px;text-align:center;font-size:10px}.analysis-pdf-toolbar .analysis-pdf-spacer{flex:1}.analysis-pdf-toolbar>span{font-size:10px;white-space:nowrap}.analysis-pdf-stage{position:relative;display:block!important;flex:1;min-height:0;overflow:auto!important;padding:10px;background:#e7eaed!important;scroll-behavior:smooth}.analysis-pdf-stage>div{display:block!important;position:static!important;width:100%;min-width:max-content;text-align:center}.analysis-pdf-page{position:relative;display:flex;align-items:flex-start;justify-content:center;margin:0 auto 12px;overflow:hidden;background:#fff;box-shadow:0 1px 6px rgba(20,38,29,.2)}.analysis-pdf-page.is-placeholder{align-items:center;background:linear-gradient(135deg,#f7f8f9,#eef1f3);box-shadow:inset 0 0 0 1px #dfe5e9}.analysis-pdf-page.loading::after{position:absolute;top:calc(50% + 24px);left:50%;width:18px;height:18px;margin-left:-9px;border:2px solid #cad4dc;border-top-color:#1684ef;border-radius:50%;content:"";animation:analysis-pdf-spin .8s linear infinite}.analysis-pdf-page>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#7d8c98;font-size:11px}.analysis-pdf-page canvas{display:block;margin:0;background:#fff}.analysis-pdf-highlight-layer{position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:none;text-align:left}.analysis-pdf-highlight-mark{position:absolute;background:rgba(255,74,74,.2);border-radius:2px;box-shadow:inset 0 -1px rgba(223,36,36,.32);transform-origin:0 0}.analysis-pdf-highlight-outline{position:absolute;display:block;border:3px solid #ff4d4f;border-radius:7px;background:rgba(255,77,79,.055);box-shadow:0 1px 6px rgba(255,77,79,.16)}.analysis-pdf-error{align-self:center;padding:40px;color:#a53b32;font-size:11px}.analysis-pdf-error button{margin-top:8px;padding:5px 10px;border:1px solid #d46d63;background:#fff;color:#a53b32}@keyframes analysis-pdf-spin{to{transform:rotate(360deg)}}
.analysis-review-open .analysis-run-status{padding:16px 18px}.analysis-review-open .analysis-run-summary{gap:16px}.analysis-review-open .analysis-run-summary strong{font-size:14px}.analysis-review-open .analysis-run-summary span{font-size:12px}.analysis-review-open .analysis-run-summary button{min-height:34px;padding:7px 14px;font-size:12px}.analysis-review-open .analysis-phase-list{gap:10px;margin-top:12px}.analysis-review-open .analysis-phase-list span{padding:9px 12px;font-size:12px}.analysis-review-open .analysis-phase-list span b{font-size:11px}.analysis-review-open .analysis-run-status>p{font-size:12px;line-height:1.6}
.analysis-review-open .analysis-pdf-toolbar{gap:7px;height:48px;padding:0 11px}.analysis-review-open .analysis-pdf-toolbar button{height:31px;min-width:31px;padding:0 8px;font-size:12px}.analysis-review-open .analysis-pdf-toolbar label{font-size:12px}.analysis-review-open .analysis-pdf-toolbar input{width:46px;height:31px;font-size:12px}.analysis-review-open .analysis-pdf-toolbar>span{font-size:12px}.analysis-review-open .analysis-pdf-stage{padding:14px}
.modal-form-grid .input-with-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0}.modal-form-grid .input-with-unit input{width:100%;border-radius:6px 0 0 6px}.modal-form-grid .input-with-unit b{display:flex;min-width:54px;align-items:center;justify-content:center;border:1px solid #d7e1db;border-left:0;border-radius:0 6px 6px 0;background:#f3f7f5;color:#53645b;font-size:11px;font-weight:700}
@media(max-width:1450px){.content.analysis-review-mode{padding-right:18px;padding-left:18px}.analysis-reference-head,.analysis-reference-split{grid-template-columns:minmax(500px,48fr) minmax(540px,52fr)}.analysis-reference-head .analysis-module-tabs button{padding:0 6px;font-size:12px}.analysis-reference-row{grid-template-columns:130px minmax(0,1fr)}}
@media(max-width:1350px){.content.analysis-review-mode{max-width:none}.analysis-reference-card{height:auto;min-height:0}.analysis-reference-head{grid-template-columns:1fr}.analysis-reference-head>h3{display:none}.analysis-reference-split{grid-template-columns:1fr;height:auto}.analysis-reference-results{height:680px}.analysis-reference-source{height:760px;border-top:1px solid #dce4ec;border-left:0}}
@media(max-width:760px){.content.analysis-review-mode{padding-right:12px;padding-left:12px}.analysis-reference-head{height:auto}.analysis-reference-head .analysis-module-tabs{display:flex;height:52px;overflow-x:auto}.analysis-reference-head .analysis-module-tabs button{min-width:132px}.analysis-reference-row{grid-template-columns:108px minmax(0,1fr)}.analysis-reference-results{height:620px;padding:0 8px}.analysis-reference-results .analysis-section-tabs{gap:6px}.analysis-reference-footer>span{display:none}.evaluation-rule-group{grid-template-columns:96px minmax(0,1fr)}.evaluation-rule-card>span{grid-template-columns:72px minmax(0,1fr)}.evaluation-method-row,.evaluation-weight-row{grid-template-columns:100px minmax(0,1fr)}}
.detail-actions #run-collector{display:inline-flex;align-items:center;gap:7px;background:var(--green);border-color:var(--green);color:#fff;border-radius:4px;font-weight:700}
.detail-actions #run-collector .run-icon{font-size:15px;line-height:1}
.detail-actions #run-collector:disabled{cursor:wait;opacity:.65}

/* Intelligent parsing health, phase and coverage states. */
.analysis-batch-actions{grid-template-columns:minmax(0,1fr) auto auto}.analysis-batch-actions .analysis-ai-service{grid-column:2;max-width:280px;color:#687a72;font-size:10px;text-align:right}.analysis-batch-actions .analysis-ai-service[data-status="ready"]{color:#177447}.analysis-batch-actions .analysis-ai-service[data-status="error"]{color:#b2463d}.analysis-batch-actions #analysis-batch-start{grid-column:3!important;min-width:116px}.analysis-batch-actions #analysis-batch-start:disabled{cursor:not-allowed;opacity:.55}
.analysis-run-status{margin-bottom:12px;padding:13px 16px;border:1px solid #d9e3eb;border-radius:6px;background:#fff}.analysis-run-summary{display:flex;align-items:center;gap:14px}.analysis-run-summary strong{font-size:13px}.analysis-run-summary span{color:#61736b;font-size:11px}.analysis-run-summary button{margin-left:auto;padding:6px 12px;border-color:#e49b42;color:#98560c}.analysis-phase-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.analysis-phase-list span{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:4px;background:#f1f4f3;color:#748079;font-size:10px}.analysis-phase-list span b{font-size:10px}.analysis-phase-list .phase-succeeded{background:#edf8f1;color:#187348}.analysis-phase-list .phase-partial{background:#fff7e8;color:#9a5c08}.analysis-phase-list .phase-failed{background:#fff0ee;color:#a8372e}.analysis-phase-list .phase-processing{background:#edf5ff;color:#146cb8}.analysis-run-status>p{margin:10px 0 0;padding:8px 10px;border-radius:4px;background:#fff0ee;color:#a8372e;font-size:11px}.analysis-run-status>p[data-status="warning"]{background:#fff7e8;color:#9a5c08}
.analysis-reference-head .analysis-module-tabs button[data-status="complete"] i{border-color:#50ba42;background:#eff9ed}.analysis-reference-head .analysis-module-tabs button[data-status="complete"] i::after{content:"✓";color:#3d9e32}.analysis-reference-head .analysis-module-tabs button[data-status="partial"] i{border-color:#e9a13c;background:#fff6e8}.analysis-reference-head .analysis-module-tabs button[data-status="partial"] i::after{content:"!";color:#bb6b0c}.analysis-reference-head .analysis-module-tabs button[data-status="empty"] i{border-color:#aeb8b3;background:#f2f4f3}.analysis-reference-head .analysis-module-tabs button[data-status="empty"] i::after{content:"–";color:#7b8881}
.analysis-history-status.partial{border-color:#efbb72;background:#fff4e2;color:#a35b08}
@media(max-width:900px){.analysis-batch-actions{grid-template-columns:1fr auto}.analysis-batch-actions p{grid-column:1/-1}.analysis-batch-actions .analysis-ai-service{grid-column:1;text-align:left}.analysis-batch-actions #analysis-batch-start{grid-column:2!important}.analysis-phase-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Multi-company qualification matching and tender-driven bid production. */
.analysis-bid-project-modal .enterprise-modal-panel.modal-wide{width:min(920px,96vw)}.analysis-company-matches{display:grid;gap:10px;max-height:340px;overflow:auto}.company-match-card{border:1px solid #dce6e0;border-radius:7px;background:#fff}.company-match-card.recommended{border-color:#62a986;box-shadow:inset 3px 0 #23835c}.company-match-card>label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 14px;cursor:pointer}.company-match-card>label span strong,.company-match-card>label span small{display:block}.company-match-card>label span strong{color:#1b392c;font-size:13px}.company-match-card>label span small{margin-top:4px;color:#718078;font-size:10px}.match-score{display:grid;place-items:center;width:48px;height:34px;border-radius:17px;background:#e9f5ee;color:#167047;font-size:14px}.company-match-card details{padding:0 14px 12px}.company-match-card summary{padding:8px 0;border-top:1px solid #edf1ef;color:#53665c;font-size:10px;cursor:pointer}.company-match-card ul{display:grid;gap:7px;margin:6px 0 0;padding:0;list-style:none}.company-match-card li{padding:9px 10px;border-radius:5px;background:#fff4f2}.company-match-card li strong,.company-match-card li span,.company-match-card li small{display:block}.company-match-card li strong{color:#963b33;font-size:11px}.company-match-card li span{margin-top:3px;color:#674e49;font-size:10px}.company-match-card li small{margin-top:5px;color:#8b7772;font-size:9px;line-height:1.5}.match-empty{padding:18px;border:1px dashed #d5dfda;color:#78877f;text-align:center}.bid-production-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)}.production-input-list{display:grid;gap:10px;margin:16px 0}.production-input{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:13px;border:1px solid #e0e7e3;border-radius:7px}.production-input.ready{background:#f6fbf8}.production-input.missing{border-color:#edd3ad;background:#fffaf1}.production-state{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f2e5ca;color:#a6660b;font-weight:800}.production-input.ready .production-state{background:#dff2e7;color:#147548}.production-copy>div{display:flex;align-items:center;gap:7px}.production-copy strong{font-size:12px}.production-copy em{padding:2px 5px;border-radius:3px;background:#fff0dc;color:#a65b00;font-size:8px;font-style:normal}.production-copy>p{margin:5px 0;color:#718078;font-size:10px;line-height:1.6}.production-copy details{margin:5px 0;color:#687a71;font-size:9px}.production-copy details p{padding:7px;background:#f5f7f6;line-height:1.55}.production-control{display:flex;align-items:center;gap:8px;margin-top:9px}.production-control input:not([type=checkbox]),.production-control textarea{min-width:0;flex:1}.production-control textarea{min-height:72px;resize:vertical}.production-control button{flex:none}.production-imported{color:#177348;font-size:10px}.production-outline details{border-bottom:1px solid #e3e9e6}.production-outline summary{padding:11px 4px;color:#244135;font-size:12px;font-weight:700;cursor:pointer}.production-outline ol{margin:0 0 12px;padding-left:25px;color:#52665c;font-size:10px;line-height:1.75}.production-outline p{color:#7a8981;font-size:10px}@media(max-width:900px){.bid-production-grid{grid-template-columns:1fr}.production-control{align-items:stretch;flex-direction:column}}
.match-manual-review{margin-top:10px;padding-top:10px;border-top:1px dashed #d8dfdb;color:#5e6f66;font-size:10px}.match-manual-review>strong{display:block;color:#53665c}.company-match-card .match-manual-review li{background:#f5f7f6}.company-match-card .match-manual-review li strong{color:#42584d}.company-match-card .match-manual-review li span,.company-match-card .match-manual-review li small{color:#718078}
.production-input.optional{border-color:#dfe6e2;background:#fafcfb}.production-input.optional .production-state{background:#edf1ef;color:#718078}.production-copy em.optional-label{background:#edf1ef;color:#63736b}

/* Keep the final-product area out of sight until a real deliverable exists. */
.bid-final-product[hidden]{display:none!important}.bid-final-product .document-item{align-items:center}.bid-final-product .document-item:first-child{border-top:0}.bid-final-product .document-item>strong{font-size:13px}

/* Bid-project workflow and persistent qualification-match details. */
.bid-page-heading p{max-width:780px;line-height:1.7}.bid-project-card{padding:0;overflow:hidden}.bid-project-table{min-width:1180px;table-layout:fixed}.bid-project-table .bid-col-project{width:27%}.bid-project-table .bid-col-stage{width:36%}.bid-project-table .bid-col-material{width:10%}.bid-project-table .bid-col-risk{width:10%}.bid-project-table .bid-col-action{width:17%}.bid-project-table thead th{height:48px;padding:0 16px}.bid-project-row td{padding:18px 16px;vertical-align:top}.bid-project-name>strong{display:block;color:#172a21;font-size:13px;line-height:1.55}.bid-project-name>small{display:block;margin-top:7px;color:#728078;font-size:9px;line-height:1.65}.bid-workflow-current{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.bid-workflow-current strong{color:#164b36;font-size:12px}.bid-workflow-current small{margin:0;color:#76847c;font-size:9px;text-align:right}.bid-workflow-cell.paused .bid-workflow-current strong{color:#9a681d}.bid-workflow-cell.cancelled .bid-workflow-current strong{color:#aa4037}.bid-stage-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px}.bid-stage-step{position:relative;display:grid;justify-items:center;gap:6px;color:#8a9690;font-size:9px;text-align:center}.bid-stage-step:not(:last-child)::after{position:absolute;top:10px;left:calc(50% + 13px);right:calc(-50% + 13px);height:2px;background:#dce3df;content:""}.bid-stage-step.done:not(:last-child)::after{background:#79b596}.bid-stage-step i{position:relative;z-index:1;display:grid;width:22px;height:22px;place-items:center;border:2px solid #d5ded9;border-radius:50%;background:#fff;color:#89968f;font-size:9px;font-style:normal;font-weight:800}.bid-stage-step.done i{border-color:#2b8a62;background:#2b8a62;color:#fff}.bid-stage-step.current i{border-color:#176b4a;background:#fff;color:#176b4a;box-shadow:0 0 0 4px #e5f2eb}.bid-stage-step.done b,.bid-stage-step.current b{color:#28533f}.bid-stage-step b{font-size:9px;white-space:nowrap}.bid-material-progress strong{display:block;color:#174b37;font-size:17px}.bid-material-progress strong span{color:#849088;font-size:10px;font-weight:500}.bid-material-progress>div{height:5px;margin:9px 0 7px;overflow:hidden;border-radius:3px;background:#e7ece9}.bid-material-progress>div i{display:block;height:100%;border-radius:inherit;background:#2b8a62}.bid-material-progress small{margin:0;color:#78857e;font-size:9px}.bid-risk-cell .badge{white-space:nowrap}.bid-next-action{display:grid;gap:9px}.bid-primary-next{width:100%;min-height:36px;padding:8px 10px}.bid-match-action{border:1px solid #b9cec2;background:#fff}.bid-more-actions{font-size:10px}.bid-more-actions summary{color:#496258;text-align:center;cursor:pointer}.bid-more-actions>div{display:grid;gap:6px;margin-top:8px;padding:8px;border:1px solid #e1e7e3;border-radius:5px;background:#f8faf9}.bid-more-actions .table-action{width:100%;background:#fff}.bid-next-action>.bid-match-action,.bid-next-action>.bid-delete-action{width:100%}.bid-match-detail-modal .enterprise-modal-panel{width:min(820px,96vw)}.bid-match-detail-body{padding:20px 24px 24px}.bid-match-project{padding:14px 16px;border-left:3px solid var(--green);background:#f7faf8}.bid-match-project small,.bid-match-project strong,.bid-match-project span{display:block}.bid-match-project small{color:#77867e;font-size:9px}.bid-match-project strong{margin-top:5px;color:#18392a;font-size:15px}.bid-match-project span{margin-top:5px;color:#64756c;font-size:11px}.bid-match-detail-content{margin-top:16px}.bid-match-score-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bid-match-score-summary>div{padding:14px;border:1px solid #e0e7e3;border-radius:7px;background:#fbfcfb}.bid-match-score-summary strong,.bid-match-score-summary span{display:block}.bid-match-score-summary strong{color:#193d2d;font-size:20px}.bid-match-score-summary span{margin-top:5px;color:#708077;font-size:10px}.bid-match-score{background:#edf8f1!important}.bid-match-section{margin-top:20px}.bid-match-section h4{margin:0 0 10px;font-size:13px}.bid-match-condition-list{display:grid;gap:8px}.bid-match-condition{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;padding:12px;border:1px solid #e0e7e3;border-radius:6px}.bid-match-condition.missing{border-color:#efc9c4;background:#fff7f5}.bid-match-condition.matched{background:#f6fbf8}.bid-match-condition-state{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f5dfdc;color:#a43c32;font-size:11px;font-weight:800}.bid-match-condition.matched .bid-match-condition-state{background:#dff2e7;color:#147548}.bid-match-condition-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.bid-match-condition-title strong{font-size:12px}.bid-match-condition p{margin:5px 0;color:#56675e;font-size:10px}.bid-match-condition small{display:block;color:#7b8982;font-size:9px;line-height:1.55}.bid-match-empty{margin:0;padding:16px;border:1px dashed #d7e1dc;color:#718078;text-align:center}.bid-match-satisfied{margin-top:14px;border-top:1px solid #e4e9e6}.bid-match-satisfied summary{padding:13px 2px;color:#315545;font-size:11px;font-weight:700;cursor:pointer}@media(max-width:760px){.bid-project-table{min-width:1080px}.bid-project-row td{padding:15px 12px}.bid-match-detail-body{padding:16px}.bid-match-score-summary{grid-template-columns:1fr}.bid-match-condition-title{align-items:flex-start;flex-direction:column}}

.bid-risk-button{display:grid;gap:4px;width:100%;padding:8px;border:1px solid #efc8c2;border-radius:7px;background:#fff6f4;color:#aa4137;text-align:left}.bid-risk-button strong{font-size:10px}.bid-risk-button span{font-size:8px}.bid-risk-button:hover{border-color:#d87970;background:#fff0ed}.bid-risk-button:focus-visible{outline:3px solid rgba(194,69,58,.16);outline-offset:2px}.bid-risk-modal .enterprise-modal-panel{width:min(880px,96vw)}.bid-risk-body{padding:20px 24px 24px}.bid-risk-content{display:grid;gap:14px;margin-top:16px}.bid-risk-group{padding:16px;border:1px solid #e1e7e3;border-radius:8px;background:#fbfcfb}.bid-risk-group-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.bid-risk-group-head>div{display:flex;align-items:center;gap:9px}.bid-risk-group-head span{color:#1e3f30;font-size:13px;font-weight:800}.bid-risk-group-head strong{padding:4px 8px;border-radius:999px;background:#f8e5e2;color:#a84339;font-size:9px}.bid-risk-group-head button,.bid-risk-detail-link{padding:8px 11px;border:1px solid #91baa5;border-radius:5px;background:#fff;color:#176b4a;font-size:10px;font-weight:700}.bid-risk-group>p{margin:9px 0 12px;color:#6d7d75;font-size:10px;line-height:1.65}.bid-risk-list{display:grid;gap:8px}.bid-risk-item{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;padding:11px;border:1px solid #edd2cd;border-radius:6px;background:#fff8f7}.bid-risk-index{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#f5dedb;color:#a64037;font-size:9px;font-weight:800}.bid-risk-item strong{color:#703a35;font-size:11px}.bid-risk-item p{margin:4px 0;color:#64534f;font-size:10px;line-height:1.55}.bid-risk-item small{color:#85716d;font-size:9px;line-height:1.5}.bid-risk-item em{display:block;margin-top:7px;color:#176b4a;font-size:9px;font-style:normal;font-weight:700}.bid-risk-detail-link{margin-top:10px}.bid-risk-empty{padding:12px;border:1px dashed #d7dfdb;color:#7c8882;font-size:10px;text-align:center}.bid-risk-load-error{padding:10px;border-radius:5px;background:#fff1ef;color:#a34239;font-size:10px}@media(max-width:760px){.bid-risk-body{padding:16px}.bid-risk-group-head{align-items:flex-start;flex-direction:column}}

/* Bid cover preview in the first outline position. */
.cover-chapter-workspace .chapter-workspace-head p{margin:5px 0 0;color:#718078;font-size:10px}.cover-chapter-compare{align-items:stretch}.cover-chapter-compare .chapter-pane{display:flex;min-height:0;flex-direction:column}.cover-auto-filled{margin:0!important;padding:4px 8px;border-radius:999px;background:#e6f5ec;color:#176e4c!important;white-space:nowrap}.bid-cover-paper-wrap{height:640px;overflow:auto;background:#fff}.bid-cover-paper{box-sizing:border-box;width:100%;min-height:640px;margin:0;padding:62px 42px 54px;background:#fff;color:#14271e;font-family:"SimSun","Songti SC","宋体",serif;text-align:center}.bid-cover-paper h2{margin:0;color:#14271e;font-size:21px;font-weight:400;letter-spacing:.12em}.bid-cover-paper h1{margin:25px 0 11px;color:#14271e;font-size:30px;font-weight:700;letter-spacing:.16em}.bid-cover-paper>em{display:block;margin-bottom:76px;color:#263a31;font-size:17px;font-style:normal}.bid-cover-fields{display:grid;gap:22px;text-align:left}.bid-cover-field{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:end;gap:8px;font-size:14px;line-height:1.55}.bid-cover-field span{text-align:justify;text-align-last:justify;white-space:nowrap}.bid-cover-field span::after{content:"："}.bid-cover-field strong{min-height:25px;padding:0 4px 4px;border-bottom:1px solid #263a31;font-weight:400;overflow-wrap:anywhere}.bid-cover-note{margin:13px auto 0!important;color:#6e7e75!important;font-size:10px!important;text-align:center}@media(max-width:1050px){.bid-cover-paper-wrap{height:540px}.bid-cover-paper{min-height:540px;padding:48px 38px}.bid-cover-paper>em{margin-bottom:55px}}@media(max-width:760px){.bid-cover-paper{padding:44px 26px}.bid-cover-paper h2{font-size:18px}.bid-cover-paper h1{font-size:25px}.bid-cover-field{grid-template-columns:76px minmax(0,1fr);font-size:13px}}

/* Reusable enterprise master data and proof-material library. */
.enterprise-page .inventory-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.record-list-head>div>small{display:block;margin-top:5px;color:#718078;font-size:10px;font-weight:400}.material-library-form{margin-bottom:16px}.material-library-heading strong{font-size:15px}.material-library-heading p{margin:5px 0 0}.material-library-form .form-grid{margin-bottom:14px}.material-library-form .form-grid .span-2{grid-column:span 2}.material-library-form>.primary{min-width:130px}@media(max-width:900px){.enterprise-page .inventory-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.material-library-form .form-grid{grid-template-columns:1fr}.material-library-form .form-grid .span-2{grid-column:auto}}

/* 企业资料库采用“企业目录 → 单企业档案”的两层结构。 */
.enterprise-heading>div p{margin:6px 0 0;color:#718078;font-size:11px}.enterprise-company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.enterprise-company-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:10px 16px;min-height:138px;padding:22px;border:1px solid #dbe5df;border-radius:10px;background:#fff;color:inherit;text-align:left;box-shadow:0 7px 22px rgba(24,53,40,.04);cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.enterprise-company-card:hover,.enterprise-company-card:focus-visible{border-color:#8fb5a1;box-shadow:0 12px 28px rgba(24,53,40,.09);outline:0;transform:translateY(-1px)}.company-card-monogram{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:#e5f1ea;color:var(--green);font-size:21px;font-weight:800}.company-card-copy{min-width:0}.company-card-copy>strong,.company-card-copy>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-card-copy>strong{color:#183328;font-size:16px}.company-card-copy>small{margin-top:6px;color:#75827b;font:10px ui-monospace,SFMono-Regular,Consolas,monospace}.company-card-copy>span{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:16px}.company-card-copy em{color:#5e7067;font-size:10px;font-style:normal}.company-card-status{align-self:start;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:700}.company-card-status.ready{background:#e8f5ed;color:#187242}.company-card-status.pending{background:#fbf2e3;color:#96641e}.company-card-actions{grid-column:3;display:flex;align-items:center;align-self:end;gap:12px}.company-card-arrow{color:var(--green);font-size:11px;font-weight:700}.company-card-delete{padding:3px 0;border:0;background:transparent;color:#bd3d35;font-size:11px;font-weight:700}.company-card-delete:hover{text-decoration:underline}.enterprise-detail-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:16px}.enterprise-back{min-height:38px;padding:8px 13px;border:1px solid #c8d8cf;border-radius:6px;background:#fff;color:var(--green);font-size:11px;font-weight:700}.enterprise-back:hover{background:#f2f7f4}.enterprise-detail-toolbar>div>span{display:block;margin-bottom:4px;color:#718078;font-size:10px}.enterprise-detail-toolbar h2{margin:0;color:#183328;font-size:21px}.enterprise-empty strong,.enterprise-empty span{display:block}.enterprise-empty span{margin-top:8px;color:#718078;font-size:11px}
@media(max-width:900px){.enterprise-company-grid{grid-template-columns:1fr}}
@media(max-width:650px){.enterprise-heading{align-items:stretch!important;flex-direction:column!important}.enterprise-heading .primary{width:100%}.enterprise-company-card{grid-template-columns:auto minmax(0,1fr);padding:18px}.company-card-status{grid-column:2;justify-self:start}.company-card-arrow{grid-column:2}.enterprise-detail-toolbar{grid-template-columns:1fr auto}.enterprise-detail-toolbar>div{grid-column:1/-1;grid-row:2}.enterprise-detail-toolbar .status-chip{grid-column:2;grid-row:1}.enterprise-back{grid-column:1;grid-row:1;justify-self:start}}

.record-file-action{margin-top:9px;padding:6px 9px;border:1px solid #b9d2c4;border-radius:5px;background:#fff;color:var(--green);font-size:9px;font-weight:700}.record-file-action:hover{background:#f1f7f3}.material-quick-upload{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) minmax(220px,.8fr) auto;align-items:end;gap:14px;margin-top:18px}.material-quick-upload label{font-size:11px}.material-quick-upload .primary{min-height:40px}.material-quick-upload .file-button{min-height:40px}
@media(max-width:1050px){.material-quick-upload{grid-template-columns:1fr 1fr}.material-quick-upload .primary{width:max-content}}
@media(max-width:650px){.material-quick-upload{grid-template-columns:1fr}.material-quick-upload .primary{width:100%}}
/* 材料导入审核 */
.import-status{margin:12px 24px;padding:10px 12px;border-radius:6px;background:#f6faf8;color:#275b47;font-size:12px}.import-status.error{background:#fff4f1;color:#a0402b}.import-candidates{display:grid;gap:10px;margin:0 24px 10px}.import-candidate{border:1px solid #dce8e1;border-radius:7px;padding:12px;background:#fcfdfc}.import-candidate-head{display:flex;align-items:center;gap:8px}.import-candidate-head strong{color:#173f30}.import-candidate-head small{margin-left:auto;color:#718078}.import-candidate-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.import-candidate-fields label{font-size:11px;color:#63736b}.import-candidate-fields input,.import-candidate-fields textarea{margin-top:4px;width:100%;box-sizing:border-box}.import-candidate-evidence{margin-top:8px;color:#718078;font-size:11px;line-height:1.5}.import-manual{margin:12px 24px 18px;padding:14px 16px;border:1px solid #ead7ac;border-radius:7px;background:#fffaf0;color:#5f4b25}.import-manual strong,.import-manual span{display:block}.import-manual strong{font-size:12px}.import-manual span{margin-top:5px;color:#8a7957;font-size:10px;font-weight:400;line-height:1.5}.import-manual-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.import-manual-fields label{color:#5f4b25;font-size:11px}.import-manual-fields label:last-child{grid-column:1/-1}.import-manual-fields input{margin-top:5px;width:100%;box-sizing:border-box}.enterprise-detail-toolbar .secondary-action{margin-left:auto}.enterprise-detail-toolbar .status-chip{margin-left:10px}

/* Enterprise record attachments */
.enterprise-detail-toolbar{grid-template-columns:auto minmax(0,1fr) auto auto}.record-row-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:9px}.record-row-actions .record-file-action{margin-top:0}.record-delete-action{padding:6px 4px;border:0;background:transparent;color:#a33b32;font-size:9px;font-weight:700}.record-delete-action:hover{text-decoration:underline}.record-material-help{display:flex;flex-direction:column;gap:5px;margin:18px 24px 0;padding:13px 15px;border:1px solid #dce8e1;border-radius:7px;background:#f7faf8}.record-material-help strong{color:#254d3d;font-size:12px}.record-material-help span{color:#66776e;font-size:10px;line-height:1.6}.record-material-list{display:grid;gap:14px;padding:18px 24px}.record-material-list>section,.archived-materials{border:1px solid #e1e8e4;border-radius:8px;overflow:hidden}.record-material-section-head,.archived-materials>summary{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;background:#f7faf8;color:#40564b;font-size:11px}.archived-materials>summary{cursor:pointer;font-weight:700}.record-material-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border-top:1px solid #e7ece9;background:#fff}.record-material-item.archived{background:#fbfcfb}.record-material-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#e8f2ec;color:var(--green);font-size:10px;font-weight:800}.record-material-item>div:nth-child(2){min-width:0}.record-material-item strong,.record-material-item small{display:block}.record-material-item strong{overflow:hidden;color:#263b31;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.record-material-item small{margin:5px 0;color:#75827b;font-size:9px}.record-material-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.record-material-actions button{padding:5px 8px;border:1px solid #c7d8cf;border-radius:5px;background:#fff;color:var(--green);font-size:9px;font-weight:700}.record-material-actions .danger-link{border-color:#ebc9c6;color:#a33b32}.record-material-upload{display:flex;align-items:end;gap:12px;padding:0 24px 20px}.record-material-upload .file-button{flex:1}.record-material-upload .primary{min-height:42px}.record-material-list .record-empty{min-height:130px}
.record-edit-action{padding:6px 12px;border:1px solid #b9cec2;border-radius:5px;background:#fff;color:var(--green);font-size:10px;font-weight:700}.record-edit-action:hover{border-color:#6f9f88;background:#f2f8f5}
.license-delete-action{padding:6px 12px;border:1px solid #e4b9b5;border-radius:5px;background:#fff;color:#a33b32;font-size:10px;font-weight:700}.license-delete-action:hover{border-color:#c86a62;background:#fff4f3}
.record-delete-action{padding:6px 12px;border:1px solid #e4b9b5;border-radius:5px;background:#fff;color:#a33b32;font-size:10px;font-weight:700;cursor:pointer}.record-delete-action:hover{border-color:#c86a62;background:#fff4f3;text-decoration:none}
@media(max-width:760px){.enterprise-detail-toolbar{grid-template-columns:1fr auto}.enterprise-detail-toolbar .secondary-action{grid-column:1;grid-row:3;justify-self:start;margin-left:0}.enterprise-detail-toolbar .status-chip{grid-column:2;grid-row:1;margin-left:0}.record-material-item{grid-template-columns:auto minmax(0,1fr)}.record-material-actions{grid-column:2;justify-content:flex-start}.record-material-upload{align-items:stretch;flex-direction:column}.record-material-upload .primary{width:100%}}

/* Clear, form-first enterprise profile workspace */
.enterprise-profile-workbench{margin-bottom:18px;padding:0!important;overflow:hidden;border-radius:9px;background:#fff!important}.enterprise-profile-tabs{display:flex;justify-content:center;gap:14px;padding:18px 22px 10px;border-bottom:1px solid #edf1ef}.enterprise-profile-tabs button{padding:7px 17px;border:1px solid #d5dfda;border-radius:999px;background:#fff;color:#52635a;font-size:11px;font-weight:700}.enterprise-profile-tabs button:hover{border-color:#8eb6a1;color:var(--green)}.enterprise-profile-tabs button.active{border-color:#198cff;background:#2998ff;color:#fff;box-shadow:0 3px 10px rgba(41,152,255,.16)}.enterprise-profile-panel{display:none;padding:24px 30px 12px}.enterprise-profile-panel.active{display:block}.business-license-row{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:start;gap:18px;margin-bottom:22px}.business-license-row>strong{padding-top:46px;color:#46584f;font-size:11px}.business-license-assets{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.license-preview-tile,.license-add-tile,.license-create-tile{position:relative;display:flex;width:124px;height:124px;align-items:center;justify-content:center;flex-direction:column;gap:8px;overflow:hidden;border:1px dashed #cad6d0;border-radius:6px;background:#fbfcfb;color:#738078}.license-preview-tile{border-style:solid;background:#fff}.license-preview-tile:hover,.license-add-tile:hover,.license-create-tile:hover{border-color:#72a78c;background:#f5faf7}.license-preview-tile img{width:100%;height:100%;object-fit:contain;background:#f6f8f7}.license-preview-tile>span{max-width:105px;overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.license-preview-tile>b{font-size:17px;color:#3e6252}.license-preview-tile>i{position:absolute;top:0;right:0;display:grid;width:23px;height:23px;place-items:center;background:#54b948;color:#fff;font-size:10px;font-style:normal;clip-path:polygon(0 0,100% 0,100% 100%)}.license-preview-tile>i::first-letter{visibility:hidden}.license-add-tile b,.license-create-tile b{font-size:31px;font-weight:300;line-height:1}.license-add-tile span,.license-create-tile span{font-size:9px}.license-create-tile{width:170px}.license-rule-note{flex-basis:100%;color:#849188;font-size:9px}.profile-inline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 54px}.profile-inline-grid label{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px;color:#53635b;font-size:11px;font-weight:700}.profile-inline-grid label.span-2{grid-column:1/-1}.profile-inline-grid label>span:first-child{text-align:right}.profile-inline-grid em{color:#d84942;font-style:normal}.profile-inline-grid input,.profile-inline-grid select,.profile-inline-grid textarea{width:100%;box-sizing:border-box;border-color:#d7e0dc;border-radius:4px;background:#fff;font-size:11px}.profile-inline-grid input,.profile-inline-grid select{height:36px}.profile-inline-grid textarea{min-height:84px;resize:vertical}.profile-inline-grid .input-with-unit{display:flex}.profile-inline-grid .input-with-unit input{border-radius:4px 0 0 4px}.profile-inline-grid .input-with-unit b{display:grid;min-width:46px;height:36px;place-items:center;border:1px solid #d7e0dc;border-left:0;border-radius:0 4px 4px 0;background:#f7f9f8;color:#7b8981;font-size:9px}.profile-section-intro{margin-bottom:22px;padding:13px 16px;border-left:3px solid #6ca589;background:#f7faf8}.profile-section-intro strong,.profile-section-intro span{display:block}.profile-section-intro strong{color:#294c3c;font-size:12px}.profile-section-intro span{margin-top:5px;color:#74837b;font-size:10px}.profile-save-bar{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:14px;padding:15px 30px 20px;border-top:1px solid #edf1ef}.profile-save-bar span{color:#7c8982;font-size:10px}.profile-save-bar .primary{min-width:122px}.business-license-assets.is-processing .license-create-tile,.business-license-assets.is-processing .license-add-tile{pointer-events:none;opacity:.58}.business-license-progress{display:flex;align-items:center;gap:8px;flex-basis:100%;color:#26744e;font-size:10px}.business-license-progress::before{width:12px;height:12px;border:2px solid #bdd9ca;border-top-color:#26744e;border-radius:50%;content:"";animation:license-spin .8s linear infinite}@keyframes license-spin{to{transform:rotate(360deg)}}.business-license-review-body{padding:20px 24px 4px}.business-license-review-body>p{margin:0;padding:12px 14px;border-left:3px solid #d69937;border-radius:5px;background:#fff8e9;color:#76531f;font-size:11px;line-height:1.7}.business-license-review-body .modal-form-grid{padding:18px 0 12px}.business-license-review-body>small{display:block;margin-bottom:16px;color:#78867e;font-size:10px;line-height:1.6}
.basic-account-proof-row{margin-top:22px}.profile-inline-grid input[readonly]{background:#f5f7f6;color:#68766f}
.profile-inline-grid .profile-enterprise-type-row{column-gap:16px}
.profile-enterprise-type-row>span{padding-right:2px;white-space:nowrap;line-height:20px}
.profile-enterprise-type-row select{padding-top:0;padding-right:38px;padding-bottom:0;padding-left:14px;line-height:normal;white-space:nowrap;text-overflow:ellipsis}
.legal-representative-grid{padding:8px 0 24px}.profile-radio-row{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px;color:#53635b;font-size:11px;font-weight:700}.profile-radio-row>span{text-align:right}.gender-options{display:flex;align-items:center;gap:24px}.gender-options label{display:flex!important;grid-template-columns:none!important;align-items:center!important;gap:7px!important}.gender-options input{width:15px!important;height:15px!important;accent-color:#198cff}.legal-id-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:54px;padding-top:2px}.legal-id-asset{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px}.legal-id-asset>strong{text-align:right;color:#53635b;font-size:11px}.identity-card-assets{display:flex;align-items:center;gap:10px}.identity-card-tile{position:relative;display:flex;width:174px;height:110px;align-items:center;justify-content:center;overflow:hidden;border:1px dashed #cad6d0;border-radius:6px;background:#fbfcfb;color:#738078}.identity-card-tile:hover{border-color:#72a78c;background:#f5faf7}.identity-card-tile img{width:100%;height:100%;object-fit:contain;background:#f6f8f7}.identity-card-tile b{font-size:26px;font-weight:300}.identity-card-tile span{font-size:10px}.identity-card-tile.upload{flex-direction:column;gap:7px}.identity-card-tile.current{border-style:solid}.identity-card-tile.current i{position:absolute;right:5px;bottom:5px;padding:2px 6px;border-radius:9px;background:#e8f6ee;color:#27835a;font-size:8px;font-style:normal}.identity-card-note{display:block;margin-top:6px;color:#849188;font-size:9px}
@media(max-width:900px){.profile-inline-grid{grid-template-columns:1fr;gap:12px}.profile-inline-grid label.span-2{grid-column:auto}.enterprise-profile-tabs{justify-content:flex-start;overflow:auto}.business-license-row{grid-template-columns:1fr}.business-license-row>strong{padding-top:0}.profile-inline-grid label,.profile-radio-row,.legal-id-asset{grid-template-columns:96px minmax(0,1fr)}.legal-id-assets{grid-template-columns:1fr;gap:18px}}
@media(max-width:560px){.enterprise-profile-panel{padding:18px 16px 8px}.enterprise-profile-tabs{gap:7px;padding:14px 14px 9px}.enterprise-profile-tabs button{padding:7px 11px;white-space:nowrap}.profile-inline-grid label{grid-template-columns:1fr;gap:6px}.profile-inline-grid label>span:first-child{text-align:left}.profile-save-bar{align-items:stretch;flex-direction:column;padding:14px 16px 18px}.profile-save-bar .primary{width:100%}.license-preview-tile,.license-add-tile{width:104px;height:104px}}

/* 企业详情：按企业基本信息、人员、证书、业绩、财务五个业务模块组织。 */
.enterprise-detail-toolbar{grid-template-columns:auto minmax(0,1fr) auto;margin-bottom:10px}.enterprise-detail-shell{padding:0!important;overflow:hidden;border-radius:3px;background:#fff}.enterprise-section-tabs{display:flex;align-items:stretch;overflow-x:auto;border-bottom:1px solid #dce4e0;background:#fbfcfc}.enterprise-section-tabs button{min-width:112px;padding:14px 22px;border:0;border-right:1px solid transparent;background:transparent;color:#4f5d56;font-size:12px;font-weight:700;white-space:nowrap}.enterprise-section-tabs button:hover{background:#f1f7f4;color:#176848}.enterprise-section-tabs button.active{background:#43a2f5;color:#fff}.enterprise-section-panel{display:none;padding:28px 32px 34px}.enterprise-section-panel.active{display:block}.enterprise-section-panel[data-enterprise-section-panel="basic"]{padding:0}.enterprise-profile-workbench{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.enterprise-profile-tabs{padding:15px 22px 16px;border-bottom:0}.enterprise-profile-tabs button{padding:6px 16px}.enterprise-profile-panel{padding:12px 42px 16px}.business-license-row{grid-template-columns:74px minmax(0,1fr);margin:2px 0 24px}.business-license-row>strong{padding-top:50px;text-align:right}.profile-inline-grid{gap:13px 50px}.profile-inline-grid input,.profile-inline-grid select{height:34px}.profile-inline-grid .input-with-unit b{height:34px}.profile-inline-grid textarea{min-height:66px}.profile-save-bar{margin-top:10px;padding:14px 42px 20px}.enterprise-section-panel>.record-list-head{margin:0 0 18px}.enterprise-section-panel>.record-preview{margin:0}.enterprise-record-row{min-height:72px}.enterprise-record-row .record-aside{min-width:190px}
.enterprise-profile-panel[data-profile-panel="reusable"]{padding:24px 42px 34px;background:#fbfcfb}.reusable-material-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}.reusable-material-heading>div>span{display:block;margin-bottom:5px;color:#6d8076;font-size:9px;font-weight:800;letter-spacing:.12em}.reusable-material-heading h3{margin:0;color:#1d3529;font-size:18px;line-height:1.4}.reusable-material-heading p{margin:7px 0 0;color:#718078;font-size:10px;line-height:1.65}.reusable-material-heading>b{flex:none;padding:6px 10px;border-radius:999px;background:#e6f3eb;color:#17704d;font-size:9px}.reusable-upload-card{padding:20px;border:1px solid #dce6e0;border-radius:9px;background:#fff;box-shadow:0 5px 18px rgba(26,63,46,.035)}.reusable-upload-title{display:flex;align-items:center;gap:11px;margin-bottom:18px}.reusable-upload-title>span{display:grid;width:32px;height:32px;place-items:center;border-radius:8px;background:#e8f3ed;color:#176c4c;font-size:18px}.reusable-upload-title strong,.reusable-upload-title small{display:block}.reusable-upload-title strong{color:#294238;font-size:13px}.reusable-upload-title small{margin-top:3px;color:#7b8982;font-size:9px}.reusable-form-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr);gap:16px}.reusable-form-grid label{display:flex;gap:7px;flex-direction:column;color:#43564c;font-size:10px;font-weight:700}.reusable-form-grid input,.reusable-form-grid select{width:100%;height:40px;border-radius:6px;background:#fcfdfc}.reusable-file-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:12px;margin-top:15px}.reusable-file-picker{position:relative;display:block;min-width:0;cursor:pointer}.reusable-file-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.reusable-file-picker>span{display:flex;min-height:50px;align-items:center;gap:12px;padding:9px 14px;border:1px dashed #b8cbc0;border-radius:7px;background:#f7faf8;color:#43584d}.reusable-file-picker:hover>span{border-color:#6b9e83;background:#f2f8f5}.reusable-file-picker b{flex:none;color:#176b4b;font-size:11px}.reusable-file-picker small{min-width:0;overflow:hidden;color:#7a8981;font-size:9px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.reusable-file-actions .primary{min-width:118px;border-radius:7px}.reusable-library{margin-top:22px}.reusable-library-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:10px}.reusable-library-head h4{margin:0;color:#294238;font-size:13px}.reusable-library-head p{margin:4px 0 0;color:#7b8982;font-size:9px}.reusable-library-head>span{padding:5px 9px;border-radius:999px;background:#edf2ef;color:#63736b;font-size:9px;font-weight:700}.reusable-material-list{overflow:hidden;border:1px solid #e0e8e3;border-radius:8px;background:#fff}.reusable-material-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;min-height:66px;padding:12px 14px;border-bottom:1px solid #e8edea}.reusable-material-item:last-child{border-bottom:0}.reusable-material-item:hover{background:#fafcfb}.reusable-material-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#e8f2ec;color:#176b4b;font-size:8px;font-weight:800}.reusable-material-item>div{min-width:0}.reusable-material-item strong,.reusable-material-item div>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reusable-material-item strong{color:#263b31;font-size:11px}.reusable-material-item div>span{margin-top:5px;color:#76847d;font-size:9px}.reusable-material-item button{padding:6px 10px;border:1px solid #c6d7ce;border-radius:5px;background:#fff;color:#176b4b;font-size:9px;font-weight:700}.reusable-material-empty{display:flex;min-height:150px;align-items:center;justify-content:center;flex-direction:column;padding:24px;text-align:center}.reusable-material-empty>span{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#edf3f0;color:#6e8077;font-size:17px}.reusable-material-empty strong{margin-top:10px;color:#475b50;font-size:12px}.reusable-material-empty p{margin:5px 0 0;color:#849088;font-size:9px;line-height:1.55}
.profile-save-bar[hidden]{display:none}
@media(max-width:900px){.enterprise-section-tabs button{min-width:105px;padding:13px 15px}.enterprise-section-panel{padding:22px 20px}.enterprise-profile-panel{padding:12px 22px 14px}.enterprise-profile-panel[data-profile-panel="reusable"]{padding:20px 22px 28px}.profile-save-bar{padding-left:22px;padding-right:22px}.reusable-form-grid{grid-template-columns:1fr}}
@media(max-width:560px){.enterprise-detail-toolbar{grid-template-columns:1fr auto}.enterprise-section-tabs button{min-width:auto;padding:12px 14px}.enterprise-section-panel{padding:18px 14px}.enterprise-profile-panel{padding:8px 14px}.enterprise-profile-panel[data-profile-panel="reusable"]{padding:16px 14px 22px}.business-license-row{grid-template-columns:1fr}.business-license-row>strong{text-align:left}.profile-save-bar{padding-left:14px;padding-right:14px}.reusable-material-heading{flex-direction:column;gap:10px}.reusable-upload-card{padding:16px}.reusable-file-actions{grid-template-columns:1fr}.reusable-file-actions .primary{width:100%}.reusable-material-item{grid-template-columns:auto minmax(0,1fr)}.reusable-material-item button{grid-column:2;justify-self:start}}
.maintenance-checklist{border-top:1px solid #e5eee9;margin-top:18px;padding-top:14px}.checklist-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.checklist-head strong{color:#173f30;font-size:13px}.checklist-head span{color:#78877f;font-size:11px}.checklist-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.checklist-item{display:flex;gap:7px;align-items:flex-start;padding:9px;border-radius:6px;background:#f6faf8}.checklist-item b{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#dbe9e1;color:#1d6448;font-size:11px;flex:none}.checklist-item.todo{background:#fff9ed}.checklist-item.todo b{background:#f7dfad;color:#976719}.checklist-item span{min-width:0}.checklist-item strong,.checklist-item small{display:block}.checklist-item strong{font-size:11px;color:#2d4438}.checklist-item small{margin-top:3px;color:#78877f;font-size:10px;line-height:1.35}
@media (max-width:900px){.checklist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checklist-head{display:block}.checklist-head span{display:block;margin-top:4px}}
 .license-rule-note button{margin-left:6px;padding:0;border:0;background:transparent;color:var(--green);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
/* 客户登录与账号会话 */
.login-screen{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 18% 18%,rgba(52,132,94,.18),transparent 30%),linear-gradient(145deg,#eef4f0,#f8faf9 55%,#e7f0eb)}
.login-screen[hidden]{display:none}.login-panel{width:min(430px,100%);padding:38px 42px 32px;border:1px solid #d2e0d8;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(24,65,47,.14)}
.login-brand{display:flex;align-items:center;gap:12px}.login-brand>div{display:flex;flex-direction:column}.login-brand strong{color:#123f2e;font-size:18px}.login-brand small{margin-top:2px;color:#738279;font-size:10px}.login-heading{margin:32px 0 24px}.login-heading>span{color:#1c7651;font-size:11px;font-weight:800;letter-spacing:3px}.login-heading h1{margin:9px 0 10px;color:#163c2d;font:700 28px Georgia,"Microsoft YaHei",serif}.login-heading p{margin:0;color:#718078;font-size:12px;line-height:1.75}.login-form{display:grid;gap:16px}.login-form label{display:grid;gap:7px;color:#40554a;font-size:12px;font-weight:700}.login-form input{height:44px;padding:0 13px;border:1px solid #cbd9d1;border-radius:7px;background:#fbfcfb;font-size:14px}.login-form input:focus{border-color:#2b8a63;outline:3px solid rgba(43,138,99,.1)}.login-submit{width:100%;height:46px;margin-top:4px}.login-error{margin:0;padding:10px 12px;border-radius:6px;background:#fff0ee;color:#a33b32;font-size:11px;line-height:1.5}.login-security{margin:20px 0 0;padding-top:16px;border-top:1px solid #e7ede9;color:#829088;font-size:10px;line-height:1.6;text-align:center}
#login-credentials:not([hidden]){display:grid;gap:18px}
#login-credentials label{gap:9px;line-height:1.4}
.account-summary{display:grid;gap:4px;margin:0 0 14px;padding:13px 14px;border:1px solid #dce6e0;border-radius:7px;background:#f7faf8}.account-summary span,.account-summary small{color:#7b8981;font-size:10px}.account-summary strong{color:#244c3b;font-size:13px}.password-change{margin:20px 0;border-top:1px solid #e2e9e5;padding-top:16px}.password-change summary{cursor:pointer;color:#285c45;font-size:12px;font-weight:700}.password-change form{display:grid;gap:11px;margin-top:14px}.password-change label{display:grid;gap:5px;font-size:10px}.password-change input{height:38px}.password-change small{color:#829088;font-size:9px}.logout-button{width:100%;margin-top:8px;border-color:#ddb9b5;color:#a33b32;background:#fff}
@media(max-width:560px){.login-panel{padding:28px 22px}.login-heading h1{font-size:24px}}
/* Chapter assembly keeps detailed form text collapsed until editing. */
.section-editor .production-copy{min-width:0;width:100%}
.section-editor textarea{display:block;width:100%;min-height:220px;line-height:1.7;margin:12px 0;box-sizing:border-box}
.section-editor details{margin:12px 0}.section-source{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;font:inherit}
.chapter-source-pane .section-source.tender-format-document{box-sizing:border-box;white-space:normal;padding:24px 26px;background:#fff;color:#34443b;font-size:13px;line-height:2}
.tender-format-document .tender-format-title{margin:0 0 24px;text-align:center;font-size:16px;line-height:1.6;font-weight:700;color:#20392c}
.tender-format-document p{margin:0 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}
.tender-format-document .tender-format-paragraph{text-indent:2em}
.tender-format-document .tender-format-clause{text-indent:0}
.tender-format-document .tender-format-list{margin:0 0 8px;padding-left:2em;text-indent:0}
.tender-format-document .tender-format-field{margin-bottom:14px;text-indent:0}.tender-auto-filled,.tender-template-fill{text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:#000;text-decoration-skip-ink:none}
.section-editor select{width:100%;min-height:120px}.section-group{color:#51736a;margin-top:6px}
.section-attachments{padding-left:24px}.section-attachments li{margin:8px 0;overflow-wrap:anywhere}.section-attachments button{margin-left:5px}
.section-file-actions{display:flex;gap:8px;flex-wrap:wrap}.document-item{flex-wrap:wrap;gap:12px}

/* 标书制作工作台：章节导航、招标要求与完整正文并排对照。 */
#page-review{--studio-ink:#17372a;--studio-muted:#718078;--studio-line:#dfe7e2;--studio-soft:#f4f8f6;--studio-accent:#176f4e}
#page-review .review-page-toolbar{align-items:center;margin-bottom:16px}.review-project-switcher{min-width:min(560px,60vw)!important;padding:16px 44px 16px 22px!important;border:0!important;border-radius:12px!important;background:linear-gradient(118deg,#103f2f 0%,#17664a 60%,#2a7b5d 100%)!important;color:#fff!important;font-size:15px;font-weight:700;box-shadow:0 10px 24px rgba(18,76,55,.16)}.review-project-switcher:focus{box-shadow:0 0 0 3px #dcefe7,0 10px 24px rgba(18,76,55,.16)!important}.review-project-switcher option{background:#fff;color:#17221d;font-weight:400}
.bid-studio-card{padding:0!important;overflow:hidden;border-radius:12px!important;box-shadow:0 10px 30px rgba(34,70,53,.06)}
.bid-studio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;border-bottom:1px solid var(--studio-line);background:#fff}.bid-studio-toolbar h3{margin:3px 0 4px;color:var(--studio-ink);font-size:17px}.bid-studio-toolbar p{margin:0;color:var(--studio-muted);font-size:11px}.bid-studio-toolbar .primary{min-width:190px;padding:11px 18px;border-radius:7px}
.bid-studio-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:650px;background:#fff}.bid-chapter-nav{border-right:1px solid var(--studio-line);background:#f7faf8}.bid-chapter-nav-head{display:flex;align-items:flex-end;justify-content:space-between;padding:17px 17px 12px}.bid-chapter-nav-head strong{color:var(--studio-ink);font-size:13px}.bid-chapter-nav-head span{color:#849188;font-size:9px}
.production-outline{max-height:700px;overflow:auto;padding:0 10px 20px}.production-outline .chapter-nav-group{margin:0 0 12px}.production-outline .chapter-nav-group h4{margin:0;padding:9px 8px 7px;color:#738078;font-size:10px;font-weight:700;letter-spacing:.08em}.chapter-nav-item{display:grid;width:100%;grid-template-columns:26px minmax(0,1fr) 18px;align-items:center;gap:7px;padding:9px 9px;border:0;border-radius:7px;background:transparent;color:#40554a;text-align:left}.chapter-nav-item:hover{background:#edf5f1}.chapter-nav-item.active{background:#fff;color:#125c40;box-shadow:0 4px 14px rgba(28,86,61,.09)}.chapter-nav-item>span{color:#93a098;font:700 9px/1.2 ui-monospace,monospace}.chapter-nav-item>b{overflow:hidden;font-size:10px;font-weight:650;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.chapter-nav-item>i{display:grid;width:17px;height:17px;place-items:center;border-radius:50%;font-size:9px;font-style:normal}.chapter-nav-item>i.ready{background:#dff2e7;color:#157248}.chapter-nav-item>i.missing{background:#fff0dc;color:#a65b00}
.production-input-list{min-width:0;margin:0!important;padding:20px;background:#fff}.chapter-workspace{display:block}.chapter-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.chapter-workspace-head span{display:block;margin-bottom:4px;color:#718078;font-size:10px}.chapter-workspace-head h3{margin:0;color:var(--studio-ink);font-size:18px}.chapter-state{padding:5px 9px;border-radius:999px;background:#e6f5ec;color:#176e4c;font-size:9px}.chapter-workspace.missing .chapter-state{background:#fff0dc;color:#9b5a08}
.chapter-nav-branch{margin:0 0 3px}.chapter-nav-parent{display:grid;width:100%;box-sizing:border-box;grid-template-columns:26px minmax(0,1fr) 18px;align-items:center;gap:7px;padding:9px 9px;color:#40554a}.chapter-nav-parent>span{color:#7d9b8b;font-size:11px;text-align:center}.chapter-nav-parent>b{font-size:12px;font-weight:650;line-height:1.45}.chapter-nav-parent>i{display:grid;width:17px;height:17px;place-items:center;border-radius:50%;font-size:9px;font-style:normal}.chapter-nav-parent>i.ready{background:#dff2e7;color:#157248}.chapter-nav-parent>i.missing{background:#fff0dc;color:#a65b00}.chapter-nav-children{margin:0 0 5px 20px;padding:2px 0 2px 9px;border-left:2px solid #d9e7df}.chapter-nav-children .chapter-nav-item{position:relative;background:#fbfdfc}.chapter-nav-children .chapter-nav-item:before{position:absolute;top:50%;left:-10px;width:8px;border-top:1px solid #b9cec3;content:""}.chapter-nav-children .chapter-nav-item.active{background:#edf6f1}.chapter-nav-root{margin-left:0}
.chapter-compare{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:14px}.chapter-pane{min-width:0;overflow:hidden;border:1px solid var(--studio-line);border-radius:10px;background:#fff}.chapter-source-pane{background:#f8faf9}.chapter-draft-pane{box-shadow:0 8px 24px rgba(30,75,55,.06)}.chapter-pane-head{display:flex;min-height:52px;box-sizing:border-box;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;border-bottom:1px solid var(--studio-line);background:#fff}.chapter-pane-title{display:flex;min-width:0;align-items:center;gap:10px}.chapter-pane-title>span{display:grid;width:25px;height:25px;flex:0 0 25px;place-items:center;border-radius:7px;background:#e7f1ec;color:#176b4b;font:700 9px/1 ui-monospace,monospace}.chapter-pane-head strong,.chapter-pane-head small{display:block}.chapter-pane-head strong{color:#29463a;font-size:11px}.chapter-pane-head small{margin-top:3px;color:#88948e;font-size:9px}.chapter-pane-actions{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:7px}.chapter-pane-actions button{min-height:32px;padding:6px 10px;white-space:nowrap}.chapter-edit-status{color:#a15a0b!important;white-space:nowrap}.chapter-source-pane .section-source{height:430px;max-height:none;margin:0;padding:18px;overflow:auto;border:0;background:transparent;color:#52635b;font:10px/1.8 "Microsoft YaHei",sans-serif;white-space:pre-wrap}.chapter-draft-editor{display:block;width:100%;height:430px;box-sizing:border-box;padding:18px;border:0;outline:0;resize:none;color:#253f33;font:11px/1.85 "Microsoft YaHei",sans-serif}.chapter-draft-editor:focus{box-shadow:inset 0 0 0 2px rgba(28,123,86,.18)}
.chapter-alerts{overflow:hidden;margin:-3px 0 13px;border:1px solid #f0d8b1;border-radius:7px;background:#fff8ec}.chapter-alerts .chapter-issue:last-child{border-bottom:0}.chapter-material-empty{display:flex;height:430px;box-sizing:border-box;align-items:center;justify-content:center;flex-direction:column;padding:32px;text-align:center}.chapter-material-empty>span{display:grid;width:52px;height:52px;place-items:center;border-radius:16px;background:#e8f4ee;color:#17714e;font-size:25px}.chapter-material-empty strong{margin-top:15px;color:#29463a;font-size:13px}.chapter-material-empty p{max-width:330px;margin:7px 0 18px;color:#7a8981;font-size:10px;line-height:1.65}.chapter-upload{position:relative;overflow:hidden;margin-bottom:9px}.chapter-upload input{position:absolute;opacity:0;inset:0;cursor:pointer}.chapter-upload b{display:block;padding:8px 16px;border:1px solid #bfd2c8;border-radius:6px;background:#fff;color:#286348;font-size:10px;cursor:pointer}
.chapter-resources{margin-top:14px;padding:14px 16px;border:1px solid var(--studio-line);border-radius:9px;background:#fbfcfb}.chapter-resources-head{display:flex;align-items:center;justify-content:space-between}.chapter-resources-head strong{color:#365247;font-size:11px}.chapter-resources-head span{color:#829088;font-size:9px}.chapter-resources>p{margin:9px 0 0;color:#8b9690;font-size:9px}.chapter-resources details{margin-top:10px;border-top:1px solid #e5ebe8}.chapter-resources summary{padding:10px 0 3px;color:#52665c;font-size:9px;cursor:pointer}.chapter-resources select{width:100%;min-height:90px;margin:8px 0}.chapter-resources details>div{display:flex;gap:7px}.section-attachments{margin:10px 0 0;padding:0;list-style:none}.section-attachments .section-attachment-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin:8px 0;padding:11px 12px;border:1px solid #e1e9e4;border-radius:8px;background:#fff;color:#485d52}.section-attachment-kind{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;background:#eaf4ee;color:#236b4e;font-size:10px;font-weight:800}.section-attachment-copy{display:grid;min-width:0;gap:4px}.section-attachment-copy strong{overflow:hidden;color:#253e32;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.section-attachment-copy small{color:#819087;font-size:9px}.section-attachments .attachment-actions{display:flex;align-items:center;gap:5px}.section-attachments button{min-height:30px;margin:0;padding:5px 9px;border-radius:5px}.section-attachments .attachment-preview{border-color:#a9c9b8;background:#f5faf7;color:#176b4a}.section-attachments .attachment-delete{border-color:#e2b9b5;background:#fff8f7;color:#a33e36}.section-attachments button:disabled{opacity:.4}@media(max-width:760px){.section-attachments .section-attachment-card{grid-template-columns:38px minmax(0,1fr)}.section-attachment-kind{width:38px;height:38px}.section-attachments .attachment-actions{grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap}}
.chapter-optional-upload{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;margin-top:11px;padding:11px 12px;border:1px solid #dce9e2;border-radius:7px;background:#f5faf7}.chapter-optional-upload>div{display:grid;gap:2px}.chapter-optional-upload strong{color:#315448;font-size:10px}.chapter-optional-upload small{color:#71857b;font-size:9px;line-height:1.5}.chapter-optional-upload .chapter-upload{margin:0}.chapter-optional-upload .chapter-upload b{white-space:nowrap;padding:7px 12px}.chapter-optional-upload>button{white-space:nowrap}
.production-material-card{margin-top:14px;border-radius:12px!important}.production-material-card .card-head p{margin:4px 0 0;color:#7a8981;font-size:10px}.production-material-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.production-material-item{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:13px;border:1px solid #ecd4ad;border-radius:8px;background:#fffaf2}.production-material-item.ready{border-color:#dbe9e1;background:#f6fbf8}.production-material-title{display:flex;align-items:center;gap:7px}.production-material-title strong{color:#2d463a;font-size:11px}.production-material-title em{padding:2px 5px;border-radius:4px;background:#fff0dc;color:#9a5a09;font-size:8px;font-style:normal}.production-material-item.ready em{background:#dff2e7;color:#167149}.production-material-item p{margin:5px 0 9px;color:#74837b;font-size:9px;line-height:1.55}.production-material-item .production-control{margin:0}.material-file-picker{position:relative;overflow:hidden}.material-file-picker input{position:absolute;opacity:0;inset:0}.material-file-picker span{display:block;padding:7px 12px;border:1px solid #cbd8d1;border-radius:5px;background:#fff;color:#52665c;font-size:9px;cursor:pointer}.production-material-empty{grid-column:1/-1;padding:18px;border:1px dashed #d8e2dd;border-radius:8px;color:#728178;font-size:10px;text-align:center}
.production-material-list.chapter-fields-disabled{position:relative}.production-material-list.chapter-fields-disabled .production-material-item{border-color:#d9dfdc;background:#f1f3f2;filter:grayscale(.35);opacity:.62}.production-material-list.chapter-fields-disabled .production-material-title strong,.production-material-list.chapter-fields-disabled .production-material-item p{color:#8b9690}.production-material-list.chapter-fields-disabled input,.production-material-list.chapter-fields-disabled select,.production-material-list.chapter-fields-disabled button,.production-material-list.chapter-fields-disabled .material-file-picker span{cursor:not-allowed}.production-material-disabled-note{grid-column:1/-1;padding:11px 14px;border:1px solid #d6ded9;border-radius:8px;background:#f3f6f4;color:#647269;font-size:10px}
@media(max-width:1050px){.bid-studio-shell{grid-template-columns:190px minmax(0,1fr)}.chapter-compare{grid-template-columns:1fr}.chapter-source-pane .section-source{height:260px}.chapter-draft-editor,.chapter-material-empty{height:340px}}
@media(max-width:760px){.bid-studio-toolbar{align-items:stretch;flex-direction:column}.bid-studio-toolbar .primary{width:100%}.bid-studio-shell{grid-template-columns:1fr}.bid-chapter-nav{border-right:0;border-bottom:1px solid var(--studio-line)}.production-outline{display:flex;gap:8px;max-height:none;overflow:auto;padding:0 12px 12px}.production-outline .chapter-nav-group{min-width:210px}.production-input-list{padding:14px}.production-material-list{grid-template-columns:1fr}.chapter-pane-head{align-items:flex-start;flex-wrap:wrap}.chapter-pane-actions{width:100%}}
.chapter-source-pane .section-source{font-size:12px;line-height:1.8}.chapter-draft-editor{font-size:13px;line-height:2;padding:22px 24px;letter-spacing:.01em;white-space:pre-wrap;tab-size:2}.chapter-draft-document{height:430px;overflow:auto;padding:24px 30px;background:#fff;color:#294438;font:13px/2 "Microsoft YaHei",sans-serif;letter-spacing:.01em}.chapter-draft-document .section-source{height:auto;max-height:none;margin:0;padding:0;overflow:visible;border:0;background:transparent;color:inherit;font:inherit;white-space:normal}.chapter-draft-document .tender-format-title{margin:3px 0 20px;text-align:center;color:#193d2d;font-size:17px;line-height:1.65}.chapter-draft-document .tender-format-paragraph,.chapter-draft-document .tender-format-clause,.chapter-draft-document .tender-format-list,.chapter-draft-document .tender-format-field{margin:0 0 15px}.chapter-draft-document .tender-format-paragraph{padding:0 1em;text-indent:2em}.chapter-draft-document .tender-format-clause{margin-top:20px;font-weight:600}.chapter-draft-document .tender-format-list{margin-left:3em;padding-left:1.1em}.chapter-draft-document .tender-format-field{margin-top:20px;padding-left:1em}.chapter-draft-editor-wrap[hidden],.chapter-draft-document[hidden]{display:none}.chapter-nav-item>b{font-size:12px;white-space:normal}.chapter-pane-head strong{font-size:13px}.chapter-issue{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid #f0d8b1;background:#fff8ec;color:#7f4b12}.chapter-issue-mark{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#f7dfb8;color:#93550e;font-size:12px;font-weight:800}.chapter-issue-copy{display:grid;min-width:0;gap:2px}.chapter-issue-copy strong{color:#71410d;font-size:11px;line-height:1.45}.chapter-issue-copy>span{color:#a05d13;font-size:10px;font-weight:700;line-height:1.55}.chapter-issue-copy small{margin:0;color:#8b7961;font-size:9px;line-height:1.45}.chapter-issue button{flex:none;white-space:nowrap}.chapter-attachment-issue{grid-template-columns:22px minmax(0,1fr) auto auto}.chapter-attachment-issue .chapter-upload{margin:0}.chapter-attachment-issue .chapter-upload b{padding:7px 12px;background:#fffdf8}.chapter-attachment-issue>button{min-height:32px}.production-gap-link{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:14px;text-align:left;border:1px solid #e6dccb;border-radius:8px;background:#fffaf2}.production-gap-link>span{color:#9e712c;font-size:10px}.production-gap-link>strong{grid-column:1;color:#405649;font-size:12px}.production-gap-link>b{grid-column:2;grid-row:1/3;align-self:center;color:#186b4a;font-size:11px}
/* The two comparison panes are one document surface.  Keep this final rule
   after older workspace rules so completed content cannot acquire a second
   font, line-height, margin or indentation system. */
.chapter-compare .chapter-draft-document{height:480px;margin:0;padding:26px;background:#fff;color:#293c33;font:14px/1.9 "SimSun","Songti SC",serif;letter-spacing:normal;overflow:auto;white-space:normal}
.chapter-compare .chapter-draft-document .section-source.tender-format-document{height:auto;max-height:none;margin:0;padding:0;overflow:visible;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit}
.chapter-compare .chapter-draft-document .tender-format-title{margin:0 0 24px;padding:0;text-align:center;color:#20392c;font:700 18px/1.6 "SimSun","Songti SC",serif}
.chapter-compare .chapter-draft-document .tender-format-paragraph{padding:0;text-indent:2em}
.chapter-compare .chapter-draft-document .tender-format-clause,.chapter-compare .chapter-draft-document .tender-format-field{margin:0 0 14px;padding:0;text-indent:0;font-weight:400}

/* Two-pane form comparison is a physical tender layout.  Do not turn source
   lines into paragraph boxes: their margins made the completed pane appear to
   have extra, unexplained line breaks after values were filled. */
.chapter-compare .tender-format-document .tender-format-title{max-width:24em;margin:0 auto 1.35em;padding:0;text-align:center}
.chapter-compare .tender-format-document .tender-format-context-title{max-width:32em;margin:0 auto .35em;text-align:center;color:#20392c;font:700 15px/1.55 "SimSun","Songti SC",serif}
.chapter-compare .tender-format-document .tender-format-context-title+.tender-format-context-title{margin-top:0}
.chapter-compare .tender-format-document .tender-format-context-title+.tender-format-title{margin-top:.15em}
.chapter-compare .tender-format-document .tender-format-line{min-height:1.9em;margin:0;padding:0;white-space:pre-wrap;overflow-wrap:normal;word-break:normal;text-indent:0}
.chapter-compare .tender-format-document .tender-format-spacer{height:1.9em;margin:0;padding:0}
.chapter-compare .tender-format-document .tender-format-signature-start{margin-top:2.1em}
.chapter-compare .tender-format-document .tender-format-note-start{margin-top:1.8em}
.chapter-compare .tender-format-document .tender-format-post-declaration-note{margin-top:2.1em;font-weight:700}
.chapter-alerts .chapter-attachment-issue{padding:14px 16px;gap:12px}
.chapter-alerts .chapter-attachment-issue .chapter-issue-copy strong{font-size:13px;line-height:1.5}
.chapter-alerts .chapter-attachment-issue .chapter-issue-copy>span{font-size:11px;line-height:1.55}
.chapter-alerts .chapter-attachment-issue .chapter-issue-copy small{font-size:10px;line-height:1.5}
@media(max-width:760px){.chapter-alerts .chapter-attachment-issue{grid-template-columns:22px minmax(0,1fr)}.chapter-alerts .chapter-attachment-issue .chapter-upload,.chapter-alerts .chapter-attachment-issue>button{grid-column:2;justify-self:start}}
.chapter-compare .chapter-draft-document .tender-format-list{margin:0 0 8px;padding-left:2em;text-indent:0}
.chapter-resources-head strong{font-size:12px}
.chapter-resources-head span{font-size:11px}
.chapter-resources>p.chapter-resources-empty{font-size:11px;line-height:1.6;color:#687b70}
.chapter-resources summary{font-size:11px;font-weight:600;line-height:1.5}
.chapter-alerts .chapter-issue{grid-template-columns:22px minmax(0,1fr)}
.chapter-alerts .chapter-issue.chapter-attachment-issue.has-material-select{grid-template-columns:22px minmax(0,1fr) minmax(260px,360px)}.chapter-material-select{display:grid;grid-template-columns:auto minmax(170px,1fr);align-items:center;gap:9px}.chapter-material-select>span{font-size:10px;font-weight:700;white-space:nowrap}.chapter-material-select select{width:100%;height:36px;margin:0;border:1px solid #d8bd8e;border-radius:6px;background:#fff;color:#5d421d;font-size:11px}.chapter-attachment-issue.not-required,.chapter-attachment-issue.has-material{border-color:#c7dfd2;background:#f2f9f5;color:#235941}.chapter-attachment-issue.not-required .chapter-issue-mark,.chapter-attachment-issue.has-material .chapter-issue-mark{background:#dcefe5;color:#176746}.chapter-attachment-issue.not-required .chapter-issue-copy strong,.chapter-attachment-issue.has-material .chapter-issue-copy strong{color:#235941}.chapter-attachment-issue.not-required .chapter-issue-copy>span,.chapter-attachment-issue.has-material .chapter-issue-copy>span{color:#376f56}.chapter-attachment-issue.not-required .chapter-issue-copy small,.chapter-attachment-issue.has-material .chapter-issue-copy small{color:#60796c}.chapter-attachment-issue.not-required .chapter-material-select select,.chapter-attachment-issue.has-material .chapter-material-select select{border-color:#b9d9c8;color:#245b42}@media(max-width:760px){.chapter-alerts .chapter-issue.chapter-attachment-issue.has-material-select{grid-template-columns:22px minmax(0,1fr)}.chapter-material-select{grid-column:2;grid-template-columns:1fr}.chapter-material-select>span{white-space:normal}}
.chapter-resources .chapter-optional-upload{margin-top:14px}
.chapter-resources .chapter-optional-upload strong{font-size:11px}
.chapter-resources .chapter-optional-upload small{font-size:10px}
.chapter-resources-current{margin-top:12px;padding-top:12px;border-top:1px solid #e5ebe8}
.chapter-resources-current>strong{color:#365247;font-size:11px}
.chapter-resources-current .chapter-resources-empty{margin:8px 0 0;color:#687b70;font-size:11px}
.chapter-resources details .chapter-resources-empty{margin:8px 0;color:#687b70;font-size:11px}
.chapter-resource-task{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 12px;border:1px solid #e5ebe8;border-radius:7px;background:#fff;color:#52665c;font-size:11px}
@media(max-width:760px){.chapter-resources .chapter-optional-upload{grid-template-columns:1fr}.chapter-resources .chapter-optional-upload .chapter-upload,.chapter-resources .chapter-optional-upload>button{justify-self:start}.chapter-resource-task{align-items:flex-start;flex-direction:column}}

/* Attachment workflow: one visible status, then two clearly separated ways to add files. */
.chapter-resources{padding:18px;background:#fff}
.chapter-resources-head{align-items:flex-start;gap:16px}
.chapter-resources-head>div{display:grid;gap:4px}
.chapter-resources-head>div>strong{font-size:15px;color:#203f31}
.chapter-resources-head>div>small{color:#66796f;font-size:11px;line-height:1.55}
.chapter-attachment-status{display:inline-flex;align-items:center;flex:none;padding:6px 10px;border-radius:999px;font-size:11px!important;font-weight:700}
.chapter-attachment-status.ready{background:#e4f4ea;color:#16704b}
.chapter-attachment-status.missing{background:#fff0d9;color:#9a5b08}
.chapter-attachment-status.optional{background:#edf1ef;color:#65746c}
.chapter-resource-guide{margin:14px 0 10px!important;color:#40564b!important;font-size:11px!important;line-height:1.6!important}
.chapter-resource-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.chapter-resource-method{box-sizing:border-box;min-width:0;margin:0!important;padding:14px;border:1px solid #dbe6e0!important;border-radius:9px;background:#f8fbf9}
.chapter-resource-upload{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px}
.chapter-resource-step{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#dceee5;color:#176c4b;font-size:11px;font-weight:800}
.chapter-resource-method-copy{display:grid;min-width:0;gap:4px}
.chapter-resource-method-copy>strong{color:#244638;font-size:12px}
.chapter-resource-method-copy>span,.chapter-resource-method-copy>small{color:#6b7d74;font-size:10px;line-height:1.55}
.chapter-resource-method-copy>[data-section-file-status]{overflow:hidden;color:#8a5a13;text-overflow:ellipsis;white-space:nowrap}
.chapter-resource-method-actions{display:flex!important;align-items:center;gap:8px;margin-top:11px}
.chapter-resource-upload>.chapter-resource-method-actions{grid-column:2}
.chapter-resource-method-actions .chapter-upload{margin:0}
.chapter-resource-method-actions button,.chapter-resource-method-actions .chapter-upload b{min-height:34px;box-sizing:border-box;padding:8px 12px;white-space:nowrap}
.chapter-resource-method-actions button:disabled{opacity:.45;cursor:not-allowed}
.chapter-resource-library>summary{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0;color:inherit;list-style:none}
.chapter-resource-library>summary::-webkit-details-marker{display:none}
.chapter-resource-library>summary>b{color:#176b4b;font-size:10px;white-space:nowrap}
.chapter-resource-library[open]>summary>b{font-size:0}
.chapter-resource-library[open]>summary>b::after{content:"收起";font-size:10px}
.chapter-resource-method-body{display:block!important;margin-top:12px;padding-top:12px;border-top:1px solid #dbe6e0}
.chapter-library-options{display:grid!important;width:100%;max-height:320px;overflow:auto;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:stretch;gap:8px}
.chapter-library-options>label{display:grid!important;box-sizing:border-box;width:100%;min-width:0;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:9px;padding:10px 12px;border:1px solid #d9e5df;border-radius:7px;background:#fff;cursor:pointer}
.chapter-library-options>label:has(input:checked){border-color:#7fb49d;background:#eff8f3}
.chapter-library-options input{margin-top:3px}
.chapter-library-options label>span{display:grid;min-width:0;gap:2px}
.chapter-library-options strong{display:block;min-width:0;color:#304c40;font-size:11px;line-height:1.55;overflow-wrap:anywhere;white-space:normal}
.chapter-library-options small{display:block;min-width:0;color:#7a8981;font-size:9px;line-height:1.5;overflow-wrap:anywhere;white-space:normal}
.chapter-resources-current{margin-top:16px;padding-top:14px}
.chapter-resources-current-head{display:flex;align-items:center;justify-content:space-between}
.chapter-resources-current-head>strong{color:#29473a;font-size:12px}
.chapter-resources-current-head>span{color:#74847b;font-size:10px}
.chapter-attachment-empty{display:flex;align-items:center;gap:10px;margin-top:9px;padding:13px;border:1px dashed #cfdcd5;border-radius:8px;background:#fafcfb}
.chapter-attachment-empty>span{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:8px;background:#edf3f0;color:#75877e;font-size:16px}
.chapter-attachment-empty>div{display:grid;gap:3px}
.chapter-attachment-empty strong{color:#52675d;font-size:11px}
.chapter-attachment-empty small{color:#849189;font-size:10px;line-height:1.5}
@media(max-width:980px){.chapter-resource-methods{grid-template-columns:1fr}}
@media(max-width:620px){.chapter-resources-head{align-items:stretch;flex-direction:column}.chapter-attachment-status{align-self:flex-start}.chapter-resource-upload{grid-template-columns:28px minmax(0,1fr)}.chapter-resource-method-actions{align-items:stretch;flex-direction:column}.chapter-resource-method-actions .chapter-upload,.chapter-resource-method-actions button{width:100%;text-align:center}}
.chapter-required-material-list{display:grid;gap:12px;margin-top:14px}.chapter-required-material{padding:14px;border:1px solid #e2b36e;border-radius:9px;background:#fffbf4}.chapter-required-material.ready{border-color:#b8dcca;background:#f7fcf9}.chapter-required-material-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px}.chapter-required-material-head>span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#f7e5c8;color:#8d5c14;font-size:10px;font-weight:800}.chapter-required-material.ready .chapter-required-material-head>span{background:#dcefe5;color:#176b4b}.chapter-required-material-head>div{display:grid;gap:3px}.chapter-required-material-head strong{color:#3b4b43;font-size:12px;line-height:1.55}.chapter-required-material-head small{color:#7c887f;font-size:10px}.chapter-required-material-head em{padding:5px 8px;border-radius:12px;background:#fff0d8;color:#9a5e08;font-size:10px;font-style:normal;font-weight:700;white-space:nowrap}.chapter-required-material.ready .chapter-required-material-head em{background:#e5f4eb;color:#176b4b}.chapter-required-material-actions{display:flex;align-items:center;gap:8px;margin:12px 0 0 40px}.chapter-required-material-actions .chapter-upload{margin:0}.chapter-required-material-actions button,.chapter-required-material-actions .chapter-upload b{min-height:34px;box-sizing:border-box;padding:8px 12px}.chapter-required-material-library{display:block;width:auto;margin:10px 0 0 40px!important;padding-top:8px}.chapter-required-material-library summary{padding:0!important;color:#176b4b!important}.chapter-required-material-library>.chapter-library-options{margin:10px 0;max-height:320px}.chapter-required-material-library>button{margin-top:2px}.chapter-required-material-empty{margin:10px 0 0 40px;padding:10px;border:1px dashed #dec9a8;border-radius:7px;color:#936928;font-size:10px}.chapter-required-material>.section-attachments{margin-left:40px}.chapter-unassigned-materials>p{color:#8a5a13;font-size:10px;line-height:1.55}@media(max-width:700px){.chapter-library-options{grid-template-columns:1fr}.chapter-required-material-head{grid-template-columns:28px minmax(0,1fr)}.chapter-required-material-head em{grid-column:2;justify-self:start}.chapter-required-material-actions{align-items:stretch;flex-direction:column;margin-left:38px}.chapter-required-material-actions .chapter-upload,.chapter-required-material-actions button{width:100%;text-align:center}.chapter-required-material-library,.chapter-required-material-empty,.chapter-required-material>.section-attachments{margin-left:38px!important}}
.chapter-omitted-preview{display:grid;gap:5px;margin:14px 18px 0;padding:12px 14px;border:1px solid #bcd9ca;border-radius:7px;background:#f1f8f4;color:#315343}.chapter-omitted-preview strong{font-size:12px}.chapter-omitted-preview span{font-size:10px;line-height:1.55;color:#667b70}
.document-item .document-download{border:1px solid var(--line);background:white;color:var(--green);padding:7px;text-decoration:none}
.bid-final-product .document-list{margin-top:16px}.bid-final-product .final-document-item{display:grid;grid-template-columns:minmax(180px,1fr) auto;align-items:center;gap:18px;padding:18px 0}.final-document-copy strong,.final-document-copy small{display:block}.final-document-copy strong{color:#183a2b;font-size:15px}.final-document-copy small{margin-top:5px!important;color:#7a8981!important;font:11px inherit!important}.final-download-actions{display:flex;gap:12px}.bid-final-product .final-download-actions .document-download{display:inline-flex;min-width:132px;min-height:42px;align-items:center;justify-content:center;padding:10px 20px;border-radius:5px;font-size:14px;font-weight:700}.bid-final-product .final-download-actions .document-download:first-child{border-color:var(--green);background:var(--green);color:#fff}.bid-final-product .final-download-actions .document-download:last-child{border-color:#9ebcaf;background:#fff;color:var(--green)}.final-document-warnings{grid-column:1/-1;padding-top:12px;border-top:1px solid #e4eae6;color:#6d7b74;font-size:11px}.final-document-warnings summary{cursor:pointer;color:#6d7b74}.final-document-warnings p{margin:8px 0 0;font-size:10px;line-height:1.6}@media(max-width:700px){.bid-final-product .final-document-item{grid-template-columns:1fr}.final-download-actions{display:grid;grid-template-columns:1fr 1fr}.bid-final-product .final-download-actions .document-download{min-width:0}}

/* 投标项目列表中的风险入口保持单行简洁，详情仅在点击后展开。 */
.bid-risk-cell{text-align:center}
.bid-risk-cell .bid-risk-button{display:inline-flex;width:auto;min-height:32px;align-items:center;justify-content:center;gap:7px;padding:6px 10px;border:1px solid #efd6d1;border-radius:999px;background:#fff8f6;color:#a64339;white-space:nowrap;text-align:center;box-shadow:0 1px 2px rgba(96,49,43,.04);transition:border-color .16s ease,background .16s ease,transform .16s ease}
.bid-risk-cell .bid-risk-button span{font-size:9px;font-weight:600}
.bid-risk-cell .bid-risk-button b{font-size:11px;font-weight:800}
.bid-risk-cell .bid-risk-button i{color:#c17169;font-size:15px;font-style:normal;line-height:1;transition:transform .16s ease}
.bid-risk-cell .bid-risk-button:hover{border-color:#dba39c;background:#fff2ef;transform:translateY(-1px)}
.bid-risk-cell .bid-risk-button:hover i{transform:translateX(2px)}

/* 响应文件封面严格按招标文件给出的投标封面层级和留白展示。 */
.bid-cover-paper{padding-right:28px;padding-left:28px}
.bid-cover-paper h2{font-size:clamp(15px,1.25vw,24px);line-height:1.5;letter-spacing:.04em;white-space:nowrap}
.bid-cover-paper h1{margin:24px 0 10px;font-size:26px;font-weight:600;letter-spacing:.14em}
.bid-cover-paper>em{margin-bottom:70px;font-size:20px}
.bid-cover-fields{gap:24px}
.bid-cover-field:nth-child(4){margin-top:48px}
.bid-cover-field span{font-size:15px}
.cover-template-message{margin:20px 24px;padding:16px 18px;border:1px solid #e8c795;border-radius:8px;background:#fff8e9;color:#6a4b1c;font-size:13px;line-height:1.7}
#toast+.prepared-word-link,.prepared-word-link{display:inline-flex;align-items:center;margin-left:10px;padding:9px 13px;border:1px solid #0c6041;border-radius:6px;color:#0c6041;font-weight:700;text-decoration:none;background:#fff}.prepared-word-link:hover{background:#e8f4ee}

.analysis-edit-row>textarea{height:auto;min-height:46px;line-height:1.8;resize:vertical;overflow-y:hidden;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.analysis-edit-lock-note{margin:8px 18px;color:#8a5a12;font-size:12px;line-height:1.6}.analysis-reference-footer .primary:disabled{opacity:.55;cursor:not-allowed}

.evaluation-structured textarea{display:block;width:100%;min-height:56px;box-sizing:border-box;padding:8px;border:1px solid #d5dfe7;border-radius:3px;font:inherit;line-height:1.8;color:#40515f;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;resize:vertical;overflow-y:hidden}.evaluation-structured textarea:focus{outline:2px solid rgba(22,132,239,.15);border-color:#1684ef}.evaluation-rule-card>span>b:has(textarea){min-width:0}.evaluation-structured div[data-analysis-row]{cursor:default}

.composition-name-input{width:100%;min-width:0;box-sizing:border-box;padding:6px 9px;border:1px solid #d5dfe7;border-radius:3px;font:inherit;color:inherit;background:white}.tree-group .composition-name-input{flex:1;width:auto}.tree-leaf:has(.composition-name-input){padding-top:4px;padding-bottom:4px}
.site-compliance{font-size:12px;text-align:center;line-height:1.6}.site-compliance a{color:#526b5c;text-decoration:none}.site-compliance a:hover,.site-compliance a:focus-visible{text-decoration:underline}.site-compliance-login{position:absolute;bottom:16px;left:16px;right:16px}.app-shell{display:flex;flex-direction:column}.app-shell>.content{width:100%;flex:1;margin:0 auto}.site-compliance-workspace{margin-top:auto;padding:12px 34px 16px;text-align:right}@media(max-width:760px){.site-compliance-workspace{padding:12px 16px;text-align:center}}
