/* V022.6 | Reisende Menues / Urlaub & Abwesenheit / Kunden-Label
   Nur Layout. Keine Aenderung an Preisen, Urlaubs- oder Kundendaten. */
/* Vier Knöpfe links + sichtbarer Abstand vor der goldenen Preisliste.
   Die vorhandenen Knöpfe und Klickfunktionen bleiben erhalten. */
body>header #adminTopActions.ma-v226-single-row {
  display:flex!important;
  flex-flow:row nowrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  column-gap:6px!important;
  row-gap:0!important;
  width:100%!important;
  max-width:100%;
  min-width:0!important;
  padding-block:2px 4px!important;
}
body>header #adminTopActions.ma-v226-single-row > button,
body>header #adminTopActions.ma-v226-single-row > .ma-v11-menu {
  flex:0 0 auto!important;
  min-width:0!important;
  margin-block:0!important;
}
body>header #adminTopActions.ma-v226-single-row > button,
body>header #adminTopActions.ma-v226-single-row .ma-v11-menu-button {
  padding:10px 10px!important;
  min-height:48px!important;
  height:48px!important;
  font-size:12.5px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  border-radius:10px!important;
}
body>header #adminTopActions.ma-v226-single-row #maV18PartsButton {
  min-width:130px!important;
  /* Originalfarbe und bestehende Teileverkauf-Funktion beibehalten. */
}
body>header #adminTopActions.ma-v226-single-row .ma-v226-future-button {
  background:#315576!important;border-color:#4d82a7!important;color:#dcecf9!important;
  opacity:1!important;cursor:not-allowed!important;
  font-weight:650!important;
}
body>header #adminTopActions.ma-v226-single-row .ma-v226-future-button:disabled {filter:none!important}
body>header #adminTopActions.ma-v226-single-row #maHourlyButton {
  margin-left:auto!important;
  border-left-width:1px!important;
}
/* Mindestabstand selbst bei knappem Raum, ohne neue Knopfzeile. */
body>header #adminTopActions.ma-v226-single-row #maHourlyButton::before{content:none}
body>header #adminTopActions.ma-v226-single-row #maV226LogbookButton {margin-right:clamp(10px,1.5vw,28px)!important}
/* Bei geringer Breite kann die eine Zeile seitlich gescrollt werden;
   das Verwaltungsmenü klappt als fixed-Popup oberhalb des Scrollers auf. */
@media(max-width:1550px){
 body>header #adminTopActions.ma-v226-single-row{
   overflow-x:auto!important;overflow-y:hidden!important;
   scrollbar-width:thin;scrollbar-color:#78b2d6 #142a45;
   scroll-padding-inline:10px;
 }
 body>header #adminTopActions.ma-v226-single-row .ma-v11-menu-dropdown{
   position:fixed!important;
   top:var(--ma-v226-menu-top,165px)!important;
   left:var(--ma-v226-menu-left,60px)!important;
   right:auto!important;
   z-index:3000!important;
   max-height:calc(100dvh - var(--ma-v226-menu-top,165px) - 12px)!important;
   overflow:auto!important;
 }
}
/* Urlaub: klare Bereiche statt riesiger Freiflaechen. */
#view .ma-vacation {max-width:1600px;margin:0 auto}
#view .ma-vacation > .overview-heading {margin:0 0 11px;align-items:center;gap:12px}
#view .ma-vacation > .overview-heading h2 {margin:0;font-size:clamp(22px,1.45vw,28px)}
#view .ma-vacation > .overview-heading p {font-size:13px;line-height:1.45;margin-top:4px;max-width:940px}
#view .ma-vacation .ma-vacation-actions{gap:8px;flex-wrap:nowrap}
#view .ma-vacation .ma-vacation-actions>button{padding:8px 12px;font-size:12.5px;white-space:nowrap}
#view .ma-vacation .ma-notice {padding:7px 11px;font-size:11px}
#view .ma-vacation > .card {
  margin:11px 0!important;padding:17px 20px!important;border-radius:13px;
}
#view .ma-vacation > .card h3 {margin:0 0 11px!important;font-size:17px!important}
#view .ma-vacation #maVacationForm>.grid {
  display:grid!important;
  grid-template-columns:minmax(150px,1.14fr) minmax(148px,1.03fr) minmax(134px,.9fr) minmax(145px,1fr) minmax(145px,1fr)!important;
  align-items:end;gap:10px!important;
}
#view .ma-vacation #maVacationForm>.grid>label {min-width:0;margin:2px 0 7px!important;font-size:12.5px;font-weight:650}
#view .ma-vacation #maVacationForm>.grid input,
#view .ma-vacation #maVacationForm>.grid select {
  min-width:0;height:43px;margin-top:5px!important;padding:8px 10px!important;
  font-size:13px!important;
}
#view .ma-vacation #maVacationForm>button {min-height:41px;padding:9px 13px!important;font-size:13px!important}
#view .ma-vacation .ma-v226-plan-card>p.muted,
#view .ma-vacation .ma-v226-stats-card>p.muted{margin:9px 0 0;font-size:12px;line-height:1.5}
#view .ma-vacation .ma-v226-overview-toolbar {
  flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;
  gap:12px;margin-bottom:10px;
}
#view .ma-vacation .ma-v226-overview-toolbar h3{margin:0!important}
#view .ma-vacation .ma-v226-overview-toolbar label {
  display:flex!important;align-items:center;gap:9px;margin:0!important;
  font-size:12.5px;font-weight:650;white-space:nowrap;
}
#view .ma-vacation .ma-v226-overview-toolbar input {
  margin:0!important;height:39px!important;width:94px!important;
  padding:7px 9px!important;font-size:13px!important;
}
#view .ma-vacation .ma-v226-year-hint{font-size:11px;opacity:.75}
#view .ma-vacation .ma-v226-mini-stats{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:7px 0 13px;
}
#view .ma-vacation .ma-v226-mini-stats>div{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  min-width:0;padding:9px 12px;border-radius:9px;
  background:#1b405f;border:1px solid #437297;
}
#view .ma-vacation .ma-v226-mini-stats small {font-size:11px;color:#d0e5f5}
#view .ma-vacation .ma-v226-mini-stats strong {font-size:20px;color:#80f3de;font-variant-numeric:tabular-nums}
#view .ma-vacation .scroll table {border-spacing:0;width:100%}
#view .ma-vacation .scroll table th {padding:10px 11px!important;font-size:12.5px;background:#32688e;color:#fff}
#view .ma-vacation .scroll table td {padding:9px 11px!important;font-size:12.5px;vertical-align:middle}
#view .ma-vacation .scroll table tbody tr:nth-child(even){background:#244d6a33}
#view .ma-vacation .scroll table tbody tr:hover{background:#5794c333}
#view .ma-vacation .scroll table button{padding:7px 10px!important;font-size:12px!important}
#view .ma-vacation .ma-v226-empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:5px;margin:10px 0 0;padding:19px 12px;
  color:#a9cce2;background:#153651;border:1px dashed #437297;border-radius:11px;
  text-align:center;
}
#view .ma-vacation .ma-v226-empty strong{color:#e8f5ff;font-size:13px}
#view .ma-vacation .ma-v226-empty span{font-size:12px}
html[data-skin="classic"] #view .ma-vacation .ma-v226-mini-stats>div,
html[data-skin="classic"] #view .ma-vacation .ma-v226-empty{
  background:#eaf2fb;color:#2d506f;border-color:#b4cbe0;
}
html[data-skin="classic"] #view .ma-vacation .ma-v226-mini-stats small,
html[data-skin="classic"] #view .ma-vacation .ma-v226-empty strong{color:#284b69}
html[data-skin="classic"] #view .ma-vacation .ma-v226-mini-stats strong{color:#007e74}
@media(max-width:1030px){
 #view .ma-vacation #maVacationForm>.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #view .ma-vacation .ma-v226-mini-stats{gap:5px}
}
@media(max-width:620px){
 #view .ma-vacation > .overview-heading{align-items:flex-start}
 #view .ma-vacation .ma-vacation-actions{justify-content:flex-start;flex-wrap:wrap}
 #view .ma-vacation #maVacationForm>.grid{grid-template-columns:1fr!important}
 #view .ma-vacation .ma-v226-mini-stats{grid-template-columns:1fr!important}
 #view .ma-vacation .ma-v226-overview-toolbar{gap:6px}
 #view .ma-vacation .ma-v226-year-hint{display:none}
 #view .ma-vacation > .card{padding:14px!important}
}
