:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-muted: #eef3f2;
  --surface-tint: #f7f2ea;
  --border: #d8dee6;
  --border-strong: #b9c4cf;
  --text: #17202a;
  --text-muted: #5e6b78;
  --text-soft: #7b8793;
  --primary: #1f6f78;
  --primary-strong: #185861;
  --primary-soft: #dceff0;
  --accent: #b86f34;
  --accent-soft: #f4e7dc;
  --success: #2f7d4f;
  --warning: #9a6a13;
  --danger: #b04444;
  --shadow: 0 12px 30px rgba(23, 32, 42, 0.08);
  --shadow-soft: 0 6px 18px rgba(23, 32, 42, 0.06);
  --radius: 8px;
  --sidebar-width: 248px;
  --topbar-height: 68px;
  --control-height: 40px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(220, 239, 240, 0.52), rgba(246, 247, 249, 0) 260px),
    var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[data-lucide] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(31, 111, 120, 0.28);
  outline-offset: 2px;
}

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100vh;
  padding: 22px 16px;
  overflow-y: auto;
  background: #fbfcfd;
  border-right: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  padding: 0 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.brand::before {
  content: "";
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, var(--primary), #2a7f5f 58%, var(--accent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.nav-button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  text-align: left;
  font-weight: 650;
  line-height: 1.25;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease;
}

.nav-button:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.nav-button.active,
.nav-button[aria-current="page"],
.nav-button[aria-selected="true"] {
  background: var(--primary-soft);
  border-color: rgba(31, 111, 120, 0.25);
  color: var(--primary-strong);
}

.main {
  min-width: 0;
  padding: 0 28px 36px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-height);
  gap: 16px;
  padding: 14px 0;
  background: rgba(246, 247, 249, 0.88);
  backdrop-filter: blur(14px);
}

.topbar h1,
.topbar h2,
.topbar h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.15;
}

.topbar p {
  max-width: 68ch;
  margin: 4px 0 0;
  color: var(--text-muted);
}

.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: var(--control-height);
  gap: 8px;
}

.panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel + .panel {
  margin-top: 16px;
}

.panel h2,
.panel h3 {
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.2;
}

.panel p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.compact-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  margin-top: auto;
}

.avatar-row {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.avatar-row p,
.avatar-row strong {
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 800;
}

.avatar.large {
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  font-size: 18px;
}

.full-width {
  width: 100%;
}

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

.section-heading h2,
.section-heading h3 {
  margin: 0 0 4px;
}

.section-heading p {
  margin: 0;
}

.metric-grid {
  margin-bottom: 16px;
}

.metric {
  display: flex;
  align-items: center;
  gap: 14px;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.metric span {
  color: var(--text-muted);
  font-weight: 700;
}

.metric-icon,
.provider-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  align-items: stretch;
}

.event-card {
  display: flex;
  flex-direction: column;
  min-height: 176px;
  min-width: 0;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.event-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.event-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.event-color {
  width: 38px;
  height: 6px;
  border-radius: 999px;
  background: var(--event-color, var(--primary));
}

.meta-row,
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-code {
  display: block;
  max-width: 100%;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafb;
  color: var(--text-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card p {
  margin: 0;
  color: var(--text-muted);
}

.event-card .toolbar,
.event-card footer {
  margin-top: auto;
}

.integration-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.integration-card {
  min-height: 0;
}

.provider-settings-form {
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.redirect-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafb;
}

.redirect-box span {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.redirect-box code {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(40px, 1fr));
  gap: 8px;
  width: 100%;
}

.calendar-grid > * {
  display: grid;
  place-items: center;
  min-height: 44px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  line-height: 1.1;
  text-align: center;
}

.calendar-grid > button:hover,
.calendar-grid [role="button"]:hover {
  border-color: rgba(31, 111, 120, 0.38);
  background: var(--primary-soft);
}

.calendar-grid .selected,
.calendar-grid [aria-selected="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.slot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  min-width: 96px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.slot-button:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.slot-button.active,
.slot-button[aria-pressed="true"],
.slot-button[aria-selected="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.slot-button:disabled,
.slot-button[aria-disabled="true"] {
  cursor: not-allowed;
  border-color: #e2e7ec;
  background: #f0f3f5;
  color: var(--text-soft);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.date-strip {
  margin-bottom: 16px;
}

.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}

.simple-event-form {
  gap: 16px;
}

.quick-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.link-input {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(120px, 1fr);
  align-items: center;
  min-width: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.link-input > span {
  min-width: 0;
  padding: 0 0 0 11px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-input .input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  min-height: var(--control-height);
  gap: 8px;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
}

.availability-editor {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfcfd;
}

.simple-availability {
  gap: 12px;
}

.simple-label {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.day-toggle-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.day-toggle {
  display: grid;
  place-items: center;
  min-height: 62px;
  min-width: 0;
  padding: 8px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    color 140ms ease;
}

.day-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.day-toggle strong {
  color: var(--text);
}

.day-toggle span {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.day-toggle:hover,
.day-toggle.selected,
.day-toggle:has(input:checked) {
  border-color: rgba(31, 111, 120, 0.38);
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.advanced-settings {
  border-top: 1px solid var(--border);
  padding-top: 2px;
}

.advanced-settings summary {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-height);
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.advanced-settings .form-grid {
  margin-top: 10px;
}

.availability-rule {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 120px 120px;
  gap: 10px;
  align-items: center;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: var(--control-height);
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  line-height: 1.35;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

.textarea {
  min-height: 108px;
  resize: vertical;
}

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

.input:hover,
.select:hover,
.textarea:hover {
  border-color: #8fa0ad;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 111, 120, 0.16);
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  min-width: 40px;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease;
}

.btn:hover {
  border-color: #8fa0ad;
  background: #f8fafb;
}

.btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(31, 111, 120, 0.18);
}

.btn-primary:hover {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--border);
  background: var(--surface-muted);
  color: var(--text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  max-width: 100%;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.status-pill.success {
  border-color: rgba(47, 125, 79, 0.24);
  background: #e4f2e9;
  color: var(--success);
}

.status-pill.warning {
  border-color: rgba(154, 106, 19, 0.24);
  background: #f6edda;
  color: var(--warning);
}

.status-pill.danger {
  border-color: rgba(176, 68, 68, 0.24);
  background: #f7e3e3;
  color: var(--danger);
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.admin-table th,
.admin-table td {
  min-height: 48px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #f1f5f5;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table tr:hover td {
  background: #fbf7f1;
}

.admin-table small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(238, 243, 242, 0.8), rgba(247, 242, 234, 0.72));
  color: var(--text-muted);
  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.empty-state p {
  max-width: 56ch;
  margin: 0;
}

.compact-empty {
  min-height: 130px;
  margin-top: 16px;
}

.hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--text-muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 32, 42, 0.44);
}

.modal > * {
  width: min(100%, 560px);
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  width: min(calc(100vw - 32px), 420px);
  min-height: 54px;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 111, 120, 0.26);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.toast p {
  margin: 0;
  color: var(--text-muted);
}

.toast.danger {
  border-color: rgba(176, 68, 68, 0.26);
  border-left-color: var(--danger);
}

.login-page,
.booking-page {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 28px 0 44px;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.login-panel {
  display: grid;
  width: min(100%, 440px);
  gap: 18px;
}

.wide-login {
  width: min(100%, 760px);
}

.login-panel h1,
.public-panel h1 {
  margin: 0;
  line-height: 1.1;
}

.auth-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  color: var(--text-muted);
  font-weight: 700;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.account-avatar {
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  font-size: 22px;
}

.copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 14px 0;
}

.copy-field code {
  display: block;
  min-width: 0;
  padding: 10px 11px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafb;
  color: var(--text-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-panel {
  max-width: 900px;
}

.error-text {
  color: var(--danger) !important;
  font-weight: 700;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  margin-bottom: 18px;
}

.public-panel {
  margin-bottom: 18px;
}

.selected-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(31, 111, 120, 0.24);
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.selected-summary.wide {
  width: min(100%, 520px);
  margin: 18px auto;
  text-align: left;
}

.selected-summary span {
  display: block;
  color: var(--text-muted);
}

.booking-form {
  margin-top: 16px;
}

.confirmation-panel {
  display: grid;
  place-items: center;
  min-height: 460px;
  text-align: center;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #e4f2e9;
  color: var(--success);
}

.success-mark [data-lucide] {
  width: 34px;
  height: 34px;
}

.center {
  justify-content: center;
}

.end {
  justify-content: flex-end;
}

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

  .sidebar {
    position: static;
    height: auto;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sidebar nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-button {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .main {
    padding: 0 18px 28px;
  }

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

  .account-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  .topbar {
    position: static;
    align-items: stretch;
    flex-direction: column;
    min-height: auto;
    gap: 12px;
    padding: 18px 0 14px;
  }

  .toolbar {
    width: 100%;
  }

  .toolbar .btn,
  .toolbar .input,
  .toolbar .select {
    flex: 1 1 150px;
  }

  .panel,
  .event-card,
  .modal > * {
    padding: 16px;
  }

  .calendar-grid {
    grid-template-columns: repeat(7, minmax(34px, 1fr));
    gap: 6px;
  }

  .calendar-grid > * {
    min-height: 38px;
    padding: 6px 4px;
    font-size: 13px;
  }

  .slot-button {
    min-width: 0;
  }

  .admin-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

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

  .auth-switch,
  .copy-field {
    grid-template-columns: 1fr;
  }

  .auth-switch {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-field .btn {
    width: 100%;
  }

  .redirect-box {
    grid-template-columns: 1fr;
  }

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

  .quick-settings {
    grid-template-columns: 1fr;
  }

  .link-input {
    grid-template-columns: 1fr;
  }

  .link-input > span {
    padding: 9px 11px 0;
  }

  .day-toggle-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .main {
    padding: 0 12px 24px;
  }

  .sidebar {
    padding: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .grid {
    gap: 12px;
  }

  .btn,
  .slot-button {
    white-space: normal;
  }

  .modal {
    align-items: end;
    padding: 12px;
  }

  .modal > * {
    width: 100%;
    max-height: 88vh;
  }
}
