/* Received materials · real originals and review */
.material-workspace{--mat-line:#e1e8f1;--mat-blue:#1666d8;color:#233b59}.material-workspace .work-body{max-width:1700px;margin:auto}.material-workspace .work-heading{gap:20px;align-items:flex-start}.material-workspace .work-heading .button{white-space:nowrap}
.material-workspace button,.mat-dialog button{cursor:pointer}.material-workspace button:disabled,.mat-dialog button:disabled{cursor:default;opacity:.45}.material-workspace :is(input,select,button,a):focus-visible,.mat-dialog :is(input,select,button,a,summary):focus-visible{outline:3px solid #85b2f2;outline-offset:3px}
.mat-top-note{display:flex;align-items:flex-start;gap:11px;color:#68809c;font-size:12px;line-height:1.75;margin:22px 0}.mat-top-note svg{flex:none;margin-top:2px;color:#1666d8}.mat-sections{display:flex;gap:28px;border-bottom:1px solid #e1e8f1;margin-bottom:22px}.mat-sections button{display:flex;align-items:center;gap:8px;min-height:50px;background:transparent;border:0;border-bottom:2px solid transparent;color:#7a8ca3;font-weight:600;padding:8px 2px 14px;font-size:14px;white-space:nowrap}.mat-sections button.active{border-color:#1666d8;color:#1666d8}.mat-sections b{font-size:11px;background:#eef2f7;color:#7386a1;padding:2px 7px;border-radius:6px}.mat-sections .active b{color:#1666d8;background:#eaf2ff}
.mat-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#eff6ff;border:1px solid #d6e6fb;border-radius:9px;color:#315e98;font-size:12px;line-height:1.8;padding:12px 15px;margin:14px 0;overflow-wrap:anywhere}.mat-notice>span:first-child{flex:1}.mat-notice.warning{background:#fff8ec;border-color:#f5e3c2;color:#926326}.mat-notice .mat-icon-button{margin-left:auto}.mat-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#1666d8;font-size:12px;font-weight:600;text-decoration:none;border:0;padding:6px 0;background:none;line-height:1.55}.mat-icon-button{display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;color:#7c8ca3;border-radius:6px;min-width:32px;min-height:32px;text-decoration:none}.mat-icon-button:hover{background:#eef3fa;color:#1666d8}
.mat-interrupted{background:#fffaf2;border:1px solid #f0dfbe;border-radius:10px;padding:15px 18px;margin:16px 0;font-size:12px}.mat-interrupted summary{cursor:pointer;font-weight:700;color:#8b612b}.mat-interrupted>p{color:#8b7c65;line-height:1.7}.mat-interrupted>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee4d4;padding:10px 0;gap:15px}.mat-interrupted strong,.mat-interrupted small{display:block;overflow-wrap:anywhere}.mat-interrupted small{margin-top:5px;color:#8e8b83}.mat-interrupted .button{font-size:11px;padding:8px 11px;white-space:nowrap}
.mat-transfer-bar{display:flex;align-items:center;gap:14px;background:#edf4ff;border:1px solid #cbdffb;border-radius:10px;padding:15px 18px;margin-bottom:18px;color:#1666d8}.mat-transfer-bar>svg{flex:none}.mat-transfer-bar>div{flex:1;min-width:0}.mat-transfer-bar strong{font-size:13px}.mat-transfer-bar p{font-size:11px;line-height:1.7;margin:5px 0 0;color:#6684ad;overflow-wrap:anywhere}.mat-transfer-bar .button{font-size:12px;white-space:nowrap;padding:10px 16px}.mat-transfer-bar .mat-link{white-space:nowrap}
.mat-archive{min-width:0;background:#fff;border:1px solid #e1e8f1;border-radius:11px;overflow:hidden}.mat-archive.with-clients{display:grid;grid-template-columns:220px minmax(0,1fr)}.mat-client-pane{border-right:1px solid #e1e8f1;background:#fbfcfe;padding:18px 12px;min-width:0}.mat-client-pane summary{display:flex;justify-content:space-between;align-items:center;list-style:none;font-size:12px;font-weight:700;margin:1px 3px 16px}.mat-client-pane summary span{font-size:10px;color:#96a2b3}.mat-client-pane .mat-search{margin-bottom:12px;height:35px;padding:0 8px}.mat-client-pane .mat-search input{font-size:10px}.mat-client-list{max-height:660px;overflow:auto;display:flex;flex-direction:column;gap:3px;scrollbar-width:thin}.mat-client-list>button{display:flex;align-items:center;justify-content:space-between;gap:7px;background:transparent;border:1px solid transparent;border-radius:7px;min-height:46px;padding:10px;color:#61748e;text-align:left}.mat-client-list>button.selected{color:#1666d8;background:#eaf2ff;border-color:#dce9fe}.mat-client-list>button:hover{background:#eff4fb}.mat-client-list strong{font-size:11px;font-weight:600;display:block;overflow-wrap:anywhere}.mat-client-list small{font-size:9px;color:#98a4b5;display:block;margin-top:4px}.mat-client-list b{font-size:10px;font-weight:500;color:#8d9caf}
.mat-list-area{min-width:0}.mat-list-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:23px 24px 18px;gap:18px}.mat-list-heading h2{font-size:17px;font-weight:750;color:#142d50;margin:0 0 8px}.mat-list-heading p{font-size:11px;line-height:1.7;color:#8b9ab0;margin:0}.mat-list-heading>div:last-child{display:flex;align-items:center;gap:15px;flex:none}.mat-list-heading .mat-link{color:#7a90af;font-size:11px}.mat-filters{display:flex;gap:10px;padding:0 24px 18px;align-items:center}.mat-search{display:flex;align-items:center;gap:8px;min-width:0;height:38px;border:1px solid #dde5ef;border-radius:7px;background:#fff;padding:0 12px;color:#8ea0ba}.mat-search input{width:100%;min-width:0;border:0;outline:none;background:none;font-size:12px;color:#304562;height:100%;padding:0}.mat-search input::placeholder{color:#9baabd}.mat-filters>.mat-search{flex:1;min-width:170px}.mat-filter-selects{display:flex;gap:7px;min-width:0}.mat-filter-selects select{min-width:105px;max-width:150px;height:38px;padding:0 23px 0 10px;border:1px solid #dde5ef;border-radius:7px;color:#788ca7;background:#fff;font-size:11px}
.mat-business-folders{display:flex;flex-wrap:wrap;gap:6px;padding:16px 24px;background:#fafcff;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6}.mat-business-folders button,.mat-period-folders button,.mat-payroll-scopes button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e4eaf2;border-radius:7px;background:#fff;color:#7c8da5;min-height:34px;font-size:11px;padding:6px 10px;white-space:nowrap}.mat-business-folders button.selected,.mat-period-folders button.selected,.mat-payroll-scopes button.selected{background:#edf4ff;color:#1666d8;border-color:#c9ddfb;font-weight:650}.mat-business-folders b,.mat-period-folders b,.mat-payroll-scopes b{font-size:10px;font-weight:500;color:#9caac0}.mat-period-browser{padding:15px 24px;border-bottom:1px solid #edf1f6}.mat-year{display:flex;align-items:center;gap:9px;font-size:10px;color:#8c9db3;margin:0 0 12px}.mat-year select{border:1px solid #dde5ef;border-radius:6px;font-size:11px;color:#4b6a93;background:#fff;height:32px;padding:0 20px 0 9px}.mat-year small{margin-left:6px;color:#9eabc0}.mat-period-folders{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.mat-period-folders button{font-size:10px;min-height:31px;padding:5px 9px}.mat-period-folders>p{color:#8b9cb5;font-size:11px;margin:6px 0}.mat-payroll-scopes{display:flex;gap:7px;margin-bottom:13px}
.mat-selection{display:flex;align-items:center;gap:11px;flex-wrap:wrap;min-height:60px;padding:12px 24px;background:#fff;border-bottom:1px solid #e1e8f1}.mat-selection>label{display:flex;align-items:center;gap:7px;font-size:10px;color:#778ca9;white-space:nowrap}.mat-selection>span{font-size:10px;color:#8fa0b8}.mat-selection>.mat-link{font-size:10px}.mat-selection input,.mat-table input,.mat-check input{accent-color:#1666d8;width:15px;height:15px;flex:none;cursor:pointer}.mat-bulk{display:flex;gap:5px;margin-left:auto;flex-wrap:wrap}.mat-bulk .button{min-height:30px;font-size:10px;gap:4px;border-radius:5px;padding:6px 8px;white-space:nowrap}
.mat-table-scroll{width:100%;max-width:100%;overflow:auto;scrollbar-width:thin;overscroll-behavior-x:contain}.mat-table{width:100%;min-width:790px;border-collapse:collapse;table-layout:fixed;font-size:11px;text-align:left}.mat-table th{color:#8d9db3;background:#fafbfe;font-weight:500;height:40px;border-bottom:1px solid #e7edf5;padding:8px 13px;font-size:10px}.mat-table th:first-child{width:48px;padding-left:22px}.mat-table th:nth-child(2){width:29%}.mat-table th:nth-child(3){width:23%}.mat-table th:nth-child(4){width:17%}.mat-table th:nth-child(5){width:14%}.mat-table th:last-child{width:54px}.mat-table td{padding:14px 13px;border-bottom:1px solid #edf1f6;vertical-align:middle;color:#526c8e;overflow-wrap:anywhere;line-height:1.6}.mat-table td:first-child{padding-left:22px}.mat-table tbody tr:last-child td{border-bottom:0}.mat-table tbody tr:hover{background:#fcfdff}.mat-table td>small{display:block;font-size:10px;color:#91a0b6;margin-top:5px}.mat-file-name{display:flex;gap:10px;align-items:center;border:0;background:none;text-align:left;padding:3px 0;max-width:100%;color:#405b7d}.mat-file-name>span{min-width:0}.mat-file-name strong{font-size:11px;font-weight:600;display:block;overflow-wrap:anywhere;line-height:1.6}.mat-file-name small{display:block;font-size:9px;color:#9aa9bd;margin-top:3px}.mat-symbol{width:25px;height:25px;flex:none;color:#8a9eb9}.mat-symbol.pdf{color:#bc7a7a}.mat-symbol.image{color:#7789bc}.mat-symbol.sheet{color:#61a38b}.mat-client-name{font-weight:600;color:#536f93;font-size:11px}.mat-status{display:inline-flex!important;width:max-content;max-width:100%;align-items:center;justify-content:center;padding:2px 6px;border-radius:4px;font-size:9px!important;line-height:1.5;color:#9d7e32!important;background:#fcf5df}.mat-status.confirmed{color:#368974!important;background:#eaf7f1}.mat-pagination{padding:15px 22px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9eef5;color:#96a5b9;font-size:10px;gap:15px}.mat-pagination>div{display:flex;align-items:center;gap:13px}.mat-pagination .mat-icon-button{border-color:#e1e8f1;min-width:30px;min-height:30px}.mat-footnote{font-size:10px;color:#98a7bd;line-height:1.9;margin:17px 2px 0}.mat-empty{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;padding:35px 22px;color:#93a6bf}.mat-empty h3{font-size:14px;color:#647f9f;font-weight:600;margin:3px 0}.mat-empty p{font-size:11px;line-height:1.85;margin:0;max-width:440px;overflow-wrap:anywhere}.mat-empty .button{font-size:11px;margin-top:7px}.mat-empty-small{font-size:11px;color:#9aa8bb;padding:20px 10px;text-align:center;line-height:1.8}
html:has(.mat-dialog[open]){overflow:hidden}.mat-dialog{width:min(680px,calc(100vw - 48px));max-width:calc(100vw - 48px);max-height:calc(100dvh - 64px);border:1px solid #dce5f1;border-radius:15px;padding:0;color:#284362;background:#fff;box-shadow:0 24px 100px #10274838;overflow:hidden}.mat-dialog[open]{display:flex;flex-direction:column}.mat-dialog.wide{width:min(1130px,calc(100vw - 48px))}.mat-dialog::backdrop{background:rgba(16,34,59,.38);backdrop-filter:blur(2px)}.mat-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 28px;border-bottom:1px solid #e5ecf5;flex:none;min-height:86px}.mat-dialog-header p{font-size:10px;letter-spacing:.03em;color:#92a1b7;margin:0 0 7px}.mat-dialog-header h2{font-size:19px;color:#142d50;font-weight:750;margin:0;overflow-wrap:anywhere;line-height:1.6}.mat-dialog-header .icon-close{display:flex;align-items:center;justify-content:center;flex:none;border:0;background:none;color:#8296b1;width:35px;height:35px;border-radius:7px}.mat-dialog-header .icon-close:hover{background:#f0f5fc}.mat-dialog-body{overflow:auto;padding:23px 28px;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}.mat-dialog-footer{padding:17px 28px;border-top:1px solid #e1e9f3;background:#fff;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none}.mat-dialog-footer>span{flex:1;color:#91a0b6;font-size:10px;line-height:1.6}.mat-dialog .button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:37px;font-size:11px;border:1px solid #d4dfef;padding:9px 14px;border-radius:7px;text-decoration:none;font-weight:600;background:#fff;color:#5b789e}.mat-dialog .button.primary{background:#1666d8;border-color:#1666d8;color:#fff;box-shadow:0 2px 4px #1666d81a}.button.mat-danger{color:#bd4d4d;background:#fff4f4;border-color:#efcfcf}.mat-dialog .mat-link{font-size:11px}.mat-intro{font-size:12px;color:#748aa6;line-height:1.95;margin:0 0 22px}.mat-note{font-size:10px;line-height:1.9;color:#8a9eb8;margin:11px 0}.mat-note.warning{color:#97783e}.mat-dialog h3{font-size:13px;color:#284462;margin:0 0 12px;font-weight:700}.mat-dialog small{line-height:1.75}.mat-dialog input:not([type=checkbox]):not([type=file]),.mat-dialog select{font:inherit;font-size:12px;color:#4d688b;height:39px;background:#fff;border:1px solid #dce5ef;border-radius:6px;min-width:0;max-width:100%;width:100%;padding:8px 11px}.mat-dialog input::placeholder{color:#a4b2c4}.mat-dialog :is(input,select):disabled{background:#f5f7fb;color:#98a8bd}
.mat-placement{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;min-width:0}.mat-placement>label,.mat-period-picker>label,.mat-period-inputs>label,.mat-save-rule>label:not(.mat-check){display:flex;flex-direction:column;min-width:0;gap:7px;font-size:11px;color:#7189a7}.mat-placement label>span small{font-size:9px;color:#acb9cb;margin-left:5px}.mat-client-search{grid-column:1 / -1}.mat-client-search>div{display:flex;align-items:center;gap:8px;border:1px solid #dce5ef;border-radius:6px;padding:0 10px;color:#9aa9bd}.mat-client-search>div input{border:0!important;padding:8px 0!important;background:transparent!important}.mat-period-picker{min-width:0;grid-column:1 / -1}.mat-period-picker>small{display:block;font-size:9px;color:#9daec4;margin-top:7px}.mat-period-inputs{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;margin-top:12px}
.mat-upload-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:30px;min-width:0}.mat-upload-layout>section{min-width:0}.mat-upload-placement{background:#f8fafe;border:1px solid #e5edf7;border-radius:10px;padding:20px}.mat-upload-placement>.mat-note{margin-bottom:20px}.mat-drop{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;min-height:175px;padding:25px;border:1px dashed #b4cce9;background:#f8fbff;border-radius:10px;color:#6e94c6;text-align:center;cursor:pointer}.mat-drop.dragging{background:#eaf3ff;border:2px dashed #1666d8}.mat-drop strong{font-size:13px;font-weight:600}.mat-drop span{font-size:10px;color:#97acc8}.mat-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.mat-drop:focus-within{outline:3px solid #85b2f2;outline-offset:3px}.mat-upload-summary{display:flex;gap:12px;padding:14px 0 10px;align-items:center;font-size:11px;color:#8da0ba;border-bottom:1px solid #e7edf5}.mat-upload-summary strong{color:#526f93;font-size:12px}.mat-complete{margin-left:auto;color:#38947c}.mat-upload-files{list-style:none;margin:0;padding:0;max-height:410px;overflow:auto;scrollbar-width:thin}.mat-upload-files li{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf2f8;min-width:0}.mat-upload-files li>div{flex:1;min-width:0}.mat-upload-files strong{font-size:11px;font-weight:600;overflow-wrap:anywhere;line-height:1.7;display:block}.mat-upload-files small{font-size:10px;color:#98a8bd;display:block;margin-top:4px}.mat-upload-symbol{color:#a0b4cc;flex:none}.mat-upload-symbol.done{color:#3da186}.mat-upload-symbol.failed,.mat-upload-symbol.unknown,.mat-upload-symbol.pending{color:#c0934c}.mat-upload-symbol.uploading{color:#1666d8;animation:mat-spin 1.5s linear infinite}.mat-upload-files .mat-link{flex:none;font-size:10px}
.mat-origin{padding:16px 18px;border:1px solid #e3ebf5;border-radius:9px;background:#f9fbfe;margin-bottom:24px}.mat-origin>small,.mat-destination>small{font-size:10px;color:#96a8bf}.mat-origin p{font-size:12px;line-height:1.8;color:#5d7a9f;margin:7px 0}.mat-origin details{font-size:10px;color:#91a4bd;margin-top:11px}.mat-origin summary,.mat-save-rule summary,.mat-history summary,.mat-ai-result summary{cursor:pointer;font-size:11px;font-weight:600}.mat-origin ul{margin:12px 0 0;padding-left:18px;line-height:2}.mat-move-layout{display:grid;grid-template-columns:1fr 310px;gap:30px}.mat-move-summary{border-left:1px solid #e9eef6;padding-left:25px;min-width:0}.mat-destination{display:flex;flex-direction:column;gap:14px;padding:20px;background:#f0f6ff;border:1px solid #dce9fc;border-radius:9px;color:#6595d5;margin:15px 0}.mat-destination strong{font-size:13px;font-weight:600;line-height:1.9;color:#4675ae;overflow-wrap:anywhere}.mat-recent{margin-bottom:20px}.mat-recent h3{font-size:11px;margin-bottom:8px;color:#87a0bf}.mat-recent button{display:block;font-size:11px;line-height:1.8;text-align:left;border:1px solid #e1e9f4;background:#fff;border-radius:7px;padding:10px;color:#6b8db5;width:100%;margin-bottom:6px;overflow-wrap:anywhere}.mat-action-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:19px;background:#edf5ff;border-radius:12px;color:#5f91d3}.mat-action-icon.trash{background:#fff0f0;color:#c77d7d}.mat-confirm-files{list-style:none;border:1px solid #e4ebf5;border-radius:8px;padding:0;margin:0 0 22px}.mat-confirm-files li{padding:11px 14px;border-bottom:1px solid #edf1f7;color:#8397b0;font-size:11px;overflow-wrap:anywhere}.mat-confirm-files li:last-child{border:0}.mat-confirm-files strong{display:block;font-weight:600;color:#58769b;font-size:11px}.mat-confirm-files small{display:block;font-size:10px;color:#9baac0;margin-top:3px}.mat-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#778fab;line-height:1.9;cursor:pointer}.mat-check input{margin:3px 0 0;min-width:15px}.mat-confirm-check{margin:20px 0 15px;padding:13px;background:#f6f9fe;border:1px solid #e7edf6;border-radius:7px}
.mat-file-summary{display:flex;align-items:center;flex-wrap:wrap;gap:14px;font-size:10px;color:#94a5bd;margin-bottom:20px}.mat-review-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:30px}.mat-original{min-width:0}.mat-original>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:10px}.mat-original>header h3{margin:0}.mat-original>header .mat-link{font-size:10px}.mat-original>a:first-of-type{display:block;background:#f1f4f8;border:1px solid #e0e8f3;border-radius:8px;overflow:hidden;max-height:620px}.mat-original>a img{max-width:100%;width:100%;max-height:620px;height:auto;object-fit:contain;display:block}.mat-original iframe{width:100%;height:530px;background:#f4f6fa;border:1px solid #e0e8f3;border-radius:8px}.mat-preview-fallback{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:280px;background:#f7f9fc;border:1px solid #e2e9f3;border-radius:8px;color:#99b0ca;text-align:center;padding:22px}.mat-preview-fallback h3{font-size:12px;color:#8199b7;margin:15px 0 6px}.mat-preview-fallback p{font-size:10px;color:#a6b5c9;line-height:1.8}.mat-current{margin-top:22px;padding:18px;border:1px solid #e4ebf4;border-radius:8px}.mat-current h3{font-size:11px;margin-bottom:15px}.mat-current dl,.mat-ai-result dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:0}.mat-current dl>div,.mat-ai-result dl>div{min-width:0}.mat-current dt,.mat-ai-result dt{font-size:9px;color:#99aac2;margin:0 0 5px}.mat-current dd,.mat-ai-result dd{font-size:11px;color:#6581a6;margin:0;line-height:1.8;overflow-wrap:anywhere}.mat-review-editor{min-width:0}.mat-ai{padding:18px;background:#f7f9ff;border:1px solid #dfe7fa;border-radius:10px;margin-bottom:25px}.mat-ai>header{display:flex;align-items:center;gap:7px;color:#6d88c1}.mat-ai>header h3{color:#526eaa;font-size:12px;margin:0}.mat-ai>header>span{font-size:9px;margin-left:auto;color:#99a9c7}.mat-ai>.mat-note{font-size:10px;margin:11px 0 14px}.mat-ai .mat-check{font-size:10px;color:#7d8fb0}.mat-ai-actions{display:flex;align-items:center;gap:15px;margin:13px 0 4px}.mat-ai-actions .button{font-size:10px;min-height:33px;padding:8px 11px}.mat-ai .mat-notice{font-size:10px;padding:10px}.mat-ai-result{border-top:1px solid #dfe7f7;margin-top:18px;padding-top:17px}.mat-ai-result h4{font-size:11px;color:#6080b7;margin:0 0 14px}.mat-ai-result details{font-size:10px;margin:16px 0;color:#8298b9}.mat-ai-result details>p{line-height:1.9;overflow-wrap:anywhere;padding:6px 0}.mat-ai-result details strong{font-weight:600;margin-right:5px}.mat-ai-result details small{display:block;color:#a2adc1;font-size:9px}.mat-ai-result>button{font-size:10px!important;width:100%}.mat-editor-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:10px}.mat-editor-heading h3{margin:0;font-size:12px}.mat-editor-heading .mat-link{font-size:10px}.mat-save-rule{border:1px solid #e4ebf6;border-radius:7px;padding:13px 15px;font-size:11px;color:#8aa0be}.mat-save-rule .mat-check{font-size:10px;margin:14px 0}.mat-history{border-top:1px solid #e5ecf6;margin-top:25px;padding-top:19px;color:#8298b6;font-size:11px}.mat-history article{border-bottom:1px solid #edf2f8;padding:13px 0}.mat-history strong{font-size:11px;color:#6885aa;font-weight:600;display:block;margin-bottom:4px}.mat-history small{font-size:9px;color:#a2b0c4}.mat-history p{font-size:10px;color:#91a3bb;line-height:1.85;overflow-wrap:anywhere}.mat-rules article{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e0e8f2;border-radius:8px;padding:16px;margin-bottom:11px}.mat-rules article>div:first-child{min-width:0}.mat-rules h3{font-size:12px;margin-bottom:7px;overflow-wrap:anywhere}.mat-rules p{font-size:10px;color:#8ea3bd;line-height:1.8;margin:0 0 5px;overflow-wrap:anywhere}.mat-rules small{display:block;font-size:10px;color:#a0afc3;overflow-wrap:anywhere}.mat-rule-delete{text-align:right}.mat-rule-delete .button{font-size:10px;margin-left:12px;padding:7px 10px;min-height:30px}
@keyframes mat-spin{to{transform:rotate(360deg)}}

@media(min-width:701px) and (max-width:1240px){.material-workspace .work-body{padding:30px 24px}.mat-archive.with-clients{grid-template-columns:185px minmax(0,1fr)}.mat-filters{align-items:stretch;flex-direction:column}.mat-filter-selects{justify-content:flex-end}.mat-filter-selects select{flex:1;max-width:none}.mat-selection{gap:8px}.mat-bulk{margin-left:0;width:100%}.mat-list-heading{gap:12px}.mat-list-heading>div:last-child{flex-direction:column;gap:2px;align-items:flex-end}.mat-list-heading .mat-link{font-size:10px}.mat-review-layout{gap:20px}.mat-move-layout{grid-template-columns:1fr 260px;gap:20px}}
@media(max-width:700px){
.material-workspace{width:100%;max-width:100%;overflow-x:clip}.material-workspace .work-body{padding:24px 15px 20px}.material-workspace .work-heading{flex-direction:column;gap:15px;margin-bottom:0}.material-workspace .work-heading h1{font-size:25px}.material-workspace .work-heading p{font-size:12px}.material-workspace .work-heading .button{min-height:46px;width:100%;font-size:14px;justify-content:center}.material-workspace .work-top{padding:0 16px;gap:10px}.material-workspace .work-top>span{font-size:11px}.material-workspace .work-user{font-size:11px;max-width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mat-top-note{font-size:11px;line-height:1.9;margin:18px 0;gap:9px}.mat-top-note svg{width:16px}.mat-sections{gap:0;justify-content:space-between;margin-bottom:18px}.mat-sections button{min-height:49px;font-size:12px;gap:5px;padding:7px 0 13px}.mat-sections button svg{width:14px}.mat-sections b{font-size:9px;padding:2px 5px}.mat-notice{font-size:12px;padding:12px;gap:9px;line-height:1.8}.mat-notice .mat-link{min-height:40px}.mat-icon-button{min-width:44px;min-height:44px}.mat-link{min-height:40px}.mat-interrupted{padding:13px}.mat-interrupted summary{font-size:12px;line-height:1.8;min-height:30px}.mat-interrupted>div{align-items:flex-start;flex-direction:column;gap:8px}.mat-interrupted .button{min-height:44px;font-size:12px}.mat-transfer-bar{flex-wrap:wrap;gap:10px;padding:13px}.mat-transfer-bar>svg{width:20px}.mat-transfer-bar>div{flex-basis:calc(100% - 75px)}.mat-transfer-bar p{font-size:11px}.mat-transfer-bar>.button{min-height:44px;flex:1}.mat-transfer-bar>.mat-link{padding:0 8px;font-size:12px}.mat-transfer-bar>.mat-icon-button{min-width:36px}
.mat-archive.with-clients{display:block}.mat-client-pane{padding:0;border-right:0;border-bottom:1px solid #dde8f6;background:#f7faff}.mat-client-pane details{padding:0 13px}.mat-client-pane summary{min-height:49px;margin:0;cursor:pointer;font-size:12px}.mat-client-pane summary:after{content:"⌄";color:#90a6c2;font-size:15px;margin-left:8px}.mat-client-pane summary>span{margin-left:auto}.mat-client-pane .mat-search{height:46px;margin:0 0 10px}.mat-client-pane .mat-search input{font-size:16px}.mat-client-list{max-height:260px;margin-bottom:12px}.mat-client-list>button{min-height:49px;padding:11px}.mat-client-list strong{font-size:13px}.mat-client-list small{font-size:11px}.mat-client-list b{font-size:12px}
.mat-list-heading{padding:20px 15px 16px;gap:10px}.mat-list-heading h2{font-size:16px;margin-bottom:7px}.mat-list-heading p{font-size:11px;line-height:1.8}.mat-list-heading>div:last-child{flex-direction:column;gap:0;align-items:flex-end;justify-content:center}.mat-list-heading .mat-link{font-size:10px;min-height:30px;white-space:nowrap}.mat-filters{padding:0 15px 16px;flex-direction:column;gap:9px}.mat-filters>.mat-search{height:47px;min-height:47px;flex:initial;min-width:0;width:100%}.mat-search input{font-size:16px}.mat-filter-selects{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mat-filter-selects select{min-width:0;max-width:none;width:100%;height:44px;font-size:16px;padding:6px}
.mat-business-folders{padding:13px 14px;gap:7px}.mat-business-folders button{font-size:11px;min-height:44px;padding:8px 9px}.mat-business-folders b{font-size:10px}.mat-period-browser{padding:13px 14px}.mat-year{flex-wrap:wrap;gap:10px;font-size:11px}.mat-year select{height:44px;font-size:16px}.mat-year small{flex-basis:100%;margin-left:0;font-size:10px}.mat-period-folders{gap:6px}.mat-period-folders button{min-height:44px;font-size:11px;padding:7px 10px}.mat-payroll-scopes button{min-height:44px;font-size:12px}.mat-selection{padding:12px 14px;gap:8px}.mat-selection>label{font-size:11px;min-height:38px;gap:8px}.mat-selection input,.mat-table input,.mat-check input{width:18px;height:18px}.mat-selection>span{font-size:10px;flex:1;text-align:right;line-height:1.7}.mat-selection>.mat-link{font-size:11px}.mat-bulk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;margin-left:0}.mat-bulk .button{min-height:44px;font-size:11px;padding:7px 4px;white-space:normal;line-height:1.6}
.mat-table{min-width:800px;font-size:12px}.mat-table th{height:43px;font-size:11px;padding:9px 12px}.mat-table td{padding:12px;font-size:12px}.mat-table th:first-child{width:50px}.mat-table td:first-child,.mat-table th:first-child{padding-left:16px}.mat-table td:first-child input{margin:10px 0}.mat-file-name{min-height:44px}.mat-file-name strong,.mat-client-name{font-size:12px}.mat-file-name small,.mat-table td>small{font-size:10px}.mat-pagination{padding:13px 14px;font-size:10px;gap:8px}.mat-pagination>div{gap:9px}.mat-pagination .mat-icon-button{min-width:44px;min-height:44px}.mat-empty{padding:30px 18px;min-height:270px}.mat-empty h3{font-size:13px}.mat-empty p{font-size:11px}.mat-empty .button{min-height:44px;font-size:12px}.mat-footnote{font-size:10px;line-height:1.9;margin-top:15px}
.mat-dialog,.mat-dialog.wide{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;box-shadow:none}.mat-dialog-header{min-height:83px;padding:calc(15px + env(safe-area-inset-top)) 17px 15px;gap:10px}.mat-dialog-header h2{font-size:17px;line-height:1.6}.mat-dialog-header p{font-size:10px;margin-bottom:5px}.mat-dialog-header .icon-close{width:44px;height:44px}.mat-dialog-body{padding:20px 17px}.mat-dialog-footer{padding:12px 17px calc(12px + env(safe-area-inset-bottom));gap:8px;flex-wrap:wrap}.mat-dialog-footer>.button{min-height:47px;font-size:12px;flex:1;padding:10px 9px;white-space:nowrap}.mat-dialog-footer>span{flex-basis:100%;font-size:10px;order:-1}.mat-dialog-footer>span:empty{display:none}.mat-dialog .button{min-height:44px;font-size:12px}.mat-dialog .mat-link{font-size:12px;min-height:44px}.mat-intro{font-size:12px;line-height:1.9;margin-bottom:20px}.mat-note{font-size:11px;line-height:1.9}.mat-dialog h3{font-size:13px}.mat-dialog input:not([type=checkbox]):not([type=file]),.mat-dialog select{height:47px;font-size:16px;padding:10px}
.mat-placement{gap:16px 12px;grid-template-columns:1fr}.mat-placement>label,.mat-period-picker>label,.mat-period-inputs>label{font-size:12px;gap:8px}.mat-client-search{grid-column:auto}.mat-period-picker{grid-column:auto}.mat-period-picker>small{font-size:10px;line-height:1.85;margin-top:8px}.mat-period-inputs{grid-template-columns:1fr 1.3fr;gap:10px}.mat-client-search>div input{font-size:16px!important}.mat-check{font-size:12px;gap:10px;line-height:1.9;min-height:44px}.mat-check input{margin-top:3px;min-width:18px}.mat-upload-layout,.mat-review-layout,.mat-move-layout{grid-template-columns:minmax(0,1fr);gap:25px}.mat-upload-placement{padding:18px 15px}.mat-drop{padding:23px 15px;min-height:165px}.mat-drop strong{font-size:13px}.mat-drop span{font-size:11px}.mat-upload-summary{font-size:11px;flex-wrap:wrap}.mat-upload-files{max-height:330px}.mat-upload-files li{gap:9px}.mat-upload-files strong{font-size:12px}.mat-upload-files small{font-size:10px}.mat-upload-files .mat-link{font-size:11px}
.mat-origin{padding:15px}.mat-origin p{font-size:12px;line-height:1.9}.mat-origin details{font-size:11px}.mat-origin summary,.mat-save-rule summary,.mat-history summary,.mat-ai-result summary{min-height:34px;line-height:1.8;font-size:12px}.mat-move-summary{border-left:0;border-top:1px solid #e4ecf5;padding:20px 0 0}.mat-recent button{min-height:48px;font-size:12px}.mat-destination{margin-top:0;padding:16px}.mat-destination strong{font-size:13px}.mat-confirm-files li,.mat-confirm-files strong{font-size:12px}.mat-confirm-files small{font-size:10px}.mat-file-summary{font-size:10px;gap:10px}.mat-original>header{gap:8px}.mat-original>header .mat-link{font-size:11px}.mat-original>a img,.mat-original>a:first-of-type{max-height:480px}.mat-original iframe{height:430px}.mat-current{padding:16px}.mat-current dl,.mat-ai-result dl{gap:15px}.mat-current dd,.mat-ai-result dd{font-size:12px}.mat-current dt,.mat-ai-result dt{font-size:10px}.mat-ai{padding:16px;margin-bottom:22px}.mat-ai>header h3{font-size:13px}.mat-ai>header>span{font-size:9px}.mat-ai>.mat-note{font-size:11px}.mat-ai .mat-check{font-size:11px}.mat-ai-actions{gap:14px}.mat-ai-actions .button{font-size:12px;min-height:44px}.mat-ai .mat-notice{font-size:11px}.mat-ai-result h4{font-size:12px}.mat-ai-result details>p{font-size:11px}.mat-ai-result details small{font-size:10px}.mat-ai-result>button{font-size:12px!important}.mat-editor-heading{gap:8px}.mat-editor-heading .mat-link{font-size:11px}.mat-save-rule .mat-check{font-size:11px}.mat-save-rule>label:not(.mat-check){font-size:12px}.mat-save-rule input:not([type=checkbox]){font-size:16px}.mat-history strong{font-size:12px}.mat-history small{font-size:10px}.mat-history p{font-size:11px}.mat-rules article{align-items:flex-start;gap:12px;padding:15px;flex-wrap:wrap}.mat-rules h3{font-size:13px}.mat-rules p,.mat-rules small{font-size:11px}.mat-rule-delete{width:100%;white-space:normal}.mat-rule-delete .button{font-size:12px;min-height:44px}.mat-rule-delete .mat-link{font-size:12px}.mat-rules article>.button{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){.mat-upload-symbol.uploading{animation:none}.mat-dialog::backdrop{backdrop-filter:none}}

.mat-row-select{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:38px;cursor:pointer}@media(max-width:700px){.mat-row-select{min-width:44px;min-height:44px}.mat-table td:first-child{padding:6px 3px}.mat-table td:first-child input{margin:0}}
/* Final narrow-screen and modal review. */
.mat-dialog-body{flex:1 1 auto}
@media(max-width:360px){.mat-sections{gap:8px}.mat-sections button{font-size:11px;gap:4px}.mat-sections button svg{display:none}.mat-sections b{font-size:9px;padding:2px 4px}}
