:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #05070b;
  color: #f8fbff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input,
select {
  font: inherit;
}

.marketplace-shell {
  background:
    radial-gradient(circle at 12% 4%, rgba(0, 229, 255, 0.18), transparent 28%),
    radial-gradient(circle at 84% 6%, rgba(52, 211, 153, 0.14), transparent 30%),
    linear-gradient(180deg, #080b10 0%, #05070b 44%, #090d14 100%);
  min-height: 100vh;
  overflow: hidden;
  padding: 20px clamp(16px, 3vw, 42px) 42px;
  position: relative;
}

.marketplace-shell::before {
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
}

.public-nav {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(10, 15, 24, 0.74);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  margin: 0 auto 18px;
  max-width: 1780px;
  padding: 12px 14px;
  position: relative;
  z-index: 1;
}

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

.brand-mark {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.95), rgba(0, 229, 255, 0.9));
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.36);
  color: #031016;
  display: grid;
  font-weight: 950;
  height: 42px;
  place-items: center;
  width: 42px;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  color: #8ea4ba;
  font-size: 12px;
  margin-top: 1px;
}

.public-nav nav {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.public-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: #9fb2c8;
  font-size: 13px;
  font-weight: 850;
  padding: 10px 12px;
}

.public-nav a.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.32);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.16);
  color: #eaffff;
}

.nav-actions,
.drawer-actions,
.toolbar-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nav-actions {
  justify-self: end;
}

.backend-status {
  color: #8ea4ba;
  font-size: 12px;
  font-weight: 800;
  max-width: min(32vw, 380px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-status {
  color: #e5eef8;
  font-size: 12px;
  font-weight: 900;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.carrier-auth-shell {
  display: grid;
  margin: 0 auto;
  max-width: 1780px;
  min-height: calc(100vh - 130px);
  place-items: center;
  position: relative;
  z-index: 1;
}

.carrier-auth-panel {
  backdrop-filter: blur(26px);
  background:
    radial-gradient(circle at 14% 12%, rgba(0, 229, 255, 0.14), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(52, 211, 153, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(13, 20, 32, 0.96), rgba(5, 9, 15, 0.96)),
    #070b12;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 32px 90px rgba(0, 0, 0, 0.38),
    0 0 46px rgba(0, 229, 255, 0.08);
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  grid-template-columns: minmax(380px, 1fr) minmax(360px, 0.72fr);
  overflow: hidden;
  padding: clamp(26px, 4vw, 52px);
  position: relative;
  width: min(1320px, 100%);
}

.carrier-auth-panel.carrier-wizard-fullscreen {
  align-self: stretch;
  grid-template-columns: minmax(460px, 1fr) minmax(460px, 0.78fr);
  min-height: calc(100vh - 132px);
  width: 100%;
}

.carrier-auth-panel::after {
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.84), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.auth-briefing {
  align-self: stretch;
  display: grid;
  gap: 22px;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
}

.auth-copy h1 {
  font-size: clamp(52px, 7vw, 106px);
  line-height: 0.9;
  max-width: 660px;
}

.auth-copy span {
  color: #9fb2c8;
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  margin-top: 18px;
}

.auth-route-preview {
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 48px rgba(0, 229, 255, 0.08);
  display: grid;
  gap: 18px;
  min-height: 290px;
  padding: 18px;
  position: relative;
}

.auth-route-head,
.auth-vault-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.auth-route-head span,
.auth-vault-topline span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 950;
}

.carrier-wizard-fullscreen .auth-route-head span::after {
  color: #34d399;
  content: " / FMCSA SAFER";
}

.auth-route-head strong,
.auth-vault-topline strong {
  color: #f8fbff;
  font-size: 12px;
}

.auth-lane-map {
  align-items: center;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
}

.auth-node {
  background: rgba(0, 229, 255, 0.09);
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.12);
  display: grid;
  gap: 6px;
  min-width: 112px;
  padding: 18px;
  text-align: center;
}

.auth-node small {
  color: #8ea4ba;
  font-size: 11px;
  font-weight: 900;
}

.auth-node strong {
  color: #ffffff;
  font-size: 38px;
  letter-spacing: 0;
  line-height: 1;
}

.auth-route-line {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
  position: relative;
}

.auth-route-line span {
  background: linear-gradient(90deg, #00e5ff, #34d399);
  border-radius: inherit;
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.55);
  display: block;
  height: 100%;
  width: 72%;
}

.auth-metrics-row,
.auth-proof-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-metrics-row div,
.auth-proof-grid div {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
}

.auth-metrics-row span,
.auth-proof-grid span {
  color: #8ea4ba;
  font-size: 11px;
  font-weight: 900;
}

.auth-metrics-row strong,
.auth-proof-grid strong {
  color: #f8fbff;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-vault {
  align-self: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 58px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 16px;
  padding: 18px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-segmented {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
}

.auth-segmented button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #8ea4ba;
  cursor: pointer;
  font-weight: 950;
  height: 38px;
}

.auth-segmented button.active {
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.96), rgba(52, 211, 153, 0.92));
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.22);
  color: #031016;
}

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

.wizard-steps div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
}

.wizard-steps div.active {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}

.carrier-wizard-fullscreen .wizard-steps div:nth-child(2).active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(52, 211, 153, 0.1));
  border-color: rgba(52, 211, 153, 0.48);
}

.wizard-steps span,
.wizard-review span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 950;
}

.wizard-steps strong,
.wizard-review strong {
  color: #f8fbff;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.auth-form label span {
  color: #8ea4ba;
  font-size: 12px;
  font-weight: 900;
}

.auth-form input {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  color: #f8fbff;
  min-height: 46px;
  outline: none;
  padding: 0 13px;
}

.auth-form input:focus {
  border-color: rgba(0, 229, 255, 0.54);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.11);
}

.auth-field-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 0.82fr 1.18fr;
}

.wizard-review {
  display: grid;
  gap: 10px;
}

.wizard-review div {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
}

.safer-attestation {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.safer-attestation span {
  color: #34d399;
  font-size: 11px;
  font-weight: 950;
}

.safer-attestation strong {
  color: #f8fbff;
  font-size: 13px;
  line-height: 1.45;
}

.wizard-back {
  width: 100%;
}

.auth-form .primary-action {
  height: 46px;
  margin-top: 4px;
}

.primary-action,
.ghost-button,
.row-action,
.drawer-toggle {
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  height: 40px;
  padding: 0 15px;
}

.primary-action {
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.95), rgba(52, 211, 153, 0.95));
  border: 0;
  box-shadow:
    0 0 22px rgba(0, 229, 255, 0.34),
    0 16px 34px rgba(0, 0, 0, 0.34);
  color: #031016;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e5eef8;
}

.hero-board,
.concept-stage {
  backdrop-filter: blur(26px);
  background:
    linear-gradient(135deg, rgba(13, 20, 32, 0.92), rgba(8, 12, 19, 0.84)),
    #09101a;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 32px 90px rgba(0, 0, 0, 0.38);
  color: #ffffff;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  margin: 0 auto 14px;
  max-width: 1780px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  z-index: 1;
}

.concept-stage {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  min-height: 560px;
}

.hero-board::before,
.concept-stage::before {
  background:
    radial-gradient(circle, rgba(0, 229, 255, 0.24), transparent 58%);
  content: "";
  height: 420px;
  position: absolute;
  right: -130px;
  top: -190px;
  width: 420px;
}

.hero-board::after,
.concept-stage::after {
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.84), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.stage-copy {
  align-self: center;
  position: relative;
  z-index: 1;
}

.stage-copy h1 {
  max-width: 860px;
}

.stage-copy p:not(.eyebrow) {
  color: #b9c8d8;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: 700px;
}

.concept-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.holo-stage {
  align-self: stretch;
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 60px rgba(0, 229, 255, 0.1);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 480px;
  overflow: hidden;
  padding: 18px;
  position: relative;
  z-index: 1;
}

.holo-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.holo-topline span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 950;
}

.holo-topline strong {
  font-size: 24px;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.28);
}

.holo-map {
  background:
    linear-gradient(rgba(125, 211, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  margin: 18px 0;
  min-height: 250px;
  overflow: hidden;
  position: relative;
}

.node {
  align-items: center;
  background: rgba(0, 229, 255, 0.14);
  border: 1px solid rgba(0, 229, 255, 0.44);
  border-radius: 8px;
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.28);
  display: grid;
  height: 78px;
  place-items: center;
  position: absolute;
  width: 112px;
}

.node span {
  color: #eaffff;
  font-size: 11px;
  font-weight: 950;
}

.node.origin {
  left: 12%;
  top: 22%;
}

.node.destination {
  bottom: 18%;
  right: 10%;
}

.beam {
  background: linear-gradient(90deg, transparent, #00e5ff, #34d399, transparent);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.5);
  height: 3px;
  left: 26%;
  position: absolute;
  top: 49%;
  transform: rotate(18deg);
  width: 52%;
}

.beam.two {
  opacity: 0.35;
  top: 55%;
  transform: rotate(18deg) translateY(18px);
}

.scanline {
  animation: scanline 3.8s linear infinite;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.24), transparent);
  height: 80px;
  left: 0;
  position: absolute;
  right: 0;
  top: -80px;
}

@keyframes scanline {
  to {
    transform: translateY(360px);
  }
}

.eyebrow {
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 9px;
  text-transform: uppercase;
}

h1 {
  color: #ffffff;
  font-size: clamp(46px, 6.4vw, 92px);
  letter-spacing: 0;
  line-height: 0.91;
  margin: 0;
  max-width: 1040px;
  text-shadow: 0 0 36px rgba(0, 229, 255, 0.16);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy p:last-of-type {
  color: #b9c8d8;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: 760px;
}

.live-rail {
  align-items: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin-top: 24px;
  max-width: 560px;
  padding: 12px 14px;
}

.live-rail > span {
  background: #34d399;
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.12), 0 0 24px rgba(52, 211, 153, 0.75);
  flex: 0 0 9px;
  height: 9px;
  width: 9px;
}

.live-rail strong,
.live-rail small {
  display: block;
}

.live-rail small {
  color: #8ea4ba;
  font-size: 12px;
}

.market-proof {
  align-self: end;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 1px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.market-proof div {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  display: grid;
  gap: 4px;
  padding: 18px;
}

.market-proof span {
  color: #91a8bd;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.market-proof strong {
  color: #f8feff;
  font-size: 36px;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.24);
}

.exchange-ticker {
  background: #070b12;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  color: #b7c8d8;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 14px;
  max-width: 1780px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.exchange-ticker div {
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 800;
  min-height: 44px;
  padding: 14px;
}

.exchange-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 400px;
  margin: 0 auto;
  max-width: 1780px;
  position: relative;
  transition: grid-template-columns 180ms ease;
  z-index: 1;
}

.exchange-grid.drawer-collapsed {
  grid-template-columns: minmax(0, 1fr) 74px;
}

.board-panel {
  backdrop-filter: blur(22px);
  background:
    linear-gradient(180deg, rgba(13, 20, 32, 0.92), rgba(8, 12, 19, 0.92));
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 26px 80px rgba(0, 0, 0, 0.32);
  min-width: 0;
  overflow: hidden;
}

.board-header {
  align-items: end;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 24px;
}

.board-header h2 {
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.saved-views {
  align-items: center;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 1px;
}

.view-chip {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: #aabbd0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  height: 34px;
  padding: 0 13px;
  white-space: nowrap;
}

.view-chip.active,
.view-chip:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.44);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.16);
  color: #eaffff;
}

.kpi-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 24px 6px;
}

.kpi-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-left: 4px solid #00e5ff;
  border-radius: 8px;
  min-height: 108px;
  padding: 16px;
}

.kpi-card span,
.kpi-card small {
  display: block;
}

.kpi-card span {
  color: #8ea4ba;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.kpi-card strong {
  color: #ffffff;
  display: block;
  font-size: 32px;
  letter-spacing: 0;
}

.kpi-card small {
  color: #71869b;
  font-size: 12px;
  margin-top: 8px;
}

.kpi-card.green {
  border-left-color: #34d399;
}

.kpi-card.amber {
  border-left-color: #fbbf24;
}

.kpi-card.blue {
  border-left-color: #60a5fa;
}

.filter-bar {
  align-items: end;
  border-bottom: 1px solid rgba(125, 211, 252, 0.16);
  display: flex;
  gap: 10px;
  padding: 18px 24px;
}

.filter-bar label {
  display: grid;
  gap: 6px;
  min-width: 168px;
}

.filter-bar .search-field {
  flex: 1;
  min-width: 280px;
}

.filter-bar span {
  color: #8ea4ba;
  font-size: 12px;
  font-weight: 950;
}

input,
select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  color: #f8fbff;
  height: 44px;
  outline: none;
  padding: 0 13px;
  width: 100%;
}

select option {
  background: #0a0f18;
}

input::placeholder {
  color: #68798b;
}

input:focus,
select:focus {
  border-color: rgba(0, 229, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.13);
}

.constellation-board {
  background:
    radial-gradient(circle at 50% 12%, rgba(0, 229, 255, 0.12), transparent 34%),
    radial-gradient(circle at 16% 86%, rgba(52, 211, 153, 0.08), transparent 30%);
  display: grid;
  gap: 14px;
  min-height: 860px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.constellation-head {
  align-items: end;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  position: relative;
  z-index: 4;
}

.constellation-head h3 {
  color: #ffffff;
  font-size: clamp(28px, 3.6vw, 46px);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.board-tape {
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 8px;
  padding: 14px;
}

.board-tape span,
.board-tape strong {
  display: block;
}

.board-tape span {
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.board-tape strong {
  color: #dcecff;
  font-size: 18px;
  line-height: 1.45;
  margin-top: 5px;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.22);
}

.constellation-stage {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  overflow: auto;
  padding: 8px 2px 18px;
  position: relative;
  scrollbar-color: #00e5ff #0b111b;
  scrollbar-width: thin;
}

.stage-rings {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.stage-rings span {
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.stage-rings span:nth-child(1) {
  height: 360px;
  width: 360px;
}

.stage-rings span:nth-child(2) {
  height: 620px;
  width: 620px;
}

.stage-rings span:nth-child(3) {
  height: 920px;
  width: 920px;
}

.load-deal-card {
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 229, 255, 0.16), transparent 34%),
    linear-gradient(var(--orbit), rgba(0, 229, 255, 0.13), rgba(255, 255, 255, 0.025) 42%, rgba(52, 211, 153, 0.09)),
    rgba(5, 10, 18, 0.9);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 66px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  min-height: 470px;
  overflow: hidden;
  padding: 16px;
  position: relative;
}

.load-deal-card::before {
  background: linear-gradient(180deg, #00e5ff, #34d399);
  content: "";
  inset: 0 auto 0 0;
  opacity: 0.3;
  position: absolute;
  width: 4px;
}

.load-deal-card::after {
  background:
    conic-gradient(from var(--orbit), transparent, rgba(0, 229, 255, 0.32), transparent 34%);
  content: "";
  height: 280px;
  opacity: 0.62;
  position: absolute;
  right: -120px;
  top: -140px;
  width: 280px;
}

.load-deal-card.heat-negative::before {
  background: linear-gradient(180deg, #fb7185, #00e5ff);
}

.load-deal-card.heat-negative::after {
  background: conic-gradient(from var(--orbit), transparent, rgba(251, 113, 133, 0.26), transparent 34%);
}

.load-deal-card.heat-positive::before {
  background: linear-gradient(180deg, #00e5ff, #34d399, #86efac);
}

.load-deal-card:hover {
  border-color: rgba(0, 229, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 56px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(0, 229, 255, 0.1);
  transform: translateY(-1px);
}

.load-deal-card.selected-row {
  background:
    radial-gradient(circle at 12% 10%, rgba(0, 229, 255, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(52, 211, 153, 0.06)),
    rgba(5, 10, 18, 0.94);
  border-color: rgba(0, 229, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 229, 255, 0.08),
    0 0 60px rgba(0, 229, 255, 0.22);
}

.card-hud-line {
  align-items: center;
  background: rgba(0, 229, 255, 0.055);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 12px;
  position: relative;
  z-index: 2;
}

.card-hud-line span {
  color: #86eaff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.card-hud-line strong {
  color: #f8fbff;
  font-size: 12px;
}

.load-deal-card.bid-flash {
  animation: bid-flash 1.6s ease-in-out infinite;
}

@keyframes bid-flash {
  0%,
  100% {
    box-shadow: inset 0 0 0 rgba(52, 211, 153, 0);
  }

  50% {
    box-shadow: inset 0 0 34px rgba(52, 211, 153, 0.13);
  }
}

.load-ref,
.lane,
.market-stack,
.schedule,
.equipment,
.rate,
.risk-stack {
  display: grid;
  gap: 4px;
}

.asset-cell,
.lane-cell,
.pressure-cell,
.economics-cell,
.action-cell {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.asset-cell {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.asset-id {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 229, 255, 0.18), transparent 44%),
    rgba(0, 229, 255, 0.075);
  border: 1px solid rgba(0, 229, 255, 0.26);
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.1);
  min-width: 124px;
  padding: 10px;
}

.asset-id span,
.asset-meta span,
.lane-stats span,
.pressure-cell small,
.economics-cell span,
.action-cell span {
  color: #8ea4ba;
  font-size: 11px;
  font-weight: 850;
}

.asset-id strong {
  color: #7dd3fc;
  display: block;
  font-size: 20px;
  margin-top: 3px;
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.2);
}

.asset-meta {
  display: grid;
  gap: 3px;
}

.asset-meta strong,
.lane-cities strong,
.pressure-topline strong,
.economics-cell strong {
  color: #f8fbff;
}

.lane-cell {
  align-content: center;
  display: grid;
  gap: 18px;
  min-height: 120px;
}

.lane-cities {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.lane-cities span {
  background:
    linear-gradient(90deg, #00e5ff, #60a5fa, #34d399);
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.48);
  height: 3px;
  position: relative;
}

.lane-cities span::after {
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.78);
  content: "";
  height: 9px;
  left: var(--pressure);
  position: absolute;
  top: -3px;
  width: 9px;
}

.lane-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lane-stats span {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  padding: 5px 8px;
}

.pressure-cell {
  align-content: center;
  display: grid;
  gap: 9px;
}

.pressure-orb {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 56%);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 50%;
  display: grid;
  justify-self: center;
  margin: 2px 0 6px;
  place-items: center;
  position: relative;
  width: min(164px, 52%);
}

.pressure-orb span {
  background:
    conic-gradient(#00e5ff var(--pressure), rgba(255, 255, 255, 0.08) 0);
  border-radius: 50%;
  inset: 10px;
  position: absolute;
}

.pressure-orb span::after {
  background: #070b12;
  border-radius: 50%;
  content: "";
  inset: 10px;
  position: absolute;
}

.pressure-orb strong {
  color: #ffffff;
  font-size: 32px;
  position: relative;
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.38);
  z-index: 1;
}

.pressure-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.pressure-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.pressure-track span {
  background: linear-gradient(90deg, #60a5fa, #00e5ff, #34d399);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
  display: block;
  height: 100%;
}

.economics-cell {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.economics-cell > div:not(.chip-stack) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.028));
  border: 1px solid rgba(125, 211, 252, 0.12);
  border-radius: 11px;
  padding: 10px;
}

.economics-cell strong {
  display: block;
  font-size: 18px;
  margin-top: 4px;
}

.chip-stack {
  display: grid;
  gap: 7px;
  grid-column: 1 / -1;
  justify-items: start;
}

.action-cell {
  align-content: center;
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.cockpit-strip {
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.08), rgba(255, 255, 255, 0.035), rgba(52, 211, 153, 0.06));
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px;
  position: relative;
  z-index: 1;
}

.cockpit-strip div {
  display: grid;
  gap: 3px;
}

.cockpit-strip span {
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.cockpit-strip strong {
  color: #f8fbff;
  font-size: 12px;
  line-height: 1.2;
}

.market-delta.positive {
  color: #34d399;
}

.market-delta.negative {
  color: #fb7185;
}

.status-pill,
.risk-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  justify-content: center;
  min-width: 74px;
  padding: 5px 9px;
  text-transform: uppercase;
}

.status-pill.available {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
  color: #86efac;
}

.status-pill.bid {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.32);
  color: #fde68a;
}

.risk-pill.low {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.26);
  color: #86efac;
}

.risk-pill.medium {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.26);
  color: #fde68a;
}

.risk-pill.high {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.34);
  color: #fda4af;
}

.row-action {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.36);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.12);
  color: #eaffff;
  height: 36px;
  white-space: nowrap;
}

.detail-drawer {
  align-self: start;
  background:
    radial-gradient(circle at 25% 0%, rgba(0, 229, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(14, 21, 32, 0.96), rgba(7, 11, 18, 0.96));
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 86px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(0, 229, 255, 0.09);
  color: #ffffff;
  min-height: 720px;
  overflow: hidden;
  padding: 22px;
  position: sticky;
  top: 20px;
  transition:
    min-height 180ms ease,
    padding 180ms ease;
}

.detail-drawer::before {
  background:
    linear-gradient(180deg, rgba(0, 229, 255, 0.22), transparent 28%, rgba(52, 211, 153, 0.12));
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 3px;
}

.detail-drawer.collapsed {
  min-height: 240px;
  padding: 14px;
}

.drawer-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.drawer-toggle {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.34);
  color: #eaffff;
  display: grid;
  flex: 0 0 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  width: 36px;
}

.detail-drawer h2 {
  color: #ffffff;
  font-size: 34px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.22);
}

.drawer-subtitle {
  color: #91a8bd;
  font-size: 13px;
  margin: 8px 0 18px;
}

.detail-drawer.collapsed .drawer-head {
  align-items: center;
  flex-direction: column-reverse;
}

.detail-drawer.collapsed .eyebrow,
.detail-drawer.collapsed .drawer-subtitle,
.detail-drawer.collapsed .drawer-body {
  display: none;
}

.detail-drawer.collapsed h2 {
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  writing-mode: vertical-rl;
}

.route-card {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 229, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 12px;
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  padding: 16px;
}

.route-card span {
  color: #91a8bd;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.route-card strong {
  font-size: 20px;
}

.route-beam {
  background: linear-gradient(90deg, #00e5ff, #34d399);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.45);
  height: 2px;
  margin: 6px 0;
}

.market-heat {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 14px;
}

.market-heat > span {
  color: #91a8bd;
  display: block;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.market-heat strong {
  display: block;
  font-size: 20px;
  margin: 7px 0 10px;
}

.market-heat div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.market-heat div span {
  background: linear-gradient(90deg, #60a5fa, #00e5ff, #34d399);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.42);
  display: block;
  height: 100%;
}

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

.mini-metric {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  color: #ffffff;
  min-height: 78px;
  padding: 12px;
}

.mini-metric span {
  color: #91a8bd;
  display: block;
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mini-metric strong {
  font-size: 21px;
}

.drawer-section {
  border-top: 1px solid rgba(125, 211, 252, 0.16);
  padding: 18px 0;
}

.drawer-section h3 {
  color: #eaffff;
  font-size: 13px;
  letter-spacing: 0;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.drawer-section p {
  color: #b9c8d8;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.drawer-section dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.drawer-section dl div {
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.drawer-section dt {
  color: #8ea4ba;
  font-size: 12px;
  font-weight: 900;
}

.drawer-section dd {
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  margin: 0;
  text-align: right;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.detail-drawer .ghost-button {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.22);
  color: #e5eef8;
}

.modal-backdrop {
  align-items: center;
  backdrop-filter: blur(18px);
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 229, 255, 0.16), transparent 32%),
    rgba(2, 6, 12, 0.72);
  display: grid;
  inset: 0;
  padding: 24px;
  place-items: center;
  position: fixed;
  z-index: 20;
}

.command-backdrop {
  align-items: center;
  backdrop-filter: blur(22px);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.18), transparent 34%),
    rgba(2, 6, 12, 0.78);
  display: grid;
  inset: 0;
  padding: 24px;
  place-items: center;
  position: fixed;
  z-index: 21;
}

.command-palette {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.38);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 40px 120px rgba(0, 0, 0, 0.62),
    0 0 74px rgba(0, 229, 255, 0.18);
  max-width: 820px;
  padding: 22px;
  width: min(820px, 100%);
}

.command-palette h2 {
  font-size: 48px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.command-palette .modal-head span {
  color: #91a8bd;
}

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

.command-grid-panel button {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  min-height: 112px;
  padding: 16px;
  text-align: left;
}

.command-grid-panel button:hover {
  background: rgba(0, 229, 255, 0.11);
  border-color: rgba(0, 229, 255, 0.48);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.14);
}

.command-grid-panel strong,
.command-grid-panel span {
  display: block;
}

.command-grid-panel strong {
  font-size: 18px;
  margin-bottom: 8px;
}

.command-grid-panel span {
  color: #91a8bd;
  font-size: 13px;
  line-height: 1.4;
}

.bid-modal {
  background:
    radial-gradient(circle at 18% 0%, rgba(52, 211, 153, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 40px 120px rgba(0, 0, 0, 0.58),
    0 0 60px rgba(0, 229, 255, 0.16);
  color: #ffffff;
  max-width: 720px;
  padding: 22px;
  width: min(720px, 100%);
}

.modal-head {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-head h2 {
  font-size: 42px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  text-shadow: 0 0 28px rgba(0, 229, 255, 0.22);
}

.modal-head span {
  color: #91a8bd;
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

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

.bid-commitment {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 16px;
}

.bid-commitment span {
  color: #7dd3fc;
  display: block;
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.bid-commitment strong {
  color: #ffffff;
}

@media (max-width: 1120px) {
  .public-nav,
  .exchange-grid,
  .carrier-auth-panel {
    grid-template-columns: 1fr;
  }

  .carrier-auth-panel.carrier-wizard-fullscreen {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .exchange-grid.drawer-collapsed {
    grid-template-columns: 1fr;
  }

  .detail-drawer {
    min-height: auto;
    position: static;
  }

  .detail-drawer.collapsed {
    min-height: 78px;
  }

  .detail-drawer.collapsed .drawer-head {
    align-items: center;
    flex-direction: row;
  }

  .detail-drawer.collapsed h2 {
    font-size: 18px;
    writing-mode: horizontal-tb;
  }

  .board-header,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .constellation-stage {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .carrier-auth-shell {
    min-height: auto;
    place-items: stretch;
  }
}

@media (max-width: 760px) {
  .marketplace-shell {
    padding: 10px;
  }

  .public-nav,
  .nav-actions,
  .board-header,
  .filter-bar {
    align-items: stretch;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 42px;
  }

  .carrier-auth-panel {
    padding: 22px 16px;
  }

  .auth-copy h1 {
    font-size: 46px;
  }

  .auth-lane-map,
  .auth-metrics-row,
  .auth-proof-grid,
  .auth-field-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid,
  .drawer-metrics,
  .bid-ticket-grid,
  .command-grid-panel,
  .constellation-stage {
    grid-template-columns: 1fr;
  }

  .kpi-grid,
  .filter-bar,
  .board-header {
    padding-left: 14px;
    padding-right: 14px;
  }
}
