#content>.stats.calendar-status-pinned{position:sticky;top:var(--calendar-menu-height,70px);z-index:6;background:#07131f;padding:8px 0;margin-bottom:12px;box-shadow:0 8px 12px #07131f99;isolation:isolate}.planning-import-editor{max-width:1050px}.planning-import-editor .dialog-body{max-height:72dvh}.planning-import-editor #planning-import-mapping{margin:18px 0}.planning-import-editor input[type=file]{max-width:100%}.planning-import-editor table{font-size:12px}.planning-import-editor td{overflow-wrap:anywhere;max-width:340px}.planning-import-editor .import-row-error td:last-child{color:#ffb0b0}.planning-import-editor .import-row-skip{color:var(--muted)}.planning-import-editor h3{margin-top:18px}.planning-import-editor select{width:100%}
@media(max-width:700px){#content>.stats.calendar-status-pinned .stat{min-height:62px;padding:8px 10px}#content>.stats.calendar-status-pinned .stat strong{font-size:22px}.planning-import-editor th,.planning-import-editor td{padding:9px 7px}.planning-import-editor .dialog-footer{flex-wrap:wrap}.planning-import-editor .dialog-footer .actions{flex-wrap:wrap}}

#unplanned-pool{scroll-margin-top:calc(var(--calendar-menu-height,70px) + 8px)}

/* On phones the filter summary scrolls away with the page instead of covering the agenda. */
@media(max-width:700px){#content>.stats.calendar-status-pinned{position:static;top:auto;z-index:auto;box-shadow:none!important;isolation:auto}.mobile-filters{position:static;top:auto}#unplanned-pool{scroll-margin-top:var(--calendar-menu-height,70px)}}



/* Let the week header follow the page, below the menu and status summary. */
@media(min-width:701px){
 .calendar-wrap:has(>.admin-calendar){overflow:visible}
 #content>.calendar-workspace-controls.calendar-controls-pinned{position:sticky;top:calc(var(--calendar-menu-height,70px) + 8px);z-index:6;background:var(--panel);box-shadow:0 -9px 0 var(--bg),0 5px 9px #0003}
 .admin-calendar>.cal-head,.admin-calendar>.cal-head:first-child{position:sticky;top:calc(var(--calendar-menu-height,70px) + var(--calendar-controls-height,0px) + 16px);z-index:5;align-self:start;box-shadow:0 -9px 0 var(--bg),0 5px 9px #0003}
}
.admin-calendar .person .company-car-badge{display:flex;align-items:flex-start;font-size:10px;line-height:1.35;overflow-wrap:anywhere}
.admin-calendar .person .company-car-badge svg{width:20px;height:20px}
.mobile-person .company-car-badge{display:flex;font-size:11px}

/* The status/filter summary scrolls away; date controls and desktop day headings stay. */
#content>.stats.calendar-status-pinned{position:static;top:auto;z-index:auto;box-shadow:none;isolation:auto}
