:root {
    --background: #fffaf4;
    --text: #101a3a;
    --muted: #858297;

    --coral: #ff6264;

    --peach: #ffd9c7;
    --yellow: #ffe9a8;
    --mint: #cef3df;
    --lavender: #e4dcfa;
    --blue: #d9edfa;
    --orange: #ffd39b;

    --radius-large: 30px;
    --radius-medium: 22px;

    --shadow:
        0 12px 35px rgba(
            40,
            32,
            24,
            0.08
        );
}


* {
    box-sizing: border-box;
}


body {
    margin: 0;

    min-height: 100vh;

    background:
        var(--background);

    color:
        var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


.site-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        32px
        6vw;
}


.home-header {
    justify-content: flex-start;
    padding-top: 26px;
    padding-bottom: 26px;
}


.brand,
.logo {
    color:
        var(--coral);

    font-size:
        28px;

    font-weight:
        750;

    letter-spacing:
        -1px;

    text-decoration:
        none;
}


.logo {
    cursor: pointer;
    transition: opacity 150ms ease, transform 150ms ease;
}


.logo:hover {
    opacity: 0.78;
    transform: translateY(-1px);
}


.logo:focus-visible {
    outline: 3px solid rgba(255, 98, 100, 0.2);
    outline-offset: 5px;
    border-radius: 4px;
}


.location {
    padding: 9px 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 15px;
}


.location-dialog {
    width: min(560px, calc(100% - 28px));
    max-height: min(760px, calc(100vh - 40px));
    margin: auto;
    padding: 30px;
    border: 1px solid rgba(16, 26, 58, 0.08);
    border-radius: 28px;
    background: var(--background);
    color: var(--text);
    box-shadow: 0 30px 90px rgba(16, 26, 58, 0.22);
}


.location-dialog::backdrop {
    background: rgba(16, 26, 58, 0.32);
    backdrop-filter: blur(4px);
}


.location-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}


.location-dialog h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    letter-spacing: -1px;
}


.dialog-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: var(--text);
    font-size: 26px;
    cursor: pointer;
}


.location-dialog-copy {
    margin: 14px 0 22px;
    color: var(--muted);
    line-height: 1.5;
}


.selected-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
    padding: 12px 15px;
    border: 1px solid rgba(16, 26, 58, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
}


.selected-location span {
    color: var(--muted);
    font-size: 13px;
}


.selected-location strong {
    font-size: 14px;
}


.current-location-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 0;
    border-radius: 18px;
    background: var(--mint);
    color: var(--text);
    text-align: left;
    cursor: pointer;
}


.current-location-button:disabled {
    cursor: wait;
    opacity: 0.7;
}


.current-location-button > span:first-child {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    height: 42px;
    border-radius: 50%;
    background: white;
    color: var(--coral);
    font-size: 24px;
}


.current-location-button strong,
.current-location-button small {
    display: block;
}


.current-location-button small {
    margin-top: 3px;
    color: #617369;
}


.location-search {
    margin-top: 24px;
}


.location-search label {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}


.location-search > div {
    display: flex;
    gap: 8px;
}


.location-search input {
    min-width: 0;
    flex: 1;
    padding: 13px 15px;
    border: 1px solid rgba(16, 26, 58, 0.12);
    border-radius: 14px;
    background: white;
    color: var(--text);
    font-size: 16px;
    outline: none;
}


.location-search input:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255, 98, 100, 0.1);
}


.location-search button {
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: var(--coral);
    color: white;
    font-weight: 650;
    cursor: pointer;
}


.location-results {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    overflow-y: auto;
}


.location-results-heading {
    margin: 4px 2px 2px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}


.location-result {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(16, 26, 58, 0.08);
    border-radius: 14px;
    background: white;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}


.location-result:hover {
    border-color: var(--coral);
    background: rgba(255, 98, 100, 0.035);
}


.location-result:focus-visible {
    outline: 3px solid rgba(255, 98, 100, 0.18);
    outline-offset: 2px;
}


.location-result strong,
.location-result small {
    display: block;
}


.location-result small,
.location-results-message {
    margin-top: 3px;
    color: var(--muted);
}


.location-result-type {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(16, 26, 58, 0.05);
    color: var(--muted);
    font-size: 11px;
    text-transform: capitalize;
}


.location-result-action {
    display: flex;
    align-items: center;
    gap: 10px;
}


.location-result-choice {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}


.location-result-choice::after {
    content: "→";
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 98, 100, 0.1);
}


main {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin:
        0 auto;
}


.hero {
    text-align: center;

    padding:
        0
        0
        56px;
}


.time-illustration {
    font-size:
        58px;

    margin-bottom:
        5px;
}


h1 {
    margin:
        0 auto
        30px;

    max-width:
        900px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            54px,
            8vw,
            102px
        );

    line-height:
        0.96;

    letter-spacing:
        -4px;

    color:
        var(--text);
}


h1 .vibes-word {
    color:
        var(--coral);
}


.where-control {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: 0.05em;
    margin: 0 0.04em 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    cursor: pointer;
}


.where-word {
    position: relative;
}


.where-word::after {
    content: "";
    position: absolute;
    right: 0.04em;
    bottom: -0.03em;
    left: 0.04em;
    height: 0.045em;
    min-height: 3px;
    border-radius: 99px;
    background: var(--coral);
    transform: scaleX(0.88);
    transition: transform 150ms ease;
}


.where-control:hover .where-word::after,
.where-control:focus-visible .where-word::after {
    transform: scaleX(1);
}


.where-control:focus-visible {
    outline: none;
}


.where-place {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    margin-top: 0.28em;
    padding: 5px 10px;
    border: 1px solid rgba(16, 26, 58, 0.08);
    border-radius: 999px;
    background: white;
    box-shadow: 0 5px 18px rgba(40, 32, 24, 0.07);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}


.where-change {
    margin-left: 2px;
    color: var(--coral);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


.search-box {
    width:
        min(
            680px,
            100%
        );

    margin:
        0 auto;

    display: flex;

    align-items: center;

    padding:
        9px
        10px
        9px
        25px;

    border-radius:
        999px;

    background:
        white;

    box-shadow:
        var(--shadow);
}


.search-box input {
    width:
        100%;

    border:
        none;

    outline:
        none;

    background:
        transparent;

    color:
        var(--text);

    font-size:
        19px;
}


.search-box input::placeholder {
    color:
        #aaa6b7;
}


.search-box button {
    flex:
        0 0
        52px;

    width:
        52px;

    height:
        52px;

    border:
        none;

    border-radius:
        50%;

    background:
        var(--coral);

    color:
        white;

    font-size:
        22px;

    cursor:
        pointer;
}


.time-selector {
    display: flex;

    justify-content: center;

    gap:
        10px;

    flex-wrap:
        wrap;

    margin:
        35px
        0;
}

.planning-location-prompt {
    margin: -4px auto 30px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 96, 102, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--navy);
    font: inherit;
    cursor: pointer;
}

.planning-location-prompt span {
    color: var(--muted);
    margin-right: 7px;
}

.planning-location-prompt strong {
    color: var(--coral);
}

.planning-location-prompt:hover,
.planning-location-prompt:focus-visible {
    border-color: var(--coral);
    outline: none;
}


.time-button {
    padding:
        11px
        24px;

    border:
        1px solid
        rgba(
            16,
            26,
            58,
            0.08
        );

    border-radius:
        999px;

    background:
        transparent;

    color:
        var(--text);

    font-size:
        15px;

    cursor:
        pointer;
}


.time-button.active {
    background:
        var(--coral);

    color:
        white;

    border-color:
        var(--coral);
}


.preset-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap:
        18px;

    margin-top:
        30px;
}


.preset-card {
    min-height:
        125px;

    display: flex;

    align-items: center;

    gap:
        18px;

    padding:
        22px;

    border:
        none;

    border-radius:
        var(--radius-medium);

    color:
        var(--text);

    text-align:
        left;

    cursor:
        pointer;

    transition:
        transform
        150ms ease,
        box-shadow
        150ms ease;
}


.preset-card:nth-child(6n + 1) {
    background:
        var(--peach);
}


.preset-card:nth-child(6n + 2) {
    background:
        var(--yellow);
}


.preset-card:nth-child(6n + 3) {
    background:
        var(--mint);
}


.preset-card:nth-child(6n + 4) {
    background:
        var(--lavender);
}


.preset-card:nth-child(6n + 5) {
    background:
        var(--blue);
}


.preset-card:nth-child(6n + 6) {
    background:
        var(--orange);
}


.preset-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        var(--shadow);
}


.preset-icon {
    display: grid;

    place-items:
        center;

    flex:
        0 0
        62px;

    width:
        62px;

    height:
        62px;

    border-radius:
        50%;

    background:
        rgba(
            255,
            255,
            255,
            0.86
        );

    font-size:
        31px;
}


.preset-label {
    font-size:
        20px;

    font-weight:
        680;

    line-height:
        1.15;
}


.results-view {
    padding:
        70px
        0;
}


.results-header {
    display: flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        35px;
}


.eyebrow {
    margin:
        0
        0
        7px;

    color:
        var(--coral);

    font-size:
        14px;

    font-weight:
        700;
}


.results-header h2 {
    margin:
        0;

    font-size:
        clamp(
            32px,
            5vw,
            58px
        );

    letter-spacing:
        -2px;
}


.secondary-button {
    border:
        none;

    background:
        transparent;

    color:
        var(--text);

    font-size:
        16px;

    cursor:
        pointer;
}


.results-list {
    display: grid;

    gap:
        16px;
}


.result-card {
    padding:
        28px;

    border-radius:
        var(--radius-large);

    background:
        white;

    box-shadow:
        var(--shadow);
}


.result-main {
    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;
}


.match-label {
    color:
        var(--coral);

    font-size:
        13px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;
}


.result-card h3 {
    margin:
        5px
        0
        8px;

    font-size:
        27px;
}


.result-card p {
    margin: 0;

    color:
        var(--muted);
}


.go-button {
    padding:
        13px
        20px;

    border:
        none;

    border-radius:
        999px;

    background:
        var(--coral);

    color:
        white;

    cursor:
        pointer;
}


.loading,
.empty-result {
    padding:
        60px
        30px;

    text-align:
        center;

    color:
        var(--muted);
}


.empty-emoji {
    font-size:
        48px;
}


.empty-result h3 {
    color:
        var(--text);

    font-size:
        26px;
}


.hidden {
    display:
        none !important;
}


@media (
    max-width: 900px
) {

    .preset-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }

}


@media (
    max-width: 600px
) {

    .site-header {
        padding:
            22px
            20px;
    }


    .brand,
    .logo {
        font-size:
            23px;
    }


    .location {
        font-size: 12px;
    }


    .location-dialog {
        padding: 22px;
    }


    main {
        width:
            calc(
                100% - 28px
            );
    }


    .hero {
        padding-top:
            10px;
    }


    .time-illustration {
        font-size:
            48px;
    }


    h1 {
        margin-bottom:
            26px;

        font-size:
            57px;

        letter-spacing:
            -3px;
    }


    .where-place {
        min-height: 23px;
        font-size: 11px;
    }


    .where-change {
        display: none;
    }


    .preset-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );

        gap:
            12px;
    }


    .preset-card {
        min-height:
            120px;

        flex-direction:
            column;

        align-items:
            flex-start;

        padding:
            17px;

        gap:
            10px;
    }


    .preset-icon {
        width:
            48px;

        height:
            48px;

        flex-basis:
            48px;

        font-size:
            24px;
    }


    .preset-label {
        font-size:
            17px;
    }


    .results-header {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

}


/* =========================================================
   VibesAt — Decision Results
   ========================================================= */

:root {
    --vibes-navy: #0b1739;
    --vibes-coral: #ff5f63;
    --vibes-coral-dark: #ee4f55;
    --vibes-cream: #fffaf4;
    --vibes-white: #ffffff;

    --vibes-muted: #77768e;
    --vibes-soft-text: #57566c;

    --vibes-border: rgba(11, 23, 57, 0.08);

    --vibes-shadow:
        0 18px 50px rgba(65, 48, 32, 0.08);

    --vibes-shadow-hover:
        0 24px 65px rgba(65, 48, 32, 0.13);
}


/* ---------------------------------------------------------
   Results container
   --------------------------------------------------------- */

#resultsList {
    display: block;
    width: 100%;
}

.decision-results {
    width: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 34px;

    padding-bottom: 80px;
}


/* =========================================================
   RESULTS ORIENTATION MAP
   ========================================================= */

.decision-map-card {
    position: relative;
    padding: 25px;
    border: 1px solid var(--vibes-border);
    border-radius: 28px;
    background: white;
    box-shadow: var(--vibes-shadow);
}


.decision-map-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}


.decision-map-heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--vibes-coral);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}


.decision-map-heading h3 {
    margin: 0;
    color: var(--vibes-navy);
    font-size: 24px;
    letter-spacing: -0.025em;
}


.decision-map-heading p {
    margin: 0;
    color: var(--vibes-muted);
    font-size: 14px;
}


.decision-map-heading-meta {
    display: grid;
    justify-items: end;
    gap: 3px;
    text-align: right;
}


.decision-map-heading-meta small {
    color: var(--vibes-coral);
    font-size: 11px;
    font-weight: 700;
}


.decision-map {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border: 1px solid var(--vibes-border);
    border-radius: 20px;
    background: #f1eee8;
}


.decision-map.is-searching::after {
    position: absolute;
    z-index: 5;
    inset: 50% auto auto 50%;
    padding: 10px 15px;
    border: 1px solid rgba(11, 23, 57, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--vibes-navy);
    content: "finding vibes here…";
    font-size: 12px;
    font-weight: 750;
    box-shadow: 0 8px 24px rgba(11, 23, 57, 0.16);
    pointer-events: none;
    transform: translate(-50%, -50%);
}


.decision-map.is-placeholder {
    display: grid;
    place-items: center;
    padding: 25px;
    color: var(--vibes-muted);
    text-align: center;
}


.decision-map-marker {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 3px solid white;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(11, 23, 57, 0.22);
    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
}


.decision-map-marker:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 8px 18px rgba(11, 23, 57, 0.28);
}


.decision-map-marker:focus-visible {
    outline: 3px solid rgba(255, 95, 100, 0.35);
    outline-offset: 3px;
}


.decision-map-marker.is-best {
    width: 38px;
    height: 38px;
    background: var(--vibes-coral);
}


.decision-map-marker.is-option {
    background: var(--vibes-navy);
}


.decision-map-origin {
    width: 16px;
    height: 16px;
    border: 4px solid white;
    border-radius: 50%;
    background: #2d9d75;
    box-shadow:
        0 0 0 5px rgba(45, 157, 117, 0.2),
        0 4px 12px rgba(11, 23, 57, 0.18);
}


.decision-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 13px;
    color: var(--vibes-muted);
    font-size: 12px;
    font-weight: 650;
}


.decision-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.decision-map-legend i {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}


.decision-map-legend .is-best {
    background: var(--vibes-coral);
}


.decision-map-legend .is-option {
    background: var(--vibes-navy);
}


.decision-map-legend .is-origin {
    background: #2d9d75;
}


.decision-map .maplibregl-popup-content {
    display: grid;
    gap: 3px;
    padding: 11px 26px 11px 13px;
    border-radius: 12px;
    color: var(--vibes-navy);
}


.decision-map .maplibregl-popup-content span {
    color: var(--vibes-muted);
    font-size: 11px;
}


/* =========================================================
   BEST BET
   ========================================================= */

.decision-best {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 65%,
            #fff7f0 100%
        );

    border: 1px solid var(--vibes-border);

    border-radius: 34px;

    padding: 38px 42px;

    box-shadow: var(--vibes-shadow);

    overflow: hidden;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}


.decision-best::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -110px;
    top: -130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 190, 90, 0.20) 0%,
            rgba(255, 95, 99, 0.05) 48%,
            transparent 72%
        );

    pointer-events: none;
}


.decision-best:hover {
    transform: translateY(-2px);
    box-shadow: var(--vibes-shadow-hover);
}


/* ---------------------------------------------------------
   Best-bet badge
   --------------------------------------------------------- */

.decision-best-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 22px;

    padding: 8px 13px;

    border-radius: 999px;

    background: #fff3dc;

    color: #8d5a00;

    font-size: 14px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.01em;
}


/* ---------------------------------------------------------
   Main best-bet layout
   --------------------------------------------------------- */

.decision-best-layout {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        190px;

    gap: 44px;

    align-items: center;
}


.decision-best-main h2 {
    margin: 0;

    color: var(--vibes-navy);

    font-size: clamp(
        28px,
        3vw,
        44px
    );

    line-height: 1.06;

    letter-spacing: -0.035em;

    max-width: 900px;
}


.decision-best-summary {
    max-width: 780px;

    margin:
        18px 0
        0;

    color: var(--vibes-soft-text);

    font-size: 18px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   Vibe path
   --------------------------------------------------------- */

.decision-vibe-path {
    display: inline-block;

    margin-top: 22px;

    padding: 13px 18px;

    border-radius: 16px;

    background: #fff3e8;

    color: var(--vibes-navy);

    font-size: 17px;
    font-weight: 650;

    line-height: 1.35;
}


/* ---------------------------------------------------------
   Reason pills
   --------------------------------------------------------- */

.decision-reason-pills {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}


.decision-reason-pills span {
    display: inline-flex;
    align-items: center;

    padding: 8px 12px;

    border-radius: 999px;

    background: rgba(
        11,
        23,
        57,
        0.055
    );

    color: #606078;

    font-size: 14px;
    font-weight: 550;
}


/* ---------------------------------------------------------
   Fit / distance / CTA
   --------------------------------------------------------- */

.decision-best-side {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    gap: 12px;

    text-align: right;
}


.decision-fit-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}


.decision-fit-block strong {
    color: var(--vibes-coral);

    font-size: 42px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.04em;
}


.decision-fit-block span {
    margin-top: 4px;

    color: var(--vibes-muted);

    font-size: 13px;

    font-weight: 650;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.decision-distance {
    color: var(--vibes-muted);

    font-size: 15px;
}


.decision-primary-button {
    margin-top: 9px;

    border: 0;

    border-radius: 999px;

    padding: 15px 22px;

    background: var(--vibes-coral);

    color: white;

    font-family: inherit;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background 150ms ease,
        transform 150ms ease;
}


.decision-primary-button:hover {
    background: var(--vibes-coral-dark);

    transform: translateY(-1px);
}


/* =========================================================
   ALTERNATIVES
   ========================================================= */

.decision-alternatives {
    margin-top: 5px;
}


.decision-section-heading {
    margin-bottom: 16px;

    color: var(--vibes-muted);

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 0.01em;
}


.decision-alternative-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.decision-alt {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 245px;

    padding: 27px 29px;

    border-radius: 27px;

    border:
        1px solid
        var(--vibes-border);

    background: rgba(
        255,
        255,
        255,
        0.82
    );

    box-shadow:
        0 10px 35px
        rgba(65, 48, 32, 0.055);

    cursor: pointer;

    transition:
        transform 170ms ease,
        box-shadow 170ms ease;
}


.decision-alt:hover,
.decision-alt:focus-visible {
    transform: translateY(-2px);

    box-shadow:
        0 16px 45px
        rgba(65, 48, 32, 0.10);
}


.decision-alt:focus-visible {
    outline: 3px solid rgba(255, 96, 102, 0.32);
    outline-offset: 3px;
}


/* ---------------------------------------------------------
   Alternative role
   --------------------------------------------------------- */

.decision-alt-role {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    width: fit-content;

    margin-bottom: 16px;

    color: var(--vibes-coral);

    font-size: 14px;
    font-weight: 750;
}


.decision-alt h3 {
    margin: 0;

    color: var(--vibes-navy);

    font-size: clamp(
        21px,
        2vw,
        28px
    );

    line-height: 1.12;

    letter-spacing: -0.025em;
}


.decision-alt-tradeoff {
    margin:
        14px 0
        22px;

    color: var(--vibes-soft-text);

    font-size: 16px;
    line-height: 1.48;

    max-width: 580px;
}


/* ---------------------------------------------------------
   Alternative metadata
   --------------------------------------------------------- */

.decision-alt-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: auto;
    margin-bottom: 18px;
}


.decision-alt-meta span {
    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(
        11,
        23,
        57,
        0.055
    );

    color: var(--vibes-muted);

    font-size: 13px;

    font-weight: 650;
}


.decision-alt-button {
    width: fit-content;

    border: 0;

    padding: 0;

    background: transparent;

    color: var(--vibes-navy);

    font-family: inherit;

    font-size: 15px;

    font-weight: 750;

    cursor: pointer;
}


.decision-alt-button:hover {
    color: var(--vibes-coral);
}


/* =========================================================
   REFINE THE VIBE
   ========================================================= */

.decision-refine {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 28px;

    padding: 25px 28px;

    border-radius: 25px;

    background:
        rgba(
            255,
            255,
            255,
            0.58
        );

    border:
        1px solid
        rgba(
            11,
            23,
            57,
            0.06
        );
}


.decision-refine-copy {
    display: flex;
    flex-direction: column;

    flex: 0 0 auto;
}


.decision-refine-copy strong {
    color: var(--vibes-navy);

    font-size: 19px;

    line-height: 1.2;
}


.decision-refine-copy span {
    margin-top: 4px;

    color: var(--vibes-muted);

    font-size: 14px;
}


/* ---------------------------------------------------------
   Refinement chips
   --------------------------------------------------------- */

.decision-refine-chips {
    display: flex;

    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 9px;
}


.decision-refine-chip {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    border:
        1px solid
        rgba(
            11,
            23,
            57,
            0.09
        );

    border-radius: 999px;

    padding: 10px 14px;

    background: white;

    color: var(--vibes-navy);

    font-family: inherit;

    font-size: 14px;

    font-weight: 650;

    cursor: pointer;

    box-shadow:
        0 3px 12px
        rgba(
            60,
            45,
            30,
            0.035
        );

    transition:
        transform 140ms ease,
        border-color 140ms ease,
        background 140ms ease;
}


.decision-refine-chip:hover {
    transform: translateY(-1px);

    border-color:
        rgba(
            255,
            95,
            99,
            0.35
        );

    background: #fff7f5;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.decision-empty {
    padding: 70px 25px;

    text-align: center;

    color: var(--vibes-navy);
}


.decision-empty-icon {
    margin-bottom: 15px;

    font-size: 36px;
}


.decision-empty h2 {
    margin: 0;

    font-size: 30px;

    letter-spacing: -0.025em;
}


.decision-empty p {
    margin:
        12px auto
        0;

    max-width: 520px;

    color: var(--vibes-muted);

    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   RESULTS HEADER TWEAKS
   ========================================================= */

#resultsView #resultsTitle {
    max-width: 1150px;

    line-height: 0.98;

    letter-spacing: -0.045em;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (
    max-width: 900px
) {

    .decision-best {
        padding: 30px;
        border-radius: 28px;
    }


    .decision-best-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }


    .decision-best-side {
        align-items: flex-start;
        text-align: left;

        flex-direction: row;
        flex-wrap: wrap;
    }


    .decision-fit-block {
        align-items: flex-start;
    }


    .decision-primary-button {
        margin-left: auto;
    }


    .decision-alternative-grid {
        grid-template-columns: 1fr;
    }


    .decision-map-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }


    .decision-map-heading-meta {
        justify-items: start;
        text-align: left;
    }


    .decision-refine {
        align-items: flex-start;
        flex-direction: column;
    }


    .decision-refine-chips {
        justify-content: flex-start;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (
    max-width: 600px
) {

    .decision-results {
        gap: 22px;
        padding-bottom: 50px;
    }


    .decision-best {
        padding: 24px 21px;

        border-radius: 24px;
    }


    .decision-map-card {
        padding: 17px;
        border-radius: 23px;
    }


    .decision-map {
        height: 230px;
        border-radius: 16px;
    }


    .decision-map-heading h3 {
        font-size: 21px;
    }


    .decision-best-badge {
        margin-bottom: 17px;
    }


    .decision-best-main h2 {
        font-size: 28px;
    }


    .decision-best-summary {
        font-size: 16px;
    }


    .decision-best-side {
        display: grid;

        grid-template-columns:
            1fr auto;

        width: 100%;

        align-items: end;
    }


    .decision-fit-block strong {
        font-size: 34px;
    }


    .decision-distance {
        grid-column: 1;
    }


    .decision-primary-button {
        grid-column: 2;
        grid-row: 1 / span 2;

        align-self: center;

        margin: 0;

        padding: 13px 16px;
    }


    .decision-alt {
        min-height: 0;

        padding: 23px 21px;

        border-radius: 22px;
    }


    .decision-alt h3 {
        font-size: 22px;
    }


    .decision-refine {
        padding: 21px;

        border-radius: 22px;
    }


    .decision-refine-chip {
        padding: 9px 12px;

        font-size: 13px;
    }
}
