/* ===== Trip planner ===== */
.planner-hero { padding: 56px 0 28px; background: radial-gradient(1200px 400px at 80% -10%, rgba(77,149,129,.18), transparent), radial-gradient(900px 300px at 0% 0%, rgba(235,195,64,.18), transparent); }
.planner-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.planner-hero .lead { max-width: 62ch; color: var(--muted); font-size: 1.1rem; }
.plan-form { display: grid; gap: 22px; padding: 28px; }
.pf-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 22px; }
@media (max-width: 760px) { .pf-grid { grid-template-columns: 1fr; } .plan-form { padding: 20px; } }
.pf-block h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--green-deep); margin-bottom: 10px; }
.input, .leg-dest { width: 100%; padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; }
.leg { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-bottom: 10px; align-items: center; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { border: 0; background: var(--cream); width: 38px; height: 46px; font-size: 1.2rem; cursor: pointer; color: var(--green-deep); }
.stepper input { width: 42px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper span { font-size: .85rem; color: var(--muted); padding-right: 8px; }
.leg-x { border: 0; background: none; font-size: 1.5rem; color: var(--muted); cursor: pointer; width: 36px; }
@media (max-width: 520px) { .leg { grid-template-columns: 1fr auto; } .leg-dest { grid-column: 1 / -1; } }
.linkish { background: none; border: 0; color: var(--green); font-weight: 600; cursor: pointer; padding: 4px 0; font: inherit; text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .55em 1em; font: inherit; font-size: .95rem; cursor: pointer; color: var(--ink); transition: all .15s; text-decoration: none; }
.chip:hover { border-color: var(--teal); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.btn-lg { font-size: 1.1rem; padding: 1em 2em; justify-self: start; }
.btn.sm { padding: .5em 1em; font-size: .88rem; }
#results { margin-top: 36px; }
.teal-note { background: #E2F0EC; border-left-color: var(--teal); color: #1F4A3E; }
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; margin: 18px 0 8px; }
.cmp { min-width: 760px; border-collapse: separate; border-spacing: 0; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .93rem; }
.cmp thead th { background: #fff; color: var(--ink); border-top: 5px solid var(--c, var(--line)); }
.cmp thead th b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--c); }
.cmp thead th span:not(.best) { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.cmp tbody th { background: var(--cream); color: var(--green-deep); font-weight: 600; width: 170px; }
.cmp .is-active { background: #FFFBEA; }
.cmp .best { display: inline-block; background: var(--gold); color: var(--green-deep); font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.bar { height: 8px; background: var(--cream-2); border-radius: 99px; overflow: hidden; margin-bottom: 4px; }
.bar i { display: block; height: 100%; background: var(--teal); }
.mini { margin: 0; padding-left: 1.1em; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 2px 8px; white-space: nowrap; text-transform: none; }
.p-touristy { background: #E3EEE6; color: #19552A; }
.p-offbeat { background: #DFF0EB; color: #2C6656; }
.p-local { background: #FBEFCB; color: #7A560A; }
.p-hidden { background: #F3E3EB; color: #7A3E5C; }
.p-free { background: #E4F4E1; color: #22662C; }
.plan-tabs { display: flex; gap: 6px; margin: 30px 0 0; border-bottom: 2px solid var(--line); overflow-x: auto; }
.plan-tabs button { border: 0; background: none; padding: 12px 18px; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.plan-tabs button[aria-selected="true"] { color: var(--c); border-bottom-color: var(--c); }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: end; margin: 26px 0 18px; }
.plan-head h2 { margin: 0; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.plan-actions .btn { padding: .65em 1.1em; font-size: .92rem; }
.savings { background: #E4F4E1; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; font-size: .95rem; color: #1F5A27; }
.days { display: grid; gap: 18px; }
.day { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.day header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.day header h3 { margin: 0; font-size: 1.2rem; }
.day-n { background: var(--green); color: #fff; font-weight: 700; border-radius: 12px; padding: 8px 12px; font-size: .9rem; white-space: nowrap; }
.day-tools { margin-left: auto; display: flex; gap: 6px; }
.day-tools button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .85rem; color: var(--green-deep); }
.tl { list-style: none; margin: 0; padding: 0 0 0 4px; border-left: 2px dashed var(--line); }
.tl-i { display: grid; grid-template-columns: 78px 1fr auto; gap: 12px; padding: 10px 0 10px 14px; position: relative; }
.tl-i::before { content: ""; position: absolute; left: -7px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.tl-i.t-travel::before { background: var(--teal); }
.tl-i time { font-weight: 700; color: var(--teal-text); font-size: .88rem; padding-top: 2px; }
.tl-b b { display: block; }
.tl-b p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.meta-row { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.free-alt { margin-top: 8px; background: #F2FAF0; border: 1px dashed #9BCB94; border-radius: 10px; padding: 8px 10px; font-size: .88rem; color: #24502A; }
.free-alt b { display: inline; }
.free-alt button { margin-left: 6px; border: 0; background: #2E7D3A; color: #fff; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: .8rem; cursor: pointer; }
.swapped { font-size: .8rem; color: #2E7D3A; margin-top: 4px; }
.swapped button { border: 0; background: none; color: var(--green); text-decoration: underline; cursor: pointer; font: inherit; }
.tl-tools { display: flex; gap: 4px; align-items: start; }
.tl-tools button, .tl-tools select { border: 1px solid var(--line); background: #fff; border-radius: 8px; height: 32px; min-width: 32px; cursor: pointer; font: inherit; font-size: .85rem; color: var(--ink); }
.tl-tools select { padding: 0 4px; }
.spec { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.spec h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-text); margin: 0 0 6px; }
.spec ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec li { background: var(--cream); border-radius: 12px; padding: 6px 10px; font-size: .86rem; max-width: 100%; }
.spec li b { color: var(--green-deep); }
.spec li span { color: var(--muted); }
@media (max-width: 640px) { .tl-i { grid-template-columns: 1fr; gap: 4px; } .tl-tools { justify-content: flex-start; } .day { padding: 16px; } .day header { flex-wrap: wrap; } .day-tools { margin-left: 0; } }
.day-note { display: block; margin-top: 10px; }
.day-note textarea { width: 100%; border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: .9rem; background: var(--cream); resize: vertical; }
.add-panel { margin-top: 12px; border: 1.5px solid var(--teal); border-radius: 14px; padding: 14px; background: #F5FAF8; }
.add-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.add-head select { margin-left: auto; padding: 6px; border-radius: 8px; border: 1px solid var(--line); font: inherit; }
.add-head button { border: 0; background: none; font-size: 1.4rem; cursor: pointer; }
.add-list { display: grid; gap: 8px; max-height: 320px; overflow: auto; }
.idea { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 12px; cursor: pointer; font: inherit; display: grid; gap: 2px; }
.idea:hover { border-color: var(--teal); }
.add-own { display: flex; gap: 8px; margin-top: 10px; }
.add-own input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.quote-box { margin-top: 24px; }
.style-card { border-top: 5px solid var(--c); }
.style-card h3 { color: var(--c); }
.dl-menu { position: relative; }
@media print {
  .site-header, .topbar, .site-footer, .wa-float, .plan-form, .plan-tabs, .plan-actions, .tl-tools, .day-tools, .cmp-wrap, .planner-hero, .bg-white, .add-panel, .quote-box, .note, .sticky-cta, #restore, .linkish, .btn, .free-alt button { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .day { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  section { padding: 0 !important; }
  .day-note textarea { border: 0; background: none; }
}
