﻿.privacy-choice[hidden] { display: none; }
.privacy-choice { position: fixed; z-index: 22000; bottom: 12px; right: 12px; width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 16px; background: #f0f7f4; color: #173e39; border: 1px solid #709b90; border-radius: 12px; box-shadow: 0 6px 28px #001a2240; font: 14px/1.5 system-ui, sans-serif; }
.privacy-choice p { margin: 8px 0; }
.privacy-choice a { color: inherit; text-decoration: underline; }
.privacy-choice > div { display: flex; flex-wrap: wrap; gap: 8px; }
.privacy-choice button,.privacy-settings { min-height: 44px; padding: 8px 12px; border: 1px solid currentColor; border-radius: 7px; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.privacy-choice button:focus-visible,.privacy-settings:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.privacy-choice small { display: block; margin-top: 8px; }
.privacy-settings { color: var(--text-secondary, var(--page-text-soft, #315c56)); font-size: 12px; }
[data-theme="night"] .privacy-choice { background: #092b34; color: #e8f2ef; }
.live-data-help { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--border-default, #709b90); border-radius: 8px; font-size: 14px; line-height: 1.5; }
.live-data-help a { color: var(--color-accent-dark, #175f56); text-decoration: underline; }
[data-theme="night"] .live-data-help a { color: #9fe1cb; }
.weather-data-unavailable .current-weather-icon,.weather-data-unavailable .current-weather-temperature,.weather-data-unavailable .current-weather-feels,.weather-data-unavailable .current-weather-uv,.weather-data-unavailable .current-wind-stat-grid,.weather-data-unavailable .current-wind-compass,.weather-data-unavailable .current-wind-primary { display: none !important; }
.weather-data-unavailable .current-weather-overview { min-height: 80px; padding: 16px; }
.live-tools-failed [data-dashboard-section] { display: none !important; }
.live-data-help button { min-height: 44px; padding: 8px 12px; margin: 8px; border: 1px solid currentColor; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
.live-data-help button:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.data-refresh-recovery { flex-wrap: wrap; }
.data-refresh-recovery a { color: inherit; text-decoration: underline; }
/* Keep the recovery explanation in document flow rather than covering live controls. */
.data-refresh-recovery { position: static; inset: auto; width: min(1280px, calc(100% - 32px)); max-width: none; margin: 16px auto; font-size: 13px; line-height: 1.5; }
.data-refresh-recovery > span:last-child { flex-basis: 100%; }
