:root{font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;color:#243746;background:#f3f5f4;--ink:#142b3b;--muted:#6e7c83;--line:#dfe5e3;--red:#bd1928;--red-dark:#991523;--cream:#faf8f3;--focus:#236a8a}*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:-9999px;top:8px;z-index:100;background:#fff;padding:10px}.skip-link:focus{left:8px}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.site-shell{min-height:100vh}.topbar{height:78px;background:#152c3d;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,4.6vw,78px);border-bottom:3px solid #b91d2b}.brand{display:flex;align-items:center;gap:13px;text-decoration:none}.brand-mark{width:39px;height:39px;border:2px solid #dca0a4;border-radius:11px;display:grid;place-items:center;color:#fff;font-family:Georgia,serif;font-size:37.8px;line-height:1;font-style:italic}.brand strong{display:block;font-size:23.8px;letter-spacing:.02em;font-weight:650}.brand small{display:block;margin-top:3px;color:#b6c5cd;font-size:15.4px;letter-spacing:.05em}.topbar-right{display:flex;align-items:center;gap:26px;font-size:18.2px;color:#c5d0d5}.back-link{color:#fff;text-decoration:none;padding:10px 0;border-bottom:1px solid #78909a}.back-link:hover{border-color:#fff}.main{max-width:1540px;margin:auto;padding:0 clamp(20px,4.6vw,78px) 80px}.intro{padding:48px 0 36px;display:flex;align-items:flex-end;justify-content:space-between;gap:32px}.eyebrow,.section-kicker{font-size:15.4px;font-weight:700;letter-spacing:.17em;color:#aa2936}.eyebrow{display:flex;align-items:center;gap:9px}.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:#bd1928;box-shadow:0 0 0 4px #f8e4e6}.intro h1{font-size:clamp(42px,4.62vw,67.2px);line-height:1.25;letter-spacing:-.03em;margin:14px 0 13px;font-weight:650;color:var(--ink)}.intro p{font-size:21px;line-height:1.8;margin:0;color:#6f7e86;max-width:700px}.button{border:1px solid transparent;border-radius:8px;padding:11px 18px;min-height:42px;font-size:19.6px;font-weight:600;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}.button:not(:disabled):active{transform:translateY(1px)}.button-primary{background:var(--red);color:#fff;box-shadow:0 6px 14px #aa233119}.button-primary:hover{background:var(--red-dark)}.button-quiet{background:#fff;color:#455864;border-color:#d5dddf}.button-quiet:hover{background:#f5f8f8;border-color:#aab9bd}.button-add{border:1px dashed #b6c5c8;background:#fff;color:#8e2630;padding:9px 15px}.button-add:hover{background:#fff7f7;border-color:#bd1928}.feedback{background:#fff7e8;border:1px solid #efd59f;color:#6d5015;border-radius:8px;padding:11px 14px;margin:0 0 20px;font-size:18.2px}.feedback.error{background:#fff1f1;border-color:#edb4ba;color:#a1222f}.feedback.success{background:#edfaf2;border-color:#acd8ba;color:#276b3e}.summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 30px #1e394808;overflow:hidden}.summary-item{display:flex;gap:14px;align-items:center;padding:22px 26px;min-width:0}.summary-item+.summary-item{border-left:1px solid #e9edeb}.summary-icon{flex:none;width:38px;height:38px;border-radius:9px;display:grid;place-items:center;font-size:25.2px;font-weight:700}.icon-ink{color:#36617b;background:#eaf1f4}.icon-amber{color:#9d6b15;background:#fff4df}.icon-green{color:#287654;background:#e8f5ee}.icon-blue{color:#4468a5;background:#eef2fa}.summary-item div{min-width:0}.summary-item span:not(.summary-icon){display:block;font-size:16.8px;color:#7c888d;margin-bottom:2px}.summary-item strong{font-size:36.4px;color:var(--ink);font-weight:650}.phase-strip{margin:22px 0 26px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.phase{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:15px;min-width:0}.phase.current{background:var(--ink);border-color:var(--ink);color:#fff}.phase>span{width:29px;height:29px;border-radius:50%;flex:none;display:grid;place-items:center;background:#e7ecec;color:#718188;font-size:15.4px;font-weight:700}.phase.current>span{background:#be2733;color:#fff}.phase strong{font-size:18.2px;display:block}.phase small{display:block;font-size:15.4px;color:#9aa5a7;line-height:1.45;margin-top:3px}.phase.current small{color:#b8c9d0}.orders-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 30px #1e394808;overflow:hidden}.card-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:27px 30px 21px}.card-heading h2{font-size:30.8px;margin:7px 0 4px;color:var(--ink)}.card-heading p{font-size:18.2px;color:#7d898f;margin:0}.result-count{font-size:16.8px;color:#869199}.filters{display:flex;gap:10px;padding:0 30px 19px;align-items:center}.filters label{display:block}.filters .filter-search{flex:1;max-width:420px}.filters input,.filters select{height:42px;width:100%;border:1px solid #d7dfdf;border-radius:8px;background:#fff;color:#30444e;padding:0 12px;font-size:18.2px}.filters select{min-width:145px}.order-list{min-height:200px}.table-scroll{overflow-x:auto}.order-table{width:100%;border-collapse:collapse;text-align:left}.order-table th{font-size:15.4px;letter-spacing:.04em;color:#879199;font-weight:600;background:#f8faf9;border-block:1px solid #edf0ef;white-space:nowrap;padding:13px 16px}.order-table th:first-child,.order-table td:first-child{padding-left:30px}.order-table th:last-child,.order-table td:last-child{padding-right:30px}.order-table td{border-bottom:1px solid #edf0ef;padding:17px 16px;vertical-align:middle;font-size:18.2px;color:#465961}.order-table tbody tr:last-child td{border-bottom:0}.order-table tbody tr:hover{background:#fbfcfb}.order-title{display:block;font-weight:650;color:#213845;line-height:1.45;max-width:270px}.order-sub{display:block;color:#9ba4a6;font-size:15.4px;margin-top:4px;word-break:break-all}.project-label{font-weight:600;color:#334b56}.secondary-text{display:block;color:#98a3a7;font-size:15.4px;margin-top:4px}.money{font-variant-numeric:tabular-nums;font-weight:700;color:#263c48;white-space:nowrap}.status{font-size:15.4px;font-weight:700;display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 10px;white-space:nowrap}.status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-draft{color:#687780;background:#edf1f2}.status-pending{color:#936218;background:#fff2d9}.status-approved{color:#2c7755;background:#e8f6ed}.status-rejected{color:#ad2736;background:#ffeded}.text-action{border:0;background:none;color:#b11929;font-size:16.8px;font-weight:650;white-space:nowrap;padding:6px 0}.text-action:hover{text-decoration:underline}.state-message{display:grid;place-items:center;text-align:center;padding:65px 20px;color:#829097;font-size:19.6px;line-height:1.7}.state-message strong{display:block;color:#384f5a;font-size:23.8px;margin-bottom:5px}.state-message p{margin:0}.state-message a{color:var(--red)}dialog{border:0;border-radius:15px;padding:0;color:var(--ink);box-shadow:0 24px 85px #112a3b4d;max-height:min(92vh,1000px)}dialog::backdrop{background:#102a3f9c;backdrop-filter:blur(3px)}.order-dialog{width:min(920px,calc(100vw - 36px))}.detail-dialog{width:min(720px,calc(100vw - 36px))}.review-dialog{width:min(560px,calc(100vw - 36px))}.dialog-heading{display:flex;justify-content:space-between;gap:16px;padding:24px 30px 20px;border-bottom:1px solid #e7eceb}.dialog-heading h2{font-size:32.2px;margin:5px 0;color:#1a3442}.dialog-heading p{margin:5px 0 0;font-size:16.8px;color:#879398}.icon-button{align-self:start;border:0;background:#eef2f1;color:#677b83;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:32.2px;line-height:1}.icon-button:hover{background:#e6ebea}.dialog-body{overflow-y:auto;max-height:calc(92vh - 176px);padding:0 30px 24px}.dialog-footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e7eceb;padding:17px 30px;display:flex;justify-content:flex-end;gap:10px;z-index:2}.form-section{padding:24px 0 26px;border-bottom:1px solid #ecf0ee}.form-section:last-child{border-bottom:0;padding-bottom:4px}.form-section-heading{display:flex;align-items:center;gap:11px;margin-bottom:16px}.form-section-heading span{display:grid;place-items:center;border-radius:6px;background:#eef2f1;color:#69808b;width:27px;height:27px;font-size:14px;font-weight:700}.form-section-heading h3{font-size:22.4px;margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.form-grid label,.item-grid label,.item-warranty label,.review-dialog label{display:flex;flex-direction:column;gap:7px;font-size:16.8px;font-weight:600;color:#596c75}.form-grid input,.form-grid select,.item-grid input,.item-grid select,.item-warranty input,.item-warranty select,.review-dialog select,.review-dialog textarea{min-height:41px;border:1px solid #d1dadc;border-radius:7px;padding:9px 11px;background:#fff;color:#243b48;outline-color:var(--focus);font-size:18.2px}.form-grid input[readonly]{color:#8b979b;background:#f4f6f5}.form-grid em,.item-grid em,.item-warranty em,.review-dialog em{color:#c62230;font-style:normal}.approval-hint{grid-column:1/-1;background:#f5f8fa;border-left:3px solid #6c8da0;color:#5b737f;padding:11px 13px;font-size:16.8px;line-height:1.65}.approval-hint.high{background:#fff4e7;border-color:#d69a40;color:#7d581c}.section-help,.warranty-note{color:#76878e;font-size:16.8px;line-height:1.75;margin:0 0 16px}.warranty-note{background:#f7f9f7;padding:12px;border-radius:7px;margin:14px 0 0}.item-rows{display:grid;gap:12px}.item-row{background:#f9fbfa;border:1px solid #e3e9e7;border-radius:9px;padding:15px}.item-row-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.item-number{font-size:18.2px}.remove-item{border:0;background:none;color:#a9353e;font-size:16.8px;padding:4px}.remove-item:hover{text-decoration:underline}.item-grid{display:grid;grid-template-columns:minmax(160px,2fr) minmax(110px,1fr) repeat(3,minmax(75px,.7fr));gap:11px}.item-grid .item-name{min-width:0}.override-toggle{display:flex;align-items:center;gap:8px;margin-top:16px;color:#4e6974;font-size:16.8px;cursor:pointer}.override-toggle input{accent-color:#bd1928}.item-warranty{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px;padding:14px;border-left:3px solid #b7c9d0;background:#fff;border-radius:4px}.line-total{text-align:right;color:#2d4856;font-size:18.2px;font-weight:700;margin-top:18px}.line-total small{display:block;font-weight:400;color:#95a1a5;margin-top:4px}.detail-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;padding:24px 0;border-bottom:1px solid #e8eceb}.detail-cell>span{font-size:15.4px;color:#8b999e;display:block;margin-bottom:6px}.detail-cell>strong{font-size:19.6px;color:#253d49;font-weight:600;line-height:1.55;overflow-wrap:anywhere}.detail-cell.wide{grid-column:1/-1}.detail-section{padding:22px 0;border-bottom:1px solid #e8eceb}.detail-section:last-child{border:0}.detail-section h3{font-size:21px;margin:0 0 13px}.detail-section p{font-size:16.8px;color:#6a7b83;line-height:1.75;margin:8px 0}.detail-item{padding:12px 0;border-top:1px solid #edf1ef}.detail-item:first-of-type{border-top:0}.detail-item-head{display:flex;justify-content:space-between;gap:10px;font-size:18.2px}.detail-item-head strong{color:#2b4552}.detail-item-head span{color:#849195}.detail-item small{display:block;margin-top:5px;color:#88969c;line-height:1.6}.detail-note{background:#f7f9f8;border-radius:7px;padding:12px!important}.review-summary{background:#f7f9f8;padding:14px;border-radius:7px;margin:22px 0 18px;font-size:18.2px;line-height:1.65;color:#435967}.review-dialog label{margin:14px 0}.review-dialog textarea{resize:vertical;min-height:94px}.review-dialog .section-help{margin-top:18px}
@media(max-width:1050px){.summary-item{padding:19px 16px}.phase small{display:none}.phase{min-height:61px}.phase strong{font-size:16.8px}.item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.item-grid .item-name{grid-column:span 2}}
@media(max-width:700px){.topbar{height:auto;min-height:70px;padding:11px 18px}.topbar-right{gap:12px}.topbar-right #userLine{display:none}.main{padding:0 15px 55px}.intro{padding:29px 0 25px;display:block}.intro-actions{margin-top:20px}.intro-actions .button{width:100%}.intro h1{font-size:43.4px}.intro p{font-size:18.2px}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-item{padding:16px}.summary-item:nth-child(3){border-left:0;border-top:1px solid #e9edeb}.summary-item:nth-child(4){border-top:1px solid #e9edeb}.summary-item strong{font-size:30.8px}.phase-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.phase{padding:11px}.phase small{display:none}.card-heading{padding:21px 16px 17px}.card-heading h2{font-size:26.6px}.card-heading p{font-size:16.8px}.filters{padding:0 16px 16px;flex-wrap:wrap}.filters .filter-search{max-width:none;width:100%;flex:auto}.filters select{min-width:0;width:100%}.filters label:not(.filter-search){flex:1}.filters>.button{flex:none}.order-table th:first-child,.order-table td:first-child{padding-left:16px}.order-table th:last-child,.order-table td:last-child{padding-right:16px}.dialog-heading{padding:19px 19px 16px}.dialog-body{padding:0 19px 22px}.dialog-footer{padding:13px 19px}.form-grid,.item-warranty{grid-template-columns:1fr}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.item-grid .item-name{grid-column:1/-1}.detail-overview{grid-template-columns:1fr}}
.task-panel{margin:12px 0 4px;background:#f5f8f7;border:1px solid #e4ebea;border-radius:8px;padding:12px}.task-panel p{margin:0 0 8px}.task-panel label,.delivery-date{display:flex;flex-direction:column;gap:7px;color:#596c75;font-size:16.8px;font-weight:600}.task-panel select,.task-panel input,.task-panel textarea,.delivery-date input,.delivery-quantity input{border:1px solid #d1dadc;border-radius:7px;padding:9px 10px;background:#fff;color:#243b48;font-size:18.2px;min-height:39px}.task-panel textarea{min-height:65px;resize:vertical}.task-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:9px}.task-panel .button{min-height:36px;padding:7px 13px}.task-status{display:inline-block;color:#667c87;font-size:16.8px;margin-top:7px}.detail-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.detail-section-heading h3{margin-bottom:13px}.detail-section-heading .button{min-height:35px;padding:7px 12px;font-size:16.8px;margin-bottom:11px}.delivery-card{border:1px solid #e2e9e7;border-radius:8px;padding:13px;margin:10px 0;background:#fbfcfb}.delivery-card-header{display:flex;justify-content:space-between;gap:12px;align-items:center}.delivery-card-header strong{font-size:18.2px}.delivery-card p{margin:7px 0!important}.delivery-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.delivery-card-actions .button{min-height:34px;padding:7px 11px;font-size:16.8px}.delivery-item-rows{display:grid;gap:9px;margin:16px 0}.delivery-quantity{display:grid;grid-template-columns:1fr 110px;align-items:center;gap:12px;padding:10px 12px;background:#f7f9f8;border-radius:7px;font-size:18.2px}.delivery-quantity small{display:block;margin-top:3px;color:#84959b;font-size:15.4px}.delivery-quantity input{width:100%}.delivery-date{margin:18px 0}.delivery-intro{margin-top:20px}.task-panel .text-action{padding:4px 0}
.status-pending_review{color:#936218;background:#fff2d9}.detail-inline-alert{margin-top:16px;padding:10px 12px;border-radius:7px;background:#fff1f1;color:#a1222f;border:1px solid #edb4ba;font-size:16.8px}.detail-inline-alert.success{background:#edfaf2;color:#276b3e;border-color:#acd8ba}
.status-in_progress{color:#315d85;background:#e8f1fa}.status-completed{color:#287654;background:#e8f5ee}.intro-actions{display:flex;gap:10px;align-items:center}.intro-actions a.button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:700px){.task-fields{grid-template-columns:1fr}.delivery-quantity{grid-template-columns:1fr 100px}}
@media(max-width:700px){.intro-actions{flex-direction:column;align-items:stretch}.intro-actions .button{width:100%}}
.phase:nth-child(2).current{background:#966a2b;border-color:#966a2b}.phase:nth-child(2).current>span{background:#f2d197;color:#6f4c1e}.phase:nth-child(3).current{background:#327259;border-color:#327259}.phase:nth-child(3).current>span{background:#bce2cf;color:#245841}
.purchase-ledger{margin-top:26px}.purchase-heading-actions{display:flex;align-items:center;gap:14px}.purchase-table .order-title{max-width:210px}.purchase-table td{line-height:1.5}.progress-pill{display:inline-block;border-radius:20px;padding:5px 10px;font-size:15.4px;font-weight:700;color:#657c85;background:#edf2f3;white-space:nowrap}.progress-ordered{color:#94631a;background:#fff2dd}.progress-arrived{color:#32688a;background:#e9f2f9}.progress-accepted{color:#287654;background:#e8f5ee}
.purchase-context{display:flex;flex-direction:column;gap:5px;margin:22px 0 2px;padding:13px 16px;background:#f5f8f7;border-left:3px solid #548273;border-radius:5px}.purchase-context strong{font-size:21px;color:#274654}.purchase-context span{font-size:16.8px;color:#75868c}.payment-schedule-rows{display:grid;gap:9px}.schedule-row{display:grid;grid-template-columns:72px minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px;background:#f9fbfa;border:1px solid #e3e9e7;border-radius:8px;padding:12px}.schedule-number{font-size:16.8px;font-weight:700;color:#506773;padding-bottom:13px}.schedule-row label{display:flex;flex-direction:column;gap:6px;font-size:16.8px;font-weight:600;color:#596c75}.schedule-row em{color:#c62230;font-style:normal}.schedule-row input{min-height:40px;width:100%;border:1px solid #d1dadc;border-radius:7px;padding:8px 10px;background:#fff;color:#243b48;font-size:18.2px}.remove-schedule{border:0;background:none;color:#a9353e;font-size:16.8px;min-height:40px}.remove-schedule:hover{text-decoration:underline}.payment-schedule-rows+.button{margin-top:12px}.schedule-total{text-align:right;margin:13px 0 0;color:#294453;font-size:18.2px;font-weight:700}.schedule-total small{display:block;color:#78898f;font-size:15.4px;font-weight:400;margin-top:4px}.schedule-total.mismatch small{color:#aa3945}
.schedule-payment-fields{grid-column:2/-2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:8px;border-top:1px solid #e3e9e7}.schedule-payment-fields label[hidden]{display:none}.schedule-payment-fields select,.schedule-payment-fields input{min-height:40px;width:100%;border:1px solid #d1dadc;border-radius:7px;padding:8px 10px;background:#fff;color:#243b48;font-size:17px}@media(max-width:900px){.schedule-payment-fields{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.schedule-payment-fields{grid-template-columns:1fr}}
.payment-plan{border:1px solid #e3e9e7;border-radius:8px;overflow:hidden}.payment-plan-row{display:grid;grid-template-columns:68px 1fr 110px;gap:10px;align-items:center;padding:11px 13px;font-size:16.8px;border-bottom:1px solid #e9eeec}.payment-plan-row:last-child{border-bottom:0}.payment-plan-row strong{color:#2c4855}.payment-plan-row>span:nth-of-type(2){font-weight:700;text-align:right;color:#344b56}.payment-plan-row small{grid-column:1/-1;color:#70828a}.purchase-history{display:grid;gap:7px}.purchase-history-row{display:grid;grid-template-columns:90px 110px 1fr;gap:10px;background:#f7f9f8;border-radius:6px;padding:10px 12px;font-size:16.8px;color:#637780}.purchase-history-row strong{color:#264a3b}.purchase-progress-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.purchase-progress-track span{text-align:center;border-radius:6px;background:#edf1f1;color:#94a1a4;font-size:15.4px;font-weight:700;padding:9px 4px}.purchase-progress-track span.done{background:#e6f4eb;color:#2b7554}
#purchaseProgressDialog input,#purchasePaymentDialog input,#supplierDialog input{min-height:41px;border:1px solid #d1dadc;border-radius:7px;padding:9px 11px;background:#fff;color:#243b48;outline-color:var(--focus);font-size:18.2px}.review-dialog input{width:100%}.purchase-ledger .state-message{min-height:190px}.purchase-ledger .button{white-space:nowrap}.purchase-ledger .result-count{white-space:nowrap}.purchase-context+.form-section{padding-top:22px}
@media(max-width:780px){.schedule-row{grid-template-columns:62px 1fr 1fr}.schedule-row .remove-schedule{grid-column:3;justify-self:end;min-height:auto}.purchase-heading-actions{flex-direction:column;align-items:flex-end}.purchase-table{min-width:980px}.purchase-progress-track span{font-size:14px}.payment-plan-row{grid-template-columns:60px 1fr 90px}}
@media(max-width:700px){.purchase-heading-actions{gap:6px}.schedule-row{grid-template-columns:1fr 1fr}.schedule-number{grid-column:1/-1;padding:0}.schedule-row .remove-schedule{grid-column:2}.purchase-history-row{grid-template-columns:1fr 1fr}.purchase-history-row span:last-child{grid-column:1/-1}.payment-plan-row{gap:5px}.detail-dialog .dialog-footer{flex-wrap:wrap}.detail-dialog .dialog-footer .button{flex:1 1 auto}}
.phase:nth-child(4).current{background:#5c5a91;border-color:#5c5a91}.phase:nth-child(4).current>span{background:#dedcf5;color:#45416f}.sales-finance h4{margin:16px 0 8px;font-size:16.8px;color:#526c78}.finance-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:15px}.finance-actions .button{min-height:35px;padding:7px 12px;font-size:16.8px}.invoice-card{background:#fbfcfb;border:1px solid #e2e9e7;border-radius:8px;padding:13px;margin:10px 0}.invoice-card-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.invoice-card-head strong{font-size:18.2px;color:#2a4552}.invoice-card-head span{font-size:15.4px;color:#697e87;background:#edf2f3;border-radius:15px;padding:4px 8px}.invoice-card p{margin:6px 0!important}.invoice-card-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.invoice-card-actions .button{font-size:16.8px;min-height:34px;padding:7px 11px}.sales-finance .purchase-history{margin-top:15px}.receivable-schedule-row{grid-template-columns:70px minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) auto}.receivable-schedule-row .receivable-note{min-width:0}#receiptDialog input,#invoiceRequestDialog input,#invoiceIssueDialog input{min-height:41px;border:1px solid #d1dadc;border-radius:7px;padding:9px 11px;background:#fff;color:#243b48;outline-color:var(--focus);font-size:18.2px}
@media(max-width:780px){.receivable-schedule-row{grid-template-columns:62px 1fr 1fr}.receivable-schedule-row .receivable-note{grid-column:2/-1}.receivable-schedule-row .remove-schedule{grid-column:3;justify-self:end}}
@media(max-width:700px){.receivable-schedule-row{grid-template-columns:1fr 1fr}.receivable-schedule-row .schedule-number{grid-column:1/-1}.receivable-schedule-row .receivable-note{grid-column:1/-1}.receivable-schedule-row .remove-schedule{grid-column:2}.invoice-card-head{align-items:flex-start}.invoice-card-head span{white-space:nowrap}}
.alerts-card{margin-top:22px}.alerts-card .card-heading{align-items:center}.alerts-body{padding:0 30px 26px}.alerts-date{font-size:15.4px;color:#87969b;border-top:1px solid #edf0ef;padding:15px 0}.alert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.alert-column{background:#f8faf9;border:1px solid #e5ebe8;border-radius:9px;padding:15px;min-width:0}.alert-column h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 11px;font-size:18.2px;color:#2c4652}.alert-column h3 span{background:#e9eff0;border-radius:20px;min-width:24px;padding:3px 6px;text-align:center;color:#687f87;font-size:15.4px}.alert-list{max-height:380px;overflow-y:auto;padding-right:3px}.alert-item{width:100%;display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;background:#fff;border:1px solid #e6ebea;border-radius:7px;padding:10px;margin-top:7px;color:#526b75}.alert-item:hover{border-color:#afc4cc;background:#fcfefe}.alert-item strong{font-size:16.8px;color:#2b4854;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.alert-item span{font-size:15.4px;line-height:1.5}.alert-item.overdue{border-left:3px solid #c75843}.alert-item.overdue span{color:#9b543d}.alert-empty{font-size:16.8px;color:#88969b;line-height:1.6;margin:10px 0 0}.project-closures{margin-top:26px}.project-closure-list{padding:0 30px 24px}.project-closure-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:18px;align-items:center;border-top:1px solid #edf0ef;padding:16px 0}.project-closure-row>div:first-child strong{display:block;font-size:18.2px;color:#2b4652}.project-closure-row>div:first-child span{display:block;margin-top:5px;color:#819098;font-size:15.4px}.project-closure-row small{display:block;margin-top:6px;color:#84949a;font-size:15.4px}.project-closure-status{display:inline-block;border-radius:20px;padding:5px 10px;font-size:15.4px;font-weight:700;color:#92651e;background:#fff1db}.project-closure-status.is-closed{color:#2b7753;background:#e7f5eb}.project-closure-action .button{min-height:36px;padding:7px 12px;font-size:16.8px}.followup-card{background:#f8faf9;border:1px solid #e4ebe9;border-radius:8px;padding:12px;margin:9px 0}.followup-card>div{display:flex;justify-content:space-between;gap:10px}.followup-card strong{font-size:16.8px;color:#2d4b58}.followup-card span{font-size:15.4px;color:#90a0a4}.followup-card p{margin:7px 0 0!important}.handoff-note{background:#e9f5ed;color:#28734f!important;border-left:3px solid #5aa173;padding:10px 12px;border-radius:5px}#followupDialog input{min-height:41px;border:1px solid #d1dadc;border-radius:7px;padding:9px 11px;background:#fff;color:#243b48;outline-color:var(--focus);font-size:18.2px}
.finance-invoice-panel{margin-top:18px;background:#f8faf9;border:1px solid #e5ebe8;border-radius:9px;padding:16px}.finance-invoice-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}.finance-invoice-heading h3{margin:0;font-size:20px;color:#2c4652}.finance-invoice-heading label{display:flex;align-items:center;gap:10px;color:#526b75;font-weight:650}.finance-invoice-heading input{min-height:40px;width:min(420px,60vw);border:1px solid #d1dadc;border-radius:7px;padding:7px 10px;font:inherit}.finance-invoice-panel .alert-list{max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.finance-invoice-panel .alert-list .alert-item{margin-top:0}@media(max-width:700px){.finance-invoice-panel .alert-list{grid-template-columns:1fr}.finance-invoice-heading label{width:100%;flex-wrap:wrap}.finance-invoice-heading input{width:100%}}
@media(max-width:1050px){.alert-grid{grid-template-columns:1fr 1fr}.alert-column:last-child{grid-column:1/-1}}
@media(max-width:700px){.alerts-body{padding:0 16px 18px}.alert-grid{grid-template-columns:1fr}.alert-column:last-child{grid-column:auto}.project-closure-list{padding:0 16px 18px}.project-closure-row{grid-template-columns:1fr;gap:10px}.project-closure-action .button{width:100%}.alerts-card .card-heading,.project-closures .card-heading{align-items:flex-start}.alerts-card .card-heading .button,.project-closures .card-heading .button{white-space:normal}}
dialog[open]{display:flex;flex-direction:column;overflow:hidden}
dialog[open]>form{display:flex;flex-direction:column;min-height:0;max-height:min(92vh,1000px)}
dialog[open] .dialog-heading,dialog[open] .dialog-footer{flex:0 0 auto}
dialog[open] .dialog-body{flex:1 1 auto;min-height:0;max-height:none}

.supplier-library{border-top:1px solid #e8eeec;padding:17px 0 7px}.supplier-library summary{cursor:pointer;color:#344f5a;font-size:18.2px;font-weight:700;padding:0 30px 15px}.supplier-library summary span{font-size:15.4px;font-weight:500;color:#748991;margin-left:7px}.supplier-library .section-help{margin:0 30px 14px}.supplier-library .table-scroll{max-height:390px;overflow:auto}.supplier-library .supplier-table{min-width:790px}.supplier-library .supplier-table th:first-child,.supplier-library .supplier-table td:first-child{padding-left:30px}.supplier-picker{display:flex;align-items:flex-end;gap:8px;min-width:0}.supplier-picker label{flex:1;min-width:0}.supplier-picker select{width:100%}.supplier-picker .button{flex:none;min-height:41px;padding:8px 10px;font-size:16.8px}
.purchase-extra-fields,.purchase-batch-options{margin-top:16px;padding:15px;border:1px solid #dfe8e9;border-radius:10px;background:#f8fbfb}.purchase-extra-fields label{display:flex;flex-direction:column;gap:7px;margin:0 0 12px;font-size:18.2px;color:#405765}.purchase-extra-fields input,.purchase-extra-fields select,.purchase-batch-line input{min-height:40px;border:1px solid #cfdadd;border-radius:7px;padding:8px 10px;background:#fff;color:#243b48}.purchase-extra-fields .section-help{margin:4px 0 0}.purchase-batch-options h4{font-size:19.6px;margin:0 0 5px;color:#294653}.purchase-batch-options p{font-size:16.8px;color:#70848b;margin:0 0 10px}.purchase-batch-line{display:grid;grid-template-columns:minmax(0,1fr) 95px 130px;gap:10px;align-items:end;padding:10px 0;border-top:1px solid #e4ebed}.purchase-batch-line>label:first-child{display:flex;gap:8px;align-items:center;font-weight:600}.purchase-batch-line label:not(:first-child){display:flex;flex-direction:column;gap:5px;font-size:16.8px;color:#526b74}.purchase-batch-line input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:#a71f31}.purchase-batch-line input[type=number]{width:100%}
@media(max-width:700px){.purchase-batch-line{grid-template-columns:1fr 1fr}.purchase-batch-line>label:first-child{grid-column:1/-1}}
@media(max-width:700px){.supplier-library summary{padding-left:16px;padding-right:16px}.supplier-library .section-help{margin-left:16px;margin-right:16px}.supplier-picker{flex-wrap:wrap}.supplier-picker label,.supplier-picker .button{width:100%}}

.purchase-task-search{display:flex;align-items:center;gap:12px;margin:0 30px 15px;color:#526b74;font-size:16.8px;font-weight:600}.purchase-task-search input{min-height:42px;width:min(520px,100%);border:1px solid #cfdadd;border-radius:8px;padding:8px 12px;background:#fff;color:#243b48}.purchase-task-group{border:1px solid #e2e9e7;border-radius:9px;background:#fff;margin:0 0 10px;overflow:hidden}.purchase-task-group summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;cursor:pointer;list-style:none}.purchase-task-group summary::-webkit-details-marker{display:none}.purchase-task-group summary::before{content:'▸';color:#3a7690;margin-right:3px}.purchase-task-group[open] summary::before{content:'▾'}.purchase-task-group summary strong{flex:1;font-size:18.2px;color:#274555}.purchase-task-group summary span{font-size:15.4px;color:#82929a}.purchase-task-group .production-task-row{margin:0 15px;border-top:1px solid #edf0ef}.purchase-attachment-picker{display:inline-flex;flex-direction:column;gap:8px;margin:12px 0;color:#415e6c;font-size:16.8px;font-weight:600}.purchase-attachment-picker input{max-width:100%}.purchase-attachment-list{display:grid;gap:8px;margin-top:10px}.purchase-attachment-list .attachment-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e2e9e7;border-radius:7px;background:#fafcfc}.purchase-attachment-list .attachment-row>span{min-width:0;overflow-wrap:anywhere}.purchase-attachment-list .document-actions{display:flex;gap:6px;flex-wrap:wrap}.purchase-attachment-list .button{font-size:15.4px;padding:5px 9px;min-height:31px}.purchase-attachment-list .only-download{color:#8998a0;font-size:14px;align-self:center}.schedule-row{grid-template-columns:72px minmax(0,1fr) minmax(0,1fr) minmax(0,.72fr) auto}.purchase-batch-line{grid-template-columns:minmax(0,1fr) 90px 130px 130px}
.purchase-workspace-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr);gap:18px;padding:0 30px 30px}.purchase-workspace-main,.purchase-side-panel{min-width:0;border:1px solid #e2e9e7;border-radius:12px;background:#fff;padding:20px}.purchase-workspace-main{min-height:430px}.purchase-workspace-side{display:grid;gap:16px;align-content:start}.purchase-pane-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.purchase-pane-heading h3{margin:0;color:#284554;font-size:23px}.purchase-pane-heading span{color:#82939b;font-size:15px}.purchase-workspace-main .purchase-task-search{margin:0 0 14px}.purchase-workspace-main .purchase-task-search input{width:100%}.purchase-workspace-main .production-task-list{padding:0}.purchase-workspace-main .purchase-task-group summary{flex-wrap:wrap}.purchase-workspace-main .purchase-task-group summary strong{min-width:60%}.purchase-workspace-main .purchase-task-group summary span{font-size:14px}.purchase-workspace-main .production-task-row{grid-template-columns:minmax(0,1fr);gap:9px}.purchase-workspace-main .sourcing-task-actions{justify-content:flex-start}.purchase-side-panel.supplier-library{padding:0}.purchase-side-panel.supplier-library>summary{padding:20px;font-size:23px}.purchase-side-panel.supplier-library .section-help{margin:0 20px 14px}.purchase-side-panel.supplier-library>h3,.purchase-side-panel.supplier-library>.sourcing-ledger-list,.purchase-side-panel.supplier-library>.sourcing-ledger-actions{margin-left:20px;margin-right:20px}.purchase-list-filters{margin-bottom:10px}.purchase-list-filters summary{color:#627b87;font-size:15px;cursor:pointer}.purchase-list-filters .filters{padding:10px 0;display:flex;flex-wrap:wrap;gap:8px}.purchase-list-filters .filter-search{flex:1 1 100%}.purchase-list-filters input{width:100%}.purchase-compact-list{display:grid}.purchase-compact-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e8eeef;padding:14px 0}.purchase-compact-row strong,.purchase-compact-row small{display:block}.purchase-compact-row strong{color:#2b4857;font-size:17px}.purchase-compact-row small{margin-top:5px;color:#8196a0;font-size:14px}.purchase-compact-row>div:last-child{display:flex;align-items:flex-end;flex-direction:column;gap:5px}.purchase-compact-row .progress-pill{font-size:13px;padding:4px 8px}.purchase-compact-row .text-action{white-space:nowrap}.purchase-workspace-side .state-message{min-height:100px}.purchase-workspace-side .supplier-library .production-task-list{padding:0 20px 16px}
.purchase-section-tabs{display:flex;gap:4px;overflow-x:auto;margin:0 30px 20px;border-bottom:1px solid #dfe8ec}
.purchase-section-tabs button{flex:none;border:0;border-bottom:3px solid transparent;background:transparent;padding:14px 20px;color:#708693;font:600 18px/1.4 "Microsoft YaHei",sans-serif;cursor:pointer}
.purchase-section-tabs button.active{border-bottom-color:#bc2036;color:#ad2438}
.purchase-section-tabs button span{margin-left:5px;color:inherit;font-size:.82em;font-variant-numeric:tabular-nums}
.purchase-section-tabs button:hover,.purchase-section-tabs button:focus-visible{color:#ad2438}
#purchases .purchase-workspace-grid{display:block}
#purchases .purchase-workspace-side{display:contents}
#purchases [data-purchase-panel][hidden]{display:none!important}
#purchases .purchase-workspace-main{min-height:0}
#purchases .purchase-workspace-main,#purchases .purchase-side-panel{width:100%}
#purchases .purchase-task-group .production-task-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}
#purchases .purchase-side-panel.supplier-library>summary{border-bottom:1px solid #e2e9e7}
.purchase-payment-mode{display:grid;gap:8px;max-width:520px;color:#536c77;font-weight:700;font-size:17px;margin:8px 0 14px}.purchase-payment-mode select{width:100%;min-height:48px;border:1px solid #cfdcde;border-radius:8px;background:#fff;color:#284554;font-size:17px;padding:8px 12px}
@media(max-width:1080px){.purchase-workspace-grid{grid-template-columns:1fr}.purchase-workspace-main{min-height:0}.purchase-workspace-side{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-workspace-side .purchase-side-panel:first-child{grid-column:1/-1}}
@media(max-width:700px){.purchase-workspace-grid{padding:0 16px 20px;gap:12px}.purchase-workspace-main,.purchase-side-panel{padding:15px}.purchase-workspace-side{grid-template-columns:1fr}.purchase-workspace-side .purchase-side-panel:first-child{grid-column:auto}.purchase-compact-row{align-items:flex-start}.purchase-compact-row>div:last-child{flex:none}.purchase-pane-heading h3{font-size:20px}}
@media(max-width:700px){.purchase-section-tabs{margin:0 16px 16px}.purchase-section-tabs button{padding:11px 13px;font-size:16px}#purchases .purchase-task-group .production-task-row{grid-template-columns:1fr}}
@media(max-width:900px){.schedule-row{grid-template-columns:62px repeat(2,minmax(0,1fr))}.schedule-row label:nth-of-type(3){grid-column:2/4}.schedule-row .remove-schedule{grid-column:3;justify-self:end;min-height:auto}.purchase-batch-line{grid-template-columns:minmax(0,1fr) repeat(3,100px)}}
@media(max-width:700px){.purchase-task-search{margin:0 16px 12px;align-items:stretch;flex-direction:column}.purchase-task-search input{width:100%}.purchase-task-group summary{align-items:flex-start;flex-wrap:wrap}.purchase-task-group summary span{width:100%;padding-left:17px}.purchase-attachment-list .attachment-row{align-items:flex-start;flex-direction:column}.schedule-row{grid-template-columns:1fr 1fr}.schedule-row label:nth-of-type(3){grid-column:1/-1}.schedule-row .remove-schedule{grid-column:2}.purchase-batch-line{grid-template-columns:1fr 1fr}.purchase-batch-line>label:first-child{grid-column:1/-1}}

/* Business workspace: quieter surfaces with a precise, technical accent. */
body{background:radial-gradient(circle at 88% 4%,#dcecf1 0,transparent 33%),linear-gradient(180deg,#edf3f5 0,#f7f9f8 430px,#f3f6f5 100%)}
.topbar{background:linear-gradient(110deg,#102635 0,#17394b 68%,#194458 100%);border-bottom-color:#cf3040;box-shadow:0 8px 28px #102b3c1c}
.brand-mark{border-color:#88c0ce;color:#f7fbfc;box-shadow:inset 0 0 0 2px #ffffff12,0 0 18px #66c5d526}
.intro{position:relative}
.intro::before{content:"";position:absolute;right:10%;top:15%;width:180px;height:70px;background:linear-gradient(90deg,transparent,#2a839516,transparent);filter:blur(20px);pointer-events:none}
.eyebrow-dot{background:#299bb4;box-shadow:0 0 0 4px #cfe9ef,0 0 12px #45bbd2}
.summary,.orders-card{border-color:#dce8e9;box-shadow:0 12px 36px #2349590d}
.summary-item{position:relative}
.summary-item::after{content:"";position:absolute;inset:auto 16px 0;height:2px;background:linear-gradient(90deg,#2a8fa5,transparent);opacity:.45}
.phase.current{background:linear-gradient(125deg,#183749,#254b5d);border-color:#22495a}
.phase:nth-child(2).current{background:linear-gradient(125deg,#86612e,#a87935);border-color:#86612e}
.phase:nth-child(3).current{background:linear-gradient(125deg,#28684f,#3b8164);border-color:#28684f}
.phase:nth-child(4).current{background:linear-gradient(125deg,#535484,#67679b);border-color:#535484}
.button{border-radius:10px}
.button-primary{background:linear-gradient(135deg,#bd1928,#d02336);box-shadow:0 7px 18px #b6233829}
.button-primary:hover{background:linear-gradient(135deg,#a91726,#bb1d31)}
.filters input:focus,.filters select:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.item-grid input:focus,.item-grid select:focus{border-color:#488fa3;box-shadow:0 0 0 3px #63b4c41e;outline:0}
.order-dialog{width:min(980px,calc(100vw - 28px))}
.order-dialog .dialog-heading{background:linear-gradient(110deg,#f7fbfc,#fff 70%)}
.order-dialog .dialog-heading::before{content:"";width:3px;align-self:stretch;order:-1;background:linear-gradient(#2a9eb5,#be2637);border-radius:4px}
.order-dialog .form-section-heading span{background:#e7f3f6;color:#276b7e}
.order-dialog .form-section-heading h3{letter-spacing:.015em}
.order-dialog .form-grid{gap:17px 20px}
.order-dialog .form-grid label{min-width:0}
.order-dialog .form-grid input,.order-dialog .form-grid select,.order-dialog .form-grid textarea{width:100%;transition:border-color .15s,box-shadow .15s}
.order-dialog .form-grid input[readonly]{background:#f0f5f6;color:#526a73}
.order-dialog .form-grid textarea{min-height:74px;resize:vertical;border:1px solid #d1dadc;border-radius:7px;padding:10px 11px;background:#fff;color:#243b48;outline-color:var(--focus);font-size:18.2px}
.form-grid .form-full{grid-column:1/-1}
.field-help{font-size:15.4px;line-height:1.5;color:#84949b;font-weight:400}
.channel-field select{border-color:#91c3ce!important;background:#f5fbfc!important;font-weight:700}
.approval-hint{border-radius:0 8px 8px 0}
.detail-overview .detail-cell{min-width:0}
.document-section{margin:0 -30px;padding:22px 30px 24px;background:linear-gradient(125deg,#f4fafb,#fbfdfd 60%,#fff);border-bottom:1px solid #dce9ec}
.document-section .section-help{margin-bottom:12px}
.document-upload{display:flex;align-items:stretch;gap:10px}
.document-picker{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:12px 14px;background:#fff;border:1px dashed #8eb8c1;border-radius:10px;color:#3b6472;font-size:16.8px;font-weight:700;cursor:pointer}
.document-picker:focus-within{outline:3px solid #236a8a;outline-offset:2px}
.document-picker input{min-width:0;max-width:100%;font-size:16.8px;color:#637e88}
.document-picker input::file-selector-button{border:1px solid #b8d4da;border-radius:7px;background:#edf7f9;color:#2e6879;padding:7px 10px;margin-right:10px;font-size:16.8px;font-weight:700;cursor:pointer}
.document-upload .button{min-width:125px}
.document-consent{display:flex;align-items:flex-start;gap:8px;margin-top:13px;font-size:15.4px;color:#58717b;line-height:1.5;cursor:pointer}
.document-consent input{accent-color:#197f99;margin:2px 0 0;flex:none}
.document-status{margin-top:13px;border-radius:9px;border:1px solid #b9dae0;background:#eff8fa;padding:11px 13px;font-size:16.8px;line-height:1.6;color:#365e6c}
.document-status strong{display:block;font-size:16.8px;color:#255366}
.document-status ul{margin:6px 0 0;padding-left:18px}
.document-status.error{background:#fff3f3;border-color:#efc4c9;color:#9b3942}
.document-status.error strong{color:#a32734}
@media(max-width:700px){.order-dialog .form-grid{grid-template-columns:1fr}.form-grid .form-full{grid-column:auto}.order-dialog .dialog-heading::before{display:none}.summary-item::after{inset:auto 12px 0}}
@media(max-width:700px){.document-section{margin:0 -19px;padding:19px}.document-upload{flex-direction:column}.document-picker{flex-direction:column;align-items:flex-start}.document-upload .button{width:100%}}
.document-cleanup{margin-top:16px;border:1px solid #dbe7e8;border-radius:9px;background:#fff;padding:11px 13px}.document-cleanup summary{cursor:pointer;font-size:16.8px;font-weight:700;color:#395666}.document-cleanup summary span{font-weight:400;color:#758c94;margin-left:8px}.document-cleanup[open] .section-help{margin:11px 0}.document-cleanup>.button{min-height:34px;padding:6px 11px;font-size:16.8px}.contract-document-list{margin-top:9px;max-height:215px;overflow-y:auto}.contract-document-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #edf1f1}.contract-document-row strong{display:block;font-size:16.8px;font-weight:600;color:#304955;overflow-wrap:anywhere}.contract-document-row small{display:block;margin-top:3px;color:#85969c;font-size:15.4px;line-height:1.5}.contract-document-row .button{min-height:33px;padding:5px 10px;font-size:15.4px;flex:none}.contract-document-current{color:#65808a;font-size:15.4px;max-width:150px;line-height:1.5}.project-closure-action{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.handover-inline{margin-left:12px;color:#496b7b}
@media(max-width:700px){.contract-document-row{align-items:flex-start;flex-direction:column}.contract-document-current{max-width:none}.project-closure-action{justify-content:stretch}}
.progress-shortfall_closed{color:#865b23;background:#fff0da}.shortfall-history{display:grid;gap:9px}.shortfall-card{border:1px solid #e5e9e5;border-left:3px solid #c58a4b;border-radius:7px;background:#fffdf9;padding:10px 12px}.shortfall-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:16.8px;color:#7b633f}.shortfall-card-head strong{color:#77501b}.shortfall-card p{margin:5px 0 0!important;overflow-wrap:anywhere}#purchaseShortfallDialog input{min-height:41px;border:1px solid #d1dadc;border-radius:7px;padding:9px 11px;background:#fff;color:#243b48;outline-color:var(--focus);font-size:18.2px}#purchaseShortfallDialog input[readonly]{background:#f4f6f5;color:#667b84}
.inline-project-fields,.inline-customer-fields{border:1px solid #dbe7e7;border-radius:9px;background:#f8fbfa;padding:16px}.inline-customer-fields{background:#fff;padding:13px}.inline-project-heading{font-size:18.2px;font-weight:700;color:#324f5d;margin-bottom:14px}.inline-project-heading small{font-size:15.4px;font-weight:400;color:#82929a;margin-left:8px}.inline-project-fields .form-grid,.inline-customer-fields .form-grid{gap:13px 16px}.sales-schedule-rows{display:grid;gap:10px}.sales-schedule-row{display:grid;grid-template-columns:65px repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:end;background:#f9fbfa;border:1px solid #e3e9e7;border-radius:8px;padding:12px}.sales-schedule-row label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:16.8px;font-weight:600;color:#596c75}.sales-schedule-row em{color:#c62230;font-style:normal}.sales-schedule-row input,.sales-schedule-row select{min-height:40px;width:100%;border:1px solid #d1dadc;border-radius:7px;padding:8px 10px;background:#fff;color:#243b48;font-size:18.2px}.sales-schedule-row .sales-note{grid-column:2/6}.sales-schedule-rows+.button{margin-top:12px}
@media(max-width:900px){.sales-schedule-row{grid-template-columns:65px repeat(2,minmax(0,1fr)) auto}.sales-schedule-row .sales-note{grid-column:2/4}.sales-schedule-row .remove-schedule{grid-column:4;grid-row:1}}
@media(max-width:700px){.inline-project-heading small{display:block;margin:5px 0 0}.sales-schedule-row{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-schedule-row .schedule-number{grid-column:1/-1}.sales-schedule-row .sales-note{grid-column:1/-1}.sales-schedule-row .remove-schedule{grid-column:2;grid-row:auto;justify-self:end}}
.receivable-schedule-row{grid-template-columns:65px repeat(4,minmax(0,1fr)) auto}.receivable-schedule-row select{min-height:40px;width:100%;border:1px solid #d1dadc;border-radius:7px;padding:8px 10px;background:#fff;color:#243b48;font-size:18.2px}.receivable-schedule-row .receivable-note{grid-column:2/6}
@media(max-width:900px){.receivable-schedule-row{grid-template-columns:65px repeat(2,minmax(0,1fr)) auto}.receivable-schedule-row .receivable-note{grid-column:2/4}.receivable-schedule-row .remove-schedule{grid-column:4;grid-row:1}}
@media(max-width:700px){.receivable-schedule-row{grid-template-columns:repeat(2,minmax(0,1fr))}.receivable-schedule-row .receivable-note{grid-column:1/-1}.receivable-schedule-row .remove-schedule{grid-column:2;grid-row:auto}}
.attachment-upload{margin-top:12px}.document-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.document-actions .button{min-height:33px;padding:6px 11px;font-size:16.8px;box-shadow:none}.document-actions span{font-size:16.8px;color:#3d5b69;overflow-wrap:anywhere;margin-right:4px}.document-actions .only-download,#currentContractActions .only-download{display:inline-block;border-radius:5px;background:#f1f4f3;color:#69808a;font-size:15.4px;padding:7px 9px;margin-right:0}#currentContractActions{margin-top:9px}.attachment-list{margin-top:10px}.attachment-empty{margin:0!important}.attachment-row,.order-document-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border:1px solid #e2eae8;border-radius:8px;background:#fff;padding:10px 12px;margin-top:8px}.attachment-row>span{font-size:16.8px;font-weight:600;color:#365364;overflow-wrap:anywhere}.order-document-row small{display:block;font-size:15.4px;color:#829198;margin-top:4px}.order-document-row strong{font-size:16.8px;color:#365364;overflow-wrap:anywhere}.document-preview-dialog{width:min(1100px,calc(100vw - 32px));height:min(90vh,1000px);display:flex;flex-direction:column}.document-preview-dialog:not([open]){display:none}.document-preview-body{flex:1;min-height:250px;overflow:hidden;background:#f3f6f5;display:flex}.document-preview-body .state-message{flex:1}.document-preview-body iframe{border:0;width:100%;height:100%;background:#fff}.document-preview-dialog .dialog-footer{position:static}
@media(max-width:700px){.attachment-row,.order-document-row{align-items:flex-start;flex-direction:column}.document-actions{width:100%}.document-actions .button{flex:1}.document-preview-dialog{height:94vh}}

/* Shared business workspace shell, aligned with the main workbench. */
.workspace-icons{position:absolute;width:0;height:0;overflow:hidden}
body{background:#f8fafb;color:#263b49}
:root{--sidebar-width:clamp(320px,22vw,390px)}
.site-shell{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);grid-template-rows:76px minmax(0,1fr);min-width:0}
.workspace-sidebar{grid-column:1;grid-row:1/3;position:sticky;top:0;height:100vh;min-height:640px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e0e8ed;padding:28px 20px;overflow-y:auto;z-index:5}
.workspace-brand{display:flex;align-items:center;gap:15px;min-height:51px;margin:0 8px 56px;text-decoration:none;color:#20313b;line-height:1.2}
.workspace-brand-mark{width:51px;height:51px;flex:none;border-radius:14px;background:#b92139;color:#fff;display:grid;place-items:center;font:700 42px/1 "Microsoft YaHei",sans-serif}
.workspace-brand strong{display:block;font-size:35px;font-weight:700;white-space:nowrap}
.workspace-brand small{display:block;margin-top:7px;font-size:21px;font-weight:400;color:#8294a2;white-space:nowrap}
.workspace-nav{display:block;flex:none;overflow:visible}
.workspace-nav-group{display:grid;gap:7px}
.workspace-nav-group+.workspace-nav-group{margin-top:24px}
.workspace-nav-label{display:block;padding:0 12px 8px;color:#a1b0bc;font-size:19.6px;letter-spacing:.03em}
.workspace-nav a{display:flex;align-items:center;gap:16px;width:100%;min-height:56px;padding:11px 16px;border-radius:13px;text-decoration:none;color:#566d7d;font:500 23.8px/1.35 "Microsoft YaHei",sans-serif;white-space:nowrap}
.workspace-nav a:hover{background:#f2f7fa;color:#2b648f}
.workspace-nav a.workspace-nav-current{background:#e9f3f9;color:#286596}
.workspace-nav-icon{display:block;flex:none;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.workspace-sidebar-note{margin:36px 12px 0;padding-top:21px;border-top:1px solid #e0e8ed;color:#8da0ae;font-size:18.2px;line-height:1.8}
.topbar{grid-column:2;grid-row:1;position:sticky;top:0;height:76px;z-index:4;padding:0 clamp(24px,3vw,55px);background:#fff;color:#546e7d;border-bottom:1px solid #e1e8ed;box-shadow:none}
.workspace-breadcrumb{font-size:19.6px;color:#708596}.workspace-breadcrumb span{color:#314b5e}
.topbar-right{color:#718697;font-size:18.2px;gap:12px;text-align:right}
.workspace-return{flex:none;color:#356a8b;text-decoration:none;font-weight:650;white-space:nowrap}.workspace-return:hover{text-decoration:underline}
.main{grid-column:2;grid-row:2;max-width:1540px;width:100%;padding:0 clamp(24px,3vw,55px) 80px}
.intro{padding:45px 0 32px}.intro::before{display:none}
.intro h1{font-size:clamp(40.6px,4.2vw,54.6px);letter-spacing:0;margin:10px 0}
.eyebrow{letter-spacing:.07em;color:#64829a}.eyebrow-dot{background:#467a9c;box-shadow:0 0 0 4px #e7f1f6}
.summary,.orders-card{border-color:#e0e8eb;box-shadow:0 4px 18px #2a485709}
.phase.current{background:#f3f7f9!important;border-color:#dae6ec!important;color:#294b60}
.phase.current small{color:#78909c}.phase.current>span{background:#dcecf4;color:#346d8e}
.workspace-anchor,#orders,#purchases,#production{scroll-margin-top:94px}
.production-ledger{margin-top:26px}.production-task-list{padding:0 30px 22px}.production-task-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;align-items:center;gap:18px;padding:17px 0;border-top:1px solid #e9eef0}.production-task-row strong{display:block;color:#294b5b;font-size:19.6px}.production-task-row span:not(.status){display:block;margin-top:5px;color:#8093a0;font-size:16.8px}.production-task-row small{display:block;margin-top:7px;color:#83949d;font-size:15.4px}.production-task-row .button{font-size:16.8px;padding:7px 12px;min-height:35px}
@media(max-width:720px){.production-task-list{padding:0 16px 18px}.production-task-row{grid-template-columns:1fr;gap:10px}.production-task-row .button{justify-self:start}}
@media(max-width:1700px){.workspace-brand{margin-right:0;gap:10px}.workspace-brand strong{font-size:29.4px}.workspace-brand-mark{width:44px;height:44px;font-size:35px}}
@media(max-width:1000px){:root{--sidebar-width:290px}.workspace-sidebar{padding-inline:12px}.workspace-brand{margin-left:7px;gap:10px}.workspace-nav a{font-size:21px;gap:11px}}
@media(max-width:720px){.site-shell{display:flex;flex-direction:column}.workspace-sidebar{position:static;height:auto;min-height:0;padding:12px 14px;border-right:0;border-bottom:1px solid #e1e8ed}.workspace-brand{min-height:42px;padding:0}.workspace-brand-mark{width:36px;height:36px;font-size:30.8px}.workspace-brand strong{font-size:21px}.workspace-brand small{display:none}.workspace-nav{margin-top:10px;overflow-x:auto;overflow-y:visible;display:flex;gap:4px;scrollbar-width:thin}.workspace-nav-group,.workspace-nav-group+.workspace-nav-group{display:flex;gap:4px;margin:0;flex:none}.workspace-nav-label,.workspace-sidebar-note{display:none}.workspace-nav a,.workspace-nav a+a{min-height:38px;margin:0;padding:0 9px;font-size:16.8px}.workspace-nav-icon{width:15px;height:15px}.topbar{position:static;min-height:51px;height:auto;padding:8px 18px;gap:10px}.workspace-breadcrumb{font-size:16.8px}.topbar-right{font-size:15.4px;max-width:48%}.main{padding:0 16px 55px}.intro{padding:29px 0 24px;align-items:flex-start;flex-direction:column;gap:16px}.intro h1{font-size:42px}.intro p{font-size:18.2px}.intro-actions{display:flex;gap:8px;flex-wrap:wrap}.intro-actions .button{font-size:16.8px;padding:8px 12px;min-height:38px}}
@media(max-width:720px){.site-shell{max-width:100%;overflow-x:hidden}.main{min-width:0;max-width:100%;margin:0}.summary,.phase-strip,.orders-card{min-width:0;width:100%}.intro-copy{min-width:0}.topbar-right #userLine{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:760px){.site-shell{display:flex;flex-direction:column}.workspace-sidebar{position:static;height:auto;min-height:0;padding:15px 18px;border-right:0;border-bottom:1px solid #e0e8ed;overflow:visible}.workspace-brand{min-height:44px;margin:0 0 15px}.workspace-brand small{display:block}.workspace-nav{display:flex;gap:18px;overflow-x:auto;overflow-y:visible;scrollbar-width:thin}.workspace-nav-group,.workspace-nav-group+.workspace-nav-group{display:flex;gap:5px;margin:0;flex:none}.workspace-nav-label,.workspace-sidebar-note{display:none}.workspace-nav a,.workspace-nav a+a{width:auto;min-height:42px;margin:0;padding:8px 10px;font-size:21px;white-space:nowrap}.workspace-nav-icon{width:18px;height:18px}.topbar{position:static;height:auto;min-height:65px;padding:12px 18px}.main{min-width:0;max-width:100%;margin:0}}
@media(max-width:760px){.workspace-brand strong{font-size:29.4px}.workspace-brand-mark{width:44px;height:44px;font-size:35px}}

/* Keep long overview ledgers compact; the button reveals every filtered record on demand. */
.list-preview-toggle{display:block;margin:15px auto 20px;padding:9px 20px;min-height:38px;border:1px solid #cddfe9;border-radius:999px;background:#f5fafc;color:#286995;font-size:18.2px;font-weight:650;line-height:1.4;cursor:pointer}
.list-preview-toggle:hover{background:#e9f3f9;border-color:#9dbdd0}
.list-preview-toggle:focus-visible{outline:3px solid #236a8a;outline-offset:2px}
.alert-list .list-preview-toggle{width:100%;margin:11px 0 0;padding:7px 9px;font-size:16.8px}
.production-task-list>.list-preview-toggle{margin-bottom:0}
.supplier-search{display:flex;align-items:center;gap:12px;padding:0 30px 14px}.supplier-search label{flex:none;color:#526d7a;font-size:16.8px;font-weight:650}.supplier-search input{width:min(360px,100%);height:38px;border:1px solid #d7e1e5;border-radius:8px;background:#fff;padding:0 12px;color:#30444e;font-size:18.2px}.supplier-search .result-count{margin-left:auto;white-space:nowrap}#supplierList>.list-preview-toggle{margin-bottom:17px}
@media(max-width:700px){.supplier-search{padding:0 16px 14px;flex-wrap:wrap}.supplier-search input{flex:1;min-width:0}.supplier-search .result-count{width:100%;margin-left:0}}
html{font-size:140%}
#orders{margin-top:22px}
#ordersAttention .alerts-body{padding-bottom:24px}
#ordersAttention .alert-list{max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#ordersAttention .alert-item{margin-top:0}
#ordersAttention .list-preview-toggle{grid-column:1/-1;max-width:280px}
@media(max-width:760px){#ordersAttention .alert-list{grid-template-columns:1fr}}
.workspace-brand-mark{background:#fff url('/brand/assets/zonyea-mark.png') center/cover no-repeat;border-radius:50%;font-size:0}

/* Order ledger and registration: readable data density without hiding filters. */
#orders .filters{flex-wrap:wrap;align-items:flex-end;gap:12px}
#orders .filters .filter-search{flex:1 1 310px;max-width:none}
#orders .filters label:not(.filter-search){flex:0 1 165px;min-width:145px}
#orders .filters .date-filter{display:flex;flex-direction:column;gap:4px;flex-basis:168px;color:#617987;font-size:14px;font-weight:650;white-space:nowrap}
#orders .filters .date-filter input{min-width:0}
#orders .filters>.button{align-self:flex-end;min-height:42px}
#orders .order-table{min-width:1240px}
.sort-heading{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;padding:0;color:inherit;font:inherit;font-weight:inherit;letter-spacing:inherit;white-space:nowrap;cursor:pointer}
.sort-heading:hover,.sort-heading:focus-visible{color:#286a8d;text-decoration:underline}
.sort-heading:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
.order-table th[aria-sort] .sort-heading{color:#2b688a}
.summary-item small{display:block;margin-top:5px;color:#81929b;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.summary-item strong{font-size:clamp(25px,2.25vw,34px);line-height:1.2;overflow-wrap:anywhere}
.summary-item .summary-encouragement{font-size:clamp(22px,1.8vw,28px);color:#a34956}

/* Contract and order modal: wider form, larger controls and a stable scroll area. */
.order-dialog{width:min(1240px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:94vh}
.order-dialog[open]>form{max-height:94vh}
.order-dialog .dialog-heading{padding:25px 36px 22px}
.order-dialog .dialog-heading h2{font-size:36px}
.order-dialog .dialog-heading p{font-size:18px;line-height:1.55}
.order-dialog .dialog-body{padding:0 36px 27px}
.order-dialog .dialog-footer{padding:16px 36px}
.order-dialog .form-section-heading h3{font-size:25px}
.order-dialog .section-help,.order-dialog .warranty-note{font-size:18px;line-height:1.7}
.order-dialog .form-grid label,.order-dialog .item-grid label,.order-dialog .item-warranty label{font-size:18px;line-height:1.45}
.order-dialog .form-grid input,.order-dialog .form-grid select,.order-dialog .form-grid textarea,.order-dialog .item-grid input,.order-dialog .item-grid select,.order-dialog .item-warranty input,.order-dialog .item-warranty select,.order-dialog .sales-schedule-row input,.order-dialog .sales-schedule-row select{min-height:48px;font-size:20px}
.order-dialog .item-grid{grid-template-columns:minmax(220px,2.3fr) repeat(3,minmax(110px,1fr));gap:14px}
.order-dialog .item-number{font-size:20px}
.order-dialog .field-help{font-size:16px}
.order-dialog .document-section{margin:0 -36px;padding:24px 36px 28px}
.order-dialog .document-picker,.order-dialog .document-status{font-size:18px}
.order-dialog .document-picker input,.order-dialog .document-picker input::file-selector-button{font-size:17px}
.order-dialog .document-consent{font-size:16px}

/* E-commerce entry is a short, visually separate branch of the order form. */
.order-dialog .ecommerce-fields{min-width:0;border:1px solid #d8e7ed;border-radius:12px;background:#f7fbfd;padding:18px 20px 21px}
.order-dialog .ecommerce-fields .section-help{margin-bottom:15px}
.order-dialog .ecommerce-fields .form-grid{gap:15px 20px}
.ecommerce-platform-picker{display:flex;align-items:flex-end;gap:10px;min-width:0}
.ecommerce-platform-picker label{flex:1;min-width:0}
.ecommerce-platform-picker .button{flex:none;min-height:48px;padding-inline:13px;font-size:17px}
#ecommercePlatformDialog input{width:100%;min-height:46px;border:1px solid #d1dadc;border-radius:7px;padding:9px 11px;background:#fff;color:#243b48;font-size:19px}

/* Annual plans live in one small page-header entry; the team list opens only on demand. */
.sales-targets-entry{min-width:0}
.sales-targets-entry-button{display:flex;align-items:center;justify-content:center;gap:8px;max-width:350px;min-height:46px;padding:9px 13px;font-size:16px;white-space:normal;text-align:left}
.sales-targets-entry-button>span:first-child{font-weight:700;color:#294554;white-space:nowrap}
.sales-targets-entry-button>span:last-child{color:#3e7591;font-size:22px;line-height:1}
.sales-targets-snapshot{font-size:14px;color:#718590;overflow-wrap:anywhere}
.sales-target-overview-dialog{width:min(760px,calc(100vw - 32px));max-height:90vh}
.sales-target-overview-dialog .dialog-body{overflow-y:auto}
.sales-target-overview-dialog .dialog-footer{gap:10px}
.sales-targets-body{display:grid;align-content:start;gap:10px;padding:0 30px 24px}
.sales-targets-body>.section-help{margin:0}
.target-review-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border:1px solid #e1e9ec;border-radius:10px;background:#f9fbfc}
.target-review-row>div{display:grid;gap:4px;min-width:0}
.target-review-row strong{font-size:19px;color:#294554}
.target-review-row span{font-size:16px;color:#718590;overflow-wrap:anywhere}
.target-review-row .button{flex:none;font-size:16px;min-height:38px}
.sales-target-dialog{width:min(960px,calc(100vw - 32px))}
.target-month-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:4px 0 18px}
.target-month-grid label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:18px;font-weight:650;color:#536b77}
.target-month-grid input{width:100%;min-height:48px;border:1px solid #d1dadc;border-radius:8px;background:#fff;color:#243b48;padding:9px 11px;font-size:20px;font-variant-numeric:tabular-nums}
.target-month-grid input:focus,#ecommercePlatformDialog input:focus{border-color:#488fa3;box-shadow:0 0 0 3px #63b4c41e;outline:0}

@media(max-width:1050px){
  .order-dialog .item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .order-dialog .item-grid .item-name{grid-column:span 3}
}
@media(max-width:760px){
  #orders .filters label:not(.filter-search){flex:1 1 145px}
  #orders .filters .date-filter{flex:1 1 145px}
  .order-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:96vh}
  .order-dialog[open]>form{max-height:96vh}
  .order-dialog .dialog-heading{padding:18px 18px 16px}
  .order-dialog .dialog-heading h2{font-size:29px}
  .order-dialog .dialog-body{padding:0 18px 21px}
  .order-dialog .dialog-footer{padding:12px 18px}
  .order-dialog .document-section{margin:0 -18px;padding:19px 18px}
  .order-dialog .form-grid,.order-dialog .ecommerce-fields .form-grid{grid-template-columns:1fr}
  .order-dialog .item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-dialog .item-grid .item-name{grid-column:1/-1}
  .ecommerce-platform-picker{flex-wrap:wrap}
  .ecommerce-platform-picker label,.ecommerce-platform-picker .button{width:100%}
  .sales-targets-entry{width:100%}
  .sales-targets-entry-button{max-width:none;width:100%}
  .sales-target-overview-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}
  .sales-targets-body{padding:0 16px 20px}
  .target-month-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:520px){
  .target-review-row{align-items:stretch;flex-direction:column}
  .target-review-row .button{align-self:flex-start}
  .order-dialog .item-grid{grid-template-columns:1fr}
  .order-dialog .item-grid .item-name{grid-column:auto}
}

/* 年框主合同是独立台账，不与实际子订单的销售额或采购任务混在一起。 */
.framework-card{margin:22px 0 26px}
.framework-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.framework-heading-actions .button{font-size:16px}
.framework-list{border-top:1px solid #edf1f0}
.framework-empty{padding:24px 30px;color:#788990;font-size:17px;line-height:1.6}
.framework-row{padding:19px 30px;border-bottom:1px solid #edf1f0}
.framework-row:last-child{border-bottom:0}
.framework-row-main{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.framework-row-main>div{min-width:0}
.framework-row-main strong{display:block;color:#294452;font-size:20px;line-height:1.45}
.framework-row-main small{display:block;margin-top:4px;color:#82939a;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.framework-row-meta{display:flex;flex-wrap:wrap;gap:7px 22px;margin-top:10px;color:#617681;font-size:16px;line-height:1.5}
.framework-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.framework-actions .button{font-size:15px;min-height:36px;padding:7px 11px}
.framework-note{color:#9b404b;font-size:15px;margin:10px 0 0}
.framework-list-footer{text-align:center;padding:14px}
.framework-list-footer .button{font-size:16px}
.framework-children{margin-top:15px;padding:12px 15px;border:1px solid #e0e9e9;border-radius:9px;background:#f8fbfa}
.framework-children>strong{display:block;margin-bottom:8px;color:#3f5a67;font-size:16px}
.framework-children>button{width:100%;display:flex;justify-content:space-between;gap:14px;align-items:center;text-align:left;border:0;border-top:1px solid #e6eeed;background:transparent;padding:10px 0;color:#3a596b}
.framework-children>button:hover span{text-decoration:underline}
.framework-children>button small{color:#7d8e96}
.framework-children p{margin:0;color:#809098;font-size:15px}
.framework-dialog{width:min(960px,calc(100vw - 32px))}
.framework-dialog .form-grid label{min-width:0}
.framework-price-items{margin-top:20px}
.framework-subheading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#365263;font-size:18px}
.framework-subheading .button{font-size:16px}
.framework-price-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(90px,.6fr) minmax(130px,1fr) auto;gap:12px;align-items:end;margin-top:10px;padding:12px;border:1px solid #e1e9e8;border-radius:8px;background:#f8fbfa}
.framework-price-row label{display:grid;gap:6px;color:#5d737d;font-size:16px;font-weight:600}
.framework-price-row em{color:#c62230;font-style:normal}
.framework-price-row input{min-width:0;width:100%;height:44px;padding:8px 10px;border:1px solid #d1dadc;border-radius:7px;background:#fff;color:#243b48;font-size:18px}
.framework-file-picker{display:grid;gap:10px;color:#536b77;font-size:17px;font-weight:600;margin-bottom:12px}
.framework-file-picker input{width:100%;min-width:0;font-size:16px}
.framework-dialog #frameworkDocumentActions span{overflow-wrap:anywhere}
@media(max-width:760px){
  .framework-card .card-heading{align-items:flex-start;flex-direction:column}
  .framework-heading-actions{justify-content:flex-start}
  .framework-row{padding:17px 16px}
  .framework-row-main{align-items:flex-start}
  .framework-row-meta{display:grid;gap:3px}
  .framework-price-row{grid-template-columns:1fr 1fr}
  .framework-price-row label:first-child{grid-column:1/-1}
  .framework-children>button{align-items:flex-start;flex-direction:column;gap:3px}
}

/* 同一成品的部件拆采及周期供应商流水。 */
.sourcing-task-actions,.sourcing-ledger-actions,.sourcing-ledger-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.sourcing-task-actions .button,.sourcing-ledger-buttons .button{font-size:15px;min-height:36px;padding:7px 11px}
.sourcing-ledger-actions{padding:12px 0}
.sourcing-ledger-list{display:grid;gap:8px;margin:8px 0 22px}
.sourcing-ledger-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 15px;border:1px solid #e1e9e8;border-radius:8px;background:#f8fbfa;color:#37505e}
.sourcing-ledger-row>div:first-child{min-width:0;flex:1}
.sourcing-ledger-row strong,.sourcing-ledger-row span,.sourcing-ledger-row small{display:block;overflow-wrap:anywhere}
.sourcing-ledger-row strong{font-size:17px}
.sourcing-ledger-row span,.sourcing-ledger-row small{margin-top:3px;color:#6e828d;font-size:14px}
.sourcing-ledger-row>input[type=checkbox]{flex:none;width:18px;height:18px}
.sourcing-statement{border:1px solid #dce8e7;border-radius:9px;overflow:hidden;background:#fff}
.sourcing-statement .sourcing-ledger-row{border:0;border-radius:0}
.sourcing-statement-details{padding:0 15px 12px;color:#526b76;font-size:14px}
.sourcing-statement-details summary{cursor:pointer;font-weight:600;color:#356d80}
.sourcing-statement-details p{margin:9px 0}
.sourcing-statement-lines{display:grid;gap:5px;max-height:220px;overflow:auto}
.sourcing-statement-lines>div{display:grid;grid-template-columns:minmax(140px,2fr) minmax(110px,1fr) 110px 105px;gap:10px;padding:7px 0;border-top:1px solid #edf1f0;overflow-wrap:anywhere}
.sourcing-statement-lines strong{text-align:right}
.sourcing-component-rows{display:grid;gap:10px;margin-bottom:16px}
.sourcing-component-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) minmax(100px,.7fr) auto;align-items:end;gap:12px;padding:12px;border:1px solid #e0e9e9;border-radius:8px;background:#f8fbfa}
.sourcing-component-row label{min-width:0}
.sourcing-component-row input{width:100%;min-width:0}
.remove-sourcing-component{height:42px;padding:0 12px;border:1px solid #dce5e7;border-radius:7px;background:#fff;color:#a32736;cursor:pointer}
.sourcing-account-confirm{display:flex;align-items:flex-start;gap:9px;color:#586d79;font-size:15px;line-height:1.5}.sourcing-account-confirm input{flex:none;margin-top:4px}
#periodicEntryForm .dialog-body>label,#periodicStatementPaymentForm .dialog-body>label{display:grid;gap:6px;margin-top:14px}
@media(max-width:760px){.sourcing-component-row{grid-template-columns:1fr 1fr}.sourcing-component-row label:first-child{grid-column:1/-1}.sourcing-ledger-row{align-items:flex-start;flex-wrap:wrap}.sourcing-task-actions{justify-content:flex-start}.sourcing-statement-lines>div{grid-template-columns:1fr 1fr}.sourcing-statement-lines strong{text-align:left}}
.approval-timeline{display:grid;gap:10px;margin:10px 0}.approval-step{display:grid;gap:3px;border-left:3px solid #b8cbd1;background:#f7faf9;padding:10px 14px;border-radius:0 7px 7px 0}.approval-step.is-current{border-left-color:#bd1928;background:#fff6f5}.approval-step strong{font-size:16px;color:#253d49}.approval-step span,.approval-step small{font-size:14px;color:#667d87}.purchase-source-documents{margin:12px 0;padding:13px 15px;border:1px solid #d9e4e7;border-radius:8px;background:#f8fbfc}.purchase-source-documents:empty{display:none}.purchase-source-documents>strong{display:block;margin-bottom:8px;color:#244555}.purchase-source-documents p{margin:0;color:#72858e}
.intro-copy>p,.card-heading>div>p{display:none}
