/* ============================================================
   Trinely in-app mockups — pixel-perfect at any zoom.
   Designed at 1480px wide; container queries scale to fit.
   ============================================================ */

/* Scaler: keeps the aspect ratio and scales the inner 1480-wide
   canvas to fit its container width. */
.mock-scaler {
  container-type: inline-size;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #f7f8fb;
  aspect-ratio: 1480 / var(--mock-h, 830);
}
.mock-scaler .mock-app {
  position: absolute;
  top: 0; left: 0;
  width: 1480px;
  height: calc(var(--mock-h, 830) * 1px);
  transform-origin: top left;
  transform: scale(calc(100cqw / 1480px));
  display: grid;
  grid-template-columns: 230px 1fr;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #0d1a36;
  font-size: 14px;
  line-height: 1.4;
  background: #f7f8fb;
  -webkit-font-smoothing: antialiased;
}

/* ============ SIDEBAR ============ */
.mock-side {
  background: #ffffff;
  border-right: 1px solid #eef0f4;
  display: flex; flex-direction: column;
  padding: 18px 14px 14px;
  gap: 2px;
}
.mock-logo {
  display: flex; align-items: center;
  padding: 4px 8px 18px;
}
.mock-logo img {
  height: 28px; width: auto;
  display: block;
}

.mock-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #45506b;
  cursor: default;
}
.mock-nav-item svg {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.mock-nav-item.active {
  background: #0A1B3D;
  color: white;
  box-shadow: 0 6px 16px -8px rgba(10,27,61,0.35);
}
.mock-nav-item.active svg { stroke: #14CBB4; }

.mock-side-foot {
  margin-top: auto;
  padding: 12px 12px 4px;
  font-size: 13px;
  color: #6a7691;
  display: flex; align-items: center; gap: 8px;
  border-top: 1px solid #eef0f4;
}

/* ============ HEADER + STACK ============ */
.mock-stack { display: flex; flex-direction: column; min-width: 0; }

.mock-header {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 28px;
  background: transparent;
}
.mock-h-title {
  font-size: 22px; font-weight: 700; color: #0d1a36;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
  margin-right: auto;
}
.mock-lang {
  display: inline-flex; padding: 3px;
  background: #f0f2f7; border-radius: 999px; gap: 1px;
}
.mock-lang span {
  padding: 4px 11px; font-size: 12px; font-weight: 700;
  color: #6a7691; border-radius: 999px; letter-spacing: 0.04em;
}
.mock-lang span.on {
  background: #0A1B3D; color: white;
}
.mock-user { display: flex; align-items: center; gap: 10px; }
.mock-user .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: #0A1B3D; color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.02em;
}
.mock-user .who { line-height: 1.15; }
.mock-user .who .n { font-weight: 700; font-size: 13.5px; color: #0d1a36; }
.mock-user .who .r { font-size: 11px; color: #6a7691; letter-spacing: 0.08em; }
.mock-logout {
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid #d8dde8; background: white;
  font-size: 13px; font-weight: 600; color: #45506b;
}

.mock-content {
  flex: 1;
  padding: 4px 28px 28px;
  min-height: 0;
  overflow: hidden;
}

/* ============ SHARED ATOMS ============ */
.m-card {
  background: white; border: 1px solid #eef0f4;
  border-radius: 12px;
}
.m-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
}
.m-pill.ok    { background: #e6f7f1; color: #0a8a7a; }
.m-pill.warn  { background: #fde8e8; color: #c2374d; }
.m-pill.muted { background: #f0f2f7; color: #6a7691; }
.m-pill.gold  { background: #fdf1d8; color: #8a5a07; }
.m-pill.nav   { background: #0A1B3D; color: white; }

.m-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 9px;
  font-size: 13px; font-weight: 700;
  background: #0A1B3D; color: white; border: 0;
}
.m-btn .plus { font-weight: 800; font-size: 14px; }
.m-btn.ghost {
  background: white; color: #45506b; border: 1px solid #d8dde8;
  font-weight: 600;
}

.m-av {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.m-av.tb { background: #0A1B3D; }
.m-av.am { background: #f7a831; }
.m-av.ls { background: #8b5cf6; }
.m-av.an { background: #14CBB4; color: #0A1B3D; }
.m-av.sm { width: 30px; height: 30px; font-size: 11px; }

.m-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.m-table thead th {
  text-align: left;
  font-size: 11px; font-weight: 700;
  color: #6a7691; letter-spacing: 0.08em;
  padding: 14px 18px;
  background: #f7f8fb;
  border-bottom: 1px solid #eef0f4;
  text-transform: uppercase;
}
.m-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid #f3f4f8;
  vertical-align: middle;
  color: #0d1a36;
}
.m-table tbody tr:last-child td { border-bottom: 0; }

.m-tabs {
  display: inline-flex; gap: 2px;
  background: #f0f2f7; padding: 4px;
  border-radius: 12px;
}
.m-tabs span {
  padding: 9px 18px; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: #6a7691;
  display: inline-flex; align-items: center; gap: 8px;
}
.m-tabs span.on {
  background: #0A1B3D; color: white;
  box-shadow: 0 2px 6px rgba(10,27,61,0.18);
}
.m-tabs .count {
  background: rgba(255,255,255,0.18); color: white;
  font-size: 11px; padding: 1px 7px; border-radius: 999px;
  font-weight: 700;
}

.m-chip {
  display: inline-flex; align-items: center;
  padding: 4px 9px; border-radius: 6px;
  font-size: 11.5px; font-weight: 500;
  background: #eef3ff; color: #2a4d9e;
  border: 1px solid #dde6f7;
  white-space: nowrap;
}
.m-chip.acc {
  background: rgba(20,203,180,0.10); color: #0a8a7a;
  border-color: rgba(20,203,180,0.30);
}

/* ============ CALENDAR PAGE ============ */
.cal-toolbar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.cal-view {
  display: inline-flex; background: white;
  border: 1px solid #e6e8ef; border-radius: 9px;
  overflow: hidden;
}
.cal-view span {
  padding: 8px 16px; font-size: 13px; font-weight: 600; color: #45506b;
}
.cal-view span.on { background: #0A1B3D; color: white; }
.cal-arrow {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid #e6e8ef; background: white;
  display: inline-flex; align-items: center; justify-content: center;
  color: #45506b; font-size: 14px;
}
.cal-today {
  padding: 8px 16px; border-radius: 9px;
  border: 1px solid #e6e8ef; background: white;
  font-size: 13px; font-weight: 600; color: #45506b;
}
.cal-month {
  font-size: 17px; font-weight: 700; color: #0d1a36;
  margin: 0 8px;
}
.cal-staff-select {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #6a7691;
}
.cal-staff-select select {
  padding: 7px 26px 7px 12px; border-radius: 8px;
  border: 1px solid #e6e8ef; background: white;
  font-size: 13px; color: #0d1a36; font-family: inherit;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6a7691 50%),
                    linear-gradient(135deg, #6a7691 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.cal-grid {
  background: white; border-radius: 12px;
  border: 1px solid #eef0f4;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
}
.cal-grid .h {
  padding: 11px 12px;
  font-size: 11px; font-weight: 700; color: #6a7691;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #eef0f4;
  background: #f7f8fb;
}
.cal-grid .d {
  border-right: 1px solid #f3f4f8;
  border-bottom: 1px solid #f3f4f8;
  padding: 7px 8px;
  min-height: 78px;
  display: flex; flex-direction: column; gap: 3px;
  background: white;
}
.cal-grid .d.dim { background: #fafbfd; color: #b3bbcc; }
.cal-grid .d:nth-child(7n) { border-right: 0; }
.cal-grid .h:nth-child(7n) { border-right: 0; }
.cal-grid .dn {
  font-size: 12px; font-weight: 600;
  color: #45506b;
}
.cal-grid .d.dim .dn { color: #b3bbcc; }
.cal-grid .d.today .dn {
  background: #0A1B3D; color: white;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px;
}
.cal-appt {
  font-size: 10.5px; line-height: 1.15;
  padding: 3px 6px; border-radius: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-weight: 600;
}
.cal-appt.violet { background: #ede9fe; color: #5b3aa0; }
.cal-appt.blue   { background: #dbeafe; color: #1e40af; }
.cal-appt.teal   { background: rgba(20,203,180,0.18); color: #0a8a7a; }
.cal-appt.rose   { background: #fce7f3; color: #9d2562; }
.cal-appt.amber  { background: #fef3c7; color: #92400e; }
.cal-appt.navy   { background: #e0e7ff; color: #312e81; }
.cal-appt .plus  { color: #6a7691; font-weight: 600; }

/* ============ KPI CARDS (Dashboard, Gutschein) ============ */
.m-kpi-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}
.m-kpi {
  padding: 18px 20px;
  border-radius: 12px;
  background: white; border: 1px solid #eef0f4;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.m-kpi .lbl {
  font-size: 10.5px; font-weight: 700; color: #6a7691;
  letter-spacing: 0.10em; text-transform: uppercase;
}
.m-kpi .val {
  font-size: 28px; font-weight: 800; color: #0d1a36;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.m-kpi .sub { font-size: 12px; color: #6a7691; }
.m-kpi .ico {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 10px;
  background: #f0f2f7;
  display: flex; align-items: center; justify-content: center;
  color: #6a7691;
}
.m-kpi.green {
  background: linear-gradient(180deg, #ecfdf5 0%, white 65%);
  border-color: #c5f0db;
}
.m-kpi.green .val { color: #0a8a7a; }
.m-kpi.green .ico { background: rgba(20,203,180,0.16); color: #0a8a7a; }
.m-kpi.lilac .ico { background: #e9e5fb; color: #5b3aa0; }
.m-kpi.warn  .ico { background: #fde8e8; color: #c2374d; }
.m-kpi.gold  .ico { background: #fdf1d8; color: #8a5a07; }
.m-kpi.blue  .ico { background: #dde6f7; color: #2a4d9e; }
.m-kpi .val.ok { color: #0a8a7a; }

/* ============ TIME-OFF STAFF CARDS ============ */
.to-cards { display: flex; gap: 14px; margin-bottom: 22px; }
.to-card {
  background: white; border: 1px solid #eef0f4;
  border-radius: 12px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  min-width: 290px;
}
.to-card .nm { font-weight: 700; font-size: 14.5px; color: #0d1a36; }
.to-card .dy {
  font-size: 12px; color: #6a7691;
  display: flex; align-items: center; gap: 5px;
  margin-top: 2px;
}

.to-filters {
  display: flex; gap: 10px; align-items: center; margin-bottom: 14px;
}
.to-filters select {
  appearance: none; padding: 9px 28px 9px 14px;
  background: white; border: 1px solid #e6e8ef; border-radius: 9px;
  font-size: 13px; color: #0d1a36; font-family: inherit;
  background-image: linear-gradient(45deg, transparent 50%, #6a7691 50%),
                    linear-gradient(135deg, #6a7691 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.to-filters .right { margin-left: auto; }

/* ============ STAFF CARDS (Mitarbeiter) ============ */
.staff-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.staff-head .cnt { font-size: 13.5px; color: #6a7691; }
.staff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.staff-card {
  background: white; border: 1px solid #eef0f4;
  border-radius: 14px; padding: 18px; display: flex; flex-direction: column;
  gap: 12px;
}
.staff-card .top { display: flex; align-items: center; gap: 12px; }
.staff-card .nm { font-weight: 700; font-size: 15px; color: #0d1a36; }
.staff-card .rl {
  display: inline-block; margin-top: 4px;
  padding: 3px 9px; border-radius: 5px;
  background: #f0f2f7; color: #45506b;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em;
}
.staff-card .actions { margin-left: auto; display: flex; gap: 4px; }
.staff-card .actions .ic {
  width: 28px; height: 28px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f7f8fb; color: #6a7691; font-size: 12px;
}
.staff-card .actions .ic.del { color: #c2374d; }

.staff-card .stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #f7f8fb; border-radius: 10px;
  overflow: hidden;
}
.staff-card .stats .st {
  text-align: center; padding: 10px 4px;
  border-right: 1px solid #eef0f4;
}
.staff-card .stats .st:last-child { border-right: 0; }
.staff-card .stats .v {
  font-weight: 800; font-size: 16px;
  color: #0d1a36; letter-spacing: -0.02em;
}
.staff-card .stats .v.ok { color: #0a8a7a; }
.staff-card .stats .l { font-size: 10.5px; color: #6a7691; margin-top: 1px; }
.staff-card .stats .st.hl { background: rgba(20,203,180,0.10); }
.staff-card .em { font-size: 12px; color: #6a7691; }
.staff-card .login-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 5px;
  background: rgba(20,203,180,0.14); color: #0a8a7a;
  font-size: 11px; font-weight: 600;
}
.staff-card .pct-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 5px;
  background: #e9e5fb; color: #5b3aa0;
  font-size: 11px; font-weight: 700;
}
.staff-card .login {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 2px;
}
.staff-card .creds {
  border-top: 1px solid #f0f2f7; padding-top: 10px;
  display: flex; align-items: center; gap: 10px;
}
.staff-card .creds .lt {
  font-size: 9.5px; color: #6a7691; font-weight: 700; letter-spacing: 0.07em;
}
.staff-card .creds .em { font-size: 11.5px; color: #45506b; }
.staff-card .creds .em b { color: #0d1a36; font-weight: 600; }
.staff-card .creds .mng {
  margin-left: auto; font-size: 11px; padding: 4px 10px;
  border: 1px solid #e6e8ef; border-radius: 6px; color: #45506b;
  background: white;
}
.staff-card .svc {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.staff-card .svc-t { font-size: 9.5px; font-weight: 700; color: #6a7691; letter-spacing: 0.07em; margin-bottom: 4px; }
.staff-card .svc-empty {
  font-size: 11.5px; color: #b3bbcc; font-style: italic;
}

/* ============ STOCK BARS (Inventory) ============ */
.stock-bar {
  display: flex; align-items: center; gap: 10px;
}
.stock-bar .track {
  width: 110px; height: 6px; border-radius: 3px;
  background: #e6e8ef;
  overflow: hidden;
}
.stock-bar .track > i {
  display: block; height: 100%;
  background: #2a4d9e;
}
.stock-bar.warn .track > i { background: #c2374d; }
.stock-bar .v {
  font-size: 13px; font-weight: 600; color: #0d1a36;
}
.stock-bar .v .u { color: #6a7691; font-weight: 500; }

.kho-alert {
  background: #fdf2f0; border: 1px solid #f7c2bb;
  border-radius: 10px; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #c2374d; font-weight: 600;
  margin-bottom: 16px;
}
.kho-alert .ico {
  width: 22px; height: 22px; flex-shrink: 0;
  color: #c2374d;
}
.kho-alert b { color: #8e1f33; }

.kho-toolbar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.kho-search {
  flex: 1; max-width: 340px;
  padding: 9px 14px 9px 36px; border-radius: 9px;
  background: white; border: 1px solid #e6e8ef;
  font-size: 13px; color: #6a7691;
  background-image: radial-gradient(circle at 14px center, transparent 5.5px, #6a7691 5.5px, #6a7691 6.5px, transparent 6.5px),
                    linear-gradient(45deg, transparent 50%, #6a7691 50%, #6a7691 55%, transparent 55%);
  background-position: 0 0, 17px 18px;
  background-size: 100% 100%, 5px 5px;
  background-repeat: no-repeat;
  font-family: inherit;
}
.kho-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.kho-cats span {
  padding: 7px 13px; border-radius: 7px;
  font-size: 12.5px; font-weight: 600; color: #45506b;
  background: white; border: 1px solid #e6e8ef;
}
.kho-cats span.on { background: #0A1B3D; color: white; border-color: #0A1B3D; }
.kho-cats .right { margin-left: auto; }
.kho-row-warn { background: #fef6f4 !important; }
.kho-row-warn td:first-child { border-left: 3px solid #c2374d; }

/* ============ PAYROLL ============ */
.pay-head {
  display: flex; align-items: center; gap: 14px;
  background: white; border: 1px solid #eef0f4;
  border-radius: 12px; padding: 14px 20px;
  margin-bottom: 16px;
}
.pay-head .arrow {
  width: 36px; height: 36px; border-radius: 9px;
  background: #f7f8fb; border: 1px solid #e6e8ef;
  display: inline-flex; align-items: center; justify-content: center;
  color: #45506b;
}
.pay-head .mo { font-size: 19px; font-weight: 800; color: #0d1a36; letter-spacing: -0.02em; }
.pay-head .right { margin-left: auto; display: flex; gap: 28px; }
.pay-head .right .b { text-align: right; }
.pay-head .right .b .l {
  font-size: 10.5px; font-weight: 700; color: #6a7691; letter-spacing: 0.10em; text-transform: uppercase;
}
.pay-head .right .b .v {
  font-size: 19px; font-weight: 800; letter-spacing: -0.02em;
}
.pay-head .right .b .v.ok { color: #0a8a7a; }

.pay-note {
  font-size: 12.5px; color: #6a7691; padding: 10px 18px;
  display: flex; align-items: center; gap: 6px;
}
.pay-note::before {
  content: ""; width: 14px; height: 14px;
  background: #fdf1d8;
  border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============ MARKETING ============ */
.mk-tabs-row {
  display: flex; gap: 24px; margin-bottom: 0;
  border-bottom: 1px solid #eef0f4;
  padding: 0 4px;
}
.mk-tab {
  padding: 12px 8px; font-size: 14px; font-weight: 600;
  color: #6a7691; position: relative;
  display: inline-flex; align-items: center; gap: 8px;
}
.mk-tab.on { color: #0A1B3D; font-weight: 700; }
.mk-tab.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2.5px; background: #0A1B3D; border-radius: 2px 2px 0 0;
}
.mk-tab .badge {
  background: #0A1B3D; color: white;
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
  min-width: 22px; text-align: center;
}
.mk-tab.on .badge { background: #0A1B3D; }
.mk-tab:not(.on) .badge { background: #d8dde8; color: #45506b; }

.mk-row-name { font-weight: 700; color: #0d1a36; font-size: 14px; }
.mk-row-sub { font-size: 12px; color: #6a7691; margin-top: 1px; }
.mk-channel {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #45506b;
}
.mk-channel .ic {
  width: 22px; height: 22px; border-radius: 5px;
  background: #f0f2f7;
  display: inline-flex; align-items: center; justify-content: center;
  color: #45506b;
}

/* ============ GUTSCHEIN ============ */
.gs-tabs-pill { display: inline-flex; gap: 0; }
.gs-tabs-pill .p {
  padding: 10px 18px; font-size: 13px; font-weight: 600;
  background: white; color: #45506b; border: 1px solid #e6e8ef;
  display: inline-flex; align-items: center; gap: 8px;
}
.gs-tabs-pill .p:first-child { border-radius: 10px 0 0 10px; }
.gs-tabs-pill .p:last-child  { border-radius: 0 10px 10px 0; border-left: 0; }
.gs-tabs-pill .p.on { background: #0A1B3D; color: white; border-color: #0A1B3D; }

.gs-search-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.gs-chips { display: flex; gap: 4px; }
.gs-chips span {
  padding: 6px 14px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: #45506b;
}
.gs-chips span.on { background: #0A1B3D; color: white; }
.gs-bar {
  width: 130px; height: 6px; border-radius: 3px;
  background: #e6e8ef; overflow: hidden;
}
.gs-bar > i { display: block; height: 100%; background: #14CBB4; }
.gs-balance {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: #0a8a7a;
}

/* ============ BOOKING PHONE — Zeit-Auswahl ============ */
.bp-phone {
  width: 320px;
  margin: 0 auto;
  background: white;
  border-radius: 32px;
  border: 10px solid #0d1a36;
  box-shadow: 0 30px 60px -20px rgba(10,27,61,0.40), 0 4px 12px rgba(10,27,61,0.10);
  overflow: hidden;
  position: relative;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: #0d1a36;
}
.bp-phone .bp-notch {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0d1a36;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.bp-screen {
  background: #f7f8fb;
  height: 580px;
  padding: 32px 16px 76px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.bp-topbar {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef0f4;
}
.bp-logo {
  display: flex; align-items: center;
}
.bp-logo img { height: 20px; width: auto; display: block; }
.bp-lang {
  margin-left: auto;
  display: inline-flex; padding: 3px;
  background: #f0f2f7; border-radius: 999px; gap: 1px;
}
.bp-lang span {
  padding: 3px 8px; font-size: 9.5px; font-weight: 700;
  color: #6a7691; border-radius: 999px; letter-spacing: 0.04em;
}
.bp-lang span.on {
  background: #0A1B3D; color: white;
}

.bp-step-row {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 10px;
}
.bp-step-num {
  background: #0A1B3D; color: white;
  font-weight: 700; font-size: 11.5px;
  padding: 4px 10px; border-radius: 999px;
}
.bp-step-name { font-size: 14px; font-weight: 700; color: #0d1a36; }
.bp-back {
  margin-left: auto;
  font-size: 11px; color: #6a7691; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.bp-progress {
  height: 4px; border-radius: 2px;
  background: #e6e8ef; overflow: hidden;
  margin-bottom: 18px;
}
.bp-progress > i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #14CBB4, #2a4d9e);
  border-radius: 2px;
}

.bp-card {
  background: white; border-radius: 14px;
  padding: 16px 14px;
  flex: 1;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.bp-h {
  font-size: 15px; font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.bp-meta {
  font-size: 10.5px; color: #6a7691;
  text-align: center; margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.bp-section-h {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 12px; font-weight: 700; color: #0d1a36;
  margin: 6px 0 6px;
}
.bp-section-h .c { color: #b3bbcc; font-weight: 600; font-size: 10.5px; }
.bp-times {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.bp-time {
  border: 1px solid #e6e8ef; background: white;
  border-radius: 7px;
  padding: 9px 0;
  text-align: center;
  font-size: 11.5px; font-weight: 700;
  color: #0d1a36;
  font-variant-numeric: tabular-nums;
}
.bp-time.on {
  background: #0A1B3D; color: white;
  border-color: #0A1B3D;
  box-shadow: 0 2px 8px rgba(10,27,61,0.25);
}

.bp-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: white;
  border-top: 1px solid #eef0f4;
  box-shadow: 0 -4px 12px rgba(10,27,61,0.06);
}
.bp-foot-back {
  width: 36px; height: 36px; border-radius: 9px;
  background: #f0f2f7; color: #6a7691;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.bp-foot-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.bp-foot-info .l {
  font-size: 8.5px; letter-spacing: 0.10em;
  color: #6a7691; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bp-foot-info .v {
  font-size: 13.5px; font-weight: 800;
  color: #0d1a36;
}
.bp-foot-next {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 9px;
  background: #0A1B3D; color: white;
  font-size: 12.5px; font-weight: 700;
}

/* ============ EMAIL MOCKUP (Bestätigung / Erinnerung) ============ */
.em-wrap {
  width: 100%; max-width: 380px;
  margin: 0 auto;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eef0f4;
  box-shadow: 0 20px 50px -20px rgba(10,27,61,0.30), 0 2px 6px rgba(10,27,61,0.08);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  display: flex; flex-direction: column;
}
.em-head {
  background: linear-gradient(160deg, #1a3a8a 0%, #0A1B3D 100%);
  color: white;
  padding: 22px 22px 24px;
}
.em-eyebrow {
  font-size: 10.5px; font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.em-title {
  font-size: 22px; font-weight: 800;
  line-height: 1.15; letter-spacing: -0.01em;
  margin: 0;
}
.em-body {
  padding: 22px;
  font-size: 13px; color: #0d1a36; line-height: 1.5;
  flex: 1;
  display: flex; flex-direction: column;
}
.em-greet { margin: 0 0 12px; }
.em-intro { margin: 0 0 18px; }
.em-grid {
  display: grid; grid-template-columns: 92px 1fr;
  gap: 14px 16px;
  margin: 0 0 22px;
  align-items: start;
}
.em-grid .k {
  color: #6a7691; font-size: 12px;
  padding-top: 1px;
}
.em-grid .v {
  font-weight: 800; font-size: 13.5px;
  text-align: right;
  color: #0d1a36;
  font-variant-numeric: tabular-nums;
}
.em-grid .v ul {
  list-style: none; padding: 0; margin: 0;
  text-align: right;
}
.em-grid .v ul li { padding: 1px 0; }
.em-grid .v ul li::before {
  content: "• "; color: #0d1a36;
}
.em-cancel-note {
  font-size: 12px; color: #6a7691; line-height: 1.45;
  margin: auto 0 12px;
}
.em-cancel-btn {
  display: inline-block;
  padding: 11px 22px; border-radius: 6px;
  background: #d83a3a; color: white;
  font-size: 13px; font-weight: 700;
}
.em-foot-note {
  font-size: 11.5px; color: #b3bbcc;
  border-top: 1px solid #f3f4f8;
  padding-top: 14px; margin-top: 18px;
  line-height: 1.4;
}

/* Two emails side-by-side on the reminders section */
.email-stack {
  display: grid; gap: 24px;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 880px; margin: 0 auto;
}
@media (max-width: 720px) {
  .email-stack { grid-template-columns: 1fr; }
}
.dash-charts {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px;
}
.dash-card {
  background: white; border: 1px solid #eef0f4; border-radius: 12px;
  padding: 16px 20px;
}
.dash-card h3 {
  font-size: 14px; font-weight: 700; color: #0d1a36;
  margin: 0 0 14px;
}
.dash-bars {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px; align-items: end;
  height: 130px; padding: 0 6px;
}
.dash-bars .col {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  position: relative;
}
.dash-bars .col .v {
  font-size: 11px; color: #6a7691; font-weight: 600;
}
.dash-bars .col .v.b { color: #0d1a36; font-weight: 700; }
.dash-bars .col .bar {
  width: 60%; background: #d8e0ec; border-radius: 4px 4px 0 0;
  min-height: 2px;
}
.dash-bars .col.now .bar { background: #2a4d9e; }
.dash-bars .lab {
  font-size: 11px; color: #6a7691; margin-top: 4px;
}
.dash-bars .lab.b { color: #0d1a36; font-weight: 700; }

.dash-serv-row {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 14px;
  align-items: center; margin-bottom: 10px;
}
.dash-serv-row .nm { font-size: 12.5px; color: #0d1a36; font-weight: 600; }
.dash-serv-row .px {
  font-size: 11.5px; color: #6a7691; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dash-serv-row .br {
  grid-column: 1 / -1;
  height: 5px; border-radius: 3px; background: #f0f2f7; overflow: hidden;
}
.dash-serv-row .br > i { display: block; height: 100%; }
.dash-serv-row .br > i.a { background: #2a4d9e; }
.dash-serv-row .br > i.b { background: #5b3aa0; }
.dash-serv-row .br > i.c { background: #c2374d; }
.dash-serv-row .br > i.d { background: #0a8a7a; }
.dash-serv-row .br > i.e { background: #8a5a07; }
.dash-serv-row .br > i.f { background: #6a7691; }
