.rts-freight { --freight-card: #fff; }
.rts-freight-hero { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; min-height:230px; padding:42px clamp(22px,5vw,70px); color:#fff; background:radial-gradient(circle at 82% 18%,rgba(0,116,225,.42),transparent 30%),linear-gradient(132deg,#06111e 0%,#0b2036 62%,#014385 100%); border-bottom:5px solid var(--rts-orange); }
.rts-freight-hero h1 { margin:0; font-size:clamp(40px,7vw,72px); line-height:.95; letter-spacing:-2.5px; }
.rts-freight-hero p:not(.rts-eyebrow) { max-width:710px; margin:14px 0 0; color:#c9d9e8; }
.rts-freight-identity { display:grid; justify-items:end; gap:8px; text-align:right; }
.rts-freight-identity small { color:#9fb4c8; }
.rts-freight-verified { display:inline-flex; align-items:center; min-height:38px; padding:7px 14px; border-radius:999px; font-size:12px; font-weight:900; letter-spacing:.4px; }
.rts-freight-verified.is-verified { color:#baf5db; border:1px solid rgba(81,221,158,.42); background:rgba(8,122,85,.28); }
.rts-freight-verified.is-pending { color:#ffdbad; border:1px solid rgba(255,174,91,.42); background:rgba(223,78,16,.22); }
.rts-freight-notice,.rts-freight-warning { margin:18px clamp(16px,3vw,34px) 0; border-radius:13px; }
.rts-freight-notice { padding:13px 16px; color:#07583e; background:#e8f8f1; border:1px solid #9ad9be; font-size:13px; font-weight:800; }
.rts-freight-warning { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 18px; color:#7e310e; background:#fff4e9; border:1px solid #f1c79e; }
.rts-freight-warning span { font-size:12px; }
.rts-freight-layout { display:grid; grid-template-columns:360px minmax(0,1fr); align-items:start; min-height:640px; }
.rts-freight-sidebar { position:sticky; top:18px; max-height:calc(100vh - 36px); overflow:auto; padding:26px 22px; border-right:1px solid var(--rts-line); }
.rts-freight-section-title { display:flex; align-items:center; justify-content:space-between; gap:15px; }
.rts-freight-section-title h2,.rts-freight-section-title h3 { margin:0; }
.rts-freight-new,.rts-freight-close { display:grid; place-items:center; width:42px; height:42px; padding:0; border:0; border-radius:11px; color:#fff; background:var(--rts-blue); font-size:25px; cursor:pointer; }
.rts-freight-close { color:var(--rts-muted); background:#edf3f8; }
.rts-freight-filters { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:18px 0; padding-bottom:18px; border-bottom:1px solid var(--rts-line); }
.rts-freight-filters label:nth-child(3),.rts-freight-filters button { grid-column:1/-1; }
.rts-freight label,.rts-field-caption { display:grid; gap:6px; color:#35465a; font-size:11px; font-weight:800; }
.rts-freight input,.rts-freight select,.rts-freight textarea { width:100%; min-height:44px; padding:9px 11px; border:1px solid #c9d6e2; border-radius:9px; color:var(--rts-ink); background:#fff; font:inherit; font-size:13px; }
.rts-freight textarea { resize:vertical; }
.rts-freight-list { display:grid; gap:10px; }
.rts-freight-card { position:relative; display:grid; gap:6px; padding:15px; overflow:hidden; border:1px solid var(--rts-line); border-radius:13px; color:var(--rts-ink); background:#fff; text-decoration:none; transition:.18s ease; }
.rts-freight-card:hover,.rts-freight-card.is-active { border-color:#75afe3; box-shadow:0 10px 30px rgba(7,17,30,.1); transform:translateY(-1px); }
.rts-freight-card.is-active:before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:var(--rts-blue); }
.rts-freight-card > span:not(.rts-freight-card-top):not(.rts-freight-card-bottom) { color:var(--rts-muted); font-size:11px; }
.rts-freight-card-top,.rts-freight-card-bottom { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.rts-freight-card-top strong { font-size:13px; }
.rts-freight-card-top em,.rts-freight-status { display:inline-flex; padding:4px 8px; border-radius:999px; font-size:9px; font-style:normal; font-weight:900; text-transform:uppercase; white-space:nowrap; }
.rts-freight-card-top .is-published,.rts-freight-status.is-published { color:#045b9c; background:#e2f2ff; }
.rts-freight-card-top .is-draft,.rts-freight-status.is-draft { color:#7a5c08; background:#fff4cf; }
.rts-freight-card-top .is-awarded,.rts-freight-status.is-awarded { color:#087a55; background:#dff7ec; }
.rts-freight-card-top .is-closed,.rts-freight-status.is-closed { color:#6a7685; background:#e8edf2; }
.rts-freight-card-bottom small { color:#789; font-size:9px; font-weight:800; }
.rts-freight-card-bottom b { color:var(--rts-blue-deep); font-size:13px; }
.rts-freight-card > i { color:var(--rts-orange); font-size:9px; font-style:normal; font-weight:900; text-transform:uppercase; }
.rts-freight-empty { padding:20px 8px; color:var(--rts-muted); font-size:12px; text-align:center; }
.rts-freight-content { min-width:0; padding:28px clamp(18px,3vw,42px) 50px; }
.rts-freight-welcome { display:grid; justify-items:center; max-width:580px; margin:100px auto; text-align:center; }
.rts-freight-welcome-icon { display:grid; place-items:center; width:82px; height:82px; margin-bottom:22px; border-radius:24px; color:#fff; background:linear-gradient(145deg,var(--rts-blue),var(--rts-blue-deep)); font-size:38px; box-shadow:0 18px 38px rgba(0,116,225,.25); }
.rts-freight-welcome h2 { margin:0; font-size:32px; }
.rts-freight-welcome > p:not(.rts-eyebrow) { max-width:470px; color:var(--rts-muted); }
.rts-freight-create,.rts-freight-detail { padding:clamp(18px,3vw,34px); border:1px solid var(--rts-line); border-radius:18px; background:#fff; box-shadow:0 16px 42px rgba(7,17,30,.08); }
.rts-freight-create { margin-bottom:22px; }
.rts-freight-create[hidden] { display:none; }
.rts-freight-form-grid { display:grid; gap:18px; margin-top:22px; }
.rts-freight fieldset { display:grid; gap:13px; margin:0; padding:20px; border:1px solid var(--rts-line); border-radius:14px; }
.rts-freight legend { padding:0 8px; color:var(--rts-blue-deep); font-size:13px; font-weight:900; }
.rts-freight-checks { display:flex; flex-wrap:wrap; gap:8px; }
.rts-freight-checks label,.rts-freight-inline-check { display:flex; align-items:center; gap:7px; padding:8px 10px; border:1px solid var(--rts-line); border-radius:9px; background:#f8fafc; }
.rts-freight-checks input,.rts-freight-inline-check input,.rts-freight-companies input { width:17px; min-height:17px; margin:0; }
.rts-freight-companies { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:240px; margin-top:7px; overflow:auto; }
.rts-freight-companies label { display:flex; align-items:center; gap:9px; padding:10px; border:1px solid var(--rts-line); border-radius:10px; }
.rts-freight-companies span { display:grid; gap:2px; }
.rts-freight-companies small { color:var(--rts-muted); font-weight:500; }
.rts-freight-submit { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:18px; }
.rts-freight-submit span { color:var(--rts-muted); font-size:11px; }
.rts-freight-detail-header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding-bottom:22px; border-bottom:1px solid var(--rts-line); }
.rts-freight-detail-header h2 { margin:3px 0 8px; font-size:clamp(27px,4vw,43px); line-height:1; }
.rts-freight-detail-header h2 span { color:var(--rts-blue); }
.rts-freight-detail-header p:not(.rts-eyebrow) { margin:0; color:var(--rts-muted); font-size:12px; }
.rts-freight-detail-header > div:last-child { display:grid; justify-items:end; gap:12px; }
.rts-freight-price { font-size:25px; }
.rts-freight-route { display:grid; grid-template-columns:1fr 60px 1fr; align-items:center; gap:15px; margin:24px 0; padding:20px; border-radius:15px; background:#08192b; color:#fff; }
.rts-freight-route section { display:flex; gap:12px; min-width:0; }
.rts-freight-route i { flex:0 0 31px; display:grid; place-items:center; width:31px; height:31px; border-radius:50%; color:#fff; background:var(--rts-blue); font-size:11px; font-style:normal; font-weight:900; }
.rts-freight-route section:last-child i { background:var(--rts-orange); }
.rts-freight-route p { display:grid; gap:5px; margin:0; min-width:0; }
.rts-freight-route small { color:#9bb0c5; font-size:9px; font-weight:900; text-transform:uppercase; }
.rts-freight-route strong { font-size:12px; line-height:1.45; }
.rts-freight-route span { color:#b8cadb; font-size:10px; }
.rts-freight-route-line { height:2px; background:linear-gradient(90deg,var(--rts-blue),var(--rts-orange)); }
.rts-freight-facts { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:9px; }
.rts-freight-facts section { display:grid; align-content:start; gap:5px; min-height:82px; padding:14px; border:1px solid var(--rts-line); border-radius:11px; background:#f8fafc; }
.rts-freight-facts small { color:var(--rts-muted); font-size:9px; font-weight:900; text-transform:uppercase; }
.rts-freight-facts strong { font-size:12px; line-height:1.45; }
.rts-freight-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.rts-freight-tags span { padding:6px 9px; border-radius:999px; color:#064b80; background:#e2f2ff; font-size:9px; font-weight:900; text-transform:uppercase; }
.rts-freight-action-card,.rts-freight-negotiations,.rts-freight-timeline { margin-top:24px; padding-top:22px; border-top:1px solid var(--rts-line); }
.rts-freight-action-card h3 { margin:0 0 14px; }
.rts-freight-bid-form { display:grid; grid-template-columns:160px minmax(0,1fr) auto; align-items:end; gap:10px; }
.rts-freight-counter-callout { display:flex; align-items:center; gap:12px; margin-bottom:13px; padding:13px; border-radius:11px; background:#fff4e9; }
.rts-freight-counter-callout span { font-size:11px; font-weight:800; }
.rts-freight-counter-callout strong { margin-right:auto; font-size:20px; }
.rts-freight-negotiations > .rts-freight-section-title > span { display:grid; place-items:center; width:31px; height:31px; border-radius:50%; color:#fff; background:var(--rts-blue-deep); font-size:11px; font-weight:900; }
.rts-freight-bid { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; margin-top:11px; padding:15px; border:1px solid var(--rts-line); border-radius:12px; }
.rts-freight-bid > div:first-child { display:grid; gap:4px; }
.rts-freight-bid small { color:var(--rts-muted); font-size:10px; }
.rts-freight-bid p { margin:5px 0 0; font-size:12px; }
.rts-freight-bid > b { color:var(--rts-blue-deep); font-size:19px; }
.rts-freight-bid-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:end; gap:8px; padding-top:10px; border-top:1px solid var(--rts-line); }
.rts-freight-counter-form { display:grid; grid-template-columns:130px minmax(140px,1fr) auto; gap:7px; flex:1; }
.rts-freight-awarded { display:flex; align-items:center; gap:18px; margin-top:22px; padding:18px; border:1px solid #9ad9be; border-radius:13px; color:#07583e; background:#e8f8f1; }
.rts-freight-awarded span { margin-right:auto; font-size:11px; }
.rts-freight-timeline > div { display:flex; gap:12px; padding:8px 0; }
.rts-freight-timeline i { width:10px; height:10px; margin-top:4px; border:2px solid #fff; border-radius:50%; background:var(--rts-blue); box-shadow:0 0 0 2px #a9d1f4; }
.rts-freight-timeline p { display:grid; gap:2px; margin:0; }
.rts-freight-timeline strong { font-size:11px; }
.rts-freight-timeline span { color:var(--rts-muted); font-size:9px; }
.rts-freight-close-offer { margin-top:20px; text-align:right; }
.rts-freight-close-offer button { border:0; color:var(--rts-danger); background:none; font-size:11px; font-weight:900; text-decoration:underline; cursor:pointer; }
.rts-freight-report{margin-top:14px;padding-top:14px;border-top:1px solid var(--rts-line);color:var(--rts-muted);font-size:10px}.rts-freight-report summary{cursor:pointer}.rts-freight-report form{display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:10px}.rts-freight-report textarea{min-height:44px}

@media (max-width:980px) {
  .rts-freight-layout { grid-template-columns:1fr; }
  .rts-freight-sidebar { position:static; max-height:none; border-right:0; border-bottom:1px solid var(--rts-line); }
  .rts-freight-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rts-freight-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .rts-freight { width:100%; margin:0 0 60px; border-radius:0; }
  .rts-freight-hero { align-items:flex-start; flex-direction:column; min-height:0; padding:30px 19px; }
  .rts-freight-hero h1 { font-size:45px; letter-spacing:-1.5px; }
  .rts-freight-identity { justify-items:start; text-align:left; }
  .rts-freight-warning { align-items:stretch; flex-direction:column; }
  .rts-freight-sidebar,.rts-freight-content { padding:18px 14px; }
  .rts-freight-list { grid-template-columns:1fr; }
  .rts-freight-create,.rts-freight-detail { padding:17px; border-radius:14px; }
  .rts-freight-companies,.rts-freight-facts { grid-template-columns:1fr; }
  .rts-freight-submit,.rts-freight-detail-header,.rts-freight-awarded { align-items:stretch; flex-direction:column; }
  .rts-freight-detail-header > div:last-child { justify-items:start; }
  .rts-freight-route { grid-template-columns:1fr; }
  .rts-freight-route-line { width:2px; height:28px; margin-left:15px; background:linear-gradient(var(--rts-blue),var(--rts-orange)); }
  .rts-freight-bid-form,.rts-freight-counter-form { grid-template-columns:1fr; }
  .rts-freight-bid { grid-template-columns:1fr; }
  .rts-freight-report form { grid-template-columns:1fr; }
  .rts-freight-bid > b { grid-row:2; }
  .rts-freight-counter-callout { align-items:stretch; flex-direction:column; }
  .rts-freight .rts-button { min-height:49px; }
}

/* RTS Platform 8.1 */
.rts-freight-hero{border-bottom:1px solid rgba(54,209,234,.35);background:radial-gradient(circle at 82% 18%,rgba(17,135,245,.38),transparent 30%),linear-gradient(135deg,#030914,#0a2035 70%,#073b66)}
.rts-freight-warning,.rts-freight-create,.rts-freight-detail,.rts-freight-list article{border-color:#dce7f0;box-shadow:0 13px 35px rgba(17,52,83,.065)}
.rts-freight button,.rts-freight a,.rts-freight h2,.rts-freight h3,.rts-freight p,.rts-freight strong{overflow-wrap:anywhere}
.rts-freight .rts-button{white-space:normal;line-height:1.25}
