/* Itinerary builder: extends /trip-watch/tw.css */
#it-app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.it-landing { background: #0b2233; }
body.it-landing #it-app { max-width: none; }
.it-chip { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1.5px solid var(--tw-line); border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; margin: 0 0 14px; }
.it-chip button { background: none; border: 0; color: var(--tw-blue); font: inherit; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }
.it-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.it-step { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 14px 0; }
.it-step button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--tw-line); background: #fff; font-size: 1.3rem; cursor: pointer; }
.it-step b { font-size: 1.6rem; min-width: 90px; text-align: center; }
.it-sum { background: #fff; border: 1.5px solid var(--tw-line); border-radius: 14px; padding: 16px; margin: 0 0 14px; }
.it-sum h2 { font-size: 1.25rem; margin: 0 0 4px; line-height: 1.25; }
.it-sum p { margin: 4px 0 0; color: var(--tw-mute); font-size: .92rem; }
.it-stays { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.it-stays span { background: #e3f1fb; color: #135c84; border-radius: 999px; padding: 3px 10px; font-size: .8rem; font-weight: 700; }
.it-day { background: #fff; border: 1.5px solid var(--tw-line); border-radius: 14px; padding: 14px 16px; margin: 0 0 10px; }
.it-day h3 { margin: 0 0 2px; font-size: 1.02rem; line-height: 1.3; }
.it-day .it-n { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--tw-blue); }
.it-day .it-move { display: inline-block; font-size: .75rem; font-weight: 700; background: #fdf0dc; color: #8a5300; border-radius: 999px; padding: 2px 8px; margin-left: 6px; }
.it-day p { margin: 4px 0 8px; color: #33475a; font-size: .93rem; }
.it-stops { list-style: none; padding: 0; margin: 0; }
.it-stops li { border-top: 1px solid #eef2f5; padding: 8px 0; font-size: .9rem; }
.it-stops li b { display: block; }
.it-stops small { color: var(--tw-mute); }
.it-res { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 700; color: #8a5300; background: #fdf0dc; border-radius: 6px; padding: 2px 6px; text-decoration: none; }
.it-drive { font-size: .82rem; color: var(--tw-mute); margin-top: 6px; }
.it-locked { position: relative; }
.it-locked .it-day { filter: blur(3px); user-select: none; pointer-events: none; padding: 12px 16px; }
.it-locked .it-day p, .it-locked .it-stops { display: none; }
.it-gate { position: relative; margin: -40px 0 14px; background: #fff; border: 2px solid var(--tw-go); border-radius: 16px; padding: 18px 16px; box-shadow: 0 10px 30px rgba(15,29,43,.12); }
.it-gate h3 { margin: 0 0 4px; font-size: 1.15rem; }
.it-gate p { margin: 0 0 10px; color: var(--tw-mute); font-size: .9rem; }
.it-book li { margin: 0 0 8px; font-size: .9rem; }
.it-tw { background: #0b2233; color: #fff; border-radius: 16px; padding: 18px 16px; margin: 16px 0; }
.it-tw p { margin: 4px 0 12px; opacity: .85; font-size: .92rem; }
.it-tw .tw-next { background: #1a8fc4; box-shadow: none; }
.it-ok { background: #d9f5e8; color: #11643f; border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .9rem; margin: 0 0 12px; }
.it-isl small { display: block; }
.it-gate-flat { margin: 6px 0 14px; }
.it-pdf { width: 720px; padding: 8px; font: 13px/1.45 Inter, Arial, sans-serif; color: #1c2b39; background: #fff; }
.it-pdf h1 { font-size: 24px; margin: 0 0 4px; color: #0b2233; }
.it-pdf-sub { color: #4b5d6e; margin: 0 0 14px; }
.it-pdf-day { border-top: 2px solid #F7941D; padding: 8px 0 4px; page-break-inside: avoid; }
.it-pdf-day h2 { font-size: 16px; margin: 0 0 4px; color: #1a8fc4; }
.it-pdf-day ul { margin: 4px 0 6px; padding-left: 18px; } .it-pdf-day li { margin: 0 0 4px; }
.it-pdf-foot { color: #6c7a88; font-size: 11px; margin-top: 12px; }
.it-partner { margin-top: 10px; background: #f0f8f3; border: 1px solid #cfe9da; border-radius: 10px; padding: 10px 12px; font-size: .86rem; color: #24413a; }
.it-partner small { display: block; color: #6c7a88; margin-top: 4px; font-size: .74rem; }
.it-code { font-weight: 800; background: #fff; border: 1px dashed #2b8a5f; border-radius: 6px; padding: 1px 6px; }

/* ---- CRO refactor 2026-11-05: accordion days, gated book-ahead, merged save + flight alerts, sticky save bar ---- */
.it-day[data-day] { scroll-margin-top: 12px; }
.it-acc { padding: 0; }
.it-acc > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 44px; cursor: pointer; }
.it-acc > summary::-webkit-details-marker { display: none; }
.it-acc-t { flex: 1; min-width: 0; }
.it-acc-t b { display: block; font-size: 1.02rem; line-height: 1.3; margin-top: 2px; }
.it-acc-t small { display: block; color: var(--tw-mute); font-size: .82rem; margin-top: 2px; }
.it-chev { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: #eef5fa; position: relative; transition: transform .2s; }
.it-chev::after { content: ""; position: absolute; left: 10px; top: 8px; width: 7px; height: 7px; border-right: 2px solid var(--tw-blue); border-bottom: 2px solid var(--tw-blue); transform: rotate(45deg); }
.it-acc[open] .it-chev { transform: rotate(180deg); }
.it-acc-b { padding: 0 16px 14px; }
.it-swap { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; background: none; border: 0; padding: 0; color: var(--tw-blue); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; }
.it-res-lock { background: #eef2f6; color: #4b5d6e; }
.it-lockl { list-style: none; padding: 0; margin: 0 0 14px; }
.it-lockl li { background: #fff; border: 1.5px solid var(--tw-line); border-radius: 12px; padding: 10px 14px; margin: 0 0 8px; font-size: .9rem; }
.it-lockl b { display: block; }
.it-sk { display: block; color: #dfe6ec; letter-spacing: -1px; line-height: 1.2; margin: 4px 0 2px; user-select: none; overflow: hidden; white-space: nowrap; }
.it-lockl small { color: var(--tw-mute); }
.it-vals { list-style: none; padding: 0; margin: 4px 0 12px; }
.it-vals li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 0 0 8px; line-height: 1.4; }
.it-vals li span { flex: 0 0 auto; }
.it-twopt { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 0 4px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.it-twopt input { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; accent-color: var(--tw-blue); }
.it-tw-origin { background: #f4f8fb; border-radius: 12px; padding: 10px 12px; margin: 4px 0 12px; }
.it-tw-origin[hidden] { display: none; }
.it-tw-origin small { display: block; color: var(--tw-mute); margin: 0 0 6px; font-size: .8rem; }
.it-tw-origin .tw-pills { margin-bottom: 8px; }
.it-tw-origin .tw-pill { min-height: 44px; }
.it-tw-origin .tw-select { width: 100%; min-height: 44px; }
.it-unsaved { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: #fff7ea; border: 1px solid #f6d6a4; color: #8a5300; border-radius: 12px; padding: 8px 12px; margin: 0 0 12px; font-size: .86rem; font-weight: 600; }
.it-sticky { display: none; }
@media (max-width: 760px) {
  .it-sticky:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--tw-line); box-shadow: 0 -8px 24px rgba(15,29,43,.12); animation: itUp .25s ease-out; }
  .it-sticky-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
  .it-sticky-t { flex: 1; font-size: .86rem; font-weight: 700; line-height: 1.25; color: #0b2233; }
  .it-sticky-b { flex: 0 0 auto; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--tw-go); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
  .it-sticky.is-dirty .it-sticky-t { color: #8a5300; }
  .it-sticky.is-dirty .it-sticky-b { animation: itPulse 1.6s ease-in-out 2; }
  body.it-has-sticky .tw-body { padding-bottom: 96px; }
}
@keyframes itUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes itPulse { 50% { transform: scale(1.06); } }

/* SMS step (feature-flagged) + in-plan sponsor slot */
.it-sms p { margin: 0 0 10px; }
.it-phone { display: flex; gap: 8px; margin-bottom: 10px; }
.it-phone select { flex: 0 0 auto; min-height: 48px; border: 1.5px solid var(--tw-line); border-radius: 12px; padding: 0 8px; font: inherit; background: #fff; }
.it-phone input { flex: 1; min-width: 0; min-height: 48px; border: 1.5px solid var(--tw-line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 16px; }
.it-sms-skip { display: block; min-height: 44px; margin: 4px auto 0; }
.it-feat-day { margin: 0 0 10px; }

/* Post-save confirmation / partner bridge */
.it-done-head { text-align: center; padding: 8px 4px 14px; }
.it-done-ico { font-size: 2.4rem; line-height: 1; margin-bottom: 8px; }
.it-done-head .tw-title { margin: 0 0 6px; }
.it-done-head .tw-why { margin: 0 0 6px; }
.it-done-head .tw-link { min-height: 44px; }
.it-bridge { background: #fff; border: 2px solid #22a06b; border-radius: 16px; padding: 16px; margin: 14px 0; }
.it-bridge-eye { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #11643f; }
.it-bridge-eye span { color: #93a3b3; font-weight: 500; letter-spacing: 0; text-transform: none; }
.it-bridge h3 { margin: 6px 0 2px; font-size: 1.15rem; line-height: 1.3; }
.it-bridge-name { font-weight: 700; color: var(--tw-blue); margin-bottom: 6px; }
.it-bridge p { margin: 0 0 10px; color: #33475a; font-size: .92rem; }
.it-bridge-code { display: inline-block; background: #f0f8f3; border: 1px dashed #2b8a5f; border-radius: 8px; padding: 6px 10px; font-size: .9rem; margin-bottom: 12px; }
.it-bridge-cta { display: flex; align-items: center; justify-content: center; text-decoration: none; min-height: 48px; background: #22a06b; }
.it-bridge small { display: block; color: var(--tw-mute); font-size: .74rem; margin-top: 8px; text-align: center; }
.it-back { display: block; min-height: 44px; margin: 6px auto 24px; }

/* "When do you land?" on saved plans */
.it-dates { background: #fff7ea; border: 1.5px solid #f6d6a4; border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; }
.it-dates p { margin: 4px 0 10px; color: #5b4a2e; font-size: .9rem; }
.it-dates-f { display: flex; gap: 8px; flex-wrap: wrap; }
.it-dates-f input { flex: 1 1 160px; min-height: 48px; border: 1.5px solid var(--tw-line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 16px; background: #fff; }
.it-dates-f .tw-next { flex: 1 1 140px; width: auto; margin: 0; }
.it-dates.is-min { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 14px; }
.it-dates.is-min .it-dates-f, .it-dates.is-min .tw-err { display: none; }
.it-dates:not(.is-min) [data-dates-edit] { display: none; }
.it-dates.is-min .it-dates-f { flex-basis: 100%; }

/* Share with travel partner */
.it-shared-tag { margin: 8px 0 0; font-size: .85rem; font-weight: 600; color: #135c84; }
.it-shared-p { margin: 0 0 10px; color: var(--tw-mute); font-size: .9rem; }
.it-share { margin-top: 10px; background: #f4f8fb; border-radius: 12px; padding: 10px 12px; }
.it-share input { width: 100%; min-height: 44px; border: 1.5px solid var(--tw-line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; }
.it-share-b { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 4px; }
.it-share-b .tw-link { min-height: 44px; display: inline-flex; align-items: center; }
.it-share small { color: var(--tw-mute); font-size: .78rem; }

/* Packing list */
.it-packl { list-style: none; padding: 0; margin: 0 0 8px; }
.it-packl li { border-top: 1px solid #eef2f5; padding: 10px 0; }
.it-packl a { font-weight: 700; text-decoration: none; display: inline-block; min-height: 24px; }
.it-packl small { display: block; color: var(--tw-mute); font-size: .84rem; margin-top: 2px; }
.it-pack-note { color: var(--tw-mute); font-size: .74rem; }

/* One-tap flights on saved plans + resend link on the landing screen */
.it-tw .tw-pills { margin: 0 0 8px; }
.it-tw .it-tw-origin { background: rgba(255,255,255,.08); }
.it-tw .it-tw-origin small { color: rgba(255,255,255,.75); }
.it-tw .tw-pill { color: #0b2233; }
.it-tw .tw-err { color: #ffb4a8; }
.it-tw-more { display: inline-block; margin-top: 8px; color: rgba(255,255,255,.8); font-size: .85rem; min-height: 32px; }
.it-resend-t { display: block; margin: 14px auto 0; background: none; border: 0; color: rgba(255,255,255,.9); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; min-height: 44px; }
.it-resend { max-width: 360px; margin: 10px auto 0; display: flex; flex-direction: column; gap: 8px; }
.it-resend input[type=email] { min-height: 48px; border-radius: 12px; border: 0; padding: 0 12px; font: inherit; font-size: 16px; }
.it-resend-m { color: #fff; font-size: .88rem; margin: 0; min-height: 1em; }
/* 2026-11-05: countdown + leaving-soon */
.it-count{margin:6px 0 4px;font-size:17px;color:#0f6e6a}
.it-count b{font-size:22px}
.it-soon{margin:12px 0;padding:12px 14px;border-radius:12px;background:#fff4e5;border:1px solid #f7c98a;color:#5a3a00;line-height:1.5}
.it-car{margin:8px 0 0;font-size:14px}
/* QR "open on my phone" (desktop only) */
@media (max-width: 899px), (pointer: coarse) { .it-qrbtn { display: none; } }
.it-qr{display:flex;gap:16px;align-items:center;margin:12px 0;padding:14px;border:1px solid #e3e9ee;border-radius:12px;background:#fff}
.it-qr svg{width:150px;height:150px;flex:0 0 auto}
.it-qr p{margin:0;font-size:14px;line-height:1.5;color:#33475a}
