@font-face {
  font-family: 'DM Sans Variable';
  src: url('../vendor/fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans Variable';
  src: url('../vendor/fonts/dm-sans-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../vendor/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --panel: #fffcf6;
  --ink: #173035;
  --muted: #546368;
  --line: #dedbd0;
  --accent: #a43c26;
  --ocean: #2b5986;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 'DM Sans Variable', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0 }
[hidden] { display: none !important }
a { color: var(--accent); text-underline-offset: .24em }
button, input, select { font: inherit; color: inherit }
button, select { cursor: pointer }
button, select, input[type=search] { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); min-height: 44px; padding: .45rem .78rem }
button:hover { border-color: #a39783; background: #f5efe4 }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
input[type=checkbox] { accent-color: #215b59; width: 16px; height: 16px; margin: 0 }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: var(--panel); padding: .75rem; transform: translateY(-200%) }
.skip-link:focus { transform: translateY(0) }
.wrap { width: min(100% - 4.5rem, 1440px); margin-inline: auto }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem max(2.25rem, calc((100% - 1440px)/2)); border-bottom: 1px solid var(--line) }
.site-header { background: #182f34; color: #fffbef }
.site-header nav { display: flex; align-items: center; gap: clamp(.6rem, 2.6vw, 2rem) }
.site-header a, .site-footer a { color: inherit; text-decoration: none }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; font-weight: 650 }
.site-header nav a { color: #d6e3de }
.site-header nav a:hover, .site-header nav a[aria-current] { color: #ffb699 }
.site-header :focus-visible { outline-color: #ffb699 }
.wordmark { display: inline-flex; align-items: center; gap: .63rem; font-size: 1.12rem; font-weight: 780; letter-spacing: -.035em; white-space: nowrap }
.wordmark img { border-radius: 9px }
.language-menu { position: relative; z-index: 900; font-size: .85rem }
.language-menu summary { display: flex; align-items: center; gap: .35em; min-height: 44px; cursor: pointer; list-style: none }
.language-menu summary::-webkit-details-marker { display: none }
.language-menu ul { position: absolute; top: 100%; right: 0; min-width: 10rem; max-height: 68dvh; overflow: auto; padding: .3rem; margin: 0; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px #172d3560 }
.site-header .language-menu a { display: flex; padding-inline: .65rem; color: var(--ink) }
.site-header .language-menu a:hover, .site-header .language-menu a[aria-current] { color: var(--accent); background: #f4eee2 }
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-block: 1.22rem 1.1rem }
h1, h2, h3, p { margin: 0 }
h1 { font: 700 clamp(2.85rem, 6vw, 5rem)/.96 'Barlow Condensed', 'DM Sans Variable', sans-serif; letter-spacing: -.017em }
h2 { font-size: 1.65rem; line-height: 1.2; letter-spacing: -.037em }
h3 { font-size: 1.1rem; letter-spacing: -.025em }
.intro p, .guide p, .subpage p { margin-top: .63rem; color: var(--muted) }
.intro-meta { text-align: right; font-size: .88rem; font-weight: 640; color: var(--muted); white-space: nowrap }
.intro-meta strong { color: var(--ink); font-size: 1.04rem; font-variant-numeric: tabular-nums }
.intro-meta a { display: block; font-size: .81rem; text-decoration: none }
.intro-meta a:hover { text-decoration: underline }
.map-shell { --panel-width: 322px; position: relative; display: grid; grid-template-columns: var(--panel-width) minmax(0, 1fr); height: clamp(620px, 73dvh, 860px); border: 1px solid #d9d3c7; border-radius: 19px; overflow: hidden; background: var(--panel); box-shadow: 0 14px 40px #20333314 }
.map-shell[data-collapsed] { --panel-width: 0px }
.map-shell[data-collapsed] .map-sidebar { visibility: hidden }
.map-sidebar { padding: 1.15rem; overflow-y: auto; border-right: 1px solid var(--line); scrollbar-color: #b8b8ab var(--panel); min-width: 0 }
.sidebar-head, .layer-heading, .progress-tools, .progress-top { display: flex; align-items: center; justify-content: space-between; gap: .45rem }
.sidebar-head h2 { font-size: 1.32rem }
.sidebar-head p, #map-message, .layer-count, .progress-top span { font-size: .79rem; color: var(--muted); font-variant-numeric: tabular-nums }
.map-sidebar > label, .layer-heading { margin-top: .75rem; font-size: .86rem; display: flex; font-weight: 700 }
.map-sidebar input[type=search], .map-sidebar select { width: 100%; margin-top: .23rem }
.search-field { position: relative }
.search-field .search-glyph { position: absolute; left: .83rem; top: 1.08rem; color: #3b6865; pointer-events: none }
.search-field input { padding-left: 2.2rem; background: #f8f5ed }
.search-glyph { display: inline-block; width: 13px; height: 13px; border: 1.7px solid currentColor; border-radius: 50%; position: relative; flex: none }
.search-glyph::after { content: ''; position: absolute; background: currentColor; width: 6px; height: 1.7px; right: -4px; bottom: -2px; transform: rotate(46deg); border-radius: 2px }
.panel-close { width: 44px; padding: 0; font-size: 1.45rem; line-height: 1; background: transparent }
.layer-heading button, .progress-tools button { font-size: .76rem; font-weight: 700; padding-inline: .5rem }
.layer-heading button { border: 0; color: #305e5c; background: transparent }
.layer-heading button:hover { background: #eceee6 }
fieldset { padding: 0; border: 0; margin: .1rem 0 .65rem; min-width: 0; display: grid; gap: 2px }
.layer { display: grid; grid-template-columns: 1.05rem 1.55rem 1fr auto; align-items: center; gap: .48rem; font-size: .875rem; min-height: 35px; border-radius: 7px; padding: .2rem .36rem; cursor: pointer }
.layer:hover { background: #f1eee6 }
.layer-symbol { display: grid; place-items: center; height: 23px; width: 23px; border-radius: 7px; background: var(--pin); color: #182f34 }
.place-icon { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.facility-legend { margin: 0 0 .65rem; font-size: .82rem; border-block-start: 1px solid var(--line) }
.facility-legend summary { padding: .7rem .36rem; cursor: pointer; font-weight: 700 }
.facility-legend ul { list-style: none; margin: 0 0 .45rem; padding: 0 .36rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .55rem }
.facility-legend li { display: grid; grid-template-columns: 23px minmax(0, 1fr); align-items: center; gap: .4rem; line-height: 1.2 }
.progress-panel { border: 1px solid #e6dfd2; border-radius: 12px; background: #f6f1e7; padding: .75rem; font-size: .84rem }
.progress-top strong { font-weight: 780 }
#map-progress { width: 100%; height: 6px; border: 0; border-radius: 8px; background: #ded8c8; accent-color: #21625c; display: block; margin-top: .55rem }
#map-progress::-webkit-progress-bar { background: #ded8c8; border-radius: 8px }
#map-progress::-webkit-progress-value { background: #21625c; border-radius: 8px }
.visited-filter { display: flex; gap: .5rem; align-items: center; min-height: 43px }
.progress-tools { justify-content: flex-start }
.progress-tools button { min-height: 44px }
#map-message:not(:empty) { margin-top: .43rem; overflow-wrap: anywhere }
.results { color: var(--muted); background: #fffdf7; margin-top: .35rem; padding: .28rem; border: 1px solid var(--line); border-radius: 10px; max-height: 11rem; overflow-y: auto; font-size: .85rem }
.results button { width: 100%; text-align: left; display: block; border: 0; font-weight: 710; background: transparent }
.results button:hover { background: #f1eee6 }
.results .result-point { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: .6rem; align-items: start; overflow-wrap: anywhere }
.results small, .location-list small { display: block; color: var(--muted); font-weight: 500 }
.map-stage { position: relative; min-width: 0; height: 100%; overflow: hidden; background: var(--ocean); isolation: isolate }
.map-body.map-body { position: absolute; inset: 0; background: var(--ocean); font-family: 'DM Sans Variable', system-ui, sans-serif }
.map-body .leaflet-tile-pane { filter: saturate(.8) brightness(.88) }
.mobile-tools { display: none }
.map-shell[data-collapsed] .mobile-tools { display: flex; position: absolute; z-index: 800; top: .9rem; left: 3.95rem }
.mobile-tools button { display: flex; align-items: center; gap: .75rem; font-weight: 710 }
.map-actions { position: absolute; z-index: 700; top: .88rem; right: .9rem }
.map-actions button, .map-shell[data-collapsed] .mobile-tools button { background: var(--panel); font-size: .85rem; font-weight: 740; box-shadow: 0 2px 12px #17303439 }
.map-actions button span { margin-right: .22rem; font-size: 1.02rem }
.map-loading, .map-empty { position: absolute; z-index: 720; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: calc(100% - 2rem); padding: .72rem .95rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; text-align: center }
.map-empty { display: grid; gap: .5rem; font-size: .85rem; box-shadow: 0 2px 16px #17303436 }
.map-empty button { color: #fffdf7; background: #225450 }
.map-body .leaflet-top.leaflet-left { margin: .23rem 0 0 .23rem }
.map-body .leaflet-control-zoom { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px #17303430 }
.map-body.leaflet-container .leaflet-control-zoom a { background: var(--panel); color: var(--ink); border-color: var(--line); line-height: 43px; width: 44px; height: 44px }
.map-body .leaflet-control-zoom a:hover { background: #f1ecdf }
.map-body .leaflet-control-attribution { background: #fffdf3ed; color: #274443; font-size: 11px; padding-inline: .5rem }
.map-body .leaflet-control-attribution a { color: #274443 }
.map-body .leaflet-popup-content-wrapper, .map-body .leaflet-popup-tip { color: var(--ink); background: var(--panel); box-shadow: 0 5px 22px #17303447 }
.map-body .leaflet-popup-content-wrapper { border-radius: 14px }
.map-body .leaflet-popup-content { margin: .95rem 1.1rem; max-width: min(250px, 66vw); font: .88rem/1.4 'DM Sans Variable', system-ui, sans-serif }
.map-body .leaflet-popup-close-button { color: var(--ink) }
.point-popup h3 { margin: 0 .75rem .33rem 0; font-size: 1.13rem }
.map-body .point-popup p { margin: .36rem 0; color: var(--muted) }
.map-body .point-popup .point-status { color: #2b605a; font-size: .74rem; font-weight: 760 }
.point-popup button { font-size: .76rem; font-weight: 720; margin: .5rem .27rem 0 0 }
.point-popup button:first-child { background: #215652; color: white; border-color: #215652 }
.point-popup button:first-child:hover { background: #18413d }
.map-body .point-popup a { color: var(--accent) }
.map-body .point-marker, .map-body .group-marker { display: grid; place-items: center; line-height: 1; box-shadow: 0 2px 7px #10282b63 }
.map-body .point-marker { color: #14292e; background: var(--pin); border: 2px solid #fff8e9; border-radius: 8px }
.point-symbol { display: grid; place-items: center }
.point-marker .place-icon { width: 18px; height: 18px }
.point-complete { position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; display: grid; place-items: center; border: 1.5px solid #fff8e9; border-radius: 50%; background: #215652; color: #fff }
.point-complete .place-icon { width: 9px; height: 9px; stroke-width: 3.5 }
.map-body .leaflet-selectedPin-pane .point-marker { box-shadow: 0 0 0 2px #193237, 0 2px 8px #10282b80 }
.map-body .group-marker { background: #193237; border: 1.5px solid #f9ecce; border-radius: 50%; color: #fff9e8; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums }
.map-body .point-marker:focus-visible, .map-body .group-marker:focus-visible { outline-color: #fff8e9 }
.below-map { padding-block: 2.55rem 3.2rem; display: grid; gap: 2.3rem }
.region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem }
.region-card { display: grid; gap: .3rem; min-height: 86px; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; background: var(--panel) }
.region-card strong { font-size: 1.08rem }
.region-card span { color: var(--muted); font-size: .87rem }
.region-card:hover { border-color: #ae9c80; box-shadow: 0 5px 15px #263a3120 }
.guide { max-width: 74ch }
.guide h3, .guide h2:not(:first-child) { margin-top: 1.22rem }
.guide p + a { display: inline-block; margin-top: 1rem }
.subpage { padding-block: 2rem 3rem; min-height: 70vh }
.subpage h1 { margin: .65rem 0 1rem }
.subpage h2 { margin-top: 1.5rem }
.button-link { display: inline-flex; min-height: 44px; align-items: center; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 7px }
.location-list { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem }
.location-list li { background: var(--panel); padding: .72rem; border: 1px solid var(--line); border-radius: 9px; overflow-wrap: anywhere }
.site-footer { padding-block: 2.5rem 1.6rem; background: var(--panel); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem }
.footer-brand .wordmark, .footer-grid h2 { color: var(--ink) }
.footer-brand p { max-width: 38ch; margin-top: .6rem }
.footer-grid h2 { font-size: .95rem; letter-spacing: normal; margin-bottom: .3rem }
.footer-grid ul { margin: 0; padding: 0; list-style: none }
.footer-grid nav a { display: inline-flex; align-items: center; min-height: 40px; overflow-wrap: anywhere }
.footer-grid nav a:hover, .footer-grid nav a[aria-current="page"] { color: var(--accent); text-decoration: underline }
.footer-bottom { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line); text-align: center }
.footer-bottom p { font-size: clamp(.6875rem, 3.4vw, .875rem) }
.attribution-links { margin: .6rem 0 0; padding-inline-start: 1.35rem }
.attribution-links li + li { margin-top: .25rem }
.info-page > a { display: inline-block; margin-top: 1.25rem }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 1.45rem) }
  .site-header { padding-inline: .8rem; gap: .55rem }
  .site-header nav { gap: .7rem }
  .site-header nav a { font-size: .77rem }
  .wordmark { font-size: .98rem }
  .wordmark img { width: 30px; height: 30px }
  .intro { padding-block: .92rem .78rem; align-items: flex-start }
  .intro h1 { font-size: clamp(2.5rem, 10vw, 4.35rem) }
  .intro p { margin-top: .4rem; font-size: .84rem }
  .intro-meta { display: none }
  .map-shell, .map-shell[data-collapsed] { grid-template-columns: 1fr; grid-template-rows: 55px minmax(0, 1fr); height: clamp(465px, 71dvh, 825px); border-radius: 14px }
  .map-shell .mobile-tools, .map-shell[data-collapsed] .mobile-tools { display: flex; position: static; align-items: center; padding-inline: .46rem; background: var(--panel) }
  .mobile-tools button { width: 100%; justify-content: flex-start; padding-inline: .8rem; background: #f7f3ea; color: #26524e; font-size: .88rem }
  .map-sidebar, .map-shell[data-collapsed] .map-sidebar { display: none; visibility: visible; position: absolute; z-index: 850; width: 100%; bottom: 0; max-height: calc(100% - 55px); border: 1px solid var(--line); border-radius: 15px 15px 0 0; background: var(--panel); box-shadow: 0 -10px 36px #0f2b3669 }
  .map-shell[data-sheet-open] .map-sidebar { display: block }
  .layer { min-height: 44px }
  .region-grid, .location-list { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 1rem }
  .footer-brand { grid-column: 1 / -1 }
}
@media (max-width: 365px) {
  .footer-bottom p { margin-inline: -.25rem }
  .info-page h1 { font-size: clamp(2rem, 8vw, 2.85rem); overflow-wrap: anywhere }
  .site-header nav { gap: .43rem }
  .site-header nav a { font-size: .71rem }
  .wordmark { gap: .34rem }
}
@media (max-width: 620px) {
  .site-header { flex-wrap: wrap }
  .site-header nav { flex-wrap: wrap; row-gap: 0 }
  .site-header nav a, .language-menu summary { min-height: 38px }
  .site-footer { padding-block: 1.6rem 1.25rem }
  .footer-grid nav a { min-height: 44px }
}

.player-tools { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .55rem }
.player-tools button, .meditation-card button { font-size: .76rem; font-weight: 720; padding-inline: .55rem }
.player-tools button[aria-pressed="true"], .mobile-unfinished[aria-pressed="true"], .meditation-card button:first-of-type { color: #fffdf7; background: #225450; border-color: #225450 }
.mobile-unfinished { display: none }
[data-route-count] { color: #315f5a; font-variant-numeric: tabular-nums; margin-left: .12rem }
.map-actions { display: flex; gap: .35rem }
.meditation-card { border: 1px solid #e0d6ed; border-radius: 12px; background: #f6effa; padding: .72rem; margin: .7rem 0; font-size: .82rem }
.meditation-card p { margin-block: .28rem .5rem; color: var(--muted) }
.meditation-card button { margin: 0 .18rem .18rem 0 }
.results .result-count { padding: .28rem .55rem; font-size: .74rem; font-weight: 750; border-bottom: 1px solid var(--line) }
.point-note:empty { display: none }
.point-note { border-top: 1px solid var(--line); margin: .45rem 0 }
.point-sessions { margin: .55rem 0; display: flex; flex-wrap: wrap; gap: .5rem }
.point-sessions legend { font-size: .75rem; font-weight: 750 }
.point-sessions label { display: flex; align-items: center; min-height: 44px; gap: .45rem; padding: 0 .52rem; border: 1px solid var(--line); border-radius: 8px }
.point-popup [role="status"] input, #route-status input { width: 100%; font: inherit; border: 1px solid var(--line); border-radius: 6px; padding: .35rem }
.map-body .leaflet-popup-content { max-height: min(450px, 53dvh); overflow-y: auto }
.point-sheet { position: absolute; z-index: 740; inset: auto .5rem .5rem; max-height: 59%; overflow-y: auto; overscroll-behavior: contain; padding: .8rem .85rem; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); box-shadow: 0 12px 28px #122d3859; font-size: .86rem }
.point-sheet .point-popup h3 { margin-right: 2.7rem }
.point-sheet .point-popup p { color: var(--muted); margin-block: .3rem }
.point-sheet .point-popup .point-status { font-weight: 750; font-size: .75rem; color: #2b605a }
#close-point-sheet { float: right; width: 44px; padding: 0; font-size: 1.3rem; margin: -.25rem -.2rem .2rem .35rem }
.map-shell[data-sheet-open] .point-sheet { visibility: hidden }
.route-dialog { width: min(540px, calc(100% - 1.5rem)); max-height: min(720px, calc(100dvh - 1.5rem)); color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem; box-shadow: 0 18px 60px #142c3569; overscroll-behavior: contain }
.route-dialog::backdrop { background: #132d3a88 }
.route-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem }
.route-heading p, #route-status, #route-empty { color: var(--muted); font-size: .87rem }
#route-empty, #route-status { margin-block: .65rem }
#route-stops { margin-block: .7rem; padding: 0; list-style: none; counter-reset: stops }
#route-stops li { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: .45rem; align-items: center; border-bottom: 1px solid var(--line); padding: .4rem 0; counter-increment: stops }
#route-stops li::before { content: counter(stops); color: #315f5a; font-size: .8rem; min-width: 1.2rem; text-align: center; font-weight: 750 }
.route-point { padding-inline: .45rem; text-align: left; font-size: .88rem; overflow-wrap: anywhere }
.route-order, .route-actions { display: flex; flex-wrap: wrap; gap: .25rem }
.route-order button { padding: .25rem; min-width: 44px }
.route-actions button { font-size: .8rem; font-weight: 720 }
.route-dialog button:disabled { opacity: .48; cursor: default }
@media (max-width: 820px) {
  .map-shell .mobile-tools { gap: .4rem }
  .map-shell .mobile-tools [data-resume] { width: auto; flex: none }
  .map-actions button { font-size: .76rem; padding-inline: .6rem }
  .mobile-unfinished { display: block; position: absolute; z-index: 710; bottom: .45rem; left: .45rem; font-size: .76rem; font-weight: 700; box-shadow: 0 2px 12px #17303439 }
  .route-order button { min-width: 40px }
}
