.tf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.tf-heading h3{font-size:21px;margin:0 0 7px;color:#173b58}.tf-heading p{margin:0;color:#627384}.tf-type-list{display:flex;gap:16px;margin:22px 0 32px}.tf-type{flex:1;text-align:left;background:#fff;border:1px solid #ccd8e2;border-top:4px solid #247286;padding:22px;cursor:pointer;border-radius:6px;color:#173b58}.tf-type strong,.tf-type span,.tf-type b{display:block}.tf-type strong{font-size:18px;line-height:1.5}.tf-type span{font-size:13px;color:#627384;margin:10px 0 22px}.tf-type b{font-size:14px;color:#176277}.tf-type:hover{background:#f3f8fa;border-color:#247286}.modal-card:has(.tf-editor){width:min(1440px,96vw);max-width:1440px;padding:28px 30px}.tf-editor{font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#233b4c;min-width:0}.tf-editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-right:20px}.tf-editor-heading h2{margin:0 0 12px;font-size:23px}.tf-editor-heading p{margin:0;font-weight:600}.tf-editor-heading p span{display:block;font-weight:400;font-size:13px;color:#637987;margin-top:5px}.tf-save-state{font-size:12px;color:#657e8c;white-space:nowrap;padding:7px 10px;background:#edf3f6;border-radius:4px}.tf-periods{display:flex;align-items:end;gap:16px;background:#f2f6f8;margin:22px 0 18px;padding:16px;border:1px solid #d8e3e9}.tf-periods label{display:grid;gap:7px;font-size:13px;font-weight:600}.tf-periods input{min-height:38px;border:1px solid #bbcbd7;border-radius:3px;background:white;padding:7px 10px;color:#233b4c}.tf-periods>span{padding-bottom:10px}.tf-periods .tf-units{margin-left:auto;color:#617789;font-size:12px}.tf-tabs{display:flex;gap:0;border-bottom:2px solid #cad8e2;margin-bottom:16px;overflow:auto}.tf-tabs button{border:0;background:transparent;white-space:nowrap;padding:13px 22px;font:inherit;font-size:14px;color:#627384;cursor:pointer}.tf-tabs button.active{background:#eaf3f6;color:#14576a;box-shadow:inset 0 -3px #247286;font-weight:700}.tf-help{color:#637987;font-size:13px;line-height:1.8;margin:8px 0 16px;max-width:960px}.tf-option{display:flex;align-items:center;gap:16px;font-size:14px;margin:14px 0}.tf-option select{padding:8px;max-width:75%;border:1px solid #bbcbd7;border-radius:3px}.tf-table-scroll{overflow:auto;max-height:54vh;border:1px solid #b9cbd7;margin:12px 0 16px}.tf-sheet{border-collapse:separate;border-spacing:0;background:white;width:100%;font-size:13px;table-layout:fixed}.tf-sheet th,.tf-sheet td{border-right:1px solid #cedae3;border-bottom:1px solid #cedae3;padding:0;text-align:left}.tf-sheet th{padding:10px 12px;background:#f1f6f9;font-weight:500;line-height:1.5}.tf-sheet thead th{background:#e7f0f5;font-weight:600;color:#26485f;text-align:center;position:sticky;top:0;z-index:2}.tf-sheet td{height:40px;background:#fff}.tf-sheet input,.tf-sheet select{display:block;width:100%;border:0;border-radius:0;background:transparent;box-shadow:none;min-height:40px;padding:8px 10px;color:#173b58;font:inherit}.tf-sheet input.tf-number{font-variant-numeric:tabular-nums;text-align:right}.tf-sheet input:focus,.tf-sheet select:focus{outline:2px solid #247286;outline-offset:-2px;background:#f3fbff}.tf-sheet [aria-invalid="true"]{background:#fff0ee;box-shadow:inset 0 0 0 1px #bf463a}.tf-sheet input:disabled,.tf-sheet select:disabled{color:#415f71;background:#f5f7f9;opacity:1}.tf-vat{min-width:1000px}.tf-vat th:first-child{width:34%;text-align:left;position:sticky;left:0;z-index:1}.tf-vat thead th:first-child{z-index:3}.tf-vat thead tr:nth-child(2) th{top:39px;width:auto}.tf-vat tbody tr:nth-child(9) th,.tf-vat tbody tr:nth-child(22) th,.tf-vat tbody tr:nth-child(24) th{font-weight:700;background:#e9f2f5}.tf-details{table-layout:auto;min-width:100%}.tf-details th{min-width:145px;white-space:nowrap}.tf-details th:first-child{min-width:55px;position:sticky;left:0;z-index:3}.tf-details td input{min-width:145px}.tf-details td:has([aria-label="证件号码"]) input{min-width:200px}.tf-details th:last-child{min-width:85px}.tf-vertical{max-width:1000px;border:1px solid #b9cbd7}.tf-vertical th{width:40%}.tf-required{color:#b64034}.tf-check{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.7;margin:18px 0}.tf-check input{width:16px;height:16px;flex:none;margin-top:3px}.tf-footer{position:sticky;bottom:-28px;background:#fff;border-top:1px solid #c9d8e1;padding:18px 0 5px;margin-top:20px;display:flex;justify-content:space-between;gap:15px;z-index:5}.tf-footer>div{display:flex;gap:8px;flex-wrap:wrap}.tf-errors,.tf-valid{padding:14px 18px;margin:14px 0;font-size:13px;line-height:1.6;border-left:3px solid #bf463a;background:#fff4f1}.tf-errors ul{padding-left:20px;max-height:155px;overflow:auto;margin:8px 0}.tf-errors button{border:0;background:none;font:inherit;color:#94382e;text-align:left;cursor:pointer;padding:2px}.tf-valid{background:#edf7f3;border-color:#2d876c;color:#27664f}.tf-valid span{display:block}.tf-empty{padding:25px;color:#657e8c}.tf-total{padding:13px;background:#edf4f7;text-align:right;font-size:14px}.tf-total strong{font-size:18px}.tf-review{display:grid;grid-template-columns:110px 1fr;gap:14px;font-size:14px;line-height:1.6}.tf-review dt{color:#627384}.tf-review dd{margin:0;overflow-wrap:anywhere}.tf-editor button:focus-visible,.tf-type:focus-visible{outline:2px solid #247286;outline-offset:3px}
.tf-fixed-cell{display:block;padding:10px;white-space:nowrap}.tf-history{margin-top:24px;padding:16px;border-top:1px solid #ccd8e2;color:#627384;font-size:13px}.tf-history summary{cursor:pointer}.tf-vat thead tr:nth-child(2) th:first-child{left:auto}
@media(max-height:850px) and (min-width:761px){.modal-card:has(.tf-editor){padding:20px 24px}.tf-editor-heading h2{margin-bottom:8px}.tf-periods{margin:12px 0;padding:10px}.tf-tabs{margin-bottom:8px}.tf-tabs button{padding:10px 18px}.tf-help{font-size:12px;line-height:1.5;margin:6px 0 9px}.tf-option{margin:8px 0}.tf-table-scroll{max-height:calc(100dvh - 370px)}.tf-footer{bottom:-20px;margin-top:12px;padding-top:12px}}
@media(max-width:760px){.tf-type-list{flex-direction:column}.tf-type{padding:16px}.tf-type span{margin:7px 0 12px}.modal-card:has(.tf-editor){width:98vw;padding:20px 12px}.tf-editor-heading{display:block}.tf-save-state{display:inline-block;margin-top:12px}.tf-periods{flex-wrap:wrap;gap:10px}.tf-periods label{flex:1;min-width:135px}.tf-periods input{width:100%}.tf-periods>span:not(.tf-units){display:none}.tf-periods .tf-units{margin-left:0}.tf-tabs button{padding:12px}.tf-footer{bottom:-20px;flex-wrap:wrap}.tf-heading{align-items:flex-start}.tf-option{align-items:flex-start;flex-direction:column}.tf-option select{max-width:100%}}
