.tw{--ink:#20352e;--muted:#738079;--line:#e2e8e3;--green:#176b50;--orange:#e78143;color:var(--ink);display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 44px);background:#f4f6f3;border:1px solid var(--line);border-radius:18px;overflow:clip;font-family:Arial,"Microsoft YaHei",sans-serif}
.tw *{box-sizing:border-box}.tw button,.tw input,.tw select,.tw textarea{font:inherit}.tw button{cursor:pointer}.tw button:disabled{cursor:default;opacity:.5}.tw button:focus-visible,.tw input:focus-visible,.tw select:focus-visible{outline:3px solid #dcaa67;outline-offset:2px}.tw-aside{background:#233b32;color:#dae5dd;padding:25px 15px;display:flex;flex-direction:column;gap:22px}.tw-brand{display:flex;gap:11px;align-items:center;padding:0 9px}.tw-brand>span{display:grid;place-items:center;width:37px;height:37px;background:#ed9a5d;border-radius:11px;color:#233b32;font-size:23px;font-weight:800}.tw-brand strong{display:block;font-size:17px;letter-spacing:1px}.tw-brand small{display:block;color:#9eb4a5;font-size:10px;margin-top:4px;letter-spacing:1px}.tw-nav{display:grid;gap:5px}.tw-nav p{font-size:11px;color:#9cb2a3;margin:17px 11px 6px}.tw-nav button{display:flex;gap:11px;align-items:center;border:0;background:transparent;text-align:left;color:#c6d5cb;padding:12px 14px;border-radius:8px;font-size:14px}.tw-nav button i{font-style:normal;width:21px;color:#8ea99b}.tw-nav button.active{background:#e3efdf;color:#233b32;font-weight:700}.tw-nav button:hover{background:#365044;color:#fff}.tw-aside-foot{margin-top:auto;border-top:1px solid #496051;padding:17px 10px 0;font-size:11px;line-height:1.8;color:#b1c4b7}.tw-back{color:#ccd9d0;background:transparent;border:1px solid #5a7063;border-radius:7px;padding:9px;text-align:center}.tw-main{min-width:0;padding:0 28px 30px}.tw-top{display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid var(--line);min-height:63px;font-size:12px;color:var(--muted)}.tw-top strong{color:#334b40}.tw-tag{display:inline-flex;align-items:center;gap:6px;border-radius:5px;background:#eef2ed;color:#687b6d;padding:5px 8px;font-size:11px;font-weight:500;white-space:nowrap}.tw-tag.green{color:#176b50;background:#e8f2e9}.tw-tag.orange{color:#a26627;background:#fff1dc}.tw-tag.red{color:#ad4b38;background:#fceee8}.tw-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:27px 0 22px}.tw h1{font-size:27px;line-height:1.3;margin:3px 0 8px;font-weight:700;letter-spacing:.3px}.tw h2{font-size:17px;margin:0}.tw h3{font-size:15px;margin:0 0 10px}.tw p{line-height:1.7}.tw-sub{color:var(--muted);font-size:12px;margin:0}.tw-kicker{font-size:10px;letter-spacing:2px;color:#998368;font-weight:700}.tw-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tw-btn{border:1px solid #d5dfd7;background:#fff;color:#315543;border-radius:7px;min-height:36px;padding:8px 13px;font-size:12px;white-space:nowrap}.tw-btn.primary{background:var(--green);color:#fff;border-color:var(--green)}.tw-btn.warm{background:#f9eddf;color:#9d6534;border-color:#efdbc1}.tw-btn.link{background:none;border:0;padding:5px;color:var(--green)}.tw-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px;align-items:end}.tw label{display:grid;gap:6px;font-size:12px;color:#52675b}.tw input,.tw select,.tw textarea{width:100%;min-width:0;background:#fff;border:1px solid #dce4dd;border-radius:6px;padding:9px 10px;color:#2b4336;min-height:37px}.tw-filters .tw-search{flex:1;min-width:160px;max-width:350px}.tw-filters select{max-width:270px}.tw input[type=checkbox]{width:15px;min-height:15px;height:15px;accent-color:#176b50}.tw-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}.tw-stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 20px;position:relative}.tw-stat small{font-size:12px;color:#718174}.tw-stat b{font-size:29px;display:block;margin:9px 0 8px;font-weight:600}.tw-stat>span{font-size:11px;color:#8a978d}.tw-stat:first-child{background:#e9eee2;border-color:#dce5d6}.tw-stat:first-child b{color:#35533d}.tw-split{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px}.tw-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:17px;min-width:0}.tw-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.tw-table-wrap{width:100%;overflow:auto}.tw table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.tw th{background:#f7f8f4;padding:12px 11px;color:#6d7d71;white-space:nowrap;font-weight:500;border-bottom:1px solid #e4e9e2}.tw td{padding:14px 11px;border-bottom:1px solid #edf0eb;vertical-align:middle;max-width:320px}.tw td small{display:block;font-size:10px;color:#8d988f;margin-top:6px}.tw tr:last-child td{border-bottom:0}.tw-name{border:0;background:none;font-weight:600;color:#2c4937;text-align:left;padding:0;font-size:12px;max-width:230px;line-height:1.5}.tw td .tw-actions{flex-wrap:nowrap}.tw-empty{text-align:center;padding:40px 12px;color:#8d9b91}.tw-empty b{display:block;color:#526b5c;margin-bottom:9px}.tw-empty p{font-size:12px}.tw-pipeline{display:grid;gap:0;margin-top:18px}.tw-pipeline div{display:flex;align-items:center;gap:10px;min-height:50px;position:relative;font-size:12px;color:#65796a}.tw-pipeline i{display:grid;place-items:center;font-style:normal;border:1px solid #dce6d9;background:#f4f7ef;border-radius:50%;width:26px;height:26px;z-index:1}.tw-pipeline div:not(:last-child):before{content:'';position:absolute;left:13px;top:37px;bottom:-13px;width:1px;background:#e0e7dc}.tw-pipeline strong{font-weight:500}.tw-pipeline small{display:block;font-size:10px;color:#98a294;margin-top:3px}.tw-notice{background:#f7f1e6;border-left:3px solid #d0a366;padding:12px 15px;border-radius:5px;color:#7e704e;font-size:12px;line-height:1.8;margin:0 0 20px}.tw-notice.neutral{background:#edf3f1;border-left-color:#91b8a8;color:#547063}.tw-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:22px}.tw-form-card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:13px;min-height:183px}.tw-form-card .tw-sub{flex:1}.tw-form-icon{width:31px;height:31px;border-radius:7px;display:grid;place-items:center;background:#f0f3e9;color:#537148;font-size:12px}.tw-form-card footer{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#859380}.tw-tabs{display:flex;gap:6px;flex-wrap:wrap;padding:7px;border:1px solid #e3e9e1;background:#fff;border-radius:8px;margin-bottom:19px}.tw-tabs button{border:0;background:none;color:#7b897e;padding:9px 14px;border-radius:5px;font-size:12px}.tw-tabs button.active{background:#e7efe3;color:#416039;font-weight:600}.tw-client-banner{display:flex;align-items:center;gap:14px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:16px}.tw-client-icon{height:47px;width:47px;border-radius:10px;background:#f1e8da;color:#ac8654;display:grid;place-items:center;font-size:21px;flex-shrink:0}.tw-client-banner strong{font-size:17px}.tw-client-banner small{display:block;color:#8a958b;font-size:11px;margin-top:7px}.tw-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:13px;margin-top:10px;font-size:11px;color:#80907f}.tw-roadmap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.tw-roadmap article{padding:20px;border:1px solid var(--line);border-radius:8px;background:#fff}.tw-roadmap p{font-size:12px;color:#788775}.tw-code{font-family:Consolas,monospace;font-size:11px;color:#617666;overflow-wrap:anywhere}.tw a{color:#176b50}.tw-video{width:100%;max-height:430px;background:#1f332b;border-radius:8px}.tw-details summary{cursor:pointer;font-weight:600;font-size:13px}.tw-details pre{white-space:pre-wrap;line-height:1.7;max-height:320px;overflow:auto;font-family:inherit;font-size:12px;color:#6d7d6d}.tw-overlay{position:fixed;inset:0;background:#19382c85;z-index:1100;display:flex;justify-content:flex-end;backdrop-filter:blur(3px)}.tw-drawer{background:#f7f8f4;width:min(1050px,calc(100vw - 28px));height:100%;overflow:auto;padding:25px 30px;box-shadow:-12px 0 50px #183c3026;color:#263e30}.tw-drawer h2{font-size:22px}.tw-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tw-editor-grid .wide{grid-column:1/-1}.tw-editor-grid textarea{min-height:85px;resize:vertical}.tw-editor-lines{max-height:420px;overflow:auto}.tw-editor-lines input,.tw-editor-lines select{min-width:140px}.tw-editor-lines th{position:sticky;top:0;z-index:2}.tw-editor-lines td{padding:5px}.tw-editor-lines th:first-child{min-width:45px}.tw-editor-lines input[type=date]{min-width:160px}.tw-drawer-footer{position:sticky;bottom:-25px;background:#f7f8f4;border-top:1px solid var(--line);padding:15px 0;display:flex;justify-content:space-between;gap:12px;margin-top:24px;z-index:3}.tw-errors{border:1px solid #e7c0b4;background:#fff1ed;padding:12px;border-radius:6px;color:#9e4934;font-size:12px;line-height:1.7;margin-bottom:14px;white-space:pre-line}.tw-batch-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tw-batch-checks label{display:flex;align-items:center;border:1px solid #e4e9df;background:#fff;border-radius:6px;padding:10px}.tw-draft-watermark{font-size:11px;color:#a08455}.tw-field-star{color:#bc7144}.tw-field-note{font-size:10px;color:#8e988b}.tw-print-only{display:none}
@media(min-width:1550px){.tw-main{padding-left:35px;padding-right:35px}.tw-module-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.tw{grid-template-columns:190px minmax(0,1fr)}.tw-main{padding:0 18px 24px}.tw-split{grid-template-columns:1fr}.tw-split>aside{display:none}.tw-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.tw{display:block;border-radius:9px}.tw-aside{padding:14px;gap:12px}.tw-brand{display:none}.tw-nav{display:flex;overflow:auto;gap:4px}.tw-nav button{white-space:nowrap;padding:9px;font-size:12px}.tw-nav p,.tw-aside-foot,.tw-back{display:none}.tw-main{padding:0 12px 20px}.tw-top{min-height:49px;font-size:10px}.tw-heading{align-items:start;flex-direction:column;margin:20px 0 16px}.tw h1{font-size:24px}.tw-stats{grid-template-columns:1fr 1fr;gap:8px}.tw-stat{padding:13px}.tw-stat b{font-size:24px}.tw-module-grid,.tw-roadmap{grid-template-columns:1fr}.tw-card{padding:14px}.tw-client-banner strong{font-size:14px}.tw-drawer{width:100%;padding:18px 14px}.tw-editor-grid{grid-template-columns:1fr}.tw-batch-checks{grid-template-columns:1fr}.tw-filters label{max-width:100%}.tw-filters select{max-width:200px}.tw-drawer-footer{bottom:-18px}.tw-heading .tw-actions{width:100%}.tw td{min-width:110px}.tw td:first-child{min-width:40px}}
@media print{body>*{display:none!important}body>.tw-print-sheet{display:block!important;font-family:Arial,"Microsoft YaHei",sans-serif;color:#222}.tw-print-sheet h1{font-size:22px}.tw-print-sheet table{border-collapse:collapse;width:100%;font-size:10px}.tw-print-sheet td,.tw-print-sheet th{border:1px solid #bbb;padding:6px}.tw-print-sheet .watermark{color:#ab765d;font-size:20px;border-bottom:2px solid #ac8064;padding:10px 0;margin-bottom:20px}}
@media(max-width:700px){.tw-drawer .tw-card>.tw-card-title{align-items:flex-start;flex-direction:column}.tw-drawer .tw-card>.tw-card-title h3{white-space:nowrap}.tw-back{display:block}}
.api-declaration-panel:has(>.tw){min-width:0;grid-template-columns:minmax(0,1fr)}.api-declaration-panel>.tw{min-width:0;width:100%;max-width:100%}

.tw-financial-lines{max-height:560px}.tw-financial-lines table{min-width:640px}.tw-financial-lines td:nth-child(2){min-width:240px;max-width:430px}.tw-financial-lines input{text-align:right;font-variant-numeric:tabular-nums;min-width:130px}.tw-financial-total td{background:#edf4ef;font-weight:600}.tw-financial-total input{background:#edf4ef;border-color:transparent}.tw-financial-group td{background:#e1ebe5;color:#214b37;font-weight:700;padding:10px}.tw-financial-lines .tw-notice{margin:10px 0}.tw-financial-lines th{z-index:2}

.tw-editor-nav{display:flex;gap:7px;flex-wrap:wrap;padding:14px 0 20px}.tw-editor-nav .tw-btn{font-size:12px}.tw-detail-row{border:1px solid #dce5dd;border-radius:8px;padding:18px;margin:14px 0;background:#fafcf9}.tw-detail-row .tw-card-title{margin-bottom:14px}.tw-detail-empty{padding:20px 0;color:#798779;font-size:12px}.tw-card-lines{max-height:none;overflow:visible}.tw-card-lines input,.tw-card-lines select{min-width:0}.tw-field-section,.tw-detail-row{scroll-margin-top:15px}.tw-financial-lines .tw-table-wrap{overflow:visible}@media(max-width:700px){.tw-detail-row{padding:12px}.tw-editor-nav{max-height:145px;overflow:auto}.tw-editor-nav .tw-btn{white-space:normal;text-align:left}}

.tw-chooser-section>h3{font-size:17px;margin:24px 0 14px}.tw-chooser-section .tw-form-card{min-height:185px;gap:10px}.tw-chooser-open{font-size:12px;color:#176b50}

/* Restore the original tabbed, bordered sheet presentation. */
.tw-sheet-editor{justify-content:center;align-items:center;border-radius:0;--green:#247286;--ink:#233b4c;--muted:#637987;--line:#cedae3;background:#19304480}.tw-sheet-editor .tw-drawer{width:min(1440px,96vw);height:94vh;padding:24px 28px;background:#fff;border-radius:6px}.tw-sheet-editor .tw-card{border:0;border-radius:0;padding:0;margin-bottom:16px;background:#fff}.tw-sheet-editor #twEditForm>section:first-child{padding:12px 16px;background:#f2f6f8;border:1px solid #d8e3e9}.tw-sheet-editor .tw-editor-nav{flex-wrap:nowrap;overflow:auto;padding:0;gap:0;margin:0 0 18px;border-bottom:2px solid #cad8e2;max-height:none}.tw-sheet-editor .tw-editor-nav .tw-btn{border:0;border-radius:0;padding:12px 18px;background:transparent;color:#627384;flex-shrink:0}.tw-sheet-editor .tw-editor-nav .active{background:#eaf3f6;color:#14576a;box-shadow:inset 0 -3px #247286;font-weight:700}.tw-sheet-editor table{border-collapse:separate;border-spacing:0;border-top:1px solid #b9cbd7;border-left:1px solid #b9cbd7;font-size:13px}.tw-sheet-editor th,.tw-sheet-editor td{border-right:1px solid #cedae3;border-bottom:1px solid #cedae3!important;border-radius:0;padding:0;max-width:none}.tw-sheet-editor th{background:#f1f6f9;padding:9px 12px;color:#26485f}.tw-sheet-editor thead th{background:#e7f0f5;text-align:center;font-weight:600;white-space:nowrap;position:sticky;top:0;z-index:2}.tw-sheet-editor td input,.tw-sheet-editor td select,.tw-sheet-editor td textarea{border:0;border-radius:0;box-shadow:none;min-height:40px;padding:8px 10px;background:transparent}.tw-sheet-editor td input:focus,.tw-sheet-editor td select:focus,.tw-sheet-editor td textarea:focus{outline:2px solid #247286;outline-offset:-2px;background:#f3fbff}.tw-sheet-editor input[inputmode=decimal]{text-align:right;font-variant-numeric:tabular-nums}.tw-sheet-editor .tw-sheet-vertical{width:100%;table-layout:fixed}.tw-sheet-editor .tw-sheet-vertical th{width:42%;white-space:normal}.tw-sheet-editor .tw-sheet-vertical textarea{width:100%;min-height:80px;resize:vertical}.tw-sheet-editor .tw-table-wrap{max-height:52vh;overflow:auto}.tw-sheet-editor .tw-editor-lines{max-height:none;overflow:visible}.tw-sheet-editor [data-extra-rows] td input,.tw-sheet-editor [data-extra-rows] td select{min-width:155px}.tw-sheet-editor .tw-editor-lines th:first-child,.tw-sheet-editor [data-extra-rows] tbody th{position:sticky;left:0;z-index:1}.tw-sheet-editor .tw-drawer-footer{background:#fff;bottom:-24px;margin-top:15px;padding:14px 0}.tw-sheet-editor [hidden]{display:none!important}.tw-sheet-editor .tw-financial-total td{background:#edf4f7}.tw-sheet-editor .tw-financial-group td{background:#e7f0f5;padding:9px 12px}.tw-sheet-editor .tw-field-note{color:#b64034}.tw-sheet-editor .tw-notice{font-size:12px;margin-bottom:14px}@media(max-width:700px){.tw-sheet-editor .tw-drawer{width:98vw;height:97vh;padding:16px 12px}.tw-sheet-editor .tw-drawer-footer{bottom:-16px}.tw-sheet-editor #twEditForm>section:first-child .tw-editor-grid{grid-template-columns:1fr 1fr;gap:10px}.tw-sheet-editor #twEditForm>section:first-child label:first-child{grid-column:1/-1}.tw-sheet-editor .tw-editor-nav .tw-btn{white-space:nowrap;padding:11px 13px}.tw-sheet-editor .tw-table-wrap{max-height:50vh}.tw-sheet-editor .tw-card-title{flex-wrap:wrap}}
/* Continuous production editor: directory links scroll, never hide parts of a return. */
.tw-continuous-editor .tw-drawer{width:98vw;height:98vh;padding:16px 20px;border-radius:3px}
.tw-continuous-editor .tw-drawer>.tw-card-title{margin-bottom:10px}
.tw-continuous-editor .tw-drawer>.tw-card-title .tw-kicker,.tw-continuous-editor .tw-drawer>p.tw-sub{display:none}
.tw-continuous-editor .tw-drawer>.tw-notice{padding:5px 10px;margin:0 0 10px!important;background:#f6f8fb;border-left:0;font-size:11px}
.tw-continuous-editor #twEditForm{display:grid;grid-template-columns:205px minmax(0,1fr);gap:20px;align-items:start}
.tw-continuous-editor .tw-editor-nav{display:flex;flex-direction:column;position:sticky;top:0;overflow:auto;max-height:80vh;border:1px solid #e2e7ee;gap:0;padding:0;margin:0}
.tw-continuous-editor .tw-editor-nav>strong{padding:18px;background:#407de9;color:#fff;font-size:18px;font-weight:500}
.tw-continuous-editor .tw-editor-nav .tw-btn{text-align:left;white-space:normal;padding:13px 16px;min-height:44px;font-size:12px}
.tw-continuous-editor .tw-editor-nav .active{background:#edf4ff;color:#3068c9;box-shadow:inset 3px 0 #407de9}
.tw-continuous-editor .tw-report-body{min-width:0}
.tw-continuous-editor .tw-report-body>section:first-child{background:#f7f9fc;border:1px solid #e0e6ed;padding:12px 16px}
.tw-continuous-editor .tw-field-section>h3{text-align:center;font-size:21px;padding:14px 0 18px}
.tw-continuous-editor .tw-table-wrap{max-height:none;overflow:auto}
.tw-continuous-editor table{border-collapse:collapse;border-color:#e0e4e9}
.tw-continuous-editor th,.tw-continuous-editor td{border:1px solid #e0e4e9!important;color:#364657;font-size:13px}
.tw-continuous-editor th{background:#f8f9fb;white-space:normal;font-weight:500}
.tw-continuous-editor .tw-section-row th{background:#f3f6fa;font-weight:600;text-align:center;padding:12px}
.tw-continuous-editor td{padding:4px}
.tw-continuous-editor td input,.tw-continuous-editor td select{border:1px solid #aec7f8;border-radius:2px;background:white;min-height:33px;padding:6px 8px}
.tw-continuous-editor td input[readonly]{border:0;background:transparent;color:#344454}
.tw-continuous-editor .tw-vat-return{min-width:980px;table-layout:fixed;width:100%}
.tw-continuous-editor .tw-vat-return th:first-child{width:auto}
.tw-continuous-editor .tw-vat-return .tw-vat-line{text-align:center;font-size:12px;width:75px;background:#fafbfd}
.tw-continuous-editor .tw-vat-return input{width:100%;min-width:0;font-variant-numeric:tabular-nums;text-align:right}
.tw-continuous-editor .tw-vat-return input[type=date]{text-align:left}
.tw-continuous-editor .tw-not-applicable{display:block;text-align:center;color:#8c939c}
.tw-continuous-editor .tw-original-data,.tw-continuous-editor .tw-filling-help{margin-top:14px;padding:12px 0;border-top:1px solid #e0e6ed;font-size:12px}
.tw-continuous-editor summary{cursor:pointer;color:#637384;line-height:1.7}
.tw-continuous-editor .tw-original-data .tw-table-wrap{margin-top:10px}
.tw-continuous-editor .tw-drawer-footer{position:sticky;bottom:-16px;z-index:4;padding:12px 0;margin-top:14px;background:#fff}
@media(max-width:700px){.tw-continuous-editor .tw-drawer{width:100vw;height:100dvh;padding:12px}.tw-continuous-editor #twEditForm{display:block}.tw-continuous-editor .tw-editor-nav{position:static;display:flex;flex-direction:row;max-height:none;overflow:auto;margin-bottom:12px;border-width:0 0 1px}.tw-continuous-editor .tw-editor-nav>strong{display:none}.tw-continuous-editor .tw-editor-nav .tw-btn{white-space:nowrap;padding:10px}.tw-continuous-editor .tw-report-body>section:first-child .tw-editor-grid{grid-template-columns:1fr 1fr;gap:10px}.tw-continuous-editor .tw-report-body>section:first-child label:first-child{grid-column:1/-1}.tw-continuous-editor .tw-table-wrap{max-height:none}.tw-continuous-editor .tw-field-section>h3{font-size:17px}.tw-continuous-editor .tw-drawer-footer{bottom:-12px}}
.tw-continuous-editor .tw-official-table{width:100%;min-width:820px;border-collapse:collapse;table-layout:fixed;margin-bottom:18px}
.tw-continuous-editor .tw-official-table th,.tw-continuous-editor .tw-official-table td{border:1px solid #dce2e9;padding:7px 8px;white-space:normal;line-height:1.55;vertical-align:middle}
.tw-continuous-editor .tw-official-table th{background:#f6f8fb;color:#33465b;font-weight:500;text-align:center}
.tw-continuous-editor .tw-official-table input,.tw-continuous-editor .tw-official-table select{width:100%;min-width:0;max-width:none;height:34px;padding:5px 7px;border:1px solid #9bbaf1;border-radius:3px;background:white;color:#172b43}
.tw-continuous-editor input[inputmode=decimal],.tw-continuous-editor output{font-variant-numeric:tabular-nums;text-align:right}
.tw-continuous-editor input[readonly]{border-color:transparent!important;background:#f8fafc!important;color:#32465b;box-shadow:none}
.tw-continuous-editor .tw-cit-return>tbody>tr>th:first-child{width:65px}.tw-continuous-editor .tw-cit-return>tbody>tr>th:nth-child(2){width:64%;text-align:left}
.tw-continuous-editor .tw-quarter-return{min-width:1040px}.tw-continuous-editor .tw-quarter-return th:first-child{width:130px}
.tw-continuous-editor .tw-surcharge-return{min-width:1500px}.tw-continuous-editor .tw-surcharge-return th:first-child{width:150px}
.tw-continuous-editor .tw-report-subtitle,.tw-continuous-editor .tw-official-section>h3{text-align:center}
.tw-continuous-editor .tw-field-section>h3{padding:20px 12px;background:#f4f7fc;text-align:center}
.tw-continuous-editor .tw-report-identity{padding:12px;background:#f8fafc;color:#425870;font-size:13px}
.tw-continuous-editor .tw-formula{display:block;color:#748396;font-size:11px;font-weight:400}
.tw-continuous-editor .tw-legacy-section{padding:12px 0;border-top:1px solid #e3e9f0}.tw-continuous-editor .tw-legacy-section>summary{cursor:pointer;color:#64758a;font-size:13px}
.tw-continuous-editor .tw-financial-total output{display:block;min-width:90px;font-weight:600}
.tw-continuous-editor [data-extra-rows] input{min-width:120px}.tw-continuous-editor [data-extra-rows] select{min-width:160px}
.tw-continuous-editor .tw-inline-schedule>section{padding:4px 6px;margin:0}.tw-continuous-editor .tw-inline-schedule .tw-card-title{margin-bottom:5px}.tw-continuous-editor .tw-inline-schedule .tw-sub{display:none}.tw-continuous-editor .tw-inline-schedule .tw-btn{min-height:26px;padding:4px 8px;font-size:11px}.tw-continuous-editor .tw-inline-schedule table{margin:0;table-layout:auto;min-width:650px}.tw-continuous-editor .tw-inline-schedule th:first-child{width:55px;white-space:nowrap}.tw-continuous-editor .tw-live-total{font-size:13px;color:#475970}.tw-continuous-editor .tw-live-total output{color:#d05935;font-size:18px;font-weight:bold}
.tw-continuous-editor .tw-surcharge-return th[scope=row]{position:sticky;left:0;z-index:2;background:#f6f8fb;box-shadow:2px 0 3px #dce2e9}
@media print{.tw-print-sheet .tw-table-wrap{overflow:visible}.tw-print-sheet .tw-card{padding:0;border:0}.tw-print-sheet small{display:block}.tw-print-sheet summary{font-size:11px}.tw-print-sheet h3{page-break-after:avoid}.tw-print-sheet tr{page-break-inside:avoid}.tw-print-sheet table{table-layout:auto!important;min-width:0!important}.tw-print-sheet .tw-section-row{background:#eef1f5}}
.tw-vat-bureau{inset:0;border:0;background:#f6f7fa;backdrop-filter:none;align-items:stretch;justify-content:stretch;font-family:Arial,"Microsoft YaHei",sans-serif}
.tw-vat-bureau .tw-drawer{width:100vw;height:100dvh;max-width:none;padding:0;border-radius:0;background:#f6f7fa;box-shadow:none;overflow:hidden;display:flex;flex-direction:column;color:#333}
.tw-vat-bureau .tw-drawer>.tw-card-title,.tw-vat-bureau .tw-drawer>.tw-notice,.tw-vat-bureau .tw-drawer>p{display:none}
.tw-vat-bureau .vb-breadcrumb{height:65px;min-height:65px;display:flex;align-items:center;gap:12px;background:#fff;padding:0 23px;font-size:16px;color:#34383d}
.tw-vat-bureau .vb-breadcrumb button{border:0;background:none;color:#92979d;font-size:21px;padding:0 16px 0 0}.tw-vat-bureau .vb-home{color:#4386ff}
.tw-vat-bureau #twEditForm{display:grid;grid-template-columns:clamp(200px,12vw,300px) minmax(0,1fr);grid-template-rows:78px minmax(0,1fr) 65px;gap:0 20px;flex:1;min-height:0;margin:19px 18px 0;background:white;position:relative}
.tw-vat-bureau .tw-editor-nav{grid-column:1;grid-row:1/3;position:static;max-height:none;border:0;display:block;background:#fff;overflow:auto}
.tw-vat-bureau .tw-editor-nav>strong{height:78px;display:flex;justify-content:space-between;align-items:center;font-size:23px;padding:20px 28px;background:#4082f5;color:#fff;white-space:nowrap}
.tw-vat-bureau .vb-collapse{border:0;background:none;color:#fff;font-size:20px;cursor:pointer}
.tw-vat-bureau .vb-nav-group{padding:46px 20px 18px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tw-vat-bureau .vb-nav-group span{float:right}
.tw-vat-bureau .vb-report-link{display:block;width:100%;border:0;border-left:3px solid transparent;border-radius:2px;background:#fff;text-align:left;padding:13px 18px 13px 28px;color:#42484e;font-size:16px;min-height:72px;overflow:hidden}
.tw-vat-bureau .vb-report-link>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-vat-bureau .vb-report-link small{display:block;color:#999;font-size:13px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tw-vat-bureau .vb-report-link em{font-style:normal;color:#f6535a;margin-left:-12px;margin-right:5px}
.tw-vat-bureau .vb-report-link.active{border-left-color:#4388ff;background:#f0f8fd;color:#4388ff;box-shadow:none}
.tw-vat-bureau .vb-toolbar{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:23px;padding-right:22px;background:white}
.tw-vat-bureau .vb-toolbar .tw-btn{border:1px solid #82aaff;border-radius:3px;color:#568dff;min-height:39px;padding:6px 21px;font-size:16px;background:white}
.tw-vat-bureau .tw-report-body{grid-column:2;grid-row:2;overflow:auto;min-height:0;min-width:0;padding:12px 18px 20px 0;scrollbar-color:#c6c6c6 #f5f5f5;scrollbar-width:thin}
.tw-vat-bureau .vb-page{padding:0!important;margin:0!important;border:0!important;background:white!important}.tw-vat-bureau .vb-page[hidden],.tw-vat-bureau .vb-settings[hidden]{display:none!important}
.tw-vat-bureau .vb-report-header{padding:21px 30px 15px;background:#f8f9fc;margin:0 0 18px}.tw-vat-bureau .vb-report-header h2{font-size:24px;text-align:center;margin:0 0 17px;color:#15191d;font-weight:bold}.tw-vat-bureau .vb-report-header h2>span{float:right;color:#4386ff;font-size:22px;font-weight:400}.tw-vat-bureau .vb-report-header h4{text-align:center;margin:0 0 24px;font-size:15px}.tw-vat-bureau .vb-report-header>div{display:flex;justify-content:space-between;gap:15px;font-size:15px}.tw-vat-bureau .vb-report-header p{font-size:15px;margin:22px 0 4px}
.tw-vat-bureau .vb-main-block>h3{font-size:23px;font-weight:bold;color:#161a1f;padding:18px 0;margin:0;text-align:left;background:#fff}.tw-vat-bureau .vb-main-block>h3 span{font-weight:400;font-size:20px;margin-right:10px;color:#555}
.tw-vat-bureau table{border-collapse:collapse;font-size:16px;border-color:#e1e1e1;color:#333;margin:0}
.tw-vat-bureau table th,.tw-vat-bureau table td{border:1px solid #e2e2e2!important;color:#333;font-size:16px;line-height:1.5;padding:4px 5px;height:49px;vertical-align:middle;background:#fff;font-weight:400}
.tw-vat-bureau table th{background:#f9f9f9;font-weight:600;text-align:center;padding:10px 14px}.tw-vat-bureau .tw-vat-return th[scope=row]{font-weight:400;text-align:left;padding:10px 18px}.tw-vat-bureau .tw-vat-return .tw-vat-line{font-size:16px;background:#f9f9f9}
.tw-vat-bureau table input,.tw-vat-bureau table select{font-size:16px;min-height:38px;height:38px;border:1px solid #a8c5ff;border-radius:3px;padding:5px 11px;color:#303030;background:white;box-shadow:none;width:100%;min-width:0}
.tw-vat-bureau table input::placeholder{color:#777;opacity:1}.tw-vat-bureau table input[readonly]{background:transparent!important;border-color:transparent!important;color:#333}.tw-vat-bureau table output{font-size:16px;font-weight:400;display:block;text-align:right;padding:6px 14px;min-width:0}
.tw-vat-bureau .tw-vat-return{min-width:980px;table-layout:fixed}.tw-vat-bureau .tw-vat-return input{padding-right:14px}.tw-vat-bureau .tw-official-table{min-width:800px;width:100%;table-layout:fixed;margin:0}.tw-vat-bureau .tw-official-table .tw-section-row th{background:#f9f9f9;padding:12px}
.tw-vat-bureau .tw-surcharge-return{min-width:1750px}.tw-vat-bureau .tw-surcharge-return th[scope=row]{position:static;box-shadow:none;font-weight:400;text-align:left;background:white}.tw-vat-bureau .tw-surcharge-return td{text-align:right}.tw-vat-bureau .tw-surcharge-return>tbody>tr:nth-child(2)>th{height:75px}.tw-vat-bureau .tw-surcharge-return>tbody>tr:nth-child(3)>th{height:65px}
.tw-vat-bureau .vb-relief-section{margin:0;padding:0}.tw-vat-bureau .vb-relief-section>.tw-card-title,.tw-vat-bureau .vb-relief-section>p{display:none}.tw-vat-bureau .vb-relief-table{min-width:1080px;width:100%;table-layout:fixed}.tw-vat-bureau .vb-relief-table td{text-align:right}.tw-vat-bureau .vb-relief-table td:first-child,.tw-vat-bureau .vb-relief-table td:nth-child(2),.tw-vat-bureau .vb-relief-table td[colspan]{text-align:center}.tw-vat-bureau .vb-relief-table tr:nth-child(2)>th{height:74px}
.tw-vat-bureau .vb-circle{border:0;background:transparent;color:#548cff;font-size:22px;line-height:1;padding:4px;min-width:28px;cursor:pointer}
.tw-vat-bureau .tw-drawer-footer{grid-column:1/-1;grid-row:3;position:static;margin:0 -18px;padding:12px 52px 12px 38px;border-top:5px solid #f2f3f7;background:white;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 -5px 9px #eceef3;z-index:4}
.tw-vat-bureau .tw-live-total{font-size:20px;color:#858585;white-space:nowrap}.tw-vat-bureau .tw-live-total output{font-size:27px;color:#ff555d;font-weight:400}.tw-vat-bureau .tw-draft-watermark{font-size:11px;color:#999;margin-left:auto}.tw-vat-bureau .tw-drawer-footer .primary{border-radius:3px;border-color:#4082f5;background:#4082f5;padding:9px 20px;color:#fff;font-size:16px}.tw-vat-bureau .tw-drawer-footer .tw-actions{flex-wrap:nowrap}
.tw-vat-bureau .vb-settings{padding:18px;background:#fff}.tw-vat-bureau .vb-settings>h3{margin-top:20px}.tw-vat-bureau .vb-settings table{margin:20px 0}.tw-vat-bureau .vb-settings .tw-card{margin:15px 0}.tw-vat-bureau .tw-errors:not([hidden]){position:absolute;top:64px;left:25%;right:25px;z-index:10;max-height:200px;overflow:auto;background:#fff2ef;border:1px solid #eaa;padding:15px}
.tw-vat-bureau.vb-nav-compact #twEditForm{grid-template-columns:70px minmax(0,1fr)}.tw-vat-bureau.vb-nav-compact .tw-editor-nav>strong{font-size:0;padding:15px}.tw-vat-bureau.vb-nav-compact .vb-nav-group,.tw-vat-bureau.vb-nav-compact .vb-report-link{display:none}
@media(max-width:800px){.tw-vat-bureau #twEditForm{grid-template-columns:165px minmax(0,1fr);gap:0 12px;margin:8px 8px 0;grid-template-rows:60px minmax(0,1fr) 65px}.tw-vat-bureau .tw-editor-nav>strong{font-size:18px;padding:15px;height:60px}.tw-vat-bureau .vb-report-link{font-size:14px;padding-left:20px}.tw-vat-bureau .vb-nav-group{padding:24px 10px 14px;font-size:12px}.tw-vat-bureau .vb-toolbar{gap:8px;padding-right:8px}.tw-vat-bureau .vb-toolbar .tw-btn{font-size:12px;padding:5px 9px}.tw-vat-bureau .vb-breadcrumb{font-size:12px;padding:0 12px;gap:7px}.tw-vat-bureau .vb-breadcrumb button{font-size:16px}.tw-vat-bureau .tw-draft-watermark{display:none}.tw-vat-bureau .tw-drawer-footer{margin:0 -8px;padding:10px 16px}.tw-vat-bureau .tw-live-total{font-size:14px}.tw-vat-bureau .tw-live-total output{font-size:18px}.tw-vat-bureau .vb-report-header{padding:16px}.tw-vat-bureau .vb-report-header h2{font-size:18px}.tw-vat-bureau .vb-report-header>div{font-size:12px}.tw-vat-bureau .vb-report-header p{font-size:12px}}
.tw-vat-bureau #twEditForm{align-items:stretch;overflow:hidden}
.tw-vat-bureau .tw-report-body{height:100%;align-self:stretch;overscroll-behavior:contain}
.tw-vat-bureau .vb-report-link em{margin-left:0}
.tw-vat-bureau .tw-surcharge-return th:first-child{width:auto}
.tw-vat-bureau .tw-official-table th{color:#333;background:#f9f9f9;font-weight:600}
.tw-vat-bureau .tw-official-table td{color:#333}
.tw-vat-bureau .vb-main-block input[data-field$="_c2"],.tw-vat-bureau .vb-main-block input[data-field$="_c3"],.tw-vat-bureau .vb-main-block input[data-field^="vat_r16_"],.tw-vat-bureau .vb-main-block input[data-field^="vat_r17_"],.tw-vat-bureau .vb-main-block input[data-field^="vat_r21_"],.tw-vat-bureau .vb-relief-table input[inputmode=decimal],.tw-vat-bureau .tw-surcharge-return input:not([data-field$="_6"]):not([data-field$="_5"]),.tw-vat-bureau input[data-field="vd_9"]{border-color:transparent;background:transparent}
.tw-vat-bureau input[data-field="vd_4"][readonly],.tw-vat-bureau input[data-field="vd_6"][readonly],.tw-vat-bureau input[data-field="vd_7"][readonly],.tw-vat-bureau input[data-field="vd_8"][readonly]{border:1px solid #a8c5ff!important;background:white!important}
.tw-vat-bureau input:focus{outline:1px solid #4386ff!important;outline-offset:0!important;background:#fff!important}
.tw-vat-bureau .vb-breadcrumb .vb-settings-button{margin-left:auto;color:#6687b4;border:0;background:none;font-size:13px;padding:8px}
.tw-vat-bureau .vb-toolbar button[data-unavailable],.tw-vat-bureau .tw-drawer-footer button[data-unavailable]{opacity:.7;cursor:not-allowed}
/* Complete general-taxpayer matrices; horizontal scrolling belongs to each report. */
.tw-general-bureau .vg-scroll{max-width:100%;overflow:auto;border:0;border-radius:0;scrollbar-color:#c8c8c8 #f8f8f8;scrollbar-width:auto}
.tw-general-bureau .vg-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border-top:1px solid #e5e5e5;border-left:1px solid #e5e5e5;font-size:16px;color:#333}
.tw-general-bureau .vg-table th,.tw-general-bureau .vg-table td{height:49px;border:0;border-bottom:1px solid #e5e5e5;border-right:1px solid #e5e5e5;padding:5px 6px;vertical-align:middle;white-space:normal;line-height:1.5}
.tw-general-bureau .vg-table th{background:#f9f9f9;text-align:center;font-weight:600;color:#333}
.tw-general-bureau .vg-table tbody th[scope=row],.tw-general-bureau .vg-main tbody th:first-child,.tw-general-bureau .vg-input tbody th[scope=row]{font-weight:400;text-align:left;padding-left:18px}
.tw-general-bureau .vg-table td{text-align:right;background:white}
.tw-general-bureau .vg-table .vg-line{text-align:center;background:#fafafa;padding:6px;font-size:15px}
.tw-general-bureau .vg-table .vg-na{text-align:center;background:#fff}
.tw-general-bureau .vg-table input,.tw-general-bureau .vg-table select{font-family:inherit;font-size:16px;height:38px;min-height:38px;width:100%;min-width:0;border:1px solid #a8c4ff;border-radius:3px;background:#fff;text-align:right;color:#333;padding:5px 10px;box-shadow:none}
.tw-general-bureau .vg-table input[readonly]{border-color:transparent;background:transparent;pointer-events:auto;cursor:default}
.tw-general-bureau .vg-table input:focus{outline:2px solid #aac9ff;outline-offset:-1px;background:#f8fbff}
.tw-general-bureau .vg-table input::placeholder{color:#757b82;opacity:.7}
.tw-general-bureau .vg-table input:not([inputmode=decimal]),.tw-general-bureau .vg-table select{text-align:left}
.tw-general-bureau .vg-main,.tw-general-bureau .vg-input{min-width:1050px}
.tw-general-bureau .vg-sales{width:2928px;min-width:2928px}
.tw-general-bureau .vg-sales th.vg-pin{position:sticky;z-index:2;background:#f9f9f9;font-weight:400;text-align:left;padding:8px 14px}
.tw-general-bureau .vg-sales .vg-p0{left:0}.tw-general-bureau .vg-sales .vg-p1{left:74px}.tw-general-bureau .vg-sales .vg-p2{left:164px}.tw-general-bureau .vg-sales .vg-p3{left:484px;text-align:center;border-right:1px solid #d0d7e2}
.tw-general-bureau .vg-pin-head{position:sticky;left:0;z-index:4;background:#f9f9f9}
.tw-general-bureau .vg-difference{min-width:1850px}.tw-general-bureau .vg-difference th:first-child{width:350px}.tw-general-bureau .vg-difference th:nth-child(2){width:70px}
.tw-general-bureau .vg-offset{min-width:1860px}.tw-general-bureau .vg-offset th:first-child{width:80px}.tw-general-bureau .vg-offset th:nth-child(2){width:350px}
.tw-general-bureau .vg-surcharge{width:2880px;min-width:2880px}
.tw-general-bureau .vg-note{text-align:left!important;padding:14px 18px!important;font-size:14px}
.tw-general-bureau .vg-original-fields{padding:20px}.tw-general-bureau .vg-original-fields label{font-size:14px}.tw-general-bureau .vg-original-fields details{margin-top:24px}
.tw-general-bureau .vb-relief-table{min-width:1450px}.tw-general-bureau .vb-relief-section input{text-align:right}.tw-general-bureau .vb-relief-section input[data-key=code]{text-align:left}
.tw-general-bureau .vg-main-block input[data-field^=vg_m_34_]{color:#ff9600}
.tw-general-bureau .vb-page>.tw-report-identity{display:none}
.tw-general-bureau .vg-sales-scroll{max-height:calc(100dvh - 438px);min-height:260px}
.tw-general-bureau .vg-sales thead th{position:sticky;top:0;z-index:3;background:#f9f9f9;height:49px}
.tw-general-bureau .vg-sales thead tr:nth-child(2) th{top:49px}.tw-general-bureau .vg-sales thead tr:nth-child(3) th{top:98px;height:58px}
.tw-general-bureau .vg-sales thead .vg-pin-head{z-index:5;left:0}
/* Tax-source collection and the annual disability-fund return. */
.tw.sf-overlay{padding:0;background:#f5f7fa;z-index:1100;border:0;border-radius:0}
.tw.sf-overlay .tw-drawer{width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0;padding:0;overflow:hidden;box-shadow:none}
.sf-root{height:100%;display:flex;flex-direction:column;color:#374151;font-size:16px}
.sf-breadcrumb{height:66px;flex-shrink:0;display:flex;gap:12px;align-items:center;padding:0 24px;background:#fff;border-bottom:1px solid #f1f3f6}
.sf-breadcrumb span:first-of-type{color:#4285f4}.sf-breadcrumb i{color:#acb3bd;font-style:normal}.sf-breadcrumb .tw-btn{font-size:18px;border:none;padding-left:0}
.sf-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:14px 30px;background:#fff;margin:18px 18px 0;flex-shrink:0;max-height:30vh;overflow:auto}
.sf-toolbar{display:flex;gap:18px;flex-shrink:0;padding-top:4px}.sf-toolbar .tw-btn{color:#4285f4;border-color:#a5c1ff;border-radius:3px;font-weight:400}
.sf-settings{font-size:13px;padding:8px 0}.sf-settings summary{cursor:pointer;color:#64748b;line-height:24px}.sf-settings[open] summary{margin-bottom:12px}.sf-settings .tw-editor-grid{gap:16px;grid-template-columns:repeat(3,minmax(170px,1fr));margin-bottom:10px}
.sf-settings input,.sf-settings select{min-height:34px}.sf-form{display:flex;flex-direction:column;flex:1;min-height:0}.sf-content{flex:1;min-height:0;overflow:auto;margin:0 18px 16px;background:#fff;padding:18px 30px 50px}
.sf-report-heading{background:#f8fafc;padding:24px 28px;margin-bottom:22px;text-align:center}.sf-report-heading h2{font-size:26px;color:#202831;line-height:1.4;margin:0;font-weight:700}.sf-report-heading>div{display:flex;justify-content:space-between;margin-top:24px;color:#626e7e;font-size:14px;text-align:left}
.sf-actions{display:flex;align-items:center;justify-content:space-between;margin:20px 0}.sf-actions>span{color:#818995}.tw.sf-overlay .tw-btn.primary{background:#4285f4;border:1px solid #4285f4;color:#fff;border-radius:3px;font-weight:400}.tw.sf-overlay .tw-btn{min-height:36px}
.sf-table-scroll{overflow:auto;max-width:100%;scrollbar-color:#bdc1c7 #f6f6f6;scrollbar-width:auto}.sf-table{border-collapse:collapse;width:100%;font-size:14px;table-layout:fixed}.sf-table th,.sf-table td{border:1px solid #e3e5e9;padding:12px 10px;height:48px;vertical-align:middle}.sf-table th{background:#f8f9fb;text-align:center;font-weight:600;line-height:1.55;color:#253040}.sf-table td{text-align:right}.sf-table td:first-child{text-align:center}.sf-table .sf-empty{text-align:center;color:#aab0b8;background:#fafafa;height:50px}
.sf-source-list{min-width:1610px}.sf-source-list th:first-child{width:60px}.sf-source-list th:nth-child(2){width:140px}.sf-source-list th:nth-child(3){width:180px}.sf-source-list th:nth-child(4){width:120px}.sf-source-list th:nth-child(5),.sf-source-list th:nth-child(6){width:120px}.sf-source-list td:nth-child(2),.sf-source-list td:nth-child(3),.sf-source-list td:nth-child(4){text-align:left}.sf-source-list td:last-child{white-space:nowrap;text-align:center}.sf-link{background:transparent;border:0;color:#4285f4;cursor:pointer;padding:3px 6px;font:inherit}.sf-delete{color:#8a95a6;font-size:12px}
.sf-pagination{display:flex;justify-content:space-between;align-items:center;color:#8a929e;padding:18px 8px}.sf-pagination>div{display:flex;align-items:center;gap:12px}.sf-pagination select{width:115px}.sf-pagination strong{background:#4285f4;color:#fff;padding:9px 14px;border-radius:3px;font-weight:400}
.sf-pairs,.sf-identity{width:100%;border-collapse:collapse;table-layout:fixed}.sf-pairs th,.sf-pairs td,.sf-identity th,.sf-identity td{border:1px solid #e6e8eb;height:48px;padding:5px 7px;text-align:left;font-weight:400}.sf-pairs th{width:20%;background:#f7f8fa;padding:8px 18px}.sf-pairs td{width:30%}.sf-pairs th em{font-style:normal;color:#ef4444}.sf-pairs input,.sf-pairs select,.sf-table input{height:36px;min-height:36px;padding:6px 10px;border:1px solid #d9dde3;border-radius:3px;background:#fff;font-size:14px;width:100%;font-family:inherit;color:#374151}.sf-pairs textarea{width:100%;min-height:45px}.sf-pairs [readonly],.sf-table [readonly]{background:#f1f2f4;border-color:#e2e4e7}.sf-pairs [inputmode=decimal],.sf-table [inputmode=decimal],.sf-table [readonly]{text-align:right}
.sf-subtabs{display:flex;gap:0;margin:8px 0 0;border-bottom:1px solid #e9edf2}.sf-subtabs button{border:0;background:none;padding:16px 20px;font:inherit;color:#8a939e;cursor:pointer;border-bottom:2px solid transparent}.sf-subtabs button.active{color:#4285f4;border-bottom-color:#4285f4}.sf-hint{font-size:13px;color:#6b7280;line-height:1.7;margin:14px 0 0}.sf-relief-settings{margin-top:12px}
.sf-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;background:#fff;border-top:1px solid #e8ebf1;box-shadow:0 -4px 8px #64748b0a;min-height:72px;padding:12px 36px;font-size:17px}.sf-footer strong{font-size:27px;color:#fa5555;font-weight:500}.sf-footer small{font-size:12px;color:#939aa5;margin-left:15px}.sf-footer>div{display:flex;gap:10px;align-items:center}.sf-footer button:disabled{opacity:.55;cursor:not-allowed}.sf-errors{white-space:pre-wrap;color:#b42318;background:#fff1f0;padding:12px 30px;border:1px solid #ffd1ce;max-height:120px;overflow:auto;flex-shrink:0}.sf-errors[hidden]{display:none}
.sf-identity{margin-bottom:20px}.sf-identity th{background:#fafafa;width:28%;padding:10px 18px}.sf-identity th:nth-child(3){width:15%}.sf-identity td{padding:10px 18px}.sf-fund-table{min-width:2380px}.sf-fund-table th:first-child{width:65px}.sf-fund-table th{width:190px}.sf-fund-table th:nth-child(6){width:280px}.sf-fund-table th:nth-child(9){width:260px}.sf-fund-table input{border-color:#b4caff}.sf-fund-table input[readonly]{background:#fff;border-color:transparent}.sf-declaration{border:1px solid #e3e5e9;border-top:0;padding:18px 20px;font-size:14px;line-height:1.8}.sf-declaration>div{text-align:right;margin-top:8px}.sf-fund-settings{margin-top:20px}
@media(max-width:1000px){.sf-topbar{padding:10px 16px}.sf-content{padding:16px}.sf-pairs{min-width:850px}.sf-content>.sf-pairs{width:100%}.sf-breadcrumb{font-size:12px}.sf-report-heading h2{font-size:22px}.sf-toolbar{gap:6px}.sf-footer{padding:10px 20px}.sf-footer small{display:none}}
.tw.sf-overlay table{font-size:16px}.tw.sf-overlay th{white-space:normal;color:#374151}.tw.sf-overlay .sf-table th{font-weight:600}.tw.sf-overlay table tr:last-child td{border-bottom:1px solid #e3e5e9}.tw.sf-overlay .sf-pairs th{font-weight:400}.tw.sf-overlay .sf-table td{padding:8px 6px}.tw.sf-overlay .sf-table input,.tw.sf-overlay .sf-pairs input,.tw.sf-overlay .sf-pairs select{font-size:16px}.tw.sf-overlay .sf-report-heading h2{font-size:26px}.tw.sf-overlay .tw-btn{font-size:14px}.sf-table-scroll::-webkit-scrollbar{height:12px;width:12px}.sf-table-scroll::-webkit-scrollbar-track{background:#f6f6f6}.sf-table-scroll::-webkit-scrollbar-thumb{background:#c9cdd2;border-radius:8px;border:2px solid #f6f6f6}
.tw.sf-overlay table th{font-size:16px}.tw.sf-overlay #sfDetails th:first-child{width:80px}.tw.sf-overlay #sfDetails th:last-child{width:100px}.tw.sf-overlay #sfDetails td:last-child{text-align:center}.tw.sf-overlay [data-sf-key=sl1]{text-align:right}
/* Tax operations desk: navigation and lists. Existing tax-sheet styles stay scoped separately. */
.tw.tw-desk{--ink:#3c4353;--muted:#838a98;--line:#e6e8ed;--green:#f5793b;--orange:#f5793b;grid-template-columns:204px minmax(0,1fr);grid-template-rows:52px 1fr;grid-template-areas:'bar bar' 'nav content';min-height:100vh;border:0;border-radius:0;background:#f2f3f5;overflow:visible;color:var(--ink)}
.tw-desk-bar{grid-area:bar;display:flex;align-items:center;background:#353e52;color:#fff;padding:0 22px;gap:34px;min-width:0}.tw-desk-bar button{background:none;border:0;color:#e3e6ec;height:52px;padding:0 18px;font-size:14px;white-space:nowrap}.tw-desk-bar .tw-desk-brand{padding:0;font-size:19px;letter-spacing:1px;font-weight:600}.tw-desk-brand span{font-size:12px;font-weight:400;letter-spacing:0;color:#bbc2d2;margin-left:8px}.tw-desk-bar nav{display:flex;gap:10px;height:100%;overflow:auto}.tw-desk-bar nav button.active{color:#ff9b68;border-bottom:4px solid #ff8a4b}.tw-desk-user{margin-left:auto;color:#e3e6ec;font-size:12px;white-space:nowrap}
.tw-desk>.tw-aside{grid-area:nav;background:#fff;border-right:1px solid #e0e3e8;padding:12px 0 0;gap:0;align-self:start;position:sticky;top:0;max-height:100vh;overflow-y:auto;min-height:calc(100vh - 52px)}.tw-desk .tw-nav{display:block}.tw-desk .tw-nav button{border-radius:0;color:#565d6b;width:100%;padding:14px 16px;font-size:13px;gap:10px;min-height:45px}.tw-desk .tw-nav button i{width:20px;color:#858b96}.tw-desk .tw-nav button:hover{background:#f8f9fb;color:#ee753c}.tw-desk .tw-nav button.active{background:#fff1e9;color:#e9743b;border-left:3px solid #fa8548;font-weight:500}.tw-desk .tw-nav-group-title span{margin-left:auto;color:#989eaa;font-size:12px}.tw-desk .tw-nav-children button{padding:12px 8px 12px 43px;font-size:12px;min-height:42px}.tw-desk .tw-nav-children button.active{padding-left:40px}.tw-aside-tools{margin-top:22px;padding:12px;border-top:1px solid #eceef2;display:grid;gap:5px}.tw-aside-tools button{background:none;border:0;text-align:left;padding:10px 7px;font-size:12px;color:#8a909c}
.tw-desk>.tw-main{grid-area:content;padding:0 18px 25px;min-width:0}.tw-desk-title{min-height:51px;display:flex;align-items:center;gap:15px}.tw-desk-title h1{font-size:16px;letter-spacing:0;margin:0;font-weight:600}.tw-desk-title>span{font-size:11px;color:#959ba6}.tw-desk-title .tw-connection{margin-left:auto;border:1px solid #efddc5;border-radius:3px;padding:4px 8px;background:#fffaf2;color:#a88756}.tw-desk-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);padding:12px;margin-bottom:14px}.tw-desk .tw-filters{margin:0;gap:9px;flex:1;min-width:0}.tw-desk .tw-filters label{font-size:10px;gap:4px;color:#8c939f}.tw-desk .tw-filters label select{width:135px;max-width:160px}.tw-desk .tw-filters .tw-search{min-width:140px;max-width:230px;flex:1}.tw-desk .tw-filters input[type=month]{width:143px}.tw-desk input,.tw-desk select,.tw-desk textarea{border-radius:3px;border-color:#dce0e7;color:#555c69;min-height:33px;padding:7px 9px;font-size:12px}.tw-desk input[type=checkbox]{min-height:14px;accent-color:#f48248}.tw-desk .tw-btn{border-radius:3px;border-color:#dce0e7;color:#646b78;min-height:33px;padding:7px 10px;font-size:12px}.tw-desk .tw-btn.primary{background:#fc8547;color:#fff;border-color:#fc8547}.tw-desk .tw-btn.link{color:#e9783f;border:0;background:none}.tw-desk .tw-actions{gap:7px}.tw-desk .tw-tag{font-size:11px;padding:3px 7px;border-radius:3px;background:#f2f3f6;color:#9096a1}.tw-desk .tw-tag.green{background:#eaf7ef;color:#429060}.tw-desk .tw-tag.orange{background:#fff0e6;color:#d68650}.tw-desk .tw-tag.red{background:#fff0f0;color:#ba6868}
.tw-more{position:relative}.tw-more summary{list-style:none;cursor:pointer}.tw-more>div{position:absolute;right:0;top:38px;padding:6px;box-shadow:0 4px 20px #27324326;background:#fff;z-index:8;border:1px solid #e2e5eb;min-width:160px;display:grid;gap:4px}.tw-more>div button{text-align:left;border:0!important}.tw-period-note{font-size:12px;padding:0 2px 12px;color:#565f70}.tw-period-note span{font-size:11px;margin-left:12px;color:#9299a4}.tw-desk-company{display:flex;align-items:center;gap:15px;font-size:12px;background:#fff;padding:10px 14px;margin-bottom:12px;border:1px solid var(--line)}.tw-desk-company span{color:#8a929d}
.tw-desk-list{background:#fff;border:1px solid #e2e5eb;margin-bottom:16px;box-shadow:0 1px 3px #1c264009}.tw-status-strip{display:flex;align-items:center;gap:7px;min-height:55px;padding:10px 14px;flex-wrap:wrap;border-bottom:1px solid #eceef2}.tw-status-strip button{border:0;background:none;padding:7px 11px;color:#656d7b;font-size:12px;white-space:nowrap;border-radius:3px}.tw-status-strip button span{margin-left:3px}.tw-status-strip button.active{color:#ef7a42;background:#fff0e8}.tw-status-help{margin-left:auto;color:#a1a7b2;font-size:11px}.tw-list-tools{display:flex;align-items:center;gap:15px;padding:10px 14px;min-height:45px;color:#9098a5;font-size:11px}.tw-list-tools label{display:flex;align-items:center;gap:8px;white-space:nowrap}.tw-list-tools select{width:185px}.tw-list-tools>button{margin-left:auto}.tw-desk .tw-client-grid{min-width:1070px;border-collapse:separate;border-spacing:0}.tw-desk .tw-client-grid th{background:#f0f1f3;color:#636b79;font-weight:400;white-space:nowrap;border-right:1px solid #e6e8ed;padding:14px 12px;font-size:12px}.tw-desk .tw-client-grid td{background:#fff;border-bottom:1px solid #edf0f3;padding:12px;min-width:85px;height:65px;font-size:12px;max-width:265px;color:#626b79}.tw-desk .tw-client-grid th:first-child,.tw-desk .tw-client-grid td:first-child{min-width:40px;width:40px;text-align:center}.tw-desk .tw-client-grid td.tw-sticky-client{min-width:215px;max-width:245px}.tw-desk .tw-name{color:#3f566f;font-weight:400;font-size:12px}.tw-desk .tw-client-grid small{color:#9ca2ad;font-size:10px;line-height:1.4;max-width:235px}.tw-desk .tw-client-grid tbody tr:hover td{background:#fffaf6}.tw-desk .tw-sticky-client{position:sticky;left:0;z-index:2;box-shadow:2px 0 3px #23314708}.tw-desk .tw-sticky-actions{position:sticky;right:0;z-index:2;box-shadow:-2px 0 3px #23314709;min-width:120px!important}.tw-number{text-align:right;font-variant-numeric:tabular-nums}.tw-unknown{color:#a1a7b1}.tw-desk .tw-pagination{padding:12px 15px;margin:0;border-top:1px solid #eceef2;color:#9399a4}.tw-grid-empty{text-align:center;min-height:285px;padding:60px 20px!important;color:#9098a4}.tw-grid-empty>span{display:block;font-size:52px;color:#cbd1db;margin-bottom:16px}.tw-grid-empty strong{display:block;font-size:13px;font-weight:400}.tw-grid-empty p{font-size:11px;color:#a1a7b0;margin-top:12px}
.tw-desk .tw-card{border-radius:3px;padding:16px;border-color:#e4e7ed;box-shadow:none}.tw-desk .tw-card h2{font-size:14px}.tw-desk .tw-card h3{font-size:13px}.tw-desk .tw-card-title{margin-bottom:13px}.tw-desk .tw-card .tw-sub{color:#9299a5;font-size:11px}.tw-directory-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.tw-desk .tw-form-directory{border-top:2px solid #f6c6ae}.tw-desk .tw-notice{font-size:12px;border-radius:2px;margin-bottom:13px;padding:10px 13px}.tw-desk .tw-notice.neutral{background:#f0f4f9;border-left-color:#9aaec9;color:#6d7d91}.tw-desk .tw-tabs{border-radius:2px;padding:6px}.tw-desk .tw-tabs button.active{color:#e47a43;background:#fff1e8}.tw-desk .tw-stats{margin:12px 0}.tw-desk .tw-stat{border-radius:3px;background:white!important}.tw-desk .tw-stat b{font-size:24px;color:#66768d!important}.tw-desk .tw-form-card{border-radius:3px}.tw-desk .tw-editor-grid label{font-size:12px}
@media(min-width:1600px){.tw-desk-toolbar{flex-wrap:nowrap}.tw-desk .tw-filters .tw-search{max-width:260px}}
@media(max-width:1050px){.tw.tw-desk{grid-template-columns:180px minmax(0,1fr)}.tw-desk>.tw-main{padding:0 12px 20px}.tw-desk-bar{gap:18px;padding:0 15px}.tw-desk-bar nav{gap:0}.tw-desk-bar button{padding:0 12px}.tw-desk .tw-nav button{font-size:12px}.tw-desk .tw-nav-children button{font-size:11px;padding-left:32px}.tw-desk .tw-nav-children button.active{padding-left:29px}.tw-status-help{width:100%;margin-left:10px}}
@media(max-width:700px){.tw.tw-desk{display:block;min-width:0}.tw-desk-bar{padding:0 12px;gap:10px;flex-wrap:wrap;height:auto;min-height:48px}.tw-desk-bar .tw-desk-brand{height:44px;font-size:16px}.tw-desk-brand span{font-size:10px}.tw-desk-user{font-size:10px;order:1}.tw-desk-bar nav{order:2;width:100%;height:38px}.tw-desk-bar nav button{height:38px;font-size:12px;padding:0 14px}.tw-desk>.tw-aside{position:static;min-height:0;max-height:none;padding:0;border-bottom:1px solid #e3e6ed;display:block}.tw-desk .tw-nav{display:flex;align-items:flex-start;gap:0;overflow-x:auto;max-height:195px}.tw-desk .tw-nav-group{min-width:175px;max-width:175px}.tw-desk .tw-nav>button{width:auto;min-width:125px;flex-shrink:0}.tw-desk .tw-nav button{min-height:39px;white-space:nowrap;padding:10px 12px;font-size:12px}.tw-desk .tw-nav-children{max-height:145px;overflow:auto}.tw-desk .tw-nav-children button{padding:9px 12px 9px 28px;font-size:11px;min-height:34px}.tw-desk .tw-nav-children button.active{padding-left:25px}.tw-aside-tools{display:flex;overflow:auto;padding:2px 10px;margin:0;gap:5px}.tw-aside-tools button{white-space:nowrap;font-size:10px;padding:8px 5px}.tw-desk>.tw-main{padding:0 9px 18px}.tw-desk-title{gap:8px;min-height:47px}.tw-desk-title h1{font-size:14px}.tw-desk-title>span:not(.tw-connection){display:none}.tw-desk-title .tw-connection{font-size:9px;padding:3px 5px}.tw-desk-toolbar{padding:9px;gap:10px;margin-bottom:10px}.tw-desk .tw-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.tw-desk .tw-filters label select,.tw-desk .tw-filters input[type=month]{width:100%;max-width:100%}.tw-desk .tw-filters .tw-search{min-width:0;max-width:none}.tw-desk-toolbar>.tw-actions{width:100%}.tw-desk .tw-btn{font-size:11px;padding:6px 8px}.tw-status-strip{gap:3px;padding:9px 6px}.tw-status-strip button{padding:6px;font-size:11px}.tw-status-help{margin-left:5px;font-size:10px}.tw-list-tools{flex-wrap:wrap;padding:9px;gap:8px}.tw-list-tools>span{font-size:10px}.tw-list-tools select{width:155px}.tw-desk .tw-client-grid{min-width:950px}.tw-desk .tw-sticky-actions{position:static}.tw-desk .tw-client-grid td.tw-sticky-client{min-width:170px;max-width:170px}.tw-desk .tw-pagination{padding:9px;gap:6px;flex-wrap:wrap}.tw-desk .tw-form-directory .tw-card-title{align-items:start;flex-direction:column;gap:6px}.tw-desk-company{flex-wrap:wrap;gap:7px}.tw-period-note{font-size:11px}.tw-period-note span{display:block;margin:4px 0 0}.tw-desk .tw-card{padding:12px}.tw-desk .tw-card-title{flex-wrap:wrap}}
.tw-desk-list>.tw-table-wrap{max-height:calc(100vh - 335px);min-height:350px;overflow:auto}.tw-desk .tw-client-grid thead th{position:sticky;top:0;z-index:3}.tw-desk .tw-client-grid thead .tw-sticky-client,.tw-desk .tw-client-grid thead .tw-sticky-actions{z-index:4}.tw-desk .tw-client-grid td{height:58px;padding-top:9px;padding-bottom:9px}
@media(max-width:700px){.tw-desk-list>.tw-table-wrap{max-height:65vh;min-height:340px}}

/* Shared sandbox controls inside the current desk; no separate legacy shell. */
.tw-desk-toolbar[hidden]{display:none}
.tw-integration{min-width:0}.tw-integration .api-declaration-settings{border:1px solid #e4e7ed;border-radius:3px;box-shadow:none;padding:20px;background:#fff;margin:0 0 14px}.tw-integration .api-declaration-settings h3{font-size:16px;margin:0 0 12px}.tw-integration .api-declaration-settings p{font-size:13px;color:#7b8493;line-height:1.8;margin:10px 0}.tw-integration .form-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.tw-integration .btn{border-radius:3px;box-shadow:none;font-size:13px}.tw-integration .btn.primary{background:#f5793b;border-color:#f5793b;color:white}.tw-integration .btn.subtle{background:white;border:1px solid #dce0e7;color:#566174}.tw-integration .btn:disabled{opacity:.45;cursor:not-allowed}.tw-integration .table-edit-btn{color:#e8793d;background:transparent}.tw-integration td{overflow-wrap:anywhere}.tw-integration td small{display:block;margin-top:5px}.tw-integration .tw-empty{min-height:90px;padding:30px}.tw-integration .tw-card-title{gap:10px}.tw-integration .tw-card{margin-bottom:14px}
@media(max-width:700px){.tw-integration .api-declaration-settings{padding:14px}.tw-integration table{min-width:660px}.tw-integration .form-actions .btn{font-size:12px;padding:9px 12px}}

/* Personnel entry: five required columns first, optional details on demand. */
.tw-people-editor #twEditForm{display:block!important}.tw-people-editor .tw-report-body{min-width:0;margin-left:0!important;width:100%}.tw-people-editor .tw-drawer>p.tw-sub{display:none}.tw-people-editor .tw-people-toolbar{display:flex;margin:0 0 12px}.tw-people-editor .tw-people-required{color:#c04836}.tw-people-editor #twLines table{width:100%;min-width:740px;table-layout:fixed}.tw-people-editor #twLines th:first-child{width:48px}.tw-people-editor #twLines th:last-child{width:66px}.tw-people-editor #twLines th:nth-child(4){width:24%}.tw-people-editor #twLines input,.tw-people-editor #twLines select{width:100%;min-width:0;box-sizing:border-box}.tw-people-editor .tw-people-extra-row>td{background:#f8fafc;padding:18px!important;white-space:normal}.tw-people-editor .tw-people-extra-title{font-weight:600;margin-bottom:14px;color:#52677b}.tw-people-editor .tw-people-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px}.tw-people-editor .tw-people-extra-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;white-space:normal}.tw-people-editor .tw-people-extra-grid input,.tw-people-editor .tw-people-extra-grid select{background:#fff}
@media(max-width:760px){.tw-people-editor .tw-people-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-people-editor .tw-card-title{flex-wrap:wrap;gap:10px}.tw-people-editor .tw-actions{flex-wrap:wrap}.tw-people-editor .tw-drawer{padding:14px}}

.tw-desk .tw-obligation-grid{min-width:850px;width:100%;table-layout:fixed}
.tw-desk .tw-obligation-grid th:first-child,.tw-desk .tw-obligation-grid td:first-child{width:25%;min-width:0;text-align:left}
.tw-desk .tw-obligation-grid th:nth-child(2){width:30%}
.tw-desk .tw-obligation-grid th:nth-child(3){width:19%}
.tw-desk .tw-obligation-grid th:nth-child(4){width:13%;text-align:right}
.tw-desk .tw-obligation-grid th:nth-child(5){width:13%}
.tw-desk .tw-obligation-grid td{vertical-align:top;overflow-wrap:anywhere;line-height:1.7;min-width:0;max-width:none}
.tw-desk .tw-obligation-grid small{display:block;max-width:none;color:#7a8492;margin-top:4px}
.tw-desk .tw-obligation-grid ul{margin:0;padding-left:16px}
.tw-desk .tw-obligation-grid li+li{margin-top:8px}
.tw-desk .tw-obligation-grid .tw-unpaid-amount{color:#bd5828;font-weight:600;font-size:15px}
.tw-obligation-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.tw-obligations .tw-list-tools{flex-wrap:wrap;gap:12px;color:#778292}
.tw-obligations .tw-list-tools strong{color:#44546a;white-space:nowrap}
.tw-obligations .tw-list-tools>button{margin-left:0}
.tw-obligation-note{font-size:12px;color:#778292;margin:0;padding:0 15px 15px}
.tw-desk-toolbar>.tw-actions[hidden]{display:none}
/* Monthly IIT list: readable identity and aligned reporting figures. */
.tw-iit-list .tw-list-tools{flex-wrap:wrap;gap:12px;padding:14px 16px;color:#727e8e;font-size:12px}
.tw-iit-list .tw-list-tools>strong{color:#44546a;font-size:13px}
.tw-iit-list .tw-list-tools>button{margin-left:0}
.tw-iit-note{padding:0 16px 13px;color:#727e8e;font-size:12px;line-height:1.7}
.tw-iit-note summary{cursor:pointer;width:fit-content}
.tw-iit-note p{margin:8px 0 0;max-width:1000px}
.tw-desk .tw-iit-grid{min-width:1200px}
.tw-desk .tw-iit-grid th,.tw-desk .tw-iit-grid td{text-align:center;font-variant-numeric:tabular-nums}
.tw-desk .tw-iit-grid th{font-size:13px;font-weight:500;padding:14px 12px;line-height:1.5}
.tw-desk .tw-iit-grid td{font-size:14px;height:96px;padding:14px 12px}
.tw-desk .tw-iit-grid .tw-sticky-client{width:28%;text-align:left}
.tw-desk .tw-iit-grid td.tw-sticky-client{min-width:280px;max-width:360px}
.tw-desk .tw-iit-grid .tw-name{font-size:15px;font-weight:600;color:#344c65;max-width:100%;overflow-wrap:anywhere;line-height:1.5}
.tw-desk .tw-iit-grid .tw-iit-person{margin-top:5px;font-size:13px;line-height:1.5;color:#44546a;overflow-wrap:anywhere}
.tw-iit-person>span{color:#778292;margin-right:6px;font-size:12px}
.tw-desk .tw-iit-grid .tw-iit-tax-id{font-size:11px;color:#7c8796;margin-top:4px;max-width:none;overflow-wrap:anywhere}
.tw-iit-head-note{display:block;font-size:11px;color:#7c8796;font-weight:400;margin-top:2px}
.tw-desk .tw-iit-grid .tw-tag{font-size:12px;padding:5px 9px}
.tw-desk .tw-iit-grid .tw-actions{justify-content:center}
.tw-desk .tw-iit-grid td:nth-last-child(2){white-space:nowrap;font-size:12px;color:#778292}
.tw-desk .tw-iit-grid .tw-btn.link{font-size:13px}
@media(max-width:700px){.tw-desk .tw-iit-grid .tw-sticky-client{width:220px}.tw-desk .tw-iit-grid td.tw-sticky-client{min-width:220px;max-width:220px}.tw-desk .tw-iit-grid thead .tw-sticky-actions{right:auto}.tw-iit-list .tw-iit-batch-actions{margin-left:0}.tw-iit-list .tw-list-tools{padding:12px}.tw-iit-note{padding-left:12px;padding-right:12px}}
.tw-iit-batch-actions{margin-left:auto}.tw-zero-dialog{width:min(1200px,96vw);max-height:88vh;padding:0;border:1px solid #e2e5eb;border-radius:6px;color:#626b79;overflow:auto;box-shadow:0 16px 60px #19382c40}.tw-zero-dialog::backdrop{background:#19382c85}.tw-zero-dialog .tw-zero-heading{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #eceef2}.tw-zero-dialog .tw-desk-list{border:0;margin-bottom:0;box-shadow:none}.tw-zero-dialog .tw-list-tools{flex-wrap:wrap}.tw-zero-dialog .tw-table-wrap{min-height:0}.tw-zero-dialog .tw-client-grid th:first-child,.tw-zero-dialog .tw-client-grid td:first-child{min-width:180px;width:auto;text-align:left}
.tw-people-editor .tw-tax-reasons{margin:0;padding:10px 12px;border:1px solid #cedae3;min-width:0;background:#fff}.tw-people-editor .tw-tax-reasons legend{padding:0 4px;color:#52675b;font-size:13px}.tw-people-editor .tw-tax-reason-options{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:8px}.tw-people-editor .tw-tax-reason-options label{display:flex;flex-direction:row;align-items:center;gap:7px;cursor:pointer}.tw-people-editor #twLines .tw-tax-reason-options input[type=checkbox]{width:16px;min-width:16px;min-height:16px;height:16px;padding:0;flex:0 0 16px}.tw-people-editor .tw-tax-reasons:disabled label{cursor:default}.tw-people-editor .tw-tax-reasons .tw-field-note{margin:6px 0 0}
/* 2026-11-02 精简顶部栏：标题 / 二级栏目、月份、搜索、负责人、刷新、更多 合并为一行 */
.tw-deskhead{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);padding:8px 10px 8px 14px;margin:14px 0 12px;min-height:52px}
.tw-deskhead[hidden],.tw-deskhead-actions[hidden]{display:none}
.tw-deskhead-title{display:flex;align-items:center;min-width:0;flex-shrink:0}
.tw-deskhead-title h1{font-size:15px;font-weight:600;margin:0;white-space:nowrap;color:#2f3744}
.tw-deskhead-tabs{display:inline-flex;gap:2px;padding:3px;background:#f2f4f7;border-radius:6px}
.tw.tw-desk .tw-deskhead-tabs button{border:0;background:none;color:#6b7380;padding:5px 12px;min-height:30px;border-radius:4px;font-size:13px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.tw.tw-desk .tw-deskhead-tabs button:hover{color:#3c4350}
.tw.tw-desk .tw-deskhead-tabs button.active{background:#fff;color:#e47a43;font-weight:600;box-shadow:0 1px 2px #1f293714,0 0 0 1px #f6dcc9}
.tw-deskhead-tabs b{font-weight:500;font-size:11px;line-height:17px;min-width:20px;padding:0 6px;border-radius:9px;background:#e6e9ee;color:#6b7380;text-align:center}
.tw-deskhead-tabs button.active b{background:#fff1e8;color:#e47a43}
.tw-deskhead-filters{display:flex;align-items:center;gap:8px;flex:1 1 420px;min-width:0}
.tw.tw-desk .tw-deskhead-field{display:inline-flex;flex-direction:row;align-items:stretch;gap:0;height:34px;border:1px solid #dce0e7;border-radius:4px;background:#fff;overflow:hidden;font-size:12px;color:#8c939f;flex-shrink:0;transition:border-color .15s,box-shadow .15s}
.tw.tw-desk .tw-deskhead-field:hover{border-color:#c9ced8}
.tw.tw-desk .tw-deskhead-field:focus-within{border-color:#fc8547;box-shadow:0 0 0 2px #fc854726}
.tw-deskhead-field>span{display:flex;align-items:center;padding:0 9px;background:#f7f8fa;border-right:1px solid #eceef2;white-space:nowrap}
.tw.tw-desk .tw-deskhead-field input,.tw.tw-desk .tw-deskhead-field select{border:0;border-radius:0;min-height:0;height:100%;padding:0 8px;background:transparent;color:#3c4350;font-size:12px;box-shadow:none;outline:none}
.tw.tw-desk .tw-deskhead-field input[type=month]{width:132px}
.tw.tw-desk .tw-deskhead-field select{width:auto;min-width:76px;max-width:140px;padding-right:4px;cursor:pointer}
.tw.tw-desk .tw-deskhead-search{flex:1 1 220px;min-width:170px;max-width:340px}
.tw-deskhead-search>span{background:none;border:0;padding:0 2px 0 10px;font-size:15px;color:#a3a9b3}
.tw.tw-desk .tw-deskhead-search input{width:100%;padding-left:4px}
.tw-deskhead-search input::placeholder{color:#a8aeb8}
.tw-deskhead-actions{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}
.tw-deskhead-actions .tw-btn{min-height:34px}
.tw-deskhead-actions .tw-more>div{top:40px;min-width:170px}
.tw-deskhead-actions .tw-more summary::-webkit-details-marker{display:none}
.tw-deskhead-actions .tw-more summary span{font-size:10px;color:#9aa1ab;margin-left:2px}
.tw-deskhead-actions .tw-more hr{border:0;border-top:1px solid #eef0f3;margin:3px 2px;width:auto}
.tw-deskhead-actions .tw-more>div .tw-btn{min-height:32px;padding:6px 10px;color:#4b5260}
.tw-deskhead-actions .tw-more>div .tw-btn:hover{background:#f6f7f9}
.tw-deskhead+.tw-desk-company{margin-top:-4px}
@media(max-width:1050px){.tw-deskhead{padding:8px 10px}.tw-deskhead-filters{flex-basis:100%;order:3}.tw-deskhead-actions{margin-left:auto}}
@media(max-width:700px){.tw-deskhead{gap:8px;margin:10px 0}.tw-deskhead-title{flex:1 1 auto}.tw-deskhead-tabs{width:100%}.tw.tw-desk .tw-deskhead-tabs button{flex:1;justify-content:center;padding:5px 6px;font-size:12px}.tw-deskhead-filters{flex-wrap:wrap}.tw.tw-desk .tw-deskhead-search{flex:1 1 100%;max-width:none;order:-1}.tw.tw-desk .tw-deskhead-field:not(.tw-deskhead-search){flex:1 1 0}.tw.tw-desk .tw-deskhead-field input[type=month],.tw.tw-desk .tw-deskhead-field select{width:100%;max-width:none}}
