:root{--brand:#2454ff;--ink:#14213d;--muted:#6c757d;--soft:#f5f7fb}body{background:var(--soft);color:var(--ink)}.navbar{box-shadow:0 6px 20px rgba(20,33,61,.08)}.hero{padding:64px 0;background:linear-gradient(135deg,#fff,#edf3ff)}.card{border:0;border-radius:18px;box-shadow:0 10px 28px rgba(20,33,61,.08)}.btn{border-radius:12px}.form-control,.form-select{border-radius:12px}.badge-soft{background:#edf3ff;color:#2454ff}.sidebar-card a{text-decoration:none}.table td,.table th{vertical-align:middle}.small-muted{font-size:.88rem;color:var(--muted)}pre{background:#111827;color:#f8fafc;border-radius:14px;padding:16px}.login-shell{min-height:70vh;display:flex;align-items:center}.login-card{max-width:460px;margin:auto}.module-tile{transition:.2s}.module-tile:hover{transform:translateY(-2px)}

/* v0.1.25.5 - Corrección de legibilidad en Módulos
   Bootstrap .bg-light podía pisar el fondo oscuro global de <pre> y dejar código blanco sobre fondo claro. */
.code-readable-light,
pre.code-readable-light,
.modal pre.code-readable-light {
  background: #f8f9fa !important;
  color: #212529 !important;
  border: 1px solid rgba(20,33,61,.12);
  white-space: pre;
  overflow-x: auto;
}
.code-readable-light code,
pre.code-readable-light code,
.modal pre.code-readable-light code {
  color: #212529 !important;
  background: transparent !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.modal .modal-body code:not(pre code) {
  color: #842029;
  background: rgba(132,32,41,.06);
  padding: .12rem .28rem;
  border-radius: .35rem;
}


/* v0.1.26.1 - Mejora visual general */
.nav-brand-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#2454ff,#7c3aed);color:#fff;box-shadow:0 8px 18px rgba(36,84,255,.25)}
.suite-hero-card{background:linear-gradient(135deg,#ffffff,#eef4ff);border:1px solid rgba(36,84,255,.08);border-radius:24px;padding:24px;box-shadow:0 14px 34px rgba(20,33,61,.08)}
.admin-tile{position:relative;overflow:hidden}.admin-tile:after{content:"";position:absolute;right:-28px;bottom:-28px;width:88px;height:88px;border-radius:50%;background:rgba(36,84,255,.06)}
.tile-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-size:1.35rem;box-shadow:0 10px 22px rgba(20,33,61,.10)}
.module-logo{width:56px;height:56px;object-fit:contain;border-radius:16px;background:#f8f9fa;border:1px solid rgba(0,0,0,.08);padding:8px}.permission-box{display:flex;gap:.55rem;align-items:flex-start;border:1px solid rgba(20,33,61,.12);border-radius:14px;padding:.75rem;height:100%;background:#fff;transition:.15s}.permission-box:hover{border-color:rgba(36,84,255,.45);box-shadow:0 8px 20px rgba(20,33,61,.06)}
.doc-content h1,.doc-content h2,.doc-content h3{scroll-margin-top:100px}.doc-content{font-size:1rem}.doc-content pre{max-height:560px}

/* v0.1.26.2 - Fix logos de módulos visibles
   Evita que SVG/PNG de módulos con dimensiones internas grandes rompan la grilla. */
.module-card-link {
  overflow: hidden;
}
.module-card-head {
  min-width: 0;
}
.module-logo-box {
  width: 58px;
  height: 58px;
  min-width: 58px;
  max-width: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,.08);
  overflow: hidden;
}
.module-logo-box img,
img.module-logo {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.module-card-title {
  min-width: 0;
}
.module-card-title h5,
.module-card-title small {
  overflow-wrap: anywhere;
}
@media (max-width: 575.98px) {
  .module-logo-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    max-width: 52px;
    flex-basis: 52px;
  }
  .module-logo-box img,
  img.module-logo {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
  }
}


/* v0.1.26.3 - Fix definitivo logos de módulos visibles
   Evita que imágenes SVG/PNG con tamaños grandes se rendericen fuera de su tarjeta.
   Se usa fondo CSS controlado + cache bust en app.css. */
.module-card-link,
.module-card-link.card {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 100% !important;
}
.module-card-link .module-card-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: .75rem !important;
  min-width: 0 !important;
}
.module-card-link .module-logo-box {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  flex: 0 0 58px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 16px !important;
  background: #f8f9fa !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  overflow: hidden !important;
}
.module-card-link .module-logo-bg {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  display: block !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}
.module-card-link .module-card-title {
  min-width: 0 !important;
  overflow: hidden !important;
}
.module-card-link .module-card-title h5 {
  line-height: 1.2 !important;
}
.module-card-link .badge {
  flex: 0 0 auto !important;
}


/* v0.1.28.2 - Navegación core genérica */
.suite-main-nav .dropdown-menu{border:1px solid rgba(20,33,61,.08);padding:.6rem;min-width:240px}.suite-main-nav .dropdown-item{border-radius:.7rem;padding:.55rem .75rem}.suite-main-nav .dropdown-item:hover{background:#edf3ff;color:#2454ff}.suite-main-nav .dropdown-header{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#6c757d}.suite-main-nav .nav-link.active{font-weight:700;color:#2454ff}.suite-list-tools{position:relative}.suite-table-responsive,.table-responsive{overflow-x:auto}.suite-module-item.d-none{display:none!important}.suite-section-title{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:#6c757d;font-weight:700}.module-logo-box{width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;flex:0 0 58px!important;display:grid!important;place-items:center!important;overflow:hidden!important;border-radius:16px!important;background:#f8f9fa!important;border:1px solid rgba(0,0,0,.08)!important}.module-logo-bg{width:42px!important;height:42px!important;display:block!important;background-repeat:no-repeat!important;background-position:center!important;background-size:contain!important}
@media (max-width: 991.98px){.suite-main-nav .navbar-nav{align-items:stretch!important}.suite-main-nav .dropdown-menu{box-shadow:none!important}.suite-nav-group{border-top:1px solid rgba(20,33,61,.08);padding-top:.25rem;margin-top:.25rem}}


/* v0.1.28.4 - Buscadores y filtros estándar */
.suite-filter-panel{border:1px solid rgba(20,33,61,.08);background:#fff;border-radius:18px;box-shadow:0 8px 22px rgba(20,33,61,.06)}
.suite-filter-panel .form-label{font-weight:600;margin-bottom:.35rem}.suite-filter-count{display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;background:#edf3ff;color:#2454ff;padding:.35rem .7rem;font-size:.86rem;font-weight:700}.suite-filter-empty{border:1px dashed rgba(20,33,61,.22);border-radius:16px;background:#f8f9fa;padding:1rem;color:#6c757d}.suite-table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.suite-table-responsive table{min-width:760px}.suite-actions{display:flex;gap:.4rem;justify-content:flex-end;flex-wrap:wrap}.suite-filter-panel .btn{white-space:nowrap}@media(max-width:575.98px){.suite-filter-panel{padding:1rem!important}.suite-actions{justify-content:flex-start}.suite-table-responsive table{min-width:680px}}

/* v0.1.28.35 — Perfil social genérico de la Suite */
.suite-profile-page{
  --suite-profile-accent:#2454ff;
  --suite-profile-accent-2:#7a5cff;
  --suite-profile-ink:#182033;
  --suite-profile-muted:#6c757d;
  background:linear-gradient(180deg,rgba(36,84,255,.025),transparent 320px);
  min-height:calc(100vh - 120px);
}
.suite-profile-hero{
  border-radius:32px;
  background:linear-gradient(135deg,#fff,rgba(36,84,255,.045));
  box-shadow:0 14px 38px rgba(20,33,61,.08);
  border:1px solid rgba(20,33,61,.07);
  overflow:hidden;
}
.suite-profile-main{
  display:flex;
  align-items:center;
  gap:28px;
  padding:32px;
}
.suite-profile-avatar-wrap{position:relative;flex:0 0 auto}
.suite-profile-avatar{
  width:132px;
  height:132px;
  border-radius:36px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(135deg,var(--suite-profile-accent),var(--suite-profile-accent-2));
  border:6px solid #fff;
  box-shadow:0 16px 36px rgba(20,33,61,.18);
  color:#fff;
  font-size:3rem;
  font-weight:900;
}
.suite-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.suite-avatar-camera{
  position:absolute;
  right:-8px;
  bottom:-8px;
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:4px solid #fff;
  background:linear-gradient(135deg,var(--suite-profile-accent),var(--suite-profile-accent-2));
  color:#fff;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(36,84,255,.28);
  transition:.16s ease;
}
.suite-avatar-camera:hover{transform:translateY(-2px) scale(1.03)}
.suite-profile-titlebox{min-width:0}
.suite-profile-brand{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#edf3ff;
  color:var(--suite-profile-accent);
  padding:.35rem .7rem;
  font-size:.8rem;
  font-weight:800;
}
.suite-profile-titlebox h1{
  color:var(--suite-profile-ink);
  font-size:clamp(1.85rem,3.2vw,3.05rem);
  font-weight:950;
  line-height:1;
  margin:10px 0 8px;
  overflow-wrap:anywhere;
}
.suite-profile-subtitle{
  color:var(--suite-profile-muted);
  font-size:1.05rem;
  margin:0 0 14px;
}
.suite-profile-chips{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.suite-profile-chip{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#f8f9fa;
  border:1px solid rgba(20,33,61,.08);
  color:#364152;
  padding:.4rem .7rem;
  font-size:.82rem;
  font-weight:700;
}
.suite-profile-chip-role{background:#edf3ff;color:#2454ff;border-color:rgba(36,84,255,.14)}
.suite-profile-bio{
  max-width:760px;
  color:#4d596a;
  margin-top:16px;
  line-height:1.55;
}
.suite-profile-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding:10px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(20,33,61,.08);
  box-shadow:0 8px 24px rgba(20,33,61,.05);
}
.suite-profile-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.suite-profile-tabs a{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  border-radius:14px;
  color:#596579;
  padding:.7rem .95rem;
  font-weight:800;
}
.suite-profile-tabs a:hover{background:#f6f8fc;color:#2454ff}
.suite-profile-tabs a.active{background:#edf3ff;color:#2454ff}
.suite-profile-content-card{
  padding:28px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(20,33,61,.08);
  box-shadow:0 14px 34px rgba(20,33,61,.06);
}
.suite-profile-content-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
}
.suite-profile-filters{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.suite-profile-filters a{
  text-decoration:none;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(20,33,61,.1);
  color:#596579;
  padding:.45rem .8rem;
  font-size:.82rem;
  font-weight:800;
}
.suite-profile-filters a:hover,
.suite-profile-filters a.active{
  background:#edf3ff;
  border-color:rgba(36,84,255,.2);
  color:#2454ff;
}
.suite-profile-module-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  position:relative;
  text-decoration:none;
  color:inherit;
  padding:18px 42px 18px 18px;
  border-radius:26px;
  background:#fff;
  border:1px solid rgba(20,33,61,.08);
  box-shadow:0 14px 32px rgba(20,33,61,.07);
  transition:.16s ease;
  overflow:hidden;
}
.suite-profile-module-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 42px rgba(20,33,61,.12);
  border-color:rgba(36,84,255,.22);
  color:inherit;
}
.suite-profile-module-logo{
  width:62px;
  height:62px;
  flex:0 0 62px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#f8f9fa;
  border:1px solid rgba(20,33,61,.08);
}
.suite-profile-module-logo span{
  width:44px;
  height:44px;
  display:block;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}
.suite-profile-module-body{display:flex;flex-direction:column;gap:8px;min-width:0}
.suite-profile-module-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.suite-profile-module-title strong{
  color:#182033;
  font-size:1.02rem;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.suite-profile-module-title small{color:#7b8797;white-space:nowrap}
.suite-profile-module-description{
  color:#667085;
  font-size:.9rem;
  line-height:1.45;
}
.suite-profile-module-categories{display:flex;gap:6px;flex-wrap:wrap}
.suite-profile-module-categories span{
  border-radius:999px;
  background:#f4f6f9;
  color:#667085;
  padding:.25rem .55rem;
  font-size:.72rem;
  font-weight:800;
}
.suite-profile-module-arrow{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  color:#9aa5b5;
  font-size:1.8rem;
  transition:.16s ease;
}
.suite-profile-module-card:hover .suite-profile-module-arrow{right:14px;color:#2454ff}
.suite-profile-empty{
  text-align:center;
  padding:48px 24px;
  border-radius:26px;
  background:#fff;
  border:1px dashed rgba(20,33,61,.18);
}
.suite-profile-empty-icon{font-size:2.3rem;margin-bottom:10px}
.suite-profile-security-page{
  min-height:calc(100vh - 120px);
  background:linear-gradient(180deg,rgba(36,84,255,.025),transparent 320px);
}
@media(max-width:767.98px){
  .suite-profile-main{align-items:flex-start;padding:24px;gap:20px}
  .suite-profile-avatar{width:108px;height:108px;border-radius:30px;font-size:2.45rem}
  .suite-profile-titlebox h1{font-size:1.8rem}
  .suite-profile-chip{font-size:.76rem}
  .suite-profile-content-card{padding:22px}
}
@media(max-width:575.98px){
  .suite-profile-main{flex-direction:column}
  .suite-profile-nav{align-items:stretch}
  .suite-profile-tabs{width:100%}
  .suite-profile-tabs a{flex:1 1 auto;justify-content:center}
  .suite-profile-nav>.btn{width:100%}
  .suite-profile-module-card{padding-right:36px}
}


/* v0.1.28.69 · iconografía lineal canónica del Core */
.sui-icon{display:inline-block;flex:0 0 auto;width:1em;height:1em;vertical-align:-.14em;color:currentColor}
.btn>.sui-icon,.nav-link>.sui-icon,.dropdown-item>.sui-icon{width:1.05rem;height:1.05rem}
.suite-heading-icon{display:flex;align-items:center;gap:.5rem}.suite-heading-icon>.sui-icon{width:1.15em;height:1.15em}
.badge>.sui-icon{width:.92em;height:.92em;margin-right:.28rem;vertical-align:-.1em}
.nav-brand-icon>.sui-icon{width:1.1rem;height:1.1rem}
.suite-main-nav .nav-link,.suite-main-nav .dropdown-item{display:flex;align-items:center;gap:.45rem}
.tile-icon{border:1px solid #e2e8f0;background:#f8fafc;color:#334155;box-shadow:none}.tile-icon>.sui-icon{width:22px;height:22px}
