/* Diseño Dropi (mismos tokens que la interfaz de Cierre diario, rama brand). */
:root {
  --ink-void: #ffffff;
  --ink-1: #f5f6f8;
  --ink-2: #eef1f5;
  --paper: #ffffff;
  --paper-deep: #f6f6f6;
  --ink: #32394d;
  --ink-soft: #4b5563;
  --ink-faint: #6b7280;
  --ink-ghost: #a3a6b8;
  --hi-vis: #ff9333;
  --button-primary: #ff9333;
  --button-highlight: #f1593d;
  --button-pressed: #f1593d;
  --alert: #ff4408;
  --jade: #83bf4f;
  --gold: #ffc10d;
  --rule: #dde5eb;
  --rule-strong: #c3c9d9;
  --surface-shadow: 0 10px 28px rgba(50, 57, 77, 0.06);
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { background: var(--ink-1); color: var(--ink); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 147, 51, 0.16), transparent 34%),
    linear-gradient(180deg, var(--ink-1) 0%, var(--ink-2) 100%);
  overflow-x: hidden;
}
/* Retícula tenue, como en Cierre diario */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.36;
  background-image: linear-gradient(to right, rgba(195, 201, 217, 0.55) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, black 160px, black calc(100% - 160px), transparent);
}
main, header, footer, .centro { position: relative; z-index: 2; }

.panel-surface {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--surface-shadow);
  border-radius: 16px;
}
.titulo {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}
.titulo em { font-style: normal; color: var(--hi-vis); }
.etiqueta, label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin: 14px 0 6px;
}
.sub {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin: 6px 0 0;
}
input, textarea, select {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 11px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--hi-vis); }
textarea { min-height: 300px; resize: vertical; line-height: 1.45; }

.boton {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background .15s, transform .05s;
}
.boton:active { transform: translateY(1px); }
.boton:disabled { opacity: .5; cursor: wait; }
.boton-ember {
  background: linear-gradient(180deg, var(--button-primary), var(--button-highlight));
  border: 1px solid var(--button-pressed);
  color: #fff;
}
.boton-ember:hover { background: var(--button-highlight); }
.boton-suave {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  color: var(--ink-soft);
}
.boton-suave:hover { border-color: var(--hi-vis); color: var(--ink); }

.aviso {
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 12px;
  line-height: 1.5;
}
.aviso.mal { color: var(--alert); background: rgba(255, 68, 8, 0.08); border: 1px solid rgba(255, 68, 8, 0.3); }
.aviso.ok { color: #3f6b1c; background: rgba(131, 191, 79, 0.12); border: 1px solid rgba(131, 191, 79, 0.45); }
.aviso.info { color: #7a5a00; background: rgba(255, 193, 13, 0.12); border: 1px solid rgba(255, 193, 13, 0.45); }
.oculto { display: none !important; }
a { color: var(--button-highlight); }
