.project-workbench.project-rule-standard-page{background:#f6f8fc;color:#171b24;font-family:"Microsoft YaHei","宋体",serif}
.project-workbench.project-rule-standard-page .project-side{width:276px;background:linear-gradient(180deg,#163e98,#0f57b8)}
.project-workbench.project-rule-standard-page .project-top{height:66px;padding:0 38px;border-bottom:1px solid #e4e9f2;background:#f6f8fc;color:#7c8798;box-shadow:none}
.project-workbench.project-rule-standard-page .project-top .project-page-trail{min-height:66px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#7c8798;font-size:14px}
.project-workbench.project-rule-standard-page .project-page-trail button{color:#7c8798;font-size:14px}
.project-workbench.project-rule-standard-page .project-page-trail i{margin:0 9px;color:#bbc4d1}
.project-workbench.project-rule-standard-page .project-top-return{margin-right:15px;color:#245ca4;font-size:14px}
.project-workbench.project-rule-standard-page .project-workspace{padding:0 38px 52px}
.project-rule-standard-page .project-rule-context{margin:27px 0 18px;padding:0;border:0;border-radius:0;background:transparent}
.project-rule-standard-page .project-rule-context h1{margin:0 0 8px;color:#171b24;font-size:27px}
.project-rule-standard-page .project-rule-context .project-context-meta{gap:18px;color:#7c8798;font-size:13px}
.project-rule-standard-page .project-rule-context .back-projects{align-self:flex-start;margin-top:4px;color:#245ca4;font-size:14px}
.project-rule-standard-page .rule-sections-shell{padding:0 0 24px}
.project-rule-standard-page .rule-section-tabs{position:static;display:flex;gap:8px;margin:0 0 12px;padding:0;overflow-x:auto;background:transparent}
.project-rule-standard-page .rule-section-tabs .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:max-content;min-height:34px;height:34px;padding:0 13px;border:1px solid #d8e0eb;border-radius:5px;background:#fff;color:#425168;font-family:inherit;font-size:13px;font-weight:400;line-height:1;box-shadow:none}
.project-rule-standard-page .rule-section-tabs .btn.active{border-color:#1c55ad;background:linear-gradient(180deg,#163e98,#0f57b8);color:#fff;box-shadow:none}
.project-rule-standard-page .rule-section-tabs .btn:disabled{border-color:#d8e0eb;background:#fff;color:#425168;font-family:inherit;font-size:13px;font-weight:400;opacity:.55;-webkit-text-fill-color:#425168}
.project-rule-standard-page .rule-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:10px 14px;border:1px solid #e2a13b;border-radius:7px;background:#fff4d7;color:#744705;font-size:13px;box-shadow:0 3px 10px #8d5a101a}
.project-rule-standard-page .rule-review-status{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;color:#744705;font-size:13px}
.project-rule-standard-page .rule-review-status b{color:#8a5705;font-size:14px;font-weight:600}
.project-rule-standard-page .rule-review-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.project-rule-standard-page .rule-review-actions .btn{flex:0 0 auto;height:34px;min-height:34px;padding:0 13px;border-radius:5px;font-size:13px;font-weight:400;line-height:1;white-space:nowrap;box-shadow:none}
.project-rule-standard-page .rule-review-actions [data-withdraw-rule-package]{border-color:#c57f12;background:#fff;color:#7a4800}
.project-rule-standard-page .rule-review-actions [data-reject-rule-package],.project-rule-standard-page .rule-review-actions [data-return-rule-package]{border-color:#d99a32;background:#fff8e8;color:#744705}
.project-rule-standard-page .rule-review-actions [data-approve-rule-package],.project-rule-standard-page .rule-review-actions [data-confirm-rule-package]{border-color:#1c55ad;background:#1c55ad;color:#fff}
.project-rule-creating-page .rule-section-tabs{display:none}
.project-rule-creating-page .rule-section-panel:not([data-rule-section="base"]){display:none!important}
.project-rule-standard-page .rule-tab-dot{position:static;flex:none;width:7px;height:7px;transform:none}
#app .project-workbench.project-rule-standard-page .rule-section-tabs .btn{padding-right:13px !important}
.project-rule-standard-page .rule-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 14px;padding:10px 14px;border:1px solid #d8e2ef;border-radius:7px;background:#fff}
.project-rule-standard-page .rule-status-row.creating{display:flex;justify-content:space-between}
.project-rule-standard-page .rule-status-row.creating .rule-completion-summary{flex:1}
.project-rule-standard-page .rule-confirmation-note,.project-rule-standard-page .rule-completion-summary{margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#64748a}
.project-rule-standard-page .rule-completion-summary{gap:12px;white-space:nowrap}
.project-rule-standard-page .rule-completion-summary b{color:#915d08}
.project-rule-standard-page .rule-completion-summary.complete b{color:#267451}
.project-rule-standard-page .rule-completion-summary span{color:#7c8798}
.project-rule-standard-page .rule-section-panel{padding:20px;border:1px solid #d8e2ef;border-radius:8px;background:#fff}
.project-rule-standard-page .rule-section-head{align-items:center;margin-bottom:18px;padding-bottom:14px}
.project-rule-standard-page .rule-section-head h2{margin:0 0 6px;color:#171b24;font-size:20px;font-weight:400}
.project-rule-creating-page .project-number-auto b{font-weight:400}
.project-rule-creating-page .rule-section-status span{font-weight:400}
.project-rule-standard-page .rule-section-head p{color:#7c8798}
.project-rule-standard-page .rule-section-status{flex-basis:172px;padding:9px 12px;border-radius:6px}
.project-rule-standard-page .rule-confirm-action{display:inline-flex}
.project-rule-standard-page .rule-section-panel .input{min-height:36px;border-color:#d7e0ec;border-radius:5px;box-shadow:none}
.project-rule-standard-page .rule-section-panel textarea.input{resize:none}
.project-rule-standard-page .rule-section-panel .btn,.project-rule-standard-page .rule-choice{min-height:34px;border-radius:5px;box-shadow:none}
.rule-choice-group .rule-choice-radio,.project-rule-standard-page .management-fee-tax-link-option{display:inline-flex;align-items:center;gap:7px;min-width:0;min-height:34px;height:34px;padding:0 12px;border:1px solid #cbd8e8;border-radius:5px;background:#fff;color:#30445f;cursor:pointer;font-size:13px;font-weight:400;line-height:1;box-shadow:none}
.rule-choice-group .rule-choice-radio input[type="radio"],.project-rule-standard-page .management-fee-tax-link-option input[type="radio"]{flex:0 0 16px;width:16px;height:16px;margin:0;accent-color:#1769e8}
.rule-choice-group .rule-choice-radio:has(input:checked),.rule-choice-group .rule-choice-radio.active,.project-rule-standard-page .management-fee-tax-link-option:has(input:checked),.project-rule-standard-page .management-fee-tax-link-option.active{border-color:#1c55ad;background:#eef5ff;color:#154d9f}
.rule-choice-group .rule-choice-radio:has(input:disabled),.project-rule-standard-page .management-fee-tax-link-option:has(input:disabled){cursor:not-allowed;opacity:.6}
.rule-choice-group .rule-choice-radio:focus-within,.project-rule-standard-page .management-fee-tax-link-option:focus-within{outline:2px solid #8bb4f4;outline-offset:1px}
.project-rule-standard-page .rule-section-panel .btn.primary{border-color:#1c55ad;background:linear-gradient(180deg,#163e98,#0f57b8)}
.project-rule-standard-page .rule-section-actions{margin-top:18px;padding-top:16px}
.project-rule-standard-page .rule-section-actions .btn{height:34px;min-height:34px;padding:0 16px;border:1px solid #d8e0eb;border-radius:5px;background:#fff;color:#425168;font-family:inherit;font-size:13px;font-weight:400;line-height:1;box-shadow:none}
.project-rule-standard-page .rule-section-actions .btn.primary{border-color:#1c55ad;background:linear-gradient(180deg,#163e98,#0f57b8);color:#fff}
.project-rule-standard-page .rule-section-actions .rule-confirm-button{border-color:#cbd8e8;background:#fff;color:#425168;box-shadow:none}
.project-rule-standard-page .rule-section-actions .rule-confirm-button:hover:not(:disabled){border-color:#9fb8d8;background:#f4f8fd;color:#245ca4}
.project-rule-standard-page .rule-section-actions .rule-confirm-button:disabled{border-color:#d8e0eb;background:#f7f9fc;color:#7c8798;cursor:not-allowed;opacity:1}
.project-rule-standard-page .management-fee-tax-link-mode{display:grid;gap:10px;margin:0 0 18px;padding:14px 16px;border:1px solid #d8e2ef;border-radius:6px;background:#f8fbff}
.project-rule-standard-page .management-fee-tax-link-mode h3{margin:0;color:#183153;font-size:15px}
.project-rule-standard-page .management-fee-tax-link-mode p{margin:0;color:#728196;font-size:13px;line-height:1.6}
.project-rule-standard-page .management-fee-tax-link-mode .management-fee-tax-link-status{color:#154d9f;font-weight:400}
.project-rule-standard-page .management-fee-tax-link-options{display:flex;flex-wrap:wrap;gap:10px}
.project-rule-standard-page .tax-bearing-steps{display:grid;gap:14px;margin:0 0 18px}
.project-rule-standard-page .tax-bearing-step{padding:14px 16px;border:1px solid #d8e2ef;border-radius:7px;background:#fbfcfe}
.project-rule-standard-page .tax-bearing-step-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}
.project-rule-standard-page .tax-bearing-step-index{display:inline-flex;flex:0 0 24px;width:24px;height:24px;align-items:center;justify-content:center;border-radius:50%;background:#eaf2ff;color:#155aa7;font-size:13px;font-weight:600;line-height:1}
.project-rule-standard-page .tax-bearing-step-head h3{margin:1px 0 5px;color:#183153;font-size:15px;font-weight:400}
.project-rule-standard-page .tax-bearing-step-head p{margin:0;color:#728196;font-size:13px;line-height:1.6}
.project-rule-standard-page .tax-bearing-step .tax-rule-grid{margin-top:0}
.project-rule-standard-page .tax-bearing-step-secondary .management-fee-tax-link-mode{margin:0;padding:0;border:0;background:transparent}
.project-rule-standard-page .tax-bearing-step-secondary .management-fee-tax-link-mode p{margin:0;color:#728196;font-size:13px;line-height:1.6}
.project-rule-standard-page .tax-bearing-step-secondary .management-fee-tax-link-options{margin-top:10px}
.project-rule-standard-page .rule-section-panel .rule-inline-field-control{display:flex;align-items:center;gap:8px;min-width:0;margin-top:7px}
.project-rule-standard-page .rule-section-panel .rule-inline-field-control>.input{flex:1 1 auto;min-width:0;width:100%;margin-top:0}
.project-rule-standard-page .rule-section-panel .rule-inline-field-control>.project-rule-inline-add{box-sizing:border-box;flex:0 0 auto;width:auto;min-width:0;min-height:40px;height:40px;margin:0;padding:0 9px;border:1px solid #cbd8e8;border-radius:4px;background:#fff;box-shadow:none;color:#1f5fa9;font-size:13px;font-weight:400;line-height:38px;white-space:nowrap}
.project-rule-standard-page .rule-section-panel .rule-inline-field-control>.project-rule-inline-add:hover{border-color:#9fb8d8;background:#f4f8fd;color:#0f4b99;box-shadow:none}
.project-rule-creating-page .rule-section-actions .project-create-submit{width:auto;min-width:0;min-height:34px;height:34px;padding:0 16px;color:#fff;font-size:13px;font-weight:400;line-height:32px}
.project-rule-standard-page .project-rule-context .back-projects.project-top-action{align-self:flex-start;margin-top:4px}
@media(max-width:650px){.rule-choice-group .rule-choice-radio{flex:1 1 100%}}
.project-rule-creating-page .project-rule-pending-nav{display:grid;gap:4px}
.project-rule-creating-page .project-rule-pending-nav .project-nav-home:disabled{cursor:not-allowed;opacity:.55}
.project-rule-standard-page .rule-section-status span,.project-rule-standard-page .rule-section-status small,.project-rule-standard-page .rule-section-panel .form-grid>label,.project-rule-standard-page .rule-section-panel .rule-check,.project-rule-standard-page .rule-section-panel .rule-choice,.project-rule-standard-page .rule-section-panel .tax-rule,.project-rule-standard-page .rule-section-panel .management-fee-tax-link-option,.project-rule-standard-page .rule-section-panel .input,.project-rule-standard-page .rule-section-panel input,.project-rule-standard-page .rule-section-panel select,.project-rule-standard-page .rule-section-panel textarea{font-weight:400 !important}
.project-rule-standard-page .rule-section-panel select,.project-rule-standard-page .rule-section-panel select option{font-family:inherit;font-weight:400 !important}
.project-rule-standard-page .rule-section-panel[data-rule-section="settlement"] .subsection-title{color:#30456f;font-size:13px;font-weight:400}
.project-rule-standard-page .management-plan thead th,.project-rule-standard-page .management-plan thead th *{font-weight:400 !important}
.project-rule-standard-page datalist,.project-rule-standard-page datalist option,.project-rule-standard-page .rule-section-panel input[list]{font-family:inherit;font-weight:400 !important}
.project-unit-suggestion-field{position:relative}
.project-unit-suggestions{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;max-height:240px;overflow:auto;padding:4px;border:1px solid #d7e0ec;border-radius:6px;background:#fff;box-shadow:0 8px 22px rgba(28,58,96,.16)}
.project-unit-suggestions[hidden]{display:none}
.project-unit-suggestions button{display:block;width:100%;min-height:34px;padding:7px 10px;border:0;border-radius:4px;background:#fff;color:#253b5a;font-family:inherit;font-size:13px;font-weight:400!important;line-height:1.45;text-align:left;cursor:pointer}
.project-unit-suggestions button:hover,.project-unit-suggestions button:focus-visible{background:#eef5ff;color:#1557aa;outline:0}
.project-name-live-error{display:block;margin-top:5px;color:#c0392b;font-size:12px;font-weight:400;line-height:1.5}
.project-name-live-error[hidden]{display:none}
.project-rule-standard-page .input.input-error{border-color:#d94a3a!important;background:#fff9f8}
.project-rule-standard-page .rule-section-panel [data-comprehensive-package-rate][hidden]{display:none !important}
.project-rule-standard-page .rule-setting-changed{position:relative;border-radius:5px;background:#fff9df;box-shadow:0 0 0 1px #ead18a}
.project-rule-standard-page .rule-setting-changed::after{position:absolute;z-index:1000;left:0;bottom:calc(100% + 6px);display:none;box-sizing:border-box;width:max-content;max-width:min(360px,100%);padding:7px 9px;border:1px solid #ead18a;border-radius:5px;background:#fffdf4;color:#5f5132;box-shadow:0 5px 16px rgba(70,57,25,.14);content:"原来：" attr(data-before) "；现在：" attr(data-after);font-size:12px;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere;pointer-events:none}
.project-rule-standard-page .rule-setting-changed:hover::after,.project-rule-standard-page .rule-setting-changed:focus::after,.project-rule-standard-page .rule-setting-changed:focus-within::after{display:block}
@media(max-width:1180px){.project-rule-standard-page .rule-status-row{grid-template-columns:1fr}.project-rule-standard-page .rule-completion-summary{white-space:normal}.project-rule-standard-page .rule-review-toolbar{align-items:flex-start;flex-direction:column}.project-rule-standard-page .rule-review-actions{justify-content:flex-start}}
.project-rule-standard-page [data-rule-section="management_fee"] > .rule-section-actions[hidden],
.project-rule-standard-page [data-v2-management-block][hidden] { display: none; }
.project-rule-standard-page [data-v2-management-block] .rule-section-actions {
  justify-content: flex-start;
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}
.searchable-reference-picker{position:relative;display:block;flex:1 1 auto;min-width:0}
.searchable-reference-picker>select{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.searchable-reference-input{width:100%;box-sizing:border-box}
.searchable-reference-options{position:absolute;z-index:30;top:calc(100% + 3px);left:0;right:0;max-height:220px;overflow-y:auto;padding:4px;border:1px solid #cbd8e8;border-radius:6px;background:#fff;box-shadow:0 8px 22px #18396924}
.searchable-reference-options[hidden]{display:none}
.searchable-reference-options button,.searchable-reference-options>span{display:block;width:100%;padding:8px 10px;border:0;border-radius:4px;background:transparent;color:#29466b;text-align:left;font-size:13px}
.searchable-reference-options button:hover,.searchable-reference-options button:focus{background:#eaf2ff;color:#1557ae}

/* 基础资料的搜索控件只由外层提供一次上边距。 */
.project-rule-standard-page .rule-section-panel[data-rule-section="base"] .form-grid{align-items:start}
.project-rule-standard-page .rule-section-panel[data-rule-section="base"] .input{box-sizing:border-box;height:40px;min-height:40px}
.project-rule-standard-page .rule-section-panel[data-rule-section="base"] .rule-inline-field-control{height:40px;align-items:center}
.project-rule-standard-page .rule-section-panel[data-rule-section="base"] .rule-inline-field-control>.searchable-reference-picker{height:40px;min-height:40px;margin:0}
.project-rule-standard-page .rule-section-panel[data-rule-section="base"] .rule-inline-field-control .searchable-reference-input{display:block;margin:0;height:40px;min-height:40px}

/* Project settings: concise explanations, with help kept beside its field. */
.project-rule-standard-page .rule-field-caption{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}
.project-rule-standard-page .rule-help-button{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 17px;width:17px!important;min-width:17px!important;height:17px!important;min-height:17px!important;margin:0 0 0 5px;padding:0!important;border:1px solid #a8b8cd;border-radius:50%;background:#fff;color:#7487a1;font:600 11px/1 Arial,sans-serif;vertical-align:middle;cursor:help;box-shadow:none}
.project-rule-standard-page .rule-help-button:hover,.project-rule-standard-page .rule-help-button:focus-visible{border-color:#2771ca;color:#1855ae;outline:2px solid #dceaff;outline-offset:2px}
.rule-help-tooltip{position:fixed;z-index:10050;box-sizing:border-box;width:max-content;max-width:min(340px,calc(100vw - 16px));padding:10px 13px;border:1px solid #ccd9eb;border-radius:6px;background:#fff;color:#405674;box-shadow:0 8px 26px #17356326;font:13px/1.65 "Microsoft YaHei",sans-serif;white-space:normal;overflow-wrap:anywhere;pointer-events:none}
.rule-help-tooltip[hidden]{display:none!important}
.project-rule-standard-page .rule-review-setting{display:inline-flex;align-items:center;color:#728299;font-size:12px}
.project-rule-standard-page .rule-field-status{margin:5px 0 0;padding:0;border:0;border-radius:0;background:none;color:#75869f;font-size:12px;line-height:1.55}
.project-rule-standard-page .rule-field-status[hidden]{display:none!important}
.project-rule-standard-page .rule-inline-description{margin:14px 0 0;padding:0;border:0;background:none;color:#667c98;font-size:13px;line-height:1.7}
.project-rule-standard-page .rule-section-status.confirmed{flex:0 1 auto;display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;width:auto;padding:6px 12px;border:1px solid #bfe2d0;border-radius:6px;background:#effaf4;text-align:right}
.project-rule-standard-page .rule-section-status.confirmed span{font-size:13px;font-weight:400}
.project-rule-standard-page .rule-section-status.confirmed small{margin:0;font-size:12px}
.project-rule-standard-page .rule-section-status small:empty{display:none}
.project-rule-standard-page .rule-draft-warning{margin:12px 0 0;padding:8px 12px;border-left:3px solid #dca03b;border-radius:3px;background:#fff9ed;color:#8a6422;font-size:13px;line-height:1.6}
.project-rule-standard-page .rule-section-panel [data-final-settlement-fee-rule]{display:block}
.project-rule-standard-page .rule-section-panel [data-final-settlement-fee-rule]>.input{display:block;width:100%;margin-top:7px}

/* Project settings: screenshot-matched fixed-amount installment editor shared by management fee and guarantee rules. */
.project-rule-standard-page .rule-installment-panel{box-sizing:border-box;margin-top:14px;padding:20px 24px 22px;border:1px solid #dbe4f0;border-radius:10px;background:#f8fafc}
.project-rule-standard-page .rule-installment-panel *{font-weight:400!important}
.project-rule-standard-page .rule-installment-fields{grid-template-columns:minmax(0,1fr) minmax(180px,20%);gap:20px;align-items:end;width:100%;max-width:none;margin:0 0 24px}
.project-rule-standard-page .rule-installment-fields>label{min-width:0}
.project-rule-standard-page .rule-installment-plan{margin:0;padding:0}
.project-rule-standard-page .rule-installment-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px}
.project-rule-standard-page .rule-installment-head h3{margin:0;color:#243b5c;font-size:14px;font-weight:400}
.project-rule-standard-page .rule-installment-summary{display:flex;align-items:center;justify-content:flex-end;gap:16px;color:#718198;font-size:13px;white-space:nowrap}
.project-rule-standard-page .rule-installment-total{color:#1763c9;font-size:14px;font-weight:400!important;font-variant-numeric:tabular-nums}
.project-rule-standard-page .rule-installment-plan .table-wrap{border-color:#dbe4f0;border-radius:8px;background:#fff}
.project-rule-standard-page .rule-installment-plan table{min-width:560px}
.project-rule-standard-page .rule-installment-plan th{height:44px;background:#f1f5fb;color:#5f7189;font-size:13px;font-weight:400}
.project-rule-standard-page .rule-installment-plan td{height:48px;padding:6px 12px}
.project-rule-standard-page .rule-installment-plan th:first-child,.project-rule-standard-page .rule-installment-plan td:first-child{width:86px}
.project-rule-standard-page .rule-installment-plan th:nth-child(2),.project-rule-standard-page .rule-installment-plan td:nth-child(2){width:32%}
.project-rule-standard-page .rule-installment-plan td:last-child{width:auto}
.project-rule-standard-page .rule-installment-plan td .input{height:36px;margin:0;border-width:0;border-style:none;border-color:transparent;background:transparent;box-shadow:none;text-align:right;font-weight:400;font-variant-numeric:tabular-nums;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.project-rule-standard-page .rule-installment-plan td .input:hover{border-width:1px;border-style:solid;border-color:#cfdaea;background:#fff}
.project-rule-standard-page .rule-installment-plan td .input:focus{border-width:1px;border-style:solid;border-color:#1769e8;background:#fff;box-shadow:0 0 0 2px rgba(23,105,232,.12)}
.project-rule-standard-page .rule-installment-note{margin:18px 0 0;color:#667c98;font-weight:400!important}
@media(max-width:700px){.project-rule-standard-page .rule-installment-panel{padding:16px}.project-rule-standard-page .rule-installment-fields{grid-template-columns:1fr;max-width:none}.project-rule-standard-page .rule-installment-head{align-items:flex-start;flex-direction:column;gap:8px}.project-rule-standard-page .rule-installment-summary{justify-content:flex-start;white-space:normal}}
