/* «Где мой заказ?» (21.10.2026): форма слева, результат справа (≤900 — друг под другом). */
.rp-ost__layout { display: grid; grid-template-columns: minmax(0, 420px); gap: 24px; align-items: start; }
.rp-ost__layout.has-result { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
.rp-ost__form { border: 1px solid #e0e7f2; border-radius: var(--rp-radius-control); padding: 24px; display: flex; flex-direction: column; gap: 16px; background: #fbfcff; }
.rp-ost__form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 650; color: #253653; }
.rp-ost__form input { width: 100%; border: 1px solid #cdd9e9; border-radius: var(--rp-radius-control); padding: 13px; font-size: 16px; background: #fff; color: var(--ink); }
.rp-ost__form input:focus { border-color: var(--blue); outline: 3px solid #005bff22; }
.rp-ost__form .rp2-primary { width: 100%; }
.rp2 .rp-ost__hint { font-size: 14px; line-height: 1.55; color: #6b7b92; margin: 0; }
.rp2 .rp-ost__error { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px; border: 1px solid #f3c2cb; background: #fff5f7; color: #b4233c; font-size: 14px; line-height: 1.5; border-radius: var(--rp-radius-control); }
.rp-ost__error svg { flex: none; margin-top: 1px; }
.rp-ost__card { border: 1px solid #e0e7f2; border-radius: var(--rp-radius-control); padding: 26px; box-shadow: 0 11px 30px #1a42710d; background: #fff; outline: none; }
.rp-ost__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.rp2 .rp-ost__head h2 { margin: 0 0 4px; font-size: 26px; }
.rp-ost__head span { color: #6b7b92; font-size: 15px; }
.rp-ost__badge { background: #eef5ff; color: #1d4fa8; font-size: 14px; font-weight: 750; padding: 7px 11px; border-radius: var(--rp-radius-control); white-space: nowrap; }
.rp-ost__badge.is-bad { background: #fff1f3; color: #c2253f; }
.rp-ost__steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; }
.rp-ost__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; font-weight: 650; color: #8a97ab; }
.rp-ost__steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: #e1e8f2; z-index: 0; }
.rp-ost__steps li:first-child::before { display: none; }
.rp-ost__steps li.is-done::before, .rp-ost__steps li.is-current::before { background: var(--blue); }
.rp-ost__steps i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: #fff; border: 2px solid #d6dfec; color: #8a97ab; font-size: 13px; font-weight: 800; }
.rp-ost__steps li.is-done { color: #253653; }
.rp-ost__steps li.is-done i { background: var(--blue); border-color: var(--blue); color: #fff; }
.rp-ost__steps li.is-current { color: var(--blue); }
.rp-ost__steps li.is-current i { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 5px #005bff1f; }
.rp2 .rp-ost__note { font-size: 14px; line-height: 1.55; color: #5b6d87; background: #f6f9fe; border-radius: var(--rp-radius-control); padding: 11px 13px; margin: 0 0 18px; }
.rp2 .rp-ost__note.is-bad { background: #fff5f7; color: #b4233c; }
.rp-ost__facts { margin: 0 0 6px; }
.rp-ost__facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid #edf1f7; font-size: 15px; }
.rp-ost__facts dt { color: #66768c; }
.rp-ost__facts dd { margin: 0; color: #253653; font-weight: 600; line-height: 1.5; }
.rp-ost__facts small { display: block; color: #66778e; font-weight: 500; font-size: 14px; margin-top: 4px; }
.rp-ost__facts a { color: var(--blue); }
.rp-ost__pay.is-ok { color: #13804a; }
.rp-ost__pay.is-wait { color: #b26a00; }
.rp-ost__track { display: block; margin-top: 4px; font-weight: 500; }
.rp-ost__track b { font-weight: 800; letter-spacing: .02em; user-select: all; }
.rp-ost__track a { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.rp2 .rp-ost__subtitle { font-size: 17px; margin: 18px 0 6px; }
.rp-ost__items { list-style: none; margin: 0; padding: 0; }
.rp-ost__items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #f0f3f8; font-size: 14px; line-height: 1.45; }
.rp-ost__items em { font-style: normal; color: #6b7b92; white-space: nowrap; }
.rp-ost__items b { white-space: nowrap; }
.rp-ost__total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 4px; font-size: 16px; }
.rp-ost__total strong { font-size: 24px; }
.rp-ost__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 900px) { .rp-ost__layout.has-result { grid-template-columns: minmax(0, 1fr); } .rp-ost__layout.has-result .rp-ost__form { order: 2; } }
@media (max-width: 560px) {
    .rp-ost__card { padding: 18px 15px; }
    .rp-ost__steps li { font-size: 11px; }
    .rp-ost__steps li:not(.is-current) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .rp-ost__steps li.is-current span { white-space: nowrap; }
    .rp-ost__steps li:first-child.is-current { align-items: flex-start; } .rp-ost__steps li:last-child.is-current { align-items: flex-end; }
    .rp-ost__steps i { width: 28px; height: 28px; }
    .rp-ost__steps li::before { top: 13px; }
    .rp-ost__facts > div { grid-template-columns: 1fr; gap: 3px; }
    .rp-ost__track a { margin: 4px 0 0; display: flex; }
    .rp-ost__items li { grid-template-columns: minmax(0, 1fr) auto; }
    .rp-ost__items em { grid-column: 1; grid-row: 2; }
    .rp-ost__items b { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
    .rp-ost__actions > * { flex: 1 1 100%; }
}
.rp-ost__items li > span a { color: inherit; }
.rp-ost__items li > span a:hover { color: var(--blue); }
.rp-ost__items a.rp-ost__rate { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; color: var(--blue); font-weight: 700; font-size: 13px; white-space: nowrap; }
