:root {
    --background: 42 20% 95%;
    --foreground: 235 20% 7%;
    --border: 38 13% 86%;
    --muted: 42 22% 91%;
    --accent: 15 88% 61%;
    --ink: #111119;
    --paper: #fbfaf6;
    --paper-soft: #f2eee6;
    --line: #e4ddd1;
    --muted-text: #777168;
    --orange: #ee7048;
    --green: #25a86f;
    --blue: #2d78ff;
}

* {
    letter-spacing: 0;
}

html {
    background: #f2f1ee;
}

body {
    color: var(--ink);
}

[hidden] {
    display: none !important;
}

.wk-page {
    background:
        radial-gradient(circle at 9% 0%, rgba(238, 112, 72, 0.08), transparent 28rem),
        radial-gradient(circle at 88% 4%, rgba(37, 168, 111, 0.08), transparent 30rem),
        #f2f1ee;
}

.leaflet-container {
    background: #eef0ea;
    font-family: inherit;
}

.site-header {
    background: rgba(251, 250, 246, 0.82);
    border-bottom: 1px solid rgba(229, 221, 209, 0.86);
    backdrop-filter: blur(18px);
}

.site-header-inner {
    align-items: center;
    display: flex;
    height: 3.5rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 1.5rem;
}

.brand-link {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    font-weight: 760;
    gap: 0.65rem;
    letter-spacing: -0.02em;
}

.brand-text {
    font-size: 0.98rem;
}

.site-nav {
    align-items: center;
    color: #6d675f;
    font-size: 0.875rem;
    font-weight: 650;
    gap: 0.1rem;
}

.nav-link,
.mobile-link {
    align-items: center;
    border-radius: 999px;
    color: inherit;
    display: flex;
    min-height: 2.3rem;
    padding: 0 0.9rem;
    transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
    background: #fff;
    color: var(--ink);
}

.mobile-link {
    width: 100%;
}

.mobile-nav-panel {
    border-top: 1px solid var(--line);
    background: rgba(251, 250, 246, 0.96);
    padding: 0.55rem 0.75rem;
}

.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-none::-webkit-scrollbar {
    display: none;
}

.admin-link {
    align-items: center;
    border-radius: 14px;
    color: #5f5a51;
    display: flex;
    gap: 0.6rem;
    padding: 0.7rem 0.8rem;
}

.admin-link:hover {
    background: #f2eee6;
    color: var(--ink);
}

.admin-link svg,
.button-primary svg,
.button-secondary svg,
.icon-button svg {
    height: 1rem;
    width: 1rem;
}

.input {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    height: 2.75rem;
    outline: none;
    padding: 0 0.9rem;
    transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
    width: 100%;
}

.input:focus {
    background: #fff;
    border-color: #cfc5b6;
    box-shadow: 0 0 0 4px rgb(238 112 72 / 0.12);
}

.button-primary,
.button-secondary,
.icon-button {
    align-items: center;
    border-radius: 14px;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 650;
    gap: 0.5rem;
    min-height: 2.75rem;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.button-primary {
    background: var(--ink);
    border: 1px solid var(--ink);
    color: #fff;
    padding: 0 1rem;
}

.button-primary:hover {
    background: #25222a;
    transform: translateY(-1px);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0 0.95rem;
}

.button-secondary:hover {
    background: #fff;
    border-color: #d4cabd;
}

.icon-button {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    color: var(--ink);
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.icon-button:hover {
    background: #fff;
    box-shadow: 0 14px 30px rgb(17 17 25 / 0.08);
    transform: translateY(-1px);
}

.badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #57524a;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 650;
    line-height: 1;
    min-height: 1.55rem;
    padding: 0 0.62rem;
    white-space: nowrap;
}

.badge-soft {
    background: #f8f4ec;
    border-color: #eadfce;
    color: #6b5d4d;
}

.badge-green {
    background: #ecfbf3;
    border-color: #b9ecd5;
    color: #12845a;
}

.badge-amber {
    background: #fff3ec;
    border-color: #f6c7b5;
    color: #c34f2d;
}

.result-card {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(229, 221, 209, 0.9);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.9rem;
    transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.result-card:hover,
.result-card.is-active {
    background: #fff;
    border-color: #d3c8bb;
    box-shadow: 0 16px 34px rgb(17 17 25 / 0.08);
    transform: translateY(-1px);
}

.panel {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgb(17 17 25 / 0.06);
    padding: 1.15rem;
}

.panel-title {
    font-size: 0.95rem;
    font-weight: 750;
}

.metric {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgb(17 17 25 / 0.05);
    padding: 1rem;
}

.metric span {
    color: var(--muted-text);
    display: block;
    font-size: 0.8rem;
}

.metric strong {
    display: block;
    font-size: 1.75rem;
    line-height: 1.1;
    margin-top: 0.45rem;
}

.custom-marker {
    background: var(--ink);
    border: 3px solid #fff;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgb(17 17 25 / 0.28);
    height: 22px;
    position: relative;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
    width: 22px;
}

.custom-marker::after {
    background: #fff;
    border-radius: 999px;
    content: "";
    height: 5px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
}

.custom-marker.is-visitable {
    background: var(--orange);
}

.custom-marker.is-active {
    background: var(--blue);
    box-shadow: 0 0 0 7px rgb(45 120 255 / 0.14), 0 18px 36px rgb(17 17 25 / 0.32);
    transform: scale(1.12);
}

.brand-mark {
    background: var(--ink);
    border-radius: 10px;
    color: #fff;
    height: 2rem;
    font-weight: 760;
    font-size: 0.82rem;
    letter-spacing: -0.02em;
    width: 2rem;
}

@media (min-width: 768px) {
    .wk-home-page .site-header {
        background: rgba(251, 250, 246, 0.74);
        border: 1px solid rgba(224, 217, 205, 0.86);
        border-radius: 999px;
        box-shadow: 0 18px 50px rgb(17 17 25 / 0.1);
        left: 50%;
        overflow: hidden;
        position: fixed;
        top: 1.05rem;
        transform: translateX(-50%);
        width: min(45rem, calc(100vw - 3rem));
        z-index: 700;
    }

    .wk-home-page .site-header-inner {
        height: 3.25rem;
        max-width: none;
        padding: 0 0.42rem 0 0.55rem;
    }

    .wk-home-page .brand-link {
        padding-left: 0.05rem;
    }

    .wk-home-page .brand-mark {
        box-shadow: 0 10px 22px rgb(17 17 25 / 0.16);
        height: 2.05rem;
        width: 2.05rem;
    }

    .wk-home-page .site-nav {
        background: rgba(255, 255, 255, 0.52);
        border: 1px solid rgba(229, 221, 209, 0.8);
        border-radius: 999px;
        display: flex;
        padding: 0.16rem;
    }

    .wk-home-page .nav-link {
        min-height: 2.28rem;
        padding: 0 0.95rem;
    }

    .wk-home-page .nav-link.is-active {
        background: var(--ink);
        box-shadow: 0 10px 24px rgb(17 17 25 / 0.16);
        color: #fff;
    }

    .wk-home-page .nav-link:not(.is-active):hover {
        background: rgba(255, 255, 255, 0.86);
    }
}

.wk-shell {
    padding: 1rem;
}

.wk-map-stage {
    background: #fff;
    border: 1px solid rgba(210, 207, 199, 0.86);
    box-shadow: 0 28px 90px rgb(17 17 25 / 0.08);
    margin: 0 auto;
    max-width: 1760px;
    min-height: calc(100vh - 2rem);
    overflow: hidden;
    position: relative;
}

.wk-map-stage::after {
    background:
        linear-gradient(90deg, rgba(251, 250, 246, 0.56), rgba(251, 250, 246, 0.22) 24%, transparent 52%, rgba(251, 250, 246, 0.42) 100%),
        linear-gradient(180deg, rgba(251, 250, 246, 0.2), transparent 18%, transparent 78%, rgba(251, 250, 246, 0.16));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 360;
}

.wk-map {
    filter: saturate(0.72) contrast(0.92) brightness(1.08);
    height: calc(100vh - 5.95rem);
    min-height: 40rem;
    position: relative;
    z-index: 1;
}

.wk-map-search-actions {
    display: flex;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 5.4rem;
    transform: translateX(-50%);
    z-index: 540;
}

.wk-area-search-button {
    align-items: center;
    background: var(--ink);
    border: 1px solid rgb(255 255 255 / 0.22);
    border-radius: 999px;
    box-shadow: 0 14px 36px rgb(17 17 25 / 0.22);
    color: #fff;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 720;
    gap: 0.5rem;
    min-height: 2.65rem;
    padding: 0 1rem;
    white-space: nowrap;
}

.wk-area-search-button:hover {
    background: #292730;
    transform: translateY(-1px);
}

.wk-area-search-button svg {
    height: 1rem;
    width: 1rem;
}

.wk-map-title {
    left: clamp(2.8rem, 7vw, 8rem);
    position: absolute;
    top: clamp(6.2rem, 12vh, 8.8rem);
    z-index: 520;
}

.wk-eyebrow {
    color: var(--muted-text);
    font-size: 0.78rem;
    font-weight: 720;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wk-map-title h1 {
    color: var(--ink);
    font-size: clamp(2.55rem, 4vw, 4.55rem);
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 0.94;
    max-width: 30rem;
}

.wk-map-title p {
    color: #5f5a51;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-top: 1rem;
    max-width: 27rem;
}

.wk-map-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.wk-floating-panel {
    background: rgba(251, 250, 246, 0.96);
    border: 1px solid rgba(215, 209, 197, 0.92);
    border-radius: 10px;
    bottom: 5.15rem;
    box-shadow: 0 26px 70px rgb(17 17 25 / 0.13);
    overflow: hidden;
    position: absolute;
    right: clamp(1.15rem, 2.6vw, 2.6rem);
    top: clamp(5.3rem, 10vh, 7.2rem);
    width: min(27.4rem, calc(100% - 2.3rem));
    z-index: 530;
}

.wk-panel-scroll {
    height: 100%;
    overflow-y: auto;
    padding: 1rem;
}

.wk-focus-card {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.95rem;
}

.wk-focus-title {
    color: var(--ink);
    font-size: 1.55rem;
    font-weight: 780;
    letter-spacing: -0.04em;
    line-height: 1.03;
}

.wk-focus-subtitle {
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.48;
    margin-top: 0.5rem;
}

.wk-detail-box {
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(229, 221, 209, 0.86);
    border-radius: 8px;
    margin-top: 0.9rem;
    padding: 0.8rem;
}

.wk-search-field .input {
    background: #fff;
}

.wk-clear-query {
    align-items: center;
    border-radius: 999px;
    color: var(--muted-text);
    display: flex;
    height: 1.8rem;
    justify-content: center;
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8rem;
}

.wk-clear-query:hover {
    background: var(--paper-soft);
    color: var(--ink);
}

.wk-clear-query svg {
    height: 0.9rem;
    width: 0.9rem;
}

.wk-filter-group {
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 0;
    padding: 0.7rem;
}

.wk-filter-group legend {
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 760;
    padding: 0 0.3rem;
}

.wk-type-options {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 9.4rem;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.wk-type-option {
    align-items: center;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid transparent;
    border-radius: 9px;
    color: #514c45;
    cursor: pointer;
    display: grid;
    font-size: 0.74rem;
    font-weight: 650;
    gap: 0.4rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    line-height: 1.2;
    min-height: 2rem;
    padding: 0.35rem 0.45rem;
}

.wk-type-option:hover,
.wk-type-option:has(input:checked) {
    background: #fff;
    border-color: #d8cec0;
    color: var(--ink);
}

.wk-type-option input,
.wk-visit-filter input {
    accent-color: var(--ink);
    height: 0.95rem;
    width: 0.95rem;
}

.wk-type-option span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wk-type-option small {
    color: #999187;
    font-size: 0.66rem;
}

.wk-filter-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.wk-visit-filter {
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 680;
}

.wk-visit-filter,
.wk-visit-filter span {
    align-items: center;
    display: inline-flex;
    gap: 0.42rem;
}

.wk-visit-filter svg {
    color: var(--orange);
    height: 0.9rem;
    width: 0.9rem;
}

.wk-reset-filters,
.wk-area-filter button {
    color: #6d675f;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #cfc5b6;
    text-underline-offset: 0.2rem;
}

.wk-reset-filters:hover,
.wk-area-filter button:hover {
    color: var(--ink);
}

.wk-area-filter {
    align-items: center;
    background: #edf8f2;
    border: 1px solid #cce9d9;
    border-radius: 10px;
    color: #17734f;
    display: flex;
    font-size: 0.72rem;
    font-weight: 680;
    justify-content: space-between;
    padding: 0.55rem 0.65rem;
}

.wk-area-filter span {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
}

.wk-area-filter svg {
    height: 0.85rem;
    width: 0.85rem;
}

.wk-submit-row button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.wk-label {
    color: var(--muted-text);
    display: block;
    font-size: 0.75rem;
    font-weight: 650;
}

.wk-value {
    color: var(--ink);
    display: block;
    font-size: 0.92rem;
    font-weight: 720;
    line-height: 1.45;
    margin-top: 0.2rem;
}

.wk-timeline {
    margin-top: 1rem;
}

.wk-timeline-title {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-size: 0.95rem;
    font-weight: 760;
    gap: 0.5rem;
}

.wk-results-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.wk-result-count {
    background: var(--paper-soft);
    border-radius: 999px;
    color: #625d55;
    font-size: 0.7rem;
    font-weight: 720;
    padding: 0.3rem 0.55rem;
}

.wk-search-status {
    color: var(--muted-text);
    font-size: 0.72rem;
    line-height: 1.35;
    min-height: 0.15rem;
    padding-top: 0.35rem;
}

.wk-search-status.is-error {
    color: #b43d26;
}

[data-results][aria-busy="true"] .wk-place-list {
    opacity: 0.5;
    transition: opacity 120ms ease;
}

.wk-empty-state {
    align-items: center;
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--muted-text);
    display: flex;
    flex-direction: column;
    margin-top: 0.7rem;
    padding: 1.4rem 1rem;
    text-align: center;
}

.wk-empty-state svg {
    height: 1.35rem;
    margin-bottom: 0.5rem;
    width: 1.35rem;
}

.wk-empty-state strong {
    color: var(--ink);
    font-size: 0.82rem;
}

.wk-empty-state span {
    font-size: 0.72rem;
    margin-top: 0.2rem;
}

.wk-close-place-sheet {
    align-items: center;
    background: var(--paper-soft);
    border-radius: 999px;
    display: flex;
    height: 2rem;
    justify-content: center;
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    width: 2rem;
}

.wk-close-place-sheet svg {
    height: 0.95rem;
    width: 0.95rem;
}

.wk-place-list {
    margin-top: 0.9rem;
    position: relative;
}

.wk-place-list::before {
    background: var(--line);
    bottom: 1.25rem;
    content: "";
    left: 0.72rem;
    position: absolute;
    top: 1.25rem;
    width: 1px;
}

.wk-place-item {
    padding-left: 2rem;
    position: relative;
}

.wk-place-dot {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--green);
    display: inline-flex;
    height: 1.45rem;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 1.05rem;
    width: 1.45rem;
    z-index: 1;
}

.wk-stage-footer {
    align-items: center;
    background: #fff;
    border-top: 1px solid rgba(229, 221, 209, 0.9);
    bottom: 0;
    display: flex;
    height: 4.15rem;
    inset-inline: 0;
    justify-content: space-between;
    padding: 0 1.85rem;
    position: absolute;
    z-index: 520;
}

.wk-wordmark {
    color: var(--ink);
    font-size: 1.4rem;
    font-weight: 860;
    letter-spacing: -0.05em;
}

.wk-powered {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 720;
}

.wk-soft-note {
    color: var(--muted-text);
    font-size: 0.78rem;
}

.wk-detail-shell,
.wk-form-shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 2rem 1.25rem 4rem;
}

.wk-detail-hero,
.wk-form-hero {
    background: var(--ink);
    border-radius: 28px;
    color: #fff;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 3rem);
    position: relative;
}

.wk-detail-hero::after,
.wk-form-hero::after {
    background: radial-gradient(circle at 85% 20%, rgba(238, 112, 72, 0.25), transparent 17rem);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.wk-detail-hero > *,
.wk-form-hero > * {
    position: relative;
    z-index: 1;
}

.wk-detail-title {
    font-size: clamp(2.4rem, 6vw, 5.6rem);
    font-weight: 760;
    letter-spacing: -0.06em;
    line-height: 0.96;
    max-width: 56rem;
}

.wk-highlight {
    color: var(--orange);
}

.wk-detail-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1fr) 23rem;
    margin-top: 1.2rem;
}

.wk-detail-map {
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgb(17 17 25 / 0.06);
    overflow: hidden;
}

.wk-admin-shell {
    background: #f2f1ee;
}

.wk-admin-sidebar {
    background: #fbfaf6;
    border-right: 1px solid var(--line);
}

.wk-admin-topbar {
    background: rgba(251, 250, 246, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

@media (max-width: 767px) {
    .wk-home-page .site-header {
        background: var(--ink);
        border-bottom-color: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .wk-home-page .site-header .brand-mark {
        background: #fff;
        color: var(--ink);
    }

    .wk-home-page .site-header .icon-button {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.14);
        color: #fff;
    }

    .wk-home-page [data-mobile-nav-panel] {
        background: var(--ink);
        border-top-color: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .wk-shell {
        padding: 0;
    }

    .wk-map-stage {
        background: var(--ink);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
        overflow: visible;
    }

    .wk-map-stage::after {
        display: none;
    }

    .wk-map {
        border-radius: 28px 28px 0 0;
        height: 19rem;
        margin: 0 0.9rem;
        min-height: 19rem;
        overflow: hidden;
    }

    .wk-map-search-actions {
        height: 0;
        left: auto;
        position: relative;
        top: auto;
        transform: translateY(-7.6rem);
        z-index: 5;
    }

    .wk-area-search-button {
        background: rgba(17, 17, 25, 0.92);
        min-height: 2.45rem;
    }

    .wk-map-title {
        color: #fff;
        left: auto;
        padding: 2.2rem 1.1rem 1.3rem;
        position: relative;
        top: auto;
        z-index: 2;
    }

    .wk-map-title h1 {
        color: #fff;
        font-size: 2.35rem;
        max-width: 21rem;
    }

    .wk-map-title p,
    .wk-map-title .wk-eyebrow {
        color: rgba(255, 255, 255, 0.7);
    }

    .wk-floating-panel {
        background: var(--paper);
        border: 0;
        border-radius: 30px 30px 0 0;
        box-shadow: 0 -18px 60px rgb(0 0 0 / 0.14);
        max-height: none;
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        z-index: 3;
    }

    .wk-panel-scroll {
        max-height: none;
        overflow: visible;
        padding: 1.1rem;
    }

    .wk-focus-title {
        font-size: 1.75rem;
    }

    .wk-type-options {
        max-height: 11rem;
    }

    .wk-stage-footer {
        display: none;
    }

    .wk-detail-grid {
        grid-template-columns: 1fr;
    }

    .wk-detail-hero,
    .wk-form-hero {
        border-radius: 0 0 30px 30px;
        margin: -2rem -1.25rem 0;
    }

    [data-place-sheet].is-open {
        display: block;
    }
}
