@font-face{font-family:Montserrat;src:url('fonts/Montserrat-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{font-family:Montserrat,Arial,sans-serif;color:#282828;background:#f7f7f5;font-synthesis:none;--red:#b71414;--muted:#646464}*{box-sizing:border-box}body{margin:0}a{color:inherit}header{height:94px;padding:0 max(28px,calc((100% - 1200px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e2df;background:#fff}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:750;text-decoration:none}.brand-icon{display:grid;place-items:center;background:var(--red);color:white;border-radius:11px;width:38px;height:38px;font-size:24px}.brand-divider{font-size:26px;color:#c9c9c9;font-weight:400;margin:0 5px}.master-label{font-size:18px;font-weight:500}.header-label,.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.6px}.header-label{color:var(--muted)}main{max-width:1256px;padding:0 28px;margin:auto;min-height:calc(100vh - 178px)}.welcome{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:65px 0 50px}.eyebrow{color:var(--red);margin:0 0 16px}h1{font-size:clamp(30px,4vw,48px);line-height:1.15;letter-spacing:-1.7px;font-weight:650;margin:0 0 20px}.lead{font-size:16px;line-height:1.8;color:var(--muted);margin:0}.account{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}.avatar{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#f1e5e4;color:var(--red);font-weight:650}.role{display:block;color:var(--muted);font-size:12px;margin-top:5px}.signout{font-size:11px;color:var(--muted);margin-left:14px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:16px}.section-title h2{font-size:19px;margin:0;letter-spacing:-.4px}.section-title>span{font-size:12px;color:var(--muted)}.apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.app-card{background:#fff;border:1px solid #e0e0dc;border-radius:16px;padding:28px;min-width:0;display:flex;flex-direction:column}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:10px}.app-icon{display:grid;place-items:center;width:55px;height:55px;background:#f9eaea;color:var(--red);font-size:30px;font-weight:700;border-radius:14px}.rider .app-icon{background:#eaf0f4;color:#053354}.status{font-size:10px;border:1px solid #dededb;border-radius:20px;padding:6px 10px;white-space:nowrap}.app-card .eyebrow{font-size:10px;margin-bottom:9px}.app-card h3{font-size:29px;font-weight:650;letter-spacing:-1px;margin:0 0 13px}.description,.future p:not(.eyebrow){font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 25px}.app-link{margin-top:auto;background:var(--red);color:white;padding:15px 17px;border-radius:7px;text-decoration:none;font-size:13px;font-weight:650;display:flex;justify-content:space-between}.rider .app-link{background:#053354}.rider .eyebrow{color:#053354}.rider :focus-visible{outline-color:#053354}.app-link:hover{filter:brightness(.88)}.domain{font-size:10px;color:var(--muted);display:block;margin-top:14px;text-align:center}.future{background:transparent;border-style:dashed;justify-content:center}.future-icon{width:49px;height:49px;display:grid;place-items:center;border:1px solid #dededb;border-radius:50%;font-size:28px;color:#777;margin-bottom:27px}.future h3{font-size:25px}.future .eyebrow{color:var(--muted)}.future-label{font-size:11px;color:var(--muted)}.access-info{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:30px 0 55px;padding:23px 26px;border-radius:12px;background:#eeeeeb}.access-info h2{font-size:14px;margin:0 0 8px}.access-info p{font-size:12px;line-height:1.8;color:var(--muted);margin:0;max-width:690px}.manage,.role-pill{font-size:12px;white-space:nowrap}.manage{font-weight:600}.role-pill{padding:10px 15px;border:1px solid #d4d4cf;border-radius:22px}footer{display:flex;justify-content:space-between;gap:20px;max-width:1256px;margin:auto;padding:25px 28px;color:#707070;font-size:10px;border-top:1px solid #dededb}.login-grid{min-height:680px;display:grid;grid-template-columns:1fr 420px;gap:80px;align-items:center;padding:60px 0}.login-intro h1{font-size:clamp(40px,5vw,64px);line-height:1.15}.login-intro .lead{max-width:500px}.intro-tags{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.intro-tags span{font-size:11px;padding:9px 13px;border:1px solid #ddd;border-radius:24px}.login-card{border:1px solid #ddd;background:#fff;border-radius:16px;padding:35px}.login-card h2{font-size:24px;letter-spacing:-.7px;margin:0 0 10px}.login-card p{font-size:13px;line-height:1.8;color:var(--muted)}label{display:block;font-size:12px;font-weight:600;margin:25px 0 10px}input{width:100%;min-height:48px;border:1px solid #c5c5c5;border-radius:7px;padding:12px;font:inherit}button{display:flex;justify-content:space-between;width:100%;border:0;border-radius:7px;padding:16px;margin-top:25px;background:var(--red);color:#fff;font:600 13px Montserrat,Arial;cursor:pointer}.login-card .login-note{font-size:11px;margin-top:25px}.error{background:#ffeded;padding:12px;color:#981010!important}.centered{max-width:480px;margin:70px auto}.centered h1{font-size:30px}.centered>a{display:inline-block;margin-top:20px;font-size:13px}:focus-visible{outline:3px solid #b71414;outline-offset:4px}@media(max-width:980px){.apps{grid-template-columns:repeat(2,minmax(0,1fr))}.future{grid-column:1/-1}.welcome{align-items:flex-start;flex-direction:column;padding-top:40px}.login-grid{gap:30px;grid-template-columns:1fr 380px}.header-label{display:none}}@media(max-width:640px){header{height:76px;padding:0 20px}.brand{font-size:19px;gap:9px}.master-label{font-size:16px}main{padding:0 20px}.apps{grid-template-columns:1fr}.welcome{padding-bottom:35px;gap:24px}.section-title{align-items:flex-start;flex-direction:column;gap:8px}.app-card{padding:25px}.access-info{align-items:flex-start;flex-direction:column}.login-grid{display:flex;flex-direction:column;align-items:stretch;padding:40px 0}.login-card{padding:25px}.login-intro h1{font-size:39px}.intro-tags{margin-top:20px}footer{flex-direction:column;padding:23px 20px;gap:10px}.account{gap:10px}.signout{margin-left:6px}}

/* Branding: render the supplied original logo without modifying its bitmap. */
.brand-logo{display:block;width:220px;height:auto;filter:brightness(0);object-fit:contain}
.brand{min-width:0}.welcome h1{overflow-wrap:anywhere}.app-card h3{font-size:27px;line-height:1.25}.app-link{gap:12px;align-items:center}.app-link span{flex-shrink:0}
@media(max-width:640px){.brand-logo{width:170px}.brand-divider{margin:0 1px}.master-label{font-size:15px}}
@media(max-width:360px){.brand-logo{width:140px}.brand{gap:7px}}

.users-list{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}.user-card{padding:24px;border:1px solid #ddd;border-radius:12px;background:white;min-width:0}.user-card h2{font-size:20px;overflow-wrap:anywhere}.user-card p{font-size:13px;color:var(--muted)}.user-card summary{cursor:pointer;padding:12px 0}.user-card select,.new-user select{width:100%;font:inherit;padding:12px;border:1px solid #bbb;border-radius:7px}.new-user{max-width:580px;margin:30px 0 50px}.notice{background:#edf4ed;padding:16px;border-radius:8px}.secondary{background:#424242}

.profile-menu{position:relative;min-width:0}.profile-menu summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:8px;overflow-wrap:anywhere}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu nav{position:absolute;right:0;top:100%;width:240px;max-width:calc(100vw - 40px);background:white;box-shadow:0 8px 30px #0002;border:1px solid #ddd;border-radius:10px;z-index:20;overflow:hidden}.profile-menu nav a{display:block;padding:16px 20px;text-decoration:none;border-bottom:1px solid #eee;font-size:14px}.profile-menu nav a:hover{background:#f5f5f5}@media(max-width:640px){.profile-menu nav{left:0;right:auto}}

/* GRAALIS 1.1: local assets, responsive portal and shared form styling. */
:root{color:#20164f;background:#fbfaff;--red:#7026b5;--muted:#514677}body{background:linear-gradient(150deg,#f9f6ff,#fff 65%)}.icon{width:26px;height:26px;flex-shrink:0;vertical-align:middle}header{background:linear-gradient(110deg,#392269,#241749);color:white;height:100px;border:0;padding:0 max(28px,calc((100% - 1280px)/2));gap:24px}.brand{gap:16px;white-space:nowrap}.brand>.icon{width:55px;height:60px;filter:drop-shadow(0 0 7px #b895ff)}.brand strong{font-family:Georgia,serif;font-size:43px;letter-spacing:2px}.master-label{font-size:14px;border-left:1px solid #a994cb;padding-left:25px;margin-left:8px}.desktop-account{display:flex;gap:18px;align-items:center;font-size:12px}.desktop-account a{display:flex;align-items:center;gap:8px;padding-left:18px;border-left:1px solid #8773a9}.desktop-account .role{color:#eee4ff}.avatar{background:#efe6ff;color:#6026a4}.desktop-account .avatar{width:42px;flex-shrink:0}.mobile-menu,.mobile-account{display:none}main{max-width:1280px;min-height:calc(100vh - 180px);padding:0 38px}.hero{position:relative;padding:46px 25px 44px;margin:0 -25px;overflow:hidden;background:radial-gradient(ellipse at 90% 10%,#d9c3ff 0,transparent 60%);min-height:210px}.hero:after{content:"";position:absolute;width:75%;height:140px;background:#a88ae21a;border-radius:50%;right:-10%;bottom:-75px;transform:rotate(-9deg)}.hero>div{z-index:1}.hero-grail{position:absolute;right:8%;top:15px;opacity:.65;color:white;transform:rotate(-4deg)}.hero-grail .icon{width:180px;height:180px;stroke-width:1;filter:drop-shadow(0 0 10px #b289f8)}h1{font-weight:800;font-size:clamp(28px,3.8vw,46px);margin-bottom:8px}.lead{font-size:21px;color:#46386b}.eyebrow{color:#5420aa;font-size:12px;letter-spacing:.7px;margin-bottom:12px}.section-title{margin:14px 0 28px}.section-title h2{font-size:30px;display:flex;align-items:center;gap:16px}.section-title .icon{width:34px;height:34px;color:#6730bd}.apps{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.app-card{padding:0;border:1px solid #e2d9f4;border-radius:20px;overflow:hidden;box-shadow:0 4px 8px #33206b20}.app-heading{position:relative;background:repeating-linear-gradient(128deg,transparent 0 130px,#ffffff0c 130px 185px),linear-gradient(120deg,#9a7bd1,#51329a 60%,#8060c1);color:#fff;padding:20px 30px 16px;min-height:140px}.app-symbol .icon{width:53px;height:53px;stroke-width:1.8}.category{position:absolute;right:18px;top:16px;background:#f4edff;color:#322060;border-radius:20px;padding:6px 14px;font-size:12px;font-weight:650}.app-card h3{font-size:clamp(20px,2.25vw,28px);font-weight:750;letter-spacing:-1px;margin:8px 0 0}.card-body{padding:23px 19px 18px;display:flex;flex:1;flex-direction:column}.description-row{display:flex;gap:18px;align-items:flex-start;margin-bottom:28px}.description-row>.icon{width:35px;height:40px;color:#6e5a9d}.description{font-size:15px;line-height:1.65;color:#30265c;margin:0}.app-link,.rider .app-link{background:linear-gradient(#812fc2,#502183);font-size:15px;border-radius:12px;padding:15px 19px}.app-link span{font-size:25px;line-height:1}.extras{display:grid;grid-template-columns:1.7fr 1fr;gap:24px;margin:40px 0 28px}.future{display:flex;align-items:center;gap:20px;border:1px dashed #c6aff4;border-radius:19px;padding:24px;background:#ffffff80}.tile-icon{display:grid;place-items:center;border-radius:14px;background:#eee6ff;color:#5f29ad;width:62px;height:62px;flex-shrink:0}.tile-icon .icon{width:38px;height:38px}.future h2{font-size:28px;margin:0 0 10px}.future p:not(.eyebrow){font-size:12px;line-height:1.6;margin:0}.future .eyebrow{color:#5420aa}.future-label{background:#eee6ff;color:#5420aa;padding:11px 15px;border-radius:24px;white-space:nowrap}.future-label span{margin-left:15px}.access-info{margin:0;align-items:flex-start;justify-content:flex-start;gap:18px;padding:24px 20px;background:#eeeaf8;border-radius:19px}.access-info h2{font-size:16px;font-weight:800}.access-info p{color:#30265c;line-height:1.6}.manage{display:inline-block;color:#5420aa;margin-top:10px}.role-pill{display:inline-block;margin-top:10px}footer{max-width:1204px;padding:22px 0;font-size:11px;align-items:center;color:#30265c;border-color:#dfd2f8}.footer-brand{display:flex;align-items:center;gap:15px}.footer-brand strong{font: bold 22px Georgia,serif}.footer-brand span{border-left:1px solid #a992d2;padding-left:20px}.footer-brand>.icon{color:#7026b5;width:36px;height:36px}:focus-visible{outline-color:#9860d9}.login-card,.user-card{border-color:#e0d5f1;box-shadow:0 4px 12px #33206b0b}.mobile-menu{position:relative}.mobile-menu summary{cursor:pointer;font-size:27px;list-style:none}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu nav{position:absolute;right:0;top:40px;z-index:5;min-width:180px;background:white;color:#30265c;box-shadow:0 4px 20px #20164f30;border-radius:10px}.mobile-menu a{display:block;padding:15px}
@media(max-width:1150px){.master-label{display:none}.extras{grid-template-columns:1.5fr 1fr}.future{flex-wrap:wrap}.future-label{margin-left:82px}.desktop-account{gap:12px}.desktop-account a{padding-left:12px}}
@media(max-width:800px){header{height:68px;padding:0 22px}.brand strong{font-size:26px}.brand>.icon{width:32px;height:38px}.desktop-account{display:none}.mobile-menu{display:block}main{padding:0 22px}.hero{padding:30px 0;margin:0;min-height:160px}.hero-grail{right:0;opacity:.25}.hero h1{font-size:30px;letter-spacing:-1px}.lead{font-size:16px}.mobile-account{display:flex;margin:0 0 25px;font-size:11px;gap:12px}.mobile-account a{margin-left:auto}.mobile-account .avatar{width:36px;height:36px}.role{font-size:10px}.apps{grid-template-columns:1fr;gap:15px}.app-heading{display:flex;align-items:center;gap:20px;min-height:64px;padding:12px 18px}.app-symbol .icon{width:37px;height:37px}.app-card h3{font-size:21px;margin:0;padding-right:65px;letter-spacing:-.6px}.category{top:15px;right:12px;font-size:10px;padding:5px 10px}.card-body{padding:14px}.description-row{margin-bottom:14px;gap:15px}.description{font-size:13px;line-height:1.5}.app-link,.rider .app-link{font-size:13px;padding:11px 16px;border-radius:9px}.section-title{margin:0 0 15px}.section-title h2{font-size:23px}.extras{grid-template-columns:1fr;margin:24px 0;gap:15px}.future{padding:20px;flex-wrap:nowrap;align-items:flex-start}.future-label{margin:0}.future{display:grid;grid-template-columns:48px 1fr;gap:15px}.future-label{grid-column:2;justify-self:start}.tile-icon{width:48px;height:48px}.future h2{font-size:25px}.access-info{flex-direction:row;padding:20px}.footer-brand strong{font-size:16px}.footer-brand span{font-size:9px;padding-left:12px}.footer-brand{gap:10px}footer{margin:0 22px;padding:18px 0;flex-direction:row;gap:12px;font-size:9px}.login-grid{display:flex;flex-direction:column;align-items:stretch}.hero .eyebrow{font-size:11px}}
@media(max-width:400px){main{padding:0 16px}.mobile-account{gap:8px;font-size:9px}.mobile-account .role{font-size:9px}.app-heading{gap:12px}.app-card h3{font-size:17px}.category{font-size:9px}.footer-brand span{max-width:100px}.footer-brand>.icon{width:24px}.hero h1{font-size:27px}.future-label{white-space:normal}}

/* Los campos de MFA van debajo del texto de su etiqueta. */
.login-card label > input[autocomplete="one-time-code"],
.login-card label > input[name="recovery_code"] {
  display: block;
  margin-top: 8px;
}

.mfa-enroll { max-width: 680px; margin: 40px auto; }
.mfa-enroll-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.mfa-enroll-qr { display: block; width: 200px; max-width: 100%; height: auto; background: white; }
.mfa-enroll details { max-width: 240px; overflow-wrap: anywhere; }
.mfa-enroll summary { cursor: pointer; }
.mfa-enroll-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mfa-enroll-actions input { width: 7.5em; text-align: center; letter-spacing: .1em; }
.mfa-enroll-actions button { width: auto; margin: 0; min-height: 48px; }

.mfa-verify-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: start;
}
.mfa-verify-options form { max-width: 100%; }
.mfa-verify-options input[name="code"] { width: 8em; }
.mfa-verify-options input[name="recovery_code"] { width: 15em; max-width: 100%; }
.mfa-verify-options button { width: auto; margin-top: 12px; }
