@font-face {
  font-family: "Guide Serif";
  src: url("./fonts/noto-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Guide Sans";
  src: url("./fonts/noto-sans.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Guide Sans";
  src: url("./fonts/noto-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #FAF8EF;
  --surface: #FFFDF6;
  --green: #173B33;
  --green-deep: var(--green);
  --ink: var(--green);
  --muted: #4C5E56;
  --leaf: #E7EDDA;
  --border: #D9DED2;
  --accent: #DCE8AE;
  --copper: #954A35;
  --warning: #F4E7D6;
  --focus: #2B6B56;
  --shadow: 0 3px 14px #173B330A;
  --radius: 14px;
  --serif: "Guide Serif", Georgia, "Times New Roman", serif;
  --sans: "Guide Sans", system-ui, -apple-system, sans-serif;
  --history: #935744;
  --museums: #716136;
  --nature: #3c614d;
  --culture: #845166;
  --leisure: #567244;
  --stay: #485d63;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.48 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -.052em; }
h3 { font-size: 1.42rem; line-height: 1.22; letter-spacing: -.036em; }
.sr-only, .icons { position: absolute; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }
.skip-link { position: absolute; z-index: 10; top: 1rem; left: 1rem; transform: translateY(-200%); padding: .7rem 1rem; background: var(--surface); }
.skip-link:focus { transform: none; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.icon { display: inline-block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.site-head { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { align-items: center; display: inline-flex; width: fit-content; gap: 11px; font: 400 26px/1.03 var(--serif); letter-spacing: -.031em; text-decoration: none; }
.wordmark small { display: block; margin-top: 4px; color: var(--muted); font: 700 11px/1.2 var(--sans); letter-spacing: 0; }
.brand-icon { width: 44px; height: 44px; flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3.2vw, 45px); }
.site-nav a, .site-foot nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a:hover, .site-nav a[aria-current="page"], .site-foot nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-save { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; padding: 6px 13px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--green); font-size: 14px; font-weight: 600; }
.header-save[aria-pressed="true"], .header-save:hover { background: var(--leaf); border-color: #b8c5ac; }
.header-save small { color: #fff; background: var(--green); border-radius: 50%; min-width: 21px; padding: 2px 4px; text-align: center; }
.hero-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; gap: clamp(24px,4vw,56px); padding-block: clamp(34px, 5.3vw, 76px) clamp(20px, 3.1vw, 45px); }
.hero-content { min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--copper); font-size: .85rem; font-weight: 700; }
.hero-kicker .icon, .hero-action .icon { width: 17px; height: 17px; }
.hero h1 { font-size: clamp(2.6rem, 4.9vw, 4.5rem); line-height: 1.03; letter-spacing: -.068em; margin-top: 13px; }
.hero-lead { max-width: 40ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); margin-top: 18px; }
.hero-search { display: flex; align-items: center; width: min(470px, 100%); min-height: 58px; margin-top: 24px; padding: 5px 5px 5px 15px; gap: 10px; background: var(--surface); color: var(--green); border: 1px solid #BCC9BB; border-radius: 12px; box-shadow: var(--shadow); }
.hero-search input { color: var(--ink); flex: 1 1 0; min-width: 0; background: transparent; border: 0; padding: 9px 0; }
.hero-search input::placeholder, .filter-search input::placeholder { color: var(--muted); opacity: 1; }
.hero-search input:focus-visible, .filter-search input:focus-visible { outline: none; }
.hero-search:focus-within, .filter-search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.hero-search button { flex: none; min-height: 44px; color: var(--surface); background: var(--green); border: 0; border-radius: 8px; padding: 8px 19px; font-weight: 700; }
.hero-search button:hover { background: #225344; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 22px; margin-top: 6px; }
.hero-action { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; border: 0; background: transparent; color: var(--green); text-decoration: none; padding: 0; font-size: .88rem; font-weight: 700; }
.hero-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-figure { min-width: 0; position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--leaf); }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 55%; }
.hero-figure figcaption { position: absolute; bottom: 12px; right: 12px; padding: 4px 9px; border-radius: 5px; background: var(--green); color: var(--surface); font-size: .72rem; }
.catalog { padding-block: 49px 58px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading p { color: var(--muted); margin-top: 10px; }
.view-toggle { display: flex; align-items: center; flex: none; gap: 3px; padding: 3px; background: var(--leaf); border: 1px solid var(--border); border-radius: 10px; }
.view-toggle button { display: flex; align-items: center; gap: 6px; min-height: 38px; border: 0; background: transparent; color: var(--green); border-radius: 7px; padding: 7px 13px; font-size: 14px; font-weight: 700; }
.view-toggle [aria-pressed="true"] { background: var(--green); color: var(--surface); }
.categories { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.category { display: flex; min-width: 0; align-items: center; text-align: left; gap: 10px; min-height: 64px; padding: 9px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.2; }
.category .category-icon { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 7px; color: var(--tone,var(--green)); background: color-mix(in srgb,var(--tone,var(--green)) 13%,var(--surface)); }
.category .category-icon .icon { width: 19px; height: 19px; }
.category small { color: var(--muted); display: block; margin-top: 3px; font-size: 11px; font-weight: 500; }
.category:hover { background: var(--leaf); border-color: #b2c1a5; }
.category[aria-pressed="true"] { background: var(--accent); border-color: #9BAE7B; }
.filters { display: grid; grid-template-columns: minmax(150px,1.9fr) repeat(3,minmax(108px,1fr)); gap: 10px; }
.filter-search, .filter { display: flex; align-items: center; min-width: 0; position: relative; min-height: 45px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.filter-search { padding: 0 11px; gap: 8px; }
.filter-search .icon, .filter .icon, .sort-control .icon { color: #667469; width: 17px; height: 17px; }
.filter-search input, .filter select, .sort-control select { width: 100%; min-width: 0; color: var(--ink); border: 0; background: transparent; font-size: 14px; }
.filter-search input { min-height: 43px; padding: 0; }
.filter select, .sort-control select { min-height: 43px; padding: 8px 29px 8px 11px; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.filter .icon, .sort-control .icon { pointer-events: none; position: absolute; right: 10px; }
.result-bar { min-height: 52px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.result-bar p { color: var(--muted); font-size: 13px; font-weight: 600; }
.text-button { color: var(--green); border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; padding: 6px 0; }
.sort-control { margin-left: auto; position: relative; display: flex; align-items: center; }
.sort-control select { font-size: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.place-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; }
.place-card:hover { border-color: #aebda9; }
.card-media { aspect-ratio: 2.22; position: relative; background: color-mix(in srgb,var(--tone) 36%,#f4ebd9); overflow: hidden; }
.card-media img { height: 100%; object-fit: cover; }
.card-media a { display: block; height: 100%; }
.card-media a:focus-visible { outline-offset: -4px; }
.card-photo-caption { position: absolute; bottom: 5px; right: 8px; border-radius: 3px; background: #173429d2; color: #fff9ea; padding: 2px 5px; font-size: 10px; pointer-events: none; }
.card-photo-credit, .detail-photo-credit { padding: 5px 12px; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--border); font-size: .75rem; overflow-wrap: anywhere; }
.card-photo-credit a, .detail-photo-credit a { text-underline-offset: 3px; color: var(--green); }
.card-bookmark { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #f9f7ef78; background: #fffcf2; color: var(--green); box-shadow: 0 2px 5px #1430233a; }
.card-bookmark[aria-pressed="true"] { background: var(--accent); }
.card-bookmark[aria-pressed="true"] .icon, .header-save[aria-pressed="true"] .icon { fill: #526e4c; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 16px 17px 13px; }
.card-category { display: flex; align-items: center; gap: 6px; color: var(--tone); font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.card-category .icon { width: 16px; height: 16px; }
.place-card h3 a { display: block; text-decoration: none; }
.place-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-address { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; margin-top: 7px; color: var(--muted); font-size: 12.5px; }
.card-address .icon { width: 16px; height: 16px; }
.card-body > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 8px; margin-bottom: 13px; color: #46564b; font-size: 14px; }
.card-bottom { display: flex; align-items: center; gap: 8px; justify-content: space-between; border-top: 1px solid #eeeee3; padding-top: 9px; margin-top: auto; }
.access-label { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--green); border-radius: 5px; padding: 3px 6px; background: var(--leaf); line-height: 1.23; }
.access-label[data-kind="restricted"], .access-label[data-kind="verify"] { background: var(--warning); color: var(--copper); }
.card-open { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--green); }
.card-open .icon { width: 17px; height: 17px; }
.card-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.pagination { display: flex; justify-content: center; margin-top: 24px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 8px 15px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 700; text-decoration: none; }
.button.outline { background: var(--surface); border-color: #c9cebc; color: var(--green); }
.button.primary { background: var(--green); border-color: var(--green); color: #fffdf4; }
.button:hover { filter: brightness(.95); }
.button .icon { width: 17px; height: 17px; }
.empty { text-align: center; min-height: 210px; border: 1px dashed #bbc5b1; border-radius: 12px; padding: 28px 18px; background: #f2f3e8; }
.empty > .icon { color: var(--green); margin-bottom: 8px; width: 27px; height: 27px; }
.empty p { color: var(--muted); margin-top: 7px; }
.empty .button { margin-top: 15px; }
.route-section { background: var(--leaf); padding-block: clamp(34px,5vw,70px); border-block: 1px solid var(--border); scroll-margin-top: 5px; }
.routes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.route-card { display: flex; flex-direction: column; min-height: 174px; background: var(--surface); border: 1px solid #ccd6c3; border-radius: var(--radius); padding: clamp(14px,1.6vw,22px); }
.route-card .route-label { color: var(--copper); font-size: 12px; margin-bottom: 8px; }
.route-label .icon { width: 16px; height: 16px; margin-right: 4px; }
.route-card h3 { font-size: 1.32rem; }
.route-card p { margin-top: 8px; margin-bottom: 12px; font-size: 13.5px; color: #506153; }
.route-card .card-open { margin-top: auto; align-self: start; }
.about { padding-block: 46px 50px; scroll-margin-top: 10px; }
.about-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.about-grid article { padding: 17px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.about-grid article > .icon { color: var(--green); margin-bottom: 6px; }
.about-grid p { margin-top: 7px; color: #506058; font-size: 14px; }
.about-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between; margin-top: 20px; color: var(--muted); font-size: 13px; }
.site-foot { padding: clamp(24px, 3.7vw, 47px) 0; background: var(--green-deep); color: var(--surface); }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.site-foot .wordmark small { color: var(--accent); }
.site-foot :focus-visible { outline-color: var(--accent); }
.map-panel { background: var(--surface); border: 1px solid #d0d8c5; border-radius: 12px; overflow: hidden; }
.map-stage { background: #e8eddf; position: relative; height: clamp(340px,46vw,570px); }
.map-stage canvas, .map-pins { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.map-pins { cursor: grab; touch-action: none; }
.map-pins.dragging { cursor: grabbing; }
.map-pin { position: absolute; transform: translate(-50%,-50%); width: 29px; height: 29px; border: 2px solid #fffdf3; border-radius: 50%; color: white; background: var(--tone,var(--green)); box-shadow: 0 0 0 1px #3d544d59,0 2px 5px #2941374d; display: grid; place-items: center; padding: 0; font-size: 11px; font-weight: 750; z-index: 1; }
.map-pin.cluster { width: 35px; height: 35px; color: #213a2c; background: #d8e5b4; }
.map-pin[aria-expanded="true"], .map-pin:hover, .map-pin:focus-visible { z-index: 2; box-shadow: 0 0 0 3px #7e9b6a65; }
.map-pin .icon { width: 15px; height: 15px; }
.map-tools { display: grid; gap: 6px; position: absolute; top: 12px; right: 12px; z-index: 3; }
.map-tools button { border-radius: 7px; border: 1px solid #c6cfbc; background: #fffcf1; color: var(--green); display: grid; place-items: center; width: 37px; height: 37px; }
.map-tools button:hover { background: #e6f0cd; }
.map-items { padding: 10px 15px; }
.map-items ul { margin: 6px 0 0; padding-left: 19px; }
.map-items [aria-label] { color: #4c6353; }
.map-items h3 { font-family: var(--sans); font-size: 15px; letter-spacing: normal; font-weight: 650; }
.map-items a { font-size: 13.5px; text-underline-offset: 3px; }
.map-note { min-height: 37px; display: flex; align-items: center; gap: 7px; background: #f1f3e8; color: #4c6353; padding: 8px 15px; font-size: 12px; }
.map-note .icon { width: 16px; height: 16px; }
dialog { width: min(710px, calc(100% - 30px)); max-height: calc(100% - 34px); max-height: calc(100dvh - 34px); border: 1px solid #c2ccb9; border-radius: 15px; color: var(--ink); background: var(--surface); margin: auto; padding: 0; box-shadow: 0 25px 90px #142a21a0; overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #10271ec5; }
.detail-shell { position: relative; }
.close-detail { z-index: 2; position: sticky; top: 10px; border: 1px solid #d7dec9; border-radius: 8px; width: 39px; height: 39px; color: var(--green-deep); background: #fffcf1; display: grid; place-items: center; margin: 10px 10px -49px auto; box-shadow: 0 2px 10px #142a2136; }
.detail-img { aspect-ratio: 2.34; position: relative; background: #b8ccac; }
.detail-img img { height: 100%; object-fit: cover; }
.detail-main { padding: 24px clamp(18px,4vw,35px) 30px; }
.detail-main h2 { font-size: clamp(2rem,5vw,3.07rem); margin: 6px 18px 11px 0; }
.detail-main .detail-intro { margin-top: 13px; font-size: 16px; }
.detail-main h3 { margin: 22px 0 7px; }
.detail-main .card-address { flex-wrap: nowrap; align-items: flex-start; font-size: 14px; }
.detail-main .card-address .icon { margin-top: 2px; }
.detail-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 17px; }
.detail-actions [aria-pressed="true"] { background: #e4edce; }
.detail-main p { color: #3f5347; }
.detail-main ul { margin: 0; padding-left: 19px; }
.detail-main li { margin-top: 6px; }
.detail-main li a { text-underline-offset: 3px; }
.detail-main .route-stops { list-style: none; padding: 0; margin: 13px 0 0; }
.route-stops li { display: flex; align-items: center; gap: 10px; padding: 9px; margin: 0; border-bottom: 1px solid #e3e8d9; }
.stop-number { display: grid; place-items: center; flex: none; width: 25px; height: 25px; border-radius: 50%; background: #e4edce; color: #2d4e3e; font-size: 12px; font-weight: 700; }
.route-stops a { flex: 1; }
.detail-footnote { color: #5c6c5e; font-size: 12px; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 20px; }
.toast { position: fixed; z-index: 12; bottom: 18px; right: 18px; max-width: calc(100% - 36px); background: var(--green-deep); color: #fffdef; border-radius: 8px; padding: 11px 16px; box-shadow: 0 4px 18px #1b372864; font-size: 14px; }
@media(max-width:950px) {
  .wrap { width: calc(100% - 44px); }
  .categories { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category { min-height: 52px; }
}
@media(max-width:725px) {
  .wrap { width: calc(100% - 32px); }
  .header-row { flex-wrap: wrap; gap: 0 10px; padding-top: 10px; }
  .wordmark { font-size: 21px; }
  .wordmark small { font-size: 10px; }
  .brand-icon { width: 39px; height: 39px; }
  .site-nav { order: 3; width: 100%; justify-content: space-between; gap: 14px; border-top: 1px solid var(--border); margin-top: 9px; }
  .header-save { padding-inline: 7px; font-size: 12px; }
  .header-save .icon { width: 17px; height: 17px; }
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 15px; padding-block: 31px 9px; }
  .hero h1 { font-size: clamp(2.4rem,8.1vw,4rem); margin-top: 10px; }
  .hero-figure { border-radius: var(--radius); }
  .hero-figure img { height: clamp(135px,38vw,225px); aspect-ratio: auto; }
  .hero-figure figcaption { bottom: 8px; right: 8px; }
  .card-grid, .routes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .card-bookmark, .card-add, .map-tools button { width: 44px; height: 44px; }
  .about-grid { grid-template-columns: 1fr; gap: 10px; }
}
@media(max-width:470px) {
  .header-save > span { display: none; }
  .header-save { min-width: 44px; justify-content: center; }
  .hero-lead { margin-top: 13px; }
  .hero-search { margin-top: 17px; gap: 7px; padding-left: 9px; }
  .hero-search button { padding-inline: 12px; }
  .hero-search input { font-size: .9rem; }
  .hero-actions { column-gap: 15px; }
  .hero-action { font-size: .82rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 17px; }
  .section-heading p { margin-top: 7px; font-size: 14px; }
  .categories { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-bottom: 12px; }
  .category { gap: 7px; padding: 7px; min-height: 46px; font-size: 12.5px; }
  .category .category-icon { width: 29px; height: 29px; }
  .card-grid, .routes-grid { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 2.35; }
  .catalog, .about, .route-section { padding-block: 32px 36px; }
  .map-stage { height: 365px; }
  dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
.resources { padding-block: 46px 6px; scroll-margin-top: 12px; }
.resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.resource-grid a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; text-decoration: none; background: var(--surface); color: var(--green); border: 1px solid var(--border); border-radius: 9px; }
.resource-grid a:hover { background: #edf1e2; }
.resource-grid strong, .resource-grid small { display: block; }
.resource-grid strong { font-size: 14px; }
.resource-grid small { color: var(--muted); margin-top: 3px; font-size: 12px; }
.resource-grid .icon { width: 17px; height: 17px; }
@media(max-width:725px) { .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:470px) { .resources { padding-top: 32px; } .resource-grid { grid-template-columns: 1fr; } }
.header-actions { display:flex; align-items:center; gap:7px; }
.header-trip { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; border:1px solid var(--border); border-radius:10px; padding:6px 11px; background:var(--leaf); color:var(--green); text-decoration:none; font-size:14px; font-weight:700; white-space:nowrap; }
.header-trip:hover { background:var(--accent); }
.header-trip small { background:var(--green); color:#fffdf3; border-radius:50%; min-width:20px; padding:1px 4px; text-align:center; }
.filters { grid-template-columns:minmax(152px,1.55fr) repeat(4,minmax(108px,1fr)); }
.card-tools { position:absolute; top:10px; right:10px; display:flex; gap:5px; }
.card-tools .card-bookmark { position:static; }
.card-add { width:40px; height:40px; display:grid; place-items:center; border-radius:8px; border:1px solid #f9f7ef78; background:#fffcf2; color:var(--green); box-shadow:0 2px 5px #1430233a; }
.card-add:hover, .card-bookmark:hover { background:#eef4db; }
.card-add[aria-pressed="true"] { background:var(--accent); border-color:#c6d89a; }
.detail-main .nearby-places { list-style:none; padding:0; }
.nearby-places li { display:flex; align-items:center; gap:6px; }
.nearby-places .icon { width:15px; height:15px; }
.planner { padding-block:10px 54px; scroll-margin-top:16px; }
.trip-empty, .trip-plan { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }
.trip-empty { display:flex; flex-wrap:wrap; align-items:center; gap:10px 15px; padding:18px; }
.trip-empty .button { margin-left:auto; }
.trip-empty h3 { font-size:1.27rem; }
.trip-empty p { margin-top:3px; font-size:14px; color:var(--muted); }
.trip-empty-icon { display:grid; place-items:center; width:43px; height:43px; border-radius:50%; color:var(--green); background:#e9eedb; }
.trip-plan { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(215px,1fr); gap:14px; padding:14px; }
.trip-stops { list-style:none; display:grid; gap:6px; margin:0; padding:0; align-content:start; }
.trip-stops li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:8px; border:1px solid #e4e7da; border-radius:8px; padding:7px 8px; background:#fbfcf5; }
.trip-stop-name { color:var(--ink); font-size:15px; font-weight:650; text-decoration:none; }
.trip-stop-name:hover { text-decoration:underline; text-underline-offset:3px; }
.trip-stop-text p { font-size:13px; color:var(--muted); margin-block:3px; }
.trip-stop-location { color:#3d624e; font-size:12px; }
.trip-stop-location.uncertain { color:#745128; }
.trip-step-buttons { display:flex; gap:4px; }
.trip-step-button { width:33px; height:34px; display:grid; place-items:center; padding:0; border:1px solid #dce2d4; border-radius:5px; background:var(--surface); color:var(--green); }
.trip-step-button:enabled:hover { background:#e9eedb; }
.trip-step-button .icon { width:17px; height:17px; }
.trip-actions { background:#eef1e6; border-radius:9px; padding:13px; display:grid; gap:8px; align-content:start; }
.trip-navigation-links { display:flex; flex-wrap:wrap; gap:6px; }
.trip-navigation-links:not(:has(> :not([hidden]))) { display:none; }
.trip-navigation-links .button { flex:1 1 auto; justify-content:center; padding-inline:9px; }
.trip-actions > p { font-size:14px; color:var(--green-deep); }
.trip-actions p.trip-note { color:var(--muted); font-size:12.5px; line-height:1.4; }
.trip-mode { color:var(--muted); font-size:13px; margin-top:2px; }
.trip-actions textarea { width:100%; min-height:8rem; border:1px solid #cadec9; padding:6px; border-radius:6px; font:14px var(--sans); }
.map-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:7px 12px; padding:8px 10px; background:#f9faf1; border-bottom:1px solid #dce2d0; }
.map-toolbar p { font-size:12.5px; color:var(--muted); }
.road-result { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 16px; padding:9px 12px; background:#e5edda; border-bottom:1px solid #d4dfc9; }
.road-result p { font-size:14px; font-weight:600; }
.road-links { display:flex; align-items:center; flex-wrap:wrap; gap:7px 12px; font-size:12px; color:var(--green); }
.road-links .text-button { color:var(--green); font-weight:700; }
.map-toggle { padding:2px; }
.map-toggle button { padding-block:5px; }
.map-tiles { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.map-tiles img { display:none; position:absolute; max-width:none; }
.map-tiles img.loaded { display:block; }
.map-pins:focus-visible { outline-offset:-4px; }
.map-attribution { position:absolute; right:0; bottom:0; background:#fffdf2ee; color:#204138; font-size:11px; padding:3px 7px; z-index:3; }
.map-pin.approximate { border:2px dashed #fcf8e9; }
.map-pin.cluster.approximate { border-color:#527552; }
.map-pin.itinerary { background:#854e37; }
.map-pin.itinerary.cluster { background:#fae3c9; color:#633e25; }
@media(max-width:900px) {
  .header-actions .header-save > span { display:none; }
  .site-nav { gap:15px; }
}
@media(max-width:725px) {
  .filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .filter-search { grid-column:1/-1; }
  .header-trip { padding-inline:9px; font-size:12px; }
  .header-trip .icon { width:17px; height:17px; }
  .trip-plan { grid-template-columns:1fr; }
}
@media(max-width:425px) {
  .planner { padding-block:2px 36px; }
  .trip-empty .button { margin-left:0; }
  .trip-stop-text { padding-top:1px; }
  .trip-plan { padding:8px; }
  .trip-stops li { grid-template-columns:auto minmax(0,1fr); align-items:start; }
  .trip-step-buttons { grid-column:2; justify-self:end; }
  .trip-step-button { width:44px; height:44px; }
}

.trip-starts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1120px) {
  .trip-starts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.trip-start { min-width: 0; display: flex; align-items: center; gap: 12px; padding: clamp(12px,1.45vw,19px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.trip-start:hover { border-color: #91a78a; background: var(--leaf); }
.trip-start > .icon:first-child { width: 38px; height: 38px; padding: 8px; border-radius: 9px; background: var(--leaf); color: var(--green); }
.trip-start strong, .trip-start small { display: block; }
.trip-start strong { color: var(--ink); font-size: .96rem; }
.trip-start small { margin-top: 3px; color: var(--muted); font-size: .8rem; }
.trip-start .start-arrow { margin-left: auto; color: var(--green); width: 17px; height: 17px; }
.trip-starts + .catalog { padding-top: clamp(29px, 4vw, 44px); }
.catalog-tools { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; margin-top: 7px; }
.nav-filter { display: inline-flex; align-items: center; gap: 9px; min-height: 43px; color: var(--green); font-size: .91rem; cursor: pointer; }
.nav-filter input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.catalog-tools .text-button { min-height: 43px; }
#catalog-share-fallback { width: 100%; font-size: .84rem; }
#catalog-share-url { display: block; width: min(100%, 570px); margin-top: 4px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); padding: 7px 9px; }
.position-tag { display: inline-flex; width: fit-content; align-items: center; border-radius: 6px; padding: 3px 7px; font-size: .76rem; font-weight: 650; line-height: 1.3; }
.position-tag.ready { background: var(--leaf); color: var(--green); }
.position-tag.caution { background: var(--warning); color: var(--copper); }
.card-address + .position-tag { margin-top: 6px; }
.route-card .route-meta { font-size: .78rem; color: var(--green); font-weight: 650; }
.route-card .route-meta.caution { color: #654b2d; }
.route-card .card-open { min-height: 33px; }
.incoming-trip { margin: 0 0 16px; padding: 16px; border: 1px solid #c4d2bd; border-radius: 10px; background: #edf1e6; }
.incoming-trip h3 { font-size: 1.35rem; }
.incoming-trip ol { display: grid; gap: 5px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 22px; margin: 9px 0 0; }
.incoming-trip li { color: var(--green); }
.incoming-trip .guide-actions { margin-top: 12px; }
@media (min-width: 926px) {
  .filters { grid-template-columns: minmax(165px, 1.55fr) repeat(4, minmax(100px, 1fr)); }
}
@media (max-width: 730px) {
  .trip-starts { grid-template-columns: 1fr; gap: 7px; margin-top: 12px; }
  .trip-start { padding: 9px 11px; min-height: 52px; }
  .trip-start small { margin-top: 1px; }
}
@media (max-width: 425px) {
  .header-trip, .header-save { min-width: 44px; }
  .site-head .header-trip > span { display: none; }
  .header-actions .header-trip, .header-actions .header-save { position: relative; width: 44px; padding-inline: 0; }
  .header-actions small { position: absolute; top: -4px; right: -3px; min-width: 17px; padding: 0 3px; font-size: 10px; line-height: 17px; }
  .incoming-trip ol { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .site-head .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 7px; }
  .site-head .site-nav { grid-column: 1 / -1; }
  .site-head .wordmark { max-width: 100%; gap: 8px; font-size: 20px; }
  .site-head .wordmark small { font-size: 9.5px; }
  .site-head .brand-icon { width: 35px; height: 35px; }
}
