/* Browsing insights in the footer (includes/footer-v3.php, js/insights-preference.js): a disclosure that looks like
   the footer's other links, and a light card above it in Daylight Glass's tokens (the footer loads them). */
.vc-insights-pref { position: relative; font: inherit; color: inherit; }
.vc-insights-pref summary { display: flex; align-items: center; gap: 7px; min-height: 32px; color: var(--inv-mut2); list-style: none; text-decoration: underline; text-decoration-color: rgba(169,179,199,.4); text-underline-offset: 4px; cursor: pointer; }
.vc-insights-pref summary:hover, .vc-insights-pref[open] summary { color: #ffffff; text-decoration-color: currentColor; }
.vc-insights-pref summary::-webkit-details-marker { display: none; }
.vc-insights-pref summary::after { content: ""; flex: none; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.vc-insights-pref[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.vc-insights-pref summary:focus-visible { outline: 2px solid var(--inv-acc); outline-offset: 4px; border-radius: 4px; }
.vc-insights-pref__panel { position: absolute; z-index: 5; bottom: calc(100% + 12px); right: 0; width: 320px; max-width: calc(100vw - 40px); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--card); color: var(--ink); box-shadow: var(--shadow-card); font-size: 14px; line-height: 1.5; text-align: left; }
.vc-insights-pref__panel label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.vc-insights-pref__panel input { flex: 0 0 20px; width: 20px; height: 20px; accent-color: var(--acc-strong); }
.vc-insights-pref__panel p { margin: 8px 0 0; color: var(--mut); }
@media (max-width: 600px) { .vc-insights-pref__panel { position: static; width: auto; margin: 10px 0; } .vc-insights-pref summary { min-height: 44px; } }
