/* Scoped to the three Hauptadmin areas. Inputs retain a comfortable touch target. */
#fb253EmployeeCalendarCard,#fb250CalendarCard{padding:14px!important;margin-top:10px!important}
#fb253EmployeeCalendarCard .sectionTitle,#fb250CalendarCard .sectionTitle{gap:8px;margin-bottom:10px!important}
#fb253EmployeeCalendarCard h3,#fb250CalendarCard h3{font-size:18px!important;margin:0!important}
#fb253EmployeeCalendarCard label,#fb250CalendarCard label{font-size:12px!important;margin:5px 0 3px!important}
#fb253EmployeeCalendarCard input,#fb253EmployeeCalendarCard select,#fb250CalendarCard input,#fb250CalendarCard select{font-size:16px!important;min-height:44px!important;padding:8px!important;border-radius:10px!important;width:100%;min-width:0;box-sizing:border-box}
#fb253EmployeeCalendarCard button,#fb250CalendarCard button{font-size:12px!important;min-height:40px!important;padding:7px 10px!important;border-radius:10px!important}
#fb253EmployeeCalendarCard .rp453Selectors{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
#fb253EmployeeCalMonth{max-width:100%}
#fb253EmployeeCalSummary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0!important;background:none!important;border:0!important;margin:10px 0!important;font-size:12px!important}
#fb253EmployeeCalSummary>div{border:1px solid #e0e3e6;border-radius:9px;padding:7px;background:#fff}
#fb253EmployeeCalSummary span,#fb253EmployeeCalSummary b{display:block}#fb253EmployeeCalSummary b{font-size:16px;margin-top:2px}
#fb255HistCalendar,#fb250CalendarGrid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:4px!important;margin-top:9px!important}
#fb255HistCalendar{grid-template-columns:repeat(7,minmax(0,1fr))!important}
#fb255HistCalendar .rp453Day{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:3px;min-width:0;min-height:80px!important;padding:5px 2px!important;font-size:10px!important;text-align:left;color:#172030;background:#fff;border:1px solid #dbe0e5;white-space:normal}
.rp453Day b{font-size:13px}.rp453Day span,.rp453Day strong{font-size:9px;white-space:nowrap}.positive{color:#267045}.negative{color:#b22222}.rp453Weekday{text-align:center;font-size:10px;font-weight:bold}
#rp453HistoricalForm,#rp453SollForm{margin-top:12px;border-top:1px solid #ddd;padding-top:8px}
#rp453HistoricalForm summary,#rp453SollForm summary{font-size:14px;font-weight:700;cursor:pointer;min-height:36px;padding:5px}
#rp453HistoricalForm .fb254FormGrid,.rp453EntryFields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.rp453EntryFields>.fb254FormGrid{grid-column:1/-1}#fb254HistSiteBox{grid-column:1/-1}
#fb250CalendarCard .fb250CalendarToolbar{display:grid!important;grid-template-columns:1fr 1.4fr!important;gap:8px!important;margin-top:8px!important}
#fb250CalendarCard .fb250CalendarToolbar>div:last-child{grid-column:1/-1}
#fb250CalendarCard .fb250CalendarEdit{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#fb250CalendarGrid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
#fb250CalendarGrid .fb250CalDay{padding:6px 2px!important;min-height:65px!important;border-radius:8px!important;min-width:0!important;font-size:10px!important;overflow-wrap:anywhere}
#fb250CalendarGrid .fb250CalDay strong,#fb250CalendarGrid .fb250CalDay b{font-size:10px!important}
#fb250CalendarGrid .fb250CalDay .small{font-size:9px!important}
.rp453Session{padding:10px 0!important;font-size:13px!important;line-height:1.4}.rp453Session>b{font-size:14px!important}.rp453Session>span{float:right}.rp453Session .small{font-size:12px!important}
@media(min-width:600px){#fb253EmployeeCalendarCard .rp453Selectors{grid-template-columns:1.4fr 1fr!important}#fb253EmployeeCalSummary{grid-template-columns:repeat(4,minmax(0,1fr))}.rp453Day span,.rp453Day strong{font-size:11px}#fb255HistCalendar .rp453Day{padding:7px!important}}

/* 4.5.4: keep the rebuilt historical form compact on every opening. */
#workers #fb253EmployeeCalendarCard .rp453Selectors{gap:6px!important;margin:0!important}
#workers #fb253EmployeeCalendarCard input:not([type="checkbox"]),
#workers #fb253EmployeeCalendarCard select{height:44px!important;max-height:44px!important;min-height:44px!important;margin:0!important;padding:7px 9px!important;line-height:1.2!important}
#workers #fb253EmployeeCalendarCard .rp453Selectors>div,
#workers #rp453HistoricalForm .rp453EntryFields>div,
#workers #rp453HistoricalForm .fb254FormGrid>div{min-width:0!important;margin:0!important;padding:0!important}
#workers #rp453HistoricalForm .rp453EntryFields{gap:7px!important}
#workers #rp453HistoricalForm .rp453EntryFields>div{grid-column:1/-1}
#workers #rp453HistoricalForm .fb254FormGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
#workers #rp453HistoricalForm label{display:block!important;margin:3px 0!important;line-height:1.2!important}
#workers #rp453HistoricalForm button{margin:3px 0 0!important;min-height:40px!important}
