:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f1f4fa;
  --text: #1a2433;
  --text-muted: #5f6b7a;
  --primary: #2667ff;
  --primary-soft: #dbe6ff;
  --accent: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 10px 35px rgba(18, 31, 53, 0.08);
  --shadow-soft: 0 6px 20px rgba(18, 31, 53, 0.08);
  --ring: 0 0 0 3px rgba(38, 103, 255, 0.2);
  --border: 1px solid #e2e8f0;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px 560px at 110% -10%, #dce8ff 0%, rgba(220, 232, 255, 0) 55%),
    radial-gradient(900px 480px at -10% 20%, #e6fbef 0%, rgba(230, 251, 239, 0) 52%),
    linear-gradient(180deg, #f8fafe 0%, #f4f7fc 100%);
  color: var(--text);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

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

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 255, 0.78);
  border-bottom: var(--border);
  box-shadow: var(--shadow-soft);
}

.topbar-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #dbe4f5;
  border-radius: 10px;
  background: #fff;
  padding: 0.45rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #2b3a53;
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Outfit, sans-serif;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2667ff, #16a3ff);
  box-shadow: 0 10px 20px rgba(38, 103, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid #e5ebf5;
  border-radius: 12px;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
  transition: 180ms ease;
  white-space: nowrap;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.topbar-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.mobile-dock {
  display: none;
}

.main {
  width: min(1220px, calc(100% - 2rem));
  margin: 1.4rem auto 2rem;
  animation: none;
  overflow-x: clip;
  min-width: 0;
}

.page {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}

.hero {
  background: linear-gradient(130deg, #1c4cd2, #2466ef 48%, #31a0f8);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  box-shadow: 0 22px 40px rgba(23, 65, 181, 0.22);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -60px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.2rem);
  letter-spacing: 0.01em;
}

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

h2 {
  letter-spacing: -0.01em;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
}

.btn-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  border: none;
  border-radius: 11px;
  padding: 0.64rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: 180ms ease;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(38, 103, 255, 0.3);
}

.btn.light {
  background: #fff;
  color: #1e40af;
}

.btn.ghost {
  background: #fff;
  border: var(--border);
}

.btn.warn {
  background: #fff3dc;
  color: #9a6700;
}

.btn.danger {
  background: #fee2e2;
  color: #991b1b;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  border: var(--border);
  box-shadow: var(--shadow-soft);
  min-width: 0;
  overflow-wrap: anywhere;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 0.9rem;
  border: 1px solid #e8eef8;
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
}

.label {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 1rem;
}

.class-card {
  background: var(--surface);
  border: var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.class-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(18, 31, 53, 0.12);
  border-color: #d4dff0;
}

.thumb {
  height: 176px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #d6e2ff, #d4f4e5);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.02);
  transition: transform 260ms ease, filter 260ms ease;
}

.class-card:hover .thumb img {
  transform: scale(1.07);
  filter: saturate(1.05) contrast(1.05);
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 39, 0.04), rgba(18, 24, 39, 0.45));
}

.thumb-tag {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f9fafb;
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.content {
  padding: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge,
.chip {
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 700;
  width: fit-content;
}

.badge {
  background: #eef3fb;
  color: var(--text-muted);
  border: 1px solid #dce5f3;
}

.badge.confirmed { background: #dcfce7; color: #166534; }
.badge.pending { background: #fef3c7; color: #92400e; }
.badge.cancelled { background: #fee2e2; color: #991b1b; }
.badge.attended { background: #dbeafe; color: #1e40af; }
.badge.waitlisted { background: #ede9fe; color: #5b21b6; }
.badge.paid { background: #dcfce7; color: #166534; }
.badge.partial { background: #fde68a; color: #92400e; }
.badge.unpaid { background: #fee2e2; color: #991b1b; }

.chip.primary { background: var(--primary-soft); color: #1d4ed8; }
.chip.success { background: #d1fae5; color: #065f46; }
.chip.warn { background: #fef3c7; color: #92400e; }

.toolbar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: end;
}

.field {
  display: grid;
  gap: 0.3rem;
  min-width: 135px;
  flex: 1;
}

.field > span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  border: var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: #fff;
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.error {
  color: #dc2626;
  font-size: 0.77rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.55rem;
}

.day-col {
  background: var(--surface);
  border: var(--border);
  border-radius: 12px;
  min-height: 200px;
  padding: 0.65rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.session {
  border-radius: 10px;
  background: #fbfdff;
  border: 1px solid #dbe7ff;
  padding: 0.55rem;
  display: grid;
  gap: 0.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.session:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(28, 76, 210, 0.12);
}

.session.tight {
  background: #fff7ed;
  border-color: #fed7aa;
}

.session.full {
  background: #fef2f2;
  border-color: #fecaca;
}

.table-wrap {
  overflow: auto;
  border: var(--border);
  border-radius: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 0.68rem;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}

.table th {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.table-cards {
  display: grid;
  gap: 0.7rem;
}

.table-card {
  border: var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  box-shadow: var(--shadow-soft);
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Admin always uses card view for data blocks */
.table-wrap .table {
  display: none;
}

.split .table-wrap .table-cards { display: grid; }

.kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.chart {
  display: grid;
  gap: 0.6rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 48px;
  gap: 0.5rem;
  align-items: center;
}

.bar {
  background: #edf2ff;
  border-radius: 999px;
  overflow: hidden;
  height: 10px;
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
}

.empty {
  padding: 1rem;
  text-align: center;
  border: 2px dashed #d7dfea;
  border-radius: 12px;
  color: var(--text-muted);
}

.loader,
.skeleton {
  border-radius: 10px;
  background: linear-gradient(90deg, #eef2f8 25%, #f7faff 40%, #eef2f8 55%);
  background-size: 220% 100%;
  animation: shimmer 1.2s linear infinite;
}

.loader {
  height: 36px;
  width: 100%;
}

.skeleton {
  height: 13px;
}

.fade {
  animation: rise 220ms ease;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.5);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 1rem;
}

.modal {
  width: min(560px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(11, 24, 56, 0.34);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
  border: 1px solid #e6ebf5;
}

.success-box {
  background: linear-gradient(145deg, #effbf5, #f0f9ff);
  border: 1px solid #c7f3de;
  border-radius: 16px;
  padding: 1.1rem;
  display: grid;
  gap: 0.6rem;
}

.split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
}

.admin-shell {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  padding-bottom: calc(114px + env(safe-area-inset-bottom));
}

.side-menu {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  gap: 0.35rem;
}

.side-menu a {
  padding: 0.52rem 0.68rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.side-menu a.active,
.side-menu a:hover {
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--text);
}

.admin-tabs {
  position: fixed;
  left: 0.5rem;
  right: 0.5rem;
  bottom: calc(8px + env(safe-area-inset-bottom));
  top: auto;
  transform: none;
  width: auto;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 80;
  display: flex;
  gap: 0.56rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid #dbe6f7;
  box-shadow: 0 14px 30px rgba(18, 31, 53, 0.12);
  animation: none;
  border-radius: 16px;
  padding: 0.56rem;
  overscroll-behavior-x: contain;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.with-mobile-dock .main {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.admin-tabs a {
  white-space: nowrap;
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: 1px solid #dde7f6;
  background: #f8fbff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.95rem;
  font-size: 0.92rem;
  min-height: 48px;
  border-radius: 12px;
  line-height: 1.1;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.admin-tabs a.active,
.admin-tabs a:hover {
  border-color: #c9dafd;
  background: #edf4ff;
}

.admin-tabs a.active {
  box-shadow: 0 8px 14px rgba(38, 103, 255, 0.2);
  transform: translateY(-1px);
}

.tab-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tab-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.tab-label-short {
  display: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  to { background-position: -220% 0; }
}

@media (max-width: 980px) {
  .hero,
  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .kpis {
    grid-template-columns: 1fr;
  }

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

  .topbar-inner {
    align-items: center;
    padding: 0.5rem 0;
    min-height: auto;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    display: none;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
    order: 4;
  }

  .nav-links.open {
    display: flex;
  }

  .topbar-actions {
    width: auto;
    margin-left: auto;
  }

  .topbar-actions .btn,
  .topbar-actions a.btn {
    flex: initial;
    text-align: center;
  }

  .mobile-dock {
    position: fixed;
    left: 0.45rem;
    right: 0.45rem;
    bottom: calc(6px + env(safe-area-inset-bottom));
    z-index: 79;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.42rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dbe6f7;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(18, 31, 53, 0.12);
    backdrop-filter: blur(8px);
  }

  .mobile-dock a {
    display: grid;
    justify-items: center;
    gap: 0.18rem;
    padding: 0.42rem 0.2rem;
    border-radius: 10px;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
  }

  .mobile-dock a.active {
    color: var(--text);
    background: #f4f8ff;
    border-color: #d6e3fb;
    box-shadow: 0 8px 14px rgba(38, 103, 255, 0.18);
    transform: translateY(-1px);
  }

  .dock-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dock-icon svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  .mobile-dock small {
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
  }

  .dock-label-short {
    display: none;
  }

  .with-admin-tabs .mobile-dock {
    display: none;
  }

  .side-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-tabs {
    position: fixed;
    display: flex;
    grid-template-columns: none;
    width: auto;
    left: 0.45rem;
    right: 0.45rem;
    transform: none;
    bottom: calc(6px + env(safe-area-inset-bottom));
    gap: 0.46rem;
    padding: 0.5rem;
  }

  .table-wrap {
    overflow: visible;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .table-wrap .table {
    display: none;
  }

  .table-wrap .table-cards {
    display: grid;
  }

  .btn-row .btn,
  .btn-row a.btn {
    min-height: 42px;
  }
}

@media (max-width: 600px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .side-menu {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    padding-bottom: calc(136px + env(safe-area-inset-bottom));
  }

  .admin-tabs {
    border-radius: 14px;
  }

  .admin-tabs a {
    padding: 0.66rem 0.82rem;
    font-size: 0.86rem;
    min-height: 46px;
  }

  .tab-label-full {
    display: none;
  }

  .tab-label-short {
    display: inline;
  }

  .dock-label-full {
    display: none;
  }

  .dock-label-short {
    display: inline;
  }

  .table-card .btn-row {
    gap: 0.45rem;
  }

  .table-card .btn-row .btn,
  .table-card .btn-row a.btn {
    padding: 0.56rem 0.64rem;
    font-size: 0.8rem;
  }

  .main,
  .topbar-inner {
    width: min(1180px, calc(100% - 1rem));
  }

  .topbar-actions .badge {
    display: none;
  }

  .hero {
    border-radius: 18px;
  }

  .panel {
    padding: 0.85rem;
  }

  .thumb {
    height: 150px;
  }
}

.mobile-dock a.tap,
.admin-tabs a.tap {
  transform: scale(0.96);
}

/* Unified bottom app menu */
.nav-toggle,
.nav-links {
  display: none !important;
}

.with-bottom-menu .main {
  padding-bottom: calc(116px + env(safe-area-inset-bottom));
}

.bottom-menu {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 1rem));
  bottom: calc(6px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  gap: 0.45rem;
  padding: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe6f7;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(18, 31, 53, 0.14);
  backdrop-filter: blur(8px);
}

.bottom-menu a,
.bottom-menu .menu-action {
  white-space: nowrap;
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  padding: 0.56rem 0.72rem;
  min-height: 52px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.bottom-menu a.active,
.bottom-menu a:hover,
.bottom-menu .menu-action:hover {
  color: var(--text);
  background: #eff5ff;
  border-color: #d5e2fb;
}

.bottom-menu a.active {
  box-shadow: 0 8px 14px rgba(38, 103, 255, 0.18);
  transform: translateY(-1px);
}

.bottom-menu .menu-action {
  border-color: #f6cfd2;
  color: #991b1b;
  background: #fff3f3;
}

.bottom-menu .menu-action:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.bottom-menu .dock-icon {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bottom-menu .dock-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.bottom-menu small {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.dock-label-short {
  display: none;
}

.bottom-menu a.tap,
.bottom-menu .menu-action.tap {
  transform: scale(0.96);
}

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 86px;
  z-index: 120;
  padding: 0.64rem 0.92rem;
  border-radius: 12px;
  border: 1px solid #cde6d3;
  background: #ecfdf3;
  color: #166534;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.toast.info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.toast.success {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

@media (max-width: 600px) {
  .with-bottom-menu .main {
    padding-bottom: calc(126px + env(safe-area-inset-bottom));
  }

  .bottom-menu {
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
    transform: none;
  }

  .dock-label-full {
    display: none;
  }

  .dock-label-short {
    display: inline;
  }
}
