/* =====================================================================
   Платформа FBT — поездка, заказ, возврат, обмен, заявки (pages/trip.js, pages/services.js)
   Только токены из :root v001. Префикс fl-.
   ===================================================================== */


/* раскладка: содержимое + липкая боковая колонка */
.fl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--pf-gap); align-items: start }
.fl-main { display: flex; flex-direction: column; gap: var(--pf-gap); min-width: 0 }
.fl-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; min-width: 0 }
.fl-order .pf-crumbs, .fl-flow .pf-crumbs, .fl-new .pf-crumbs { padding-top: 0 }

/* шапка поездки / заказа */
.fl-info-h { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap }
.fl-info-h > .pf-grow { flex: 1 1 320px }
.fl-info-h .pf-row:first-child { gap: 8px }
.fl-info-h .pf-h1 { margin-top: 10px }
.fl-f { display: flex; flex-direction: column; gap: 2px; min-width: 0; align-items: flex-start }
.fl-f > span { font-size: 12px; color: var(--text-2) }
.fl-f > b { font-weight: 500; font-size: 14px; overflow-wrap: anywhere }
.fl-f > b.ph { color: var(--text-3); font-weight: 400 }
.fl-f .pf-link { font-size: 12px; margin-top: 2px }
.fl-f.row { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 10px }
.fl-f.row > span { flex: 1 0 100% }
.fl-f.row .pf-link { margin-left: auto }
.fl-ids { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--text-2) }
.fl-ids > span { display: inline-flex; align-items: center; gap: 8px }
.fl-ids a { color: var(--text); text-decoration: none; font-weight: 500 } .fl-ids a:hover { color: var(--brand-ink) }
.fl-as { align-items: center } .fl-as .pf-link { margin-left: auto; flex: none }

/* решение согласующего */

/* карточка услуги */
.fl-oc { border: 1px solid var(--line-2); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); min-width: 0 }
.fl-oc.mini { padding: 0; border: 0 }
.fl-oc.mini > .fl-oc { border-color: var(--line-2) }
.fl-oc-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px }
.fl-oc-h > b { font-weight: 600 }
.fl-oc-i { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-light); color: var(--brand-ink); display: inline-grid; place-items: center; flex: none }
.fl-oc-no { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px }
.fl-oc-f { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2) }
.fl-oc-f b { font-size: 18px; font-weight: 600 }
.fl-oc-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; flex-wrap: wrap } .fl-oc-kv span { color: var(--text-2) } .fl-oc-kv b { font-weight: 500 }
.fl-oc-tk { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; color: var(--text-2) }
.fl-oc-tk .num { color: var(--text) }
.fl-oc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.fl-oc-grid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.fl-oc-grid span { font-size: 12px; color: var(--text-2) }
.fl-oc-grid b { font-weight: 500; font-size: 14px; overflow-wrap: anywhere }
.fl-oc-hotel { display: flex; gap: 12px; align-items: center }
.fl-oc-hotel img { width: 88px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--neutral) }
.fl-oc-hotel.big img { width: 132px; height: 96px; border-radius: 16px }
.fl-oc-hotel > div { display: flex; flex-direction: column; gap: 2px; min-width: 0 }
.fl-oc-tt { font-weight: 600; font-size: 16px }
.fl-oc-hotel .pf-muted { color: var(--text-2) }

/* сегмент перелёта / поезда */
.fl-segs { display: flex; flex-direction: column; gap: 12px }
.fl-seg { display: flex; gap: 12px; align-items: flex-start; min-width: 0 }
.fl-al { width: 40px; height: 40px; border-radius: 12px; font-size: 12px }
.fl-al.rail { display: grid; place-items: center; background: var(--info-light); color: var(--info); flex: none }
.fl-seg-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px }
.fl-seg-t { display: flex; align-items: center; gap: 12px; font-size: 18px }
.fl-seg-t b { font-weight: 600; white-space: nowrap }
.fl-seg-t sup { font-size: 12px; color: var(--warn); margin-left: 2px }
.fl-seg-line { flex: 1; max-width: 260px; display: flex; flex-direction: column; align-items: center; gap: 3px }
.fl-seg-line em { font-style: normal; font-size: 12px; color: var(--text-2); font-weight: 500; white-space: nowrap }
.fl-seg-line i { display: block; width: 100%; height: 1px; background: var(--line-3); position: relative }
.fl-seg-line i::before, .fl-seg-line i::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--line-3) }
.fl-seg-line i::before { left: 0 } .fl-seg-line i::after { right: 0 }
.fl-seg-c { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--text-2); max-width: 420px }
.fl-seg-c code { font: 600 12px/16px var(--font); color: var(--text-3) }
.fl-seg-s { font-size: 12px; color: var(--text-2) }
.fl-leg { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-2) }
.fl-leg:first-of-type { border-top: 0; padding-top: 0 }
.fl-leg-h { font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em }

/* условия тарифа */
.fl-fts { display: flex; flex-wrap: wrap; gap: 6px }
.fl-fts.col { flex-direction: column; align-items: flex-start }
.fl-ft { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 8px; background: var(--neutral); color: var(--text-2); font-size: 12px; font-weight: 500; white-space: nowrap }
.fl-ft .ico { width: 14px; height: 14px }
.fl-ft.ok { background: var(--brand-light); color: var(--brand-ink) }
.fl-ft.no { background: var(--neg-light); color: var(--neg-ink) }

/* пустые места и кросс-продажа отелей */

/* доп. услуги, полезно в поездке */

/* история */

/* боковая колонка поездки */
.fl-grid .pf-sum span small { display: block; font-size: 12px; color: var(--text-3) }
.fl-docs { display: flex; flex-direction: column; gap: 2px; margin: 0 -8px }
.fl-doc { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; text-align: left; font-size: 14px; color: var(--text) }
.fl-doc span { flex: 1; min-width: 0 }
.fl-doc .ico { color: var(--text-2) } .fl-doc .ico:last-child { color: var(--brand-ink) }
.fl-doc:hover { background: var(--surface-2) }
.fl-pays { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-2) }
.fl-pays > div { display: flex; gap: 6px; align-items: center } .fl-pays .ico { color: var(--brand) }

/* список сотрудников в модалках/формах */
.fl-pick { display: flex; flex-direction: column; max-height: 300px; overflow: auto; margin: 0 -6px }

/* шаги «как это работает / что дальше» */
.fl-steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px }
.fl-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; font-size: 14px }
.fl-steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-light); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; font-size: 12px }
.fl-steps b { font-weight: 600 } .fl-steps span { color: var(--text-2); font-size: 14px }

/* заказ: пассажиры */
.fl-people { display: flex; flex-direction: column }
.fl-person { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); flex-wrap: wrap }
.fl-person:first-child { border-top: 0; padding-top: 0 }
.fl-person > div { display: flex; flex-direction: column; min-width: 0 }
.fl-person b { font-weight: 600 } .fl-person small { color: var(--text-2); font-size: 12px }
.fl-tk { text-align: right } .fl-tk small { display: block }
.fl-menu { display: flex; flex-direction: column }

/* возврат и обмен: шаги */
.fl-step-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.fl-step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--surface); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none }
.pf-rds.two { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.pf-rd.dis { opacity: .5; cursor: default }
.fl-reasons { padding-top: 4px }
.fl-checks { display: flex; flex-direction: column; gap: 4px }
.fl-file { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: var(--r-ctl); border: 1.5px dashed var(--line-3); color: var(--text-2); font-size: 14px; cursor: pointer; max-width: 100%; overflow: hidden }
.fl-file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.fl-file:hover { border-color: var(--brand); color: var(--brand-ink) }
.fl-file.err { border-color: var(--neg) }
.fl-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer }
.fl-calc .pf-tbl small { max-width: 44ch }
.fl-date { min-width: 200px; flex: 1 1 200px }
.fl-xo { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); flex-wrap: wrap }
.fl-xo:first-of-type { border-top: 0 }
.fl-xo > .fl-seg { flex: 1 1 320px }
.fl-xo-p { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; min-width: 180px }
.fl-xo-p b { font-size: 18px; font-weight: 600 } .fl-xo-p small { font-size: 12px; color: var(--text-2); max-width: 240px }
.fl-xo-p .btn { margin-top: 6px }
.fl-xc { display: flex; flex-direction: column; gap: 12px }
.fl-xc > div { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: var(--surface-2) }

/* итоговый экран */
.fl-done { align-items: center; text-align: center; padding: 40px 24px }
.fl-done .pf-sub { max-width: 60ch }
.fl-done-i { width: 64px; height: 64px; border-radius: 22px; background: var(--brand-light); color: var(--brand-ink); display: grid; place-items: center }
.fl-done .pf-row { justify-content: center }
.fl-done .fl-oc { text-align: left; width: min(640px, 100%) }
.fl-track { list-style: none; margin: 4px 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center }
.fl-track li { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 10px 36px; border-radius: 14px; background: var(--surface-2); text-align: left; position: relative; font-size: 14px; min-width: 170px }
.fl-track li::before { content: ""; position: absolute; left: 12px; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--line-3) }
.fl-track li.ok::before { background: var(--brand) }
.fl-track b { font-weight: 600 } .fl-track span { color: var(--text-2); font-size: 12px }

/* заявки */

/* мероприятия: шапка в духе главной */

/* адаптив */
@media (max-width: 1100px) {
  .fl-grid { grid-template-columns: minmax(0, 1fr) 320px }
  .fl-oc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 900px) {
  .fl-grid { grid-template-columns: 1fr }
  .fl-aside { position: static }
}
@media (max-width: 760px) {
  .pf-rds.two { grid-template-columns: 1fr }
  .fl-oc { padding: 14px; border-radius: 16px }
  .fl-seg-t { font-size: 16px; gap: 8px }
  .fl-info-h .pf-row:last-child { width: 100% } .fl-info-h .pf-row:last-child .btn { flex: 1 }
  .fl-xo-p { align-items: stretch; text-align: left; width: 100% } .fl-xo-p small { max-width: none }
  .fl-tk { text-align: left; width: 100%; padding-left: 48px }
  .fl-done { padding: 28px 16px }
  .fl-track li { min-width: 0; width: 100% }
  .fl-oc-hotel.big img { width: 96px; height: 72px }
}

/* =====================================================================
   Страница поездки — по b2b-fbt pages/trip-detail (TripDetailPage 1fr + 322px,
   TripDraftInfoCard, TripDraftComposition с колонкой дат 91px, карточки заказов,
   TripDraftSidebar). Префикс tp-. Только токены темы.
   ===================================================================== */
.tp-crumbs.pf-crumbs { margin-bottom: 0 } /* до карточки — 24 px отступа .tp-body, как в проде */
.tp-body { padding-top: 24px; padding-bottom: 64px }
.tp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 322px; gap: 24px; align-items: start }
.tp-main, .tp-aside { display: flex; flex-direction: column; gap: 24px; min-width: 0 }
.tp-muted { color: var(--text-2); font-size: 14px; line-height: 20px; margin: 0 }
.tp-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap } .tp-row.sp { justify-content: space-between }

/* статусы: TripStatusBadges / TripOrderStatusBadge */
.tp-chip { display: inline-flex; align-items: center; height: 24px; max-width: 100%; padding: 4px 6px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0 }
.tp-chip.warning { background: var(--warn-light); color: var(--warn) }
.tp-chip.success { background: var(--brand-light); color: var(--brand-ink) }
.tp-chip.info { background: var(--info-light); color: var(--info) }
.tp-chip.negative, .tp-chip.error { background: var(--neg-light); color: var(--neg-ink) }
.tp-chip.default { background: var(--neutral); color: var(--text-2) }

/* кнопки */
.tp-btn-o { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; white-space: nowrap }
.tp-btn-o:hover { background: var(--surface-2) }
.tp-btn-o.sm { height: 32px; padding: 0 16px }
.tp-btn-o .short { display: none }
.tp-btn-g { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; padding: 0 24px; border-radius: 16px; background: var(--brand); color: #fff; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none }
.tp-btn-g:hover { background: var(--brand-hover) }
.tp-btn-g.round, .tp-btn-rej.round, .tp-btn-red.round { border-radius: 999px }
.tp-btn-rej { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border: 1px solid color-mix(in srgb, var(--neg) 35%, transparent); background: var(--surface); color: var(--neg-ink); font-size: 16px; font-weight: 600 }
.tp-btn-rej:hover { background: var(--neg-light) }
.tp-btn-red { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; background: var(--neg-ink); color: #fff; font-size: 16px; font-weight: 600 }
.tp-btn-ghost { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 600 }
.tp-btn-ghost:hover { background: var(--surface-2) }
.tp-btn-n { display: flex; align-items: center; justify-content: center; width: 100%; height: 36px; padding: 0 12px; border-radius: 8px; background: var(--neutral); color: var(--text); font-size: 14px; line-height: 18px; font-weight: 600 }
.tp-btn-n:hover { background: var(--neutral-hover) }
.tp-link { color: var(--brand-ink); font-size: 16px; line-height: 24px; font-weight: 600; text-align: left }
.tp-copy, .tp-iconb { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--text-2); flex-shrink: 0 }
.tp-copy:hover { color: var(--text) }
.tp-iconb { border: 1px solid var(--line-2) } .tp-iconb:hover { background: var(--surface-2) }

/* карточка поездки (TripDraftInfoCard) */
.tp-info { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden }
.tp-info-h { display: flex; flex-direction: column; gap: 16px; padding: 16px 24px 24px; border-bottom: 1px solid var(--line-2) }
.tp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px }
.tp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0 }
.tp-acts { display: flex; align-items: center; gap: 8px; flex-shrink: 0 }
.tp-hero { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px }
.tp-cover { position: relative; width: 84px; height: 84px; flex-shrink: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line-2); background: linear-gradient(135deg, #ddeaf8 0%, #edf6e8 100%) }
.tp-cover img { display: block; width: 100%; height: 100%; object-fit: cover }
.tp-cover.date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface-2) }
.tp-cover.date span { font-size: 10px; line-height: 12px; font-weight: 500; color: var(--text-2); text-transform: uppercase }
.tp-cover.date b { font-size: 24px; line-height: 32px; font-weight: 600 }
.tp-hero-t { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0 }
.tp-meta-l { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; line-height: 20px; color: var(--text-2) }
.tp-hero-t h1 { margin: 0; font-size: 28px; line-height: 36px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tp-route-l { margin: 0; font-size: 16px; line-height: 24px; color: var(--text-2); overflow-wrap: anywhere }
.tp-fields { display: flex; flex-direction: column; gap: 16px; padding: 24px }
.tp-field { display: grid; grid-template-columns: 10rem minmax(0, 1fr); column-gap: 12px; align-items: baseline; min-width: 0 }
.tp-field > span { font-size: 16px; line-height: 24px; font-weight: 500 }
.tp-field > p { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); overflow-wrap: anywhere }

/* состав поездки (TripDraftComposition) */
.tp-comp { display: flex; flex-direction: column; gap: 24px }
.tp-comp h2 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600 }
.tp-secs { display: flex; flex-direction: column; gap: 24px }
.tp-sec-r { display: flex; align-items: flex-start; gap: 18px }
.tp-date { display: flex; flex-direction: column; gap: 2px; width: 91px; flex-shrink: 0; padding-top: 16px }
.tp-date span { font-size: 14px; line-height: 20px; color: var(--text-2) }
.tp-date b { font-size: 14px; line-height: 20px; font-weight: 600 }
.tp-card { flex: 1 1 auto; min-width: 0; max-width: 845px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface) }
.tp-oh { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 24px 20px; border-bottom: 1px solid var(--line-2) }
.tp-oh-l { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; flex: 1 }
.tp-oi { display: inline-grid; place-items: center; color: var(--text); flex-shrink: 0 }
.tp-oi .ico { width: 24px; height: 24px }
.tp-oh-n { font-size: 14px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.tp-oh-n.big { font-size: 16px; line-height: 24px }
.tp-oh-l .tp-copy { margin: -8px -4px }
.tp-oh-t { font-size: 16px; line-height: 24px; font-weight: 600; min-width: 0 }
.tp-ob { display: flex; flex-direction: column; gap: 16px; padding: 24px }
.tp-route { display: flex; align-items: center; gap: 12px; min-width: 0 }
.tp-route p { margin: 0; font-size: 16px; line-height: 28px }
.tp-route b { font-weight: 600 } .tp-route span { color: var(--text-2); margin-left: 4px } .tp-route i { font-style: normal; color: var(--text-2); margin: 0 4px }
.tp-logo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); flex-shrink: 0 }
.tp-logo.al { background: var(--al); border-color: transparent; color: #fff; font-size: 12px; font-weight: 700 }
.tp-sec { font-size: 14px; line-height: 20px; color: var(--text-2) }
.tp-meta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 40px }
.tp-meta > div { display: flex; flex-direction: column; gap: 4px; min-width: 120px }
.tp-meta p { margin: 0; font-size: 14px; line-height: 20px }
.tp-meta p b { font-weight: 600 }
.tp-meta small { font-size: 12px; line-height: 16px; color: var(--text-2) }
.tp-meta > .r { margin-left: auto; text-align: right }
.tp-hotel .tp-meta > div { min-width: 72px }
.tp-warnbox { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--warn-light) }
.tp-wb-t { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 24px; font-weight: 500; color: var(--warn) }
.tp-wb-t .ico { width: 16px; height: 16px }
.tp-infobox { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--info-light) }
.tp-infobox p { margin: 0; text-align: center; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--info) }
.tp-infobox p b { font-weight: 600 }
.tp-hotel { display: flex; gap: 16px }
.tp-hotel > img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--surface-2) }
.tp-h-b { display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0 }
.tp-h-b > div:first-child { display: flex; flex-direction: column; gap: 4px }
.tp-h-b > div:first-child b { font-size: 16px; line-height: 24px; font-weight: 600 }
.tp-h-b > div:first-child span { font-size: 16px; line-height: 24px; color: var(--text-2) }
.tp-greybox { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 14px; line-height: 20px }
.tp-greybox b { font-weight: 600 } .tp-greybox span { color: var(--text-2) }

/* боковая колонка (TripDraftSidebar) */
.tp-side-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface) }
.tp-side-card.pad { gap: 16px; padding: 24px }
.tp-side-card h3 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600 }
.tp-side-stack { display: flex; flex-direction: column; gap: 12px }
.tp-pc-h { padding: 16px 24px; border-bottom: 1px solid var(--line-2); font-size: 16px; line-height: 24px; font-weight: 600 }
.tp-pc-l { list-style: none; margin: 0; padding: 16px 24px; display: flex; flex-direction: column }
.tp-pc-l li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; line-height: 20px }
.tp-pc-l li span { color: var(--text-2) } .tp-pc-l li b { font-weight: 400; white-space: nowrap }
.tp-pc-f { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line-2); font-size: 16px; line-height: 24px; font-weight: 600 }
.tp-pc-f:first-child { border-top: 0; border-bottom: 1px solid var(--line-2) } .tp-pc-f:first-child + .tp-pc-f { border-top: 0 }
.tp-pc-f p { margin: 0 }
.tp-hint { margin: 0; text-align: center; font-size: 14px; line-height: 20px; color: var(--text-2) }
.tp-apr { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px }
.tp-apr li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px }
.tp-apr li > div { min-width: 0; flex: 1 }
.tp-apr p { margin: 0; font-size: 14px; line-height: 20px } .tp-apr small { font-size: 12px; line-height: 16px; color: var(--text-2) }
.tp-apr-s { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; flex-shrink: 0 }
.tp-apr-s.pending { background: var(--warn-light); color: var(--warn) }
.tp-apr-s.approved { background: var(--brand-light); color: var(--brand-ink) }
.tp-apr-s.rejected { background: var(--neg-light); color: var(--neg-ink) }
.tp-apr-s.timeout { background: var(--neutral); color: var(--text-2) }
.tp-dec { gap: 12px }
.tp-dec-a, .tp-dec-f { display: flex; flex-direction: column; gap: 12px }
.tp-dec-f label { display: flex; flex-direction: column; gap: 8px }
.tp-dec-f label span { font-size: 14px; line-height: 20px; font-weight: 500 }
.tp-dec-f textarea { width: 100%; resize: none; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); padding: 8px 12px; font: inherit; font-size: 14px; line-height: 20px; color: var(--text); outline: 0 }
.tp-dec-f textarea:focus { border-color: var(--brand) } .tp-dec-f textarea.err { border-color: var(--neg) }
.tp-svc { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px }
.tp-svc b { font-size: 14px; line-height: 20px; font-weight: 600 }
.tp-svc .ico { width: 24px; height: 24px; color: var(--text-2) }
.tp-svc small { font-size: 12px; line-height: 16px; color: var(--text-2) }
.tp-paid .tp-pl small { font-size: 12px; line-height: 16px; color: var(--text-2) }
.tp-paid .tp-pl p { margin: 0; font-size: 14px; line-height: 20px }
.tp-paid .tp-pl b, .tp-pt b { font-size: 14px; font-weight: 600; white-space: nowrap }
.tp-pt { padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 16px; font-weight: 600 }
.tp-pt p { margin: 0 } .tp-pt b { font-size: 16px }
.tp-docs { display: flex; flex-direction: column }
.tp-doc { display: flex; align-items: center; gap: 10px; padding: 12px 24px; border-top: 1px solid var(--line-2); font-size: 14px; line-height: 20px; text-align: left; color: var(--text) }
.tp-doc:first-child { border-top: 0 } .tp-doc:hover { background: var(--surface-2) }
.tp-doc span { flex: 1; min-width: 0 } .tp-doc .ico { color: var(--text-2) }

@media (max-width: 1279px) {
  .tp-comp, .tp-secs { gap: 16px }
  .tp-sec-r { flex-direction: column; gap: 8px }
  .tp-date { width: 100%; padding-top: 0 }
  .tp-date span { font-size: 12px; line-height: 16px } .tp-date b { font-size: 16px; line-height: 24px }
  .tp-card { max-width: none; width: 100% }
}
@media (max-width: 1120px) {
  .tp-body { padding-top: 16px; padding-bottom: 24px }
  .tp-main, .tp-aside { gap: 16px }
  .tp-layout { grid-template-columns: minmax(0, 1fr); gap: 16px }
  .tp-btn-o .full { display: none } .tp-btn-o .short { display: inline }
  .tp-info-h, .tp-fields { padding: 16px }
  .tp-toolbar { flex-direction: column; align-items: stretch }
  .tp-acts { width: 100% } .tp-acts > .tp-btn-o { flex: 1 1 0 }
  .tp-hero-t h1 { font-size: 20px; line-height: 28px; white-space: normal }
  .tp-field { grid-template-columns: minmax(0, 1fr); row-gap: 4px }
}
@media (max-width: 760px) {
  .tp-oh, .tp-ob { padding: 16px }
  .tp-oh { align-items: flex-start }
  .tp-meta { gap: 12px 24px } .tp-meta > div { min-width: 0; flex: 1 1 40% } .tp-meta > .r { margin-left: 0; text-align: left }
  .tp-route p { font-size: 16px; line-height: 22px }
  .tp-hotel { flex-direction: column }
}
