/* Compact leave management. All changes are presentation-only. */
.szm-absence-former-toggle{display:flex!important;align-items:center;gap:8px!important;margin:4px 16px 12px;font-size:12px!important;color:#435367!important}
.szm-absence-former-toggle input{width:16px!important;height:16px!important;min-height:16px!important;margin:0;accent-color:#1b287f}
.szm-absence-table td.is-current-day,.szm-absence-table th.is-current-day{position:relative}
.szm-absence-table .is-current-day::after{content:'';position:absolute;inset:0;pointer-events:none;background:rgba(27,40,127,.075);z-index:1}
#szm-brand-typography .staff-app .szm-absence-calendar .szm-absence-table button.szm-absence-day.is-today{box-shadow:none!important}
#szm-brand-typography .staff-app .szm-absence-calendar .szm-absence-table button.szm-absence-day:is(.is-vacation,.is-sick,.is-pending,.is-planned){width:calc(100% - 4px)!important;margin:2px!important;height:38px!important;border-radius:6px!important;overflow:hidden}
#szm-brand-typography .staff-app .szm-absence-calendar .szm-absence-table button.szm-absence-day.is-mini:is(.is-vacation,.is-sick,.is-pending,.is-planned){width:14px!important;height:19px!important;margin:0!important;border-radius:3px!important}
.staff-leave-workspace .staff-page-heading{margin-bottom:8px!important}
.staff-leave-workspace .staff-toolbar{margin:6px 0 10px!important;gap:12px!important;padding:6px 0!important}
.staff-account-overview{padding:12px 16px!important;margin-top:10px!important}
.staff-account-overview .staff-panel-heading{margin-bottom:8px!important;gap:10px!important}
.staff-account-overview .staff-panel-heading h2{font-size:17px!important;margin:0 0 3px!important}
.staff-account-overview .staff-panel-heading p{margin:0!important;font-size:12px!important}
.staff-account-overview table{width:100%!important;margin:0!important}
.staff-account-overview table :is(th,td){padding:5px 10px!important;font-size:12px!important;line-height:1.25!important;vertical-align:middle!important}
.staff-account-overview table td{font-variant-numeric:tabular-nums}
.staff-account-overview table small{display:block;margin:2px 0 0!important;font-size:10px!important;line-height:1.15!important}
.staff-account-overview table th .staff-account-person{font-size:12px!important;padding:3px 0!important;min-height:24px!important}
.staff-account-overview table th .staff-badge{display:inline-block;margin:0 0 0 7px!important;font-size:9px!important}
.staff-account-overview table [data-slot=button]{padding:4px 8px!important;min-height:27px!important;font-size:11px!important}
.staff-account-overview .staff-number-strong{font-size:16px!important}
.staff-account-overview .staff-balance-explanation{margin-top:9px!important;font-size:11px!important}
.staff-leave-entries{padding:12px 16px!important;margin-top:10px!important}
.staff-leave-entries .staff-panel-heading{margin-bottom:8px!important}
.staff-leave-entries .staff-panel-heading :is(h2,p){margin:2px 0!important}
.staff-leave-entries .staff-panel-heading h2{font-size:17px!important}
.staff-leave-entries .staff-leave-card{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(225px,1.2fr) minmax(120px,.6fr) auto;grid-template-rows:auto auto;gap:3px 16px!important;padding:8px 0!important;margin:0!important;min-height:0!important;align-items:center}
.staff-leave-card>h3{grid-column:1;grid-row:1;margin:0!important;font-size:12px!important}
.staff-leave-card>.staff-leave-labels{grid-column:1;grid-row:2;margin:0!important;gap:5px!important}
.staff-leave-card>.staff-leave-period{grid-column:2;grid-row:1 / span 2;margin:0!important;font-size:12px!important;line-height:1.25!important}
.staff-leave-card>.staff-leave-period small{font-size:10px!important;display:block;margin-top:2px!important}
.staff-leave-card>p.staff-muted{grid-column:3;grid-row:1;margin:0!important;font-size:11px!important}
.staff-leave-card>.staff-leave-details{grid-column:3;grid-row:2;margin:0!important;font-size:10px!important}
.staff-leave-card>.staff-leave-details[open]{grid-column:1 / -1;grid-row:3}
.staff-leave-card>.staff-card-actions{grid-column:4;grid-row:1 / span 2;margin:0!important;gap:5px!important;justify-content:flex-end}
.staff-leave-card>.staff-card-actions button{font-size:11px!important;min-height:28px!important;padding:4px 8px!important}
.staff-leave-card .staff-leave-labels :is(.staff-kind,.staff-status){font-size:9px!important;padding:2px 5px!important;line-height:1.2!important}
.szm-dashboard-tabs{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}
.szm-request-tab-count{display:inline-flex;align-items:center;justify-content:center;background:rgba(27,40,127,.1);color:#1b287f;border-radius:6px;min-width:20px;height:19px;padding:0 4px;font-size:10px;font-weight:700;line-height:1}
.staff-app .szm-tour-workspace .szm-tour-primary-tabs>button[data-tour-tab="incoming"]{--szm-tab-width:155px}
@media(max-width:850px){.staff-leave-entries .staff-leave-card{grid-template-columns:1fr 1fr;gap:5px 12px!important}.staff-leave-card>.staff-card-actions{grid-column:2;grid-row:3}.staff-leave-card>.staff-leave-period{grid-column:2;grid-row:1 / span 2}.staff-leave-card>p.staff-muted{grid-column:1;grid-row:3}.staff-leave-card>.staff-leave-details{grid-column:1 / -1;grid-row:4}}
.staff-account-overview,.staff-leave-entries{min-height:0!important;height:auto!important}
#szm-brand-typography .staff-app .staff-account-overview,#szm-brand-typography .staff-app .staff-leave-entries{min-height:0!important;height:auto!important;flex:none!important;align-self:start!important}
#szm-brand-typography .staff-app :is(.staff-account-overview,.staff-leave-entries,.szm-absence-calendar){width:100%!important;max-width:none!important;box-sizing:border-box;min-height:0!important;height:auto!important}
.staff-leave-entries .staff-leave-card{padding:6px 0!important;gap:2px 16px!important;line-height:1.25!important}
.staff-leave-card :is(h3,.staff-leave-labels,.staff-leave-details,.staff-leave-details>summary,p.staff-muted){line-height:1.25!important}

.staff-account-table tbody th{white-space:nowrap!important;min-width:230px!important}
.staff-account-table tbody th .staff-account-person{display:inline-flex!important;white-space:nowrap!important;max-width:none!important}
.staff-leave-card .staff-leave-details>summary{padding:0!important;margin:0!important;min-height:0!important;height:auto!important;line-height:14px!important}
@media(min-width:1000px){
.staff-leave-entries .staff-leave-card{grid-template-columns:minmax(145px,1fr) 115px minmax(205px,1.2fr) 85px minmax(115px,.7fr) auto!important;grid-template-rows:auto!important;padding:6px 0!important;gap:2px 12px!important}
.staff-leave-card>h3{grid-column:1;grid-row:1}
.staff-leave-card>.staff-leave-labels{grid-column:2;grid-row:1;flex-wrap:wrap}
.staff-leave-card>.staff-leave-period{grid-column:3;grid-row:1}
.staff-leave-card>p.staff-muted{grid-column:4;grid-row:1}
.staff-leave-card>.staff-leave-details{grid-column:5;grid-row:1}
.staff-leave-card>.staff-card-actions{grid-column:6;grid-row:1;flex-wrap:wrap}
.staff-leave-card>.staff-leave-details[open]{grid-column:1 / -1;grid-row:2}
}
.staff-leave-workspace .staff-notice{padding:8px 12px!important;margin:8px 0!important}

#szm-brand-typography .staff-app .staff-account-overview{gap:0!important}
.staff-account-overview .staff-account-table{min-width:0!important;table-layout:auto!important}
.staff-account-overview .staff-account-table :is(th,td){padding:4px 8px!important}
.staff-account-overview .staff-account-table tbody th{min-width:180px!important}
.staff-account-overview .staff-account-table td small{white-space:nowrap!important}
.staff-account-overview .staff-balance-explanation>summary{padding:0!important;min-height:0!important;line-height:16px!important;font-size:11px!important}
.staff-leave-card .staff-leave-details>summary{min-height:0!important;padding:0!important;line-height:14px!important}

.staff-leave-workspace .szm-absence-category{padding:4px 0!important;min-height:0!important}
.staff-leave-workspace .staff-leave-toolbar{margin:0 0 8px!important;gap:10px!important}
.staff-leave-workspace .szm-leave-tabs{margin-bottom:8px!important;padding:4px!important}
.staff-leave-workspace .szm-leave-tabs button{min-height:36px!important;padding:7px 10px!important}
@media(min-width:850px){.staff-leave-workspace .staff-leave-toolbar :is(input,select){min-height:34px!important;height:34px!important}.staff-account-overview .staff-account-table :is(th,td){padding:3px 8px!important}}
