.portal-body{background:#f0f4fa;min-height:100vh;color:#142b46;font-family:Arial,sans-serif}.portal-header{background:#0e2945;color:white;padding:14px 6%;display:flex;align-items:center;gap:18px}.portal-header img{width:92px;max-height:50px;object-fit:contain;background:#fff;border-radius:9px;padding:5px}.portal-header strong,.portal-header small{display:block}.portal-header small{color:#b3cce4;margin-top:5px}.portal-header a{margin-left:auto;color:#daeaff}.portal-main{max-width:1120px;margin:24px auto;padding:0 16px}.portal-card{background:white;border:1px solid #e0e9f3;border-radius:17px;padding:25px;margin:16px 0;box-shadow:0 6px 28px #11243a0c}.portal-card h1,.portal-card h2{color:#102e4a;margin:0 0 12px}.portal-card p{color:#52697f;line-height:1.5}.portal-form{display:grid;gap:14px;max-width:530px}.portal-form label{display:grid;gap:7px;font-weight:600}.portal-form input,.portal-form select,.portal-form textarea{width:100%;border-radius:9px;border:1px solid #b7cbde;padding:11px;font:inherit}.portal-form button{justify-self:start}.portal-error{color:#bb3028!important}.portal-welcome{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-welcome h1{margin:6px 0}.portal-welcome p{color:#5e7184}.portal-tabs{display:flex;gap:9px;flex-wrap:wrap}.portal-tabs button{background:white;color:#0a3560;border:1px solid #b5cada;border-radius:9px;padding:12px 18px;font-weight:700;cursor:pointer}.portal-tabs .selected{background:#086db6;color:white}.portal-scroll{overflow-x:auto}.portal-scroll table{width:100%;border-collapse:collapse}.portal-scroll th,.portal-scroll td{border-bottom:1px solid #e3edf5;padding:12px;text-align:left;vertical-align:top}.portal-scroll th{background:#f0f5f9}.portal-flex{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.portal-overlay{position:fixed;inset:0;background:#081c33ac;z-index:20;display:grid;place-items:center;padding:16px}.portal-overlay.hidden,.hidden{display:none!important}.portal-dialog{background:white;width:min(660px,100%);border-radius:16px;padding:24px;max-height:94vh;overflow:auto}.portal-dialog h2{margin:0 0 20px}.portal-toast{position:fixed;right:20px;bottom:20px;background:#102d4d;color:white;padding:14px 18px;border-radius:9px;box-shadow:0 5px 26px #0004}.portal-state{border-radius:20px;background:#e6eff8;padding:5px 10px;display:inline-block}.portal-state.accepted{background:#dcf6e8;color:#125b39}.portal-state.rejected{background:#ffe5e5;color:#912525}.portal-muted{color:#738596;font-size:.86rem}.portal-link{color:#0569af;text-decoration:underline;cursor:pointer}.portal-error-message{background:#fff1f1;border:1px solid #f3b9b9;padding:10px;border-radius:8px;margin-top:7px;color:#9b2525!important}@media(max-width:600px){.portal-header{padding:12px;gap:10px}.portal-header a{font-size:.75rem}.portal-card{padding:15px}.portal-header img{width:70px}}

/* V1.8.3: QR primero al llegar por enlace de kiosco, sin desplazarse entre tablas. */
.portal-qr-priority{border:2px solid #75bbef!important;margin:12px 0 16px!important;background:#f7fbff;box-shadow:0 10px 30px #1a69a51d}
.portal-qr-priority h2{margin:0 0 8px}
.portal-qr-priority .portal-form{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.portal-qr-priority .portal-form label:nth-of-type(3){grid-column:1/-1}
.portal-qr-priority .portal-form button{grid-column:1/-1;justify-self:stretch;justify-content:center}
.portal-qr-priority:focus{outline:3px solid #73b9ec;outline-offset:4px}
#employeePrivacyForm .privacy-choice{display:flex;align-items:flex-start;gap:12px;line-height:1.5;max-width:100%}
#employeePrivacyForm .privacy-choice input[type=checkbox]{appearance:auto;width:19px!important;height:19px;min-width:19px;flex:0 0 19px;margin:3px 0 0;padding:0}
@media(max-width:680px){.portal-qr-priority .portal-form{grid-template-columns:1fr}.portal-qr-priority .portal-form label:nth-of-type(3),.portal-qr-priority .portal-form button{grid-column:auto}}
