.szm-absence-calendar .szm-calendar-person-hours[data-recording-start]::after{content:'Daten ab ' attr(data-recording-start);display:block;margin-top:2px;font-size:9px;line-height:11px;font-weight:400;color:#607184;white-space:nowrap}
@media(min-width:900px){
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours tbody .szm-absence-person>span:last-child{line-height:12px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-period{align-items:center!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-period>.szm-calendar-hour-caption{display:flex;align-items:center;height:11px;line-height:11px}
}
/* Use the same red, slightly tilted date circle as the team calendar. */
#szm-brand-typography .staff-app .szm-absence-calendar .szm-absence-table thead th.is-current-day{color:#cf243b!important}
#szm-brand-typography .staff-app .szm-absence-calendar .szm-absence-table thead th.is-current-day small{color:inherit!important}
.szm-absence-calendar .szm-absence-table thead th.is-current-day::after{content:'';position:absolute;inset:3px max(3px,calc((100% - 42px)/2));border:2px solid #cf243b;border-radius:47% 53% 49% 51%;transform:rotate(-7deg);pointer-events:none}
#szm-brand-typography .staff-app .staff-leave-workspace section.szm-absence-calendar:has(.szm-absence-table-scroll){height:var(--szm-calendar-height,70dvh)!important;box-sizing:border-box;display:flex;flex-direction:column;margin-bottom:0!important;min-height:0}
.staff-leave-workspace section.szm-absence-calendar:has(.szm-absence-table-scroll)>*{flex-shrink:0}
.staff-leave-workspace section.szm-absence-calendar>.szm-absence-table-scroll{flex:1 1 0;min-height:100px;max-height:none!important;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.staff-leave-workspace section.szm-absence-calendar>.szm-unified-work-legend,.staff-leave-workspace section.szm-absence-calendar>.szm-absence-legend{padding:3px 10px!important;gap:4px 14px;font-size:11px}
.staff-leave-workspace section.szm-absence-calendar>.szm-absence-help{margin:2px 10px!important;padding:0!important;font-size:11px}
.staff-leave-workspace section.szm-absence-calendar>.szm-absence-former-toggle{display:flex;align-items:center;gap:6px;margin:2px 10px;font-size:11px}
.staff-leave-workspace section.szm-absence-calendar>.szm-absence-former-toggle input{width:14px;min-height:14px;margin:0}
.staff-leave-workspace .szm-absence-navigation{padding:6px 10px!important;gap:6px;align-items:center}
.staff-leave-workspace .szm-calendar-hours-status{padding:3px 10px}
@media(min-width:1100px){
 .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll){display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center}
 .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>*{grid-column:1/-1;min-width:0}
 .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.staff-page-heading{grid-column:2;grid-row:1;margin:0!important;padding:0!important}
 .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.szm-leave-tabs{grid-column:1;grid-row:1;margin:0!important;padding:3px!important;gap:3px}
 #szm-brand-typography .staff-app .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.szm-leave-tabs button{min-height:36px!important;padding:5px 9px!important;font-size:13px!important;gap:6px}
 #szm-brand-typography .staff-app .staff-leave-workspace .staff-card-actions button{min-height:36px!important;padding:5px 10px!important;font-size:13px!important}
 .staff-leave-workspace .staff-card-actions{gap:5px!important;flex-wrap:nowrap}
 .staff-leave-workspace section.szm-absence-calendar{margin-top:0!important}
 .staff-leave-workspace .szm-absence-views{padding:3px 10px 0!important;gap:4px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-absence-views button{min-height:34px!important;padding:5px 12px!important;font-size:13px!important}
 .staff-leave-workspace .szm-absence-navigation label{display:flex;align-items:center;gap:6px;width:170px}
 .staff-leave-workspace .szm-absence-navigation label:has(input){width:110px}
 .staff-leave-workspace .szm-absence-navigation label>span{flex-shrink:0}
 .staff-leave-workspace .szm-absence-navigation :is(input,select){min-height:34px;height:34px;padding:4px 8px}
}



body:has(.staff-leave-workspace section.szm-absence-calendar .szm-absence-table-scroll){padding-bottom:0!important}
.staff-leave-workspace .szm-calendar-hours-status[data-comparison-cutoff]{display:none!important}
#szm-brand-typography .staff-app .staff-leave-workspace section.szm-absence-calendar .szm-absence-table tfoot{display:none!important}
@media(min-width:900px){
 #szm-brand-typography .staff-app .staff-leave-workspace section.szm-absence-calendar:has(.szm-absence-table-scroll){position:relative;flex-direction:row;flex-wrap:wrap;align-content:flex-start}
 .staff-leave-workspace section.szm-absence-calendar:has(.szm-absence-table-scroll)>*{flex:0 0 100%;box-sizing:border-box;min-width:0}
 .staff-leave-workspace section.szm-absence-calendar>.szm-absence-table-scroll{height:var(--szm-table-height,60vh);flex:0 0 100%;min-height:100px}
 .staff-leave-workspace section.szm-absence-calendar>:is(.szm-unified-work-legend,.szm-absence-legend,.szm-absence-former-toggle,[data-calendar-compact-help]){flex:0 0 auto!important;width:auto!important;margin:0!important;padding:2px 6px!important;gap:4px 8px!important;font-size:10px!important;line-height:16px!important;min-height:20px;align-items:center}
 .staff-leave-workspace section.szm-absence-calendar>[data-calendar-compact-help]{font-size:0!important}
 .staff-leave-workspace section.szm-absence-calendar>[data-calendar-compact-help]::after{content:'Tag wählen · ⇧ Zeitraum';font-size:10px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-table:not(.is-year) tbody :is(th,td){height:var(--szm-employee-row-height,48px)!important;min-height:0!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-table:not(.is-year) button.has-work-values{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box!important;margin:0!important;width:100%!important;height:calc(var(--szm-employee-row-height,48px) - 1px)!important;min-height:0!important;min-width:86px!important;padding:1px 3px!important;line-height:1!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-table button.has-work-values:has(.szm-absence-markers){padding-top:14px!important}
 .staff-leave-workspace .szm-calendar-with-hours .szm-work-cell:not(.is-office-only){display:grid;grid-template-columns:1fr 1fr;gap:1px 4px;align-items:center;line-height:11px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-work-cell>strong{grid-column:1/-1;font-size:11px;line-height:12px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-work-part{font-size:9px;gap:2px;line-height:11px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-work-icon{width:11px;height:11px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-absence-markers{top:1px;line-height:11px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-absence-marker{line-height:11px;font-size:8px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-person{padding:2px 7px!important;font-size:11px;line-height:12px}
 .staff-leave-workspace .szm-calendar-with-hours tbody .szm-absence-person>span:last-child{max-width:none!important;white-space:nowrap}
 .staff-leave-workspace .szm-calendar-with-hours .szm-absence-avatar{width:22px;height:22px;margin-right:5px;font-size:9px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-person-hours{margin-top:1px;line-height:10px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-period{display:flex;align-items:baseline;gap:4px;margin-top:0;line-height:10px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-caption{font-size:8px;line-height:10px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-values{font-size:9px;line-height:10px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-week-hours{display:grid;grid-template-columns:auto auto;gap:2px 4px;align-items:center;justify-content:center}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-week-hours strong{font-size:10px;line-height:12px;margin:0}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-table thead th{height:30px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-table tfoot :is(th,td){height:16px!important;min-height:0!important;font-size:9px;padding:0 3px!important;line-height:14px}
 .staff-leave-workspace .szm-absence-navigation{padding:3px 8px!important}
 .staff-leave-workspace .szm-calendar-hours-status{padding:2px 8px;font-size:10px}
}
@media(min-width:1100px) and (max-width:1300px){
 #szm-brand-typography .staff-app .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.szm-leave-tabs{display:flex!important;flex-wrap:nowrap!important}
 #szm-brand-typography .staff-app .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.szm-leave-tabs button{min-width:0!important;padding:4px 5px!important;font-size:11px!important;gap:3px}
 .staff-leave-workspace>.szm-leave-tabs svg{width:14px;height:14px;flex-shrink:0}
}
@media(min-width:900px){
 #szm-brand-typography .staff-app .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll){display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}
 #szm-brand-typography .staff-app .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>*{grid-column:1/-1;min-width:0}
 #szm-brand-typography .staff-app .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.staff-page-heading{display:none!important}
 #szm-brand-typography .staff-app .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.szm-leave-tabs{grid-row:1;grid-column:1;display:flex!important;flex-wrap:nowrap!important;margin:0!important}
 #szm-brand-typography .staff-app .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.szm-leave-tabs button{flex:1;min-width:0!important;font-size:13px!important;padding:5px 8px!important}
 .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.szm-leave-mobile-toolbar{display:flex;grid-column:2!important;grid-row:1;margin:0;align-items:center}
 .staff-leave-workspace:has(section.szm-absence-calendar .szm-absence-table-scroll)>.szm-leave-mobile-toolbar>:is(label,.szm-leave-mobile-pending){display:none}
 .staff-leave-workspace .szm-leave-mobile-create{position:relative}
 .staff-leave-workspace .szm-leave-mobile-create>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;min-height:36px;padding:0 12px;border:1px solid #cbd6e5;border-radius:8px;background:#edf2fa;color:#1b287f;font-size:13px;font-weight:600}
 .staff-leave-workspace .szm-leave-mobile-create-menu{position:absolute;right:0;top:calc(100% + 5px);z-index:30;width:230px;padding:6px;background:white;border:1px solid #dce3eb;border-radius:9px;box-shadow:0 10px 28px #17304d24}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-leave-mobile-create-menu>button{display:block;width:100%;min-height:36px;text-align:left;padding:6px!important;font-size:13px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-person{font-size:12px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-period>.szm-calendar-hour-caption{font-size:0}
 .staff-leave-workspace .szm-calendar-with-hours [data-calendar-period=month]>.szm-calendar-hour-caption::after{content:'Monat';font-size:9px}
 .staff-leave-workspace .szm-calendar-with-hours [data-calendar-period=year]>.szm-calendar-hour-caption::after{content:'Jahr';font-size:9px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-values{font-size:10px;line-height:11px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-table .szm-absence-person{width:255px;min-width:255px;max-width:255px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-difference{font-size:9px;line-height:11px;margin:0}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-period>.szm-calendar-difference{display:inline;white-space:nowrap}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-week-hours .szm-calendar-difference.is-week{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:3px;margin:0;line-height:11px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-difference.is-week .szm-calendar-difference-label{display:inline;font-size:8px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-difference.is-week strong{display:inline;font-size:10px;margin:0}
 .staff-leave-workspace .szm-calendar-with-hours .szm-work-cell>strong{font-size:12px}
 .staff-leave-workspace .szm-calendar-with-hours .szm-work-part{font-size:10px}
 .staff-leave-workspace .szm-calendar-with-hours:not(.szm-compact-rows) .szm-work-cell:not(.is-office-only){grid-template-columns:1fr;gap:2px;line-height:12px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours:not(.szm-compact-rows) .szm-absence-table button.has-work-values{min-width:64px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours.szm-compact-rows .szm-absence-table button.has-work-values{min-width:96px!important}
 .staff-leave-workspace .szm-absence-navigation{min-height:0!important;margin:0!important;padding:3px 8px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-absence-navigation :is(button,summary){min-height:32px!important;padding-top:4px!important;padding-bottom:4px!important}
 .staff-leave-workspace .szm-work-refresh{height:32px;width:34px}
 .staff-leave-workspace .szm-absence-navigation .szm-work-management{min-height:0!important}
}
@media(min-width:1400px){
 .staff-leave-workspace section.szm-absence-calendar>.szm-absence-views{flex:0 0 auto!important;align-self:stretch;width:auto;align-items:center;border-bottom:1px solid #dce3eb;padding:3px 6px!important;gap:3px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-absence-views button{min-height:32px!important;padding:4px 8px!important;font-size:12px!important;border-radius:6px}
 .staff-leave-workspace section.szm-absence-calendar>.szm-absence-navigation{flex:1 1 auto!important;width:auto;flex-wrap:nowrap;align-items:center;border-bottom:1px solid #dce3eb;gap:5px}
 .staff-leave-workspace .szm-absence-navigation label{width:160px!important}
 .staff-leave-workspace .szm-absence-navigation label:has(input){width:105px!important}
 .staff-leave-workspace .szm-absence-navigation .szm-absence-period{display:none}
 .staff-leave-workspace .szm-absence-navigation .szm-work-management{margin-left:auto!important;gap:4px;flex-wrap:nowrap}
}




/* Fit the monthly calendar to the available screen, keeping rows readable. */
/* Shared columns for month/year targets, actual times and differences. */
.szm-absence-calendar .szm-absence-markers{top:4px;left:3px;right:3px;line-height:16px;gap:3px}
#szm-brand-typography .staff-app .szm-absence-calendar .szm-absence-marker{display:inline-flex;align-items:center;gap:3px;padding:1px 4px;border:1px solid #ffffffb8;border-radius:5px;background:#fffffff0;box-shadow:0 1px 2px #25384a18;color:#25384a;font-size:10px!important;line-height:14px;font-weight:650}
.szm-absence-calendar .szm-absence-marker svg{width:12px;height:12px}
#szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-table button.has-work-values:has(.szm-absence-markers){padding-top:25px!important;padding-bottom:4px!important}
.szm-calendar-with-hours.szm-compact-rows .szm-absence-markers{top:2px}
#szm-brand-typography .staff-app .szm-calendar-with-hours.szm-compact-rows .szm-absence-marker{font-size:9px!important;line-height:12px;padding:0 3px}
#szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours.szm-compact-rows .szm-absence-table button.has-work-values:has(.szm-absence-markers){padding-top:17px!important;padding-bottom:1px!important}
@media(min-width:900px){
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-absence-table .szm-absence-person{width:300px!important;min-width:300px!important;max-width:300px!important;padding:3px 8px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours tbody .szm-absence-person>span:last-child{width:calc(100% - 29px);line-height:15px!important;font-size:12px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-person-hours{margin-top:4px;line-height:16px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-period{display:grid;grid-template-columns:34px 112px 80px;gap:5px;align-items:center;line-height:16px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-values{display:grid;grid-template-columns:46px 8px 58px;line-height:16px;font-size:11px;font-variant-numeric:tabular-nums}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-values>span{text-align:right}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-values>span:nth-child(2){text-align:center}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-period>.szm-calendar-difference{display:grid;grid-template-columns:12px 68px;line-height:16px;font-size:11px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-hour-period .szm-calendar-difference strong{text-align:right;font-variant-numeric:tabular-nums}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours .szm-calendar-person-hours[data-recording-start]::after{margin-top:5px;font-size:10px;line-height:13px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours.szm-compact-summaries tbody .szm-absence-person>span:last-child{line-height:12px!important;font-size:11px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours.szm-compact-summaries .szm-absence-table tbody .szm-absence-person{padding:1px 8px!important}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours.szm-compact-summaries .szm-calendar-person-hours{margin-top:1px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours.szm-compact-summaries :is(.szm-calendar-hour-period,.szm-calendar-hour-values,.szm-calendar-hour-period>.szm-calendar-difference){line-height:12px;font-size:10px}
 #szm-brand-typography .staff-app .staff-leave-workspace .szm-calendar-with-hours.szm-compact-summaries .szm-calendar-person-hours[data-recording-start]::after{margin-top:2px;font-size:9px;line-height:11px}
}

