:root {
  --bg: #f8f8f5;
  --surface: #ffffff;
  --surface-subtle: #f1f1eb;
  --border: #d9d7cf;
  --border-subtle: #eceae2;
  --border-strong: rgba(0, 0, 0, 0.08);
  --text: #121212;
  --muted: #5d5a52;
  --muted-tertiary: #8a867d;
  --accent: #121212;
  --accent-soft: #f1f1eb;
  --danger: #3d3a34;
  --danger-soft: #f1f1eb;
  --success-bg: #f1f1eb;
  --success-text: #121212;
  --today-bg: rgba(255, 255, 255, 0.72);
  --selected-bg: rgba(255, 255, 255, 0.8);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --calendar-hour: 72px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Geist Sans", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

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

.app-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 48px 72px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.eyebrow,
.panel-kicker,
.summary-label,
.field-label {
  margin: 0 0 8px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Geist Sans", sans-serif;
  font-weight: 600;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 3vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.subtitle,
.status-text,
.calendar-status,
.message-meta,
.empty-state,
.booking-subline,
.summary-strip {
  color: var(--muted);
}

.subtitle {
  margin-top: 10px;
  max-width: 68ch;
}

.top-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.nav-link,
.ghost-link {
  text-decoration: none;
}

.nav-link,
.ghost-button,
.mode-button,
.primary-button,
.example-chip,
.delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.nav-link,
.ghost-button,
.mode-button {
  font-weight: 500;
}

.nav-link {
  color: var(--accent);
  border-color: rgba(0, 0, 0, 0.1);
}

.nav-link.is-active,
.mode-button.is-active,
.primary-button {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.ghost-button,
.mode-button,
.ghost-link,
.example-chip {
  color: var(--accent);
  background: var(--surface);
  border-color: rgba(0, 0, 0, 0.1);
}

.primary-button {
  min-height: 44px;
  padding: 0 20px;
  font-weight: 600;
}

.nav-link:hover,
.ghost-button:hover,
.mode-button:hover,
.primary-button:hover,
.example-chip:hover,
.delete-button:hover {
  box-shadow: var(--shadow);
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) 380px;
  gap: 20px;
}

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 380px;
  gap: 20px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.calendar-panel,
.side-panel,
.chat-panel,
.helper-panel {
  padding: 24px;
}

.calendar-toolbar,
.panel-header,
.side-header,
.booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calendar-toolbar {
  margin-bottom: 16px;
}

.toolbar-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-range {
  text-align: center;
}

.calendar-status {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.calendar-container {
  min-height: 760px;
}

.week-view,
.month-view {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-subtle);
}

.week-header {
  display: grid;
  grid-template-columns: 88px repeat(7, minmax(130px, 1fr));
  border-bottom: 1px solid var(--border);
  background: var(--surface-subtle);
}

.week-corner,
.week-day-header,
.month-weekday {
  padding: 16px 12px;
}

.week-corner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
  padding-right: 16px;
}

.week-day-header {
  min-height: 84px;
  border-right: 1px solid var(--border);
}

.week-day-header.is-today,
.day-column.is-today,
.month-day.is-today {
  background: var(--today-bg);
}

.week-day-label,
.month-weekday {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.week-day-date {
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 600;
}

.week-day-meta {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.week-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: calc(var(--calendar-hour) * 9 + 28px);
}

.time-column {
  position: relative;
  border-right: 1px solid var(--border);
  background: var(--surface-subtle);
}

.time-label {
  position: absolute;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  padding-right: 10px;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.week-grid,
.month-weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.day-column {
  position: relative;
  min-height: calc(var(--calendar-hour) * 9 + 28px);
  border-right: 1px solid var(--border);
  background:
    repeating-linear-gradient(
      to bottom,
      #ffffff 0,
      #ffffff calc(var(--calendar-hour) / 2 - 1px),
      rgba(0, 0, 0, 0.05) calc(var(--calendar-hour) / 2 - 1px),
      rgba(0, 0, 0, 0.05) calc(var(--calendar-hour) / 2)
    );
}

.booking-block {
  position: absolute;
  left: 10px;
  right: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booking-block.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(18, 18, 18, 0.04);
  background: var(--surface-subtle);
}

.booking-block-time {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-block-name {
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-block-car,
.booking-block-issue {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
}

.month-weekday {
  border-bottom: 1px solid var(--border);
  background: var(--surface-subtle);
}

.month-day {
  min-height: 132px;
  padding: 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
}

.month-day.is-outside {
  background: var(--surface-subtle);
  color: var(--muted-tertiary);
}

.month-day.is-selected {
  background: var(--selected-bg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.month-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-weight: 600;
}

.month-day.is-today .month-day-number {
  background: var(--accent);
  color: #ffffff;
}

.month-day-bookings {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.month-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
}

.side-panel,
.helper-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-panel {
  max-height: calc(100vh - 64px);
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.summary-card,
.assistant-help-card,
.selected-day-card,
.empty-state,
.chat-form,
.booking-card,
.booking-list-panel {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.summary-card {
  padding: 18px;
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.5rem;
  font-weight: 600;
}

.selected-day-bookings,
.bookings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selected-day-bookings {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.assistant-help-card,
.empty-state,
.booking-list-panel {
  padding: 18px;
}

.assistant-help-card p + p {
  margin-top: 10px;
}

.selected-day-card {
  padding: 16px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
  cursor: pointer;
}

.selected-day-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selected-day-card.is-selected {
  border-color: var(--accent);
  background: var(--surface-subtle);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(18, 18, 18, 0.04);
}

.selected-day-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.selected-day-field + .selected-day-field {
  margin-top: 12px;
}

.selected-day-value {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.selected-day-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.assistant-shell .chat-panel {
  min-height: calc(100vh - 150px);
}

.chat-panel {
  display: flex;
  flex-direction: column;
}

.helper-panel {
  justify-content: flex-start;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.availability-panel {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.availability-header {
  margin-bottom: 14px;
}

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

.availability-caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.availability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.availability-day {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.availability-day:hover {
  box-shadow: var(--shadow);
}

.availability-day.is-selected {
  border-color: var(--accent);
  background: var(--surface-subtle);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(18, 18, 18, 0.04);
}

.availability-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.availability-day-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.availability-day-date {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.availability-day-meta {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.availability-day-count {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.availability-day-slots-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.availability-day-action {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.availability-expanded-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.availability-expanded-empty {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--muted);
}

.availability-preview-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
}

.availability-preview-chip.is-muted {
  background: #f5f5f6;
  border-color: var(--border);
  color: var(--muted);
}

.availability-slot-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: var(--accent);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.availability-slot-chip:hover {
  box-shadow: var(--shadow);
  background: var(--surface-subtle);
}

.example-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.example-chip {
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
}

.chat-messages {
  flex: 1;
  min-height: 420px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.message {
  display: flex;
  flex-direction: column;
  animation: fade-in 220ms ease;
}

.message.is-user {
  align-items: flex-end;
}

.message-meta {
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.message-bubble {
  max-width: min(88%, 560px);
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}

.message.is-user .message-bubble {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.message.is-assistant .message-bubble,
.message.is-system .message-bubble {
  color: var(--text);
}

.message.is-system .message-bubble {
  background: var(--surface-subtle);
  border-style: dashed;
}

.message.is-loading .message-bubble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.typing-dots {
  display: inline-flex;
  gap: 6px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.14);
  animation: pulse 1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

.chat-form {
  margin-top: 18px;
  padding: 20px;
}

.input-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

textarea {
  width: 100%;
  resize: vertical;
  min-height: 96px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  background: #ffffff;
}

textarea:focus,
.delete-button:focus,
.nav-link:focus,
.ghost-button:focus,
.mode-button:focus,
.primary-button:focus,
.example-chip:focus {
  outline: 2px solid rgba(18, 18, 18, 0.14);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.success-banner {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--success-bg);
  color: var(--success-text);
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.booking-list-panel {
  padding: 18px;
}

.booking-list-header {
  margin-bottom: 12px;
}

.booking-card {
  padding: 16px;
}

.booking-head {
  align-items: flex-start;
}

.booking-name {
  font-size: 1rem;
  font-weight: 600;
}

.booking-subline {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

.booking-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
}

.booking-time {
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.booking-field {
  min-width: 0;
}

.booking-label {
  display: block;
  margin-bottom: 6px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.booking-value {
  font-size: 0.94rem;
  color: var(--text);
  word-break: break-word;
}

.booking-summary-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.booking-summary-label {
  margin-bottom: 8px;
}

.booking-summary {
  color: var(--muted);
  line-height: 1.6;
}

.booking-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.delete-button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--danger);
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  font-size: 0.88rem;
  font-weight: 500;
}

.delete-button:hover {
  background: var(--danger-soft);
}

@keyframes pulse {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.45;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .calendar-layout,
  .assistant-layout {
    grid-template-columns: 1fr;
  }

  .assistant-shell .chat-panel,
  .helper-panel {
    min-height: auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 820px) {
  .app-shell {
    padding: 24px 24px 40px;
  }

  .topbar,
  .calendar-toolbar,
  .panel-header,
  .side-header,
  .form-actions,
  .booking-head {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-range {
    text-align: left;
  }

  .week-header {
    grid-template-columns: 64px repeat(7, minmax(110px, 1fr));
  }

  .week-body {
    grid-template-columns: 64px 1fr;
  }

  .summary-cards,
  .booking-meta-row {
    grid-template-columns: 1fr;
  }

  .availability-toolbar {
    grid-template-columns: 1fr;
  }
}

.app-shell.calendar-shell {
  --calendar-surface: rgba(255, 255, 255, 0.72);
  --calendar-surface-strong: rgba(255, 255, 255, 0.84);
  --calendar-surface-soft: rgba(255, 255, 255, 0.58);
  --calendar-surface-muted: rgba(241, 241, 235, 0.92);
  --calendar-border-soft: rgba(0, 0, 0, 0.06);
  --calendar-border-interactive: rgba(0, 0, 0, 0.1);
  --calendar-shadow-soft: 0 20px 60px rgba(18, 18, 18, 0.04);
  --calendar-shadow-card: 0 10px 28px rgba(18, 18, 18, 0.04);
  --calendar-today-tint: rgba(18, 18, 18, 0.03);
  --calendar-time-accent: #3d3a34;
  --calendar-service-service: #7f8e74;
  --calendar-service-brakes: #a1885d;
  --calendar-service-engine: #76879a;
  --calendar-service-tires: #a07a5c;
  --calendar-service-diagnostics: #6d8b9d;
  --calendar-service-suspension: #8e8276;
  --calendar-service-aircon: #6fa7ad;
  --calendar-service-battery: #b08a4a;
  --calendar-service-inspection: #7b8b63;
  --calendar-service-exhaust: #8c7b70;
  --calendar-service-transmission: #707b92;
  --calendar-service-other: #979188;
  --calendar-hour: 76px;
}

.calendar-shell .calendar-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.calendar-shell .calendar-page-copy {
  min-width: 0;
}

.calendar-shell .calendar-page-title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.calendar-shell .calendar-page-subtitle {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 32px;
}

.calendar-shell .calendar-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-shell .calendar-switcher__link,
.calendar-shell .calendar-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--calendar-border-interactive);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.calendar-shell .calendar-switcher__link.is-active,
.calendar-shell .calendar-toggle.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.calendar-shell .calendar-switcher__link:hover,
.calendar-shell .calendar-control:hover,
.calendar-shell .calendar-toggle:hover,
.calendar-shell .month-pill:hover {
  background: rgba(0, 0, 0, 0.03);
}

.calendar-shell .calendar-switcher__link.is-active:hover,
.calendar-shell .calendar-toggle.is-active:hover,
.calendar-shell .calendar-control.is-primary:hover {
  background: var(--accent);
}

.calendar-shell .calendar-switcher__link:focus-visible,
.calendar-shell .calendar-control:focus-visible,
.calendar-shell .calendar-toggle:focus-visible,
.calendar-shell .booking-block:focus-visible,
.calendar-shell .week-day-header:focus-visible,
.calendar-shell .month-day-shell[role="button"]:focus-visible,
.calendar-shell .month-pill:focus-visible,
.calendar-shell .calendar-detail-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.08);
}

.calendar-shell .calendar-app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.calendar-shell .calendar-app-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calendar-shell .calendar-app-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.calendar-shell .calendar-app-toolbar__group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-shell .calendar-app-toolbar__group--end {
  justify-content: flex-end;
}

.calendar-shell .calendar-app-toolbar__range {
  text-align: center;
}

.calendar-shell .calendar-app-toolbar__label,
.calendar-shell .calendar-detail-tag,
.calendar-shell .calendar-detail-stat__label,
.calendar-shell .calendar-detail-row__label,
.calendar-shell .calendar-detail-note__label,
.calendar-shell .calendar-day-empty,
.calendar-shell .current-time-indicator__label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.calendar-shell .calendar-app-toolbar__label,
.calendar-shell .calendar-detail-stat__label,
.calendar-shell .calendar-detail-row__label,
.calendar-shell .calendar-detail-note__label,
.calendar-shell .calendar-day-empty {
  color: var(--muted);
}

.calendar-shell #range-title {
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.calendar-shell .calendar-control {
  font-size: 14px;
}

.calendar-shell .calendar-control--compact {
  padding: 10px 16px;
}

.calendar-shell .calendar-control.is-disabled {
  opacity: 0.66;
  cursor: not-allowed;
  box-shadow: none;
}

.calendar-shell .calendar-control.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.calendar-shell .calendar-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--calendar-border-interactive);
  border-radius: 999px;
  background: #ffffff;
}

.calendar-shell .calendar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.calendar-shell .calendar-surface {
  border: 1px solid var(--calendar-border-soft);
  border-radius: 24px;
  background: var(--calendar-surface);
  padding: 24px;
}

.calendar-shell .calendar-status {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 28px;
  color: var(--muted);
}

.calendar-shell .calendar-container {
  min-height: auto;
  overflow: visible;
}

.calendar-shell .week-view,
.calendar-shell .month-view {
  width: 100%;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--calendar-border-soft);
  background: var(--calendar-surface-soft);
}

.calendar-shell .week-header {
  display: grid;
  grid-template-columns: 80px repeat(var(--calendar-visible-days, 5), minmax(0, 1fr));
  border-bottom: 1px solid var(--calendar-border-soft);
  background: transparent;
}

.calendar-shell .week-corner,
.calendar-shell .week-day-header,
.calendar-shell .month-weekday {
  padding: 18px 16px;
}

.calendar-shell .week-corner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 22px;
  padding-bottom: 20px;
  padding-right: 18px;
}

.calendar-shell .week-day-header {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.03);
  background: transparent;
  cursor: pointer;
}

.calendar-shell .week-day-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.calendar-shell .week-day-header.is-today {
  background: var(--calendar-today-tint);
}

.calendar-shell .week-day-header.is-selected-day {
  box-shadow: inset 0 -1px 0 rgba(18, 18, 18, 0.16);
}

.calendar-shell .week-day-header.is-today .week-day-date {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.calendar-shell .week-day-label,
.calendar-shell .month-weekday {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.calendar-shell .week-day-label,
.calendar-shell .week-day-date,
.calendar-shell .week-day-meta {
  display: block;
}

.calendar-shell .week-day-date {
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--text);
}

.calendar-shell .week-day-meta {
  margin-top: 10px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted-tertiary);
}

.calendar-shell .week-body {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  min-height: calc(var(--calendar-hour) * 9 + 16px);
  padding-top: 14px;
}

.calendar-shell .time-column {
  position: relative;
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  background: transparent;
}

.calendar-shell .time-label {
  position: absolute;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  padding-right: 16px;
  text-align: right;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-tertiary);
}

.calendar-shell .week-grid,
.calendar-shell .month-weekdays,
.calendar-shell .month-grid {
  display: grid;
}

.calendar-shell .week-grid {
  grid-template-columns: repeat(var(--calendar-visible-days, 5), minmax(0, 1fr));
}

.calendar-shell .month-weekdays,
.calendar-shell .month-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-shell .day-column {
  position: relative;
  min-height: calc(var(--calendar-hour) * 9 + 16px);
  border-right: 1px solid rgba(0, 0, 0, 0.03);
  background-color: rgba(255, 255, 255, 0.44);
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(var(--calendar-hour) - 1px),
      rgba(0, 0, 0, 0.05) calc(var(--calendar-hour) - 1px),
      rgba(0, 0, 0, 0.05) var(--calendar-hour)
    );
}

.calendar-shell .day-column.is-today {
  background-color: var(--calendar-today-tint);
}

.calendar-shell .current-time-indicator {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(61, 58, 52, 0.42);
  z-index: 3;
  pointer-events: none;
}

.calendar-shell .current-time-indicator__dot {
  position: absolute;
  left: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--calendar-time-accent);
  transform: translateY(-50%);
}

.calendar-shell .booking-block {
  position: absolute;
  left: 10px;
  right: 10px;
  padding: 10px 14px 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  box-shadow: none;
  overflow: hidden;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.calendar-shell .booking-block::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--calendar-service-other);
}

.calendar-shell .booking-block.is-service::before,
.calendar-shell .month-pill.is-service {
  background-color: rgba(127, 142, 116, 0.18);
  color: var(--text);
}

.calendar-shell .booking-block.is-service::before {
  background: var(--calendar-service-service);
}

.calendar-shell .booking-block.is-brakes::before {
  background: var(--calendar-service-brakes);
}

.calendar-shell .booking-block.is-engine::before {
  background: var(--calendar-service-engine);
}

.calendar-shell .booking-block.is-tires::before {
  background: var(--calendar-service-tires);
}

.calendar-shell .booking-block.is-diagnostics::before {
  background: var(--calendar-service-diagnostics);
}

.calendar-shell .booking-block.is-suspension::before {
  background: var(--calendar-service-suspension);
}

.calendar-shell .booking-block.is-aircon::before {
  background: var(--calendar-service-aircon);
}

.calendar-shell .booking-block.is-battery::before {
  background: var(--calendar-service-battery);
}

.calendar-shell .booking-block.is-inspection::before {
  background: var(--calendar-service-inspection);
}

.calendar-shell .booking-block.is-exhaust::before {
  background: var(--calendar-service-exhaust);
}

.calendar-shell .booking-block.is-transmission::before {
  background: var(--calendar-service-transmission);
}

.calendar-shell .booking-block.is-other::before {
  background: var(--calendar-service-other);
}

.calendar-shell .booking-block:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: var(--calendar-shadow-card);
}

.calendar-shell .booking-block.is-selected {
  border-color: rgba(18, 18, 18, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1.5px #121212;
}

.calendar-shell .booking-block-time {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--muted);
}

.calendar-shell .booking-block-name {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-shell .booking-block-car,
.calendar-shell .booking-block-reg {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-shell .booking-block-issue {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted-tertiary);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.calendar-shell .month-weekday {
  border-bottom: 1px solid var(--calendar-border-soft);
  background: transparent;
}

.calendar-shell .month-weekday.is-weekend {
  color: var(--muted-tertiary);
}

.calendar-shell .month-day-shell {
  min-height: 170px;
  padding: 14px;
  border-right: 1px solid rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--calendar-border-soft);
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.calendar-shell .month-day-shell.is-outside {
  background: var(--calendar-surface-muted);
}

.calendar-shell .month-day-shell.is-today {
  background: var(--calendar-today-tint);
}

.calendar-shell .month-day-shell.is-weekend {
  background: rgba(18, 18, 18, 0.04);
}

.calendar-shell .month-day-shell.is-selected-day {
  box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.1);
}

.calendar-shell .month-day-shell[role="button"] {
  cursor: pointer;
}

.calendar-shell .month-day-shell[role="button"]:hover {
  background: rgba(255, 255, 255, 0.64);
}

.calendar-shell .month-day {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.calendar-shell .month-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-shell .month-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 600;
}

.calendar-shell .month-day-shell.is-today .month-day-number {
  background: rgba(255, 255, 255, 0.76);
}

.calendar-shell .month-day-shell.is-weekend .month-day-number {
  color: var(--muted-tertiary);
}

.calendar-shell .month-day-summary {
  margin-top: 14px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.calendar-shell .month-day-bookings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.calendar-shell .month-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.calendar-shell .month-pill__name,
.calendar-shell .month-pill__reg {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-shell .month-pill__name {
  font-weight: 600;
}

.calendar-shell .month-pill__reg {
  font-size: 11px;
  color: var(--muted);
}

.calendar-shell .month-pill.is-selected {
  border-color: rgba(18, 18, 18, 0.16);
  box-shadow: inset 0 0 0 1px #121212;
}

.calendar-shell .month-pill.is-service {
  background: rgba(127, 142, 116, 0.14);
}

.calendar-shell .month-pill.is-brakes {
  background: rgba(161, 136, 93, 0.14);
}

.calendar-shell .month-pill.is-engine {
  background: rgba(118, 135, 154, 0.14);
}

.calendar-shell .month-pill.is-tires {
  background: rgba(160, 122, 92, 0.16);
}

.calendar-shell .month-pill.is-diagnostics {
  background: rgba(109, 139, 157, 0.16);
}

.calendar-shell .month-pill.is-suspension {
  background: rgba(142, 130, 118, 0.16);
}

.calendar-shell .month-pill.is-aircon {
  background: rgba(111, 167, 173, 0.16);
}

.calendar-shell .month-pill.is-battery {
  background: rgba(176, 138, 74, 0.16);
}

.calendar-shell .month-pill.is-inspection {
  background: rgba(123, 139, 99, 0.16);
}

.calendar-shell .month-pill.is-exhaust {
  background: rgba(140, 123, 112, 0.16);
}

.calendar-shell .month-pill.is-transmission {
  background: rgba(112, 123, 146, 0.16);
}

.calendar-shell .month-pill.is-other,
.calendar-shell .month-pill.month-pill--more {
  background: rgba(151, 145, 136, 0.12);
}

.calendar-shell .month-day-more {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.calendar-shell .month-day-empty {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted-tertiary);
}

.calendar-shell .calendar-detail-panel {
  min-width: 0;
  width: 360px;
}

.calendar-shell .calendar-detail-card {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--calendar-border-soft);
  border-radius: 16px;
  background: var(--calendar-surface);
  padding: 20px 24px 24px;
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

.calendar-shell #calendar-detail-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.calendar-shell .calendar-detail-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.calendar-shell .calendar-detail-block--booking {
  gap: 14px;
}

.calendar-shell .calendar-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.calendar-shell .calendar-detail-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.calendar-shell .calendar-detail-block--booking .calendar-detail-heading {
  gap: 8px;
}

.calendar-shell .calendar-detail-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--calendar-border-interactive);
  color: var(--text);
}

.calendar-shell .calendar-detail-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.calendar-shell .calendar-detail-subtitle,
.calendar-shell .calendar-detail-empty,
.calendar-shell .calendar-detail-note__content {
  margin: 0;
  font-size: 15px;
  line-height: 28px;
  color: var(--muted);
}

.calendar-shell .calendar-detail-stats,
.calendar-shell .calendar-detail-meta {
  display: grid;
  gap: 12px;
}

.calendar-shell .calendar-detail-block--day {
  flex: 1 1 auto;
}

.calendar-shell .calendar-detail-block--scrollable {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 4px;
}

.calendar-shell .calendar-detail-stat,
.calendar-shell .calendar-detail-row {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--calendar-border-soft);
}

.calendar-shell .calendar-detail-stat__value,
.calendar-shell .calendar-detail-row__value {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

.calendar-shell .calendar-detail-note {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--calendar-border-soft);
  background: rgba(255, 255, 255, 0.48);
}

.calendar-shell .calendar-detail-note__label {
  margin: 0;
}

.calendar-shell .calendar-detail-note__content {
  margin-top: 8px;
  color: var(--text);
  white-space: pre-wrap;
}

.calendar-shell .calendar-detail-form-grid {
  display: grid;
  gap: 16px;
}

.calendar-shell .calendar-detail-field {
  display: grid;
  gap: 8px;
}

.calendar-shell .calendar-detail-field__label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.calendar-shell .calendar-detail-field__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--calendar-border-interactive);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.calendar-shell .calendar-detail-select-wrap {
  position: relative;
  display: block;
}

.calendar-shell .calendar-detail-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.calendar-shell .calendar-detail-field__input--select {
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 248, 245, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.calendar-shell .calendar-detail-field__input--textarea {
  min-height: 120px;
  resize: vertical;
}

.calendar-shell .calendar-detail-field__input.is-invalid {
  border-color: var(--danger);
}

.calendar-shell .calendar-detail-field__input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.08);
}

.calendar-shell .calendar-detail-field__error,
.calendar-shell .calendar-detail-form-error {
  font-size: 13px;
  line-height: 20px;
  color: var(--danger);
}

.calendar-shell .calendar-detail-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calendar-shell .calendar-detail-confirmation {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.calendar-shell .calendar-detail-confirmation__message {
  margin: 0;
  font-size: 15px;
  line-height: 28px;
  color: var(--text);
}

.calendar-shell .calendar-service-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--text);
}

.calendar-shell .calendar-service-pill.is-service {
  background: rgba(127, 142, 116, 0.14);
}

.calendar-shell .calendar-service-pill.is-brakes {
  background: rgba(161, 136, 93, 0.14);
}

.calendar-shell .calendar-service-pill.is-engine {
  background: rgba(118, 135, 154, 0.14);
}

.calendar-shell .calendar-service-pill.is-tires {
  background: rgba(160, 122, 92, 0.16);
}

.calendar-shell .calendar-service-pill.is-diagnostics {
  background: rgba(109, 139, 157, 0.16);
}

.calendar-shell .calendar-service-pill.is-suspension {
  background: rgba(142, 130, 118, 0.16);
}

.calendar-shell .calendar-service-pill.is-aircon {
  background: rgba(111, 167, 173, 0.16);
}

.calendar-shell .calendar-service-pill.is-battery {
  background: rgba(176, 138, 74, 0.16);
}

.calendar-shell .calendar-service-pill.is-inspection {
  background: rgba(123, 139, 99, 0.16);
}

.calendar-shell .calendar-service-pill.is-exhaust {
  background: rgba(140, 123, 112, 0.16);
}

.calendar-shell .calendar-service-pill.is-transmission {
  background: rgba(112, 123, 146, 0.16);
}

.calendar-shell .calendar-service-pill.is-other {
  background: rgba(151, 145, 136, 0.12);
}

.calendar-shell .calendar-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-shell .calendar-detail-back {
  align-self: flex-start;
  margin-bottom: -2px;
}

.calendar-shell .calendar-detail-close {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--calendar-border-interactive);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
}

.calendar-shell .calendar-detail-day-bookings {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 8px;
  padding-right: 4px;
}

.calendar-shell .calendar-detail-day-booking {
  position: relative;
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 16px 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.calendar-shell .calendar-detail-day-booking::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: var(--calendar-service-other);
}

.calendar-shell .calendar-detail-day-booking.is-service::before {
  background: var(--calendar-service-service);
}

.calendar-shell .calendar-detail-day-booking.is-brakes::before {
  background: var(--calendar-service-brakes);
}

.calendar-shell .calendar-detail-day-booking.is-engine::before {
  background: var(--calendar-service-engine);
}

.calendar-shell .calendar-detail-day-booking.is-tires::before {
  background: var(--calendar-service-tires);
}

.calendar-shell .calendar-detail-day-booking.is-diagnostics::before {
  background: var(--calendar-service-diagnostics);
}

.calendar-shell .calendar-detail-day-booking.is-suspension::before {
  background: var(--calendar-service-suspension);
}

.calendar-shell .calendar-detail-day-booking.is-aircon::before {
  background: var(--calendar-service-aircon);
}

.calendar-shell .calendar-detail-day-booking.is-battery::before {
  background: var(--calendar-service-battery);
}

.calendar-shell .calendar-detail-day-booking.is-inspection::before {
  background: var(--calendar-service-inspection);
}

.calendar-shell .calendar-detail-day-booking.is-exhaust::before {
  background: var(--calendar-service-exhaust);
}

.calendar-shell .calendar-detail-day-booking.is-transmission::before {
  background: var(--calendar-service-transmission);
}

.calendar-shell .calendar-detail-day-booking.is-other::before {
  background: var(--calendar-service-other);
}

.calendar-shell .calendar-detail-day-booking:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--calendar-border-interactive);
}

.calendar-shell .calendar-detail-day-booking__time {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.calendar-shell .calendar-detail-day-booking__name {
  font-size: 15px;
  line-height: 1.3;
  color: var(--text);
}

.calendar-shell .calendar-detail-day-booking__meta {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 1279px) {
  .app-shell {
    padding: 32px 24px 64px;
  }

  .calendar-shell .calendar-app-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .calendar-shell .calendar-detail-card {
    top: 32px;
    max-height: calc(100vh - 64px);
  }

  .calendar-shell .calendar-detail-panel {
    width: 300px;
  }
}

@media (max-width: 1023px) {
  .calendar-shell .calendar-app-layout {
    grid-template-columns: 1fr;
  }

  .calendar-shell .calendar-detail-card {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .calendar-shell .calendar-detail-panel {
    width: auto;
  }
}

@media (max-width: 820px) {
  .app-shell {
    padding: 24px 24px 40px;
  }

  .calendar-shell .calendar-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .calendar-shell .calendar-app-toolbar {
    grid-template-columns: 1fr;
  }

  .calendar-shell .calendar-app-toolbar__range {
    text-align: left;
  }

  .calendar-shell .calendar-app-toolbar__group--end {
    justify-content: flex-start;
  }

  .calendar-shell .calendar-surface {
    padding: 20px;
  }

  .calendar-shell .calendar-detail-time-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .app-shell {
    padding: 24px 16px 40px;
  }

  .calendar-shell .week-view {
    min-width: 0;
  }

  .calendar-shell .week-header {
    grid-template-columns: 72px 1fr;
  }

  .calendar-shell .week-body {
    grid-template-columns: 72px 1fr;
  }

  .calendar-shell .week-day-header:not(.is-selected-day),
  .calendar-shell .day-column:not(.is-selected-day) {
    display: none;
  }

  .calendar-shell .week-grid {
    grid-template-columns: 1fr;
  }

  .calendar-shell .month-view {
    min-width: 0;
  }

  .calendar-shell .month-weekdays,
  .calendar-shell .month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-shell .calendar-detail-panel.is-booking-open {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 30;
  }

  .calendar-shell .calendar-detail-panel.is-booking-open .calendar-detail-card {
    position: static;
    max-height: min(68vh, 520px);
    overflow: auto;
    box-shadow: var(--calendar-shadow-soft);
  }

  .calendar-shell .calendar-detail-panel.is-booking-open .calendar-detail-close {
    display: inline-flex;
  }
}

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

.assistant-shell {
  --assistant-surface: rgba(255, 255, 255, 0.72);
  --assistant-surface-soft: rgba(255, 255, 255, 0.58);
  --assistant-border-soft: rgba(0, 0, 0, 0.06);
  --assistant-border-interactive: rgba(0, 0, 0, 0.1);
  --assistant-shadow-soft: 0 20px 60px rgba(18, 18, 18, 0.04);
  --assistant-service-service: #7f8e74;
  --assistant-service-brakes: #a1885d;
  --assistant-service-engine: #76879a;
  --assistant-service-other: #979188;
}

.assistant-shell .calendar-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.assistant-shell .calendar-page-copy {
  min-width: 0;
}

.assistant-shell .calendar-page-title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.assistant-shell .calendar-page-subtitle {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 32px;
}

.assistant-shell .calendar-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.assistant-shell .calendar-switcher__link,
.assistant-shell .calendar-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--assistant-border-interactive);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease,
    opacity 160ms ease;
}

.assistant-shell .calendar-switcher__link.is-active,
.assistant-shell .calendar-control.is-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.assistant-shell .calendar-switcher__link:hover,
.assistant-shell .calendar-control:hover {
  background: rgba(0, 0, 0, 0.03);
}

.assistant-shell .calendar-switcher__link.is-active:hover,
.assistant-shell .calendar-control.is-primary:hover {
  background: var(--accent);
}

.assistant-shell .calendar-switcher__link:focus-visible,
.assistant-shell .calendar-control:focus-visible,
.assistant-shell .assistant-thread-item__prompt:focus-visible,
.assistant-shell .assistant-empty-state__prompt:focus-visible,
.assistant-shell #chat-input:focus-visible,
.assistant-shell .calendar-detail-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.08);
}

.assistant-shell .calendar-control--compact {
  padding: 10px 16px;
}

.assistant-shell .calendar-control.is-disabled {
  opacity: 0.48;
  cursor: not-allowed;
  box-shadow: none;
}

.assistant-shell .calendar-detail-card {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--assistant-border-soft);
  border-radius: 16px;
  background: var(--assistant-surface);
  padding: 24px;
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

.assistant-shell .calendar-detail-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.assistant-shell .calendar-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.assistant-shell .calendar-detail-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.assistant-shell .calendar-detail-tag,
.assistant-shell .assistant-thread-item__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--assistant-border-interactive);
  color: var(--text);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
}

.assistant-shell .calendar-detail-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.assistant-shell .calendar-detail-subtitle,
.assistant-shell .calendar-detail-empty {
  margin: 0;
  font-size: 15px;
  line-height: 28px;
  color: var(--muted);
}

.assistant-shell .calendar-detail-meta {
  display: grid;
  gap: 12px;
}

.assistant-shell .calendar-detail-row {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--assistant-border-soft);
}

.assistant-shell .calendar-detail-row__label,
.assistant-shell .assistant-inline-card__label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.assistant-shell .calendar-detail-row__value,
.assistant-shell .assistant-inline-card__value {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
}

.assistant-shell .calendar-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assistant-shell .calendar-detail-close {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--assistant-border-interactive);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  cursor: pointer;
}

.assistant-shell .calendar-service-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--text);
}

.assistant-shell .calendar-service-pill.is-service {
  background: rgba(127, 142, 116, 0.14);
}

.assistant-shell .calendar-service-pill.is-brakes {
  background: rgba(161, 136, 93, 0.14);
}

.assistant-shell .calendar-service-pill.is-engine {
  background: rgba(118, 135, 154, 0.14);
}

.assistant-shell .calendar-service-pill.is-tires {
  background: rgba(160, 122, 92, 0.16);
}

.assistant-shell .calendar-service-pill.is-diagnostics {
  background: rgba(109, 139, 157, 0.16);
}

.assistant-shell .calendar-service-pill.is-suspension {
  background: rgba(142, 130, 118, 0.16);
}

.assistant-shell .calendar-service-pill.is-aircon {
  background: rgba(111, 167, 173, 0.16);
}

.assistant-shell .calendar-service-pill.is-battery {
  background: rgba(176, 138, 74, 0.16);
}

.assistant-shell .calendar-service-pill.is-inspection {
  background: rgba(123, 139, 99, 0.16);
}

.assistant-shell .calendar-service-pill.is-exhaust {
  background: rgba(140, 123, 112, 0.16);
}

.assistant-shell .calendar-service-pill.is-transmission {
  background: rgba(112, 123, 146, 0.16);
}

.assistant-shell .calendar-service-pill.is-other {
  background: rgba(151, 145, 136, 0.12);
}

.assistant-shell .assistant-app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.assistant-shell .assistant-chat-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
}

.assistant-shell .assistant-thread-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--assistant-border-soft);
  border-radius: 16px;
  background: var(--assistant-surface);
}

.assistant-shell .assistant-thread-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.assistant-shell .assistant-thread {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 4px;
}

.assistant-shell .assistant-thread.is-empty {
  justify-content: center;
}

.assistant-shell .assistant-thread-separator {
  display: flex;
  justify-content: center;
  margin: -2px 0;
}

.assistant-shell .assistant-thread-separator span {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-tertiary);
}

.assistant-shell .assistant-thread-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assistant-shell .assistant-thread-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.assistant-shell .assistant-thread-item.is-user {
  align-items: flex-end;
}

.assistant-shell .assistant-thread-item.is-user .assistant-thread-item__meta {
  justify-content: flex-end;
}

.assistant-shell .assistant-thread-item__timestamp {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted-tertiary);
}

.assistant-shell .assistant-thread-item__separator {
  font-size: 12px;
  line-height: 1;
  color: var(--muted-tertiary);
}

.assistant-shell .assistant-thread-item__content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.assistant-shell .assistant-thread-item__content--loading {
  min-height: 28px;
  display: flex;
  align-items: center;
}

.assistant-shell .assistant-user-card {
  width: min(70%, 560px);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--assistant-border-soft);
  background: rgba(241, 241, 235, 0.96);
}

.assistant-shell .assistant-user-card__body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.assistant-shell .assistant-thread-item.is-failed .assistant-user-card {
  opacity: 0.68;
}

.assistant-shell .assistant-thread-item__error {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.assistant-shell .assistant-thinking-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.assistant-shell .assistant-thinking-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.34);
  animation: assistantDots 1.1s infinite ease-in-out;
}

.assistant-shell .assistant-thinking-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.assistant-shell .assistant-thinking-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

.assistant-shell .assistant-empty-state {
  width: 100%;
  max-width: 640px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.assistant-shell .assistant-empty-state__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.assistant-shell .assistant-empty-state__subtitle {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 28px;
  color: var(--muted);
}

.assistant-shell .assistant-empty-state__prompts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.assistant-shell .assistant-inline-card {
  max-width: 760px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--assistant-border-soft);
  background: rgba(255, 255, 255, 0.64);
}

.assistant-shell .assistant-inline-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.assistant-shell .assistant-inline-card__title {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.assistant-shell .assistant-inline-card__vehicle {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--muted);
}

.assistant-shell .assistant-inline-card__grid {
  display: grid;
  gap: 12px;
}

.assistant-shell .assistant-inline-card__row {
  display: grid;
  gap: 6px;
}

.assistant-shell .assistant-composer {
  flex: 0 0 auto;
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--assistant-border-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.assistant-shell .assistant-selected-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border: 1px solid var(--assistant-border-soft);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 20px;
}

.assistant-shell .assistant-selected-slot__text {
  min-width: 0;
}

.assistant-shell .assistant-selected-slot__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.assistant-shell .assistant-selected-slot__button:hover {
  color: var(--text);
}

.assistant-shell .assistant-composer__field {
  display: flex;
  align-items: stretch;
}

.assistant-shell #chat-input {
  width: 100%;
  min-height: 44px;
  max-height: 160px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  resize: none;
}

.assistant-shell #chat-input::placeholder {
  color: var(--muted-tertiary);
}

.assistant-shell #chat-input:focus {
  outline: none;
  box-shadow: none;
}

.assistant-shell .assistant-composer__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 6px 4px;
}

.assistant-shell .assistant-slots-panel {
  width: 360px;
  min-width: 0;
}

.assistant-shell .assistant-slots-panel__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assistant-shell .assistant-slots-panel__range {
  margin: -4px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted-tertiary);
}

.assistant-shell .assistant-slots-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.assistant-shell .assistant-slots-panel__empty {
  text-align: center;
}

.assistant-shell .assistant-slots-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  padding-bottom: 12px;
  border-top: 1px solid var(--assistant-border-soft);
}

.assistant-shell .assistant-slots-day.is-first {
  padding-top: 0;
  border-top: 0;
}

.assistant-shell .assistant-slots-day__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.assistant-shell .assistant-slots-day__label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.assistant-shell .assistant-slots-day__date {
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  font-weight: 600;
}

.assistant-shell .assistant-slots-day__meta,
.assistant-shell .assistant-slots-day__count,
.assistant-shell .assistant-slots-day__empty {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.assistant-shell .assistant-slots-day__empty {
  padding: 12px 0 4px;
  text-align: center;
}

.assistant-shell .assistant-slots-day__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
}

.assistant-shell .assistant-slots-chip {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
}

.assistant-shell .assistant-slots-chip.is-selected,
.assistant-shell .assistant-slots-chip.is-selected:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

@keyframes assistantDots {
  0%,
  100% {
    opacity: 0.28;
  }

  50% {
    opacity: 0.88;
  }
}

@media (max-width: 1279px) {
  .assistant-shell .assistant-app-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .assistant-shell .assistant-slots-panel {
    width: 320px;
  }
}

@media (max-width: 1023px) {
  .assistant-shell .assistant-app-layout {
    grid-template-columns: 1fr;
  }

  .assistant-shell .assistant-chat-column {
    position: static;
    top: auto;
    height: auto;
  }

  .assistant-shell .assistant-thread-card {
    min-height: 360px;
    height: min(640px, calc(100vh - 340px));
  }

  .assistant-shell .assistant-slots-panel {
    width: auto;
  }

  .assistant-shell .calendar-detail-card {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 820px) {
  .assistant-shell .calendar-page-header {
    flex-direction: column;
    align-items: stretch;
  }

  .assistant-shell .assistant-composer__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .assistant-shell .assistant-thread-item__error {
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (max-width: 767px) {
  .assistant-shell .assistant-thread-card {
    min-height: 360px;
    height: calc(100vh - 320px);
    padding: 20px;
  }

  .assistant-shell .assistant-user-card {
    width: min(86%, 560px);
  }
}

@media (max-width: 639px) {
  .assistant-shell .assistant-empty-state__prompts {
    flex-direction: column;
    align-items: stretch;
  }

  .assistant-shell .assistant-inline-card__head,
  .assistant-shell .assistant-thread-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .assistant-shell .assistant-slots-day__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
