.vv-analytics-panel[hidden] { display: none; }

.vv-analytics-panel {
    position: fixed;
    z-index: 1000;
    inset: auto 16px 16px;
    margin-inline: auto;
    max-width: 960px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 8px 32px rgb(15 23 42 / 15%);
    font-family: inherit;
}

.vv-analytics-copy { flex: 1; }
.vv-analytics-copy h2 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.vv-analytics-copy p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; }
.vv-analytics-choice { color: #475569; }
.vv-analytics-copy a { color: #1d4ed8; font-size: 14px; text-decoration: underline; }
.vv-analytics-actions { display: flex; flex-direction: column; gap: 10px; min-width: 170px; }
.vv-analytics-button {
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid #1d4ed8;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.vv-analytics-button:hover { background: #1e40af; border-color: #1e40af; }
.vv-analytics-button:focus-visible, .vv-analytics-settings:focus-visible, .vv-analytics-copy a:focus-visible {
    outline: 3px solid #0f172a;
    outline-offset: 3px;
}
.vv-analytics-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.vv-analytics-settings-fallback { display: block; margin: 24px auto; color: #1d4ed8; }
.vv-footer-links-with-analytics { min-width: 0; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 860px) {
    .vv-footer-links-with-analytics { justify-content: center; }
}

@media (max-width: 640px) {
    .vv-analytics-panel { inset: auto 12px 12px; max-height: calc(100dvh - 24px); padding: 18px; gap: 16px; flex-direction: column; align-items: stretch; }
    .vv-analytics-actions { flex-direction: row; min-width: 0; }
    .vv-analytics-button { flex: 1; padding-inline: 8px; }
}
