body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7fb;
}

.app {
  width: min(430px, calc(100vw - 28px));
  margin: 18px auto;
}

.hero {
  border-radius: 32px;
  padding: 28px 22px;
  color: white;
  text-align: center;
  background: linear-gradient(160deg, #62c8ff 0%, #2f80ed 60%, #1769c2 100%);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

/* =========================================================
   Hero globale acties
   ========================================================= */

.hero {
  position: relative;
}

.hero-action-button {
  appearance: none;
  -webkit-appearance: none;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border:
    1px solid
    rgba(255, 255, 255, 0.42);

  border-radius:
    50%;

  background:
    rgba(255, 255, 255, 0.08);

  color:
    rgba(255, 255, 255, 0.9);

  font: inherit;
  font-size: 13px;
  font-weight: 650;

  cursor: pointer;

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(8px);

  -webkit-tap-highlight-color:
    transparent;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.hero-action-button:hover {
  background:
    rgba(255, 255, 255, 0.15);

  border-color:
    rgba(255, 255, 255, 0.6);
}

.hero-action-button:active {
  transform:
    scale(0.94);
}

.weather-icon {
  font-size: 58px;
  line-height: 1;
  margin-top: 15px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.22));
  transition: transform .45s ease, opacity .45s ease;
}

.weather-icon.rain {
  animation: rainFloat 2.4s ease-in-out infinite;
}

.weather-icon.wind {
  animation: windFloat 2.8s ease-in-out infinite;
}

.weather-icon.mist {
  animation: mistFade 3.8s ease-in-out infinite;
}

.chip.solar-active {
  background: rgba(255, 213, 79, .24);
}

.solar-pulse {
  display: inline-block;
  animation: solarPulse 1.6s ease-in-out infinite;
}

@keyframes solarPulse {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes rainFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes windFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(7px); }
}

@keyframes mistFade {
  0%, 100% { opacity: .85; }
  50% { opacity: 1; }
}

.temp {
  font-size: clamp(72px, 20vw, 96px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: .95;
  margin-top: 12px;
}

.feels {
  font-size: 21px;
  opacity: .92;
  margin-top: 12px;
}

.pressure {
  font-size: 21px;
  opacity: .92;
  margin-top: 12px;
}

.place {
  font-size: 18px;
  opacity: .88;
  margin-top: 60px;
}

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  background: rgba(255,255,255,.20);
  border-radius: 999px;
  padding: 12px;
  font-size: 16px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.trend {
  display: inline-block;
  margin-left: 4px;
  font-size: 15px;
  opacity: .9;
  transition: transform .3s ease, opacity .3s ease;
}

.trend.up {
  color: #ffd54f;
}

.trend.down {
  color: #6ee7ff;
}

.trend.flat {
  opacity: .55;
}

.temp-trend {
  display: inline-block;
  font-size: 34px;
  margin-left: 4px;
  vertical-align: top;
  opacity: .85;
}

.temp-trend.up {
  color: #ffd54f;
}

.temp-trend.down {
  color: #6ee7ff;
}

.temp-trend.flat {
  opacity: .45;
}

.updated {
  margin-top: 18px;
  font-size: 13px;
  opacity: .72;
}

.card {
  margin-top: 18px;
  border-radius: 28px;
  padding: 24px 22px;
  color: white;
  background: linear-gradient(160deg, #0d4f86 0%, #08345f 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-icon {
  font-size: 38px;
  line-height: 1;
}

.section-title h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.section-title p {
  margin: 7px 0 0;
  font-size: 15px;
  opacity: .72;
}

.temp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
}

.stat {
  text-align: center;
}

.stat-label {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .4px;
}

.stat-label.max {
  color: #ffd54f;
}

.stat-label.min {
  color: #6ee7ff;
}

.stat-value {
  margin-top: 6px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
}

#tempChart{

    margin-top:28px;

    height:260px;

}

#humChart{

    margin-top:28px;

    height:260px;

}

.center-title {
  display: block;
  text-align: center;
}

.center-title .section-icon {
  margin-bottom: 8px;
}

.wind-layout {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  margin-top: 22px;
}

.wind-compass svg {
  width: 100%;
  max-width: 210px;
  display: block;
  margin: auto;
  overflow: visible;
}

.ring {
  fill: none;
}

.ring.outer {
  stroke: rgba(255,255,255,.58);
  stroke-width: 1.6;
}

.ring.inner {
  stroke: rgba(255,255,255,.45);
  stroke-width: 2.2;
  stroke-dasharray: 7 7;
}

.dir {
  fill: white;
  font-size: 18px;
  font-weight: 800;
  opacity: .85;
  text-anchor: middle;
}

.ticks-main,
.ticks-sub {
  fill: none;
  stroke-linecap: round;
}

.ticks-main {
  stroke: rgba(255,255,255,.9);
  stroke-width: 2.5;
}

.ticks-sub {
  stroke: rgba(255,255,255,.68);
  stroke-width: 2.5;
}

.arrow {
  fill: white;
  filter: drop-shadow(0px 4px 5px rgba(0,0,0,.28));
}

#windArrow {
  transition: transform .6s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.wind-values {
  text-align: left;
  padding-left: 8px;
}

.wind-speed {
  font-size: clamp(44px, 13vw, 60px);
  font-weight: 800;
  line-height: .95;
}

.wind-unit {
  font-size: 19px;
  font-weight: 800;
  margin-top: 6px;
}

.wind-dir {
  font-size: 16px;
  opacity: .9;
  margin-top: 5px;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,.25);
  margin: 24px 0 18px;
}

.gust-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
}

.gust-row span {
  opacity: .75;
}

.gust-row strong {
  font-size: 14px;
  white-space: nowrap;
}

/* =========================================================
   Wind - historische windroos
   ========================================================= */

.wind-history {
  margin-top: 24px;
  padding-top: 22px;

  border-top:
    1px solid rgba(
      255,
      255,
      255,
      0.16
    );
}

.wind-history-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.wind-history-header h3 {
  margin: 0;

  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.wind-history-header p {
  margin: 5px 0 0;

  font-size: 12px;
  line-height: 1.3;

  color:
    rgba(
      255,
      255,
      255,
      0.62
    );
}

.wind-history-dominant {
  flex: 0 0 auto;

  padding: 7px 10px;

  border:
    1px solid rgba(
      110,
      231,
      255,
      0.22
    );

  border-radius: 999px;

  background:
    rgba(
      110,
      231,
      255,
      0.08
    );

  color: #b9ecff;

  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.wind-rose-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    105px;

  align-items: center;

  gap: 10px;

  margin-top: 12px;
}

.wind-rose-chart {
  min-width: 0;
  min-height: 210px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.wind-rose-svg {
  display: block;

  width: 100%;
  max-width: 235px;
  height: auto;

  overflow: visible;
}


/* Ringen */

.wind-rose-ring {
  fill: none;

  stroke:
    rgba(
      255,
      255,
      255,
      0.22
    );

  stroke-width: 1.2;
}

.wind-rose-ring.is-inner {
  stroke:
    rgba(
      255,
      255,
      255,
      0.11
    );

  stroke-dasharray: 3 4;
}


/* Hoofdassen */

.wind-rose-axis {
  stroke:
    rgba(
      255,
      255,
      255,
      0.12
    );

  stroke-width: 1;
}


/* Windsectoren */

.wind-rose-sector {
  fill:
    rgba(
      110,
      231,
      255,
      0.54
    );

  stroke:
    rgba(
      185,
      236,
      255,
      0.72
    );

  stroke-width: 0.8;

  transition:
    fill 0.2s ease,
    opacity 0.2s ease;
}

.wind-rose-sector.is-dominant {
  fill:
    rgba(
      255,
      213,
      79,
      0.78
    );

  stroke:
    rgba(
      255,
      232,
      143,
      0.96
    );

  stroke-width: 1.2;
}


/* Midden */

.wind-rose-center {
  fill:
    rgba(
      8,
      52,
      95,
      0.96
    );

  stroke:
    rgba(
      255,
      255,
      255,
      0.5
    );

  stroke-width: 1.4;
}


/* Kompaslabels */

.wind-rose-label {
  fill:
    rgba(
      255,
      255,
      255,
      0.9
    );

  font-size: 13px;
  font-weight: 800;

  text-anchor: middle;
  dominant-baseline: middle;
}

.wind-rose-label.is-small {
  fill:
    rgba(
      255,
      255,
      255,
      0.62
    );

  font-size: 9px;
  font-weight: 700;
}


/* Samenvatting rechts */

.wind-rose-summary {
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding-left: 8px;
}

.wind-rose-summary-label {
  font-size: 11px;
  font-weight: 700;

  color:
    rgba(
      255,
      255,
      255,
      0.58
    );
}

.wind-rose-summary strong {
  margin-top: 3px;

  color: #ffd54f;

  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.wind-rose-summary-detail {
  margin-top: 7px;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;

  color:
    rgba(
      255,
      255,
      255,
      0.82
    );
}

.wind-rose-summary-points {
  margin-top: 5px;

  font-size: 10px;
  line-height: 1.25;

  color:
    rgba(
      255,
      255,
      255,
      0.48
    );
}

.wind-rose-loading {
  color:
    rgba(
      255,
      255,
      255,
      0.55
    );

  font-size: 12px;
  text-align: center;
}


/* Kleine mobiele schermen */

@media (max-width: 380px) {
  .wind-rose-layout {
    grid-template-columns:
      minmax(0, 1fr)
      88px;

    gap: 5px;
  }

  .wind-rose-chart {
    min-height: 190px;
  }

  .wind-rose-summary strong {
    font-size: 26px;
  }
}

@media (max-width: 380px) {
  .wind-layout {
    grid-template-columns: 50% 50%;
  }

  .gust-row strong {
    font-size: 14px;
  }
}

.wrap{
      max-width:1400px;
      margin:0 auto;
}

.rain-main {
  text-align: center;
  margin-top: 24px;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.rain-unit {
  font-size: 24px;
  font-weight: 700;
}

.rain-bar {
  height: 12px;
  margin-top: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  overflow: hidden;
}

#rainBarFill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #4fc3f7;
  transition: width .6s ease;
}

.rain-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.rain-meta div {
  background: rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 14px;
}

.rain-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.rain-chip {
  min-width: 0;
}

.rain-chip .label {
  display: block;
  font-size: 13px;
  opacity: .68;
  margin-bottom: 10px;
}

.rain-chip-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
}

.rain-chip-value.stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.1;
}

.rain-chip-unit {
  font-size: 0.9em;
  font-weight: 600;
  opacity: .9;
}

.rain-history {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rain-history span {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.rain-history small {
  font-size: 10px;
  font-weight: 800;
  opacity: .9;
}

.rain-amount{
    display:inline-flex;
    align-items:baseline;
    gap:4px;
    white-space:nowrap;
}

.lab-card {
  background: linear-gradient(160deg, #10243f 0%, #071a2f 100%);
}

.lab-status {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
}

.status-dot {
  box-shadow: 0 0 12px currentColor;
}

.status-dot.green {
  background: #4ade80;
  color: #4ade80;
}

.status-dot.orange {
  background: #fbbf24;
  color: #fbbf24;
}

.status-dot.red {
  background: #f87171;
  color: #f87171;
}

.lab-list {
  margin-top: 22px;
}

.lab-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.lab-row span {
  font-size: 15px;
  opacity: .68;
}

.lab-row strong {
  font-size: 20px;
  font-weight: 800;
  text-align: right;
}

.sky-card {
  background: linear-gradient(160deg, #172b4d 0%, #07192f 100%);
}

.sky-main {
  text-align: center;
  margin-top: 24px;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.sky-unit {
  font-size: 20px;
  font-weight: 700;
  opacity: .8;
}

.sky-nearest {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.sky-nearest-title {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  opacity: .72;
  margin-bottom: 14px;
}

.sky-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sky-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;

  background: rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.flight-link {
    font-size: 11px;
    font-weight: 500;
    opacity: .7;
    margin-top: 4px;
}

.sky-alert-link {
  display: flex;
  width: 100%;
  box-sizing: border-box;

  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: inherit;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.sky-alert-link:link,
.sky-alert-link:visited,
.sky-alert-link:hover,
.sky-alert-link:active {
  color: inherit;
  text-decoration: none;
}

.sky-alert-link .flight-link-all {
  color: inherit;
  text-decoration: none;
}

.distance-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
}

.distance-info div:first-child {
    font-weight: 700;
}

.distance-info div:last-child {
    opacity: .80;
}


.sky-route {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.sky-divider {
  height: 1px;
  margin: 16px 0 12px;
  background: rgba(255,255,255,.16);
}

.sky-alert-chip {
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.sky-alert-chip.active {
  background: rgba(255, 213, 79, .22);
}

.heli-pulse {
  display: inline-block;
  animation: heliPulse 1.3s ease-in-out infinite;
}

@keyframes heliPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.hero-wide-chip {
  margin-top: 10px;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-wide-chip.active {
  background: rgba(255, 213, 79, .24);
}

.chip-title {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 600;
  opacity: .75;
  text-transform: none;
}

.aircraft-image {
  width: 100%;
  max-width: 95px;
  height: 55px;
  margin-top: 0;
  margin-bottom: -4px;
  object-fit: contain;
  opacity: .85;
}

.aircraft-type {
    font-size: 18px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 4px;
}


.sky-chips .sky-aircraft {
  grid-column: 1 / span 2;
}
#tempChart,
#humidityChart {
  height: 260px;
  min-height: 260px;
}

.foldable-lab {
  padding: 0;
  overflow: hidden;
}

.weather-lab-title {
  margin: 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
}

.weather-lab-title h2,
.weather-lab-title p {
  margin: 0;
}

.weather-lab-title p {
  margin-top: 3px;
}

.weather-lab-toggle-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.weather-lab-toggle .lab-status {
  margin: 0;
}

.weather-lab-toggle[aria-expanded="true"]
.weather-lab-chevron {
  transform: rotate(180deg);
}

.lab-subtitle {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 520px) {
  .weather-lab-toggle-status {
    margin-top: 3px;
  }

  .weather-lab-title p {
    display: none;
  }

  .weather-lab-toggle .lab-status {
    font-size: 12px;
  }
}

/* ==================================================
   SKYVIEW SYSTEM HEALTH
   ================================================== */

.weather-lab-toggle {
  width: 100%;
  padding: 22px 20px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
  display: block;
  box-sizing: border-box;
}

.weather-lab-header-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.weather-lab-header-main .section-icon {
  margin: 0;
  flex: 0 0 auto;
}

.weather-lab-header-main h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
  text-align: center;
}

.weather-lab-subtitle {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.35;
  opacity: 0.72;
  text-align: center;
}

.system-health-summary {
  width: 100%;
  margin-top: 22px;
  padding: 16px 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.35;
}

.system-health-summary strong {
  max-width: 240px;
  text-align: center;
}

.weather-lab-chevron {
  display: inline-block;
  margin-left: 5px;
  font-size: 24px;
  line-height: 1;
  opacity: 0.9;
  transition: transform 0.22s ease;
}

.weather-lab-toggle[aria-expanded="true"] .weather-lab-chevron {
  transform: rotate(180deg);
}

.weather-lab-content {
  padding: 0 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.weather-lab-content[hidden] {
  display: none;
}

.lab-section {
  padding-top: 18px;
}

.lab-section-heading {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lab-section-heading h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.lab-divider {
  height: 1px;
  margin: 18px 0 0;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.35);
}

.status-dot.online {
  background: #55e583;
  box-shadow: 0 0 10px rgba(85, 229, 131, 0.8);
}

.status-dot.warning {
  background: #ffd166;
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.65);
}

.status-dot.offline {
  background: #ff6b6b;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.65);
}

.status-dot.unknown {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

#systemHealthCard[data-health="warning"] {
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.20),
    inset 0 0 0 1px rgba(255, 209, 102, 0.28);
}

#systemHealthCard[data-health="offline"] {
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.20),
    inset 0 0 0 1px rgba(255, 107, 107, 0.30);
}

@media (max-width: 520px) {
  .weather-lab-toggle {
    padding: 20px 16px 16px;
  }

  .weather-lab-content {
    padding: 0 16px 18px;
  }

  .system-health-summary {
    font-size: 13px;
  }
}

/* =========================================================
   Regenkaart v2
   ========================================================= */

.rain-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(65, 203, 255, .14), transparent 28%),
    linear-gradient(160deg, #0b3f6d 0%, #062a4d 100%);
}

.rain-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.rain-section-title {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
}

.rain-section-title > div:last-child {
  min-width: 0;
}

.rain-section-title h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: normal;
}

.rain-section-title p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.25;
  opacity: .72;
}


.rain-current-chip {
  flex: 0 0 auto;
  min-width: 76px;
  padding: 9px 11px;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  text-align: right;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rain-current-chip span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #6ee7ff;
  opacity: .9;
}

.rain-current-chip strong {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
}

.rain-card > .rain-intensity {
  margin: 18px 0 0;
  padding: 9px 13px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  font-size: 13px;
  font-weight: 700;
}

.rain-chart-wrap {
  min-height: 260px;
  height: auto;
  margin-top: 8px;
}

#rainMonthlyChart {
  width: 100%;
  min-height: 260px;
}

#rainMonthlyChart
.apexcharts-data-labels
.apexcharts-data-label-bg {
  fill: #087f91 !important;
  stroke: none !important;
}

.last-rain-card {
  margin-top: 14px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.last-rain-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.last-rain-card-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 15px;
  background: rgba(83, 185, 255, .15);
  font-size: 22px;
}

.rain-title-icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0;
  place-items: center;
  border-radius: 12px;
  background: rgba(83, 185, 255, .14);
  font-size: 20px;
  line-height: 1;
}

.last-rain-card-title h3 {
  margin: 0;
  font-size: 19px;
}

.last-rain-card-title p {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: .63;
}

.last-rain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 15px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  overflow: hidden;
}

.last-rain-stat {
  min-width: 0;
  padding: 15px 10px;
  text-align: center;
}

.last-rain-stat:nth-child(odd) {
  border-right: 1px solid rgba(255,255,255,.10);
}

.last-rain-stat:nth-child(-n+2) {
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.last-rain-stat-icon {
  display: grid;
  width: 31px;
  height: 31px;
  margin: 0 auto 7px;
  place-items: center;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 12px;
  line-height: 1;
}

.last-rain-stat.start .last-rain-stat-icon {
  color: #68e39b;
}

.last-rain-stat.end .last-rain-stat-icon {
  color: #ff6f91;
}

.last-rain-stat.duration .last-rain-stat-icon {
  color: #ffd54f;
  font-size: 18px;
}

.last-rain-stat.amount .last-rain-stat-icon {
  color: #6ee7ff;
  border-color: rgba(110,231,255,.65);
}

.last-rain-label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  opacity: .62;
}

.last-rain-stat strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.2;
}

.last-rain-stat small {
  display: block;
  min-height: 15px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  opacity: .8;
}

.last-rain-footer {
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(2, 18, 35, .22);
  text-align: center;
  font-size: 11px;
  opacity: .72;
}

/* presentatie in een 2x2 grid */
@media (min-width: 410px) {
  .last-rain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .last-rain-stat {
    padding: 16px 10px;
  }

  .last-rain-stat:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.08);
  }

  .last-rain-stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .last-rain-stat strong {
    font-size: 14px;
  }
}



@media (max-width: 355px) {
  .rain-card-header {
    flex-direction: column;
  }

  .rain-current-chip {
    align-self: stretch;
    text-align: left;
  }
}

/* =========================================================
   Zonneproductie
   ========================================================= */

.solar-card {
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(255, 213, 79, .18),
      transparent 30%
    ),
    linear-gradient(160deg, #174e73 0%, #08345f 100%);
}

.solar-current {
  margin-top: 26px;
  text-align: center;
}

.solar-current > span {
  display: block;
  font-size: clamp(58px, 17vw, 78px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -2px;
}

.solar-current small {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  opacity: .7;
}

.solar-primary-stats,
.solar-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.solar-primary-stats {
  margin-top: 24px;
}

.solar-detail-grid {
  margin-top: 18px;
}

.solar-stat-tile {
  min-width: 0;
  padding: 15px 12px;
  border-radius: 19px;
  background: rgba(255,255,255,.11);
  text-align: center;
  backdrop-filter: blur(10px);
}

.solar-stat-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  opacity: .68;
}

.solar-stat-tile strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.solar-stat-tile small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  opacity: .68;
}

.solar-chart-wrap {
  min-height: 270px;
  margin-top: 22px;
}

#solarPowerChart {
  min-height: 270px;
}

.solar-live-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 20px 0 12px;
}

.solar-flow-item {
  min-width: 0;
  text-align: center;
}

.solar-flow-icon {
  display: block;
  margin-bottom: 5px;
  font-size: 1.35rem;
}

.solar-flow-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.solar-flow-label {
  font-size: 0.72rem;
  opacity: 0.7;
}

.solar-flow-copy strong {
  white-space: nowrap;
}

.solar-flow-copy small {
  font-size: 0.7em;
  font-weight: 500;
  opacity: 0.65;
}

/* =========================================================
   Live energiestroom: geanimeerde verbindingen
   ========================================================= */

.solar-flow-connector {
  --flow-duration: 1.8s;
  --flow-color: rgba(255, 255, 255, 0.72);

  position: relative;
  width: 34px;
  height: 16px;
  min-width: 0;
  overflow: hidden;
}

/*
 * De vaste verbindingslijn.
 */
.solar-flow-line {
  position: absolute;
  top: 50%;
  left: 1px;
  right: 1px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%);
}

/*
 * Het bewegende energiedeeltje.
 */
.solar-flow-dot {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flow-color);
  box-shadow:
    0 0 5px var(--flow-color),
    0 0 10px var(--flow-color);
  opacity: 0;
  transform: translateY(-50%);
}

/*
 * Actieve energiestroom.
 */
.solar-flow-connector.is-active .solar-flow-line {
  background: rgba(255, 255, 255, 0.32);
}

.solar-flow-connector.is-active .solar-flow-dot {
  opacity: 1;
}

/*
 * Van links naar rechts:
 * productie → huis of huis → elektriciteitsnet.
 */
.solar-flow-connector.flow-right .solar-flow-dot {
  animation: solarFlowRight var(--flow-duration) linear infinite;
}

/*
 * Van rechts naar links:
 * elektriciteitsnet → huis.
 */
.solar-flow-connector.flow-left .solar-flow-dot {
  animation: solarFlowLeft var(--flow-duration) linear infinite;
}

/*
 * Geen noemenswaardige energiestroom.
 */
.solar-flow-connector.is-idle .solar-flow-dot {
  animation: none;
  opacity: 0;
}

/*
 * Productiestroom krijgt een warme zonnekleur.
 */
#solarProductionFlow {
  --flow-color: #ffd54f;
}

/*
 * Netafname en teruglevering worden via JavaScript van een
 * aparte statusklasse voorzien.
 */
#solarGridFlow.is-import {
  --flow-color: #c4b5fd;
}

#solarGridFlow.is-export {
  --flow-color: #4ade80;
}

@keyframes solarFlowRight {
  from {
    left: 1px;
  }

  to {
    left: calc(100% - 8px);
  }
}

@keyframes solarFlowLeft {
  from {
    left: calc(100% - 8px);
  }

  to {
    left: 1px;
  }
}

@media (max-width: 480px) {
  .solar-flow-connector {
    width: 27px;
    height: 14px;
  }

  .solar-flow-dot {
    width: 6px;
    height: 6px;
  }

  @keyframes solarFlowRight {
    from {
      left: 1px;
    }

    to {
      left: calc(100% - 7px);
    }
  }

  @keyframes solarFlowLeft {
    from {
      left: calc(100% - 7px);
    }

    to {
      left: 1px;
    }
  }
}

/*
 * Respecteer de systeeminstelling voor minder beweging.
 */
@media (prefers-reduced-motion: reduce) {
  .solar-flow-connector .solar-flow-dot {
    animation: none !important;
  }

  .solar-flow-connector.is-active .solar-flow-dot {
    left: 50%;
    opacity: 0.9;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 480px) {
  .solar-live-flow {
    gap: 6px;
  }

  .solar-flow-label {
    font-size: 0.65rem;
  }

  .solar-flow-icon {
    font-size: 1.15rem;
  }
}

.solar-energy-status {
  margin: 18px 0 8px;
  min-height: 1.4em;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.9;
}

/* =========================================================
   Energiegrafiek: huisverbruik altijd zichtbaar
   ========================================================= */

/*
 * Area-vlakken subtiel zichtbaar houden.
 */
.skyview-energy-chart .apexcharts-area-series path.apexcharts-area {
  fill-opacity: 0.24;
}

/*
 * De witte huisverbruikslijn is de vierde serie.
 * Houd hem helder en geef hem een subtiele donkere omlijning.
 */
.skyview-energy-chart
.apexcharts-line-series
.apexcharts-series[seriesName="Huisverbruik"]
.apexcharts-line {
  stroke: #ffffff !important;
  stroke-width: 3.2px !important;
  filter:
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
}

.skyview-energy-chart
.apexcharts-line-series
.apexcharts-series:last-child
.apexcharts-line {
  stroke: #ffffff !important;
  stroke-width: 3.2px !important;
  opacity: 1 !important;
  filter:
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.35));
}

/* =========================================================
   SkyView Station
   ========================================================= */

#stationHealthSection {
  position: relative;
}

/* ---------------------------------------------------------
   Hoofdstatus
   --------------------------------------------------------- */

.station-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-top: 18px;
  padding: 16px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;

  background:
    radial-gradient(
      circle at top left,
      rgba(66, 211, 146, 0.12),
      transparent 54%
    ),
    rgba(255, 255, 255, 0.045);
}

.station-overview-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.station-health-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;

  width: 42px;
  height: 42px;

  border-radius: 14px;

  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.22);

  color: #72efb0;
  font-size: 21px;
  font-weight: 800;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.12);
}

.station-overview-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.station-overview-text strong {
  color: rgba(255, 255, 255, 0.97);
  font-size: 17px;
  line-height: 1.2;
}

.station-overview-text span {
  overflow: hidden;

  color: rgba(255, 255, 255, 0.57);
  font-size: 12px;
  line-height: 1.35;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-status-badge {
  flex: 0 0 auto;

  padding: 7px 10px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.station-status-badge.online {
  color: #74efb2;
  background: rgba(52, 211, 153, 0.13);
  border: 1px solid rgba(52, 211, 153, 0.21);
}

.station-status-badge.warning {
  color: #ffd47a;
  background: rgba(245, 181, 56, 0.13);
  border: 1px solid rgba(245, 181, 56, 0.22);
}

.station-status-badge.offline {
  color: #ff929d;
  background: rgba(255, 90, 105, 0.13);
  border: 1px solid rgba(255, 90, 105, 0.22);
}

.station-status-badge.unknown {
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

/* ---------------------------------------------------------
   Visuele metriektegels
   --------------------------------------------------------- */

.station-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  margin-top: 12px;
}

.station-metric-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 132px;

  padding: 14px;

  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.08);
}

.station-metric-heading {
  display: flex;
  align-items: center;
  gap: 7px;

  color: rgba(255, 255, 255, 0.57);
  font-size: 11px;
  font-weight: 700;
}

.station-card-icon {
  display: grid;
  place-items: center;

  width: 25px;
  height: 25px;

  border-radius: 8px;

  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.station-metric-card > strong {
  display: block;
  overflow: hidden;

  margin-top: 13px;

  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(18px, 4.7vw, 23px);
  line-height: 1.05;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.station-metric-subline {
  display: block;

  margin-top: 6px;

  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  line-height: 1.25;
}

.station-progress {
  overflow: hidden;

  height: 4px;
  margin-top: auto;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.station-progress span {
  display: block;

  width: 0;
  height: 100%;

  border-radius: inherit;
  background: rgba(113, 196, 255, 0.78);

  transition: width 0.45s ease;
}

/* ---------------------------------------------------------
   Back-uptegel
   --------------------------------------------------------- */

.station-backup-card[data-status="online"] {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(52, 211, 153, 0.15),
      transparent 55%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    );
}

.station-backup-card[data-status="warning"] {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(245, 181, 56, 0.16),
      transparent 55%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    );
}

.station-backup-card[data-status="offline"] {
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(255, 90, 105, 0.16),
      transparent 55%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.025)
    );
}

/* =========================================================
   SkyCore back-uphistorie
   ========================================================= */

.backup-history {
  margin-top: 14px;
  padding: 14px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.018)
    );
}

.backup-history-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.backup-history-header h4 {
  margin: 0;

  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
}

.backup-history-header p {
  margin: 3px 0 0;

  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
}

.backup-history-count {
  flex: 0 0 auto;

  padding: 5px 8px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);

  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
}

.backup-history-chart {
  display: grid;
  grid-template-columns:
    repeat(
      8,
      minmax(0, 1fr)
    );

  gap: 6px;

  height: 190px;
  margin-top: 16px;
}

.backup-history-column {
  display: grid;
  grid-template-rows:
    24px
    minmax(0, 1fr)
    22px;

  min-width: 0;
}

.backup-history-value {
  align-self: end;

  overflow: hidden;

  color: rgba(255, 255, 255, 0.57);
  font-size: 8px;
  font-weight: 600;
  text-align: center;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.backup-history-bar-area {
  position: relative;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  min-height: 0;
  padding: 7px 3px 13px;
}

.backup-history-bar-area::before {
  content: '';

  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;

  height: 1px;

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );
}

.backup-history-bar {
  width: min(
    22px,
    70%
  );

  min-height: 12px;

  border-radius:
    6px
    6px
    2px
    2px;

  background:
    linear-gradient(
      180deg,
      rgba(
        109,
        192,
        255,
        0.92
      ),
      rgba(
        75,
        145,
        220,
        0.48
      )
    );

  box-shadow:
    inset
    0
    1px
    0
    rgba(
      255,
      255,
      255,
      0.18
    );

  transition:
    height
    0.45s
    ease;
}

.backup-history-light {
  position: absolute;
  bottom: 4px;
  left: 50%;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  transform:
    translateX(-50%);
}

.backup-history-column[
  data-status="ok"
]
.backup-history-light {
  background: #43e796;

  box-shadow:
    0
    0
    8px
    rgba(
      67,
      231,
      150,
      0.72
    );
}

.backup-history-column[
  data-status="warning"
]
.backup-history-light {
  background: #f5b538;

  box-shadow:
    0
    0
    8px
    rgba(
      245,
      181,
      56,
      0.68
    );
}

.backup-history-column[
  data-status="error"
]
.backup-history-light {
  background: #ff5968;

  box-shadow:
    0
    0
    8px
    rgba(
      255,
      89,
      104,
      0.65
    );
}

.backup-history-column[
  data-status="error"
]
.backup-history-bar {
  opacity: 0.55;
}

.backup-history-column[
  data-status="warning"
]
.backup-history-bar {
  opacity: 0.78;
}

.backup-history-date {
  align-self: start;

  overflow: hidden;

  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 600;
  text-align: center;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.backup-history-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;

  margin-top: 5px;

  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.backup-history-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.backup-history-dot {
  display: inline-block;

  width: 6px;
  height: 6px;

  border-radius: 50%;
}

.backup-history-dot.is-ok {
  background: #43e796;
}

.backup-history-dot.is-warning {
  background: #f5b538;
}

.backup-history-dot.is-error {
  background: #ff5968;
}

.backup-history-empty {
  grid-column: 1 / -1;

  align-self: center;

  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 580px) {
  .backup-history {
    padding: 12px;
  }

  .backup-history-chart {
    gap: 3px;
    height: 175px;
  }

  .backup-history-value,
  .backup-history-date {
    font-size: 7px;
  }

  .backup-history-bar {
    width: min(
      18px,
      76%
    );
  }
}

.station-backup-indicator {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-top: auto;

  color: rgba(255, 255, 255, 0.63);
  font-size: 10px;
  font-weight: 700;
}

.station-backup-indicator > span:first-child {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);

  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.station-backup-card[data-status="online"]
.station-backup-indicator > span:first-child {
  background: #43e796;
  box-shadow: 0 0 9px rgba(67, 231, 150, 0.72);
}

.station-backup-card[data-status="warning"]
.station-backup-indicator > span:first-child {
  background: #f5b538;
  box-shadow: 0 0 9px rgba(245, 181, 56, 0.68);
}

.station-backup-card[data-status="offline"]
.station-backup-indicator > span:first-child {
  background: #ff5968;
  box-shadow: 0 0 9px rgba(255, 89, 104, 0.65);
}

/* ---------------------------------------------------------
   Uptime en services
   --------------------------------------------------------- */

.station-quick-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  margin-top: 10px;
}

.station-quick-item {
  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
  padding: 11px 13px;

  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);

  background: rgba(255, 255, 255, 0.035);
}

.station-quick-item > span {
  font-size: 17px;
}

.station-quick-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.station-quick-item small {
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.station-quick-item strong {
  overflow: hidden;

  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Detailknop
   --------------------------------------------------------- */

.station-details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  margin-top: 13px;
  padding: 11px 3px 7px;

  appearance: none;
  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.53);
  font: inherit;
  font-size: 11px;
  font-weight: 700;

  cursor: pointer;
}

.station-details-toggle:hover {
  color: rgba(255, 255, 255, 0.82);
}

.station-details-toggle:focus-visible {
  outline: 2px solid rgba(113, 196, 255, 0.65);
  outline-offset: 5px;
  border-radius: 8px;
}

.station-details-chevron {
  display: inline-block;
  font-size: 17px;
  line-height: 1;

  transition: transform 0.22s ease;
}

.station-details-toggle[aria-expanded="true"]
.station-details-chevron {
  transform: rotate(180deg);
}

.station-technical-details {
  margin-top: 3px;
}

.station-technical-details[hidden] {
  display: none;
}

.station-technical-details .lab-list {
  margin-top: 0;
}

.station-row {
  min-height: 50px;
}

.station-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.station-metric-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 27px;

  width: 27px;
  height: 27px;

  border-radius: 9px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);

  font-size: 13px;
}

#stationHealthSection .lab-row strong {
  max-width: 52%;
  line-height: 1.2;
}

/* ---------------------------------------------------------
   Mobiel
   --------------------------------------------------------- */

@media (max-width: 380px) {
  .station-overview {
    align-items: flex-start;
    padding: 14px;
  }

  .station-status-badge {
    padding: 6px 8px;
    font-size: 10px;
  }

  .station-health-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .station-metric-card {
    padding: 12px;
  }

  .station-quick-item {
    padding: 10px;
  }

  .station-label {
    gap: 8px;
  }

  #stationHealthSection .lab-row strong {
    max-width: 48%;
    font-size: 16px;
  }
}

/* =========================================================
   SkyView Station – mobiele tekstcorrectie
   ========================================================= */

.station-metric-card {
  overflow: hidden;
}

.station-metric-card > strong {
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.station-metric-subline {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/*
 * Processor en opslag blijven naast elkaar.
 * De back-up krijgt de volledige breedte.
 */
@media (max-width: 580px) {
  .station-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .station-backup-card {
    grid-column: 1 / -1;
    min-height: 110px;
  }

  .station-metric-card > strong {
    font-size: 21px;
    line-height: 1.12;
  }

  .station-backup-card > strong {
    font-size: 22px;
  }

  .station-metric-subline {
    font-size: 10px;
    line-height: 1.35;
  }
}

/*
 * Op zeer smalle telefoons alles onder elkaar.
 */
@media (max-width: 350px) {
  .station-metric-grid {
    grid-template-columns: 1fr;
  }

  .station-backup-card {
    grid-column: auto;
  }
}

/* =========================================================
   SKYVIEW – LUCHTDRUK EN LOKALE VERWACHTING
   ========================================================= */


/* ---------------------------------------------------------
   Kaartbasis en dynamische toestanden
   --------------------------------------------------------- */

.pressure-card {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(120, 201, 255, 0.18) 0%,
      rgba(120, 201, 255, 0.04) 38%,
      transparent 62%
    ),
    linear-gradient(
      160deg,
      #0d4f86 0%,
      #08345f 100%
    );

  transition:
    background 0.6s ease,
    box-shadow 0.6s ease;
}

/*
 * Deze classes worden later door JavaScript ingesteld.
 */

.pressure-card.is-stable {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(112, 205, 255, 0.22) 0%,
      rgba(112, 205, 255, 0.05) 40%,
      transparent 64%
    ),
    linear-gradient(
      160deg,
      #145c91 0%,
      #09375f 100%
    );
}

.pressure-card.is-improving {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255, 216, 107, 0.22) 0%,
      rgba(255, 216, 107, 0.05) 42%,
      transparent 66%
    ),
    linear-gradient(
      160deg,
      #17618f 0%,
      #0a3d65 100%
    );
}

.pressure-card.is-changing {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(194, 211, 225, 0.19) 0%,
      rgba(194, 211, 225, 0.04) 42%,
      transparent 66%
    ),
    linear-gradient(
      160deg,
      #365c79 0%,
      #183a56 100%
    );
}

.pressure-card.is-unsettled,
.pressure-card.is-rainy {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(116, 173, 219, 0.20) 0%,
      rgba(116, 173, 219, 0.04) 42%,
      transparent 66%
    ),
    linear-gradient(
      160deg,
      #294d6b 0%,
      #152f47 100%
    );
}


/* ---------------------------------------------------------
   Hoofdonderdeel: voorspelling
   --------------------------------------------------------- */

.pressure-forecast {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 8px 4px 24px;

  text-align: center;
}

.pressure-forecast-icon {
  display: grid;
  place-items: center;

  min-height: 104px;
  margin-bottom: 8px;

  font-size: clamp(78px, 23vw, 102px);
  line-height: 1;

  filter:
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.20));

  transform-origin: center;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease,
    filter 0.45s ease;
}

.pressure-forecast-icon.is-updating {
  opacity: 0.45;
  transform: scale(0.94);
}

.pressure-forecast-content {
  width: 100%;
  max-width: 350px;
}

.pressure-forecast-eyebrow {
  margin-bottom: 8px;

  color: rgba(255, 255, 255, 0.56);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pressure-forecast-title {
  margin: 0;

  color: #ffffff;

  font-size: clamp(25px, 7vw, 31px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.7px;
}

.pressure-forecast-text {
  max-width: 330px;
  margin: 12px auto 0;

  color: rgba(255, 255, 255, 0.76);

  font-size: 15px;
  line-height: 1.48;
}


/* ---------------------------------------------------------
   Onderbouwing: luchtdruk, trend en neerslag
   --------------------------------------------------------- */

.pressure-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;

  margin-top: 2px;
}

.pressure-evidence-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 78px;
  padding: 11px 8px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;

  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);

  text-align: center;
}

.pressure-evidence-label {
  margin-bottom: 7px;

  color: rgba(255, 255, 255, 0.47);

  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pressure-evidence-value {
  color: rgba(255, 255, 255, 0.95);

  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}

.pressure-evidence-unit {
  margin-left: 2px;

  color: rgba(255, 255, 255, 0.60);

  font-size: 11px;
  font-weight: 700;
}


/* ---------------------------------------------------------
   Trend
   --------------------------------------------------------- */

.pressure-trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  min-width: 0;

  color: rgba(255, 255, 255, 0.91);

  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.pressure-trend-arrow {
  flex: 0 0 auto;

  font-size: 18px;
  font-weight: 700;
  line-height: 1;

  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.pressure-trend.is-rising .pressure-trend-arrow {
  color: #ffd86b;
  transform: rotate(-5deg);
}

.pressure-trend.is-falling .pressure-trend-arrow {
  color: #79d9ff;
  transform: rotate(5deg);
}

.pressure-trend.is-stable .pressure-trend-arrow {
  color: rgba(255, 255, 255, 0.58);
}


/* ---------------------------------------------------------
   Regenstatus
   --------------------------------------------------------- */

.pressure-rain-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  min-width: 0;

  color: rgba(255, 255, 255, 0.90);

  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
}

.pressure-rain-icon {
  flex: 0 0 auto;

  font-size: 15px;
  line-height: 1;
}

.pressure-rain-status.is-dry .pressure-rain-icon {
  color: rgba(255, 255, 255, 0.53);
}

.pressure-rain-status.is-raining .pressure-rain-icon {
  color: #79d9ff;

  animation: pressureRainPulse 1.8s ease-in-out infinite;
}

.pressure-rain-status.is-recent .pressure-rain-icon {
  color: #a8dfff;
}

@keyframes pressureRainPulse {
  0%,
  100% {
    opacity: 0.68;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(2px);
  }
}


/* ---------------------------------------------------------
   Algemene onderkoppen
   --------------------------------------------------------- */

.pressure-chart-section,
.pressure-history-section {
  margin-top: 27px;
}

.pressure-subheading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.pressure-subheading h3 {
  margin: 0;

  color: rgba(255, 255, 255, 0.94);

  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.pressure-subheading p {
  margin: 5px 0 0;

  color: rgba(255, 255, 255, 0.48);

  font-size: 11px;
  line-height: 1.3;
}

.pressure-chart-change,
.pressure-history-unit {
  flex: 0 0 auto;

  color: rgba(255, 255, 255, 0.58);

  font-size: 11px;
  font-weight: 800;
}

.pressure-chart-change.is-rising {
  color: #ffd86b;
}

.pressure-chart-change.is-falling {
  color: #79d9ff;
}


/* ---------------------------------------------------------
   ApexCharts-container
   --------------------------------------------------------- */

.pressure-chart-wrap {
  position: relative;

  width: 100%;
  min-height: 220px;
  margin-top: 14px;
}

#pressureChart {
  width: 100%;
  height: 220px;
}

/*
 * Een paar ApexCharts-correcties zodat de grafiek rustig
 * in de donkere kaart wordt weergegeven.
 */


/* ---------------------------------------------------------
   Drukontwikkeling per tijdvak
   --------------------------------------------------------- */

.pressure-intervals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;

  margin-top: 15px;
}

.pressure-interval {
  min-width: 0;
}

.pressure-interval-visual {
  position: relative;

  height: 108px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 13px;

  background: rgba(255, 255, 255, 0.042);

  transition:
    opacity 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.pressure-interval-chart {
  position: absolute;
  inset: 25px 5px 5px;
}

.pressure-interval-axis {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;

  height: 1px;

  background: rgba(255, 255, 255, 0.20);
}

.pressure-interval-axis::after {
  content: "";

  position: absolute;
  top: -2px;
  left: 50%;

  width: 1px;
  height: 5px;

  background: rgba(255, 255, 255, 0.20);
}

.pressure-interval-bar {
  position: absolute;
  right: 2px;
  left: 2px;

  height: 0;

  border-radius: 5px;

  background: rgba(255, 255, 255, 0.38);

  transition:
    top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    bottom 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease;
}

/*
 * Positieve waarde:
 * JavaScript stelt bottom: 50% en height in.
 */

.pressure-interval.is-rising .pressure-interval-bar {
  bottom: 50%;

  background: linear-gradient(
    180deg,
    rgba(255, 218, 107, 0.92) 0%,
    rgba(255, 218, 107, 0.44) 100%
  );
}

/*
 * Negatieve waarde:
 * JavaScript stelt top: 50% en height in.
 */

.pressure-interval.is-falling .pressure-interval-bar {
  top: 50%;

  background: linear-gradient(
    180deg,
    rgba(105, 207, 255, 0.45) 0%,
    rgba(105, 207, 255, 0.92) 100%
  );
}

.pressure-interval.is-stable .pressure-interval-bar {
  top: calc(50% - 2px);

  height: 4px;

  background: rgba(255, 255, 255, 0.40);
}

.pressure-interval-value {
  position: absolute;
  top: 8px;
  right: 2px;
  left: 2px;
  z-index: 2;

  overflow: hidden;

  color: rgba(255, 255, 255, 0.83);

  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pressure-interval.is-rising .pressure-interval-value {
  color: #ffe18a;
}

.pressure-interval.is-falling .pressure-interval-value {
  color: #86dcff;
}

.pressure-interval-label {
  display: block;

  margin-top: 7px;

  overflow: hidden;

  color: rgba(255, 255, 255, 0.46);

  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pressure-interval.is-unavailable {
  opacity: 0.38;
}

.pressure-interval.is-unavailable .pressure-interval-axis {
  background: rgba(255, 255, 255, 0.11);
}

.pressure-interval.is-unavailable .pressure-interval-bar {
  display: none;
}


/* ---------------------------------------------------------
   Technische samenvatting
   --------------------------------------------------------- */

.pressure-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin-top: 24px;
  padding: 13px 14px;

  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.045);

  color: rgba(255, 255, 255, 0.65);

  font-size: 11px;
  line-height: 1.45;
}

.pressure-insight-icon {
  flex: 0 0 auto;

  margin-top: 1px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;
  line-height: 1;
}


/* ---------------------------------------------------------
   Mobiele correcties
   --------------------------------------------------------- */

@media (max-width: 390px) {

  .pressure-card {
    padding-right: 18px;
    padding-left: 18px;
  }

  .pressure-forecast {
    padding-top: 4px;
    padding-bottom: 21px;
  }

  .pressure-forecast-icon {
    min-height: 92px;
    font-size: 80px;
  }

  .pressure-forecast-title {
    font-size: 25px;
  }

  .pressure-forecast-text {
    font-size: 14px;
  }

  .pressure-evidence {
    gap: 6px;
  }

  .pressure-evidence-item {
    min-height: 74px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .pressure-evidence-value {
    font-size: 18px;
  }

  .pressure-trend,
  .pressure-rain-status {
    gap: 4px;
    font-size: 10px;
  }

  .pressure-trend-arrow {
    font-size: 16px;
  }

  .pressure-intervals {
    gap: 4px;
  }

  .pressure-interval-visual {
    height: 101px;
    border-radius: 11px;
  }

  .pressure-interval-value {
    font-size: 9px;
  }

  .pressure-interval-label {
    font-size: 8px;
  }

  #pressureChart {
    height: 205px;
  }

  .pressure-chart-wrap {
    min-height: 205px;
  }
}


/*
 * Op zeer smalle schermen blijft de onderbouwing leesbaar.
 * De regenstatus komt dan over de volledige breedte.
 */

@media (max-width: 345px) {

  .pressure-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pressure-evidence-item:last-child {
    grid-column: 1 / -1;
    min-height: 62px;
  }

  .pressure-interval-label {
    white-space: normal;
  }
}


/* ---------------------------------------------------------
   Minder animatie wanneer de gebruiker dit heeft ingesteld
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .pressure-card,
  .pressure-forecast-icon,
  .pressure-trend-arrow,
  .pressure-interval-bar {
    transition: none;
  }

  .pressure-rain-status.is-raining .pressure-rain-icon {
    animation: none;
  }
}

/* =========================================================
   PRESSURE CARD – VISUELE VERFIJNING
   Voeg dit ONDER de bestaande pressure-CSS toe
   ========================================================= */


/* ---------------------------------------------------------
   Hoofdvoorspelling krijgt meer ruimte en nadruk
   --------------------------------------------------------- */

.pressure-forecast {
  padding-top: 2px;
  padding-bottom: 20px;
}

.pressure-forecast-icon {
  min-height: 116px;
  margin-bottom: 8px;

  font-size: clamp(90px, 26vw, 116px);
}

.pressure-forecast-content {
  max-width: 360px;
}

.pressure-forecast-eyebrow {
  margin-top: 10px;
  margin-bottom: 7px;
}

.pressure-forecast-title {
  max-width: 330px;
  margin-right: auto;
  margin-left: auto;

  font-size: clamp(26px, 7.3vw, 32px);
}

.pressure-forecast-text {
  max-width: 335px;
  margin-top: 11px;
}


/* ---------------------------------------------------------
   Scheiding: conclusie versus onderbouwing
   --------------------------------------------------------- */

.pressure-explanation-heading {
  display: grid;
  grid-template-columns: minmax(14px, 1fr) auto minmax(14px, 1fr);
  align-items: center;
  gap: 10px;

  margin: 2px 0 13px;
}

.pressure-explanation-line {
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.17)
  );
}

.pressure-explanation-line:last-child {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.17),
    transparent
  );
}

.pressure-explanation-label {
  color: rgba(255, 255, 255, 0.50);

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}


/* ---------------------------------------------------------
   Technische meetblokken compacter
   --------------------------------------------------------- */

.pressure-evidence {
  gap: 6px;
}

.pressure-evidence-item {
  min-height: 68px;
  padding: 9px 6px;

  border-radius: 15px;
}

.pressure-evidence-label {
  margin-bottom: 6px;

  font-size: 12px;
}

.pressure-evidence-value {
  font-size: 18px;
}

.pressure-trend,
.pressure-rain-status {
  font-size: 10px;
}

.pressure-trend-arrow {
  font-size: 16px;
}


/* ---------------------------------------------------------
   Grafieksectie compacter en directer
   --------------------------------------------------------- */

.pressure-chart-section {
  margin-top: 23px;
}

.pressure-chart-wrap {
  min-height: 180px;
  margin-top: 7px;
}

#pressureChart {
  height: 180px;
}


/* ---------------------------------------------------------
   Drukontwikkeling als één doorlopende meetstrook
   --------------------------------------------------------- */

.pressure-history-section {
  margin-top: 23px;
}

.pressure-intervals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;

  margin-top: 13px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 15px;

  background: rgba(255, 255, 255, 0.03);
}

.pressure-interval {
  position: relative;

  min-width: 0;
  padding-bottom: 8px;
}

.pressure-interval:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.pressure-interval-visual {
  height: 96px;

  overflow: visible;

  border: 0;
  border-radius: 0;

  background: transparent;
}

.pressure-interval-chart {
  inset: 25px 4px 2px;
}

.pressure-interval-label {
  min-height: 18px;
  margin: 5px 2px 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 8px;
  white-space: normal;
}

.pressure-interval-value {
  top: 9px;

  font-size: 9px;
}


/*
 * Eén gezamenlijke nullijn over de volledige meetstrook.
 */

.pressure-intervals::before {
  content: "";

  position: absolute;
}


/*
 * De individuele lijnen sluiten visueel op elkaar aan.
 */

.pressure-interval-axis {
  right: -5px;
  left: -5px;

  background: rgba(255, 255, 255, 0.15);
}

.pressure-interval:first-child .pressure-interval-axis {
  left: 0;
}

.pressure-interval:last-child .pressure-interval-axis {
  right: 0;
}


/* ---------------------------------------------------------
   Onderste conclusie iets informatiever presenteren
   --------------------------------------------------------- */

.pressure-insight {
  margin-top: 20px;
  padding: 12px 13px;

  border-radius: 14px;

  font-size: 10px;
  line-height: 1.45;
}


/* ---------------------------------------------------------
   Mobiele correcties
   --------------------------------------------------------- */

@media (max-width: 390px) {

  .pressure-forecast-icon {
    min-height: 106px;
    font-size: 94px;
  }

  .pressure-forecast-title {
    font-size: 26px;
  }

  .pressure-evidence-item {
    min-height: 66px;
  }

  .pressure-chart-wrap,
  #pressureChart {
    height: 172px;
    min-height: 172px;
  }

  .pressure-interval-visual {
    height: 92px;
  }

  .pressure-explanation-heading {
    gap: 7px;
  }

  .pressure-explanation-label {
    font-size: 8px;
  }
}

/* =========================================================
   SkyView - luchtdrukontwikkeling
   ========================================================= */

/* =========================================================
   SkyView - drukverschil op vijf vaste meetmomenten
   ========================================================= */

.pressure-timeline-plot {
  position: relative;
  height: 176px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;

  background:
    linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(50% - 0.5px),
      rgba(255, 255, 255, 0.38) calc(50% - 0.5px),
      rgba(255, 255, 255, 0.38) calc(50% + 0.5px),
      transparent calc(50% + 0.5px),
      transparent 100%
    );
}

/*
 * Vijf gelijkwaardige kolommen:
 * 24 u, 12 u, 6 u, 3 u en 1 u geleden.
 */
.pressure-timeline-periods {
  position: absolute;
  inset: 0;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  width: 100%;
  height: 100%;
}

/*
 * Cruciaal:
 * oude absolute positionering en oude breedtes uitschakelen.
 */
.pressure-timeline-period {
  position: relative !important;

  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  width: auto !important;
  height: 100% !important;

  min-width: 0;

  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pressure-timeline-period:last-child {
  border-right: 0;
}

/*
 * Balk blijft binnen zijn eigen kolom.
 */
.pressure-timeline-bar {
  position: absolute;

  left: 14% !important;
  right: 14% !important;

  width: auto !important;

  min-height: 3px;
  border-radius: 7px;

  transition:
    height 0.4s ease,
    top 0.4s ease,
    bottom 0.4s ease;
}

/*
 * Stijging vanaf de nullijn omhoog.
 */
.pressure-timeline-period.is-rising
.pressure-timeline-bar {
  top: auto !important;
  bottom: 50% !important;

  background:
    linear-gradient(
      to top,
      rgba(255, 204, 88, 0.62),
      rgba(255, 231, 155, 0.96)
    );
}

/*
 * Daling vanaf de nullijn omlaag.
 */
.pressure-timeline-period.is-falling
.pressure-timeline-bar {
  top: 50% !important;
  bottom: auto !important;

  background:
    linear-gradient(
      to bottom,
      rgba(120, 220, 255, 0.95),
      rgba(47, 128, 237, 0.62)
    );
}

/*
 * Vrijwel stabiel: kort streepje op de nullijn.
 */
.pressure-timeline-period.is-stable
.pressure-timeline-bar {
  top: calc(50% - 2px) !important;
  bottom: auto !important;

  height: 4px !important;

  background: rgba(255, 255, 255, 0.7);
}

/*
 * Waarde bij de eigen kolom.
 */
.pressure-timeline-value {
  position: absolute;
  left: 50%;

  z-index: 2;

  width: max-content;
  max-width: 94%;

  color: rgba(255, 255, 255, 0.96);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;

  transform: translateX(-50%);
}

.pressure-timeline-period.is-rising
.pressure-timeline-value {
  top: auto !important;
  bottom: calc(
    50% + var(--pressure-height, 0%) + 6px
  ) !important;
}

.pressure-timeline-period.is-falling
.pressure-timeline-value {
  top: calc(
    50% + var(--pressure-height, 0%) + 6px
  ) !important;
  bottom: auto !important;
}

.pressure-timeline-period.is-stable
.pressure-timeline-value {
  top: calc(50% - 18px) !important;
  bottom: auto !important;
}

.pressure-timeline-period.is-missing
.pressure-timeline-bar {
  display: none;
}

.pressure-timeline-period.is-missing
.pressure-timeline-value {
  top: calc(50% - 7px) !important;
  bottom: auto !important;
  opacity: 0.35;
}

/*
 * Labels exact onder de vijf kolommen.
 */
.pressure-timeline-labels {
  position: static !important;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  width: 100%;
  margin-top: 9px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.pressure-timeline-labels span {
  position: static !important;

  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  transform: none !important;
}

/* =========================================================
   Luchtdrukgrafiek: assen beter leesbaar
   ========================================================= */

#pressureChart .apexcharts-xaxis-label,
#pressureChart .apexcharts-yaxis-label {
  fill: rgba(255, 255, 255, 0.92) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/*
 * Horizontale rasterlijnen iets zichtbaarder.
 */
#pressureChart .apexcharts-gridline {
  stroke: rgba(255, 255, 255, 0.16) !important;
}

/*
 * Onderste aslijn iets helderder.
 */
#pressureChart .apexcharts-xaxis line,
#pressureChart .apexcharts-xaxis-axis-line {
  stroke: rgba(255, 255, 255, 0.32) !important;
}

/* =========================================================
   SkyView - dynamische regenstatuskaart
   ========================================================= */

.rain-status-card {
  --rain-status-color: #6ee7ff;
  --rain-status-soft: rgba(110, 231, 255, 0.14);

  position: relative;
  overflow: hidden;

  margin-top: 14px;
  padding: 18px;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 23px;

  background:
    radial-gradient(
      circle at 88% 8%,
      var(--rain-status-soft),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.105),
      rgba(255, 255, 255, 0.035)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07);

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);

  transition:
    border-color 0.35s ease,
    background 0.35s ease;
}

.rain-status-card.is-active,
.rain-status-card.is-continuous {
  --rain-status-color: #68dcff;
  --rain-status-soft: rgba(51, 193, 255, 0.22);

  border-color: rgba(104, 220, 255, 0.28);
}

.rain-status-card.is-showers {
  --rain-status-color: #8ce4ff;
  --rain-status-soft: rgba(74, 184, 255, 0.17);
}

.rain-status-card.is-stopped {
  --rain-status-color: #b8dfff;
  --rain-status-soft: rgba(129, 194, 255, 0.12);
}

.rain-status-card.is-history {
  --rain-status-color: rgba(255, 255, 255, 0.78);
  --rain-status-soft: rgba(255, 255, 255, 0.07);
}

.rain-status-header {
  display: flex;
  align-items: center;
  gap: 13px;

  padding-bottom: 16px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.12);
}

.rain-status-icon {
  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;
  flex: 0 0 48px;

  border: 1px solid
    color-mix(
      in srgb,
      var(--rain-status-color) 30%,
      transparent
    );

  border-radius: 16px;

  background: var(--rain-status-soft);

  font-size: 25px;
  line-height: 1;
}

.rain-status-card.is-active
.rain-status-icon,
.rain-status-card.is-continuous
.rain-status-icon {
  animation:
    rainStatusPulse 2.2s ease-in-out infinite;
}

.rain-status-heading {
  min-width: 0;
  flex: 1;
}

.rain-status-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rain-status-heading h3 {
  min-width: 0;
  margin: 0;

  font-size: 19px;
  line-height: 1.15;
}

.rain-status-heading p {
  margin: 5px 0 0;

  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.4;
}

.rain-status-badge {
  flex: 0 0 auto;

  padding: 6px 9px;

  border:
    1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  color: var(--rain-status-color);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.rain-status-card.is-active
.rain-status-badge,
.rain-status-card.is-continuous
.rain-status-badge {
  background: rgba(52, 197, 255, 0.14);
}

.rain-status-hero {
  padding: 22px 10px 19px;
  text-align: center;
}

.rain-status-hero-label {
  display: block;

  color: rgba(255, 255, 255, 0.57);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rain-status-hero strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;

  margin-top: 6px;

  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(42px, 12vw, 54px);
  line-height: 1;
  letter-spacing: -1.5px;
}

.rain-status-hero strong small {
  color: var(--rain-status-color);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.rain-status-hero-detail {
  display: block;

  margin-top: 8px;

  color: rgba(255, 255, 255, 0.61);
  font-size: 11px;
  font-weight: 600;
}

.rain-status-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  overflow: hidden;

  border:
    1px solid rgba(255, 255, 255, 0.10);
  border-radius: 17px;

  background: rgba(2, 25, 48, 0.17);
}

.rain-status-stat {
  min-width: 0;
  padding: 15px 8px;
  text-align: center;
}

.rain-status-stat:nth-child(odd) {
  border-right:
    1px solid rgba(255, 255, 255, 0.10);
}

.rain-status-stat:nth-child(-n + 2) {
  border-bottom:
    1px solid rgba(255, 255, 255, 0.10);
}

.rain-status-stat-icon {
  display: grid;
  place-items: center;

  width: 31px;
  height: 31px;

  margin: 0 auto 8px;

  border: 2px solid currentColor;
  border-radius: 50%;

  font-size: 12px;
  line-height: 1;
}

.rain-status-stat-icon.is-start {
  color: #68e39b;
}

.rain-status-stat-icon.is-last {
  color: #ff7da0;
}

.rain-status-stat-icon.is-showers {
  color: #6ee7ff;
  border-color: rgba(110, 231, 255, 0.7);
}

.rain-status-stat-icon.is-duration {
  color: #ffd166;
  font-size: 17px;
}

.rain-status-stat-label {
  display: block;

  margin-bottom: 6px;

  color: rgba(255, 255, 255, 0.59);
  font-size: 10px;
  font-weight: 650;
}

.rain-status-stat strong {
  display: block;
  overflow-wrap: anywhere;

  color: rgba(255, 255, 255, 0.96);
  font-size: 15px;
  line-height: 1.2;
}

.rain-status-stat small {
  display: block;
  min-height: 15px;

  margin-top: 5px;

  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
}

.rain-status-footer {
  margin-top: 13px;
  padding: 10px 12px;

  border:
    1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;

  background: rgba(2, 18, 35, 0.20);

  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

@keyframes rainStatusPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 rgba(104, 220, 255, 0);
  }

  50% {
    transform: scale(1.045);
    box-shadow:
      0 0 18px rgba(104, 220, 255, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rain-status-icon {
    animation: none !important;
  }
}

@media (max-width: 355px) {
  .rain-status-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .rain-status-badge {
    align-self: flex-start;
  }

  .rain-status-hero strong {
    font-size: 40px;
  }
}

/* Pressure chart tooltip */
#pressureChart .apexcharts-tooltip {
    background: rgba(28, 32, 42, .96) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    color: #fff !important;
}

#pressureChart .apexcharts-tooltip-title {
    background: transparent !important;
    color: rgba(255,255,255,.85) !important;
}

#pressureChart .apexcharts-tooltip-text,
#pressureChart .apexcharts-tooltip-text-y-label,
#pressureChart .apexcharts-tooltip-text-y-value,
#pressureChart .apexcharts-tooltip-series-group,
#pressureChart .apexcharts-tooltip-marker + div {
    color: #fff !important;
}

#pressureChart {
  min-height: 280px;
  overflow: visible;
}

#pressureChart .apexcharts-canvas,
#pressureChart .apexcharts-svg {
  overflow: visible !important;
}

@media (max-width: 480px) {
  #pressureChart {
    min-height: 295px;
    margin-bottom: 8px;
  }
}

/* =========================================================
   Desktopweergave: twee SkyView-cards per rij
   ========================================================= */

@media (min-width: 600px) {
  .app {
    width: min(800px, calc(100vw - 48px));
    margin: 28px auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }

  /*
   * De hero blijft over de volledige breedte staan.
   */
  .app > .hero {
    grid-column: 1 / -1;
  }

  /*
   * De ruimte tussen cards wordt op desktop door het grid bepaald.
   */
  .app > .card {
    margin-top: 0;
    min-width: 0;
  }

  /*
   * System Health mag over de volledige breedte blijven staan.
   * Verwijder dit blok wanneer je ook deze card in één kolom wilt.
   */
  .app > #systemHealthCard {
    grid-column: 1 / -1;
  }
}

/*
 * Historienavigatie
 */

.history-navigator {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 2px;
}

.history-nav-center {
  min-width: 0;
  text-align: center;
}

.history-nav-label,
.history-nav-meta {
  display: block;
}

.history-nav-label {
  overflow: hidden;
  color: rgba(255, 255, 255, .94);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-nav-meta {
  min-height: 16px;
  margin-top: 3px;
  color: rgba(255, 255, 255, .54);
  font-size: 11px;
  line-height: 1.35;
}

.history-nav-button {
  width: 44px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .94);
  font: inherit;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease,
    transform 120ms ease;
}

.history-nav-button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .12);
}

.history-nav-button:active:not(:disabled) {
  transform: scale(.96);
}

.history-nav-button:focus-visible {
  outline: 2px solid rgba(110, 231, 255, .75);
  outline-offset: 2px;
}

.history-nav-button:disabled {
  opacity: .25;
  cursor: default;
}

.history-navigator.is-loading .history-nav-label,
.history-navigator.is-loading .history-nav-meta {
  opacity: .55;
}

@media (max-width: 480px) {
  .history-navigator {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .history-nav-button {
    width: 40px;
    height: 36px;
    border-radius: 13px;
  }

  .history-nav-label {
    font-size: 13px;
  }
}

.aircraft-route {
  margin-top: 8px;
  padding-top: 8px;

  border-top:
    1px solid rgba(255,255,255,.10);

  color:
    rgba(255,255,255,.78);

  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;

  text-align: center;
}

.aircraft-route[hidden] {
  display: none;
}

/* =========================================================
   Regenhistorie - KNMI referentiestrook
   ========================================================= */

.rain-normal-strip {
  margin: 4px 18px 0 42px;
}

.rain-normal-title {
  margin-bottom: 5px;
  text-align: center;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
}

.rain-normal-bracket {
  position: relative;
  padding: 7px 8px 2px;

  border-top:
    1px solid rgba(255,255,255,.24);

  border-left:
    1px solid rgba(255,255,255,.24);

  border-right:
    1px solid rgba(255,255,255,.24);

  border-radius: 8px 8px 0 0;
}


.rain-normal-values {
  display: grid;
  grid-template-columns:
    repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
}

.rain-normal-item {
  justify-self: center;
  min-width: 25px;
  padding: 3px 5px;

  box-sizing: border-box;

  border:
    1px solid rgba(110,231,255,.18);

  border-radius: 5px;

  background:
    rgba(23,79,112,.85);

  color:
    rgba(220,236,244,.90);

  text-align: center;

  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.rain-normal-item.is-current {
  border-color:
    rgba(89,229,239,.38);

  background:
    rgba(14,113,129,.78);

  color: #ffffff;
}

/* =========================================================
   Regenhistorie - interactieve maanddetailgrafiek
   ========================================================= */

#rainMonthlyChart
.apexcharts-bar-area {
  cursor: pointer;
}


/*
 * Uitklapbaar detailpaneel.
 *
 * Het blijft onderdeel van dezelfde regenkaart;
 * bewust geen aparte "card in card".
 */
.rain-month-detail {
  margin:
    12px
    0
    4px;

  padding:
    16px
    14px
    10px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    );

  border-radius:
    18px;

  background:
    linear-gradient(
      145deg,
      rgba(
        255,
        255,
        255,
        0.065
      ),
      rgba(
        255,
        255,
        255,
        0.025
      )
    );

  box-shadow:
    inset
    0
    1px
    0
    rgba(
      255,
      255,
      255,
      0.035
    );
}


.rain-month-detail[hidden] {
  display: none;
}


/* =========================================================
   Header
   ========================================================= */

.rain-month-detail-header {
  display: flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    12px;

  padding:
    0
    2px
    12px;

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );
}


.rain-month-detail-heading {
  min-width: 0;
}


.rain-month-detail-eyebrow {
  display: block;

  margin-bottom:
    4px;

  color:
    rgba(
      110,
      231,
      255,
      0.78
    );

  font-size:
    9px;

  font-weight:
    800;

  line-height:
    1.2;

  letter-spacing:
    0.07em;

  text-transform:
    uppercase;
}


.rain-month-detail-heading h3 {
  margin:
    0;

  color:
    rgba(
      255,
      255,
      255,
      0.96
    );

  font-size:
    18px;

  font-weight:
    780;

  line-height:
    1.15;

  text-transform:
    capitalize;
}


.rain-month-detail-heading p {
  margin:
    5px
    0
    0;

  color:
    rgba(
      255,
      255,
      255,
      0.52
    );

  font-size:
    11px;

  font-weight:
    600;

  line-height:
    1.3;
}


/* =========================================================
   Sluitknop
   ========================================================= */

.rain-month-detail-close {
  appearance:
    none;

  -webkit-appearance:
    none;

  flex:
    0
    0
    34px;

  width:
    34px;

  height:
    34px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    0;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.11
    );

  border-radius:
    50%;

  background:
    rgba(
      255,
      255,
      255,
      0.055
    );

  color:
    rgba(
      255,
      255,
      255,
      0.68
    );

  font:
    inherit;

  font-size:
    20px;

  line-height:
    1;

  cursor:
    pointer;

  touch-action:
    manipulation;

  -webkit-tap-highlight-color:
    transparent;

  transition:
    background
      0.18s
      ease,
    border-color
      0.18s
      ease,
    color
      0.18s
      ease,
    transform
      0.12s
      ease;
}


.rain-month-detail-close:hover {
  background:
    rgba(
      255,
      255,
      255,
      0.10
    );

  border-color:
    rgba(
      255,
      255,
      255,
      0.20
    );

  color:
    #ffffff;
}


.rain-month-detail-close:active {
  transform:
    scale(
      0.94
    );
}


.rain-month-detail-close:focus-visible {
  outline:
    2px solid
    rgba(
      110,
      231,
      255,
      0.70
    );

  outline-offset:
    2px;
}


/* =========================================================
   Dagelijkse ApexChart
   ========================================================= */

.rain-daily-chart {
  width:
    100%;

  min-height:
    235px;

  margin-top:
    5px;
}


#rainDailyChart
.apexcharts-gridline {
  stroke:
    rgba(
      255,
      255,
      255,
      0.10
    );
}


#rainDailyChart
.apexcharts-xaxis-label,
#rainDailyChart
.apexcharts-yaxis-label {
  fill:
    rgba(
      255,
      255,
      255,
      0.60
    ) !important;
}


#rainDailyChart
.apexcharts-tooltip {
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.14
    ) !important;

  background:
    rgba(
      14,
      36,
      58,
      0.97
    ) !important;

  color:
    #ffffff !important;
}


#rainDailyChart
.apexcharts-tooltip-title {
  background:
    transparent !important;

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    ) !important;

  color:
    rgba(
      255,
      255,
      255,
      0.78
    ) !important;
}


/* =========================================================
   Methodische notitie
   ========================================================= */

.rain-month-detail-note {
  margin:
    2px
    2px
    4px;

  padding:
    9px
    10px;

  border:
    1px solid
    rgba(
      255,
      213,
      79,
      0.13
    );

  border-radius:
    11px;

  background:
    rgba(
      255,
      213,
      79,
      0.045
    );

  color:
    rgba(
      255,
      255,
      255,
      0.53
    );

  font-size:
    9px;

  line-height:
    1.45;
}


/* =========================================================
   Mobiel
   ========================================================= */

@media (
  max-width: 380px
) {
  .rain-month-detail {
    padding:
      14px
      10px
      8px;
  }

  .rain-month-detail-heading h3 {
    font-size:
      17px;
  }

  .rain-daily-chart {
    min-height:
      220px;
  }

  .rain-month-detail-close {
    flex-basis:
      32px;

    width:
      32px;

    height:
      32px;
  }
}


/*
 * Respecteer verminderde beweging.
 */
@media (
  prefers-reduced-motion:
    reduce
) {
  .rain-month-detail-close {
    transition:
      none;
  }
}

/* =========================================================
   Luchtdruk – periodekeuze
   ========================================================= */

.pressure-range-selector {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 10px;

  width: 100%;
  margin-top: 16px;
}

.pressure-range-button {
  appearance: none;
  -webkit-appearance: none;

  min-width: 76px;
  min-height: 40px;

  padding: 9px 14px;

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.06);

  color:
    rgba(255, 255, 255, 0.68);

  font: inherit;
  font-size: 12px;
  font-weight: 700;

  line-height: 1;

  cursor: pointer;

  touch-action: manipulation;

  -webkit-tap-highlight-color:
    transparent;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.pressure-range-button.is-active {
  background:
    rgba(255, 255, 255, 0.24);

  border-color:
    rgba(255, 255, 255, 0.42);

  color: #fff;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12);

  opacity: 1;
}

/* =========================================================
   Rainfall normal summary
   Duiding gemeten neerslag versus KNMI normaal
   ========================================================= */

.rainfall-normal-summary {
  margin-top: 22px;
  padding: 16px 17px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;

  background:
    rgba(255, 255, 255, 0.055);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

/*
 * Titel krijgt een kleine visuele indicator.
 * De kleur kunnen we later eventueel laten
 * afhangen van deficit / normal / surplus.
 */
.rainfall-normal-title {
  position: relative;

  margin: 0 0 8px;
  padding-left: 22px;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;

  color: rgba(255, 255, 255, 0.96);
}

.rainfall-normal-title::before {
  content: '◔';

  position: absolute;
  left: 0;
  top: -1px;

  font-size: 15px;

  color: rgba(120, 210, 255, 0.95);
}

/*
 * Hoofdtekst
 */
.rainfall-normal-text {
  margin: 0;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;

  color: rgba(255, 255, 255, 0.88);
}

/*
 * Methodische toelichting.
 * Bewust duidelijk secundair.
 */
.rainfall-normal-note {
  margin-top: 10px;
  padding-top: 10px;

  border-top:
    1px solid rgba(255, 255, 255, 0.09);

  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;

  color: rgba(255, 255, 255, 0.58);
}

.wind-unit-selector {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-top: 26px;
}

.wind-unit-button {
  appearance: none;
  -webkit-appearance: none;

  min-width: 74px;
  min-height: 38px;

  padding: 8px 12px;

  border:
    1px solid rgba(255, 255, 255, 0.13);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.055);

  color:
    rgba(255, 255, 255, 0.62);

  font: inherit;
  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  touch-action: manipulation;

  -webkit-tap-highlight-color:
    transparent;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.wind-unit-button.is-active {
  background:
    rgba(255, 255, 255, 0.20);

  border-color:
    rgba(255, 255, 255, 0.34);

  color: #fff;
}

/* =========================================================
   SkyView latest-update modal
   ========================================================= */

body.skyview-modal-open {
  overflow: hidden;
}

.skyview-update-modal {
  position: fixed;
  inset: 0;

  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    max(18px, env(safe-area-inset-top))
    18px
    max(18px, env(safe-area-inset-bottom));

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.2s ease;
}

.skyview-update-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.skyview-update-modal[hidden] {
  display: none;
}

.skyview-update-backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(4, 12, 24, 0.68);

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}

.skyview-update-card {
  position: relative;
  z-index: 1;

  width: min(
    100%,
    470px
  );

  max-height:
    calc(100dvh - 36px);

  overflow-y: auto;

  padding: 24px 22px 20px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.16
    );

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(24, 54, 90, 0.97),
      rgba(11, 31, 58, 0.98)
    );

  box-shadow:
    0 24px 70px
      rgba(0, 0, 0, 0.42),
    inset 0 1px 0
      rgba(255, 255, 255, 0.06);

  color: #fff;

  transform:
    translateY(14px)
    scale(0.985);

  transition:
    transform 0.22s ease;
}

.skyview-update-modal.is-visible
.skyview-update-card {
  transform:
    translateY(0)
    scale(1);
}

.skyview-update-close {
  position: absolute;

  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

  border: 0;
  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.08);

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 22px;
  line-height: 1;

  cursor: pointer;

  touch-action: manipulation;
}

.skyview-update-eyebrow {
  margin-bottom: 7px;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.04em;

  color:
    rgba(255, 255, 255, 0.62);
}

.skyview-update-title {
  margin:
    0
    40px
    20px
    0;

  font-size: 23px;
  line-height: 1.15;
  font-weight: 750;

  color: #fff;
}

.skyview-update-list {
  display: grid;

  gap: 10px;
}

.skyview-update-item {
  display: grid;

  grid-template-columns:
    30px
    minmax(0, 1fr);

  gap: 10px;

  align-items: start;

  padding: 11px 12px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.08
    );

  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.045);
}

.skyview-update-icon {
  font-size: 19px;
  line-height: 1.2;
}

.skyview-update-item strong,
.skyview-update-tip strong {
  display: block;

  margin-bottom: 3px;

  font-size: 13px;
  font-weight: 700;

  color:
    rgba(255, 255, 255, 0.96);
}

.skyview-update-item span:not(
  .skyview-update-icon
),
.skyview-update-tip span {
  display: block;

  font-size: 12px;
  line-height: 1.4;

  color:
    rgba(255, 255, 255, 0.64);
}

.skyview-update-tip {
  display: grid;

  grid-template-columns:
    30px
    minmax(0, 1fr);

  gap: 10px;

  margin-top: 16px;

  padding: 13px 14px;

  border:
    1px solid rgba(
      89,
      229,
      239,
      0.18
    );

  border-radius: 15px;

  background:
    rgba(
      89,
      229,
      239,
      0.07
    );
}

.skyview-update-tip[hidden] {
  display: none;
}

.skyview-update-tip-icon {
  font-size: 20px;
}

.skyview-update-actions {
  display: flex;

  gap: 10px;

  margin-top: 18px;
}

.skyview-update-primary,
.skyview-update-secondary {
  min-height: 42px;

  padding:
    10px
    14px;

  border-radius: 12px;

  font: inherit;
  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  touch-action: manipulation;

  -webkit-tap-highlight-color:
    transparent;
}

.skyview-update-primary {
  flex: 1;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.22
    );

  background:
    rgba(
      255,
      255,
      255,
      0.16
    );

  color: #fff;
}

.skyview-update-secondary {
  flex: 1.4;

  border:
    1px solid rgba(
      89,
      229,
      239,
      0.24
    );

  background:
    rgba(
      89,
      229,
      239,
      0.08
    );

  color:
    rgba(220, 251, 255, 0.96);
}

@media (max-width: 520px) {
  .skyview-update-modal {
    align-items: flex-start;

    padding:
      max(
        12px,
        env(safe-area-inset-top)
      )
      12px
      max(
        12px,
        env(safe-area-inset-bottom)
      );
  }

  .skyview-update-card {
    width: 100%;

    max-height:
      calc(
        100dvh
        - max(12px, env(safe-area-inset-top))
        - max(12px, env(safe-area-inset-bottom))
      );

    border-radius:
      22px
      22px
      18px
      18px;

    padding:
      22px
      18px
      18px;

    overflow-y: auto;

    -webkit-overflow-scrolling: touch;
  }

  .skyview-update-actions {
    flex-direction: column;
  }

  .skyview-update-primary,
  .skyview-update-secondary {
    width: 100%;
  }
}

/*
 * HTML hidden-attribuut moet altijd winnen
 * van component-specifieke display-regels.
 */
[hidden] {
  display: none !important;
}


/* =========================================================
   Hero action buttons
   ========================================================= */

.skyview-info-button,
.skyview-card-order-button {
  z-index: 5;
}

/* =========================================================
   SkyView installatiehulp
   ========================================================= */

.skyview-install-modal {
  position: fixed;
  inset: 0;

  z-index: 10010;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    max(18px, env(safe-area-inset-top))
    18px
    max(18px, env(safe-area-inset-bottom));

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.2s ease;
}

.skyview-install-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.skyview-install-modal[hidden] {
  display: none;
}

.skyview-install-backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(4, 12, 24, 0.68);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.skyview-install-card {
  position: relative;
  z-index: 1;

  width: min(
    100%,
    440px
  );

  max-height:
    calc(100dvh - 36px);

  overflow-y: auto;

  padding: 24px 22px 20px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.16
    );

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(24, 54, 90, 0.97),
      rgba(11, 31, 58, 0.98)
    );

  box-shadow:
    0 24px 70px
      rgba(0, 0, 0, 0.42),
    inset 0 1px 0
      rgba(255, 255, 255, 0.06);

  color: #fff;

  transform:
    translateY(14px)
    scale(0.985);

  transition:
    transform 0.22s ease;
}

.skyview-install-modal.is-visible
.skyview-install-card {
  transform:
    translateY(0)
    scale(1);
}

.skyview-install-close {
  position: absolute;

  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.08);

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 22px;
  line-height: 1;

  cursor: pointer;
}

.skyview-install-eyebrow {
  margin-bottom: 7px;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.04em;

  color:
    rgba(255, 255, 255, 0.62);
}

.skyview-install-title {
  margin:
    0
    40px
    8px
    0;

  font-size: 23px;
  line-height: 1.15;
}

.skyview-install-intro {
  margin:
    0
    0
    18px;

  font-size: 13px;
  line-height: 1.5;

  color:
    rgba(255, 255, 255, 0.68);
}

.skyview-install-platform {
  padding: 16px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.10
    );

  border-radius: 16px;

  background:
    rgba(255, 255, 255, 0.045);
}

.skyview-install-platform-title {
  margin-bottom: 12px;

  font-size: 15px;
  font-weight: 750;

  color: #fff;
}

.skyview-install-steps {
  margin:
    0
    0
    14px;

  padding-left: 24px;
}

.skyview-install-steps li {
  margin-bottom: 10px;

  padding-left: 3px;

  font-size: 13px;
  line-height: 1.45;

  color:
    rgba(255, 255, 255, 0.78);
}

.skyview-install-steps li:last-child {
  margin-bottom: 0;
}

.skyview-install-symbol {
  display: inline-block;

  margin-left: 3px;

  font-size: 16px;
  font-weight: 700;
}

.skyview-install-result {
  padding-top: 12px;

  border-top:
    1px solid rgba(
      255,
      255,
      255,
      0.08
    );

  font-size: 11px;
  line-height: 1.45;

  color:
    rgba(255, 255, 255, 0.56);
}

.skyview-install-done {
  width: 100%;
  min-height: 42px;

  margin-top: 18px;

  padding: 10px 14px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.22
    );

  border-radius: 12px;

  background:
    rgba(255, 255, 255, 0.16);

  color: #fff;

  font: inherit;
  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  touch-action: manipulation;
}

@media (
  max-width: 520px
) {
  .skyview-install-modal {
    align-items: flex-end;

    padding:
      12px
      12px
      max(
        12px,
        env(safe-area-inset-bottom)
      );
  }

  .skyview-install-card {
    width: 100%;

    border-radius:
      22px
      22px
      18px
      18px;

    padding:
      22px
      18px
      18px;
  }
}

.seo-about {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.seo-about > p {
  max-width: 760px;
}


/* =========================================================
   Modal
   ========================================================= */

body.skyview-card-order-open {
  overflow: hidden;
}

.skyview-card-order-modal {
  position: fixed;
  inset: 0;

  z-index: 11000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    max(
      16px,
      env(safe-area-inset-top)
    )
    16px
    max(
      16px,
      env(safe-area-inset-bottom)
    );

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.2s ease;
}

.skyview-card-order-modal[hidden] {
  display: none;
}

.skyview-card-order-modal.is-visible {
  opacity: 1;

  pointer-events: auto;
}


/* =========================================================
   Achtergrond
   ========================================================= */

.skyview-card-order-backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(5, 14, 26, 0.58);

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}


/* =========================================================
   Sheet
   ========================================================= */

.skyview-card-order-sheet {
  position: relative;

  z-index: 1;

  width:
    min(
      100%,
      430px
    );

  max-height:
    min(
      720px,
      calc(
        100dvh -
        32px -
        env(safe-area-inset-top) -
        env(safe-area-inset-bottom)
      )
    );

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.13);

  border-radius:
    24px;

  background:
    rgba(17, 69, 108, 0.97);

  box-shadow:
    0 24px 70px
    rgba(0, 0, 0, 0.32);

  transform:
    translateY(10px)
    scale(0.985);

  transition:
    transform 0.2s ease;
}

.skyview-card-order-modal.is-visible
.skyview-card-order-sheet {
  transform:
    translateY(0)
    scale(1);
}


/* =========================================================
   Header
   ========================================================= */

.skyview-card-order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 14px;

  padding:
    20px
    20px
    15px;
}

.skyview-card-order-header h2 {
  margin: 0;

  color:
    #ffffff;

  font-size: 20px;
  font-weight: 720;

  letter-spacing:
    -0.02em;
}

.skyview-card-order-header p {
  margin:
    5px 0 0;

  color:
    rgba(255, 255, 255, 0.6);

  font-size: 11px;
  line-height: 1.45;
}

.skyview-card-order-close {
  appearance: none;
  -webkit-appearance: none;

  flex: 0 0 auto;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius:
    50%;

  background:
    rgba(255, 255, 255, 0.08);

  color:
    rgba(255, 255, 255, 0.75);

  font-size: 22px;
  line-height: 1;

  cursor: pointer;
}


/* =========================================================
   Compacte kaartlijst
   ========================================================= */

.skyview-card-order-list {
  display: flex;
  flex-direction: column;

  gap: 7px;

  min-height: 0;

  overflow-y: auto;

  overscroll-behavior: contain;

  padding:
    2px
    14px
    14px;

  scrollbar-width: none;
}

.skyview-card-order-list::-webkit-scrollbar {
  display: none;
}


/* =========================================================
   Eén regel
   ========================================================= */

.skyview-card-order-item {
  flex: 0 0 auto;

  min-height: 58px;

  display: grid;

  grid-template-columns:
    34px
    34px
    minmax(0, 1fr)
    44px;

  align-items: center;

  gap: 8px;

  padding:
    7px
    8px;

  border:
    1px solid
    rgba(255, 255, 255, 0.09);

  border-radius:
    15px;

  background:
    rgba(255, 255, 255, 0.075);

  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.skyview-card-order-item.is-hidden {
  opacity: 0.52;
}


/* =========================================================
   Drag handle
   ========================================================= */

.skyview-card-order-handle {
  appearance: none;
  -webkit-appearance: none;

  width: 34px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;

  background: none;

  color:
    rgba(255, 255, 255, 0.46);

  cursor: grab;

  touch-action: none;

  -webkit-tap-highlight-color:
    transparent;
}

.skyview-card-order-handle:active {
  cursor: grabbing;
}

.skyview-card-order-grip {
  font-size: 24px;

  line-height: 1;

  transform:
    rotate(90deg);
}


/* =========================================================
   Icoon
   ========================================================= */

.skyview-card-order-icon {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius:
    10px;

  background:
    rgba(255, 255, 255, 0.09);

  font-size: 17px;
}


/* =========================================================
   Tekst
   ========================================================= */

.skyview-card-order-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 2px;
}

.skyview-card-order-copy strong {
  overflow: hidden;

  color:
    rgba(255, 255, 255, 0.96);

  font-size: 13px;
  font-weight: 680;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}

.skyview-card-order-copy small {
  overflow: hidden;

  color:
    rgba(255, 255, 255, 0.5);

  font-size: 9px;

  text-overflow:
    ellipsis;

  white-space:
    nowrap;
}


/* =========================================================
   Zichtbaarheidsschakelaar
   ========================================================= */

.skyview-card-order-visibility {
  appearance: none;
  -webkit-appearance: none;

  width: 42px;
  height: 28px;

  position: relative;

  padding: 0;

  border: 0;

  background: none;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}

.skyview-card-order-switch {
  position: absolute;

  inset:
    3px
    2px;

  border-radius:
    999px;

  background:
    rgba(255, 255, 255, 0.16);

  transition:
    background 0.18s ease;
}

.skyview-card-order-switch::after {
  content: '';

  position: absolute;

  top: 3px;
  left: 3px;

  width: 16px;
  height: 16px;

  border-radius:
    50%;

  background:
    rgba(255, 255, 255, 0.72);

  box-shadow:
    0 1px 4px
    rgba(0, 0, 0, 0.18);

  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.skyview-card-order-visibility[
  aria-pressed="true"
]
.skyview-card-order-switch {
  background:
    rgba(89, 229, 239, 0.42);
}

.skyview-card-order-visibility[
  aria-pressed="true"
]
.skyview-card-order-switch::after {
  transform:
    translateX(16px);

  background:
    #ffffff;
}


/* =========================================================
   Actief slepen
   ========================================================= */

.skyview-card-order-item.is-dragging {
  z-index: 5;

  opacity: 0.92;

  transform:
    scale(1.018);

  border-color:
    rgba(89, 229, 239, 0.35);

  background:
    rgba(255, 255, 255, 0.13);

  box-shadow:
    0 10px 25px
    rgba(0, 0, 0, 0.18);
}

.skyview-card-order-dragging {
  user-select: none;

  -webkit-user-select: none;
}


/* =========================================================
   Footer
   ========================================================= */

.skyview-card-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  padding:
    13px
    16px
    max(
      15px,
      env(safe-area-inset-bottom)
    );

  border-top:
    1px solid
    rgba(255, 255, 255, 0.08);

  background:
    rgba(9, 48, 78, 0.38);
}

.skyview-card-order-reset,
.skyview-card-order-done {
  appearance: none;
  -webkit-appearance: none;

  min-height: 38px;

  padding:
    8px 13px;

  border-radius:
    999px;

  font: inherit;
  font-size: 11px;
  font-weight: 650;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}

.skyview-card-order-reset {
  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  background:
    rgba(255, 255, 255, 0.06);

  color:
    rgba(255, 255, 255, 0.72);

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.skyview-card-order-reset:hover {
  background:
    rgba(255, 255, 255, 0.10);

  border-color:
    rgba(255, 255, 255, 0.22);

  color:
    #ffffff;
}

.skyview-card-order-reset:active {
  transform:
    scale(0.97);
}

.skyview-card-order-done {
  border:
    1px solid
    rgba(89, 229, 239, 0.26);

  background:
    rgba(89, 229, 239, 0.15);

  color:
    #ffffff;
}


/* =========================================================
   Mobiel
   ========================================================= */

@media (max-width: 520px) {

  .skyview-card-order-modal {
    align-items: flex-end;

    padding:
      12px
      10px
      max(
        10px,
        env(safe-area-inset-bottom)
      );
  }

  .skyview-card-order-sheet {
    width: 100%;

    max-height:
      calc(
        100dvh -
        22px -
        env(safe-area-inset-top)
      );

    border-radius:
      24px;
  }

  .skyview-card-order-header {
    padding:
      18px
      18px
      13px;
  }

  .skyview-card-order-item {
    min-height: 55px;
  }
}

/* =========================================================
   Vaste kaarten in de beheer-popup
   ========================================================= */

.skyview-card-order-divider {
  height: 1px;

  margin:
    6px 8px;

  background:
    rgba(255, 255, 255, 0.09);
}

.skyview-card-order-item-fixed {
  grid-template-columns:
    34px
    34px
    minmax(0, 1fr)
    44px;
}

.skyview-card-order-fixed-marker {
  width: 34px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  color:
    rgba(255, 255, 255, 0.3);

  font-size: 12px;
}

/* =========================================================
   Hero actions
   ========================================================= */

.hero {
  position: relative;
}

.hero-actions {
  position: absolute;

  top: 16px;
  right: 16px;

  z-index: 5;

  display: flex;
  flex-direction: row;
  align-items: center;

  gap: 8px;
}


/* =========================================================
   Gedeelde hero-buttonstijl
   ========================================================= */

.skyview-push-button,
.skyview-info-button,
.skyview-card-order-button {
  position: static;

  z-index: 5;

  flex: 0 0 40px;

  width: 40px;
  height: 40px;

  min-width: 40px;
  min-height: 40px;

  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    2px solid
    rgba(
      255,
      255,
      255,
      0.5
    );

  border-radius: 50%;

  background:
    rgba(
      255,
      255,
      255,
      0.07
    );

  color:
    rgba(
      255,
      255,
      255,
      0.72
    );

  font: inherit;

  cursor: pointer;

  touch-action: manipulation;

  -webkit-tap-highlight-color:
    transparent;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}


/* =========================================================
   Optische correctie per icoon
   ========================================================= */

.skyview-push-button {
  font-size: 17px;
  font-weight: 700;
}

.skyview-card-order-button {
  font-size: 19px;
  font-weight: 700;
}

.skyview-info-button {
  font-size: 20px;
  font-weight: 800;
}


/* =========================================================
   Hover
   ========================================================= */

.skyview-push-button:hover,
.skyview-info-button:hover,
.skyview-card-order-button:hover {
  background:
    rgba(
      255,
      255,
      255,
      0.12
    );

  border-color:
    rgba(
      255,
      255,
      255,
      0.65
    );

  color: #fff;
}


/* =========================================================
   Active
   ========================================================= */

.skyview-push-button:active,
.skyview-info-button:active,
.skyview-card-order-button:active {
  transform:
    scale(0.94);
}

/* =========================================================
   SkyView Push Messaging
   ========================================================= */

.skyview-push-modal {
  position: fixed;
  inset: 0;

  z-index: 10020;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    max(
      12px,
      env(safe-area-inset-top)
    )
    12px
    max(
      12px,
      env(safe-area-inset-bottom)
    );

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.2s ease;
}


.skyview-push-modal[hidden] {
  display: none;
}


.skyview-push-modal.is-visible {
  opacity: 1;

  pointer-events: auto;
}


.skyview-push-backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(
      4,
      12,
      24,
      0.72
    );

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}

/* =========================================================
   Uitgeschakelde suboptie
   ========================================================= */

#skyviewPushRainThreshold {
  transition:
    opacity 0.18s ease;
}

#skyviewPushRainThreshold.is-option-disabled {
  opacity: 0.32;

  pointer-events: none;
}

/* =========================================================
   Card
   ========================================================= */

.skyview-push-card {
  position: relative;

  z-index: 1;

  width:
    min(
      100%,
      430px
    );

  max-height:
    calc(
      100dvh -
      24px -
      env(safe-area-inset-top) -
      env(safe-area-inset-bottom)
    );

  overflow-y: auto;

  padding:
    22px 18px 18px;

  box-sizing:
    border-box;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.14
    );

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(
        18,
        67,
        101,
        0.98
      ),
      rgba(
        7,
        38,
        62,
        0.99
      )
    );

  box-shadow:
    0 24px 70px
    rgba(
      0,
      0,
      0,
      0.42
    );

  color: #fff;

  overscroll-behavior:
    contain;

  scrollbar-width:
    none;
}


.skyview-push-card::-webkit-scrollbar {
  display: none;
}


/* =========================================================
   Sluiten
   ========================================================= */

.skyview-push-close {
  position: absolute;

  top: 12px;
  right: 12px;

  width: 34px;
  height: 34px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background:
    rgba(
      255,
      255,
      255,
      0.09
    );

  color:
    rgba(
      255,
      255,
      255,
      0.80
    );

  font-size: 22px;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}


/* =========================================================
   Intro
   ========================================================= */


/* =========================================================
   Algemene status
   ========================================================= */

.skyview-push-status {
  display: grid;

  grid-template-columns:
    11px minmax(
      0,
      1fr
    );

  gap: 10px;

  margin-bottom: 16px;

  padding:
    12px 13px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.13
    );

  border-radius: 14px;

  background:
    rgba(
      255,
      255,
      255,
      0.055
    );
}


.skyview-push-status-dot {
  width: 8px;
  height: 8px;

  margin-top: 5px;

  border-radius: 50%;

  background:
    rgba(
      255,
      255,
      255,
      0.34
    );
}


.skyview-push-status strong,
.skyview-push-status span {
  display: block;
}


.skyview-push-status strong {
  margin-bottom: 2px;

  font-size: 12px;
  font-weight: 750;
}


.skyview-push-status span {
  color:
    rgba(
      255,
      255,
      255,
      0.62
    );

  font-size: 11px;
  line-height: 1.42;
}


.skyview-push-status[
  data-state="active"
]
.skyview-push-status-dot {
  background: #64e7aa;

  box-shadow:
    0 0 8px
    rgba(
      100,
      231,
      170,
      0.62
    );
}


.skyview-push-status[
  data-state="inactive"
]
.skyview-push-status-dot,
.skyview-push-status[
  data-state="install-required"
]
.skyview-push-status-dot {
  background: #ffc768;
}


.skyview-push-status[
  data-state="blocked"
]
.skyview-push-status-dot,
.skyview-push-status[
  data-state="error"
]
.skyview-push-status-dot {
  background: #ff7c83;
}


/* =========================================================
   Instellingskaarten
   ========================================================= */

.skyview-push-setting {
  margin-bottom: 10px;

  overflow: hidden;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  border-radius: 16px;

  background:
    rgba(
      255,
      255,
      255,
      0.045
    );

  transition:
    opacity 0.18s ease,
    background 0.18s ease;
}


.skyview-push-setting-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  padding:
    12px 13px;
}


.skyview-push-setting-heading {
  display: flex;
  align-items: center;

  min-width: 0;

  gap: 10px;
}


.skyview-push-setting-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex:
    0 0 30px;

  width: 30px;
  height: 30px;

  font-size: 17px;
}


.skyview-push-setting-heading strong,
.skyview-push-setting-heading small {
  display: block;
}


.skyview-push-setting-heading strong {
  margin-bottom: 2px;

  font-size: 12px;
  font-weight: 750;
}


.skyview-push-setting-heading small {
  color:
    rgba(
      255,
      255,
      255,
      0.52
    );

  font-size: 10px;
  line-height: 1.3;
}


.skyview-push-setting-body {
  padding:
    0 13px 12px;

  transition:
    opacity 0.18s ease;
}


/*
 * Wanneer een complete categorie uit staat,
 * blijft de header actief zodat hij weer
 * ingeschakeld kan worden.
 */

.skyview-push-setting.is-disabled
.skyview-push-setting-body {
  opacity: 0.32;

  pointer-events: none;
}


/* =========================================================
   Switches
   ========================================================= */

.skyview-push-switch,
.skyview-push-mini-switch {
  position: relative;

  flex: 0 0 auto;

  padding: 0;

  border: 0;

  background:
    rgba(
      255,
      255,
      255,
      0.15
    );

  cursor: pointer;

  transition:
    background 0.18s ease;

  -webkit-tap-highlight-color:
    transparent;
}


.skyview-push-switch {
  width: 42px;
  height: 24px;

  border-radius: 12px;
}


.skyview-push-mini-switch {
  width: 36px;
  height: 21px;

  border-radius: 11px;
}


.skyview-push-switch-knob {
  position: absolute;

  top: 3px;
  left: 3px;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  background:
    rgba(
      255,
      255,
      255,
      0.92
    );

  box-shadow:
    0 1px 4px
    rgba(
      0,
      0,
      0,
      0.20
    );

  transition:
    transform 0.18s ease;
}


.skyview-push-mini-switch
.skyview-push-switch-knob {
  width: 15px;
  height: 15px;
}


.skyview-push-switch[
  aria-pressed="true"
],
.skyview-push-mini-switch[
  aria-pressed="true"
] {
  background:
    rgba(
      89,
      229,
      239,
      0.66
    );
}


.skyview-push-switch[
  aria-pressed="true"
]
.skyview-push-switch-knob {
  transform:
    translateX(
      18px
    );
}


.skyview-push-mini-switch[
  aria-pressed="true"
]
.skyview-push-switch-knob {
  transform:
    translateX(
      15px
    );
}


/* =========================================================
   Subopties
   ========================================================= */

.skyview-push-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  padding:
    10px 0;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.07
    );
}


.skyview-push-option-copy {
  min-width: 0;
}


.skyview-push-option-copy strong,
.skyview-push-option-copy small {
  display: block;
}


.skyview-push-option-copy strong {
  margin-bottom: 2px;

  font-size: 11px;
  font-weight: 700;
}


.skyview-push-option-copy small {
  color:
    rgba(
      255,
      255,
      255,
      0.49
    );

  font-size: 10px;
  line-height: 1.35;
}


/* =========================================================
   Grenswaarden / stepper
   ========================================================= */

.skyview-push-threshold {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  padding-top: 10px;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.07
    );
}


.skyview-push-threshold-copy {
  min-width: 0;
}


.skyview-push-threshold-copy strong,
.skyview-push-threshold-copy small {
  display: block;
}


.skyview-push-threshold-copy strong {
  margin-bottom: 2px;

  font-size: 11px;
  font-weight: 700;
}


.skyview-push-threshold-copy small {
  color:
    rgba(
      255,
      255,
      255,
      0.49
    );

  font-size: 10px;
  line-height: 1.35;
}


.skyview-push-stepper {
  display: grid;

  grid-template-columns:
    31px 60px 31px;

  flex: 0 0 auto;

  overflow: hidden;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.13
    );

  border-radius: 11px;

  background:
    rgba(
      0,
      0,
      0,
      0.10
    );
}

.skyview-push-stepper-button {
  width: 31px;
  height: 34px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;

  background:
    transparent;

  color:
    rgba(
      255,
      255,
      255,
      0.78
    );

  font: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}

.skyview-push-stepper-button:disabled {
  opacity: 0.25;

  cursor: default;
}


.skyview-push-stepper-value {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 3px;

  min-width: 0;
  height: 34px;

  line-height: 1;

  border-left:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  border-right:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );
}


.skyview-push-stepper-value strong,
.skyview-push-stepper-value span {
  display: inline-flex;
  align-items: center;

  position: relative;
  top: 1px;

  color:
    rgba(
      255,
      255,
      255,
      0.52
    );

  font-size: 9px;
  line-height: 1;
}

.skyview-push-stepper-value strong {
  font-size: 12px;
  font-weight: 750;
}


.skyview-push-stepper-value span {
  color:
    rgba(
      255,
      255,
      255,
      0.52
    );

  font-size: 9px;
}

/* =========================================================
   Bijzonder weer
   ========================================================= */

.skyview-push-special-copy {
  margin: 0;

  padding-top: 9px;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.07
    );

  color:
    rgba(
      255,
      255,
      255,
      0.52
    );

  font-size: 10px;
  line-height: 1.45;
}


/* =========================================================
   Cooldown
   ========================================================= */

.skyview-push-cooldown {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin:
    14px 0;

  padding:
    12px 13px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  border-radius: 14px;

  background:
    rgba(
      255,
      255,
      255,
      0.035
    );
}


.skyview-push-cooldown-copy strong,
.skyview-push-cooldown-copy small {
  display: block;
}


.skyview-push-cooldown-copy strong {
  margin-bottom: 2px;

  font-size: 11px;
  font-weight: 700;
}


.skyview-push-cooldown-copy small {
  color:
    rgba(
      255,
      255,
      255,
      0.48
    );

  font-size: 10px;
}


.skyview-push-select-wrap {
  position: relative;

  flex: 0 0 auto;
}


.skyview-push-select {
  appearance: none;
  -webkit-appearance: none;

  min-height: 34px;

  padding:
    0 28px 0 11px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.13
    );

  border-radius: 10px;

  background:
    rgba(
      0,
      0,
      0,
      0.12
    );

  color: #fff;

  font: inherit;
  font-size: 10px;
  font-weight: 650;

  cursor: pointer;
}


.skyview-push-select-wrap::after {
  content: '⌄';

  position: absolute;

  top: 50%;
  right: 9px;

  transform:
    translateY(
      -57%
    );

  color:
    rgba(
      255,
      255,
      255,
      0.55
    );

  font-size: 13px;

  pointer-events: none;
}


/* =========================================================
   Acties
   ========================================================= */

.skyview-push-actions {
  display: grid;

  gap: 8px;
}


.skyview-push-primary,
.skyview-push-secondary {
  appearance: none;
  -webkit-appearance: none;

  width: 100%;

  min-height: 43px;

  padding:
    10px 15px;

  border-radius: 13px;

  font: inherit;
  font-size: 12px;
  font-weight: 750;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}


.skyview-push-primary {
  border:
    1px solid
    rgba(
      89,
      229,
      239,
      0.42
    );

  background:
    rgba(
      89,
      229,
      239,
      0.13
    );

  color: #fff;
}


.skyview-push-secondary {
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.12
    );

  background:
    rgba(
      255,
      255,
      255,
      0.05
    );

  color:
    rgba(
      255,
      255,
      255,
      0.76
    );
}


.skyview-push-primary:disabled,
.skyview-push-secondary:disabled {
  opacity: 0.45;

  cursor: default;
}


.skyview-push-footnote {
  margin:
    11px 3px 0;

  color:
    rgba(
      255,
      255,
      255,
      0.37
    );

  text-align: center;

  font-size: 9px;
  line-height: 1.4;
}


/* =========================================================
   Mobiel
   ========================================================= */

@media (
  max-width: 480px
) {
  .skyview-push-modal {
    align-items: flex-start;
  }

  .skyview-push-card {
    margin:
      auto 0;

    padding:
      20px 16px 17px;

    border-radius: 22px;
  }

  .skyview-push-title {
    font-size: 21px;
  }

  .skyview-push-threshold {
    gap: 8px;
  }

  .skyview-push-stepper {
    grid-template-columns:
      29px 57px 29px;
  }

  .skyview-push-stepper-button {
    width: 29px;
  }
}

/* =========================================================
   Regen forecast threshold
   Hoort uitsluitend bij "Regen wordt verwacht"
   ========================================================= */

#skyviewPushRainThreshold {
  position: relative;

  margin-top: 2px;
  padding:
    11px 0 1px 12px;

  border-top:
    1px solid
    rgba(
      89,
      229,
      239,
      0.16
    );
}


/* =========================================================
   Regen forecast threshold
   Hoort uitsluitend bij "Regen wordt verwacht"
   ========================================================= */

#skyviewPushRainThreshold {
  position: relative;

  margin-top: 2px;

  padding:
    8px 0 1px 12px;

  border-top: 0;
}


/*
 * Visuele verbinding met de
 * bovenliggende forecast-instelling.
 */

#skyviewPushRainThreshold::before {
  content: '';

  position: absolute;

  left: 0;
  top: 7px;
  bottom: 3px;

  width: 2px;

  border-radius: 2px;

  background:
    rgba(
      89,
      229,
      239,
      0.22
    );
}
/* =========================================================
   SkyView gedeelde modal header
   ========================================================= */

.skyview-modal-header {
  position: relative;

  margin: 0 0 17px;
}

.skyview-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin-bottom: 13px;

  border:
    1px solid
    rgba(
      89,
      229,
      239,
      0.28
    );

  border-radius: 14px;

  background:
    rgba(
      89,
      229,
      239,
      0.09
    );

  color:
    rgba(
      255,
      255,
      255,
      0.92
    );

  font-size: 23px;
  line-height: 1;
}

.skyview-modal-eyebrow {
  margin-bottom: 4px;

  color:
    rgba(
      116,
      230,
      239,
      0.92
    );

  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.skyview-modal-title {
  margin:
    0 38px 7px 0;

  color: #fff;

  font-size: 23px;
  font-weight: 760;
  line-height: 1.15;
}

.skyview-modal-intro {
  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.68
    );

  font-size: 13px;
  line-height: 1.48;
}

/* =========================================================
   Primaire afsluitknop
   ========================================================= */

.skyview-modal-done {
  appearance: none;
  -webkit-appearance: none;

  flex: 1;

  min-height: 44px;

  padding:
    10px
    16px;

  border:
    1px solid
    rgba(
      89,
      229,
      239,
      0.42
    );

  border-radius: 13px;

  background:
    rgba(
      89,
      229,
      239,
      0.13
    );

  color: #fff;

  font: inherit;
  font-size: 12px;
  font-weight: 750;

  cursor: pointer;

  touch-action: manipulation;

  -webkit-tap-highlight-color:
    transparent;
}


.skyview-modal-done:active {
  transform:
    scale(
      0.985
    );
}

.skyview-modal-secondary {
  appearance: none;
  -webkit-appearance: none;

  flex: 1;

  min-height: 44px;

  padding:
    10px
    16px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.14
    );

  border-radius: 13px;

  background:
    rgba(
      255,
      255,
      255,
      0.055
    );

  color:
    rgba(
      255,
      255,
      255,
      0.76
    );

  font: inherit;
  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  touch-action: manipulation;

  -webkit-tap-highlight-color:
    transparent;
}

/* =========================================================
   SkyView gedeelde modal header
   ========================================================= */

.skyview-modal-header {
  margin-bottom: 17px;
}

.skyview-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  margin-bottom: 13px;

  border:
    1px solid
    rgba(
      89,
      229,
      239,
      0.28
    );

  border-radius: 14px;

  background:
    rgba(
      89,
      229,
      239,
      0.09
    );

  font-size: 23px;
}

.skyview-modal-eyebrow {
  margin-bottom: 4px;

  color:
    rgba(
      116,
      230,
      239,
      0.92
    );

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.skyview-modal-title {
  margin:
    0 38px 7px 0;

  color: #fff;

  font-size: 23px;
  font-weight: 760;
  line-height: 1.15;
}

.skyview-modal-intro {
  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.68
    );

  font-size: 13px;
  line-height: 1.48;
}

.skyview-card-order-sheet
> .skyview-modal-header {
  margin-bottom: 0;

  padding:
    22px
    18px
    17px;
}

.skyview-modal-close {
  position: absolute;

  top: 12px;
  right: 12px;

  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background:
    rgba(
      255,
      255,
      255,
      0.09
    );

  color:
    rgba(
      255,
      255,
      255,
      0.80
    );

  font: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color:
    transparent;
}

/* =========================================================
   SkyView gebruik
   ========================================================= */

.skyview-usage-section {
  padding-top: 18px;
}

.skyview-usage-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin-top: 14px;
}

.skyview-usage-card {
  min-width: 0;

  padding: 14px 12px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.08
    );

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.065),
      rgba(255,255,255,0.025)
    );

  text-align: center;
}

.skyview-usage-label {
  display: block;

  color:
    rgba(
      255,
      255,
      255,
      0.52
    );

  font-size: 10px;
  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.05em;
}

.skyview-usage-card strong {
  display: block;

  margin-top: 7px;

  color:
    rgba(
      255,
      255,
      255,
      0.98
    );

  font-size: 28px;
  font-weight: 800;

  line-height: 1;
}

.skyview-usage-card small {
  display: block;

  margin-top: 5px;

  color:
    rgba(
      255,
      255,
      255,
      0.43
    );

  font-size: 9px;
}


.skyview-usage-history {
  margin-top: 12px;

  padding: 14px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.07
    );

  border-radius: 17px;

  background:
    rgba(
      255,
      255,
      255,
      0.025
    );
}

.skyview-usage-history-header {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  gap: 12px;
}

.skyview-usage-history-header h4 {
  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.92
    );

  font-size: 13px;
  font-weight: 700;
}

.skyview-usage-history-header p {
  margin: 3px 0 0;

  color:
    rgba(
      255,
      255,
      255,
      0.44
    );

  font-size: 10px;
}

.skyview-usage-history-meta {
  color:
    rgba(
      255,
      255,
      255,
      0.44
    );

  font-size: 9px;
  font-weight: 700;
}


.skyview-usage-history-chart {
  display: grid;

  grid-template-columns:
    repeat(7, minmax(0, 1fr));

  gap: 7px;

  height: 150px;

  margin-top: 15px;
}

.skyview-usage-history-column {
  display: grid;

  grid-template-rows:
    20px
    minmax(0, 1fr)
    18px;

  min-width: 0;

  text-align: center;
}

.skyview-usage-history-column > strong {
  align-self: end;

  color:
    rgba(
      255,
      255,
      255,
      0.67
    );

  font-size: 9px;
}

.skyview-usage-history-bar-area {
  display: flex;

  align-items: flex-end;
  justify-content: center;

  min-height: 0;

  padding: 6px 3px 5px;
}

.skyview-usage-history-bar {
  display: block;

  width: min(
    24px,
    72%
  );

  min-height: 2px;

  border-radius:
    7px 7px 2px 2px;

  background:
    linear-gradient(
      180deg,
      rgba(
        110,
        231,
        255,
        0.92
      ),
      rgba(
        47,
        128,
        237,
        0.42
      )
    );

  box-shadow:
    inset 0 1px 0
      rgba(
        255,
        255,
        255,
        0.18
      );

  transition:
    height 0.4s ease;
}

.skyview-usage-history-column > small {
  color:
    rgba(
      255,
      255,
      255,
      0.48
    );

  font-size: 8px;
  font-weight: 600;

  text-transform: lowercase;
}

.skyview-usage-history-empty {
  grid-column: 1 / -1;

  align-self: center;

  color:
    rgba(
      255,
      255,
      255,
      0.42
    );

  font-size: 11px;

  text-align: center;
}


@media (max-width: 380px) {
  .skyview-usage-grid {
    gap: 8px;
  }

  .skyview-usage-card {
    padding:
      12px 9px;
  }

  .skyview-usage-card strong {
    font-size: 25px;
  }

  .skyview-usage-history {
    padding: 12px;
  }

  .skyview-usage-history-chart {
    gap: 4px;
    height: 135px;
  }

  .skyview-usage-history-bar {
    width: min(
      19px,
      76%
    );
  }
}

.skyview-privacy-note {
  margin-top: 18px;
  padding-top: 16px;

  border-top:
    1px solid rgba(255, 255, 255, 0.08);
}

.skyview-privacy-note h4 {
  margin: 0 0 7px;

  font-size: 12px;
  font-weight: 700;

  color:
    rgba(255, 255, 255, 0.78);
}

.skyview-privacy-note p {
  margin: 0;

  font-size: 11px;
  line-height: 1.55;

  color:
    rgba(255, 255, 255, 0.48);
}

.skyview-privacy-note p + p {
  margin-top: 8px;
}

/* =========================================================
   Regenhistorie - Vandaag chip
   ========================================================= */

.rain-current-chip {
  flex: 0 0 auto;

  min-width: 82px;

  padding:
    10px
    12px
    11px;

  box-sizing: border-box;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.18
    );

  border-radius: 16px;

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );

  text-align: right;

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);
}


/*
 * Label bovenin.
 */
.rain-current-chip > span {
  display: block;

  margin-bottom: 5px;

  color: #6ee7ff;

  font-size: 10px;
  font-weight: 700;

  line-height: 1;

  opacity: 0.9;
}


/*
 * Waarderegel.
 *
 * De unit "mm" erft deze kleinere maat.
 */
.rain-current-chip strong {
  display: block;

  color:
    rgba(
      255,
      255,
      255,
      0.78
    );

  font-size: 12px;
  font-weight: 700;

  line-height: 1;

  white-space: nowrap;
}


/*
 * De daadwerkelijke hoeveelheid krijgt
 * de visuele nadruk.
 */
.rain-current-chip strong #rainToday {
  display: inline;

  margin-right: 3px;

  color: #ffffff;

  font-size: 24px;
  font-weight: 800;

  line-height: 1;

  letter-spacing: -0.5px;
}

.rain-current-chip {
  text-align: center;
}

#skyviewMaintenanceModal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   Regenhistorie - maandgrafiek interactiehint
   ========================================================= */

.rain-month-chart-hint {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  margin:
    -2px
    0
    12px;

  color:
    rgba(
      255,
      255,
      255,
      0.46
    );

  font-size:
    10px;

  font-weight:
    600;

  line-height:
    1.3;

  text-align:
    center;
}


.rain-month-chart-hint-icon {
  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  color:
    rgba(
      110,
      231,
      255,
      0.72
    );

  font-size:
    11px;

  line-height:
    1;
}


/*
 * De maandbalken zijn interactief.
 */
#rainMonthlyChart
.apexcharts-bar-area {
  cursor:
    pointer;
}


/*
 * Op touchscreens hoeft de aanwijzing
 * niet groter te worden; hij blijft bewust
 * subtiel secundair.
 */
@media (
  max-width: 380px
) {
  .rain-month-chart-hint {
    margin-top:
      -4px;

    font-size:
      9px;
  }
}

/* =========================================================
   Push - bijzonder weer subtriggers
   ========================================================= */

.skyview-push-special-triggers {
  display: grid;
  gap: 8px;

  margin-top: 12px;
}


.skyview-push-special-trigger {
  display: grid;

  grid-template-columns:
    30px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 10px;

  padding: 10px 11px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.10
    );

  border-radius: 13px;

  background:
    rgba(
      255,
      255,
      255,
      0.045
    );
}


.skyview-push-special-trigger-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  font-size: 17px;
}


.skyview-push-special-trigger-copy {
  min-width: 0;
}


.skyview-push-special-trigger-copy strong {
  display: block;

  font-size: 13px;
  font-weight: 700;

  color:
    rgba(
      255,
      255,
      255,
      0.94
    );
}


.skyview-push-special-trigger-copy small {
  display: block;

  margin-top: 2px;

  font-size: 11px;
  line-height: 1.35;

  color:
    rgba(
      255,
      255,
      255,
      0.58
    );
}


.skyview-push-special-trigger-status {
  flex: 0 0 auto;

  padding: 4px 7px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 800;

  line-height: 1;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}


.skyview-push-special-trigger-status.is-active {
  color:
    rgba(
      110,
      231,
      255,
      0.96
    );

  background:
    rgba(
      89,
      229,
      239,
      0.10
    );

  border:
    1px solid rgba(
      89,
      229,
      239,
      0.18
    );
}


.skyview-push-special-trigger-status.is-pending {
  color:
    rgba(
      255,
      255,
      255,
      0.46
    );

  background:
    rgba(
      255,
      255,
      255,
      0.05
    );

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.08
    );
}


/*
 * Wanneer de hoofdcategorie uit staat,
 * de onderliggende triggers visueel
 * mee dempen.
 */
.skyview-push-setting.is-disabled
.skyview-push-special-triggers {
  opacity: 0.45;
}

