.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--deep);font-size:16px}
.auth-card{width:min(460px,100%);padding:36px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 60px #0005}
.auth-logo{width:82px;height:60px;object-fit:contain;background:white;border-radius:8px}.auth-card h1{font-size:30px;margin:20px 0 12px}.auth-card .eyebrow{font-size:12px;margin-top:22px}.auth-copy{color:var(--muted);line-height:1.6}
.auth-card label{display:block;font-size:14px;margin:18px 0 8px}.auth-card input{width:100%;padding:12px;background:#12151c;color:var(--ink);border:1px solid var(--line);border-radius:8px;font:inherit}
.auth-card input:focus,.auth-card button:focus-visible,.auth-card a:focus-visible{outline:2px solid var(--teal);outline-offset:3px}.auth-card .primary-action{width:100%;margin-top:24px;font-size:16px;padding:13px}
.auth-status{min-height:24px;color:var(--orange);font-size:14px;line-height:1.5;overflow-wrap:anywhere}.auth-foot{font-size:14px;color:var(--muted);margin:24px 0 0}.auth-card a{color:var(--lime);font-size:14px}
.password-control{display:flex;gap:8px}.password-control input{min-width:0}.password-control button{background:transparent;color:var(--teal);border:1px solid var(--line);border-radius:8px;padding:8px;font-size:14px}button:disabled{opacity:.6;cursor:wait}[hidden]{display:none!important}
@media(max-width:480px){.auth-page{padding:16px}.auth-card{padding:24px}}
.auth-card .secondary-action{display:block;text-align:center;width:100%;border:1px solid #c5ccd8;border-radius:100px;background:#fff;color:#233c65;padding:13px;margin-top:14px;font:inherit;cursor:pointer;text-decoration:none}.auth-card .text-action{display:block;background:transparent;border:0;color:#264c9d;text-decoration:underline;font:inherit;font-size:14px;margin-top:16px;padding:6px 0;cursor:pointer}.auth-card select{width:100%;padding:12px;border:1px solid #c5ccd8;border-radius:10px;background:#fff;color:#18212f;font:inherit}.auth-card #email-code,.auth-card #mfa-code{font-size:24px;letter-spacing:.22em}.auth-card #mfa-qr{display:block;max-width:100%;height:auto;margin:16px auto;background:white}.auth-card .mfa-secret{overflow-wrap:anywhere;font-family:monospace;font-size:16px;padding:12px;background:#edf1f7}.auth-card details{font-size:14px;line-height:1.6}.auth-card #mfa-panel{line-height:1.5}.auth-card summary{cursor:pointer}
/* Ingreso del equipo: tarjeta clara sobre fotografía real de la colección. */
.auth-page{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:8vw;padding:40px 6%;background:#343943;color:#18212f;isolation:isolate;min-height:100svh}
.auth-photograph{position:absolute;inset:0;z-index:-2;background:#626c78 url('https://acdn-us.mitiendanube.com/stores/005/641/912/products/giopetra-01843-cc08fe5b0fcaa56beb17829366347924-640-0.webp') right 30%/auto 120% no-repeat}
.auth-page:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#18202b40,#18202b00 60%,#18202b44)}
.auth-card{width:470px;flex:none;padding:38px 40px;background:#fff;border:0;border-radius:22px;box-shadow:0 20px 80px #0a14252b;color:#18212f}
.auth-card h1{font-size:30px;line-height:1.2;letter-spacing:-.04em;margin-top:34px}.auth-card .eyebrow{color:#657185}.auth-copy,.auth-foot{color:#596476}.auth-foot{line-height:1.6}.auth-card input{background:#fff;color:#18212f;border:1px solid #c5ccd8;border-radius:10px;min-height:48px}.auth-card a{color:#264c9d}.auth-card .primary-action{background:#233c65;color:white;border:0;border-radius:100px;min-height:48px}.auth-card .primary-action:hover{background:#172c4f}.password-control button{color:#264c9d;border-color:#c5ccd8}.auth-status{color:#a63a23}.auth-card input:focus,.auth-card button:focus-visible,.auth-card a:focus-visible{outline-color:#3d67c1}.auth-home{display:inline-block;margin-top:26px}.auth-brand-copy{align-self:flex-end;margin-bottom:30px;color:#fff;text-shadow:0 2px 16px #172032}.auth-brand-copy>p{font-size:28px;letter-spacing:.06em;font-weight:800}.auth-brand-copy h2{font-size:clamp(36px,4vw,60px);letter-spacing:-.04em;line-height:1.1}.auth-brand-copy span{font-size:12px}.auth-logo{width:90px;height:66px}
@media(max-width:850px){.auth-page{padding:30px 5%;justify-content:center}.auth-card{width:min(470px,100%)}.auth-brand-copy{display:none}.auth-photograph{background-size:cover;background-position:center}.auth-page:before{background:#18202b55}}@media(max-width:480px){.auth-page{padding:20px 16px}.auth-card{padding:28px 24px}.auth-card h1{font-size:27px}}

/* Team portrait: preserve the whole group and keep the sign-in form separate. */
.auth-page:has(.auth-photograph){background:#182337;gap:4vw;padding:40px 4%;}
.auth-photograph{left:calc(470px + 8%);background:#182337 url('/assets/giopetra-equipo.png') center center/contain no-repeat;}
.auth-page:has(.auth-photograph):before{display:none;}
.auth-brand-copy{position:absolute;left:calc(470px + 10%);right:2%;bottom:18px;margin:0;padding:14px 20px;background:#182337e8;border-radius:14px;text-shadow:none;}
.auth-brand-copy>p{font-size:16px;margin:0 0 6px;}.auth-brand-copy h2{font-size:clamp(22px,2vw,32px);margin:0 0 6px;}.auth-brand-copy h2 br{display:none;}.auth-brand-copy h2 br:after{content:' ';}
@media(max-width:1100px){.auth-page:has(.auth-photograph){padding:28px 3%;}.auth-page:has(.auth-photograph) .auth-card{width:400px;padding:32px;}.auth-photograph{left:calc(400px + 6%);}.auth-brand-copy{left:calc(400px + 7%);}}
@media(max-width:850px){.auth-page:has(.auth-photograph){display:flex;flex-direction:column;gap:22px;padding:22px 16px;}.auth-photograph{position:relative;inset:auto;z-index:auto;width:min(600px,100%);aspect-ratio:1280/961;flex:none;border-radius:16px;background-size:contain;}.auth-page:has(.auth-photograph) .auth-card{width:min(470px,100%);padding:28px 24px;}.auth-brand-copy{display:none;}}
.auth-card .auth-logo{display:block;margin-inline:auto}.auth-card>.eyebrow{text-align:center;line-height:1.6}

/* Desktop sign-in stays within the viewport; the photograph is a full-bleed panel. */
@media(min-width:851px){
 html:has(.auth-photograph){height:100%;overflow:hidden;}
 .auth-page:has(.auth-photograph){height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(420px,36%) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;padding:0;gap:0;align-items:center;}
 .auth-photograph{position:relative;inset:auto;grid-column:2;grid-row:1 / 3;width:100%;height:100%;min-height:0;z-index:0;border-radius:0;background-size:cover;background-position:center 55%;}
 .auth-page:has(.auth-photograph) .auth-card{grid-column:1;grid-row:1;justify-self:center;width:calc(100% - 48px);max-width:470px;max-height:calc(100dvh - 116px);overflow-y:auto;overscroll-behavior:contain;padding:24px 30px;margin:16px 0 0;}
 .auth-card .auth-logo{width:74px;height:54px;}.auth-card>.eyebrow{margin:12px 0;}.auth-card h1{font-size:26px;margin:16px 0 10px;}.auth-copy{font-size:14px;margin:0 0 12px;}.auth-card label{margin:12px 0 6px;}.auth-card .primary-action{margin-top:18px;}.auth-card .auth-foot{font-size:12px;margin:16px 0 0;}.auth-home{margin-top:16px;}.auth-status:empty{min-height:0;margin:14px 0;}
 .auth-brand-copy{position:static;grid-column:1;grid-row:2;align-self:center;justify-self:center;width:calc(100% - 48px);max-width:470px;margin:0;padding:16px 0 20px;background:none;border-radius:0;text-align:center;}
 .auth-brand-copy>p{display:none;}.auth-brand-copy h2{font-size:20px;line-height:1.3;margin:0;color:#fff;}
}
.auth-card .remember-device{display:flex;align-items:center;gap:10px;line-height:1.4}.auth-card .remember-device input{width:18px;height:18px;min-height:18px;padding:0;flex:0 0 18px;accent-color:#233c65}
