/* Only the marked access/account view. Guest default is Niebla; existing authenticated appearance is reused. */
html:root body .ma-access-page {--ac-page:#d2deec;--ac-panel:#e5edf5;--ac-raised:#eef3f8;--ac-soft:#dce6f1;--ac-ink:#172e48;--ac-muted:#465f79;--ac-line:#b9cadd;--ac-blue:#005ebc;--ac-green:#076b49;--ac-red:#a82d43;--ac-amber:#805315;--ac-success:#d6e9e1;--ac-danger:#f0dce2;--ac-warning:#e8e3d6;--ac-type:15px;--ac-small:14px;--ac-title:28px;--ac-section:18px;min-width:0;color:var(--ac-ink);font-family:Inter,system-ui,sans-serif!important;font-size:var(--ac-type);line-height:1.6;}
html:root[data-matta-theme=noche] body .ma-access-page {--ac-page:#0e2035;--ac-panel:#1b304a;--ac-raised:#243b56;--ac-soft:#213650;--ac-ink:#e4edf8;--ac-muted:#b0c4dc;--ac-line:#3b526d;--ac-blue:#8cc4ff;--ac-green:#7ed9b8;--ac-red:#ffb0bd;--ac-amber:#efce82;--ac-success:#183e3d;--ac-danger:#4a2a3c;--ac-warning:#29394c;}
html:root[data-matta-text=grande] body .ma-access-page {--ac-type:17px;--ac-small:16px;--ac-title:32px;--ac-section:20px;}
html:root body:has(.ma-access-page) {background-color:#d2deec!important;}
html:root[data-matta-theme=noche] body:has(.ma-access-page) {background-color:#0e2035!important;}
html:root body .ma-access-page :is(h1,h2,h3,h4,h5,h6) {color:var(--ac-ink);font-family:Poppins,Inter,system-ui,sans-serif!important;font-weight:600!important;line-height:1.35;overflow-wrap:anywhere;}
html:root body .ma-access-page :is(h1,h2,h3) {font-size:var(--ac-title)!important;}
html:root body .ma-access-page :is(h4,h5,h6) {font-size:var(--ac-section)!important;}
html:root body .ma-access-page :is(small,.small,.badge,.invalid-feedback) {font-size:var(--ac-small)!important;line-height:1.6!important;}
html:root body .ma-access-page :is(.text-muted,.text-secondary) {color:var(--ac-muted)!important;}
html:root body .ma-access-page .text-dark {color:var(--ac-ink)!important;}
html:root body .ma-access-page :is(a,.text-primary) {color:var(--ac-blue)!important;}
html:root body .ma-access-page .text-danger {color:var(--ac-red)!important;}
html:root body .ma-access-page .text-success {color:var(--ac-green)!important;}
html:root body .ma-access-page :is(.card,.bg-white) {background:var(--ac-panel)!important;color:var(--ac-ink);border:1px solid var(--ac-line)!important;border-radius:16px!important;box-shadow:0 5px 20px rgba(12,32,56,.08)!important;}
html:root body .ma-access-page .card-body {padding:24px!important;}
html:root body .ma-access-page :is(.card-header,.card-footer) {padding:18px 24px!important;background:var(--ac-soft)!important;border-color:var(--ac-line)!important;}
html:root body .ma-access-page .card>:first-child {border-top-left-radius:inherit;border-top-right-radius:inherit;}
html:root body .ma-access-page .card>:last-child {border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;}
html:root body .ma-access-page>.container {max-width:900px;padding:20px 12px 36px!important;}
html:root body .ma-access-page>.container>.row {min-height:0!important;}
html:root body .ma-access-page>.container>.row {margin-left:0;margin-right:0;}
html:root body .ma-access-page .card.mt-5 {margin-top:12px!important;}
html:root body .ma-access-page>.container>.row>:is(.col-md-5,.col-md-8,.col-md-7,.col-lg-8) {flex:0 1 680px;max-width:680px;min-width:0;}
html:root body .ma-access-page :is(.form-control,.input-group-text) {font-family:Inter,system-ui,sans-serif!important;font-size:var(--ac-type)!important;line-height:1.5;}
html:root body .ma-access-page .form-control {min-height:46px;min-width:0;background:var(--ac-raised)!important;color:var(--ac-ink)!important;border:1px solid var(--ac-line)!important;border-radius:9px;padding:10px 12px!important;}
html:root body .ma-access-page .form-control::placeholder {color:var(--ac-muted)!important;opacity:1;}
html:root body .ma-access-page .input-group {background:var(--ac-raised)!important;border:1px solid var(--ac-line);border-radius:10px!important;}
html:root body .ma-access-page .input-group .form-control {border:0!important;}
html:root body .ma-access-page .input-group-text {color:var(--ac-muted)!important;background:transparent!important;border-color:var(--ac-line)!important;}
html:root body .ma-access-page label {font-size:var(--ac-type)!important;font-weight:600;}
html:root body .ma-access-page .form-group {min-width:0;margin-bottom:20px;}
html:root body .ma-access-page :is(.btn,.whatsapp-float) {font-family:Inter,system-ui,sans-serif!important;font-size:var(--ac-type)!important;line-height:1.5;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:normal;max-width:100%;}
html:root body .ma-access-page .btn-primary {background:var(--ac-blue)!important;color:var(--ac-panel)!important;border:1px solid var(--ac-blue)!important;}
html:root body .ma-access-page .btn-success {background:var(--ac-green)!important;color:var(--ac-panel)!important;border:1px solid var(--ac-green)!important;}
html:root body .ma-access-page :is(.btn-outline-primary,.btn-outline-secondary) {background:var(--ac-raised)!important;color:var(--ac-blue)!important;border:1px solid var(--ac-blue)!important;}
html:root body .ma-access-page .btn-outline-success {background:var(--ac-raised)!important;color:var(--ac-green)!important;border:1px solid var(--ac-green)!important;}
html:root body .ma-access-page .btn-link {color:var(--ac-blue)!important;}
html:root body .ma-access-page :is(a,button,input,select):focus-visible {outline:3px solid var(--ac-blue)!important;outline-offset:3px;}
html:root body .ma-access-page :is(.alert,[role=alert]) {overflow-wrap:anywhere;border:1px solid var(--ac-line);border-radius:10px;padding:14px 16px;}
html:root body .ma-access-page .alert-success {color:var(--ac-green)!important;background:var(--ac-success)!important;border-color:var(--ac-green)!important;}
html:root body .ma-access-page :is(.alert-danger,.is-invalid~.invalid-feedback,main>[role=alert]) {color:var(--ac-red)!important;background:var(--ac-danger)!important;}
html:root body .ma-access-page .alert-warning {color:var(--ac-amber)!important;background:var(--ac-warning)!important;border-color:var(--ac-amber)!important;}
html:root body .ma-access-page .invalid-feedback {color:var(--ac-red)!important;}
html:root body .ma-access-page input[type=checkbox] {accent-color:var(--ac-blue);width:20px;height:20px;vertical-align:middle;margin-right:8px;}
html:root body .ma-access-page label:has(input[type=checkbox]) {display:block;min-height:44px;padding:10px 0;}
html:root body .ma-access-login {min-height:100svh;padding-bottom:0;}
html:root body .ma-access-login>.row {min-height:100svh;}
html:root body .ma-access-login>.row>.col-md-6:first-child {--mt-ink:#eef4fc;--mt-muted:#c0d4eb;--ac-ink:#eef4fc;--ac-muted:#c0d4eb;background:linear-gradient(145deg,#173b63,#102640)!important;}
html:root body .ma-access-login>.row>.col-md-6:last-child {background:var(--ac-page)!important;}
html:root body .ma-access-login>.row>.col-md-6:last-child>.w-100 {max-width:620px!important;padding:24px!important;}
html:root body .ma-access-login .bg-white {padding:28px!important;}
html:root body .ma-access-login form {padding:0!important;}
html:root body .ma-access-login .text-center.mb-5 {margin-bottom:24px!important;}
html:root body .ma-access-login .lead {font-size:18px!important;font-weight:400!important;}
html:root body .ma-access-login .badge-light {background:#dce6f1!important;color:#173b63!important;}
html:root body .ma-access-login .badge-info {background:#d5e8ee!important;color:#006879!important;}
html:root body .ma-access-login .whatsapp-float {width:52px!important;height:52px!important;right:16px!important;bottom:16px!important;background:var(--ac-green)!important;color:var(--ac-panel)!important;}
html:root body .ma-access-login .whatsapp-float i {font-size:28px;}
html:root body .ma-access-page img[src$="/simbolo.png"] {mix-blend-mode:multiply;}
html:root[data-matta-theme=noche] body .ma-access-page img[src$="/simbolo.png"] {filter:invert(1);mix-blend-mode:screen;}
html:root body .ma-access-page>.container>main,html:root body .ma-access-page>main {max-width:680px!important;margin:24px auto!important;padding:24px!important;border:1px solid var(--ac-line);border-radius:16px;background:var(--ac-panel);}
html:root body .ma-access-page .ma-access-qr-frame {--mt-ink:#172e48;--mt-muted:#465f79;--ac-ink:#172e48;--ac-muted:#465f79;background:#fff!important;color:#172e48!important;border-color:#b9cadd!important;box-shadow:none!important;}
html:root body .ma-access-page .ma-access-qr-frame :is(h4,h5,p) {color:#172e48!important;}
html:root body .ma-access-page .ma-access-qr-frame .text-muted {color:#465f79!important;}
html:root body .ma-access-page .ma-access-qr-frame svg {background:#fff!important;}
html:root body .ma-access-access-result :is(.btn,.form-control) {min-height:46px!important;}
@media(max-width:767px){
 html:root body .ma-access-page .card-body {padding:18px!important;}
 html:root body .ma-access-page :is(.card-header,.card-footer) {padding:16px 18px!important;}
 html:root body .ma-access-page>.container {padding:12px 0 28px!important;}
 html:root body .ma-access-page :is(.form-group.row>.col-md-6,.form-group.row>.col-md-8) {min-width:0;}
 html:root body .ma-access-page .col-form-label {text-align:left!important;}
 html:root body .ma-access-login {padding-bottom:72px;}
 html:root body .ma-access-login>.row>.col-md-6:last-child>.w-100 {padding:16px!important;}
 html:root body .ma-access-login .bg-white {padding:20px!important;}
 html:root body .ma-access-page>main {width:calc(100% - 24px);margin:16px 12px!important;padding:18px!important;}
}
