/* Tracking Beta (new SCC ERP). Used only by track-beta.html, on top of
   site-2026.css; the Track Consignment page (track.html) does not load this file. */
.tb { padding-top: 0; }
.tb .wrap { max-width: 1040px; }
.tb-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; box-shadow: 0 10px 30px rgba(22, 23, 63, .08); margin-bottom: 24px; scroll-margin-top: 110px; }
.tb-card--search { margin-top: -48px; position: relative; }
.tb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tb-tab { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 15px; cursor: pointer; }
.tb-tab:hover { border-color: var(--indigo); }
.tb-tab[aria-selected="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.tb-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.tb-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 280px; min-width: 0; }
.tb-field--pin { flex: 0 1 220px; }
.tb-field label { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.tb-field input { height: 54px; border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; width: 100%; }
.tb-field--pin input { letter-spacing: 6px; text-transform: uppercase; }
.tb-field input:focus { outline: 2px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
.tb-submit { height: 54px; min-width: 140px; padding: 0 28px; background: var(--red); color: #fff; border: 0; border-radius: 8px; font-family: var(--head); font-size: 17px; font-weight: 700; cursor: pointer; }
.tb-submit:hover { background: var(--red-dark); }
.tb-submit[disabled] { opacity: .7; cursor: wait; }
.tb-hint { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.tb-msg { margin: 0 0 24px; padding: 14px 18px; border-radius: 10px; background: #FFF4E5; color: #7A4100; border: 1px solid #F2D2A6; font-weight: 700; }
.tb-msg[hidden], .tb-field[hidden], .tb-card[hidden] { display: none; }
.tb-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.tb-list-head h2, .tb-card h2 { margin: 0; font-size: 20px; color: var(--ink); }
.tb-muted { color: var(--muted); font-size: 14px; }
.tb-row { width: 100%; text-align: left; background: #fff; border: 0; border-top: 1px solid var(--line); padding: 16px 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; cursor: pointer; font: inherit; font-size: 15px; color: var(--ink); border-radius: 6px; }
.tb-row:hover { background: var(--soft); }
.tb-row strong { min-width: 120px; font-family: var(--head); font-size: 17px; color: var(--indigo-dark); }
.tb-row .tb-route { flex: 1 1 200px; font-weight: 700; }
.tb-chip { display: inline-block; background: #FFF1DB; color: #8A4B00; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.tb-chip--done { background: #E3F6E8; color: #17663A; }
.tb-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tb-top > div { display: flex; flex-direction: column; gap: 6px; }
.tb-k { font-family: var(--head); font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; }
.tb-big { font-family: var(--head); font-size: 32px; line-height: 1.1; font-weight: 700; color: var(--indigo-dark); }
.tb-v { font-family: var(--head); font-size: 19px; font-weight: 700; }
.tb-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.tb-steps li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tb-steps li::before { content: ""; display: block; height: 8px; border-radius: 4px; background: var(--line); }
.tb-steps li.is-done { color: var(--ink); }
.tb-steps li.is-done::before { background: var(--indigo); }
.tb-cols { display: flex; flex-wrap: wrap; gap: 28px; }
.tb-cols > div { flex: 1 1 340px; min-width: 0; }
.tb-journey-note { margin: 4px 0 0; }
.tb-events { list-style: none; margin: 16px 0 0; padding: 0; }
.tb-events li { position: relative; display: flex; gap: 14px; padding: 0 0 22px 30px; }
.tb-events li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--indigo); border: 3px solid var(--indigo); box-sizing: border-box; }
.tb-events li::after { content: ""; position: absolute; left: 7px; top: 21px; bottom: 0; width: 2px; background: var(--indigo); opacity: .35; }
.tb-events li:last-child { padding-bottom: 0; }
.tb-events li:last-child::after { display: none; }
.tb-events li.is-latest::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(217, 52, 43, .15); }
.tb-events li.is-latest .tb-ev b { color: var(--red-dark); }
.tb-events .tb-ev { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tb-events .tb-ev b { font-weight: 700; }
.tb-events time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.tb-dl { margin: 12px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--soft); }
.tb-dl div { padding: 12px 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.tb-dl dt { font-size: 12px; color: var(--muted); }
.tb-dl dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.tb-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; }
.tb-again { background: #fff; color: var(--indigo); border: 1px solid var(--indigo); border-radius: 8px; min-height: 44px; padding: 0 18px; font-family: var(--head); font-weight: 700; font-size: 15px; cursor: pointer; }
.tb-again:hover { background: var(--soft); }
.tb-hero .wrap { padding-bottom: 104px; }
.tb-hero p a { color: #fff; font-weight: 700; }
@media (max-width: 767px) {
  .tb-card { padding: 20px; }
  .tb-hero .wrap { padding-bottom: 80px; }
}
@media (max-width: 600px) {
  .tb-steps { gap: 4px; }
  .tb-steps li { font-size: 11px; }
  .tb-dl { grid-template-columns: minmax(0, 1fr); }
  .tb-submit { width: 100%; }
  .tb-field--pin { flex: 1 1 100%; }
}
