:root {
	--verde: #7bd148;
	--texto: #17300a;
	--fondo: #fbfdf8;
	--borde: #b9c9ab;
	--error: #a01818;
	color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, sans-serif; color: var(--texto); background: var(--fondo); }
.cab { background: var(--verde); padding: 0.75rem 1rem; }
main, footer { max-width: 40rem; margin: 0 auto; padding: 0 1rem 2rem; }
h1 { font-size: 1.6rem; line-height: 1.25; }
h2 { font-size: 1.2rem; margin-top: 2rem; }
label { display: block; margin: 0.75rem 0; font-weight: 600; }
label input[type="radio"], label input[type="checkbox"] { margin-right: 0.5rem; }
input:not([type="radio"], [type="checkbox"], [type="file"]), select { display: block; width: 100%; font: inherit; padding: 0.6rem; border: 1px solid var(--borde); border-radius: 0.4rem; background: #fff; margin-top: 0.25rem; }
fieldset { border: 1px solid var(--borde); border-radius: 0.4rem; margin: 1rem 0; }
fieldset label { font-weight: 400; }
button { font: inherit; font-weight: 700; padding: 0.75rem 1.25rem; border: 0; border-radius: 0.4rem; background: var(--verde); color: var(--texto); cursor: pointer; min-height: 44px; }
button.secundario { background: transparent; border: 1px solid var(--texto); }
button:disabled { opacity: 0.5; cursor: wait; }
:focus-visible { outline: 3px solid var(--texto); outline-offset: 2px; }
canvas { display: block; width: 100%; max-width: 600px; aspect-ratio: 3 / 1; background: #fff; border: 1px dashed var(--texto); border-radius: 0.4rem; touch-action: none; }
.resultado { font-size: 1.3rem; font-weight: 700; }
.nota { color: #3d4f33; }
.error { color: var(--error); font-weight: 600; }
.captcha { margin: 1rem 0; min-height: 65px; }
a { color: var(--texto); }
footer { font-size: 0.85rem; color: #3d4f33; }
[hidden] { display: none !important; }
