
/* v1.4.5 — el atributo HTML hidden siempre gana sobre .btn/.admin-link */
html [hidden] { display: none !important; }

/* v1.4.4 — HTML hidden siempre debe ganar sobre estilos .btn/.admin-link */
[hidden]{display:none!important}
:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#142c48;background:#f4f7fb}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(180deg,#083c84 0 190px,#f4f7fb 190px);color:#142c48}.auth-shell{width:min(540px,calc(100% - 28px));margin:0 auto;padding:42px 0 60px}.auth-brand{display:flex;justify-content:center;margin-bottom:28px}.auth-brand img{width:min(310px,82%);height:auto;background:#fff;border-radius:18px;padding:14px 18px}.auth-card{background:#fff;border:1px solid #dce5ef;border-radius:24px;padding:28px;box-shadow:0 18px 46px rgba(8,60,132,.13)}.eyebrow{font-size:12px;font-weight:900;letter-spacing:.12em;color:#e1262f;margin:0 0 8px}.auth-card h1{font-size:30px;margin:0 0 8px}.auth-card>p{color:#65758a;line-height:1.5;margin:0 0 22px}.field{display:block;margin:14px 0}.field span{display:block;font-weight:800;font-size:13px;margin-bottom:7px}.field input,.field select{width:100%;min-height:50px;border:1px solid #cbd7e5;border-radius:14px;padding:12px 14px;font:inherit;font-size:16px;background:#fff}.field input:focus,.field select:focus{outline:3px solid rgba(8,60,132,.14);border-color:#083c84}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:14px;padding:11px 17px;font:inherit;font-weight:900;cursor:pointer;text-decoration:none}.primary{background:#083c84;color:white}.secondary{background:#eaf2fd;color:#083c84}.danger{background:#b7202c;color:#fff}.wide{width:100%;margin-top:8px}.auth-note{margin-top:18px;padding:14px;border-radius:14px;background:#f4f7fb;color:#65758a;font-size:13px;line-height:1.45}.auth-error{background:#fff0f1;color:#a01b26;border:1px solid #f2c9cc;padding:12px 14px;border-radius:13px;margin:12px 0}.auth-success{background:#eef9f3;color:#147347;border:1px solid #c7ead8;padding:12px 14px;border-radius:13px;margin:12px 0}.auth-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.top-user{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.top-user small{display:block;color:#65758a}.users-shell{width:min(980px,calc(100% - 28px));margin:0 auto;padding:28px 0 70px}.users-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:18px}.users-head img{height:54px;background:#fff;padding:7px 10px;border-radius:12px}.users-grid{display:grid;grid-template-columns:340px 1fr;gap:18px}.panel{background:#fff;border:1px solid #dce5ef;border-radius:20px;padding:20px}.user-list{display:grid;gap:10px}.user-row{border:1px solid #dce5ef;border-radius:15px;padding:14px;display:flex;justify-content:space-between;gap:12px;align-items:center}.user-row strong{display:block}.user-row small{color:#65758a}.badge{font-size:11px;font-weight:900;padding:5px 8px;border-radius:999px;background:#eaf2fd;color:#083c84}.badge.off{background:#f3e8e9;color:#9d1e29}.actions{display:flex;gap:8px;flex-wrap:wrap}.mini{min-height:36px;padding:7px 10px;font-size:12px}.muted{color:#65758a}.hidden{display:none!important}@media(max-width:760px){.users-grid{grid-template-columns:1fr}.users-head{align-items:flex-start;flex-direction:column}.auth-card{padding:22px}.auth-card h1{font-size:26px}}

/* v1.6.2 — Usuarios optimizado para móvil */
@media(max-width:1050px){
  body{background:#f4f7fb!important;min-height:100vh}
  .users-shell{
    width:100%!important;
    margin:0!important;
    padding:22px 16px 56px!important;
  }
  .users-head{
    margin:0 0 18px!important;
    padding:0!important;
    display:block!important;
  }
  .users-head>div:first-child>img{display:none!important}
  .users-head h1{
    margin:0 0 6px!important;
    font-size:34px!important;
    line-height:1.08!important;
    letter-spacing:-.02em;
  }
  .users-head p{
    margin:0!important;
    max-width:620px;
    font-size:16px!important;
    line-height:1.45!important;
  }
  .users-head>.actions{display:none!important}
  .users-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  .panel{
    padding:20px!important;
    border-radius:18px!important;
  }
  .panel h2{font-size:25px;margin-top:0}
  .field{margin:13px 0!important}
  .field span{font-size:14px!important}
  .field input,.field select{
    min-height:52px!important;
    border-radius:13px!important;
  }
}
@media(max-width:480px){
  .users-shell{padding:18px 12px 46px!important}
  .users-head h1{font-size:30px!important}
  .users-head p{font-size:15px!important}
  .panel{padding:17px!important;border-radius:16px!important}
  .panel h2{font-size:23px}
  .top-user{align-items:flex-start}
}
