.fino-cv[hidden] { display: none !important; }
.fino-cv {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.fino-cv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 21, 69, 0.46);
}
.fino-cv-dialog {
    position: relative;
    width: min(440px, 100%);
    background: #fff;
    color: var(--fw-text, #1E1545);
    border-radius: 20px;
    box-shadow: var(--fw-shadow-md, 0 18px 48px rgba(30, 21, 69, 0.12));
    padding: 32px 28px 28px;
    max-height: calc(100vh - 40px);
    overflow: auto;
}
.fino-cv-close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--fw-muted, #6b6780);
    border-radius: 10px;
    cursor: pointer;
}
.fino-cv-close:hover,
.fino-cv-close:focus-visible {
    background: var(--fw-lavender, #ede9f5);
    color: var(--fw-navy, #1E1545);
    outline: none;
}
.fino-cv-pane h2 {
    margin: 8px 0 10px;
    font-size: 1.45rem;
    line-height: 1.35;
    color: var(--fw-navy, #1E1545);
}
.fino-cv-lead {
    margin: 0 0 22px;
    color: var(--fw-muted, #6b6780);
    line-height: 1.65;
}
.fino-cv-cta {
    width: 100%;
    justify-content: center;
}
.fino-cv-login,
.fino-cv-back {
    display: block;
    margin-top: 16px;
    text-align: center;
    color: var(--fw-purple, #4F3A9B);
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: 0;
    width: 100%;
    cursor: pointer;
    min-height: 44px;
}
.fino-cv-form label {
    display: block;
    margin-bottom: 12px;
}
.fino-cv-form label > span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fw-navy, #1E1545);
}
.fino-cv-form input,
.fino-cv-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--fw-line, #eceaf3);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    color: inherit;
    background: #fff;
}
.fino-cv-form input:focus,
.fino-cv-form select:focus {
    outline: 2px solid var(--fw-purple, #4F3A9B);
    outline-offset: 1px;
}
.fino-cv-phone-row {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 8px;
}
.fino-cv-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.85rem;
}
.fino-cv-cta[disabled] {
    opacity: 0.65;
    pointer-events: none;
}
body.fino-cv-open { overflow: hidden; }
@media (max-width: 640px) {
    .fino-cv { padding: 12px; align-items: flex-end; }
    .fino-cv-dialog {
        width: 100%;
        border-radius: 20px 20px 16px 16px;
        padding: 28px 18px 20px;
    }
    .fino-cv-phone-row { grid-template-columns: 108px 1fr; }
}
