/* Shared redesign; preserve the Sunset Expedition palette in letsgo.css. */
:root { --ui-surface: #fffefb; --ui-line: #e1ddd4; --ui-muted: #596273; }
body { line-height: 1.55; }
main { min-height: 55vh; }
main h1, main h2, main h3 { text-wrap: balance; }
main h1 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -.045em; line-height: 1.15; }
.shell { width: min(1240px, calc(100% - 3rem)); }
.section { padding-block: 1.6rem; }
.letsgo-nav { min-height: 72px; gap: 24px; }
#letsgo-navigation { gap: 18px; }
#letsgo-navigation > a { min-height: 44px; display: inline-flex; align-items: center; }
#letsgo-navigation > a[aria-current=page] { color: var(--navy); box-shadow: inset 0 -3px var(--orange); }
.nav-join, .btn, .product-primary { border-radius: 12px; }
.btn-primary:hover, .product-primary:hover { background: #304568; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
main :where([id]) { scroll-margin-top: 100px; }
.home-start { display: grid; grid-template-columns: 1.2fr 1fr; margin-block: 24px 0; border: 1px solid var(--ui-line); border-radius: 24px; background: var(--navy); color: white; }
.home-search-panel { padding: clamp(24px, 3.5vw, 44px); min-width: 0; }
.home-search-panel .product-kicker { color: var(--gold); font-size: .68rem; }
.home-search-panel h1 { font-size: clamp(2.7rem, 4.3vw, 4.2rem); line-height: 1.03; letter-spacing: -.055em; margin: 18px 0; color: white; }
.home-search-panel h1 em { color: var(--gold); font-family: Georgia, serif; font-weight: 400; }
.home-search-panel > p { color: #e1e5ed; margin: 0 0 22px; font-size: .95rem; }
.home-search-panel .product-search { box-shadow: none; padding: 12px 14px; border-radius: 14px; }
.home-search-panel .product-search button { background: var(--gold); color: var(--navy); min-height: 44px; }
.home-search-panel .product-search button:hover { background: #f1bd60; }
.home-search-panel .search-ideas { margin: 14px 0 20px; gap: 6px; }
.home-search-panel .search-ideas button { min-height: 36px; }
.home-search-panel .search-ideas a { color: white; text-underline-offset: 4px; padding: 8px 6px; }
.home-search-panel .home-reassurance { margin: 0; color: #c9d0df; font-size: .78rem; }
.home-photo { position: relative; min-width: 0; overflow: hidden; border-radius: 0 23px 23px 0; }
.home-photo > img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.home-photo > div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 32px; background: linear-gradient(transparent 35%, #1b2a4acc); }
.home-photo span { font-size: .65rem; letter-spacing: .14em; color: #fff; }
.home-photo strong { font: 2rem/1.15 Georgia, serif; margin-top: 12px; }
.home-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block: 16px 8px; }
.home-shortcuts > a { display: flex; align-items: center; gap: 14px; border: 1px solid var(--ui-line); border-radius: 16px; padding: 18px; background: var(--ui-surface); text-decoration: none; color: var(--navy); }
.home-shortcuts > a:hover { border-color: var(--orange); background: #f5efdf; }
.home-shortcuts strong, .home-shortcuts small { display: block; }
.home-shortcuts strong { font-size: .9rem; }
.home-shortcuts small { color: var(--ui-muted); font-size: .76rem; margin-top: 3px; }
.home-shortcuts > a > span:last-child { margin-left: auto; }
.shortcut-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 12px; background: #f0e6d1; font-size: 1.4rem; color: var(--rust); }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.place-grid, .location-grid { gap: 18px; }
.place-card, .content-card, .feed-card { border: 1px solid var(--ui-line); border-radius: 16px; box-shadow: none; }
.place-card-body { padding: 16px; }
.place-card-body h3 { font-size: 1.15rem; margin-top: 0; }
.place-card-body > p, .feed-body > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.place-cover .card-photo { height: 180px; }
.place-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #1b2a4a0d; }
.geo-hero.geo-hero-framed { padding-block: 24px; background: var(--navy); }
.geo-hero-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
.geo-hero-framed h1 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin: 10px 0; }
.geo-hero-framed .breadcrumb { margin-bottom: 12px; }
.geo-hero-copy > p { margin-block: 8px; font-size: .9rem; }
.geo-hero-copy > strong { font-size: .8rem; font-weight: 500; color: #dbe0ea; }
.geo-hero-framed .discover-hero-search { margin-block: 14px 4px; padding: 5px; border-radius: 12px; box-shadow: none; }
.geo-hero-framed .discover-hero-search button { flex: 0 0 auto; }
.geo-hero-visual { border-radius: 16px; box-shadow: none; }
.geo-hero-visual img { height: 170px; object-fit: contain; }
.geo-hero-visual figcaption { font-size: .68rem; padding: 8px 12px; }
.geo-hero-skip { font-size: .8rem; margin-right: 18px; }
.focus-tabs { display: flex; gap: 6px; padding: 6px; margin-block: 0 20px; border: 1px solid var(--ui-line); border-radius: 14px; background: #eee9df; overflow-x: auto; }
.focus-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; white-space: nowrap; border-radius: 10px; text-decoration: none; color: var(--ui-muted); font-size: .88rem; font-weight: 650; border: 0; }
.focus-tabs a[aria-selected=true] { background: var(--ui-surface); color: var(--navy); box-shadow: 0 2px 6px #1b2a4a0c; }
[role=tabpanel][hidden] { display: none !important; }
.focus-panel > h2:first-child { font-size: 1.3rem; margin-top: 0; }
.explore-section .filter-grid { grid-template-columns: minmax(150px, 2fr) minmax(120px, 1fr) minmax(140px, 1fr) auto auto; padding: 16px; gap: 12px; border-radius: 16px; }
.explore-section .filter-grid > button { margin-top: 0; }
.explore-section .filter-grid > .btn { align-self: end; }
.advanced-filters { padding-top: 6px; }
.advanced-filters summary { padding-block: 6px; font-size: .85rem; }
.ranking-explainer { margin-block: 10px; }
.results-heading { margin-block: 16px; }
.results-heading h2 { font-size: 1.25rem; }
.browse-map { margin-top: 0; padding-top: 0; }
.place-section-nav { margin-block: 16px 0; position: static; }
.place-layout { padding-top: 16px; gap: 28px; }
.place-section { padding-block: 16px; border-bottom: 0; }
.place-section > h2 { font-size: 1.5rem; }
.gallery-photo, .gallery-clip { height: 230px; }
.gallery-empty { min-height: 140px; padding: 24px; }
.place-intro h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.visit-card { border: 1px solid var(--ui-line); border-radius: 16px; padding: 20px; }
#profile-settings, .trip-settings { margin-top: 20px; }
summary { cursor: pointer; min-height: 44px; padding-block: 10px; }
.social-heading { padding-block: 24px 16px; }
.social-heading h1 { font-size: 2.4rem; margin-block: 8px; }
.social-heading p { margin-bottom: 0; }
.feed-media { max-height: 300px; }
.social-layout { grid-template-columns: minmax(0, 1fr) 280px; }
.feed-body { padding: 18px; }
.site-footer { padding-block: 24px 12px; margin-top: 32px; }
.footer-grid { gap: 24px; padding-bottom: 16px; }
.footer-grid p { font-size: .85rem; margin-bottom: 0; }
.footer-bottom { padding-top: 12px; font-size: .72rem; }
.account-stage { min-height: 100svh; }
.account-scene { min-height: 640px; }
.account-inner { padding-block: 24px; }
.account-benefits { gap: 14px; }
@media (max-width: 1100px) {
 .letsgo-nav { gap: 14px; }
 #letsgo-navigation { gap: 12px; }
 .letsgo-user-actions { gap: 8px; }
 .explore-section .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .home-shortcuts > a { padding: 14px; gap: 10px; }
}
@media (max-width: 850px) {
 .letsgo-nav { min-height: 64px; }
 .home-start { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
 .home-photo > div { padding: 20px; }
 .home-photo strong { font-size: 1.6rem; }
 .home-shortcuts { gap: 8px; }
 .shortcut-icon { display: none; }
 .geo-hero-layout { grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; }
 .geo-hero-visual img { height: 140px; }
 .social-layout { grid-template-columns: minmax(0, 1fr); }
 .community-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 600px) {
 .shell { width: calc(100% - 28px); }
 .home-start { grid-template-columns: 1fr; margin-top: 14px; border-radius: 20px; }
 .home-search-panel { padding: 24px 20px; }
 .home-search-panel h1 { font-size: 3rem; }
 .home-photo { display: none; }
 .home-search-panel .product-search > div { flex-wrap: wrap; }
 .home-search-panel .product-search input { flex: 1 1 150px; width: auto; }
 .home-search-panel .product-search button { flex: 1 0 auto; }
 .home-shortcuts { grid-template-columns: 1fr; gap: 8px; }
 .home-shortcuts > a { padding: 12px 14px; }
 .shortcut-icon { display: grid; }
 .home-shortcuts small { margin-top: 0; }
 .geo-hero-layout { grid-template-columns: 1fr; }
 .geo-hero-visual { display: none; }
 .geo-hero.geo-hero-framed { padding-block: 18px; }
 .discover-hero-search { flex-direction: row; }
 .geo-hero-framed .discover-hero-search input { flex-basis: 130px; }
 .geo-hero-framed .discover-hero-search button { flex: 1 0 auto; }
 .explore-section .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .explore-section .filter-grid > label:first-of-type { grid-column: 1 / -1; }
 .explore-section .filter-grid > button { width: auto; }
 .focus-tabs a { padding-inline: 14px; font-size: .82rem; }
 .focus-tabs { margin-bottom: 16px; }
 .gallery-photo, .gallery-clip { height: 190px; }
 .community-aside { grid-template-columns: 1fr; }
 .section { padding-block: 20px; }
 .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
 .footer-grid > div:first-child { grid-column: 1 / -1; }
 .mobile-dock { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
 .mobile-dock a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { scroll-behavior: auto !important; }
 .place-card, .location-card, .account-inner { animation: none; transition: none; }
}
/* Keep the first action close on small screens, including the account entry point. */
.join-short { display: none; }
.account-value { margin-top: 20px; border-top: 1px solid var(--ui-line); }
.account-value > summary { font-size: .9rem; font-weight: 650; }
.account-value .account-benefits { padding-block: 12px; }
.account-body .account-inner h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.account-body .account-scene { min-height: 640px; }
.account-body .scene-copy { bottom: 210px; }
.account-body .scene-copy h1 { font-size: clamp(2.8rem, 4vw, 4.5rem); }
@media (max-width: 600px) {
 .letsgo-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding-block: 10px; }
 .letsgo-logo { font-size: 1.4rem; }
 .letsgo-logo > span:first-child { width: 30px; height: 30px; font-size: 1.4rem; }
 .letsgo-user-actions { order: 1; }
 .letsgo-user-actions .quick-open { display: none; }
 .menu-toggle { order: 2; padding: 8px; font-size: .8rem; min-height: 44px; }
 #letsgo-navigation { grid-column: 1 / -1; order: 3; }
 .nav-join { padding: 10px 13px; min-height: 44px; display: inline-flex; align-items: center; }
 .join-full { display: none; }
 .join-short { display: inline; }
 .home-search-panel h1 { font-size: 2.3rem; margin-block: 14px; }
 .home-search-panel { padding: 22px 18px; }
 .home-search-panel .product-kicker { font-size: .59rem; letter-spacing: .1em; }
 .home-search-panel > p { font-size: .88rem; margin-bottom: 16px; }
 .home-search-panel .search-ideas { margin-block: 10px; }
 .home-search-panel .home-reassurance { font-size: .72rem; }
 .account-body { padding-bottom: 0; }
 .account-body .account-stage { grid-template-columns: 1fr; }
 .account-body .account-scene { display: none; }
 .account-body .account-content { padding: 20px; }
 .account-body .account-inner { padding-block: 24px; }
}
@media (min-width: 601px) and (max-width: 760px) { .geo-hero-layout { grid-template-columns: 1fr; } }

/* Interactive states stay within the existing brand palette. */
.pin-confirm-label { padding: 14px 16px; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-surface); transition: background .18s, border-color .18s; }
.pin-confirm-label.is-confirmed { background: #eff2e9; border-color: var(--olive); color: var(--olive); }
.editor-steps li { padding: 0; }
.editor-steps button { min-height: 48px; width: 100%; border: 0; background: transparent; padding: 12px 16px; text-align: left; color: inherit; font: inherit; cursor: pointer; border-radius: 10px; }
.editor-steps .step-visited { color: var(--olive); background: #eff2e9; }
.editor-steps button:hover { background: #e8dcc44d; }
.submission-preview dd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.submission-preview dd > span { min-width: 0; overflow-wrap: anywhere; white-space: pre-line; }
.review-edit, .read-more { flex-shrink: 0; border: 0; background: transparent; color: var(--rust); text-decoration: underline; text-underline-offset: 4px; font: inherit; font-size: .85rem; min-height: 44px; cursor: pointer; }
.gallery-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-block: 8px; }
.gallery-controls button, .lightbox-controls button { min-width: 44px; min-height: 44px; border: 1px solid var(--ui-line); border-radius: 50%; background: var(--ui-surface); color: var(--navy); font: inherit; cursor: pointer; }
.gallery-controls button:disabled { opacity: .4; cursor: default; }
.gallery-controls span { margin-right: auto; font-size: .8rem; color: var(--ui-muted); }
.lightbox-controls { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 12px; }
.lightbox-controls span { font-size: .9rem; }
.place-gallery { scroll-snap-type: x mandatory; }
.place-gallery > .gallery-photo, .place-gallery > .gallery-clip { scroll-snap-align: start; }
.readable-copy { display: -webkit-box !important; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.readable-copy.is-expanded { display: block !important; -webkit-line-clamp: unset; overflow: visible; }
.read-more { padding: 0; display: block; margin-top: -8px; margin-bottom: 10px; }
.notice-global { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dismiss-notice { flex-shrink: 0; min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; font-size: 1.4rem; color: inherit; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
 .btn, .home-shortcuts > a, .focus-tabs a { transition: background-color .18s, box-shadow .18s, border-color .18s; }
 .focus-tabs a[aria-selected=true] { animation: panel-selected .18s ease-out; }
 @keyframes panel-selected { from { opacity: .6; } to { opacity: 1; } }
}
@media (max-width: 600px) {
 .editor-steps { display: grid; grid-template-columns: 1fr 1fr; }
 .editor-steps button { padding: 10px; font-size: .8rem; }
 .submission-preview dd { margin-inline-start: 0; }
}
/* Save, resume and plan without leaving the current task. */
.saveable-card { display: flex; flex-direction: column; }
.place-card-link { display: block; flex: 1; color: inherit; text-decoration: none; min-width: 0; }
.place-card-link:focus-visible { outline-offset: -4px; border-radius: 16px; }
.card-save { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; margin: 0; border-top: 1px solid var(--ui-line); }
.card-save button, .card-save-signin { font: inherit; font-size: .85rem; font-weight: 650; color: var(--navy); min-height: 44px; }
.card-save button { cursor: pointer; border: 1px solid var(--ui-line); padding: 9px 16px; border-radius: 10px; background: var(--ui-surface); }
.card-save button[aria-pressed=true] { background: #f0e6d1; border-color: var(--gold); }
.card-save button:disabled { opacity: .65; cursor: wait; }
.card-save-status { font-size: .75rem; color: var(--ui-muted); flex: 1 1 120px; }
.card-save-status:empty { display: none; }
.card-save-signin { display: flex; align-items: center; padding: 10px 16px; border-top: 1px solid var(--ui-line); text-underline-offset: 4px; }
.results-list .saveable-card { display: block; }
.results-list .saveable-card > .place-card-link { display: grid; grid-template-columns: 220px minmax(0,1fr); }
.draft-bar { margin-block: 16px; padding: 16px 20px; border: 1px solid var(--sand); border-radius: 16px; background: #f5efdf; }
.draft-bar p { margin: 0 0 8px; font-weight: 650; }
.draft-bar > div { display: flex; gap: 8px; flex-wrap: wrap; }
.draft-bar small { display: block; color: var(--ui-muted); margin-top: 8px; }
.trip-workspace { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.trip-itinerary { min-width: 0; }
.trip-day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-block: 8px; }
.trip-day-tabs button { white-space: nowrap; padding: 10px 16px; min-height: 44px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 12px; color: var(--navy); font: inherit; cursor: pointer; }
.trip-day-tabs button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: white; }
.trip-day-tabs span { font-size: .75rem; opacity: .8; margin-left: 8px; }
.trip-stop { margin-bottom: 12px; }
.trip-stop h3 { font-size: 1.1rem; margin-block: 0; }
.trip-stop .results-heading { margin-top: 0; }
.stop-number { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); color: var(--navy); font-size: .8rem; margin-right: 6px; }
.stop-actions, .stop-actions form { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.stop-actions button { font-size: .8rem; padding: 9px 12px; }
.stop-actions button:disabled { opacity: .4; cursor: default; }
.trip-map-panel { position: sticky; top: 90px; padding: 18px; border: 1px solid var(--ui-line); background: var(--ui-surface); border-radius: 18px; }
.trip-map-panel h2 { font-size: 1.2rem; }
.trip-map-panel .map { height: min(55vh,480px); min-height: 280px; border-radius: 12px; }
.trip-map-panel > p { font-size: .78rem; margin-bottom: 0; color: var(--ui-muted); }
.trip-map-marker { display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--navy); color: white; font-weight: 750; box-shadow: 0 2px 8px #1b2a4a40; }
@media(max-width:900px){.trip-workspace{grid-template-columns:1fr}.trip-map-panel{position:static;order:-1}.trip-map-panel .map{height:280px}}
@media(max-width:560px){.results-list .saveable-card > .place-card-link{grid-template-columns:110px minmax(0,1fr)}.draft-bar{padding:14px}.trip-stop{padding:16px}.trip-day-tabs button{font-size:.85rem}.trip-map-panel{padding:12px}}
.page-hero.trip-hero { padding-block: 26px; background: var(--navy); }
.page-hero.trip-hero h1 { font-size: clamp(1.9rem,3.2vw,2.8rem); margin-block: 10px; line-height: 1.12; }
.page-hero.trip-hero p { margin-block: 8px 14px; max-width: 700px; font-size: .95rem; }
.trip-hero .trip-totals { gap: 8px; margin-block: 12px; }
.trip-hero .trip-totals > * { padding: 8px 12px; border-radius: 10px; }
.trip-hero .trip-totals > strong { font-size: 1.35rem; }
.trip-hero .trip-totals > span { font-size: .8rem; }
@media(max-width:600px){.page-hero.trip-hero{padding-block:20px}.trip-day-tabs span{display:none}.trip-map-panel .section-heading{flex-direction:row;align-items:center}.trip-map-panel h2{font-size:1.05rem}}
.leaflet-marker-icon.trip-map-marker { display: grid; place-items: center; line-height: 1; }
.trip-map-toggle { margin-block: 8px; }
