/* Plan your visit — values from Figma 3:56551 (intro), 3:56596… (quiz), 3:56780 (All Set),
   3:72420/3:72591 (itinerary), 3:56852/3:56895 (Location), 3:56965 (Tour complete). */
.pl-page {
  /* one-off tints used by the itinerary timeline (Figma success / warning / tertiary-2 ramps) */
  --pl-green: #19ba67; --pl-green-bg: #ddf5e8;
  --pl-orange: #ff9040; --pl-orange-bg: #ffeee2;
  --pl-sun: #fcd36a; --pl-sun-bg: #fff8e9; --pl-sun-700: #bd9e50;
  --pl-sec: #4f9e6c; --pl-sec-200: #e5f0e9;
  --pl-text-2: #525255; --pl-n900: #171717; --pl-n600: #525252; --pl-n500: #737373; --pl-n400: #404040;
  --pl-border: #e5e5e5; --pl-border-2: #d4d4d4; --pl-disabled: #dcdcdd;
  min-height: 100%; display: flex; flex-direction: column;
}
.appbar + .pl-page, .pl-done__bar + .pl-page { min-height: calc(100% - 56px); }
html.capture .pl-page { min-height: 810px; }
html.capture .appbar + .pl-page, html.capture .pl-done__bar + .pl-page { min-height: 754px; }
html.capture .no-pad-top .pl-page { min-height: 844px; }

/* ---------- Shared buttons ---------- */
.pl-cta {
  position: sticky; bottom: 0; z-index: 15; margin-top: auto;
  background: var(--white); padding: 20px 16px; filter: drop-shadow(0 4px 10.5px rgba(0,0,0,.25));
}
.pl-btn {
  width: 100%; min-height: 56px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 16px; font-weight: 500; letter-spacing: .46px; text-transform: uppercase;
  transition: transform var(--dur-1) var(--ease-out), background var(--dur-1);
}
.pl-btn:active { transform: scale(.98); }
.pl-btn--primary { background: var(--primary); color: #fff; box-shadow: 0 4px 8px -4px rgba(76,78,100,.42); }
.pl-btn--primary:hover { background: #6a56dc; }
.pl-btn--ink { background: var(--pl-n900); color: #fff; border-radius: 10px; min-height: 52px; }
.pl-btn--line { border: .637px solid var(--pl-border-2); color: var(--pl-n400); border-radius: 10px; min-height: 57px; text-transform: none; letter-spacing: 0; font-weight: 400; background: var(--white); }
.pl-btn--regular { text-transform: none; letter-spacing: 0; font-weight: 400; min-height: 56px; }
.pl-btn img { flex: none; }

/* ---------- 1. Intro ---------- */
.pl-intro__hero { position: relative; height: 260px; border-radius: 0 0 30px 30px; overflow: hidden; flex: none; }
.pl-intro__hero > img { width: 100%; height: 100%; object-fit: cover; }
.pl-intro__back { position: absolute; left: 8px; top: 34px; width: 48px; height: 48px; display: grid; place-items: center; }
.pl-intro__body { padding: 28px 16px 12px; display: flex; flex-direction: column; gap: 24px; }
.pl-intro__head { display: flex; flex-direction: column; gap: 2px; }
.pl-intro__head h1 { font-size: 20px; font-weight: 700; color: var(--pl-n900); min-height: 32.5px; }
.pl-intro__head p { font-size: 16px; color: var(--pl-n600); width: 344px; max-width: 100%; }
.pl-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pl-benefits li { display: flex; gap: 16px; align-items: flex-start; min-height: 67.4px; }
.pl-benefits__ico { flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--primary-100); display: grid; place-items: center; }
.pl-benefits h2 { font-size: 16px; font-weight: 700; color: var(--pl-n900); line-height: 22.4px; }
.pl-benefits p { font-size: 16px; color: var(--pl-n600); line-height: 1.4; }

/* ---------- 2. Quiz ---------- */
.pl-quiz { padding: 0 16px; gap: 12px; }
.pl-quiz__head { margin: 0 -16px; padding: 4px 24px 0; display: flex; flex-direction: column; gap: 16px; height: 95px; }
.pl-quiz__row { height: 40px; display: flex; align-items: center; justify-content: space-between; margin-left: -8px; }
.pl-quiz__back { width: 44px; height: 44px; display: grid; place-items: center; margin-left: -2px; }
.pl-quiz__count { font-size: 16px; font-weight: 600; color: var(--pl-n600); }
.pl-quiz__skip { font-size: 16px; font-weight: 600; color: var(--ink); min-height: 44px; padding: 0 2px; }
.pl-quiz__bar { height: 8px; border-radius: 99px; background: var(--primary-100); overflow: hidden; }
.pl-quiz__bar i { display: block; height: 100%; background: var(--primary); border-radius: 99px 0 0 99px; transition: width var(--dur-3) var(--ease-out); }
.pl-quiz__q { font-size: 16px; font-weight: 400; color: #0a0a0a; text-align: center; }
.pl-quiz__opts { display: flex; flex-direction: column; gap: 12px; }
.pl-opt {
  height: 59.74px; border-radius: 14px; border: 2px solid var(--primary-100); background: var(--white);
  padding: 0 16px; text-align: left; font-size: 16px; color: #0a0a0a;
  transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1), transform var(--dur-1) var(--ease-out);
}
.pl-opt:active { transform: scale(.985); }
.pl-opt.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pl-quiz__hint { font-size: 16px; color: #0a0a0a; text-align: center; }
.pl-quiz__foot {
  position: sticky; bottom: 0; margin: auto -16px 0; background: var(--white);
  border-top: .625px solid var(--pl-border); padding: 24.6px 24px 24px; display: flex; gap: 12px; height: 84.6px;
}
.pl-qbtn { flex: 1; height: 36px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: .28px; position: relative; }
.pl-qbtn::before { content: ""; position: absolute; inset: -4px 0; }
.pl-qbtn--back { border: .625px solid var(--pl-disabled); background: var(--white); color: #0a0a0a; }
.pl-qbtn--back.is-caps { font-weight: 500; letter-spacing: -.15px; }
.pl-qbtn--next { background: var(--ink); color: #fff; transition: background var(--dur-1), color var(--dur-1); }
.pl-qbtn--next[disabled] { background: rgba(212,212,212,.5); color: rgba(115,115,115,.5); cursor: not-allowed; font-weight: 500; letter-spacing: -.15px; }

/* ---------- 3. All Set ---------- */
.pl-ready { align-items: center; padding: 16px 0 0; gap: 24px; }
.pl-ready__hero { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 16px; text-align: center; }
.pl-ready__hero h1 { font-size: 20px; font-weight: 600; }
.pl-ready__hero p { font-size: 14px; }
.pl-sum { width: 345.87px; background: #f8f7fe; border: 1px solid var(--primary); border-radius: 16.4px; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.pl-sum__head { display: flex; align-items: center; gap: 10px; height: 32px; }
.pl-sum__head h2 { flex: 1; font-size: 16px; font-weight: 700; color: var(--pl-n900); }
.pl-sum dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pl-sum dl div { display: flex; justify-content: space-between; align-items: center; height: 20px; font-size: 14px; }
.pl-sum dt { font-weight: 400; }
.pl-sum dd { margin: 0; font-weight: 500; }
.pl-remind { width: 345.87px; min-height: 100.65px; border: 1px solid var(--primary-100); border-radius: 10px; background: var(--page); padding: 15.6px; display: flex; align-items: center; gap: 12px; }
.pl-remind__ico { flex: none; width: 39px; height: 40px; border-radius: 10px; background: var(--primary-100); display: grid; place-items: center; }
.pl-remind__txt { flex: 1; min-height: 67.4px; }
.pl-remind__txt h2 { font-size: 16px; font-weight: 600; line-height: 22.4px; }
.pl-remind__txt p { font-size: 14px; color: var(--pl-n600); width: 186px; line-height: 1.35; }
.pl-switch { flex: none; width: 44px; height: 24px; border-radius: 99px; background: var(--neutral-300); padding: 2px; position: relative; transition: background var(--dur-1); }
.pl-switch::before { content: ""; position: absolute; inset: -10px 0; }
.pl-switch i { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--dur-2) var(--ease-out); }
.pl-switch[aria-checked="true"] { background: var(--ink); }
.pl-switch[aria-checked="true"] i { transform: translateX(20px); }
.pl-ready__ctas { width: 345.87px; display: flex; flex-direction: column; gap: 12px; }
.pl-ready__ctas .pl-btn--line { gap: 10px; }
.pl-ready__note { margin-top: auto; width: 100%; padding: 12px 16px 28px 19px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--pl-n500); }
.pl-ready__note img { margin-top: 2px; }

/* ---------- 4. Itinerary ---------- */
.pl-it__acts { display: flex; gap: 12px; align-items: center; margin-right: 8px; }
.pl-it__act { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.pl-it__act::before { content: ""; position: absolute; inset: -6px; }
.pl-it__edit { background: var(--primary-100); }
.pl-it { gap: 16px; }
.pl-it__sum { background: var(--surface-alt); padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: background var(--dur-3); }
.pl-it__sumrow { display: flex; align-items: center; }
.pl-it__sumrow h1 { flex: 1; font-size: 16px; font-weight: 600; }
.pl-it__sumrow span { font-size: 14px; color: var(--pl-text-2); white-space: nowrap; }
.pl-it__chips { display: flex; gap: 8px; }
.pl-chip { flex: 1; min-width: 0; height: 30px; border-radius: 84px; border: 1px solid; background: var(--white); display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; white-space: nowrap; }
.pl-chip b { font-size: 16px; font-weight: 600; }
.pl-chip--animals { border-color: var(--pl-orange); } .pl-chip--animals b { color: var(--pl-orange); }
.pl-chip--shows { border-color: var(--primary); } .pl-chip--shows b { color: var(--primary); }
.pl-chip--breaks { border-color: var(--pl-sec); } .pl-chip--breaks b { color: var(--pl-sec); }
/* visit started (3:72591): green header, translucent chips */
.pl-it.is-started .pl-it__sum { background: var(--pl-sec); color: #fff; }
.pl-it.is-started .pl-it__sumrow span { color: #fff; }
.pl-it.is-started .pl-chip { background: rgba(255,255,255,.2); border-color: transparent; color: #fff; }
.pl-it.is-started .pl-chip b { color: #fff; }

.pl-stops { list-style: none; margin: 0; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 24px; }
.pl-stop { position: relative; border-radius: 10px; border-top: 3px solid var(--c); background: var(--c-bg); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pl-stop + .pl-stop::before { /* dashed connector */
  content: ""; position: absolute; left: 50%; top: -27px; height: 20.3px; border-left: 1px dashed #aeaeb0; transform: translateX(-.5px);
}
.pl-stop + .pl-stop::after { /* dot in the next stop's colour */
  content: ""; position: absolute; left: 50%; top: -6.1px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%;
  background: var(--c); border: 1px solid #fff; box-shadow: 0 0 3px rgba(0,0,0,.25); box-sizing: border-box;
}
.pl-c-primary { --c: var(--primary); --c-bg: var(--primary-100); }
.pl-c-green { --c: var(--pl-green); --c-bg: var(--pl-green-bg); }
.pl-c-coral { --c: var(--tertiary); --c-bg: var(--tertiary-200); }
.pl-c-sun { --c: var(--pl-sun); --c-bg: var(--pl-sun-bg); }
.pl-c-orange { --c: var(--pl-orange); --c-bg: var(--pl-orange-bg); }
.pl-stop__txt { display: flex; flex-direction: column; gap: 2px; }
.pl-stop__time { display: flex; align-items: flex-start; gap: 2px; font-size: 14px; color: var(--pl-text-2); }
.pl-stop__time > span:first-child { flex: 1; }
.pl-stop h3 { font-size: 16px; font-weight: 700; }
.pl-stop p { font-size: 14px; color: var(--pl-text-2); }
.pl-tag { flex: none; height: 23px; padding: 0 8px; border-radius: 38px; border: .5px solid #000; background: #fff; color: #000; font-size: 12px; display: inline-flex; align-items: center; }
.pl-tag--coral { background: var(--tertiary-200); border-color: var(--tertiary); color: var(--tertiary); }
.pl-stop__meta { border-top: .5px solid var(--pl-disabled); min-height: 32.6px; display: flex; align-items: center; gap: 16px; padding-top: .5px; font-size: 14px; color: var(--pl-text-2); }
.pl-stop__meta span { display: inline-flex; align-items: center; gap: 4px; }
.pl-it .pl-cta { margin-top: auto; }

/* ---------- 5. Location / live tour ---------- */
.pl-tour { background: var(--white); }
.pl-map { position: relative; height: 470px; overflow: hidden; flex: none; }
.pl-map > img { width: 100%; height: 100%; object-fit: cover; }
.pl-pin {
  position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--page); border: 3px solid var(--primary-100);
  display: grid; place-items: center; font-size: 24px; font-weight: 600; color: var(--primary);
}
.pl-tour__panel { border-top: .637px solid var(--pl-border); padding: 24px 16px; display: flex; flex-direction: column; gap: 16px; background: var(--white); }
.pl-tour__panel--welcome { gap: 20px; padding-bottom: 12px; }
.pl-welcome { display: flex; gap: 12px; align-items: flex-start; min-height: 71px; }
.pl-welcome__ico { flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--primary-100); display: grid; place-items: center; }
.pl-welcome h1 { font-size: 16px; font-weight: 700; color: var(--pl-n900); }
.pl-welcome p { font-size: 14px; color: #000; }
.pl-stats { display: flex; gap: 12px; }
.pl-stat { flex: 1; height: 67.26px; border-radius: 10px; border: .637px solid #f5f5f5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.pl-stat b { font-size: 16px; font-weight: 700; }
.pl-stat span { font-size: 12px; }
.pl-stat--coral { background: var(--tertiary-200); } .pl-stat--coral b { color: var(--tertiary); }
.pl-stat--green { background: var(--pl-sec-200); } .pl-stat--green b { color: var(--pl-sec); }
.pl-stat--sun { background: var(--pl-sun-bg); } .pl-stat--sun b { color: var(--pl-sun-700); }
.pl-prog { display: flex; align-items: center; gap: 8px; height: 20px; padding: 0 6px; }
.pl-prog__bar { flex: 1; height: 6px; border-radius: 99px; background: var(--primary-100); overflow: hidden; }
.pl-prog__bar i { display: block; height: 100%; border-radius: 99px; background: var(--primary); transition: width var(--dur-3) var(--ease-out); }
.pl-prog span { font-size: 14px; font-weight: 500; }
.pl-cur { display: flex; flex-direction: column; gap: 8px; }
.pl-cur__status { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pl-cur__tag { height: 23px; padding: 0 8px; border-radius: 68px; background: var(--pl-sec-200); border: .5px solid var(--pl-sec); font-size: 12px; color: var(--pl-n400); display: inline-flex; align-items: center; }
.pl-cur__dist { height: 24px; padding: 4px; border-radius: 4px; background: #dcece2; color: var(--pl-sec); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.pl-cur h1 { font-size: 16px; font-weight: 700; color: var(--pl-n900); }
.pl-cur p { font-size: 14px; color: var(--pl-n600); }
.pl-cur__dur { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--pl-n600); height: 19px; }
.pl-alert { display: flex; gap: 12px; align-items: flex-start; min-height: 70px; padding: 12px; border-radius: 10px; background: var(--pl-sun-bg); border: .637px solid #fdde8f; }
.pl-alert img { flex: none; }
.pl-alert h2 { font-size: 16px; font-weight: 600; }
.pl-alert p { font-size: 14px; }
.pl-near {
  position: sticky; bottom: 0; z-index: 15; margin-top: auto; background: var(--primary-100);
  filter: drop-shadow(0 4px 2px rgba(0,0,0,.15)); padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 4px;
  animation: pl-up var(--dur-3) var(--ease-out) both;
}
@keyframes pl-up { from { transform: translateY(100%); } to { transform: none; } }
.pl-near__top { display: flex; align-items: flex-start; justify-content: space-between; }
.pl-near h2 { font-size: 16px; font-weight: 600; }
.pl-near p { font-size: 14px; }
.pl-near__x { width: 28px; height: 28px; display: grid; place-items: center; margin: -4px -2px 0 0; position: relative; }
.pl-near__x::before { content: ""; position: absolute; inset: -8px; }
.pl-near__ctas { display: flex; gap: 12px; margin-top: 11px; }
.pl-nbtn { flex: 1; height: 48px; border-radius: 10px; font-size: 16px; font-weight: 500; letter-spacing: .46px; text-transform: uppercase; white-space: nowrap; }
.pl-nbtn--go { background: var(--primary); color: #fff; }
.pl-nbtn--stay { background: var(--pl-disabled); border: 1px solid var(--neutral-300); color: var(--ink); }
.pl-tour .pl-cta { margin-top: auto; }

/* ---------- 6. Tour complete ---------- */
.pl-done__bar { position: sticky; top: calc(var(--status-h) * -1); margin-top: calc(var(--status-h) * -1); padding-top: var(--status-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line-2); }
.pl-done__bar { height: calc(var(--status-h) + 56px); display: flex; align-items: center; padding-left: 6px; }
.pl-done__back { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; }
.pl-done { align-items: center; padding: 48px 24px 32px; text-align: center; }
.pl-done__emoji { width: 96px; height: 96px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center; font-size: 48px; line-height: 1; }
.pl-done h1 { margin-top: 24px; font-size: 32px; font-weight: 600; letter-spacing: -.64px; line-height: 38.4px; color: var(--pl-n900); }
.pl-done__sub { font-size: 15px; color: var(--pl-n600); line-height: 22.5px; }
.pl-journey { margin-top: 32px; width: 100%; background: #fafafa; border: .637px solid var(--pl-border); border-radius: 16px; padding: 24.6px 24.6px 24px; display: flex; flex-direction: column; gap: 20px; }
.pl-journey h2 { font-size: 20px; font-weight: 600; line-height: 26px; color: var(--pl-n900); }
.pl-journey__stats { display: flex; justify-content: space-between; padding-right: 0; }
.pl-journey__stats > div { width: 88.2px; display: flex; flex-direction: column; align-items: center; }
.pl-journey__ico { width: 56px; height: 56px; border-radius: 16.4px; background: #fff; border: .637px solid var(--pl-border); display: grid; place-items: center; font-size: 24px; margin-bottom: 8px; }
.pl-journey__stats b { font-size: 16px; font-weight: 400; line-height: 24px; color: var(--pl-n900); }
.pl-journey__stats span:last-child { font-size: 14px; color: var(--pl-n600); line-height: 20px; }
.pl-badge { display: flex; align-items: center; gap: 12px; padding: 16.6px; border-radius: 16.4px; border: .637px solid var(--secondary-300); background: linear-gradient(180deg, var(--surface-alt), var(--pl-sec-200)); text-align: left; }
.pl-badge__ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--pl-sec); display: grid; place-items: center; font-size: 20px; }
.pl-badge h3, .pl-hl h3 { font-size: 16px; font-weight: 600; line-height: 22.4px; color: var(--pl-n900); }
.pl-badge p { font-size: 15px; color: var(--pl-n600); line-height: 22.5px; }
.pl-hl { margin-top: 24px; width: 100%; border: .637px solid var(--pl-border); border-radius: 16px; padding: 20.6px; text-align: left; background: #fff; }
.pl-hl > h2 { font-size: 16px; font-weight: 600; line-height: 22.4px; color: var(--pl-n900); }
.pl-hl ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pl-hl li { height: 69.27px; display: flex; align-items: center; gap: 12px; padding: 0 12.6px; border-radius: 10px; background: #fafafa; border: .637px solid #f5f5f5; }
.pl-hl__ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: #fff; border: .637px solid var(--pl-border); display: grid; place-items: center; font-size: 20px; }
.pl-hl li h3 { font-weight: 400; line-height: 24px; }
.pl-hl li p { font-size: 14px; color: var(--pl-n600); line-height: 20px; }
.pl-done__ctas { margin-top: 24px; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.pl-done__row { display: flex; gap: 12px; }
.pl-btn--sm { min-height: 49.3px; flex: 1; gap: 8px; }
.pl-done__thanks { margin-top: 24px; font-size: 15px; color: var(--pl-n500); line-height: 22.5px; }
