:root {
  --forest: #1d6955;
  --forest-dark: #173d36;
  --water: #3b8790;
  --water-dark: #286875;
  --leaf: #718d61;
  --leaf-light: #a7bd91;
  --sand: #d7a75d;
  --sand-soft: #f1dfbc;
  --sky: #dcece8;
  --paper: #f3f6f1;
  --card: #fffdf8;
  --ink: #183b34;
  --muted: #61766e;
  --line: #d5e1da;
  --danger: #a44d42;
  --shadow: 0 18px 44px rgba(23, 61, 54, .12);
  --soft-shadow: 0 8px 22px rgba(23, 61, 54, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #dbe8e2;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #dbe8e2;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 14% 4%, rgba(255, 255, 255, .72), transparent 26rem),
    linear-gradient(135deg, #e5efe9 0%, #d8e7e0 54%, #d3e2dc 100%);
  color: var(--ink);
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(59, 135, 144, .42);
  outline-offset: 3px;
}

noscript {
  display: block;
  max-width: 620px;
  margin: 24px auto;
  padding: 18px;
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  text-align: center;
}

.app-shell {
  position: relative;
  width: min(100%, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(23, 61, 54, .04), var(--shadow);
}

.topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(213, 225, 218, .9);
  background: rgba(255, 253, 248, .93);
  backdrop-filter: blur(16px);
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  background: transparent;
  text-align: left;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--card);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand-type {
  display: grid;
  gap: 2px;
  color: var(--forest-dark);
  letter-spacing: .07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-type strong {
  font-size: 12px;
  font-weight: 650;
}

.brand-type small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.connection-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.connection-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 3px rgba(29, 105, 85, .12);
}

.connection-state.offline .connection-dot {
  background: var(--sand);
  box-shadow: 0 0 0 3px rgba(215, 167, 93, .18);
}

.circle-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, .55);
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.circle-button:hover {
  border-color: var(--forest);
  background: var(--sky);
}

.menu-trigger {
  gap: 3px;
  padding: 9px;
}

.menu-trigger span {
  display: block;
  width: 15px;
  height: 1.5px;
  border-radius: 4px;
  background: var(--forest);
}

#app-view {
  min-height: calc(100vh - 76px);
  padding-bottom: 104px;
}

.view {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px);
}

.view-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 0 20px;
}

.eyebrow,
.section-kicker,
.menu-label {
  margin: 0 0 9px;
  color: var(--water-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.view-heading h1,
.view-heading h2,
.hero-copy h1,
.menu-title {
  margin: 0;
  color: var(--forest-dark);
  font-weight: 520;
  letter-spacing: -.055em;
  line-height: .98;
}

.view-heading h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.view-heading p {
  max-width: 480px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 6vw, 72px) 0 24px;
}

.hero-copy h1 {
  max-width: 540px;
  font-size: clamp(42px, 7vw, 76px);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-art {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 32px;
  background: var(--sky);
  box-shadow: var(--shadow);
}

.hero-art svg,
.park-art svg,
.map-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-art .art-caption {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 253, 248, .95);
  font-size: 11px;
  text-shadow: 0 1px 8px rgba(23, 61, 54, .34);
}

.art-caption strong {
  font-size: 14px;
  font-weight: 600;
}

.art-caption span {
  max-width: 125px;
  text-align: right;
}

.primary-button,
.secondary-button,
.quiet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.primary-button:hover,
.secondary-button:hover,
.quiet-button:hover,
.filter-chip:hover,
.quick-card:hover,
.park-card:hover {
  transform: translateY(-2px);
}

.primary-button {
  background: var(--forest);
  color: var(--card);
  box-shadow: 0 8px 18px rgba(29, 105, 85, .18);
}

.primary-button:hover {
  background: var(--forest-dark);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--forest);
}

.secondary-button:hover {
  border-color: var(--forest);
  background: var(--sky);
}

.quiet-button {
  min-height: 34px;
  padding: 7px 0;
  background: transparent;
  color: var(--forest);
}

.section {
  padding: 28px 0 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  color: var(--forest-dark);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.035em;
}

.section-head p,
.section-head button {
  margin: 0;
  color: var(--forest);
  font-size: 11px;
}

.section-head button {
  padding: 4px 0;
  background: transparent;
  font-weight: 700;
}

.search-panel {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 8px 10px 8px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.search-panel svg {
  flex: 0 0 auto;
  color: var(--water-dark);
}

.search-panel input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.search-panel input::placeholder {
  color: var(--muted);
}

.search-submit {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 9px;
  background: var(--sky);
  color: var(--forest-dark);
  font-size: 11px;
  font-weight: 700;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quick-card {
  display: grid;
  justify-items: start;
  min-height: 112px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
  color: var(--ink);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.quick-card:hover,
.quick-card.active {
  border-color: rgba(29, 105, 85, .45);
  background: #f5fbf6;
}

.quick-card .icon-bubble {
  display: grid;
  width: 33px;
  height: 33px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 11px;
  background: var(--sky);
  color: var(--forest);
}

.quick-card strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.quick-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.notice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(215, 167, 93, .45);
  border-radius: 18px;
  background: linear-gradient(100deg, #fff8e8, var(--card));
}

.notice-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--sand-soft);
  color: #815c27;
}

.notice-card strong,
.notice-card p {
  display: block;
  margin: 0;
}

.notice-card strong {
  color: var(--forest-dark);
  font-size: 12px;
}

.notice-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.notice-card button {
  margin-left: auto;
  padding: 4px;
  background: transparent;
  color: var(--forest);
}

.location-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border-radius: 17px;
  background: var(--sky);
}

.location-card .location-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, .68);
  color: var(--water-dark);
}

.location-card strong,
.location-card p {
  display: block;
  margin: 0;
}

.location-card strong {
  font-size: 12px;
  font-weight: 700;
}

.location-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.location-card .secondary-button {
  margin-left: auto;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 11px;
  border-color: rgba(40, 104, 117, .22);
  background: rgba(255, 253, 248, .65);
  font-size: 10px;
}

.mini-map {
  position: relative;
  min-height: 232px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--sky);
  box-shadow: var(--soft-shadow);
}

.mini-map .map-art {
  height: 232px;
}

.map-label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(255, 253, 248, .7);
  border-radius: 10px;
  background: rgba(255, 253, 248, .8);
  color: var(--forest-dark);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

.map-footer {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 253, 248, .84);
  color: var(--muted);
  font-size: 10px;
  backdrop-filter: blur(8px);
}

.map-footer button {
  padding: 0;
  background: transparent;
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
}

.park-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.park-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--card);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .65);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.park-card:hover {
  border-color: rgba(29, 105, 85, .35);
  box-shadow: var(--soft-shadow);
}

.park-art {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--sky);
}

.park-art .park-tag {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 253, 248, .84);
  color: var(--forest-dark);
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.park-copy {
  padding: 15px;
}

.park-copy h3 {
  min-height: 39px;
  margin: 0;
  color: var(--forest-dark);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.park-copy p {
  min-height: 42px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.park-meta,
.chip-row,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.meta-chip,
.filter-chip,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--forest-dark);
  font-size: 10px;
  line-height: 1.1;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

.status-line::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
  content: "";
}

.status-line.positive::before {
  background: var(--forest);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.card-footer button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
}

.search-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.filter-chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.filter-chip.active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--card);
}

.filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 1px 8px;
  scrollbar-width: thin;
}

.filter-row::-webkit-scrollbar {
  height: 5px;
}

.filter-row::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: var(--line);
}

.empty-state {
  padding: 42px 20px;
  border: 1px dashed var(--line);
  border-radius: 19px;
  background: rgba(255, 253, 248, .55);
  color: var(--muted);
  text-align: center;
}

.empty-state strong,
.empty-state p {
  display: block;
  margin: 0;
}

.empty-state strong {
  color: var(--forest-dark);
  font-size: 15px;
}

.empty-state p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.45;
}

.planner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 18px;
  align-items: start;
}

.planner-card,
.planner-result {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.planner-card h2,
.planner-result h2 {
  margin: 0;
  color: var(--forest-dark);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.planner-card > p,
.planner-result > p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.question {
  margin-top: 18px;
}

.question:first-of-type {
  margin-top: 0;
}

.question label,
.question legend {
  display: block;
  margin-bottom: 8px;
  color: var(--forest-dark);
  font-size: 12px;
  font-weight: 700;
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.option-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--muted);
  font-size: 10px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.option-button.active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--card);
}

.planner-card .primary-button {
  width: 100%;
  margin-top: 22px;
}

.recommendation {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.recommendation:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.recommendation h3 {
  margin: 0;
  color: var(--forest-dark);
  font-size: 14px;
  line-height: 1.2;
}

.recommendation p {
  margin: 6px 0 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.map-view {
  padding-top: 24px;
}

.full-map {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: 25px;
  background: var(--sky);
  box-shadow: var(--shadow);
}

.full-map .map-art {
  height: 570px;
}

.map-controls {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  display: grid;
  gap: 7px;
}

.map-control {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(213, 225, 218, .85);
  border-radius: 11px;
  background: rgba(255, 253, 248, .88);
  color: var(--forest);
  box-shadow: 0 5px 12px rgba(23, 61, 54, .1);
}

.map-legend {
  position: absolute;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 253, 248, .88);
  color: var(--muted);
  font-size: 10px;
  backdrop-filter: blur(8px);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border: 2px solid var(--card);
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 1px var(--forest);
}

.legend-dot.water {
  background: var(--water-dark);
  box-shadow: 0 0 0 1px var(--water-dark);
}

.legend-dot.sand {
  background: var(--sand);
  box-shadow: 0 0 0 1px var(--sand);
}

.menu-view {
  min-height: calc(100vh - 76px);
  padding-bottom: 24px;
}

.menu-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 23px;
}

.menu-title {
  font-size: clamp(39px, 7vw, 64px);
}

.menu-location {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 15px;
  background: var(--sky);
}

.menu-location .location-icon {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, .7);
  color: var(--water-dark);
}

.menu-location strong,
.menu-location span {
  display: block;
}

.menu-location strong {
  color: var(--forest-dark);
  font-size: 12px;
}

.menu-location span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.menu-location button {
  margin-left: auto;
  padding: 7px 0 7px 10px;
  background: transparent;
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
}

.menu-group {
  margin-top: 23px;
}

.menu-list {
  border-top: 1px solid var(--line);
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.menu-link:hover {
  color: var(--forest);
}

.menu-link .menu-link-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--sky);
  color: var(--forest);
}

.menu-link strong {
  font-size: 12px;
  font-weight: 650;
}

.menu-link small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.menu-link > svg:last-child {
  margin-left: auto;
  color: var(--muted);
}

.install-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 23px;
  padding: 15px;
  border-left: 3px solid var(--sand);
  background: var(--card);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.install-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--forest-dark);
  font-size: 12px;
}

.install-card button {
  margin-left: auto;
  flex: 0 0 auto;
}

.data-note {
  margin: 28px 0 0;
  padding: 12px 13px;
  border-radius: 12px;
  background: rgba(255, 253, 248, .66);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.bottom-nav {
  position: fixed;
  z-index: 20;
  right: max(0px, calc((100vw - 1180px) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  min-height: 76px;
  padding: 10px clamp(10px, 4vw, 48px) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(213, 225, 218, .95);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(16px);
}

.nav-item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  padding: 3px 2px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
}

.nav-item.active {
  color: var(--forest);
  font-weight: 750;
}

.nav-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
}

.nav-item.active .nav-icon {
  background: var(--sky);
}

svg.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.park-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.park-dialog::backdrop {
  background: rgba(23, 61, 54, .46);
  backdrop-filter: blur(4px);
}

.dialog-art {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--sky);
}

.dialog-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, .87);
  color: var(--forest-dark);
}

.dialog-body {
  padding: 22px;
}

.dialog-body h2 {
  margin: 0;
  color: var(--forest-dark);
  font-size: clamp(25px, 5vw, 36px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1;
}

.dialog-body > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.dialog-meta {
  margin-top: 17px;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.dialog-source {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.toast {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 94px;
  left: 18px;
  max-width: 430px;
  margin: 0 auto;
  padding: 12px 15px;
  transform: translateY(12px);
  border-radius: 12px;
  background: var(--forest-dark);
  color: var(--card);
  font-size: 11px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 900px) {
  .app-shell {
    min-height: 100vh;
  }

  .bottom-nav {
    min-height: 70px;
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 23px;
    padding-top: 34px;
  }

  .hero-art {
    min-height: 270px;
  }

  .park-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .topbar {
    min-height: 68px;
  }

  .connection-label {
    display: none;
  }

  #app-view {
    min-height: calc(100vh - 68px);
  }

  .view-heading {
    display: block;
    padding-top: 28px;
  }

  .view-heading .secondary-button {
    margin-top: 14px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-tools {
    grid-template-columns: 1fr;
  }

  .park-grid {
    grid-template-columns: 1fr;
  }

  .park-art {
    height: 175px;
  }

  .location-card {
    align-items: flex-start;
  }

  .location-card .secondary-button {
    margin-top: 1px;
  }

  .menu-head {
    padding-top: 28px;
  }

  .full-map,
  .full-map .map-art {
    min-height: 500px;
    height: 500px;
  }
}

@media (max-width: 390px) {
  .brand-type strong {
    font-size: 10px;
  }

  .brand-type small {
    font-size: 9px;
  }

  .topbar-actions {
    gap: 5px;
  }

  .hero-copy h1 {
    font-size: 41px;
  }

  .hero-art {
    min-height: 235px;
  }

  .nav-item {
    font-size: 9px;
  }
}


/* v1.3: samo podatkovne/fotografske dopolnitve originalnega osnutka */
.brand-logo-button{min-width:92px}
.brand-logo-image{width:102px;height:54px;object-fit:contain;mix-blend-mode:multiply}
.park-photo{width:100%;height:100%;object-fit:cover;display:block}
.dialog-photo{width:100%;height:100%;object-fit:cover;display:block}
.park-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:24px 0;background:var(--line);border:1px solid var(--line)}
.park-facts>div{padding:14px;background:var(--card)}
.park-facts small{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}
.weather-box{margin:24px 0;padding:18px;border:1px solid var(--line);background:rgba(255,253,248,.65)}
.weather-current{display:flex;gap:18px;align-items:center;margin-top:12px;color:var(--muted);line-height:1.55}
.weather-temperature{font-family:Georgia,"Times New Roman",serif;font-size:50px;color:var(--forest-dark)}
.weather-days{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:16px}
.weather-days>div{display:grid;gap:3px;padding:8px 5px;border:1px solid var(--line);background:var(--card);text-align:center;font-size:11px}
.weather-days span{font-weight:700}
.weather-days small{color:var(--muted)}
.official-source{display:inline-flex;margin-top:18px;color:var(--forest);font-weight:700;text-decoration:none}


/* v1.4: prava hero fotografija in vidne ikone spodnje navigacije */
.hero-photo-art{
  background:#dbe7e1;
}
.hero-photo-art>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.bottom-nav .nav-icon .icon{
  display:block;
  width:23px;
  height:23px;
  stroke:currentColor;
  stroke-width:1.8;
}


/* v1.5 — ohranjen dizajn; usklajena tipografija in enoten open-source komplet ikon */
body{font-size:16px}
.hero-copy>p,
.page-intro,
.section-lead,
.park-copy>p,
.dialog-body>p,
.planner-result>p,
.recommendation>p{
  font-size:16px;
  line-height:1.62;
}
.park-copy h3{
  font-size:24px;
  line-height:1.14;
}
.park-meta,.meta-chip,.status-line{font-size:14px}
.meta-chip .icon{width:20px;height:20px}
.card-footer button{font-size:15px}
.bottom-nav span,.bottom-nav .nav-label{font-size:13px}
.dialog-body{padding:26px 24px 34px}
.dialog-body h2{
  font-size:clamp(30px,7vw,40px);
  line-height:1.05;
}
.dialog-body>p{margin-top:15px}
.dialog-meta{margin-top:20px}
.dialog-meta span{font-size:15px}
.dialog-meta .icon{width:21px;height:21px}
.park-facts small{font-size:13px}
.park-facts strong{
  display:block;
  font-size:18px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.park-facts>div:nth-child(1) strong,
.park-facts>div:nth-child(2) strong{font-size:23px}
.park-facts>div:nth-child(3) strong{
  font-size:18px;
  font-weight:650;
}
.weather-box>strong{font-size:20px}
.weather-details,.weather-current{font-size:16px}
.weather-days>div{font-size:12px}
.weather-days strong{font-size:14px}
.quick-card strong,.option-grid button{font-size:15px}
.quick-card p{font-size:13px}
.icon{stroke-width:1.8}


/* v1.6 — natančna velikost podatkov v profilu */
.park-facts > div:nth-child(3) strong{
  font-size:16px !important;
  line-height:1.28 !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
}
.park-facts > div:nth-child(4) strong{
  font-size:18px !important;
  line-height:1.25 !important;
}
.park-facts small{
  font-size:13px !important;
}
.dialog-meta span,
.meta-chip{
  font-size:15px;
}
.dialog-meta .icon,
.meta-chip .icon{
  flex:0 0 auto;
}

/* v1.7 — kvadratni SAT zemljevid z vsemi območji in lokacijo telefona */
.real-map-shell{
  position:relative;
  width:calc(100% - 40px);
  max-width:760px;
  aspect-ratio:1/1;
  margin:34px auto 110px;
  border-radius:28px;
  overflow:hidden;
  background:#d9e5df;
  box-shadow:0 18px 45px rgba(32,73,61,.10);
}
.real-map{width:100%;height:100%}
.real-map-shell .leaflet-container{font-family:inherit;background:#d9e5df}
.map-label{
  position:absolute;z-index:500;top:20px;left:20px;
  padding:13px 18px;border-radius:18px;
  background:rgba(255,253,248,.92);color:var(--forest-dark);
  font-weight:700;backdrop-filter:blur(8px)
}
.map-controls{
  position:absolute;z-index:500;top:20px;right:20px;
  display:grid;gap:10px
}
.map-controls button{
  width:52px;height:52px;border:1px solid rgba(32,73,61,.14);
  border-radius:17px;background:rgba(255,253,248,.94);
  color:var(--forest);display:grid;place-items:center;
  box-shadow:0 8px 20px rgba(32,73,61,.08)
}
.map-controls .icon{width:25px;height:25px}
.map-error{display:grid;place-items:center;height:100%;padding:30px;color:var(--muted);text-align:center}
.location-enable{margin-top:10px}
@media(max-width:520px){
  .real-map-shell{width:calc(100% - 32px);border-radius:24px}
  .map-label{top:14px;left:14px;font-size:14px;padding:11px 14px}
  .map-controls{top:14px;right:14px}
  .map-controls button{width:48px;height:48px}
}


/* v1.8 — bolj berljiv razdelek Meni; ostali zasloni ostanejo nespremenjeni */
.menu-page .page-kicker,
.menu-screen .page-kicker,
.menu-view .page-kicker{
  font-size:17px !important;
  letter-spacing:.20em;
  line-height:1.3;
}

.menu-page h1,
.menu-screen h1,
.menu-view h1{
  font-size:clamp(48px,11vw,66px) !important;
  line-height:1 !important;
}

.menu-section-title,
.menu-page .section-title,
.menu-screen .section-title,
.menu-view .section-title{
  font-size:18px !important;
  line-height:1.3;
  letter-spacing:.18em;
  font-weight:800;
}

.menu-item,
.menu-row{
  min-height:86px !important;
  padding-top:14px !important;
  padding-bottom:14px !important;
}

.menu-item-title,
.menu-row-title,
.menu-item strong,
.menu-row strong{
  font-size:21px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}

.menu-item-description,
.menu-row-description,
.menu-item p,
.menu-row p{
  font-size:16px !important;
  line-height:1.42 !important;
  margin-top:5px !important;
}

.menu-item-icon,
.menu-row-icon{
  width:62px !important;
  height:62px !important;
  min-width:62px !important;
  border-radius:18px !important;
}

.menu-item-icon .icon,
.menu-row-icon .icon{
  width:29px !important;
  height:29px !important;
}

.menu-item .chevron,
.menu-row .chevron{
  width:23px !important;
  height:23px !important;
}

/* Lokacijski poziv na vrhu menija */
.menu-location-card{
  min-height:126px !important;
  padding:20px 22px !important;
}

.menu-location-card strong{
  font-size:21px !important;
  line-height:1.25 !important;
}

.menu-location-card p{
  font-size:16px !important;
  line-height:1.42 !important;
}

.menu-location-card button{
  font-size:17px !important;
}

/* Namestitveni in informativni blok na dnu */
.install-card strong,
.install-prompt strong{
  font-size:20px !important;
  line-height:1.25 !important;
}

.install-card p,
.install-prompt p,
.menu-note,
.menu-disclaimer{
  font-size:16px !important;
  line-height:1.5 !important;
}

.install-card button,
.install-prompt button{
  font-size:17px !important;
}

@media(max-width:390px){
  .menu-item-title,
  .menu-row-title,
  .menu-item strong,
  .menu-row strong{
    font-size:20px !important;
  }
  .menu-item-description,
  .menu-row-description,
  .menu-item p,
  .menu-row p{
    font-size:15.5px !important;
  }
}


/* v1.9 — dejanski selektorji menija in pravilna poravnava zemljevida */

/* Zemljevid dobi isti notranji rob kot vsi drugi glavni pogledi. */
.map-page{
  width:min(100%,1080px);
  margin:0 auto;
  padding:34px clamp(18px,4vw,48px) 0;
}
.map-page .page-kicker{
  margin:0 0 12px;
  font-size:16px;
  line-height:1.25;
  letter-spacing:.16em;
  font-weight:750;
}
.map-page>h1{
  margin:0;
}
.map-page .page-intro{
  max-width:720px;
  margin:20px 0 24px;
}
.map-page .location-enable{
  margin-left:0;
}
.map-page .real-map-shell{
  width:100%;
  margin-left:0;
  margin-right:0;
}

/* Dejanski razredi, uporabljeni v HTML-ju menija. */
.menu-view .eyebrow{
  font-size:14px !important;
  letter-spacing:.17em !important;
  margin-bottom:12px !important;
}
.menu-view .menu-title{
  font-size:clamp(50px,11vw,68px) !important;
}
.menu-view .menu-label{
  font-size:17px !important;
  line-height:1.3 !important;
  letter-spacing:.17em !important;
  margin-bottom:13px !important;
}
.menu-view .menu-group{
  margin-top:31px !important;
}
.menu-view .menu-link{
  min-height:82px !important;
  gap:16px !important;
  padding:14px 4px !important;
}
.menu-view .menu-link .menu-link-icon{
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
  border-radius:16px !important;
}
.menu-view .menu-link .menu-link-icon .icon{
  width:27px !important;
  height:27px !important;
}
.menu-view .menu-link strong{
  font-size:19px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}
.menu-view .menu-link small{
  margin-top:5px !important;
  font-size:15px !important;
  line-height:1.4 !important;
}
.menu-view .menu-link>svg:last-child{
  width:22px !important;
  height:22px !important;
}
.menu-view .menu-location{
  min-height:116px !important;
  gap:16px !important;
  padding:18px 20px !important;
  border-radius:20px !important;
}
.menu-view .menu-location .location-icon{
  width:58px !important;
  height:58px !important;
}
.menu-view .menu-location .location-icon .icon{
  width:28px !important;
  height:28px !important;
}
.menu-view .menu-location strong{
  font-size:19px !important;
  line-height:1.25 !important;
}
.menu-view .menu-location span{
  margin-top:5px !important;
  font-size:15px !important;
  line-height:1.4 !important;
}
.menu-view .menu-location button{
  font-size:16px !important;
  padding-left:14px !important;
}
.menu-view .install-card{
  gap:16px !important;
  padding:20px !important;
  font-size:15px !important;
  line-height:1.5 !important;
}
.menu-view .install-card strong{
  font-size:19px !important;
  line-height:1.25 !important;
}
.menu-view .install-card button{
  font-size:16px !important;
}
.menu-view .data-note{
  font-size:15px !important;
  line-height:1.55 !important;
}

@media(max-width:520px){
  .map-page{
    padding-left:18px;
    padding-right:18px;
  }
  .menu-view .menu-link strong{
    font-size:18px !important;
  }
  .menu-view .menu-link small{
    font-size:14.5px !important;
  }
}


/* v2.1 — šest osnovnih doživetij na vstopni strani */
.quick-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.quick-card{
  min-height:178px;
}
.quick-card .icon{
  width:28px;
  height:28px;
}
@media(min-width:700px){
  .quick-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* v2.2 thematic routes and events */
.section-intro{font-size:16px;line-height:1.55;color:var(--muted);margin:-8px 0 22px}
.route-grid,.event-list{display:grid;gap:16px}
.content-card{border:1px solid var(--line);border-radius:22px;background:var(--card);padding:20px;display:grid;grid-template-columns:auto 1fr;gap:16px}
.content-card h3{margin:4px 0 8px;font-size:21px;line-height:1.2}
.content-card p{margin:0 0 8px;color:var(--muted);line-height:1.45}
.content-card a,.content-card button{color:var(--forest);font-weight:700;text-decoration:none;background:none;border:0;padding:8px 0}
.content-icon{width:48px;height:48px;border-radius:15px;background:var(--mint);display:grid;place-items:center;color:var(--forest)}
.content-icon .icon{width:25px;height:25px}
.route-meta{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}
.route-meta span{border:1px solid var(--line);border-radius:12px;padding:7px 9px;font-size:12px}
.event-date{width:58px;height:68px;border-radius:16px;background:var(--mint);display:grid;place-content:center;text-align:center;color:var(--forest)}
.event-date strong{font-size:22px}.event-date span{font-size:12px;text-transform:uppercase}
.event-actions{display:flex;gap:18px;align-items:center}
.dialog-content-section{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.dialog-content-section .content-card{margin-top:12px}
@media(min-width:720px){.route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
