@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap");

:root {
  --navy: #0a1f44; --navy2: #0d2b5c; --sky: #7db4ff; --link: #1d4ed8;
  --ink: #101c2c; --muted: #5b6b82; --line: #dde5ef;
  --bg: #edf1f7; --card: #ffffff; --amber: #f59e0b; --amber-ink: #92400e;
  --amber-soft: #fef3c7; --green: #15803d; --green-soft: #dcfce7;
  --red: #b91c1c; --red-soft: #fee2e2;
  --shadow: 0 1px 2px rgba(10,31,68,.07), 0 10px 30px rgba(10,31,68,.07);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Header */
header.site { background: linear-gradient(90deg, var(--navy), var(--navy2));
  color: #fff; padding: 12px 20px; display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap; position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(10,31,68,.25); }
header.site .mark { background: var(--amber); color: var(--navy);
  font-weight: 900; border-radius: 8px; padding: 4px 8px; font-size: 15px;
  letter-spacing: .02em; }
header.site .brand { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
header.site .brand em { font-style: normal; color: var(--amber); }
header.site .tag { color: #a9c3ea; font-size: 13px; }
header.site nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
header.site nav a { color: #d7e5fa; text-decoration: none; font-size: 14px;
  font-weight: 600; padding: 7px 11px; border-radius: 8px; }
header.site nav a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Hero */
.hero { color: #fff; padding: 64px 20px 52px; position: relative;
  overflow: hidden; background:
  repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
  linear-gradient(150deg, var(--navy) 30%, var(--navy2) 75%, #123a75); }
.hero .inner { max-width: 780px; margin: 0 auto; position: relative; text-align: center; }
.hero .eyebrow { color: var(--amber); font-weight: 800; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { margin: 0 auto 14px; font-size: 46px; line-height: 1.08;
  font-weight: 900; letter-spacing: -.02em; max-width: 21ch; }
.hero h1 .hl { color: var(--amber); }
.hero p { margin: 0 auto; color: #c9dbf7; max-width: 600px; font-size: 17px;
  line-height: 1.55; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; justify-content: center; }
.btn { display: inline-block; text-decoration: none; font-weight: 800;
  border-radius: 10px; padding: 13px 22px; font-size: 15px; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #fbbf24; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.hero .stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; justify-content: center; }
.hero .stats div strong { display: block; font-size: 24px; font-weight: 900; }
.hero .stats div span { color: #a9c3ea; font-size: 13px; }
.rules { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; justify-content: center; }
.rules span { background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22); padding: 6px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 600; }

main { max-width: 960px; margin: 0 auto; padding: 28px 16px 56px; }
.card { background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; margin-bottom: 20px;
  box-shadow: var(--shadow); }
h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.sect-sub { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e; margin-right: 7px; box-shadow: 0 0 0 4px var(--green-soft);
  vertical-align: 2px; }

/* Load cards */
.loadcard { border: 1px solid var(--line); border-left: 5px solid var(--amber);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
  background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.loadcard:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.lc-top { display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; flex-wrap: wrap; }
.lc-lane { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.lc-lane .arrow { color: var(--amber); padding: 0 2px; }
.lc-rate { font-size: 28px; font-weight: 900; color: var(--navy);
  white-space: nowrap; line-height: 1; }
.lc-rate .per { display: block; font-size: 12px; font-weight: 700;
  color: var(--muted); text-align: right; margin-top: 4px; }
.lc-meta { color: var(--ink); font-size: 13.5px; margin-top: 7px; }
.lc-meta.faint { color: var(--muted); font-size: 12.5px; }
.destbadge { display: inline-block; margin-top: 10px; font-size: 12.5px;
  font-weight: 700; padding: 5px 11px; border-radius: 999px;
  background: #eef2f7; color: var(--muted); }
.destbadge.ok { background: var(--green-soft); color: var(--green); }
.destbadge.thin { background: var(--amber-soft); color: var(--amber-ink); }
.destbadge.dead { background: var(--red-soft); color: var(--red); }
.tcreport { display: block; margin-top: 8px; }
.tcrow { background: #f6f9fd; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 12px; margin-top: 6px; font-size: 13.5px; }
.tcrow strong { color: var(--navy); }

/* Tables (bids desk, admin) */
table.loads { width: 100%; border-collapse: collapse; font-size: 14px; }
table.loads th, table.loads td { text-align: left; padding: 10px 8px;
  border-bottom: 1px solid var(--line); vertical-align: top; }
table.loads th { color: var(--muted); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; }
.rate { font-weight: 800; color: var(--navy); white-space: nowrap; }
.rpm { color: var(--muted); font-size: 12px; }

input, select, button { font: inherit; }
input[type="search"], input[type="email"], input[type="text"],
input[type="number"], input[type="password"], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; }
button { background: var(--navy); color: #fff; border: 0; border-radius: 10px;
  padding: 11px 18px; font-weight: 700; cursor: pointer; }
button:hover { background: var(--navy2); }
button.secondary { background: #e8eef6; color: var(--navy); }
button.secondary:hover { background: #dbe6f3; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1 1 200px; }
.muted { color: var(--muted); }
.result { padding: 12px 0; border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.badge { display: inline-block; background: var(--amber-soft);
  color: var(--amber-ink); border: 1px solid #fde68a; padding: 2px 9px;
  border-radius: 999px; font-size: 12px; font-weight: 700; }
footer.site { color: var(--muted); font-size: 13px; text-align: center;
  padding: 28px 16px 44px; }

/* Suggestions + features + FAQ */
.suggestion .row { display: flex; justify-content: space-between;
  align-items: center; gap: 1em; }
.suggestion .pill { background: #e8eef6; border-radius: 1em;
  padding: .1em .7em; font-size: .85em; font-weight: 700; color: var(--navy); }
button.vote { margin-top: .4em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px; }
.feat { background: #fbfcfe; border: 1px solid var(--line);
  border-top: 4px solid var(--amber); border-radius: 12px; padding: 16px; }
.feat strong { font-size: 15.5px; }
.feat p { margin: .4em 0 0; color: #33465e; font-size: 14px; line-height: 1.5; }
details { border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; margin-bottom: 10px; background: #fbfcfe; }
details summary { cursor: pointer; font-weight: 700; font-size: 15px; }
details p { margin: .6em 0 .2em; max-width: 65ch; color: #33465e; line-height: 1.55; }
.rowline { display: flex; gap: .6em; align-items: center; flex-wrap: wrap;
  margin-top: .5em; }
.bidbox { margin-top: 10px; display: flex; gap: 8px; align-items: center;
  flex-wrap: wrap; background: #f6f9fd; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; }
.bidbox input.amt { width: 120px; }
.bidbox:empty { display: none; }

@media (max-width: 640px) {
  .hero { padding: 44px 16px 40px; }
  .hero h1 { font-size: 33px; }
  .lc-lane { font-size: 17px; }
  .lc-rate { font-size: 23px; }
  main { padding: 20px 12px 44px; }
  .card { padding: 16px; }
}

.bidlist { display: block; width: 100%; }

.hero-search { background: #fff; color: var(--ink); border-radius: 14px;
  padding: 18px; margin-top: 28px; text-align: left;
  box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.hero-search .hs-title { font-weight: 800; font-size: 17px; color: var(--navy); }
.hero-search p { color: var(--muted); font-size: 13.5px; margin: 6px 0 12px;
  max-width: none; }
.hero-search #results { margin-top: 6px; }

.cmp { width:100%; border-collapse:collapse; font-size:14px; }
.cmp th, .cmp td { text-align:left; padding:8px 10px; border-bottom:1px solid #e5e7eb; vertical-align:top; }
.cmp thead th { color:#0a1f44; }
.cmp td:first-child { font-weight:600; white-space:nowrap; }

.ibtn { width:32px; height:32px; padding:0; font-size:15px; line-height:1;
  border-radius:8px; display:inline-flex; align-items:center;
  justify-content:center; flex:0 0 auto; }
.acts { display:inline-flex; gap:6px; align-items:center; }
.desk-h { margin:22px 0 10px; color:#0a1f44; font-size:17px; }

.desk-layout { display:flex; gap:16px; align-items:flex-start; margin-top:16px; }
.desk-main { flex:1; min-width:0; }
.desk-main .card:first-child { margin-top:0; }
.desk-side { position:sticky; top:70px; flex:0 0 196px; background:#fff;
  border:1px solid #e5e7eb; border-radius:12px; padding:10px; }
.desk-side .grp { font-size:11px; letter-spacing:.08em; color:#94a3b8;
  font-weight:700; margin:10px 8px 4px; text-transform:uppercase; }
.desk-side .grp:first-child { margin-top:2px; }
.desk-side .nav { display:flex; justify-content:space-between; align-items:center;
  width:100%; background:none; border:0; padding:9px 10px; border-radius:8px;
  font-weight:600; color:#334155; cursor:pointer; font-size:14px; text-align:left; }
.desk-side .nav:hover { background:#f1f5f9; }
.desk-side .nav.on { background:#0a1f44; color:#fff; }
.desk-side .cnt { background:#e2e8f0; color:#0a1f44; border-radius:999px;
  font-size:12px; padding:1px 8px; font-weight:700; }
.desk-side .nav.on .cnt { background:#f59e0b; }
@media (max-width: 760px) {
  .desk-layout { flex-direction:column; }
  .desk-side { position:static; flex:1 1 auto; width:100%; display:flex;
    flex-wrap:wrap; gap:4px; align-items:center; }
  .desk-side .grp { width:100%; }
  .desk-side .nav { width:auto; }
}

#filters .fl { display:block; font-size:12px; font-weight:700; color:#64748b;
  margin:8px 8px 0; text-transform:uppercase; letter-spacing:.04em; }
#filters .fl input, #filters .fl select { width:100%; margin-top:4px;
  text-transform:none; letter-spacing:0; font-weight:400; }
#filters #f-eqs { padding:2px 8px 4px; display:flex; flex-wrap:wrap; gap:5px; }
.fchip { width:auto; height:auto; padding:5px 10px; font-size:12.5px;
  border-radius:999px; background:#f1f5f9; color:#334155; border:1px solid #e2e8f0; }
.fchip.on { background:#0a1f44; color:#fff; border-color:#0a1f44; }
#filters .result { padding:8px 0; border-bottom:1px solid #eef2f7; font-size:13.5px; }

.btnlike { display:inline-block; background:#f59e0b; color:#0a1f44;
  padding:8px 16px; border-radius:8px; text-decoration:none; font-weight:700;
  font-size:14px; }

header.site nav button.navbtn { width:auto; height:auto; background:transparent;
  color:#d7e5fa; font-size:14px; font-weight:600; padding:6px 10px;
  border-radius:8px; }
header.site nav button.navbtn:hover { background:rgba(255,255,255,.12); color:#fff; }

.desk-head { padding:10px 16px; display:flex; align-items:baseline;
  gap:14px; flex-wrap:wrap; }
.desk-head h1 { font-size:19px; margin:0; }
.desk-head p { margin:0; font-size:13.5px; }

.desk-side select#defsec { width:100%; }

/* Compact load cards (Ade, 2026-10-31 — cards were too big) */
.loadcard { padding: 10px 14px; margin-bottom: 10px; }
.lc-lane { font-size: 16.5px; }
.lc-rate { font-size: 21px; }
.lc-rate .per { display: inline; margin-left: 8px; }
.lc-meta { margin-top: 3px; font-size: 13px; }
.lc-meta.faint { font-size: 12px; margin-top: 1px; }
.destbadge { margin-top: 6px; font-size: 12px; padding: 2px 8px; }
.bidbox { margin-top: 6px; }
.bidbox input, .bidbox button, .bidbox .btnlike { padding: 6px 12px; }
.tcrow { font-size: 13px; }

.rchip { width:auto; height:auto; padding:4px 10px; font-size:12.5px;
  border-radius:999px; background:#f1f5f9; color:#334155;
  border:1px solid #e2e8f0; margin-right:4px; }

/* Density pass (Ade, 2026-10-31): bid sits on the rate line, one
   meta line, True cost / Report shrink into a compact utility row —
   more loads per screen. */
.lc-top { align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.lc-right { display: flex; align-items: center; gap: 10px;
  margin-left: auto; flex-wrap: wrap; }
.lc-right .bidbox { margin-top: 0; }
.lc-right .bidbox input.amt { width: 100px; }
.lc-right .btnlike { padding: 5px 12px; font-size: 13.5px; }
.lc-util { display: flex; align-items: center; gap: 14px;
  margin-top: 4px; flex-wrap: wrap; }
.lc-util .bidbox { margin-top: 0; }
.lc-util button { padding: 3px 9px; font-size: 12.5px; }
.lc-util .destbadge { margin-top: 0; }
.loadcard { padding: 8px 12px; margin-bottom: 8px; }

/* Micro-controls (Ade, 2026-10-31): bid, True cost and Report were
   eating the card. Bid shrinks to a 26px inline control on the rate
   line; True cost / Report become plain text links, no button boxes. */
.lc-right .bidbox { gap: 5px; }
.lc-right .bidbox input.amt { width: 78px; height: 26px;
  padding: 2px 7px; font-size: 13px; }
.lc-right .bidbox button { height: 26px; padding: 2px 10px;
  font-size: 13px; }
.lc-right .btnlike { padding: 3px 10px; font-size: 13px; }
.lc-util { gap: 10px; margin-top: 2px; }
.lc-util .bidbox > button { background: none; border: 0;
  color: var(--link); padding: 0 2px; height: auto; width: auto;
  font-size: 12.5px; font-weight: 600; border-radius: 0; }
.lc-util .bidbox > button:hover { background: none; color: var(--link);
  text-decoration: underline; }
.lc-util .rchip { background: #f1f5f9; color: #334155;
  padding: 4px 10px; border-radius: 999px; height: auto; }

/* Column alignment (Ade, 2026-10-31 — 3rd/4th cards were offset):
   the card head is a fixed 3-column grid (lane | rate | bid) so the
   rate and bid columns start at the same x on every card, and the
   utility row never wraps its links to a second line. */
.lc-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; }
.lc-right { display: contents; }
.lc-rate { text-align: right; white-space: nowrap; }
.lc-util { flex-wrap: nowrap; }
.lc-util .bidbox { flex: none; }
.lc-util .destbadge { min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .lc-top { grid-template-columns: minmax(0, 1fr) auto; }
  .lc-right .bidbox { grid-column: 2; justify-self: end; }
}

/* Rate figure smaller (Ade, 2026-10-31) */
.lc-rate { font-size: 17px; }
.lc-rate .per { font-size: 11.5px; }

.lc-meta a.brokerlink { color: var(--link); font-weight: 700;
  text-decoration: none; }
.lc-meta a.brokerlink:hover { text-decoration: underline; }
