/* Social contribution and payroll mapping screens measured on the original site. */
body[data-accounting-tab=socialFunds] main.ledger-content,body[data-accounting-tab=payrollConfig] main.ledger-content{padding:0!important;margin:0;border:0;background:#f4f5f8}
.sr-social{padding:0 16px 21px}.sr-social-tools{display:flex;gap:8px;align-items:center;min-height:55px;height:55px}.sr-social-tools input[type=month]{width:105px;padding:0 5px}.sr-social-tools .spacer,.sr-config-tools .spacer,.sr-account-meta .spacer{flex:1}.sr-social-tools button{padding:0 14px}.sr-social-tools .pr-outline{color:#ff8045;border-color:#ff8045}.sr-social-grid{min-width:2400px}.sr-social-grid th{height:27px;font-weight:600;font-size:14px;background:#f0f0f0}.sr-social-grid thead tr:nth-child(2) th{top:27px}.sr-social-grid .sr-select,.sr-social-grid .sr-person,.sr-social-grid .sr-identity{position:sticky;z-index:2}.sr-social-grid .sr-select{left:0;width:40px;text-align:center;padding:0}.sr-social-grid .sr-person{left:40px;width:100px}.sr-social-grid .sr-identity{left:140px;width:180px}.sr-social-grid th.sr-select,.sr-social-grid th.sr-person,.sr-social-grid th.sr-identity{top:0;z-index:4;text-align:left}.sr-social-grid .sr-unsplit{color:#a6abb3}.sr-social-grid .pr-link+.pr-link{margin-left:12px}.sr-empty{position:absolute;inset:54px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:15px;background:white;z-index:3;color:#555}.sr-empty img{width:140px;height:120px;object-fit:contain}.sr-empty p{font-size:14px;margin:15px 0 0}.sr-source-note{font-size:12px;color:#90959e;min-height:23px;padding-top:7px;line-height:18px}.sr-source-note .pr-link{font-size:12px;height:auto;color:#448fcd;padding:0;border:0;background:transparent}
.sr-config{padding:20px 20px 21px;min-width:0}.sr-config-tabs{height:30px;display:flex;gap:5px;align-items:stretch;border-bottom:1px solid #d7d9df}.sr-config-tabs button{height:30px;background:#e9ebf0;border-color:#d4d6df;border-radius:0;border-bottom:0;padding:0 16px}.sr-config-tabs button.active{color:#ff8045;background:white}.sr-config-tools{height:50px;min-height:50px;display:flex;align-items:center;gap:10px;background:white;padding:0 12px;border:1px solid #ddd;border-top:0;border-bottom:0}.sr-config-tools button{color:#ff8045;border-color:#ff8045}.sr-config-tools button.primary{color:white}.sr-config-grid{min-width:1190px}.sr-config-grid th{height:36px;background:#e9ebf1;font-weight:600}.sr-config-grid td{text-align:center;height:37px}.sr-config-grid td:nth-child(4){text-align:left;white-space:normal}.sr-config-grid td:nth-child(4) small{display:block;color:#999;font-size:11px;padding-top:3px}.sr-config-grid td:last-child button{font-size:12px;height:24px;padding:0 10px;margin-right:8px}.sr-config-grid .pr-link{font-size:14px}.sr-config .pr-sheet{min-height:240px}
.classic-ledger .sr-account-modal,.classic-ledger .sr-rules-modal,.classic-ledger .sr-project-modal{padding:0;border-radius:4px;display:flex;flex-direction:column;overflow:hidden;width:1000px;max-width:calc(100vw - 40px);max-height:calc(100vh - 64px)}
.sr-account-modal .modal-head,.sr-rules-modal .modal-head,.sr-project-modal .modal-head{height:46px;min-height:46px;border-bottom:1px solid #e6e6e6;padding:0 20px;margin:0;display:flex;align-items:center}.classic-ledger .sr-account-modal h2,.classic-ledger .sr-rules-modal h2,.classic-ledger .sr-project-modal h2{font-size:14px;font-weight:400;margin:0}.sr-account-modal .modal-head button,.sr-rules-modal .modal-head button,.sr-project-modal .modal-head button{border:0;background:none;font-size:17px;padding:0;color:#aaa}.sr-account-modal .actions,.sr-rules-modal .actions,.sr-project-modal .actions{display:flex;justify-content:center;align-items:center;gap:10px;height:64px;min-height:64px;padding:0;margin:0;border-top:1px solid #eee}.sr-account-modal .actions button,.sr-rules-modal .actions button,.sr-project-modal .actions button{height:30px;padding:0 20px;font-size:14px}.sr-account-modal #form-error:empty,.sr-rules-modal #form-error:empty,.sr-project-modal #form-error:empty{display:none}.sr-account-modal #form-error,.sr-rules-modal #form-error,.sr-project-modal #form-error{margin:0;padding:6px 20px;font-size:12px}.sr-account-modal{height:550px}.sr-account-meta{display:flex;align-items:center;gap:12px;height:50px;min-height:50px;padding:0 20px;font-size:14px}.sr-account-meta button{height:30px;padding:0 18px}.sr-account-modal #biz-config-form{margin:0 20px;flex:1;min-height:0;display:flex;flex-direction:column}.sr-account-scroll{overflow:auto;flex:1;border:1px solid #d9dbe1}.sr-account-grid{table-layout:fixed;white-space:normal}.sr-account-grid th{height:26px;font-size:14px;background:#e9ebf1}.sr-account-grid th:nth-child(1){width:23%}.sr-account-grid th:nth-child(4){width:8%}.sr-account-grid thead tr:nth-child(2) th{top:26px}.sr-account-grid th[rowspan]{top:0}.sr-account-grid td{height:40px;padding:6px 10px;font-size:12px}.sr-account-grid select{height:30px;width:100%;padding:0 5px;font-size:12px}.sr-section-row td{background:#f5f6fa;font-weight:600;font-size:14px}.sr-muted{color:#aaa;font-size:12px}.sr-dialog-note{font-size:12px;color:#999;line-height:1.7;margin:8px 20px 12px;max-height:55px;overflow:auto}.sr-rules-modal{height:658px}.sr-rules{overflow:auto;flex:1;padding:12px 30px;font-size:14px}.sr-rules h3{border-left:3px solid #ffb18e;font-weight:400;padding-left:9px;margin:12px 0 16px;font-size:14px}.sr-rules>div{display:flex;align-items:center;gap:22px;min-height:36px;flex-wrap:wrap}.sr-rules>div>span{width:135px;text-align:right;flex-shrink:0}.sr-rules label{display:flex;align-items:center;gap:8px}.sr-rules input{width:15px;height:15px;accent-color:#ff8045}.sr-rules p{font-size:12px;line-height:1.8;color:#999;margin:20px 0 4px}.sr-project-modal{width:800px!important;min-height:210px}.sr-project-table{padding:24px}.sr-project-table .pr-grid th{height:27px;font-size:14px;background:#eee}.sr-project-table .pr-grid td{padding:7px}.sr-project-table input{width:100%;height:30px;min-width:0;padding:0 8px;background:#f5f6f8;font-size:13px}.sr-project-table th:first-child{width:33%}.sr-project-table th:last-child{width:18%}.sr-project-table .sr-dialog-note{margin:14px 0 0}.shade:has(.sr-account-modal),.shade:has(.sr-rules-modal),.shade:has(.sr-project-modal){background:#0009}
.pr-employees .pr-filters{position:relative;overflow:visible;z-index:5}.pr-employees .sr-filter-menu{margin-left:0;font-size:12px;flex-shrink:0}.sr-filter-menu>summary{height:30px;border:1px solid #ddd;border-radius:2px;padding:6px 12px;cursor:pointer;list-style:none;color:#555;background:white}.sr-filter-menu>summary::-webkit-details-marker{display:none}.sr-filter-menu>summary b{font-weight:400;color:#ff8045}.sr-filter-menu>div{position:absolute;top:100%;right:0;width:432px;max-height:430px;z-index:25;background:white;box-shadow:0 4px 16px #0003;border:1px solid #ddd;border-radius:3px;display:flex;flex-direction:column}.sr-filter-menu form{padding:20px 16px 8px;max-height:360px;overflow:auto}.sr-filter-menu form>label{display:flex;align-items:center;gap:8px;min-height:34px;margin:0 0 12px}.sr-filter-menu form>label>span:first-child{width:60px;text-align:right;flex-shrink:0}.sr-filter-menu select{height:30px;flex:1;width:280px;font-size:12px;padding:0 8px}.sr-filter-menu input[type=date]{width:126px;height:30px;padding:0 4px;font-size:12px}.sr-filter-menu fieldset{border:0;padding:0;margin:16px 0}.sr-filter-menu legend{padding:0 0 10px}.sr-filter-menu fieldset label{display:inline-flex;align-items:center;gap:5px;margin:0 10px 10px 0}.sr-filter-menu input[type=checkbox]{width:14px;height:14px;padding:0;margin:0;accent-color:#ff8045}.sr-filter-menu fieldset p{color:#aaa;margin:0;font-size:12px}.sr-filter-menu footer{display:flex;gap:10px;justify-content:flex-end;min-height:48px;align-items:center;padding:0 18px;border-top:1px solid #eee}.sr-filter-menu footer button{padding:0 16px;height:26px;font-size:12px}.sr-filter-menu form>.sr-filter-checkbox{justify-content:flex-start;margin-left:0}
.sr-record-tools{display:flex;gap:12px;align-items:center;margin:18px 0 12px}.sr-record-tools button{height:30px;padding:0 14px;border-radius:2px;font-size:12px}.sr-record-tools .pr-outline{color:#ff8045;border-color:#ff8045;background:white}.sr-record-tools .pr-link{border:0;color:#418bc7;background:none}.sr-record-scroll{overflow:auto;border:1px solid #ddd;min-height:260px}.sr-record-grid{min-width:820px;table-layout:fixed}.sr-record-grid th{height:38px;font-size:12px;background:#eee}.sr-record-grid td{height:42px;padding:5px;font-size:12px}.sr-record-grid th:last-child{width:60px}.sr-record-grid input,.sr-record-grid select{height:30px;width:100%;min-width:0;font-size:12px;border:1px solid #ddd;padding:0 5px}.sr-record-grid .pr-link{color:#418bc7;border:0;background:none;padding:0;font-size:12px}.sr-record-note{font-size:12px;line-height:1.8;color:#999;margin:15px 0}.pr-person-modal section[data-pr-pane=attachments] .sr-record-grid{min-width:0}.pr-person-modal section[data-pr-pane=attachments] th:first-child{width:60%}.pr-person-modal section[data-pr-pane=attachments] th:last-child{width:65px}
.sr-split{display:inline-flex;align-items:stretch;height:30px;white-space:nowrap}.sr-split>button{color:#ff8045;border-color:#ff8045;border-radius:2px 0 0 2px;padding:0 12px}.sr-split .pr-menu summary{border-left:0;border-radius:0 2px 2px 0;padding:0 8px;min-width:27px;color:#ff8045;background:white}.sr-split-primary>button,.sr-split-primary .pr-menu summary{background:#ff8045;color:white}.sr-split-primary .pr-menu summary{border-left:1px solid #ffb08a}.sr-split .pr-menu>div{left:auto;right:0}.sr-split .pr-menu>div button{color:#555!important}.pr-payroll .pr-toolbar{gap:8px}.pr-grid-scroll:focus{outline:1px solid #d9e7f4;outline-offset:-1px}.pr-page button:disabled{cursor:not-allowed}
@media(max-width:1200px){.sr-social-tools button{padding:0 8px;font-size:12px}.sr-social-tools .spacer{min-width:8px}.pr-payroll .pr-toolbar{gap:5px}.sr-split>button{padding:0 9px}.sr-split .pr-menu summary{padding:0 6px}}
@media print{.sr-source-note,.sr-social-tools,.sr-config-tabs,.sr-config-tools,.sr-filter-menu{display:none}.sr-social,.sr-config{padding:0;height:auto}.sr-social-grid,.sr-config-grid{min-width:0!important}.sr-social-grid th,.sr-social-grid td{position:static!important;font-size:8px!important}}

.sr-account-grid thead tr:first-child th:first-child,.sr-account-grid thead tr:first-child th:last-child{width:auto}.sr-split-disabled .pr-menu summary{pointer-events:none;background:#fafafa;color:#b8bcc3;border-color:#e1e3e7}

.sr-social-tools input[type=month]{font-size:12px}.sr-social>.pr-sheet{margin-bottom:-2px}
