.trk__title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -0.01em; }
.trk__title em { font-style: italic; font-weight: 400; color: var(--rose-deep); }
.trk__intro { margin: 6px 0 var(--sp-title); font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.trk__intro:empty { display: none; }

.trk__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; margin: 0 0 18px; }
.trk__card:last-child { margin-bottom: 0; }
.trk__h { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: 19px; line-height: 1.2; }
.trk__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.trk__note { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); }


.trk__alert { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #E7B5AC; border-radius: var(--r-card); background: var(--err-bg); color: #8A3326; font-size: 13.5px; line-height: 1.5; }

.trk__form { margin-top: 18px; }
.trk__f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.trk__f label { font-size: 14px; font-weight: 500; color: var(--ink); }
.trk__submit { width: 100%; }
.trk__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.trk__again { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.trk__again a { color: var(--rose-deep); }

.trk__grid { display: grid; grid-template-columns: 1fr; gap: 0 22px; align-items: start; }
.trk__col { min-width: 0; }
@media (min-width: 1100px) {
  .trk__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .trk__grid--one { grid-template-columns: 1fr; }
}
.trk__head { background: var(--rose-mist); border-color: var(--rose-soft); }
.trk__head--ok { background: var(--ok-bg); border-color: #BFE3D2; }
.trk__head--off,
.trk__head--wait { background: #fff; }
.trk__order { margin: 0 0 6px; font-size: 13px; color: var(--ink-mute); }
.trk__status { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.2; }

.trk__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 26px 24px; }
.trk__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.trk__step::before { content: ""; position: absolute; top: 9px; right: 50%; width: 100%; height: 2px; background: var(--rose-soft); }
.trk__step:first-child::before { display: none; }
.trk__step.is-done::before,
.trk__step.is-current::before { background: var(--rose); }
.trk__dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: var(--r-round); background: #fff; border: 2px solid var(--rose-soft); }
.trk__step.is-done .trk__dot { background: var(--rose); border-color: var(--rose); }
.trk__step.is-current .trk__dot { background: #fff; border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-mist); }
.trk__step-body { display: flex; flex-direction: column; gap: 2px; }
.trk__step-label { font-size: 14px; font-weight: 500; color: var(--ink); }
.trk__step.is-todo .trk__step-label { color: var(--ink-mute); font-weight: 400; }
.trk__step-date { font-size: 12.5px; color: var(--ink-mute); }

.trk__details { display: flex; flex-direction: column; }
.trk__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.trk__row:first-child { padding-top: 0; }
.trk__k { color: var(--ink-mute); }
.trk__v { color: var(--ink); text-align: right; }
.trk__num { display: inline-flex; align-items: center; gap: 12px; }
.trk__num [data-trk-num] { letter-spacing: 1px; }
.trk__go { margin-top: 18px; align-self: flex-start; }

.trk__help { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; background: var(--rose-mist); border-color: var(--rose-soft); }
.trk__help .trk__h { margin-bottom: 4px; }

.trk__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.trk__li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-card); }
.trk__li-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.trk__li-num { white-space: nowrap; font-size: 14px; font-weight: 500; }
.trk__li-sub { font-size: 12.5px; color: var(--ink-mute); }
.trk__pill { padding: 4px 10px; border-radius: var(--r-round); background: var(--rose-mist); color: var(--rose-ink); font-size: 12.5px; white-space: nowrap; }
.trk__pill--ok { background: var(--ok-bg); color: var(--ok); }
.trk__pill--off { background: var(--err-bg); color: var(--err); }

@media (max-width: 640px) {
  .trk__f label { font-size: 13px; }
  .trk__card { padding: 18px; }
  .trk__steps { grid-template-columns: 1fr; gap: 0; padding: 20px 18px; }
  .trk__step { flex-direction: row; align-items: flex-start; gap: 14px; text-align: left; padding-bottom: 20px; }
  .trk__step:last-child { padding-bottom: 0; }
  .trk__step::before { top: 20px; right: auto; left: 9px; width: 2px; height: 100%; }
  .trk__step:first-child::before { display: block; }
  .trk__step:first-child::before { top: 20px; }
  .trk__step:last-child::before { display: none; }
  .trk__step.is-todo::before { background: var(--rose-soft); }
  .trk__step.is-current::before { background: var(--rose-soft); }
  .trk__step-body { padding-top: 1px; }
  .trk__help { align-items: stretch; }
  .trk__help .btn { width: 100%; }
  .trk__li { flex-wrap: wrap; }
  .trk__li .btn { width: 100%; order: 3; }
  .trk__row { flex-wrap: wrap; }
  .trk__go { align-self: stretch; }
}
