/* Warm atlas palette: colour supports category and section identity. */
:root{--paper:#faf7f0;--ink:#173f35;--muted:#343b35;--green:#245747;--line:#e1e5da;--orange:#a95538;--cream:#f5f0e4;--surface:#fffdf9;--lime:#e9b44c;--lake:#397a96;--clay:#a95538;--forest-soft:#e8efdd;--lake-soft:#e4eef3;--clay-soft:#f4e4da;--amber-soft:#f8e8bb}
body{background:var(--paper)}.header,.map-view .header{background:var(--surface);border-bottom-color:var(--line)}.outline{background:var(--surface)}.dark{background:var(--ink)}h1 em{color:var(--clay)}.eyebrow{color:#526c5c}.category-tag{background:var(--forest-soft);color:#385645}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:var(--lake)}
body.map-view{background:#f2f3e9}.map-view .workspace,.map-view #map{background:#f2f3e9}.map-view .sidebar{background:var(--surface)}.trip-randomizer{background:var(--amber-soft);border-color:#edda9e}.trip-randomizer .button,.trip-randomizer button{background:#efd28a;color:#173f35}.map-progress{background:var(--ink)}.map-progress .progress-value{color:#f5d889}
/* Public discovery: hero, finder and illustrated theme choices. */
.discovery-page{background:transparent}.discovery-page:has(.ideas-hero){border:0;padding-top:0;max-width:1160px;box-shadow:none}.ideas-hero{display:grid;grid-template-columns:1.25fr 1fr;gap:30px;align-items:center;margin:36px 0}.ideas-hero h1{font-size:clamp(38px,4.8vw,60px);line-height:1.08;letter-spacing:-2px;margin:15px 0 22px}.ideas-hero h1 em{font-style:normal;color:var(--clay)}.ideas-hero .eyebrow{font-size:11px;font-weight:750;color:var(--ink)}.ideas-hero .discovery-lead{font-size:18px;max-width:480px;line-height:1.65;color:var(--muted)}.ideas-landscape{position:relative;border-radius:48% 48% 24px 24px;overflow:hidden;background:var(--forest-soft)}.ideas-landscape img{width:100%;height:auto;display:block}.ideas-landscape span{position:absolute;left:16px;bottom:15px;padding:7px 11px;background:#fff9e9;border-radius:9px;font-size:12px;font-weight:650}
.public-place-picker{background:var(--surface);border:1px solid var(--line);border-top:1px solid var(--line);border-radius:22px;box-shadow:0 12px 35px #173f3508;padding:28px 30px}.public-place-picker>.choice-number,.public-theme-picker>.choice-number{display:none}.public-place-picker h2{margin:0 0 6px}.public-place-picker>p{color:var(--muted)}.public-place-picker .route-catalog-filters{background:transparent;padding:0;margin:24px 0 18px;gap:12px}.public-place-picker input{background:#f8faf5;border-color:#cddace;min-height:54px;font-size:16px;border-radius:12px}.public-place-picker .button{min-height:54px;font-size:15px;padding:15px 22px}.public-place-picker>a{font-size:14px;color:#385645}.choice-or{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:13px;margin:28px 0}.choice-or:before,.choice-or:after{content:'';height:1px;background:var(--line);flex:1}.public-theme-picker{background:transparent;border:0;padding:0}.public-theme-picker h2{font-size:29px;margin-bottom:6px}.public-theme-picker>p{color:var(--muted)}.theme-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.theme-choices .theme-choice{padding:0;overflow:hidden;background:var(--surface);border-color:var(--line);border-radius:20px}.theme-choice>a{padding:0;min-height:0;display:flex;flex-direction:column;height:100%;text-decoration:none;color:var(--ink)}.theme-art{overflow:hidden;height:154px}.theme-art img{display:block;width:100%;height:100%;object-fit:cover}.theme-copy{padding:21px 22px 24px;flex:1}.theme-copy h3{font-size:23px;line-height:1.3;margin:0 0 8px;letter-spacing:-.6px}.theme-copy p{font-size:15px;color:var(--muted);margin-bottom:18px}.theme-action{font-size:14px;color:var(--ink)}.theme-choice:focus-within{outline:3px solid var(--lake);outline-offset:3px}.theme-choice:hover{box-shadow:0 8px 24px #173f3510}.ideas-invitation{margin:32px 0 0;padding:25px 29px;border-radius:20px;background:var(--amber-soft);display:flex;align-items:center;gap:20px}.ideas-invitation>span{font-size:38px}.ideas-invitation h2{font-size:21px;margin:0}.ideas-invitation p{margin:4px 0 0;color:#645833;font-size:14px}.ideas-invitation .button{margin-left:auto;flex-shrink:0}.discovery-card,.route-choice{background:var(--surface);border-color:var(--line)}.discovery-note{background:var(--amber-soft)}
/* About: editorial story and varied, meaningful feature groups. */
.about-heading h1{color:var(--ink)}.about-story{background:#f4eadb;border-radius:22px;padding:30px;max-width:none;margin:0 0 30px}.about-story p{max-width:76ch;font-size:16px;line-height:1.8}.about-features article{background:var(--surface);border-color:var(--line)}.about-features article:nth-child(2),.about-features article:nth-child(4){background:var(--lake-soft)}.about-features article:nth-child(3),.about-features article:nth-child(5){background:var(--amber-soft)}.about-features article:nth-child(6){background:var(--clay-soft)}.photo-invitation{background:var(--forest-soft);border-color:var(--line)}.photo-invitation:has(#choose-photo){background:var(--clay-soft)}.contact-card{background:var(--surface);border-color:var(--line)}
/* Personal space: plans in blue, discoveries and earned milestones in amber. */
.travel-panel{background:var(--surface);border-color:var(--line)}#travel-plans{border-top:4px solid var(--lake)}.travel-numbers>div:nth-child(1){background:var(--forest-soft)}.travel-numbers>div:nth-child(2){background:var(--amber-soft)}.travel-numbers>div:nth-child(3){background:var(--lake-soft)}.travel-numbers>div:nth-child(4){background:var(--clay-soft)}.travel-badge{background:#f4f5ef}.travel-badge.is-earned{background:var(--amber-soft);border-color:#b69036}.travel-badge.is-next{background:var(--forest-soft)}.travel-plan-list .travel-plan{background:var(--lake-soft)}.goal-progress-card{background:var(--forest-soft)}
/* Municipality pages: clear separation of map, stops, towns and traveller notes. */
.municipality-content .object-details{background:var(--surface);border-top-color:#c49b41}.municipality-explore .checklist-card{background:var(--forest-soft)}.municipality-object-card{background:var(--surface)}.municipality-explore .municipality-object-card.is-selected{background:#fff9e9;border-color:#d6c18a;box-shadow:inset 4px 0 #c5aa66}#municipality-towns{background:var(--forest-soft)}.town-card{background:var(--surface)}.municipality-content .day-trips{background:var(--lake-soft)}.municipality-content .day-trip-card{background:var(--surface)}#municipality-comments{background:var(--clay-soft)}.visit-info{background:#f1f3e6}
@media(min-width:761px){.public-place-picker .route-catalog-filters label{flex:1 1 260px}.public-place-picker .route-catalog-filters button{flex:0 0 auto}}
@media(max-width:760px){.ideas-hero{grid-template-columns:1fr;gap:18px;margin:25px 0}.ideas-hero h1{font-size:42px;letter-spacing:-1.5px;margin:12px 0 15px}.ideas-hero .discovery-lead{font-size:16px}.ideas-landscape{height:155px;border-radius:24px}.ideas-landscape img{height:100%;object-fit:cover}.ideas-landscape span{font-size:11px}.public-place-picker{padding:22px 20px}.public-place-picker .route-catalog-filters{flex-direction:column;align-items:stretch}.public-place-picker .route-catalog-filters label{flex:0 0 auto}.public-place-picker .route-catalog-filters .button{width:100%}.theme-choices{grid-template-columns:1fr;gap:16px}.theme-choice>a{display:grid;grid-template-columns:110px minmax(0,1fr)}.theme-art{height:100%;min-height:160px}.theme-copy{padding:20px 16px}.theme-copy h3{font-size:21px}.theme-copy p{font-size:15px}.ideas-invitation{padding:20px;gap:12px;flex-wrap:wrap}.ideas-invitation>span{font-size:30px}.ideas-invitation>div{flex:1}.ideas-invitation .button{width:100%;margin:0}.about-story{padding:22px}.about-story p{font-size:16px}.about-features p{font-size:16px}.discovery-page:has(.ideas-hero){padding-inline:0}}
@media(max-width:370px){.ideas-hero h1{font-size:36px}.theme-choice>a{grid-template-columns:85px minmax(0,1fr)}.theme-copy{padding:18px 14px}}

.ideas-hero h1 em{font-weight:650}.discovery-page .public-place-picker .route-catalog-filters{display:flex}.choice-or{margin:28px 0!important}.theme-copy{min-width:0}.theme-copy p{clear:none}

/* A brighter explorer: warm welcome, blue controls and category colour cues. */
.map-view .sidebar{background:#fffdfb;border-color:#e8dfd1;box-shadow:0 14px 44px #52634b14}
.map-view .sidebar .intro{background:linear-gradient(125deg,#fff0dc 0%,#fff8eb 55%,#eaf4f2 100%);border-radius:18px;padding:22px 16px;margin-bottom:14px}
.map-view .sidebar .intro .eyebrow{color:#8e4c32}
.map-view .sidebar .intro h1 em{color:#ad5335}
.map-view .sidebar .intro-copy{color:var(--muted)}
.map-view .sidebar-search-tools{background:#fffdfb;border-bottom-color:#eadfd1}
.map-view .sidebar-search-tools .search,.explore-toolbar .search{background:#eef6fa;border-color:#c9dfe9}
.map-view .sidebar-search-tools .search svg,.explore-toolbar .search svg{color:#2e708b}
.visit-segments{background:#eaf1f5}
.visit-segments button{color:#315d70}
.visit-segments button[aria-pressed=true]{background:#286b88;color:#fff;box-shadow:0 3px 8px #286b8825}
.map-view .sidebar-search-tools #object-category{background:#fffaf0;border-color:#e6d8b8;color:#5a4f32}
.map-view .sidebar .nearby-filter{background:#fff2d6;border-color:#ead39a;color:#78551b}
.map-view .sidebar .nearby-filter[aria-pressed=true]{background:#286b88;border-color:#286b88;color:#fff}
.map-view .sidebar .list-heading{color:var(--muted)}
.map-view .sidebar #result-count{background:#fce6c6;color:#80501d}
.map-view .sidebar .place-row{--category-ink:#35694a;--category-soft:#e6f1e5;--category-paper:#f7fbf5;background:var(--category-paper);border:1px solid #e7ebe4;margin-bottom:8px;box-shadow:0 2px 6px #173f3503}
.map-view .sidebar .place-row[data-category="Apžvalgos bokštai"],.map-view .sidebar .place-row[data-category="Apžvalgos vietos"]{--category-ink:#286680;--category-soft:#dcedf7;--category-paper:#f3f9fd}
.map-view .sidebar .place-row[data-category="Muziejai"],.map-view .sidebar .place-row[data-category="Istorinės vietos"]{--category-ink:#6b4f89;--category-soft:#ece3f6;--category-paper:#faf7fd}
.map-view .sidebar .place-row[data-category="Pilys ir dvarai"],.map-view .sidebar .place-row[data-category="Piliakalniai"]{--category-ink:#934e31;--category-soft:#f8e3d5;--category-paper:#fff8f3}
.map-view .sidebar .place-row[data-category="Sakralinis paveldas"],.map-view .sidebar .place-row[data-category="Technikos paveldas"],.map-view .sidebar .place-row[data-category="Aikštės"]{--category-ink:#825d20;--category-soft:#f7ebc8;--category-paper:#fffaf0}
.map-view .sidebar .place-row .row-icon{background:var(--category-soft);color:var(--category-ink);border-radius:12px}
.map-view .sidebar .place-row .category-tag{background:var(--category-soft);border-color:transparent;color:var(--category-ink)}
.map-view .sidebar .place-row .row-arrow{color:var(--category-ink)}
.map-view .sidebar .place-row:hover{border-color:var(--category-ink);box-shadow:0 4px 12px #173f350d}
.map-view .sidebar .place-row.is-selected{background:var(--category-soft);border-color:var(--category-ink);box-shadow:inset 3px 0 var(--category-ink)}
.map-view .sidebar .place-row.is-visited{background:#edf7e9;border-color:#b8d6b0}
.map-view .sidebar .place-row.is-visited .row-icon{background:#d5ebcd;color:#285b35}

/* One clear route panel, with stops presented as a numbered itinerary. */
.municipality-route .day-trip-grid{grid-template-columns:minmax(0,1fr)}
.municipality-route .day-trip-card{padding:26px 28px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;align-items:start}
.municipality-route .day-trip-card>.category-tag,.municipality-route .day-trip-card>h3,.municipality-route .day-trip-card>.plan-map-route,.municipality-route .day-trip-card>.day-trip-stops,.municipality-route .day-trip-card>.route-before-leaving{grid-column:1/-1}
.municipality-route .day-trip-card>h3{margin:0;font-size:24px}
.municipality-route .plan-map-route{display:flex;align-items:center;gap:24px;margin:6px 0}
.municipality-route .plan-map-route .button{background:var(--lake);border-color:var(--lake);color:#fff;min-height:48px;flex-shrink:0;border-radius:12px}
.municipality-route .plan-map-route .small{max-width:65ch;margin:0}
.municipality-route .day-trip-stops{margin:8px 0;border:1px solid #cadce2;border-radius:14px;background:#f6fafb;overflow:hidden}
.municipality-route .day-trip-stops>summary{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;min-height:52px;list-style:none;color:var(--ink)}
.municipality-route .day-trip-stops>summary::-webkit-details-marker{display:none}
.municipality-route .day-trip-stops>summary:after{content:'+';font-size:24px;font-weight:400}
.municipality-route .day-trip-stops[open]>summary:after{content:'−'}
.municipality-route .day-trip-stops ol{margin:0;padding:0 18px 8px;list-style:none;counter-reset:route-stop}
.municipality-route .day-trip-stops li{counter-increment:route-stop;position:relative;padding:18px 0 18px 42px;border-top:1px solid #dce7e9}
.municipality-route .day-trip-stops li:before{content:counter(route-stop);position:absolute;left:0;top:16px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#dfedf2;color:#285b72;font-size:13px;font-weight:700}
.municipality-route .day-trip-stops li>a{text-decoration:none;line-height:1.5}
.municipality-route .day-trip-card>[data-save-trip]{justify-self:start;min-height:48px;padding-inline:22px;border-radius:12px}
.municipality-route .day-trip-card>[data-trip-status]:empty{display:none}
.municipality-route .route-before-leaving{font-size:13px!important;color:var(--muted);margin:8px 0 0!important;padding-top:16px;border-top:1px solid var(--line)}
@media(max-width:760px){.municipality-route .day-trip-card{padding:20px;grid-template-columns:minmax(0,1fr);gap:12px}.municipality-route .plan-map-route{display:flex;flex-direction:column;align-items:stretch;gap:12px}.municipality-route .day-trip-card>[data-save-trip]{width:100%}.municipality-route .day-trip-card>[data-trip-status]{grid-column:1}}

.municipality-route .day-trip-card>.category-tag{justify-self:start}

.municipality-route .trip-edit-toggle{grid-column:1/-1;justify-self:start;min-height:44px;color:var(--lake);border-color:#b5d0da}
.inline-trip-editor{grid-column:1/-1;background:#f5f8f5;border:1px solid #d4e0d5;border-radius:16px;padding:20px}
.inline-trip-editor h4{font-size:17px;margin:0 0 12px}.inline-trip-editor fieldset{border:0;border-top:1px solid #d4e0d5;padding:12px 0;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
.inline-trip-editor legend{font-weight:700;padding-right:12px}.trip-stop-option{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}.trip-stop-option input{width:20px;height:20px;flex-shrink:0;accent-color:#287d5b}.trip-stop-option span{overflow-wrap:anywhere}
.inline-trip-order{padding:0;list-style:none;counter-reset:edit-stop}.inline-trip-order li{display:flex;align-items:center;gap:12px;counter-increment:edit-stop;padding:10px 0;border-bottom:1px solid #d4e0d5}.inline-trip-order li:before{content:counter(edit-stop);font-weight:700;color:var(--lake)}.inline-trip-order li>span{flex:1;min-width:0}.inline-trip-order li>div{display:flex;gap:4px;flex-shrink:0}.inline-trip-order button{width:44px;height:44px;background:white;border:1px solid #cbd9ce;border-radius:9px;color:var(--ink)}.inline-trip-order button:disabled{opacity:.35}
@media(max-width:760px){.inline-trip-editor{padding:16px}.inline-trip-editor fieldset{grid-template-columns:1fr}.inline-trip-order li{flex-wrap:wrap}.inline-trip-order li>span{flex-basis:calc(100% - 28px)}.inline-trip-order li>div{margin-left:24px}}

.municipality-route .plan-map-route{flex-wrap:wrap;gap:12px}.municipality-route .plan-map-route .small{flex-basis:100%;max-width:80ch}.municipality-route .plan-map-route .button{max-width:100%;white-space:normal}

.route-session-dialog{width:640px;max-width:calc(100% - 24px);max-height:85dvh;overflow:auto;background:var(--surface);padding:32px;border-radius:24px}.route-session-dialog h2{font-family:inherit;font-size:28px;font-weight:700;line-height:1.25}.route-session-dialog h3{font-size:22px;margin:10px 0 18px}.route-session-dialog .eyebrow{font-size:10px}.route-session-dialog>.small{font-size:14px;line-height:1.7}.route-current{padding:20px;background:#e8f2f5;border-radius:16px;margin:20px 0}.route-current .navigation-link{min-height:48px;background:white}.route-current .object-navigation{display:flex;flex-wrap:wrap;gap:12px}.route-step-actions{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.route-step-actions .button{min-height:44px;font-size:14px}.route-step-actions .button:disabled{cursor:default;opacity:.4}.route-full-list summary{min-height:44px;cursor:pointer;font-weight:600}.route-full-list ol{list-style:none;padding:0}.route-full-list li button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;min-height:48px;background:transparent;border:0;border-bottom:1px solid var(--line);padding:10px;color:var(--ink)}.route-full-list li button span{display:grid;place-items:center;border-radius:50%;width:28px;height:28px;flex-shrink:0;background:#e4eef1}.route-full-list li button[aria-current]{background:#e4f0e4;border-radius:10px}.plan-map-route>[data-start-route]{min-height:48px}
@media(max-width:760px){.route-session-dialog{padding:28px 20px}.route-step-actions{flex-direction:column}.route-step-actions .button{width:100%}.route-session-dialog h2{font-size:24px}}

/* Compact community favorites sit in the free lower corner of the atlas. */
.map-favorites{position:absolute;left:404px;bottom:36px;z-index:650;width:370px;max-width:calc(100% - 440px)}
.map-favorites:has(#global-object-leaders[hidden]){display:none}
.map-favorites-toggle{display:none}
.map-favorites #global-object-leaders{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0}
.map-favorites #global-object-leaders .object-leader{background:#fffef9f5;border:1px solid #d8e3dc;border-radius:17px;padding:15px;box-shadow:0 8px 26px #173f3510;backdrop-filter:blur(10px);display:flex;flex-direction:column;gap:7px}
.map-favorites #global-object-leaders .object-leader:first-child{border-top:3px solid #d7ad53}
.map-favorites #global-object-leaders .object-leader:nth-child(2){border-top:3px solid #5b9aaf}
.map-favorites #global-object-leaders .object-leader>small{font-size:10px;letter-spacing:.4px;color:#637361;line-height:1.4}
.map-favorites #global-object-leaders .object-leader>button{font-size:14px;line-height:1.45;margin:0;min-height:44px;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--ink)}
.map-favorites #global-object-leaders .object-leader>span{font-size:11px;line-height:1.5;margin-top:auto;color:#5b7064}
@media(min-width:1101px) and (max-width:1300px){.map-favorites{left:354px;width:330px;max-width:calc(100% - 390px)}}
@media(max-width:1100px){.map-favorites{left:12px;bottom:20px;width:min(350px,calc(100% - 82px));max-width:none}.map-favorites-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;width:100%;padding:12px 16px;border:1px solid #d0ddd4;border-radius:14px;background:#fffef9f5;color:var(--ink);font-size:13px;font-weight:650;box-shadow:0 4px 18px #173f3510}.map-favorites #global-object-leaders{display:none}.map-favorites.is-open #global-object-leaders{display:grid;margin-bottom:8px}.map-favorites.is-open{display:flex;flex-direction:column-reverse}.map-favorites.is-open .map-favorites-toggle>span{transform:rotate(180deg)}.map-favorites #global-object-leaders .object-leader{padding:12px;border-radius:14px}.map-favorites #global-object-leaders .object-leader>button{font-size:13px;min-height:44px}.map-favorites #global-object-leaders .object-leader>span{font-size:10px}.map-wrap:has(.map-favorites.is-open) #trip-randomizer{visibility:hidden}}

@media(min-width:1301px) and (max-width:1799px){.map-favorites{width:320px}}
@media(min-width:1101px) and (max-width:1300px){.map-favorites{width:300px}}

/* A quiet landscape vignette gives the explorer a warmer welcome. */
.map-view .sidebar .intro{position:relative;isolation:isolate;overflow:hidden;background:#f7f3e9;border:1px solid #e8e0d0;border-radius:19px;padding:23px 18px 60px;box-shadow:none}
.map-view .sidebar .intro:after{content:'';position:absolute;left:0;right:0;bottom:0;height:54px;background:url('/assets/sidebar-landscape.svg') center bottom/cover no-repeat;pointer-events:none;z-index:0}
.map-view .sidebar .intro>div{position:relative;z-index:1}
.map-view .sidebar .intro .eyebrow{color:#85734f;letter-spacing:1px;font-weight:650}
.map-view .sidebar .intro h1{color:#214b3d;letter-spacing:-.8px}
.map-view .sidebar .intro h1 em{color:#6a8266;font-style:normal}
.map-view .sidebar .intro-copy{color:var(--muted);line-height:1.6}

/* Let the welcome landscape meet the explorer panel edges. */
@media(min-width:1101px){
 .map-view .sidebar .intro{margin-top:-22px;margin-left:calc(-1 * var(--sidebar-gutter));margin-right:calc(-1 * var(--sidebar-gutter));padding:25px var(--sidebar-gutter) 60px;border:0;border-radius:0;margin-bottom:20px}
 .map-view .sidebar{overflow-x:hidden}
}

/* Keep scrolling native, with a quiet cue instead of a visible scrollbar. */
.map-view .sidebar{scrollbar-width:none;-ms-overflow-style:none;background:#fffdf8}
.map-view .sidebar::-webkit-scrollbar{display:none;width:0;height:0}
.map-view .sidebar .sidebar-search-tools{background:#fffdf8}
.map-view .sidebar .intro:before{content:'';position:absolute;left:0;right:0;bottom:0;height:26px;background:linear-gradient(to bottom,#fffdf800,#fffdf8);z-index:1;pointer-events:none}
.map-view .sidebar .list-heading{flex-wrap:wrap;gap:6px 10px}
.map-view .sidebar .list-heading #result-count{margin-left:auto}
.sidebar-scroll-hint{flex-basis:100%;font-size:10px;letter-spacing:0;color:#84927f;line-height:1.4;text-transform:none;text-align:right;padding-bottom:2px}
@media(max-width:1100px){.sidebar-scroll-hint{font-size:11px}}

/* A place story and a private journal, with clear separate actions. */
#place-page .municipality-content .object-details{grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding:24px;background:#fffdf8;border:1px solid #e5dfd2;border-radius:26px;box-shadow:0 10px 32px #23453808;align-items:start}
#place-page .object-overview{padding:26px;border-radius:20px;background:linear-gradient(135deg,#f4f7ef,#f0f6f8);border:1px solid #e1e8de;margin-bottom:22px}
#place-page .object-overview h2{font-size:clamp(26px,2.5vw,36px);line-height:1.16;letter-spacing:-.9px;max-width:32ch;margin:16px 0}
#place-page .object-overview .eyebrow{color:#637c6a;font-size:10px;letter-spacing:1.4px}
#place-page .object-intro{font-size:16px;line-height:1.8;max-width:76ch;color:var(--muted)}
#place-page .object-primary-actions{margin:24px 0 0;gap:10px}
#place-page .object-primary-actions .button{min-height:44px;font-size:13px;border-radius:12px}
#place-page .object-story .practical-info{background:#faf6ed;border:1px solid #ece2cd;padding:22px;border-radius:18px;margin:0 0 18px}
#place-page .object-story .practical-info h3{font-size:18px;margin:0 0 10px;color:#655738}
#place-page .object-story .practical-info p{font-size:14px;line-height:1.75}
#place-page .object-story .practical-info ul{padding-left:20px;font-size:13px;line-height:1.85}
#place-page .object-story .object-visit-tips{background:#f2f6ed;border:1px solid #dde6d6;padding:20px;border-radius:16px;margin:0 0 16px}
#place-page .object-history{padding:0 8px}
#place-page .object-community{display:flex;flex-direction:column;gap:16px;border:0;padding:0;min-width:0}
#place-page .object-memory,#place-page .object-community .object-rating,#place-page .object-contribute{background:#fff;border:1px solid #dfe7e3;border-radius:18px;padding:20px;margin:0;min-width:0}
#place-page .object-memory{background:#f0f6fa;border-color:#d4e5ed}
#place-page .object-community h3{font-size:18px;margin:0 0 10px;letter-spacing:-.3px}
#place-page .object-community p{font-size:13px;line-height:1.7;margin:0 0 14px;color:var(--muted)}
#place-page .object-community .eyebrow{font-size:9px;letter-spacing:1.4px;color:#397a96;margin-bottom:8px;font-weight:700}
#place-page .object-memory .button{width:100%;min-height:44px;font-size:13px;border-radius:11px}
#place-page .object-memory [data-edit-memory]{background:#fff;color:#30667e;border-color:#bcd6e3}
#place-page .object-memory-form{display:grid;gap:14px;padding-top:18px}
#place-page .object-memory-form label{display:grid;gap:7px;font-size:12px;font-weight:600;color:#31564b}
#place-page .object-memory-form input,#place-page .object-memory-form textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #bfd6df;border-radius:10px;background:#fff;padding:11px;font:inherit;font-weight:400;color:#244d42}
#place-page .object-memory-form textarea{resize:vertical;min-height:120px;font-size:14px;line-height:1.6}
#place-page .object-memory #object-memory-editor>p{padding-top:16px;margin:0}
#place-page .object-memory [data-memory-status]{margin:0;font-size:12px;color:#30667e;overflow-wrap:anywhere}
#place-page .object-memory [data-memory-status]:empty{display:none}
#place-page .object-contribute{background:#faf8f2;border-color:#e8e1d2}
#place-page .object-community .object-detail-footer{display:flex;flex-direction:column;align-items:stretch;gap:8px}
#place-page .object-detail-footer .report-button,#place-page .object-detail-footer .photo-submit-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #ddd7c9;border-radius:10px;text-decoration:none;background:#fffdf8;font-size:12px;color:#615c47;box-sizing:border-box}
#place-page .object-community .rating-stars{display:flex;justify-content:space-between;gap:3px}
#place-page .object-community .rating-star{min-width:40px;min-height:44px;display:grid;place-items:center;border-radius:10px;background:#faf7ee}
#place-page .object-community .rating-star span{font-size:30px}
@media(max-width:1100px){#place-page .municipality-content .object-details{grid-template-columns:minmax(0,1fr) 270px;padding:20px;gap:18px}#place-page .object-overview{padding:22px}}
@media(max-width:800px){#place-page .municipality-content .object-details{grid-template-columns:1fr;padding:18px;gap:18px}#place-page .object-community{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}#place-page .object-contribute{grid-column:1/-1}#place-page .object-community .object-detail-footer{flex-direction:row;flex-wrap:wrap}}
@media(max-width:540px){#place-page .municipality-content .object-details{padding:12px;border-radius:22px}#place-page .object-overview{padding:20px 16px;border-radius:16px}#place-page .object-overview h2{font-size:26px}#place-page .object-intro{font-size:14px}#place-page .object-community{display:flex}#place-page .object-story .practical-info{padding:18px}#place-page .object-community .rating-stars{justify-content:flex-start;gap:8px}#place-page .object-community .rating-star{min-width:44px}}

#place-page .object-community .rating-feedback:empty{display:none}

/* Keep the complete place story visible, with short readable sections. */
#place-page .object-overview .object-description{border-top:1px solid #dce5df;margin-top:24px;padding-top:22px;max-width:76ch}
#place-page .object-overview .object-description p{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 16px}
#place-page .object-overview .object-detail-section{padding:0;margin:0 0 22px}
#place-page .object-overview .object-detail-section:last-child,#place-page .object-overview .object-description p:last-child{margin-bottom:0}
#place-page .object-overview .object-detail-section h3{font-size:19px;line-height:1.4;color:#244f42;margin:0 0 10px;letter-spacing:-.3px}
@media(max-width:540px){#place-page .object-overview .object-description{margin-top:22px;padding-top:20px}#place-page .object-overview .object-description p{font-size:14px;line-height:1.8}#place-page .object-overview .object-detail-section h3{font-size:18px}}

/* Keep the full landscape visible; continue its surface through all filters. */
@media(min-width:1101px){
 .map-view .sidebar .intro{background:#f7f3e9;margin-bottom:0;padding-bottom:60px}
 .map-view .sidebar .intro:before{display:none}
 .map-view .sidebar .intro:after{display:block}
 .map-view .sidebar .sidebar-search-tools{padding-top:20px;background:linear-gradient(to bottom,#d7e3cf 0%,#edf1e4 28%,#f7f3e9 65%,#fffdf8 100%);box-shadow:none}
}

/* Navigation choices get their own row; the three main buttons stay fixed. */
#place-page .object-directions-panel{margin-top:12px;padding:12px;border:1px solid #d6e3dc;background:#fffdf8;border-radius:14px;width:fit-content;max-width:100%;box-sizing:border-box}
#place-page .object-directions-panel[hidden]{display:none}
#place-page .object-directions-panel .object-navigation{display:flex;flex-wrap:wrap;gap:10px;margin:0}
#place-page .object-directions-panel .navigation-link{min-height:44px;justify-content:center;padding:10px 14px;box-sizing:border-box}
#place-page [data-object-directions][aria-expanded=true]{border-color:#77a698;background:#e8f1eb}
@media(max-width:540px){#place-page .object-directions-panel{width:100%;padding:10px}#place-page .object-directions-panel .object-navigation{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px}#place-page .object-directions-panel .navigation-link{padding:10px 8px;font-size:12px;gap:6px}}

.map-favorites #global-object-leaders .leader-method{font-size:10px;line-height:1.5;margin-top:0;color:var(--muted)}
.map-favorites #global-object-leaders>p{grid-column:1/-1;background:#fffef9f5;border:1px solid #d8e3dc;border-radius:14px;padding:16px;margin:0}

/* A shared, quiet surface system across the municipality page. */
#place-page:has(.municipality-hero){--place-surface:#fffdf8;--place-line:#dfe5d9;--place-radius:22px;--town-surface:#f6f8f1;--warm-surface:#fffdf8}
#place-page .municipality-jump-nav{background:#f5f7ef;border-color:var(--place-line)}
#place-page .municipality-explore .municipality-map-card,
#place-page .municipality-explore .checklist-card,
#place-page .municipality-content .object-details,
#place-page .settlements,
#place-page .municipality-route,
#place-page .municipality-content .comments{border:1px solid var(--place-line);border-radius:var(--place-radius);background:var(--place-surface);box-shadow:0 5px 20px #23453805;margin-bottom:28px}
#place-page .municipality-explore .municipality-map-card,
#place-page .municipality-explore .checklist-card{margin-bottom:0}
#place-page .municipality-explore .municipality-map-heading{background:var(--place-surface);border-color:var(--place-line)}
#place-page .municipality-explore .checklist-card{background:#f6f8f1}
#place-page .settlements{background:#f6f8f1}
#place-page .town-card{background:var(--place-surface);border-color:var(--place-line);border-radius:16px;box-shadow:none}
#place-page .town-card.is-visited{background:#e9f2e2;border-color:#91b07e;box-shadow:inset 0 3px #638e48}
#place-page .object-overview{background:transparent;border:0;border-radius:0;padding:4px 2px 22px;margin-bottom:0}
#place-page .object-story .practical-info{background:#faf8f0;border-color:#e8e2d4;border-radius:16px}
#place-page .object-story .object-visit-tips{background:#f6f8f1;border-color:var(--place-line);border-radius:16px}
#place-page .object-memory{background:#f5f9fb;border-color:#dbe7ec}
#place-page .object-contribute{background:#faf9f4;border-color:#e8e2d4}
#place-page .municipality-route{padding:28px 32px;border-top:3px solid #9fc5d1}
#place-page .municipality-route .day-trip-card{padding:22px 0 0;background:transparent;border:0;border-top:1px solid var(--place-line);border-radius:0;box-shadow:none}
#place-page .municipality-route .day-trip-stops{background:#f5f9fa;border-color:#dbe7ec;border-radius:16px}
#place-page .municipality-content .comments{border-top:3px solid #dcc58d}
#place-page .towns-section-heading h2,
#place-page #day-trips-title,
#place-page .municipality-comments-heading h2{font-size:28px;line-height:1.25;letter-spacing:-.7px;margin:6px 0 12px}
#place-page .button,#place-page .navigation-link{border-radius:12px;min-height:44px}
#place-page .municipality-route .trip-edit-toggle{color:var(--ink);border-color:#ccdcd3;background:var(--place-surface)}
#place-page .municipality-content .comments .button{color:var(--ink);border-color:#ccdcd3;background:var(--place-surface)}
#place-page .municipality-content .comments .button.dark{background:var(--ink);color:#fff}
@media(max-width:800px){#place-page .municipality-route{padding:26px}}
@media(max-width:540px){#place-page .municipality-route{padding:22px 18px}#place-page .object-overview{padding:8px 4px 20px}#place-page .towns-section-heading h2,#place-page #day-trips-title,#place-page .municipality-comments-heading h2{font-size:24px;letter-spacing:-.5px}}

/* Two equally weighted discovery collections, with separate counts. */
.discovery-progress-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 12px}
.discovery-progress-cards>div{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid #dce5d6;border-radius:16px;background:#f6f8f1}
.discovery-progress-cards>div:nth-child(2){background:#faf6ed;border-color:#e6dcc9}
.discovery-progress-cards>div:last-child{background:#edf4ee;border-color:#cddfd1}
.discovery-progress-cards span{font-size:13px;font-weight:650}.discovery-progress-cards strong{font-size:30px;color:#244d38}.discovery-progress-cards small{font-size:12px;color:var(--muted)}
.discovery-progress-cards progress{width:100%;height:7px;accent-color:#48785b}
#map-progress .progress-method{font-size:11px;line-height:1.5;color:#d5e3d9;margin:8px 0 12px}
.discovery-breakdown{display:grid;gap:10px;padding:12px 0;border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26;margin:12px 0}
.discovery-breakdown p{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px;margin:0;font-size:11px;color:#e4ece5}
.discovery-breakdown small{grid-column:1/-1;color:#bdcec3;font-size:10px}
#place-page .town-visit-guidance,.travel-panel .town-visit-guidance{padding:16px 18px;border-left:3px solid #819b6c;border-radius:0 12px 12px 0;background:#edf2e5;font-size:14px;line-height:1.8;color:#42563c;margin:18px 0}
.town-visit-guidance strong{display:block;color:#244d38;margin-bottom:4px}
#place-page .municipality-progress .progress-caption{line-height:1.6}
@media(max-width:760px){.discovery-progress-cards{grid-template-columns:1fr}.discovery-progress-cards>div{padding:16px}.discovery-progress-cards strong{font-size:27px}}
@media(max-width:1100px){.map-view .map-dashboard>#map-progress{width:190px!important}.map-view #map-progress .progress-method{font-size:10px;margin:6px 0}.map-view .discovery-breakdown{padding:7px 0;margin:7px 0;gap:6px}.map-view .discovery-breakdown p{font-size:10px}.map-view #map-progress .map-progress-counts{display:none}}
#map-progress .discovery-breakdown p{margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px;line-height:1.5}
#map-progress .discovery-breakdown small{margin:0;padding:0;line-height:1.4}
@media(max-width:1100px){.map-view .map-dashboard>#map-progress{display:block!important;width:220px!important}.map-view #map-progress .progress-value{display:flex;align-items:baseline;gap:4px}.map-view #map-progress .discovery-breakdown p{font-size:10px}.map-view #map-progress .progress-method{line-height:1.4}}

/* Fresh morning: the discovery card echoes the brand icon. */
.map-view #map-progress{background:#17594d;border-color:#2c7161;color:#fff9ee;box-shadow:0 10px 30px #17594d20}
.map-view #map-progress .progress-top .eyebrow{color:#c0e2c5}
.map-view #map-progress .progress-value{color:#c0e2c5}
.map-view #map-progress .progress-value span{color:#c0e2c5}
#map-progress .progress-track{background:#437b6b}
#map-progress .progress-track>div{background:#c0e2c5}
.map-view #map-progress p,.map-view #map-progress .map-progress-counts strong{color:#fff9ee}
.map-view #map-progress small{color:#c0e2c5}
#map-progress .discovery-breakdown{border-color:#c0e2c540}
#map-progress .map-legend{border-color:#c0e2c540;color:#fff9ee}
#map-progress .little-mark{color:#f39c82}

/* Header account action shares the fresh morning brand palette. */
.header #account{background:#17594d;color:#fff9ee;border-color:#17594d}
.header #account:hover{background:#1d6b5c;border-color:#1d6b5c}
.header #account:focus-visible{outline-color:#f39c82}

.municipality-edit-link{float:right;margin:20px 0 12px}.municipality-edit-link+.municipality-hero{clear:both}.municipality-photo{margin:0 0 24px;border:1px solid #dfe5d9;border-radius:20px;overflow:hidden;background:#fffdf8}.municipality-photo img{display:block;width:100%;height:clamp(200px,30vw,450px);object-fit:cover}.municipality-photo figcaption{padding:12px 20px;color:var(--muted);font-size:12px;line-height:1.6}@media(max-width:720px){.municipality-photo{border-radius:16px}.municipality-photo figcaption{padding:12px 16px}}

/* Themed attraction cards: published photography replaces the brand illustration. */
.discovery-page .theme-object-card{display:grid;grid-template-columns:minmax(0,1fr) 142px;padding:0;overflow:hidden;border-radius:22px;min-height:254px;box-shadow:0 5px 22px #173f3505;transition:box-shadow .2s,border-color .2s}
.theme-object-card:hover{box-shadow:0 10px 28px #173f3510;border-color:#a9cbbb}.theme-object-copy{padding:25px;min-width:0;display:flex;flex-direction:column;align-items:flex-start}.theme-object-copy .eyebrow{font-size:10px;letter-spacing:1.2px;color:var(--muted);margin:0 0 12px}.theme-object-copy h2{font-size:21px;line-height:1.28;letter-spacing:-.4px;margin:0 0 12px}.theme-object-copy h2 a{text-decoration:none;color:var(--ink)}.theme-object-copy h2 a:hover{text-decoration:underline;text-underline-offset:4px}.theme-object-copy .theme-object-description{font-size:14px;line-height:1.65;color:var(--muted);margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.theme-object-primary{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:700;text-decoration:none;padding:10px 15px;background:#e8f2eb;border-radius:11px;margin-top:auto}.theme-object-primary:hover{background:#dcece0}.theme-object-primary span{font-size:20px;line-height:1}.theme-object-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:15px}.theme-object-links a{font-size:12px;color:#708479;text-decoration:none}.theme-object-links a:hover{text-decoration:underline}.theme-object-visual{display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(160deg,#e7f1e7,#d3e6d8)}.theme-object-apzvalgos-bokstai .theme-object-visual{background:linear-gradient(160deg,#edf3ed,#d2e6e1)}.theme-object-pilys-ir-dvarai .theme-object-visual{background:linear-gradient(160deg,#fcf0dd,#eddfc7)}.theme-object-logo{width:74px;height:74px;filter:drop-shadow(0 8px 12px #17594d15)}.theme-object-photo{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}.theme-object-card:focus-within{outline:3px solid #a2c9b6;outline-offset:3px}
@media(max-width:1100px) and (min-width:721px){.discovery-page .theme-object-card{grid-template-columns:minmax(0,1fr) 112px}.theme-object-copy{padding:22px}}
@media(max-width:720px){.discovery-page .theme-object-card{grid-template-columns:minmax(0,1fr) 108px;min-height:234px}.theme-object-copy{padding:20px}.theme-object-copy h2{font-size:20px}.theme-object-logo{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.theme-object-card{transition:none}}

.theme-object-credit{position:absolute;bottom:0;left:0;right:0;padding:8px 10px;font-size:10px;line-height:1.5;background:#fffdf5ec;color:#526b5d;overflow-wrap:anywhere}.theme-object-credit a{color:inherit}

.discovery-page .theme-municipality-filter{grid-template-columns:minmax(220px,1fr) auto;max-width:760px;border-radius:18px;background:var(--surface)}.theme-results-count{font-size:14px!important;color:var(--muted);margin:20px 0 16px!important}@media(max-width:720px){.discovery-page .theme-municipality-filter{grid-template-columns:1fr}}

.theme-search-wrap{position:relative;min-width:0}.theme-search-wrap label{display:block;margin-bottom:6px}.theme-search-wrap input{width:100%}.theme-search-suggestions{position:absolute;z-index:20;top:calc(100% + 8px);left:0;right:0;max-height:320px;overflow:auto;padding:7px;border:1px solid #cadcd0;border-radius:14px;background:#fffdf9;box-shadow:0 12px 28px #173f351a}.theme-search-suggestions button{display:flex;justify-content:space-between;gap:14px;text-align:left;width:100%;padding:12px;border:0;background:transparent;color:#17594d;border-radius:9px;cursor:pointer;font:inherit;font-size:14px}.theme-search-suggestions button:hover,.theme-search-suggestions button:focus-visible{background:#e8f2eb}.theme-search-suggestions small{white-space:nowrap;color:var(--muted)}.theme-search-empty{padding:8px 12px;font-size:14px}.theme-search-suggestions[hidden],.theme-search-suggestions button[hidden]{display:none}.discovery-page .theme-municipality-filter>.theme-filter-clear{grid-column:auto;justify-self:stretch;padding:12px 20px;min-height:48px;font-size:14px;text-decoration:none;margin:0}

/* On phones the atlas is the first content; personal panels follow below it. */
@media(max-width:1100px){
 .map-view .workspace{display:flex;flex-direction:column;height:auto!important;min-height:0;position:relative;padding:0 0 16px}
 .map-view .workspace>.explore-toolbar{position:relative;inset:auto;order:0;width:calc(100% - 24px);margin:12px;flex:none}
 .map-view .workspace>.map-wrap{order:1;display:flex;flex-direction:column;position:relative;width:100%;height:auto;min-height:0;visibility:visible}
 .map-view #map{position:relative;inset:auto;width:100%;height:max(320px,calc(78vw + 68px));flex:none}
 .map-view .map-wrap>.map-dashboard{position:static;display:grid;grid-template-columns:minmax(0,1fr);width:auto;order:3;gap:12px;margin:12px;z-index:auto}
 .map-view .map-wrap .map-dashboard>#map-progress,.map-view .map-wrap .map-dashboard>#trip-randomizer{position:static!important;inset:auto!important;width:100%!important;padding:16px!important;margin:0!important;border-radius:18px;display:block!important}
 .map-view .map-dashboard>#map-progress .progress-value{margin:0 0 8px}.map-view .map-dashboard>#map-progress .progress-value strong{font-size:30px}
 .map-view #map-progress .progress-method{font-size:12px;margin:6px 0 10px}
 .map-view #map-progress .discovery-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-bottom:0;padding:10px 0 0;margin:10px 0 0}
 .map-view #map-progress .discovery-breakdown p{font-size:12px;grid-template-columns:1fr auto}.map-view #map-progress .discovery-breakdown small{font-size:11px}
 .map-view .map-dashboard>#trip-randomizer h2{font-size:17px;margin:0 0 12px}.map-view .map-dashboard>#trip-randomizer .randomizer-button{min-height:44px;font-size:14px}.map-view .map-dashboard>#trip-randomizer .randomizer-status{font-size:12px}
 .map-view .map-wrap>.map-note{position:static;inset:auto;order:2;max-width:none;margin:6px 12px 0;font-size:10px;line-height:1.5}
 .map-view .map-wrap>.map-favorites{position:static;inset:auto;order:4;width:auto;max-width:none;margin:0 12px 12px;z-index:auto}
 .map-view .map-wrap:has(.map-favorites.is-open) #trip-randomizer{visibility:visible}
 .map-view .sidebar{top:128px;bottom:auto;min-height:320px;height:calc(100dvh - 270px);max-height:650px;z-index:800}
 .map-view.places-open .map-wrap{display:none}.map-view.places-open .workspace{min-height:calc(100dvh - 116px)}
 .map-view .leaflet-control-attribution{font-size:8px!important;max-width:calc(100vw - 12px);white-space:normal}
}
@media(min-width:601px) and (max-width:1100px){.map-view .map-wrap>.map-dashboard{grid-template-columns:1fr 1fr}}
@media(max-width:360px){.map-view #map-progress .discovery-breakdown{grid-template-columns:1fr}}

/* One clear map reset control on phones; zoom remains available by touch. */
@media(max-width:720px){
  .map-view #map .leaflet-control-zoom a{display:none}
  .map-view #map .leaflet-control-zoom{border:0;border-radius:14px;box-shadow:0 6px 20px #173f351a;overflow:hidden}
  .map-view #map .map-home-control{width:44px;height:44px;border:1px solid #dce6df;border-radius:14px;background:#fff;color:#18594d}
  .map-view #map .map-home-control svg{width:23px;height:23px}
  .map-view #map .map-home-control:hover{background:#f2f7ee}
}

@media(min-width:721px){
  .map-view #map .leaflet-control-zoom{overflow:hidden}
  .map-view #map .map-home-control{width:100%;min-width:44px;height:44px;border-radius:0 0 12px 12px}
  .map-view #map .map-home-control svg{width:22px;height:22px}
}

/* Keep five rating targets inside even the narrowest phone cards. */
@media(max-width:360px){
 #place-page .object-community .object-rating{padding:14px}
 #place-page .object-community .rating-stars{gap:3px}
}

/* Keep the mobile search row stable while the catalogue loads. */
@media(max-width:1100px){#mobile-search{min-height:46px}}

.share-progress-button{display:block;width:100%;min-height:44px;margin:16px 0 0;border:1px solid #bce1c580;border-radius:12px;background:#ffffff12;color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.share-progress-button:disabled{opacity:.6}.share-progress-button:hover{background:#ffffff24}

.desktop-search-placeholder{display:none}@media(min-width:1101px){.sidebar-search-tools:not(:has(.search)) .desktop-search-placeholder{display:block;height:46px;margin-bottom:10px}}

/* Keep the desktop dashboard above the map and clear of its attribution. */
@media(min-width:1101px){
 .map-view #map{isolation:isolate}
 .map-view #map .leaflet-control-zoom{margin-right:280px}
 .map-view .map-dashboard{max-height:calc(100% - 64px);overflow-y:auto;scrollbar-width:thin}
}

@media(min-width:1101px) and (max-width:1300px){.map-view #map .leaflet-control-zoom{margin-right:236px}}

#municipality-mobile-nav{display:none}
@media(max-width:800px){
 #municipality-mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:900;gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fffdf7;border-top:1px solid #c5d7cb;box-shadow:0 -3px 16px #153f3514}
 #municipality-mobile-nav>a,#municipality-mobile-nav>button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:10px;background:#eaf1e7;color:#17594d;text-decoration:none;font:600 14px system-ui;cursor:pointer}
 #municipality-mobile-nav small{font-size:12px;margin-top:2px}
 #place-page:has(#municipality-mobile-nav){padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 body:has(#place-page:not([hidden]) #municipality-mobile-nav) #toast{bottom:calc(85px + env(safe-area-inset-bottom))}
 body:has(dialog[open]) #municipality-mobile-nav{visibility:hidden}
}

#guest-progress-note{position:fixed;z-index:1100;top:calc(10px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(820px,calc(100% - 24px));box-sizing:border-box;display:flex;align-items:center;gap:20px;padding:16px 52px 16px 20px;background:#fff1cf;color:#354f42;border:1px solid #e7cf94;border-radius:18px;box-shadow:0 8px 28px #263f3526;font-size:14px}
#guest-progress-note[hidden]{display:none}
.guest-notice-copy{flex:1;min-width:0}.guest-notice-copy strong{display:block;font-size:15px;color:#194d42}.guest-notice-copy p{margin:5px 0 0;line-height:1.45}
#guest-progress-note>.button{flex-shrink:0;background:#17594d;color:white;border:0;padding:12px 16px;min-height:44px;font-size:14px}
.guest-notice-close{position:absolute;top:8px;right:6px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:#516454;font-size:25px;cursor:pointer}
body:has(dialog[open]) #guest-progress-note{visibility:hidden}
@media(max-width:600px){#guest-progress-note{align-items:stretch;flex-direction:column;gap:12px;padding:14px 44px 14px 16px;border-radius:14px;font-size:12px}.guest-notice-copy strong{font-size:14px}#guest-progress-note>.button{align-self:flex-start;font-size:13px;padding:10px 16px}}
#auth-dialog .social-login{display:flex;flex-direction:column}#auth-dialog .social-button.google{border:2px solid #17594d;font-weight:700}

.auth-security-note{display:flex;align-items:center;gap:12px;margin:20px 0 14px;padding:14px 16px;border:1px solid #d3e2d6;border-radius:14px;background:#eef5ee;color:#235a48}.auth-security-note svg{flex:0 0 26px}.auth-security-note strong{display:block;font-size:14px}.auth-security-note small{display:block;margin-top:3px;font-size:12px;line-height:1.5;color:var(--muted)}#forgot-password,#switch-auth{margin-top:12px;margin-right:12px}

/* Saved ideas and sourced visit information */
.practical-filters{border:1px solid #d6e2d8;border-radius:16px;padding:12px;display:grid;gap:10px;margin:12px 0}.practical-filters label{display:flex;align-items:center;gap:8px;min-height:36px;font-size:14px}.practical-filters input{width:18px;height:18px;flex-shrink:0}.practical-filters small{font-size:12px;line-height:1.5}.practical-filters legend{font-weight:700}.wishlist-section{padding:24px;margin:20px auto;border:1px solid #d6e2d8;border-radius:20px;background:#fffdf6;max-width:1100px}.wishlist-section ul{list-style:none;padding:0;display:grid;gap:12px}.wishlist-section li{padding:12px 0;border-top:1px solid #d6e2d8;display:grid;gap:6px}.wishlist-section li a{font-weight:700}.wishlist-section li button{justify-self:start;min-height:44px}.practical-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.practical-facts dt{font-weight:700}.practical-facts dd{margin:4px 0 0}.object-primary-actions [data-wishlist][aria-pressed=true]{background:#eaf1e5;color:#19594d}@media(max-width:600px){.practical-facts{grid-template-columns:1fr}.wishlist-section{padding:18px;margin:12px}}

.wishlist-filter{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px}.wishlist-filter input{width:18px;height:18px}.family-filter-details{margin:6px 0 10px;border:1px solid #d6e2d8;border-radius:12px;background:#f8faf4}.family-filter-details summary{padding:12px;cursor:pointer;font-size:14px;font-weight:700}.family-filter-details .practical-filters{margin:0;border:0}.family-filter-details .practical-filters legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Match the selected map/list place with its complete description. */
#place-page .object-overview{background:#fff9e9;border:1px solid #d6c18a;border-radius:20px;padding:26px;box-shadow:inset 4px 0 #c5aa66}
@media(max-width:540px){#place-page .object-overview{padding:20px 16px}}
#place-page .object-overview .eyebrow{color:#705315;font-size:13px;font-weight:800;letter-spacing:.5px}

.municipality-jump-nav .jump-label{display:flex;flex-direction:column;gap:6px;text-align:left}
.municipality-jump-nav .jump-label small{font-size:12px;font-weight:400;line-height:1.4;color:var(--muted)}

#place-page .object-overview .object-intro,#place-page .object-overview .object-description p{color:#292d29}

/* Readable descriptions on light surfaces across public and account pages. */
.municipality-map-heading p,.randomizer-note,.map-view .map-note,.route-choice .route-preview-label,.route-choice .route-extra,.optional-label,.choice-or,.municipality-photo figcaption{color:var(--muted)}

body #place-page .municipality-hero .muted,body #place-page .municipality-progress small,body .municipality-explore .municipality-map-heading p,body .municipality-explore .object-group-title+.small,body #place-page .object-visit-tips p,body #place-page .settlements>.small,body #place-page .town-navigation-note,body #place-page .comments .small,body .share-caption,body .place-grid p,body .check-row p,body .checklist-card>.small,body .object-details>.small,body .rating-summary small,body .settlement-row small,body dialog p,body .place-row small:not(.object-category),body .object-leader>small,body .object-leader>span{color:var(--muted)}

/* Town history and community guidance use the same readable body contrast. */
body #place-page .town-history,body #place-page .town-history a,body #place-page .town-status,body #place-page .rating-stars legend,body #place-page .object-community p,body #place-page .object-community small{color:#343b35}
body #place-page .town-history a{font-size:12px}
body #place-page .town-status{font-size:13px}
body #place-page .object-detail-footer .report-button,body #place-page .object-detail-footer .photo-submit-link{color:#343b35}

/* Compact saved-place filter; search results take priority over the introduction. */
.visit-segments button{min-width:0;font-size:12px;letter-spacing:-.2px}
@media(min-width:1101px){
 .map-view .sidebar.is-searching .intro{display:none}
 .map-view .sidebar.is-searching:not(.search-filters-open) #explore-filter-panel{display:none}
 .map-view .sidebar.is-searching .sidebar-search-tools{padding-top:16px;padding-bottom:10px;background:var(--surface)}
 #search-filter-toggle{display:block;margin:6px 0 0;padding:8px 0;font-size:13px;font-weight:600}
}

.search-empty{padding:20px 12px;text-align:left;color:#343b35}
.search-empty strong{display:block;font-size:16px;line-height:1.4;color:var(--ink)}
.search-empty p{font-size:14px;line-height:1.65;margin:10px 0 16px}
.search-empty .button{min-height:44px;font-size:13px;padding:10px 12px}


.sidebar-search-tools .search input,.explore-toolbar .search input{min-width:0}
.sidebar-search-tools .search .search-clear,.explore-toolbar .search .search-clear{flex:none;display:grid;place-items:center;width:44px;min-height:44px;padding:0;margin:0 -6px 0 2px;border:0;border-radius:10px;background:transparent;color:#2e708b;font-size:27px;line-height:1;cursor:pointer}
.sidebar-search-tools .search .search-clear:hover,.explore-toolbar .search .search-clear:hover{background:#dcecf4}
#search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}

.travel-guide-links{margin:42px 0;padding:0;background:transparent;border:0}
.travel-guide-links>h2{margin:0 0 8px;font-size:28px;line-height:1.25}
.travel-guide-links>.guide-section-intro{margin:0 0 22px;font-size:15px;line-height:1.6;color:var(--muted)}
.guide-card-grid{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid #d4ddd1}
.guide-card-grid>article{min-width:0;border-bottom:1px solid #d4ddd1}
.travel-guide-links .guide-card{display:grid;grid-template-columns:190px minmax(0,1fr) 140px;align-items:center;gap:28px;padding:22px 8px;text-decoration:none;color:var(--ink);border-radius:12px;transition:background .18s}
.guide-card>img{display:block;width:100%;height:auto;aspect-ratio:1.4;object-fit:contain;border-radius:14px}
.guide-card-body{display:flex;flex-direction:column;gap:9px;min-width:0}
.guide-card-label{font-size:10px;font-weight:700;letter-spacing:1.2px;color:#6a715c}
.guide-card h3{margin:0;font-size:25px;line-height:1.25;letter-spacing:-.4px}
.guide-card-body>p{margin:0;font-size:14px;line-height:1.65;color:var(--muted);font-weight:400;max-width:65ch}
.guide-card-action{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:14px;font-weight:700;color:#245747;white-space:nowrap}
.guide-card-action>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid #c4d3bf;font-size:20px}
.travel-guide-links .guide-card:hover{background:#edf1e6}
@media(max-width:900px){.travel-guide-links .guide-card{grid-template-columns:140px minmax(0,1fr);gap:14px 22px}.guide-card>img{grid-row:1/3}.guide-card-action{grid-column:2;justify-content:flex-start}.guide-card h3{font-size:22px}}
@media(max-width:600px){.travel-guide-links{margin:30px 0}.travel-guide-links>h2{font-size:24px}.travel-guide-links .guide-card{grid-template-columns:80px minmax(0,1fr);align-items:start;gap:12px 16px;padding:20px 0}.guide-card>img{grid-row:1;aspect-ratio:1;height:auto;border-radius:10px;object-fit:cover}.guide-card h3{font-size:20px}.guide-card-label{font-size:9px;letter-spacing:.7px}.guide-card-body>p{font-size:13px;line-height:1.6}.guide-card-action{font-size:13px;gap:10px}.guide-card-action>span{width:28px;height:28px;font-size:17px}}
@media(prefers-reduced-motion:reduce){.travel-guide-links .guide-card{transition:none}}

.guide-article{max-width:1080px;margin:0 auto}
.guide-article-header{padding:26px 0 36px;border-bottom:1px solid #d4ddd1;margin-bottom:42px}
.guide-article-header>.eyebrow{font-size:11px;letter-spacing:1.4px;margin:0 0 18px;color:#637358}
.discovery-page .guide-article-header h1{max-width:960px;margin:0 0 24px;font-size:clamp(32px,4vw,48px);line-height:1.14;letter-spacing:-1.4px}
.guide-article-intro{max-width:72ch;font-size:19px!important;line-height:1.75!important;color:#343b35!important;margin:0!important}
.guide-reading-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:56px;align-items:start}
.guide-contents{position:sticky;top:28px;padding-top:4px}
.discovery-page .guide-contents h2{font-size:15px;margin:0 0 16px}
.guide-contents ol{padding:0 0 0 18px;margin:0;display:grid;gap:13px;font-size:13px;color:#53644c}
.guide-contents a{line-height:1.6;text-decoration:none}
.guide-contents a:hover{text-decoration:underline}
.guide-map-link{display:inline-block;border-top:1px solid #d4ddd1;margin-top:24px;padding-top:18px;font-size:13px;font-weight:700}
.guide-prose{max-width:68ch;min-width:0}
.guide-prose>section{margin:0 0 38px;scroll-margin-top:28px}
.guide-section-number{display:block;margin-bottom:10px;font-size:11px;letter-spacing:1.5px;font-weight:700;color:#84724f}
.discovery-page .guide-prose h2{margin:0 0 16px;font-size:26px;line-height:1.3;letter-spacing:-.5px}
.discovery-page .guide-prose p{margin:0 0 14px;font-size:16px;line-height:1.85;color:#343b35}
.guide-destinations{border-top:1px solid #d4ddd1;padding-top:32px;margin:12px 0 32px;scroll-margin-top:24px}
.discovery-page .guide-destinations>h2{margin:10px 0;font-size:28px}
.guide-destinations>p:not(.eyebrow){font-size:15px;color:var(--muted);margin:0 0 22px}
.guide-next-step{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;background:#eaf0e4;border-radius:18px}
.discovery-page .guide-next-step h2{font-size:21px;margin:0 0 12px}
.guide-next-step ul{display:flex;flex-wrap:wrap;gap:10px 20px;list-style:none;padding:0;margin:0;font-size:14px}
.guide-next-step>.button{flex-shrink:0}
@media(max-width:760px){.guide-article-header{padding:20px 0 28px;margin-bottom:24px}.discovery-page .guide-article-header h1{font-size:32px;letter-spacing:-.8px;margin-bottom:20px}.guide-article-intro{font-size:17px!important;line-height:1.7!important}.guide-reading-layout{grid-template-columns:1fr;gap:30px}.guide-contents{position:static;padding:18px 20px;background:#edf1e7;border-radius:14px}.guide-contents ol{gap:9px}.guide-map-link{margin-top:16px;padding-top:12px}.discovery-page .guide-prose h2{font-size:24px}.discovery-page .guide-prose p{font-size:16px;line-height:1.8}.guide-prose>section{margin-bottom:32px}.guide-next-step{flex-direction:column;align-items:stretch;padding:22px}.guide-next-step>.button{width:100%;white-space:normal}.guide-next-step ul{display:grid;gap:10px}}

/* Account overview: compact progress, clear navigation, quieter settings. */
#profile-dialog{width:580px;max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);padding:32px;border-radius:24px;overflow-y:auto;overscroll-behavior:contain}
#profile-dialog>.close{top:16px;right:16px;width:44px;height:44px}
#profile-dialog>.eyebrow{margin:4px 48px 12px 0;font-size:10px;letter-spacing:1.8px}
#profile-dialog #profile-name{font-size:32px;line-height:1.2;letter-spacing:-.7px;margin:0 48px 6px 0;overflow-wrap:anywhere}
#profile-dialog #profile-email{font-size:14px;line-height:1.6;margin:0 0 24px;overflow-wrap:anywhere}
#profile-dialog h3{font-size:16px;line-height:1.4;margin:0 0 12px}
#profile-dialog .travel-summary{padding:20px;margin:0;background:#f4f7f0;border:1px solid #e0e7d9;border-radius:16px}
#profile-dialog .summary-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 20px}
#profile-dialog .summary-numbers>span{font-size:12px;line-height:1.5;color:#46554d;min-width:0}
#profile-dialog .summary-numbers strong{display:block;font-size:30px;line-height:1.2;margin-bottom:6px;color:#173f35;font-weight:700}
#profile-dialog .profile-travel-links{display:grid;border-top:1px solid #dce5d6}
#profile-dialog .profile-travel-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;text-decoration:none;min-height:60px}
#profile-dialog .profile-travel-links a+a{border-top:1px solid #e0e7db}
#profile-dialog .profile-travel-links a:last-child{padding-bottom:0}
#profile-dialog .profile-travel-links strong{display:block;font-size:14px}
#profile-dialog .profile-travel-links small{display:block;font-size:12px;color:#46554d;margin-top:3px;line-height:1.5}
#profile-dialog .profile-travel-links a:hover strong{text-decoration:underline;text-underline-offset:3px}
#profile-dialog .profile-note{font-size:12px;line-height:1.65;margin:12px 0 24px}
#profile-dialog .social-account-links{margin:0;padding:20px 0;border-top:1px solid #e0e7df}
#profile-dialog .social-account-links .small{font-size:12px;line-height:1.6;margin:0 0 12px}
#profile-dialog .social-login{gap:10px;margin:0}
#profile-dialog .social-button{font-size:12px;min-height:44px;border-radius:10px;padding:10px;background:#fff;color:#254e42;border:1px solid #ccdacf}
#profile-dialog .social-button:disabled{opacity:1;background:#f4f6f2;color:#59655e;border-color:#e2e7df}
#profile-dialog .account-security{border-top:1px solid #e0e7df;padding:18px 0;margin:0}
#profile-dialog #verification-status{font-size:13px;line-height:1.6;margin:0}
#profile-dialog .profile-actions{display:flex;justify-content:space-between;gap:12px;margin:0;padding-top:16px}
#profile-dialog .profile-actions .button{width:auto;font-size:13px;min-height:44px;padding:10px 16px;border-radius:10px}
#profile-dialog #logout{margin-left:auto;background:#f2f5ef;color:#254e42;border:1px solid #dce5d8;box-shadow:none}
#profile-dialog #resend-verification{font-size:13px;margin-top:12px;min-height:44px}
@media(max-width:480px){#profile-dialog{padding:24px 20px;border-radius:20px}#profile-dialog #profile-name{font-size:28px}#profile-dialog .travel-summary{padding:16px}#profile-dialog .summary-numbers{gap:10px}#profile-dialog .summary-numbers strong{font-size:26px}#profile-dialog .summary-numbers>span{font-size:11px}#profile-dialog .social-login{grid-template-columns:1fr}#profile-dialog .profile-actions{flex-direction:row;flex-wrap:wrap}}
