/* cleanom 1.8.1 – Briefversand, Mahnwesen und Abrechnung */
.notification-center { position: relative; }
.notification-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #dfe3e7;
  border-radius: 10px;
  background: #fff;
  color: #111;
  cursor: pointer;
}
.notification-button i {
  position: absolute;
  top: -6px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: 700 10px/1 system-ui, sans-serif;
  font-style: normal;
}
.notification-popover {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  right: 0;
  width: min(410px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 100px));
  overflow: hidden;
  border: 1px solid #dfe3e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(17, 24, 39, .18);
}
.notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  border-bottom: 1px solid #e8ebee;
}
.notification-head button {
  border: 0;
  background: transparent;
  color: #303943;
  font-weight: 700;
  cursor: pointer;
}
.notification-list { max-height: 500px; overflow: auto; }
.notification-list > button {
  position: relative;
  display: grid;
  width: 100%;
  gap: 5px;
  padding: 14px 17px 14px 20px;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.notification-list > button:hover { background: #f7f8f9; }
.notification-list > button.unread { background: #f5f6f7; }
.notification-list > button.unread::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}
.notification-list > button.priority-high,
.notification-list > button.priority-urgent { border-left: 3px solid #111; }
.notification-list span { color: #4f5b66; line-height: 1.45; }
.notification-list small { color: #7a858f; }
.notification-empty { padding: 28px 18px; color: #68737e; text-align: center; }

.account-page { max-width: 1050px; }
.account-page > .panel { padding: 24px; }
.twofa-setup {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dfe3e7;
  border-radius: 12px;
  background: #f8f9fa;
}
.twofa-setup > code {
  padding: 12px 14px;
  overflow-wrap: anywhere;
  border: 1px dashed #bfc6cc;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  letter-spacing: .05em;
}
.recovery-codes { display: grid; gap: 10px; }
.recovery-codes > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.recovery-codes code {
  padding: 9px 10px;
  border: 1px solid #dfe3e7;
  border-radius: 7px;
  background: #fff;
  text-align: center;
}
.session-list { display: grid; gap: 10px; }
.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid #e1e5e8;
  border-radius: 10px;
}
.session-row > div { display: grid; gap: 4px; min-width: 0; }
.session-row span { overflow: hidden; color: #505b65; text-overflow: ellipsis; white-space: nowrap; }
.session-row small { color: #7a858f; }

.public-quote-page {
  min-height: 100vh;
  padding: 34px 18px;
  background: #f1f3f4;
}
.public-quote-card {
  display: grid;
  gap: 17px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #dfe3e7;
  border-top: 6px solid var(--brand, #000);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 65px rgba(17, 24, 39, .10);
}
.public-quote-logo { width: 150px; max-height: 55px; object-fit: contain; object-position: left center; filter: grayscale(1); }
.public-quote-card .eyebrow { color: #68737e; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.public-quote-card h1 { margin: 0; font-size: clamp(27px, 5vw, 40px); line-height: 1.08; }
.public-quote-card > p { margin: 0; color: #4e5963; line-height: 1.6; }
.quote-items { display: grid; border-top: 1px solid #e4e7ea; }
.quote-items > div,
.quote-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #e4e7ea;
}
.quote-total { padding: 18px 0; font-size: 20px; }
.quote-deposit,
.quote-success,
.payment-instructions {
  padding: 16px;
  border: 1px solid #d8dde1;
  border-radius: 10px;
  background: #f7f8f9;
}
.quote-success { display: grid; gap: 12px; }
.quote-success h2 { margin: 0; }
.payment-instructions { display: grid; gap: 5px; }
.public-quote-card form { display: grid; gap: 14px; padding-top: 8px; }

.capacity-page { display: grid; gap: 20px; }
.capacity-page > .panel { padding: 24px; }
.management-list { display: grid; gap: 9px; margin-top: 22px; }
.management-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 14px;
  border: 1px solid #e0e4e7;
  border-radius: 10px;
  background: #fff;
}
.management-row > div:first-child { display: grid; gap: 4px; }
.management-row span { color: #65717b; }
.management-row .row-actions { flex-wrap: wrap; }

.settings-stack { display: grid; gap: 22px; }
.settings-stack > .settings-section {
  padding: 20px;
  border: 1px solid #e0e4e7;
  border-radius: 12px;
  background: #fff;
}
.settings-stack > .settings-section > h3 { margin: 0 0 8px; }
.settings-stack > .settings-section > p { margin: 0 0 18px; color: #65717b; line-height: 1.55; }
.paypal-webhook-box {
  display: grid;
  gap: 9px;
  margin: 15px 0;
  padding: 16px;
  border: 1px solid #dce1e5;
  border-radius: 10px;
  background: #f7f8f9;
}
.paypal-webhook-box p,
.paypal-webhook-box small { margin: 0; color: #5f6b75; line-height: 1.5; }
.paypal-webhook-box code {
  padding: 9px 10px;
  overflow-wrap: anywhere;
  border: 1px dashed #bec6cc;
  border-radius: 7px;
  background: #fff;
}

.cron-help {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #dce1e5;
  border-radius: 12px;
  background: #f8f9fa;
}
.cron-help h3,
.cron-help p { margin: 0; }
.cron-help p { color: #5f6b75; line-height: 1.55; }
.cron-command { display: grid; gap: 7px; }
.cron-command code {
  display: block;
  padding: 11px 12px;
  overflow-x: auto;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  background: #fff;
  white-space: nowrap;
}
.cron-steps { margin: 0; padding-left: 22px; color: #4f5b65; line-height: 1.7; }
.cron-runs { display: grid; gap: 8px; }
.cron-runs > div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e0e4e7;
  border-radius: 8px;
  background: #fff;
}

.travel-fee-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 17px 18px;
  border: 1px solid #d9dee2;
  border-radius: 12px;
  background: #f7f8f9;
}
.travel-fee-callout > div { display: grid; gap: 4px; }
.travel-fee-callout p { margin: 0; color: #58636d; }

@media (max-width: 720px) {
  .notification-popover { position: fixed; top: 70px; right: 12px; left: 12px; width: auto; }
  .management-row,
  .session-row,
  .travel-fee-callout { align-items: stretch; flex-direction: column; }
  .management-row .row-actions,
  .management-row .button,
  .session-row .button,
  .travel-fee-callout .button { width: 100%; }
  .recovery-codes > div { grid-template-columns: 1fr; }
  .cron-runs > div { grid-template-columns: 1fr auto; }
  .cron-runs > div span,
  .cron-runs > div small { grid-column: 1 / -1; }
  .public-quote-page { padding: 0; }
  .public-quote-card { min-height: 100vh; border: 0; border-top: 6px solid var(--brand, #000); border-radius: 0; box-shadow: none; }
}

.payment-summary-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border,#e5e7eb);border-radius:14px;background:var(--surface,#fff);overflow:hidden;margin-bottom:18px}.payment-summary-bar>div{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-right:1px solid var(--border,#e5e7eb)}.payment-summary-bar>div:last-child{border-right:0}.payment-summary-bar span{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.payment-summary-bar strong{font-size:1.35rem}.payment-summary-bar small,.table-panel td small{display:block;color:var(--muted,#64748b);margin-top:3px}.payment-error-copy{max-width:280px;color:#b91c1c!important;white-space:normal}@media(max-width:760px){.payment-summary-bar{grid-template-columns:1fr 1fr}.payment-summary-bar>div:nth-child(2){border-right:0}.payment-summary-bar>div:nth-child(-n+2){border-bottom:1px solid var(--border,#e5e7eb)}}

/* 1.8.1: Briefversand, Mahnwesen, Export und Buchungspause */
.postal-row-button{min-height:34px;padding:7px 11px;font-size:.82rem;white-space:nowrap}
.postal-confirm{display:grid;gap:18px}.postal-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--border,#e1e5e8);border-radius:12px;background:#fff}.postal-summary>div{display:grid;gap:5px;padding:16px;border-right:1px solid var(--border,#e1e5e8)}.postal-summary>div:last-child{border-right:0}.postal-summary span,.postal-recipient>span,.postal-price span{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--muted,#66727c)}.postal-summary strong{font-size:1.02rem}.postal-price strong{font-size:1.35rem}.postal-recipient{display:grid;gap:3px;padding:17px;border:1px solid var(--border,#e1e5e8);border-radius:12px;background:#f8f9fa}.postal-recipient strong{margin:5px 0 2px}.postal-warning{padding:13px 15px;border:1px solid #f2d48d;border-radius:10px;background:#fff7df;color:#74520c;line-height:1.5}.postal-final-confirm{display:grid;gap:14px}.postal-final-confirm h3,.postal-final-confirm p{margin:0}.postal-final-confirm p{color:var(--muted,#66727c);line-height:1.6}.postal-price.final{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:2px solid #111;border-radius:12px;background:#fff}.postal-price.final strong{font-size:1.65rem;color:#111}
.export-modal{display:grid;gap:18px}.export-modal>p{margin:0;color:var(--muted,#66727c);line-height:1.6}
.dunning-kpis{margin-bottom:18px}.dunning-table td{vertical-align:middle}.dunning-table td>small,.dunning-table td>span{display:block}.dunning-table td small{margin-top:4px;color:var(--muted,#66727c)}.dunning-actions{display:flex;flex-wrap:wrap;gap:7px}.dunning-actions .button{min-height:34px;padding:7px 10px;font-size:.8rem}.dunning-table th:last-child,.dunning-table td:last-child{min-width:310px}
.booking-disabled-shell{width:min(760px,100%);margin:0 auto;padding:40px 20px;display:grid;gap:20px}.booking-disabled-card{display:grid;justify-items:center;text-align:center;gap:14px;padding:clamp(28px,7vw,58px);border:1px solid rgba(17,17,17,.1);border-radius:var(--booking-radius,12px);background:var(--booking-surface,#fff);box-shadow:0 24px 70px rgba(17,24,39,.08)}.booking-disabled-card h1,.booking-disabled-card p{margin:0}.booking-disabled-card p{max-width:620px;white-space:pre-line;line-height:1.7;color:color-mix(in srgb,var(--booking-text,#26313d) 72%,transparent)}.letterxpress-settings .notice{margin-top:16px}
@media(max-width:820px){.postal-summary{grid-template-columns:1fr}.postal-summary>div{border-right:0;border-bottom:1px solid var(--border,#e1e5e8)}.postal-summary>div:last-child{border-bottom:0}.dunning-table th:last-child,.dunning-table td:last-child{min-width:260px}}
@media(max-width:620px){.postal-price.final{align-items:flex-start;flex-direction:column}.booking-disabled-shell{padding:0}.booking-disabled-card{min-height:calc(100vh - 96px);justify-content:center;border:0;border-radius:0;box-shadow:none}.dunning-actions{min-width:220px}.dunning-actions .button{width:100%}}

/* 1.8.2: Superadmin-Betriebsdetails und dunklere Sidebar */
.sidebar {
  background: #151b23;
  border-right-color: #262e38;
  color: #dbe2ea;
}
.sidebar .brand-mark.light {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 0 0 18px;
  color: #fff;
}
.sidebar .cleanom-vector-logo {
  width: 142px;
  height: 54px;
  object-position: center;
  filter: brightness(0) invert(1);
}
.sidebar .workspace {
  background: #1d2530;
  border-color: #313b48;
}
.sidebar .workspace-icon {
  color: #fff;
  background: #303b49;
}
.sidebar .workspace span,
.sidebar .workspace > svg,
.sidebar .user-chip small {
  color: #93a0af;
}
.sidebar .workspace strong,
.sidebar .user-chip strong {
  color: #fff;
}
.sidebar nav button,
.sidebar-bottom button {
  color: #c1cad5;
}
.sidebar nav button:hover,
.sidebar-bottom button:hover {
  color: #fff;
  background: #222c37;
}
.sidebar nav button.active {
  color: #fff;
  background: #2a3542;
  box-shadow: inset 3px 0 #fff;
}
.sidebar-bottom { border-color: #303945; }
.sidebar .user-chip > div {
  color: #fff;
  background: #354252;
}

.tenant-row-clickable { cursor: pointer; }
.tenant-row-clickable:hover td { background: #f3f6f9 !important; }
.tenant-row-clickable td:first-child strong { color: #1f5ca8; }
.tenant-row-clickable td:first-child strong:hover { text-decoration: underline; }

.admin-tenant-detail { display: grid; gap: 18px; }
.admin-tenant-error { display: grid; gap: 16px; padding: 22px; }
.admin-tenant-hero { padding: 20px 22px; }
.admin-tenant-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  color: #84909c;
  font-size: 11px;
}
.admin-tenant-breadcrumb .text-link { color: #315f96; font-weight: 650; }
.admin-tenant-hero-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.admin-tenant-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.admin-tenant-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #151b23;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .04em;
}
.admin-tenant-identity h2 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.admin-tenant-identity p { margin: 5px 0 0; color: #717d89; }
.admin-tenant-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.admin-tenant-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.admin-tenant-statbar,
.admin-fee-summary {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--app-line, #dfe4ea);
  border-radius: 9px;
  background: #fff;
}
.admin-tenant-statbar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.admin-fee-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 18px 4px; }
.admin-tenant-statbar > div,
.admin-fee-summary > div {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 16px 17px;
  border-right: 1px solid var(--app-line-soft, #e9edf1);
}
.admin-tenant-statbar > div:last-child,
.admin-fee-summary > div:last-child { border-right: 0; }
.admin-tenant-statbar span,
.admin-fee-summary span,
.admin-usage-grid span,
.admin-plan-price span {
  color: #6d7885;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.admin-tenant-statbar strong { font-size: 19px; line-height: 1.2; }
.admin-tenant-statbar small,
.admin-usage-grid small,
.admin-plan-price small { color: #87919c; font-size: 9px; line-height: 1.4; }
.admin-fee-summary strong { font-size: 18px; }

.admin-tenant-overview-grid,
.admin-tenant-history-grid,
.admin-tenant-table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-tenant-card,
.admin-tenant-section { min-width: 0; overflow: hidden; }
.admin-tenant-card-body { display: grid; gap: 18px; padding: 18px; }
.admin-plan-price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 14px;
  padding: 16px;
  border: 1px solid #e0e5ea;
  border-radius: 9px;
  background: #f8fafb;
}
.admin-plan-price strong { grid-row: span 2; font-size: 27px; letter-spacing: -.035em; }
.admin-detail-list { display: grid; gap: 0; margin: 0; }
.admin-detail-list > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f3;
}
.admin-detail-list > div:last-child { border-bottom: 0; }
.admin-detail-list dt { color: #687480; }
.admin-detail-list dd { margin: 0; text-align: right; font-weight: 650; overflow-wrap: anywhere; }
.admin-feature-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-feature-chips span {
  padding: 6px 9px;
  border: 1px solid #dce3e9;
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  font-weight: 650;
}
.admin-usage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-usage-grid > div {
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}
.admin-usage-grid > div:nth-child(2n) { border-right: 0; }
.admin-usage-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.admin-usage-grid strong { font-size: 21px; }

.admin-tenant-section > .panel-head { margin-bottom: 0; }
.admin-tenant-table-grid { padding: 18px; }
.admin-subtable { min-width: 0; }
.admin-subtable h3 { margin: 0 0 10px; font-size: 13px; }
.admin-subtable .table-panel { border: 1px solid #e2e7eb; border-radius: 8px; }
.admin-history-list { max-height: 580px; overflow: auto; padding: 8px 18px 18px; }
.admin-history-list > div:not(.empty) {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f3;
}
.admin-history-list > div:last-child { border-bottom: 0; }
.admin-history-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: #2a65a8;
  box-shadow: 0 0 0 3px #e9f1fa;
}
.admin-history-dot.subscription { background: #6a4ca8; box-shadow: 0 0 0 3px #f0ebfa; }
.admin-history-list strong { font-size: 11px; overflow-wrap: anywhere; }
.admin-history-list p { margin: 4px 0; color: #687480; font-size: 10px; }
.admin-history-list small { color: #939ca6; font-size: 9px; }

@media (max-width: 1180px) {
  .admin-tenant-statbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-tenant-statbar > div:nth-child(3n) { border-right: 0; }
  .admin-tenant-statbar > div:nth-child(-n+3) { border-bottom: 1px solid var(--app-line-soft, #e9edf1); }
  .admin-tenant-table-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .sidebar .brand-mark.light { justify-content: center; }
  .admin-tenant-hero-main { align-items: stretch; flex-direction: column; }
  .admin-tenant-actions { justify-content: flex-start; }
  .admin-tenant-overview-grid,
  .admin-tenant-history-grid { grid-template-columns: 1fr; }
  .admin-fee-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-fee-summary > div:nth-child(2n) { border-right: 0; }
  .admin-fee-summary > div:nth-child(-n+2) { border-bottom: 1px solid var(--app-line-soft, #e9edf1); }
}
@media (max-width: 560px) {
  .admin-tenant-hero { padding: 16px; }
  .admin-tenant-identity { align-items: flex-start; }
  .admin-tenant-avatar { flex-basis: 44px; width: 44px; height: 44px; }
  .admin-tenant-identity h2 { font-size: 19px; }
  .admin-tenant-actions .button { width: 100%; }
  .admin-tenant-statbar { grid-template-columns: 1fr 1fr; }
  .admin-tenant-statbar > div { border-bottom: 1px solid var(--app-line-soft, #e9edf1); }
  .admin-tenant-statbar > div:nth-child(2n) { border-right: 0; }
  .admin-tenant-statbar > div:nth-last-child(-n+2) { border-bottom: 0; }
  .admin-tenant-statbar > div:nth-child(3) { border-right: 1px solid var(--app-line-soft, #e9edf1); }
  .admin-tenant-statbar > div:nth-child(4) { border-right: 0; }
  .admin-usage-grid { grid-template-columns: 1fr; }
  .admin-usage-grid > div,
  .admin-usage-grid > div:nth-child(2n),
  .admin-usage-grid > div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #edf0f3; }
  .admin-usage-grid > div:last-child { border-bottom: 0; }
  .admin-tenant-table-grid { padding: 12px; }
}

/* cleanom 1.8.3 – einheitliche Seitenbreite im Board
   Header und Seiteninhalt verwenden denselben horizontalen Innenabstand. */
:root {
  --board-page-gutter: 26px;
}

.main {
  min-width: 0;
  width: 100%;
}

.topbar {
  padding-inline: var(--board-page-gutter);
}

.page {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 22px var(--board-page-gutter) 52px;
}

.page > *,
.dashboard-grid,
.admin-tenant-detail,
.admin-tenant-overview-grid,
.admin-tenant-history-grid,
.admin-tenant-table-grid {
  min-width: 0;
}

@media (max-width: 820px) {
  :root {
    --board-page-gutter: 18px;
  }

  .page {
    padding-top: 18px;
    padding-bottom: 42px;
  }
}

@media (max-width: 560px) {
  :root {
    --board-page-gutter: 14px;
  }

  .page {
    padding-top: 14px;
    padding-bottom: 36px;
  }
}

/* cleanom 1.8.4 – mobiles Envelope-Icon im Buchungsheader exakt zentrieren */
@media (max-width: 560px) {
  .booking-header > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
    vertical-align: middle;
  }

  .booking-header > a svg {
    display: block !important;
    position: static !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle;
    transform: translateY(1px);
  }
}

/* cleanom 1.8.5 – geführter Auftragsablauf und helle Unterschriften */
.job-workflow {
  margin: 20px -20px 0;
  border-top: 1px solid #e5e9ee;
  background: #f8fafc;
}

.job-workflow-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid #e7ebef;
  background: #fff;
}

.job-workflow-summary > div {
  min-width: 0;
}

.job-workflow-summary small {
  display: block;
  margin-bottom: 4px;
  color: #7b8794;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.job-workflow-summary strong {
  display: block;
  color: #1f2c39;
  font-size: 15px;
  font-weight: 650;
}

.job-workflow-summary p {
  margin: 4px 0 0;
  color: #6e7a86;
  font-size: 10px;
  line-height: 1.5;
}

.job-workflow-summary .button {
  flex: 0 0 auto;
  min-width: 190px;
}

.job-workflow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 20px 15px;
}

.job-workflow-step {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid #dce3e9;
  border-radius: 8px;
  color: #687583;
  background: #fff;
  text-align: left;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.job-workflow-step:disabled {
  cursor: default;
  opacity: 1;
}

.job-workflow-step > i {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid #cfd7df;
  border-radius: 50%;
  color: #77838f;
  background: #f8fafb;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.job-workflow-step > i svg {
  width: 13px;
}

.job-workflow-step > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.job-workflow-step strong {
  overflow: hidden;
  color: #3b4855;
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-workflow-step small {
  color: #8a949e;
  font-size: 8px;
}

.job-workflow-step.done {
  border-color: #b8ddc8;
  background: #f2faf6;
}

.job-workflow-step.done > i {
  border-color: #17835c;
  color: #fff;
  background: #17835c;
}

.job-workflow-step.done strong,
.job-workflow-step.done small {
  color: #176647;
}

.job-workflow-step.active {
  border-color: #2d69bd;
  background: #edf4fd;
  box-shadow: inset 0 0 0 1px #2d69bd;
}

.job-workflow-step.active > i {
  border-color: #2864bd;
  color: #fff;
  background: #2864bd;
}

.job-workflow-step.active strong {
  color: #1d4f92;
}

.job-workflow-step.next {
  cursor: pointer;
  border-color: #a9bdd7;
  background: #fff;
}

.job-workflow-step.next:hover {
  border-color: #2864bd;
  background: #f3f7fc;
  transform: translateY(-1px);
}

.job-workflow-step.next > i {
  border-color: #7e9fc7;
  color: #285f9f;
  background: #edf4fb;
}

.job-workflow-step.next small {
  color: #2864bd;
  font-weight: 650;
}

.signature-pad-wrap,
.signature-pad-wrap canvas,
.saved-signature,
.saved-signature img {
  background-color: #fff !important;
}

.saved-signature {
  padding: 18px;
  border-color: #cfd9d3;
  background: #fff !important;
}

.saved-signature img {
  display: block;
  width: min(420px, 100%);
  height: 135px;
  padding: 8px;
  border: 1px solid #e2e7e4;
  border-radius: 6px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal !important;
}

@media (max-width: 900px) {
  .job-workflow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .job-workflow {
    margin: 17px -14px 0;
  }

  .job-workflow-summary {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 15px 14px;
  }

  .job-workflow-summary .button,
  .job-workflow-summary .badge {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .job-workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 10px 14px 14px;
  }

  .job-workflow-step {
    min-height: 61px;
    padding: 9px;
  }

  .job-workflow-step strong {
    white-space: normal;
    line-height: 1.25;
  }
}

@media (max-width: 390px) {
  .job-workflow-step {
    align-items: flex-start;
    gap: 7px;
  }

  .job-workflow-step > i {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }
}

.appointment-status-readonly {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #d8dfe6;
  border-radius: 6px;
  background: #f8fafc;
}
