/* Gemeinsame Lesbarkeit für Zusatztexte. Keine globalen small-/SVG-Regeln:
   Messwerte, Einheiten, Datenschutztexte und Modellbeschriftungen bleiben erhalten. */
:root {
    --support-text: #365469;
    --support-accent: #177b9c;
}
[data-theme="dark"] {
    --support-text: #c4dbea;
    --support-accent: #73cde7;
}

/* Beschriftung und Eingabe bilden eine gemeinsame, vom Hintergrund gelöste Fläche. */
.particulate-year-section .particulate-year-picker {
    gap: 16px 20px;
    margin: 16px 0 20px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-solid);
    box-shadow: var(--shadow-soft);
}
.particulate-year-section .particulate-year-picker label {
    min-width: 0;
    gap: 9px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.4;
}
.particulate-year-section .particulate-year-picker label:first-child { min-width: min(230px, 100%); }
.particulate-year-section .particulate-year-picker select {
    min-height: 48px;
    color: var(--ink);
    background: var(--surface-soft);
    border-color: var(--line);
}
.particulate-year-section .particulate-year-picker button { min-height: 48px; padding-inline: 22px; }
.particulate-year-picker :is(select, button):focus-visible {
    outline: 3px solid var(--support-accent);
    outline-offset: 3px;
}
:is(.soil-year-control-group, .temperature-archive-controls) > :is(small, label, fieldset > legend) {
    color: var(--ink);
    font-size: .8rem;
    line-height: 1.5;
    letter-spacing: .025em;
}
.soil-year-control-group { gap: 10px; padding: 14px 16px; }
.soil-year-legend > div:last-child { flex-wrap: wrap; font-size: .75rem; line-height: 1.5; }
.soil-year-legend > div:last-child strong { flex: 1; min-width: 140px; text-align: center; }

/* Freistehende Quellen, Methodik und Erklärungen: erkennbarer Bezug zur vorherigen Anzeige. */
:is(.source-note, .wind-source-note, .pressure-instrument-scale-note,
    .pressure-hourly-source-note, .forecast-legal-note, .wildfire-legal-note,
    .agriculture-data-note, .agriculture-source-note, .agriculture-legal-note,
    .satellite-source-note, .noaa-source-note, .space-weather-note,
    .space-weather-legal-note, .weather-review-source-note,
    .temperature-archive-source-note, .temperature-dwd-note,
    .earthquake-legal-note, .warning-map-note, .rain-comparison-note,
    .rain-history-note, .particulate-year-note, .rur-cross-note,
    .same-day-chart-hint, .same-day-table-hint, .custom-chart-description) {
    margin: 14px 0 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--support-accent);
    border-radius: 4px 13px 13px 4px;
    background: var(--surface-solid);
    color: var(--support-text);
    font-size: .84rem;
    font-weight: 450;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: anywhere;
}
:is(.rain-balance-panel, .rain-distribution-panel) > .source-note { margin: 14px 0 0; }
:is(.source-note, .particulate-year-note, .rur-cross-note, .pressure-hourly-source-note) strong { color: var(--ink); }
:is(.source-note, .particulate-year-note, .satellite-source-note, .noaa-source-note) a {
    color: var(--support-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
[data-particulate-year-status]:empty { display: none; }
.particulate-year-section > small {
    display: block;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--surface-solid);
    color: var(--support-text);
    font-size: .78rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Bereits integrierte Fußnoten behalten ihre Position und erhalten mehr Ruhe und Kontrast. */
:is(.particulate-modern-note, .particulate-principle-note, .particulate-detector-note,
    .rain-sensors-panel > footer, .soil-year-filter-note, .rur-chart-hint) {
    color: #365469;
    font-size: .8rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
:is(.particulate-principle-note, .particulate-detector-note) { padding-block: 17px; }
.particulate-modern-note { padding-top: 12px; border-top: 1px solid rgba(42,104,125,.18); }
.soil-year-filter-note { align-items: baseline; flex-wrap: wrap; padding: 12px 14px; background: var(--surface-solid); border-radius: 10px; color: var(--support-text); }
.rur-chart-hint { padding: 10px 12px; color: var(--support-text); }
.agriculture-explanation :is(p, a) { font-size: .86rem; line-height: 1.7; }
.legal-note { font-size: .84rem; line-height: 1.7; }
.uv-gauge-card p.instrument-extrema-note, .pressure-instrument-card p.instrument-extrema-note {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--support-text);
    background: var(--surface-soft);
    font-size: .78rem;
    line-height: 1.6;
}

/* Kurze Hinweise im Titelbereich: kompakte Plakette statt losem Kleingedruckten. */
.section-heading { flex-wrap: wrap; row-gap: 10px; }
.section-heading .section-note {
    max-width: min(100%, 38ch);
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--support-text);
    background: var(--surface-solid);
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: break-word;
}
html[data-site-theme="aurora_station"] .section-heading .section-note {
    color: #d9f4ef;
    background: #123c42;
    border-color: rgba(115,205,231,.3);
}
.current-rain-event-note { color: #d2edf2; font-size: .78rem; line-height: 1.6; text-align: left; padding: 14px 22px; }
.weather-scene-copy .weather-scene-moon-note { color: #365469; font-size: .78rem; line-height: 1.6; }
.weather-scene-warning-explanation { color: #365469; font-size: .8rem; line-height: 1.65; }
.weather-scene-gust-note { font-size: .74rem; line-height: 1.5; }
.weather-scene-card > footer { color: #365469; font-size: .76rem; line-height: 1.6; }
.weather-scene-info p { padding-block: 10px; font-size: .84rem; line-height: 1.7; color: #365469; }
.weather-scene-info p + p { border-top: 1px solid rgba(42,104,125,.16); }
.context-help-dialog p { font-size: .86rem; line-height: 1.7; color: var(--support-text); }
.rain-data-notice > span { font-size: .8rem; line-height: 1.65; }
.rain-history-footer { font-size: .76rem; line-height: 1.6; }
:is(.particulate-cube-hint, .particulate-principle-hint, .particulate-detector-hint) {
    font-size: .72rem;
    line-height: 1.5;
}
.particulate-cube-hint { padding: 7px 10px; border-radius: 9px; background: rgba(247,251,255,.94); color: #365469; }

/* Seitenleisten bleiben kompakt; Warnungen und Fußnoten verschwinden nicht im Hintergrund. */
:is(.left-sidebar, .right-sidebar, [data-sidebar-module]) :is(.pollen-sidebar-note, .river-level-sidebar-note, .radiation-threshold-note) {
    margin-top: 10px;
    padding: 9px 10px;
    border-top: 1px solid var(--line);
    color: var(--support-text);
    background: var(--surface-solid);
    font-size: .7rem !important;
    line-height: 1.6;
    text-align: left;
}
.rain-year-note { margin-top: 5px; font-size: .7rem; line-height: 1.5; }
@media (max-width: 600px) {
    .particulate-year-section .particulate-year-picker { padding: 15px; gap: 14px 12px; }
    .particulate-year-section .particulate-year-picker label:first-child { flex-basis: 100%; }
    .particulate-year-section .particulate-year-picker label:nth-child(2) { flex: 1; }
    .section-heading .section-note { display: inline-block; margin-top: 8px; }
    :is(.source-note, .particulate-year-note, .forecast-legal-note, .agriculture-source-note,
        .warning-map-note, .rain-comparison-note, .rain-history-note, .rur-cross-note) { padding: 12px 14px; }
    .particulate-year-section .soil-year-legend strong { font-size: .75rem; }
}
