.iwceal-app {
    --iwceal-orange: #f28500;
    --iwceal-orange-dark: #d96e00;
    --iwceal-ink: #282828;
    --iwceal-muted: #666;
    --iwceal-line: #e5e5e5;
    --iwceal-soft: #fff8ef;
    color: var(--iwceal-ink);
    font-family: inherit;
    margin: 18px auto;
    max-width: 920px;
}

.iwceal-app * {
    box-sizing: border-box;
}

.iwceal-app [hidden] {
    display: none !important;
}

.iwceal-shell {
    background: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(25, 25, 25, .08);
    overflow: hidden;
    padding: clamp(22px, 4vw, 42px);
}

.iwceal-shell--registration {
    margin: 0 auto;
    max-width: 760px;
    padding: 20px 24px 24px;
}

.iwceal-hero {
    margin: -20px -24px 16px;
    padding: 19px 24px 16px;
    position: relative;
}

.iwceal-hero::before {
    background: var(--iwceal-orange);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.iwceal-hero h2,
.iwceal-complete h2 {
    color: var(--iwceal-ink);
    font-size: clamp(24px, 4vw, 31px);
    line-height: 1.18;
    margin: 0;
    text-align: center;
}

.iwceal-instructions {
    background: var(--iwceal-soft);
    border-left: 4px solid var(--iwceal-orange);
    border-radius: 10px;
    margin-bottom: 16px;
    padding: 11px 14px;
}

.iwceal-instructions strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.iwceal-instructions p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.iwceal-required {
    color: #555;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
    text-align: center;
}

.iwceal-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.iwceal-grid label {
    margin: 0;
    position: relative;
}

.iwceal-grid input {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    font: inherit;
    min-height: 48px;
    padding: 10px 13px;
    width: 100%;
}

.iwceal-grid input:focus,
.iwceal-option:focus-within {
    border-color: var(--iwceal-orange);
    box-shadow: 0 0 0 3px rgba(242, 133, 0, .16);
    outline: none;
}

.iwceal-grid input::placeholder {
    color: #666;
    opacity: 1;
}

.iwceal-phone > span {
    color: #777;
    font-size: 11px;
    font-weight: 600;
    left: 14px;
    pointer-events: none;
    position: absolute;
    top: 5px;
    z-index: 1;
}

.iwceal-phone input {
    padding-bottom: 5px;
    padding-top: 18px;
}

.iwceal-sr-only,
.iwceal-honeypot {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.iwceal-button {
    appearance: none;
    background: var(--iwceal-orange);
    border: 0;
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 48px;
    padding: 12px 22px;
    transition: background .18s ease, transform .18s ease;
}

.iwceal-button:hover {
    background: var(--iwceal-orange-dark);
    color: #fff;
    transform: translateY(-1px);
}

.iwceal-button:disabled {
    cursor: not-allowed;
    opacity: .45;
    transform: none;
}

.iwceal-button--wide {
    margin-top: 14px;
    width: 100%;
}

.iwceal-button--secondary {
    background: #ececec;
    color: #333;
}

.iwceal-button--secondary:hover {
    background: #ddd;
    color: #222;
}

.iwceal-progress-meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.iwceal-progress-meta span {
    color: var(--iwceal-muted);
    font-weight: 700;
}

.iwceal-progress {
    background: #ececec;
    border-radius: 999px;
    height: 9px;
    overflow: hidden;
}

.iwceal-progress span {
    background: linear-gradient(90deg, var(--iwceal-orange), #ffad3d);
    display: block;
    height: 100%;
    transition: width .25s ease;
}

.iwceal-test-instructions {
    background: var(--iwceal-soft);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin: 18px 0;
    padding: 11px 14px;
    text-align: center;
}

.iwceal-question {
    border: 0;
    margin: 0;
    padding: 0;
}

.iwceal-question legend {
    color: var(--iwceal-ink);
    float: left;
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 20px;
    width: 100%;
}

.iwceal-question legend + * {
    clear: both;
}

.iwceal-options {
    display: grid;
    gap: 10px;
}

.iwceal-option {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    color: #3f3f3f;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    justify-content: flex-start;
    line-height: 1.45;
    min-height: 56px;
    padding: 15px 18px;
    text-align: left;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
    width: 100%;
}

.iwceal-option:hover {
    background: var(--iwceal-soft);
    border-color: var(--iwceal-orange);
    transform: translateY(-1px);
}

.iwceal-option.is-selected {
    background: var(--iwceal-orange);
    border-color: var(--iwceal-orange);
    box-shadow: 0 3px 12px rgba(217, 110, 0, .22);
    color: #fff;
}

.iwceal-option input {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.iwceal-app .iwceal-options button.iwceal-option {
    appearance: none !important;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #d7d7d7 !important;
    box-shadow: none !important;
    color: #333 !important;
    text-shadow: none !important;
}

.iwceal-app .iwceal-options button.iwceal-option:not(.is-selected):hover {
    background: #fff8ef !important;
    border-color: #f28500 !important;
    color: #333 !important;
}

.iwceal-app .iwceal-options button.iwceal-option.is-selected,
.iwceal-app .iwceal-options button.iwceal-option[aria-pressed="true"] {
    background: #f28500 !important;
    background-image: none !important;
    border-color: #f28500 !important;
    box-shadow: 0 3px 12px rgba(217, 110, 0, .22) !important;
    color: #fff !important;
}

.iwceal-navigation {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 24px;
}

.iwceal-navigation .iwceal-button:last-child {
    margin-left: auto;
}

.iwceal-message {
    border-radius: 10px;
    line-height: 1.5;
    margin: 14px 0;
    padding: 12px 14px;
}

.iwceal-message--error {
    background: #fff0f0;
    border-left: 4px solid #c62828;
    color: #8e1d1d;
}

.iwceal-complete {
    padding: 50px 25px;
    text-align: center;
}

.iwceal-complete p {
    color: var(--iwceal-muted);
    font-size: 17px;
    margin: 12px 0 0;
}

.iwceal-complete__icon {
    align-items: center;
    background: #e7f6eb;
    border-radius: 50%;
    color: #257c3b;
    display: inline-flex;
    font-size: 34px;
    font-weight: 900;
    height: 72px;
    justify-content: center;
    margin-bottom: 20px;
    width: 72px;
}

@media (max-width: 700px) {
    .iwceal-app {
        margin: 10px auto;
    }

    .iwceal-shell {
        border-radius: 14px;
    }

    .iwceal-shell--registration {
        padding: 18px 16px 20px;
    }

    .iwceal-hero {
        margin: -18px -16px 14px;
        padding: 18px 16px 14px;
    }

    .iwceal-grid {
        grid-template-columns: 1fr;
    }

    .iwceal-navigation .iwceal-button {
        flex: 1;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iwceal-app *,
    .iwceal-app *::before,
    .iwceal-app *::after {
        transition: none !important;
    }
}
