﻿/* =========================================
   CampaignView - Register
   Theme: Solid black + red accents (NO gradients)
   Match Service/Details style
   ========================================= */

:root {
    --home-text: rgba(255,255,255,0.92);
    --home-muted: rgba(255,255,255,0.70);
    --home-border: rgba(255,255,255,0.12);
    --home-red: #ff2a2a;
    --home-radius: 18px;
    --home-shadow2: 0 12px 34px rgba(0,0,0,0.45);
    --home-ease: cubic-bezier(.2,.8,.2,1);
    --home-ease-fast: cubic-bezier(.2,.9,.2,1);
    /* icons (SVG masks) */
    --i-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 18l-6-6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --i-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 5 6 .8-4.4 4 1.2 6.1L12 15.9 6.2 17.9 7.4 12 3 7.8 9 7z' fill='%23000'/%3E%3C/svg%3E");
    --i-count: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M7 10h10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M7 14h7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    --i-secure: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l7 4v6c0 5-3 9-7 10C8 21 5 17 5 12V6l7-4z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M9 12l2 2 4-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --i-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l10 18H2L12 3z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 9v5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 17h.01' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    --i-text: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 7V5h14v2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M12 5v14' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M8 19h8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    --i-note: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M7 10h10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M7 14h7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    --i-num: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6h6M9 18h6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M7 8h10M7 16h10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    --i-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3v3M17 3v3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M4 7h16v14H4z' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M4 11h16' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
    --i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 11V8a5 5 0 0 1 10 0v3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M6 11h12v10H6z' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.cmpr {
    min-width: 320px;
    color: var(--home-text);
    padding: clamp(18px, 3vw, 28px) 0 clamp(46px, 6vw, 74px);
}

.cmpr__inner {
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 24px;
}

@media (max-width:520px) {
    .cmpr__inner {
        padding-inline: 14px;
    }
}

/* -----------------------------------------
   Top bar
----------------------------------------- */
.cmpr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cmpr-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.90);
    font-weight: 950;
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);
    transition: transform 160ms var(--home-ease-fast), border-color 160ms var(--home-ease-fast);
}

    .cmpr-back:hover {
        transform: translateY(-1px);
        border-color: rgba(255,42,42,0.32);
    }

.cmpr-back__ic {
    width: 16px;
    height: 16px;
    display: inline-block;
}

    .cmpr-back__ic::before {
        content: "";
        width: 16px;
        height: 16px;
        display: block;
        background: rgba(255,255,255,0.92);
        -webkit-mask: var(--i-back) center/contain no-repeat;
        mask: var(--i-back) center/contain no-repeat;
    }

.cmpr-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 999px;
    font-weight: 950;
    font-size: 13px;
    border: 1px solid rgba(255,42,42,0.35);
    background: rgba(255,42,42,0.10);
}

.cmpr-badge__ic {
    width: 16px;
    height: 16px;
    display: inline-block;
}

    .cmpr-badge__ic::before {
        content: "";
        width: 16px;
        height: 16px;
        display: block;
        background: rgba(255,255,255,0.92);
        -webkit-mask: var(--i-badge) center/contain no-repeat;
        mask: var(--i-badge) center/contain no-repeat;
    }

/* -----------------------------------------
   Hero
----------------------------------------- */
.cmpr-hero {
    border-radius: var(--home-radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--home-border);
    box-shadow: var(--home-shadow2);
    padding: 18px;
    overflow: hidden;
    position: relative;
}

    .cmpr-hero::after {
        content: "";
        position: absolute;
        right: -70px;
        top: -70px;
        width: 200px;
        height: 200px;
        background: rgba(255,42,42,0.10);
        filter: blur(36px);
        pointer-events: none;
    }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.10);
    position: relative;
    z-index: 1;
}

.kicker__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--home-red);
    box-shadow: 0 0 0 4px rgba(255,42,42,0.14);
}

.kicker__text {
    font-weight: 900;
    letter-spacing: .2px;
    font-size: 13px;
    color: rgba(255,255,255,0.88);
}

.cmpr-title {
    margin: 14px 0 8px;
    font-size: clamp(28px, 4.2vw, 36px);
    letter-spacing: -0.03em;
    line-height: 1.06;
    position: relative;
    z-index: 1;
}

.cmpr-sub {
    margin: 0;
    max-width: 80ch;
    color: var(--home-muted);
    font-size: clamp(13.5px, 1.7vw, 16px);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cmpr-accent {
    color: rgba(255,255,255,0.92);
    font-weight: 950;
}

.cmpr-metaRow {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Pills */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    transition: transform 180ms var(--home-ease-fast), border-color 180ms var(--home-ease-fast);
}

    .pill:hover {
        transform: translateY(-1px);
        border-color: rgba(255,255,255,0.18);
    }

.pill__icon {
    --pill-icon: var(--i-count);
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255,42,42,0.12);
    border: 1px solid rgba(255,42,42,0.38);
    display: inline-grid;
    place-items: center;
}

    .pill__icon::before {
        content: "";
        width: 12px;
        height: 12px;
        background: rgba(255,255,255,0.92);
        -webkit-mask: var(--pill-icon) center/contain no-repeat;
        mask: var(--pill-icon) center/contain no-repeat;
    }

.pill__icon--count {
    --pill-icon: var(--i-count);
}

.pill__icon--secure {
    --pill-icon: var(--i-secure);
}

.pill__text {
    font-size: 13px;
    font-weight: 850;
    color: rgba(255,255,255,0.86);
}

/* -----------------------------------------
   Validation
----------------------------------------- */
.cmpr-validation {
    margin-top: 12px;
    border-radius: var(--home-radius);
    border: 1px solid rgba(255,42,42,0.26);
    background: rgba(255,42,42,0.06);
    box-shadow: 0 16px 40px rgba(0,0,0,0.26);
    padding: 14px 14px 12px;
    overflow: hidden;
}

    .cmpr-validation:empty {
        display: none;
    }

.cmpr-validation__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cmpr-validation__ic {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,42,42,0.45);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

    .cmpr-validation__ic::before {
        content: "";
        width: 12px;
        height: 12px;
        background: rgba(255,255,255,0.92);
        -webkit-mask: var(--i-warn) center/contain no-repeat;
        mask: var(--i-warn) center/contain no-repeat;
    }

.cmpr-validation__title {
    font-weight: 950;
    letter-spacing: .2px;
}

.cmpr-validation__body ul {
    margin: 0;
    padding-left: 18px;
    color: rgba(255,255,255,0.86);
    font-weight: 800;
    font-size: 13px;
    line-height: 1.55;
}

.cmpr-validation__body:empty {
    display: none;
}

.cmpr-validation__body .validation-summary-valid {
    display: none;
}

/* -----------------------------------------
   Form list
----------------------------------------- */
.cmpr-form {
    margin-top: 12px;
}

.cmpr-list {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

/* Card */
.cmpr-card {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    border-radius: var(--home-radius);
    box-shadow: 0 16px 40px rgba(0,0,0,0.30);
    padding: 16px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    transition: transform 180ms var(--home-ease-fast), border-color 180ms var(--home-ease-fast), box-shadow 180ms var(--home-ease-fast);
}

    .cmpr-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        z-index: 0;
        opacity: 0.55;
        background: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 1.5px);
        background-size: 18px 18px;
    }

    .cmpr-card::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 84px;
        height: 84px;
        pointer-events: none;
        z-index: 0;
        background: rgba(255,42,42,0.14);
        clip-path: polygon(100% 0, 0 0, 100% 100%);
        opacity: 0.9;
    }

    .cmpr-card > * {
        position: relative;
        z-index: 1;
    }

    .cmpr-card:hover {
        transform: translateY(-2px);
        border-color: rgba(255,42,42,0.28);
        box-shadow: 0 24px 70px rgba(0,0,0,0.46);
    }

.cmpr-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cmpr-card__left {
    display: flex;
    gap: 12px;
    min-width: 0;
}

.cmpr-num {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(255,42,42,0.40);
    box-shadow: 0 14px 26px rgba(0,0,0,0.35);
    font-weight: 950;
}

.cmpr-headText {
    min-width: 0;
}

.cmpr-label {
    display: block;
    font-weight: 950;
    letter-spacing: -0.01em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.cmpr-help {
    margin-top: 6px;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.cmpr-card__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.cmpr-req {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,42,42,0.12);
    border: 1px solid rgba(255,42,42,0.38);
    font-weight: 950;
    font-size: 12px;
}

.cmpr-req__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--home-red);
    box-shadow: 0 0 0 4px rgba(255,42,42,0.14);
}

.cmpr-opt {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.10);
    font-weight: 950;
    font-size: 12px;
    color: rgba(255,255,255,0.78);
}

/* Field */
.cmpr-field {
    margin-top: 4px;
}

/* Input wrap */
.cmpr-inputWrap {
    position: relative;
}

.cmpr-input,
.cmpr-textarea,
.cmpr-select__native {
    width: 100%;
    padding: 12px 12px 12px 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.22);
    color: rgba(255,255,255,0.92);
    outline: none;
    transition: border-color 160ms var(--home-ease-fast), box-shadow 160ms var(--home-ease-fast), transform 160ms var(--home-ease-fast);
    font-weight: 850;
    font-size: 13.5px;
}

.cmpr-textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 12px;
    line-height: 1.6;
}

    .cmpr-input::placeholder,
    .cmpr-textarea::placeholder {
        color: rgba(255,255,255,0.42);
        font-weight: 800;
    }

    .cmpr-input:focus,
    .cmpr-textarea:focus,
    .cmpr-select__native:focus {
        border-color: rgba(255,42,42,0.55);
        box-shadow: 0 0 0 4px rgba(255,42,42,0.14);
        transform: translateY(-1px);
    }

.cmpr-inputIcon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255,42,42,0.12);
    border: 1px solid rgba(255,42,42,0.38);
    display: grid;
    place-items: center;
    pointer-events: none;
}

    .cmpr-inputIcon::before {
        content: "";
        width: 12px;
        height: 12px;
        background: rgba(255,255,255,0.92);
        -webkit-mask: var(--i-text) center/contain no-repeat;
        mask: var(--i-text) center/contain no-repeat;
    }

.cmpr-inputIcon--text::before {
    -webkit-mask: var(--i-text) center/contain no-repeat;
    mask: var(--i-text) center/contain no-repeat;
}

.cmpr-inputIcon--note::before {
    -webkit-mask: var(--i-note) center/contain no-repeat;
    mask: var(--i-note) center/contain no-repeat;
}

.cmpr-inputIcon--num::before {
    -webkit-mask: var(--i-num) center/contain no-repeat;
    mask: var(--i-num) center/contain no-repeat;
}

.cmpr-inputIcon--cal::before {
    -webkit-mask: var(--i-cal) center/contain no-repeat;
    mask: var(--i-cal) center/contain no-repeat;
}

/* Select */
.cmpr-select {
    position: relative;
}

.cmpr-select__native {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
}

.cmpr-select__chev {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: .9;
}

    .cmpr-select__chev::before {
        content: "";
        width: 14px;
        height: 14px;
        background: rgba(255,255,255,0.92);
        -webkit-mask: var(--i-chev) center/contain no-repeat;
        mask: var(--i-chev) center/contain no-repeat;
    }

/* Choices */
.cmpr-choices {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.cmpr-choice {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);
    transition: border-color 160ms var(--home-ease-fast), transform 160ms var(--home-ease-fast), background-color 160ms var(--home-ease-fast);
}

    .cmpr-choice:hover {
        transform: translateY(-1px);
        border-color: rgba(255,42,42,0.26);
        background: rgba(255,255,255,0.05);
    }

.cmpr-choice__in {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cmpr-choice__ui {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.25);
    display: inline-grid;
    place-items: center;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.18);
    flex: 0 0 auto;
}

.cmpr-choice--multi .cmpr-choice__ui {
    border-radius: 6px;
}

.cmpr-choice__tx {
    font-weight: 850;
    font-size: 13.5px;
    color: rgba(255,255,255,0.90);
    overflow-wrap: anywhere;
}

.cmpr-choice:has(.cmpr-choice__in:checked) {
    border-color: rgba(255,42,42,0.55);
    background: rgba(255,42,42,0.10);
}

    .cmpr-choice:has(.cmpr-choice__in:checked) .cmpr-choice__ui {
        border-color: rgba(255,42,42,0.75);
    }

        .cmpr-choice:has(.cmpr-choice__in:checked) .cmpr-choice__ui::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 999px;
            background: rgba(255,255,255,0.92);
            box-shadow: 0 8px 18px rgba(0,0,0,0.45);
        }

.cmpr-choice--multi:has(.cmpr-choice__in:checked) .cmpr-choice__ui::before {
    border-radius: 2px;
    width: 11px;
    height: 11px;
}

/* Single checkbox */
.cmpr-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);
    transition: border-color 160ms var(--home-ease-fast), transform 160ms var(--home-ease-fast);
}

    .cmpr-check:hover {
        transform: translateY(-1px);
        border-color: rgba(255,42,42,0.26);
    }

.cmpr-check__in {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cmpr-check__ui {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(0,0,0,0.25);
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.cmpr-check__tx {
    font-weight: 900;
    font-size: 13.5px;
    color: rgba(255,255,255,0.90);
}

.cmpr-check:has(.cmpr-check__in:checked) {
    border-color: rgba(255,42,42,0.55);
    background: rgba(255,42,42,0.10);
}

    .cmpr-check:has(.cmpr-check__in:checked) .cmpr-check__ui {
        border-color: rgba(255,42,42,0.75);
    }

        .cmpr-check:has(.cmpr-check__in:checked) .cmpr-check__ui::before {
            content: "";
            width: 11px;
            height: 11px;
            border-radius: 2px;
            background: rgba(255,255,255,0.92);
        }

/* Footer hint */
.cmpr-card__foot {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.cmpr-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
    font-size: 12.5px;
    color: rgba(255,255,255,0.70);
}

.cmpr-hint__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--home-red);
    box-shadow: 0 0 0 4px rgba(255,42,42,0.12);
}

/* Unsupported */
.cmpr-unsupported {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,42,42,0.30);
    background: rgba(255,42,42,0.08);
    font-weight: 900;
}

/* Submit bar */
.cmpr-submitBar {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cmpr-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,42,42,0.45);
    background: rgba(255,42,42,0.16);
    color: rgba(255,255,255,0.94);
    font-weight: 950;
    letter-spacing: .2px;
    cursor: pointer;
    transition: transform 160ms var(--home-ease-fast), border-color 160ms var(--home-ease-fast), background-color 160ms var(--home-ease-fast);
    min-width: 220px;
}

    .cmpr-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(255,42,42,0.70);
        background: rgba(255,42,42,0.22);
    }

    .cmpr-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 4px rgba(255,42,42,0.18);
    }

    .cmpr-btn[disabled],
    .cmpr-btn.is-busy {
        opacity: .70;
        cursor: not-allowed;
        transform: none !important;
    }

.cmpr-btn__spin {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.20);
    border-top-color: rgba(255,255,255,0.85);
    display: none;
    animation: cmprSpin 0.9s linear infinite;
}

.cmpr-btn.is-busy .cmpr-btn__spin {
    display: inline-block;
}

@keyframes cmprSpin {
    to {
        transform: rotate(360deg);
    }
}

.cmpr-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);
    color: rgba(255,255,255,0.78);
    font-weight: 900;
    font-size: 12.5px;
}

.cmpr-mini__ic {
    width: 16px;
    height: 16px;
    display: inline-block;
}

    .cmpr-mini__ic::before {
        content: "";
        width: 16px;
        height: 16px;
        display: block;
        background: rgba(255,255,255,0.92);
        -webkit-mask: var(--i-lock) center/contain no-repeat;
        mask: var(--i-lock) center/contain no-repeat;
    }

/* -----------------------------------------
   Reveal
----------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 520ms var(--home-ease), transform 520ms var(--home-ease);
}

    .reveal.is-in {
        opacity: 1;
        transform: translateY(0);
    }

/* Mobile */
@media (max-width:420px) {
    .cmpr-card {
        padding: 14px;
    }

    .cmpr-num {
        width: 32px;
        height: 32px;
        border-radius: 12px;
    }

    .cmpr-input, .cmpr-textarea, .cmpr-select__native {
        padding-left: 40px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .cmpr-card,
    .cmpr-btn,
    .pill,
    .cmpr-back {
        transition: none !important;
        animation: none !important;
    }
}

.cmpr-input--file {
    padding-left: 42px;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .cmpr-input--file::file-selector-button {
        border: 1px solid rgba(255,42,42,0.45);
        background: rgba(255,42,42,0.16);
        color: rgba(255,255,255,0.92);
        font-weight: 900;
        border-radius: 999px;
        padding: 8px 12px;
        margin-right: 12px;
        cursor: pointer;
    }

        .cmpr-input--file::file-selector-button:hover {
            border-color: rgba(255,42,42,0.70);
            background: rgba(255,42,42,0.22);
        }

/* icon variant (optional) */
.cmpr-inputIcon--file::before {
    -webkit-mask: var(--i-lock) center/contain no-repeat;
    mask: var(--i-lock) center/contain no-repeat;
}
