.tdl{background:#fff;border:1px solid #e1e7ee;border-radius:8px;margin-bottom:22px;overflow:hidden}.tdl-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 26px 22px}.tdl h2{font-size:20px;margin:0 0 9px;color:#253b4c}.tdl-toolbar p{font-size:12px;color:#7c8b9b;margin:0}.tdl-error{padding:12px 26px;color:#a1582d;background:#fff7ec;font-size:13px;overflow-wrap:anywhere}.tdl-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e4e9ef;padding:0 26px}.tdl-tabs{display:flex;gap:24px;overflow:auto}.tdl-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:16px 0;color:#728093;white-space:nowrap;font-size:14px;cursor:pointer}.tdl-tabs button.active{border-bottom-color:#ff8143;color:#cf632e}.tdl-tabs b{font-weight:500;margin-left:8px;font-size:12px;border-radius:12px;padding:2px 7px;background:#f1f3f6}.tdl-tabs .active b{background:#fff0e7}.tdl-search{display:flex;gap:8px;align-items:center;padding:10px 0}.tdl-search input{max-width:230px;width:100%;min-width:100px}.tdl-table{border:0;margin:0}.tdl-table table{min-width:680px;width:100%;border-collapse:collapse;table-layout:fixed}.tdl-table th:nth-child(1){width:70px}.tdl-table th:nth-child(3){width:155px}.tdl-table th:nth-child(4){width:140px}.tdl-table th:nth-child(5){width:165px}.tc-workspace .tdl-table th,.tc-workspace .tdl-table td,.tdl-table th,.tdl-table td{padding:21px 24px;border-right:0;font-size:14px;white-space:normal}.tdl-table th{background:#f6f8fa;font-size:12px;color:#718195;font-weight:500}.tdl-table td{border-bottom:1px solid #edf0f4;color:#536479;line-height:1.7}.tdl-table td strong{color:#30475a;font-weight:500}.tdl-table td:first-child{color:#9aa6b2}.tdl-table .tw-btn.link{padding:4px 0;white-space:nowrap}.tdl-state{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border-radius:4px;white-space:nowrap;font-size:12px;background:#f0f3f6;color:#7a8794}.tdl-state:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.tdl-state.unfiled{background:#fff2e7;color:#c87531}.tdl-state.filed{background:#eaf6ee;color:#36845c}.tdl-done{color:#9aa6b2;font-size:13px}.tdl-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:18px 26px;font-size:12px;color:#8492a4}.tdl-footer>span:first-child{margin-right:auto}.tdl-footer a{color:#7c8b9b}.tdl-local{margin:20px 0}.tdl-local>summary{cursor:pointer;color:#7b8da4;font-size:13px;padding:15px 0}.tdl-local .tc-toolbar{margin-top:10px}@media(max-width:700px){.tdl-toolbar{padding:20px 16px;align-items:flex-start;flex-wrap:wrap}.tdl-controls{padding:0 16px;display:block}.tdl-tabs{gap:22px}.tdl-search input{max-width:none;flex:1}.tdl-table th:nth-child(2){width:270px}.tdl-table th,.tdl-table td,.tc-workspace .tdl-table th,.tc-workspace .tdl-table td{padding:17px 16px}.tdl-footer{padding:16px}.tc-workspace:has(.tdl) .tc-sidebar nav{max-height:155px}.tc-workspace:has(.tdl) .tc-side-footer{display:none}}
.tc-workspace .tdl-table th:first-child,.tdl-table th:first-child{white-space:nowrap;width:80px}
.tdl-unfiled-help{margin:0;padding:14px 26px;color:#63768b;font-size:13px;line-height:1.7;background:#f7f9fc}.tdl-detail{display:block;color:#7c8b9b;font-size:12px;margin-top:3px}.tdl-overdue{display:block;color:#ae642e;font-size:12px;margin-top:4px}.tdl-unfiled th:nth-child(3){width:190px}.tdl-unfiled th:nth-child(4){width:150px}.tdl-unfiled th:nth-child(5){width:145px}.tdl-unfiled td:nth-child(3){font-size:13px;white-space:nowrap}.tdl-controls{flex-wrap:wrap;column-gap:20px;row-gap:0}.tdl-tabs{max-width:100%}@media(max-width:700px){.tdl-unfiled-help{padding:12px 16px}.tdl-unfiled table{min-width:800px}.tdl-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.tdl-tabs button{padding:12px 0}}
.tbr{padding:24px;background:#fff;border:1px solid #e1e7ee;border-radius:8px;min-width:0}.tbr-intro strong{font-size:20px;color:#253b4c}.tbr-intro p{color:#63768b;line-height:1.7}.tbr-controls{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;padding:16px 0}.tbr-controls label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#63768b}.tbr-controls input{border:1px solid #cdd9e6;border-radius:5px;padding:10px;background:#fff;min-width:140px;max-width:100%;box-sizing:border-box}.tbr-help{font-size:12px;color:#718195;line-height:1.8}.tbr-section{margin:22px 0}.tbr-section h3{font-size:17px}.tbr-section small{font-size:12px;color:#718195;margin-left:8px;font-weight:400}.tbr-section table{width:100%;min-width:770px;border-collapse:collapse}.tbr-section td,.tbr-section th{padding:14px 12px!important;white-space:normal!important;line-height:1.65;overflow-wrap:anywhere}.tbr-section th{background:#f5f8fc;font-weight:500}.tbr-section td{border-bottom:1px solid #e8eef5}.tbr-section td:last-child .tw-btn{white-space:nowrap}.tfc-period-tools{padding:0 16px 12px;margin-bottom:20px;background:#f5f8fc;border:1px solid #e1e7ee;border-radius:6px}.tfc-period-tools .tf-help{margin:0}.tfc-period-tools input{padding:8px;border:1px solid #cdd9e6;border-radius:4px;background:#fff}.tfc-period-tools .tfc-row label{margin:14px 0}@media(max-width:700px){.tbr{padding:14px}.tbr-controls{gap:10px}.tbr-controls label{max-width:100%}.tfc-period-tools{padding:0 12px 10px}}
.tdl-change-actions{display:flex;gap:18px}.tfc-dialog{width:min(850px,calc(100vw - 28px));max-height:90vh;padding:0;border:1px solid #dce4ed;border-radius:12px;color:#30475a;background:#fff;box-shadow:0 18px 60px #152d4a35}.tfc-dialog::backdrop{background:#172c4c66}.tfc-dialog header,.tfc-dialog footer{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f5f8fc}.tfc-dialog header h2{font-size:20px;margin:0 0 8px}.tfc-dialog header p{font-size:13px;margin:0;overflow-wrap:anywhere}.tfc-body{padding:24px;overflow-wrap:anywhere}.tfc-body p{line-height:1.7}.tfc-body label{display:block;margin:16px 0;font-size:14px}.tfc-body select,.tfc-body textarea{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:10px;border:1px solid #cdd9e6;border-radius:5px;background:white}.tfc-body input[type=file]{display:block;margin:10px 0;max-width:100%}.tfc-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.tfc-row>span{font-size:12px;color:#718195}.tfc-warning{background:#fff6e7;border:1px solid #efd49d;border-radius:6px;padding:15px;color:#875b1b}.tfc-body .tfc-check{display:flex;align-items:flex-start;gap:9px;line-height:1.7}.tfc-check input{flex:none;margin-top:5px}.tfc-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#f5f8fc;border:1px solid #e1e7ee;padding:18px;border-radius:6px}.tfc-facts dt{font-size:12px;color:#718195;margin-bottom:5px}.tfc-facts dd{margin:0;line-height:1.6}.tfc-history{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #e1e7ee}.tfc-history p{font-size:12px}.tfc-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto}.tfc-dialog details{margin-top:20px}.tfc-dialog footer a{font-size:13px;color:#2d7bb4}.tfc-dialog .tw-btn{white-space:normal}@media(max-width:600px){.tfc-dialog header,.tfc-dialog footer,.tfc-body{padding:16px}.tfc-facts{grid-template-columns:1fr}.tfc-dialog footer,.tfc-history{flex-wrap:wrap}.tdl-footer{flex-wrap:wrap}}
.tfc-body input[type=file][hidden]{display:none}.tfc-body label:has(>input[type=file]){display:inline-block;padding:10px 14px;border:1px solid #cdd9e6;border-radius:5px;color:#287caf;cursor:pointer}
.tfc-dialog.tfc-editor{width:min(1500px,calc(100vw - 32px));max-width:none;max-height:95vh}.tfc-editor [data-tfc-editor]{min-width:0;margin:16px 0}.tfc-editor .tof-grid{max-height:52vh}.tfc-editor .tof label{margin:0}.tfc-editor .tof input[type=text]{box-sizing:border-box;max-width:100%}.tfc-editor .tof-layout{min-width:0}.tfc-editor .tof-sheet{min-width:0}.tfc-editor .tof-sheet-toolbar{flex-wrap:wrap}
.tfc-dialog.tfc-page,.tfc-dialog.tfc-page.tfc-editor{position:static;width:100%;max-width:none;max-height:none;box-sizing:border-box;margin:0;box-shadow:none;overflow:visible;border-radius:8px}.tfc-page .tof-grid{max-height:none;height:auto;overflow-x:auto;overflow-y:visible}.tfc-page .tof-grid table{width:100%;table-layout:fixed}.tfc-page .tof-grid td,.tfc-page .tof-grid th{min-width:0;max-width:none;overflow-wrap:anywhere}.tfc-page .tof-grid td input{min-width:0;width:100%}.tfc-page .tof-layout{align-items:flex-start}.tfc-page .tof-directory{position:sticky;top:0;flex-shrink:0}.tfc-page .tof{overflow:visible}.tc-main:has(.tfc-page)>.tc-page-heading{display:none}.tc-main:has(.tfc-page){padding:20px}.tfc-page .tfc-body{padding:20px}.tfc-page .tof{margin:12px 0}.tfc-page header h2{font-size:22px}.tfc-page .tof-sheet{width:0}.tfc-page .tfc-row>strong{flex:1}@media(max-width:700px){.tc-main:has(.tfc-page){padding:10px}.tfc-page .tfc-body{padding:12px}.tfc-page .tof-layout{flex-direction:column}.tfc-page .tof-directory{position:static;max-height:110px}.tfc-page .tof-sheet{width:100%}.tfc-page .tof-grid table{min-width:650px}.tfc-page header{flex-wrap:wrap}}

.tp-panel{border:1px solid #d7e2e9;border-radius:8px;margin:12px 0;padding:18px;background:#f7fafc}.tp-panel p{line-height:1.6}.tp-panel details{padding:10px 0}.tp-task{padding:10px 0;border-top:1px solid #d7e2e9}.tp-panel .tf-facts{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.tp-panel dd{overflow-wrap:anywhere}.tp-init{margin-top:12px}

.tf-property-desk .tf-panel{overflow:auto;display:block}.tf-property-desk .tf-editor-form{min-height:400px;display:block}.tf-property-desk .tof-layout{overflow:visible}.tf-property-desk .tof-grid{max-height:none;flex:none}.tf-property-desk .tf-editor-footer{position:sticky;bottom:0;z-index:4}.tf-property-desk #tfPropertyPanel{margin:0 22px}.tf-property-desk .tp-panel .tf-facts{display:block}.tf-property-desk .tp-panel .tf-facts>div{padding:8px;border-bottom:1px solid #e3eaf0}

.tf-property-desk .tp-panel>summary{cursor:pointer;font-weight:600;padding:6px 0}.tf-property-desk .tp-panel .tf-check{display:flex;flex-direction:row;align-items:center;gap:8px}.tf-property-desk .tp-panel input[type=checkbox]{width:16px;height:16px;min-height:0;flex-shrink:0}

.tfc-standalone{position:fixed;inset:0;z-index:1200;background:#f4f7fa;overflow:auto;width:100%;height:100dvh}.tfc-standalone .tfc-page{border:0;border-radius:0;min-height:100dvh}.tfc-standalone .tfc-page>header{position:sticky;top:0;z-index:8;background:#fff;border-bottom:1px solid #dce4ed}.tfc-standalone .tfc-body{padding:20px 24px}.tfc-standalone .tof-directory{top:96px}.thf .tof-heading{background:#fff;display:flex;justify-content:space-between;padding:16px}.thf .tof-heading h3{margin:0}.thf .tof-heading p{font-size:13px;color:#718195}.thf-table{overflow:auto;width:100%}.thf-table table{width:100%;border-collapse:collapse;table-layout:fixed}.thf-table th,.thf-table td{padding:12px;border:1px solid #e1e7ee;white-space:normal!important;overflow-wrap:anywhere}.thf-table th:first-child{width:50%}.thf-table small{display:block;color:#718195;font-size:11px;margin-bottom:5px}.thf-table input{width:100%;min-width:0;border:1px solid #cdd9e6;background:white;padding:10px;box-sizing:border-box}.thf .tof-sheet{flex:1}.tfc-body input[type=search]{border:1px solid #cdd9e6;padding:10px;max-width:100%;box-sizing:border-box;margin-left:10px}.tfc-body .tbr-section small{display:block;margin:4px 0;font-size:12px}.tfc-standalone .tfc-page .tof-grid table{min-width:1000px}@media(max-width:700px){.tfc-standalone .tfc-body{padding:12px}.tfc-standalone .tfc-page>header{position:static}.thf-table table{min-width:650px}.tfc-standalone .tof-directory{position:static}}
.tw.tfc-standalone{display:block;max-width:none;margin:0;padding:0;border-radius:0}.tfc-standalone>#taxAmendmentPage{width:100%;min-width:0}
.thf .tof-directory button{display:block;width:100%;border:1px solid transparent;border-radius:5px;background:transparent;text-align:left;padding:12px;margin:5px 0;color:#456278;line-height:1.6;cursor:pointer;overflow-wrap:anywhere}.thf .tof-directory button.active{background:#e8f3ff;border-color:#d4e6fa;color:#237ab1}

/* Keep both filing routes visible and let long matter names wrap. */
.tc-workspace .tdl-table table{width:100%;min-width:0;table-layout:fixed}
.tc-workspace .tdl-table th,.tc-workspace .tdl-table td{box-sizing:border-box;padding:18px 14px;max-width:none;overflow-wrap:anywhere;white-space:normal}
.tc-workspace .tdl-table th:nth-child(1){width:5%}
.tc-workspace .tdl-table th:nth-child(2){width:43%}
.tc-workspace .tdl-table th:nth-child(3){width:15%}
.tc-workspace .tdl-table th:nth-child(4){width:13%}
.tc-workspace .tdl-table th:nth-child(5){width:24%}
.tdl-filing-actions,.tdl-change-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.tdl-filing-actions .tw-btn.primary{padding:5px 14px}
@media(max-width:1100px){.tc-workspace .tdl-table th,.tc-workspace .tdl-table td{padding:16px 9px}.tc-workspace .tdl-table th:first-child{width:7%}.tc-workspace .tdl-table th:nth-child(2){width:36%}.tc-workspace .tdl-table th:nth-child(3){width:17%}.tc-workspace .tdl-table th:nth-child(4){width:16%}}
@media(max-width:760px){
 .tc-workspace .tdl-table table,.tc-workspace .tdl-table tbody{display:block;min-width:0;width:100%}
 .tdl-table thead{display:none}
 .tdl-table tbody tr{display:grid;grid-template-columns:1fr 1fr;padding:12px 16px;border-bottom:1px solid #e4e9ef}
 .tc-workspace .tdl-table td{display:block;border:0;padding:6px 0;min-width:0;width:auto}
 .tdl-table td:before{content:attr(data-label);display:block;font-size:12px;color:#8592a2;margin-bottom:3px}
 .tc-workspace .tdl-table td:first-child{display:none}
 .tc-workspace .tdl-table td:nth-child(2),.tc-workspace .tdl-table td:nth-child(5),.tc-workspace .tdl-table td[colspan]{display:block;grid-column:1/-1}
 .tdl-table td:nth-child(2):before,.tdl-table td:nth-child(5):before,.tdl-table td[colspan]:before{display:none}
 .tdl-filing-actions,.tdl-change-actions{gap:12px 20px}
}

.tfc-presets{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.tfc-presets .tw-btn{white-space:nowrap}.tfc-presets [data-tfc="query"]{margin-left:4px}@media(max-width:600px){.tfc-presets [data-tfc="query"]{margin-left:0}}
