/* Panel real: pantalla de acceso (el resto lo pone /panel/panel.css) */
body:has(#app:not([hidden])) { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.app[hidden], .acceso[hidden] { display: none; }
.acceso { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 16px; }
.acceso-card { width: min(400px, 100%); padding: 24px; }
.acceso-card .brand { padding: 0; margin-bottom: 18px; }
.acceso-card h1 { font-size: 19px; margin: 0 0 12px; }
.acceso-card form { display: flex; flex-direction: column; gap: 12px; }
.acceso-card form[hidden] { display: none; }
.acceso-card label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 600; }
.acceso-card input { font: inherit; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); }
.acceso-card input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pass { position: relative; display: flex; }
.pass input { flex: 1; padding-right: 76px; }
.ojo { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--accent);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.ojo:hover { background: var(--surface); }
.link { background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 13.5px; padding: 4px; }
.acc-msg { min-height: 1.2em; margin: 12px 0 0; font-size: 13.5px; }
.acc-msg.error { color: var(--bad); }
.acc-msg.ok { color: var(--ok); }
.acc-pie { margin: 16px 0 0; text-align: center; }
#app-usuario { word-break: break-all; }

/* Verificacion en dos pasos */
.mfa-pasos { margin: 4px 0 8px; padding-left: 20px; display: grid; gap: 4px; }
.mfa-qr { display: block; width: 180px; height: 180px; margin: 4px auto 8px; background: #fff; border-radius: 8px; padding: 6px; }
#mfa-secreto { word-break: break-all; user-select: all; }
