@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #07111b;
  --bg-soft: #0b1522;
  --surface: rgba(15, 25, 39, 0.94);
  --surface-2: rgba(19, 31, 48, 0.98);
  --surface-3: #1a2b42;
  --surface-4: #223754;
  --surface-accent: rgba(63, 224, 197, 0.08);
  --text: #ecf4ff;
  --text-muted: #9eb2ca;
  --text-soft: #7f96b2;
  --primary: #43e0c7;
  --primary-strong: #1eb4bd;
  --primary-ink: #041719;
  --secondary: #273851;
  --secondary-strong: #334a68;
  --danger: #f15f7b;
  --danger-strong: #c63b56;
  --success: #78e6a1;
  --warning: #f7c86f;
  --info: #7ba5ff;
  --border: rgba(122, 149, 182, 0.2);
  --border-strong: rgba(154, 183, 218, 0.3);
  --shadow-lg: 0 24px 54px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.26);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 16px;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(1000px 580px at -10% -10%, rgba(18, 69, 100, 0.36) 0%, transparent 60%),
    radial-gradient(1000px 620px at 110% 120%, rgba(19, 112, 97, 0.26) 0%, transparent 62%),
    linear-gradient(rgba(117, 148, 183, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 148, 183, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  background-size: auto, auto, 26px 26px, 26px 26px, auto;
}

.app-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.screen {
  display: block;
}

.hidden {
  display: none !important;
}

.visually-hidden {
  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;
}

.card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.compact-card {
  padding-top: 16px;
  padding-bottom: 16px;
}

.app-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  box-shadow: var(--shadow-lg);
}

.header-side {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.header-session {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.session-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
}

.session-role {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.header-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.header-copy p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 6px;
  color: #83f3d8;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

h1,
h2,
h3,
h4,
strong {
  letter-spacing: -0.03em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #8ff1d8;
  text-align: center;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 1.12rem + 1.2vw, 2rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.18rem, 1rem + 0.9vw, 1.52rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
  font-weight: 800;
}

h4 {
  margin-bottom: 8px;
  font-size: 0.98rem;
  font-weight: 800;
}

p {
  margin: 0 0 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-note {
  color: var(--text-soft);
}

label {
  display: block;
  margin-bottom: 6px;
  color: #c0d0e5;
  font-size: 0.84rem;
  font-weight: 700;
}

select,
input,
button {
  width: 100%;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

select,
input {
  margin-bottom: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(12, 21, 32, 0.9);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

select::placeholder,
input::placeholder {
  color: var(--text-soft);
}

select:hover,
input:hover {
  border-color: rgba(177, 203, 232, 0.42);
}

select:focus,
input:focus {
  outline: none;
  border-color: rgba(77, 219, 200, 0.82);
  box-shadow: 0 0 0 3px rgba(63, 224, 197, 0.14);
}

button {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid transparent;
  color: var(--primary-ink);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 14px 28px rgba(23, 177, 187, 0.24);
  cursor: pointer;
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

button.secondary {
  color: var(--text);
  background: linear-gradient(180deg, rgba(44, 61, 85, 0.96) 0%, rgba(33, 46, 66, 0.96) 100%);
  border-color: rgba(146, 173, 209, 0.2);
  box-shadow: none;
}

button.secondary:hover {
  background: linear-gradient(180deg, rgba(52, 72, 101, 0.96) 0%, rgba(40, 56, 79, 0.96) 100%);
}

button.danger {
  color: #fff4f7;
  background: linear-gradient(135deg, var(--danger) 0%, var(--danger-strong) 100%);
  box-shadow: 0 14px 28px rgba(198, 59, 86, 0.2);
}

.status {
  min-height: 20px;
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
}

.status.error {
  color: #ff8b9f;
}

.status.ok {
  color: var(--success);
}

.status.info {
  color: var(--warning);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge-provider {
  background: rgba(63, 224, 197, 0.14);
  color: #9ef3e6;
  border-color: rgba(63, 224, 197, 0.24);
}

.badge-alert {
  background: rgba(241, 95, 123, 0.12);
  color: #ffb9c6;
  border-color: rgba(241, 95, 123, 0.24);
}

.badge-state {
  background: rgba(247, 200, 111, 0.12);
  color: #ffe0a7;
  border-color: rgba(247, 200, 111, 0.24);
}

.badge-state[data-tone="success"] {
  background: rgba(114, 222, 149, 0.14);
  color: #bdf6cd;
  border-color: rgba(114, 222, 149, 0.24);
}

.badge-state[data-tone="ready"] {
  background: rgba(63, 224, 197, 0.14);
  color: #9ef3e6;
  border-color: rgba(63, 224, 197, 0.24);
}

.badge-state[data-tone="info"] {
  background: rgba(123, 165, 255, 0.14);
  color: #d3e0ff;
  border-color: rgba(123, 165, 255, 0.24);
}

.badge-state[data-tone="warning"] {
  background: rgba(247, 200, 111, 0.12);
  color: #ffe0a7;
  border-color: rgba(247, 200, 111, 0.24);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background:
    radial-gradient(560px 240px at 100% 0%, rgba(63, 224, 197, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(15, 24, 37, 0.98) 0%, rgba(19, 31, 47, 0.95) 100%);
}

.hero-main {
  display: grid;
  justify-items: center;
}

.hero-main p:last-child {
  margin-bottom: 0;
  text-align: center;
}

.hero-side {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.fact-card {
  display: grid;
  gap: 6px;
}

.fact-label {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.fact-value {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-head-center {
  justify-content: center;
}

.section-head-center > div:first-child {
  display: grid;
  justify-items: center;
  text-align: center;
  width: 100%;
}

.section-head-photo {
  margin-bottom: 12px;
}

.title-stack {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 100%;
}

.title-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.title-badge-row h2 {
  margin-bottom: 0;
}

.title-badge-row .inline-hint {
  max-width: none;
  padding: 8px 12px;
  text-align: center;
}

.inline-hint {
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 149, 182, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
}

.action-card {
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(63, 224, 197, 0.42), transparent);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.flow-steps-stacked {
  grid-template-columns: 1fr;
}

.flow-step {
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 149, 182, 0.18);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-step span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 0.83rem;
  font-weight: 800;
}

.flow-step strong {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
}

.flow-step.is-active {
  border-color: rgba(63, 224, 197, 0.32);
  background: rgba(63, 224, 197, 0.08);
}

.flow-step.is-active span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: var(--primary-ink);
}

.mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  margin-bottom: 12px;
  border: 1px solid rgba(122, 149, 182, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.choice-screen {
  display: grid;
  gap: 12px;
}

.mode-btn {
  padding: 11px 10px;
  background: transparent;
  color: var(--text-soft);
  border-color: transparent;
  box-shadow: none;
}

.mode-btn.active {
  color: var(--text);
  background: linear-gradient(180deg, rgba(45, 64, 91, 0.98) 0%, rgba(33, 48, 69, 0.98) 100%);
  border-color: rgba(157, 186, 222, 0.14);
}

.selection-summary {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(63, 224, 197, 0.18);
  background:
    linear-gradient(180deg, rgba(63, 224, 197, 0.06) 0%, rgba(63, 224, 197, 0.02) 100%),
    rgba(255, 255, 255, 0.02);
}

.selection-summary-photo {
  margin-top: 2px;
}

.selection-summary-title {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
}

.selection-summary-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.field-head {
  display: grid;
  gap: 2px;
  margin-bottom: 6px;
}

.field-caption {
  color: var(--text-soft);
  font-size: 0.79rem;
  line-height: 1.4;
}

.helper-list {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}

.helper-list-compact {
  margin-top: 2px;
}

.helper-item {
  padding: 13px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 149, 182, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%);
}

.helper-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.9rem;
}

.helper-item span {
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.choice-card {
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 149, 182, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%);
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.choice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(158, 188, 225, 0.26);
}

.choice-card.is-selected {
  border-color: rgba(63, 224, 197, 0.42);
  background:
    linear-gradient(180deg, rgba(63, 224, 197, 0.08) 0%, rgba(63, 224, 197, 0.03) 100%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 24px rgba(9, 27, 36, 0.34);
}

.choice-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.choice-card-title {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.choice-card-meta {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.choice-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.choice-stat {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-size: 0.77rem;
  font-weight: 800;
}

.choice-stat.is-strong {
  background: rgba(63, 224, 197, 0.12);
  color: #a7f7eb;
}

.choice-list-admin {
  margin-top: 4px;
}

.slot-focus {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 165, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(123, 165, 255, 0.08) 0%, rgba(123, 165, 255, 0.03) 100%),
    rgba(255, 255, 255, 0.02);
}

.slot-focus-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.slot-focus-title {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
}

.slot-focus-meta {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.row-tight {
  margin-top: 12px;
  margin-bottom: 0;
}

.list-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.slot-bookings-head {
  align-items: center;
}

.slot-bookings-head > div {
  flex: 1 1 auto;
}

.list-section-title {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.list-section-caption {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.81rem;
  line-height: 1.42;
}

.booking-item,
.user-card,
.shift-status-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 149, 182, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%);
  padding: 14px;
}

.booking-title,
.user-name {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
}

.booking-meta,
.user-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.list-wrap {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.admin-entry {
  display: grid;
  gap: 12px;
}

.photo-actions {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 18px;
}

.thanks-copy {
  text-align: center;
  font-size: 0.95rem;
}

.camera-shell {
  width: min(78vw, 320px);
  aspect-ratio: 1 / 1;
  margin: 4px auto 12px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid rgba(171, 198, 232, 0.28);
  background: #02060d;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.02),
    0 18px 38px rgba(0, 0, 0, 0.38);
}

.camera-shell::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.camera-shell video,
.camera-shell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.shift-status-grid {
  display: grid;
  gap: 10px;
  margin: 12px 0 14px;
}

.shift-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shift-status-label {
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
}

.shift-status-value {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  text-align: right;
  margin-left: auto;
}

.admin-header-card {
  display: grid;
  gap: 12px;
}

.admin-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.admin-tab {
  padding: 11px 12px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(34, 48, 67, 0.96) 0%, rgba(26, 38, 54, 0.96) 100%);
  border-color: rgba(122, 149, 182, 0.18);
  box-shadow: none;
}

.admin-tab.is-active {
  color: var(--primary-ink);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(23, 177, 187, 0.2);
}

.admin-card {
  border-color: rgba(122, 149, 182, 0.18);
}

.admin-form-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
}

.admin-control-cell {
  display: flex;
  align-items: end;
}

.admin-control-cell button {
  margin: 0;
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.chip-btn {
  padding: 10px;
  font-size: 0.9rem;
}

.row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.row > * {
  flex: 1 1 0;
  min-width: 0;
}

.user-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(153, 182, 215, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #d4e5fb;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.role-controls {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.role-controls select,
.role-controls button {
  margin: 0;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.pager .secondary {
  width: auto;
  min-width: 112px;
}

.pager-label {
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

body.blocked {
  margin: 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at -10% -10%, #2e1920 0%, transparent 70%),
    radial-gradient(900px 500px at 110% 120%, #1b3a3f 0%, transparent 65%),
    #090d12;
}

.blocked-wrap {
  width: min(92vw, 520px);
  padding: 16px;
  text-align: center;
  color: #eaf2ff;
  border-radius: 18px;
  border: 1px solid #2e3e55;
  background: linear-gradient(180deg, #121b29 0%, #0d1522 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.blocked-gif {
  width: 100%;
  display: block;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid #334a67;
}

.blocked-title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

.blocked-sub {
  margin: 0;
  color: #b7c8dc;
  font-size: 18px;
  font-weight: 600;
}

@media (min-width: 780px) {
  .admin-header-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shift-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-entry {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .app-header,
  .hero-card {
    grid-template-columns: 1fr;
  }

  .header-side,
  .header-session,
  .hero-side {
    justify-items: center;
  }

  .header-badges {
    justify-content: flex-start;
  }

  .section-head {
    flex-direction: column;
  }

  .slot-focus-head,
  .list-section-head {
    flex-direction: column;
  }

  .slot-bookings-head {
    flex-direction: row;
    align-items: center;
  }

  .inline-hint {
    max-width: none;
    text-align: center;
  }

  .title-badge-row {
    gap: 8px;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding: 12px;
  }

  .card {
    padding: 15px;
    border-radius: 18px;
  }

  .flow-steps,
  .chip-row,
  .admin-tabs {
    grid-template-columns: 1fr;
  }

  .row,
  .role-controls,
  .pager {
    flex-direction: column;
    align-items: stretch;
  }

  .pager .secondary {
    width: 100%;
  }
}
