.studio-map-section {
    margin: 24px 0;
    padding: 16px 20px;
    border: 1px solid #d9d0e8;
    border-radius: 18px;
    background: #fcfaf7;
}
.studio-map-heading,
.studio-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.studio-map-heading h2 {
    margin: 8px 0 0;
    font: 400 clamp(26px, 2.5vw, 34px)/1.1 var(--serif);
    letter-spacing: -0.03em;
}
.studio-map-section > p {
    line-height: 1.5;
    margin-bottom: 16px;
}
.studio-map-toolbar {
    margin-top: 12px;
}
.studio-map-canvas {
    height: 240px;
    width: 100%;
    border-radius: 10px;
    background: #e7e4dd;
    isolation: isolate;
    z-index: 0;
    font-family: var(--sans);
}
.studio-map-canvas[hidden],
.studio-map-section [hidden] {
    display: none !important;
}
.studio-map-marker {
    background: var(--violet);
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform-origin: center;
    box-shadow: 0 2px 8px #211b3a55;
    display: grid;
    place-items: center;
    color: #fff;
    font: 700 13px var(--sans);
}
.studio-map-marker.is-route-selected {
    box-shadow:
        0 0 0 4px var(--pink),
        0 3px 9px #211b3a55;
}
.studio-map-marker.is-route-selected::after {
    content: attr(data-route-step);
    position: absolute;
    top: -13px;
    right: -13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pink);
    border: 2px solid #fff;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
}
.studio-route-panel {
    margin: 22px 0;
    padding: 24px;
    border: 1px solid #d9cce8;
    border-radius: 12px;
    background: #f4edf8;
    line-height: 1.65;
}
.studio-route-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.studio-route-heading h3 {
    margin: 0;
    font: 400 34px/1.2 var(--serif);
}
.studio-route-heading button {
    background: transparent;
    padding: 6px 0;
    font-size: 13px;
    white-space: normal;
}
.studio-route-panel button:disabled,
.studio-route-add:disabled,
[data-route-add]:disabled {
    cursor: default;
    opacity: 0.45;
}
.studio-route-empty {
    padding: 16px 0;
    color: #5e526b;
}
.studio-route-stops {
    list-style: none;
    padding: 0;
    margin: 18px 0;
}
.studio-route-stop {
    padding: 16px;
    margin: 12px 0;
    background: #fffdf9;
    border: 1px solid #ded3e6;
    border-radius: 9px;
    overflow-wrap: anywhere;
}
.studio-route-stop > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.studio-route-number {
    background: var(--pink);
    color: #fff;
    min-width: 27px;
    height: 27px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 600;
}
.studio-route-stop p {
    margin: 8px 0;
    font-size: 14px;
}
.studio-route-approximate {
    color: #875315;
    font-weight: 600;
}
.studio-route-stop-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.studio-route-stop-actions button {
    padding: 6px 12px;
    min-width: 44px;
    min-height: 44px;
}
.studio-route-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    margin: 18px 0;
}
.studio-route-options select {
    font: inherit;
    background: #fffdf9;
    border: 1px solid #bfb0cf;
    padding: 10px 14px;
    border-radius: 6px;
    max-width: 100%;
}
.studio-route-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.studio-route-links .button {
    white-space: normal;
    line-height: 1.5;
}
.studio-route-storage {
    color: #62576d;
    font-size: 13px;
}
.studio-route-sharing {
    margin: 16px 0;
}
.studio-route-sharing > button {
    min-height: 44px;
    white-space: normal;
}
.studio-route-share-box {
    margin-top: 16px;
}
.studio-route-share-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}
.studio-route-share-box input {
    width: 100%;
    min-width: 0;
    padding: 12px;
    min-height: 44px;
    border: 1px solid #bfb0cf;
    border-radius: 6px;
    background: #fffdf9;
    font: 14px/1.5 var(--sans);
}
.studio-route-share-box p {
    margin-top: 8px;
    font-size: 13px;
    color: #62576d;
}
.studio-route-add {
    margin-bottom: 14px;
    white-space: normal;
}
.studio-route-add[aria-pressed='true'],
[data-route-add][aria-pressed='true'] {
    background: var(--violet);
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
}
.studio-map-marker:focus-visible {
    outline: 4px solid var(--pink);
    outline-offset: 4px;
}
.studio-map-marker-approximate {
    background: #875315;
    border-style: dashed;
}
.studio-map-notice.studio-map-approximate-note,
.studio-map-popup .studio-map-precision {
    background: #fbefda;
    color: #603c12;
    padding: 12px 16px;
    border-left: 3px solid #875315;
}
.studio-map-popup {
    min-width: 190px;
    overflow-wrap: anywhere;
    line-height: 1.5;
}
.studio-map-popup h3 {
    font: 600 16px/1.5 var(--sans);
    margin: 0 0 14px;
}
.studio-map-popup h4 {
    font: 600 14px/1.5 var(--sans);
    margin: 12px 0 6px;
}
.studio-map-popup section + section {
    border-top: 1px solid #ded7e8;
}
.studio-map-popup ul {
    padding: 0;
    margin: 0 0 6px;
    list-style: none;
}
.studio-map-popup li {
    margin: 10px 0;
}
.studio-map-popup li a {
    font-weight: 600;
    text-decoration: underline;
}
.studio-map-popup li p {
    margin: 4px 0;
    font-size: 12px;
}
.studio-map-popup .text-link {
    color: var(--violet);
    white-space: normal;
    font-size: 13px;
}
.studio-map-close {
    display: block;
    margin-top: 16px;
    background: transparent;
    padding: 6px 0;
}
.studio-map-notice,
.studio-map-status {
    background: #eee8f5;
    padding: 8px 12px;
    border-radius: 8px;
}
.studio-map-places {
    margin: 20px 0;
    line-height: 1.5;
}
.studio-map-places summary {
    color: var(--violet);
    cursor: pointer;
    padding: 10px 0;
}
.studio-map-places li {
    padding: 16px 6px;
    border-bottom: 1px solid #ded7e8;
}
.studio-map-places li > a {
    text-decoration: underline;
}
.studio-map-place-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 12px;
    color: var(--violet);
}
.studio-map-place-actions button {
    background: transparent;
    padding: 0;
}
.artist-directory .studio-directory-grid {
    align-items: stretch;
    gap: 26px;
}
.artist-directory .studio-directory-card {
    display: grid;
    grid-template-rows: 140px 56px minmax(0, 1fr);
    height: auto;
    padding: 0;
    border: 1px solid #d8d0c6;
    border-radius: 16px;
    background: #fffdf9;
    overflow: hidden;
    min-width: 0;
}
.studio-card-heading {
    position: relative;
    background: #eee8f3;
    padding: 16px 20px;
    border-bottom: 1px solid #dfd6e7;
    overflow-wrap: anywhere;
    overflow: auto;
}
.studio-directory-grid .studio-card-heading h2 {
    scroll-margin-top: 72px;
    font: 400 clamp(28px, 2.4vw, 34px)/1.12 var(--serif);
    margin: 6px 0 8px;
    letter-spacing: -0.025em;
    padding-right: 40px;
    max-height: 76px;
    overflow: hidden;
}
.studio-card-location {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 6px;
}
.studio-card-heading .text-link {
    white-space: normal;
}
.studio-card-heading .eyebrow {
    margin-bottom: 4px;
}
.artist-directory .studio-card-heading .art-credit {
    margin: 4px 0 0;
    font-size: 10px;
}
.studio-card-artists {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    min-height: 0;
}
.studio-resident {
    display: grid;
    grid-template-rows: 194px 62px 56px minmax(50px, 1fr);
    gap: 6px;
    padding: 16px 20px;
    min-width: 0;
    min-height: 0;
    scroll-snap-align: start;
    overflow-wrap: anywhere;
}
.studio-resident-media {
    position: relative;
    min-width: 0;
}
.studio-resident-media .card-action {
    top: 10px;
    right: 10px;
}
.studio-resident-media > a:not(.card-action) {
    display: block;
    height: 100%;
}
.studio-resident figure {
    margin: 0 0 20px;
}
.artist-directory .studio-resident .directory-image,
.artist-directory .studio-resident .directory-placeholder {
    width: 100%;
    height: 194px;
    aspect-ratio: auto;
    object-fit: contain;
    background: #e8e4dc;
}
.studio-resident h3 {
    font: 400 30px/1.15 var(--serif);
    margin: 0;
    align-self: center;
    max-height: 62px;
    overflow: hidden;
}
.studio-resident .text-link {
    white-space: normal;
}
.studio-resident .directory-techniques {
    margin: 0;
    overflow: visible;
    align-content: start;
}
.studio-resident .card-credits {
    min-height: 0;
}
.studio-resident .card-credits .art-credit {
    margin: 0;
    font-size: 11px;
    line-height: 1.3;
}
.studio-resident .card-credits .credit-disclosure summary {
    min-height: 36px;
    padding-block: 6px;
}
.studio-resident-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 16px;
    border-bottom: 1px solid #e8e0d7;
    min-width: 0;
}
.studio-resident-controls p {
    font-size: 13px;
    color: #62596d;
}
@media (max-width: 760px) {
    .studio-route-panel {
        padding: 18px 12px;
    }
    .studio-map-section {
        padding: 18px 14px;
        margin-inline: -4px;
    }
    .studio-map-canvas {
        height: 220px;
    }
    .studio-map-section .text-link {
        white-space: normal;
    }
    .studio-card-heading,
    .studio-resident {
        padding: 16px 20px;
    }
}
.studio-resident-tabs {
    display: flex;
    gap: 6px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    padding: 2px 0;
}
.studio-resident-tabs button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid #d5c9e7;
    border-radius: 20px;
    background: #fffdf9;
    color: #514361;
    font: 500 12px/1.2 var(--sans);
    text-align: left;
    cursor: pointer;
}
.studio-resident-tabs button[aria-pressed='true'] {
    background: var(--violet);
    border-color: var(--violet);
    color: #fff;
}
.studio-resident-number {
    flex-shrink: 0;
    font-size: 10px;
    opacity: 0.75;
}
.studio-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.studio-map-actions .pagination-button {
    min-height: 44px;
    font-size: 13px;
    padding: 8px 12px;
}
.studio-map-section > p {
    font-size: 13px;
    margin-bottom: 10px;
}
.studio-map-section .eyebrow {
    font-size: 11px;
}
.studio-map-section.is-expanded .studio-map-canvas {
    height: 460px;
}
@media (max-width: 760px) {
    .studio-map-section.is-expanded .studio-map-canvas {
        height: 400px;
    }
}
.studio-resident-navigation {
    display: none;
}
.studio-resident-choice-name {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
@media (max-width: 760px) {
    .artist-directory .studio-directory-card:has(.has-resident-choices) {
        grid-template-rows: 140px 112px minmax(0, 1fr);
    }
    .studio-resident-controls.has-resident-choices {
        display: grid;
        grid-template-rows: minmax(0, 1fr) 44px;
        gap: 4px;
        padding: 6px 12px;
    }
    .studio-resident-tabs {
        gap: 0;
        padding: 0;
        scroll-snap-type: x mandatory;
        align-items: stretch;
    }
    .studio-resident-tabs button {
        flex: 0 0 100%;
        width: 100%;
        justify-content: center;
        text-align: center;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        border-radius: 14px;
        box-sizing: border-box;
    }
    .studio-resident-navigation:not([hidden]) {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
    }
    .studio-resident-navigation > button {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border: 1px solid #c8b9df;
        border-radius: 50%;
        background: #fffdf9;
        color: var(--violet);
        font-size: 20px;
        padding: 0;
        cursor: pointer;
    }
    .studio-resident-navigation > button:disabled {
        opacity: 0.35;
        cursor: default;
    }
    .studio-resident-navigation-label {
        display: grid;
        gap: 2px;
        text-align: center;
        color: #62596d;
        font: 12px/1.2 var(--sans);
    }
    .studio-resident-navigation-label output {
        font-weight: 600;
        color: var(--violet);
    }
    .has-resident-choices + .studio-card-artists .studio-resident {
        grid-template-rows: 150px 62px 44px minmax(50px, 1fr);
    }
    .artist-directory .has-resident-choices + .studio-card-artists .directory-image,
    .artist-directory .has-resident-choices + .studio-card-artists .directory-placeholder {
        height: 150px;
    }
    .has-resident-choices + .studio-card-artists .studio-resident h3 {
        font-size: 26px;
        max-height: 62px;
    }
    .has-resident-choices + .studio-card-artists .card-techniques {
        min-height: 44px;
    }
}
