/* Alpha.129 — Acesso e perfis. Escopo limitado às três telas. */
.auth.auth-access { max-width:1120px; grid-template-columns:minmax(0,1fr) minmax(0,490px); gap:clamp(24px,5vw,72px); align-items:center; padding-block:clamp(22px,4vw,56px) 48px; }
.auth.auth-access.auth--single { grid-template-columns:minmax(0,490px); }
.auth.auth-access::before { background:none; }
.auth-access .auth-card { background:var(--surface); padding:clamp(22px,3.5vw,38px); border-radius:22px; border:1px solid var(--border); box-shadow:0 8px 32px -20px rgba(0,0,0,.25); min-width:0; }
.auth-access .auth-card::before,.auth-access .auth-card::after,.auth-access .auth-tabs::after,.auth-access .auth-title::before { content:none; }
.auth-access .auth-brand { gap:11px; margin:0 0 25px; }
.auth-access .auth-brand-tile { width:42px; height:42px; border-radius:12px; box-shadow:none; }
.auth-access .auth-brand-name { font-size:1.3rem; }
.auth-access .auth-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; padding:4px; margin:0 0 26px; width:100%; border-radius:12px; background:var(--surface-2); box-shadow:none; border:1px solid var(--border); }
.auth-access .auth-tabs a { border-radius:8px; font-size:.91rem; padding:9px 8px; min-height:42px; }
.auth-access .auth-tabs a.is-active { color:var(--text); background:var(--surface); box-shadow:0 1px 4px rgba(0,0,0,.1); }
.auth-access .access-heading { margin-bottom:22px; }
.auth-access .auth-title { display:block; margin:0; color:var(--text); font-family:var(--font); font-size:clamp(1.55rem,3vw,2rem); font-weight:800; letter-spacing:-.045em; line-height:1.15; }
.auth-access .auth-lead { margin:8px 0 0; font-size:.94rem; line-height:1.55; color:var(--muted); }
.auth-access .form { display:grid; gap:16px; min-width:0; }
.auth-access .field { min-width:0; }
.auth-access .label { font-size:.84rem; font-weight:700; margin:0 0 7px; color:var(--text); }
.auth-access .auth-label-row { margin:0; gap:6px; flex-wrap:wrap; }
.auth-access .auth-link { font-size:.8rem; }
.auth-access .auth-input { background:var(--surface-2); border:1px solid var(--border); border-radius:11px; min-width:0; box-shadow:none; }
.auth-access .auth-input .input { width:100%; min-width:0; min-height:50px; height:auto; padding:12px 12px 12px 43px; border:0; border-radius:10px; background:transparent; color:var(--text); box-shadow:none; font-size:16px; }
.auth-access .auth-input--toggle .input { padding-right:48px; }
.auth-access .auth-input-icon { width:43px; color:var(--muted); }
.auth-access .auth-input .input::placeholder { color:var(--muted); opacity:.85; font-size:.88rem; }
.auth-access .auth-eye { top:4px; bottom:4px; right:4px; width:40px; }
.auth-access .auth-input:focus-within { background:var(--surface); border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.auth-access .auth-input .input:focus { outline:none; }
.auth-access .has-error .auth-input { border-color:var(--danger); }
.auth-access .hint,.auth-access .error-text { font-size:.78rem; line-height:1.5; overflow-wrap:anywhere; }
.auth-access .auth-meter { margin-top:7px; }
.auth-access .auth-meter-bar { height:5px; }
.auth-access .auth-meter-text { font-size:.76rem; }
.auth-access .btn--primary.btn--block { min-height:51px; border-radius:11px; margin-top:4px; box-shadow:none; font-size:.96rem; }
.auth-access .auth-notice { margin-top:19px; background:var(--surface-2); border:1px solid var(--border); box-shadow:none; border-radius:12px; padding:12px; gap:10px; }
.auth-access .auth-notice-body { font-size:.77rem; }
.auth-access .auth-notice-body p { margin:0; }
.auth-access .auth-notice-body > strong:first-child { font-size:.84rem; }
.auth-access .auth-support { margin:16px 0 0; }
.auth-access .auth-support a { font-size:.81rem; background:none; box-shadow:none; padding:6px; }
.auth-access .check { align-items:flex-start; font-size:.84rem; padding:12px; border:1px solid var(--border); border-radius:10px; background:var(--surface-2); }
.auth-access .auth-invite { min-width:0; border-radius:10px; box-shadow:none; }
.auth-access .auth-aside { min-width:0; padding:clamp(24px,4vw,40px); border-radius:22px; border:1px solid var(--border); background:var(--surface-2); box-shadow:none; }
.auth-access .auth-aside-title { font-family:var(--font); font-size:clamp(1.6rem,3.2vw,2.65rem); letter-spacing:-.04em; line-height:1.13; }
.auth-access .auth-aside-text { font-size:.96rem; }
.auth-access .auth-features li { background:transparent; border:0; border-bottom:1px solid var(--border); padding:12px 0; border-radius:0; box-shadow:none; }
.auth-access .auth-about { border-radius:12px; box-shadow:none; }
@media(max-width:900px){
 .auth.auth-access { grid-template-columns:minmax(0,490px); grid-template-areas:"card" "aside"; justify-content:center; align-items:start; gap:18px; min-height:0; padding:20px max(12px,var(--gutter)) 32px; }
 .auth-access .auth-card { padding:22px 18px; border-radius:18px; }
 .auth-access .auth-brand { margin-bottom:17px; }
 .auth-access .auth-tabs { margin-bottom:21px; }
 .auth-access .auth-aside { padding:20px; border-radius:18px; }
 .auth-access .auth-aside-title { font-size:1.5rem; }
}
@media(max-width:360px){ .auth-access .auth-card { padding:18px 13px; } .auth-access .auth-notice { grid-template-columns:28px minmax(0,1fr); } .auth-access .auth-notice-icon { width:28px;height:28px; } }
/* Seletor de perfis: superfície cinematográfica opaca, sem depender do tema claro. */
:root[data-theme] .profiles-gate.profiles-access,.profiles-gate.profiles-access { background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--accent) 13%,#17171d),#101015 65%) !important; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; padding:0 20px max(24px,env(safe-area-inset-bottom)); overscroll-behavior:contain; color:#f7f7fa !important; }
.profiles-access-brand { display:flex; align-items:center; align-self:stretch; gap:10px; padding:22px 4px; border-bottom:1px solid #ffffff18; }
.profiles-access-mark { display:grid; place-items:center; width:34px;height:34px; color:var(--accent); }
.profiles-access-mark .brand-mark { width:32px; height:32px; }
.profiles-access-brand strong { font-size:1.25rem;font-weight:800; }
.profiles-access .profiles-gate-inner { margin:auto 0; padding:34px 0; max-width:920px; }
.profiles-access .profiles-gate-kicker { display:inline-flex; border:0; background:none; padding:0; margin:0 0 12px; font-size:.76rem; letter-spacing:.07em; text-transform:uppercase; }
.profiles-access .profiles-gate-title { font-family:var(--font); font-size:clamp(1.65rem,4vw,2.8rem); line-height:1.15; letter-spacing:-.045em; margin:0 0 10px; }
.profiles-access .profiles-gate-sub { max-width:43ch; font-size:.94rem; margin:0 auto 27px; }
.profiles-access .profiles-list { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.profiles-access .profile-pick { width:166px; max-width:calc(50% - 7px); min-width:0; min-height:185px; padding:18px 10px 15px; border-radius:17px; border:1px solid #ffffff20; background:#202027; backdrop-filter:none; -webkit-backdrop-filter:none; gap:8px; justify-content:flex-start; font-family:var(--font); }
.profiles-access .profile-pick-avatar { width:94px; height:94px; flex:none; border:2px solid var(--profile-color,#ffffff35); margin-bottom:4px; }
.profiles-access .profile-pick-name { font-size:.99rem; font-weight:750; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.profiles-access .profile-pick-caption { font-size:.7rem; line-height:1.35; color:#b7b7c1 !important; max-width:100%; white-space:normal; }
.profiles-access .profile-pick--add { background:#18181f; border-style:dashed; }
.profiles-access .profile-pick--add .profile-pick-avatar { border-radius:24px; border-color:#ffffff30 !important; }
.profiles-access .profile-pick-avatar--add svg { width:32px;height:32px; }
.profiles-access .profile-pick:hover,.profiles-access .profile-pick:focus-visible { background:#2b2b34; border-color:var(--accent); transform:translateY(-2px); }
.profiles-access .profile-pick:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.profiles-access .profile-pick:disabled { opacity:.65; cursor:wait; }
.profiles-access .profiles-gate-manage { margin-top:26px; padding:12px 19px; border-radius:11px; color:#f1f1f4; border:1px solid #ffffff35; background:#202027; }
.profiles-access .profiles-access-note { display:flex; align-items:center; justify-content:center; gap:7px; margin:20px auto 0; max-width:44ch; font-size:.75rem; line-height:1.45; }
.profiles-access-note .icon { flex:none; width:17px;height:17px; }
.profiles-access .profiles-access-feedback { color:#ffc3ae !important; margin:16px 0 0; font-size:.84rem; }
.profiles-access .pin-modal-card { border-radius:20px; background:#202027; border-color:#ffffff25; max-width:380px; padding:28px 22px; }
.profiles-access .pin-input { min-height:50px; border-radius:11px; background:#101015; color:#fff; }
.profiles-access .pin-submit { min-height:48px; }
@media(max-width:380px){ .profiles-gate.profiles-access { padding-inline:14px; } .profiles-access .profile-pick { padding-inline:7px; min-height:173px; } .profiles-access .profile-pick-avatar { width:82px;height:82px; } }
@media(prefers-reduced-motion:reduce){ .auth-access *, .profiles-access * { animation:none !important; transition:none !important; } }
