:root { color-scheme: light dark; --verde: #3f4d2a; --oro: #b08d3c; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.45 system-ui, Arial, sans-serif; background: #f4f4ef; color: #1d1d1b; }
@media (prefers-color-scheme: dark) { body { background: #1b1d17; color: #ecebe4; } input, pre, table { background: #25271f; color: inherit; } }
.barra { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; padding: .6rem 1rem; background: var(--verde); color: #fff; border-bottom: 3px solid var(--oro); }
.derecha { margin-left: auto; font-size: .85rem; }
.etiqueta { background: var(--oro); color: #1d1d1b; padding: .1rem .5rem; border-radius: 3px; font-size: .75rem; font-weight: 700; }
main { max-width: 920px; margin: 1rem auto; padding: 0 1rem; }
label { display: block; margin: .7rem 0; }
input { display: block; width: 100%; max-width: 420px; padding: .5rem; margin-top: .25rem; font: inherit; }
button { padding: .5rem 1rem; font: inherit; cursor: pointer; border: 1px solid var(--verde); background: var(--verde); color: #fff; border-radius: 4px; margin: .25rem .25rem .25rem 0; }
button.secundario { background: transparent; color: inherit; }
button:disabled { opacity: .5; cursor: not-allowed; }
.pestanas button { background: transparent; color: inherit; }
.pestanas button.activa { background: var(--verde); color: #fff; }
.msg { min-height: 1.4em; font-weight: 600; }
.msg.ok { color: #1b6b2f; } .msg.error { color: #b3261e; }
table { border-collapse: collapse; width: 100%; margin: .5rem 0; font-size: .9rem; }
th, td { border: 1px solid #9994; padding: .3rem .5rem; text-align: left; vertical-align: top; }
pre { white-space: pre-wrap; word-break: break-all; padding: .6rem; border: 1px solid #9994; max-height: 22rem; overflow: auto; font-size: .8rem; }
code { word-break: break-all; }
.OK { color: #1b6b2f; font-weight: 700; } .FALLA { color: #b3261e; font-weight: 700; } .NC { color: #8a6d00; font-weight: 700; }
