.temperature-anomaly { min-width: 0; }
.temperature-anomaly > .panel-heading { flex-wrap: wrap; gap: 12px 20px; }
.ta-status { margin: 0 0 12px; padding: 9px 12px; border-left: 3px solid var(--blue); border-radius: 7px; background: #edf7fb; color: var(--ink); font-size: .78rem; }
.ta-stage { position: relative; isolation: isolate; height: clamp(330px, 56vw, 630px); overflow: hidden; border: 1px solid #bfdae7; border-radius: 13px; background: #d9e8ed; }
.ta-has-field .ta-stage { background: #bcc7cd; }
.ta-stage svg { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; user-select: none; }
.ta-stage svg:focus-visible { outline: 3px solid var(--blue); outline-offset: -4px; }
.ta-land { fill: #e3e8eb; }
.ta-has-field .ta-land { fill: #ccd4d9; }
.ta-border { fill: none; stroke: #426f85; stroke-opacity: .85; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ta-label { fill: #234455; font: 750 12px system-ui, sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 2.6px; stroke-linejoin: round; }
.ta-station-label { fill: #ab1832; font-size: 13px; }
.ta-map-buttons { position: absolute; top: 9px; left: 9px; display: flex; gap: 5px; flex-wrap: wrap; max-width: calc(100% - 18px); }
.ta-map-buttons button, .ta-map-time { border: 1px solid #bdd7e4; background: #f7fbfdef; color: #153a53; box-shadow: 0 3px 8px #143f601c; }
.ta-map-buttons button { min-height: 38px; padding: 5px 9px; font-size: .74rem; }
.ta-map-time { position: absolute; bottom: 8px; right: 8px; max-width: calc(100% - 16px); padding: 5px 8px; border-radius: 7px; font-size: .7rem; font-weight: 750; pointer-events: none; }
.ta-timeline { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-block: 10px; }
.ta-timeline button { padding: 8px 12px; min-height: 40px; font-size: .74rem; }
.ta-timeline button:disabled, .temperature-anomaly [data-ta-load]:disabled { opacity: .48; cursor: default; }
.ta-timeline label { display: grid; gap: 3px; flex: 1 1 190px; min-width: 0; color: var(--ink); font-size: .73rem; font-weight: 800; }
.ta-timeline input { width: 100%; accent-color: var(--blue); }
.ta-legend { max-width: 560px; margin-bottom: 10px; color: var(--muted); font-size: .71rem; }
.ta-legend strong { color: var(--ink); }
.ta-scale { display: flex; justify-content: space-between; gap: 5px; padding-top: 13px; margin: 4px 0; position: relative; font-variant-numeric: tabular-nums; }
.ta-scale::before { position: absolute; inset: 0 0 auto; height: 10px; border-radius: 4px; content: ''; background: linear-gradient(to right,#34206e,#2660ae 25%,#f7f7f4 50%,#dc6841 75%,#8d1537); border: 1px solid #8495a0; }
.ta-reading { display: flex; flex-wrap: wrap; gap: 3px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f4f9fc; color: var(--ink); font-size: .77rem; }
.ta-credit { margin: 8px 0 0; color: var(--muted); font-size: .69rem; }
.ta-sources { margin-top: 12px; color: var(--muted); font-size: .74rem; }
.ta-sources summary { cursor: pointer; color: var(--navy); font-weight: 750; }
.ta-sources p { margin: 8px 0; }
@media (max-width: 480px) {
    body:has([data-admin-panel="testarena"].is-active [data-admin-subpanel="temperaturabweichung"].is-active) { min-width: 0; }
    .temperature-anomaly { padding: 12px; }
    .ta-stage { height: 360px; }
}

