[data-hydro-root] {
  display: grid;
  gap: 1.5rem;
}

.hydro-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.hydro-panel--intro {
  padding: 1.25rem;
}

.hydro-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .hydro-grid--2 {
    grid-template-columns: 1.1fr .9fr;
  }

  .hydro-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

.hydro-prose p {
  margin: 0 0 1rem;
  color: #334155;
  line-height: 1.7;
}

.hydro-prose p:last-child {
  margin-bottom: 0;
}

.hydro-eyebrow {
  margin: 0 0 .4rem;
  color: #0d1b42;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .8rem;
}

.hydro-section-title {
  margin: 0 0 .75rem;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #0f172a;
}

.hydro-section-title--small {
  font-size: 1.2rem;
}

.hydro-field label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
}

.hydro-input,
.hydro-select,
.hydro-button {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  min-height: 44px;
  padding: .75rem .9rem;
  box-sizing: border-box;
}

.hydro-input:focus,
.hydro-select:focus,
.hydro-button:focus,
.hydro-suggestion:focus,
.hydro-faq-item summary:focus {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
}

.hydro-button {
  cursor: pointer;
  font-weight: 600;
  background: #0d1b42;
  color: #fff;
}

.hydro-button--secondary {
  background: #f8fafc;
  color: #0f172a;
}

.hydro-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.hydro-actions .hydro-button {
  width: auto;
}

[data-hydro-suggestions] {
  display: grid;
  gap: .5rem;
  margin-top: .5rem;
}

.hydro-suggestion,
.hydro-station-card,
.hydro-note-card,
.hydro-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.hydro-suggestion {
  text-align: left;
  padding: .65rem .8rem;
  cursor: pointer;
}

.hydro-station-card,
.hydro-note-card {
  padding: 1rem;
}

.hydro-station-card h3,
.hydro-note-card h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  color: #0f172a;
}

.hydro-note-card p,
.hydro-station-card p,
.hydro-meta,
.hydro-status {
  margin: 0;
  color: #475569;
}

.hydro-benefits,
.hydro-note-grid {
  margin-top: 1rem;
}

.hydro-note-card--accent {
  background: #f8fafc;
}

.hydro-inline-link {
  margin-top: .5rem;
}

.hydro-inline-link a {
  font-weight: 600;
}

.hydro-meta--spaced {
  margin-bottom: 1rem;
}

.hydro-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.hydro-kpis--3 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .hydro-kpis--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hydro-kpi {
  background: #f8fafc;
  border-radius: 10px;
  padding: .9rem;
}

.hydro-kpi-label {
  display: block;
  color: #64748b;
  font-size: .9rem;
  margin-bottom: .25rem;
}

.hydro-kpi-value {
  font-size: 1.35rem;
  font-weight: 700;
}

.hydro-kpi-value--date {
  font-size: 1rem;
  line-height: 1.35;
}

[data-hydro-chart] {
  min-height: 520px;
}

.hydro-faq-item {
  padding: 0;
  overflow: hidden;
}

.hydro-faq-item + .hydro-faq-item {
  margin-top: .75rem;
}

.hydro-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 1rem;
  color: #0f172a;
}

.hydro-faq-item summary::-webkit-details-marker {
  display: none;
}

.hydro-faq-item[open] summary {
  border-bottom: 1px solid #e5e7eb;
}

.hydro-faq-item p {
  margin: 0;
  padding: 1rem;
}

.hydro-status[data-state="error"] { color: #b91c1c; }
.hydro-status[data-state="warning"] { color: #92400e; }
.hydro-status[data-state="loading"] { color: #1d4ed8; }
.hydro-status[data-state="info"] { color: #475569; }
