:root {
    color-scheme: only light;
    /* Tono provisional hasta recibir el HEX oficial de KingMoto. */
    --km-green: #218c4a;
    --km-green-dark: #176b37;
    --km-white: #ffffff;
    --km-black: #000000;
    --km-dark: #101311;
}

/* Community editorial page */
.community-page {
    color: #f7f7f5;
    background: #07100a;
}

.community-preline { white-space: pre-line; }
.community-events-section { border-top: 1px solid rgba(255,255,255,.08); }

.community-page .container {
    width: min(100% - 2rem, 88rem);
}

.community-hero {
    position: relative;
    display: flex;
    min-height: 34rem;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 35%, rgba(49, 211, 105, .16), transparent 22rem),
        linear-gradient(120deg, #07100a 15%, #0d2014 100%);
}

.community-hero::after {
    position: absolute;
    right: -7rem;
    bottom: -14rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(74, 220, 123, .18);
    border-radius: 50%;
    box-shadow:
        0 0 0 4rem rgba(74, 220, 123, .025),
        0 0 0 8rem rgba(74, 220, 123, .02);
    content: "";
}

.community-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 65rem;
    padding: 7rem 0 6rem;
}

.community-kicker {
    margin: 0 0 1rem;
    color: #42da75;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.community-kicker span {
    margin-left: .6rem;
    padding: .35rem .65rem;
    color: #b7c0ba;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    font-size: .68rem;
    letter-spacing: .1em;
}

.community-hero h1 {
    max-width: 58rem;
    margin: 0;
    font-size: clamp(3.3rem, 7vw, 6.6rem);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: .94;
}

.community-hero h1 span {
    color: #42da75;
}

.community-hero-copy > p:last-child {
    max-width: 45rem;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.6;
}

.community-fact-section,
.community-tips-section,
.community-life-section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.community-fact-section {
    background: #090d0a;
}

.community-fact-card {
    display: grid;
    overflow: hidden;
    min-height: 34rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2rem;
    background: #111713;
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, .92fr);
}

.community-fact-media {
    position: relative;
    min-height: 32rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(48, 205, 100, .23), transparent 42%),
        #07100a;
}

.community-fact-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
    filter: saturate(.85) contrast(1.08);
}

.community-fact-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, rgba(17, 23, 19, .75));
    content: "";
}

.community-fact-number {
    position: absolute;
    bottom: 1.5rem;
    left: 1.75rem;
    z-index: 1;
    color: rgba(255, 255, 255, .23);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
}

.community-fact-copy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.community-fact-copy h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(2.25rem, 4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.community-fact-copy > p:not(.community-kicker) {
    color: rgba(255, 255, 255, .59);
    font-size: 1.08rem;
    line-height: 1.75;
}

.community-fact-details {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .13);
}

.community-fact-details summary {
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #42da75;
    cursor: pointer;
    list-style: none;
}

.community-fact-details summary::-webkit-details-marker {
    display: none;
}

.community-fact-more {
    font-size: .95rem;
    font-weight: 800;
}

.community-fact-toggle {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(66, 218, 117, .35);
    border-radius: 50%;
    place-items: center;
    font-size: 1.25rem;
    transition: transform .2s ease, background .2s ease;
}

.community-fact-details[open] .community-fact-toggle {
    background: rgba(66, 218, 117, .12);
    transform: rotate(45deg);
}

.community-fact-extra {
    padding: 0 0 1.25rem;
}

.community-fact-extra p {
    margin: 0 0 .8rem;
    color: rgba(255, 255, 255, .58);
    line-height: 1.7;
}

.community-fact-extra p:last-child {
    margin-bottom: 0;
}

.community-tips-section {
    background:
        radial-gradient(circle at 8% 80%, rgba(49, 211, 105, .09), transparent 20rem),
        #07100a;
}

.community-section-heading,
.community-life-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.community-section-heading h2,
.community-life-heading h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1;
}

.community-section-heading > p,
.community-life-heading > p {
    max-width: 30rem;
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 1.05rem;
    line-height: 1.65;
}

.community-tip-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.community-tip-card {
    position: relative;
    display: flex;
    min-height: 18.5rem;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.community-tip-card:hover,
.community-tip-card:focus-visible {
    border-color: rgba(66, 218, 117, .48);
    background: rgba(66, 218, 117, .06);
    transform: translateY(-.3rem);
}

.community-tip-card:focus-visible {
    outline: 2px solid #42da75;
    outline-offset: 3px;
}

.community-tip-icon {
    position: absolute;
    top: auto;
    right: 1.5rem;
    bottom: 1.35rem;
}

.community-tip-card .community-km-shield {
    width: 2.75rem;
    height: 3.1rem;
    font-size: .7rem;
}

.community-km-shield {
    display: grid;
    width: 3.35rem;
    height: 3.8rem;
    padding-bottom: .25rem;
    color: #07100a;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .25), transparent 38%),
        #f2c94c;
    clip-path: polygon(50% 0, 92% 14%, 86% 67%, 50% 100%, 14% 67%, 8% 14%);
    filter: drop-shadow(0 .35rem .75rem rgba(0, 0, 0, .28));
    place-items: center;
    font-size: .83rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.community-km-shield::before {
    position: absolute;
    inset: .18rem;
    z-index: 0;
    background: #0b160e;
    clip-path: inherit;
    content: "";
}

.community-km-shield::after {
    position: absolute;
    inset: .32rem;
    z-index: 1;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .2), transparent 38%),
        #f2c94c;
    clip-path: inherit;
    content: "";
}

.community-km-shield > span {
    position: relative;
    z-index: 2;
}

.community-tip-card h3 {
    margin-bottom: .8rem;
    font-size: 1.65rem;
    font-weight: 800;
}

.community-tip-card p {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, .57);
    line-height: 1.65;
}

.community-tip-hint {
    color: #42da75;
    font-size: .86rem;
    font-weight: 800;
}

.community-tip-hint span {
    display: inline-block;
    margin-left: .25rem;
    transition: transform .2s ease;
}

.community-tip-card:hover .community-tip-hint span,
.community-tip-card:focus-visible .community-tip-hint span {
    transform: translate(.15rem, -.15rem);
}

.community-tip-preview {
    width: min(42rem, calc(100% - 2rem));
    max-height: min(46rem, calc(100dvh - 2rem));
    margin: auto;
    padding: clamp(1.6rem, 4vw, 3rem);
    overflow: auto;
    color: #f7f7f5;
    border: 1px solid rgba(66, 218, 117, .35);
    border-radius: 1.75rem;
    background:
        radial-gradient(circle at 90% 0, rgba(66, 218, 117, .13), transparent 18rem),
        #101612;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, .65);
}

.community-tip-preview::backdrop {
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(.35rem);
}

.community-tip-preview[open] {
    animation: community-preview-in .22s ease-out;
}

.community-tip-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    color: #d9ddda;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    place-items: center;
    font-size: 1.4rem;
    line-height: 1;
}

.community-tip-close:hover {
    color: #fff;
    border-color: rgba(66, 218, 117, .45);
    background: rgba(66, 218, 117, .1);
}

.community-tip-preview-icon {
    margin-bottom: 1.5rem;
    position: relative;
}

.community-tip-preview h2 {
    max-width: calc(100% - 3rem);
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 6vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -.05em;
}

.community-tip-preview > p {
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, .63);
    font-size: 1.05rem;
    line-height: 1.7;
}

.community-tip-preview h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 800;
}

.community-tip-preview ul {
    display: grid;
    gap: .8rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.community-tip-preview li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, .75);
    line-height: 1.55;
}

.community-tip-preview li::before {
    position: absolute;
    top: .55rem;
    left: 0;
    width: .45rem;
    height: .45rem;
    background: #42da75;
    border-radius: 50%;
    content: "";
}

.community-tip-preview aside {
    padding: 1rem 1.15rem;
    color: rgba(255, 255, 255, .68);
    border-left: 2px solid #42da75;
    background: rgba(66, 218, 117, .06);
    line-height: 1.55;
}

@keyframes community-preview-in {
    from {
        opacity: 0;
        transform: translateY(1rem) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.community-life-section {
    background: #0a0e0b;
}

.community-life-grid {
    display: grid;
    min-height: 39rem;
    gap: 1rem;
    grid-template-columns: 1.4fr .8fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.community-life-card {
    position: relative;
    min-height: 18rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 1.5rem;
    background: #111713;
    cursor: zoom-in;
}

.community-life-card:focus-visible {
    outline: 3px solid #42da75;
    outline-offset: 4px;
}

.community-life-featured {
    min-height: 39rem;
    grid-row: 1 / 3;
}

.community-life-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.community-life-card:hover img {
    transform: scale(1.025);
}

.community-life-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 7, 4, .94), transparent 65%);
    content: "";
}

.community-life-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: clamp(1.4rem, 3vw, 2.5rem);
}

.community-life-overlay span {
    color: #42da75;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.community-life-overlay h3 {
    max-width: 36rem;
    margin: .65rem 0 0;
    font-size: clamp(1.45rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.community-life-overlay p {
    margin: .8rem 0 0;
    color: rgba(255, 255, 255, .63);
}

.community-life-hint {
    display: inline-flex;
    gap: .35rem;
    margin-top: .8rem;
    color: rgba(255,255,255,.72);
    font-weight: 700;
}

.community-life-preview {
    width: min(94vw, 90rem);
    max-width: none;
    height: min(90dvh, 60rem);
    max-height: none;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: #050806;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 1.4rem;
    box-shadow: 0 2rem 8rem rgba(0,0,0,.8);
}

.community-life-preview::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.community-life-preview figure { position: relative; display: flex; width: 100%; height: 100%; margin: 0; flex-direction: column; }
.community-life-preview img { width: 100%; min-height: 0; flex: 1; object-fit: contain; }
.community-life-preview figcaption { position: absolute; z-index: 2; bottom: 1rem; left: 4.2rem; max-width: calc(100% - 5.2rem); padding: .65rem .9rem; color: rgba(255,255,255,.9); font-size: .72rem; font-weight: 650; line-height: 1.4; background: rgba(4,10,6,.9); border: 1px solid rgba(66,216,117,.3); border-radius: .75rem; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.28); opacity: 0; transform: translateY(.4rem); visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.community-life-preview.is-caption-visible figcaption { opacity: 1; transform: translateY(0); visibility: visible; }
.community-life-preview .community-tip-close { z-index: 2; background: rgba(5,8,6,.8); }

@media (max-width: 991.98px) {
    .admin-logo-library {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .community-fact-card {
        grid-template-columns: 1fr;
    }

    .community-fact-media {
        min-height: 25rem;
    }

    .community-fact-media::after {
        background: linear-gradient(0deg, rgba(17, 23, 19, .7), transparent 50%);
    }

    .community-section-heading,
    .community-life-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }

    .community-tip-grid {
        grid-template-columns: 1fr;
    }

    .community-tip-card {
        min-height: 17.5rem;
    }
}

@media (max-width: 767.98px) {
    .community-page .container {
        width: min(100% - 1.25rem, 88rem);
    }

    .community-hero {
        min-height: 29rem;
    }

    .community-hero-copy {
        padding: 5.5rem 0 4.5rem;
    }

    .community-hero h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

    .community-fact-card,
    .community-life-card {
        border-radius: 1.2rem;
    }

    .community-fact-media {
        min-height: 18rem;
    }

    .community-fact-copy {
        padding: 1.6rem;
    }

    .community-kicker span {
        display: inline-block;
        margin-top: .6rem;
        margin-left: 0;
    }

    .community-life-grid {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .community-life-featured,
    .community-life-card {
        min-height: 25rem;
    }

    .community-tip-preview {
        box-sizing: border-box;
        width: calc(100% - 1rem);
        max-width: none;
        height: auto;
        max-height: calc(100dvh - 2rem);
        inset: 0;
        margin: auto;
        padding: 1.5rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-width: 1px;
        border-radius: 1.5rem;
    }

    .community-tip-preview .community-tip-close {
        position: sticky;
        top: 0;
        z-index: 2;
        float: right;
        margin: 0 0 .5rem .75rem;
    }

    .community-tip-preview-icon {
        margin-top: .25rem;
        margin-bottom: 1rem;
    }

    .community-tip-preview h2 {
        font-size: clamp(2.2rem, 11vw, 3.25rem);
    }

    .community-tip-preview[open] {
        animation-name: community-preview-mobile-in;
    }
}

/* Logo library: consistent cards and an adjustable horizontal upload preview. */
.admin-logo-form { grid-template-columns: 1fr; gap: 1.1rem; padding: clamp(1rem,2.5vw,1.5rem); background: linear-gradient(135deg,rgba(66,216,117,.06),rgba(255,255,255,.02)); border-style: solid; }
.admin-logo-form-heading { display: grid; gap: .3rem; }
.admin-logo-form-heading strong { color: #fff; font-size: 1rem; }
.admin-logo-form-heading small { color: rgba(255,255,255,.48); font-size: .72rem; }
.admin-logo-form-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(15rem,.75fr); gap: .85rem; }
.admin-logo-form-fields label { display: grid; gap: .4rem; color: rgba(255,255,255,.72); font-size: .7rem; font-weight: 750; }
.admin-logo-form-fields input[name="name"] { width: 100%; min-height: 2.8rem; box-sizing: border-box; padding: .7rem .85rem; color: #fff; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.16); border-radius: .7rem; }
.admin-logo-form input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.admin-logo-file-picker { min-height: 2.8rem; padding: .65rem .8rem; box-sizing: border-box; align-content: center; cursor: pointer; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.15); border-radius: .7rem; }
.admin-logo-file-picker:hover { border-color: rgba(66,216,117,.5); }
.admin-logo-file-picker span { color: #7be99e; }
.admin-logo-file-picker small { overflow: hidden; color: rgba(255,255,255,.4); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.admin-logo-adjuster { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(14rem,.65fr); gap: 1rem; padding: 1rem; background: #090d0a; border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; }
.admin-logo-adjuster[hidden] { display: none; }
.admin-logo-adjuster-preview { display: grid; gap: .55rem; }
.admin-logo-adjuster-preview > span { color: rgba(255,255,255,.4); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.admin-logo-adjuster canvas { display: block; width: 100%; aspect-ratio: 3 / 1; background-color: #020403; background-image: linear-gradient(45deg,rgba(255,255,255,.035) 25%,transparent 25%),linear-gradient(-45deg,rgba(255,255,255,.035) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(255,255,255,.035) 75%),linear-gradient(-45deg,transparent 75%,rgba(255,255,255,.035) 75%); background-size: 1.2rem 1.2rem; background-position: 0 0,0 .6rem,.6rem -.6rem,-.6rem 0; border: 1px solid rgba(66,216,117,.2); border-radius: .75rem; }
.admin-logo-adjuster-controls { display: grid; align-content: center; gap: .85rem; }
.admin-logo-adjuster-controls label { display: grid; grid-template-columns: 1fr auto; gap: .35rem; color: rgba(255,255,255,.64); font-size: .68rem; font-weight: 700; }
.admin-logo-adjuster-controls output { color: #7be99e; }
.admin-logo-adjuster-controls input[type="range"] { position: static; width: 100%; height: auto; grid-column: 1 / -1; clip-path: none; accent-color: #42d875; }
.admin-logo-form .admin-logo-adjuster-controls button { grid-row: auto; grid-column: auto; justify-self: start; padding: .55rem .7rem; color: rgba(255,255,255,.7); background: transparent; border: 1px solid rgba(255,255,255,.14); }
.admin-logo-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.08); }
.admin-logo-form-footer p { margin: 0; color: rgba(255,255,255,.4); font-size: .67rem; }
.admin-logo-form .admin-logo-form-footer button { grid-row: auto; grid-column: auto; min-width: 10rem; background: #2bb35f; }
.admin-logo-library { align-items: stretch; }
.admin-logo-card { grid-template-columns: 1fr; grid-template-rows: 10rem auto 1fr; align-content: start; padding: .85rem; transition: transform .18s ease,border-color .18s ease; }
.admin-logo-card:hover { transform: translateY(-2px); border-color: rgba(66,216,117,.28); }
.admin-logo-card > div.admin-logo-card-image { display: grid; min-height: 0; height: 10rem; padding: 1rem; place-items: center; background: radial-gradient(circle,rgba(66,216,117,.06),transparent 65%),#050706; border-radius: .75rem; }
.admin-logo-card-image img { width: 100%; height: 100%; object-fit: contain; }
.admin-logo-card > div.admin-logo-card-meta { display: flex; min-height: 3.4rem; padding: .85rem .1rem .65rem; align-items: center; justify-content: space-between; gap: .75rem; background: transparent; }
.admin-logo-card-meta strong { min-width: 0; color: #fff; font-size: .76rem; overflow-wrap: anywhere; }
.admin-logo-card-meta small { flex: 0 0 auto; padding: .25rem .5rem; color: #7be99e; font-size: .58rem; font-weight: 850; background: rgba(66,216,117,.1); border-radius: 999px; text-transform: uppercase; }
.admin-logo-card > div.admin-logo-card-actions { display: grid; min-height: 0; padding: .25rem 0 0; align-content: end; gap: .5rem; background: transparent; }
.admin-logo-card-actions form { width: 100%; }
.admin-logo-card-actions button { min-height: 2.55rem; }
@media (max-width: 767.98px) {
    .admin-logo-form-fields,
    .admin-logo-adjuster { grid-template-columns: 1fr; }
    .admin-logo-form-footer { align-items: stretch; flex-direction: column; }
    .admin-logo-form .admin-logo-form-footer button { width: 100%; }
}

@keyframes community-preview-mobile-in {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seasonal themes keep KingMoto's black and green identity and only add a decorative layer. */
body.site-theme-halloween,
body.site-theme-christmas { position: relative; }
body.site-theme-halloween::before,
body.site-theme-christmas::before {
    position: fixed;
    z-index: 1100;
    inset: 0;
    content: "";
    pointer-events: none;
}
body.site-theme-halloween::before {
    opacity: .22;
    background:
        radial-gradient(circle at 4% 12%, rgba(255,126,31,.42), transparent 8rem),
        radial-gradient(circle at 96% 72%, rgba(255,126,31,.2), transparent 11rem);
}
body.site-theme-christmas::before {
    opacity: .34;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(232,35,52,.88) 0 1.5px, transparent 2px);
    background-position: 0 0, 2.2rem 3.6rem;
    background-size: 5rem 5rem, 7rem 7rem;
}
.site-theme-halloween .navbar.bg-dark { border-bottom-color: rgba(255,126,31,.4); box-shadow: 0 .45rem 1.5rem rgba(255,91,0,.08); }
.site-theme-halloween .navbar::after {
    position: absolute;
    right: 8%;
    bottom: .35rem;
    width: 1.5rem;
    height: .7rem;
    content: "";
    background: #ff963f;
    clip-path: polygon(0 20%,18% 38%,30% 12%,43% 43%,50% 28%,57% 43%,70% 12%,82% 38%,100% 20%,88% 72%,66% 60%,50% 100%,34% 60%,12% 72%);
    filter: drop-shadow(0 0 .45rem rgba(255,105,22,.8));
    opacity: 0;
    pointer-events: none;
    animation: halloween-header-flight 7s ease-in-out infinite;
}
.site-theme-halloween .home-shortcut,
.site-theme-halloween .news-card,
.site-theme-halloween .community-life-card { border-color: rgba(255,126,31,.28); box-shadow: 0 1rem 2.5rem rgba(78,24,0,.1); }
.site-theme-halloween .section-kicker,
.site-theme-halloween .community-kicker { text-shadow: 0 0 1rem rgba(255,126,31,.3); }
.site-theme-halloween .site-footer { border-top-color: rgba(255,126,31,.28); background-image: radial-gradient(circle at 50% 0,rgba(255,126,31,.09),transparent 24rem); }
.site-theme-christmas .navbar.bg-dark { border-bottom-color: rgba(232,196,101,.42); box-shadow: 0 .45rem 1.5rem rgba(206,30,45,.08); }
.site-theme-christmas .navbar::after {
    position: absolute;
    right: 10%;
    top: .55rem;
    content: "❄";
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    filter: drop-shadow(0 0 .4rem rgba(255,255,255,.55));
    pointer-events: none;
    animation: christmas-header-snow 6s ease-in-out infinite;
}
.site-theme-christmas .home-shortcut,
.site-theme-christmas .news-card,
.site-theme-christmas .community-life-card { border-color: rgba(232,196,101,.27); box-shadow: 0 1rem 2.5rem rgba(125,13,25,.08); }
.site-theme-christmas .site-footer {
    border-top-color: rgba(210, 35, 50, .38);
    background-image: radial-gradient(circle at 50% 0, rgba(150, 12, 27, .18), transparent 25rem);
}
.site-theme-halloween .km-hero-mark {
    background: linear-gradient(145deg,#fff 0%,#f7f8fb 62%,#dfe3ec 100%);
    border: 0;
    border-radius: 48% 48% 22% 22% / 38% 38% 12% 12%;
    box-shadow: none;
    clip-path: polygon(20% 22%,31% 11%,50% 5%,69% 11%,80% 22%,83% 39%,96% 30%,90% 57%,80% 49%,83% 76%,73% 91%,63% 81%,52% 100%,41% 82%,29% 94%,19% 79%,21% 50%,10% 58%,3% 34%,18% 42%);
    opacity: .9;
    animation: halloween-ghost-glow 4s ease-in-out infinite;
}
.site-theme-halloween .km-hero-mark::before {
    display: none;
}
.site-theme-halloween .km-hero-mark span {
    position: absolute;
    top: 29%;
    left: 22%;
    width: 56%;
    height: 19%;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    background:
        radial-gradient(ellipse at 22% 50%,#07152d 0 26%,transparent 28%),
        radial-gradient(ellipse at 78% 50%,#07152d 0 26%,transparent 28%);
    filter: none;
    clip-path: none;
    transform: rotate(-2deg);
}
.site-theme-halloween .km-hero-mark small {
    position: absolute;
    top: 49%;
    left: 27%;
    width: 46%;
    height: 25%;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    background: #07152d;
    filter: none;
    clip-path: polygon(0 0,18% 16%,29% 5%,40% 24%,50% 10%,61% 24%,72% 5%,83% 16%,100% 0,91% 62%,74% 86%,58% 76%,50% 100%,41% 76%,25% 86%,8% 62%);
}
.km-seasonal-ghost { display: none; }
.site-theme-halloween .km-hero-mark {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    clip-path: none;
    box-shadow: none;
}
.site-theme-halloween .km-hero-mark .km-seasonal-ghost {
    position: absolute;
    inset: -14%;
    display: block;
    width: 128%;
    height: 128%;
    overflow: visible;
    filter: drop-shadow(0 .8rem 1.2rem rgba(0,0,0,.28));
    animation: halloween-ghost-float 4.5s ease-in-out infinite;
}
.site-theme-halloween .km-seasonal-ghost .ghost-body { fill: #f8fafc; }
.site-theme-halloween .km-seasonal-ghost .ghost-shade { fill: #dce3eb; opacity: .72; }
.site-theme-halloween .km-seasonal-ghost .ghost-eye,
.site-theme-halloween .km-seasonal-ghost .ghost-mouth { fill: #01050c; }
.site-theme-halloween .km-hero-mark > span,
.site-theme-halloween .km-hero-mark > small { display: none; }
.site-theme-christmas .km-hero-mark {
    background:
        linear-gradient(90deg,transparent 41%,rgba(239,201,100,.88) 41% 59%,transparent 59%),
        linear-gradient(0deg,transparent 42%,rgba(239,201,100,.88) 42% 58%,transparent 58%),
        linear-gradient(145deg,#187340,#0d4527);
    border: 2px solid rgba(240,211,129,.68);
    border-radius: 1rem;
    box-shadow: inset 0 0 2rem rgba(255,255,255,.05),0 0 2rem rgba(220,185,91,.14);
    opacity: .82;
    animation: seasonal-mark-glow 4s ease-in-out infinite;
}
.site-theme-christmas .km-hero-mark::before {
    position: absolute;
    top: -1.15rem;
    left: 50%;
    width: 3.3rem;
    height: 1.7rem;
    content: "";
    border: .48rem solid #e7c363;
    border-radius: 55% 55% 45% 45%;
    transform: translateX(-50%);
}
.site-theme-christmas .km-hero-mark span { color: #fff; text-shadow: 0 0 .8rem rgba(255,255,255,.28); }
.site-theme-christmas .km-hero-mark small { color: rgba(255,255,255,.65); }
@keyframes seasonal-mark-glow {
    0%,100% { filter: brightness(.95); }
    50% { filter: brightness(1.08); }
}
@keyframes halloween-ghost-glow {
    0%,100% { filter: brightness(.96) drop-shadow(0 0 .55rem rgba(255,255,255,.2)); }
    50% { filter: brightness(1.05) drop-shadow(0 0 1.1rem rgba(255,255,255,.42)); }
}
@keyframes halloween-ghost-float {
    0%,100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-.45rem) rotate(1deg); }
}
@keyframes halloween-header-flight {
    0%, 100% { opacity: 0; transform: translate(0,.2rem) rotate(45deg) scale(.7); }
    20% { opacity: .85; }
    50% { opacity: 1; transform: translate(-5rem,-1rem) rotate(135deg) scale(1.15); }
    80% { opacity: .7; }
}
@keyframes christmas-header-snow {
    0%, 100% { opacity: .25; transform: translate(0,0) rotate(0); }
    50% { opacity: .9; transform: translate(-3rem,2rem) rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
    .site-theme-halloween .navbar::after,
    .site-theme-christmas .navbar::after { display: none; animation: none; }
    .site-theme-halloween .km-hero-mark,
    .site-theme-christmas .km-hero-mark { animation: none; }
    .site-theme-halloween .km-hero-mark .km-seasonal-ghost { animation: none; }
}

/* Theme selector inside Logos and themes. */
.admin-theme-editor { margin-top: 1.5rem; padding: clamp(1.25rem,3vw,2rem); color: #fff; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-radius: 1.4rem; }
.admin-theme-editor .admin-section-heading { margin-bottom: 1.25rem; }
.admin-theme-editor .admin-section-heading > p { max-width: 34rem; margin: 0; color: rgba(255,255,255,.48); font-size: .75rem; }
.admin-theme-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.admin-theme-card { display: grid; grid-template-rows: 9rem 1fr auto; gap: 1rem; padding: 1rem; background: #0b100d; border: 1px solid rgba(255,255,255,.11); border-radius: 1rem; }
.admin-theme-card.is-active { border-color: #42d875; box-shadow: inset 0 0 0 1px rgba(66,216,117,.2); }
.admin-theme-preview { display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle,rgba(66,216,117,.18),transparent 55%),#020403; border-radius: .8rem; }
.admin-theme-card.theme-halloween .admin-theme-preview { background: radial-gradient(circle,rgba(255,126,31,.3),transparent 52%),linear-gradient(145deg,#140a03,#020302); }
.admin-theme-card.theme-christmas .admin-theme-preview { background: radial-gradient(circle,rgba(238,205,116,.25),transparent 52%),linear-gradient(145deg,#07160d,#180509); }
.admin-theme-symbol { color: #57df80; font-size: 2.4rem; font-weight: 900; }
.admin-theme-card small { color: #59df80; font-size: .62rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.admin-theme-card h3 { margin: .25rem 0 .4rem; color: #fff; font-size: 1.15rem; }
.admin-theme-card p { margin: 0; color: rgba(255,255,255,.48); font-size: .72rem; line-height: 1.5; }
.admin-theme-card form { margin: 0; }
.admin-theme-card button { width: 100%; min-height: 2.7rem; color: #fff; font-weight: 800; background: #249e52; border: 0; border-radius: .7rem; }
.admin-theme-card button:disabled { color: #79e99c; background: rgba(66,216,117,.09); border: 1px solid rgba(66,216,117,.28); opacity: 1; }
@media (max-width: 900px) { .admin-theme-grid { grid-template-columns: 1fr; } }

body {
    color: #17181a;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.navbar-brand,
.footer-brand {
    letter-spacing: .08em;
}

.navbar-brand span,
.footer-brand span {
    color: var(--km-green);
}

.site-footer {
    padding: 2.25rem 0 1rem;
    color: #8d8d92;
    background: #0b0b0c;
    border-top: 1px solid #262628;
    font-size: .75rem;
}

.site-footer > .container {
    max-width: 64rem;
}

.footer-finish-line {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .85rem;
    margin: -.35rem 0 1.75rem;
}

.footer-finish-pattern {
    position: relative;
    height: .65rem;
    overflow: hidden;
    border: 1px solid #2b2d2c;
    background:
        conic-gradient(from 90deg at 1px 1px, #252826 25%, #111312 0 50%, #252826 0 75%, #111312 0)
        0 0 / .65rem .65rem;
}

.footer-finish-pattern::after {
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: rgba(57, 218, 116, .7);
    box-shadow: 0 0 .55rem rgba(57, 218, 116, .45);
    content: "";
}

.footer-finish-badge {
    display: flex;
    width: 5.6rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    color: #f5f5f7;
    border: 1px solid #2c5538;
    background: #080c09;
    transform: skewX(-9deg);
}

.footer-finish-badge img {
    display: block;
    width: 4.65rem;
    height: 1.7rem;
    object-fit: contain;
    object-position: center;
    opacity: .92;
    filter: brightness(0) invert(1);
    transform: skewX(9deg) scaleX(-1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2.5rem, 8vw, 7rem);
    align-items: start;
}

.site-footer .footer-brand {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-grid h2 {
    margin: 0 0 .75rem;
    color: #f5f5f7;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.footer-information,
.footer-contact {
    display: grid;
    align-content: start;
    gap: .55rem;
}

.footer-information-links {
    display: grid;
    gap: .55rem;
}

.footer-information a {
    width: fit-content;
    color: #a1a1a6;
    font-size: .72rem;
    font-weight: 400;
    text-decoration: none;
}

.footer-information a:hover {
    color: #f5f5f7;
    text-decoration: underline;
}

.footer-contact a {
    display: grid;
    grid-template-columns: 5.3rem 1fr;
    align-items: baseline;
    gap: .05rem;
    color: inherit;
    text-decoration: none;
}

.footer-contact small {
    color: #a1a1a6;
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.footer-contact strong {
    color: #d2d2d7;
    font-size: .72rem;
    font-weight: 400;
    transition: color .2s ease;
}

.footer-contact a:hover strong {
    color: #f5f5f7;
    text-decoration: underline;
}

.footer-socials {
    display: block;
}

.footer-social-icons {
    display: grid;
    align-content: start;
    gap: .5rem;
}

.footer-socials a {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: .5rem;
    color: #a1a1a6;
    font-size: .72rem;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-socials a:hover {
    color: #f5f5f7;
    text-decoration: underline;
}

.footer-socials svg {
    width: .85rem;
    height: .85rem;
    flex: 0 0 auto;
    fill: currentColor;
}

.site-footer-bottom {
    margin-top: 1.6rem;
    padding-top: .8rem;
    border-top: 1px solid #262628;
}

.site-footer-bottom p {
    margin: 0;
    color: #6e6e73;
    font-size: .68rem;
    text-align: left;
}

.navbar.bg-dark {
    background-color: var(--km-black) !important;
}

.navbar-logo {
    position: relative;
    width: 13.75rem;
    height: 3.25rem;
    margin-right: 1.5rem;
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.navbar-logo img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
}

.btn-brand {
    --bs-btn-color: var(--km-white);
    --bs-btn-bg: var(--km-green);
    --bs-btn-border-color: var(--km-green);
    --bs-btn-hover-color: var(--km-white);
    --bs-btn-hover-bg: var(--km-green-dark);
    --bs-btn-hover-border-color: var(--km-green-dark);
    --bs-btn-focus-shadow-rgb: 33, 140, 74;
    --bs-btn-active-color: var(--km-white);
    --bs-btn-active-bg: var(--km-green-dark);
    --bs-btn-active-border-color: var(--km-green-dark);
}

.text-brand {
    color: var(--km-green) !important;
}

.badge-brand {
    color: var(--km-white);
    background: var(--km-green);
}

.hero {
    min-height: 690px;
    background:
        radial-gradient(circle at 82% 48%, rgba(33, 140, 74, .25), transparent 24rem),
        linear-gradient(120deg, var(--km-black) 0%, #18201b 60%, #0c0f0d 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -130px;
    bottom: -210px;
    border: 80px solid rgba(255, 255, 255, .035);
    border-radius: 50%;
}

.hero-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
}

.home-promo {
    padding: 0;
    background: #020302;
}

.home-promo-viewport {
    position: relative;
    width: 100%;
    height: min(82vh, 54rem);
    min-height: 36rem;
    overflow: hidden;
    background: #050805;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    touch-action: pan-y;
}

.home-promo-track {
    display: flex;
    height: 100%;
    transition: transform .9s cubic-bezier(.22, .72, .18, 1);
    will-change: transform;
}

.home-promo-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    overflow: hidden;
    --carousel-desktop-fit: contain;
    --carousel-desktop-scale: 1;
    --carousel-desktop-x: 50%;
    --carousel-desktop-y: 50%;
    --carousel-mobile-fit: contain;
    --carousel-mobile-scale: 1;
    --carousel-mobile-x: 50%;
    --carousel-mobile-y: 50%;
}

.home-promo-slide > img:not(.home-promo-backdrop) {
    display: block;
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: var(--carousel-desktop-fit);
    object-position: var(--carousel-desktop-x) var(--carousel-desktop-y);
    filter: none;
    transform: scale(var(--carousel-desktop-scale));
    transform-origin: var(--carousel-desktop-x) var(--carousel-desktop-y);
    box-shadow: 0 0 5rem rgba(0, 0, 0, .48);
}

.home-promo-slide.is-active > img:not(.home-promo-backdrop) {
    transform: scale(var(--carousel-desktop-scale));
}

.home-promo-slide .home-promo-backdrop {
    position: absolute;
    z-index: 0;
    inset: -3rem;
    width: calc(100% + 6rem);
    height: calc(100% + 6rem);
    object-fit: cover;
    filter: blur(35px) brightness(.28) saturate(.8);
    transform: scale(1.08);
}

.home-promo-slide::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .36), transparent 25%, transparent 75%, rgba(0, 0, 0, .36)),
                linear-gradient(0deg, rgba(0, 0, 0, .42), transparent 24%);
    pointer-events: none;
}

.home-promo-intro {
    background: #07100b;
}

.home-promo-intro .home-promo-backdrop {
    filter: blur(24px) brightness(.22) saturate(.7);
}

.home-promo-intro-art {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
}

.home-promo-intro-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--carousel-desktop-fit);
    object-position: var(--carousel-desktop-x) var(--carousel-desktop-y);
    transform: scale(var(--carousel-desktop-scale));
    transform-origin: var(--carousel-desktop-x) var(--carousel-desktop-y);
}

.home-promo-intro-copy {
    position: absolute;
    z-index: 3;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: auto minmax(20rem, 1fr) auto;
    align-items: end;
    gap: 1rem 2rem;
    width: auto;
    padding: 7rem clamp(5.5rem, 8vw, 9rem) 3.5rem;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .7) 48%, transparent 100%);
    transform: none;
}

.home-promo-intro-copy > span {
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: 0;
    padding: .35rem .8rem;
    font-size: .75rem;
    font-weight: 750;
    background: var(--km-green);
    border-radius: 2rem;
}

.home-promo-intro-copy h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 3.2vw, 3.8rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
}

.home-promo-intro-copy h1 strong {
    color: #39c868;
    font-weight: inherit;
}

.home-promo-intro-copy p {
    max-width: 28rem;
    margin-bottom: .25rem;
    color: rgba(255, 255, 255, .68);
    font-size: clamp(.9rem, 1vw, 1.05rem);
    line-height: 1.45;
}

.home-promo-intro-copy .d-flex {
    margin-bottom: .15rem;
    flex-wrap: nowrap !important;
}

.home-promo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .58) 42%, rgba(0, 0, 0, .05) 76%),
                linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 42%);
}

.home-promo-copy {
    position: absolute;
    z-index: 2;
    left: clamp(2rem, 7vw, 7rem);
    top: 50%;
    max-width: 48rem;
    color: #fff;
    transform: translateY(-45%);
    opacity: 0;
    transition: opacity .55s ease .3s, transform .7s ease .25s;
}

.home-promo-slide.is-active .home-promo-copy {
    opacity: 1;
    transform: translateY(-50%);
}

.home-promo-copy span {
    display: inline-flex;
    margin-bottom: 1rem;
    color: #71ef82;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.home-promo-copy h2 {
    margin-bottom: 2rem;
    font-size: clamp(2.7rem, 6vw, 6.5rem);
    font-weight: 800;
    line-height: .94;
    letter-spacing: -.055em;
    text-transform: uppercase;
    text-shadow: 0 .3rem 2rem rgba(0, 0, 0, .45);
}

.home-promo-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    place-items: center;
    color: #fff;
    background: rgba(4, 8, 5, .38);
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background .2s ease, border-color .2s ease;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.home-promo-arrow svg {
    display: block;
    width: 1.55rem;
    height: 1.55rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-promo-arrow:hover {
    background: var(--km-green);
    border-color: var(--km-green);
}

.home-promo-prev { left: clamp(1rem, 3vw, 3rem); }
.home-promo-next { right: clamp(1rem, 3vw, 3rem); }

.home-promo-footer {
    position: absolute;
    z-index: 4;
    right: clamp(1.5rem, 4vw, 4rem);
    bottom: 1.5rem;
    left: clamp(1.5rem, 4vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-promo-count {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    color: rgba(255, 255, 255, .58);
    font-size: .85rem;
}

.home-promo-count strong {
    color: #fff;
    font-size: 1.3rem;
}

.home-promo-dots {
    display: flex;
    gap: .55rem;
}

.home-promo-dots button {
    width: 2.6rem;
    height: .22rem;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .3);
    border: 0;
    border-radius: 1rem;
    transition: width .3s ease, background .3s ease;
}

.home-promo-dots button.is-active {
    width: 4.5rem;
    background: #66ee78;
}

@media (max-width: 767.98px) {
    .home-promo-viewport {
        width: 100%;
        height: clamp(30rem, 122vw, 35rem);
        min-height: 30rem;
        aspect-ratio: auto;
    }
    .home-promo-slide > img:not(.home-promo-backdrop) {
        object-fit: var(--carousel-mobile-fit);
        object-position: var(--carousel-mobile-x) var(--carousel-mobile-y);
        transform: scale(var(--carousel-mobile-scale));
        transform-origin: var(--carousel-mobile-x) var(--carousel-mobile-y);
        box-shadow: none;
    }
    .home-promo-slide.is-active > img:not(.home-promo-backdrop) { transform: scale(var(--carousel-mobile-scale)); }
    .home-promo-copy { right: 1.5rem; left: 1.5rem; }
    .home-promo-copy h2 { font-size: clamp(2.35rem, 12vw, 3.8rem); }
    .home-promo-arrow { top: 42%; bottom: auto; width: 2.5rem; height: 2.5rem; font-size: 1.55rem; transform: translateY(-50%); }
    .home-promo-prev { left: .6rem; }
    .home-promo-next { right: .6rem; }
    .home-promo-footer { right: 1.25rem; bottom: .8rem; left: 1.25rem; justify-content: center; }
    .home-promo-count { display: none; }
    .home-promo-dots button { width: 1.8rem; }
    .home-promo-dots button.is-active { width: 3rem; }
    .home-promo-intro-art { width: 100%; opacity: 1; -webkit-mask-image: none; mask-image: none; }
    .home-promo-intro-art img {
        object-fit: var(--carousel-mobile-fit);
        object-position: var(--carousel-mobile-x) var(--carousel-mobile-y);
        transform: scale(var(--carousel-mobile-scale));
        transform-origin: var(--carousel-mobile-x) var(--carousel-mobile-y);
    }
    .home-promo-intro-copy {
        grid-template-columns: 1fr;
        gap: .55rem;
        padding: 8rem 3.4rem 4rem;
        background: linear-gradient(0deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .72) 52%, transparent 100%);
    }
    .home-promo-intro-copy > span { padding: .25rem .55rem; font-size: .58rem; }
    .home-promo-intro-copy h1 {
        display: -webkit-box;
        overflow: hidden;
        font-size: clamp(1.4rem, 6.2vw, 1.85rem);
        line-height: 1.04;
        letter-spacing: -.04em;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .home-promo-intro-copy p { display: none; }
    .home-promo-intro-copy .d-flex {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 12px !important;
        width: 100%;
        justify-self: stretch;
    }
    .home-promo-intro-copy .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: .7rem 1rem !important;
        font-size: .9rem;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;
        white-space: normal;
        touch-action: manipulation;
    }
    .home-promo-intro-copy .btn-outline-light {
        color: #fff;
        background: #101713;
        border: 1px solid #fff;
    }
    .home-promo-intro-copy .btn-outline-light:hover,
    .home-promo-intro-copy .btn-outline-light:focus-visible {
        color: #101713;
        background: #fff;
    }
}

.admin-sticky-save {
    position: sticky;
    bottom: 1rem;
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    background: rgba(7, 12, 9, .92);
    border: 1px solid rgba(62, 218, 119, .22);
    border-radius: 1rem;
    backdrop-filter: blur(12px);
    z-index: 4;
}

/* Iconografía administrativa: símbolos claros y consistentes en lugar de caracteres tipográficos. */
.admin-sidebar nav a > span {
    font-size: 0;
}

.admin-sidebar nav a > span::before {
    content: "";
    width: 1rem;
    height: 1rem;
    background: currentColor;
    -webkit-mask: var(--admin-nav-icon) center / contain no-repeat;
    mask: var(--admin-nav-icon) center / contain no-repeat;
}

.admin-sidebar nav a[href="/admin"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 11 9-8 9 8v9a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/estadisticas"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 20V13M12 20V8M19 20V4' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/estadisticas"] > span {
    color: #fff;
    background: linear-gradient(145deg, #58ef67, #20bc43);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 .25rem .8rem rgba(28,199,66,.18);
}

.admin-sidebar nav a[href="/admin/carrusel"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M3 8h18M7 6h.01M10 6h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/lo-mas-reciente"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.75 5.57 6.15.9-4.45 4.33 1.05 6.12L12 17.03l-5.5 2.89 1.05-6.12L3.1 9.47l6.15-.9L12 3Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/informacion-institucional"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V8l8-5 8 5v13M2 21h20M8 11h2M14 11h2M8 15h2M14 15h2M10 21v-3h4v3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/tiendas"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/publicaciones"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v16H5zM8 8h8M8 12h8M8 16h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/comunidad"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='8' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='17' cy='9' r='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M3 20c0-4 2-6 6-6s6 2 6 6M15 15c3 0 5 2 5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/atencion"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H8l-4 4V5Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 9a3 3 0 1 1 4 2.8V13M12 16h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/pie-pagina"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4zM4 15h16M8 18h3M14 18h2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/logo"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='9' cy='10' r='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m5 18 5-5 3 3 2-2 4 4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.admin-sidebar nav a[href="/admin/papelera"] {
    --admin-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 14h10l1-14M10 11v6M14 11v6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
    .home-promo-track,
    .home-promo-slide img,
    .home-promo-copy { transition: none; }
}

/* Central control for the home-page quick access cards. */
.admin-shortcut-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(135deg, rgba(66,216,117,.12), rgba(11,18,14,.96));
    border: 1px solid rgba(66,216,117,.24);
    border-radius: 1.5rem;
}
.admin-shortcut-summary h2 { margin-bottom: .5rem; color: #fff; }
.admin-shortcut-summary p:last-child { margin: 0; color: rgba(255,255,255,.55); }
.admin-shortcut-counter { display: grid; min-width: 12rem; text-align: center; }
.admin-shortcut-counter strong { color: #42d875; font-size: 3rem; line-height: 1; }
.admin-shortcut-counter span { margin-top: .45rem; color: rgba(255,255,255,.65); }
.admin-shortcut-list { display: grid; gap: .8rem; }
.admin-shortcut-card,
.admin-shortcut-library article {
    display: grid;
    grid-template-columns: auto 5rem minmax(0,1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #101512;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1rem;
}
.admin-shortcut-card.is-unavailable { border-color: rgba(245,188,66,.35); }
.admin-shortcut-card img,
.admin-shortcut-library img { width: 5rem; height: 4.25rem; object-fit: cover; border-radius: .7rem; }
.admin-shortcut-position { display: grid; width: 2rem; height: 2rem; place-items: center; color: #42d875; background: rgba(66,216,117,.1); border-radius: 50%; font-weight: 800; }
.admin-shortcut-card > div,
.admin-shortcut-library article > div { display: grid; min-width: 0; gap: .2rem; }
.admin-shortcut-card small,
.admin-shortcut-library small { color: #42d875; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.admin-shortcut-card strong,
.admin-shortcut-library strong { overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.admin-shortcut-status { width: max-content; margin-top: .2rem; padding: .15rem .5rem; border-radius: 999px; font-size: .7rem; font-weight: 800; }
.admin-shortcut-status.is-visible { color: #65e78f; background: rgba(66,216,117,.1); }
.admin-shortcut-status.is-warning { color: #f5cf70; background: rgba(245,188,66,.1); }
.admin-shortcut-actions { display: flex !important; flex-direction: row !important; gap: .45rem !important; }
.admin-shortcut-actions button { min-width: 2.5rem; min-height: 2.5rem; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.16); border-radius: .65rem; }
.admin-shortcut-actions button:disabled { opacity: .25; }
.admin-shortcut-actions .danger { padding: 0 .8rem; color: #ff9999; border-color: rgba(255,100,100,.3); }
.admin-shortcut-library { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.admin-shortcut-library article { grid-template-columns: 4.5rem minmax(0,1fr) auto; }
.admin-shortcut-library img { width: 4.5rem; height: 4rem; }
.admin-shortcut-library .admin-primary-button { width: auto; margin: 0; }
.admin-empty-state { padding: 2rem; color: rgba(255,255,255,.5); text-align: center; border: 1px dashed rgba(255,255,255,.16); border-radius: 1rem; }
@media (max-width: 767.98px) {
    .admin-shortcut-summary { align-items: stretch; flex-direction: column; }
    .admin-shortcut-counter { text-align: left; }
    .admin-shortcut-card { grid-template-columns: 2rem 4rem minmax(0,1fr); }
    .admin-shortcut-card img { width: 4rem; height: 3.5rem; }
    .admin-shortcut-actions { grid-column: 2 / -1; justify-content: flex-end; }
    .admin-shortcut-library { grid-template-columns: 1fr; }
}

.admin-trash-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(135deg, rgba(66,216,117,.1), rgba(11,18,14,.96));
    border: 1px solid rgba(66,216,117,.22);
    border-radius: 1.5rem;
}
.admin-trash-intro h2 { margin-bottom: .5rem; color: #fff; }
.admin-trash-intro p { margin: 0; color: rgba(255,255,255,.56); }
.admin-trash-intro > span { flex: 0 0 auto; padding: .55rem .8rem; color: #7be99e; background: rgba(66,216,117,.1); border-radius: 999px; font-size: .72rem; font-weight: 800; }
.admin-trash-list { display: grid; gap: .85rem; }
.admin-trash-list article { display: grid; grid-template-columns: 5rem minmax(0,1fr) auto; align-items: center; gap: 1rem; padding: 1rem; background: #101512; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; }
.admin-trash-preview { display: grid; width: 5rem; height: 4.25rem; place-items: center; color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); border-radius: .7rem; }
.admin-trash-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.admin-trash-copy { display: grid; min-width: 0; gap: .2rem; }
.admin-trash-copy small { color: #42d875; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.admin-trash-copy strong { overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.admin-trash-copy p { margin: .15rem 0 0; color: rgba(255,255,255,.48); font-size: .72rem; }
.admin-trash-copy p.is-urgent { color: #f5cf70; }
.admin-trash-actions { display: flex; align-items: center; gap: .55rem; }
.admin-trash-actions form { margin: 0; }
.admin-trash-actions .admin-primary-button { width: auto; margin: 0; }
.admin-trash-actions .danger { min-height: 2.65rem; padding: .6rem .8rem; color: #ff9999; background: transparent; border: 1px solid rgba(255,100,100,.3); border-radius: .65rem; font-size: .7rem; font-weight: 800; }
.admin-trash-empty { display: grid; padding: 3rem 1rem; place-items: center; color: rgba(255,255,255,.48); text-align: center; border: 1px dashed rgba(255,255,255,.16); border-radius: 1rem; }
.admin-trash-empty span { display: grid; width: 3rem; height: 3rem; margin-bottom: .8rem; place-items: center; color: #42d875; background: rgba(66,216,117,.1); border-radius: 50%; }
.admin-trash-empty strong { color: #fff; }
.admin-trash-empty p { margin: .35rem 0 0; }
@media (max-width: 767.98px) {
    .admin-trash-intro { align-items: flex-start; flex-direction: column; }
    .admin-trash-list article { grid-template-columns: 4rem minmax(0,1fr); }
    .admin-trash-preview { width: 4rem; height: 3.5rem; }
    .admin-trash-actions { grid-column: 1 / -1; align-items: stretch; flex-direction: column; }
    .admin-trash-actions button { width: 100% !important; }
}

.admin-carousel-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(33, 140, 74, .22), rgba(255, 255, 255, .04));
    border: 1px solid rgba(66, 216, 117, .18);
    border-radius: 1.25rem;
}

.admin-carousel-intro h2 { margin-bottom: .4rem; }
.admin-carousel-intro p:last-child { margin: 0; color: rgba(255,255,255,.58); }
.admin-carousel-intro .admin-primary-button { flex: 0 0 auto; text-decoration: none; }
.admin-publication-tabs { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.admin-publication-tabs a { padding: .65rem .9rem; color: #fff; font-weight: 750; text-decoration: none; background: rgba(66,216,117,.1); border: 1px solid rgba(66,216,117,.28); border-radius: 999px; }
.admin-publication-tabs a:hover { background: rgba(66,216,117,.2); }
.admin-category-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin-bottom: 1.25rem; }
.admin-category-tabs button { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; color: rgba(255,255,255,.65); font-weight: 750; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.12); border-radius: .8rem; }
.admin-category-tabs button span { display: grid; min-width: 1.65rem; height: 1.65rem; padding: 0 .35rem; place-items: center; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); border-radius: 999px; font-size: .68rem; }
.admin-category-tabs button:hover { color: #fff; border-color: rgba(66,216,117,.36); }
.admin-category-tabs button.is-active { color: #071008; background: #42d875; border-color: #42d875; }
.admin-category-tabs button.is-active span { color: #fff; background: rgba(0,0,0,.25); }
.admin-new-publication-button { display: flex; width: 100%; margin: -.15rem 0 1.25rem; padding: 1rem 1.15rem; align-items: center; justify-content: center; gap: .45rem; color: #071008; font-size: .82rem; font-weight: 800; background: rgba(66,216,117,.92); border: 1px solid #42d875; border-radius: .8rem; }
.admin-new-publication-button:hover { color: #000; background: #57e486; }
.admin-new-publication-button span:first-child { font-size: 1.15rem; line-height: 1; }
.admin-new-publication-button b { text-transform: lowercase; }
.admin-carousel-card.is-category-hidden { display: none; }
[data-admin-category-empty][hidden] { display: none; }
.admin-content-section { padding-top: 1rem; scroll-margin-top: 1rem; }
.admin-content-section + .admin-content-section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; }
.admin-section-heading h2 { margin: 0; color: #fff; }
.admin-section-heading p:last-child { margin: .45rem 0 0; color: rgba(255,255,255,.52); }
.admin-section-heading .admin-primary-button { flex: 0 0 auto; text-decoration: none; }
.admin-empty-state { margin: 0; padding: 1.5rem; color: rgba(255,255,255,.58); background: rgba(255,255,255,.035); border: 1px dashed rgba(255,255,255,.15); border-radius: 1rem; }
.admin-carousel-list { display: grid; gap: 1.25rem; }
.admin-carousel-card { display: grid; grid-template-columns: minmax(15rem, 25rem) 1fr; overflow: hidden; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 1.25rem; }
.admin-carousel-card.is-inactive { opacity: .62; }
.admin-carousel-preview { position: relative; min-height: 22rem; background: #050805; }
.admin-carousel-preview img { width: 100%; height: 100%; object-fit: contain; }
.admin-history-preview { display: grid; place-items: center; }
.admin-history-preview > strong { color: rgba(66,216,117,.72); font-size: clamp(2.5rem,7vw,5rem); }
.admin-carousel-preview span { position: absolute; top: 1rem; left: 1rem; padding: .35rem .7rem; color: #fff; font-size: .72rem; font-weight: 750; background: rgba(0,0,0,.72); border: 1px solid rgba(66,216,117,.35); border-radius: 2rem; }
.admin-carousel-form { padding: 1.5rem; }
.admin-carousel-heading { display: flex; align-items: center; justify-content: space-between; }
.admin-carousel-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.admin-carousel-fields .wide { grid-column: 1 / -1; }
.admin-carousel-fields textarea { width: 100%; margin-top: .35rem; padding: .75rem .85rem; color: #fff; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.15); border-radius: .7rem; resize: vertical; }
.admin-framing { grid-column: 1 / -1; margin: .4rem 0 1rem; padding: 1rem; border: 1px solid rgba(66,216,117,.25); border-radius: 1rem; }
.admin-framing legend { float: none; width: auto; margin: 0; padding: 0 .35rem; color: #fff; font-size: .95rem; font-weight: 800; }
.admin-framing > p { margin: 0 0 1rem; color: rgba(255,255,255,.58); font-size: .78rem; }
.admin-framing-previews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, .42fr); align-items: start; gap: 1rem; }
.admin-frame-preview { position: relative; height: 14rem; margin: 0; overflow: hidden; background: #020403; border: 1px solid rgba(255,255,255,.13); border-radius: .8rem; }
.admin-frame-preview.is-mobile { width: 100%; max-width: 10rem; height: 14rem; justify-self: center; }
.admin-frame-preview img { width: 100%; height: 100%; }
.admin-frame-preview.is-empty img { display: none; }
.admin-frame-preview.is-empty::before { content: "Selecciona una imagen"; position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; color: rgba(255,255,255,.4); font-size: .72rem; text-align: center; }
.admin-frame-preview figcaption { position: absolute; z-index: 2; right: .5rem; bottom: .5rem; padding: .25rem .5rem; color: #fff; font-size: .65rem; font-weight: 750; background: rgba(0,0,0,.75); border-radius: 2rem; }
.admin-framing-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.admin-frame-controls { display: grid; gap: .65rem; padding: .85rem; background: rgba(255,255,255,.035); border-radius: .75rem; }
.admin-frame-controls > strong { color: #42d875; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.admin-frame-controls label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem .75rem; color: rgba(255,255,255,.72); font-size: .72rem; }
.admin-frame-controls select, .admin-frame-controls input[type="range"] { grid-column: 1 / -1; width: 100%; }
.admin-frame-controls output { color: #fff; font-weight: 750; }
.admin-form.admin-community-settings-form {
    grid-template-columns: 1fr;
    padding: 1.5rem;
}
.admin-form.admin-community-settings-form > .admin-primary-button {
    grid-column: 1;
    width: auto;
    min-height: 2.75rem;
    justify-self: start;
    align-self: start;
}
.admin-carousel-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: .5rem; padding: .75rem 1.25rem; background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.08); }
.admin-carousel-actions button { padding: .55rem .9rem; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: .6rem; }
.admin-carousel-actions button:disabled { opacity: .3; }
.admin-carousel-actions .danger { color: #ff9c9c; border-color: rgba(255,80,80,.28); }

.admin-faq-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.admin-faq-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
}

.admin-faq-actions .admin-danger-button {
    width: auto;
    min-height: 2.35rem;
    padding: .45rem .85rem;
    color: #ff8d8d;
    background: rgba(190, 35, 35, .1);
    border: 1px solid rgba(255, 73, 73, .35);
    border-radius: .55rem;
    font-size: .72rem;
    font-weight: 750;
    cursor: pointer;
}

.admin-faq-actions .admin-danger-button:hover {
    color: #fff;
    background: #b92f35;
    border-color: #d94a50;
}

.admin-faq-actions .admin-primary-button {
    width: auto;
}
.admin-carousel-new { margin-top: 1.5rem; padding: 1.5rem; color: #fff; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 1.25rem; }
.admin-carousel-new summary { cursor: pointer; font-size: 1.1rem; font-weight: 750; }
.admin-carousel-new form { margin-top: 1.25rem; }
.admin-externally-controlled-form:not([open]) { display: none; }
.admin-externally-controlled-form > summary { display: none; }

@media (max-width: 991.98px) {
    .admin-category-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-carousel-card { grid-template-columns: 1fr; }
    .admin-carousel-preview { min-height: 28rem; }
}

@media (max-width: 575.98px) {
    .admin-category-tabs { display: flex; margin-right: -1rem; overflow-x: auto; padding-right: 1rem; scrollbar-width: thin; }
    .admin-category-tabs button { min-width: 9.5rem; flex: 0 0 auto; }
    .admin-carousel-intro { align-items: stretch; flex-direction: column; }
    .admin-section-heading { align-items: stretch; flex-direction: column; }
    .admin-carousel-fields { grid-template-columns: 1fr; }
    .admin-carousel-fields .wide { grid-column: auto; }
    .admin-framing-previews { grid-template-columns: 1fr; }
    .admin-frame-preview { height: 11rem; }
    .admin-frame-preview.is-mobile { width: 8rem; height: 11rem; }
    .admin-framing-controls { grid-template-columns: 1fr; }
    .admin-carousel-actions { justify-content: stretch; flex-wrap: wrap; }
}

.whatsapp-sales {
    position: fixed;
    z-index: 1050;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    display: grid;
    justify-items: end;
    gap: .8rem;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.whatsapp-sales-trigger {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem 1rem .65rem .7rem;
    color: #fff;
    background: #111713;
    border: 1px solid rgba(71, 230, 111, .42);
    border-radius: 999px;
    box-shadow: 0 .8rem 2.2rem rgba(0,0,0,.35);
    transition: transform .2s ease, background .2s ease;
    pointer-events: auto;
}

.whatsapp-sales-trigger:hover { background: #19241d; transform: translateY(-2px); }
.whatsapp-sales-trigger > span { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; background: #25d366; border-radius: 50%; }
.whatsapp-sales-trigger svg, .whatsapp-sales-mark svg { width: 1.65rem; height: 1.65rem; fill: #fff; }
.whatsapp-sales-trigger strong { font-size: .9rem; }
.whatsapp-sales-panel { width: min(23rem, calc(100vw - 2rem)); padding: 1rem; color: #fff; background: rgba(10,15,12,.97); border: 1px solid rgba(71,230,111,.25); border-radius: 1.15rem; box-shadow: 0 1.4rem 4rem rgba(0,0,0,.48); opacity: 0; visibility: hidden; transform: translateY(.8rem) scale(.97); transform-origin: right bottom; transition: opacity .2s ease, transform .2s ease, visibility .2s; backdrop-filter: blur(14px); }
.whatsapp-sales.is-open .whatsapp-sales-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.whatsapp-sales-panel header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; }
.whatsapp-sales-mark { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; background: #25d366; border-radius: .8rem; }
.whatsapp-sales-panel header small, .whatsapp-sales-panel header strong { display: block; }
.whatsapp-sales-panel header small { color: rgba(255,255,255,.48); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.whatsapp-sales-panel header button { color: rgba(255,255,255,.62); font-size: 1.65rem; background: none; border: 0; }
.whatsapp-sales-panel > p { margin: .9rem 0; color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.45; }
.whatsapp-sales-options { display: grid; gap: .55rem; }
.whatsapp-sales-options a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; padding: .85rem; color: #fff; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: .85rem; text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.whatsapp-sales-options a:hover { color: #fff; background: rgba(37,211,102,.09); border-color: rgba(37,211,102,.38); }
.whatsapp-sales-icon { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; color: #66e98d; background: rgba(37,211,102,.1); border-radius: .65rem; }
.whatsapp-sales-options strong, .whatsapp-sales-options small { display: block; }
.whatsapp-sales-options small { margin-top: .12rem; color: rgba(255,255,255,.5); font-size: .73rem; }
.whatsapp-sales-arrow { color: #66e98d; font-size: 1.5rem; }
.whatsapp-sales-note { display: block; margin-top: .75rem; color: rgba(255,255,255,.35); font-size: .68rem; text-align: center; }

@media (max-width: 575.98px) {
    .whatsapp-sales { right: .75rem; bottom: .75rem; left: .75rem; }
    .whatsapp-sales-trigger { padding: .55rem; }
    .whatsapp-sales-trigger strong { display: none; }
    .whatsapp-sales-panel { width: 100%; }
}

.home-discover-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .22);
}

.home-shortcuts {
    padding: 3.5rem 0;
    color: #fff;
    background: linear-gradient(180deg, #080c09, #0d1510);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.home-shortcuts-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.home-shortcuts-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 750; }
.home-shortcuts-heading p:last-child { margin: 0; color: rgba(255,255,255,.48); }
.home-shortcuts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.home-shortcut { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; min-width: 0; padding: .8rem; color: #fff; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 1rem; text-decoration: none; transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.home-shortcut:hover { color: #fff; background: rgba(43,185,86,.1); border-color: rgba(66,216,117,.3); transform: translateY(-3px); }
.home-shortcut-thumb { display: block; width: 4.5rem; height: 4rem; overflow: hidden; background: #101813; border-radius: .75rem; }
.home-shortcut-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.82); transition: transform .25s ease, filter .25s ease; }
.home-shortcut:hover .home-shortcut-thumb img { filter: saturate(1) brightness(.95); transform: scale(1.05); }
.home-shortcut-thumb-parts img { object-position: center; }
.home-shortcut-copy { min-width: 0; }
.home-shortcut-copy small, .home-shortcut-copy strong { display: block; }
.home-shortcut-copy small { margin-bottom: .18rem; overflow: hidden; color: #55d779; font-size: .68rem; font-weight: 700; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.home-shortcut-copy strong { font-size: .88rem; line-height: 1.3; }
.home-shortcut-arrow { color: rgba(255,255,255,.45); font-size: 1.1rem; }

@media (max-width: 1199.98px) { .home-shortcuts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .home-shortcuts { padding: 2.5rem 0; }
    .home-shortcuts-heading { align-items: start; flex-direction: column; gap: .5rem; }
    .home-shortcuts-grid { display: flex; margin-right: calc(var(--bs-gutter-x) * -.5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .home-shortcut { flex: 0 0 17rem; scroll-snap-align: start; }
}

.home-offer {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    overflow: hidden;
    color: #fff;
    background: #050806;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.home-offer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 8%;
    width: 32rem;
    height: 32rem;
    background: radial-gradient(circle, rgba(41,174,83,.1), transparent 68%);
    transform: translateY(-45%);
    pointer-events: none;
}

.home-offer .container { position: relative; z-index: 1; }
.home-offer-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr); align-items: end; gap: clamp(2rem, 7vw, 8rem); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.home-offer-eyebrow { margin: 0 0 .85rem; color: #42d875; font-size: .82rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.home-offer-heading h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 760; line-height: .98; letter-spacing: -.045em; }
.home-offer-heading > p { max-width: 32rem; margin: 0 0 .3rem; color: rgba(255,255,255,.52); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.65; }
.home-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.home-offer-item { min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border-right: 1px solid rgba(255,255,255,.12); transition: background .25s ease; }
.home-offer-item:last-child { border-right: 0; }
.home-offer-item:hover { background: rgba(52,201,98,.055); }
.home-offer-icon { display: grid; width: 3.2rem; height: 3.2rem; margin-bottom: 2.4rem; color: #4cdd7a; place-items: center; background: rgba(50,198,94,.08); border: 1px solid rgba(76,221,122,.24); border-radius: 50%; }
.home-offer-icon svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-offer-item h3 { margin: 0 0 .8rem; font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
.home-offer-item p { margin: 0; color: rgba(255,255,255,.46); font-size: .9rem; line-height: 1.6; }
.home-offer-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 2rem; }
.home-offer-footer ul { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; color: rgba(255,255,255,.72); list-style: none; }
.home-offer-footer li { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .72rem; background: rgba(255,255,255,.035); border: 1px solid rgba(66,216,117,.18); border-radius: 999px; font-size: .76rem; font-weight: 650; white-space: nowrap; }
.home-offer-footer li::before { content: "✓"; display: grid; width: 1.15rem; height: 1.15rem; color: #071008; font-size: .67rem; font-weight: 900; place-items: center; background: #42d875; border-radius: 50%; }
.home-offer-footer li strong { color: #55df7f; }
.home-offer-link { display: inline-flex; align-items: center; gap: .7rem; padding: .8rem 1.1rem; color: #fff; font-weight: 700; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.home-offer-link span { color: #55df7f; font-size: 1.15rem; }
.home-offer-link:hover { color: #071009; background: #50dc7b; border-color: #50dc7b; }
.home-offer-link:hover span { color: inherit; }

@media (max-width: 991.98px) {
    .home-offer-heading { grid-template-columns: 1fr; gap: 1.25rem; }
    .home-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-offer-item:nth-child(2) { border-right: 0; }
    .home-offer-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (max-width: 767.98px) {
    .home-offer-footer { align-items: stretch; flex-direction: column; }
    .home-offer-footer ul { align-items: center; flex-direction: row; gap: .5rem; }
    .home-offer-footer li { padding: .45rem .65rem; font-size: .71rem; }
    .home-offer-link { align-self: flex-start; }
}

@media (max-width: 575.98px) {
    .home-offer { padding: 4rem 0; }
    .home-offer-heading h2 br { display: none; }
    .home-offer-grid { grid-template-columns: 1fr; }
    .home-offer-item { display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; padding: 1.35rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .home-offer-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
    .home-offer-item:last-child { border-bottom: 0; }
    .home-offer-icon { grid-row: 1 / 3; width: 3rem; height: 3rem; margin: 0; }
    .home-offer-item h3 { margin: .1rem 0 .35rem; }
}

.home-discover-card::after {
    content: "";
    position: absolute;
    width: 13rem;
    height: 13rem;
    right: -7rem;
    bottom: -8rem;
    border: 2.5rem solid rgba(255, 255, 255, .025);
    border-radius: 50%;
    pointer-events: none;
}

.home-discover-intro {
    color: rgba(255, 255, 255, .48);
    font-size: .9rem;
}

.home-discover-links {
    position: relative;
    z-index: 1;
    display: grid;
}

.home-discover-link {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr) 2rem;
    align-items: center;
    gap: .85rem;
    padding: 1.15rem 0;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .11);
    text-decoration: none;
    transition: padding .2s ease, color .2s ease;
}

.home-discover-link:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.home-discover-link:hover {
    padding-right: .25rem;
    padding-left: .25rem;
    color: #fff;
}

.home-discover-thumb {
    position: relative;
    display: block;
    width: 3.75rem;
    height: 3.25rem;
    overflow: hidden;
    background: rgba(66, 216, 117, .08);
    border: 1px solid rgba(66, 216, 117, .25);
    border-radius: .75rem;
}

.home-discover-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(33, 140, 74, .08), rgba(3, 8, 5, .28));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.home-discover-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.82) brightness(.82);
    transition: filter .2s ease, transform .25s ease;
}

.home-discover-link:first-child .home-discover-thumb img {
    object-fit: contain;
    padding: .3rem;
    background: rgba(255, 255, 255, .92);
}

.home-discover-thumb-parts img {
    object-fit: contain;
    padding: .15rem;
    background: #102218;
}

.home-discover-link:hover .home-discover-thumb img {
    filter: saturate(1) brightness(.95);
    transform: scale(1.06);
}

.home-discover-copy small,
.home-discover-copy strong {
    display: block;
}

.home-discover-copy small {
    margin-bottom: .2rem;
    color: rgba(255, 255, 255, .42);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.home-discover-copy strong {
    font-size: .98rem;
    line-height: 1.35;
}

.home-discover-arrow {
    display: grid;
    width: 1.85rem;
    height: 1.85rem;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .08);
    border: 1px solid rgba(66, 216, 117, .22);
    border-radius: 50%;
    transition: background .2s ease, transform .2s ease;
}

.home-discover-link:hover .home-discover-arrow {
    background: rgba(66, 216, 117, .18);
    transform: translate(2px, -2px);
}

.feature-line {
    display: flex;
    flex-direction: column;
    color: #fff;
    border-left: 3px solid var(--km-green);
    padding-left: 1rem;
}

.feature-line span {
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
}

.section-kicker {
    color: var(--km-green);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.about-hero {
    color: var(--km-white);
    background:
        radial-gradient(circle at 85% 20%, rgba(33, 140, 74, .22), transparent 22rem),
        linear-gradient(120deg, var(--km-black), #111914);
}

.purpose-area {
    position: relative;
    overflow: hidden;
    color: var(--km-white);
    background:
        radial-gradient(circle at 82% 35%, rgba(33, 140, 74, .2), transparent 25rem),
        linear-gradient(125deg, #07100b, #152a1d 55%, #09120d);
}

.purpose-area::after {
    content: "";
    position: absolute;
    width: 28rem;
    height: 28rem;
    right: -12rem;
    bottom: -18rem;
    border: 5rem solid rgba(255, 255, 255, .025);
    border-radius: 50%;
    pointer-events: none;
}

.purpose-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 2rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .2);
    backdrop-filter: blur(12px);
}

.purpose-card::before {
    content: "";
    position: absolute;
    width: .35rem;
    height: 4.5rem;
    top: 9rem;
    left: 0;
    background: var(--km-green);
}

.purpose-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 5.5rem;
    height: 5.5rem;
    fill: none;
    stroke: var(--km-white);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .16;
}

.purpose-label {
    color: var(--km-green);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.purpose-copy {
    color: rgba(255, 255, 255, .68);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.65;
}

.values-section {
    color: var(--km-white);
    background:
        radial-gradient(circle at 50% 0, rgba(33, 140, 74, .13), transparent 30rem),
        var(--km-black);
}

.values-intro {
    max-width: 42rem;
    color: rgba(255, 255, 255, .68) !important;
}

.value-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: rgba(255, 255, 255, .82);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
    border: 1px solid rgba(255, 255, 255, .18);
    border-top: .3rem solid;
    border-radius: 2rem !important;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .28);
    backdrop-filter: blur(12px);
}

.value-card::after {
    content: "";
    position: absolute;
    width: 12rem;
    height: 12rem;
    right: -7rem;
    bottom: -8rem;
    border: 2.5rem solid color-mix(in srgb, var(--value-color) 12%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.value-card > * {
    position: relative;
    z-index: 1;
}

.value-card-icon-shell {
    width: 6.5rem;
    height: 6.5rem;
    padding: .4rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--value-color);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.value-card-icon-crop {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
}

.value-card-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(-90deg) scale(1.24);
}

.value-card h3 {
    color: var(--value-color);
}

.value-card-collaboration {
    --value-color: #d5aa00;
    border-top-color: var(--value-color);
}

.value-card-commitment {
    --value-color: #e5792f;
    border-top-color: var(--value-color);
}

.value-card-respect {
    --value-color: #5f9f49;
    border-top-color: var(--value-color);
}

.value-card-integrity {
    --value-color: #438fc1;
    border-top-color: var(--value-color);
}

.feature-card {
    border: 1px solid #e9e9e9;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .08);
}

.feature-number {
    color: var(--km-green);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.card-link {
    color: var(--km-green-dark);
    font-weight: 700;
    text-decoration: none;
}

.card-link:hover {
    color: var(--km-black);
}

.cta-section {
    background: var(--km-black);
}

.history-page {
    scroll-margin-top: 4rem;
    color: var(--km-white);
    background:
        radial-gradient(circle at 80% 10%, rgba(33, 140, 74, .18), transparent 28rem),
        #050706;
}

.history-intro {
    background: linear-gradient(180deg, #050706, #0b100d);
}

.history-intro h1 {
    letter-spacing: -.04em;
}

.history-kicker,
.history-stop {
    color: #42d875;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.history-kicker {
    font-size: .85rem;
}

.history-instruction {
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
}

.history-journey {
    --journey-progress: 0%;
    position: relative;
    min-height: 43rem;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
        #080b09;
    background-size: 3rem 3rem;
}

.history-toolbar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.5rem;
}

.history-years {
    display: flex;
    gap: .35rem;
    overflow-x: auto;
    padding: .25rem;
    scrollbar-width: none;
}

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

.history-year {
    color: rgba(255, 255, 255, .45);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: .55rem .75rem;
    font-size: .85rem;
    font-weight: 800;
    transition: color .2s ease, border-color .2s ease;
}

.history-year:hover,
.history-year.is-active {
    color: #42d875;
    border-bottom-color: #42d875;
}

.history-arrows {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-shrink: 0;
}

.history-arrow {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    color: var(--km-white);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    font-size: 1.15rem;
    transition: background .2s ease, border-color .2s ease;
}

.history-arrow:hover:not(:disabled) {
    background: var(--km-green);
    border-color: var(--km-green);
}

.history-arrow:disabled {
    cursor: not-allowed;
    opacity: .3;
}

.history-counter {
    min-width: 4.5rem;
    color: rgba(255, 255, 255, .42);
    font-size: .8rem;
    text-align: center;
}

.history-counter strong {
    color: var(--km-white);
    font-size: 1rem;
}

.history-track {
    position: relative;
    z-index: 2;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
}

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

.history-track:focus-visible {
    outline: 2px solid #42d875;
    outline-offset: -2px;
}

.history-slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.history-slide-inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(22rem, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
    min-height: 31rem;
    padding-top: 3rem;
    padding-bottom: 7rem;
}

.history-copy {
    position: relative;
    z-index: 2;
    max-width: 34rem;
}

.history-stop {
    display: block;
    margin-bottom: .7rem;
    font-size: .7rem;
}

.history-year-display {
    margin-bottom: -.2rem;
    color: #42d875;
    font-size: clamp(4rem, 9vw, 7.5rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .9;
}

.history-copy h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.history-copy > p:last-child {
    color: rgba(255, 255, 255, .68);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
}

.history-photo {
    position: relative;
    width: min(100%, 36rem);
    aspect-ratio: 4 / 3;
    margin: 0;
    justify-self: end;
}

.history-photo::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 1px solid rgba(66, 216, 117, .45);
    border-radius: 3rem 1rem 3rem 1rem;
}

.history-photo img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
    border-radius: 3rem 1rem 3rem 1rem;
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, .5);
}

.history-brand-mark {
    width: min(100%, 45rem);
    margin: 0;
    justify-self: center;
}

.history-brand-mark img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: lighten;
}

.history-brand-mark figcaption {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .4);
    font-size: .8rem;
    font-style: normal;
    letter-spacing: .24em;
    text-align: center;
    text-transform: uppercase;
}

.history-road {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 2.2rem;
    left: 0;
    height: 4.75rem;
    pointer-events: none;
    background: #151816;
    border-top: 2px solid rgba(66, 216, 117, .55);
    border-bottom: 2px solid rgba(66, 216, 117, .55);
    box-shadow: 0 0 1.5rem rgba(33, 140, 74, .12);
}

.history-road-line {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .65) 0 3rem, transparent 3rem 5rem);
}

.history-motorcycle {
    position: absolute;
    bottom: 1.25rem;
    left: clamp(1.5rem, var(--journey-progress), calc(100% - 7rem));
    width: 7.5rem;
    color: #42d875;
    filter: drop-shadow(0 0 .65rem rgba(66, 216, 117, .55));
    transform: translateX(-50%);
    transition: left .5s ease;
}

.history-motorcycle svg {
    display: block;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.history-motorcycle .motor-wheel {
    fill: #111713;
    stroke-width: 5;
}

.history-motorcycle .motor-hub {
    fill: currentColor;
    stroke: none;
}

.history-motorcycle .motor-frame,
.history-motorcycle .motor-fork,
.history-motorcycle .motor-exhaust {
    stroke-width: 4;
}

.history-motorcycle .motor-seat {
    stroke: #dce4df;
    stroke-width: 6;
}

.history-motorcycle .motor-fill {
    fill: currentColor;
    stroke: #101411;
    stroke-width: 2;
}

.history-motorcycle .motor-engine {
    fill: #dce4df;
}

.history-motorcycle .motor-light {
    fill: #f5dc62;
}

.history-slide-future .history-slide-inner {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
}

.history-future-copy {
    max-width: 48rem;
}

.history-future-copy h2 {
    margin: 1rem 0 1.5rem;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.06em;
    line-height: .85;
    text-transform: uppercase;
}

.history-future-copy h2 strong {
    color: #42d875;
}

.history-future-copy > p {
    color: rgba(255, 255, 255, .68);
    font-size: 1.1rem;
}

.history-future-line {
    margin: 1.5rem 0 2rem;
    color: #42d875 !important;
    font-size: .85rem !important;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.branch-page {
    color: var(--km-white);
    background: #070a08;
}

.stores-page,
.stores-grid-section {
    background: #07100b;
    color: #fff;
}

.stores-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 82% 18%, rgba(33, 199, 91, .18), transparent 34%), linear-gradient(135deg, #030604, #101a14);
    border-bottom: 1px solid rgba(73, 255, 135, .18);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.store-card {
    overflow: hidden;
    border: 1px solid rgba(115, 151, 126, .3);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(16, 27, 20, .98), rgba(7, 12, 9, .98));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
    transition: transform .25s ease, border-color .25s ease;
}

.store-card:hover {
    transform: translateY(-4px);
    border-color: rgba(55, 224, 112, .65);
}

.store-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #020403;
}

.store-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.store-card:hover .store-card-image img { transform: scale(1.025); }

.store-card-body { padding: 1.5rem; }
.store-card-body h2 { margin-bottom: .7rem; font-weight: 800; }
.store-card-body > p:not(.branch-card-label) { min-height: 3rem; color: rgba(255,255,255,.62); }
.store-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.store-card-meta a { color: #55e889; font-weight: 700; text-decoration: none; }
.store-card-link { white-space: nowrap; }
.stores-back-link { color: #55e889; font-weight: 700; text-decoration: none; }
.stores-back-link:hover { color: #fff; }
.store-phone { margin: 0 0 1.5rem; color: rgba(255,255,255,.62); }
.store-phone span { display: block; margin-bottom: .2rem; color: rgba(255,255,255,.45); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.store-phone a { color: #70ee9c; font-size: 1.2rem; font-weight: 750; text-decoration: none; }

.admin-store-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.admin-store-selector a {
    display: flex;
    min-height: 10rem;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(145deg, rgba(28, 46, 34, .96), rgba(9, 16, 11, .98));
    border: 1px solid rgba(83, 225, 132, .24);
    border-radius: 1.25rem;
    transition: transform .2s ease, border-color .2s ease;
}

.admin-store-selector a:hover { transform: translateY(-3px); border-color: #42d875; }
.admin-store-selector span { color: #42d875; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.admin-store-selector strong { margin: .45rem 0; font-size: 1.7rem; }
.admin-store-selector small { color: rgba(255,255,255,.55); }

.admin-store-tabs {
    display: flex;
    gap: .6rem;
    margin: 0 0 1.5rem;
    padding: .55rem;
    overflow-x: auto;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 1rem;
}

.admin-store-tabs a {
    padding: .65rem .9rem;
    color: rgba(255,255,255,.65);
    border-radius: .65rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.admin-store-tabs a.active { color: #07100b; background: #42d875; }
.admin-form textarea { resize: vertical; }

.admin-publish-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(66,216,117,.07);
    border: 1px solid rgba(66,216,117,.22);
    border-radius: 1rem;
}
.admin-publish-bar div { display: flex; flex-direction: column; gap: .15rem; }
.admin-publish-bar small { color: rgba(255,255,255,.55); }
.admin-publish-bar form { margin: 0; }
.admin-add-store { border-style: dashed !important; }
.admin-new-store-panel:not(.is-open) { display: none; }
.admin-new-store-panel.is-open { animation: admin-new-store-reveal .22s ease-out; }

@keyframes admin-new-store-reveal {
    from { opacity: 0; transform: translateY(-.5rem); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estadísticas internas: panel ligero basado en resúmenes diarios. */
.analytics-admin-main { display: grid; align-content: start; gap: 1.25rem; }
.analytics-admin-main .admin-topbar { margin-bottom: 0; }
.analytics-admin-main .admin-topbar p:last-child { margin: .35rem 0 0; color: rgba(255,255,255,.45); }
.analytics-periods { display: flex; gap: .55rem; }
.analytics-periods a { padding: .55rem .9rem; color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 800; text-decoration: none; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; }
.analytics-periods a.active { color: #07100b; background: #42d875; border-color: #42d875; }
.analytics-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.analytics-summary article { display: grid; gap: .3rem; padding: 1.35rem; background: linear-gradient(145deg, rgba(32,67,44,.38), rgba(255,255,255,.025)); border: 1px solid rgba(66,216,117,.18); border-radius: 1rem; }
.analytics-summary span { color: #54df82; font-size: .7rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.analytics-summary strong { color: #fff; font-size: clamp(2rem,4vw,3.25rem); line-height: 1; }
.analytics-summary small { color: rgba(255,255,255,.42); }
.analytics-summary em { margin-top: .35rem; color: rgba(255,255,255,.38); font-size: .64rem; font-style: normal; }
.analytics-summary em.is-positive { color: #67e892; }
.analytics-summary em.is-negative { color: #ff9c9c; }
.analytics-derived { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.analytics-derived article { display: grid; gap: .55rem; padding: 1rem 1.1rem; background: rgba(255,255,255,.022); border: 1px solid rgba(255,255,255,.08); border-radius: .85rem; }
.analytics-derived span { color: rgba(255,255,255,.45); font-size: .65rem; line-height: 1.35; }
.analytics-derived strong { color: #fff; font-size: 1.35rem; }
.analytics-panel { padding: 1.35rem; background: rgba(255,255,255,.028); border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; }
.analytics-panel > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.analytics-panel h2 { margin: .15rem 0 0; color: #fff; font-size: 1.15rem; }
.analytics-panel > header > small { max-width: 22rem; color: rgba(255,255,255,.38); text-align: right; }
.analytics-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1rem; }
.analytics-legend span { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.42); font-size: .62rem; }
.analytics-legend span::before { content: ""; width: .85rem; height: .25rem; background: #42d875; border-radius: 1rem; }
.analytics-legend span:nth-child(2)::before { height: .12rem; background: #e4c655; }
.analytics-legend span:nth-child(3)::before { height: .12rem; background: #70a9ff; }
.analytics-chart-shell { overflow-x: auto; border-top: 1px solid rgba(255,255,255,.06); }
.analytics-chart-plot { position: relative; min-width: max(100%, calc(var(--chart-days) * 1.8rem)); }
.analytics-chart { display: flex; min-height: 13rem; align-items: end; gap: clamp(.2rem,.7vw,.65rem); padding: 1rem .25rem 0; }
.analytics-chart-lines { position: absolute; z-index: 2; top: 1rem; right: .85rem; bottom: 1.65rem; left: .85rem; width: calc(100% - 1.7rem); height: calc(100% - 2.65rem); overflow: visible; pointer-events: none; }
.analytics-chart-lines polyline { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.analytics-chart-lines .moving-average { stroke: #e4c655; }
.analytics-chart-lines .linear-trend { stroke: #70a9ff; stroke-dasharray: 5 4; opacity: .85; }
.analytics-day { display: grid; min-width: 1.25rem; height: 11rem; flex: 1 0 1.25rem; grid-template-rows: 1fr auto; gap: .5rem; }
.analytics-day > div { display: flex; min-height: 7rem; align-items: end; padding: 0 .12rem; background: linear-gradient(to top, rgba(66,216,117,.035), transparent); border-radius: .35rem; }
.analytics-day > div span { display: block; width: 100%; min-height: .2rem; background: linear-gradient(to top, #239e50, #58eb88); border-radius: .3rem .3rem .1rem .1rem; box-shadow: 0 0 1rem rgba(66,216,117,.13); }
.analytics-day small { color: rgba(255,255,255,.33); font-size: .54rem; text-align: center; white-space: nowrap; }
.analytics-chart-stats { display: grid; margin-top: 1rem; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; }
.analytics-chart-stats span { display: grid; gap: .2rem; padding: .65rem .75rem; color: rgba(255,255,255,.38); font-size: .6rem; background: rgba(255,255,255,.02); border-radius: .65rem; }
.analytics-chart-stats strong { color: rgba(255,255,255,.8); font-size: .72rem; }
.analytics-analysis > header > strong { color: #70a9ff; font-size: .78rem; }
.analytics-analysis dl { display: grid; margin: 0; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .65rem; }
.analytics-analysis dl div { padding: .85rem; background: rgba(255,255,255,.022); border: 1px solid rgba(255,255,255,.06); border-radius: .7rem; }
.analytics-analysis dt { min-height: 2rem; color: rgba(255,255,255,.4); font-size: .62rem; font-weight: 500; }
.analytics-analysis dd { margin: .35rem 0 0; color: #fff; font-size: .9rem; font-weight: 800; }
.analytics-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.analytics-ranking { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.analytics-ranking li { display: grid; gap: .45rem; }
.analytics-ranking li > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.analytics-ranking strong { overflow: hidden; color: rgba(255,255,255,.82); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-ranking span { color: rgba(255,255,255,.4); font-size: .65rem; white-space: nowrap; }
.analytics-ranking li > small { color: rgba(112,169,255,.72); font-size: .58rem; }
.analytics-ranking i, .analytics-devices i { display: block; height: .3rem; overflow: hidden; background: rgba(255,255,255,.06); border-radius: 1rem; }
.analytics-ranking b, .analytics-devices b { display: block; height: 100%; background: #42d875; border-radius: inherit; }
.analytics-devices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.analytics-devices article { display: grid; grid-template-columns: 1fr auto; gap: .7rem; padding: 1rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); border-radius: .8rem; }
.analytics-devices strong { color: rgba(255,255,255,.72); font-size: .75rem; }
.analytics-devices span { color: #fff; font-weight: 850; }
.analytics-devices i { grid-column: 1 / -1; }
.analytics-forecast > header { align-items: center; }
.analytics-confidence { padding: .42rem .7rem; border: 1px solid rgba(66,216,117,.28); border-radius: 2rem; color: #42d875; font-size: .72rem; font-weight: 800; }
.analytics-forecast-highlight { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .35rem 1rem; padding: 1rem 1.1rem; margin-bottom: 1rem; border: 1px solid rgba(66,216,117,.18); border-radius: .9rem; background: linear-gradient(135deg,rgba(66,216,117,.1),rgba(66,216,117,.02)); }
.analytics-forecast-highlight span { grid-column: 1 / -1; color: rgba(255,255,255,.58); font-size: .75rem; }
.analytics-forecast-highlight strong { color: #fff; font-size: 1.25rem; text-transform: capitalize; }
.analytics-forecast-highlight b { color: #42d875; font-size: 1rem; }
.analytics-forecast-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: .55rem; }
.analytics-forecast-days article { display: grid; justify-items: center; gap: .35rem; color: rgba(255,255,255,.65); }
.analytics-forecast-days article > span { font-size: .72rem; font-weight: 800; text-transform: capitalize; }
.analytics-forecast-days article > strong { color: #fff; font-size: .9rem; }
.analytics-forecast-days i { position: relative; width: 100%; height: 5rem; overflow: hidden; border-radius: .45rem; background: rgba(255,255,255,.04); }
.analytics-forecast-days i b { position: absolute; inset: auto 0 0; min-height: 2px; border-radius: .45rem; background: linear-gradient(180deg,#42d875,#169747); }
.analytics-forecast-days small { font-size: .65rem; }
.analytics-forecast-note { margin: .9rem 0 0; color: rgba(255,255,255,.45); font-size: .7rem; }
.analytics-empty { margin: 0; padding: 2rem 1rem; color: rgba(255,255,255,.35); text-align: center; border: 1px dashed rgba(255,255,255,.1); border-radius: .8rem; }
.analytics-privacy-note { margin: 0; color: rgba(255,255,255,.3); font-size: .66rem; text-align: center; }

@media (max-width: 767.98px) {
    .analytics-summary, .analytics-grid, .analytics-derived { grid-template-columns: 1fr; }
    .analytics-devices { grid-template-columns: 1fr; }
    .analytics-panel > header { align-items: flex-start; flex-direction: column; }
    .analytics-panel > header > small { text-align: left; }
    .analytics-legend { justify-content: flex-start; }
    .analytics-chart-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .analytics-analysis dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .analytics-forecast-days { gap: .3rem; }
    .analytics-forecast-highlight { grid-template-columns: 1fr; }
    .analytics-forecast-highlight b { justify-self: start; }
}

@media (max-width: 767.98px) {
    .stores-grid { grid-template-columns: 1fr; }
    .store-card-body > p:not(.branch-card-label) { min-height: 0; }
    .store-card-meta { align-items: flex-start; flex-direction: column; }
    .admin-store-selector { grid-template-columns: 1fr; }
    .billing-returning-heading { grid-template-columns: auto 1fr; }
    .billing-demo-badge { grid-column: 2; justify-self: start; }
    .billing-returning-step, .billing-verification { grid-template-columns: 1fr; }
}

.branch-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 42%, rgba(33, 140, 74, .24), transparent 28rem),
        linear-gradient(120deg, #050706, #122118);
}

.branch-hero .container {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.branch-kicker,
.branch-card-label {
    color: #42d875;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.branch-hero h1 {
    max-width: 10ch;
    letter-spacing: -.045em;
}

.branch-details {
    color: var(--km-white);
    background:
        radial-gradient(circle at 18% 20%, rgba(33, 140, 74, .2), transparent 24rem),
        radial-gradient(circle at 85% 75%, rgba(66, 216, 117, .09), transparent 25rem),
        linear-gradient(135deg, #07100b, #101b14 52%, #070a08);
}

.branch-card {
    position: relative;
    overflow: hidden;
    color: var(--km-white);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 2rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .12),
        0 1.5rem 4rem rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}

.branch-card::before {
    content: "";
    position: absolute;
    width: 15rem;
    height: 15rem;
    top: -8rem;
    right: -6rem;
    background: rgba(66, 216, 117, .13);
    border-radius: 50%;
    filter: blur(1rem);
    pointer-events: none;
}

.branch-card::after {
    content: "";
    position: absolute;
    width: .3rem;
    height: 4rem;
    top: 3.8rem;
    left: 0;
    background: #42d875;
    border-radius: 0 .25rem .25rem 0;
    box-shadow: 0 0 1.5rem rgba(66, 216, 117, .45);
}

.branch-card > * {
    position: relative;
    z-index: 1;
}

.branch-location-card {
    display: grid;
    grid-template-columns: minmax(20rem, 1.25fr) minmax(18rem, .75fr);
    align-items: center;
    gap: 1.5rem;
    min-height: 25rem;
    padding: 1.25rem;
}

.branch-location-copy {
    align-self: center;
}

.branch-location-copy {
    grid-area: location-copy;
}

.branch-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.branch-live-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .42rem;
    padding: .36rem .62rem;
    color: rgba(255, 255, 255, .68);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.branch-live-status i {
    width: .42rem;
    height: .42rem;
    flex: 0 0 auto;
    background: #ff8d8d;
    border-radius: 50%;
}

.branch-live-status.is-open i {
    background: #42d875;
    box-shadow: 0 0 .5rem rgba(66, 216, 117, .5);
}

.branch-status-message {
    margin: -1rem 0 1.35rem;
    color: rgba(255, 255, 255, .48);
    font-size: .75rem;
}

.branch-location-photo {
    grid-area: location-photo;
    width: 100%;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.5rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 1rem 2.5rem rgba(0, 0, 0, .25);
}

.branch-location-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.branch-location-card {
    grid-template-areas:
        "location-copy location-photo"
        "location-hours location-hours";
}

.branch-location-hours {
    grid-area: location-hours;
    display: grid;
    grid-template-columns: minmax(11rem, .45fr) minmax(0, 1.55fr);
    align-items: center;
    gap: 2rem;
    margin-top: .25rem;
    padding: 1.5rem 1.75rem;
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.4rem;
}

.branch-location-hours .branch-hours {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.branch-location-hours .branch-hours > div {
    min-height: 4.25rem;
    padding: .25rem 1.25rem;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
    border-right: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 0;
}

.branch-location-hours .branch-hours > div:first-child {
    padding-left: 0;
}

.branch-location-hours .branch-hours > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.branch-location-hours .branch-hours dd {
    text-align: left;
}

.branch-address {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: normal;
    line-height: 1.7;
}

.branch-reference {
    color: rgba(255, 255, 255, .56);
}

.branch-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.branch-location-actions .btn {
    min-width: 9.5rem;
}

.branch-hours {
    display: grid;
    gap: .35rem;
}

.branch-hours > div {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.branch-hours > div:last-child {
    border-bottom: 0;
}

.branch-hours dt {
    font-weight: 700;
}

.branch-hours dd {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    text-align: right;
}

.branch-hours .branch-closed {
    color: #ff8d8d;
    font-weight: 700;
}

.branch-contact {
    background:
        radial-gradient(circle at 50% 0, rgba(33, 140, 74, .14), transparent 28rem),
        #070a08;
}

.branch-contact-card {
    display: flex;
    min-height: 7.5rem;
    align-items: center;
    gap: 1.1rem;
    padding: 1.5rem;
    color: var(--km-white);
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.5rem;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.branch-contact-card:hover {
    color: var(--km-white);
    background: rgba(33, 140, 74, .15);
    border-color: rgba(66, 216, 117, .65);
    transform: translateY(-4px);
}

.branch-contact-icon {
    display: grid;
    width: 3.1rem;
    height: 3.1rem;
    flex: 0 0 auto;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .1);
    border: 1px solid rgba(66, 216, 117, .3);
    border-radius: 50%;
    font-size: 1.15rem;
}

.branch-contact-icon svg {
    width: 1.3rem;
    height: 1.3rem;
    fill: currentColor;
}

.branch-contact-card small,
.branch-contact-card strong {
    display: block;
}

.branch-contact-card small {
    margin-bottom: .25rem;
    color: rgba(255, 255, 255, .5);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.branch-contact-card strong {
    font-size: 1.15rem;
}

.activities-page {
    display: flex;
    flex-direction: column;
    color: var(--km-white);
    background: #070a08;
}

.activities-hero {
    order: 1;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 38%, rgba(33, 140, 74, .28), transparent 25rem),
        linear-gradient(120deg, #020403, #122118);
}

.activities-hero::after {
    content: "";
    position: absolute;
    width: 24rem;
    height: 24rem;
    right: -8rem;
    bottom: -17rem;
    border: 4rem solid rgba(255, 255, 255, .035);
    border-radius: 50%;
}

.activities-hero .container {
    position: relative;
    z-index: 1;
}

.activities-kicker,
.weekly-video-label {
    color: #42d875;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.activities-hero h1 {
    letter-spacing: -.055em;
    line-height: .95;
}

.activities-hero h1 span {
    color: #42d875;
}

.activities-hero .lead {
    max-width: 45rem;
}

.hero,
.about-hero,
.history-intro,
.branch-hero,
.activities-hero,
.news-hero,
.help-hero,
.mailbox-hero,
.billing-hero {
    position: relative;
    overflow: hidden;
}

.hero > .container,
.about-hero > .container,
.history-intro > .container,
.branch-hero > .container,
.activities-hero > .container,
.news-hero > .container,
.help-hero > .container,
.mailbox-hero > .container,
.billing-hero > .container {
    position: relative;
    z-index: 1;
}

.km-hero-mark {
    position: absolute;
    top: 50%;
    right: max(1.5rem, calc((100vw - 82.5rem) / 2));
    z-index: 0;
    display: grid;
    width: clamp(8rem, 12vw, 10rem);
    aspect-ratio: 1;
    place-content: center;
    text-align: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1rem rgba(255, 255, 255, .018);
    opacity: .72;
    pointer-events: none;
    transform: translateY(-50%);
}

.km-hero-mark span {
    color: #42d875;
    font-size: clamp(2rem, 3.5vw, 2.7rem);
    font-weight: 900;
    letter-spacing: -.08em;
}

.km-hero-mark small {
    color: rgba(255, 255, 255, .48);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero .km-hero-mark,
.help-hero .km-hero-mark,
.news-hero .km-hero-mark {
    left: 50%;
    right: auto;
    width: clamp(13rem, 22vw, 18rem);
    opacity: .1;
    transform: translate(-50%, -50%);
}

.weekly-videos {
    order: 3;
    background:
        radial-gradient(circle at 15% 25%, rgba(33, 140, 74, .15), transparent 22rem),
        #070a08;
}

.activities-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.activities-heading > p {
    max-width: 23rem;
    text-align: right;
}

.video-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.5rem;
}

.weekly-video {
    overflow: hidden;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.75rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .24);
}

.weekly-video-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111;
}

.weekly-video .weekly-video-media {
    aspect-ratio: 16 / 10;
}

.weekly-video-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 55%);
}

.weekly-video-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.weekly-video-media:hover img {
    transform: scale(1.035);
}

.video-platform {
    position: absolute;
    z-index: 2;
    top: 1rem;
    left: 1rem;
    padding: .45rem .75rem;
    color: #fff;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.video-platform-youtube {
    background: #e32626;
}

.video-platform-tiktok {
    background: #111;
    border: 1px solid rgba(255, 255, 255, .5);
}

.video-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    color: #fff;
    background: #ff0033;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow:
        0 .75rem 2rem rgba(0, 0, 0, .4),
        0 0 0 .35rem rgba(255, 0, 51, .18);
    transform: translate(-50%, -50%);
}

.weekly-video-copy {
    padding: 1.5rem 1.75rem 1.75rem;
}

.weekly-video-copy h3 {
    margin-bottom: .75rem;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 750;
}

.weekly-video-copy > p:not(.weekly-video-label) {
    color: rgba(255, 255, 255, .58);
}

.activities-link {
    color: #42d875;
    font-weight: 800;
    text-decoration: none;
}

.activities-link:hover {
    color: #fff;
}

.tiktok-live-note {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: .65rem;
    margin: 1.25rem auto 0;
    padding: .65rem 1rem;
    color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    font-size: .82rem;
}

.tiktok-live-note strong {
    color: rgba(255, 255, 255, .9);
}

.tiktok-live-dot {
    width: .5rem;
    height: .5rem;
    flex: 0 0 auto;
    background: #ff0033;
    border-radius: 50%;
    box-shadow: 0 0 0 .25rem rgba(255, 0, 51, .12);
}

.activity-stories {
    order: 2;
    background:
        radial-gradient(circle at 85% 75%, rgba(66, 216, 117, .08), transparent 24rem),
        linear-gradient(135deg, #07100b, #111b14);
}

.activity-stories-heading > p:last-child {
    max-width: 38rem;
}

.experience-timeline {
    display: grid;
    gap: 1.25rem;
}

.experience-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 1.75rem;
}

.experience-upcoming {
    display: grid;
    min-height: 25rem;
    grid-template-columns: minmax(20rem, 1.15fr) minmax(19rem, .85fr);
    background:
        radial-gradient(circle at 100% 0, rgba(66, 216, 117, .14), transparent 18rem),
        rgba(255, 255, 255, .055);
}

.experience-upcoming-image {
    display: grid;
    min-height: 25rem;
    padding: 2.5rem;
    place-items: center;
    background: #f7f7f7;
}

.experience-upcoming-image img {
    width: min(100%, 34rem);
    height: auto;
    object-fit: contain;
}

.experience-upcoming .experience-card-copy {
    display: flex;
    padding: clamp(2rem, 5vw, 4rem);
    flex-direction: column;
    justify-content: center;
}

.experience-card-copy > p:last-child {
    max-width: 34rem;
    color: rgba(255, 255, 255, .62);
    line-height: 1.7;
}

.experience-past {
    min-height: 13rem;
    background: #0d1510;
}

.experience-past::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 6, 4, .96) 0%, rgba(3, 6, 4, .8) 52%, rgba(3, 6, 4, .2));
}

.experience-past > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    opacity: .8;
    transition: transform .4s ease;
}

.experience-past:hover > img {
    transform: scale(1.025);
}

.experience-past .experience-card-copy {
    position: relative;
    z-index: 2;
    max-width: 48rem;
    padding: 2rem 6rem 2rem 2.25rem;
}

.experience-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 2.25rem;
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .1);
    border: 1px solid rgba(66, 216, 117, .35);
    border-radius: 50%;
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.activities-social {
    background:
        radial-gradient(circle at 50% 0, rgba(33, 140, 74, .2), transparent 25rem),
        #070a08;
}

.activities-social-links {
    display: grid;
    max-width: 54rem;
    margin: 0 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
}

.activities-social-link {
    display: flex;
    min-height: 4.5rem;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 1rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.activities-social-link svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: currentColor;
}

.activities-social-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .42);
    transform: translateY(-3px);
}

.social-youtube:hover {
    background: rgba(255, 0, 51, .2);
    border-color: rgba(255, 0, 51, .65);
}

.social-facebook:hover {
    background: rgba(24, 119, 242, .2);
    border-color: rgba(24, 119, 242, .65);
}

.social-instagram:hover {
    background: linear-gradient(135deg, rgba(131, 58, 180, .24), rgba(253, 29, 29, .2), rgba(252, 176, 69, .18));
    border-color: rgba(225, 48, 108, .65);
}

.social-tiktok:hover {
    background: rgba(37, 244, 238, .12);
    border-color: rgba(254, 44, 85, .65);
}

.news-page {
    color: #fff;
    background: #070a08;
}

.news-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 35%, rgba(33, 140, 74, .25), transparent 25rem),
        linear-gradient(120deg, #020403, #122118);
}

.news-kicker,
.news-eyebrow,
.news-card-category {
    color: #42d875;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.news-hero h1 {
    max-width: 10ch;
    letter-spacing: -.05em;
    line-height: .95;
}

.news-hero h1 span {
    color: #42d875;
}

.news-featured-section {
    padding: clamp(4rem, 7vw, 7rem) 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(33, 140, 74, .16), transparent 22rem),
        #070a08;
}

.promotion-center-heading { margin-bottom: 2rem; }
.promotion-center-heading h2 { max-width: 15ch; margin: 0; font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 780; line-height: .98; letter-spacing: -.045em; }
.promotion-center-panel { position: relative; overflow: hidden; background: rgba(255,255,255,.025); border: 1px solid rgba(66,216,117,.4); border-radius: 1.25rem; box-shadow: 0 1.2rem 4rem rgba(0,0,0,.28), 0 0 2.5rem rgba(66,216,117,.07); }
.promotion-center-panel::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: .3rem; background: #42d875; content: ""; }
.promotion-center-summary { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-width: 18rem; align-items: center; gap: 1.25rem; padding: 1.45rem 1.65rem; background: radial-gradient(circle at 12% 50%, rgba(66,216,117,.18), transparent 22rem), linear-gradient(110deg, rgba(16,38,24,.94), rgba(12,18,14,.98)); cursor: pointer; list-style: none; transition: filter .2s ease; }
.promotion-center-summary::-webkit-details-marker { display: none; }
.promotion-center-summary:hover { filter: brightness(1.12); }
.promotion-center-summary:focus-visible { outline: 3px solid #42d875; outline-offset: -3px; }
.promotion-center-summary-icon { display: grid; width: 3.4rem; aspect-ratio: 1; place-items: center; color: #061009; background: #42d875; border-radius: 50%; box-shadow: 0 0 0 .45rem rgba(66,216,117,.1), 0 0 2rem rgba(66,216,117,.2); font-size: 1.3rem; font-weight: 850; }
.promotion-center-summary-copy, .promotion-center-summary-copy > * { display: block; }
.promotion-center-summary-copy small { margin-bottom: .2rem; color: #62e98a; font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.promotion-center-summary-copy strong { color: #fff; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.2; }
.promotion-center-summary-copy > span { margin-top: .3rem; color: rgba(255,255,255,.52); font-size: .76rem; }
.promotion-center-summary-action { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; color: #061009; background: #42d875; border: 1px solid #42d875; border-radius: 999px; box-shadow: 0 .5rem 1.5rem rgba(66,216,117,.16); }
.promotion-center-summary-action b { font-size: .76rem; white-space: nowrap; }
.promotion-center-toggle { width: .75rem; height: .75rem; border-right: 2px solid #061009; border-bottom: 2px solid #061009; transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s ease; }
.promotion-center-panel[open] .promotion-center-toggle { transform: rotate(225deg) translate(-2px, -2px); }
.promotion-center-panel-content { padding: 1rem; border-top: 1px solid rgba(255,255,255,.09); animation: promotion-panel-in .25s ease both; }
@keyframes promotion-panel-in { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }
.promotion-center-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.promotion-center-card { display: grid; min-height: 27rem; overflow: hidden; grid-template-columns: minmax(11rem, .78fr) minmax(0, 1.22fr); background: #121713; border: 1px solid rgba(255,255,255,.11); border-radius: 1.4rem; transition: border-color .25s ease, transform .25s ease; }
.promotion-center-card:hover { border-color: rgba(68,218,115,.3); transform: translateY(-3px); }
.promotion-center-image { position: relative; min-width: 0; padding: 0; overflow: hidden; background: #080b09; border: 0; cursor: zoom-in; }
.promotion-center-image::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 42%); content: ""; }
.promotion-center-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.promotion-center-card:hover .promotion-center-image img { transform: scale(1.025); }
.promotion-center-image > span { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; display: flex; justify-content: space-between; color: #fff; font-size: .74rem; font-weight: 750; }
.promotion-center-image b { color: #59e583; font-size: 1rem; }
.promotion-center-copy { display: flex; min-width: 0; padding: clamp(1.3rem, 2.5vw, 2rem); flex-direction: column; }
.promotion-center-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.promotion-center-meta span { padding: .35rem .65rem; color: #67e98d; background: rgba(56,200,99,.1); border: 1px solid rgba(67,222,112,.22); border-radius: 999px; font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.promotion-center-meta small { color: rgba(255,255,255,.25); font-size: .72rem; }
.promotion-center-copy h3 { margin: 0 0 .75rem; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.promotion-center-copy > p { margin: 0; color: rgba(255,255,255,.52); font-size: .86rem; line-height: 1.6; }
.promotion-center-detail { margin-top: auto; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.promotion-center-detail span, .promotion-center-detail strong { display: block; }
.promotion-center-detail span { margin-bottom: .2rem; color: rgba(255,255,255,.35); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.promotion-center-detail strong { font-size: .8rem; }
.promotion-center-card-actions { display: flex; align-items: center; gap: 1rem; }
.promotion-center-card-actions button, .promotion-center-card-actions a { padding: 0; color: #5ae481; font-size: .78rem; font-weight: 750; background: none; border: 0; text-decoration: none; }
.promotion-center-card-actions button:hover, .promotion-center-card-actions a:hover { color: #fff; }
.promotion-center-empty { padding: 3rem; text-align: center; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); border-radius: 1.4rem; }
.promotion-center-empty-standalone { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 1.25rem; text-align: left; background: linear-gradient(120deg,rgba(66,216,117,.09),rgba(255,255,255,.025)); border-color: rgba(66,216,117,.22); }
.promotion-center-empty-standalone > span { display: grid; width: 3.5rem; aspect-ratio: 1; place-items: center; color: #071009; background: #42d875; border-radius: 50%; font-size: 1.25rem; font-weight: 850; }
.promotion-center-empty-standalone strong { display: block; margin-bottom: .3rem; color: #fff; font-size: 1.1rem; }
.promotion-center-empty-standalone p { margin: 0; color: rgba(255,255,255,.5); font-size: .8rem; }
.promotion-center-empty-standalone a { padding: .7rem 1rem; color: #42d875; font-size: .76rem; font-weight: 800; text-decoration: none; border: 1px solid rgba(66,216,117,.28); border-radius: 999px; white-space: nowrap; }
.promotion-center-empty-standalone a:hover { color: #071009; background: #42d875; }
.promotion-center-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1rem; padding: 1.25rem 1.5rem; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); border-radius: 1rem; }
.promotion-center-footer p { display: flex; gap: 1rem; margin: 0; font-size: .76rem; }
.promotion-center-footer p strong { color: #59df80; white-space: nowrap; }
.promotion-center-footer p span { color: rgba(255,255,255,.44); }
.promotion-center-footer > a { color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.promotion-center-footer > a span { margin-left: .4rem; color: #59df80; }
.promotion-preview { width: min(94vw, 70rem); max-width: none; height: min(92dvh, 60rem); max-height: none; padding: 0; overflow: hidden; color: #fff; background: #050806; border: 1px solid rgba(255,255,255,.2); border-radius: 1.3rem; box-shadow: 0 2rem 8rem rgba(0,0,0,.82); }
.promotion-preview::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(8px); }
.promotion-preview > [data-promotion-close] { position: absolute; z-index: 2; top: .8rem; right: .8rem; display: grid; width: 2.6rem; height: 2.6rem; color: #fff; font-size: 1.7rem; place-items: center; background: rgba(5,8,6,.85); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.promotion-preview figure { position: relative; display: flex; width: 100%; height: 100%; margin: 0; flex-direction: column; }
.promotion-preview img { width: 100%; min-height: 0; flex: 1; object-fit: contain; }
.promotion-preview figcaption { position: absolute; z-index: 2; bottom: 1rem; left: 4.2rem; max-width: calc(100% - 5.2rem); padding: .65rem .9rem; color: rgba(255,255,255,.9); font-size: .72rem; font-weight: 650; line-height: 1.4; background: rgba(4,10,6,.9); border: 1px solid rgba(66,216,117,.3); border-radius: .75rem; box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.28); opacity: 0; transform: translateY(.4rem); visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.promotion-preview.is-caption-visible figcaption { opacity: 1; transform: translateY(0); visibility: visible; }
.image-preview-info { position: absolute; z-index: 3; bottom: 1rem; left: 1rem; display: grid; width: 2.55rem; height: 2.55rem; padding: 0; color: #fff; font-family: Georgia, serif; font-size: 1rem; font-weight: 800; font-style: italic; place-items: center; background: rgba(4,10,6,.88); border: 1px solid rgba(66,216,117,.42); border-radius: 50%; box-shadow: 0 .45rem 1.4rem rgba(0,0,0,.3); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.image-preview-info:hover, .image-preview-info[aria-expanded="true"] { color: #071008; background: #42d875; border-color: #42d875; }
.image-preview-info:focus-visible { outline: 3px solid rgba(66,216,117,.45); outline-offset: 3px; }

.news-featured {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(20rem, .9fr) minmax(22rem, 1.1fr);
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 2rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .25);
}

.news-featured-image {
    min-height: 31rem;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured-copy {
    display: flex;
    padding: clamp(2rem, 5vw, 4rem);
    flex-direction: column;
    justify-content: center;
}

.news-featured-copy > p:not(.news-eyebrow) {
    color: rgba(255, 255, 255, .62);
    line-height: 1.7;
}

.news-featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .75rem;
}

.parts-finder-section {
    background:
        radial-gradient(circle at 50% 45%, rgba(33, 140, 74, .16), transparent 30rem),
        linear-gradient(135deg, #07100b, #0c1710);
}

.parts-finder {
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 50% 56%, rgba(66, 216, 117, .08), transparent 25rem),
        rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .22);
}

.parts-finder-heading > p:last-child {
    max-width: 42rem;
}

.motorcycle-picker {
    position: relative;
    max-width: 62rem;
    margin: 2rem auto .75rem;
}

.motorcycle-illustration {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 1.5rem 1.5rem rgba(0, 0, 0, .32));
}

.part-hotspot {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: .72rem;
    text-decoration: none;
    transform: translate(-50%, -50%);
}

.part-hotspot > span {
    position: relative;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
    background: #ffb000;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow:
        0 0 0 .35rem rgba(255, 176, 0, .2),
        0 0 1rem rgba(255, 176, 0, .65);
}

.part-hotspot > span::after {
    content: "";
    position: absolute;
    inset: -.55rem;
    border: 1px solid rgba(255, 176, 0, .55);
    border-radius: 50%;
    animation: partPulse 2.2s ease-out infinite;
}

.part-hotspot > strong {
    max-width: 8.5rem;
    padding: .42rem .6rem;
    background: rgba(2, 6, 3, .82);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .55rem;
    line-height: 1.2;
    white-space: nowrap;
    opacity: .72;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}

.part-hotspot:hover {
    color: #fff;
}

.part-hotspot:hover > strong,
.part-hotspot:focus-visible > strong {
    border-color: rgba(66, 216, 117, .7);
    opacity: 1;
    transform: translateY(-2px);
}

.hotspot-suspension {
    top: 57%;
    left: 64%;
}

.hotspot-electrical {
    top: 27%;
    left: 28%;
}

.hotspot-engine {
    top: 65%;
    left: 43%;
}

.hotspot-transmission {
    top: 68%;
    left: 67%;
}

.hotspot-tires {
    top: 72%;
    left: 85%;
}

.hotspot-brakes {
    top: 72%;
    left: 15%;
}

.parts-mobile-list {
    display: none;
}

.parts-finder-help {
    color: rgba(255, 255, 255, .45);
    font-size: .78rem;
    text-align: center;
}

@keyframes partPulse {
    from {
        opacity: .7;
        transform: scale(.7);
    }
    to {
        opacity: 0;
        transform: scale(1.45);
    }
}

.news-tag {
    display: inline-flex;
    width: fit-content;
    padding: .42rem .68rem;
    color: #fff;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-featured-copy > .news-tag {
    margin-bottom: 1.75rem;
}

.news-tag-promo {
    background: #218c4a;
}

.news-tag-product {
    background: #176b37;
}

.news-tag-brand {
    background: #315f43;
}

.news-grid-section {
    background:
        radial-gradient(circle at 85% 70%, rgba(66, 216, 117, .08), transparent 24rem),
        linear-gradient(135deg, #07100b, #111b14);
}

.kingmoto-updates {
    background:
        radial-gradient(circle at 12% 16%, rgba(66, 216, 117, .11), transparent 24rem),
        linear-gradient(145deg, #07100b, #0c1510 55%, #070a08);
}

.kingmoto-updates-heading > p:last-child {
    max-width: 31rem;
}

.kingmoto-update-filters {
    display: flex;
    gap: .55rem;
    margin-bottom: 1.4rem;
    padding-bottom: .15rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.kingmoto-update-filters::-webkit-scrollbar { display: none; }

.kingmoto-update-filters button {
    padding: .62rem 1rem;
    color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.kingmoto-update-filters button:hover,
.kingmoto-update-filters button.is-active {
    color: #071009;
    background: #42d875;
    border-color: #42d875;
}

.kingmoto-update-filters button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.kingmoto-updates-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.kingmoto-updates-grid > [data-update-item].is-filtered-out { display: none; }
.kingmoto-updates-empty { display: grid; min-height: 16rem; grid-column: 1 / -1; place-content: center; justify-items: center; gap: .65rem; padding: 2rem; color: rgba(255,255,255,.55); text-align: center; background: rgba(255,255,255,.025); border: 1px dashed rgba(255,255,255,.16); border-radius: 1.5rem; }
.kingmoto-updates-empty[hidden] { display: none; }
.kingmoto-updates-empty > span { display: grid; width: 3rem; height: 3rem; place-items: center; color: #42d875; font-size: 1.4rem; background: rgba(66,216,117,.09); border: 1px solid rgba(66,216,117,.2); border-radius: 50%; }
.kingmoto-updates-empty strong { color: #fff; font-size: clamp(1.15rem,2vw,1.5rem); }
.kingmoto-updates-empty p { margin: 0; font-size: .85rem; }

.kingmoto-update-featured {
    display: grid;
    min-height: 25rem;
    overflow: hidden;
    grid-column: 1 / -1;
    grid-template-columns: minmax(18rem, 1.1fr) minmax(18rem, .9fr);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(66, 216, 117, .25);
    border-radius: 1.75rem;
}

.kingmoto-update-featured .news-card-image { height: auto; min-height: 25rem; }
.kingmoto-update-featured .news-card-image img { object-fit: contain; background: #f5f5f5; }
.kingmoto-update-featured .news-card-copy { display: flex; padding: clamp(1.75rem, 4vw, 3.25rem); flex-direction: column; justify-content: center; }
.kingmoto-update-featured .news-card-copy h3 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.kingmoto-update-featured .news-card-copy > p { color: rgba(255, 255, 255, .56); line-height: 1.7; }
.kingmoto-update-card > img { width: 100%; height: 18rem; object-fit: cover; }
.kingmoto-update-card .news-card-copy > p:last-child { color: rgba(255, 255, 255, .55); }
.kingmoto-update-notice { grid-column: 1 / -1; }

.news-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.news-card {
    overflow: hidden;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.75rem;
}

.news-card-image {
    position: relative;
    display: block;
    width: 100%;
    height: 18rem;
    overflow: hidden;
}

.news-card-image-button {
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.news-card-image-button:focus-visible {
    outline: 3px solid #43dc76;
    outline-offset: -3px;
}

.news-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 6, 4, .62), transparent 60%);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-card-brands .news-card-image {
    background: #000;
}

.news-card-brands .news-card-image img {
    padding: 2rem;
    object-fit: contain;
    filter: brightness(.92);
}

.news-card:hover .news-card-image img {
    transform: scale(1.035);
}

.news-card-image .news-tag {
    position: absolute;
    z-index: 1;
    top: 1.25rem;
    left: 1.25rem;
}

.news-image-expand {
    position: absolute;
    z-index: 1;
    right: 1.25rem;
    bottom: 1.15rem;
    padding: .45rem .7rem;
    color: #fff;
    font-size: .72rem;
    font-weight: 750;
    background: rgba(3, 8, 5, .78);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.news-card-copy {
    padding: 1.75rem;
}

.news-card-copy h3,
.news-notice-card h3 {
    font-size: 1.5rem;
    font-weight: 750;
}

.news-card-copy > p:not(.news-card-category),
.news-notice-card p:not(.news-card-category) {
    color: rgba(255, 255, 255, .58);
}

.news-card-copy a {
    color: #42d875;
    font-weight: 800;
    text-decoration: none;
}

.news-notice-card {
    display: grid;
    grid-column: 1 / 3;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.5rem;
}

.news-notice-icon {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .1);
    border: 1px solid rgba(66, 216, 117, .3);
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.news-notice-card > a {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    color: #42d875;
    border: 1px solid rgba(66, 216, 117, .3);
    border-radius: 50%;
    font-size: 1.25rem;
    text-decoration: none;
}

.help-page {
    color: #fff;
    background: #070a08;
}

.help-hero {
    background:
        radial-gradient(circle at 82% 38%, rgba(33, 140, 74, .25), transparent 25rem),
        linear-gradient(120deg, #020403, #122118);
}

.help-kicker {
    color: #42d875;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.help-hero h1 {
    max-width: 11ch;
    letter-spacing: -.05em;
    line-height: .95;
}

.help-hero h1 span {
    color: #42d875;
}

.help-shortcuts {
    display: grid;
    padding: .75rem 1.5rem;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.5rem;
}

.help-shortcuts a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    color: rgba(255, 255, 255, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-weight: 700;
    text-decoration: none;
}

.help-shortcuts a:last-child {
    border-bottom: 0;
}

.help-shortcuts a span {
    color: #42d875;
}

.help-faq-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(33, 140, 74, .14), transparent 24rem),
        #070a08;
}

.help-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.help-section-heading > p {
    max-width: 22rem;
    text-align: right;
}

.help-faq-list {
    display: grid;
    gap: .75rem;
}

.help-faq-item {
    overflow: hidden;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 1rem;
}

.help-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
}

.help-faq-item summary::-webkit-details-marker {
    display: none;
}

.help-faq-item summary small,
.help-faq-item summary strong {
    display: block;
}

.help-faq-item summary small {
    margin-bottom: .25rem;
    color: #42d875;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.help-faq-item summary strong {
    font-size: 1.05rem;
}

.help-faq-toggle {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    place-items: center;
    color: #42d875;
    border: 1px solid rgba(66, 216, 117, .3);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: transform .2s ease;
}

.help-faq-item[open] .help-faq-toggle {
    transform: rotate(45deg);
}

.help-faq-answer {
    padding: 0 4.75rem 1.5rem 1.5rem;
    color: rgba(255, 255, 255, .62);
    line-height: 1.75;
}

.help-faq-answer p {
    margin-bottom: .75rem;
}

.help-faq-answer a {
    color: #42d875;
    font-weight: 800;
    text-decoration: none;
}

.help-information {
    background: linear-gradient(135deg, #07100b, #111b14);
}

.help-careers {
    display: grid;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background:
        radial-gradient(circle at 8% 0, rgba(66, 216, 117, .16), transparent 24rem),
        rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 2rem;
    grid-template-columns: minmax(0, .9fr) minmax(25rem, 1.1fr);
}

.help-careers-copy {
    display: flex;
    padding: clamp(2rem, 5vw, 4rem);
    flex-direction: column;
    justify-content: center;
}

.help-careers-copy h2 {
    max-width: 11ch;
    margin-bottom: 1.25rem;
    letter-spacing: -.035em;
}

.help-careers-copy > p:not(.help-kicker) {
    max-width: 34rem;
    color: rgba(255, 255, 255, .62);
    line-height: 1.7;
}

.help-vacancy-status {
    display: flex;
    max-width: 34rem;
    align-items: center;
    gap: .9rem;
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 1rem;
}

.help-vacancy-status > span {
    width: .7rem;
    height: .7rem;
    flex: 0 0 auto;
    background: #87908a;
    border: 3px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-sizing: content-box;
}

.help-vacancy-status small,
.help-vacancy-status strong {
    display: block;
}

.help-vacancy-status small {
    margin-bottom: .15rem;
    color: rgba(255, 255, 255, .42);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.help-vacancy-status strong {
    font-size: .88rem;
}

.help-careers-features {
    display: flex;
    margin: 1.25rem 0 0;
    padding: 0;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
}

.help-careers-features li {
    padding: .4rem .65rem;
    color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
}

.help-cv-form {
    margin: 0;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: #111914;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.help-careers-application {
    align-self: center;
    margin: .75rem;
    overflow: hidden;
    background: #111914;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .25);
}

.help-careers-application > summary {
    display: flex;
    min-height: 7rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
}

.help-careers-application > summary::-webkit-details-marker {
    display: none;
}

.help-careers-application > summary small,
.help-careers-application > summary strong {
    display: block;
}

.help-careers-application > summary small {
    margin-bottom: .3rem;
    color: #42d875;
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.help-careers-application > summary strong {
    font-size: 1.35rem;
}

.help-application-action {
    color: rgba(255, 255, 255, .5);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.help-application-action > span {
    align-items: center;
    gap: .55rem;
}

.help-application-action b {
    display: grid;
    width: 2.3rem;
    height: 2.3rem;
    place-items: center;
    color: #42d875;
    border: 1px solid rgba(66, 216, 117, .3);
    border-radius: 50%;
    font-size: 1.15rem;
}

.help-application-open {
    display: flex;
}

.help-application-close {
    display: none;
}

.help-careers-application[open] {
    align-self: stretch;
}

.help-careers-application[open] .help-application-open {
    display: none;
}

.help-careers-application[open] .help-application-close {
    display: flex;
}

.help-form-heading {
    margin-bottom: 1.5rem;
}

.help-form-heading > small {
    color: #42d875;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.help-form-heading > p {
    margin: 0;
    color: rgba(255, 255, 255, .5);
    font-size: .86rem;
}

.help-form-alert {
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border-radius: .8rem;
    font-size: .82rem;
    font-weight: 700;
}

.help-form-alert-success {
    color: #bff8d2;
    background: rgba(66, 216, 117, .1);
    border: 1px solid rgba(66, 216, 117, .3);
}

.help-form-alert-error {
    color: #ffd0d0;
    background: rgba(255, 91, 91, .1);
    border: 1px solid rgba(255, 91, 91, .3);
}

.help-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.help-form-grid label {
    color: rgba(255, 255, 255, .68);
    font-size: .72rem;
    font-weight: 750;
}

.help-form-grid input,
.help-form-grid textarea {
    display: block;
    width: 100%;
    margin-top: .35rem;
    padding: .75rem .85rem;
    color: #fff;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .7rem;
    outline: none;
}

.help-form-grid textarea {
    resize: vertical;
}

.help-form-grid input::placeholder,
.help-form-grid textarea::placeholder {
    color: rgba(255, 255, 255, .28);
}

.help-form-grid input:focus,
.help-form-grid textarea:focus,
.help-file-field:focus-within {
    border-color: #42d875;
    box-shadow: 0 0 0 .2rem rgba(66, 216, 117, .09);
}

.help-form-wide {
    grid-column: 1 / -1;
}

.help-file-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
    padding: .9rem 1rem;
    color: #fff;
    background: rgba(66, 216, 117, .06);
    border: 1px dashed rgba(66, 216, 117, .42);
    border-radius: .8rem;
}

.help-file-field strong,
.help-file-field small {
    display: block;
}

.help-file-field strong {
    font-size: .8rem;
}

.help-file-field small {
    margin-top: .15rem;
    color: rgba(255, 255, 255, .45);
    font-size: .68rem;
}

.help-file-field input {
    max-width: 14rem;
    color: rgba(255, 255, 255, .58);
    font-size: .7rem;
}

.help-file-field input::file-selector-button {
    margin-right: .7rem;
    padding: .5rem .7rem;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .5rem;
    font-weight: 700;
}

.help-consent {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .52);
    font-size: .7rem;
    line-height: 1.5;
}

.help-consent input {
    margin-top: .15rem;
    accent-color: #2ab661;
}

.help-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.help-info-grid-single {
    grid-template-columns: 1fr;
}

.help-info-card {
    position: relative;
    min-height: 19rem;
    overflow: hidden;
    padding: clamp(1.75rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 100% 0, rgba(66, 216, 117, .11), transparent 15rem),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.75rem;
}

.help-info-card > p:not(.help-kicker) {
    max-width: 31rem;
    color: rgba(255, 255, 255, .58);
    line-height: 1.7;
}

.help-info-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: rgba(66, 216, 117, .16);
    font-size: 3rem;
    font-weight: 850;
}

.help-draft-label {
    display: inline-flex;
    margin-top: 1rem;
    padding: .5rem .75rem;
    color: rgba(255, 255, 255, .52);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.help-contact {
    background: #070a08;
}

.help-contact-card {
    display: flex;
    min-height: 10rem;
    padding: 1.5rem;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 1.25rem;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.help-contact-card:hover {
    color: #fff;
    border-color: rgba(66, 216, 117, .6);
    transform: translateY(-3px);
}

.help-contact-card small {
    color: rgba(255, 255, 255, .45);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.help-contact-card strong {
    margin: .5rem 0 1rem;
    font-size: 1.3rem;
}

.help-contact-card span {
    color: #42d875;
    font-size: .8rem;
    font-weight: 800;
}

.help-mailbox {
    background:
        radial-gradient(circle at 50% 0, rgba(33, 140, 74, .16), transparent 24rem),
        #070a08;
}

.help-mailbox-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.5rem;
}

.mailbox-page {
    color: #fff;
    background: #070a08;
}

.mailbox-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 40%, rgba(66, 216, 117, .19), transparent 24rem),
        linear-gradient(120deg, #020403, #132219);
}

.mailbox-hero::after {
    content: "";
    position: absolute;
    width: 24rem;
    height: 24rem;
    right: -8rem;
    bottom: -14rem;
    border: 3.2rem solid rgba(255, 255, 255, .025);
    border-radius: 50%;
}

.mailbox-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 50rem;
}

.mailbox-kicker {
    color: #42d875;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mailbox-hero h1 {
    max-width: 10ch;
    letter-spacing: -.05em;
    line-height: .95;
}

.mailbox-hero h1 span {
    color: #42d875;
}

.mailbox-main {
    background:
        radial-gradient(circle at 10% 25%, rgba(33, 140, 74, .13), transparent 24rem),
        #070a08;
}

.mailbox-billing {
    background: #070a08;
}

.mailbox-billing-card {
    display: grid;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background:
        radial-gradient(circle at 0 50%, rgba(66, 216, 117, .13), transparent 16rem),
        rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 1.5rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.mailbox-billing-icon {
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .08);
    border: 1px solid rgba(66, 216, 117, .28);
    border-radius: 1.2rem;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.billing-page {
    color: #fff;
    background: #070a08;
}

.billing-hero {
    background:
        radial-gradient(circle at 78% 42%, rgba(66, 216, 117, .19), transparent 24rem),
        linear-gradient(120deg, #020403, #132219);
}

.billing-hero h1 {
    max-width: 12ch;
    letter-spacing: -.05em;
    line-height: .95;
}

.billing-hero h1 span {
    color: #42d875;
}

.billing-back {
    display: inline-flex;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .55);
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}

.billing-back:hover {
    color: #42d875;
}

.billing-main {
    background:
        radial-gradient(circle at 10% 22%, rgba(33, 140, 74, .13), transparent 23rem),
        #070a08;
}

.billing-layout {
    display: grid;
    overflow: hidden;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2rem;
    grid-template-columns: minmax(18rem, .68fr) minmax(31rem, 1.32fr);
}

.billing-guide {
    padding: clamp(2rem, 5vw, 3.5rem);
    background:
        radial-gradient(circle at 0 100%, rgba(66, 216, 117, .11), transparent 18rem),
        rgba(255, 255, 255, .025);
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.billing-guide ul {
    display: grid;
    gap: .8rem;
    margin: 1.75rem 0;
    padding: 0;
    list-style: none;
}

.billing-guide li {
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
}

.billing-guide li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #42d875;
    font-weight: 900;
}

.billing-note {
    padding: 1rem;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .85rem;
}

.billing-note strong,
.billing-note span {
    display: block;
}

.billing-returning {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(66,216,117,.1), rgba(255,255,255,.025));
    border: 1px solid rgba(66,216,117,.25);
    border-radius: 1.15rem;
}

.billing-returning-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 1rem; }
.billing-returning-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; color: #07100b; background: #42d875; border-radius: .85rem; font-size: 1.4rem; font-weight: 800; }
.billing-returning-heading small { color: #54df84; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.billing-returning-heading h3 { margin: .15rem 0 .25rem; font-size: 1.15rem; font-weight: 800; }
.billing-returning-heading p { margin: 0; color: rgba(255,255,255,.58); font-size: .88rem; }
.billing-demo-badge { padding: .3rem .55rem; color: rgba(255,255,255,.65); background: rgba(255,255,255,.07); border-radius: 2rem; font-size: .67rem; font-weight: 700; }
.billing-returning-step { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .8rem; margin-top: 1rem; }
.billing-returning-step label, .billing-verification label { color: rgba(255,255,255,.74); font-size: .78rem; font-weight: 700; }
.billing-returning-step input, .billing-verification input { width: 100%; margin-top: .35rem; padding: .72rem .85rem; color: #fff; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.17); border-radius: .65rem; }
.billing-returning-step .btn { min-height: 2.85rem; }
.billing-verification { display: grid; grid-template-columns: auto 1fr minmax(9rem,.4fr); align-items: center; gap: .85rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.billing-verification[hidden] { display: none; }
.billing-verification > span { color: #54df84; font-size: 1.25rem; }
.billing-verification strong { font-size: .88rem; }
.billing-verification p { margin: .2rem 0 0; color: rgba(255,255,255,.5); font-size: .78rem; }
.billing-remember-option { display: flex; align-items: flex-start; gap: .75rem; margin: .9rem 0 1.25rem; padding: 1rem; color: #fff; background: rgba(66,216,117,.065); border: 1px solid rgba(66,216,117,.18); border-radius: .9rem; cursor: pointer; }
.billing-remember-option input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: #42d875; }
.billing-remember-option span { display: flex; flex-direction: column; gap: .2rem; }
.billing-remember-option small { color: rgba(255,255,255,.55); font-weight: 400; line-height: 1.45; }

.billing-note strong {
    margin-bottom: .35rem;
    font-size: .78rem;
}

.billing-note span {
    color: rgba(255, 255, 255, .45);
    font-size: .7rem;
    line-height: 1.5;
}

.billing-review-dialog {
    width: min(92vw, 42rem);
    padding: 0;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(66, 216, 117, .13), transparent 18rem),
        #101813;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 1.5rem;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, .65);
}

.billing-review-dialog::backdrop {
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(5px);
}

.billing-review-content {
    position: relative;
    padding: clamp(1.5rem, 5vw, 2.5rem);
}

.billing-review-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    font-size: 1.25rem;
}

.billing-review-intro {
    color: rgba(255, 255, 255, .53);
}

.billing-review-list {
    display: grid;
    gap: .15rem;
    margin: 1.5rem 0;
}

.billing-review-list > div {
    display: grid;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    grid-template-columns: minmax(8rem, .7fr) minmax(0, 1.3fr);
    gap: 1rem;
}

.billing-review-list dt {
    color: rgba(255, 255, 255, .43);
    font-size: .7rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.billing-review-list dd {
    margin: 0;
    font-size: .82rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.billing-review-warning {
    padding: .8rem 1rem;
    color: #c7f8d7;
    background: rgba(66, 216, 117, .08);
    border: 1px solid rgba(66, 216, 117, .22);
    border-radius: .75rem;
    font-size: .72rem;
}

.billing-review-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.25rem;
}

.admin-login-page,
.admin-page {
    min-height: 100vh;
    margin: 0;
    color: #fff;
    background: #080c09;
    font-family: Arial, Helvetica, sans-serif;
}

.admin-login-shell {
    position: relative;
    display: grid;
    min-height: 100vh;
    padding: clamp(1.25rem, 4vw, 3rem);
    place-items: center;
    overflow: hidden;
    box-sizing: border-box;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 50%, rgba(42, 172, 88, .1), transparent 31rem),
        linear-gradient(145deg, #050706, #0c1510 52%, #050706);
}

.admin-login-shell::before,
.admin-login-shell::after {
    position: absolute;
    width: 26rem;
    height: 1px;
    z-index: -2;
    background: linear-gradient(90deg, transparent, rgba(66, 216, 117, .45), transparent);
    content: "";
}

.admin-login-shell::before {
    top: 14%;
    left: -5rem;
    transform: rotate(-24deg);
}

.admin-login-shell::after {
    right: -5rem;
    bottom: 15%;
    transform: rotate(24deg);
}

.admin-login-wheel {
    position: absolute;
    top: 50%;
    left: 34%;
    width: min(58vw, 46rem);
    aspect-ratio: 1;
    z-index: -1;
    border: clamp(.85rem, 2vw, 1.35rem) solid #080b09;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            #09100b 0 8%,
            #566059 8.4% 9.5%,
            transparent 9.8% 31%,
            rgba(118, 132, 122, .9) 31.3% 32.5%,
            transparent 32.8% 42%,
            rgba(66, 216, 117, .48) 42.3% 43%,
            #404a43 43.2% 45.2%,
            #090c0a 45.5% 48.5%,
            #69736c 48.8% 49.5%,
            #070908 49.8%),
        repeating-conic-gradient(
            from 7.5deg,
            rgba(163, 176, 167, .72) 0 1.8deg,
            transparent 1.3deg 15deg
        );
    box-shadow:
        inset 0 0 0 .22rem rgba(255, 255, 255, .12),
        inset 0 0 2.5rem rgba(0, 0, 0, .9),
        0 0 0 .18rem rgba(255, 255, 255, .14),
        0 0 2.5rem rgba(66, 216, 117, .08),
        0 2rem 6rem rgba(0, 0, 0, .62);
    transform: translate(-50%, -50%);
}

.admin-login-wheel::before,
.admin-login-wheel::after {
    position: absolute;
    inset: 4.5%;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    content: "";
}

.admin-login-wheel::after {
    inset: 9%;
    border-color: rgba(66, 216, 117, .35);
}

.admin-login-wheel-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 7.5rem;
    aspect-ratio: 1;
    place-items: center;
    color: rgba(66, 216, 117, .2);
    background: #080c09;
    border: .65rem solid #1d2520;
    border-radius: 50%;
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .06);
    transform: translate(-50%, -50%);
}

.admin-login-wheel-hub span {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -.08em;
}

.admin-login-card {
    position: relative;
    display: flex;
    width: min(100%, 32rem);
    margin-right: clamp(1rem, 5vw, 5rem);
    padding: clamp(1.75rem, 4vw, 3.1rem);
    justify-self: end;
    flex-direction: column;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(20, 27, 22, .91), rgba(7, 10, 8, .94));
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 1.5rem;
    box-shadow:
        0 1.5rem 5rem rgba(0, 0, 0, .62),
        inset 0 1px rgba(255, 255, 255, .04);
    box-sizing: border-box;
}

.admin-login-card::before {
    position: absolute;
    top: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #42d875, transparent);
    box-shadow: 0 0 1rem rgba(66, 216, 117, .45);
    content: "";
}

.admin-login-logo {
    position: relative;
    display: grid;
    width: 12rem;
    height: 3.6rem;
    margin: 0 auto 1.45rem;
    align-items: center;
    text-decoration: none;
}

.admin-login-logo::after {
    position: absolute;
    right: 8%;
    bottom: 0;
    left: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 216, 117, .75), transparent);
    box-shadow: 0 0 .7rem rgba(66, 216, 117, .42);
    content: "";
}

.admin-login-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 .6rem rgba(66, 216, 117, .14));
    transition: filter .2s ease, transform .2s ease;
}

.admin-login-logo:hover img {
    filter: drop-shadow(0 0 .8rem rgba(66, 216, 117, .3));
    transform: translateY(-1px);
}

.admin-eyebrow {
    margin: 0 0 .55rem;
    color: #42d875;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.admin-login-card h1 {
    margin: 0 0 .75rem;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -.04em;
}

.admin-login-card > p:not(.admin-eyebrow) {
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, .48);
}

.admin-login-card form {
    display: grid;
    gap: 1rem;
}

.admin-login-card label {
    color: rgba(255, 255, 255, .68);
    font-size: .75rem;
    font-weight: 750;
}

.admin-login-card input {
    display: block;
    width: 100%;
    margin-top: .4rem;
    padding: .9rem 1rem;
    color: #fff;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: .75rem;
    outline: none;
    box-sizing: border-box;
}

.admin-login-card input:focus {
    border-color: #42d875;
    box-shadow: 0 0 0 .2rem rgba(66, 216, 117, .1);
}

.admin-login-card form button {
    margin-top: .5rem;
    padding: .95rem 1rem;
    color: #fff;
    background: #23954f;
    border: 0;
    border-radius: .75rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-back-link {
    color: rgba(255, 255, 255, .42);
    font-size: .76rem;
    text-decoration: none;
}

.admin-login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.admin-login-footer > span {
    color: rgba(66, 216, 117, .55);
    font-size: .58rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-login-alert {
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border-radius: .75rem;
    font-size: .78rem;
}

.admin-login-error {
    color: #ffd0d0;
    background: rgba(255, 95, 95, .08);
    border: 1px solid rgba(255, 95, 95, .25);
}

.admin-login-success {
    color: #c8f8d7;
    background: rgba(66, 216, 117, .08);
    border: 1px solid rgba(66, 216, 117, .25);
}

.admin-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 16.5rem minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    padding: 1.5rem 1rem;
    flex-direction: column;
    background: #0d130f;
    border-right: 1px solid rgba(255, 255, 255, .08);
    box-sizing: border-box;
    overflow-y: auto;
}

.admin-sidebar nav {
    display: grid;
    gap: .3rem;
    margin-top: .5rem;
}

.admin-sidebar nav a {
    display: flex;
    min-height: 2.9rem;
    align-items: center;
    gap: .8rem;
    padding: .65rem .8rem;
    color: rgba(255, 255, 255, .55);
    border: 1px solid transparent;
    border-radius: .7rem;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-sidebar nav a.active {
    color: #fff;
    background: rgba(66, 216, 117, .09);
    border-color: rgba(66, 216, 117, .2);
}

.admin-sidebar nav a.admin-brand-link {
    min-height: 3.5rem;
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: .055em;
}

.admin-sidebar nav a > span {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .07);
    border-radius: .45rem;
}

.admin-sidebar nav a small {
    margin-left: auto;
    color: rgba(255, 255, 255, .24);
    font-size: .52rem;
    text-transform: uppercase;
}

.admin-sidebar nav a.disabled {
    cursor: default;
    opacity: .65;
}

.admin-sidebar-footer {
    position: sticky;
    bottom: 0;
    display: grid;
    gap: .6rem;
    margin-top: auto;
    padding: .75rem;
    background: #0d130f;
}

.admin-sidebar-footer form {
    margin: 0;
}

.admin-sidebar-footer a,
.admin-sidebar-footer button {
    color: rgba(255, 255, 255, .42);
    background: transparent;
    border: 0;
    font-size: .72rem;
    text-decoration: none;
    cursor: pointer;
}

.admin-sidebar-footer button {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    gap: .7rem;
    padding: .65rem .7rem;
    color: #fff;
    background: rgba(66, 216, 117, .08);
    border: 1px solid rgba(66, 216, 117, .2);
    border-radius: .7rem;
    font-weight: 750;
    text-align: left;
}

.admin-sidebar-footer button::before {
    content: "";
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    background: #42d875;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 5H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h5M14 8l4 4-4 4M8 12h10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 5H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h5M14 8l4 4-4 4M8 12h10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.admin-sidebar-footer button:hover {
    color: #fff;
    background: rgba(66, 216, 117, .14);
    border-color: rgba(66, 216, 117, .38);
}

.admin-main {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.admin-topbar h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -.035em;
}

.admin-account {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .8rem;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: .8rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.admin-account:hover { background: rgba(66, 216, 117, .055); border-color: rgba(66, 216, 117, .26); }
.admin-account:focus-visible { outline: 2px solid #42d875; outline-offset: 3px; }

.admin-account > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .1);
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 850;
}

.admin-account > .admin-account-logo {
    width: 5.25rem;
    height: 2.25rem;
    overflow: hidden;
    flex: 0 0 auto;
    background: #080a09;
    border: 1px solid rgba(66, 216, 117, .16);
    border-radius: .55rem;
}

.admin-account-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1.04);
}

.admin-account small,
.admin-account strong {
    display: block;
}

.admin-account small {
    color: rgba(255, 255, 255, .35);
    font-size: .58rem;
    text-transform: uppercase;
}

.admin-account strong {
    max-width: 15rem;
    font-size: .72rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-logo-editor {
    display: grid;
    max-width: 58rem;
    grid-template-columns: minmax(0, .85fr) minmax(20rem, 1.15fr);
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.5rem;
}

.admin-logo-copy {
    align-self: center;
}

.admin-logo-copy h2 {
    max-width: 12ch;
    margin: .45rem 0 .8rem;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.admin-logo-copy > p:not(.admin-eyebrow) {
    max-width: 33rem;
    margin: 0;
    color: rgba(255, 255, 255, .48);
    font-size: .85rem;
    line-height: 1.65;
}

.admin-logo-status {
    display: inline-flex;
    margin-top: 1.25rem;
    padding: .5rem .7rem;
    color: #8cebae;
    background: rgba(66, 216, 117, .07);
    border: 1px solid rgba(66, 216, 117, .2);
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 750;
}

.admin-logo-preview {
    padding: 1rem;
    background: #080a09;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.1rem;
}

.admin-logo-preview > span {
    display: block;
    margin-bottom: .75rem;
    color: rgba(255, 255, 255, .38);
    font-size: .6rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.admin-logo-preview > div {
    display: grid;
    min-height: 10rem;
    padding: 1.5rem;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(66, 216, 117, .08), transparent 60%),
        #050706;
    border-radius: .75rem;
}

.admin-logo-preview img {
    display: block;
    width: min(100%, 25rem);
    max-height: 9rem;
    object-fit: contain;
}

.admin-logo-form {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, .025);
    border: 1px dashed rgba(66, 216, 117, .3);
    border-radius: 1rem;
}

.admin-logo-form label strong,
.admin-logo-form label small {
    display: block;
}

.admin-logo-form label strong {
    margin-bottom: .25rem;
    font-size: .8rem;
}

.admin-logo-form label small {
    color: rgba(255, 255, 255, .42);
    font-size: .68rem;
}

.admin-logo-form input {
    grid-column: 1;
    color: rgba(255, 255, 255, .55);
    font-size: .7rem;
}

.admin-logo-form button,
.admin-logo-restore button {
    padding: .8rem 1rem;
    color: #fff;
    background: #23954f;
    border: 0;
    border-radius: .7rem;
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-logo-form button {
    grid-row: 1 / 3;
    grid-column: 2;
}

.admin-logo-restore {
    grid-column: 1 / -1;
    text-align: right;
}

.admin-logo-restore button {
    color: rgba(255, 255, 255, .65);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .15);
}

.admin-logo-library {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-logo-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .65rem;
    padding: .9rem;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1rem;
}

.admin-logo-card.is-active {
    background: rgba(66, 216, 117, .06);
    border-color: rgba(66, 216, 117, .45);
}

.admin-logo-card > div {
    display: grid;
    grid-column: 1 / -1;
    min-height: 7rem;
    padding: 1rem;
    place-items: center;
    background: #050706;
    border-radius: .7rem;
}

.admin-logo-card img {
    width: 100%;
    height: 5rem;
    object-fit: contain;
}

.admin-logo-card > strong {
    align-self: center;
    font-size: .78rem;
}

.admin-logo-card > small {
    align-self: center;
    color: #8cebae;
    font-size: .64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-logo-card form {
    margin: 0;
}

.admin-logo-card button {
    width: 100%;
    padding: .65rem .7rem;
    color: #fff;
    background: #23954f;
    border: 1px solid transparent;
    border-radius: .6rem;
    font-size: .65rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-logo-card button.danger {
    color: #ff9b9b;
    background: transparent;
    border-color: rgba(255, 100, 100, .3);
}

.admin-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background:
        radial-gradient(circle at 85% 30%, rgba(66, 216, 117, .14), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 1.5rem;
}

.admin-welcome h2 {
    margin: 0 0 .65rem;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -.035em;
}

.admin-welcome > div > p:last-child {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, .48);
}

.admin-total {
    min-width: 8rem;
    text-align: center;
}

.admin-total strong,
.admin-total span {
    display: block;
}

.admin-total strong {
    color: #42d875;
    font-size: 3.2rem;
    line-height: 1;
}

.admin-total span {
    margin-top: .4rem;
    color: rgba(255, 255, 255, .4);
    font-size: .65rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-metrics {
    display: grid;
    margin-top: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-metrics article {
    position: relative;
    min-height: 10rem;
    padding: 1.4rem;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.1rem;
}

.admin-metric-icon {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    display: grid;
    width: 2.3rem;
    height: 2.3rem;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .08);
    border-radius: .65rem;
}

.admin-metrics small {
    color: rgba(255, 255, 255, .4);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-metrics strong {
    display: block;
    margin-top: 1rem;
    font-size: 2.5rem;
}

.admin-metrics p {
    margin: .25rem 0 0;
    color: rgba(255, 255, 255, .4);
    font-size: .75rem;
}

.admin-next-stage {
    margin-top: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.1rem;
}

.admin-next-stage h2 {
    margin: 0 0 .4rem;
    font-size: 1.25rem;
}

.admin-next-stage > div > p:last-child {
    color: rgba(255, 255, 255, .4);
    font-size: .78rem;
}

.admin-progress {
    height: .35rem;
    overflow: hidden;
    margin-top: 1.25rem;
    background: rgba(255, 255, 255, .07);
    border-radius: 999px;
}

.admin-progress span {
    display: block;
    height: 100%;
    background: #42d875;
    border-radius: inherit;
}

.mailbox-layout {
    display: grid;
    max-width: 62rem;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2rem;
    grid-template-columns: minmax(0, 1fr);
}

.mailbox-aside {
    display: flex;
    padding: clamp(2rem, 5vw, 3.75rem);
    flex-direction: column;
    background:
        radial-gradient(circle at 0 100%, rgba(66, 216, 117, .12), transparent 20rem),
        rgba(255, 255, 255, .025);
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.mailbox-aside > p:not(.mailbox-kicker) {
    color: rgba(255, 255, 255, .58);
    line-height: 1.75;
}

.mailbox-channel-list {
    display: grid;
    gap: .7rem;
    margin-top: 1.25rem;
}

.mailbox-channel-list a {
    padding: 1rem;
    color: #fff;
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .9rem;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.mailbox-channel-list a:hover {
    border-color: rgba(66, 216, 117, .55);
    transform: translateX(3px);
}

.mailbox-channel-list span,
.mailbox-channel-list strong {
    display: block;
}

.mailbox-channel-list span {
    margin-bottom: .2rem;
    color: rgba(255, 255, 255, .4);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mailbox-channel-list strong {
    font-size: .88rem;
}

.mailbox-process {
    display: grid;
    gap: .85rem;
    margin-top: auto;
    padding-top: 3rem;
}

.mailbox-process div {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: rgba(255, 255, 255, .65);
    font-size: .78rem;
    font-weight: 700;
}

.admin-alert {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border: 1px solid;
    border-radius: .75rem;
    font-size: .78rem;
}

.admin-alert.success {
    color: #c8f8d7;
    background: rgba(66, 216, 117, .08);
    border-color: rgba(66, 216, 117, .22);
}

.admin-alert.error {
    color: #ffd0d0;
    background: rgba(255, 95, 95, .08);
    border-color: rgba(255, 95, 95, .22);
}

.admin-form-guide {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    color: rgba(255, 255, 255, .68);
    background: rgba(66, 216, 117, .055);
    border: 1px solid rgba(66, 216, 117, .22);
    border-radius: .9rem;
    font-size: .76rem;
    line-height: 1.55;
}

.admin-form-guide strong { color: #54df82; font-size: .86rem; }
.admin-form-guide p { margin: .45rem 0 0; }
.admin-form-guide b { color: #fff; }
.admin-form-guide small { display: block; margin-top: .55rem; color: rgba(255, 255, 255, .45); }

.admin-form-context {
    margin: 0 0 1rem;
    padding: .75rem .9rem;
    color: rgba(255, 255, 255, .62);
    background: rgba(66, 216, 117, .07);
    border: 1px solid rgba(66, 216, 117, .2);
    border-radius: .7rem;
    font-size: .78rem;
}

.admin-form-context strong { color: #54df82; }

.admin-draft-restored {
    margin: 0 0 .35rem;
    padding: .75rem .85rem;
    color: #d2f9de;
    background: rgba(66, 216, 117, .08);
    border-left: 3px solid #42d875;
    border-radius: .35rem;
    font-size: .74rem;
    line-height: 1.45;
}

.admin-branch-preview {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem 1rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1.4rem;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1rem;
}

.admin-branch-preview h2 {
    margin: 0;
    font-size: 1.2rem;
}

.admin-branch-preview > p {
    width: 100%;
    margin: -.25rem 0 0;
    color: rgba(255, 255, 255, .45);
    font-size: .72rem;
}

.admin-branch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-panel-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.15rem;
}

.admin-panel-card h2 {
    margin: 0 0 .55rem;
    font-size: 1.35rem;
}

.admin-panel-card > p:not(.admin-eyebrow) {
    margin: 0 0 1.4rem;
    color: rgba(255, 255, 255, .42);
    font-size: .78rem;
    line-height: 1.55;
}

.admin-form {
    display: grid;
    gap: .9rem;
}

.admin-form label,
.admin-weekly-row label {
    color: rgba(255, 255, 255, .62);
    font-size: .7rem;
    font-weight: 750;
}

.admin-form input:not([type="checkbox"]),
.admin-form select,
.admin-form textarea,
.admin-weekly-row input[type="time"] {
    display: block;
    width: 100%;
    margin-top: .35rem;
    padding: .75rem .8rem;
    color: #fff;
    color-scheme: dark;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: .65rem;
    box-sizing: border-box;
    outline: none;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-weekly-row input:focus {
    border-color: rgba(66, 216, 117, .7);
    box-shadow: 0 0 0 .18rem rgba(66, 216, 117, .08);
}

.admin-form label small {
    display: block;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .28);
    font-weight: 500;
}

.admin-time-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.admin-check {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.admin-check input {
    accent-color: #42d875;
}

.admin-primary-button {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    padding: .75rem 1rem;
    color: #fff;
    background: #23954f;
    border: 0;
    border-radius: .65rem;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.admin-metrics .admin-primary-button {
    margin-top: .85rem;
}

.admin-current-override {
    margin: 0;
    color: rgba(255, 255, 255, .42);
    font-size: .72rem;
}

.admin-special-list {
    display: grid;
    gap: .5rem;
    margin-top: 1.25rem;
}

.admin-special-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem;
    background: rgba(0, 0, 0, .16);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .7rem;
}

.admin-special-list strong,
.admin-special-list span,
.admin-special-list small {
    display: block;
}

.admin-special-list strong {
    font-size: .76rem;
}

.admin-special-list span,
.admin-special-list small {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .4);
    font-size: .66rem;
}

.admin-special-list button {
    color: #ff9d9d;
    background: transparent;
    border: 0;
    font-size: .66rem;
    cursor: pointer;
}

.admin-weekly-panel {
    margin-top: 1rem;
}

.admin-weekly-list {
    margin-bottom: 1rem;
}

.admin-weekly-row {
    display: grid;
    grid-template-columns: minmax(7rem, 1fr) repeat(2, minmax(8rem, .8fr)) minmax(6rem, .55fr);
    align-items: center;
    gap: 1rem;
    padding: .8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.admin-weekly-row > strong {
    font-size: .8rem;
}

.admin-weekly-row label > span:not(.admin-check span) {
    display: none;
}

.billing-panel-page {
    min-height: 100vh;
    margin: 0;
    color: #fff;
    background:
        radial-gradient(circle at 90% 0, rgba(66, 216, 117, .12), transparent 28rem),
        #080c09;
    font-family: Arial, Helvetica, sans-serif;
}

.billing-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
    background: rgba(8, 12, 9, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.billing-panel-header img {
    width: 9rem;
    height: auto;
}

.billing-panel-header > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .15rem 1rem;
    text-align: right;
}

.billing-panel-header small {
    grid-column: 1;
    color: rgba(255, 255, 255, .35);
    font-size: .6rem;
    text-transform: uppercase;
}

.billing-panel-header strong {
    grid-column: 1;
    font-size: .72rem;
}

.billing-panel-header form {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
}

.billing-panel-header button {
    color: rgba(255, 255, 255, .5);
    background: transparent;
    border: 0;
    font-size: .68rem;
    cursor: pointer;
}

.billing-panel-main {
    width: min(74rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.billing-panel-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 1.4rem;
}

.billing-panel-intro p {
    margin: 0 0 .5rem;
    color: #42d875;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.billing-panel-intro h1 {
    margin: 0 0 .5rem;
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: -.04em;
}

.billing-panel-intro > div > span {
    color: rgba(255, 255, 255, .45);
    font-size: .82rem;
}

.billing-panel-count {
    min-width: 7rem;
    text-align: center;
}

.billing-panel-count strong,
.billing-panel-count span {
    display: block;
}

.billing-panel-count strong {
    color: #42d875;
    font-size: 3rem;
}

.billing-panel-count span {
    color: rgba(255, 255, 255, .35);
    font-size: .62rem;
    text-transform: uppercase;
}

.billing-empty {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 1.2rem;
}

.billing-empty > span {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .08);
    border-radius: 50%;
}

.billing-empty h2 {
    margin: 0 0 .5rem;
}

.billing-empty p {
    margin: 0;
    color: rgba(255, 255, 255, .4);
}

.billing-request-list {
    display: grid;
    gap: .75rem;
}

.billing-request-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1rem;
}

.billing-request-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem 1.25rem;
    list-style: none;
    cursor: pointer;
}

.billing-request-card summary::-webkit-details-marker {
    display: none;
}

.billing-request-card summary strong,
.billing-request-card summary small {
    display: block;
}

.billing-request-card summary strong {
    margin-top: .45rem;
    font-size: .9rem;
}

.billing-request-card summary small,
.billing-request-card summary > span {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .38);
    font-size: .68rem;
}

.billing-status {
    display: inline-flex;
    padding: .28rem .5rem;
    color: #9ce9b4;
    background: rgba(66, 216, 117, .08);
    border-radius: 999px;
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
}

.billing-request-content {
    padding: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.billing-request-content dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin: 0;
}

.billing-request-content dl > div {
    padding: .8rem;
    background: rgba(0, 0, 0, .16);
    border-radius: .65rem;
}

.billing-request-content dl .wide {
    grid-column: 1 / -1;
}

.billing-request-content dt {
    color: rgba(255, 255, 255, .34);
    font-size: .58rem;
    text-transform: uppercase;
}

.billing-request-content dd {
    margin: .3rem 0 0;
    font-size: .76rem;
    overflow-wrap: anywhere;
}

.billing-document-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.billing-document-actions a {
    padding: .65rem .8rem;
    color: #fff;
    background: rgba(66, 216, 117, .08);
    border: 1px solid rgba(66, 216, 117, .2);
    border-radius: .6rem;
    font-size: .68rem;
    font-weight: 750;
    text-decoration: none;
}

.billing-status-form {
    display: flex;
    align-items: end;
    gap: .65rem;
    margin-top: 1rem;
}

.billing-status-form label {
    color: rgba(255, 255, 255, .45);
    font-size: .62rem;
    font-weight: 700;
}

.billing-status-form select {
    display: block;
    min-width: 12rem;
    margin-top: .3rem;
    padding: .65rem .75rem;
    color: #fff;
    color-scheme: dark;
    background: #111813;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: .6rem;
}

.billing-status-form button {
    padding: .7rem .85rem;
    color: #fff;
    background: #23954f;
    border: 0;
    border-radius: .6rem;
    font-size: .68rem;
    font-weight: 800;
    cursor: pointer;
}

.mailbox-process small {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    color: #42d875;
    background: rgba(66, 216, 117, .08);
    border: 1px solid rgba(66, 216, 117, .24);
    border-radius: 50%;
    font-size: .58rem;
}

.mailbox-form {
    padding: clamp(1.75rem, 5vw, 3.5rem);
    background: #111914;
}

.mailbox-form-heading > p:last-child {
    color: rgba(255, 255, 255, .48);
    font-size: .84rem;
}

.mailbox-category-fieldset {
    min-width: 0;
    margin: 1.6rem 0 0;
    padding: 0;
    border: 0;
}

.mailbox-category-fieldset legend {
    margin-bottom: .65rem;
    color: rgba(255, 255, 255, .68);
    font-size: .72rem;
    font-weight: 750;
}

.mailbox-category-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.mailbox-category-options label {
    position: relative;
    cursor: pointer;
}

.mailbox-category-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mailbox-category-options span {
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    padding: .7rem .8rem;
    color: rgba(255, 255, 255, .58);
    background: rgba(0, 0, 0, .18);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: .75rem;
    font-size: .69rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.mailbox-category-options label:hover span {
    color: #fff;
    border-color: rgba(66, 216, 117, .35);
    transform: translateY(-1px);
}

.mailbox-category-options input:checked + span {
    color: #fff;
    background: rgba(66, 216, 117, .11);
    border-color: #42d875;
    box-shadow: inset .2rem 0 #42d875;
}

.mailbox-category-options input:focus-visible + span {
    outline: 2px solid #42d875;
    outline-offset: 2px;
}

.mailbox-form-grid {
    display: grid;
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.mailbox-form-grid label {
    color: rgba(255, 255, 255, .68);
    font-size: .72rem;
    font-weight: 750;
}

.mailbox-form-grid input,
.mailbox-form-grid select,
.mailbox-form-grid textarea {
    display: block;
    width: 100%;
    margin-top: .35rem;
    padding: .78rem .85rem;
    color: #fff;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .7rem;
    outline: none;
}

.mailbox-form-grid select {
    color-scheme: dark;
}

.mailbox-form-grid textarea {
    min-height: 8rem;
    resize: vertical;
}

.mailbox-form-grid input::placeholder,
.mailbox-form-grid textarea::placeholder {
    color: rgba(255, 255, 255, .27);
}

.mailbox-form-grid input:focus,
.mailbox-form-grid select:focus,
.mailbox-form-grid textarea:focus,
.mailbox-file-field:focus-within {
    border-color: #42d875;
    box-shadow: 0 0 0 .2rem rgba(66, 216, 117, .09);
}

.mailbox-form-wide {
    grid-column: 1 / -1;
}

.mailbox-file-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
    padding: .9rem 1rem;
    background: rgba(255, 255, 255, .035);
    border: 1px dashed rgba(255, 255, 255, .2);
    border-radius: .8rem;
}

.mailbox-file-field strong,
.mailbox-file-field small {
    display: block;
}

.mailbox-file-field strong {
    font-size: .8rem;
}

.mailbox-file-field small {
    margin-top: .15rem;
    color: rgba(255, 255, 255, .43);
    font-size: .68rem;
}

.mailbox-file-field input {
    max-width: 16rem;
    color: rgba(255, 255, 255, .55);
    font-size: .7rem;
}

.mailbox-file-field input::file-selector-button {
    margin-right: .7rem;
    padding: .5rem .7rem;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: .5rem;
    font-weight: 700;
}

.mailbox-privacy-note {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, .38);
    font-size: .67rem;
    line-height: 1.5;
}

.mailbox-privacy-note a {
    color: rgba(255, 255, 255, .62);
}

.privacy-document {
    overflow: hidden;
    color: #fff;
    background: #101612;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 1.5rem;
}

.privacy-document-heading {
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background:
        radial-gradient(circle at 90% 0, rgba(66, 216, 117, .14), transparent 20rem),
        rgba(255, 255, 255, .02);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.privacy-document-heading > div:first-child {
    max-width: 44rem;
}

.privacy-document-summary {
    display: grid;
    align-items: center;
    gap: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background:
        radial-gradient(circle at 12% 50%, rgba(66, 216, 117, .1), transparent 18rem),
        #080b09;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.privacy-document-icon {
    position: relative;
    display: grid;
    width: 5rem;
    height: 6.25rem;
    place-items: end center;
    padding-bottom: 1rem;
    color: #fff;
    background: #19221c;
    border: 1px solid rgba(66, 216, 117, .35);
    border-radius: .75rem;
    box-sizing: border-box;
}

.privacy-document-icon::before {
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 0 1.25rem 1.25rem;
    border-style: solid;
    border-color: transparent transparent #314238 transparent;
    content: "";
}

.privacy-document-icon span {
    color: #42d875;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.privacy-document-open {
    color: #42d875;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.privacy-document-open:hover {
    color: #8cebae;
}

.error-page {
    min-height: 70vh;
}

.error-page .lead {
    max-width: 42rem;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .branch-location-card {
        grid-template-columns: minmax(20rem, 1.2fr) minmax(18rem, .8fr);
        grid-template-areas:
            "location-copy location-photo"
            "location-hours location-hours";
    }

    .branch-location-photo {
        width: min(100%, 24rem);
        justify-self: end;
    }
}

@media (max-width: 991.98px) {
    .help-careers {
        grid-template-columns: 1fr;
    }

    .mailbox-layout {
        grid-template-columns: 1fr;
    }

    .billing-layout {
        grid-template-columns: 1fr;
    }

    .admin-login-wheel {
        left: 50%;
        width: min(94vw, 43rem);
    }

    .admin-login-card {
        margin-right: 0;
        justify-self: center;
    }

    .admin-shell {
        grid-template-columns: 5rem minmax(0, 1fr);
    }

    .admin-sidebar {
        z-index: 40;
        width: 5rem;
        padding: 1rem .55rem;
        overflow: hidden;
        transition: width .25s ease, box-shadow .25s ease;
    }

    .admin-sidebar nav {
        min-height: 0;
        flex: 1 1 auto;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(66, 216, 117, .35) transparent;
    }

    .admin-sidebar-footer {
        position: static;
        flex: 0 0 auto;
    }

    .admin-menu-open .admin-sidebar { width: 16.5rem; box-shadow: 1.25rem 0 3rem rgba(0, 0, 0, .52); }

    .admin-sidebar nav a {
        justify-content: center;
        padding: .55rem;
        font-size: 0;
    }

    .admin-sidebar nav a.admin-brand-link { font-size: 0; }

    .admin-sidebar nav a > span {
        flex: 0 0 auto;
        font-size: .9rem;
    }

    .admin-menu-open .admin-sidebar nav a { justify-content: flex-start; padding: .65rem .8rem; font-size: .78rem; white-space: nowrap; }

    .admin-menu-open .admin-sidebar nav a.admin-brand-link { font-size: 1.02rem; }

    .admin-menu-open .admin-sidebar nav a small { display: block; }

    .admin-sidebar nav a small {
        display: none;
    }

    .admin-sidebar-footer a {
        display: none;
    }

    .admin-menu-open .admin-sidebar-footer a { display: block; white-space: nowrap; }

    .admin-menu-open .admin-sidebar-footer button {
        justify-content: flex-start;
        font-size: .72rem;
    }

    .admin-sidebar-footer button {
        justify-content: center;
        font-size: 0;
    }

    .admin-metrics {
        grid-template-columns: 1fr;
    }

    .admin-branch-grid {
        grid-template-columns: 1fr;
    }

    .admin-weekly-row {
        grid-template-columns: minmax(6rem, 1fr) repeat(2, minmax(7rem, 1fr));
    }

    .admin-weekly-row .admin-check {
        grid-column: 2 / -1;
    }

    .billing-guide {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .mailbox-aside {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .mailbox-process {
        margin-top: 0;
    }

    .help-careers-copy h2 {
        max-width: 15ch;
    }

    .navbar-logo {
        width: 11rem;
        height: 2.75rem;
    }

    .hero {
        min-height: auto;
    }

    .history-slide-inner {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, .9fr);
        gap: 2.5rem;
    }

    .branch-location-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "location-copy"
            "location-photo"
            "location-hours";
        padding: 1rem;
    }

    .branch-location-photo {
        width: min(100%, 40rem);
        justify-self: center;
    }

    .branch-location-hours {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .experience-upcoming {
        grid-template-columns: 1fr;
    }

    .experience-upcoming-image {
        min-height: 20rem;
    }

    .activities-social-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-featured {
        grid-template-columns: 1fr;
    }

    .news-featured-image {
        min-height: 24rem;
    }

    .promotion-center-heading { align-items: flex-start; flex-direction: column; }
    .promotion-center-grid { grid-template-columns: 1fr; }

    .part-hotspot > strong {
        font-size: .65rem;
    }

}

@media (max-width: 767.98px) {
    .km-hero-mark {
        top: 1rem;
        right: 1rem;
        width: 5.5rem;
        opacity: .42;
        transform: none;
    }

    .promotion-center-summary { gap: .9rem; padding: 1.2rem 1.1rem 1.2rem 1.3rem; }
    .promotion-center-summary-icon { width: 2.75rem; font-size: 1.05rem; }
    .promotion-center-summary-action { padding: .75rem; }
    .promotion-center-summary-action b { display: none; }
    .promotion-center-card { min-height: 24rem; grid-template-columns: minmax(9rem, .75fr) minmax(0, 1.25fr); }
    .promotion-center-footer { align-items: flex-start; flex-direction: column; }
    .promotion-center-footer p { flex-direction: column; gap: .25rem; }
    .promotion-center-empty-standalone { grid-template-columns: auto 1fr; padding: 1.4rem; }
    .promotion-center-empty-standalone > a { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
    .kingmoto-updates-heading { align-items: flex-start; flex-direction: column; }
    .kingmoto-updates-grid { grid-template-columns: 1fr; }
    .kingmoto-update-featured { grid-template-columns: 1fr; }
    .kingmoto-update-featured .news-card-image { min-height: 17rem; }

    .km-hero-mark span {
        font-size: 1.6rem;
    }

    .km-hero-mark small {
        font-size: .46rem;
    }

    .hero .km-hero-mark,
    .help-hero .km-hero-mark,
    .news-hero .km-hero-mark {
        top: 50%;
        left: 50%;
        right: auto;
        width: 11rem;
        opacity: .08;
        transform: translate(-50%, -50%);
    }

    .site-footer {
        padding: 1.4rem 0 .9rem;
    }

    .footer-finish-line {
        gap: .55rem;
        margin: -.15rem 0 .75rem;
    }

    .footer-finish-pattern {
        height: .5rem;
        background-size: .5rem .5rem;
    }

    .footer-finish-badge {
        width: 4.9rem;
        height: 1.8rem;
    }

    .footer-finish-badge img {
        width: 4.1rem;
        height: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 .9rem;
    }

    .footer-information,
    .footer-contact,
    .footer-socials {
        padding: .55rem 0;
    }

    .footer-grid h2 {
        margin-bottom: .45rem;
    }

    .footer-information {
        grid-column: 1;
        grid-row: 1;
        grid-template-columns: 1fr;
        gap: .3rem;
    }

    .footer-information h2 {
        grid-column: 1 / -1;
    }

    .footer-information-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .3rem .65rem;
    }

    .footer-contact {
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem;
        margin-top: .25rem;
        border-top: 1px solid #262628;
    }

    .footer-contact a {
        grid-template-columns: 1fr;
        gap: .15rem;
    }

    .footer-contact h2 {
        grid-column: 1 / -1;
    }

    .footer-contact strong {
        text-align: left;
    }

    .footer-social-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .35rem .75rem;
    }

    .footer-socials {
        grid-column: 2;
        grid-row: 1;
    }

    .site-footer-bottom {
        margin-top: .75rem;
        padding-top: .6rem;
    }

    .site-footer-bottom p {
        line-height: 1.5;
    }
}

@media (max-width: 575.98px) {
    .footer-information-links {
        grid-template-columns: 1fr;
        gap: .28rem;
    }

    .admin-login-shell {
        min-height: 100svh;
        padding: 1rem;
    }

    .admin-login-wheel {
        width: 42rem;
        opacity: .72;
    }

    .admin-login-card {
        padding: 1.5rem 1.15rem;
        border-radius: 1.15rem;
    }

    .admin-login-logo {
        width: 9.5rem;
        height: 3rem;
        margin: 0 auto 1rem;
    }

    .admin-login-card h1 {
        font-size: clamp(1.8rem, 10vw, 2.35rem);
    }

    .admin-login-card > p:not(.admin-eyebrow) {
        margin-bottom: 1.4rem;
    }

    .admin-login-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: .65rem;
    }

    .branch-hero .container {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .branch-hero h1 {
        margin-bottom: 1rem !important;
        font-size: clamp(2.6rem, 13vw, 3.5rem);
    }

    .branch-details,
    .branch-contact {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .branch-details > .container,
    .branch-contact > .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .branch-location-copy {
        padding: 1.5rem !important;
    }

    .value-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .value-card-icon-shell {
        width: 5.5rem;
        height: 5.5rem;
    }

    .history-toolbar {
        align-items: stretch;
        flex-direction: column-reverse;
        gap: .75rem;
        padding-top: 1rem;
    }

    .history-arrows {
        justify-content: flex-end;
    }

    .history-years {
        margin-right: -.75rem;
        margin-left: -.75rem;
        padding-right: .75rem;
        padding-left: .75rem;
    }

    .history-slide-inner {
        display: flex;
        min-height: 42rem;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 7rem;
    }

    .history-year-display {
        font-size: 4.75rem;
    }

    .history-copy h2 {
        font-size: 2.15rem;
    }

    .history-copy > p:last-child {
        font-size: .95rem;
        line-height: 1.6;
    }

    .history-photo {
        width: calc(100% - 1rem);
        aspect-ratio: 16 / 10;
        align-self: flex-start;
    }

    .history-photo::before {
        inset: .7rem -.7rem -.7rem .7rem;
        border-radius: 2rem .75rem 2rem .75rem;
    }

    .history-photo img {
        border-radius: 2rem .75rem 2rem .75rem;
    }

    .history-brand-mark {
        margin: 4rem 0;
    }

    .history-future-copy h2 {
        font-size: 3.5rem;
    }

    .branch-hours > div {
        align-items: flex-start;
        flex-direction: column;
        gap: .3rem;
    }

    .branch-hours dd {
        text-align: left;
    }

    .branch-location-hours .branch-hours {
        grid-template-columns: 1fr;
    }

    .branch-location-hours .branch-hours > div,
    .branch-location-hours .branch-hours > div:first-child,
    .branch-location-hours .branch-hours > div:last-child {
        min-height: auto;
        padding: .85rem 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .branch-location-hours .branch-hours > div:last-child {
        border-bottom: 0;
    }

    .activities-hero h1 {
        font-size: clamp(3.5rem, 18vw, 5rem);
    }

    .activities-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .activities-heading > p {
        text-align: left;
    }

    .video-showcase {
        grid-template-columns: 1fr;
    }

    .experience-upcoming {
        min-height: 0;
    }

    .experience-upcoming-image {
        min-height: 15rem;
        padding: 1.5rem;
    }

    .experience-upcoming .experience-card-copy {
        padding: 1.75rem;
    }

    .experience-past .experience-card-copy {
        padding: 1.75rem 5rem 1.75rem 1.75rem;
    }

    .experience-arrow {
        right: 1.25rem;
        width: 2.75rem;
        height: 2.75rem;
    }

    .activities-social-links {
        grid-template-columns: 1fr;
    }

    .news-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-notice-card {
        grid-column: auto;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .news-notice-card > a {
        display: none;
    }

    .news-card-image {
        height: 15rem;
    }

    .help-section-heading,
    .help-mailbox-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .help-section-heading > p {
        text-align: left;
    }

    .help-info-grid {
        grid-template-columns: 1fr;
    }

    .help-careers-copy {
        padding: 2rem 1.5rem;
    }

    .help-cv-form {
        margin: 0;
    }

    .help-careers-application {
        margin: 0 .75rem .75rem;
    }

    .help-form-grid {
        grid-template-columns: 1fr;
    }

    .help-form-wide {
        grid-column: auto;
    }

    .help-file-field {
        align-items: stretch;
        flex-direction: column;
    }

    .help-file-field input {
        max-width: 100%;
    }

    .mailbox-form-grid {
        grid-template-columns: 1fr;
    }

    .mailbox-category-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .privacy-document-summary {
        align-items: start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .privacy-document-open {
        grid-column: 1 / -1;
    }

    .mailbox-form-wide {
        grid-column: auto;
    }

    .mailbox-file-field {
        align-items: stretch;
        flex-direction: column;
    }

    .mailbox-file-field input {
        max-width: 100%;
    }

    .mailbox-billing-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .mailbox-billing-card .btn {
        grid-column: 1 / -1;
    }

    .billing-review-list > div {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .billing-review-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-account {
        width: 100%;
        box-sizing: border-box;
    }

    .admin-logo-editor {
        grid-template-columns: 1fr;
    }

    .admin-logo-form {
        grid-template-columns: 1fr;
    }

    .admin-logo-form button {
        grid-row: auto;
        grid-column: 1;
    }

    .admin-logo-restore {
        text-align: left;
    }

    .admin-logo-library {
        grid-template-columns: 1fr;
    }

    .admin-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .motorcycle-picker {
        margin-top: 1.25rem;
    }

    .part-hotspot {
        display: none;
    }

    .parts-mobile-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
        margin: 1rem 0 1.25rem;
    }

.parts-mobile-list button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .9rem 1rem;
        color: #fff;
        background: rgba(255, 255, 255, .045);
        border: 1px solid rgba(255, 255, 255, .13);
        border-radius: .85rem;
        font-size: .82rem;
        font-weight: 700;
        text-align: left;
        text-decoration: none;
    }

    .parts-mobile-list button span {
        color: #42d875;
    }

}

.parts-dialog {
    width: min(92vw, 34rem);
    padding: 0;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(66, 216, 117, .13), transparent 16rem),
        #101813;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.5rem;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, .6);
}

.parts-dialog::backdrop {
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(5px);
}

.parts-dialog form {
    position: relative;
    padding: 2rem;
}

.parts-dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
}

.parts-dialog-intro {
    color: rgba(255, 255, 255, .58);
}

.parts-dialog-fields {
    display: grid;
    margin: 1.5rem 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.parts-dialog-fields label {
    color: rgba(255, 255, 255, .72);
    font-size: .75rem;
    font-weight: 750;
}

.parts-dialog-store {
    grid-column: 1 / -1;
}

.parts-dialog-fields input,
.parts-dialog-fields select {
    width: 100%;
    margin-top: .35rem;
    padding: .75rem .85rem;
    color: #fff;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: .7rem;
    outline: none;
}

.parts-dialog-fields input:focus,
.parts-dialog-fields select:focus {
    border-color: #42d875;
    box-shadow: 0 0 0 .2rem rgba(66, 216, 117, .1);
}

.parts-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
}

.parts-dialog form > small {
    display: block;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .4);
    text-align: right;
}

@media (max-width: 575.98px) {
    .branch-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-main {
        padding: 1rem .75rem;
    }

    .admin-weekly-row {
        grid-template-columns: 1fr 1fr;
    }

    .admin-weekly-row > strong {
        grid-column: 1 / -1;
    }

    .admin-weekly-row .admin-check {
        grid-column: 1 / -1;
    }

    .admin-time-pair {
        grid-template-columns: 1fr;
    }

    .billing-panel-header {
        align-items: flex-start;
    }

    .billing-panel-header > div {
        grid-template-columns: 1fr;
    }

    .billing-panel-header form {
        grid-column: 1;
        grid-row: auto;
    }

    .billing-panel-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .billing-panel-count {
        text-align: left;
    }

    .billing-request-card summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .billing-request-content dl {
        grid-template-columns: 1fr;
    }

    .billing-status-form {
        align-items: stretch;
        flex-direction: column;
    }

    .parts-dialog-fields {
        grid-template-columns: 1fr;
    }

    .parts-dialog-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }
}

@media (max-width: 399.98px) {
    .mailbox-category-options {
        grid-template-columns: 1fr;
    }

    .parts-mobile-list {
        grid-template-columns: 1fr;
    }

    .admin-faq-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-faq-actions {
        justify-content: space-between;
    }
}

/* Preserve the SVG navigation icons after all responsive sidebar rules. */
.admin-sidebar nav a > span {
    font-size: 0;
}

@media (prefers-reduced-motion: reduce) {
    .history-track {
        scroll-behavior: auto;
    }

    .history-motorcycle {
        transition: none;
    }
}

/* Preview publication changes from the administration forms without saving them. */
.admin-content-form-actions { display: flex; grid-column: 1 / -1; align-items: center; justify-content: flex-end; gap: .75rem; margin-top: 1rem; }
.admin-content-form-actions .admin-primary-button { width: auto; margin: 0; }
.admin-preview-button { min-height: 2.75rem; padding: .7rem 1rem; color: #7be99e; font-weight: 800; background: rgba(66,216,117,.08); border: 1px solid rgba(66,216,117,.38); border-radius: .7rem; }
.admin-preview-button:hover { color: #071008; background: #42d875; }
.admin-content-preview-dialog { width: min(70rem,calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; color: #fff; background: #0c120e; border: 1px solid rgba(66,216,117,.3); border-radius: 1.4rem; box-shadow: 0 2rem 6rem rgba(0,0,0,.65); }
.admin-content-preview-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(5px); }
.admin-content-preview-shell { display: grid; max-height: calc(100dvh - 2rem); grid-template-rows: auto auto minmax(0,1fr) auto; }
.admin-content-preview-shell > header,
.admin-content-preview-shell > footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.35rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.admin-content-preview-shell > header small { color: #42d875; font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.admin-content-preview-shell > header h2 { margin: .15rem 0 0; font-size: 1.15rem; }
.admin-content-preview-shell > header button { width: 2.5rem; height: 2.5rem; color: #fff; font-size: 1.5rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.admin-content-preview-toolbar { display: flex; justify-content: center; gap: .5rem; padding: .75rem; background: rgba(255,255,255,.025); border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-content-preview-toolbar button { padding: .5rem .8rem; color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 800; background: transparent; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; }
.admin-content-preview-toolbar button.is-active { color: #071008; background: #42d875; border-color: #42d875; }
.admin-content-preview-stage { overflow: auto; width: 100%; padding: clamp(1rem,3vw,2rem); background: radial-gradient(circle at top,rgba(66,216,117,.08),transparent 42%),#060a07; }
.admin-content-preview-card { display: grid; width: min(58rem,100%); min-height: 26rem; margin: auto; grid-template-columns: minmax(0,1.2fr) minmax(18rem,.8fr); overflow: hidden; background: #121914; border: 1px solid rgba(255,255,255,.16); border-radius: 1.4rem; transition: width .2s ease; }
.admin-content-preview-media { position: relative; display: grid; min-height: 25rem; place-items: center; overflow: hidden; color: rgba(255,255,255,.38); background: linear-gradient(135deg,#101712,#060806); }
.admin-content-preview-media img { width: 100%; height: 100%; object-fit: cover; }
.admin-content-preview-media > span { padding: 1rem; text-align: center; }
.admin-content-preview-copy { display: flex; min-width: 0; padding: clamp(1.5rem,3vw,2.5rem); flex-direction: column; justify-content: center; }
.admin-content-preview-copy > small { color: #42d875; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.admin-content-preview-copy h3 { margin: .7rem 0; color: #fff; font-size: clamp(1.65rem,3vw,2.5rem); line-height: 1.04; overflow-wrap: anywhere; }
.admin-content-preview-copy p { color: rgba(255,255,255,.6); line-height: 1.65; white-space: pre-line; }
.admin-content-preview-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.admin-content-preview-links span { padding: .65rem .9rem; color: #071008; font-size: .76rem; font-weight: 850; background: #42d875; border-radius: 999px; }
.admin-content-preview-links span:nth-child(2) { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.2); }
.admin-content-preview-stage.is-carousel .admin-content-preview-card { position: relative; display: block; min-height: 30rem; }
.admin-content-preview-stage.is-carousel .admin-content-preview-media { position: absolute; inset: 0; }
.admin-content-preview-stage.is-carousel .admin-content-preview-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.08)); }
.admin-content-preview-stage.is-carousel .admin-content-preview-copy { position: relative; z-index: 1; width: min(34rem,70%); min-height: 30rem; }
.admin-content-preview-stage.is-history .admin-content-preview-card { grid-template-columns: minmax(15rem,.75fr) minmax(0,1.25fr); }
.admin-content-preview-stage.is-mobile .admin-content-preview-card { width: min(23rem,100%); min-height: 0; grid-template-columns: 1fr; }
.admin-content-preview-stage.is-mobile .admin-content-preview-media { position: relative; inset: auto; min-height: 18rem; }
.admin-content-preview-stage.is-mobile .admin-content-preview-media::after { display: none; }
.admin-content-preview-stage.is-mobile .admin-content-preview-copy { width: auto; min-height: 0; padding: 1.35rem; }
.admin-content-preview-shell > footer { border-top: 1px solid rgba(255,255,255,.09); border-bottom: 0; }
.admin-content-preview-shell > footer p { margin: 0; color: rgba(255,255,255,.48); font-size: .75rem; }
.admin-content-preview-shell > footer .admin-primary-button { width: auto; margin: 0; }
@media (max-width: 767.98px) {
    .admin-content-form-actions { align-items: stretch; flex-direction: column-reverse; }
    .admin-content-form-actions button { width: 100% !important; }
    .admin-content-preview-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
    .admin-content-preview-shell { max-height: calc(100dvh - 1rem); }
    .admin-content-preview-stage { padding: .75rem; }
    .admin-content-preview-card { grid-template-columns: 1fr; }
    .admin-content-preview-media { min-height: 16rem; }
    .admin-content-preview-shell > footer { align-items: stretch; flex-direction: column; }
    .admin-content-preview-shell > footer .admin-primary-button { width: 100%; }
}

/* Keep the logo editor overrides after the original administration styles. */
.admin-logo-form { grid-template-columns: 1fr; }
.admin-logo-card { grid-template-columns: 1fr; grid-template-rows: 10rem auto 1fr; }
.admin-logo-card-image img { width: 100%; height: 100%; }
@media (max-width: 767.98px) {
    .admin-logo-form-fields,
    .admin-logo-adjuster { grid-template-columns: 1fr; }
}

/* Keep gallery videos bounded, including portrait uploads on desktop. */
.community-life-card:has(video) {
    cursor: default;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}
.community-life-card > video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 28rem;
    flex: none;
    object-fit: contain;
    background: #111;
}
.community-life-card:has(video) .community-life-overlay {
    position: static;
    pointer-events: none;
}
.admin-carousel-preview > video { width: 100%; max-height: 260px; object-fit: contain; background: #111; }
.community-life-card:has(video)::after { display: none; }

/* Let touch events reach the image card and its native expand button. */
.community-life-card::after { pointer-events: none; }
button.community-life-hint {
    position: relative;
    z-index: 2;
    min-height: 44px;
    padding: .4rem 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
}
button.community-life-hint:focus-visible { outline: 2px solid #42da75; outline-offset: 4px; }

/* Video lives exclusively in the expanded tip; closed cards keep their layout. */
.community-tip-preview .community-tip-video { display: block; width: 100%; margin-top: 1.5rem; }
.community-tip-preview .community-tip-video-cover {
    position: relative; display: block; width: 100%; padding: 0; overflow: hidden;
    aspect-ratio: 16 / 9; border: 1px solid rgba(66,218,117,.3); border-radius: 1rem;
    background: #080d0a; color: #fff; cursor: pointer; text-decoration: none;
}
.community-tip-preview .community-tip-video-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.community-tip-preview .community-tip-video-play {
    position: absolute; top: 50%; left: 50%; display: grid; place-items: center;
    width: 3.5rem; height: 3.5rem; transform: translate(-50%,-50%);
    border-radius: 50%; background: rgba(5,15,8,.85); border: 1px solid #42da75; font-size: 1.3rem;
}
.community-tip-preview .community-tip-video-label {
    position: absolute; bottom: 0; left: 0; right: 0; padding: .65rem 1rem;
    background: rgba(5,15,8,.85); font-weight: 700; font-size: .85rem;
}
.community-tip-preview .community-tip-video video {
    display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 60dvh;
    border-radius: 1rem; background: #080d0a; object-fit: contain;
}
.community-tip-preview .community-tip-video [hidden] { display: none; }
.community-tip-preview .community-tip-video-cover:focus-visible { outline: 2px solid #42da75; outline-offset: 3px; }

.admin-request-body .danger {
    margin-top: 1rem; min-height: 44px; padding: .6rem 1rem;
    color: #ff9999; background: transparent; border: 1px solid rgba(255,100,100,.4);
    border-radius: .65rem; font: inherit; cursor: pointer;
}
.admin-request-body .danger:hover { background: rgba(255,80,80,.1); }
.admin-request-body .danger:focus-visible { outline: 2px solid #ff9999; outline-offset: 3px; }

/* Administrative inbox: metadata stays visible while the message is collapsed. */
.admin-received-overview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.admin-received-overview a { display: grid; grid-template-columns: 1fr auto; gap: .4rem; padding: 1.2rem; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; background: #111b15; color: #fff; text-decoration: none; }
.admin-received-overview a strong { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #42da75; font-size: 1.7rem; }
.admin-received-overview a small { color: #aab6ae; }
.admin-inbox-item { margin: .65rem 0; border: 1px solid rgba(255,255,255,.13); border-radius: 1rem; overflow: hidden; background: #101713; }
.admin-inbox-item > summary { display: grid; grid-template-columns: minmax(0,1fr) auto auto 1rem; align-items: center; gap: 1.2rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; }
.admin-inbox-item > summary::-webkit-details-marker { display: none; }
.admin-inbox-person { display: grid; gap: .35rem; min-width: 0; }
.admin-inbox-person strong { color: #f4f7f5; font-size: 1rem; overflow-wrap: anywhere; }
.admin-inbox-person small, .admin-inbox-item time { color: #aab6ae; font-size: .8rem; }
.admin-inbox-status { padding: .35rem .65rem; border-radius: 2rem; background: #26372c; color: #d0e2d5; font-size: .75rem; white-space: nowrap; }
.admin-inbox-status.status-NUEVO, .admin-inbox-status.status-NUEVA { background: #183c25; color: #71ec99; }
.admin-inbox-status.status-EN_REVISION { background: #3c321b; color: #f2d386; }
.admin-inbox-status.status-DESCARTADO { background: #332a2a; color: #ddc2c2; }
.admin-inbox-expand { color: #aab6ae; transition: transform .15s; }
.admin-inbox-item[open] .admin-inbox-expand { transform: rotate(180deg); }
.admin-inbox-item[open] > summary { border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-inbox-item .admin-request-body { padding: 1.3rem; color: #d7e1da; overflow-wrap: anywhere; }
.admin-inbox-item .admin-request-body > p:first-child { white-space: pre-wrap; line-height: 1.65; margin-top: 0; }
.admin-inbox-item .admin-request-body a { color: #71ec99; }
.admin-inbox-item .admin-request-body form { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1rem; }
.admin-inbox-item select { min-height: 44px; padding: .6rem .8rem; border-radius: .65rem; border: 1px solid #405347; background: #101713; color: #fff; }
.admin-inbox-item .admin-request-body .danger { margin-top: 0; }
.admin-inbox-item > summary:focus-visible, .admin-received-overview a:focus-visible { outline: 2px solid #42da75; outline-offset: 3px; }
@media (max-width: 767.98px) {
    .admin-received-overview { grid-template-columns: 1fr; gap: .6rem; }
    .admin-received-overview a { padding: .9rem 1rem; }
    .admin-inbox-item > summary { grid-template-columns: minmax(0,1fr) auto 1rem; gap: .6rem; padding: 1rem; }
    .admin-inbox-person { grid-column: 1; grid-row: 1; }
    .admin-inbox-item time { grid-column: 1; grid-row: 2; }
    .admin-inbox-status { grid-column: 2; grid-row: 1 / 3; }
    .admin-inbox-expand { grid-column: 3; grid-row: 1 / 3; }
    .admin-inbox-item .admin-request-body { padding: 1rem; }
}
