:root {
  --bg: #edf4ff;
  --bg-deep: #cad9ff;
  --panel: rgba(17, 21, 61, 0.88);
  --panel-soft: rgba(244, 248, 255, 0.9);
  --card: rgba(249, 252, 255, 0.95);
  --line: rgba(58, 83, 168, 0.16);
  --ink: #151a45;
  --muted: #5b6891;
  --accent: #2f7bff;
  --accent-strong: #1a217f;
  --warning: #2f49ab;
  --gold: #46d7ff;
  --shadow: 0 18px 45px rgba(18, 27, 80, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

html {
  font-size: clamp(13px, 0.35vw + 12px, 16px);
}

.section-panel[data-section-panel="road-report"] .section-heading {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-panel[data-section-panel="road-report"] .section-heading > div {
  min-width: 0;
}

.road-report-header-back {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.road-report-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.road-report-export {
  white-space: nowrap;
  color: #1f5f35;
  background: #dff6d8;
  border: 1px solid rgba(54, 125, 68, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.road-report-export:hover,
.road-report-export:focus-visible {
  background: #d0efc6;
  color: #184b29;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Trebuchet MS", "Segoe UI Variable", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(47, 123, 255, 0.18), transparent 24rem),
    radial-gradient(circle at bottom right, rgba(70, 215, 255, 0.22), transparent 22rem),
    linear-gradient(135deg, var(--bg) 0%, #f8fbff 52%, var(--bg-deep) 100%);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(84vw, 320px);
  z-index: 40;
  padding: 28px 20px;
  background:
    linear-gradient(180deg, rgba(16, 20, 58, 0.97), rgba(23, 29, 84, 0.94)),
    linear-gradient(180deg, rgba(47, 123, 255, 0.42), transparent);
  color: #f8efe2;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translateX(-102%);
  transition: transform 0.24s ease;
  overflow-y: auto;
}

body.sidebar-open .sidebar {
  transform: translateX(0);
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(19, 15, 11, 0.42);
  backdrop-filter: blur(2px);
}

body.sidebar-open .sidebar-backdrop {
  display: block;
}

body.sidebar-open {
  overflow: hidden;
}

body.auth-open {
  overflow: hidden;
}

body.wallet-open {
  overflow: hidden;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fef6ea;
  background:
    linear-gradient(145deg, rgba(74, 220, 255, 0.98), rgba(23, 31, 107, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(91, 104, 145, 0.84);
}

.sidebar .eyebrow {
  color: rgba(214, 225, 255, 0.72);
}

.nav-stack {
  display: grid;
  gap: 8px;
}

.sidebar-session {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(239, 245, 255, 0.08);
  border: 1px solid rgba(224, 233, 255, 0.12);
}

.sidebar-form {
  padding: 0;
}

.compact {
  margin-bottom: 14px;
}

.sidebar-refresh {
  padding: 10px 14px;
  color: #edf5ff;
  background: rgba(240, 246, 255, 0.1);
}

.mobile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 2px;
  --topbar-action-height: 46px;
}

.mobile-topbar .primary-button {
  height: var(--topbar-action-height);
  padding: 0 18px;
}

.back-home-button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(58, 83, 168, 0.14);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(18, 27, 80, 0.12);
}

body.home-active .back-home-button {
  display: none;
}

body.jobs-active .back-home-button {
  display: none;
}

body.profile-active .mobile-topbar,
body.profile-active .back-home-button {
  display: none;
}

body.chat-active .mobile-topbar,
body.chat-active .back-home-button {
  display: none;
}

body.add-load-active .mobile-topbar,
body.add-load-active .back-home-button,
body.add-job-active .mobile-topbar,
body.add-job-active .back-home-button,
body.my-loads-active .mobile-topbar,
body.my-loads-active .back-home-button {
  display: none;
}

.topbar-route-fields {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.topbar-route-fields.single {
  grid-template-columns: 1fr;
}

.scam-topbar-actions {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.scam-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.scam-section-heading {
  margin-bottom: 8px;
  align-items: center;
  justify-content: flex-end;
}

.scam-section-heading-spacer {
  display: none;
}

.scam-topbar-actions.hidden {
  display: none !important;
}

body.scam-modal-open .scam-topbar-actions {
  display: none !important;
}

body.scam-report-open .scam-topbar-actions {
  display: none !important;
}

.scam-topbar-actions > button,
.scam-topbar-actions > select {
  height: var(--topbar-action-height);
  min-height: var(--topbar-action-height);
  padding: 0 12px;
  white-space: nowrap;
}

.scam-topbar-actions > select {
  border-radius: 18px;
  border: 1px solid rgba(58, 83, 168, 0.24);
  background: rgba(249, 252, 255, 0.94);
  font-weight: 700;
  color: var(--ink);
}

.topbar-route-fields select {
  height: var(--topbar-action-height);
  min-height: var(--topbar-action-height);
  border-radius: 18px;
  border: 1px solid rgba(58, 83, 168, 0.24);
  background: rgba(249, 252, 255, 0.94);
  font-weight: 700;
}

#find-equipment {
  height: var(--topbar-action-height);
  min-height: var(--topbar-action-height);
}

.chrome-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.menu-button {
  width: var(--topbar-action-height, 46px);
  height: var(--topbar-action-height, 46px);
  padding: 0;
  display: grid;
  place-items: center;
}

.menu-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.feed-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(250, 252, 255, 0.97), rgba(234, 244, 255, 0.93)),
    linear-gradient(90deg, rgba(47, 123, 255, 0.08), rgba(70, 215, 255, 0.12));
  box-shadow: var(--shadow);
}

.nav-link {
  border: 0;
  border-radius: 14px;
  padding: 14px 15px;
  text-align: left;
  color: #f3eadc;
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(240, 246, 255, 0.12);
  transform: translateX(4px);
}

.sidebar-note {
  margin-top: auto;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(240, 246, 255, 0.08);
  border: 1px solid rgba(240, 246, 255, 0.12);
}

.sidebar-note span {
  display: block;
  margin-top: 8px;
  color: rgba(214, 225, 255, 0.72);
  line-height: 1.5;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(17, 13, 10, 0.48);
  backdrop-filter: blur(4px);
}

.auth-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  width: min(88vw, 396px);
  padding: 18px;
  border-radius: 24px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(245, 237, 225, 0.96));
  border: 1px solid rgba(58, 83, 168, 0.12);
  box-shadow: 0 22px 60px rgba(20, 13, 8, 0.28);
}

.wallet-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(17, 13, 10, 0.48);
  backdrop-filter: blur(4px);
}

.wallet-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  width: min(92vw, 520px);
  max-height: min(86vh, 760px);
  padding: 22px;
  border-radius: 24px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(245, 237, 225, 0.96));
  border: 1px solid rgba(58, 83, 168, 0.12);
  box-shadow: 0 22px 60px rgba(20, 13, 8, 0.28);
  overflow: auto;
}

.booking-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(17, 13, 10, 0.48);
  backdrop-filter: blur(4px);
}

.booking-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  width: min(92vw, 520px);
  padding: 22px;
  border-radius: 24px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(245, 237, 225, 0.96));
  border: 1px solid rgba(58, 83, 168, 0.12);
  box-shadow: 0 22px 60px rgba(20, 13, 8, 0.28);
}

.summary-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(17, 13, 10, 0.48);
  backdrop-filter: blur(4px);
}

.summary-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  width: min(92vw, 560px);
  padding: 22px;
  border-radius: 24px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(245, 237, 225, 0.96));
  border: 1px solid rgba(58, 83, 168, 0.12);
  box-shadow: 0 22px 60px rgba(20, 13, 8, 0.28);
}

.booking-modal-form {
  display: grid;
  gap: 10px;
}

.booking-modal-form label {
  gap: 6px;
}

.summary-optin {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 2ch;
  font-size: 0.9rem;
  color: var(--text);
}

.summary-optin input {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.summary-optin span {
  line-height: 1.35;
}

.booking-summary-panel {
  display: grid;
  gap: 14px;
}

.summary-title {
  margin: 0;
  font-size: 1.2rem;
}

.booking-summary-panel .booking-summary {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(244, 248, 255, 0.9);
  border: 1px solid rgba(58, 83, 168, 0.12);
}

.road-report-shell {
  display: grid;
  gap: 18px;
}

.scam-shell {
  display: grid;
  gap: 16px;
}

.scam-detail-view {
  display: grid;
  gap: 16px;
  padding-inline: 8px;
  padding-bottom: 56px;
  box-sizing: border-box;
}

.scam-detail-view[hidden] {
  display: none !important;
}

.scam-detail-view > * {
  min-width: 0;
}

.road-report-list {
  display: grid;
  gap: 14px;
}

.road-report-list-card {
  background: rgba(232, 244, 255, 0.96);
  border: 1px solid rgba(58, 126, 214, 0.18);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.road-report-list-card-main {
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 28px;
}

.road-report-list-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.road-report-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  flex: 0 0 auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f35f6d;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(243, 95, 109, 0.28);
}

.road-report-list-card.active {
  border-color: rgba(58, 126, 214, 0.42);
  box-shadow: 0 12px 24px rgba(58, 126, 214, 0.14);
}

.road-report-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.road-report-detail {
  display: grid;
  gap: 18px;
}

.road-report-detail[hidden] {
  display: none !important;
}

.road-report-list.hidden {
  display: none;
}

.road-report-list[hidden] {
  display: none !important;
}

.road-report-header-back {
  white-space: nowrap;
}

.road-report-progress {
  position: relative;
  display: grid;
  gap: 10px;
  padding-left: 26px;
}

.road-report-progress::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(120, 92, 64, 0.25);
}

.progress-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(163, 131, 97, 0.5);
  margin-top: 4px;
  box-shadow: 0 0 0 4px rgba(255, 247, 235, 0.8);
}

.progress-step.completed .progress-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(210, 140, 50, 0.18);
}

.progress-step.active .progress-dot {
  background: #0f6b4a;
  box-shadow: 0 0 0 4px rgba(15, 107, 74, 0.12);
}

.progress-label {
  font-size: 0.9rem;
  line-height: 1.25;
}

.road-report-timeline {
  display: grid;
  gap: 16px;
}

.road-stage-card {
  background: rgba(255, 250, 244, 0.95);
  border: 1px solid rgba(58, 83, 168, 0.12);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.road-stage-toggle {
  all: unset;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.road-stage-toggle-icon {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}

.road-stage-body {
  display: grid;
  gap: 12px;
}

.road-stage-preview {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(210, 140, 50, 0.1);
  border: 1px solid rgba(210, 140, 50, 0.18);
}

.road-stage-preview-note {
  margin: 0;
  font-weight: 700;
  color: #7a4b12;
}

.road-stage-proof-grid {
  display: grid;
  gap: 10px;
}

.road-stage-proof-card {
  display: grid;
  gap: 8px;
}

.road-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.road-stage-proof-image {
  width: 100%;
  max-height: 240px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(58, 83, 168, 0.12);
}

.road-stage-proof-name {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  word-break: break-word;
}

.road-stage-download {
  width: fit-content;
  text-decoration: none;
}

.road-stage-card.collapsed .road-stage-body {
  display: none;
}

.road-stage-card.completed {
  border-color: rgba(210, 140, 50, 0.4);
}

.road-stage-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.road-stage-number {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.road-stage-desc {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.road-stage-status {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(120, 92, 64, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.road-stage-card.completed .road-stage-status {
  background: rgba(210, 140, 50, 0.2);
  color: #6d3d00;
}

.road-stage-card.active .road-stage-status {
  background: rgba(15, 107, 74, 0.2);
  color: #0f6b4a;
}

.road-stage-form {
  display: grid;
  gap: 8px;
}

.road-stage-form label {
  display: grid;
  gap: 4px;
}

.road-stage-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.road-stage-check input {
  margin-top: 3px;
}

.road-payment-fields {
  display: grid;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(58, 83, 168, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.road-payment-fields[hidden] {
  display: none !important;
}

.road-stage-form textarea {
  min-height: 90px;
}

.road-stage-lock {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(210, 140, 50, 0.14);
  color: #7a4b12;
  font-size: 0.84rem;
  font-weight: 600;
}

.road-stage-state-card {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(120, 92, 64, 0.08);
  border: 1px solid rgba(120, 92, 64, 0.14);
}

.road-stage-state-title {
  margin: 0;
  font-weight: 700;
  color: #5a3b1a;
}

.road-stage-state-copy {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.road-stage-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.road-entry-list {
  display: grid;
  gap: 10px;
}

.road-entry {
  background: #fff;
  border: 1px solid rgba(58, 83, 168, 0.1);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.road-entry-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.road-entry-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.road-entry-extra {
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
}

.road-entry-extra p {
  margin: 0;
}

.road-entry-images img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(58, 83, 168, 0.12);
  display: block;
}

.road-entry-fallback {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(120, 92, 64, 0.08);
  font-size: 0.75rem;
}

.road-entry-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.road-report-log-card {
  background: rgba(255, 250, 244, 0.95);
  border: 1px solid rgba(58, 83, 168, 0.12);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.road-report-log {
  display: grid;
  gap: 10px;
}

.road-log-entry {
  background: #fff;
  border: 1px solid rgba(58, 83, 168, 0.1);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.booking-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.booking-modal-route {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

body.booking-open {
  overflow: hidden;
}

body.share-open {
  overflow: hidden;
}

.share-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 21, 61, 0.48);
  backdrop-filter: blur(4px);
  z-index: 70;
}

.share-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 28px));
  padding: 22px;
  border-radius: 24px;
  background: rgba(249, 252, 255, 0.98);
  border: 1px solid rgba(58, 83, 168, 0.14);
  box-shadow: 0 24px 60px rgba(18, 27, 80, 0.22);
  z-index: 80;
}

.scam-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.scam-actions > button {
  flex: 1 1 0;
}

.scam-blacklist-heading {
  margin-bottom: 12px;
}

body.scam-active .mobile-topbar {
  grid-template-columns: 1fr;
  display: grid;
  align-items: stretch;
  gap: 0;
}

body.scam-active #menu-toggle,
body.scam-active .back-home-button {
  display: none !important;
}

body.scam-active .section-panel[data-section-panel="scam"] {
  margin-top: 10px;
}

.scam-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 21, 61, 0.48);
  backdrop-filter: blur(4px);
  z-index: 70;
}

.scam-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 28px));
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 22px;
  border-radius: 24px;
  background: rgba(249, 252, 255, 0.98);
  border: 1px solid rgba(58, 83, 168, 0.14);
  box-shadow: 0 24px 60px rgba(18, 27, 80, 0.22);
  z-index: 80;
}

.scam-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.scam-modal-form {
  gap: 12px;
}

.scam-report-type-block {
  display: grid;
  gap: 10px;
}

.scam-report-type-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.scam-report-fields {
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 83, 168, 0.1);
}

#scam-search-form .form-actions {
  margin-top: 12px;
}

.share-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-action-grid .primary-button,
.share-action-grid .secondary-button,
.share-action-grid .ghost-button {
  width: 100%;
  justify-content: center;
}

body.road-report-active .mobile-topbar,
body.road-report-active .back-home-button {
  display: none;
}

.auth-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.auth-close-button {
  width: 42px;
  height: 42px;
  padding: 0;
  box-shadow: none;
}

.auth-modal-message {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.auth-step-hint {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
  margin: 0;
}

.auth-modal-form {
  gap: 8px;
}

.auth-step-panel {
  display: grid;
  gap: 8px;
}

.auth-step-actions {
  justify-content: stretch;
}

.auth-step-actions > button {
  flex: 1 1 0;
}

.auth-verification-note {
  margin-bottom: 4px;
}

.auth-modal-form label {
  display: grid;
  gap: 4px;
}

.auth-modal-form .field-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #6f5126;
}

.auth-get-code-button {
  width: 100%;
}

.auth-recaptcha {
  min-height: 78px;
}

.auth-modal .session-summary {
  margin-top: 14px;
}

.auth-modal-form .form-actions {
  margin-top: 8px;
}

.auth-terms-inline {
  margin-top: 2px;
}

.auth-modal-form .verify-id-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-modal-form .verify-id-terms input {
  width: auto;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.auth-modal-form .verify-id-terms span {
  display: block;
  margin: 0;
}

.main-shell {
  padding: 28px;
  display: grid;
  gap: 22px;
}

.bottom-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 8px 12px 12px;
  background:
    linear-gradient(180deg, rgba(255, 247, 235, 0.96), rgba(237, 223, 205, 0.96));
  border-top: 1px solid rgba(58, 83, 168, 0.16);
  box-shadow: 0 -18px 40px rgba(28, 20, 12, 0.16);
}

.bottom-tab {
  border: 0;
  background: transparent;
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
}

.bottom-tab.active {
  color: #fff7ec;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.bottom-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.bottom-tab-badge {
  position: absolute;
  top: 3px;
  right: 8px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f35f6d;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(243, 95, 109, 0.3);
}

.bottom-tab-badge[hidden] {
  display: none !important;
}

.job-forms {
  margin-bottom: 18px;
}

.job-forms summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(58, 83, 168, 0.08);
  color: var(--muted);
  font-weight: 700;
}

.job-forms summary::-webkit-details-marker {
  display: none;
}

.job-forms[open] summary {
  background: linear-gradient(135deg, rgba(70, 215, 255, 0.18), rgba(47, 123, 255, 0.16));
  color: var(--ink);
}

@media (max-width: 860px) {
  html {
    font-size: clamp(12px, 0.9vw + 9px, 15px);
  }

  .bottom-tabs {
    display: grid;
  }

  .main-shell {
    padding-bottom: 96px;
  }
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 28px 30px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(250, 252, 255, 0.94), rgba(234, 244, 255, 0.9)),
    linear-gradient(90deg, rgba(47, 123, 255, 0.08), rgba(70, 215, 255, 0.12));
  box-shadow: var(--shadow);
}

.hero h2 {
  max-width: 56rem;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(17, 21, 61, 0.92);
  color: #edf5ff;
}

#api-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
}

.card,
.section-panel,
.profile-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.profile-panel,
.section-panel {
  padding: 22px;
}

.panel-header,
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 18px;
}

.section-back-button {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(176, 74, 94, 0.36);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(18, 27, 80, 0.12);
}

.section-back-button:hover:not(:disabled),
.section-back-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(243, 249, 255, 0.98);
}

.add-load-heading {
  justify-content: space-between;
  align-items: center;
}

.add-load-heading > div {
  min-width: 0;
}

.section-panel {
  display: none;
}

.section-panel.active {
  display: block;
}

.grid-form {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stacked-form {
  padding: 20px;
}

.double-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.choice-fieldset {
  margin: 0;
  padding: 12px 14px 14px;
  border: 1px solid rgba(58, 83, 168, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  min-width: 0;
}

.choice-fieldset legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.binary-choice {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(58, 83, 168, 0.18);
  background: rgba(47, 123, 255, 0.05);
  color: var(--ink);
  cursor: pointer;
}

.choice-pill input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}

.choice-pill span {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(58, 83, 168, 0.18);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 123, 255, 0.18);
  border-color: rgba(47, 123, 255, 0.48);
}

.button-slot,
.form-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.section-panel[data-section-panel="add-load"] .form-actions {
  margin-top: 14px;
}

.section-panel[data-section-panel="add-job"] .form-actions {
  margin-top: 14px;
}

.add-load-success-card {
  max-width: 420px;
  margin: 18px auto 0;
  padding: 22px 20px;
  text-align: center;
  display: grid;
  gap: 10px;
}

.add-load-success-card h4 {
  font-size: 1.2rem;
}

.add-load-success-card p:last-child {
  color: var(--muted);
}

.verify-id-page {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.verify-id-form {
  display: grid;
  gap: 16px;
}

.verify-id-intro {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(58, 83, 168, 0.14);
  background:
    radial-gradient(circle at top left, rgba(89, 234, 255, 0.12), transparent 46%),
    rgba(47, 123, 255, 0.05);
}

.verify-id-intro p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}

.verify-id-terms {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.92rem;
}

.verify-id-terms input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.verify-id-terms span {
  line-height: 1.4;
}

.field-helper {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--muted);
}

.job-form-subheading {
  margin: 4px 0 -4px;
  font-weight: 700;
  color: var(--ink);
}

.job-step-summary {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(58, 83, 168, 0.14);
  background:
    radial-gradient(circle at top left, rgba(89, 234, 255, 0.12), transparent 44%),
    rgba(47, 123, 255, 0.05);
}

.job-step-summary p {
  margin: 0;
  font-size: 0.92rem;
}

.wallet-form {
  gap: 16px;
}

.wallet-modal-form {
  margin-top: 14px;
}

.wallet-modal-grid {
  margin-top: 16px;
}

.wallet-method-panels {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.wallet-method-panel[hidden] {
  display: none !important;
}

.wallet-method-panel {
  border: 1px solid rgba(58, 83, 168, 0.18);
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(47, 123, 255, 0.06);
  color: var(--ink);
  display: grid;
  gap: 10px;
  min-height: 74px;
}

.wallet-method-panel-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.wallet-method-panel-ecocash {
  background:
    radial-gradient(circle at top left, rgba(89, 234, 255, 0.18), transparent 42%),
    rgba(47, 123, 255, 0.06);
}

.wallet-method-panel-card {
  background:
    radial-gradient(circle at top left, rgba(89, 234, 255, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(236, 248, 255, 0.98), rgba(217, 240, 255, 0.96));
  color: #1a3870;
  border-color: rgba(89, 163, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  margin-top: 10px;
}

.wallet-card-checkout-preview {
  display: grid;
  gap: 8px;
}

.wallet-card-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wallet-card-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 123, 255, 0.12);
  color: #1d4f96;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wallet-method-panel-card strong {
  font-size: 1rem;
}

.wallet-method-panel p,
.wallet-method-panel-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.wallet-method-panel p {
  color: var(--muted);
}

.wallet-method-panel-card p {
  color: rgba(26, 56, 112, 0.82);
}

.wallet-form-actions {
  justify-content: flex-start;
  margin-top: 8px;
}

.primary-button.wallet-submit-success {
  background: linear-gradient(135deg, #1ea95f, #12804a);
  color: #f3fff7;
  box-shadow: 0 12px 24px rgba(18, 128, 74, 0.18);
}

.primary-button.wallet-submit-pending {
  background: linear-gradient(135deg, #2d7dff, #1c4fd2);
  color: #f4f8ff;
  box-shadow: 0 12px 24px rgba(28, 79, 210, 0.18);
}

.wallet-form-hint {
  margin: 2px 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted);
}

.wallet-form-hint.success {
  color: #1a7d4b;
}

.wallet-form-hint.pending {
  color: #2557a8;
}

.wallet-form-alert {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  border: 1px solid rgba(58, 83, 168, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.wallet-form-alert.warning {
  background: rgba(255, 241, 208, 0.88);
  border-color: rgba(225, 158, 41, 0.26);
  color: #8a5712;
}

.profile-payment-banner {
  margin-top: 14px;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(89, 234, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #f3f8ff;
  display: grid;
  gap: 4px;
}

.profile-payment-banner strong {
  font-size: 0.9rem;
}

.profile-payment-banner span {
  font-size: 0.8rem;
  opacity: 0.86;
}

.profile-payment-banner.success {
  background: rgba(84, 214, 127, 0.14);
  border-color: rgba(84, 214, 127, 0.28);
}

.profile-payment-banner.pending {
  background: rgba(89, 234, 255, 0.12);
  border-color: rgba(89, 234, 255, 0.24);
}

.profile-payment-banner.failed {
  background: rgba(255, 112, 124, 0.16);
  border-color: rgba(255, 112, 124, 0.28);
}

.primary-button,
.secondary-button,
.ghost-button {
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    opacity 0.16s ease;
}

.primary-button {
  color: #f5efe5;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.secondary-button {
  color: var(--ink);
  background: rgba(47, 123, 255, 0.08);
}

.ghost-button {
  color: var(--warning);
  background: rgba(47, 73, 171, 0.08);
}

.ghost-button.road-report-export {
  color: #1f5f35;
  background: #dff6d8;
  border: 1px solid rgba(54, 125, 68, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ghost-button.road-report-export:hover,
.ghost-button.road-report-export:focus-visible {
  background: #d0efc6;
  color: #184b29;
}

.ghost-button.road-report-header-back {
  color: #8f2f3d;
  background: #fde1e5;
  border: 1px solid rgba(176, 74, 94, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ghost-button.road-report-header-back:hover,
.ghost-button.road-report-header-back:focus-visible {
  background: #f9d2d8;
  color: #7a2230;
}

.primary-button:hover:not(:disabled),
.secondary-button:hover:not(:disabled),
.ghost-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}

.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled {
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.session-summary {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(47, 123, 255, 0.07);
  color: var(--muted);
}

.profile-page {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding-inline: 10px;
  padding-top: 6px;
  box-sizing: border-box;
}

.profile-card {
  margin-top: 4px;
  padding: 18px 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(89, 234, 255, 0.42), transparent 36%),
    linear-gradient(165deg, #2d7dff 0%, #212887 52%, #161b57 100%);
  color: #eef5ff;
  box-shadow: 0 18px 35px rgba(20, 30, 96, 0.24);
}

.profile-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.profile-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.profile-meta {
  font-size: 0.85rem;
  margin-top: 4px;
}

.profile-avatar {
  width: 74px;
  min-width: 74px;
  height: 74px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  place-items: center;
  border: 1px solid rgba(84, 226, 255, 0.32);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    0 8px 20px rgba(18, 27, 80, 0.18);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

.profile-divider {
  height: 1px;
  background: rgba(214, 229, 255, 0.28);
  margin: 14px 0;
}

.profile-balance {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  position: relative;
}

.balance-column {
  display: grid;
  gap: 2px;
}

.balance-column.align-right {
  text-align: right;
}

.balance-caption {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(214, 229, 255, 0.82);
}

.profile-balance strong {
  font-size: 1.6rem;
  color: #ffffff;
}

.balance-split {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(133, 232, 255, 0.92);
}

.profile-balance-note {
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(227, 238, 255, 0.9);
}

.profile-gear {
  position: absolute;
  right: 0;
  bottom: -4px;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  color: #4a2800;
}

.profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-action {
  border-radius: 14px;
  min-height: 52px;
  padding: 14px 16px;
  font-weight: 700;
  border: 1px solid rgba(47, 123, 255, 0.3);
}

.profile-action.primary {
  background: linear-gradient(180deg, #59eaff 0%, #2f7bff 100%);
  color: #111a4b;
  border-color: rgba(47, 123, 255, 0.34);
  box-shadow: 0 10px 20px rgba(41, 94, 208, 0.18);
}

.profile-action.ghost {
  background: rgba(248, 251, 255, 0.96);
  color: var(--ink);
  border-color: rgba(47, 123, 255, 0.26);
  box-shadow: 0 8px 18px rgba(18, 27, 80, 0.08);
}

.profile-action[data-profile-action="my_loads"] {
  background: rgba(255, 255, 255, 0.98);
  color: #2f5bd1;
  border-color: rgba(47, 123, 255, 0.42);
  box-shadow: 0 8px 18px rgba(24, 64, 170, 0.12);
}

.profile-role-switcher {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
  text-align-last: center;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1f306b;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(236, 243, 255, 0.98)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25L7 9.25L11 5.25' stroke='%232f5bd1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  background-size: auto, 14px 14px;
  padding-left: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.profile-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-button {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(222, 242, 255, 0.94));
  color: var(--accent-strong);
  font-weight: 700;
  border: 1px solid rgba(70, 215, 255, 0.26);
  box-shadow: 0 8px 16px rgba(18, 27, 80, 0.14);
}

.chat-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 16px;
}

.chat-shell.chat-shell-single {
  grid-template-columns: 1fr;
}

.chat-list,
.chat-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.chat-ad {
  background: transparent;
}

.chat-ad .load-feed-card {
  margin: 0;
}

.chat-list {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.chat-list-header h3 {
  margin-bottom: 4px;
}

.chat-list-header p {
  color: var(--muted);
  font-size: 0.85rem;
}

.chat-thread-list {
  display: grid;
  gap: 10px;
}

.chat-thread {
  border: 0;
  text-align: left;
  padding: 12px;
  border-radius: 14px;
  background: rgba(58, 83, 168, 0.08);
  display: grid;
  gap: 6px;
}

.chat-thread.active {
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.98), rgba(26, 33, 127, 0.95));
  color: #edf5ff;
}

.chat-thread-title {
  font-weight: 700;
}

.chat-thread-meta {
  font-size: 0.8rem;
  color: inherit;
  opacity: 0.78;
}

.chat-panel {
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-height: 420px;
}

.chat-header h4 {
  margin-bottom: 4px;
}

.chat-header p {
  color: var(--muted);
  font-size: 0.85rem;
}

.chat-messages {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(239, 245, 255, 0.74);
  overflow-y: auto;
}

.chat-message {
  max-width: 75%;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(58, 83, 168, 0.12);
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-message.me {
  justify-self: end;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.95), rgba(26, 33, 127, 0.95));
  color: #edf5ff;
  border: 0;
}

.chat-message .chat-time {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  opacity: 0.7;
}

.chat-form {
  display: flex;
  gap: 10px;
}

.chat-form input {
  flex: 1;
}

@media (max-width: 900px) {
  .chat-shell {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    min-height: 360px;
  }
}

.stats-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

#loads-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#scam-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

#jobs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.view-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  align-items: center;
}

.jobs-tabs {
  display: none;
}

.section-panel[data-section-panel="jobs"] {
  padding-top: 0;
}

.section-panel[data-section-panel="jobs"] .view-tabs {
  margin-top: -2px;
  margin-bottom: 8px;
}

body.jobs-active .main-shell {
  gap: 0;
  padding-top: 4px;
}

body.jobs-active .mobile-topbar {
  padding-bottom: 0;
  margin-bottom: -8px;
}

body.jobs-active .section-panel[data-section-panel="jobs"] {
  margin-top: -12px;
}

.view-tab {
  flex: 0 0 auto;
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(58, 83, 168, 0.08);
  font-weight: 700;
}

.view-tab.active {
  color: #edf5ff;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.98), rgba(26, 33, 127, 0.95));
}

.inline-search-button {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.9rem;
  padding-left: 12px;
  padding-right: 12px;
}

.inline-search-input {
  flex: 0 0 180px;
  min-height: 46px;
  min-width: 180px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(58, 83, 168, 0.15);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  color: var(--ink);
}

.section-panel[data-section-panel="find-loads"] .view-tabs {
  display: block;
}

.section-panel[data-section-panel="find-loads"] .inline-search-input {
  display: block;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}

.inline-search-input::placeholder {
  color: rgba(91, 104, 145, 0.58);
}

.stat-card,
.data-card {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(239, 245, 255, 0.93));
  border: 1px solid rgba(58, 83, 168, 0.12);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  color: var(--accent-strong);
}

.data-card h4 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.data-card p + p {
  margin-top: 8px;
}

.data-card details {
  margin-top: 14px;
  border-top: 1px solid rgba(58, 83, 168, 0.12);
  padding-top: 14px;
}

.data-card summary {
  cursor: pointer;
  color: var(--accent-strong);
  font-weight: 700;
}

.load-feed-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 12px;
  padding: 14px;
  align-items: stretch;
}

.scam-feed-card {
  padding: 14px;
  min-height: 100%;
}

.scam-feed-card .meta-grid {
  gap: 10px 14px;
}

.scam-alert-card {
  min-height: 100%;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.scam-alert-card:hover,
.scam-alert-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(179, 31, 42, 0.26);
  box-shadow: 0 12px 24px rgba(179, 31, 42, 0.12);
}

.scam-card-divider {
  height: 1px;
  width: 80%;
  margin-top: 8px;
  background: rgba(58, 83, 168, 0.12);
}

.scam-detail-stack {
  margin-top: 8px;
}

.scam-detail-stack p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.3;
}

.scam-detail-stack p + p {
  margin-top: 3px;
}

.scam-alert-card .load-meta-line {
  margin-top: 6px;
}

.scam-evidence-strip {
  margin-top: 10px;
  display: inline-grid;
  grid-template-columns: repeat(5, 34px);
  gap: 4px;
}

.scam-evidence-thumb,
.scam-evidence-fallback {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(229, 238, 252, 0.82);
  border: 1px solid rgba(58, 83, 168, 0.12);
}

.scam-evidence-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scam-evidence-fallback {
  display: grid;
  place-items: center;
  padding: 6px;
  font-size: 0.68rem;
  line-height: 1.2;
  color: var(--muted);
  text-align: center;
}

.scam-art {
  overflow: hidden;
  height: 112px;
  min-height: 112px;
  max-height: 112px;
}

.scam-art .road-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.scam-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  background: rgba(240, 246, 255, 0.96);
}

.scam-art-fallback {
  width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: #c62828;
  background: linear-gradient(180deg, rgba(255, 238, 238, 0.98), rgba(255, 219, 219, 0.92));
  border-radius: 18px;
}

.scam-type-box {
  background: linear-gradient(180deg, rgba(255, 244, 246, 0.98) 0%, rgba(255, 226, 230, 0.98) 100%);
  color: #8f1e26;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.scam-type-box span {
  color: rgba(143, 30, 38, 0.72);
}

.scam-type-box strong {
  color: #8f1e26;
}

.scam-detail-stack-shell {
  display: grid;
  gap: 12px;
}

.scam-detail-hero h3 {
  margin: 0;
  font-size: 1.3rem;
}

.scam-section-title {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(91, 104, 145, 0.84);
}

.scam-detail-stack-expanded p {
  font-size: 0.9rem;
  line-height: 1.22;
}

.scam-detail-section,
.scam-community-card {
  display: grid;
  gap: 8px;
}

.scam-comments-panel {
  display: grid;
  gap: 2px;
}

.scam-comments-toggle {
  display: block;
  cursor: pointer;
  list-style: none;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 22px rgba(24, 38, 97, 0.12);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(91, 104, 145, 0.84);
}

.scam-comments-toggle::-webkit-details-marker {
  display: none;
}

.scam-comments-scroll {
  display: grid;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 2px;
}

.scam-detail-summary {
  margin: 0;
  color: var(--text);
  line-height: 1.42;
}

.scam-detail-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 72%);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.scam-detail-slide {
  scroll-snap-align: start;
  min-height: 240px;
  max-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(229, 238, 252, 0.82);
  border: 1px solid rgba(58, 83, 168, 0.12);
  display: block;
}

.scam-detail-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.scam-detail-slide-fallback {
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: var(--muted);
}

.scam-community-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.scam-vote-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.scam-vote-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.scam-comments-under-votes {
  position: static;
  z-index: auto;
  margin-top: 4px;
  padding-bottom: 2px;
}

.scam-vote-button {
  width: 100%;
  min-width: 0;
}

.scam-vote-button.active {
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.98), rgba(26, 33, 127, 0.95));
  color: #edf5ff;
  border-color: rgba(47, 123, 255, 0.42);
}

.scam-vote-button-negative.active {
  background: linear-gradient(135deg, rgba(179, 31, 42, 0.98), rgba(122, 17, 24, 0.96));
  color: #fff5f6;
  border-color: rgba(179, 31, 42, 0.38);
}

.scam-comment-form {
  gap: 6px;
}

.scam-comment-composer {
  position: static;
  z-index: auto;
  width: calc(100% + 16px);
  max-width: none;
  box-sizing: border-box;
  margin-left: -8px;
  margin-right: -12px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(58, 83, 168, 0.14);
  box-shadow: 0 12px 28px rgba(24, 38, 97, 0.12);
}

.scam-comment-composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.scam-comment-composer-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(91, 104, 145, 0.84);
}

.scam-comment-replying-to {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.scam-comment-composer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
  align-items: end;
}

.scam-comment-composer textarea {
  min-height: 24px;
  padding: 6px 10px;
  resize: vertical;
  font-size: 0.78rem;
  line-height: 1.18;
}

.scam-comment-submit {
  min-width: 72px;
  font-size: 0.74rem;
}

.scam-comment-cancel-reply,
.scam-comment-action {
  min-height: auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.scam-comment-action.active {
  color: #b31f2a;
  border-color: rgba(179, 31, 42, 0.28);
  background: rgba(255, 232, 235, 0.92);
}

.scam-comments-list {
  display: grid;
  gap: 0;
  padding-bottom: 2px;
}

.scam-comment-card {
  background: #fff;
  border: 1px solid rgba(58, 83, 168, 0.1);
  border-radius: 16px;
  padding: 6px;
  display: grid;
  gap: 1px;
}

.scam-comment-card-compact {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.scam-comment-card-reply {
  margin-left: 0;
  border-radius: 14px;
  background: rgba(249, 252, 255, 0.98);
}

.scam-comment-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: start;
}

.scam-comment-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.96), rgba(26, 33, 127, 0.94));
  color: #f5f8ff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.scam-comment-body {
  display: grid;
  gap: 1px;
}

.scam-comment-card-compact .scam-comment-body {
  gap: 1px;
}

.scam-comment-bubble {
  display: inline-grid;
  justify-self: start;
  gap: 2px;
  max-width: min(88%, 460px);
  padding: 8px 11px 8px;
  border-radius: 18px;
  background: rgba(226, 232, 241, 0.98);
}

.scam-comment-bubble-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.scam-comment-bubble-head strong {
  flex: 1 1 auto;
  font-size: 0.72rem;
  line-height: 1.18;
  font-weight: 800;
}

.scam-comment-kebab {
  color: rgba(108, 117, 143, 0.85);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.scam-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
}

.scam-comment-head strong {
  font-size: 0.58rem;
}

.scam-comment-head span {
  font-size: 0.64rem;
  color: var(--muted);
}

.scam-comment-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.74rem;
  line-height: 1.14;
}

.scam-comment-card-compact p {
  font-size: 0.72rem;
  line-height: 1.18;
}

.scam-comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.64rem;
  color: var(--muted);
}

.scam-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.scam-comment-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 2px;
}

.scam-comment-time {
  font-size: 0.66rem;
  font-weight: 700;
  color: rgba(108, 117, 143, 0.9);
}

.scam-comment-inline-action {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(95, 102, 126, 0.96);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.scam-comment-inline-action.active {
  color: #1d5fd3;
  background: transparent;
  border: 0;
}

.scam-comment-like-count {
  font-size: 0.68rem;
  font-weight: 800;
  color: #1d5fd3;
}

.load-feed-card-skeleton {
  pointer-events: none;
}

.load-feed-card-skeleton .route-label,
.load-feed-card-skeleton .route-value,
.load-feed-card-skeleton .rate-box {
  background: transparent;
  color: transparent;
}

.skeleton-line,
.skeleton-block,
.skeleton-button,
.skeleton-art,
.skeleton-rate-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(221, 232, 248, 0.82) 25%, rgba(242, 247, 255, 0.98) 50%, rgba(221, 232, 248, 0.82) 75%);
  background-size: 220% 100%;
  animation: shimmer-slide 1.35s ease-in-out infinite;
}

.skeleton-line,
.skeleton-block {
  display: block;
  border-radius: 999px;
}

.skeleton-line-title {
  width: 58%;
  height: 1.1rem;
  margin-bottom: 8px;
}

.skeleton-line-subtitle {
  width: 76%;
  height: 0.9rem;
}

.skeleton-route-box {
  margin: 8px 0;
}

.skeleton-label-block {
  width: 70%;
  height: 0.86rem;
}

.skeleton-value-block {
  width: 88%;
  height: 0.96rem;
}

.skeleton-meta-line {
  align-items: center;
}

.skeleton-line-meta {
  width: 42%;
  height: 0.78rem;
}

.skeleton-line-meta.short {
  width: 34%;
}

.skeleton-action-strip {
  align-items: stretch;
}

.skeleton-button {
  flex: 1;
  min-height: 42px;
  border-radius: 14px;
}

.skeleton-button-primary {
  background: linear-gradient(90deg, rgba(104, 147, 255, 0.45) 25%, rgba(145, 177, 255, 0.68) 50%, rgba(104, 147, 255, 0.45) 75%);
  background-size: 220% 100%;
}

.skeleton-art {
  border-radius: 18px;
  min-height: 138px;
  border: 1px solid rgba(168, 194, 235, 0.42);
}

.skeleton-rate-box {
  border-radius: 16px;
  padding: 10px 8px;
  display: grid;
  justify-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(40, 50, 100, 0.76) 25%, rgba(71, 86, 155, 0.92) 50%, rgba(40, 50, 100, 0.76) 75%);
  background-size: 220% 100%;
}

.skeleton-line-rate-label {
  width: 74%;
  height: 0.58rem;
}

.skeleton-line-rate {
  width: 60%;
  height: 1.2rem;
  border-radius: 999px;
}

.scam-skeleton-thumb {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.scam-detail-skeleton-stack .scam-detail-gallery-skeleton {
  grid-auto-columns: minmax(220px, 72%);
}

.scam-detail-skeleton-stack .scam-detail-slide.skeleton-art {
  min-height: 220px;
  max-height: 260px;
}

.scam-skeleton-comment-box {
  display: block;
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
}

@keyframes shimmer-slide {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.load-main {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 31rem;
}

.load-main h4 {
  font-size: 1.08rem;
  line-height: 1.08;
  margin-bottom: 2px;
}

.load-subline {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.14;
  max-width: 29rem;
}

.route-box {
  margin: 8px 0;
  border: 1px solid rgba(58, 83, 168, 0.16);
  border-radius: 16px;
  overflow: hidden;
}

.route-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  border-bottom: 1px solid rgba(58, 83, 168, 0.12);
}

.route-row:last-child {
  border-bottom: 0;
}

.route-label,
.route-value {
  padding: 8px 10px;
}

.route-label {
  font-size: 0.86rem;
  color: var(--muted);
  background: rgba(58, 83, 168, 0.05);
}

.route-value {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
}

.load-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.84rem;
  line-height: 1.1;
  color: var(--muted);
}

.load-card-side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
  align-self: stretch;
}

.load-art {
  min-height: 138px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(241, 248, 255, 0.98), rgba(213, 239, 255, 0.92)),
    linear-gradient(145deg, rgba(47, 123, 255, 0.12), transparent);
  border: 1px solid rgba(70, 215, 255, 0.28);
  display: grid;
  place-items: center;
  padding: 8px;
}

.load-art-image {
  max-width: 100%;
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

.rate-box {
  padding: 10px 8px;
  border-radius: 16px;
  text-align: center;
  background: rgba(17, 21, 61, 0.92);
  color: #edf5ff;
}

.rate-box span {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(214, 225, 255, 0.74);
}

.rate-box strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
}

.rate-box.scam-type-box {
  background: #fde1e5;
  color: #8f2f3d;
  border: 1px solid rgba(176, 74, 94, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.rate-box.scam-type-box span {
  color: rgba(143, 47, 61, 0.72);
}

.rate-box.scam-type-box strong {
  color: #8f2f3d;
}

.action-strip {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  align-items: stretch;
}


.action-strip details {
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
}

.action-strip summary {
  list-style: none;
  padding: 11px 14px;
  border-radius: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: #fff7ec;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.action-strip summary::-webkit-details-marker {
  display: none;
}

.share-button {
  min-width: 96px;
  font-size: 0.9rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.82rem;
  color: #f5efe5;
  background: rgba(32, 24, 18, 0.88);
}

.meta-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
}

.meta-grid strong {
  color: var(--ink);
}

.inline-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.full-span {
  grid-column: 1 / -1;
}

.empty-state {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  border-radius: 22px;
  border: 1px dashed rgba(58, 83, 168, 0.22);
  background: rgba(255, 251, 246, 0.72);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(22, 19, 16, 0.94);
  color: #fff7ec;
  box-shadow: var(--shadow);
  z-index: 50;
}

.toast.hidden {
  display: none;
}

@media (max-width: 1120px) {
  .nav-stack {
    grid-template-columns: 1fr;
  }

  .main-shell {
    padding-top: 18px;
  }

  #loads-grid {
    grid-template-columns: 1fr;
  }

  #scam-grid {
    grid-template-columns: 1fr;
  }

  #jobs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .feed-hero,
  .panel-header,
  .section-heading,
  .double-column {
    grid-template-columns: 1fr;
    display: grid;
  }

  .mobile-topbar {
    grid-template-columns: auto 1fr auto;
    display: grid;
    align-items: stretch;
  }

  .topbar-route-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar-route-fields select {
    min-width: 0;
    height: var(--topbar-action-height);
    min-height: var(--topbar-action-height);
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.82rem;
  }

  .section-panel[data-section-panel="add-load"] .section-heading,
  .section-panel[data-section-panel="add-job"] .section-heading {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    justify-content: space-between;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .main-shell {
    padding: 16px;
  }

  .view-tabs {
    flex-wrap: wrap;
  }

  .inline-search-button {
    width: auto;
  }

  .inline-search-input {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  html {
    font-size: clamp(11px, 1.4vw + 7px, 14px);
  }

  body.home-active .main-shell {
    gap: 14px;
    padding-top: 12px;
  }

  body.home-active .mobile-topbar {
    padding-bottom: 0;
    margin-bottom: -2px;
  }

  body.home-active .section-panel[data-section-panel="find-loads"] {
    margin-top: -2px;
  }

  body.jobs-active .main-shell {
    gap: 14px;
    padding-top: 12px;
  }

  body.dashboard-active .main-shell,
  body.add-load-active .main-shell,
  body.my-loads-active .main-shell,
  body.delivery-active .main-shell,
  body.profile-active .main-shell {
    gap: 14px;
    padding-top: 12px;
  }

  body.scam-active .main-shell {
    gap: 14px;
    padding-top: 12px;
  }

  body.add-job-active .main-shell {
    gap: 14px;
    padding-top: 12px;
  }

  body.jobs-active .mobile-topbar {
    padding-bottom: 0;
    margin-bottom: -2px;
  }

  body.scam-active .mobile-topbar {
    padding-bottom: 0;
    margin-bottom: -2px;
  }

  body.jobs-active .section-panel[data-section-panel="jobs"] {
    padding: 10px;
    border-radius: 24px;
    margin-top: -2px;
  }

  body.dashboard-active .section-panel[data-section-panel="dashboard"],
  body.add-load-active .section-panel[data-section-panel="add-load"],
  body.my-loads-active .section-panel[data-section-panel="my-loads"],
  body.delivery-active .section-panel[data-section-panel="delivery"],
  body.profile-active .section-panel[data-section-panel="profile"] {
    padding: 10px;
    border-radius: 24px;
    margin-top: 4px;
  }

  body.profile-active .section-panel[data-section-panel="profile"] {
    margin-left: 8px;
    margin-right: 8px;
  }

  body.scam-active .section-panel[data-section-panel="scam"] {
    padding: 10px;
    border-radius: 24px;
    margin-top: 4px;
  }

  body.add-job-active .section-panel[data-section-panel="add-job"] {
    padding: 10px;
    border-radius: 24px;
    margin-top: -2px;
  }

  body.road-report-active .main-shell {
    gap: 14px;
    padding-top: 12px;
  }

  body.road-report-active .section-panel[data-section-panel="road-report"] {
    padding: 10px;
    border-radius: 24px;
    margin-top: -2px;
  }

  .main-shell {
    padding-left: 6px;
    padding-right: 6px;
  }

  .section-panel[data-section-panel="find-loads"] {
    padding: 10px;
    border-radius: 24px;
  }

  .section-panel[data-section-panel="find-loads"] .section-heading {
    display: none;
  }

  .section-panel[data-section-panel="find-loads"] .view-tabs {
    display: block;
    gap: 8px;
    margin-bottom: 12px;
  }

  .section-panel[data-section-panel="find-loads"] .view-tab,
  .section-panel[data-section-panel="find-loads"] .inline-search-input,
  .section-panel[data-section-panel="find-loads"] .inline-search-button {
    width: 100%;
  }

  #dashboard-cards,
  #my-loads-grid,
  #delivery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-panel[data-section-panel="dashboard"] .section-heading,
  .section-panel[data-section-panel="my-loads"] .section-heading,
  .section-panel[data-section-panel="delivery"] .section-heading,
  .section-panel[data-section-panel="profile"] .section-heading,
  .section-panel[data-section-panel="add-load"] .section-heading,
  .section-panel[data-section-panel="verify-id"] .section-heading {
    margin-bottom: 12px;
  }

  .section-panel[data-section-panel="dashboard"] .stat-card,
  .section-panel[data-section-panel="my-loads"] .data-card,
  .section-panel[data-section-panel="delivery"] .data-card,
  .section-panel[data-section-panel="add-load"] .stacked-form,
  .section-panel[data-section-panel="verify-id"] .stacked-form,
  .section-panel[data-section-panel="profile"] .profile-card {
    border-radius: 22px;
  }

  .section-panel[data-section-panel="dashboard"] .stat-card,
  .section-panel[data-section-panel="my-loads"] .data-card,
  .section-panel[data-section-panel="delivery"] .data-card {
    padding: 14px;
  }

  .section-panel[data-section-panel="dashboard"] .eyebrow,
  .section-panel[data-section-panel="my-loads"] .eyebrow,
  .section-panel[data-section-panel="delivery"] .eyebrow,
  .section-panel[data-section-panel="profile"] .eyebrow,
  .section-panel[data-section-panel="add-load"] .eyebrow,
  .section-panel[data-section-panel="verify-id"] .eyebrow {
    margin-bottom: 6px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .section-panel[data-section-panel="dashboard"] .stat-card strong {
    font-size: 1.7rem;
    margin-top: 6px;
  }

  .section-panel[data-section-panel="my-loads"] .data-card h4,
  .section-panel[data-section-panel="delivery"] .data-card h4,
  .section-panel[data-section-panel="add-load"] .add-load-heading h3,
  .section-panel[data-section-panel="verify-id"] .add-load-heading h3,
  .section-panel[data-section-panel="profile"] .profile-name {
    font-size: 1rem;
  }

  .section-panel[data-section-panel="my-loads"] .data-card h4,
  .section-panel[data-section-panel="delivery"] .data-card h4 {
    margin-bottom: 8px;
  }

  .section-panel[data-section-panel="my-loads"] .data-card p,
  .section-panel[data-section-panel="delivery"] .data-card p,
  .section-panel[data-section-panel="dashboard"] .stat-card p,
  .section-panel[data-section-panel="dashboard"] .stat-card span {
    font-size: 0.84rem;
  }

  .section-panel[data-section-panel="my-loads"] .meta-grid,
  .section-panel[data-section-panel="delivery"] .meta-grid {
    gap: 6px;
    margin-top: 10px;
    font-size: 0.84rem;
  }

  .section-panel[data-section-panel="my-loads"] .form-actions,
  .section-panel[data-section-panel="delivery"] .form-actions,
  .section-panel[data-section-panel="add-load"] .form-actions,
  .section-panel[data-section-panel="verify-id"] .form-actions {
    margin-top: 12px;
  }

  .section-panel[data-section-panel="my-loads"] .ghost-button,
  .section-panel[data-section-panel="delivery"] .primary-button,
  .section-panel[data-section-panel="delivery"] .ghost-button,
  .section-panel[data-section-panel="delivery"] summary,
  .section-panel[data-section-panel="add-load"] .primary-button,
  .section-panel[data-section-panel="verify-id"] .primary-button {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.84rem;
  }

  .section-panel[data-section-panel="delivery"] details {
    margin-top: 12px;
    padding-top: 12px;
  }

  .section-panel[data-section-panel="delivery"] .inline-form,
  .section-panel[data-section-panel="add-load"] .grid-form,
  .section-panel[data-section-panel="verify-id"] .grid-form {
    gap: 12px;
  }

  .section-panel[data-section-panel="add-load"] .stacked-form,
  .section-panel[data-section-panel="verify-id"] .stacked-form {
    padding: 14px;
  }

  .section-panel[data-section-panel="add-load"] label,
  .section-panel[data-section-panel="verify-id"] label,
  .section-panel[data-section-panel="delivery"] label {
    font-size: 0.84rem;
  }

  .section-panel[data-section-panel="verify-id"] .verify-id-page {
    max-width: none;
    padding-inline: 8px;
    padding-top: 6px;
  }

  .section-panel[data-section-panel="verify-id"] .verify-id-intro {
    padding: 14px;
  }

  .section-panel[data-section-panel="verify-id"] .verify-id-intro p,
  .section-panel[data-section-panel="verify-id"] .verify-id-terms {
    font-size: 0.82rem;
  }

  .section-panel[data-section-panel="profile"] .profile-page {
    gap: 12px;
    max-width: none;
    padding-inline: 8px;
    padding-top: 6px;
  }

  .section-panel[data-section-panel="profile"] .profile-card {
    margin-top: 4px;
    padding: 16px;
  }

  .section-panel[data-section-panel="profile"] .profile-meta,
  .section-panel[data-section-panel="profile"] .profile-balance-note {
    font-size: 0.8rem;
  }

  .section-panel[data-section-panel="profile"] .balance-caption {
    font-size: 0.66rem;
  }

  .section-panel[data-section-panel="profile"] .profile-balance strong {
    font-size: 1.35rem;
  }

  .section-panel[data-section-panel="profile"] .profile-action {
    min-height: 50px;
    padding: 12px 12px;
    font-size: 0.84rem;
  }

  .load-feed-card {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
    padding: 12px;
  }

  .scam-topbar-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .scam-topbar-actions > select,
  .scam-topbar-actions > button {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.82rem;
  }

  .skeleton-art {
    min-height: 112px;
  }

  .skeleton-button {
    min-height: 38px;
  }

  .load-main h4 {
    font-size: 0.98rem;
  }

  .load-subline {
    font-size: 0.8rem;
    line-height: 1.1;
  }

  .route-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .route-label,
  .route-value {
    padding: 8px 8px;
    font-size: 0.8rem;
  }

  .load-card-side {
    gap: 6px;
  }

  .scam-detail-stack p {
    font-size: 0.82rem;
    line-height: 1.18;
  }

  .scam-detail-stack p + p {
    margin-top: 2px;
  }

  .load-art {
    min-height: 112px;
    padding: 6px;
  }

  .load-art-image {
    max-height: 94px;
  }

  .rate-box {
    padding: 8px 6px;
  }

  .scam-type-box {
    font-size: 0.74rem;
    line-height: 1.2;
    display: grid;
    place-items: center;
    text-align: center;
  }

  .rate-box strong {
    font-size: 1.18rem;
  }

  .rate-box span {
    font-size: 0.56rem;
  }

  .action-strip {
    gap: 6px;
  }

  .share-button,
  .action-strip summary,
  .action-strip .primary-button {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.84rem;
  }

  #loads-grid {
    gap: 12px;
  }

  #scam-grid {
    gap: 12px;
  }

  .scam-alert-card {
    padding: 12px;
  }

  .scam-card-divider {
    margin-top: 6px;
  }

  .scam-evidence-strip {
    grid-template-columns: repeat(5, 28px);
    gap: 3px;
    margin-top: 8px;
  }

  .scam-art {
      height: 112px;
      min-height: 112px;
      max-height: 112px;
      padding: 0;
    }

  .scam-detail-gallery {
    grid-auto-columns: 86%;
    gap: 8px;
  }

  .scam-detail-slide {
    min-height: 220px;
    max-height: 260px;
  }

  .scam-community-head {
    align-items: stretch;
  }

  .scam-detail-stack-shell {
    gap: 10px;
  }

  .scam-detail-view {
    padding-inline: 4px;
    padding-bottom: 51px;
  }

  .scam-detail-section,
  .scam-community-card {
    gap: 7px;
  }

  .scam-detail-summary {
    font-size: 0.84rem;
    line-height: 1.34;
  }

  .scam-vote-actions {
    gap: 7px;
  }

  .scam-vote-button {
    font-size: 0.82rem;
    padding-left: 10px;
    padding-right: 10px;
  }

  .scam-comment-composer {
    padding: 8px;
    border-radius: 16px;
    width: calc(100% + 12px);
    max-width: none;
    margin-left: -6px;
    margin-right: -10px;
  }

  .scam-comments-under-votes {
    margin-top: 4px;
  }

  .scam-comments-toggle {
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 0.68rem;
  }

  .scam-comments-scroll {
    max-height: 150px;
  }

  .scam-comment-composer-label {
    font-size: 0.66rem;
  }

  .scam-comment-composer-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .scam-comment-composer textarea {
    min-height: 24px;
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  .scam-comment-submit {
    min-width: 66px;
    font-size: 0.74rem;
  }

  .scam-comment-card {
    padding: 6px;
    gap: 1px;
  }

  .scam-comments-list {
    gap: 0;
    padding-bottom: 2px;
  }

  .scam-comment-card-reply {
    margin-left: 8px;
  }

  .scam-comment-shell {
    gap: 6px;
  }

  .scam-comment-avatar {
    width: 26px;
    height: 26px;
    font-size: 0.58rem;
  }

  .scam-comment-bubble {
    max-width: min(90%, 100%);
    padding: 7px 9px 7px;
    border-radius: 16px;
  }

  .scam-comment-bubble-head {
    gap: 6px;
  }

  .scam-comment-bubble-head strong {
    font-size: 0.72rem;
  }

  .scam-comment-kebab {
    font-size: 0.66rem;
  }

  .scam-comment-body {
    gap: 1px;
  }

  .scam-comment-head strong {
    font-size: 0.54rem;
  }

  .scam-comment-head span,
  .scam-comment-meta,
  .scam-comment-action,
  .scam-comment-replying-to {
    font-size: 0.66rem;
  }

  .scam-comment-card p {
    font-size: 0.74rem;
    line-height: 1.18;
  }

  .scam-comment-meta-row {
    gap: 6px;
    padding-left: 0;
  }

  .scam-comment-time,
  .scam-comment-inline-action,
  .scam-comment-like-count {
    font-size: 0.62rem;
  }
  }
