:root {
  color-scheme: light;
  --bg: #f7f9fa;
  --surface: #ffffff;
  --surface-2: #f1f5f6;
  --line: #e3e9ec;
  --text: #172126;
  --muted: #63747d;
  --brand: #009de0;
  --brand-2: #00b5e2;
  --info: #60a5fa;
  --warn: #f59e0b;
  --danger: #fb7185;
  --shadow: 0 18px 50px rgba(23, 33, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #e6f7fd 0%, #f7f9fa 38%, #ffffff 100%);
  color: var(--text);
  font-family: "Heebo", Arial, sans-serif;
}

img,
svg,
canvas,
video,
iframe {
  max-width: 100%;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 17, 31, 0.78);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: white;
}

.mmh-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  pointer-events: none;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(0, 157, 224, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 157, 224, 0.08) 1px, transparent 1px),
    linear-gradient(155deg, #f6fdff 0%, #dff6ff 48%, #ffffff 100%);
  background-size: 56px 56px, 56px 56px, auto;
  opacity: 1;
  transition: opacity 320ms ease, transform 320ms ease;
}

.mmh-splash.is-leaving {
  opacity: 0;
  transform: scale(1.015);
}

.mmh-splash__card {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(86vw, 330px);
  padding: 30px 24px;
  border: 1px solid rgba(0, 157, 224, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 70px rgba(17, 26, 46, 0.16);
  text-align: center;
}

.mmh-splash__logo {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  object-fit: contain;
  box-shadow: 0 18px 42px rgba(0, 157, 224, 0.2);
}

.mmh-splash--zeroport .mmh-splash__logo {
  width: 168px;
  padding: 12px;
}

.mmh-splash--it-guru .mmh-splash__logo {
  width: 128px;
  padding: 10px;
  background: #ffffff;
}

.mmh-splash__card strong {
  color: #111a2e;
  font-size: 1.35rem;
  font-weight: 900;
}

.mmh-splash__card span {
  color: #435261;
  font-size: 0.92rem;
  font-weight: 800;
}

.mmh-splash__line {
  position: relative;
  width: 150px;
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dff6ff;
}

.mmh-splash__line::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 58px;
  border-radius: inherit;
  background: linear-gradient(90deg, #009de0, #74d8ff);
  animation: splashProgress 1.1s ease-in-out infinite;
}

@keyframes splashProgress {
  0% {
    inset-inline-start: -58px;
  }

  100% {
    inset-inline-start: 150px;
  }
}

.brand__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.brand__meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button--primary {
  background: var(--brand);
  color: #052e18;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 48px 0 38px;
}

.hero__copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  border: 1px solid rgba(45, 212, 191, 0.38);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(45, 212, 191, 0.1);
  color: #b7fff2;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: #d6deea;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(16, 27, 45, 0.78);
}

.metric strong {
  display: block;
  color: var(--brand-2);
  font-size: 1.5rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ops-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(16, 27, 45, 0.9);
  box-shadow: var(--shadow);
}

.ops-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.status-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(23, 201, 100, 0.12);
  color: #99f6c6;
  font-size: 0.8rem;
  font-weight: 800;
}

.workflow {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.workflow-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.workflow-row__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.14);
  font-size: 1.35rem;
}

.workflow-row h2 {
  margin: 0;
  font-size: 1.05rem;
}

.workflow-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.workflow-row__action {
  color: var(--brand-2);
  font-weight: 900;
}

.section {
  padding: 28px 0 58px;
}

.section__title {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

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

.role-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(16, 27, 45, 0.76);
  transition: transform 160ms ease, border-color 160ms ease;
}

.role-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.58);
}

.role-card__icon {
  font-size: 2rem;
}

.role-card h3 {
  margin: 16px 0 8px;
  font-size: 1.25rem;
}

.role-card p {
  min-height: 52px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.role-card span {
  color: var(--brand-2);
  font-weight: 900;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

.workspace {
  min-height: 100vh;
  background: linear-gradient(180deg, #e6f7fd 0%, #f7f9fa 38%, #ffffff 100%);
}

.workspace-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.workspace-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.workspace-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.workspace-hero p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.stat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(16, 27, 45, 0.82);
}

.stat-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.stat-card__value {
  margin: 12px 0 0;
  font-size: 2rem;
  font-weight: 900;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 27, 45, 0.82);
}

.panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.panel__body {
  padding: 18px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 20px 0 14px;
  overflow-x: auto;
}

.tab-active,
.tab-inactive,
.filter-btn,
.filter-btn-active,
.courier-tab-active,
.courier-tab-inactive {
  border-radius: 8px;
  border: 1px solid var(--line);
}

.tab-active,
.filter-btn-active,
.courier-tab-active {
  background: var(--brand);
  color: #052e18;
}

.tab-inactive,
.filter-btn,
.courier-tab-inactive {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(16, 27, 45, 0.9);
  box-shadow: var(--shadow);
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 44px 0;
}

.login-copy h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.98;
}

.login-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.field-stack {
  display: grid;
  gap: 8px;
}

.text-field {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.text-field:focus {
  border-color: var(--brand-2);
  outline: none;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.app-form {
  display: grid;
  gap: 18px;
}

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

.form-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(16, 27, 45, 0.84);
}

.form-section h2,
.form-section h3 {
  margin: 0 0 16px;
  font-size: 1.24rem;
  font-weight: 900;
}

.step-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.step-item {
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.82rem;
}

.step-active,
.step-inactive {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 900;
}

.step-active {
  background: var(--brand);
  color: #052e18;
}

.step-inactive {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.action-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #e6f7fd 0%, #f7f9fa 100%);
}

.action-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 20px;
  color: var(--logo-ink);
  font-weight: 900;
}

.action-logo::after {
  content: "Deliveries. From anywhere. To anywhere.";
  flex-basis: 100%;
  color: #3f5364;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.action-logo img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: white;
}

.action-card {
  width: min(100%, 560px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(16, 27, 45, 0.9);
  box-shadow: var(--shadow);
}

.state-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 8px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--brand-2);
  font-size: 1.05rem;
  font-weight: 900;
}

.hidden {
  display: none !important;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .role-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

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

  .workspace-hero,
  .login-layout {
    grid-template-columns: 1fr;
  }

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

  .workspace-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .workflow-row {
    grid-template-columns: 44px 1fr;
  }

  .workflow-row__action {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: stretch;
  }

  .nav-actions .button {
    flex: 1;
  }

  .hero {
    padding-top: 34px;
  }

  .workspace-main {
    width: min(100% - 20px, 1280px);
  }

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

/* Wolt-inspired product refresh */
:root {
  color-scheme: light;
  --bg: #f7f9fa;
  --surface: #ffffff;
  --surface-2: #f1f5f6;
  --line: #e3e9ec;
  --text: #172126;
  --muted: #63747d;
  --brand: #009de0;
  --brand-2: #00b5e2;
  --brand-soft: #e5f7fc;
  --success: #1fc709;
  --info: #317ff5;
  --warn: #f4b63f;
  --danger: #0b8fc8;
  --shadow: 0 18px 50px rgba(23, 33, 38, 0.1);
}

body,
.workspace {
  background:
    linear-gradient(180deg, #e6f7fd 0%, #f7f9fa 38%, #ffffff 100%);
  color: var(--text);
}

.workspace.text-white,
.text-white {
  color: var(--text) !important;
}

.topbar,
.courier-header {
  border-bottom: 1px solid rgba(0, 157, 224, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 26px rgba(23, 33, 38, 0.06);
}

.brand__mark,
.action-logo img {
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 157, 224, 0.14);
}

.brand__name {
  color: var(--text);
}

.brand__meta,
.login-copy p,
.workspace-hero p,
.workflow-row p,
.role-card p,
.metric span,
.stat-card__label,
.footer,
.text-slate-400,
.text-slate-300 {
  color: var(--muted) !important;
}

.button,
.tab-active,
.tab-inactive,
.filter-btn,
.filter-btn-active,
.courier-tab-active,
.courier-tab-inactive {
  border-radius: 999px;
}

.button {
  min-height: 46px;
  padding: 0 20px;
  box-shadow: none;
}

.button--primary,
.tab-active,
.filter-btn-active,
.courier-tab-active {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 157, 224, 0.2);
}

.button--primary:hover {
  background: #008dca;
}

.button--ghost,
.tab-inactive,
.filter-btn,
.courier-tab-inactive {
  border-color: transparent;
  background: #eef4f6;
  color: var(--text);
}

.eyebrow,
.status-pill {
  border-color: rgba(0, 157, 224, 0.16);
  background: var(--brand-soft);
  color: #007eb3;
}

.hero {
  min-height: min(720px, calc(100vh - 74px));
  padding: 40px 0 28px;
}

.hero h1,
.login-copy h1,
.workspace-hero h1 {
  color: #101820;
  font-weight: 900;
}

.hero__lead {
  color: #43525a;
}

.quick-order {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  max-width: 650px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quick-order__input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.quick-order__dot {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.category-tile {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(23, 33, 38, 0.06);
}

.category-tile strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.category-tile span {
  color: var(--muted);
  font-size: 0.88rem;
}

.ops-panel,
.metric,
.role-card,
.stat-card,
.panel,
.form-card,
.form-section,
.action-card,
.courier-card {
  border-color: var(--line) !important;
  border-radius: 20px !important;
  background: var(--surface) !important;
  box-shadow: 0 12px 34px rgba(23, 33, 38, 0.07);
}

.ops-panel__header,
.panel__header {
  border-bottom-color: var(--line);
}

.workflow-row {
  border-color: transparent;
  border-radius: 18px;
  background: #f6fafb;
}

.workflow-row__icon,
.state-icon {
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
}

.workflow-row__action,
.role-card span,
.metric strong {
  color: var(--brand);
}

.role-card:hover {
  border-color: rgba(0, 157, 224, 0.32);
  box-shadow: 0 18px 38px rgba(0, 157, 224, 0.1);
}

.stat-card__value {
  color: var(--text);
}

.text-emerald-300,
.text-emerald-400,
.text-blue-300,
.text-blue-400,
.text-purple-400,
.text-amber-300,
.text-amber-400 {
  color: var(--brand) !important;
}

.panel__body,
.form-section,
.form-card {
  color: var(--text);
}

.tabs {
  border-radius: 999px;
  padding: 6px;
  background: #edf4f7;
}

.text-field {
  min-height: 54px;
  border-color: #d8e3e7;
  border-radius: 14px;
  background: #f8fbfc;
  color: var(--text);
}

.text-field:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 157, 224, 0.12);
}

.step-active,
.step-inactive {
  border-radius: 50%;
}

.step-active {
  background: var(--brand);
  color: white;
}

.step-inactive {
  background: #edf4f7;
  color: var(--muted);
}

.action-page {
  background:
    linear-gradient(180deg, #e6f7fd 0%, #f7f9fa 100%);
}

.footer {
  border-top-color: var(--line);
}

@media (max-width: 880px) {
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .quick-order {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .quick-order .button {
    width: 100%;
  }

  .category-strip {
    grid-template-columns: 1fr;
  }
}

/* Tailwind compatibility for legacy pages */
.bg-slate-900,
.from-slate-900,
.via-blue-900,
.to-slate-900 {
  background: linear-gradient(180deg, #e6f7fd 0%, #f7f9fa 42%, #ffffff 100%) !important;
}

.bg-slate-800,
.bg-slate-700,
.bg-slate-700\/50 {
  background: #ffffff !important;
}

.border-slate-700,
.border-slate-600,
.border-blue-500,
.border-blue-400,
.border-emerald-500,
.border-emerald-400 {
  border-color: var(--line) !important;
}

.bg-emerald-500,
.bg-emerald-600,
.from-emerald-500,
.from-emerald-600,
.to-emerald-500,
.to-emerald-600,
.bg-blue-500,
.bg-blue-600,
.from-blue-500,
.from-blue-600,
.to-blue-500,
.to-blue-600 {
  background: var(--brand) !important;
  color: #ffffff !important;
}

.bg-gradient-to-r,
.bg-gradient-to-br {
  box-shadow: none;
}

.text-blue-100,
.text-blue-200,
.text-blue-300,
.text-blue-400,
.text-blue-600,
.text-emerald-600 {
  color: var(--brand) !important;
}

.text-white {
  color: var(--text) !important;
}

.bg-emerald-500.text-white,
.bg-blue-500.text-white,
.bg-blue-600.text-white,
.from-blue-600.text-white,
.from-emerald-600.text-white,
button.text-white {
  color: #ffffff !important;
}

.rounded-lg,
.rounded-xl,
.rounded-2xl {
  border-radius: 18px !important;
}

.shadow-xl,
.shadow-2xl,
.shadow-lg {
  box-shadow: 0 14px 36px rgba(23, 33, 38, 0.08) !important;
}

/* Future delivery atmosphere */
body,
.workspace,
.action-page {
  background:
    linear-gradient(90deg, rgba(0, 157, 224, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 157, 224, 0.07) 1px, transparent 1px),
    linear-gradient(125deg, rgba(0, 157, 224, 0.18) 0 18%, transparent 18% 100%),
    linear-gradient(305deg, rgba(31, 199, 9, 0.1) 0 16%, transparent 16% 100%),
    linear-gradient(180deg, #e3f8ff 0%, #f6fbfd 42%, #ffffff 100%) !important;
  background-size: 78px 78px, 78px 78px, auto, auto, auto !important;
}

body::before,
.workspace::before,
.action-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 157, 224, 0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 157, 224, 0.09) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.42) 44%, transparent 88%);
}

body::after,
.workspace::after,
.action-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 34%, rgba(0, 157, 224, 0.2) 34% 35%, transparent 35% 100%),
    linear-gradient(45deg, transparent 0 58%, rgba(31, 199, 9, 0.14) 58% 59%, transparent 59% 100%),
    linear-gradient(110deg, transparent 0 72%, rgba(0, 181, 226, 0.16) 72% 73%, transparent 73% 100%);
}

.hero {
  position: relative;
}

.hero h1 {
  text-shadow: 0 18px 46px rgba(0, 157, 224, 0.18);
}

.quick-order {
  background:
    linear-gradient(90deg, rgba(0, 157, 224, 0.1), transparent 34%),
    var(--surface);
  box-shadow: 0 22px 60px rgba(0, 157, 224, 0.18);
}

.category-tile,
.ops-panel,
.metric,
.role-card,
.stat-card,
.panel,
.form-card,
.form-section,
.action-card,
.courier-card {
  background:
    linear-gradient(145deg, rgba(0, 157, 224, 0.1), transparent 42%),
    var(--surface) !important;
}

.category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 157, 224, 0.28);
  box-shadow: 0 18px 42px rgba(0, 157, 224, 0.13);
}

.metric:nth-child(2),
.stat-card:nth-child(2n),
.role-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(31, 199, 9, 0.08), transparent 42%),
    var(--surface) !important;
}

.workspace-hero {
  position: relative;
  border: 1px solid rgba(0, 157, 224, 0.14);
  border-radius: 28px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(0, 157, 224, 0.12), transparent 38%),
    linear-gradient(305deg, rgba(31, 199, 9, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(0, 157, 224, 0.09);
}

.future-panel {
  position: relative;
  min-height: 560px;
}

.future-map {
  position: relative;
  min-height: 230px;
  margin: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 157, 224, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(0, 157, 224, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 157, 224, 0.12) 1px, transparent 1px),
    linear-gradient(145deg, #e3f8ff, #ffffff);
  background-size: 38px 38px, 38px 38px, auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.route-line {
  position: absolute;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--success));
  box-shadow: 0 0 28px rgba(0, 157, 224, 0.46);
}

.route-line--one {
  inset-inline-start: 13%;
  top: 42%;
  width: 72%;
  transform: rotate(-13deg);
}

.route-line--two {
  inset-inline-start: 24%;
  top: 63%;
  width: 48%;
  transform: rotate(20deg);
  opacity: 0.72;
}

.route-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(0, 157, 224, 0.25);
}

.route-node--pickup {
  inset-inline-start: 13%;
  top: 31%;
}

.route-node--drop {
  inset-inline-end: 12%;
  top: 54%;
  background: var(--success);
}

.route-vehicle {
  position: absolute;
  inset-inline-start: 42%;
  top: 38%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 46px;
  border-radius: 999px;
  background: #101820;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.24);
  animation: routePulse 2.8s ease-in-out infinite;
}

@keyframes routePulse {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 880px) {
  .future-panel {
    min-height: auto;
  }
}

/* Logo-color cinematic layer */
:root {
  --logo-ink: #111a2e;
  --logo-blue: #009de0;
  --logo-blue-soft: #74d8ff;
}

.topbar,
.courier-header {
  background:
    linear-gradient(90deg, rgba(0, 157, 224, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.9) !important;
  border-bottom-color: rgba(0, 157, 224, 0.16) !important;
  box-shadow: 0 10px 28px rgba(17, 26, 46, 0.08) !important;
}

.topbar .brand__name,
.topbar .brand__meta,
.topbar .button--ghost,
.courier-header,
.courier-header .text-slate-400 {
  color: var(--logo-ink) !important;
}

.topbar .button--ghost {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(0, 157, 224, 0.18);
  color: var(--logo-ink) !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline: -4vw;
  top: 20px;
  bottom: 18px;
  z-index: -1;
  border-radius: 42px;
  background:
    linear-gradient(115deg, rgba(17, 26, 46, 0.94), rgba(0, 157, 224, 0.28) 52%, rgba(255, 255, 255, 0.1)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 34px 34px;
  box-shadow: 0 34px 90px rgba(17, 26, 46, 0.28);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 42%;
  top: 52px;
  bottom: 52px;
  z-index: -1;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent),
    linear-gradient(90deg, var(--logo-blue), var(--logo-blue-soft));
  filter: blur(6px);
  opacity: 0.8;
  animation: roadSweep 4.8s linear infinite;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: -22px -26px;
  z-index: -1;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(219, 246, 255, 0.38)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(0, 157, 224, 0.08));
  box-shadow: 0 28px 80px rgba(17, 26, 46, 0.14);
  backdrop-filter: blur(8px);
}

.hero h1 {
  color: var(--logo-ink) !important;
  text-shadow:
    0 3px 0 rgba(255, 255, 255, 0.48),
    0 24px 46px rgba(17, 26, 46, 0.16);
}

.hero__lead {
  color: #213246 !important;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.72);
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 26, 46, 0.12);
  color: var(--logo-ink);
  box-shadow: 0 12px 28px rgba(17, 26, 46, 0.1);
}

.quick-order {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.92);
}

.future-map {
  background:
    radial-gradient(circle at 20% 28%, rgba(255, 255, 255, 0.18), transparent 7rem),
    radial-gradient(circle at 86% 68%, rgba(0, 157, 224, 0.34), transparent 8rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #111a2e;
  background-size: auto, auto, 40px 40px, 40px 40px, auto;
}

.future-map::before,
.future-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.future-map::before {
  background:
    linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.2) 36% 37%, transparent 37% 100%),
    linear-gradient(65deg, transparent 0 56%, rgba(0, 157, 224, 0.26) 56% 57%, transparent 57% 100%);
  animation: mapDrift 6s linear infinite;
}

.future-map::after {
  background: radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(17, 26, 46, 0.44) 100%);
}

.route-line {
  height: 12px;
  background: linear-gradient(90deg, var(--logo-blue-soft), #ffffff, var(--brand));
}

.route-vehicle {
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-ink));
}

.ops-panel,
.panel,
.form-card,
.form-section,
.action-card,
.stat-card,
.metric,
.role-card,
.category-tile,
.courier-card {
  border-color: rgba(0, 157, 224, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(17, 26, 46, 0.9), rgba(0, 157, 224, 0.18)),
    #111a2e !important;
  color: #ffffff !important;
  box-shadow: 0 22px 60px rgba(17, 26, 46, 0.18);
}

.ops-panel .brand__meta,
.workflow-row p,
.role-card p,
.metric span,
.stat-card__label,
.panel__body,
.form-section,
.form-card,
.category-tile span {
  color: rgba(255, 255, 255, 0.72) !important;
}

.workflow-row {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff;
}

.category-tile strong,
.role-card h3,
.workflow-row h2,
.panel h2,
.form-section h2,
.form-section h3,
.stat-card__value,
.action-card h1,
.action-card h2,
.action-card h3 {
  color: #ffffff !important;
}

.category-tile p,
.category-tile span,
.role-card p,
.role-card span,
.workflow-row p,
.panel p,
.form-section p,
.action-card p,
.form-card p,
.panel label,
.form-section label,
.form-card label,
.action-card label,
.panel .text-slate-300,
.panel .text-slate-400,
.form-section .text-slate-300,
.form-section .text-slate-400,
.form-card .text-slate-300,
.form-card .text-slate-400,
.action-card .text-slate-300,
.action-card .text-slate-400 {
  color: rgba(255, 255, 255, 0.76) !important;
}

.category-tile:nth-child(2n),
.role-card:nth-child(2),
.metric:nth-child(2),
.stat-card:nth-child(2n) {
  background:
    linear-gradient(145deg, rgba(0, 157, 224, 0.42), rgba(17, 26, 46, 0.92)),
    #111a2e !important;
}

.category-tile:nth-child(2n) strong,
.category-tile:nth-child(2n) span,
.role-card:nth-child(2) h3,
.role-card:nth-child(2) p,
.role-card:nth-child(2) span,
.metric:nth-child(2) strong,
.metric:nth-child(2) span,
.stat-card:nth-child(2n) .stat-card__label,
.stat-card:nth-child(2n) .stat-card__value {
  color: #ffffff !important;
}

.workspace-hero {
  background:
    linear-gradient(135deg, rgba(17, 26, 46, 0.92), rgba(0, 157, 224, 0.22)),
    #111a2e !important;
}

.workspace-hero h1,
.workspace-hero p {
  color: #ffffff !important;
}

.brand__slogan,
.page-slogan {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 157, 224, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--logo-ink) !important;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(17, 26, 46, 0.1);
}

.workspace-hero .page-slogan {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
}

.text-field {
  border-color: rgba(0, 157, 224, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.auth-card {
  background:
    linear-gradient(145deg, rgba(17, 26, 46, 0.94), rgba(0, 157, 224, 0.2)),
    #111a2e !important;
  border-color: rgba(0, 157, 224, 0.24) !important;
  color: #ffffff !important;
}

.auth-card h1,
.auth-card h2,
.auth-card h3,
.auth-card label,
.auth-card .text-slate-300 {
  color: #ffffff !important;
}

.auth-card p,
.auth-card .text-slate-400,
.auth-card .brand__meta {
  color: rgba(255, 255, 255, 0.78) !important;
}

.auth-card .button--ghost {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.auth-card .text-field {
  background: #ffffff !important;
  border-color: rgba(0, 157, 224, 0.36) !important;
  color: var(--logo-ink) !important;
}

.auth-card .text-field::placeholder {
  color: #7b8b98 !important;
}

.customer-settings-card {
  border: 1px solid rgba(0, 157, 224, 0.2);
  border-radius: 16px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(0, 157, 224, 0.14), rgba(255, 255, 255, 0.9)),
    #f8fcff;
  color: var(--logo-ink);
  box-shadow: 0 16px 34px rgba(17, 26, 46, 0.08);
}

.customer-settings-card h3,
.customer-settings-card label,
.customer-settings-card span,
.customer-settings-card p {
  color: var(--logo-ink) !important;
}

.customer-field {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(0, 157, 224, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--logo-ink);
  font: inherit;
}

.customer-field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 157, 224, 0.12);
}

/* Legacy utility color bridge: keep old alert/status classes inside the logo palette. */
.bg-red-500,
.bg-red-600,
.bg-red-700,
.from-red-600,
.to-red-500,
.to-red-600,
.hover\:bg-red-500:hover,
.hover\:bg-red-600:hover,
.hover\:bg-red-700:hover,
.hover\:from-red-700:hover,
.hover\:to-red-600:hover {
  background-color: #253247 !important;
  --tw-gradient-from: #253247 !important;
  --tw-gradient-to: #009de0 !important;
  --tw-gradient-stops: #253247, #009de0 !important;
  color: #ffffff !important;
}

.bg-red-500\/10,
.bg-red-500\/20,
.bg-red-900\/30,
.bg-red-100 {
  background-color: rgba(0, 157, 224, 0.1) !important;
}

.border-red-400,
.border-red-500 {
  border-color: rgba(0, 157, 224, 0.5) !important;
}

.text-red-200,
.text-red-300,
.text-red-400,
.text-red-700,
.hover\:text-red-500:hover {
  color: #0b8fc8 !important;
}

@keyframes roadSweep {
  0% {
    transform: translateX(-18%) rotate(-12deg);
    opacity: 0.45;
  }

  50% {
    opacity: 0.86;
  }

  100% {
    transform: translateX(18%) rotate(-12deg);
    opacity: 0.45;
  }
}

@keyframes mapDrift {
  0% {
    transform: translateX(-28px);
  }

  100% {
    transform: translateX(28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .future-map::before,
  .route-vehicle {
    animation: none;
  }
}

@media (max-width: 880px) {
  .hero::before {
    inset-inline: -16px;
    border-radius: 28px;
  }
}

/* Final contrast and premium brand pass */
.hero-brand-lockup {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  isolation: isolate;
}

.hero-brand-lockup__logo {
  width: clamp(78px, 10vw, 124px);
  height: clamp(78px, 10vw, 124px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  object-fit: contain;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 247, 255, 0.88));
  box-shadow:
    0 22px 58px rgba(0, 157, 224, 0.26),
    inset 0 0 0 8px rgba(255, 255, 255, 0.52);
}

.hero-brand-lockup__title {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--logo-ink) !important;
  font-size: clamp(3.2rem, 8.2vw, 7.4rem);
  font-weight: 900;
  line-height: 0.88;
  text-transform: none;
}

.hero-brand-lockup__title span {
  display: block;
  width: fit-content;
  background:
    linear-gradient(90deg, #ffffff 0 8%, var(--logo-blue-soft) 14%, #ffffff 20%, var(--logo-ink) 34% 100%);
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 20px 38px rgba(17, 26, 46, 0.18));
  animation: titleGlint 7s ease-in-out infinite;
}

.hero-brand-lockup__title span:first-child {
  color: var(--logo-ink);
  letter-spacing: 0;
}

.hero-brand-lockup__halo,
.hero-brand-lockup__beam {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero-brand-lockup__halo {
  inset-inline-start: -24px;
  width: min(54vw, 520px);
  height: min(54vw, 520px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(116, 216, 255, 0.46) 0 18%, rgba(0, 157, 224, 0.16) 32%, transparent 68%);
  filter: blur(2px);
  animation: titleBreathe 5.8s ease-in-out infinite;
}

.hero-brand-lockup__beam {
  inset-inline-start: 6%;
  bottom: -20px;
  width: 86%;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 157, 224, 0.78), rgba(255, 255, 255, 0.9), transparent);
  box-shadow: 0 0 34px rgba(0, 157, 224, 0.46);
  transform: rotate(-2deg);
}

.hero-brand-lockup + .hero__lead {
  max-width: 720px;
  margin-top: 24px;
}

/* App-wide surface contrast guardrails. */
.workspace :is(.bg-white, .bg-slate-50, .bg-slate-100, .bg-slate-200),
.action-page :is(.bg-white, .bg-slate-50, .bg-slate-100, .bg-slate-200),
.courier-header :is(.bg-white, .bg-slate-50, .bg-slate-100, .bg-slate-200),
.client-shell :is(.bg-white, .bg-slate-50, .bg-slate-100, .bg-slate-200) {
  color: var(--logo-ink) !important;
}

.workspace :is(.bg-white, .bg-slate-50, .bg-slate-100, .bg-slate-200) :is(h1, h2, h3, h4, p, span, label, strong, small, li),
.action-page :is(.bg-white, .bg-slate-50, .bg-slate-100, .bg-slate-200) :is(h1, h2, h3, h4, p, span, label, strong, small, li),
.courier-header :is(.bg-white, .bg-slate-50, .bg-slate-100, .bg-slate-200) :is(h1, h2, h3, h4, p, span, label, strong, small, li) {
  color: inherit !important;
}

.workspace :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900),
.action-page :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900),
.fixed :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) {
  border-color: rgba(116, 216, 255, 0.18) !important;
  background:
    linear-gradient(145deg, rgba(0, 157, 224, 0.14), rgba(17, 26, 46, 0.96)),
    #111a2e !important;
  color: #ffffff !important;
}

.workspace :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(h1, h2, h3, h4, strong, label, span, p, li),
.action-page :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(h1, h2, h3, h4, strong, label, span, p, li),
.fixed :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(h1, h2, h3, h4, strong, label, span, p, li) {
  color: inherit !important;
}

.workspace :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(.text-slate-300, .text-slate-400),
.action-page :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(.text-slate-300, .text-slate-400),
.fixed :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(.text-slate-300, .text-slate-400) {
  color: rgba(255, 255, 255, 0.76) !important;
}

.workspace :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(input, select, textarea),
.action-page :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(input, select, textarea),
.fixed :is(.bg-slate-500, .bg-slate-600, .bg-slate-700, .bg-slate-800, .bg-slate-900) :is(input, select, textarea) {
  border-color: rgba(116, 216, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  color: var(--logo-ink) !important;
}

.workspace :is(.panel, .form-section, .action-card, .form-card, .stat-card) :is(a, .text-blue-300, .text-blue-400),
.fixed :is(.bg-slate-700, .bg-slate-800, .bg-slate-900) :is(a, .text-blue-300, .text-blue-400) {
  color: #74d8ff !important;
}

.workspace :is(.panel, .form-section, .action-card, .form-card, .stat-card) :is(.button, button, .bg-blue-500, .bg-emerald-500, .bg-cyan-600, .bg-yellow-500),
.fixed :is(.button, button, .bg-blue-500, .bg-emerald-500, .bg-cyan-600, .bg-yellow-500) {
  color: #ffffff !important;
}

.workspace :is(.panel, .form-section, .action-card, .form-card, .stat-card) .button--ghost,
.fixed .button--ghost {
  color: var(--logo-ink) !important;
}

/* Readability QA pass for admin, courier and customer workspaces. */
.workspace-hero .eyebrow {
  background: rgba(245, 252, 255, 0.96) !important;
  border-color: rgba(0, 157, 224, 0.22) !important;
  color: var(--logo-ink) !important;
  text-shadow: none !important;
}

.tabs .tab-inactive,
.filter-row .filter-btn,
.courier-tab-inactive,
.orders-filter button:not(.is-active) {
  background: rgba(245, 250, 252, 0.96) !important;
  border-color: rgba(0, 157, 224, 0.14) !important;
  color: var(--logo-ink) !important;
  text-shadow: none !important;
}

.tabs .tab-active,
.filter-row .filter-btn-active,
.courier-tab-active,
.orders-filter button.is-active {
  background: var(--brand) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

.panel .filter-row button,
.panel .tabs button,
.workspace .tabs button,
.workspace .filter-row button {
  font-weight: 900;
}

.panel .filter-row button.filter-btn,
.workspace .tabs button.tab-inactive {
  color: var(--logo-ink) !important;
}

.panel .filter-row button.filter-btn-active,
.workspace .tabs button.tab-active {
  color: #ffffff !important;
}

.workspace :is(.panel, .form-section, .action-card, .form-card, .stat-card) :is(button.filter-btn, button.tab-inactive, button.courier-tab-inactive),
.fixed :is(button.filter-btn, button.tab-inactive, button.courier-tab-inactive) {
  color: var(--logo-ink) !important;
}

.workspace :is(.panel, .form-section, .action-card, .form-card, .stat-card) :is(button.filter-btn-active, button.tab-active, button.courier-tab-active),
.fixed :is(button.filter-btn-active, button.tab-active, button.courier-tab-active) {
  color: #ffffff !important;
}

.hero-brand-lockup__title span {
  background: none !important;
  color: var(--logo-ink) !important;
  filter: drop-shadow(0 16px 26px rgba(17, 26, 46, 0.16));
  animation: none !important;
}

.hero-brand-lockup__title span + span {
  color: #26384e !important;
}

.hero-brand-lockup__halo {
  animation: none !important;
  opacity: 0.68;
}

.hero-brand-lockup__beam {
  opacity: 0.55;
}

.button,
.tab-active,
.tab-inactive,
.filter-btn,
.filter-btn-active,
.courier-tab-active,
.courier-tab-inactive,
.orders-filter button,
.order-row,
.role-card,
.category-tile {
  transition-duration: 120ms !important;
}

/* Modal light-card guard: fixes Tailwind slash classes such as bg-slate-700/50. */
.workspace .bg-slate-700\/50,
.fixed .bg-slate-700\/50,
.action-page .bg-slate-700\/50,
.courier-tab-content .bg-slate-700\/50,
.admin-light-section {
  border: 1px solid rgba(0, 157, 224, 0.14) !important;
  background:
    linear-gradient(145deg, rgba(0, 157, 224, 0.06), rgba(255, 255, 255, 0.98)),
    #ffffff !important;
  color: var(--logo-ink) !important;
}

.workspace .bg-slate-700\/50 :is(h1, h2, h3, h4, p, span, label, strong, small, li),
.fixed .bg-slate-700\/50 :is(h1, h2, h3, h4, p, span, label, strong, small, li),
.action-page .bg-slate-700\/50 :is(h1, h2, h3, h4, p, span, label, strong, small, li),
.courier-tab-content .bg-slate-700\/50 :is(h1, h2, h3, h4, p, span, label, strong, small, li),
.admin-light-section :is(h1, h2, h3, h4, p, span, label, strong, small, li) {
  color: var(--logo-ink) !important;
  text-shadow: none !important;
}

.workspace .bg-slate-700\/50 :is(.text-slate-300, .text-slate-400),
.fixed .bg-slate-700\/50 :is(.text-slate-300, .text-slate-400),
.action-page .bg-slate-700\/50 :is(.text-slate-300, .text-slate-400),
.courier-tab-content .bg-slate-700\/50 :is(.text-slate-300, .text-slate-400),
.admin-light-section :is(.text-slate-300, .text-slate-400) {
  color: #63747d !important;
}

.workspace .bg-slate-700\/50 :is(.text-emerald-400, .text-blue-400, .text-purple-400, .text-yellow-400, .text-amber-400),
.fixed .bg-slate-700\/50 :is(.text-emerald-400, .text-blue-400, .text-purple-400, .text-yellow-400, .text-amber-400),
.action-page .bg-slate-700\/50 :is(.text-emerald-400, .text-blue-400, .text-purple-400, .text-yellow-400, .text-amber-400),
.admin-light-section :is(.text-emerald-400, .text-blue-400, .text-purple-400, .text-yellow-400, .text-amber-400) {
  color: var(--brand) !important;
}

.workspace .bg-slate-700\/50 :is(input, select, textarea),
.fixed .bg-slate-700\/50 :is(input, select, textarea),
.action-page .bg-slate-700\/50 :is(input, select, textarea),
.courier-tab-content .bg-slate-700\/50 :is(input, select, textarea),
.admin-light-section :is(input, select, textarea) {
  border-color: rgba(0, 157, 224, 0.24) !important;
  background: #ffffff !important;
  color: var(--logo-ink) !important;
}

.workspace .bg-slate-700\/50 :is(input, select, textarea)::placeholder,
.fixed .bg-slate-700\/50 :is(input, select, textarea)::placeholder,
.action-page .bg-slate-700\/50 :is(input, select, textarea)::placeholder,
.admin-light-section :is(input, select, textarea)::placeholder {
  color: #7b8b98 !important;
}

.live-map-panel {
  overflow: hidden;
  border: 1px solid rgba(0, 157, 224, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(17, 26, 46, 0.98), rgba(0, 86, 124, 0.92)),
    #111a2e;
  box-shadow: 0 18px 46px rgba(17, 26, 46, 0.16);
  color: #ffffff;
}

.live-map-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.live-map-panel__head h3 {
  margin: 4px 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
}

.live-map-panel__head p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.live-map-panel__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.live-map-panel__stats span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 900;
}

.live-map-stage {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgba(116, 216, 255, 0.3), transparent 18rem),
    linear-gradient(120deg, transparent 16%, rgba(116, 216, 255, 0.2) 17%, transparent 19%),
    linear-gradient(48deg, transparent 58%, rgba(31, 199, 9, 0.18) 59%, transparent 61%),
    linear-gradient(180deg, rgba(232, 249, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.live-map-google {
  position: absolute;
  inset: 0;
  min-height: 320px;
  background: #e8f7fb;
}

.live-map-loading {
  position: absolute;
  inset-inline-start: 18px;
  bottom: 18px;
  z-index: 2;
  border: 1px solid rgba(0, 157, 224, 0.14);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--logo-ink);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(17, 26, 46, 0.14);
}

.live-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 50% 48%, #000 0 58%, transparent 92%);
}

.live-map-pin {
  position: absolute;
  inset-inline-start: var(--pin-x);
  top: var(--pin-y);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

[dir="rtl"] .live-map-pin {
  transform: translate(50%, -50%);
}

.live-map-pin__pulse {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0, 157, 224, 0.28);
  animation: liveMapPulse 1.8s ease-out infinite;
}

.live-map-pin__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  background: linear-gradient(135deg, #009de0, #2fcce4);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.live-map-pin__label {
  position: relative;
  z-index: 1;
  min-width: 132px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(245, 252, 255, 0.94);
  box-shadow: 0 16px 34px rgba(17, 26, 46, 0.18);
  color: var(--logo-ink);
}

.live-map-pin__label strong,
.live-map-pin__label small {
  display: block;
  color: var(--logo-ink);
}

.live-map-pin__label small {
  color: #63747d;
  font-weight: 800;
}

.live-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
}

.live-map-empty strong {
  color: #ffffff;
  font-size: 1.3rem;
}

.live-map-empty span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

@keyframes liveMapPulse {
  0% {
    transform: scale(0.7);
    opacity: 0.72;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-map-pin__pulse {
    animation: none;
  }
}

@keyframes titleGlint {
  0%, 42%, 100% {
    background-position: 100% 50%;
  }

  58% {
    background-position: 0% 50%;
  }
}

@keyframes titleBreathe {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.74;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-lockup__title span,
  .hero-brand-lockup__halo {
    animation: none;
  }
}

@media (max-width: 620px) {
  .hero-brand-lockup {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-brand-lockup__logo {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 880px), (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  body,
  .workspace,
  .action-page,
  .client-page {
    touch-action: auto !important;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body::before,
  body::after,
  .workspace::before,
  .workspace::after,
  .action-page::before,
  .action-page::after {
    position: absolute !important;
    animation: none !important;
    transform: none !important;
  }

  .topbar,
  .client-header,
  .app-header,
  .courier-header,
  .admin-header,
  .nav-shell {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .live-map-pin__pulse,
  .hero-brand-lockup__title span,
  .hero-brand-lockup__halo {
    animation: none !important;
  }
}
