/* LABRISKY · páginas de acceso y textos legales (usa las variables de index.css) */
.auth-wrap { max-width: 540px; margin: 0 auto; padding: 36px 20px 72px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 26px 28px; box-shadow: 0 18px 50px -28px rgba(0,0,0,.55); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.auth-tabs button { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; padding: 9px 10px; border-radius: 9px; border: 0; background: transparent; color: var(--text-dim); cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 0 var(--border); }
.auth-tabs button:focus-visible, .auth-card a:focus-visible, .auth-card input:focus-visible, .auth-card select:focus-visible, .auth-link:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.auth-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.auth-sub { font-size: 13.5px; line-height: 1.55; color: var(--text-dim); margin: 0 0 18px; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.auth-field input[type="text"], .auth-field input[type="email"], .auth-field input[type="password"], .auth-field select {
  width: 100%; box-sizing: border-box; background: var(--bg-2); color: var(--text); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 12px; font-family: var(--font-body); font-size: 14.5px; }
.auth-field input::placeholder { color: var(--text-faint); }
.auth-field .hint { font-size: 12px; color: var(--text-faint); margin-top: 5px; }
.auth-pass { position: relative; }
.auth-pass input { padding-right: 84px !important; }
.auth-pass button { position: absolute; right: 6px; top: 6px; bottom: 6px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text-dim); font-size: 12px; font-weight: 600; cursor: pointer; }
.auth-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-dim); margin: 6px 0 16px; }
.auth-check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--accent-2); }
.auth-check a, .auth-link { color: var(--accent-2); text-decoration: underline; }
.auth-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; cursor: pointer; }
.auth-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.auth-actions .btn { width: 100%; padding: 12px 18px; font-size: 14.5px; }
.auth-actions .btn[disabled] { opacity: .6; cursor: progress; }
.auth-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.auth-msg { border-radius: 10px; padding: 11px 13px; font-size: 13.5px; line-height: 1.5; margin: 0 0 16px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.auth-msg.ok { border-color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 12%, var(--surface)); }
.auth-msg.err { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, var(--surface)); }
.auth-view[hidden], .auth-msg[hidden], [hidden] { display: none !important; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.auth-list { list-style: none; margin: 0 0 14px; padding: 0; }
.auth-list li { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; background: var(--bg-2); font-size: 14px; }
.auth-list small { display: block; color: var(--text-faint); font-family: var(--font-mono); font-size: 11.5px; margin-top: 2px; }
.auth-meta { font-size: 13px; color: var(--text-dim); margin: 0 0 16px; word-break: break-word; }
.auth-sep { border: 0; border-top: 1px solid var(--border); margin: 18px 0; }
.auth-h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 10px; }
@media (max-width: 560px) { .auth-card { padding: 20px 16px 22px; } .corp-header { padding: 0 14px; } .auth-wrap { padding-top: 22px; } }

/* Textos legales */
.doc-wrap { max-width: 820px; margin: 0 auto; padding: 32px 20px 72px; color: var(--text-dim); line-height: 1.65; font-size: 14.5px; }
.doc-wrap h1 { font-family: var(--font-display); color: var(--text); font-size: 28px; margin: 0 0 6px; }
.doc-wrap h2 { font-family: var(--font-display); color: var(--text); font-size: 18px; margin: 28px 0 8px; }
.doc-wrap p, .doc-wrap li { margin: 0 0 10px; }
.doc-wrap ul { padding-left: 22px; }
.doc-wrap a { color: var(--accent-2); }
.doc-banner { border: 1px solid var(--accent-3); background: color-mix(in srgb, var(--accent-3) 14%, var(--surface)); color: var(--text); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 20px; }
.ph { background: color-mix(in srgb, var(--accent-3) 30%, transparent); color: var(--text); padding: 0 4px; border-radius: 4px; font-weight: 600; }
