:root {
  --bg: #08111f;
  --bg-deep: #020611;
  --panel: rgba(9, 21, 38, 0.9);
  --panel-solid: #0b1528;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --surface-soft: rgba(9, 17, 31, 0.82);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f7fb;
  --muted: #8fa0b8;
  --accent: #b7ef55;
  --accent-strong: #dbff77;
  --accent-deep: #1e2e14;
  --teal: #5de0d0;
  --danger: #ff6c82;
  --warning: #ffd067;
  --success: #7af0b5;
  --shadow: 0 28px 80px rgba(1, 4, 12, 0.55);
  color-scheme: dark;
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  overscroll-behavior-x: none;
  background:
    radial-gradient(circle at top left, rgba(93, 224, 208, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(183, 239, 85, 0.18), transparent 32%),
    linear-gradient(180deg, #0b1528 0%, var(--bg-deep) 55%, #030814 100%);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
}

#app {
  position: relative;
  z-index: 1;
  width: min(1240px, 100vw);
  margin: 0 auto;
  padding:
    calc(28px + env(safe-area-inset-top))
    calc(22px + env(safe-area-inset-right))
    calc(110px + env(safe-area-inset-bottom))
    calc(22px + env(safe-area-inset-left));
}

.app-header,
.panel-head,
.admin-header,
.modal-head,
.section-head,
.map-stage-head,
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.app-header {
  margin-bottom: 32px;
}

.legal-banner {
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 108, 130, 0.32);
  background: linear-gradient(135deg, rgba(120, 15, 28, 0.92), rgba(81, 10, 18, 0.95));
  color: #fff1f3;
  line-height: 1.55;
  box-shadow: 0 18px 48px rgba(62, 5, 12, 0.42);
}

.legal-banner strong {
  color: #ffffff;
}

.header-actions,
.hero-tags,
.stage-actions,
.map-toolbar,
.filter-row,
.modal-buttons,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: var(--bg-deep);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 0 28px rgba(183, 239, 85, 0.35);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 24px;
  margin-bottom: 28px;
}

.hero-copy {
  padding: 12px 0;
}

.hero-copy h2 {
  margin-bottom: 14px;
  max-width: 11ch;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.95;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.84rem;
}

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

.hero-metrics > div,
.panel,
.dock-tab,
.driver-column,
.table-row.button-row:hover {
  box-shadow: var(--shadow);
}

.hero-metrics > div {
  min-height: 120px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 23, 43, 0.94), rgba(8, 14, 28, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-label,
.label {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 12px;
  font-size: 1.9rem;
  line-height: 1;
}

.metric-value.status {
  color: var(--accent);
}

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

.order-panel {
  grid-column: 1 / -1;
}

.legal-panel {
  grid-column: 1 / -1;
}

.panel {
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 19, 35, 0.92), rgba(7, 14, 28, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.panel h3 {
  font-size: 1.6rem;
}

.panel-copy,
.section-head p,
.sms-shell p,
.timeline p,
.card-list p,
.detail-note,
.legal-copy p,
.legal-list,
.map-hint-inline {
  color: var(--muted);
  line-height: 1.6;
}

.panel-copy {
  margin: -4px 0 22px;
  max-width: 68ch;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  touch-action: manipulation;
}

button {
  width: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  touch-action: manipulation;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

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

.primary,
.ghost,
.pill,
.class-card,
.filter-chip,
.dock-tab,
.point-switch {
  min-height: 46px;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.primary:hover,
.ghost:hover,
.pill:hover,
.class-card:hover,
.filter-chip:hover,
.dock-tab:hover,
.point-switch:hover {
  transform: translateY(-1px);
}

.primary {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--bg-deep);
  font-weight: 700;
}

.primary.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.primary.full {
  width: 100%;
}

.pill,
.ghost,
.filter-chip,
.point-switch,
.dock-tab {
  border-radius: 999px;
}

.ghost,
.filter-chip,
.point-switch,
.dock-tab {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.point-switch.active,
.filter-chip.active,
.dock-tab.active {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(183, 239, 85, 0.22), rgba(93, 224, 208, 0.22));
  box-shadow: 0 0 0 1px rgba(183, 239, 85, 0.28) inset;
}

.neon {
  box-shadow: 0 0 18px rgba(183, 239, 85, 0.28);
}

.primary:disabled,
.ghost:disabled,
.pill:disabled,
.filter-chip:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.hidden {
  display: none !important;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.map-stage,
.booking-details {
  display: grid;
  gap: 18px;
}

.map-stage {
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-stage-head h4 {
  font-size: 1.35rem;
}

.address-stack {
  display: grid;
  gap: 14px;
}

.address-field {
  position: relative;
}

.input-shell {
  position: relative;
}

.input-shell i {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.input-shell .accent {
  color: var(--accent);
}

.input-shell .teal {
  color: var(--teal);
}

.input-shell input {
  padding-left: 44px;
}

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 12;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(6, 12, 24, 0.98);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 48px rgba(1, 4, 12, 0.45);
}

.suggestion-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.suggestion-item.active {
  border-color: rgba(183, 239, 85, 0.35);
  background: rgba(183, 239, 85, 0.1);
}

.suggestion-title {
  color: var(--text);
  font-weight: 600;
}

.suggestion-subtitle {
  color: var(--muted);
  font-size: 0.86rem;
}

.map-toolbar {
  align-items: center;
}

.map-hint-inline {
  margin-left: auto;
  font-size: 0.88rem;
}

.map-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #08111f;
}

#map {
  width: 100%;
  height: 420px;
  touch-action: auto;
}

.map-hint-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  max-width: calc(100% - 28px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(6, 12, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
}

.route-meta,
.price-widget,
.input-grid,
.admin-stats,
.admin-grid,
.driver-columns,
.detail-grid {
  display: grid;
  gap: 16px;
}

.route-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-meta > div,
.price-widget > div,
.admin-stats .stat,
.timeline li,
.card-list li,
.detail-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.route-meta > div,
.price-widget > div,
.admin-stats .stat {
  padding: 16px;
}

.route-meta p:last-child,
.price-widget p:last-child {
  margin-top: 8px;
  font-size: 1.06rem;
  font-weight: 600;
}

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

.sms-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(93, 224, 208, 0.08), rgba(183, 239, 85, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sms-shell-actions {
  display: grid;
  gap: 12px;
  align-content: center;
}

.sms-shell input:disabled {
  opacity: 0.82;
  cursor: not-allowed;
}

.class-gallery {
  overflow: hidden;
  padding: 12px 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(183, 239, 85, 0.08), rgba(93, 224, 208, 0.08));
}

.gallery-track {
  display: inline-flex;
  gap: 14px;
  width: max-content;
  min-width: 200%;
  padding: 0 14px;
  animation: gallery-scroll 28s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.class-card {
  min-width: 176px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 8, 20, 0.42);
  text-align: left;
}

.class-card.selected {
  border-color: rgba(183, 239, 85, 0.45);
  background: rgba(183, 239, 85, 0.1);
  box-shadow: 0 0 0 1px rgba(183, 239, 85, 0.22) inset;
}

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

.class-card .price {
  margin-top: 8px;
  color: var(--accent);
  font-size: 1.2rem;
}

.price-widget {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline,
.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.timeline li,
.card-list li {
  padding: 16px;
}

.status-pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline h4,
.card-list h4 {
  margin-top: 12px;
  line-height: 1.35;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.card-meta {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.card-actions {
  margin-top: 14px;
}

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

.driver-column {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  margin-bottom: 14px;
}

.section-head h4 {
  font-size: 1.18rem;
}

.empty-state {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(93, 224, 208, 0.07));
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
}

.legal-copy {
  display: grid;
  gap: 14px;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
}

.legal-list li + li {
  margin-top: 8px;
}

footer {
  margin-top: 42px;
  text-align: center;
  color: var(--muted);
}

.modal,
.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 17, 0.78);
  backdrop-filter: blur(12px);
}

.modal-card,
.admin-card {
  position: relative;
  width: min(960px, 94vw);
  max-height: min(90vh, 90dvh);
  overflow: auto;
  padding: 28px;
  border-radius: 30px;
  background: rgba(7, 13, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.modal-card {
  width: min(460px, 92vw);
}

.modal-card-wide {
  width: min(980px, 94vw);
}

.admin-card {
  width: min(1180px, 96vw);
}

.close {
  width: auto;
  min-width: 46px;
}

.admin-card .close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.admin-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-insights {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-money-grid,
.admin-class-grid {
  display: grid;
  gap: 14px;
}

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

.money-card,
.class-stat-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.money-card h4,
.class-stat-card h4 {
  margin: 0;
  font-size: 1.2rem;
}

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

.class-stat-cell {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.class-stat-cell strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.table {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.table-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  min-width: 820px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-row.header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(7, 13, 26, 0.98);
  font-weight: 700;
}

.table-row.orders {
  grid-template-columns: 0.7fr 1.1fr 1.2fr 1.6fr 1.6fr 0.9fr 0.9fr 1.1fr;
}

.table-row.users {
  grid-template-columns: 0.7fr 1.2fr 1.2fr 0.9fr 1.1fr;
}

.table-row.button-row {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  text-align: left;
}

.table-row.button-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.015);
}

.table-cell-multiline {
  display: grid;
  gap: 4px;
}

.error {
  min-height: 20px;
  color: var(--danger);
}

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

.detail-card {
  padding: 18px;
}

.detail-card h4 {
  margin-bottom: 12px;
}

.detail-grid dl {
  display: grid;
  grid-template-columns: minmax(110px, 0.5fr) minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.detail-grid dt {
  color: var(--muted);
}

.detail-grid dd {
  margin: 0;
  line-height: 1.5;
}

.detail-route {
  display: grid;
  gap: 14px;
}

.route-stop {
  position: relative;
  padding-left: 22px;
}

.route-stop::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.route-stop.dropoff::before {
  background: var(--teal);
}

.detail-stack {
  display: grid;
  gap: 12px;
}

.detail-note {
  font-size: 0.92rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 30;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 13, 26, 0.96);
  transform: translate(-50%, 8px);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-dock {
  display: none;
}

.leaflet-control-zoom a,
.leaflet-bar a {
  background: rgba(7, 13, 26, 0.9) !important;
  color: var(--text) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(7, 13, 26, 0.96);
  color: var(--text);
}

.marker-badge {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.18);
}

.marker-badge.pickup {
  background: var(--accent);
}

.marker-badge.dropoff {
  background: var(--teal);
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .hero,
  .booking-shell,
  .admin-insights,
  .admin-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  #install-app {
    display: none !important;
  }

  #app {
    padding:
      calc(18px + env(safe-area-inset-top))
      calc(14px + env(safe-area-inset-right))
      calc(132px + env(safe-area-inset-bottom))
      calc(14px + env(safe-area-inset-left));
  }

  .app-header,
  .panel-head,
  .map-stage-head,
  .admin-header,
  .admin-toolbar,
  .modal-head {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions > * {
    width: 100%;
  }

  .hero {
    gap: 18px;
  }

  .hero-copy h2 {
    max-width: 9ch;
  }

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

  .layout-grid {
    gap: 18px;
  }

  .panel,
  .map-stage,
  .driver-column {
    padding: 18px;
    border-radius: 24px;
  }

  .input-grid,
  .route-meta,
  .price-widget,
  .sms-shell,
  .admin-stats,
  .admin-money-grid,
  .class-stat-grid {
    grid-template-columns: 1fr;
  }

  .map-toolbar,
  .stage-actions,
  .filter-row {
    flex-direction: column;
  }

  .map-hint-inline {
    margin-left: 0;
  }

  #map {
    height: 360px;
  }

  .gallery-track {
    animation-duration: 36s;
  }

  #order-submit {
    position: sticky;
    bottom: calc(82px + env(safe-area-inset-bottom));
    z-index: 4;
    box-shadow: 0 20px 40px rgba(1, 4, 12, 0.35);
  }

  .mobile-dock {
    position: fixed;
    left: calc(14px + env(safe-area-inset-left));
    right: calc(14px + env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 18;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(7, 13, 26, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(1, 4, 12, 0.45);
  }

  .dock-tab {
    display: grid;
    gap: 6px;
    place-items: center;
    padding: 12px 10px;
    font-size: 0.88rem;
  }

  .modal,
  .admin-overlay {
    align-items: end;
  }

  .modal-card,
  .admin-card {
    width: 100%;
    max-height: min(94vh, 94dvh);
    padding: 22px 18px calc(28px + env(safe-area-inset-bottom)) 18px;
    border-radius: 28px 28px 0 0;
  }

  .table-row {
    min-width: 760px;
  }

  .toast {
    width: calc(100vw - 28px);
    text-align: center;
  }
}
