/* Mappa Brindisi: interfaccia cartografica. Non modifica le tessere OpenStreetMap. */
@font-face { font-family: "Titillium Web"; src: url("fonts/Titillium_Web-400-lat.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/Titillium_Web-600-lat.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/Titillium_Web-700-lat.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("fonts/Oswald-600-lat.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrains_Mono-600-lat.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #203b32;
  --muted: #50645a;
  --accent: #17675d;
  --accent-dark: #0d5149;
  --waypoint: #c65c2c;
  --paper: #f3f4ed;
  --surface: #fffefa;
  --line: #cdd9cc;
  --focus: #a8431d;
  font-family: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
button, input, select { font: inherit; }
a { color: var(--accent-dark); text-underline-offset: .15em; }
a:hover { color: #713418; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .leaflet-container:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .65rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--focus);
}
.skip-link:focus { top: 1rem; }

.site-header {
  background: #fbfaf4;
  border-bottom: 1px solid #bfcfbe;
}
.header-inner {
  max-width: 1320px;
  min-height: 72px;
  margin: auto;
  padding: .7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .8rem; min-width: 0; color: #123d35; text-decoration: none; }
.brand:hover { color: #0a6559; }
.brand-name { font-size: 1.38rem; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand-divider { height: 1.8rem; border-left: 1px solid #9ab29d; }
.brand-place { font-size: .72rem; line-height: 1.2; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.header-back { font-size: .85rem; font-weight: 750; }

.page-shell { max-width: 1320px; margin: auto; padding: 0 1.5rem; }
.breadcrumb { display: flex; gap: .5rem; padding: 1.1rem 0 .8rem; color: var(--muted); font-size: .82rem; }
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, .65fr);
  align-items: end;
  gap: 2rem;
  padding: .8rem 0 1.8rem;
}
.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.intro h1 {
  margin: .35rem 0 .7rem;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(2.65rem, 5.3vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.intro h1 em { color: var(--accent); font-style: normal; }
.lead { max-width: 66ch; margin: 0; color: #354f42; font-size: clamp(1rem, 1.25vw, 1.15rem); }
.intro-note {
  display: flex;
  gap: .75rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--waypoint);
  background: #f9eee4;
  color: #533926;
}
.intro-note p { margin: 0; font-size: .85rem; }
.note-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.45rem;
  height: 1.45rem;
  border: 2px solid #985023;
  border-radius: 50%;
  font: 700 1rem Georgia, serif;
}

.pilot-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .85fr);
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid #bed1c4;
  border-radius: .7rem;
  background: #e9f0e8;
}
.pilot-summary h2 { margin: .2rem 0 .3rem; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.03em; }
.pilot-summary p:not(.eyebrow) { max-width: 65ch; margin: 0; color: #365447; font-size: .9rem; }
.pilot-library-link { display: inline-block; margin-top: .5rem; font-size: .82rem; font-weight: 750; }
.pilot-steps { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.pilot-steps li { display: inline-flex; align-items: center; gap: .4rem; padding: .48rem .62rem; border: 1px solid #b8ccbd; border-radius: 999px; background: #fffefa; color: #25483b; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.pilot-steps span { color: var(--accent-dark); font-size: .7rem; font-variant-numeric: tabular-nums; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: start; gap: 1rem; }
.controls, .results {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(33, 60, 45, .04);
}
.panel-heading { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.05rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; font-size: 1.22rem; line-height: 1.3; letter-spacing: 0; }
.step {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: .3rem;
  background: #e2ebe0;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.controls label { display: block; margin-bottom: .42rem; font-weight: 720; }
.controls select, .controls input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: .65rem .85rem;
  border: 1px solid #8ca991;
  border-radius: .35rem;
  background: #fff;
  color: var(--ink);
}
.controls input[type="search"] { margin-bottom: .9rem; }
.controls input::placeholder { color: #687a6e; }
.controls :is(input, select):disabled { color: #52645b; background: #f3f5f1; cursor: wait; }
.search-status { margin: .1rem 0 .75rem; color: var(--muted); font-size: .82rem; }
.help { margin: .6rem 0 1.15rem; color: var(--muted); font-size: .84rem; }

.map-consent {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px dashed #93aa92;
  border-radius: .45rem;
  background:
    radial-gradient(circle at 84% 22%, #d7e6dc 0 17%, transparent 17.2%),
    linear-gradient(135deg, #edf1e6 0%, #e3ebdf 53%, #d7e6e6 100%);
}
.map-consent::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -17%;
  bottom: -48%;
  width: 60%;
  height: 90%;
  border: 24px solid rgba(99, 164, 171, .22);
  border-radius: 50%;
  transform: rotate(-28deg);
  pointer-events: none;
}
.map-consent-icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--waypoint);
  border-radius: 50%;
  background: #fff9f1;
  color: #91421f;
  font-size: 2rem;
  line-height: 1;
}
.map-consent strong { font-size: 1.4rem; line-height: 1.2; }
.map-consent p { max-width: 39ch; margin: .7rem 0 1rem; color: #395647; }
.map-consent button {
  min-height: 46px;
  padding: .7rem 1.1rem;
  border: 1px solid var(--accent-dark);
  border-radius: .35rem;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.map-consent button:hover { background: var(--accent-dark); }
.map-consent a { margin-top: .8rem; font-size: .82rem; }
.map {
  height: 430px;
  overflow: hidden;
  border: 1px solid #a9bba9;
  border-radius: .45rem;
  background: #e2ebe5;
  z-index: 0;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.25rem;
  margin: .7rem 0 .3rem;
  font-size: .8rem;
  color: var(--muted);
}
.map-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend-dot { display: inline-block; width: .85rem; height: .85rem; border: 2px solid var(--accent-dark); border-radius: 50%; background: #fff; }
.legend-dot--audio { background: #277a6d; }
.legend-dot--selected { border-color: #873713; background: var(--waypoint); }
.map-attribution { margin: .55rem 0 0; color: var(--muted); font-size: .75rem; }
.leaflet-container { font-family: inherit; }
.leaflet-bar { border: 1px solid #78917c !important; box-shadow: 0 1px 4px rgba(24, 51, 34, .18) !important; }
.leaflet-bar a { color: var(--ink) !important; background: #fffefa !important; }
.leaflet-bar a:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.leaflet-control-attribution { background: rgba(255, 254, 250, .94) !important; color: #304a3e !important; }

.selection-status { min-height: 2.4rem; margin: 0 0 .8rem; color: #345344; }
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.tab { padding: .4rem .55rem; border: 1px solid #a8c1ac; border-radius: .3rem; background: #e7f0e5; color: var(--accent-dark); font-size: .8rem; font-weight: 750; }
.tab span { margin-left: .18rem; font-size: .7rem; font-weight: 500; }
.tab.muted { border-color: #d7ddd5; background: #f1f2ed; color: #5a685e; }
.result-list { min-height: 150px; }
.empty-state { margin: 0; padding: 1rem; border-left: 3px solid #b5c8b4; background: #f3f5ef; color: var(--muted); }
.place-card { position: relative; margin: .55rem 0; padding: .85rem 1rem .85rem 1.15rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: .3rem; background: #fff; }
.show-more { display: block; width: 100%; min-height: 46px; margin-top: .8rem; padding: .6rem .8rem; border: 1px solid var(--accent); border-radius: .35rem; background: #e7f0e5; color: var(--accent-dark); font-weight: 750; text-align: center; cursor: pointer; }
.show-more:hover { background: #d8e9d7; }
.place-card h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.place-flag-label { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; width: fit-content; margin: .6rem 0 .3rem; color: var(--ink); font-size: .78rem; font-weight: 700; }
.place-flag { min-height: 44px; max-width: 170px; padding: .35rem .5rem; border: 1px solid #8ca991; border-radius: .35rem; background: #fff; color: var(--ink); font: inherit; }
.place-flag:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.place-card p { margin: .32rem 0 0; color: var(--muted); font-size: .84rem; }
.place-photo { display: block; width: 100%; height: auto; max-height: 190px; margin: 0 0 .75rem; border-radius: .22rem; aspect-ratio: 16/10; object-fit: cover; background: #e9eee8; }
.place-card .place-summary { margin-top: .65rem; color: #2d493c; line-height: 1.55; }
.distance { display: inline-block; margin-top: .55rem; color: var(--accent-dark); font-size: .81rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.place-position { display: block; width: fit-content; min-height: 44px; padding: .65rem 0 .2rem; font-size: .81rem; font-weight: 750; }
.place-detail-link { display: block; width: fit-content; min-height: 44px; margin-top: .45rem; padding: .55rem .8rem; border-radius: .35rem; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 750; text-decoration: none; }
.place-detail-link:hover { color: #fff; background: var(--accent-dark); }
.media-details { margin-top: .7rem; border-top: 1px solid #d9e4d9; }
.media-details summary { padding: .7rem 0 .15rem; color: var(--accent-dark); font-size: .85rem; font-weight: 750; cursor: pointer; }
.media-details summary:hover { text-decoration: underline; text-underline-offset: .15em; }
.media-details label { display: block; margin: .7rem 0 .3rem; color: var(--ink); font-size: .82rem; font-weight: 700; }
.media-details select { width: 100%; min-height: 44px; padding: .5rem .65rem; border: 1px solid #8ca991; border-radius: .35rem; background: #fff; color: var(--ink); }
.media-details audio, .media-details video { display: block; width: 100%; max-width: 100%; margin: .65rem 0 .15rem; }
.media-details audio { min-height: 48px; }
.media-details video { background: #172923; }
.transcript-details { margin-top: .45rem; }
.transcript-details summary { padding: .45rem 0; font-size: .8rem; }
.transcript-details p { margin: .2rem 0 .6rem; padding: .7rem .8rem; border-left: 3px solid #90b8a4; background: #f3f7f1; color: var(--ink); font-size: .84rem; }
.media-details .media-error { margin: .5rem 0; color: #8d2e1e; font-size: .82rem; }
.card-video { margin-top: .85rem; padding: .75rem; border: 1px solid #b9d3c0; border-radius: .4rem; background: #f2f7f1; }
.card-video h4 { margin: 0 0 .5rem; font-size: .9rem; }
.card-video-actions { display: grid; gap: .45rem; }
.card-video-play { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 0; border-radius: .35rem; background: var(--accent-dark); color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.card-video-play:hover { background: #073d38; }
.card-video-play[aria-pressed="true"] { background: #16644f; }
.card-video-play:disabled { background: #dce8df; color: #3d5549; cursor: not-allowed; }
.card-video-play:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.card-video video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: .55rem; background: #172923; }
.place-card .card-video-note { font-size: .74rem; line-height: 1.4; }
.source-box { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.source-box h3 { margin: 0 0 .45rem; font-size: .92rem; }
.source-box p { margin: .35rem 0; color: var(--muted); font-size: .8rem; }
.place-directory { margin-top: 1.4rem; padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); }
.directory-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.directory-heading h2 { margin: .2rem 0 0; font-size: clamp(1.45rem, 2.5vw, 2.2rem); letter-spacing: -.035em; }
.directory-heading > p { max-width: 47ch; margin: 0; color: var(--muted); font-size: .88rem; }
.directory-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem 1rem; margin: 1.15rem 0 0; padding: 0; list-style: none; }
.directory-list a { display: flex; align-items: center; min-height: 48px; padding: .45rem .6rem; border-radius: .25rem; font-size: .86rem; font-weight: 650; text-decoration: none; }
.directory-list a::after { content: "↗"; margin-left: auto; padding-left: .35rem; }
.directory-list a:hover { background: #e9f0e8; text-decoration: underline; }
.page-footer { padding: 1.6rem 0 2rem; color: var(--muted); font-size: .8rem; }

@media (max-width: 960px) {
  .intro, .pilot-summary, .workspace { grid-template-columns: 1fr; }
  .directory-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-heading { align-items: start; flex-direction: column; }
  .intro { gap: 1rem; padding-bottom: 1.3rem; }
  .intro-note { max-width: 68ch; }
  .pilot-steps { justify-content: flex-start; }
  .map, .map-consent { min-height: 360px; }
  .map { height: 360px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 64px; padding: .55rem 1rem; }
  .page-shell { padding: 0 1rem; }
  .brand-name { font-size: 1.12rem; }
  .brand-place { font-size: .62rem; }
  .header-back { font-size: .75rem; }
  .intro { padding: .55rem 0 1.15rem; }
  .intro h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .pilot-summary { padding: 1rem; }
  .pilot-steps li { white-space: normal; }
  .controls, .results { padding: 1rem; }
  .map, .map-consent { min-height: 300px; }
  .map { height: 300px; }
  .directory-list { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .header-inner { flex-wrap: wrap; gap: .35rem; }
  .header-back { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.card-mobility{margin-top:.8rem;border:1px solid #bed5e4;border-radius:.6rem;background:#f4f9fc}
.card-mobility summary{display:flex;align-items:center;min-height:48px;padding:.55rem .75rem;color:#0b426c;font-weight:750;cursor:pointer}
.card-mobility summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.card-mobility ul{margin:.2rem .75rem;padding:0 0 0 1.1rem}
.card-mobility li{margin:.3rem 0;color:#243d4d;font-size:.85rem;line-height:1.4}
.card-mobility p{margin:.65rem .75rem;color:#3c5360;font-size:.78rem;line-height:1.45}
.card-mobility a{display:inline-flex;align-items:center;min-height:44px;margin:0 .75rem .4rem;color:#0b426c;font-size:.82rem;font-weight:750}

/* InfoComuni Brindisi: i luoghi sono la navigazione primaria. */
:root {
  --ink: #0b2340;
  --muted: #46586e;
  --accent: #1766a6;
  --accent-dark: #0b4376;
  --waypoint: #f3bd3f;
  --paper: #eef3f8;
  --surface: #ffffff;
  --line: #c7d8e8;
  --focus: #bf7300;
}
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.site-header { background: #0b2340; border-bottom: 3px solid #5bc4ff; }
.header-inner { min-height: 66px; }
.brand, .brand:hover, .header-back, .header-back:hover { color: #fff; }
.brand-logo { display: block; width: 160px; height: auto; }
.brand-divider { border-color: #8cb3d2; }
.brand-place { color: #bfe3ff; }
.header-back { text-decoration: none; }
.header-back:hover { text-decoration: underline; }
.service-crosslink{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1.1rem;padding:.9rem 1.1rem;border:1px solid #c5d8e5;border-radius:12px;background:#eef6fa;color:#173b57;line-height:1.45}
.service-crosslink a{font-weight:800;color:#174d8b;text-underline-offset:3px;white-space:nowrap}
.service-crosslink a:focus-visible{outline:3px solid #d9782d;outline-offset:3px}
@media(max-width:640px){.service-crosslink{display:block;margin-bottom:.8rem}.service-crosslink span{display:block;margin-bottom:.4rem}.service-crosslink a{white-space:normal}}
.page-shell { max-width: 1600px; }
.breadcrumb { padding: .78rem 0 .38rem; }
.intro { grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 1.2rem; padding: .45rem 0 1.2rem; }
.intro h1 { max-width: 20ch; margin: .25rem 0 .42rem; font-size: clamp(2.2rem,4vw,3.65rem); line-height: 1.03; }
.intro h1 em { color: #1766a6; }
.lead { max-width: 61ch; color: #344b63; font-size: 1rem; }
.intro-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .65rem 0 0; color: #435968; font-size: .86rem; }
.intro-meta strong { color: #0b2340; }
.intro-link { flex: none; margin-bottom: .12rem; font-size: .84rem; font-weight: 750; }
.eyebrow { color: #0b5c9f; font-family: "JetBrains Mono", monospace; font-weight: 600; font-size: .68rem; letter-spacing: .08em; }
.workspace { grid-template-columns: minmax(285px,330px) minmax(0,1fr); gap: .8rem; align-items: stretch; }
.experience { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: .8rem; min-width: 0; }
.controls, .map-panel, .results { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); box-shadow: 0 8px 28px rgba(16,45,59,.055); }
.controls { display: flex; flex-direction: column; }
.panel-heading { margin-bottom: .8rem; padding-bottom: .65rem; border-color: #e4e8e5; }
.panel-heading h2, .map-panel-heading h2 { margin: .12rem 0 0; font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; font-size: 1.3rem; line-height: 1.2; letter-spacing: 0; }
.controls input[type="search"], .controls select:not(.sr-only) { min-height: 48px; border: 1px solid #aebfbe; border-radius: .58rem; }
.controls input[type="search"] { margin-bottom: .5rem; padding-left: 2.5rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23526771' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat .7rem center; }
.search-status { margin: .5rem 0 .35rem; }
.browse-list { display: grid; align-content: start; gap: .5rem; max-height: 575px; overflow: auto; padding: .15rem .18rem .15rem 0; scrollbar-color: #b2c9ca transparent; }
.browse-item { display: grid; grid-template-columns: 58px minmax(0,1fr) 1.2rem; align-items: center; gap: .68rem; width: 100%; min-height: 70px; padding: .43rem .5rem; border: 1px solid #dbe5e2; border-radius: .65rem; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.browse-item:hover { border-color: #7bb9e6; background: #f0f8ff; }
.browse-item[aria-current="true"] { border-color: var(--accent); background: #e9f4ff; box-shadow: inset 3px 0 var(--accent); }
.browse-thumb { display: block; width: 58px; height: 55px; border-radius: .4rem; background: #dcecf8; object-fit: cover; }
.browse-placeholder { display: grid; place-items: center; color: var(--accent-dark); font-size: 1.35rem; }
.browse-text { min-width: 0; }
.browse-name { display: block; font-size: .85rem; font-weight: 760; line-height: 1.26; }
.browse-kind { display: block; margin-top: .17rem; color: #667682; font-size: .72rem; }
.browse-chevron { color: #8a9ea1; font-size: 1.1rem; }
.browse-more { min-height: 44px; border: 1px solid #98bfe0; border-radius: .55rem; background: #edf6ff; color: var(--accent-dark); font-weight: 750; cursor: pointer; }
.mobile-view-toggle { display: none; }
.map-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .72rem; }
.map-panel-mark { color: #1766a6; font-size: 2rem; line-height: 1; }
.map { height: 575px; min-height: 575px; border-radius: .72rem; background: #f7f5f0; border: 1px solid #b6ccdd; }
.map-consent { align-items: flex-end; justify-content: flex-end; border: 0; padding: 1rem; background: linear-gradient(145deg,#d9e8e8 0%,#c9dedc 49%,#e9dfc8 50%,#e6ddc9 100%); }
.map-consent::before { content: ""; position: absolute; z-index: -1; width: 75%; height: 64%; top: -19%; left: -13%; border: 26px solid rgba(255,255,255,.55); border-radius: 48%; transform: rotate(-22deg); }
.map-consent::after { border-color: rgba(13,97,114,.18); }
.map-consent-content { width: min(100%,385px); padding: 1.35rem; border: 1px solid rgba(255,255,255,.8); border-radius: .8rem; background: rgba(255,253,249,.97); box-shadow: 0 18px 48px rgba(19,58,65,.15); }
.map-consent-icon { width: 2.2rem; height: 2.2rem; margin-bottom: .55rem; border: 0; background: #e6f1f1; color: var(--accent); font-size: 1.5rem; }
.map-consent strong { display: block; font-size: 1.3rem; }
.map-consent p { margin: .4rem 0 .8rem; font-size: .91rem; }
.map-consent button { width: 100%; min-height: 48px; border-radius: .5rem; }
.map-consent small { display: block; margin-top: .65rem; color: #596970; font-size: .7rem; line-height: 1.4; }
.map-consent small a { display: inline; margin: 0; font-size: inherit; }
.results { min-height: 650px; }
.selection-status { min-height: auto; margin: -.25rem 0 .65rem; font-size: .82rem; }
.result-list { min-height: 0; }
.place-card { margin: 0; padding: .85rem; border: 1px solid #dbe4e1; border-radius: .7rem; box-shadow: none; }
.place-card h3 { font-size: 1.18rem; line-height: 1.2; }
.place-photo { max-height: 155px; aspect-ratio: 16/8; border-radius: .45rem; }
.place-card p { font-size: .79rem; }
.place-card .place-summary { max-height: 7.4em; overflow: auto; }
.place-detail-link { width: 100%; text-align: center; }
.nearby-list { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.nearby-list h3 { margin: 0 0 .45rem; font-size: .88rem; }
.nearby-link { display: block; width: 100%; min-height: 44px; padding: .55rem .2rem; border: 0; border-bottom: 1px solid #e9eeeb; background: transparent; color: var(--accent-dark); font-size: .81rem; font-weight: 700; text-align: left; cursor: pointer; }
.source-box { margin: 1rem 0 0; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.source-box summary { cursor: pointer; color: var(--accent-dark); font-size: .84rem; font-weight: 750; }
.source-box p { max-width: 95ch; }
.place-directory { margin-top: 1rem; }
@media (max-width: 1180px) {
  .experience { grid-template-columns: 1fr; }
  .map { height: 440px; min-height: 440px; }
  .results { min-height: 0; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 .75rem; }
  .breadcrumb { padding: .55rem 0 .25rem; }
  .intro { display: block; padding: .4rem 0 .75rem; }
  .intro h1 { max-width: 17ch; font-size: clamp(2.15rem,9vw,3.1rem); }
  .lead { font-size: .91rem; }
  .intro-link { display: none; }
  .workspace { display: block; }
  .experience { display: contents; }
  .mobile-view-toggle { display: grid; position: sticky; z-index: 500; top: 0; grid-template-columns: repeat(3,1fr); gap: .25rem; margin: 0 -.75rem .65rem; padding: .45rem .75rem; background: rgba(238,243,248,.97); border-bottom: 1px solid var(--line); }
  .mobile-view-toggle button { min-height: 44px; border: 1px solid transparent; border-radius: .55rem; background: transparent; color: #3b5661; font-weight: 750; }
  .mobile-view-toggle button[aria-pressed="true"] { border-color: #1766a6; background: #1766a6; color: #fff; }
  body[data-mobile-view="list"] .map-panel, body[data-mobile-view="list"] .results, body[data-mobile-view="map"] .controls, body[data-mobile-view="map"] .results, body[data-mobile-view="detail"] .controls, body[data-mobile-view="detail"] .map-panel { display: none; }
  .controls, .map-panel, .results { padding: .8rem; border-radius: .8rem; }
  .browse-list { max-height: none; overflow: visible; }
  .map { height: min(67vh,580px); min-height: 400px; }
  .map-consent { align-items: center; justify-content: center; }
  .results { min-height: 480px; }
  .place-photo { max-height: 230px; }
  .source-box { margin-top: .75rem; }
  .directory-heading > p { display: none; }
  .directory-list { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .brand-logo { width: 126px; }
  .brand-name { font-size: 1.05rem; }
  .header-back { font-size: .71rem; }
  .brand-place { font-size: .55rem; }
  .intro h1 { font-size: 2.2rem; }
}
