/* Kompass: Buchung (Kunde) & Admin-Cockpit */
.stats4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stats4 div { padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.stats4 b { display: block; font-size: 22px; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--dawn-2), var(--dawn)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats4 span { font-size: 12px; color: var(--muted); font-weight: 600; }

.booking { padding: 20px; }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 8px 6px 6px 0; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.day-chip { scroll-snap-align: start; flex: none; width: 74px; padding: 10px 6px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out); color: var(--text); }
.day-chip span { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.day-chip b { font-size: 22px; line-height: 1.1; }
.day-chip i { position: absolute; top: -6px; right: -4px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--cyan); color: #04121a; font-size: 11px; font-weight: 800; font-style: normal; display: grid; place-items: center; padding: 0 5px; }
.day-chip.on { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.day-chip.on span { color: rgba(255, 255, 255, 0.85); }
.day-chip:active { transform: scale(0.96); }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.time-chip { height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-weight: 800; font-size: 15px; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
@media (hover: hover) { .time-chip:hover { border-color: var(--primary); } }
.time-chip:active { transform: scale(0.96); }
.time-chip.on { background: var(--grad); border-color: transparent; color: #fff; }
.time-chip.locked { opacity: 0.55; cursor: not-allowed; background: rgba(61, 220, 151, 0.15); border-color: rgba(61, 220, 151, 0.4); }

.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); width: max-content; max-width: 100%; }
.tab { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; transition: background-color 160ms ease, color 160ms ease; }
.tab svg { width: 17px; height: 17px; }
.tab.on { background: var(--grad); color: #fff; }
.cal-head, .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-head span { text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: 0.08em; padding-bottom: 4px; }
.cal-day { min-height: 76px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; padding: 8px 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; transition: border-color 160ms ease, transform 160ms var(--ease-out); }
.cal-day b { font-size: 15px; }
.cal-day i { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.cal-day i.o { background: rgba(56, 217, 230, 0.15); color: var(--cyan); }
.cal-day i.b { background: rgba(61, 220, 151, 0.15); color: var(--ok); }
.cal-day.today { border-color: var(--primary); }
.cal-day.has { background: var(--surface-2); }
.cal-day.past { opacity: 0.35; cursor: default; }
.cal-day:not(.past):active { transform: scale(0.96); }
@media (hover: hover) { .cal-day:not(.past):hover { border-color: var(--line-2); } }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mini-kpi { padding: 10px; border-radius: 12px; background: var(--surface-2); }
.mini-kpi span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.mini-kpi b { font-size: 17px; }

@media (max-width: 860px) {
  .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-day { min-height: 58px; padding: 6px 4px; }
  .cal-day i { font-size: 9px; padding: 1px 4px; }
  .cal-day i.b { display: none; }
  .time-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .kpi-chip { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; }
  .kpi-chip span { font-size: 11px; }
  .mh-photo { max-width: 190px; aspect-ratio: 4 / 5; }
  .composer-card .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .composer-card .chips::-webkit-scrollbar { display: none; }
  .composer-card .chip { flex: none; }
  .composer-card .row.wrap .btn { flex: 1; }
}
.reader .row.between .btn { white-space: normal; height: auto; min-height: 46px; padding-top: 10px; padding-bottom: 10px; text-align: left; line-height: 1.25; }
.reader .row.between { gap: 10px; }
.dash-day > .sp { min-width: 0; width: 100%; }
.dash-day .h2 { overflow-wrap: anywhere; }
@media (max-width: 420px) { .card .h2[style*="min-width:190px"] { min-width: 0 !important; font-size: 19px; } .dash-day { padding: 18px; } }
.reader .row.between .btn { flex: 1 1 0; min-width: 0; }
.reader .row.between .btn.ghost { flex: 0 0 auto; }
@media (max-width: 860px) { .m-photo { object-position: center 72%; height: 190px; } }
