@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f7f2;
  --white: #fffefa;
  --ink: #202a24;
  --muted: #525b51;
  --forest: #233a2d;
  --deep: #1f3328;
  --gold: #ffba6a;
  --accent: #ad4709;
  --border: #e4e2d8;
  --radius: 22px;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b65b25; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h2, h3 { line-height: 1.16; letter-spacing: -.042em; }
h2 { font-size: clamp(29px, 4.4vw, 46px); font-weight: 750; }
h3 { font-weight: 720; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: absolute; z-index: 2; top: 6px; left: 10px; transform: translateY(-150%); padding: 9px 15px; background: white; }
.skip-link:focus { transform: none; }
:where(section[id]) { scroll-margin-top: 24px; }

.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.home-header { padding-block: 6px; }
.home-header-actions { display: flex; flex-direction: column; align-items: end; gap: 4px; justify-self: end; }
.nav-next-walk { display: inline-block; max-width: 100%; padding: 4px 8px; color: #996410; font-size: 12px; line-height: 1.45; font-weight: 650; text-align: right; text-decoration: none; }
.nav-next-walk:hover { text-decoration: underline; text-underline-offset: 3px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 6px; font-size: 27px; font-weight: 850; line-height: 1; letter-spacing: -.07em; text-decoration: none; }
.brand img { object-fit: contain; width: 40px; filter: url("/assets/icons.svg?v=2#brand-gold"); }
.brand-go { color: var(--gold); }
.nav { display: flex; gap: 36px; align-items: center; font-size: 14px; font-weight: 650; white-space: nowrap; }
.nav a { text-decoration: none; padding-block: 10px; }
.nav a:hover, .back-top:hover { color: var(--accent); }
.nav .nav-walks { padding-inline: 8px; border-radius: 8px; background: var(--deep); color: var(--gold); }
.nav .nav-walks:hover { background: var(--forest); color: var(--gold); }
.nav .nav-walks[aria-current="page"] { text-decoration: underline 2px; text-underline-offset: 4px; }
.preview-label { justify-self: end; display: inline-flex; align-items: center; gap: 6px; background: #eeeee5; color: #49554a; border-radius: 100px; padding: 6px 11px; font-size: 12px; font-weight: 650; white-space: nowrap; }

.hero { margin-top: 27px; }
.hero-panel { position: relative; min-height: 524px; display: grid; grid-template-columns: .86fr 1.14fr; isolation: isolate; overflow: hidden; border-radius: 29px; background: var(--deep); color: #fffaf2; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; z-index: 1; padding: clamp(36px, 5.8vw, 80px); padding-right: 25px; }
.hero-location { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 24px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f9d0a2; }
.hero-location .icon { font-size: 17px; }
.hero h1 { font-size: clamp(58px, 7.1vw, 106px); line-height: .96; letter-spacing: -.077em; font-weight: 820; }
.hero h1 span { color: var(--gold); }
.hero-intro { max-width: 36ch; margin-top: 26px; color: #f1f1e7; font-size: clamp(15px, 1.45vw, 18px); line-height: 1.62; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 48px; padding: 12px 17px; border: 1px solid transparent; border-radius: 10px; font-weight: 720; font-size: 14px; line-height: 1.3; text-decoration: none; }
.button-accent { background: var(--gold); color: #2d251b; }
.button-accent:hover { background: #ffd093; }
.button.nav-account { justify-self: end; min-height: 44px; padding: 8px 13px; white-space: nowrap; }
.button-solid { background: var(--forest); color: white; }
.button-solid:hover { background: #385344; }
.button-outline { border-color: #9fa89c; background: var(--white); color: var(--forest); }
.button-outline:hover { background: #edf1e7; }
.button-danger { background: #a32127; color: white; }
.button-danger:hover { background: #85191e; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: max-content; max-width: 100%; gap: 10px; margin-top: 26px; }
.hero-actions > .button { min-width: 0; min-height: 51px; text-align: center; }
.hero-actions > .button:focus-visible { outline-color: #ffdbb3; }
.button-hero-secondary { border-color: #879a88; background: #2a4234; color: #fffaf2; }
.button-hero-secondary:hover { background: #3b5746; }
.hero-picture { position: relative; min-width: 0; min-height: 100%; }
.hero-picture::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep), transparent 25%); content: ""; pointer-events: none; }
.hero-picture img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 53% 55%; }

.next-walk { margin-top: clamp(16px, 3vw, 32px); }
.next-walk-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: clamp(16px, 3vw, 30px); background: #ebeee3; border: 1px solid var(--border); border-radius: 16px; }
.next-walk-info { min-width: 0; }
.next-walk-info h2 { margin-bottom: 8px; color: var(--forest); font-size: 13px; letter-spacing: 0; }
.next-walk-info h3 { font-size: clamp(22px, 3vw, 32px); overflow-wrap: anywhere; }
.next-walk-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 12px 0 0; list-style: none; color: var(--muted); font-size: 14px; }
.next-walk-facts li { display: flex; align-items: baseline; gap: 6px; overflow-wrap: anywhere; }
.next-walk-facts .icon { flex: none; align-self: center; }
.next-walk:not([hidden]) + .about { margin-top: clamp(28px, 5vw, 64px); }

.walks-page { display: flex; flex-direction: column; min-height: 100vh; }
.walks-page > main { flex: 1; }
.walks { padding-block: 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px 24px; margin-bottom: 24px; }
.section-heading h1 { font-size: clamp(29px, 4.4vw, 46px); font-weight: 750; line-height: 1.16; letter-spacing: -.042em; }
.section-heading h1 + p { margin-top: 9px; color: var(--muted); }
.walks-heading-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.walks-heading-actions .button { text-align: center; }
.walks-heading-actions .create-walk-button { min-height: 44px; padding: 8px; font-size: 13px; }
@media (max-width: 360px) {
  .walks-heading-actions .button { padding-inline: 11px; }
  .walks-heading-actions .create-walk-button { padding-inline: 6px; font-size: 12px; }
}
.demo-note { display: flex; align-items: center; gap: 7px; color: #71533a; align-self: flex-end; background: #f7eddf; padding: 7px 10px; border-radius: 7px; font-size: 12px; font-weight: 640; }
.filter-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 16px; background: var(--white); border: 1px solid var(--border); padding: 17px 20px; border-radius: 16px; }
.control { display: grid; gap: 7px; min-width: 0; }
.control > span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.control > span .icon { color: #647465; font-size: 15px; }
select { appearance: none; width: 100%; min-width: 0; min-height: 46px; padding: 8px 33px 8px 11px; border: 1px solid #dcded3; border-radius: 8px; background: #f9faf6 url("/assets/chevron.svg") right 11px center / 15px no-repeat; color: var(--ink); font-size: 14px; cursor: pointer; }
select:hover { border-color: #849587; }
.reset-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 7px 12px; background: transparent; border: 0; border-radius: 8px; color: var(--forest); font-size: 13px; font-weight: 700; white-space: nowrap; }
.reset-button:enabled:hover { background: #ecefe7; }
.reset-button:disabled { opacity: .56; cursor: default; }
.results-line { min-height: 52px; display: flex; justify-content: space-between; align-items: center; column-gap: 12px; color: var(--muted); font-size: 13px; }
.results-line h2 { font: inherit; font-weight: 700; }
.results-line span { display: inline-flex; align-items: center; gap: 6px; text-align: right; }
.results-line .icon { flex: none; }
#result-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 360px) {
  .results-line { column-gap: 8px; }
  .results-line span { font-size: 11px; }
}

.walk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.walk-card { --tint: #ebeee3; --line: #a7b19a; --tag-ink: #3c543d; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 297px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); overflow: hidden; }
.tone-sun { --tint: #f7ead8; --line: #d4a577; --tag-ink: #7e481d; }
.tone-river { --tint: #e8eeed; --line: #a4bcc0; --tag-ink: #325459; }
.walk-card-top { background: var(--tint); border-bottom: 1px solid color-mix(in srgb, var(--line) 44%, transparent); padding: 14px 19px; display: flex; align-items: center; gap: 12px; }
.date-tile { display: grid; place-items: center; align-content: center; min-width: 47px; min-height: 47px; padding: 1px 5px; border: 1px solid color-mix(in srgb, var(--line) 65%, white); border-radius: 9px; background: #fffefa; line-height: 1.05; color: var(--ink); }
.date-day { font-size: 21px; font-weight: 790; letter-spacing: -.08em; }
.date-month { margin-top: 3px; font-size: 9px; font-weight: 720; text-transform: uppercase; }
.date-time { display: grid; color: var(--tag-ink); font-size: 12px; }
.date-time strong { font-size: 14px; font-weight: 720; }
.walk-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 19px 16px; }
.walk-card h3 { font-size: clamp(20px, 2vw, 25px); }
.walk-location { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: 13px; }
.walk-location .icon { margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border-radius: 5px; background: #f0f1eb; color: #475347; font-size: 12px; font-weight: 650; }
.detail-button { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; margin-top: auto; padding: 10px 0 0; border: 0; border-top: 1px solid var(--border); background: none; color: var(--forest); font-size: 14px; font-weight: 750; text-align: left; }
.detail-button:hover, .text-link:hover { color: var(--accent); }
.empty-state { border: 1px dashed #b4bbad; background: #f3f4eb; border-radius: 16px; padding: 31px 19px; text-align: center; }
.empty-state > .icon { font-size: 27px; color: var(--forest); margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin: 7px 0 17px; }
#no-upcoming-walks { margin-top: 16px; }
#no-upcoming-walks h2 { font-size: clamp(20px, 3vw, 26px); }

.about { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; margin-top: 79px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #f0eee3; }
.about-picture { min-width: 0; min-height: 100%; align-self: stretch; position: relative; }
.about-picture img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; }
.about-copy { padding: clamp(29px, 4.2vw, 64px); }
.about-copy h2 { margin-bottom: 16px; }
.about-copy p { max-width: 51ch; color: #485348; }
.about-copy p + p { margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; text-underline-offset: 4px; font-weight: 700; font-size: 14px; }

.rules { padding-block: 68px; }
.rules h2 { font-size: clamp(28px, 4vw, 39px); margin-bottom: 24px; }
.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 30px; }
.rule { display: flex; gap: 12px; align-items: flex-start; }
.rule h3 { font-size: 18px; letter-spacing: -.025em; margin-bottom: 6px; }
.rule p { font-size: 14px; color: var(--muted); }
.rule-icon { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 9px; background: #e7eddf; color: var(--forest); font-size: 18px; flex-shrink: 0; }
.registration-info { margin-top: 27px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.registration-info summary { cursor: pointer; padding: 14px 0; font-size: 14px; font-weight: 700; }
.registration-info div { padding: 0 0 16px 16px; color: var(--muted); font-size: 14px; max-width: 76ch; }
.registration-info p + p { margin-top: 8px; }
.site-footer { border-top: 1px solid var(--border); min-height: 80px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 81px; gap: 20px; color: var(--muted); font-size: 13px; }
.footer-inner .brand { color: var(--ink); font-size: 24px; }
.footer-inner > span { justify-self: center; }
.back-top { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-weight: 650; }

.dialog { width: min(580px, calc(100% - 26px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--border); border-radius: 20px; color: var(--ink); background: var(--white); box-shadow: 0 25px 100px #0a170e58; overscroll-behavior: contain; }
.dialog::backdrop { background: #17271db0; }
.dialog-top { display: flex; justify-content: flex-end; position: sticky; inset-block-start: 0; height: 0; z-index: 1; }
.close-button { display: grid; place-items: center; width: 44px; height: 44px; margin: 12px 12px 0 0; border: 1px solid var(--border); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 18px; box-shadow: 0 1px 3px #19261f14; }
.close-button:hover { background: #eceee6; }
.dialog-heading { padding: 26px 62px 22px 25px; background: #e8eddf; }
.dialog-heading h2 { font-size: clamp(26px, 5vw, 38px); }
.dialog-heading p { margin-bottom: 6px; color: #4d5f4f; font-size: 13px; font-weight: 700; }
.dialog-body { display: grid; gap: 18px; padding: 22px 25px 25px; }
.dialog-description { color: var(--muted); }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.detail-facts > div { display: grid; gap: 2px; align-content: start; }
.detail-facts dt { color: var(--muted); font-size: 12px; }
.detail-facts dt .icon { margin-right: 4px; }
.detail-facts dd { margin: 0; font-size: 14px; font-weight: 670; }
.dialog-note { color: #71533a; background: #f7eddf; padding: 9px 11px; border-radius: 8px; font-size: 13px; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dialog-link { min-height: 44px; padding: 7px 0; border: 0; background: transparent; color: var(--forest); font-weight: 700; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.dialog-link:hover { color: var(--accent); }
.dialog-actions .dialog-link { padding-inline: 7px; }
.share-walk-options { display: grid; gap: 10px; margin-top: -10px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #f4f6ee; }
.share-walk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.share-walk-grid .button { min-height: 44px; padding: 7px 6px; font-size: 13px; text-align: center; }
#share-walk-copy { grid-column: 1 / -1; }
.share-walk-options > .dialog-link { display: inline-flex; align-items: center; justify-self: start; font-size: 13px; }
.share-walk-status { font-size: 13px; }
.share-walk-status:empty { position: absolute; }
.walk-story { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid #dce4d0; }
.walk-story h3 { font-size: 18px; }
.walk-story > p { color: var(--muted); font-size: 13px; }
.walk-story-preview { justify-self: center; width: min(180px, 100%); height: auto; border-radius: 12px; background: var(--forest); }
.walk-story-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.walk-story-actions .button { min-width: 0; min-height: 44px; padding: 8px 6px; font-size: 12px; text-align: center; }
.walk-story-actions .story-copy { grid-column: 1 / -1; }
#walk-story-share[hidden] + #walk-story-download { grid-column: 1 / -1; }
.meeting-place { display: block; overflow-wrap: anywhere; }
.meeting-map { display: inline-flex; align-items: center; }
.route-panel { min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: #f9faf6; }
.route-panel summary, .owner-walk .route-panel summary { margin: 0; padding-block: 6px; color: var(--forest); cursor: pointer; font-size: 14px; font-weight: 720; }
.route-map { z-index: 0; isolation: isolate; width: 100%; height: clamp(224px, 48vw, 302px); margin-block: 6px; border: 1px solid #d8dece; border-radius: 9px; background: #e8ecdf; }
.route-stop-pin, .route-swatch { border: 3px solid #fffdf5; border-radius: 50%; background: #27644b; box-shadow: 0 0 0 1px #27644b; }
.route-stop-pin { display: grid; place-items: center; color: #fffdf5; font: 750 12px/1 Inter, sans-serif; }
.route-endpoint-pin { --pin-color: #225f40; border: 2px solid #fffdf5; border-radius: 8px; background: var(--pin-color); box-shadow: 0 1px 4px #19352966; }
.route-endpoint-pin::after { position: absolute; inset: 100% auto auto calc(50% - 5px); border: 5px solid transparent; border-top-color: var(--pin-color); content: ""; }
.route-finish-pin { --pin-color: #8a3e17; }
.route-swatch { width: 12px; height: 12px; border-width: 2px; }
.route-legend { display: flex; gap: 8px; align-items: center; }
.route-panel .route-help, .route-panel .route-legend, .route-panel .route-status, .route-panel .route-map-error { margin: 4px 0; color: var(--muted); font-size: 13px; }
.route-panel .route-status { font-weight: 700; color: var(--forest); }
.route-planner { padding: clamp(12px, 3.4vw, 20px); background: #f3f6ed; }
.route-planner h3 { margin: 0; color: var(--forest); font-size: 18px; }
.route-stop-list { display: grid; gap: 12px; margin-block: 14px 8px; }
.route-search { display: flex; gap: 6px; align-items: end; }
.route-label { display: grid; flex: 1; gap: 4px; min-width: 0; color: var(--forest); font-size: 13px; font-weight: 730; }
.route-label input { width: 100%; min-width: 0; height: 42px; padding: 8px 9px; border: 1px solid #cdd7c6; border-radius: 8px; color: var(--ink); background: var(--white); font: inherit; font-weight: 520; }
.route-search-button, .route-remove-stop, .route-place-option { min-height: 42px; margin: 0; border: 1px solid #cdd7c6; border-radius: 8px; color: var(--forest); background: var(--white); font: inherit; font-weight: 710; }
.route-search-button { padding-inline: 9px; font-size: 12px; }
.route-search-button:disabled { opacity: .55; }
.route-remove-stop { min-width: 34px; font-size: 18px; }
.route-results { display: grid; gap: 2px; margin: 5px 0; padding: 4px; border: 1px solid #cdd7c6; border-radius: 8px; background: var(--white); }
.route-place-option { padding: 7px 8px; border-color: transparent; text-align: left; font-size: 13px; }
.route-place-option:hover, .route-place-option:focus-visible, .route-search-button:hover { background: #e8eddf; }
.route-stop .route-place-status { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.route-options, .route-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 14px; }
.route-options { justify-content: space-between; margin-bottom: 8px; }
.route-text-button { min-height: 38px; padding-inline: 0; border: 0; color: var(--forest); background: transparent; font: inherit; font-size: 13px; font-weight: 720; text-decoration: underline; text-underline-offset: 3px; }
.route-text-button:disabled { opacity: .48; }
.route-loop { display: inline-flex; gap: 6px; align-items: center; min-height: 38px; color: var(--forest); font-size: 13px; cursor: pointer; }
.route-loop input { width: 16px; height: 16px; accent-color: var(--forest); }
.route-result { margin-top: 13px; scroll-margin-top: 12px; }
.route-result-head { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: center; justify-content: space-between; }
.route-preview .route-map { height: clamp(248px, 52vw, 332px); }
.route-result .route-summary { color: var(--forest); font-size: 14px; font-weight: 760; }
.route-google { display: inline-flex; align-items: center; min-height: 42px; color: var(--forest); font-size: 14px; font-weight: 720; text-underline-offset: 3px; }
.route-panel .route-attribution { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.route-itinerary { display: grid; gap: 3px; margin-block: 5px 9px; padding-left: 23px; color: var(--muted); font-size: 13px; }
.route-itinerary span, .route-itinerary li::marker { color: var(--forest); font-weight: 720; }
.confirm-form { display: grid; gap: 15px; }
.confirm-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-control { display: flex; align-items: center; gap: 9px; padding-block: 4px; font-size: 14px; cursor: pointer; }
.check-control input { width: 19px; height: 19px; accent-color: var(--forest); flex-shrink: 0; }
.confirmation { display: grid; gap: 8px; padding: 16px; border-radius: 12px; background: #e8eddf; }
.confirmation h3 { display: flex; gap: 7px; align-items: center; font-size: 20px; }
.confirmation p { color: #475347; font-size: 14px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 60px); }
  .hero-panel { min-height: 474px; }
  .hero-copy { padding-left: 46px; }
  .hero-picture::after { background: linear-gradient(90deg, var(--deep), transparent 23%); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 61px; gap: 3px 14px; grid-template-columns: minmax(0, 1fr) auto; padding-block: 9px 4px; }
  .home-header-actions { display: contents; }
  .nav-next-walk { grid-column: 1 / -1; grid-row: 3; justify-self: end; }
  .brand { font-size: 25px; }
  .brand img { width: 36px; height: 31px; }
  .nav { grid-column: 1; grid-row: 2; gap: 20px; font-size: 13px; }
  .nav a { display: flex; align-items: center; min-height: 43px; padding-block: 5px; }
  .nav-account { grid-column: 2; grid-row: 2; font-size: 13px; }
  .preview-label { grid-column: 2; grid-row: 1; }
  .hero { margin-top: 17px; }
  .hero-panel { min-height: 0; grid-template-columns: 1fr; border-radius: 21px; }
  .hero-copy { padding: 32px 24px 12px; }
  .hero-location { margin-bottom: 13px; font-size: 11px; }
  .hero h1 { font-size: clamp(51px, 12.8vw, 83px); }
  .hero-intro { margin-top: 16px; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions > .button { min-height: 46px; padding-inline: 10px; font-size: 13px; }
  .hero-picture { min-height: clamp(216px, 57vw, 360px); }
  .hero-picture::after { background: linear-gradient(180deg, var(--deep), transparent 24%); }
  .hero-picture img { object-position: 50% 57%; }
  .walks { padding-block: 41px; }
  .section-heading { display: grid; justify-items: start; gap: 12px; margin-bottom: 16px; }
  .section-heading h1 + p { margin-top: 7px; font-size: 14px; }
  .walks-heading-actions { width: 100%; }
  .filter-panel { grid-template-columns: 1fr 1fr; gap: 12px; padding: 13px; }
  .filter-panel .control:first-child { grid-column: 1 / -1; }
  .reset-button { grid-column: 1 / -1; justify-self: start; min-height: 41px; margin-block: -4px -6px; }
  .results-line { min-height: 48px; font-size: 12px; }
  .walk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .walk-card { min-height: 266px; }
  .walk-card-top, .walk-card-body { padding-inline: 15px; }
  .about { margin-top: 48px; grid-template-columns: 1fr; }
  .about-picture { min-height: clamp(180px, 54vw, 335px); }
  .rules { padding-block: 47px; }
  .rule-grid { grid-template-columns: 1fr; }
}
@media (max-width: 535px) {
  .hero-actions .icon { display: none; }
  .walk-grid { grid-template-columns: 1fr; }
  .walk-card { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 8px; padding-block: 12px; }
  .footer-inner > span { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}
@media (max-width: 380px) {
  .nav { gap: 7px; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 24px); }
  .hero-copy { padding-inline: 17px; }
  .hero h1 { font-size: 47px; }
  .nav { gap: 5px; font-size: 12px; }
  .nav .nav-walks { padding-inline: 6px; }
  .preview-label { font-size: 11px; }
  .dialog-body { padding-inline: 16px; }
  .dialog-heading { padding-inline-start: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.schedule-message { max-width: 720px; margin-top: 16px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); color: var(--muted); }
.tag-cancelled, .field-error { background: #f8e8df; color: #782f21; }
.field-error { padding: 9px 11px; border-radius: 8px; font-size: 14px; }
.control input, .control textarea { width: 100%; min-width: 0; padding: 10px 11px; border: 1px solid #dcded3; border-radius: 8px; background: #f9faf6; color: var(--ink); font: inherit; }
.control input { min-height: 46px; }

.owner-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 13px; font-weight: 650; }
.walk-editor-nav { display: flex; gap: 8px; }
.walk-editor-nav .button { min-height: 44px; padding: 8px 13px; text-align: center; }
@media (max-width: 480px) {
  .walk-editor-header { gap: 8px; }
  .walk-editor-nav { gap: 6px; }
  .walk-editor-nav .button { padding-inline: 6px; font-size: 12px; }
}
.walk-editor-nav .walk-editor-back { min-width: 44px; padding-inline: 10px; }
.owner-main { padding-block: 34px 64px; }
.owner-main > h1 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -.045em; margin-bottom: 21px; }
.owner-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 18px; align-items: start; }
.owner-panel { padding: clamp(16px, 3vw, 28px); border: 1px solid var(--border); border-radius: 16px; background: var(--white); }
.owner-panel h2 { font-size: 24px; margin-bottom: 16px; }
.owner-form, .owner-fields { display: grid; gap: 12px; }
.meeting-fields { display: grid; gap: 12px; }
.meeting-fields small { color: var(--muted); font-size: 13px; }
.meeting-edit { margin-top: 10px; }
.owner-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.walk-form-options { min-width: 0; border: 1px solid var(--border); border-radius: 10px; background: #f9faf6; }
.walk-form-options > summary { padding: 11px 12px; color: var(--forest); font-size: 14px; font-weight: 700; cursor: pointer; }
.walk-form-options > summary:hover { color: var(--accent); }
.walk-form-options > summary small { margin-left: 5px; color: var(--muted); font-size: 12px; font-weight: 550; }
.walk-form-options > .owner-form { padding: 0 12px 12px; }
.owner-form > button { justify-self: start; }
.owner-walk { padding-block: 14px; border-top: 1px solid var(--border); }
.owner-walk h3 { font-size: 19px; margin-bottom: 7px; }
.owner-walk p { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.owner-walk summary { cursor: pointer; color: var(--accent); font-size: 14px; font-weight: 660; margin-top: 8px; }
.owner-walk details button { margin-top: 10px; }
.owner-walk .route-planner button { margin-top: 0; }
@media (max-width: 760px) {
  .owner-columns { grid-template-columns: 1fr; }
}

.owner-bookings { margin-top: 10px; }
.owner-booking-list { list-style: none; margin: 0; padding: 0; }
.owner-booking-list > li { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; overflow-wrap: anywhere; }
.owner-booking-list > li strong { display: block; margin-bottom: 2px; }
.owner-booking-list details > p { margin-top: 6px; }

.community-intro { max-width: 66ch; margin: -10px 0 22px; color: var(--muted); }
.account-auth { max-width: 460px; }
.account-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.account-mode { color: var(--forest); border-color: var(--border); background: var(--white); }
.account-mode[aria-pressed="true"] { background: #e8eddf; border-color: #adbdad; }
.account-identity { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; overflow-wrap: anywhere; }
.account-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.account-walk { padding-block: 5px; border-top: 1px solid var(--border); }
.account-walk summary { position: relative; display: block; padding: 9px 26px 9px 0; border-radius: 8px; cursor: pointer; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.account-walk summary::-webkit-details-marker { display: none; }
.account-walk summary span { display: block; }
.account-walk summary::after { position: absolute; top: 15px; right: 5px; width: 8px; height: 8px; border: solid var(--forest); border-width: 0 2px 2px 0; transform: rotate(45deg); content: ""; }
.account-walk details[open] > summary::after { top: 19px; transform: rotate(225deg); }
.account-walk .account-walk-title { margin-bottom: 4px; color: var(--ink); font-size: 18px; font-weight: 720; line-height: 1.2; letter-spacing: -.04em; }
.account-walk summary:hover .account-walk-title { text-decoration: underline; text-underline-offset: 3px; }
.account-walk-details { padding: 12px; margin-bottom: 9px; border-radius: 10px; background: #f6f7f0; overflow-wrap: anywhere; }
.account-walk-description { margin-bottom: 12px; white-space: pre-wrap; }
.account-note, .account-walk p { color: var(--muted); font-size: 14px; }
.account-walk .button { margin-top: 8px; }
.account-reservation-actions { margin-block: 10px 4px; }
.account-reservation-actions .button { margin-top: 0; }
.account-reservation-confirm { display: grid; gap: 8px; padding: 11px; border: 1px solid #e9c7c5; border-radius: 8px; background: #fff5f3; }
.account-reservation-actions button:disabled { opacity: .6; cursor: progress; }
@media (max-width: 760px) {
  .account-groups { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; row-gap: 0; }
}
.community-hint { margin-bottom: 12px; color: var(--muted); font-size: 14px; }

.account-badges { margin-bottom: 24px; }
.badges-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#badge-count, #creator-badge-count { color: var(--forest); font-size: 14px; font-weight: 650; }
.badge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 20px 0; }
.attendance-badge { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; border: 1px solid var(--border); border-radius: 16px; padding: 18px 10px; background: #f5f5f1; color: #60665f; }
.badge-medal { display: grid; place-items: center; width: 66px; height: 66px; border: 3px double #b5bcb1; border-radius: 50%; background: #e7e9e3; color: #788071; margin-bottom: 6px; }
.badge-medal svg { width: 37px; height: 37px; }
.attendance-badge strong { font-size: 15px; line-height: 1.35; }
.badge-threshold { font-size: 12px; }
.badge-state { margin-top: auto; padding-top: 5px; font-size: 12px; font-weight: 650; }
.attendance-badge.is-earned, .attendance-badge.badge-preview { background: #f0f5e9; color: var(--forest); border-color: #bacba6; }
.is-earned .badge-medal, .badge-preview .badge-medal { background: #e1edce; border-color: #829c62; color: #3a5e32; }
.is-earned[data-level="2"] .badge-medal, .badge-preview[data-level="2"] .badge-medal { background: #f7e8c9; border-color: #bd9755; color: #7b581f; }
.is-earned[data-level="3"] .badge-medal, .badge-preview[data-level="3"] .badge-medal { background: #e0e9f0; border-color: #8ba1b6; color: #405c74; }
.is-earned[data-level="4"] .badge-medal, .badge-preview[data-level="4"] .badge-medal { background: #ffedb0; border-color: #b88c21; color: #805b09; }
.badge-progress-text { color: var(--forest); font-size: 14px; }
#badge-progress, #creator-badge-progress { width: 100%; height: 10px; margin-top: 10px; accent-color: var(--forest); }
@media (max-width: 760px) { .badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .badge-grid { grid-template-columns: 1fr; } }

.hero-badges-link { margin-top: 20px; color: #f9d0a2; font-size: 13px; text-underline-offset: 4px; line-height: 1.6; }
.hero-badges-link:hover { color: #fffaf2; }
.home-badges { margin-top: clamp(28px, 5vw, 64px); }
.home-badges-panel { padding: clamp(20px, 4vw, 48px); background: #ebeee3; border: 1px solid var(--border); border-radius: var(--radius); }
.home-badges-eyebrow { color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.home-badges-intro { max-width: 65ch; color: var(--muted); margin-top: 16px; }
.home-badges .badge-grid { margin-block: 28px; }
.home-badges-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #ccd3c3; padding-top: 24px; }
.home-badges-bottom h3 { font-size: 20px; margin-bottom: 8px; }
.home-badges-bottom p { max-width: 62ch; color: var(--muted); font-size: 14px; }
.home-badges-bottom .button { flex-shrink: 0; }
@media (max-width: 760px) { .home-badges-bottom { flex-direction: column; align-items: flex-start; } }

.creator-badges { border-color: #c5ad7d; background: #fff9ed; }
.creator-badge-note { margin-block: 16px; }
.badge-collection-title { margin: 32px 0 12px; font-size: clamp(20px, 3vw, 26px); }
.creator-promo { padding: 16px 20px; margin-bottom: 24px; background: #fff1d8; border: 1px solid #e5cda0; border-radius: 12px; color: var(--forest); font-size: 14px; }
.creator-promo a { font-weight: 700; text-underline-offset: 3px; }

.member-profile { margin-bottom: 24px; }
.profile-header { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.profile-avatar { display: grid; place-items: center; width: 68px; height: 68px; flex: none; border-radius: 50%; background: var(--forest); color: var(--gold); font-size: 23px; font-weight: 750; }
.profile-heading-copy { flex: 1; min-width: 120px; overflow-wrap: anywhere; }
.profile-heading-copy h2 { margin: 2px 0 0; }
.profile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 440px; margin-top: 20px; }
.profile-actions > .button { width: 100%; min-width: 0; min-height: 46px; padding: 12px 8px; font-size: 14px; line-height: 1.3; text-align: center; }
.profile-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.profile-bio { margin-top: 20px; max-width: 70ch; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-privacy { margin-top: 10px; color: var(--muted); font-size: 12px; }
.profile-dogs-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: baseline; margin: 24px 0 14px; }
.profile-dogs-heading h3 { font-size: 21px; }
.profile-dog-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.profile-dog-card { padding: 20px; border: 1px solid #dce4d0; border-radius: 14px; background: #f4f7ed; overflow-wrap: anywhere; }
.profile-dog-icon { font-size: 24px; }
.profile-dog-card h4 { margin: 6px 0; font-size: 19px; }
.profile-dog-about { margin-top: 10px; font-size: 14px; white-space: pre-wrap; }
.profile-editor { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 20px; }
.profile-fields { min-width: 0; border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
.profile-fields > legend { font-size: 20px; font-weight: 700; padding: 0 0 16px; }
.profile-two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-dog-editors { display: grid; gap: 16px; }
.profile-dog-editor { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--border); border-radius: 12px; display: grid; gap: 12px; }
.profile-dog-editor legend { font-weight: 700; padding-inline: 6px; }
.profile-fields > .button { justify-self: start; }
.profile-remove-dog { justify-self: start; padding: 10px 0; border: 0; background: none; color: #972b2b; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.profile-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-save-status { margin-top: 18px; color: var(--forest); font-weight: 650; }
@media (max-width: 600px) { .profile-dog-grid, .profile-two-fields { grid-template-columns: 1fr; } }

.badges-more { margin: -8px 0 20px; }
.badges-more > summary { width: fit-content; max-width: 100%; padding: 10px 0; color: var(--forest); font-size: 14px; font-weight: 700; cursor: pointer; text-underline-offset: 4px; }
.badges-more > summary:hover { text-decoration: underline; }
.badges-hide-label { display: none; }
.badges-more[open] > summary .badges-show-label { display: none; }
.badges-more[open] > summary .badges-hide-label { display: inline; }
.badges-more .badge-grid { margin-block: 10px 0; }

.my-walk-sections { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.participating-panel { margin-top: 24px; }
.account-walks-link { margin-bottom: 20px; }
#legacy-walks { padding: 16px; margin-bottom: 16px; background: #fff1d8; border-radius: 10px; }
#legacy-walks .button { margin-top: 10px; }
.home-header .nav { flex-wrap: wrap; gap: 4px 20px; }

.walk-attendance { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--forest); font-size: 15px; }
.walk-attendance strong { font-variant-numeric: tabular-nums; font-weight: 750; }

.profile-avatar { overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.profile-photo-controls p { flex-basis: 100%; font-size: 13px; }
.profile-actions > .button:disabled, .profile-photo-controls button:disabled { opacity: .6; cursor: progress; }

.profile-dog-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; margin-bottom: 12px; }
.dog-photo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.dog-photo-controls .button { min-height: 40px; padding: 9px 12px; font-size: 13px; }
.dog-photo-controls p { flex-basis: 100%; }

.my-walks-subtitle { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 55ch; }

.owner-walk > .my-walk-disclosure > summary { position: relative; display: block; margin: 0; padding: 8px 30px 8px 0; color: var(--ink); cursor: pointer; }
.my-walk-disclosure > summary::-webkit-details-marker { display: none; }
.my-walk-disclosure > summary::after { content: ""; position: absolute; right: 6px; top: 18px; width: 9px; height: 9px; border-right: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(45deg); }
.my-walk-disclosure[open] > summary::after { transform: rotate(225deg); }
.my-walk-disclosure > summary:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.walk-basic-details { padding: 16px; margin-top: 10px; border-radius: 12px; background: #f3f5ee; overflow-wrap: anywhere; }
.walk-basic-description { white-space: pre-wrap; margin-top: 12px; }

.home-menu-toggle { display: none; }
@media (min-width: 901px) {
  .home-header { grid-template-columns: auto minmax(0, 1fr) auto; }
  .home-header .nav { justify-content: center; flex-wrap: nowrap; gap: clamp(10px, 1.7vw, 24px); }
}
@media (max-width: 900px) {
  .home-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; padding-block: 12px; min-height: 72px; }
  .home-header > .brand { grid-row: 1; grid-column: 1; font-size: 26px; }
  .home-header > .brand img { width: 34px; }
  .home-header-actions { display: flex; grid-row: 1; grid-column: 2; }
  .home-header .nav-account { grid-row: auto; grid-column: auto; min-height: 44px; padding: 10px 12px; font-size: 13px; }
  .home-header[data-menu-ready] .home-menu-toggle { display: inline-flex; grid-row: 1; grid-column: 3; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 10px; border: 1px solid #9fa89c; border-radius: 10px; background: var(--white); color: var(--forest); font: inherit; font-size: 13px; font-weight: 700; }
  .home-menu-icon { font-size: 20px; line-height: 1; width: 20px; text-align: center; }
  .home-header .nav { grid-column: 1 / -1; grid-row: 2; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; padding-top: 10px; border-top: 1px solid var(--border); }
  .home-header[data-menu-ready]:not([data-menu-open="true"]) .nav { display: none; }
  .home-header .nav a { min-height: 46px; padding: 11px 14px; border-radius: 8px; font-size: 15px; }
  .home-header .nav a:hover { background: #ebeee3; }
  .home-header .nav .nav-walks:hover { background: var(--forest); }
}
@media (max-width: 360px) {
  .home-header { gap: 6px; }
  .home-header > .brand { font-size: 23px; gap: 4px; }
  .home-header > .brand img { width: 28px; }
  .home-header .nav-account { padding-inline: 9px; }
  .home-header[data-menu-ready] .home-menu-toggle { padding-inline: 8px; gap: 4px; }
}

#content > .next-walk:first-child { margin-top: 12px; }
#content > .next-walk:first-child .next-walk-card { border-color: var(--border); background: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 10px 16px; gap: 8px 14px; border-radius: 4px; }
#content > .next-walk:first-child .next-walk-info h2 { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
#content > .next-walk:first-child .next-walk-info h3 { font-size: 18px; line-height: 1.3; }
#content > .next-walk:first-child .next-walk-facts { margin-top: 6px; gap: 4px 12px; font-size: 13px; }
#content > .next-walk:first-child .button { min-height: 44px; padding: 10px 14px; font-size: 13px; }
#featured-walk-date { color: var(--forest); font-size: 14px; font-weight: 700; }
@media (max-width: 600px) {
  #content > .next-walk:first-child .next-walk-card { padding: 10px 12px; gap: 10px; }
  #content > .next-walk:first-child .next-walk-info h3 { font-size: 16px; }
  #content > .next-walk:first-child .button { max-width: 90px; padding: 8px; gap: 5px; font-size: 12px; white-space: normal; }
  #content > .next-walk:first-child .button .icon { flex-shrink: 0; }
  #content > .next-walk:first-child .next-walk-facts { gap: 4px; flex-direction: column; }
}

#content > .next-walk:first-child #next-walk-action { width: 64px; min-height: 44px; padding: 10px 16px; }
#next-walk-action > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#next-walk-action > .icon { width: 22px; height: 22px; }

.install-app { margin-top: 24px; }
.install-app-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.install-app-card h2 { font-size: 20px; margin-bottom: 6px; }
.install-app-card p { max-width: 64ch; font-size: 14px; color: var(--muted); }
#install-app-help { flex-basis: 100%; border-top: 1px solid var(--border); padding-top: 14px; }
#install-app-help p + p { margin-top: 12px; }
@media (max-width: 600px) { .install-app-card { padding: 16px; } .install-app-card .button { width: 100%; } }

.install-notice { position: fixed; z-index: 100; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; gap: 12px; align-items: center; width: min(390px, calc(100% - 32px)); padding: 16px; background: #fff; color: #213b2d; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 32px #142c2633; }
.install-notice[hidden] { display: none; }
.install-notice img { border-radius: 12px; }
.install-notice-content { display: grid; gap: 8px; }
.install-notice-content strong { font-size: 15px; }
.install-notice .button { min-height: 44px; padding: 10px 12px; font-size: 14px; }
.install-notice-close { align-self: start; border: 0; background: transparent; color: #213b2d; font-size: 26px; cursor: pointer; min-height: 44px; width: 32px; }
#install-notice-help { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) { .install-notice { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }

.nav-dog-walking[aria-current="page"] { color: var(--accent); text-decoration: underline 2px; text-underline-offset: 5px; }
.service-main { padding-block: 26px 64px; }
body:has(.service-main) .install-notice { position: static; margin: 16px auto; }
.service-hero { display: grid; gap: 14px; justify-items: start; padding: clamp(23px, 5vw, 60px); border-radius: 22px; background: var(--deep); color: var(--white); }
.service-hero h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.02; letter-spacing: -.06em; }
.service-hero p { max-width: 49ch; color: #f1f1e7; }
.service-hero .service-actions { margin-top: 8px; }
.service-section { margin-top: clamp(28px, 4.5vw, 60px); }
.service-section > h2 { margin-bottom: 16px; }
.service-form { display: grid; gap: 14px; }
.service-form button { justify-self: start; }
.service-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.service-actions .button { text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-link { width: fit-content; color: var(--forest); font-weight: 650; }
a.button-solid.service-link { color: white; }
#chci-vencit p + .service-link, #walker-order-link { margin-top: 10px; display: inline-flex; }
#walker-profile-status { margin-bottom: 10px; }
#service-search-status, #service-more, #service-orders-status { margin-top: 14px; }
#service-search-status { margin-bottom: 12px; }
.walker-card { display: grid; gap: 10px; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.walker-card h3 { font-size: 22px; }
.walker-card .button { justify-self: start; }
.walker-heading, .walker-photo-field { display: flex; gap: 12px; align-items: center; min-width: 0; }
.walker-photo-field .control { flex: 1; }
.walker-avatar { width: 64px; height: 64px; object-fit: cover; flex: none; border-radius: 12px; background: #ebeee3; }
.walker-prices { display: flex; flex-wrap: wrap; gap: 6px; color: var(--forest); font-size: .875rem; font-weight: 700; }
.walker-prices span, .service-state { padding: 4px 8px; border-radius: 6px; background: #edf0e6; }
.walker-rating { color: #805013; font-weight: 700; }
.service-options { min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; }
.service-options legend { padding-inline: 4px; font-size: 14px; font-weight: 700; }
.service-checks { display: flex; flex-wrap: wrap; gap: 5px 14px; }
.service-checks label { min-height: 38px; }
.service-dialog .dialog-heading { padding-right: 64px; }
.service-detail, #walker-reservation, #walker-detail-info { display: grid; gap: 12px; min-width: 0; overflow-wrap: anywhere; }
.service-detail h3 { margin-block: 2px 8px; font-size: 22px; }
.service-detail .check-control, .service-orders .check-control { align-items: start; }
.service-terms p { padding: 0 12px 13px; font-size: 14px; }
.service-quote { padding: 10px 12px; border-radius: 8px; background: #f7eddf; color: #69421c; font-weight: 700; }
.service-user-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.service-rules ol { display: grid; gap: 8px; margin-top: 0; padding-left: 23px; }
.service-orders { margin-bottom: 24px; }
.service-order, .service-review { padding-block: 10px; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.service-order:first-child, .service-review:first-child { margin-top: 10px; }
.service-order > summary { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; cursor: pointer; }
.service-order > summary::after { content: "⌄"; color: var(--forest); }
.service-order[open] > summary::after { content: "⌃"; }
.service-order-summary { display: grid; flex: 1 1 210px; }
.service-order-body, .service-order-controls, .service-review { display: grid; gap: 6px; }
.service-order-body { margin-top: 12px; }
.service-state { font-size: 12px; font-weight: 650; color: var(--forest); }
.service-state-requested, .service-state-awaiting_confirmation { color: #684019; background: #f7eddf; }
.service-state-cancelled, .service-state-declined, .service-state-did_not_happen, .service-state-expired { color: #782f21; background: #f8e8df; }
.service-review-form { margin-top: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .service-header > .nav { grid-column: 1 / -1; justify-content: space-between; column-gap: 8px; }
  .service-header > .nav-account { grid-row: 1; min-height: 44px; }
  .service-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 535px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-hero { border-radius: 16px; }
  .service-hero .button { padding-inline: 12px; font-size: 13px; }
}
@media (max-width: 400px) {
  .service-fields { grid-template-columns: minmax(0, 1fr); }
}

/* Public walk invitation */
.is-walk-invitation { width: min(680px, calc(100% - 26px)); }
.walk-invitation-heading { padding: 30px 70px 27px 28px; background: radial-gradient(ellipse at 100% 0, #466344 0, transparent 65%), var(--forest); color: #fffefa; }
.walk-invitation-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.walk-free { padding: 4px 9px; border-radius: 30px; color: #253b2d; background: #ffca8b; letter-spacing: .03em; }
.walk-invitation-heading h2 { margin: 0; outline: none; font-size: clamp(27px, 5vw, 39px); line-height: 1.12; overflow-wrap: anywhere; }
.walk-invitation-heading > p { display: flex; align-items: center; gap: 5px; margin-top: 12px; color: #e2eadb; font-size: 14px; }
.walk-invitation-body { gap: 23px; padding: 24px 28px; }
.walk-when { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; }
.walk-when-icon, .walk-company-icon { display: grid; place-items: center; width: 42px; height: 46px; border: 1px solid #dce3d5; border-radius: 11px; background: #f1f5ea; color: var(--forest); }
.walk-when-icon .icon { width: 23px; height: 23px; }
.walk-section-label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.walk-when strong { display: block; font-size: 15px; line-height: 1.4; }
.walk-when time { font-size: 27px; font-weight: 750; letter-spacing: -.04em; color: var(--forest); }
.walk-meeting { display: grid; gap: 7px; padding: 16px 18px; border: 1px solid #dce3d5; border-radius: 13px; background: #f8faf4; }
.walk-invitation-body h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.walk-meeting h3 { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.walk-meeting > p { margin: 0; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.walk-map-link { display: inline-flex; align-items: center; justify-self: start; gap: 7px; min-height: 35px; color: var(--forest); font-size: 13px; font-weight: 650; text-underline-offset: 4px; }
.walk-map-link .icon { transform: rotate(45deg); }
.walk-invitation-about p { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.walk-route-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.walk-route-facts > div { gap: 7px; padding: 13px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.walk-route-facts dt { font-size: 11px; }
.walk-route-facts dd { font-size: 14px; }
.walk-unspecified { color: var(--muted); font-weight: 450; font-size: 12px; }
.walk-surface { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin-top: -12px; color: var(--muted); font-size: 13px; }
.walk-company { display: flex; align-items: center; gap: 12px; }
.walk-company-icon { flex-shrink: 0; border: 0; border-radius: 50%; height: 42px; }
.walk-company strong { font-size: 14px; }
.walk-company p { margin-top: 3px; font-size: 12px; color: var(--muted); }
.walk-before-you-go { padding-left: 13px; border-left: 3px solid #e2b678; }
.walk-before-you-go h3 { font-size: 13px; }
.walk-before-you-go p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.walk-join-panel { position: sticky; bottom: 0; z-index: 2; padding: 15px 28px 18px; border-top: 1px solid #dce3d5; background: var(--white); box-shadow: 0 -8px 18px #1f332808; }
.walk-availability { display: flex; align-items: center; gap: 6px; margin-bottom: 11px; color: #35613c; font-size: 12px; font-weight: 650; }
.walk-unavailable { color: #884f24; }
.walk-join-panel #booking-status { margin-block: 5px 10px; font-size: 13px; }
.walk-join-actions { display: flex; gap: 10px; align-items: stretch; }
.walk-join-actions #booking-actions { flex: 1; min-width: 0; }
.walk-join-actions #booking-actions .button { flex: 1; width: 100%; }
.walk-join-actions .button { min-height: 48px; padding-inline: 13px; font-size: 13px; }
.walk-join-actions > #share-walk { flex: 0 1 auto; }
.walk-join-note { margin-top: 10px; color: var(--muted); font-size: 11px; }
.walk-share-area { padding: 0 28px 20px; }
.walk-share-area .share-walk-options { margin-top: 12px; }
.walk-edit-link { justify-self: start; color: var(--forest); font-size: 13px; font-weight: 650; text-underline-offset: 4px; }
.walk-invitation-fields { display: grid; gap: 17px; }
.walk-invitation-fields .control > small { color: var(--muted); font-size: 12px; font-weight: 450; }
.walk-invitation-fields .control span small { font-size: 11px; color: var(--muted); font-weight: 450; }
.invitation-edit { margin-block: 14px 8px; }
@media (max-width: 480px) {
  .walk-invitation-heading { padding: 26px 57px 23px 20px; }
  .walk-invitation-eyebrow { gap: 8px; font-size: 10px; }
  .walk-invitation-body { padding: 20px; gap: 21px; }
  .walk-when { grid-template-columns: 1fr auto; gap: 10px; }
  .walk-when-icon { display: none; }
  .walk-when strong { font-size: 13px; }
  .walk-when time { font-size: 25px; }
  .walk-route-facts { gap: 10px; }
  .walk-route-facts dt .icon { display: none; }
  .walk-route-facts dt { font-size: 10px; }
  .walk-route-facts dd { font-size: 12px; }
  .walk-unspecified { font-size: 11px; }
  .walk-join-panel { padding: 13px 16px 15px; }
  .walk-join-actions { gap: 7px; }
  .walk-join-actions .button { font-size: 12px; padding-inline: 9px; }
  .walk-join-actions > #share-walk { max-width: 38%; }
  .walk-share-area { padding: 0 20px 18px; }
}

.walk-route-pending { padding-block: 13px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.walk-route-pending h3 { font-size: 13px; }
.walk-route-pending p { margin-top: 5px; font-size: 12px; color: var(--muted); }

.is-walk-invitation.is-sharing-walk .walk-join-panel { position: static; }
