@font-face{font-family:Nunito Sans;src:url('/static/NunitoSans.ttf') format('truetype');font-weight:200 900;font-display:swap}
:root{font-family:'Nunito Sans',Arial,sans-serif;color:#2f3437;background:#fffaf6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(145deg,#eef3e9 0%,#fffaf6 52%,#f9eeee 100%)}.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:8px;background:white;padding:12px}.brand{display:flex;justify-content:center;padding:30px 20px 10px;width:100%}.brand img{display:block;width:340px;max-width:100%;height:auto}.link{border:0;background:none;color:#1f5f8b;text-decoration:underline;font:inherit;cursor:pointer;min-height:44px;padding:8px}.shell{width:100%;max-width:640px;margin:auto;padding:0 20px 32px}.card{background:#fff;border:1px solid #e9e2d9;border-radius:22px;padding:32px;box-shadow:0 8px 32px #33412c08}.eyebrow{color:#4c6540;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}h1{color:#1f5f8b;font-size:clamp(1.6rem,5vw,2rem);line-height:1.2;margin:12px 0}h2{font-size:1.2rem;color:#1f5f8b;margin:0 0 12px}p{line-height:1.6;margin:12px 0}.intro,.note{color:#586266}.note{font-size:.86rem}.note.box{background:#f6f8f3;border-radius:10px;padding:12px 14px}label{display:block;font-weight:700;margin:20px 0 7px}input{display:block;width:100%;border:1px solid #9fa9ad;border-radius:9px;padding:13px 12px;min-height:50px;font:inherit;color:#2f3437}input[aria-invalid=true]{border-color:#9c3030}.optional{font-weight:400;color:#586266}.primary,.secondary{font:inherit;font-weight:800;min-height:52px;border-radius:11px;padding:14px 20px;cursor:pointer;width:100%;margin-top:16px}.primary{color:#fff;background:#1f5f8b;border:1px solid #1f5f8b}.primary:hover{background:#174b6e}.secondary{color:#1f5f8b;background:#fff;border:1px solid #b7c6cc}button:disabled{opacity:.65;cursor:wait}:focus-visible{outline:3px solid #1f5f8b;outline-offset:3px}a{color:#1f5f8b}.error{color:#8e2424;border-left:3px solid #a52323;background:#fff3f2;padding:12px 14px;line-height:1.6;margin:16px 0;overflow-wrap:anywhere}.error:empty{display:none}.simulation{border:1px solid #dbc493;background:#fff7e6;color:#6f5223;border-radius:10px;padding:12px 14px;font-size:.86rem;line-height:1.5;margin-bottom:16px}.fields{margin:20px 0;padding:16px 18px;background:#f6f8f3;border-radius:12px}.fields dt{font-size:.8rem;font-weight:800;color:#4c6540;margin-top:12px}.fields dt:first-child{margin-top:0}.fields dd{margin:4px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.result-row{border:1px solid #e2e6e0;border-left:4px solid #82959d;border-radius:10px;padding:16px;margin:14px 0}.result-row strong{display:block;color:#1f5f8b;margin-bottom:5px}.result-row p{margin:4px 0;font-size:.93rem}.result-row.accepted{border-left-color:#4c6540}.result-row.failed{border-left-color:#a52323}.result-row.uncertain{border-left-color:#a77526}.reference{font-size:.76rem;color:#586266;overflow-wrap:anywhere}.footer{text-align:center;font-size:.77rem;color:#586266;margin:22px 0 0}.footer a{text-decoration:none}[hidden]{display:none!important}.login-space{height:24px}
@media(max-width:480px){.brand{padding-top:22px}.brand img{width:290px}.shell{padding:0 12px 24px}.card{padding:24px 20px;border-radius:18px}.login-space{height:18px}h1{font-size:1.65rem}}

/* V0.1.3: cuatro acciones corporativas y cierre de sesión en la cabecera interior. */
#loginButton,#previewButton,#send,#new{background:#567e5e;border-color:#567e5e;color:#fff}
#loginButton:hover:not(:disabled),#previewButton:hover:not(:disabled),#send:hover:not(:disabled),#new:hover:not(:disabled){background:#46684d;border-color:#46684d}
#loginButton:focus-visible,#previewButton:focus-visible,#send:focus-visible,#new:focus-visible{outline-color:#567e5e}
#previewButton:disabled{opacity:.5;cursor:not-allowed}
.logout-button{font:inherit;font-size:.85rem;font-weight:700;color:#1f5f8b;background:#fff;border:1px solid #b7c6cc;border-radius:9px;min-height:32px;padding:4px 8px;line-height:1.2;flex:0 0 auto;cursor:pointer}
.logout-button:hover{background:#f1f6f9}


.card-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.card-header .eyebrow{min-width:0}
