/* Climalerta — styles for temblor-hoy.html and condominios.html (dark-only, same
   tokens as css/app.css). Loaded only on those pages. */

/* Temblor hoy: headline card for the latest quake */
.last-quake { margin: 4px 0 22px; padding: 16px; background: var(--card); border: 1px solid var(--card-border); border-left: 3px solid var(--orange); border-radius: var(--radius); }
.last-quake-state { color: var(--muted); font-size: 0.9rem; }
.last-quake-k { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.last-quake-row { display: flex; align-items: center; gap: 14px; }
.last-quake-row .mag { width: 64px; height: 64px; font-size: 1.35rem; }
.last-quake-place { font-weight: 700; font-size: 1.08rem; line-height: 1.3; overflow-wrap: anywhere; }
.last-quake-note { margin: 12px 0 0; font-size: 0.86rem; color: var(--muted); }
.last-quake-note strong { color: var(--ink); }
.quake-place { overflow-wrap: anywhere; }

/* Condominios: self-check result */
.condo-checks { margin-bottom: 10px; }
.check-result { padding: 13px 15px; border-radius: var(--radius); font-size: 0.9rem; line-height: 1.55; background: rgba(245, 165, 36, 0.10); border: 1px solid rgba(245, 165, 36, 0.4); }
.check-result strong { color: var(--caution); }
.check-result.bad { background: rgba(229, 72, 77, 0.10); border-color: rgba(229, 72, 77, 0.45); }
.check-result.bad strong { color: #ff9b9e; }
.check-result.ok { background: rgba(47, 191, 113, 0.10); border-color: rgba(47, 191, 113, 0.4); }
.check-result.ok strong { color: var(--ok); }

/* Lead forms */
.lead-form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; padding: 16px; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); }
.lead-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 620px) { .lead-grid { grid-template-columns: 1fr 1fr; } }
.lead-form label { display: flex; flex-direction: column; gap: 5px; font-size: 0.84rem; color: var(--muted); min-width: 0; }
.lead-form input:not([type="checkbox"]), .lead-form select, .lead-form textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--card-border); border-radius: 10px;
  padding: 10px 12px; width: 100%; min-height: 44px;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, 0.09); }
.lead-form textarea { resize: vertical; min-height: 80px; }
.lead-form select option { color: #111; background: #fff; }
.lead-form .consent { flex-direction: row; align-items: flex-start; gap: 10px; line-height: 1.5; }
.lead-form .consent input { margin-top: 3px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.lead-form .btn { align-self: flex-start; min-height: 44px; }
.lead-form .btn:disabled { opacity: 0.6; cursor: wait; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 0.88rem; min-height: 1.2em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #ff9b9e; }
