/* /travel-management — the Travel product page's own mock-ups (ADR-0088). Shared look: ../product.css. */
.tv-legs, .tv-rates, .tv-chain, .tv-away, .tv-settle { width: 270px; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 12px 30px rgba(16, 24, 40, .1); font-size: .8rem; color: #1d2433; }

/* 1 — legs */
.tv-leg { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed #e6e9f1;
  opacity: 0; transform: translateX(-8px); transition: opacity .45s, transform .45s; transition-delay: calc(var(--i) * .2s + .3s); }
.pp-card.in .tv-leg { opacity: 1; transform: none; }
.tv-leg b { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.tv-leg small { color: #8a93a4; font-size: .7rem; min-width: 42px; text-align: right; }
.tv-leg-line { position: relative; height: 18px; display: grid; place-items: center; }
.tv-leg-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed #b8c2d6; }
.tv-leg-line i { position: relative; background: #fff; padding: 0 4px; color: #0c64ae; --fa-primary-color: #0c64ae; --fa-secondary-color: #0c64ae; }
.tv-legs-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: #6b7487; }
.tv-legs-foot b { color: #0c64ae; font-size: .95rem; }

/* 2 — rates */
.tv-rate { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.tv-rate span:first-child { color: #6b7487; flex: 1; }
.tv-use { padding: 4px 10px; border-radius: 999px; background: #0c64ae; color: #fff; font-size: .7rem; font-weight: 600; animation: ppPulse 1.8s ease-in-out infinite; }
.tv-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #dcf3e5; color: #16a34a; font-size: .65rem; }
.tv-rate-sub { color: #8a93a4; font-size: .7rem; margin: -4px 0 6px; padding-bottom: 8px; border-bottom: 1px solid #eef0f4; }
.tv-warn { margin-top: 8px; display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; border-radius: 9px; background: #fff7e6; color: #92600a; font-size: .72rem; line-height: 1.4; }

/* 3 — approval chain */
.tv-chain-step { display: flex; align-items: center; gap: 10px; padding: 10px 0; position: relative;
  opacity: 0; transition: opacity .45s; transition-delay: calc(var(--i) * .35s + .3s); }
.pp-card.in .tv-chain-step { opacity: 1; }
.tv-chain-step:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 42px; bottom: -10px; width: 2px; background: #e6e9f1; }
.tv-chain-step.done:not(:last-child)::after { background: #bfe8cf; }
.tv-chain-step span:nth-child(2) { display: flex; flex-direction: column; }
.tv-chain-step small { color: #8a93a4; font-size: .7rem; }
.tv-chain-step > i { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #16a34a; color: #fff; display: grid; place-items: center; font-size: .6rem; }
.tv-chain-step .pp-dots { margin-left: auto; }

/* 4 — ticket + hotel */
.pp-card-art:has(.tv-ticket) { flex-direction: column; gap: 12px; }
.tv-ticket { width: 270px; display: flex; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 30px rgba(16, 24, 40, .12); }
.tv-ticket-main { flex: 1; padding: 14px 16px; background: linear-gradient(135deg, #0c64ae, #5b5bd6); color: #fff; }
.tv-ticket-main small { display: block; font-size: .68rem; opacity: .8; }
.tv-ticket-route { display: flex; align-items: center; justify-content: space-between; margin: 8px 0; font-size: 1.3rem; }
.tv-ticket-route b { font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.tv-ticket-route i { --fa-primary-color: #fff; --fa-secondary-color: #fff; }
.tv-ticket-stub { width: 64px; background: #fff; border-left: 2px dashed #d0d5e1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #dc2626; font-size: 1.3rem; }
.tv-ticket-stub small { font-size: .62rem; color: #6b7487; }
.tv-hotel { width: 270px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(16, 24, 40, .08); font-size: .78rem; }
.tv-hotel > i { font-size: 1.3rem; --fa-primary-color: #7c3aed; --fa-secondary-color: #7c3aed; }
.tv-hotel span:nth-child(2) { display: flex; flex-direction: column; }
.tv-hotel small { color: #8a93a4; font-size: .68rem; }
.tv-booked { margin-left: auto; padding: 3px 9px; border-radius: 999px; background: #e0f2e9; color: #15803d; font-size: .66rem; font-weight: 700; }

/* 5 — who's away */
.tv-away-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.tv-away-tabs span { padding: 5px 9px; border-radius: 7px; font-size: .68rem; color: #6b7487; }
.tv-away-tabs span.on { background: #eef5fd; color: #0c64ae; font-weight: 600; }
.tv-away-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f2f3f7;
  opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; transition-delay: calc(var(--i) * .15s + .3s); }
.pp-card.in .tv-away-row { opacity: 1; transform: none; }
.tv-away-row .pp-av { background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); }
.tv-away-row span:nth-child(2) { display: flex; flex-direction: column; }
.tv-away-row small { color: #8a93a4; font-size: .7rem; }
.tv-away-row > i { margin-left: auto; color: var(--c); --fa-primary-color: var(--c); --fa-secondary-color: var(--c); }

/* 6 — settle */
.tv-settle-row { display: flex; justify-content: space-between; padding: 6px 0; color: #6b7487; }
.tv-settle-row b { color: #1d2433; }
.tv-settle-bar { position: relative; height: 10px; border-radius: 999px; background: #eef0f4; margin: 12px 0; overflow: hidden; }
.tv-settle-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; width: 0; transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.tv-settle-bar .c { background: #f59e0b; transition-delay: .9s; }
.tv-settle-bar .a { background: #0c64ae; z-index: 1; transition-delay: .4s; }
.pp-card.in .tv-settle-bar .a { width: 75.7%; } .pp-card.in .tv-settle-bar .c { width: 100%; }
.tv-settle-out { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px dashed #d8dce5; }
.tv-settle-out b { color: #d97706; font-size: 1.1rem; }

/* walkthrough */
.tv-check { display: grid; gap: 8px; }
.tv-check-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid #e3e7ee; font-size: .82rem; }
.tv-check-row i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .6rem; color: #fff; flex: none; }
.tv-check-row.ok i { background: #16a34a; } .tv-check-row.warn i { background: #f59e0b; }
.pp-scene.on .tv-check-row { animation: ppRow .45s both; }
.pp-scene.on .tv-check-row:nth-child(2) { animation-delay: .25s; } .pp-scene.on .tv-check-row:nth-child(3) { animation-delay: .5s; }
.tv-verdict { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #eef5fd, #f3effd); font-size: .82rem; line-height: 1.45; max-width: 75%; }
.tv-verdict i { color: #5b5bd6; --fa-primary-color: #5b5bd6; --fa-secondary-color: #0c64ae; margin-top: 2px; }
.pp-scene.on .tv-verdict { animation: ppRow .5s .8s both; }
.tv-claim-head { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #eef0f4; margin-bottom: 4px; }
.tv-claim-head > i { font-size: 1.5rem; --fa-primary-color: #0f766e; --fa-secondary-color: #0f766e; }
.tv-claim-head small { display: block; color: #8a93a4; font-size: .74rem; }
.tv-claim-row { display: flex; justify-content: space-between; padding: 8px 2px; border-bottom: 1px solid #f2f3f7; font-size: .82rem; }
.pp-scene.on .tv-claim-row { animation: ppRow .45s both; animation-delay: calc(var(--i) * 110ms); }
.tv-claim .pp-total { flex-wrap: wrap; gap: 4px 12px; }
.tv-claim .pp-total b { color: #d97706; font-size: 1rem; }

@media (max-width: 640px) {
  .tv-verdict { max-width: 100%; }
  .pp-scene .pp-stamp { bottom: 8px; }
}
