.cv-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #f0f0f0;
}

.cv-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 48px;
    height: 52px;
    border-bottom: 1px solid #ddd;
    background: #f0f0f0;
    flex-shrink: 0;
}

.cv-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cv-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.cv-back:hover {
    color: #111;
}

.cv-back svg {
    flex-shrink: 0;
}

.cv-lang {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ccc;
}

.cv-lang-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    border: none;
    padding: 7px 16px;
    cursor: pointer;
    color: #aaa;
    transition: background 0.15s, color 0.15s;
}

.cv-lang-btn.active {
    background: #111;
    color: #fff;
}

.cv-lang-btn:not(.active):hover {
    color: #111;
    background: rgba(0,0,0,0.05);
}

.cv-separator {
    width: 1px;
    height: 18px;
    background: #ccc;
}

.cv-frame-wrap {
    flex: 1;
    overflow: hidden;
}

.cv-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.cv-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    color: #999;
}

.cv-fallback p {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .cv-toolbar {
        padding: 0 16px;
        height: 48px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cv-back span { display: none; }
}
