:root {
  --visible-slots: 24;
  --navy-950: #0b1728;
  --navy-900: #10233d;
  --navy-800: #173657;
  --blue-700: #1769d2;
  --blue-600: #2580e8;
  --blue-100: #e8f2ff;
  --slate-700: #34465d;
  --slate-600: #52647a;
  --slate-500: #718096;
  --slate-300: #cfd8e5;
  --slate-200: #e2e8f0;
  --slate-100: #eef2f7;
  --slate-50: #f7f9fc;
  --white: #fff;
  --danger: #d64545;
  --resource-width: 280px;
  --group-height: 46px;
  --subgroup-height: 48px;
  --item-height: 78px;
  --shadow-sm: 0 1px 2px rgba(12, 30, 52, .06);
  --shadow-md: 0 10px 30px rgba(12, 30, 52, .12);
  --shadow-lg: 0 24px 70px rgba(6, 18, 35, .24);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  /*padding: 18px;*/
  overflow: hidden;
  color: var(--navy-950);
  background: #edf2f7;
  font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }

.scheduler-shell {
  min-width: 980px;
  min-height: calc(100vh - 36px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dbe3ed;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.scheduler-scroll {
  height: calc(100vh - 0px);
  min-height: 0;
  padding-bottom: 46px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.machine-focus-banner {
  position: sticky;
  top: var(--scheduler-top-header-height, 118px);
  z-index: 49;
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 16px;
  padding: 8px 16px;
  color: #17436f;
  background: linear-gradient(90deg, #edf6ff, #f7fbff);
  border-bottom: 1px solid #bcd7f1;
  box-shadow: 0 3px 9px rgba(31, 83, 135, .09);
}
.machine-focus-banner.is-visible { display: flex; }
.machine-focus-copy { display: flex; align-items: center; min-width: 0; gap: 10px; }
.machine-focus-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: #fff;
  background: var(--blue-700);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(23, 105, 210, .2);
}
.machine-focus-copy strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.machine-focus-copy small { display: block; margin-top: 2px; color: #607b97; font-size: 9px; }
.machine-focus-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 7px; }
.machine-focus-button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  gap: 6px;
  padding: 6px 10px;
  color: #365e86;
  background: #fff;
  border: 1px solid #b8cfe5;
  border-radius: 7px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.machine-focus-button:hover { background: #f6faff; border-color: #8eb6db; box-shadow: 0 2px 7px rgba(36, 90, 143, .1); }
.machine-focus-button-primary { color: #fff; background: var(--blue-700); border-color: var(--blue-700); }
.machine-focus-button-primary:hover { color: #fff; background: #0f5fbe; border-color: #0f5fbe; }
.machine-focus-button.is-hidden { display: none; }

.body-grid {
  display: grid;
  grid-template-columns: var(--resource-width) minmax(0, 1fr);
}

.resource-period-sticky-grid {
  position: sticky;
  top: calc(var(--scheduler-top-header-height, 118px) + var(--scheduler-focus-height, 0px));
  z-index: 48;
  display: grid;
  grid-template-columns: var(--resource-width) minmax(0, 1fr);
  box-shadow: var(--shadow-sm);
}

.top-header-grid {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: var(--resource-width) minmax(0, 1fr);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.corner-header {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  min-height: 118px;
  padding: 6px 12px;
  color: var(--navy-900);
  background: var(--white);
  border-right: 1px solid var(--slate-200);
}

.corner-header .period-navigation { min-height: 30px; justify-content: space-between; }
.corner-header .period-heading { min-width: 0; flex: 1 1 auto; align-items: center; text-align: center; }
.corner-header #monthYearLabel { color: var(--navy-900); font-size: 13px; line-height: 15px; }
.corner-header #weekLabel { color: var(--slate-500); font-size: 9px; line-height: 10px; }
.corner-header .period-navigation-button { width: 29px; height: 29px; flex: 0 0 29px; color: var(--blue-700); background: var(--blue-100); border-color: #bdd9f3; }
.corner-header .period-navigation-button:hover,.corner-header .period-navigation-button:focus-visible { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.corner-header .overdue-header-button,.corner-header .booking-request-header-button { width: 100%; min-height: 29px; justify-content: center; padding: 4px 9px; }
.corner-status-row { display:flex; width:100%; align-items:stretch; gap:5px; }
.corner-status-row > .overdue-header-button,.corner-status-row > .booking-request-header-button { width:auto; min-width:0; flex:1 1 0; padding-right:5px; padding-left:5px; }

.app-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #2b8df2, #1769d2);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 77, 173, .32);
  font-size: 17px;
}

.app-copy { min-width: 0; display: flex; flex-direction: column; }
.app-copy .title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.app-copy .subtitle { margin-top: 2px; color: #b9c8da; font-size: 11px; }

.timeline-header { min-width: 0; background: var(--white); }

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--slate-200);
}

.period-heading { display: flex; align-items: flex-start; flex: 0 0 auto; flex-direction: column; justify-content: center; gap: 1px; }
.period-navigation { display:flex; align-items:center; flex:0 0 auto; gap:8px; }
.period-navigation-button { display:inline-flex; width:30px; height:30px; align-items:center; justify-content:center; color:var(--blue-700); background:var(--blue-100); border:1px solid #bdd9f3; border-radius:7px; cursor:pointer; }
.period-navigation-button:hover,.period-navigation-button:focus-visible { color:#fff; background:var(--blue-600); border-color:var(--blue-600); outline:0; }
#monthYearLabel { font-size: 15px; line-height: 17px; letter-spacing: -.02em; }
#weekLabel { color: var(--slate-500); font-size: 10px; font-weight: 400; line-height: 12px; letter-spacing: 0; }
.x {
  padding: 1px 6px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.booking-only-filter {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  min-height: 38px;
  gap: 8px;
  padding: 7px 11px;
  color: var(--slate-600);
  background: #f8fafc;
  border: 1px solid #d8e1eb;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.booking-only-filter:hover { color: var(--navy-900); border-color: #b6c7d9; }
.booking-only-filter:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 128, 232, .12); }
.booking-only-filter input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.booking-only-check {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  color: transparent;
  background: #fff;
  border: 1px solid #b9c7d6;
  border-radius: 5px;
  font-size: 9px;
  transition: .15s ease;
}
.booking-only-filter input:checked + .booking-only-check { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.booking-only-filter.is-active { color: var(--blue-700); background: #f0f7ff; border-color: #a9cff8; }

.overdue-header-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 7px;
  padding: 7px 10px;
  color: #9b2732;
  background: #fff6f6;
  border: 1px solid #edc1c5;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.overdue-header-button:hover { background: #ffeded; border-color: #dc8e96; box-shadow: 0 3px 9px rgba(155, 39, 50, .13); transform: translateY(-1px); }
.overdue-header-button:focus { outline: 0; box-shadow: 0 0 0 3px rgba(198, 52, 65, .14); }
.overdue-header-button.is-clear { color: #42715a; background: #f3faf6; border-color: #c9e5d5; }
.overdue-header-button.is-clear:hover { background: #edf8f1; border-color: #a9d5bc; }
.overdue-header-count {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  color: #fff;
  background: #b62f3b;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}
.overdue-header-button.is-clear .overdue-header-count { background: #35815c; }
.booking-request-header-button { display:inline-flex; align-items:center; min-height:36px; gap:6px; padding:7px 10px; color:#8b1f29; background:#fff2f3; border:1px solid #e7afb5; border-radius:8px; cursor:pointer; font-size:10px; font-weight:750; }
.booking-request-header-button b { display:grid; min-width:20px; height:20px; padding:0 5px; place-items:center; color:#fff; background:#b52e3b; border-radius:999px; font-size:9px; }
.booking-request-header-button.is-empty { color:#26704b; background:#edf9f2; border-color:#b9dfca; }
.booking-request-header-button.is-empty b { background:#2b8a5a; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.machine-search {
  position: relative;
  width: min(224px, 20vw);
  min-width: 150px;
  margin-left: 0;
}

.machine-search-control {
  display: flex;
  align-items: center;
  min-height: 38px;
  overflow: hidden;
  color: var(--slate-500);
  background: #f8fafc;
  border: 1px solid #d8e1eb;
  border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.machine-search-control:focus-within {
  background: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 128, 232, .12);
}

.machine-search.is-filtered .machine-search-control {
  background: #f0f7ff;
  border-color: #a9cff8;
}

.machine-search-control > i {
  flex: 0 0 auto;
  margin-left: 12px;
  color: #8192a7;
  font-size: 12px;
}

#machineSearchInput {
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 7px 9px;
  color: var(--navy-900);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

#machineSearchInput::placeholder { color: #8999ac; }

.machine-search-clear {
  display: none;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-right: 5px;
  padding: 0;
  color: var(--slate-500);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.machine-search-clear.is-visible { display: grid; place-items: center; }
.machine-search-clear:hover { color: var(--navy-900); background: #e3ebf4; }

.machine-search-results {
  position: absolute;
  z-index: 90;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  display: none;
  max-height: 310px;
  overflow-y: auto;
  padding: 5px;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 9px;
  box-shadow: 0 16px 38px rgba(10, 31, 55, .18);
}

.machine-search-results.is-open { display: block; }

.machine-search-result {
  display: block;
  width: 100%;
  padding: 9px 10px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.machine-search-result:hover,
.machine-search-result.is-active {
  background: var(--blue-100);
}

.machine-search-result-name {
  display: block;
  overflow: hidden;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.machine-search-result-path {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--slate-500);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.machine-search-empty {
  padding: 13px 11px;
  color: var(--slate-500);
  font-size: 11px;
  text-align: center;
}

.resource-filter {
  position: relative;
  flex: 0 0 auto;
}

.resource-filter-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 7px;
  padding: 7px 10px;
  color: var(--slate-600);
  background: #fff;
  border: 1px solid #d8e1eb;
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}

.resource-filter-button:hover {
  color: var(--navy-900);
  background: #f8fafc;
  border-color: #becbda;
}

.resource-filter.is-open .resource-filter-button,
.resource-filter.is-filtered .resource-filter-button {
  color: var(--blue-700);
  background: #f0f7ff;
  border-color: #a9cff8;
}

.resource-filter.is-open .resource-filter-button {
  box-shadow: 0 0 0 3px rgba(37, 128, 232, .12);
}

.resource-filter-count {
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue-700);
  border-radius: 999px;
  font-size: 9px;
  line-height: 18px;
  text-align: center;
}

.resource-filter-count.is-visible { display: inline-flex; }
.resource-filter-chevron { margin-left: 1px; font-size: 8px; transition: transform .15s ease; }
.resource-filter.is-open .resource-filter-chevron { transform: rotate(180deg); }

.resource-filter-popover {
  position: absolute;
  z-index: 95;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  width: 410px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 11px;
  box-shadow: 0 18px 48px rgba(10, 31, 55, .21);
}

.resource-filter.is-open .resource-filter-popover { display: block; }

.resource-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.resource-filter-header strong { display: block; font-size: 13px; }
.resource-filter-header span { display: block; margin-top: 2px; color: #b9c8da; font-size: 9px; }
.resource-filter-close {
  width: 29px;
  height: 29px;
  padding: 0 0 2px;
  color: #c7d3e0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 7px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.resource-filter-close:hover { color: #fff; background: rgba(255,255,255,.13); }

.resource-filter-body {
  max-height: min(420px, calc(100vh - 210px));
  overflow-y: auto;
  padding: 5px 16px 14px;
}

.resource-filter-section { padding-top: 13px; }
.resource-filter-section + .resource-filter-section { margin-top: 12px; border-top: 1px solid var(--slate-200); }
.resource-filter-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.resource-filter-section-title > span {
  color: var(--navy-900);
  font-size: 9px;
  line-height: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.resource-filter-section-title button {
  padding: 2px 0;
  color: var(--blue-700);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 9px;
}
.resource-filter-section-title button:hover { text-decoration: underline; }

.resource-filter-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.resource-filter-option {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 34px;
  gap: 8px;
  padding: 7px 9px;
  color: var(--slate-700);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 10px;
}

.resource-filter-option:hover { color: var(--navy-900); background: #f1f6fc; border-color: #cbd8e6; }
.resource-filter-option input { flex: 0 0 auto; margin: 0; accent-color: var(--blue-700); }
.resource-filter-option span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resource-filter-option.is-checked { color: var(--navy-900); background: #eef6ff; border-color: #b8d8fa; }
.resource-filter-empty { grid-column: 1 / -1; padding: 8px 2px; color: var(--slate-500); font-size: 10px; }

.resource-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: #f8fafc;
  border-top: 1px solid var(--slate-200);
}

.resource-filter-reset,
.resource-filter-apply {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.resource-filter-reset { color: var(--slate-600); background: transparent; border: 1px solid transparent; }
.resource-filter-reset:hover { color: var(--navy-900); background: #eaf0f6; }
.resource-filter-apply { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--blue-700); border: 1px solid var(--blue-700); }
.resource-filter-apply:hover { background: #0f5fbe; }

.view-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 4px;
  background: var(--slate-100);
  border: 1px solid #e0e6ee;
  border-radius: 9px;
}

.view-link {
  min-width: 58px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--slate-600);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: .16s ease;
}

.view-link:hover { color: var(--navy-950); background: rgba(255,255,255,.65); }
.view-link.active { color: var(--navy-950); background: var(--white); box-shadow: 0 1px 5px rgba(19,42,70,.13); }

.timeline-header-scroll { min-width: 0; overflow: hidden; }
.period-row { min-height: 27px; }
.date-label {
  display: flex;
  align-items: center;
  height: 27px;
  padding: 0 12px;
  color: var(--slate-600);
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  font-size: 11px;
  font-weight: 600;
}

#timeHeaderRow,
.timeline-days-grid,
.timeline-row {
  display: grid;
  grid-template-columns: repeat(var(--visible-slots), minmax(0, 1fr));
}

#timeHeaderRow { position: relative; height: 32px; background: #fbfcfe; }
.timeline-days-grid:empty { display: none; }
.timeline-days-grid { height: 26px; background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }

.time-cell,
.day-cell {
  min-width: 0;
  border-right: 1px solid var(--slate-200);
  color: var(--slate-600);
  text-align: center;
  overflow: hidden;
}

.time-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 1px;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.day-cell { padding: 5px 3px; font-size: 10px; font-weight: 600; }
.time-cell.is-weekend { background: #f4f6f9; }
.time-cell.week-start { border-left: 1px solid #aebdcd; }
.month-cell { flex-direction: column; line-height: 1.08; }
.month-daynum { color: var(--slate-700); font-size: 10px; font-weight: 700; }
.month-monthnum { min-height: 9px; margin-top: 2px; color: var(--slate-500); font-size: 8px; }
.year-month-cell { color:var(--slate-700); background:#f8fafc; border-right-color:#b9c8d7; font-size:10px; font-weight:750; letter-spacing:.02em; }

.body-grid {
  min-height: calc(100vh - 214px);
  overflow: visible;
}
.resources-outer { min-width: 0; background: #fbfcfe; border-right: 1px solid var(--slate-200); }
.resources-column-heading,
.timeline-column-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 6px 13px;
  color: var(--slate-600);
  background: #f4f7fa;
  border-bottom: 1px solid var(--slate-200);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.resources-column-heading { border-right: 1px solid var(--slate-200); }
.timeline-column-heading { padding-right: 12px; padding-left: 12px; }
.resources-column-heading-tools { align-items: stretch; flex-direction: column; justify-content: center; gap: 5px; }
.resources-column-heading-tools > div:first-child { display:flex; align-items:center; justify-content:space-between; }
.resources-column-heading i { color: #8b9bb0; font-size: 12px; }
.resource-taxonomy-create { display:grid; width:23px; height:23px; padding:0; place-items:center; color:#fff; background:#2378d1; border:1px solid #1667bb; border-radius:6px; box-shadow:0 2px 5px rgba(21,91,159,.18); cursor:pointer; transition:background .15s ease,transform .15s ease,box-shadow .15s ease; }
.resources-column-heading .resource-taxonomy-create i { color:#fff; font-size:10px; }
.resource-taxonomy-create:hover { background:#1469be; box-shadow:0 3px 8px rgba(21,91,159,.25); transform:translateY(-1px); }
.resource-taxonomy-create:focus { outline:2px solid rgba(35,120,209,.28); outline-offset:2px; }
.resource-tree-actions { display:flex; align-items:center; gap:12px; }
.resource-tree-actions button { padding:0; color:#58738f; background:transparent; border:0; cursor:pointer; font-size:9px; font-weight:650; text-transform:none; letter-spacing:0; }
.resource-tree-actions button:hover { color:var(--blue-700); }
.resource-tree-actions button i { margin-right:4px; font-size:10px; }
.resources-inner { min-width: 0; }

.resource-row {
  display: flex;
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid var(--slate-200);
  transition: background .15s ease;
}

.resource-row:hover { background: #f2f7fd; }
.resource-group {
  height: var(--group-height);
  padding: 0 14px;
  color: var(--navy-900);
  background: #edf2f7;
  font-size: 12px;
  font-weight: 750;
}

.resource-subgroup {
  height: var(--subgroup-height);
  padding: 0 14px 0 27px;
  color: var(--slate-700);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
}

.resource-item {
  height: var(--item-height);
  justify-content: space-between;
  gap: 8px;
  padding: 8px 13px 8px 40px;
  background: var(--white);
}

.toggle {
  display: grid;
  width: 23px;
  height: 23px;
  margin: 0 3px 0 -5px;
  padding: 0;
  place-items: center;
  color: #718096;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}
.toggle:hover { color: var(--blue-700); background: #dfeaf7; }
.toggle i { font-size: 10px; }

.resource-item-main { display: flex; align-items: center; min-width: 0; gap: 10px; }
.resource-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.resource-icon:hover { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,128,232,.12); transform: scale(1.04); }
.resource-icon.is-placeholder { padding: 9px; object-fit: contain; background: #f2f6fa; }

.resource-image-popover { pointer-events:auto; }
.resource-tracking-link { width:100%; margin-top:10px; padding:8px 10px; border:1px solid #c9d8e8; border-radius:8px; background:#f4f8fc; color:#175a9c; font:600 12px/1.2 inherit; cursor:pointer; }
.resource-tracking-link:hover { background:#e8f2fc; border-color:#6ba8df; }
.resource-tracking-link i { margin-right:7px; }
.resource-image-popover-actions { display:grid; gap:7px; margin-top:10px; }
.resource-image-popover-actions .resource-tracking-link { margin-top:0; }
.resource-edit-link { width:100%; padding:8px 9px; color:#fff; background:#2378d1; border:1px solid #1667bb; border-radius:8px; font:650 11px/1.2 inherit; cursor:pointer; }
.resource-edit-link:hover { background:#1469be; }
.resource-edit-link i { margin-right:6px; }

.management-object-direct-focus { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 12px; padding:10px 12px; color:#174f82; background:#eaf4fe; border:1px solid #bedaf3; border-radius:8px; font-size:12px; font-weight:650; }
.management-object-direct-focus[hidden] { display:none; }
.management-object-direct-focus button { flex:0 0 auto; padding:6px 9px; color:#1763a5; background:#fff; border:1px solid #b8d3eb; border-radius:6px; font:650 11px/1.2 inherit; cursor:pointer; }
.management-object-direct-focus button:hover { background:#f5faff; border-color:#72a9d5; }
.management-object-direct-focus button i { margin-right:6px; }
.management-list-search.is-direct-focus { opacity:.58; }

.booking-price-preview { border:1px solid #cfe0f1; border-radius:10px; padding:12px 14px; background:#f4f8fc; color:#314a63; font-size:12px; line-height:1.55; }
.booking-price-preview strong { color:#102f50; }

.management-scope-list { display:none; margin-top:8px; max-height:180px; overflow:auto; padding:8px; border:1px solid #d7e2ed; border-radius:8px; background:#f8fafc; gap:6px; }
.management-scope-list.is-visible { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.management-scope-option { display:flex; align-items:center; gap:8px; padding:7px 8px; border-radius:7px; background:#fff; border:1px solid #e4ebf2; font-size:12px; color:#29445f; }
.management-scope-option input { margin:0; }

.tracking-modal { width:min(920px,94vw); }
.tracking-modal-body { position:relative; height:min(570px,65vh); background:#eaf0f5; }
.tracking-map { width:100%; height:100%; visibility:hidden; }
.tracking-map.is-visible { visibility:visible; }
.tracking-map .leaflet-control-attribution { font-size:9px; }
.tracking-map-state { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#526b83; font-size:13px; }
.tracking-map-state.is-hidden { display:none; }
.tracking-marker-label {
  min-width:185px;
  padding:8px 10px;
  color:#102a43;
  background:rgba(255,255,255,.97);
  border:1px solid #b9c9d9;
  border-radius:7px;
  box-shadow:0 6px 18px rgba(16,42,67,.18);
  font-size:10px;
  line-height:1.45;
}
.tracking-marker-label::before { border-top-color:#b9c9d9; }
.tracking-marker-label strong { display:block; margin-bottom:3px; font-size:11px; }
.tracking-marker-label span { display:block; color:#526b83; }
.tracking-modal .btn-modal[href] { text-decoration:none; box-sizing:border-box; }
.resource-name { overflow: hidden; color: var(--navy-900); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.resource-item-status { display: flex; align-items: center; gap: 5px; color: var(--slate-500); font-size: 9px; }
.resource-drag-handle {
  display: grid;
  width: 24px;
  height: 24px;
  margin-left: auto;
  flex: 0 0 24px;
  place-items: center;
  color: #8296aa;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: grab;
  opacity: .38;
  transition: color .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}
.resource-row:hover .resource-drag-handle,.resource-drag-handle:hover { color:#276fab; background:#e6f0fa; border-color:#c6d9ec; opacity:1; }
.resource-drag-handle:active { cursor:grabbing; }
.resource-row.is-dragging { opacity:.42; }
.resource-row.is-drop-target { position:relative; z-index:2; color:#17633d; background:#e7f7ee; box-shadow:inset 0 0 0 2px #36a269; }
.resource-row.is-drop-target .resource-drag-handle { opacity:1; }
.resource-tree-drag-active .resource-group,.resource-tree-drag-active .resource-subgroup { transition:background .1s ease,box-shadow .1s ease,color .1s ease; }
.resource-tree-move-busy .resource-drag-handle { pointer-events:none; opacity:.2; }
.resource-group-count { width:34px; flex:0 0 34px; margin:0 7px 0 0; color:#71869b; font-size:10px; font-weight:650; font-variant-numeric:tabular-nums; text-align:right; }
.resource-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; }
.status-on-site { background: #22a06b; box-shadow: 0 0 0 3px rgba(34,160,107,.12); }
.status-maintenance { background: #e59a18; box-shadow: 0 0 0 3px rgba(229,154,24,.12); }
.resource-filter-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  padding: 34px 20px;
  color: var(--slate-500);
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
}
.resource-filter-empty i { color: #8fa3b8; font-size: 22px; }

.timeline-body-outer {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
}

.timeline-row { position: relative; min-width: 0; border-bottom: 1px solid var(--slate-200); }
.timeline-row.group-row { height: var(--group-height); background: #f1f4f8; }
.timeline-row.subgroup-row { height: var(--subgroup-height); background: #f8fafc; }
.timeline-row[data-row-type="item"] { height: var(--item-height); background: #fff; }
.timeline-row[data-row-type="item"]:hover { background: #fbfdff; }
.timeline-row[data-row-type="item"].is-maintenance-locked {
  background-color: #fff8eb;
  background-image: repeating-linear-gradient(135deg, rgba(202,119,15,.10) 0, rgba(202,119,15,.10) 7px, transparent 7px, transparent 15px);
}
.resource-row.resource-item.is-maintenance-locked {
  background-color: #fff8eb;
  background-image: repeating-linear-gradient(135deg, rgba(202,119,15,.08) 0, rgba(202,119,15,.08) 7px, transparent 7px, transparent 15px);
}

.timeline-slot {
  position: relative;
  min-width: 0;
  grid-row: 1;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Nur die im Zeitkopf sichtbaren Hauptgrenzen in das Grid verlängern. */
html[data-scheduler-view="day"] .timeline-slot:nth-child(6n)::after,
html[data-scheduler-view="week"] .timeline-slot:nth-child(6n)::after,
html[data-scheduler-view="month"] .timeline-slot.month-day-boundary::after,
html[data-scheduler-view="quarter"] .timeline-slot.month-day-boundary::after,
html[data-scheduler-view="year"] .timeline-slot.year-month-boundary::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  background: #dce4ed;
}

/* Tagesgrenzen in der Wochenansicht leicht deutlicher als 6-Stunden-Grenzen. */
html[data-scheduler-view="week"] .timeline-slot:nth-child(24n)::after {
  background: #c7d3e0;
}

.collapsed-children { display: none !important; }

.event-block {
  position: relative;
  z-index: 2;
  grid-row: 1;
  align-self: center;
  height: 42px;
  min-width: 5px;
  margin: 0 3px;
  padding: 7px 11px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #287dde, #1769c2);
  border: 1px solid rgba(4, 51, 107, .16);
  border-radius: 7px;
  box-shadow: 0 3px 8px rgba(20, 75, 139, .18);
  cursor: move;
  user-select: none;
  transition: filter .15s ease, box-shadow .15s ease, transform .15s ease;
}
.event-block-month-day-grid { position: absolute; margin: 0; }
.event-block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,.10), transparent 35%);
}
.event-block:hover { filter: brightness(1.04); box-shadow: 0 5px 13px rgba(20,75,139,.26); transform: translateY(-1px); }
.event-title { position: relative; z-index: 1; overflow: hidden; font-size: 15px; margin-top: -5px;  font-weight: 700; line-height: 19px; text-overflow: ellipsis; white-space: nowrap; }
.event-time { position: relative; z-index: 1; overflow: hidden; margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 11px; opacity: .92; text-overflow: ellipsis; white-space: nowrap; }
.event-time i { margin: 0 3px; font-size: 6px; }
.event-block.is-maintenance { background: linear-gradient(135deg, #dc8d12, #b66b05) !important; border-color: rgba(106,58,0,.18) !important; }
.event-block.is-maintenance::before { content: "\f0ad"; float: left; margin-right: 6px; font-family: FontAwesome; font-size: 10px; }

.event-buffer-block {
  position: absolute;
  z-index: 1;
  top: 50%;
  height: 57px;
  min-width: 2px;
  overflow: hidden;
  color: #5d6f83;
  background-color: rgba(226, 232, 240, .82);
  background-image: repeating-linear-gradient(135deg, rgba(96, 117, 140, .20) 0, rgba(96, 117, 140, .20) 5px, transparent 5px, transparent 10px);
  border: 1px dashed #9aabba;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  transform: translateY(-50%);
  box-sizing: border-box;
  pointer-events: auto;
}
.event-buffer-block span {
  position: absolute;
  top: 50%;
  left: 7px;
  overflow: hidden;
  max-width: calc(100% - 12px);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateY(-50%);
}
.event-buffer-block i { margin-right: 3px; }

.event-block.is-overdue {
  height: 60px;
  padding-top: 24px;
  background: linear-gradient(135deg, #b62f3b, #851d27) !important;
  border-color: #711822 !important;
  box-shadow: 0 5px 14px rgba(155, 33, 46, .3);
}

.scheduler-page-footer {
  position: fixed;
  z-index: 70;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 8px 18px;
  color: #5e7188;
  background: rgba(247, 249, 252, .97);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -3px 12px rgba(15, 38, 65, .07);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
}
.scheduler-footer-actions { display: flex; align-items: center; gap: 5px; }
.scheduler-footer-brand { display:flex; align-items:center; gap:14px; white-space:nowrap; }
.scheduler-footer-brand form { margin:0; display:inline-flex; }
.scheduler-footer-product { display:flex; align-items:flex-start; flex-direction:column; line-height:1.15; }
.scheduler-footer-product > a { margin-top:2px; color:#2b6faf; text-decoration:none; font-size:10px; font-weight:700; }
.scheduler-footer-product > a:hover,.scheduler-footer-product > a:focus-visible { color:#174f87; text-decoration:underline; }
.scheduler-theme-toggle {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:0 8px;
  color:#71849a;
  background:#edf3f9;
  border:1px solid #d4e0ec;
  border-radius:999px;
  cursor:pointer;
  user-select:none;
}
.scheduler-theme-toggle input { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }
.scheduler-theme-toggle > i { width:12px; text-align:center; font-size:11px; }
.scheduler-theme-switch { position:relative; width:31px; height:17px; background:#b9c7d6; border-radius:999px; transition:background .18s ease; }
.scheduler-theme-switch::after { content:""; position:absolute; top:3px; left:3px; width:11px; height:11px; background:#fff; border-radius:50%; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .18s ease; }
.scheduler-theme-toggle input:checked + .scheduler-theme-switch { background:#2678d4; }
.scheduler-theme-toggle input:checked + .scheduler-theme-switch::after { transform:translateX(14px); }
.scheduler-theme-toggle input:focus-visible + .scheduler-theme-switch { box-shadow:0 0 0 3px rgba(37,128,232,.22); }
.scheduler-theme-toggle input:disabled + .scheduler-theme-switch { opacity:.65; }
.scheduler-render-metric {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  color: #40566f;
  background: #edf3f9;
  border: 1px solid #d4e0ec;
  border-radius: 5px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scheduler-render-metric.is-running { color: #1769c2; }
.scheduler-render-metric.is-error { color: #a12b34; background: #fff1f2; border-color: #f0c8cc; }
.scheduler-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: #687b91;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}
.scheduler-footer-link:hover { color: var(--blue-700); background: #eaf2fb; }
.scheduler-loading-overlay {
  position: fixed;
  z-index: 450;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 35, 61, .18);
  backdrop-filter: blur(1px);
}
.scheduler-loading-overlay.is-visible { display: flex; }
.scheduler-loading-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  padding: 14px 18px;
  color: #173657;
  background: #fff;
  border: 1px solid #d5e1ee;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(13, 35, 61, .22);
  font-size: 13px;
}
.scheduler-loading-card i { color: #2477d4; font-size: 17px; }
.event-block.is-overdue:hover { box-shadow: 0 7px 18px rgba(155, 33, 46, .4); }
.event-block.is-overdue .event-title { margin-top: 0; font-size: 13px; line-height: 16px; }
.event-block.is-overdue .event-time { margin-top: 1px; font-size: 10px; line-height: 10px; }
.event-overdue-badge {
  position: absolute;
  z-index: 3;
  top: 4px;
  left: 7px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 14px);
  min-height: 19px;
  gap: 5px;
  padding: 3px 8px;
  overflow: hidden;
  color: #8b1f29;
  background: #fff;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 650;
  line-height: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}
.event-overdue-badge i { flex: 0 0 auto; font-size: 9px; }
.event-overdue-badge.is-compact span { display: none; }
.event-overdue-badge.is-compact { width: 23px; padding-right: 0; padding-left: 0; justify-content: center; }

.resize-handle { position: absolute; z-index: 4; top: 0; bottom: 0; width: 7px; cursor: ew-resize; opacity: 0; transition: opacity .15s; }
.resize-handle.left { left: 0; }
.resize-handle.right { right: 0; }
.resize-handle::after { content: ""; position: absolute; top: 11px; bottom: 11px; left: 3px; width: 1px; background: rgba(255,255,255,.78); }
.event-block:hover .resize-handle { opacity: 1; }
.create-ghost { z-index: 5; border-radius: 7px; pointer-events: none; }
.now-line { position: absolute; z-index: 4; top: 0; bottom: 0; width: 2px; background: #ef4444; pointer-events: none; }

/* Dialog */
.event-modal-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  background: rgba(5, 16, 31, .58);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity .18s ease, visibility .18s ease;
  pointer-events: none;
}
.event-modal-overlay.is-visible { visibility: visible; opacity: 1; pointer-events: auto; }

.event-modal {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  transform: translateY(8px) scale(.99);
  transition: transform .18s ease;
}
.event-modal-overlay.is-visible .event-modal { transform: translateY(0) scale(1); }

.event-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.event-modal-header-main, .event-modal-header-actions { display: flex; align-items: center; }
.event-modal-header-main { min-width: 0; gap: 12px; }
.modal-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; background: rgba(46,139,239,.18); border: 1px solid rgba(123,188,255,.25); border-radius: 9px; color: #8fc8ff; font-size: 16px; }
.event-modal-header h2 { margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.event-modal-subtitle { margin-top: 3px; overflow: hidden; color: #b9c8da; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.event-modal-header-actions { gap: 7px; }

.event-modal-close {
  width: 34px;
  height: 34px;
  margin-left: 3px;
  padding: 0 0 3px;
  color: #c7d3e0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}
.event-modal-close:hover { color: #fff; background: rgba(255,255,255,.13); }

.event-modal-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--slate-200);
}
.event-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 57px;
  padding: 0 8px;
  color: var(--slate-500);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}
.event-step span { display: grid; width: 22px; height: 22px; place-items: center; background: #e3e9f0; border-radius: 50%; color: var(--slate-600); font-size: 10px; }
.event-step:hover { color: var(--navy-900); }
.event-step.is-active { color: var(--blue-700); border-bottom-color: var(--blue-600); }
.event-step.is-active span { color: #fff; background: var(--blue-600); box-shadow: 0 0 0 4px rgba(37,128,232,.1); }

.event-modal-body { max-height: calc(100vh - 283px); min-height: 350px; overflow-y: auto; padding: 24px; }
.event-wizard-pane { display: none; }
.event-wizard-pane.is-active { display: block; animation: pane-in .16s ease; }
@keyframes pane-in { from { opacity: 0; transform: translateX(4px); } to { opacity: 1; transform: none; } }

.pane-heading { margin-bottom: 19px; }
.pane-heading h3 { margin: 0; color: var(--navy-900); font-size: 15px; }
.pane-heading p { margin: 3px 0 0; color: var(--slate-500); font-size: 11px; }
.event-modal-grid { display: grid; gap: 16px 18px; }
.event-modal-grid.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.event-modal-row { min-width: 0; }
.event-modal-row.full-row { grid-column: 1 / -1; }
.event-modal-label { display: block; margin: 0 0 6px; color: var(--slate-700); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; }

.event-modal-value {
  display: block;
  width: 100%;
  min-height: 41px;
  padding: 9px 11px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid #ccd6e2;
  border-radius: 7px;
  outline: 0;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.event-modal-value:hover { border-color: #aebdce; }
.event-modal-value:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37,128,232,.12); }
.event-modal-value[readonly] { color: var(--slate-600); background: #f4f7fa; }
textarea.event-modal-value { min-height: 84px; resize: vertical; }
select.event-modal-value { cursor: pointer; }
.input-with-icon { position: relative; }
.input-with-icon i { position: absolute; z-index: 1; top: 13px; left: 12px; color: #8595a9; }
.input-with-icon .event-modal-value { padding-left: 34px; }

.event-modal-checkbox-row { position: relative; display: flex; align-items: center; min-height: 41px; gap: 9px; color: var(--slate-700); cursor: pointer; font-size: 12px; }
.event-modal-checkbox-row input { position: absolute; top: 50%; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; transform: translateY(-50%); pointer-events: none; }
.switch { position: relative; width: 35px; height: 20px; flex: 0 0 35px; background: #cbd5e1; border-radius: 999px; transition: background .18s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .18s; }
.event-modal-checkbox-row input:checked + .switch { background: var(--blue-600); }
.event-modal-checkbox-row input:checked + .switch::after { transform: translateX(15px); }
.event-modal-checkbox-row input:focus-visible + .switch { box-shadow: 0 0 0 3px rgba(37,128,232,.18); }

.color-control { display: flex; align-items: center; min-height: 41px; gap: 9px; padding: 5px 10px; border: 1px solid #ccd6e2; border-radius: 7px; color: var(--slate-600); font-size: 11px; }
.event-modal-color-input { width: 29px; height: 29px; padding: 2px; background: #fff; border: 0; border-radius: 6px; cursor: pointer; }

.event-modal-hint { display: flex; align-items: flex-start; gap: 8px; margin-top: 19px; padding: 10px 12px; color: #41698f; background: #f0f7ff; border: 1px solid #d7eaff; border-radius: 7px; font-size: 10px; }
.event-modal-hint i { margin-top: 1px; color: var(--blue-600); }

.event-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 70px; padding: 13px 16px; background: #f8fafc; border-top: 1px solid var(--slate-200); }
.event-modal-footer-left { display:flex; flex:0 0 auto; align-items:center; flex-wrap:nowrap; gap:7px; }
.event-modal-footer-right { display: flex; flex:0 1 auto; min-width:0; align-items: center; justify-content: flex-end; flex-wrap:nowrap; gap: 7px; }
.event-modal-footer .btn-modal { white-space:nowrap; }
.btn-modal { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; gap: 7px; padding: 8px 13px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 11px; font-weight: 650; transition: .15s ease; }
.btn-modal[hidden] { display: none !important; }
.btn-modal:hover { transform: translateY(-1px); }
.btn-modal-light { min-height: 33px; padding: 7px 10px; color: #d9e5f1; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.btn-modal-light:hover { color: #fff; background: rgba(255,255,255,.13); }
.btn-modal-primary { min-width: 100px; color: #fff; background: var(--blue-700); border-color: var(--blue-700); box-shadow: 0 4px 10px rgba(23,105,210,.2); }
.btn-modal-primary:hover { background: #0f5fbe; }
.btn-modal-secondary { color: var(--navy-900); background: #fff; border-color: #cbd5e1; }
.btn-modal-secondary:hover { border-color: #9cabbc; background: #f6f8fb; }
.btn-modal-ghost { color: var(--slate-600); background: transparent; }
.btn-modal-ghost:hover { color: var(--navy-900); background: #edf2f7; }
.btn-modal-danger { color: var(--danger); background: #fff; border-color: #efc7c7; }
.btn-modal-danger:hover { color: #b82f2f; background: #fff4f4; border-color: #e6a9a9; }

/* Aktionsdialoge: Schaden, Rückgabe und ihre Bestätigungen */
.action-modal-overlay { z-index: 1100; }
.action-modal { width: min(760px, 100%); }
.action-modal-body { min-height: 0; max-height: calc(100vh - 220px); }
.action-modal-footer .required-note { color: var(--slate-500); font-size: 10px; }
.action-modal-error {
  display: none;
  margin: 0 0 16px;
  padding: 10px 12px;
  color: #9e2d2d;
  background: #fff3f3;
  border: 1px solid #efcaca;
  border-radius: 7px;
  font-size: 11px;
}
.action-modal-error.is-visible { display: block; }
.modal-icon-success { color: #8fe0b4; background: rgba(35, 150, 91, .18); border-color: rgba(112, 220, 160, .24); }
.switch-danger { background: #cbd5e1; }
.event-modal-checkbox-row input:checked + .switch-danger { background: var(--danger); }

/* Maschinenbild hochladen */
.machine-image-modal-overlay { z-index: 1150; }
.machine-image-modal { width: min(820px, 100%); }
.machine-image-modal-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding: 24px;
}
.scheduler-popup-toast {
  position:absolute;
  z-index:50;
  top:68px;
  right:18px;
  display:flex;
  align-items:flex-start;
  max-width:min(440px,calc(100% - 36px));
  gap:8px;
  padding:10px 12px;
  visibility:hidden;
  opacity:0;
  color:#fff;
  background:#a92f2f;
  border:1px solid rgba(255,255,255,.25);
  border-radius:8px;
  box-shadow:0 10px 28px rgba(83,16,24,.3);
  font-size:11px;
  font-weight:650;
  line-height:1.4;
  transform:translateY(-5px);
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.scheduler-popup-toast.is-visible { visibility:visible; opacity:1; transform:none; }
.scheduler-popup-toast i { margin-top:2px; flex:0 0 auto; }
.scheduler-popup-toast.is-success { color:#155d39; background:#edf9f2; border-color:#a9d8bd; box-shadow:0 10px 28px rgba(21,93,57,.22); }
.scheduler-popup-toast.is-error { color:#8b2630; background:#fff1f2; border-color:#efb9be; }

.machine-image-preview-panel,
.machine-image-upload-panel { min-width: 0; }

.machine-image-preview-frame {
  display: grid;
  width: 100%;
  min-height: 230px;
  padding: 14px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #eef3f8, #f8fafc);
  border: 1px solid #d8e2ec;
  border-radius: 11px;
}

#machineImagePreview {
  display: block;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(16, 35, 61, .13);
}

.machine-image-empty-text {
  display: none;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.machine-image-preview-frame.is-empty {
  align-content: center;
  gap: 10px;
}
.machine-image-preview-frame.is-empty #machineImagePreview {
  width: 126px;
  height: 126px;
  padding: 14px;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.machine-image-preview-frame.is-empty .machine-image-empty-text { display: block; }

/* Größere Maschinenvorschau beim Überfahren des Grid-Bildes */
.resource-image-popover {
  position: fixed;
  z-index: 1300;
  display: grid;
  width: 280px;
  padding: 10px;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  pointer-events: auto;
  visibility: hidden;
  opacity: 0;
  color: var(--navy-900);
  background: rgba(255, 255, 255, .98);
  border: 1px solid #d5e0eb;
  border-radius: 11px;
  box-shadow: 0 16px 40px rgba(16, 35, 61, .2);
  transform: translateY(5px);
  transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
}
.resource-image-popover.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }
.resource-image-popover-picture {
  display: grid;
  width: 112px;
  height: 112px;
  padding: 4px;
  place-items: center;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #dce5ee;
  border-radius: 8px;
}
.resource-image-popover-picture img { width: 100%; height: 100%; object-fit: contain; background:#fff; border-radius: 6px; }
.resource-image-popover-picture img.is-placeholder { padding: 15px; object-fit: contain; }
.resource-image-popover-content { min-width: 0; padding: 3px 2px; }
.resource-image-popover-content > strong {
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.resource-image-popover dl { margin: 0; }
.resource-image-popover dl div + div { margin-top: 9px; padding-top: 9px; border-top: 1px solid #e5ebf1; }
.resource-image-popover dt { margin-bottom: 2px; color: var(--slate-500); font-size: 9px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.resource-image-popover dd { margin: 0; color: var(--navy-900); font-size: 12px; font-weight: 750; }

/* Kompakte Buchungsdetails beim Überfahren eines Balkens. Das Popover nimmt
   keine Mausereignisse an, damit Klick und Drag am Balken unverändert bleiben. */
.booking-hover-popover {
  position: fixed;
  z-index: 1400;
  width: 292px;
  padding: 13px 14px;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  color: var(--navy-900);
  background: rgba(255,255,255,.985);
  border: 1px solid #cedae7;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(16,35,61,.22);
  transform: translateY(4px);
  transition: opacity .1s ease, transform .1s ease, visibility .1s ease;
}
.booking-hover-popover.is-visible { visibility:visible; opacity:1; transform:none; }
.booking-hover-status { display:inline-flex; margin-bottom:7px; padding:3px 7px; color:#235f99; background:#eaf4ff; border-radius:999px; font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.booking-hover-popover > strong { display:block; overflow:hidden; font-size:14px; text-overflow:ellipsis; white-space:nowrap; }
.booking-hover-popover > span { display:block; overflow:hidden; margin-top:3px; color:var(--slate-500); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.booking-hover-popover dl { margin:11px 0 0; padding-top:9px; border-top:1px solid #e5ebf1; }
.booking-hover-popover dl > div { display:grid; grid-template-columns:58px minmax(0,1fr); gap:8px; padding:3px 0; }
.booking-hover-popover dt { color:var(--slate-500); font-size:9px; font-weight:700; text-transform:uppercase; }
.booking-hover-popover dd { overflow:hidden; margin:0; color:var(--navy-900); font-size:10px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }

.machine-image-upload-panel .pane-heading { margin-bottom: 15px; }

/* Überfällige Rückgaben */
.overdue-modal-overlay { z-index: 1160; }
.overdue-modal { width: min(900px, 100%); }
.overdue-modal-header { background: linear-gradient(135deg, #10233d, #213b5c); }
.modal-icon-danger { color: #ffd2d6; background: rgba(206, 55, 70, .2); border-color: rgba(255, 160, 169, .25); }
.overdue-modal-summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 9px;
  padding: 10px 22px;
  color: #6b3e25;
  background: #fff9ed;
  border-bottom: 1px solid #eedfbd;
  font-size: 11px;
}
.overdue-modal-summary i { color: #bd7920; font-size: 14px; }
.overdue-modal-body {
  display: flex;
  max-height: min(520px, calc(100vh - 255px));
  min-height: 190px;
  padding: 18px 22px;
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
  background: #f5f8fb;
}
.overdue-item {
  display: grid;
  align-items: center;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 15px;
  padding: 14px;
  background: #fff;
  border: 1px solid #dbe4ed;
  border-left: 4px solid #b62f3b;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(18, 43, 71, .06);
}
.overdue-item-urgency { text-align: center; }
.overdue-item-urgency strong { display: block; color: #a92f3b; font-size: 17px; line-height: 1.1; }
.overdue-item-urgency span { display: block; margin-top: 3px; color: var(--slate-500); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.overdue-item-main { min-width: 0; }
.overdue-item-main h3 { overflow: hidden; margin: 0 0 4px; color: var(--navy-900); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.overdue-item-path { overflow: hidden; margin-bottom: 9px; color: var(--slate-500); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.overdue-item-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.overdue-item-meta span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; color: var(--slate-600); background: #f3f6f9; border-radius: 5px; font-size: 9px; }
.overdue-item-meta i { color: #7d8fa4; }
.overdue-item-actions { display: flex; align-items: stretch; flex-direction: column; gap: 6px; }
.overdue-item-actions .btn-modal { min-width: 126px; min-height: 31px; padding: 6px 9px; font-size: 9px; }
.btn-modal-danger { color: #fff; background: #ad2c38; border-color: #ad2c38; }
.btn-modal-danger:hover { background: #90232d; border-color: #90232d; }
.overdue-empty {
  display: grid;
  min-height: 190px;
  padding: 28px;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--slate-500);
  text-align: center;
}
.overdue-empty i { color: #40a56f; font-size: 34px; }
.overdue-empty strong { color: var(--navy-900); font-size: 14px; }
.overdue-empty span { font-size: 11px; }
.overdue-list-limit { padding: 8px 10px; color: var(--slate-500); text-align: center; font-size: 9px; }
.machine-image-upload-panel .ajax-upload-dragdrop {
  width: 100% !important;
  min-height: 94px;
  padding: 18px !important;
  color: var(--slate-500);
  background: #f8fafc;
  border: 1px dashed #b9c8d8 !important;
  border-radius: 9px;
}
.machine-image-upload-panel .ajax-file-upload {
  display: inline-flex !important;
  align-items: center;
  min-height: 36px;
  margin: 0 !important;
  padding: 8px 13px !important;
  color: #fff !important;
  background: var(--blue-700) !important;
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: 0 4px 10px rgba(23,105,210,.2) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
.machine-image-upload-panel .ajax-file-upload:hover { background: #0f5fbe !important; }
.machine-image-upload-panel .ajax-file-upload-statusbar { width: 100% !important; margin: 10px 0 0 !important; border-color: #d9e3ed !important; border-radius: 7px; }

.machine-image-native-upload {
  display: none;
  align-items: stretch;
  flex-direction: column;
  gap: 9px;
  padding: 14px;
  background: #f8fafc;
  border: 1px dashed #b9c8d8;
  border-radius: 9px;
}
.machine-image-native-upload.is-visible { display: flex; }
.machine-image-native-select {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 9px;
  padding: 9px 11px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid #ccd8e5;
  border-radius: 7px;
  cursor: pointer;
  font-size: 11px;
}
.machine-image-native-select:hover { border-color: var(--blue-600); }
#machineImageFileInput { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.machine-image-native-upload .btn-modal { align-self: flex-start; }

.machine-image-upload-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 13px;
  padding: 9px 10px;
  color: var(--slate-600);
  background: #f1f6fb;
  border-radius: 7px;
  font-size: 10px;
}
.machine-image-upload-note i { margin-top: 1px; color: var(--blue-600); }
.machine-image-upload-panel .action-modal-error { margin-top: 12px; margin-bottom: 0; }
.machine-image-upload-success {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  color: #17643d;
  background: #edf9f2;
  border: 1px solid #bfe4ce;
  border-radius: 7px;
  font-size: 11px;
}
.machine-image-upload-success.is-visible { display: block; }
.btn-modal-danger-outline {
  display: none;
  color: #a62b36;
  background: #fff;
  border-color: #e0a8ad;
}
.btn-modal-danger-outline.is-visible { display: inline-flex; }
.btn-modal-danger-outline:hover { color: #fff; background: #a62b36; border-color: #a62b36; }
.btn-modal-danger-solid { color: #fff; background: #a62b36; border-color: #a62b36; box-shadow: 0 4px 10px rgba(166, 43, 54, .2); }
.btn-modal-danger-solid:hover { color: #fff; background: #8f222c; border-color: #8f222c; }
#machineImageDeleteConfirmSubmit { min-width:145px; flex:0 0 auto; white-space:nowrap; }
.machine-image-delete-confirm-modal .event-modal-footer-right { flex:0 0 auto; }

/* Buchung löschen – eigene Bestätigung statt Browser-Dialog */
.booking-delete-confirm-overlay { z-index: 1200; }
.booking-delete-confirm-modal { width: min(620px, 100%); }
.booking-delete-confirm-body {
  min-height: 0;
  padding: 24px;
  background: #f7f9fc;
}
.booking-delete-warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  color: #713039;
  background: #fff5f5;
  border: 1px solid #efc9cd;
  border-radius: 9px;
}
.booking-delete-warning > i { margin-top: 2px; color: #b52f3b; font-size: 22px; }
.booking-delete-warning strong { display: block; color: #761f29; font-size: 13px; }
.booking-delete-warning p { margin: 5px 0 0; color: #72525a; font-size: 11px; line-height: 1.55; }
.booking-delete-summary {
  margin-top: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #d9e3ed;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(18, 43, 71, .05);
}
.booking-delete-summary-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5ebf1;
}
.booking-delete-summary-title span,
.booking-delete-summary dt {
  color: var(--slate-500);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.booking-delete-summary-title strong {
  overflow: hidden;
  color: var(--navy-900);
  font-size: 14px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking-delete-summary dl { margin: 0; }
.booking-delete-summary dl > div {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 14px;
  padding-top: 11px;
}
.booking-delete-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}
.booking-delete-confirm-body .action-modal-error { margin-top: 14px; margin-bottom: 0; }
.booking-delete-confirm-modal .event-modal-footer-right { flex:0 0 auto; }
#bookingDeleteConfirmSubmit { min-width:215px; flex:0 0 auto; padding-right:18px; padding-left:18px; white-space:nowrap; }

/* Mindestmietdauer – bewusste interne Ausnahme */
.minimum-rental-exception-overlay { z-index: 2300; }
.minimum-rental-exception-modal { width: min(590px, 100%); }
.minimum-rental-exception-body { min-height: 0; padding: 24px; background: #f7f9fc; }
.minimum-rental-exception-warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  color: #624310;
  background: #fff9e9;
  border: 1px solid #ead39a;
  border-radius: 9px;
}
.minimum-rental-exception-warning > i { margin-top: 2px; color: #b7791f; font-size: 22px; }
.minimum-rental-exception-warning strong { display: block; color: #6b4608; font-size: 13px; }
.minimum-rental-exception-warning p { margin: 5px 0 0; color: #725d35; font-size: 11px; line-height: 1.55; }
.minimum-rental-exception-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.minimum-rental-exception-comparison > div { padding: 15px; background: #fff; border: 1px solid #d9e3ed; border-radius: 9px; }
.minimum-rental-exception-comparison span { display: block; color: var(--slate-500); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.minimum-rental-exception-comparison strong { display: block; margin-top: 6px; color: var(--navy-900); font-size: 17px; }

/* Bild löschen – eigene Bestätigung statt Browser-Dialog */
.machine-image-delete-confirm-overlay { z-index: 1190; }
.machine-image-delete-confirm-modal { width: min(540px, 100%); }
.machine-image-delete-confirm-body { min-height: 0; padding: 24px; }
.machine-image-delete-warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  color: #713039;
  background: #fff5f5;
  border: 1px solid #efc9cd;
  border-radius: 9px;
}
.machine-image-delete-warning > i { margin-top: 2px; color: #b52f3b; font-size: 22px; }
.machine-image-delete-warning strong { display: block; color: #761f29; font-size: 13px; }
.machine-image-delete-warning p { margin: 5px 0 0; color: #72525a; font-size: 11px; line-height: 1.55; }
.machine-image-delete-warning span { color: #87232d; font-weight: 750; }

/* Verwaltung des Mietbusiness */
.scheduler-management-modal-overlay { z-index: 1170; }
#objectDeleteConfirmModal { z-index: 1270; }
.management-object-duplicate-overlay { z-index: 1280; }
.management-object-taxonomy-overlay { z-index: 1280; }
#businessLogoDeleteModal { z-index: 1270; }
.business-logo-crop-modal-overlay { z-index: 2147483000; }
.scheduler-management-modal { width: min(1040px, 100%); }
.scheduler-management-body {
  min-height: 430px;
  max-height: calc(100vh - 310px);
  padding: 24px;
  overflow-y: auto;
  background: #f7f9fc;
}
.management-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #f4f7fa;
  border-bottom: 1px solid var(--slate-200);
}
#managementTabBusiness { order:1; }
#managementTabExternal { order:2; }
#managementTabObject { order:3; }
#managementTabObjects { order:4; }
#managementTabGps { order:5; }
#managementTabTariff { order:6; }
#managementTabTiered { order:7; }
#managementTabAccessories { order:8; }
#managementTabWeekend { order:9; }
#managementTabInsurance { order:10; }
.management-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  gap: 8px;
  padding: 10px 14px;
  color: var(--slate-600);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--slate-200);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}
.management-tab:last-child { border-right: 0; }
.management-tab::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 3px;
  content: "";
  background: transparent;
  border-radius: 3px 3px 0 0;
}
.management-tab > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #71849a;
  background: #e4eaf1;
  border-radius: 50%;
  font-size: 9px;
}
.management-tab > i { color: #7c91a8; font-size: 12px; }
.management-tab:hover { color: var(--navy-900); background: #edf3f9; }
.management-tab.is-active { color: var(--blue-700); background: #fff; }
.management-tab.is-active::after { background: var(--blue-600); }
.management-tab.is-active > span { color: #fff; background: var(--blue-600); }
.management-tab.is-active > i { color: var(--blue-600); }
.management-pane { display: none; }
.management-pane.is-active { display: block; }
.management-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}
.management-form-grid .full-row { grid-column: 1 / -1; }
.management-inline-action {
  align-self: flex-start;
  margin-top: 5px;
  padding: 2px 0;
  color: #3977b6;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
}
.management-inline-action i { margin-right: 5px; }
.management-inline-action:hover { color: var(--blue-700); text-decoration: underline; }
.management-field-note { margin-top: 5px; color: var(--slate-500); font-size: 9px; line-height: 1.45; }
.management-advanced-section {
  overflow: hidden;
  background: #f7f9fc;
  border: 1px solid #d7e1eb;
  border-radius: 8px;
}
.management-advanced-section > summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.management-advanced-section > summary::-webkit-details-marker { display: none; }
.management-advanced-section > summary span { display: grid; gap: 2px; }
.management-advanced-section > summary strong { font-size: 11px; }
.management-advanced-section > summary small { color: var(--slate-500); font-size: 9px; font-weight: 400; }
.management-advanced-section > summary > i { color: var(--blue-600); transition: transform .18s ease; }
.management-advanced-section[open] > summary > i { transform: rotate(180deg); }
.management-advanced-content { padding: 15px 14px 16px; border-top: 1px solid #dfe7ef; }
.management-seo-counter { display: block; margin-top: 4px; color: var(--slate-500); font-size: 9px; text-align: right; }
.management-seo-counter.is-warning { color: #a56600; font-weight: 650; }
.management-seo-defaults-row { padding-top: 2px; }
.management-seo-defaults-row .management-field-note { display: block; }
.management-pane .action-modal-error { margin: 17px 0 0; }
.management-form-success {
  display: none;
  margin-top: 17px;
  padding: 10px 12px;
  color: #17643d;
  background: #edf9f2;
  border: 1px solid #bfe4ce;
  border-radius: 7px;
  font-size: 11px;
}
.management-form-success.is-visible { display: block; }
.management-pane-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.management-pane-actions .btn-modal { min-width: 175px; }
.management-footer-action { display:none; }
.management-footer-action.is-visible { display:inline-flex; }
.management-terms-link { color:var(--blue-600); font-weight:700; text-decoration:none; }
.management-terms-link:hover { color:var(--blue-700); text-decoration:underline; }
.management-button-status { display:none; width:24px; flex:0 0 24px; align-items:center; justify-content:center; font-size:20px; }
.management-button-status.is-visible { display:inline-flex; }
.management-button-status.is-success { color:#1f8a50; }
.management-button-status.is-error { color:#c33441; }
.management-gps-list { display:grid; gap:9px; }
.management-mygps-connection{margin:0 0 24px;padding:18px;border:1px solid #cbddec;border-radius:10px;background:#f6faff}
.management-mygps-connection>.pane-heading{margin-bottom:14px}
.management-mygps-intro{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;color:#234d73;background:#eaf4fd;border:1px solid #c8e0f5;border-radius:8px;font-size:11px;line-height:1.55}
.management-mygps-intro i{margin-top:2px;color:var(--blue-600);font-size:15px}
.management-mygps-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px;flex-wrap:wrap}
.management-mygps-actions .btn-modal,.management-mygps-connected .btn-modal{text-decoration:none}
.management-mygps-connected{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;color:#194d35;background:#edf8f2;border:1px solid #b8dfc8;border-radius:9px}
.management-mygps-connected>div{display:grid;gap:4px}
.management-mygps-connected strong{color:#153a2a;font-size:12px}
.management-mygps-connected small{color:#557565;font-size:9px}
.management-mygps-status{display:flex;align-items:center;gap:6px;color:#17643d;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.management-mygps-link-form[hidden],.management-mygps-connected[hidden]{display:none!important}
.management-list-search { display:flex; align-items:center; margin:0 0 13px; gap:9px; padding:0 12px; color:var(--slate-500); background:#fff; border:1px solid #cbd7e2; border-radius:8px; }
.management-list-search:focus-within { border-color:var(--blue-600); box-shadow:0 0 0 3px rgba(37,128,232,.1); }
.management-list-search input { width:100%; height:40px; padding:0; color:var(--navy-900); background:transparent; border:0; outline:0; font:inherit; }
.management-gps-state { display:flex; align-items:center; justify-content:center; min-height:150px; gap:8px; color:var(--slate-500); font-size:11px; }
.management-gps-row { display:grid; grid-template-columns:minmax(170px,1fr) minmax(230px,1.25fr) auto; align-items:center; gap:12px; padding:12px 14px; background:#fff; border:1px solid #dce5ee; border-radius:8px; }
.management-gps-object strong { display:block; color:var(--navy-900); font-size:12px; }
.management-gps-object span,.management-gps-current { color:var(--slate-500); font-size:9px; }
.management-gps-current strong { color:#285f48; font-size:11px; }
.management-gps-select { min-width:0; }
.management-gps-row .btn-modal { min-width:116px; }
.management-object-list { display:grid; gap:12px; }
.management-object-row { padding:14px; background:#fff; border:1px solid #dce5ee; border-radius:9px; box-shadow:0 2px 7px rgba(23,45,74,.04); }
.management-object-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding-bottom:10px; border-bottom:1px solid #edf1f5; }
.management-object-head strong { display:block; color:var(--navy-900); font-size:12px; }
.management-object-head span:not(.management-object-state) { display:block; margin-top:3px; color:var(--slate-500); font-size:9px; }
.management-object-state { flex:0 0 auto; padding:4px 8px; border-radius:999px; font-size:9px; font-weight:750; }
.management-object-state.is-active { color:#17643d; background:#e7f7ee; }
.management-object-state.is-inactive { color:#7b4b16; background:#fff1dc; }
.management-object-fields { display:grid; grid-template-columns:minmax(160px,1fr) minmax(210px,1.2fr) minmax(125px,.72fr) minmax(125px,.72fr); align-items:end; gap:11px; padding-top:12px; }
.management-object-fields > label > span:first-child { display:block; margin-bottom:5px; color:var(--slate-600); font-size:9px; font-weight:700; }
.management-object-select-field { min-width:0; }
.management-object-field-heading { display:flex; align-items:center; justify-content:space-between; min-height:18px; margin-bottom:5px; gap:8px; color:var(--slate-600); font-size:9px; font-weight:700; }
.management-object-inline-new { display:inline-flex; align-items:center; gap:4px; padding:0; color:var(--blue-700); background:transparent; border:0; cursor:pointer; font-size:9px; font-weight:800; }
.management-object-inline-new:hover,.management-object-inline-new:focus-visible { color:var(--blue-600); text-decoration:underline; outline:0; }
.management-object-fields > .is-hidden { display:none; }
.management-object-check { display:flex; align-items:flex-start; min-height:38px; gap:8px; padding:7px 8px; background:#f7f9fc; border:1px solid #e1e8f0; border-radius:6px; cursor:pointer; }
.management-object-check input { margin-top:2px; }
.management-object-check strong,.management-object-check small { display:block; }
.management-object-check strong { color:var(--navy-900); font-size:10px; }
.management-object-check small { margin-top:2px; color:var(--slate-500); font-size:8px; line-height:1.25; }
.management-object-actions { display:flex; align-items:center; justify-content:flex-start; grid-column:1 / -1; gap:8px; }
.management-object-save { min-width:156px; }
.management-object-taxonomy-modal { width:min(780px,calc(100vw - 32px)); }
.management-object-taxonomy-intro { margin:0 0 16px; color:var(--slate-600); font-size:11px; line-height:1.55; }
.management-object-taxonomy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.management-object-taxonomy-card { display:flex; min-width:0; flex-direction:column; gap:11px; padding:15px; background:#f7f9fc; border:1px solid #dce5ee; border-radius:9px; }
.management-object-taxonomy-card > strong { display:flex; align-items:center; gap:7px; color:var(--navy-900); font-size:12px; }
.management-object-taxonomy-card > strong i { color:var(--blue-700); }
.management-object-taxonomy-card .event-modal-row { display:block; }
.management-object-taxonomy-card-action { display:flex; justify-content:flex-end; margin-top:auto; padding-top:3px; }
.management-object-taxonomy-card-action .btn-modal { min-width:145px; justify-content:center; }
.management-object-taxonomy-selection { margin-top:14px; padding:10px 12px; color:#315f89; background:#eef7ff; border:1px solid #cae1f5; border-radius:7px; font-size:10px; line-height:1.5; }
.management-object-duplicate-modal { width:min(850px,calc(100vw - 32px)); }
.management-object-duplicate-intro { margin:0 0 16px; padding:11px 13px; color:#315f89; background:#eef7ff; border:1px solid #cae1f5; border-radius:8px; font-size:10px; line-height:1.55; }
.management-object-duplicate-grid { align-items:start; }
.management-object-duplicate-grid .event-modal-checkbox-row { min-height:40px; }
.object-description-overlay { z-index:1950; }
.object-description-modal { width:min(700px,calc(100vw - 32px)); }
.object-description-text { min-height:150px; resize:vertical; line-height:1.5; }
.object-description-meta { display:flex; align-items:flex-start; justify-content:space-between; margin-top:7px; gap:14px; color:var(--slate-500); font-size:9px; }
.object-description-meta strong { flex:0 0 auto; color:var(--slate-600); font-variant-numeric:tabular-nums; }
.management-logo-control { display:flex; align-items:stretch; gap:12px; min-height:96px; padding:12px; background:#f8fafc; border:1px dashed #c5d7e8; border-radius:9px; }
.management-logo-control img { display:none; width:120px; height:80px; flex:0 0 120px; align-self:center; object-fit:contain; background:#fff; border:1px solid #d8e3ed; border-radius:7px; }
.management-logo-control img.has-logo { display:block; }
.management-logo-upload { display:flex; min-width:0; flex:1; flex-direction:column; align-items:flex-start; justify-content:center; gap:8px; }
.management-logo-upload input { position:absolute; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }
.management-logo-file-select { display:flex; width:100%; min-height:40px; align-items:center; gap:9px; padding:9px 12px; color:#334c63; background:#fff; border:1px solid #c8d6e4; border-radius:7px; cursor:pointer; font-size:10px; font-weight:650; }
.management-logo-file-select:hover,.management-logo-file-select:focus-within { color:var(--blue-700); border-color:#82b5e6; box-shadow:0 0 0 3px rgba(37,128,232,.08); }
.management-logo-file-select i { color:var(--blue-700); }
.management-logo-upload-note { display:flex; align-items:flex-start; gap:6px; color:var(--slate-500); font-size:9px; line-height:1.45; }
.management-logo-upload-note i { margin-top:1px; color:var(--blue-600); }
.management-logo-delete { display:none; align-items:center; margin-top:9px; gap:6px; padding:6px 9px; color:#9c2d37; background:#fff4f5; border:1px solid #efc3c8; border-radius:6px; cursor:pointer; font-size:9px; font-weight:750; }
.management-logo-delete.is-visible { display:inline-flex; }
.management-logo-delete:hover { color:#fff; background:#a62b36; border-color:#a62b36; }
.management-autofill-shield[readonly] { color:inherit; background:#fff; cursor:text; }
.management-copy-control { display:flex; align-items:stretch; }
.management-copy-control .event-modal-value { min-width:0; border-radius:7px 0 0 7px; }
.management-copy-control button { width:42px; flex:0 0 42px; color:#316c9f; background:#eef5fb; border:1px solid #bfcfdd; border-left:0; border-radius:0 7px 7px 0; cursor:pointer; }
.management-copy-control button:hover { color:#fff; background:#257fd7; border-color:#257fd7; }
.logo-crop-modal { width:min(560px,100%); }
.logo-crop-body { text-align:center; }
.logo-crop-body canvas { width:360px; max-width:100%; height:auto; background:#f2f4f7; border:1px solid #d6e0ea; border-radius:8px; }
.logo-crop-body p { margin:13px auto 0; max-width:420px; color:var(--slate-600); font-size:11px; line-height:1.5; }
.logo-crop-body canvas { cursor:grab; touch-action:none; }
.logo-crop-body canvas:active { cursor:grabbing; }
.logo-crop-body input[type="range"] { width:360px; max-width:100%; margin-top:14px; }
.management-form-grid .event-modal-row.is-hidden { display:none; }
.management-tier-levels { display:grid; gap:8px; }
.management-tier-row { display:grid; grid-template-columns:minmax(90px,.7fr) minmax(110px,.8fr) minmax(150px,1fr) 34px; align-items:end; gap:9px; padding:10px; background:#fff; border:1px solid #dce5ee; border-radius:8px; }
.management-tier-row label span { display:block; margin-bottom:4px; color:var(--slate-600); font-size:9px; font-weight:700; }
.management-tier-row input[readonly] { background:#f3f6f9; color:#52677b; }
.price-preview-overlay { z-index:13050; }
.price-preview-modal { width:min(760px,calc(100vw - 24px)); }
.price-preview-content { display:grid; gap:8px; }
.price-preview-line { display:flex; justify-content:space-between; gap:18px; padding:8px 0; border-bottom:1px solid #e4ebf2; }
.price-preview-line strong { text-align:right; }
.price-preview-line.is-total { font-size:16px; color:#0f4f8a; border-top:2px solid #b9d4eb; }
.price-preview-deposit { margin-top:10px; padding:12px; border-radius:8px; background:#fff8e8; border:1px solid #efd89a; }
.price-preview-footer { justify-content:flex-end; }
.price-preview-footer .event-modal-footer-right { align-items:stretch; }
.booking-confirmation-body { display:grid; gap:14px; padding:24px; background:#f5f8fb; }
.booking-confirmation-card { display:flex; align-items:center; gap:16px; padding:20px; background:#fff; border:1px solid #d8e5ef; border-radius:12px; box-shadow:0 8px 24px rgba(25,63,94,.08); }
.booking-confirmation-card-icon { display:flex; width:52px; height:52px; flex:0 0 52px; align-items:center; justify-content:center; color:#fff; background:#208650; border-radius:50%; box-shadow:0 7px 17px rgba(32,134,80,.22); font-size:21px; }
.booking-confirmation-card-copy { min-width:0; }
.booking-confirmation-card-copy > span { display:block; color:#208650; font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.booking-confirmation-card-copy strong { display:block; margin-top:4px; color:var(--navy-900); font-size:19px; line-height:1.2; }
.booking-confirmation-card-copy p { margin:6px 0 0; color:var(--slate-600); font-size:11px; line-height:1.45; }
.booking-confirmation-hint { display:flex; align-items:center; gap:10px; padding:12px 14px; color:#365a78; background:#edf5fc; border:1px solid #cfe0ef; border-radius:8px; font-size:10px; line-height:1.4; }
.booking-confirmation-hint i { color:#1f73bd; font-size:16px; }
.management-tier-remove { width:34px; height:38px; color:#a62b36; background:#fff4f5; border:1px solid #efc3c8; border-radius:6px; cursor:pointer; }
.management-tier-remove:disabled { opacity:.35; cursor:not-allowed; }
.management-catalog-list { display:grid; margin-top:20px; gap:8px; }
.management-catalog-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 13px; background:#fff; border:1px solid #dce5ee; border-radius:8px; }
.management-catalog-item strong,.management-catalog-item small { display:block; }
.management-catalog-item strong { color:var(--navy-900); font-size:11px; }
.management-catalog-item small { margin-top:3px; color:var(--slate-500); font-size:9px; }
.management-catalog-item.is-inactive { opacity:.62; }
.management-catalog-edit { padding:7px 11px; color:#246cab; background:#eef6fd; border:1px solid #c9ddef; border-radius:6px; cursor:pointer; font-size:9px; font-weight:750; }
@media(max-width:700px){.management-tier-row{grid-template-columns:1fr 1fr}.management-tier-remove{grid-column:2;justify-self:end}}
.scheduler-documents-modal-overlay{z-index:1190}.scheduler-documents-modal{width:min(1040px,100%)}.document-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#f3f6f9;border-bottom:1px solid #dce5ed}.document-tabs button{min-height:46px;color:#586f85;background:transparent;border:0;border-right:1px solid #dce5ed;cursor:pointer;font-weight:750}.document-tabs button:last-child{border-right:0}.document-tabs button.is-active{color:#1767af;background:#fff;box-shadow:inset 0 -3px #2580d8}.document-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;gap:10px;background:#fff;border-bottom:1px solid #e2e9f0}.document-toolbar label{display:flex;min-width:0;max-width:620px;align-items:center;flex:1;gap:8px;padding:0 11px;color:#71849a;border:1px solid #cbd7e2;border-radius:7px}.document-toolbar input{width:100%;height:38px;border:0;outline:0}.document-toolbar button{height:38px;padding:0 12px;color:#48647f;background:#f7f9fb;border:1px solid #cbd7e2;border-radius:7px;cursor:pointer}.scheduler-documents-body{min-height:310px;max-height:58vh;padding:13px;overflow:auto;background:#f5f7fa}.document-row{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:14px;padding:14px;background:#fff;border:1px solid #dce5ed;border-radius:8px}.document-row+.document-row{margin-top:8px}.document-row-main{display:flex;min-width:0;flex-direction:column}.document-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.document-row-head strong{color:#163552;font-size:11px}.document-row-head span{color:#60758a;font-size:9px}.document-row-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:9px;gap:7px 16px}.document-row-detail{display:flex;min-width:0;flex-direction:column}.document-row-detail b{color:#71849a;font-size:8px;text-transform:uppercase;letter-spacing:.04em}.document-row-detail span{margin-top:2px;color:#314b64;font-size:9px;overflow-wrap:anywhere}.document-row>.btn-modal{justify-self:end}.modal-icon.danger{color:#fff;background:#a62b36}
.booking-request-modal { width:min(900px,100%); }
.booking-request-body { max-height:calc(100vh - 220px); overflow:auto; }
.booking-request-list { display:grid; gap:10px; }
.booking-request-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:14px; background:#fff; border:1px solid #dce5ee; border-radius:9px; }
.booking-request-item.is-conflicted { background:#fff9f0; border-color:#e9bd7a; box-shadow:inset 3px 0 0 #d88618; }
.booking-request-item strong { display:block; color:var(--navy-900); font-size:12px; }
.booking-request-item span { display:block; margin-top:4px; color:var(--slate-600); font-size:10px; }
.booking-request-item .booking-request-conflict-badge { display:inline-flex; width:auto; align-items:center; gap:5px; margin-top:7px; padding:4px 7px; color:#8b4c08; background:#ffedcf; border:1px solid #edc580; border-radius:999px; font-size:9px; font-weight:800; }
.booking-request-item-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.booking-request-reject-overlay { z-index:1210; }
.booking-request-reject-modal { width:min(620px,100%); }
.booking-request-reject-body { min-height:0; padding:24px; background:#f7f9fc; }
.booking-request-reject-warning { display:flex; align-items:flex-start; gap:14px; padding:16px; color:#713039; background:#fff5f5; border:1px solid #efc9cd; border-radius:9px; }
.booking-request-reject-warning > i { margin-top:2px; color:#b52f3b; font-size:22px; }
.booking-request-reject-warning strong { display:block; color:#761f29; font-size:13px; }
.booking-request-reject-warning p { margin:5px 0 0; color:#72525a; font-size:11px; line-height:1.55; }
.booking-request-reject-summary { margin-top:14px; padding:16px; background:#fff; border:1px solid #d9e3ed; border-radius:9px; box-shadow:0 4px 12px rgba(18,43,71,.05); }
.booking-request-reject-summary > div { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding-bottom:12px; border-bottom:1px solid #e5ebf1; }
.booking-request-reject-summary span,.booking-request-reject-summary dt { color:var(--slate-500); font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.booking-request-reject-summary strong { color:var(--navy-900); font-size:14px; text-align:right; }
.booking-request-reject-summary dl { margin:0; }
.booking-request-reject-summary dl > div { display:grid; grid-template-columns:95px minmax(0,1fr); gap:14px; padding-top:11px; }
.booking-request-reject-summary dd { min-width:0; margin:0; color:var(--navy-900); font-size:11px; font-weight:650; line-height:1.45; }
.booking-request-reject-reason { margin-top:14px; }
.booking-request-reject-reason label { display:block; margin-bottom:6px; color:var(--slate-600); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.booking-request-reject-reason select { width:100%; height:42px; padding:0 36px 0 12px; color:var(--navy-900); background:#fff; border:1px solid #cbd8e5; border-radius:7px; font:inherit; font-size:11px; }
.booking-request-reject-reason select:focus { border-color:var(--blue-600); outline:2px solid rgba(37,128,216,.15); }
.booking-request-reject-body .action-modal-error { margin-top:14px; margin-bottom:0; }
#bookingRequestRejectSubmit { min-width:165px; white-space:nowrap; }
.event-block.is-booking-request { color:#493700!important; background:repeating-linear-gradient(135deg,#f4c430,#f4c430 9px,#ffd95f 9px,#ffd95f 18px)!important; border-color:#c99f00!important; cursor:move!important; }
.event-block.is-booking-request .event-title,.event-block.is-booking-request .event-time { color:#493700!important; }
.event-block.is-booking-request-group { z-index:4; cursor:pointer!important; box-shadow:0 4px 12px rgba(139,105,0,.28); }
.event-block.is-booking-request-group .resize-handle { display:none!important; }
.event-block.is-booking-request-conflict { z-index:5; height:24px; align-self:start; margin-top:4px; padding:3px 9px; background:repeating-linear-gradient(135deg,#f0b323,#f0b323 8px,#ffd36a 8px,#ffd36a 16px)!important; border-color:#b95e13!important; box-shadow:0 2px 8px rgba(147,67,7,.28); }
.event-block.is-booking-request-conflict .event-title { margin-top:0; font-size:11px; line-height:16px; }
.event-block.is-booking-request-conflict .event-time { display:none!important; }
.event-block.has-request-companion { align-self:end; margin-bottom:4px; }
.event-block-month-day-grid.is-booking-request-conflict { top:4px!important; }
.event-block-month-day-grid.has-request-companion { top:32px!important; }
.management-aux-modal-overlay { z-index: 1250; }
.management-aux-modal { width: min(560px, 100%); }
.management-aux-body {
  display: flex;
  min-height: 0;
  padding: 24px;
  flex-direction: column;
  gap: 17px;
  background: #f7f9fc;
}
.management-aux-body .action-modal-error { margin: 0; }
.management-aux-body .event-modal-row.is-hidden { display: none; }

/* Aktivitätsprotokoll */
.scheduler-audit-modal-overlay { z-index: 1180; }
.scheduler-audit-modal { width: min(980px, 100%); }
.scheduler-audit-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 12px;
  padding: 9px 20px;
  color: var(--slate-600);
  background: #f8fafc;
  border-bottom: 1px solid var(--slate-200);
  font-size: 10px;
}
.scheduler-audit-toolbar > span { display: inline-flex; align-items: center; gap: 7px; }
.scheduler-audit-toolbar > span i { color: #3b8a64; }
.scheduler-audit-refresh {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  gap: 6px;
  padding: 5px 9px;
  color: var(--slate-600);
  background: #fff;
  border: 1px solid #cfdae5;
  border-radius: 6px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 650;
}
.scheduler-audit-refresh:hover { color: var(--blue-700); border-color: #9ebada; }
.scheduler-audit-refresh:disabled { cursor: wait; opacity: .55; }
.scheduler-audit-body {
  max-height: min(560px, calc(100vh - 245px));
  min-height: 260px;
  padding: 16px 20px;
  overflow-y: auto;
  background: #f4f7fa;
}
.scheduler-audit-state {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 9px;
  color: var(--slate-500);
  text-align: center;
  font-size: 11px;
}
.scheduler-audit-state i { color: #7390ad; font-size: 22px; }
.scheduler-audit-state.is-error i { color: #b13b46; }
.scheduler-audit-entry {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 0 14px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(15, 38, 65, .04);
}
.scheduler-audit-entry + .scheduler-audit-entry { margin-top: 9px; }
.scheduler-audit-time { color: var(--slate-500); font-size: 9px; font-variant-numeric: tabular-nums; }
.scheduler-audit-main { min-width: 0; }
.scheduler-audit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.scheduler-audit-summary { margin: 0; color: var(--navy-900); font-size: 11px; font-weight: 700; }
.scheduler-audit-meta { display: flex; flex-wrap: wrap; gap: 5px 10px; margin-top: 4px; color: var(--slate-500); font-size: 9px; }
.scheduler-audit-action {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 3px 7px;
  color: #225f43;
  background: #eaf7f0;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 750;
}
.scheduler-audit-action.is-update { color: #76530f; background: #fff5da; }
.scheduler-audit-action.is-delete { color: #962f39; background: #ffebed; }
.scheduler-audit-action.is-restore { color:#245f47; background:#e8f7ef; }
.scheduler-audit-restore { display:inline-flex; align-items:center; gap:6px; margin-top:10px; padding:6px 9px; color:#245f47; background:#f0faf5; border:1px solid #b9dfca; border-radius:6px; cursor:pointer; font-size:9px; font-weight:750; }
.scheduler-audit-restore:hover { background:#e5f6ed; border-color:#8fc9a8; }
.scheduler-audit-restore:disabled { cursor:wait; opacity:.6; }
.scheduler-audit-details { margin-top: 11px; border-top: 1px solid #edf1f5; }
.scheduler-audit-details summary { padding-top: 9px; color: #4c6f94; cursor: pointer; font-size: 10px; font-weight: 700; }
.scheduler-audit-changes { margin-top: 9px; overflow: hidden; border: 1px solid #dde6ef; border-radius: 7px; }
.scheduler-audit-change {
  display: grid;
  align-items: center;
  grid-template-columns: 128px minmax(0, 1fr) 22px minmax(0, 1fr);
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  color: #42566d;
  background: #f8fafc;
  font-size: 10px;
}
.scheduler-audit-change + .scheduler-audit-change { border-top: 1px solid #e5ebf1; }
.scheduler-audit-change.is-changed { background: #fffaf0; }
.scheduler-audit-change-label { color: #52647a; font-weight: 750; }
.scheduler-audit-change-value { min-width: 0; overflow-wrap: anywhere; }
.scheduler-audit-change-old { color: #7a4a51; }
.scheduler-audit-change-new { color: #265f47; }
.scheduler-audit-change-arrow { color: #95a4b4; text-align: center; }
.scheduler-toast {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 62px;
  max-width: 360px;
  padding: 12px 16px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  font-size: 11px;
}
.scheduler-toast.is-visible { opacity: 1; transform: none; }
.scheduler-toast.is-success { background: #17643d; }
.scheduler-toast.is-error { background: #a92f2f; }
.session-expired-overlay { position:fixed; z-index:5000; inset:0; display:none; align-items:center; justify-content:center; padding:24px; background:rgba(10,27,45,.8); backdrop-filter:blur(4px); }
.session-expired-overlay.is-visible { display:flex; }
.session-expired-card { width:min(430px,100%); padding:34px; color:var(--navy-900); background:#fff; border-radius:14px; box-shadow:0 24px 70px rgba(0,0,0,.32); text-align:center; }
.session-expired-icon { display:grid; width:54px; height:54px; margin:0 auto 16px; place-items:center; color:#fff; background:var(--blue-600); border-radius:50%; font-size:20px; }
.session-expired-card h2 { margin:0; font-size:21px; }
.session-expired-card p { margin:10px 0 22px; color:var(--slate-600); font-size:12px; line-height:1.6; }
.session-expired-card .btn-modal { display:inline-flex; text-decoration:none; }
.scheduler-seo-refresh-overlay{z-index:2200}.scheduler-seo-refresh-modal{width:min(980px,100%)}.scheduler-seo-refresh-modal .action-modal-body{padding:24px}.scheduler-seo-refresh-modal .action-modal-body>p{margin:0;color:var(--slate-700);font-size:12px;line-height:1.65}
.scheduler-seo-preview{margin-top:18px;overflow:hidden;border:1px solid #d7e1eb;border-radius:10px;background:#fff}
.scheduler-seo-preview-head,.scheduler-seo-preview-row{display:grid;grid-template-columns:150px minmax(0,1fr) minmax(0,1fr)}
.scheduler-seo-preview-head{color:#fff;background:var(--navy-800)}
.scheduler-seo-preview-head>*{padding:10px 12px;font-size:10px;text-align:left}
.scheduler-seo-preview-row{border-top:1px solid #e4eaf0}
.scheduler-seo-preview-row>span{padding:12px;color:var(--navy-900);background:#f4f7fa;font-size:10px;font-weight:700}
.scheduler-seo-preview-row>div{min-width:0;padding:12px;color:var(--slate-700);font-size:10px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
.scheduler-seo-preview-row>div+div{color:#174f88;background:#f1f7fd;border-left:1px solid #d8e5f1;font-weight:600}
.scheduler-seo-preview-value{display:block}
.scheduler-seo-preview-count{display:block;margin-top:7px;color:var(--slate-500);font-size:9px;font-weight:600;line-height:1.35;white-space:normal}
.scheduler-seo-preview-count.is-good{color:#17643d}
.scheduler-seo-preview-count.is-short{color:#9a6500}
.scheduler-seo-preview-count.is-long{color:#a92f2f}
.scheduler-seo-preview-note{margin:10px 2px 0!important;color:var(--slate-500)!important;font-size:10px!important;line-height:1.5!important}

@media (max-width: 1100px) {
  :root { --resource-width: 240px; }
  .corner-header { padding: 15px; }
  .resource-item { padding-left: 30px; }
  .top-bar { gap: 10px; padding-right: 12px; padding-left: 12px; }
  .machine-search { width: min(172px, 18vw); min-width: 145px; }
  .booking-only-filter { padding-right: 8px; padding-left: 8px; }
  .booking-only-filter > span:last-child { display: none; }
  .resource-filter-button { padding-right: 9px; padding-left: 9px; }
  .management-object-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .management-object-actions { flex-wrap:wrap; }
}

@media (max-width: 760px) {
  body { padding: 0; }
  .scheduler-shell { min-width: 760px; min-height: 100vh; border: 0; border-radius: 0; }
  .scheduler-scroll { height: calc(100vh - 0px); }
  .event-modal-overlay { padding: 10px; }
  .event-modal-header-actions .btn-modal span { display: none; }
  .event-modal-body { padding: 18px; }
  .minimum-rental-exception-comparison { grid-template-columns: 1fr; }
  .scheduler-seo-preview-head,.scheduler-seo-preview-row{grid-template-columns:105px minmax(0,1fr) minmax(0,1fr)}
  .event-modal-grid.two-cols { grid-template-columns: 1fr; }
  .event-modal-row.full-row { grid-column: auto; }
  .event-modal-footer { align-items: stretch; flex-direction: column-reverse; }
  .event-modal-footer-left,
  .event-modal-footer-right { width:100%; flex-wrap:wrap; }
  .management-tabs { grid-template-columns: 1fr; }
  .management-tab { justify-content: flex-start; min-height: 44px; border-right: 0; border-bottom: 1px solid var(--slate-200); }
  .management-tab::after { top: 7px; right: auto; bottom: 7px; left: 0; width: 3px; height: auto; }
  .management-gps-row { grid-template-columns:1fr; }
  .management-mygps-connected{align-items:flex-start;flex-direction:column}
  .management-mygps-actions{align-items:stretch;flex-direction:column}
  .management-mygps-actions .btn-modal{justify-content:center;width:100%}
  .management-object-fields { grid-template-columns:1fr; }
  .management-object-taxonomy-grid { grid-template-columns:1fr; }
  .management-object-save { width:100%; grid-column:auto; }
  .management-form-grid { grid-template-columns: 1fr; }
  .management-form-grid .full-row { grid-column: auto; }
  .scheduler-footer-actions { gap: 1px; }
  .scheduler-footer-link { padding-right: 6px; padding-left: 6px; }
  .machine-image-modal-body { grid-template-columns: 1fr; }
  .machine-image-preview-frame { min-height: 180px; }
  .machine-focus-banner { align-items: stretch; flex-direction: column; }
  .machine-focus-actions { justify-content: flex-end; }
  .machine-focus-copy small { display: none; }
  .overdue-item { grid-template-columns: 65px minmax(0, 1fr); }
  .overdue-item-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
  .scheduler-audit-entry { grid-template-columns: 1fr; gap: 5px; }
  .scheduler-audit-change { grid-template-columns: 105px minmax(0, 1fr); }
  .scheduler-audit-change-arrow { display: none; }
  .scheduler-audit-change-old::before { content: "Alt: "; color: #718096; font-weight: 700; }
  .scheduler-audit-change-new::before { content: "Neu: "; color: #718096; font-weight: 700; }
  .document-tabs{grid-template-columns:1fr}.document-tabs button{border-right:0;border-bottom:1px solid #dce5ed}.document-toolbar{align-items:stretch;flex-direction:column}.document-row{grid-template-columns:1fr}.document-row-details{grid-template-columns:1fr}.document-row .btn-modal,.document-row-actions{width:100%}
}

/* Kundenverwaltung */
.booking-customer-panel{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:0 0 18px;padding:14px 16px;border:1px solid #cddbe8;border-radius:12px;background:#f7fafc}
.booking-customer-panel.is-linked{border-color:#9cc5ad;background:#f2faf5}
.booking-customer-panel-main{display:flex;align-items:flex-start;gap:11px;min-width:0}
.booking-customer-panel-main>i{color:#2b6f8f;font-size:20px;margin-top:2px}
.booking-customer-panel-main div{display:flex;flex-direction:column;gap:4px;min-width:0}
.booking-customer-panel-main strong{color:#17324d}
.booking-customer-panel-main span{font-size:12px;color:#62768a}
.booking-customer-panel-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.scheduler-customers-modal-overlay{z-index:1800}.scheduler-customers-modal{width:min(1080px,calc(100vw - 32px));max-height:92vh}
.scheduler-customers-body{overflow:auto}
.scheduler-customers-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.scheduler-customers-search{position:relative;display:flex;align-items:center;flex:1;min-width:300px}
.scheduler-customers-search i{position:absolute;left:13px;color:#6b7f91}
.scheduler-customers-search input{width:100%;height:42px;padding:0 14px 0 38px;border:1px solid #c9d6e1;border-radius:9px;font:inherit}
.scheduler-customers-archived{display:flex;align-items:center;gap:7px;color:#52677b;font-size:13px}
.scheduler-customers-state{min-height:20px;color:#667b8f;font-size:13px;margin-bottom:8px}
.scheduler-customers-list{display:grid;gap:10px}
.scheduler-customer-row{display:grid;grid-template-columns:minmax(210px,1.1fr) minmax(220px,1fr) auto;gap:18px;align-items:center;padding:14px 16px;border:1px solid #d8e2ea;border-radius:11px;background:#fff}
.scheduler-customer-row.is-archived{opacity:.72;background:#f5f7f9}
.scheduler-customer-identity,.scheduler-customer-contact{display:flex;flex-direction:column;gap:4px;min-width:0}
.scheduler-customer-identity strong{color:#17324d}.scheduler-customer-identity span,.scheduler-customer-contact span{font-size:12px;color:#65798b;overflow-wrap:anywhere}
.scheduler-customer-row-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.scheduler-customer-history{grid-column:1/-1;border-top:1px solid #e4ebf0;padding-top:10px;display:none;gap:6px}
.scheduler-customer-row.is-open .scheduler-customer-history{display:grid}
.scheduler-customer-history-item{display:grid;grid-template-columns:105px 1fr 160px;gap:10px;color:#53697d;font-size:12px}
.scheduler-customer-edit-overlay{z-index:1900}.scheduler-customer-edit-modal{width:min(780px,calc(100vw - 32px));max-height:92vh}
.resource-rename-modal-overlay{z-index:1850}.resource-rename-modal{width:min(520px,calc(100vw - 32px))}.resource-rename-target{margin:0 0 14px;color:#62768a;font-size:12px}.resource-rename-label{cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-width:0}.resource-rename-label:after{content:'\f040';font-family:FontAwesome;font-size:10px;color:#8ba0b5;opacity:0;transition:opacity .15s}.resource-rename-label:hover:after{opacity:1}.resource-group .resource-rename-label,.resource-subgroup .resource-rename-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-manage-delete{margin-right:auto}.resource-delete-modal-overlay{z-index:1900}.resource-delete-modal{width:min(570px,calc(100vw - 32px))}.resource-delete-preservation{display:flex;align-items:flex-start;gap:9px;margin-top:14px;padding:11px 12px;color:#245f47;background:#edf9f2;border:1px solid #bfe3cd;border-radius:8px;font-size:11px;line-height:1.5}.resource-delete-preservation i{margin-top:2px}
.action-customer-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:11px 13px;border:1px solid #d3e0e9;border-radius:10px;background:#f6fafc}
.action-customer-card>div{display:flex;flex-direction:column;gap:3px}.action-customer-card span{font-size:12px;color:#64798b}
.overdue-customer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px;color:#536b7d;font-size:12px}
.document-row-actions{display:flex;width:260px;gap:7px;flex-wrap:nowrap;justify-content:flex-end}
@media(max-width:820px){.booking-customer-panel{align-items:flex-start;flex-direction:column}.scheduler-customer-row{grid-template-columns:1fr}.scheduler-customer-row-actions{justify-content:flex-start}.scheduler-customer-history-item{grid-template-columns:1fr}}
@media(max-width:760px){.document-row-actions{width:100%;flex-wrap:wrap}}

/* Zubehör / Anbauteile */
.management-accessory-toolbar{display:flex;align-items:stretch;flex-direction:column;gap:10px;margin-bottom:14px}.management-accessory-toolbar .management-list-search{width:100%;margin:0}.management-accessory-toolbar>.btn-modal{align-self:flex-start}.management-accessory-table-wrap{overflow:auto;border:1px solid #d9e3eb;border-radius:10px;background:#fff}.management-accessory-table{width:100%;border-collapse:collapse}.management-accessory-table th,.management-accessory-table td{padding:11px 12px;border-bottom:1px solid #e7edf2;text-align:left;vertical-align:middle}.management-accessory-table th{color:#60758a;background:#f7f9fb;font-size:11px;font-weight:700}.management-accessory-table tbody tr:last-child td{border-bottom:0}.management-accessory-actions{display:flex;justify-content:flex-end;gap:7px;white-space:nowrap}.management-accessory-row-btn{padding:7px 9px;font-size:11px}.management-accessory-empty{padding:22px!important;color:#718398;text-align:center!important}.accessory-editor-overlay,.accessory-delete-overlay,.booking-accessories-overlay{z-index:1950}.accessory-editor-modal{width:min(720px,calc(100vw - 32px))}.accessory-delete-modal{width:min(520px,calc(100vw - 32px))}.accessory-delete-text{margin:2px 0 14px;color:#53697d}.booking-accessory-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.booking-accessory-count{display:inline-grid;min-width:21px;height:21px;margin-left:4px;padding:0 6px;place-items:center;color:#fff;background:#2176d2;border-radius:999px;font-size:10px}.booking-accessories-modal{width:min(680px,calc(100vw - 32px));max-height:90vh}.booking-accessories-list{display:grid;max-height:390px;margin-top:12px;gap:7px;overflow:auto}.booking-accessory-option{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #d8e2ea;border-radius:9px;background:#fff;cursor:pointer}.booking-accessory-option:hover{border-color:#a9c6df;background:#f8fbfe}.booking-accessory-option.is-inactive{opacity:.7}.booking-accessory-option input{margin-top:3px}.booking-accessory-option-text{display:flex;min-width:0;flex-direction:column;gap:3px}.booking-accessory-option-text strong{color:#17324d}.booking-accessory-option-text small{color:#65798b;font-size:11px}.booking-accessories-empty{padding:22px;color:#718398;text-align:center;border:1px dashed #d8e2ea;border-radius:9px}.return-accessories-list{display:grid;gap:6px}.return-accessory-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #d8e2ea;border-radius:8px;background:#f8fafc}.return-accessory-item strong{color:#17324d}.return-accessory-item span{color:#65798b;font-size:11px;text-align:right}
@media(max-width:760px){.management-accessory-toolbar{align-items:stretch;flex-direction:column}.management-accessory-actions{flex-direction:column}.booking-accessory-action{align-items:stretch;flex-direction:column}.return-accessory-item{align-items:flex-start;flex-direction:column}.return-accessory-item span{text-align:left}}
/* Optionale Module bleiben bis zur serverseitigen Funktionserkennung verborgen. */
[data-gps-module][hidden], #resourceImagePopoverMetricRow[hidden], #resourceImagePopoverMaintenanceRow[hidden],
#resourceImagePopoverTracking[hidden], #returnOperatingHoursRow[hidden], #returnMileageRow[hidden] { display: none !important; }

/* Versionsgebundene Zustimmung vor dem Öffnen der Mietbusiness-Verwaltung. */
.scheduler-management-modal{position:relative}.management-terms-gate{position:absolute;z-index:25;inset:70px 0 0;display:none;align-items:center;justify-content:center;padding:28px;background:rgba(244,248,252,.98);overflow:auto}.scheduler-management-modal.is-terms-blocked .management-terms-gate{display:flex}.scheduler-management-modal.is-terms-blocked>.management-tabs,.scheduler-management-modal.is-terms-blocked>.scheduler-management-body,.scheduler-management-modal.is-terms-blocked>.event-modal-footer{visibility:hidden;pointer-events:none}.management-terms-card{display:flex;width:min(720px,100%);gap:18px;padding:26px;background:#fff;border:1px solid #d6e2ed;border-radius:14px;box-shadow:0 18px 55px rgba(20,48,77,.16)}.management-terms-icon{display:grid;flex:0 0 58px;width:58px;height:58px;place-items:center;color:#1769c2;background:#eaf4ff;border-radius:14px;font-size:24px}.management-terms-copy{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start}.management-terms-copy>small{color:#1769c2;font-size:10px;font-weight:800;letter-spacing:.12em}.management-terms-copy h3{margin:5px 0 8px;color:#17324d;font-size:22px}.management-terms-copy p{margin:0 0 11px;color:#5c7085}.management-terms-version{font-weight:700;color:#17324d!important}.management-terms-actions{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 15px}.management-terms-confirm{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;padding:12px 13px;background:#f6f9fc;border:1px solid #d9e4ee;border-radius:9px;color:#334c63;font-size:13px;cursor:pointer}.management-terms-confirm input{margin-top:2px}.management-terms-copy>.btn-modal{align-self:flex-end}@media(max-width:620px){.management-terms-gate{inset:68px 0 0;padding:14px}.management-terms-card{flex-direction:column;padding:20px}.management-terms-actions{width:100%}.management-terms-actions .btn-modal{width:100%}.management-terms-copy>.btn-modal{width:100%}}

/* Supportticket aus dem Footer. */
.scheduler-support-link{color:#1769c2}.scheduler-support-ticket-overlay{z-index:2000}.scheduler-support-ticket-modal{width:min(760px,calc(100vw - 32px));max-height:92vh}.scheduler-support-description{min-height:170px;resize:vertical}.action-modal-success{display:none;margin:0 0 16px;padding:10px 12px;color:#17643d;background:#edf9f2;border:1px solid #bfe3cd;border-radius:7px;font-size:11px}.action-modal-success.is-visible{display:block}@media(max-width:760px){.scheduler-support-ticket-modal .event-modal-grid.two-cols{grid-template-columns:1fr}.scheduler-support-ticket-modal .full-row{grid-column:auto}}

/* Automatisch geprüfte Ersteinrichtung aus dem Footer. */
.scheduler-setup-link{color:#9a5a12;background:#fff7e8;border:1px solid #efd8ad}.scheduler-setup-link:hover{color:#7a4307;background:#ffefd1}.scheduler-setup-link.is-complete{color:#17643d;background:#edf9f2;border-color:#bfe3cd}.scheduler-setup-footer-progress{display:inline-grid;min-width:30px;height:20px;padding:0 6px;place-items:center;color:#fff;background:#b66b16;border-radius:999px;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}.scheduler-setup-link.is-complete .scheduler-setup-footer-progress{background:#238451}.scheduler-setup-overlay{z-index:2000}.scheduler-setup-modal{width:min(820px,calc(100vw - 32px));max-height:92vh}.scheduler-setup-body{overflow:auto}.scheduler-setup-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;margin-bottom:18px;padding:17px 18px;color:#17324d;background:linear-gradient(135deg,#f4f9fe,#edf5fb);border:1px solid #cbddea;border-radius:12px}.scheduler-setup-overview-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.scheduler-setup-overview-copy small{color:#2671ad;font-size:9px;font-weight:800;letter-spacing:.12em}.scheduler-setup-overview-copy strong{font-size:18px}.scheduler-setup-overview-copy span{color:#63798d;font-size:12px}.scheduler-setup-progress-value{align-self:center;color:#1769c2;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}.scheduler-setup-progress-track{grid-column:1/-1;height:7px;overflow:hidden;background:#d9e6f0;border-radius:999px}.scheduler-setup-progress-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,#2074bf,#2a9560);border-radius:inherit;transition:width .25s ease}.scheduler-setup-section+.scheduler-setup-section{margin-top:20px}.scheduler-setup-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:8px}.scheduler-setup-section-heading h3{margin:0;color:#17324d;font-size:14px}.scheduler-setup-section-heading span{color:#75889a;font-size:10px}.scheduler-setup-list{display:grid;gap:8px}.scheduler-setup-task{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 13px;background:#fff;border:1px solid #d8e3eb;border-radius:10px}.scheduler-setup-task.is-complete{background:#f5fbf7;border-color:#bfe0cb}.scheduler-setup-task.is-pending:not(.is-optional){background:#fffafa;border-color:#edc9cc}.scheduler-setup-task.is-optional.is-pending{background:#fafbfd}.scheduler-setup-task-status{display:grid;width:30px;height:30px;place-items:center;color:#b43a45;background:#fdecee;border-radius:50%;font-size:13px}.scheduler-setup-task.is-complete .scheduler-setup-task-status{color:#197044;background:#dff3e6}.scheduler-setup-task.is-optional.is-pending .scheduler-setup-task-status{color:#8293a3;background:#edf1f4}.scheduler-setup-task-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.scheduler-setup-task-copy strong{color:#233e57;font-size:13px}.scheduler-setup-task-copy span{color:#687d90;font-size:11px;line-height:1.35}.scheduler-setup-task-action{min-width:125px;justify-content:center}.scheduler-setup-optional{padding-top:2px;border-top:1px solid #e7edf2}@media(max-width:760px){.scheduler-setup-task{grid-template-columns:34px minmax(0,1fr)}.scheduler-setup-task-action{grid-column:1/-1;width:100%}.scheduler-setup-section-heading{align-items:flex-start;flex-direction:column;gap:2px}.scheduler-setup-overview{grid-template-columns:minmax(0,1fr) auto}.scheduler-setup-modal .event-modal-footer{align-items:stretch}.scheduler-setup-modal .event-modal-footer-right,.scheduler-setup-modal .event-modal-footer-right .btn-modal{width:100%}}

/* Dunkle Darstellung des internen Buchungsmanagers. Die Auswahl wird
 * serverseitig gespeichert; ohne Auswahl bleibt das bestehende Light-Theme. */
html[data-scheduler-theme="dark"] {
  color-scheme:dark;
  --navy-950:#f2f7fc;
  --navy-900:#e5edf6;
  --navy-800:#cfdae7;
  --slate-700:#c4d0dc;
  --slate-600:#aab9c9;
  --slate-500:#8fa2b5;
  --slate-300:#3a4b5e;
  --slate-200:#29394a;
  --slate-100:#1b2a3a;
  --slate-50:#142231;
  --white:#101d2b;
  --shadow-sm:0 1px 2px rgba(0,0,0,.22);
  --shadow-md:0 10px 30px rgba(0,0,0,.34);
  --shadow-lg:0 24px 70px rgba(0,0,0,.52);
}
html[data-scheduler-theme="dark"] body { color:#e5edf6; background:#08111b; }
html[data-scheduler-theme="dark"] .scheduler-shell { background:#101d2b; border-color:#26384a; }
html[data-scheduler-theme="dark"] .top-header-grid { border-color:#29394a; }
html[data-scheduler-theme="dark"] .corner-header,
html[data-scheduler-theme="dark"] .timeline-header,
html[data-scheduler-theme="dark"] .top-bar { background:#101d2b; }
html[data-scheduler-theme="dark"] .corner-header { border-color:#29394a; }
html[data-scheduler-theme="dark"] .corner-header .period-navigation-button { color:#74b6ff; background:#162b43; border-color:#315272; }
html[data-scheduler-theme="dark"] .corner-header .period-navigation-button:hover,
html[data-scheduler-theme="dark"] .corner-header .period-navigation-button:focus-visible { color:#fff; background:#2580e8; border-color:#2580e8; }
html[data-scheduler-theme="dark"] .booking-only-filter,
html[data-scheduler-theme="dark"] .machine-search-control,
html[data-scheduler-theme="dark"] .resource-filter-button { color:#b6c5d5; background:#152434; border-color:#304256; }
html[data-scheduler-theme="dark"] .booking-only-check { background:#0c1723; border-color:#4a5e72; }
html[data-scheduler-theme="dark"] .booking-only-filter.is-active,
html[data-scheduler-theme="dark"] .machine-search.is-filtered .machine-search-control,
html[data-scheduler-theme="dark"] .resource-filter.is-open .resource-filter-button,
html[data-scheduler-theme="dark"] .resource-filter.is-filtered .resource-filter-button { color:#84bdff; background:#142d48; border-color:#3974ae; }
html[data-scheduler-theme="dark"] .machine-search-control:focus-within { background:#101d2b; }
html[data-scheduler-theme="dark"] .machine-search-results,
html[data-scheduler-theme="dark"] .resource-filter-popover { background:#111f2e; border-color:#314459; box-shadow:0 18px 48px rgba(0,0,0,.5); }
html[data-scheduler-theme="dark"] .machine-search-result:hover,
html[data-scheduler-theme="dark"] .machine-search-result.is-active { background:#17334f; }
html[data-scheduler-theme="dark"] .resource-filter-header,
html[data-scheduler-theme="dark"] .event-modal-header { color:#fff; background:linear-gradient(135deg,#0b1728,#173657); }
html[data-scheduler-theme="dark"] .resource-filter-option { color:#c3cfdb; background:#162534; border-color:#2c3e50; }
html[data-scheduler-theme="dark"] .resource-filter-option:hover,
html[data-scheduler-theme="dark"] .resource-filter-option.is-checked { color:#edf5fd; background:#193753; border-color:#3c6f9f; }
html[data-scheduler-theme="dark"] .resource-filter-footer,
html[data-scheduler-theme="dark"] .event-modal-steps,
html[data-scheduler-theme="dark"] .event-modal-footer { background:#142231; }
html[data-scheduler-theme="dark"] .view-toggle { background:#182737; border-color:#2b3c4e; }
html[data-scheduler-theme="dark"] .view-link:hover { background:#203246; }
html[data-scheduler-theme="dark"] .view-link.active { color:#f2f7fc; background:#27405a; box-shadow:0 1px 5px rgba(0,0,0,.35); }
html[data-scheduler-theme="dark"] .date-label,
html[data-scheduler-theme="dark"] .timeline-days-grid,
html[data-scheduler-theme="dark"] #timeHeaderRow { background:#142231; }
html[data-scheduler-theme="dark"] .time-cell.is-weekend { background:#192736; }
html[data-scheduler-theme="dark"] .time-cell.week-start { border-color:#43566a; }
html[data-scheduler-theme="dark"] .resources-outer { background:#0e1a27; }
html[data-scheduler-theme="dark"] .resources-column-heading,
html[data-scheduler-theme="dark"] .timeline-column-heading { color:#a8b8c8; background:#172534; }
html[data-scheduler-theme="dark"] .resource-group,
html[data-scheduler-theme="dark"] .timeline-row.group-row { background:#172535; }
html[data-scheduler-theme="dark"] .resource-subgroup,
html[data-scheduler-theme="dark"] .timeline-row.subgroup-row { background:#132130; }
html[data-scheduler-theme="dark"] .resource-item,
html[data-scheduler-theme="dark"] .timeline-row[data-row-type="item"],
html[data-scheduler-theme="dark"] .timeline-body-outer { background:#0f1c29; }
html[data-scheduler-theme="dark"] .resource-row:hover,
html[data-scheduler-theme="dark"] .timeline-row[data-row-type="item"]:hover { background:#14283a; }
html[data-scheduler-theme="dark"] .resource-icon { background:#1c2d3e; border-color:#33475a; }
html[data-scheduler-theme="dark"] .resource-icon.is-placeholder { background:#172737; }
html[data-scheduler-theme="dark"] .toggle:hover { background:#203750; }
html[data-scheduler-theme="dark"] .resource-taxonomy-create { color:#fff; background:#2b7ec9; border-color:#4592d7; }
html[data-scheduler-theme="dark"] .management-object-direct-focus { color:#c4e1fb; background:#172f46; border-color:#315a7d; }
html[data-scheduler-theme="dark"] .management-object-direct-focus button { color:#c4e1fb; background:#102335; border-color:#3b6182; }
html[data-scheduler-theme="dark"] .resource-row:hover .resource-drag-handle,
html[data-scheduler-theme="dark"] .resource-drag-handle:hover { color:#b9daf7; background:#203750; border-color:#3b5873; }
html[data-scheduler-theme="dark"] .resource-row.is-drop-target { color:#b9f1d2; background:#173c2c; box-shadow:inset 0 0 0 2px #4fb77d; }
html[data-scheduler-theme="dark"] .timeline-slot:nth-child(6n)::after,
html[data-scheduler-theme="dark"][data-scheduler-view="week"] .timeline-slot:nth-child(24n)::after,
html[data-scheduler-theme="dark"][data-scheduler-view="month"] .timeline-slot.month-day-boundary::after,
html[data-scheduler-theme="dark"][data-scheduler-view="quarter"] .timeline-slot.month-day-boundary::after,
html[data-scheduler-theme="dark"][data-scheduler-view="year"] .timeline-slot.year-month-boundary::after { background:#2d4155; }
html[data-scheduler-theme="dark"] .year-month-cell { color:#c7d5e3; background:#172534; border-right-color:#43566a; }

@media(max-width:1450px){.view-link{min-width:48px;padding-right:6px;padding-left:6px;font-size:11px}}
html[data-scheduler-theme="dark"] .timeline-row[data-row-type="item"].is-maintenance-locked,
html[data-scheduler-theme="dark"] .resource-row.resource-item.is-maintenance-locked { background-color:#302819; background-image:repeating-linear-gradient(135deg,rgba(224,155,50,.10) 0,rgba(224,155,50,.10) 7px,transparent 7px,transparent 15px); }
html[data-scheduler-theme="dark"] .machine-focus-banner { color:#bcdcff; background:linear-gradient(90deg,#102a43,#13283c); border-color:#315574; }
html[data-scheduler-theme="dark"] .machine-focus-copy small { color:#91aac2; }
html[data-scheduler-theme="dark"] .machine-focus-button { color:#c1d7ec; background:#172b3f; border-color:#395a78; }
html[data-scheduler-theme="dark"] .machine-focus-button:hover { background:#1c3852; border-color:#4c7da7; }
html[data-scheduler-theme="dark"] .event-modal { color:#dbe5ef; background:#101d2b; border-color:#314255; }
html[data-scheduler-theme="dark"] .event-step span { background:#293a4b; }
html[data-scheduler-theme="dark"] .event-modal-value,
html[data-scheduler-theme="dark"] .management-list-search,
html[data-scheduler-theme="dark"] .scheduler-customers-search input,
html[data-scheduler-theme="dark"] .booking-request-reject-reason select { color:#e5edf6; background:#0c1825; border-color:#3a4c5f; }
html[data-scheduler-theme="dark"] .event-modal-value[readonly] { color:#a8b8c8; background:#172535; }
html[data-scheduler-theme="dark"] input::placeholder,
html[data-scheduler-theme="dark"] textarea::placeholder { color:#73879b; }
html[data-scheduler-theme="dark"] .btn-modal-secondary { color:#dbe5ef; background:#172636; border-color:#415367; }
html[data-scheduler-theme="dark"] .btn-modal-secondary:hover { background:#203245; border-color:#5a6e82; }
html[data-scheduler-theme="dark"] .btn-modal-ghost:hover { background:#1a2a3a; }
html[data-scheduler-theme="dark"] .btn-modal-danger { color:#ff8e98; background:#281a20; border-color:#673640; }
html[data-scheduler-theme="dark"] .btn-modal-danger:hover { color:#ffadb4; background:#352027; border-color:#8c4652; }
html[data-scheduler-theme="dark"] .event-modal-hint,
html[data-scheduler-theme="dark"] .booking-price-preview { color:#abc9e5; background:#132b41; border-color:#284c6b; }
html[data-scheduler-theme="dark"] .management-scope-list,
html[data-scheduler-theme="dark"] .management-scope-option { color:#c6d3df; background:#142333; border-color:#2e4052; }
html[data-scheduler-theme="dark"] .management-tabs,
html[data-scheduler-theme="dark"] .document-tabs { background:#142231; border-color:#29394a; }
html[data-scheduler-theme="dark"] .management-tab:hover { background:#1b2e41; }
html[data-scheduler-theme="dark"] .management-tab.is-active,
html[data-scheduler-theme="dark"] .document-tabs button.is-active { color:#79b8ff; background:#101d2b; }
html[data-scheduler-theme="dark"] .scheduler-management-body,
html[data-scheduler-theme="dark"] .scheduler-documents-body { background:#0d1925; }
html[data-scheduler-theme="dark"] .management-gps-row,
html[data-scheduler-theme="dark"] .management-object-row,
html[data-scheduler-theme="dark"] .management-logo-control,
html[data-scheduler-theme="dark"] .management-tier-row,
html[data-scheduler-theme="dark"] .management-catalog-item,
html[data-scheduler-theme="dark"] .booking-confirmation-card,
html[data-scheduler-theme="dark"] .booking-request-item,
html[data-scheduler-theme="dark"] .booking-request-reject-summary,
html[data-scheduler-theme="dark"] .document-row,
html[data-scheduler-theme="dark"] .scheduler-customer-row,
html[data-scheduler-theme="dark"] .booking-accessory-option,
html[data-scheduler-theme="dark"] .management-accessory-table-wrap,
html[data-scheduler-theme="dark"] .scheduler-setup-task,
html[data-scheduler-theme="dark"] .management-terms-card { background:#132130; border-color:#304255; box-shadow:none; }
html[data-scheduler-theme="dark"] .management-mygps-connection{background:#101d2b;border-color:#30465a}
html[data-scheduler-theme="dark"] .management-mygps-intro{color:#b9d2e7;background:#142c41;border-color:#2d506b}
html[data-scheduler-theme="dark"] .management-mygps-connected{color:#a9dfc0;background:#173128;border-color:#315f49}
html[data-scheduler-theme="dark"] .management-mygps-connected strong{color:#d9f0e3}
html[data-scheduler-theme="dark"] .management-mygps-connected small{color:#9ac0aa}
html[data-scheduler-theme="dark"] .management-mygps-status{color:#83dbac}
html[data-scheduler-theme="dark"] .booking-request-item.is-conflicted { background:#302416; border-color:#805322; box-shadow:inset 3px 0 0 #d28a2d; }
html[data-scheduler-theme="dark"] .booking-request-item .booking-request-conflict-badge { color:#ffd596; background:#4a3218; border-color:#805b28; }
html[data-scheduler-theme="dark"] .management-object-state.is-active { color:#83dbac; background:#173629; }
html[data-scheduler-theme="dark"] .management-object-state.is-inactive { color:#e8bf84; background:#382b1c; }
html[data-scheduler-theme="dark"] .management-object-field-heading { color:#9fb0c1; }
html[data-scheduler-theme="dark"] .management-object-inline-new { color:#83c1ff; }
html[data-scheduler-theme="dark"] .management-object-taxonomy-intro { color:#aebdcb; }
html[data-scheduler-theme="dark"] .management-object-taxonomy-card { background:#132130; border-color:#304255; }
html[data-scheduler-theme="dark"] .management-object-taxonomy-card > strong { color:#e5edf6; }
html[data-scheduler-theme="dark"] .management-object-taxonomy-card > strong i { color:#83c1ff; }
html[data-scheduler-theme="dark"] .management-object-taxonomy-selection { color:#b9d2e7; background:#142c41; border-color:#2d506b; }
html[data-scheduler-theme="dark"] .management-object-duplicate-intro { color:#b9d2e7; background:#142c41; border-color:#2d506b; }
html[data-scheduler-theme="dark"] .management-logo-control { background:#101d2b; border-color:#3a5268; }
html[data-scheduler-theme="dark"] .management-logo-control img { background:#172535; border-color:#35495d; }
html[data-scheduler-theme="dark"] .management-logo-file-select { color:#dce7f1; background:#172737; border-color:#3a4e62; }
html[data-scheduler-theme="dark"] .management-logo-file-select:hover { color:#83c1ff; background:#19354e; border-color:#4d7394; }
html[data-scheduler-theme="dark"] .management-autofill-shield[readonly] { color:#dce7f1; background:#172737; }
html[data-scheduler-theme="dark"] .management-logo-upload-note { color:#9fb0c1; }
html[data-scheduler-theme="dark"] .management-accessory-table th { color:#aab9c9; background:#172535; }
html[data-scheduler-theme="dark"] .management-accessory-table th,
html[data-scheduler-theme="dark"] .management-accessory-table td { border-color:#2b3c4e; }
html[data-scheduler-theme="dark"] .booking-accessory-option:hover { background:#193047; border-color:#43698c; }
html[data-scheduler-theme="dark"] .return-accessory-item,
html[data-scheduler-theme="dark"] .booking-customer-panel,
html[data-scheduler-theme="dark"] .action-customer-card { background:#142434; border-color:#30465a; }
html[data-scheduler-theme="dark"] .scheduler-customer-row.is-archived { background:#18222c; }
html[data-scheduler-theme="dark"] .document-toolbar { background:#101d2b; border-color:#29394a; }
html[data-scheduler-theme="dark"] .document-toolbar label,
html[data-scheduler-theme="dark"] .document-toolbar button { color:#b8c6d5; background:#152434; border-color:#34475a; }
html[data-scheduler-theme="dark"] .document-toolbar input { color:#dce7f1; background:transparent; }
html[data-scheduler-theme="dark"] .document-tabs button { color:#9dafc1; }
html[data-scheduler-theme="dark"] .document-tabs button.is-active { color:#83c1ff; }
html[data-scheduler-theme="dark"] .document-row-head strong { color:#e7eff7; font-size:13px; line-height:1.35; }
html[data-scheduler-theme="dark"] .document-row-head span { color:#a9bacb; font-size:11px; line-height:1.35; }
html[data-scheduler-theme="dark"] .document-row-detail b { color:#91a6ba; font-size:10px; }
html[data-scheduler-theme="dark"] .document-row-detail span { color:#c7d3df; font-size:11px; line-height:1.4; }
html[data-scheduler-theme="dark"] .scheduler-audit-toolbar { color:#aebdcb; background:#142231; border-color:#29394a; }
html[data-scheduler-theme="dark"] .scheduler-audit-refresh { color:#b8c8d7; background:#172737; border-color:#364a5e; }
html[data-scheduler-theme="dark"] .scheduler-audit-refresh:hover { color:#83c1ff; border-color:#4f7394; }
html[data-scheduler-theme="dark"] .scheduler-audit-body { background:#0d1925; }
html[data-scheduler-theme="dark"] .scheduler-audit-entry,
html[data-scheduler-theme="dark"] .scheduler-audit-change { color:#c0cdda; background:#132130; border-color:#2d3f51; }
html[data-scheduler-theme="dark"] .scheduler-audit-change.is-changed { background:#30291a; }
html[data-scheduler-theme="dark"] .scheduler-audit-details,
html[data-scheduler-theme="dark"] .scheduler-customer-history { border-color:#29394a; }
html[data-scheduler-theme="dark"] .management-terms-gate { background:rgba(8,17,27,.97); }
html[data-scheduler-theme="dark"] .management-terms-confirm { color:#c5d2df; background:#172636; border-color:#34475a; }
html[data-scheduler-theme="dark"] .scheduler-setup-overview { color:#dbe8f4; background:linear-gradient(135deg,#13293e,#172b3e); border-color:#31506b; }
html[data-scheduler-theme="dark"] .scheduler-setup-task.is-complete { background:#142b22; border-color:#2d6346; }
html[data-scheduler-theme="dark"] .scheduler-setup-task.is-pending:not(.is-optional) { background:#2b1c21; border-color:#693842; }
html[data-scheduler-theme="dark"] .scheduler-setup-task.is-optional.is-pending { background:#172331; }
html[data-scheduler-theme="dark"] .scheduler-page-footer { color:#a8b6c5; background:rgba(12,24,36,.97); border-color:#29394a; box-shadow:0 -3px 12px rgba(0,0,0,.28); }
html[data-scheduler-theme="dark"] .scheduler-footer-product > a { color:#72b7f4; }
html[data-scheduler-theme="dark"] .scheduler-theme-toggle,
html[data-scheduler-theme="dark"] .scheduler-render-metric { color:#afbecc; background:#182a3b; border-color:#33485c; }
html[data-scheduler-theme="dark"] .scheduler-footer-link:hover { color:#78b8ff; background:#18324b; }
html[data-scheduler-theme="dark"] .scheduler-setup-link { color:#e9b66f; background:#392b18; border-color:#6a4d25; }
html[data-scheduler-theme="dark"] .scheduler-setup-link.is-complete { color:#83d8aa; background:#173428; border-color:#34644a; }
html[data-scheduler-theme="dark"] .resource-image-popover,
html[data-scheduler-theme="dark"] .booking-hover-popover,
html[data-scheduler-theme="dark"] .overdue-item { color:#dbe5ef; background:#132130; border-color:#33475a; }
html[data-scheduler-theme="dark"] .resource-tracking-link { color:#7bbcff; background:#142d45; border-color:#315778; }
html[data-scheduler-theme="dark"] .resource-tracking-link:hover { background:#193b59; }
html[data-scheduler-theme="dark"] .scheduler-loading-overlay { background:rgba(3,10,18,.55); }
html[data-scheduler-theme="dark"] .scheduler-loading-card,
html[data-scheduler-theme="dark"] .session-expired-card { color:#e5edf6; background:#132130; border-color:#35485b; }
html[data-scheduler-theme="dark"] .scheduler-toast { color:#fff; background:#1c334a; }
html[data-scheduler-theme="dark"] .scheduler-toast.is-success { background:#17643d; }
html[data-scheduler-theme="dark"] .scheduler-toast.is-error { background:#a92f2f; }
html[data-scheduler-theme="dark"] .action-modal-error,
html[data-scheduler-theme="dark"] .booking-request-reject-warning { color:#ffabb3; background:#321d23; border-color:#713b45; }
html[data-scheduler-theme="dark"] .action-modal-success { color:#8ddeaf; background:#153326; border-color:#2f6849; }
html[data-scheduler-theme="dark"] .scheduler-popup-toast.is-success { color:#96e3b7; background:#153326; border-color:#397453; }
html[data-scheduler-theme="dark"] .scheduler-popup-toast.is-error { color:#ffadb5; background:#321d23; border-color:#713b45; }
html[data-scheduler-theme="dark"] .resource-delete-preservation { color:#8ddeaf; background:#153326; border-color:#2f6849; }
html[data-scheduler-theme="dark"] .booking-price-preview strong,
html[data-scheduler-theme="dark"] .booking-customer-panel-main strong,
html[data-scheduler-theme="dark"] .scheduler-customer-identity strong,
html[data-scheduler-theme="dark"] .booking-accessory-option-text strong,
html[data-scheduler-theme="dark"] .return-accessory-item strong,
html[data-scheduler-theme="dark"] .management-terms-copy h3,
html[data-scheduler-theme="dark"] .management-terms-version,
html[data-scheduler-theme="dark"] .scheduler-setup-section-heading h3,
html[data-scheduler-theme="dark"] .scheduler-setup-task-copy strong { color:#e5edf6 !important; }
html[data-scheduler-theme="dark"] .booking-customer-panel-main span,
html[data-scheduler-theme="dark"] .scheduler-customer-identity span,
html[data-scheduler-theme="dark"] .scheduler-customer-contact span,
html[data-scheduler-theme="dark"] .booking-accessory-option-text small,
html[data-scheduler-theme="dark"] .return-accessory-item span,
html[data-scheduler-theme="dark"] .management-terms-copy p,
html[data-scheduler-theme="dark"] .scheduler-setup-task-copy span,
html[data-scheduler-theme="dark"] .scheduler-setup-overview-copy span { color:#9eb0c1; }

@media(max-width:1100px) {
  .scheduler-footer-brand > span:first-child { display:none; }
  .scheduler-footer-brand { gap:0; }
}

/* Gemeinsame Anbieter-Wunschliste. */
.scheduler-wishlist-footer-count { display:inline-grid; min-width:19px; height:19px; padding:0 5px; place-items:center; color:#fff; background:#d24a56; border-radius:999px; font-size:9px; font-weight:800; font-variant-numeric:tabular-nums; }
.scheduler-wishlist-footer-count[hidden] { display:none; }
.scheduler-wishlist-overlay { z-index:2020; }
.scheduler-wishlist-modal { width:min(1120px,calc(100vw - 32px)); max-height:94vh; }
.scheduler-wishlist-create-overlay { z-index:2030; }
.scheduler-wishlist-create-modal { width:min(760px,calc(100vw - 32px)); }
.scheduler-wishlist-delete-overlay { z-index:2040; }
.scheduler-wishlist-delete-modal { width:min(560px,calc(100vw - 32px)); }
.scheduler-wishlist-delete-body { min-height:0; }
.scheduler-wishlist-create-body { min-height:0; }
.scheduler-wishlist-privacy-warning { display:flex; align-items:flex-start; gap:11px; margin-bottom:16px; padding:13px 14px; color:#842029; background:#f8d7da; border:1px solid #f5c2c7; border-radius:8px; font-size:11px; line-height:1.5; }
.scheduler-wishlist-privacy-warning>i { flex:0 0 auto; margin-top:2px; color:#b02a37; font-size:17px; }
.scheduler-wishlist-privacy-warning strong { display:block; margin-bottom:3px; color:#842029; font-size:12px; }
.scheduler-wishlist-privacy-warning span { display:block; }
.scheduler-wishlist-privacy-warning b { font-weight:900; }
.scheduler-wishlist-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 16px; background:#fff; border-bottom:1px solid #dce5ed; }
.scheduler-wishlist-tabs { display:inline-flex; align-items:center; gap:4px; padding:4px; background:#edf2f7; border:1px solid #d9e2eb; border-radius:9px; }
.scheduler-wishlist-tabs button { min-height:34px; padding:7px 12px; color:#60758a; background:transparent; border:0; border-radius:6px; cursor:pointer; font-size:11px; font-weight:700; }
.scheduler-wishlist-tabs button:hover { color:#173657; background:#f7fafc; }
.scheduler-wishlist-tabs button.is-active { color:#1769c2; background:#fff; box-shadow:0 1px 5px rgba(19,42,70,.13); }
.scheduler-wishlist-filters { display:grid; grid-template-columns:minmax(250px,1fr) minmax(180px,240px) minmax(170px,220px); gap:10px; padding:12px 16px; background:#f8fafc; border-bottom:1px solid #dce5ed; }
.scheduler-wishlist-filters>label { display:flex; min-width:0; flex-direction:column; gap:4px; color:#71849a; font-size:9px; font-weight:750; text-transform:uppercase; letter-spacing:.04em; }
.scheduler-wishlist-filters select,.scheduler-wishlist-search { min-height:38px; color:#263f58; background:#fff; border:1px solid #cbd7e2; border-radius:8px; }
.scheduler-wishlist-filters select { width:100%; padding:0 34px 0 10px; font:inherit; font-size:11px; text-transform:none; letter-spacing:0; }
.scheduler-wishlist-search { position:relative; display:flex!important; justify-content:center; padding:0 11px; flex-direction:row!important; align-items:center; gap:8px!important; }
.scheduler-wishlist-search i { color:#7b8fa3; font-size:12px; }
.scheduler-wishlist-search input { width:100%; height:36px; min-width:0; padding:0; color:#263f58; background:transparent; border:0; outline:0; font:inherit; font-size:12px; text-transform:none; letter-spacing:0; }
.scheduler-wishlist-body { min-height:350px; max-height:58vh; padding:14px 16px; overflow:auto; background:#f3f6f9; }
.scheduler-wishlist-list { display:grid; gap:10px; }
.scheduler-wishlist-state { display:grid; min-height:300px; place-items:center; align-content:center; gap:9px; color:#71849a; text-align:center; font-size:12px; }
.scheduler-wishlist-state i { color:#7390ad; font-size:24px; }
.scheduler-wishlist-state.is-error i { color:#b13b46; }
.scheduler-wishlist-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:13px 20px; padding:16px 17px; background:#fff; border:1px solid #d7e2eb; border-radius:11px; box-shadow:0 3px 10px rgba(21,48,76,.05); }
.scheduler-wishlist-card.is-unread { border-left:4px solid #2580e8; padding-left:14px; }
.scheduler-wishlist-card-main { min-width:0; }
.scheduler-wishlist-card-top { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-bottom:7px; }
.scheduler-wishlist-category,.scheduler-wishlist-status,.scheduler-wishlist-owner { display:inline-flex; align-items:center; min-height:22px; padding:3px 7px; border-radius:999px; font-size:9px; font-weight:800; }
.scheduler-wishlist-category { color:#27618f; background:#eaf4fc; }
.scheduler-wishlist-owner { color:#5b477d; background:#f0eafb; }
.scheduler-wishlist-status { color:#596d80; background:#edf1f5; }
.scheduler-wishlist-status.is-new { color:#1769c2; background:#e7f2ff; }
.scheduler-wishlist-status.is-reviewing,.scheduler-wishlist-status.is-clarification { color:#8a5a0b; background:#fff2d8; }
.scheduler-wishlist-status.is-planned,.scheduler-wishlist-status.is-development { color:#6446a3; background:#eee8ff; }
.scheduler-wishlist-status.is-done { color:#17643d; background:#e4f6eb; }
.scheduler-wishlist-status.is-declined { color:#8d3440; background:#fdebed; }
.scheduler-wishlist-card h3 { margin:0; color:#17324d; font-size:15px; line-height:1.35; }
.scheduler-wishlist-description-copy { margin:7px 0 0; color:#526a80; font-size:12px; line-height:1.55; white-space:pre-line; overflow-wrap:anywhere; }
.scheduler-wishlist-meta { display:flex; flex-wrap:wrap; gap:6px 14px; margin-top:10px; color:#7a8c9e; font-size:10px; }
.scheduler-wishlist-meta span { display:inline-flex; align-items:center; gap:5px; }
.scheduler-wishlist-response { margin-top:12px; padding:11px 12px; color:#325c7d; background:#edf6fd; border:1px solid #cfe2f1; border-radius:8px; font-size:11px; line-height:1.5; }
.scheduler-wishlist-response strong { display:block; margin-bottom:3px; color:#1769c2; font-size:9px; text-transform:uppercase; letter-spacing:.05em; }
.scheduler-wishlist-card-actions { display:flex; min-width:190px; align-items:stretch; justify-content:flex-start; flex-direction:column; gap:7px; }
.scheduler-wishlist-vote { display:inline-flex; min-width:128px; min-height:39px; align-items:center; justify-content:center; gap:7px; padding:8px 11px; color:#4b657d; background:#f7f9fb; border:1px solid #cbd8e4; border-radius:8px; cursor:pointer; font-size:11px; font-weight:750; }
.scheduler-wishlist-vote:hover { color:#1769c2; background:#eef6fd; border-color:#9dc3e5; }
.scheduler-wishlist-vote.is-voted { color:#8a5b09; background:#fff5df; border-color:#e4c783; }
.scheduler-wishlist-vote b { display:inline-grid; min-width:20px; height:20px; padding:0 5px; place-items:center; color:inherit; background:rgba(255,255,255,.7); border-radius:999px; font-size:9px; font-variant-numeric:tabular-nums; }
.scheduler-wishlist-vote:disabled { cursor:wait; opacity:.6; }
.scheduler-wishlist-owner-actions { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.scheduler-wishlist-owner-button { display:inline-flex; min-height:32px; align-items:center; justify-content:center; gap:5px; padding:6px 8px; color:#526a80; background:#fff; border:1px solid #ccd8e3; border-radius:7px; cursor:pointer; font-size:9px; font-weight:750; }
.scheduler-wishlist-owner-button:hover { color:#1769c2; background:#eef6fd; border-color:#9dc3e5; }
.scheduler-wishlist-owner-button.is-delete { color:#a43842; border-color:#e5bec2; }
.scheduler-wishlist-owner-button.is-delete:hover { color:#8e2731; background:#fff0f1; border-color:#d9949b; }
.scheduler-wishlist-counter { display:flex; align-items:center; justify-content:space-between; margin-top:6px; gap:12px; color:#71849a; font-size:9px; }
.scheduler-wishlist-counter strong { color:#52677b; font-variant-numeric:tabular-nums; }
.scheduler-wishlist-description { min-height:180px!important; line-height:1.5; }
.scheduler-wishlist-public-note { display:flex; align-items:flex-start; gap:10px; margin-top:16px; padding:11px 12px; color:#436681; background:#f0f7fc; border:1px solid #d2e4f1; border-radius:8px; font-size:10px; line-height:1.5; }
.scheduler-wishlist-public-note i { margin-top:2px; color:#2877b8; font-size:14px; }
.scheduler-wishlist-create-body .event-modal-value.is-content-filter-error { border-color:#c73d49!important; box-shadow:0 0 0 3px rgba(199,61,73,.12)!important; }
.scheduler-wishlist-filter-violation { display:flex!important; flex-direction:column; gap:7px; }
.scheduler-wishlist-filter-violation>strong { color:#8f2530; font-size:12px; }
.scheduler-wishlist-filter-row { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.scheduler-wishlist-filter-row b { margin-right:2px; color:#8f2530; }
.scheduler-wishlist-filter-row mark { padding:3px 6px; color:#7f1f28; background:#ffd9dc; border:1px solid #ecaab0; border-radius:5px; font-weight:800; }
.scheduler-wishlist-delete-warning { display:flex; align-items:flex-start; gap:12px; padding:15px; color:#713039; background:#fff3f4; border:1px solid #ecc6ca; border-radius:9px; }
.scheduler-wishlist-delete-warning>i { margin-top:2px; color:#b33440; font-size:18px; }
.scheduler-wishlist-delete-warning strong { display:block; color:#7e252e; font-size:13px; overflow-wrap:anywhere; }
.scheduler-wishlist-delete-warning p { margin:5px 0 0; color:#7d555a; font-size:11px; line-height:1.5; }
.scheduler-wishlist-delete-body .action-modal-error { margin:14px 0 0; }

html[data-scheduler-theme="dark"] .scheduler-wishlist-toolbar { background:#101d2b; border-color:#29394a; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-tabs { background:#172636; border-color:#304255; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-tabs button { color:#a5b6c7; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-tabs button:hover { color:#e6eef7; background:#203447; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-tabs button.is-active { color:#83c1ff; background:#253c53; box-shadow:none; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-filters { background:#142231; border-color:#29394a; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-filters select,
html[data-scheduler-theme="dark"] .scheduler-wishlist-search { color:#dce7f1; background:#0d1a27; border-color:#35485b; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-search input { color:#dce7f1; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-body { background:#0c1723; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-card { background:#132130; border-color:#304356; box-shadow:none; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-card h3 { color:#e7eff7; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-description-copy { color:#b7c6d5; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-meta { color:#91a5b8; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-category { color:#8fc8f5; background:#17334b; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-owner { color:#c8b2f0; background:#30264a; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-status { color:#b8c6d4; background:#293745; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-status.is-new { color:#8bc5ff; background:#173753; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-status.is-reviewing,
html[data-scheduler-theme="dark"] .scheduler-wishlist-status.is-clarification { color:#edc277; background:#3a2d19; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-status.is-planned,
html[data-scheduler-theme="dark"] .scheduler-wishlist-status.is-development { color:#c6b1f3; background:#30264b; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-status.is-done { color:#8cdeb2; background:#173729; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-status.is-declined { color:#f4a5ae; background:#3b2228; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-response { color:#b8d6ec; background:#142d43; border-color:#2b506e; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-response strong { color:#83c1ff; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-vote { color:#b8c8d7; background:#172737; border-color:#3a4e62; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-vote:hover { color:#83c1ff; background:#19354e; border-color:#4d7394; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-vote.is-voted { color:#f0c87b; background:#3a2d19; border-color:#765a27; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-vote b { background:rgba(0,0,0,.18); }
html[data-scheduler-theme="dark"] .scheduler-wishlist-owner-button { color:#b8c8d7; background:#172737; border-color:#3a4e62; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-owner-button:hover { color:#83c1ff; background:#19354e; border-color:#4d7394; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-owner-button.is-delete { color:#ff9fa8; background:#281a20; border-color:#673640; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-owner-button.is-delete:hover { color:#ffbcc2; background:#352027; border-color:#8c4652; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-counter strong { color:#b8c7d5; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-public-note { color:#b9d2e7; background:#142c41; border-color:#2d506b; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-privacy-warning { color:#ffc6cc; background:#3a1e24; border-color:#7c3c47; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-privacy-warning>i,
html[data-scheduler-theme="dark"] .scheduler-wishlist-privacy-warning strong { color:#ff9ca6; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-filter-violation>strong,
html[data-scheduler-theme="dark"] .scheduler-wishlist-filter-row b { color:#ffb0b7; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-filter-row mark { color:#ffd2d6; background:#5a2830; border-color:#8b4650; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-delete-warning { color:#ffabb3; background:#321d23; border-color:#713b45; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-delete-warning>i,
html[data-scheduler-theme="dark"] .scheduler-wishlist-delete-warning strong { color:#ffabb3; }
html[data-scheduler-theme="dark"] .scheduler-wishlist-delete-warning p { color:#deb0b5; }

@media(max-width:820px){
  .scheduler-wishlist-toolbar { align-items:stretch; flex-direction:column; }
  .scheduler-wishlist-tabs { display:grid; grid-template-columns:repeat(3,1fr); }
  .scheduler-wishlist-filters { grid-template-columns:1fr; }
  .scheduler-wishlist-card { grid-template-columns:1fr; }
  .scheduler-wishlist-card-actions { width:100%; min-width:0; justify-content:flex-start; }
  .scheduler-wishlist-vote { width:100%; }
}

/* Höhenflexible Popups: Kopf, Navigation und Fuß bleiben erreichbar; nur der Inhalt scrollt. */
.event-modal {
  display:flex;
  flex-direction:column;
}
.event-modal>.event-modal-header,
.event-modal>.event-modal-steps,
.event-modal>.event-modal-footer,
.event-modal>.management-tabs,
.event-modal>.overdue-modal-summary,
.event-modal>.scheduler-audit-toolbar,
.event-modal>.document-tabs,
.event-modal>.document-toolbar,
.event-modal>.scheduler-wishlist-toolbar,
.event-modal>.scheduler-wishlist-filters {
  flex:0 0 auto;
}
.event-modal>.event-modal-body,
.event-modal>.machine-image-modal-body,
.event-modal>.overdue-modal-body,
.event-modal>.tracking-modal-body,
.event-modal>.scheduler-audit-body,
.event-modal>.scheduler-documents-body,
.event-modal>.scheduler-wishlist-body {
  flex:1 1 auto;
  min-height:0;
  max-height:none;
}

@media(max-height:740px){
  .event-modal-overlay { padding:10px; }
  .event-modal {
    max-height:calc(100vh - 20px);
    max-height:calc(100dvh - 20px);
  }
  .event-modal-header { min-height:64px; padding:10px 16px; }
  .event-modal-footer { min-height:58px; padding:9px 16px; }
  .event-step { height:48px; }
  .management-tab { min-height:46px; padding:7px 10px; }
}

/* Geführte Tour durch die Startoberfläche. */
.scheduler-footer-tour {
  display:inline-flex;
  min-height:30px;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 9px;
  color:#405f7e;
  background:#edf3f9;
  border:1px solid #d0dce8;
  border-radius:6px;
  cursor:pointer;
  font:inherit;
  font-size:10px;
  font-weight:700;
}
.scheduler-footer-tour:hover,.scheduler-footer-tour:focus-visible { color:#1769c2; background:#e4f1fd; border-color:#a9c8e5; outline:0; }
.scheduler-footer-tour i { font-size:12px; }
.scheduler-tour-layer { position:fixed; z-index:4500; inset:0; pointer-events:none; }
.scheduler-tour-layer[hidden] { display:none!important; }
.scheduler-tour-mask { position:fixed; z-index:1; background:rgba(5,16,31,.66); pointer-events:auto; transition:top .18s ease,left .18s ease,width .18s ease,height .18s ease; }
.scheduler-tour-focus { position:fixed; z-index:2; display:none; border:3px solid #5fb3ff; border-radius:10px; box-shadow:0 0 0 4px rgba(95,179,255,.25),0 8px 26px rgba(0,0,0,.25); pointer-events:auto; transition:top .18s ease,left .18s ease,width .18s ease,height .18s ease; }
.scheduler-tour-focus.is-visible { display:block; }
.scheduler-tour-card { position:fixed; z-index:3; width:min(370px,calc(100vw - 24px)); max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); overflow:auto; padding:18px; color:#1b344e; background:#fff; border:1px solid #cbd9e6; border-radius:12px; box-shadow:0 18px 55px rgba(0,0,0,.3); pointer-events:auto; }
.scheduler-tour-card::before { position:absolute; width:0; height:0; content:""; border:9px solid transparent; }
.scheduler-tour-card.is-below::before { top:-18px; left:calc(50% - 9px); border-bottom-color:#fff; }
.scheduler-tour-card.is-above::before { bottom:-18px; left:calc(50% - 9px); border-top-color:#fff; }
.scheduler-tour-card.is-right::before { top:calc(50% - 9px); left:-18px; border-right-color:#fff; }
.scheduler-tour-card.is-left::before { top:calc(50% - 9px); right:-18px; border-left-color:#fff; }
.scheduler-tour-card.is-centered::before { display:none; }
.scheduler-tour-card-head { display:flex; align-items:center; gap:11px; }
.scheduler-tour-icon { display:grid; width:40px; height:40px; flex:0 0 40px; place-items:center; color:#1769c2; background:#e7f3ff; border:1px solid #c6e0f7; border-radius:9px; font-size:17px; }
.scheduler-tour-card-head>div { min-width:0; }
.scheduler-tour-card small { display:block; margin-bottom:2px; color:#657d93; font-size:9px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.scheduler-tour-card h2 { margin:0; color:#17324d; font-size:17px; line-height:1.3; }
.scheduler-tour-card p { margin:14px 0 17px; color:#536b81; font-size:12px; line-height:1.58; }
.scheduler-tour-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:13px; border-top:1px solid #e1e8ef; }
.scheduler-tour-actions>div { display:flex; gap:7px; }
.scheduler-tour-dismiss,.scheduler-tour-button { min-height:34px; padding:7px 11px; border-radius:7px; cursor:pointer; font:inherit; font-size:10px; font-weight:700; }
.scheduler-tour-dismiss { padding-right:4px; padding-left:4px; color:#6b7e91; background:transparent; border:0; }
.scheduler-tour-dismiss:hover,.scheduler-tour-dismiss:focus-visible { color:#9d303b; outline:0; }
.scheduler-tour-button { border:1px solid transparent; }
.scheduler-tour-button-secondary { color:#29445f; background:#fff; border-color:#c7d4df; }
.scheduler-tour-button-secondary:hover,.scheduler-tour-button-secondary:focus-visible { background:#f3f7fa; border-color:#9fb2c3; outline:0; }
.scheduler-tour-button-primary { min-width:82px; color:#fff; background:#1769c2; border-color:#1769c2; }
.scheduler-tour-button-primary:hover,.scheduler-tour-button-primary:focus-visible { background:#0f5dad; border-color:#0f5dad; outline:0; }
.scheduler-tour-button:disabled { visibility:hidden; }
html[data-scheduler-theme="dark"] .scheduler-footer-tour { color:#afc1d2; background:#172737; border-color:#35495d; }
html[data-scheduler-theme="dark"] .scheduler-footer-tour:hover,
html[data-scheduler-theme="dark"] .scheduler-footer-tour:focus-visible { color:#83c1ff; background:#1b344a; border-color:#4d7394; }
html[data-scheduler-theme="dark"] .scheduler-tour-card { color:#dbe7f2; background:#132130; border-color:#3a4e61; }
html[data-scheduler-theme="dark"] .scheduler-tour-card.is-below::before { border-bottom-color:#132130; }
html[data-scheduler-theme="dark"] .scheduler-tour-card.is-above::before { border-top-color:#132130; }
html[data-scheduler-theme="dark"] .scheduler-tour-card.is-right::before { border-right-color:#132130; }
html[data-scheduler-theme="dark"] .scheduler-tour-card.is-left::before { border-left-color:#132130; }
html[data-scheduler-theme="dark"] .scheduler-tour-icon { color:#83c1ff; background:#173753; border-color:#315879; }
html[data-scheduler-theme="dark"] .scheduler-tour-card small { color:#9fb2c4; }
html[data-scheduler-theme="dark"] .scheduler-tour-card h2 { color:#edf4fb; }
html[data-scheduler-theme="dark"] .scheduler-tour-card p { color:#b9c8d6; }
html[data-scheduler-theme="dark"] .scheduler-tour-actions { border-color:#304255; }
html[data-scheduler-theme="dark"] .scheduler-tour-dismiss { color:#a9bac9; }
html[data-scheduler-theme="dark"] .scheduler-tour-dismiss:hover,
html[data-scheduler-theme="dark"] .scheduler-tour-dismiss:focus-visible { color:#ff9fa8; }
html[data-scheduler-theme="dark"] .scheduler-tour-button-secondary { color:#d5e1ec; background:#172737; border-color:#405469; }

@media(max-width:1100px){.scheduler-footer-tour span{display:none}.scheduler-footer-tour{width:30px;padding:0}}
@media(max-width:520px){.scheduler-tour-card{padding:15px}.scheduler-tour-actions{align-items:stretch;flex-direction:column}.scheduler-tour-dismiss{align-self:flex-start}.scheduler-tour-actions>div{width:100%}.scheduler-tour-button{flex:1}}

/* Dunkles Seitenmenue als Overlay - der Belegungsplan behaelt seine Breite. */
.scheduler-sidebar-toggle {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 32px;
  width:32px; height:30px; padding:0; color:#fff; background:#102338;
  border:1px solid #1d3853; border-radius:7px; cursor:pointer; font-size:17px;
  transition:background .18s ease, border-color .18s ease;
}
.scheduler-sidebar-toggle:hover { background:#1a3b5b; border-color:#2c557b; }
.scheduler-sidebar-toggle:focus-visible { outline:3px solid #2580e8; outline-offset:2px; }
.scheduler-sidebar-layer {
  position:fixed; z-index:900; inset:0; visibility:hidden; opacity:0;
  background:rgba(5,16,31,.42); pointer-events:none;
  transition:opacity .22s ease, visibility 0s linear .22s;
}
.scheduler-sidebar-layer.is-open {
  visibility:visible; opacity:1; pointer-events:auto; transition:opacity .22s ease, visibility 0s;
}
.scheduler-sidebar {
  display:flex; flex-direction:column; width:308px; max-width:calc(100vw - 32px);
  height:100vh; height:100dvh; color:#fff;
  background:linear-gradient(180deg,#0b1728 0%,#142e44 100%);
  border-right:1px solid rgba(255,255,255,.08); box-shadow:14px 0 45px rgba(0,0,0,.3);
  transform:translateX(-22px); transition:transform .22s ease;
}
.scheduler-sidebar-layer.is-open .scheduler-sidebar { transform:translateX(0); }
.scheduler-sidebar-header {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; flex:0 0 auto;
  gap:12px; padding:22px 18px 18px; padding-top:max(22px,env(safe-area-inset-top));
  border-bottom:1px solid rgba(255,255,255,.1);
}
.scheduler-sidebar-brand { display:flex; min-width:0; align-items:center; gap:10px; }
.scheduler-sidebar-brand > i { color:#fff; font-size:23px; }
.scheduler-sidebar-brand strong { display:block; color:#fff; font-size:17px; letter-spacing:-.4px; }
.scheduler-sidebar-brand small { display:block; margin-top:2px; color:#b5c8db; font-size:11px; }
.scheduler-sidebar-close {
  display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; padding:0;
  color:#fff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.13);
  border-radius:8px; cursor:pointer; font-size:23px; line-height:1;
}
.scheduler-sidebar-close:hover { background:rgba(255,255,255,.17); }
.scheduler-sidebar-nav {
  flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain;
  padding:12px 12px 22px; padding-bottom:max(22px,env(safe-area-inset-bottom));
  scrollbar-width:thin; scrollbar-color:#466078 #102338;
}
.scheduler-sidebar-group + .scheduler-sidebar-group { margin-top:18px; }
.scheduler-sidebar-group h2 {
  margin:0 10px 8px; color:#a8bdd2; font-size:10px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
}
.scheduler-sidebar-item {
  display:flex; width:100%; min-height:42px; align-items:center; gap:12px;
  margin:3px 0; padding:10px 12px; color:#f1f6fc; background:transparent;
  border:0; border-radius:8px; text-align:left; cursor:pointer; font-size:12px; line-height:1.4;
  transition:background .15s ease, color .15s ease;
}
.scheduler-sidebar-item[hidden] { display:none; }
.scheduler-sidebar-item > i { width:20px; flex:0 0 20px; color:#b6cbe0; text-align:center; font-size:16px; }
.scheduler-sidebar-item:hover { color:#fff; background:rgba(255,255,255,.1); }
.scheduler-sidebar-item.is-active { color:#fff; background:#1769d2; font-weight:600; }
.scheduler-sidebar-item.is-active > i { color:#fff; }
.scheduler-sidebar-item:disabled { opacity:.45; cursor:default; }
.scheduler-sidebar-item:focus-visible, .scheduler-sidebar-close:focus-visible { outline:2px solid #8fc9ff; outline-offset:2px; }
@media(max-width:1100px) {
  .corner-header .period-navigation { gap:4px; }
  .scheduler-sidebar-toggle { width:28px; flex-basis:28px; }
}
@media(prefers-reduced-motion:reduce) {
  .scheduler-sidebar-layer, .scheduler-sidebar-layer.is-open, .scheduler-sidebar,
  .scheduler-sidebar-toggle, .scheduler-sidebar-item { transition:none; }
}

/* Herkunftszeile im Logo-Bereich und Navigation ueber das Seitenmenue. */
.scheduler-sidebar-origin { flex:0 0 100%; margin:0; color:#b5c8db; font-size:11px; line-height:1.5; text-align:left; }
.scheduler-sidebar-origin .fa-heart { margin:0 3px; color:#ff6b82; }
.scheduler-management-modal > .management-tabs[hidden] { display:none; }
