:root {
  --navy: #071a33;
  --blue: #168df2;
  --blue-dark: #096fc2;
  --ink: #102238;
  --muted: #617187;
  --line: #dbe4ed;
  --soft: #f3f7fb;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--soft); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.lb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  border-bottom: 3px solid var(--blue);
  padding: 8px clamp(20px, 5vw, 72px);
  background: var(--navy);
}

.lb-brand img { width: 150px; height: 62px; object-fit: contain; filter: brightness(0) invert(1); }
.lb-header nav { display: flex; align-items: center; gap: 24px; color: #dce8f4; font-size: 14px; font-weight: 750; }
.lb-header nav a:hover { color: #fff; }
.lb-login { border: 1px solid rgba(255,255,255,.35); border-radius: 7px; padding: 10px 14px; }

.lb-intro { position: relative; min-height: 250px; overflow: hidden; background: var(--navy); }
.lb-intro-image { position: absolute; inset: 0; background: url("assets/rv-transport-hero.webp") center 58% / cover no-repeat; }
.lb-intro-shade { position: absolute; inset: 0; background: rgba(7,26,51,.76); }
.lb-intro-content { position: relative; display: grid; align-content: center; gap: 10px; width: min(1180px, 100%); min-height: 250px; margin: 0 auto; padding: 40px 24px; color: #fff; }
.lb-intro-content p { margin: 0; color: #63baff; font-size: 12px; font-weight: 900; letter-spacing: 0; }
.lb-intro-content h1 { max-width: 650px; margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: 0; }
.lb-intro-content span { max-width: 620px; color: #d9e6f1; font-size: 17px; line-height: 1.55; }

.lb-workspace { width: min(1180px, calc(100% - 32px)); margin: -24px auto 60px; position: relative; z-index: 2; }
.lb-toolbar { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(130px, 1fr)) auto; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: #fff; box-shadow: 0 12px 30px rgba(7,26,51,.08); }
.lb-toolbar label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.lb-toolbar input, .lb-toolbar select { width: 100%; min-height: 42px; border: 1px solid #cfd9e4; border-radius: 6px; padding: 8px 10px; color: var(--ink); background: #fff; }
.lb-toolbar input:focus, .lb-toolbar select:focus { outline: 3px solid rgba(22,141,242,.16); border-color: var(--blue); }
.lb-toolbar button { align-self: end; min-height: 42px; border: 0; border-radius: 6px; padding: 0 17px; color: #fff; background: var(--blue); font-weight: 850; cursor: pointer; }
.lb-toolbar button:hover { background: var(--blue-dark); }

.lb-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 2px 14px; }
.lb-summary div { display: flex; align-items: baseline; gap: 8px; }
.lb-summary strong { font-size: 28px; }
.lb-summary span, .lb-summary p { color: var(--muted); }
.lb-summary p { margin: 0; font-size: 13px; }
.lb-message { min-height: 0; color: #a12222; font-weight: 700; }
.lb-list { display: grid; gap: 12px; }

.lb-load {
  display: grid;
  grid-template-columns: 1.45fr .75fr .72fr auto;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}
.lb-route { min-width: 0; }
.lb-reference { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lb-reference strong { font-size: 13px; }
.lb-badge { border-radius: 999px; padding: 5px 9px; color: #075d9f; background: #e6f4ff; font-size: 11px; font-weight: 850; }
.lb-route-line { display: grid; grid-template-columns: 10px 1fr; gap: 10px; }
.lb-route-line + .lb-route-line { margin-top: 10px; }
.lb-route-line i { width: 8px; height: 8px; margin-top: 6px; border: 2px solid var(--blue); border-radius: 50%; }
.lb-route-line.delivery i { border-radius: 2px; background: var(--navy); border-color: var(--navy); }
.lb-route-line span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.lb-route-line strong { display: block; margin-top: 2px; overflow-wrap: anywhere; font-size: 16px; }

.lb-facts { display: grid; gap: 8px; }
.lb-facts span { color: var(--muted); font-size: 12px; }
.lb-facts strong { display: block; margin-top: 2px; color: var(--ink); font-size: 14px; }
.lb-pay { border-left: 1px solid var(--line); padding-left: 22px; }
.lb-pay span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.lb-pay strong { display: block; margin: 3px 0; font-size: 26px; color: var(--navy); }
.lb-pay small { color: var(--muted); }
.lb-actions { display: grid; gap: 8px; min-width: 150px; }
.lb-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 6px; padding: 0 15px; color: #fff; background: var(--blue); font-size: 13px; font-weight: 850; }
.lb-actions a:hover { background: var(--blue-dark); }
.lb-notes { grid-column: 1 / -1; margin: -4px 0 0; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.lb-empty, .lb-loading { border: 1px dashed #bdcbd9; border-radius: 8px; padding: 56px 20px; text-align: center; color: var(--muted); background: #fff; }
.lb-empty strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 20px; }

.lb-footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px clamp(20px, 5vw, 72px); color: #d9e6f1; background: var(--navy); }
.lb-footer div { display: grid; gap: 5px; }
.lb-footer div:last-child { text-align: right; }
.lb-footer span, .lb-footer a { font-size: 13px; }
.lb-footer a { color: #63baff; }

@media (max-width: 980px) {
  .lb-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-search { grid-column: 1 / -1; }
  .lb-load { grid-template-columns: 1fr 1fr; }
  .lb-pay { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
  .lb-header { min-height: 72px; padding-inline: 16px; }
  .lb-brand img { width: 112px; height: 52px; }
  .lb-header nav a:not(.lb-login) { display: none; }
  .lb-intro, .lb-intro-content { min-height: 220px; }
  .lb-intro-content { padding-inline: 20px; }
  .lb-workspace { width: min(100% - 20px, 1180px); margin-top: -16px; }
  .lb-toolbar { grid-template-columns: 1fr; padding: 12px; }
  .lb-search { grid-column: auto; }
  .lb-load { grid-template-columns: 1fr; gap: 16px; padding: 17px; }
  .lb-actions { min-width: 0; }
  .lb-summary { align-items: flex-start; flex-direction: column; }
  .lb-footer { flex-direction: column; }
  .lb-footer div:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
