/* === Hidratação === */
.hidra-page .hidra-app { padding: 20px; }

.hidra-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.hidra-input { background: #f0f9ff; border: 2px solid #bae6fd; border-radius: 14px; padding: 16px; }
.hidra-input > label { display: block; font-size: 13px; color: #0c4a6e; font-weight: 700; margin-bottom: 10px; }
.hidra-num { display: flex; align-items: center; background: #fff; border: 1px solid #bae6fd; border-radius: 10px; padding: 4px 12px; }
.hidra-num input { flex: 1; border: 0; outline: none; font-size: 24px; font-weight: 800; color: #0284c7; text-align: right; padding: 8px 0; }
.hidra-num input::-webkit-outer-spin-button, .hidra-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hidra-num span { font-size: 14px; color: #64748b; font-weight: 600; padding-left: 8px; }
.hidra-pills { display: flex; flex-wrap: wrap; gap: 4px; background: rgba(255,255,255,0.6); border-radius: 999px; padding: 4px; }
.hidra-pills button { flex: 1; min-width: 0; background: transparent; border: 0; padding: 8px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #0c4a6e; cursor: pointer; transition: all .15s; white-space: nowrap; }
.hidra-pills button.active { background: #0284c7; color: #fff; box-shadow: 0 2px 8px rgba(2,132,199,0.3); }

/* Stage */
.hidra-stage { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; align-items: center; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-radius: 18px; padding: 26px; margin-bottom: 22px; }
.hidra-glass-wrap { display: flex; justify-content: center; }
.hidra-glass-wrap svg { width: 100%; max-width: 220px; height: auto; }

.hidra-result { text-align: center; }
.hidra-total-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; color: #0c4a6e; font-weight: 700; }
.hidra-total-value { font-size: 64px; font-weight: 900; color: #0284c7; line-height: 1; margin: 6px 0; font-family: 'Inter', system-ui, sans-serif; letter-spacing: -2px; }
.hidra-total-sub { font-size: 14px; color: #475569; margin-bottom: 18px; }
.hidra-breakdown { background: #fff; border-radius: 12px; padding: 14px 16px; text-align: left; }
.hidra-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: #475569; border-bottom: 1px solid #f1f5f9; }
.hidra-row:last-child { border-bottom: 0; }
.hidra-row strong { color: #0284c7; font-weight: 700; }

/* Cronograma */
.hidra-schedule-wrap { margin-bottom: 22px; }
.hidra-schedule-wrap h3, .hidra-comp-wrap h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: #0f172a; }
.hidra-schedule-wrap .muted { font-size: 13px; color: #64748b; margin: 0 0 14px; }
.hidra-schedule { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.hidra-slot { background: #fff; border: 2px solid #bae6fd; border-radius: 12px; padding: 10px 12px; text-align: center; }
.hidra-slot-time { font-size: 14px; font-weight: 800; color: #0284c7; }
.hidra-slot-ml { font-size: 12px; color: #64748b; margin-top: 2px; }
.hidra-slot-icon { font-size: 22px; margin-top: 4px; }

/* Comparativos */
.hidra-comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.hidra-comp { background: #fff; border: 1px solid #bae6fd; border-radius: 12px; padding: 14px; text-align: center; }
.hidra-comp-emoji { font-size: 28px; }
.hidra-comp-val { font-size: 20px; font-weight: 800; color: #0f172a; margin-top: 4px; }
.hidra-comp-label { font-size: 11.5px; color: #64748b; margin-top: 2px; }

.hidra-content { margin-top: 20px; }
.hidra-content h2 { margin-top: 0; }
.hidra-content p { color: #475569; line-height: 1.7; margin: 0 0 14px; }

@media (max-width: 820px) {
  .hidra-inputs { grid-template-columns: 1fr; }
  .hidra-stage { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .hidra-total-value { font-size: 48px; }
  .hidra-pills button { font-size: 11.5px; padding: 7px 8px; }
}

/* Animação preenchimento do copo */
@keyframes wave { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-25%); } }
