.hr-workspace{--hr-line:color-mix(in srgb,var(--theme-font,#333) 16%,transparent);--hr-soft:color-mix(in srgb,var(--theme-button,#987) 6%,var(--theme-background,#fff));color:var(--theme-font,#333);display:grid;gap:18px;min-width:0}.hr-workspace [hidden]{display:none!important}.hr-workspace *{box-sizing:border-box}.hr-workspace :is(h3,h4,p){margin:0}.hr-workspace h3{font-size:22px}.hr-workspace h4{font-size:17px}.hr-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.hr-heading>div{display:grid;gap:6px;min-width:0}.hr-heading p,.hr-hint{font-size:12px;line-height:1.7;opacity:.8}.hr-card{padding:20px;border:1px solid var(--hr-line);border-radius:16px;background:var(--hr-soft);min-width:0}.hr-card>h4{margin-bottom:16px}.hr-workspace :is(form,label){min-width:0}.hr-workspace label{display:grid;gap:7px;font-size:13px;margin:0}.hr-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hr-span{grid-column:1/-1}.hr-workspace :is(input,select,textarea){width:100%;max-width:100%;min-width:0;min-height:40px;border:1px solid var(--hr-line);border-radius:10px;padding:9px 12px;font:inherit;color:inherit;background:var(--theme-background,#fff)}.hr-workspace textarea{resize:vertical;line-height:1.6}.hr-workspace :is(button,.hr-button){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:38px;padding:9px 14px;border:1px solid var(--hr-line);border-radius:10px;background:var(--theme-background,#fff);color:inherit;font:inherit;font-size:12px;font-weight:600;line-height:1.4;text-decoration:none;cursor:pointer;white-space:normal}.hr-workspace .hr-primary{background:var(--theme-button,#987);color:var(--theme-button-text,#fff);border-color:transparent}.hr-workspace button:disabled{opacity:.5;cursor:default}.hr-workspace :focus-visible{outline:2px solid var(--theme-button,#987);outline-offset:3px}.hr-request,.hr-workspace [data-hr-rule]{display:grid;gap:18px}.hr-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:8px}.hr-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}.hr-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.hr-filters label{min-width:150px}.hr-table-wrap{max-width:100%;overflow:auto;scrollbar-width:none;border:1px solid var(--hr-line);border-radius:12px}.hr-table-wrap::-webkit-scrollbar{display:none}.hr-workspace table{width:100%;border-collapse:collapse;table-layout:auto;margin:0;font-size:13px}.hr-workspace :is(th,td){padding:12px 14px;text-align:left;border-bottom:1px solid var(--hr-line);vertical-align:top;line-height:1.55;word-break:normal}.hr-workspace th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;background:var(--hr-soft);white-space:nowrap}.hr-workspace td{background:var(--theme-background,#fff)}.hr-workspace tbody tr:last-child td{border-bottom:0}.hr-workspace td strong,.hr-workspace td small{display:block}.hr-workspace td strong{font-size:13px}.hr-workspace td small{font-size:11px;opacity:.75;margin-top:4px}.hr-reason{max-width:400px;white-space:pre-wrap;overflow-wrap:anywhere}.hr-kind{display:block;font-size:11px;font-weight:700;color:var(--theme-button,#987);margin-bottom:3px}.hr-badge{display:inline-flex;padding:4px 9px;border:1px solid var(--hr-line);border-radius:8px;font-size:11px;white-space:nowrap;background:var(--hr-soft)}.hr-badge[data-state=Approved]{border-color:color-mix(in srgb,#26805a 40%,transparent);background:color-mix(in srgb,#26805a 10%,var(--theme-background,#fff))}.hr-badge[data-state=Rejected]{border-color:color-mix(in srgb,#ba3948 40%,transparent)}.hr-workspace .hr-empty{text-align:center;padding:28px}.hr-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:12px}.hr-pagination>div{display:flex;gap:8px}.hr-settings>summary{font-weight:650;cursor:pointer}.hr-settings>summary small{font-weight:400;opacity:.7;margin-left:10px}.hr-settings[open]>summary{margin-bottom:18px}.hr-rule-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hr-workspace fieldset{min-width:0;padding:16px;border:1px solid var(--hr-line);border-radius:12px;margin:0}.hr-workspace legend{font-size:13px;font-weight:600;padding:0 5px}.hr-workspace label.hr-check{display:flex;align-items:center;margin:0 0 15px;gap:9px}.hr-workspace input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--theme-button,#987)}.hr-week{display:flex;gap:18px;flex-wrap:wrap}.hr-week label{display:flex;align-items:center;gap:7px}.hr-preview{grid-template-columns:1.2fr 1fr 1fr auto;align-items:end;margin-bottom:16px}.hr-dialog{width:min(570px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--hr-line);border-radius:18px;background:var(--theme-background,#fff);color:inherit;padding:24px;margin:auto}.hr-dialog::backdrop{background:#15192388}.hr-dialog form{display:grid;gap:18px}.hr-dialog [data-hr-review-detail]{display:grid;gap:8px;font-size:13px;line-height:1.6}.hr-workspace [role=status]:not(:empty){font-size:13px;line-height:1.6;margin:10px 0;overflow-wrap:anywhere}.hr-payroll-note{padding:14px;border:1px solid color-mix(in srgb,var(--theme-font,#333) 15%,transparent);border-radius:12px;margin-top:14px;font-size:13px;line-height:1.7}.hr-payroll-note strong{display:block}.hr-payroll-note p{margin:5px 0 0}
@media(max-width:1000px){.hr-rule-cards{grid-template-columns:1fr}.hr-preview{grid-template-columns:1fr 1fr}.hr-preview>button{align-self:end}.hr-heading{align-items:flex-start}.hr-heading>.hr-button{max-width:190px}.hr-card{padding:16px}}
@media(max-width:600px){.hr-heading{flex-direction:column}.hr-heading>.hr-button{max-width:none}.hr-fields{grid-template-columns:1fr;gap:14px}.hr-workspace h3{font-size:20px}.hr-filters{width:100%;display:grid;grid-template-columns:1fr 1fr}.hr-filters label{min-width:0}.hr-filters button{align-self:end}.hr-workspace table{min-width:620px}.hr-workspace.self-card table{min-width:520px}.hr-pagination{flex-direction:column;align-items:stretch}.hr-pagination>div{justify-content:space-between}.hr-workspace .hr-rule-cards .hr-fields{grid-template-columns:1fr 1fr}.hr-settings>summary small{display:block;margin:6px 0 0}.hr-workspace .hr-actions button{flex:1}}
