:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f2f5fb;
  background: #0a101c;
  --gold: #efc36e;
  --edge: #344463;
  --muted: #b5c3d7;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { padding: 18px clamp(20px, 5vw, 48px); background: #111a2b; border-bottom: 1px solid var(--edge); }
header img { display: block; width: 144px; }
main {
  margin: clamp(24px, 7vh, 72px) auto;
  width: min(528px, calc(100% - 32px));
  padding: clamp(19px, 5vw, 36px);
  background: #141f32;
  border: 1px solid var(--edge);
  border-radius: 16px;
}
h1, h2 { margin: 0 0 10px; }
h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); }
h2 { font-size: 1.25rem; }
p { margin: 0 0 20px; color: var(--muted); }
label { display: block; margin-bottom: 7px; font-weight: 650; }
input, button, .enlace { font: inherit; border-radius: 8px; }
input { width: 100%; padding: 10px 12px; border: 1px solid var(--edge); background: #0c1526; color: inherit; margin-bottom: 18px; }
button, .enlace {
  min-height: 44px;
  padding: 8px 13px;
  color: inherit;
  border: 1px solid var(--edge);
  background: #1a2942;
  font-weight: 650;
  cursor: pointer;
}
.enlace { display: inline-flex; align-items: center; text-decoration: none; }
.principal { color: #181711; background: var(--gold); border-color: var(--gold); }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid #f7dd9a; outline-offset: 3px; }
.montos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 9px; }
.acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.nueva { margin-top: 16px; }
