/* ===== Swiss Precision Design System ===== */
/* Palette: Cool Zinc + Deep Bronze Accent     */
/* Philosophy: restraint, whitespace, type     */

/* --- Base --- */
*, *::before, *::after { border-color: var(--color-border); }
body { font-feature-settings: "rlig" 1, "calt" 1; }
::selection { background: rgba(146, 64, 14, 0.08); color: var(--color-foreground); }

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (max-width: 767px) {
    .reveal,
    .reveal.revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .reveal-delay-1,
    .reveal-delay-2,
    .reveal-delay-3,
    .reveal-delay-4 {
        transition-delay: 0s;
    }
}

/* --- Eyebrow (section label) --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
}
.eyebrow::before {
    content: '';
    display: block;
    width: 1.5rem;
    height: 1px;
    background: var(--color-muted-foreground);
}

/* --- Navigation --- */
.nav-link {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    transition: color 0.2s ease;
    text-decoration: none;
    padding: 0.25rem 0;
}
.nav-link:hover { color: var(--color-foreground); }
.nav-link--active { color: var(--color-foreground); font-weight: 500; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    height: 2.625rem;
    padding: 0 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    outline: none;
    text-decoration: none;
    font-family: inherit;
    line-height: 1;
    background: var(--color-primary);
    color: var(--color-primary-foreground);
}
.btn:hover { opacity: 0.88; }
.btn:active { opacity: 1; }
.btn:focus-visible { box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-ring); }

.btn-outline {
    background: transparent;
    color: var(--color-foreground);
    border-color: var(--color-border);
}
.btn-outline:hover { background: var(--color-secondary); border-color: var(--color-muted-foreground); opacity: 1; }

.btn-ghost {
    background: transparent;
    color: var(--color-muted-foreground);
    border: none;
}
.btn-ghost:hover { color: var(--color-foreground); opacity: 1; }

.btn-brand {
    background: var(--color-brand);
    color: var(--color-brand-foreground);
}

.btn-lg { height: 2.875rem; padding: 0 1.75rem; font-size: 0.875rem; }
.btn-sm { height: 2rem; padding: 0 0.75rem; font-size: 0.75rem; border-radius: 0.25rem; }
.btn-icon { height: 2.5rem; width: 2.5rem; padding: 0; }

.btn.bg-white {
    background: white;
    color: var(--color-primary);
}

/* --- Card --- */
.card {
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
    background: var(--color-card);
    color: var(--color-card-foreground);
    overflow: hidden;
    transition: border-color 0.3s ease;
}
a.card:hover { border-color: var(--color-muted-foreground); }

.card-header { display: flex; flex-direction: column; gap: 0.375rem; padding: 1.5rem; }
.card-title { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.card-description { font-size: 0.8125rem; color: var(--color-muted-foreground); line-height: 1.7; }
.card-content { padding: 0 1.5rem 1.5rem; }
.card-footer { display: flex; align-items: center; padding: 0 1.5rem 1.5rem; }

.gift-turnkey-callout {
    max-width: 34rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.5rem;
    padding: 1.35rem 1.4rem 1.2rem;
    background: rgba(17, 24, 39, 0.62);
    color: #fff;
    box-shadow: 0 28px 80px rgba(9, 9, 11, 0.24);
    backdrop-filter: blur(16px);
}

.gift-turnkey-callout__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.gift-turnkey-callout__eyebrow::before {
    content: '';
    width: 1.35rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.42);
}

.gift-turnkey-callout__title {
    margin-top: 0.8rem;
    font-family: "Cinzel", serif;
    font-size: clamp(1.55rem, 3vw, 2.45rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.gift-turnkey-callout__text {
    margin-top: 0.8rem;
    max-width: 30rem;
    font-size: 0.94rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.gift-turnkey-callout__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    color: #18181b;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.gift-turnkey-callout__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(9, 9, 11, 0.24);
    opacity: 0.96;
}

/* --- Badge --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    padding: 0.1875rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    background: var(--color-secondary);
    color: var(--color-secondary-foreground);
}
.badge-outline { background: transparent; border-color: var(--color-border); color: var(--color-foreground); }
.badge-brand { background: rgba(146, 64, 14, 0.06); color: var(--color-brand); border-color: rgba(146, 64, 14, 0.1); }

/* --- Input / Textarea --- */
.input {
    display: flex;
    height: 2.625rem;
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid var(--color-input);
    background: transparent;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    font-family: inherit;
    color: var(--color-foreground);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: var(--color-muted-foreground); }
.input:focus { border-color: var(--color-ring); box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.04); }

.textarea {
    display: flex;
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid var(--color-input);
    background: transparent;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    font-family: inherit;
    color: var(--color-foreground);
    outline: none;
    resize: vertical;
    min-height: 5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.textarea::placeholder { color: var(--color-muted-foreground); }
.textarea:focus { border-color: var(--color-ring); box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.04); }

.label { font-size: 0.8125rem; font-weight: 500; line-height: 1; }

/* --- Separator --- */
.separator { height: 1px; width: 100%; background: var(--color-border); border: none; }
.accent-line { width: 2rem; height: 1px; background: var(--color-foreground); }

/* --- Prose --- */
.prose p { margin-bottom: 1.25rem; line-height: 1.85; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin: 2rem 0 0.75rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5rem; line-height: 1.85; }
.prose a { color: var(--color-brand); text-decoration: underline; text-underline-offset: 4px; transition: opacity 0.2s; }
.prose a:hover { opacity: 0.7; }
.prose blockquote {
    border-left: 2px solid var(--color-foreground);
    padding-left: 1.25rem;
    color: var(--color-muted-foreground);
    font-style: italic;
    margin: 1.5rem 0;
}
.prose img { border-radius: 0.5rem; margin: 1.5rem 0; }

/* --- Line clamp --- */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* --- Mobile menu --- */
#mobileMenuToggle.active .menu-icon { display: none; }
#mobileMenuToggle.active .close-icon { display: block !important; }

/* --- Floating buttons --- */
.float-btn {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.chat-widget {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.65rem;
}

.chat-launcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 3.125rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0.78rem 1.05rem;
    background:
        linear-gradient(135deg, rgba(32, 32, 38, 0.96) 0%, rgba(120, 53, 15, 0.96) 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(12px);
    isolation: isolate;
    overflow: visible;
}

.chat-launcher:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.2);
}

.chat-launcher__ambient {
    position: absolute;
    inset: -0.95rem -1.6rem -0.9rem -1.6rem;
    z-index: -1;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.96;
}

.chat-launcher__orb,
.chat-launcher__ring {
    position: absolute;
    border-radius: 999px;
}

.chat-launcher__orb {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.16) 16%, rgba(87, 175, 255, 0.18) 34%, rgba(126, 58, 242, 0.08) 58%, transparent 76%);
    mix-blend-mode: screen;
    animation: chatOrbFloat 8.5s ease-in-out infinite;
}

.chat-launcher__orb--one {
    top: 0.2rem;
    left: 0.3rem;
    width: 4.5rem;
    height: 2.25rem;
    animation-delay: 0s;
}

.chat-launcher__orb--two {
    top: -0.2rem;
    right: 1.4rem;
    width: 5rem;
    height: 2.7rem;
    background:
        radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.45) 0%, rgba(244, 114, 182, 0.14) 18%, rgba(59, 130, 246, 0.16) 38%, rgba(16, 185, 129, 0.06) 58%, transparent 74%);
    animation-duration: 10s;
    animation-delay: -2.3s;
}

.chat-launcher__orb--three {
    left: 5.6rem;
    bottom: -0.15rem;
    width: 6.2rem;
    height: 2.4rem;
    background:
        radial-gradient(circle at 45% 50%, rgba(255, 255, 255, 0.35) 0%, rgba(56, 189, 248, 0.14) 22%, rgba(249, 115, 22, 0.14) 44%, rgba(244, 114, 182, 0.07) 61%, transparent 76%);
    animation-duration: 12s;
    animation-delay: -5.1s;
}

.chat-launcher__ring {
    border: 1px solid rgba(143, 205, 255, 0.2);
    box-shadow:
        0 0 18px rgba(56, 189, 248, 0.12),
        inset 0 0 14px rgba(255, 255, 255, 0.05);
    animation: chatRingPulse 6.5s ease-in-out infinite;
}

.chat-launcher__ring--one {
    inset: 0.55rem 0.8rem 0.35rem 0.95rem;
    opacity: 0.55;
}

.chat-launcher__ring--two {
    inset: 0.15rem 2.8rem 0.1rem 3.2rem;
    border-color: rgba(251, 191, 36, 0.16);
    animation-duration: 8.8s;
    animation-delay: -3.2s;
    opacity: 0.4;
}

.chat-launcher__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.chat-launcher__text {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
}

@keyframes chatOrbFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(0.96);
        opacity: 0.78;
    }
    33% {
        transform: translate3d(0.45rem, -0.25rem, 0) scale(1.02);
        opacity: 0.98;
    }
    66% {
        transform: translate3d(-0.35rem, 0.2rem, 0) scale(0.99);
        opacity: 0.72;
    }
    100% {
        transform: translate3d(0, 0, 0) scale(0.96);
        opacity: 0.78;
    }
}

@keyframes chatRingPulse {
    0% {
        transform: scaleX(0.985) scaleY(0.96);
        opacity: 0.3;
    }
    50% {
        transform: scaleX(1.03) scaleY(1.08);
        opacity: 0.62;
    }
    100% {
        transform: scaleX(0.985) scaleY(0.96);
        opacity: 0.3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-launcher__orb,
    .chat-launcher__ring {
        animation: none;
    }
}

.chat-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.65rem);
    display: flex;
    flex-direction: column;
    width: min(24rem, calc(100vw - 1.5rem));
    max-height: min(70vh, 38rem);
    overflow: hidden;
    border: 1px solid rgba(24, 24, 27, 0.1);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top right, rgba(146, 64, 14, 0.08), transparent 38%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(18px);
    z-index: 2;
}

.chat-panel.hidden {
    display: none;
}

.chat-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.75rem;
}

.chat-panel__title {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.chat-panel__subtitle {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--color-muted-foreground);
}

.chat-panel__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--color-muted-foreground);
    cursor: pointer;
}

.chat-panel__close:hover {
    background: rgba(24, 24, 27, 0.05);
    color: var(--color-foreground);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.75rem;
    padding: 0 1rem 1rem;
    min-height: 0;
    overflow-y: auto;
}

.chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.chat-message--assistant {
    align-items: flex-start;
}

.chat-message--user {
    align-items: flex-end;
}

.chat-bubble {
    max-width: 85%;
    border-radius: 1rem;
    padding: 0.75rem 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    background: #f5f5f4;
    color: #18181b;
}

.chat-message--assistant .chat-bubble {
    border-top-left-radius: 0.4rem;
    background: #fff;
    border: 1px solid rgba(24, 24, 27, 0.08);
}

.chat-message--user .chat-bubble {
    border-top-right-radius: 0.4rem;
    background: linear-gradient(135deg, #92400e 0%, #78350f 100%);
    color: #fff;
}

.chat-message--typing .chat-bubble {
    color: var(--color-muted-foreground);
}

.chat-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 85%;
}

.chat-source-link {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    max-width: 100%;
    padding: 0.38rem 0.72rem;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    border: 1px solid rgba(146, 64, 14, 0.14);
    background: rgba(146, 64, 14, 0.07);
    color: #92400e;
}

.chat-source-link:hover {
    background: rgba(146, 64, 14, 0.12);
    border-color: rgba(146, 64, 14, 0.22);
}

.chat-form {
    flex: 0 0 auto;
    border-top: 1px solid rgba(24, 24, 27, 0.08);
    padding: 0.875rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.96);
}

.chat-input {
    width: 100%;
    min-height: 5.5rem;
    border: 1px solid rgba(24, 24, 27, 0.12);
    border-radius: 1rem;
    padding: 0.75rem 0.875rem;
    resize: vertical;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-foreground);
    font-family: inherit;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.chat-input:focus {
    border-color: rgba(146, 64, 14, 0.45);
    box-shadow: 0 0 0 4px rgba(146, 64, 14, 0.08);
}

.chat-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.chat-form__hint {
    flex: 1 1 14rem;
    font-size: 0.6875rem;
    line-height: 1.5;
    color: var(--color-muted-foreground);
}

.contacts-map {
    position: relative;
    min-height: 22rem;
}

.contacts-map iframe,
.contacts-map ymaps,
.contacts-map [class*="ymaps"] {
    width: 100% !important;
    max-width: 100% !important;
}

.contacts-map iframe {
    display: block;
    min-height: 22rem;
    border: 0;
}

@media (max-width: 767px) {
    .gift-turnkey-callout {
        max-width: none;
        border-radius: 1.25rem;
        padding: 1.05rem 1rem 1rem;
    }

    .gift-turnkey-callout__title {
        font-size: 1.5rem;
    }

    .gift-turnkey-callout__text {
        font-size: 0.875rem;
        line-height: 1.65;
    }

    .chat-widget {
        flex-direction: row;
    }

    .chat-launcher {
        min-height: 2.95rem;
        justify-content: center;
        padding: 0.72rem 0.95rem;
    }

    .chat-panel {
        position: fixed;
        left: 0.5rem;
        right: 0.5rem;
        bottom: calc(5rem + env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        max-height: min(72vh, calc(100dvh - 6rem));
    }

    .chat-bubble,
    .chat-sources {
        max-width: 100%;
    }

    .chat-form__footer {
        align-items: flex-start;
    }

    .contacts-map,
    .contacts-map iframe {
        min-height: 16rem;
    }
}

/* --- Admin nav --- */
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease;
}
.admin-nav-link:hover { color: var(--color-foreground); background: var(--color-secondary); }
.admin-nav-link--active { color: var(--color-foreground); background: var(--color-secondary); }

/* --- Admin table --- */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.admin-table th {
    text-align: left;
    padding: 0.625rem 1rem;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
}
.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--color-muted); }

/* --- Admin form --- */
.admin-form {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 1.75rem;
}
.admin-form .input,
.admin-form .textarea,
.admin-form select.input {
    background: var(--color-background);
    border-color: var(--color-border);
}
.admin-form .input:focus,
.admin-form .textarea:focus,
.admin-form select.input:focus {
    border-color: var(--color-ring);
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.06);
}
.admin-form .label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-foreground);
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-hint { font-size: 0.75rem; color: var(--color-muted-foreground); line-height: 1.4; }
.form-section {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    margin-top: 1.5rem;
}

/* --- Hero slider --- */
.hero-slider {
    position: relative;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition:
        opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.hero-slider-btn {
    color: var(--color-foreground);
}
.hero-slider-btn:hover {
    background: rgba(24, 24, 27, 0.7);
    color: #fff;
}
.hero-slider-dots .hero-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(15, 23, 42, 0.25);
    opacity: 0.6;
    transition: all 0.2s ease;
}
.hero-slider-dots .hero-slider-dot.is-active {
    width: 16px;
    opacity: 1;
    background: #fff;
    border-color: #fff;
}

/* --- Toggle switch --- */
.toggle {
    position: relative;
    display: inline-block;
    width: 2.25rem;
    height: 1.25rem;
    cursor: pointer;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--color-input);
    border-radius: 9999px;
    transition: background 0.2s ease;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 0.875rem;
    height: 0.875rem;
    left: 0.1875rem;
    bottom: 0.1875rem;
    background: white;
    border-radius: 9999px;
    transition: transform 0.2s ease;
}
.toggle input:checked + .toggle-slider { background: var(--color-primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(1rem); }
