:root {
  --tinta: #17212B; --gris: #5B6976; --linea: #DCE2E7; --panel: #F3F5F7; --blanco: #fff;
  --pet: #0E6E78; --pet-2: #0A5560; --rojo: #B3412E;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--tinta); background: var(--blanco); font-size: 15px; line-height: 1.45; }
a { color: var(--pet); }
h1, h2, h3 { line-height: 1.2; }
.btn { font: 600 14px/1 "Segoe UI", system-ui, Arial; border: 1px solid transparent; border-radius: 8px; padding: 10px 14px; cursor: pointer;
       background: var(--pet); color: #fff; min-height: 38px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--pet-2); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--pet); outline-offset: 2px; }
.btn.sec { background: var(--blanco); color: var(--tinta); border-color: var(--linea); }
.btn.sec:hover { background: var(--panel); }
.btn.peligro { background: var(--blanco); color: var(--rojo); border-color: #E7C4BD; }
.btn.peligro:hover { background: #FBEFEC; }
.btn:disabled { opacity: .5; cursor: default; }
label { font-size: 13px; color: var(--gris); display: block; margin-bottom: 4px; }
input[type=text], input[type=number], select, textarea {
  font: 15px "Segoe UI", system-ui, Arial; color: var(--tinta); width: 100%; padding: 9px 10px; border: 1px solid var(--linea); border-radius: 8px; background: #fff; }
textarea { resize: vertical; line-height: 1.45; }
input[type=color] { width: 44px; height: 36px; border: 1px solid var(--linea); border-radius: 8px; padding: 2px; background: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
