/* ── Track a return: result ───────── */
.pt-card { text-align: left; margin-bottom: 20px; overflow: hidden; }
.pt-head { padding: 16px 20px 12px; border-bottom: 1px solid var(--cp-border); }
.pt-title { font-size: 18px; font-weight: 800; margin: 0; overflow-wrap: anywhere; }
.pt-sub { font-size: 13px; color: var(--cp-muted); margin-top: 2px; overflow-wrap: anywhere; }
.pt-body { padding: 16px 20px 20px; }
.pt-rows { margin: 0 0 6px; display: flex; flex-direction: column; }
.pt-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--cp-border); font-size: 13.5px; }
.pt-row:last-child { border-bottom: none; }
.pt-row dt { color: var(--cp-muted); font-weight: 600; }
.pt-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pt-mono { font-family: 'JetBrains Mono', monospace; }
.pt-h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cp-muted); margin: 18px 0 8px; }
.pt-text { margin: 0; font-size: 14px; }
.pt-muted { margin: 4px 0 0; font-size: 12.5px; color: var(--cp-muted); line-height: 1.5; }
.pt-pending { display: inline-block; margin: 0; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--cp-primary-lt); color: var(--cp-primary); }
.pt-notice { margin: 10px 0 0; font-size: 12.5px; background: var(--amber-bg); color: var(--amber-text); border-radius: var(--cp-radius); padding: 8px 10px; }

.pt-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.pt-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 11.5px; color: var(--cp-muted); }
.pt-step::before { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 2px; background: var(--cp-border); z-index: 0; }
.pt-step:first-child::before { display: none; }
.pt-step--done::before, .pt-step--current::before { background: var(--cp-primary); }
.pt-dot { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cp-border); background: var(--cp-card); display: flex; align-items: center; justify-content: center; color: var(--cp-card); }
.pt-step--done .pt-dot { background: var(--cp-primary); border-color: var(--cp-primary); }
.pt-step--current .pt-dot { border-color: var(--cp-primary); box-shadow: 0 0 0 4px var(--orange-a15); }
.pt-step--current .pt-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cp-primary); }
.pt-step--current { color: var(--cp-text); font-weight: 700; }
.pt-step--done { color: var(--cp-text); }

.pt-verify { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--cp-border); }
.pt-verify .cp-input { margin-top: 8px; }
.pt-stage-state { font-size: 9px; color: var(--cp-muted); }
.pt-step--na, .pt-step--unrecorded { color: var(--cp-muted); }
.pt-step--na .pt-dot, .pt-step--unrecorded .pt-dot { border-style: dashed; background: var(--cp-card); }

.pt-card .cp-btn:focus-visible, .pt-card input:focus-visible, .cp-track-actions .cp-btn:focus-visible { outline: 2px solid var(--cp-primary); outline-offset: 2px; }

@media (max-width: 560px) {
  .pt-head { padding: 14px 16px 10px; }
  .pt-body { padding: 14px 16px 18px; }
  .pt-row { grid-template-columns: 1fr; gap: 2px; }
  .pt-timeline { grid-template-columns: 1fr; gap: 0; }
  .pt-step { flex-direction: row; text-align: left; gap: 10px; padding: 6px 0; font-size: 13px; }
  .pt-step::before { top: auto; bottom: 50%; right: auto; left: 10px; width: 2px; height: 100%; transform: translateY(-11px); }
  .rf-row .cp-btn { flex: 1 1 100%; justify-content: center; }
  .cp-track-actions { flex-direction: column; }
  .cp-track-actions .cp-btn { width: 100%; }
}
