.vd {
    --vd-ink: #173e34;
    --vd-muted: #49655b;
    --vd-paper: #f9fbf5;
    --vd-border: #cbdad0;
    --vd-accent: #154e3f;
    --vd-map: #102f2b;
    color: var(--vd-ink);
    padding-top: clamp(24px, 5vw, 62px);
    padding-bottom: 58px;
}
.vd [hidden] { display: none !important; }
.vd-intro {
    background: radial-gradient(ellipse at 96% 100%, #d2e8d9, transparent 63%), #eff5eb;
    border: 1px solid #d6e3d7;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
    padding: clamp(24px, 5vw, 58px);
    margin-bottom: 22px;
}
.vd-kicker, .vd-eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .16em; }
.vd-kicker { display: flex; gap: 8px; align-items: center; }
.vd-kicker span { width: 8px; height: 8px; border-radius: 50%; background: #448e71; box-shadow: 0 0 0 4px #d6e8dc; }
.vd h1, .vd h2, .vd h3 { color: var(--vd-ink); margin: 0; }
.vd h1 {
    font-size: clamp(2.65rem, 7vw, 5.6rem);
    line-height: .98;
    letter-spacing: -.065em;
    margin: 14px 0 17px;
}
.vd h1 em { color: #216b57; font-weight: inherit; }
.vd-intro p { color: var(--vd-muted); max-width: 51ch; margin: 0; font-size: 1rem; }
.vd-position { display: grid; gap: 7px; justify-items: start; }
.vd-position small, .vd-disclosure { color: var(--vd-muted); }
.vd-button {
    min-height: 45px;
    padding: 10px 16px;
    border-radius: 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font: inherit;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    border: 1px solid var(--vd-border);
    background: #f0f7ef;
    color: var(--vd-ink);
    transition: background-color .16s, color .16s;
}
.vd-button:hover { background: #e2f1e6; }
.vd-button-main { color: #fff; background: var(--vd-accent); border-color: var(--vd-accent); }
.vd-button-main:hover { color: #fff; background: #206a55; }
.vd-button:disabled { opacity: .65; cursor: wait; }
.vd :focus-visible { outline: 3px solid #bb7c2f; outline-offset: 3px; }
.vd-explore, .vd-results { background: var(--vd-paper); border: 1px solid var(--vd-border); border-radius: 23px; padding: clamp(13px, 2.5vw, 25px); }
.vd-map-head, .vd-result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.vd-map-head h2, .vd-result-head h2 { line-height: 1.12; font-size: clamp(1.45rem, 3.4vw, 2.1rem); margin-top: 4px; }
.vd-eyebrow { color: #416a5c; }
.vd-canvas {
    background: radial-gradient(ellipse at 68% 13%, #1d4a3d, transparent 67%),
        linear-gradient(90deg, #ffffff08 1px, transparent 1px),
        linear-gradient(#ffffff08 1px, transparent 1px), var(--vd-map);
    background-size: auto, 36px 36px, 36px 36px, auto;
    border-radius: 17px;
    padding: 10px 11px 13px;
    color: #ddf3e7;
}
.vd-map { width: 100%; height: clamp(215px, 39vw, 480px); display: block; overflow: hidden; }
.vd-shape { stroke: #143e34; stroke-width: .85; vector-effect: non-scaling-stroke; }
.vd-shape[role="button"], .vd-dot[role="button"] { cursor: pointer; transition: fill .12s; }
.vd-shade-0 { fill: #88bfa5; }
.vd-shade-1 { fill: #a1ceb1; }
.vd-shade-2 { fill: #71ad95; }
.vd-shade-3 { fill: #9ac2a5; }
.vd-shade-4 { fill: #80b79f; }
.vd-shape[role="button"]:hover, .vd-shape:focus-visible { fill: #ffe0a1; stroke: #292f1e; }
.vd-dot { fill: #175640; stroke: #e2ffeb; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.vd-dot:hover, .vd-dot:focus-visible, .vd-dot-selected { fill: #f8c978; stroke: #232b19; stroke-width: 2; }
.vd-label { fill: #14392d; text-anchor: middle; pointer-events: none; font-weight: 800; paint-order: stroke; stroke: #e7f3df; stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.vd-map-hint { margin: 0; text-align: center; font-size: .84rem; }
.vd-geo-credit { color: var(--vd-muted); font-size: .75rem; margin: 8px 0 12px; }
.vd-geo-credit a, .vd-disclosure a { text-decoration: underline; text-underline-offset: .16em; }
.vd-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(138px, auto); gap: 12px; align-items: end; }
.vd-controls > label { min-width: 0; margin: 0; color: #496b5b; font-size: .8rem; font-weight: 700; }
.vd-controls strong { color: var(--vd-ink); font-size: .93rem; margin-left: 4px; }
.vd-controls select {
    width: 100%;
    height: 45px;
    margin: 3px 0 0;
    display: block;
    background: #fff;
    color: #183d34;
    border: 1px solid #b2c8b9;
    border-radius: 10px;
    font-size: .92rem;
    padding: 0 10px;
}
.vd-controls select:disabled { color: #56675d; background: #edf2eb; }
.vd-controls .vd-open { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .87rem; }
.vd-controls input[type="checkbox"] { margin: 0; width: 18px; height: 18px; accent-color: var(--vd-accent); }
.vd-results { margin-top: 16px; }
.vd-attribution { display: inline-flex; align-items: center; padding: 5px 10px; background: #fff; border-radius: 5px; color: #5e5e5e; flex-shrink: 0; }
.vd-message {
    padding: 10px 13px;
    border-radius: 9px;
    background: #e8f1e7;
    color: #345847;
    margin: 0 0 12px;
    font-size: .9rem;
}
.vd-list { display: grid; gap: 11px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vd-card { display: flex; flex-direction: column; min-width: 0; padding: 15px; background: #fff; border: 1px solid var(--vd-border); border-radius: 15px; overflow-wrap: anywhere; }
.vd-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.vd-card-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #1c5d49; background: #e4f3e8; font-size: 1.4rem; }
.vd-card-tag { color: #24533e; background: #eaf5ed; padding: 3px 8px; border-radius: 99px; font-size: .75rem; }
.vd-card-type { color: #526d5d; font-size: .72rem; margin: 0 0 4px; }
.vd-card h3 { font-size: 1.1rem; line-height: 1.25; }
.vd-card-address { color: var(--vd-muted); font-size: .86rem; margin: 8px 0 12px; flex: 1; }
.vd-card a { color: #1d624d; font-size: .85rem; font-weight: 750; text-decoration: underline; }
.vd-more { margin-top: 12px; }
.vd-disclosure { margin: 12px 0 0; font-size: .78rem; }
@media (max-width: 810px) {
    .vd-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vd-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vd-controls > button { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .vd-intro { grid-template-columns: 1fr; border-radius: 20px; }
    .vd-controls { grid-template-columns: 1fr; }
    .vd-list { grid-template-columns: 1fr; }
    .vd-map { height: clamp(170px, 50vw, 245px); }
    .vd-map-head h2, .vd-result-head h2 { font-size: 1.33rem; }
    .vd-button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .vd *, .vd *::before, .vd *::after { transition: none !important; }
}
.vd-map-legend { margin: 5px 0 0; text-align: center; font-size: .78rem; }
.vd-map-legend span { color: #f8c978; }
.vd-map-legend a { text-decoration: underline; text-underline-offset: .16em; }
.vd-clinic-pin { fill: #f8c978; stroke: #543917; stroke-width: 1.45; vector-effect: non-scaling-stroke; cursor: pointer; }
.vd-clinic-pin:hover, .vd-clinic-pin:focus-visible { fill: #fff1b8; stroke-width: 2.4; }
.vd-attribution { font-size: .76rem; text-decoration: underline; text-underline-offset: .16em; }
.vd-pin-preview { margin-top: 12px; max-width: 500px; }
.vd-pin-preview .vd-card { border-color: #b18a4d; }
.vd-card-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.vd-card .vd-call { padding: 7px 10px; border-radius: 8px; background: #154e3f; color: #fff; text-decoration: none; }
.vd-card .vd-call:hover { background: #206a55; }
.vd-user-location { pointer-events: none; }
.vd-location-center { fill: #1066e7; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.vd-location-halo { fill: #4ba4ff; stroke: #83bdff; stroke-width: 1; opacity: .65; vector-effect: non-scaling-stroke; animation: vd-position-pulse 1.5s ease-out infinite; }
.vd-map-legend .vd-location-key { color: inherit; }
.vd-location-key b { color: #80baff; }
@keyframes vd-position-pulse { 0%, 100% { opacity: .28; } 50% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .vd-location-halo { animation: none; } }
.vd-branch-marker { cursor: pointer; --vd-branch-color: #ff5b1f; }
.vd-branch-green { --vd-branch-color: #14503b; }
.vd-branch-halo { fill: var(--vd-branch-color); stroke: #fff; stroke-width: 1.5; opacity: .6; vector-effect: non-scaling-stroke; animation: vd-branch-pulse 1.7s ease-in-out infinite; }
.vd-branch-green .vd-branch-halo { animation-delay: -.7s; }
.vd-branch-face { fill: #fff; stroke: var(--vd-branch-color); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.vd-branch-stem { stroke: #fff; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.vd-branch-marker:hover .vd-branch-face, .vd-branch-marker:focus-visible .vd-branch-face { stroke-width: 4; }
.vd-map-legend .vd-melodim-key, .vd-map-legend .vd-emek-key { color: inherit; }
.vd-melodim-key b { color: #ff8759; }
.vd-emek-key b { color: #72c49d; }
@keyframes vd-branch-pulse { 0%, 100% { opacity: .38; } 50% { opacity: .92; } }
@media (prefers-reduced-motion: reduce) { .vd-branch-halo { animation: none; } }
