.hrb-dialog{width:min(1040px,94vw);max-height:92vh;box-sizing:border-box;border:1px solid #d7e2ef;border-radius:18px;padding:0;color:#172d49;background:#fff;box-shadow:0 24px 90px #102b4c40;font:14px Inter,Arial,sans-serif}.hrb-dialog::backdrop{background:#132a4666}.hrb-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 26px;border-bottom:1px solid #dce5f0;background:#f7faff}.hrb-dialog h2{font-size:22px;margin:5px 0}.hrb-dialog header small{font-size:10px;letter-spacing:1.8px;color:#526d8b}.hrb-dialog header button{font-size:26px;border:0;background:transparent}.hrb-dialog-body{padding:24px;overflow:auto;max-height:calc(92vh - 104px);box-sizing:border-box}.hrb-dialog p{line-height:1.55}.hrb-dialog label,.hrb-grid label{display:flex;flex-direction:column;gap:7px;font-weight:600}.hrb-dialog input,.hrb-dialog select,.hrb-dialog textarea,.hrb-grid input,.hrb-grid select{border:1px solid #c6d5e5;border-radius:8px;padding:10px 12px;box-sizing:border-box;min-width:0;background:#fff;color:#172d49;font:inherit}.hrb-dialog textarea{resize:vertical}.hrb-dialog button,.hrb-heading button,.hrb-table-wrap button,.hrb-cancel-leave{border:1px solid #c6d5e5;border-radius:8px;padding:9px 13px;font:inherit;font-weight:600;background:#fff;color:#173c65;cursor:pointer}.hrb-dialog button:disabled{cursor:wait;opacity:.6}.hrb-primary,.hrb-dialog .hrb-primary{background:#173f6e!important;color:#fff!important;border-color:#173f6e!important}.hrb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.hrb-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.hrb-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.hrb-heading h3{margin:0;font-size:19px}.hrb-heading p{margin:5px 0;color:#62758b;font-size:13px}.hrb-table-wrap{overflow:auto;max-height:50vh;border:1px solid #dce5ee;border-radius:10px;margin:16px 0}.hrb-table-wrap table{border-collapse:collapse;width:100%;font-size:13px;min-width:620px}.hrb-table-wrap th{font-weight:700;color:#49627d;background:#f1f6fb;position:sticky;top:0;z-index:1}.hrb-table-wrap td,.hrb-table-wrap th{padding:12px;text-align:left;border-bottom:1px solid #e6edf5}.hrb-table-wrap small,.hrb-people small{display:block;color:#718299;margin-top:4px}.hrb-table-wrap input[type=number]{width:130px}.hrb-dialog .hrb-check{display:flex;flex-direction:row;align-items:center;gap:10px;font-weight:500}.hrb-check input,.hrb-week input{width:17px;height:17px;accent-color:#204c79}.hrb-people{max-height:240px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;border:1px solid #d9e4ee;padding:14px;border-radius:10px;margin:14px 0}.hrb-week{display:flex;gap:12px;flex-wrap:wrap;padding:16px 0}.hrb-week label{flex-direction:row;align-items:center}.hrb-dialog details{margin:16px 0;border:1px solid #dce6ef;border-radius:8px;padding:12px}.hrb-dialog summary{cursor:pointer;font-weight:600}.hrb-help{color:#61758b;font-size:12px;line-height:1.6}.hrb-notice{color:#284f7b;font-weight:600;white-space:pre-wrap}.hrb-review{border-top:2px solid #dce6f1;margin-top:22px;padding-top:16px}.hrb-errors{color:#a72d37;max-height:240px;overflow:auto;padding-left:22px}.hrb-errors li{margin:8px 0}.hrb-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.hrb-totals>div{border:1px solid #d9e5f0;border-radius:10px;padding:14px;background:#f8fbff}.hrb-totals span,.hrb-totals strong{display:block}.hrb-totals span{font-size:12px;color:#667c94;margin-bottom:8px}.hrb-totals strong{font-size:17px;overflow-wrap:anywhere}.hrb-badge{display:inline-flex;background:#eaf2fb;color:#264f7b;border-radius:15px;padding:5px 10px;font-size:12px;font-weight:700}.hrb-tabs{display:flex;gap:8px;border-bottom:1px solid #dce5ef;margin-bottom:18px;padding-bottom:10px}.hrb-tabs button{border:1px solid #d2dfec;border-radius:9px;background:#fff;padding:10px 16px;color:#536c88;font-weight:600;cursor:pointer}.hrb-tabs button[aria-selected=true]{background:#173f6e;color:white;border-color:#173f6e}#hrbPayrollBatches{padding:20px;background:#fff;border:1px solid #d9e5ef;border-radius:14px;margin-bottom:22px}#hrbPayrollBatches[hidden],#hrbAllocations[hidden],#hrbOwnBalances[hidden],.hrb-tabs[hidden]{display:none!important}.hrb-own-balances{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 18px}.hrb-own-balances>div{border:1px solid #d8e4f0;background:#f5f9ff;border-radius:10px;padding:14px 20px}.hrb-own-balances strong,.hrb-own-balances span,.hrb-own-balances small{display:block}.hrb-own-balances span{font-size:20px;margin:8px 0}.hrb-own-balances small{color:#667e96}.hrb-file-button{position:relative;display:flex!important;justify-content:center;border:1px solid #c6d5e5;border-radius:8px;padding:9px 13px;cursor:pointer;overflow:hidden}.hrb-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.hrb-cancel-leave{margin:12px 16px;color:#9b343e}.hrb-dialog :focus-visible,.hrb-tabs :focus-visible{outline:3px solid #6da8dd;outline-offset:2px}.hrb-empty{padding:25px;color:#64788c}
@media(max-width:700px){.hrb-dialog{width:96vw;max-height:96vh;border-radius:12px}.hrb-dialog>header{padding:16px}.hrb-dialog-body{padding:16px;max-height:calc(96vh - 92px)}.hrb-grid,.hrb-people{grid-template-columns:1fr}.hrb-totals{grid-template-columns:1fr 1fr}.hrb-heading{align-items:flex-start}.hrb-heading>button{width:100%}.hrb-dialog h2{font-size:19px}.hrb-totals strong{font-size:15px}.hrb-tabs button{padding:10px}.hrb-actions>button{flex:1}.hrb-dialog .hrb-primary{min-height:42px}}

#hrLeavePage:has([data-hrb-tab="allocations"][aria-selected="true"]) #hrLeaveWorkspace{display:none!important}
