/* The village welcomes visitors before opening the map. */
.explorer[data-view=home] { grid-template-columns:1fr; }
.explorer[data-view=home] .map-area { display:none; }
.explorer[data-view=home] .discovery-panel { position:relative; inset:auto; width:auto; height:auto; min-height:0; border:0; padding:30px clamp(20px,4vw,64px); background:var(--paper); }
.explorer[data-view=home] .home-content { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr); gap:22px; width:100%; max-width:1240px; margin:0 auto; }
.explorer[data-view=home] .welcome-row { grid-column:1/-1; margin:0 0 3px; }
.welcome-row #visitor-greeting { font-size:22px; font-weight:750; }
.welcome-row>div { flex:1; min-width:0; }
.welcome-row #visitor-greeting { overflow-wrap:anywhere; }
.welcome-row .visitor-local-date { flex-shrink:0; }
.visitor-local-date { margin-left:auto; text-align:right; color:var(--muted); font-size:14px; font-weight:600; max-width:210px; }
.explorer[data-view=home] .destination-hero { grid-column:1; grid-row:2/5; min-height:470px; margin:0; border-radius:20px; }
.explorer[data-view=home] .hero-content { padding:36px; }
.explorer[data-view=home] .hero-content h1 { font-size:clamp(34px,3.5vw,52px); line-height:1.12; }
.explorer[data-view=home] .hero-content p { font-size:18px; max-width:480px; line-height:1.7; }
.explorer[data-view=home] .home-content>.town-weather { grid-column:2; grid-row:2; margin:0; }
.explorer[data-view=home] .home-heading { grid-column:2; grid-row:3; margin:0; align-self:end; }
.explorer[data-view=home] .quick-actions { grid-column:2; grid-row:4; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; }
.explorer[data-view=home] .quick-action { min-height:116px; padding:15px 8px; font-size:15px; border-radius:14px; transition:transform .2s,box-shadow .2s; }
.explorer[data-view=home] .quick-action:hover { transform:translateY(-3px); box-shadow:0 7px 18px #10253814; }
.explorer[data-view=home] .featured-route { grid-column:1/-1; margin:4px 0 0; min-height:210px; }
.explorer[data-view=home] .featured-route img { height:100%; max-height:290px; }
.home-recommendations { grid-column:1/-1; padding-top:12px; }
.home-place-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.home-place-grid .place-card { margin:0; min-width:0; width:100%; border:1px solid var(--line); border-radius:14px; padding:18px; background:var(--surface); }
.place-contact-links { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0; }
.place-contact-links a { display:flex; align-items:center; gap:8px; min-height:44px; color:var(--ink); text-decoration:underline; overflow-wrap:anywhere; }
.place-reviews { padding-top:24px; margin-top:24px; border-top:1px solid var(--line); }
.place-reviews h3 { margin:0; font-size:22px; }
.visitor-review { padding:16px 0; border-bottom:1px solid var(--line); }
.visitor-review>strong { margin-left:10px; color:var(--bronze); }
.visitor-review p { line-height:1.7; white-space:pre-line; overflow-wrap:anywhere; }
.visitor-review time { font-size:13px; color:var(--muted); }
.request-contact { margin-top:24px; border-top:1px solid var(--line); padding-top:20px; }
.request-contact summary { font-size:18px; font-weight:700; cursor:pointer; min-height:44px; }
.description-dialog { width:min(660px,calc(100% - 28px)); max-height:85dvh; padding:30px; border:1px solid var(--line); border-radius:20px; background:var(--surface); color:var(--ink); }
.description-dialog::backdrop { background:#061e2cb8; backdrop-filter:blur(4px); }
.description-dialog>.icon-button { float:right; }
.description-dialog h2 { padding-right:38px; font-size:27px; }
.description-dialog p { white-space:pre-line; font-size:17px; line-height:1.85; overflow-wrap:anywhere; }
.usage-choice { position:fixed; z-index:80; left:24px; right:24px; bottom:24px; max-width:1040px; margin:auto; display:flex; flex-wrap:wrap; align-items:center; gap:20px; padding:22px; border:1px solid var(--line); border-radius:18px; background:var(--surface); color:var(--ink); box-shadow:0 14px 50px #071e2b30; }
.usage-choice>div:first-child { flex:1; min-width:220px; }
.usage-choice h2 { margin:0 0 7px; font-size:18px; }
.usage-choice p { font-size:14px; line-height:1.6; margin:0; }
.usage-choice a { font-size:14px; text-decoration:underline; }
.usage-choice-actions { display:flex; flex-wrap:wrap; gap:10px; }
.usage-choice .secondary-button { min-height:46px; }
.report-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; }
.report-tabs a { padding:12px 16px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink); font-weight:650; }
.report-tabs a[aria-current] { color:#fff; background:#153f79; border-color:#153f79; }
.report-explanation form,.report-item form { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:18px; }
.report-item input { min-width:0; max-width:100%; }
.report-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.report-metrics article { display:flex; flex-direction:column; gap:12px; }
.report-metrics strong { font-size:36px; font-weight:750; }
.report-columns { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.report-ranking { display:flex; justify-content:space-between; gap:20px; padding:15px 0; border-bottom:1px solid var(--line); }
.report-ranking span { overflow-wrap:anywhere; }
.report-item { padding:22px 0; border-bottom:1px solid var(--line); }
.report-item p { white-space:pre-line; overflow-wrap:anywhere; line-height:1.7; }
.report-item small { display:block; margin-top:8px; color:var(--muted); }
.usage-chart { height:180px; display:flex; align-items:stretch; gap:3px; border-bottom:1px solid var(--line); margin:30px 0 18px; }
.usage-chart>span { flex:1; display:flex; align-items:flex-end; min-width:1px; }
.usage-chart i { width:100%; height:max(2px,var(--bar)); border-radius:4px 4px 0 0; background:linear-gradient(#20b5a5,#1c579a); }
.google-content { border:1px solid var(--line); background:var(--surface); padding:24px; border-radius:16px; }
.google-attribution { font-family:Arial,sans-serif; font-size:16px; font-style:normal; font-weight:400; letter-spacing:normal; color:#5e5e5e; white-space:nowrap; }
.dark .google-attribution { color:#fff; }
.google-score { font-size:30px; font-weight:700; }
.google-score small { font-size:15px; font-weight:500; }
@media(max-width:1050px) { .explorer[data-view=home] .home-content { grid-template-columns:minmax(0,1.1fr) minmax(280px,1fr); gap:18px; } .explorer[data-view=home] .hero-content { padding:24px; } .explorer[data-view=home] .quick-actions { grid-template-columns:repeat(2,minmax(0,1fr)); } .explorer[data-view=home] .destination-hero { min-height:550px; } .report-metrics { grid-template-columns:1fr 1fr; } }
@media(max-width:820px) { .explorer[data-view=home] .discovery-panel { position:absolute; inset:0; padding:24px max(20px,calc((100% - 650px)/2)); } .explorer[data-view=home] .home-content { display:flex; flex-direction:column; gap:20px; max-width:650px; } .explorer[data-view=home] .destination-hero { min-height:390px; flex:none; } .explorer[data-view=home] .hero-content { padding:28px; } .explorer[data-view=home] .hero-content h1 { font-size:40px; } .explorer[data-view=home] .quick-actions { grid-template-columns:repeat(3,minmax(0,1fr)); } .explorer[data-view=home] .home-heading { align-self:stretch; } .home-place-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .usage-choice { left:12px; right:12px; bottom:calc(var(--bottom-height) + 12px); max-height:65dvh; overflow:auto; padding:18px; } .report-columns { grid-template-columns:1fr; } }
@media(max-width:480px) { .explorer[data-view=home] .discovery-panel { padding:20px 18px; } .welcome-row #visitor-greeting { font-size:20px; } .visitor-local-date { font-size:12px; max-width:105px; } .explorer[data-view=home] .hero-content { padding:24px; } .explorer[data-view=home] .hero-content h1 { font-size:37px; } .explorer[data-view=home] .hero-content p { font-size:17px; } .explorer[data-view=home] .destination-hero { min-height:400px; } .explorer[data-view=home] .quick-actions { gap:9px; } .explorer[data-view=home] .quick-action { font-size:14px; min-height:112px; } .home-place-grid { grid-template-columns:1fr; } .report-metrics { gap:12px; } .report-metrics strong { font-size:30px; } }
@media(prefers-reduced-motion:reduce) { .explorer[data-view=home] .quick-action { transition:none; } }

.report-page>.admin-card { padding:24px; margin-bottom:22px; }
.report-columns>.admin-card,.report-metrics>.admin-card { padding:24px; }
.report-page h2 { margin-top:0; }
.report-explanation summary { cursor:pointer; min-height:44px; line-height:44px; font-weight:650; }
@media(max-width:599px) { .report-page>.admin-card,.report-columns>.admin-card,.report-metrics>.admin-card { padding:18px; } }

@media(min-width:821px) and (max-width:1400px) { .tourism-app .header-actions .account-link span { display:none; } .tourism-app .header-actions { gap:8px; } .tourism-app .top-nav { gap:2px; min-width:0; } .tourism-app .nav-item { padding-inline:9px; } }
