/* Standalone CAPTCHA styles — load via asset() so production works even if Vite build is stale */
.sci-captcha {
    display: grid !important;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) !important;
    gap: 0.75rem 1rem !important;
    align-items: start !important;
    width: 100%;
    max-width: 720px;
    box-sizing: border-box;
}
.svc-case-form .sci-captcha,
.cs-form .sci-captcha {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) !important;
}
.svc-case-form .sci-captcha {
    grid-template-columns: 260px minmax(0, 1fr) !important;
}
.sci-captcha > label {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    padding-top: 0.55rem;
    margin: 0;
}
.sci-captcha .text-red-500,
.sci-captcha label span {
    color: #dc2626 !important;
}
.sci-captcha-wrap {
    border: 1px solid #cfcfcf !important;
    background: #fff !important;
    padding: 0.45rem !important;
    display: grid !important;
    gap: 0.4rem !important;
    box-sizing: border-box;
}
.sci-captcha-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 0.35rem !important;
    align-items: stretch !important;
}
.sci-captcha-math {
    min-height: 72px !important;
    display: grid !important;
    place-items: center !important;
    background: #f2f2f2 !important;
    border: 1px solid #e5e5e5 !important;
    color: #333 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    font-style: italic !important;
    letter-spacing: 0.06em;
    user-select: none;
    margin: 0;
}
.sci-captcha-tools {
    display: grid !important;
    grid-template-rows: 1fr 1fr !important;
    gap: 0.3rem !important;
}
.sci-captcha-tool {
    display: grid !important;
    place-items: center !important;
    border: 1px solid #d4d4d4 !important;
    background: #fafafa !important;
    color: #937243 !important;
    text-decoration: none !important;
    cursor: pointer;
    padding: 0 !important;
    min-height: 34px !important;
    box-sizing: border-box;
}
.sci-captcha-tool:hover {
    background: #f3efe6 !important;
    color: #7d6238 !important;
}
.sci-captcha-tool svg {
    display: block;
    stroke: currentColor;
}
.sci-captcha-input {
    display: block !important;
    width: 100% !important;
    min-height: 2.35rem !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 0 !important;
    padding: 0.4rem 0.65rem !important;
    font-size: 0.9rem !important;
    background: #fff !important;
    color: #111827 !important;
    box-sizing: border-box !important;
}
.sci-captcha-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}
.sci-captcha-input:focus {
    outline: 2px solid #0f3a8a55 !important;
    border-color: #0f3a8a !important;
}
@media (max-width: 720px) {
    .sci-captcha,
    .svc-case-form .sci-captcha,
    .cs-form .sci-captcha {
        grid-template-columns: 1fr !important;
    }
    .sci-captcha > label {
        text-align: left;
        padding-top: 0;
    }
}
