/* IEICII Institutional Theme v187
   Unifica claro/oscuro y diferencia navegación administrativa de navegación pública.
   Cargado al final para normalizar estilos heredados sin alterar lógica. */

html{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
html.theme-ready-v186 *,html.theme-ready-v186 *::before,html.theme-ready-v186 *::after{transition-property:background-color,border-color,color,box-shadow,fill,stroke;transition-duration:.16s;transition-timing-function:ease}
@media(prefers-reduced-motion:reduce){html.theme-ready-v186 *,html.theme-ready-v186 *::before,html.theme-ready-v186 *::after{transition:none!important}}

/* ---------- TOKENS GLOBALES ---------- */
body.ie-shell{
  --nav-bg:color-mix(in srgb,var(--surface,#fff) 96%,var(--brand,#1f5eff) 4%);
  --nav-bg-soft:color-mix(in srgb,var(--surface-2,#f7f9fc) 96%,var(--brand,#1f5eff) 4%);
  --nav-fg:var(--text,#182234);
  --nav-muted:var(--muted,#657286);
  --nav-line:var(--line,#e4e9f0);
  --nav-hover:color-mix(in srgb,var(--brand,#1f5eff) 6%,var(--surface,#fff));
  --nav-active:color-mix(in srgb,var(--brand,#1f5eff) 9%,var(--surface,#fff));
  --nav-active-text:var(--brand,#1f5eff);
  --nav-shadow:0 16px 42px rgba(15,23,42,.07);
  --control-bg:var(--surface,#fff);
  --control-fg:var(--text,#182234);
  --control-line:var(--line,#e4e9f0);
}

html[data-theme="dark"] body.ie-shell{
  --bg:#0f1318!important;
  --surface:#171c22!important;
  --surface-2:#1d232b!important;
  --text:#edf1f5!important;
  --muted:#a7b0bc!important;
  --line:#2c343e!important;
  --topbar-bg:#14191f!important;
  --footer-bg:#11161c!important;
  --nav-bg:color-mix(in srgb,var(--ie-side-bg,#0e1525) 38%,#171c22 62%);
  --nav-bg-soft:color-mix(in srgb,var(--ie-side-bg,#0e1525) 28%,#1d232b 72%);
  --nav-fg:#edf1f5;
  --nav-muted:#a7b0bc;
  --nav-line:#2c343e;
  --nav-hover:color-mix(in srgb,var(--brand,#1f5eff) 10%,var(--surface,#171c22));
  --nav-active:color-mix(in srgb,var(--brand,#1f5eff) 16%,var(--surface,#171c22));
  --nav-active-text:color-mix(in srgb,var(--brand,#1f5eff) 74%,#fff 26%);
  --nav-shadow:0 18px 46px rgba(0,0,0,.22);
  --control-bg:var(--surface,#171c22);
  --control-fg:var(--text,#edf1f5);
  --control-line:var(--line,#2c343e);
  --shadow:0 14px 40px rgba(0,0,0,.22)!important;
  --shadow-soft:0 8px 24px rgba(0,0,0,.16)!important;
  background:var(--bg)!important;
  color:var(--text)!important;
}

html[data-theme="dark"] body.public-body{
  --bg:#0f1318!important;
  --surface:#171c22!important;
  --surface-2:#1d232b!important;
  --text:#edf1f5!important;
  --muted:#a7b0bc!important;
  --line:#2c343e!important;
  --topbar-bg:#14191f!important;
  --footer-bg:#11161c!important;
  --public-accent-soft:color-mix(in srgb,var(--brand) 13%,#1d232b)!important;
  --public-proof-bg:#171c22!important;
  --public-proof-text:#edf1f5!important;
  --public-stage-bg:#0f1318!important;
  --public-stage-text:#edf1f5!important;
}

/* ---------- SUPERFICIES / CONTROLES ---------- */
body.ie-shell .card,
body.ie-shell .table,
body.ie-shell .summary-pill,
body.ie-shell .modal-card,
body.ie-shell .empty,
body.ie-shell .check-card,
body.ie-shell .admin-page-tabs a,
body.ie-shell .admin-page-tabs button,
body.ie-shell .rich-editor,
body.ie-shell .rich-toolbar,
body.ie-shell .access-summary-v90,
body.ie-shell .top-bell-btn-v90,
body.ie-shell .access-panel-v90,
body.ie-shell .top-bell-menu-v90,
body.ie-shell .access-panel-v89,
body.ie-shell .access-summary-v89,
body.ie-shell .document-action-section-v134,
body.ie-shell .document-lifecycle-v134>li,
body.ie-shell .document-choice-card-v134,
body.ie-shell .document-emission-section-v134{
  background:var(--surface)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}
body.ie-shell .table th,
body.ie-shell .modal-head,
body.ie-shell .rich-toolbar,
body.ie-shell .check-card,
body.ie-shell .document-output-explainer-v134,
body.ie-shell .document-status-overview-v134>div{
  background:var(--surface-2)!important;
  border-color:var(--line)!important;
  color:var(--text)!important;
}
body.ie-shell .form input,
body.ie-shell .form select,
body.ie-shell .form textarea,
body.ie-shell .install-form input,
body.ie-shell .install-form select,
body.ie-shell .install-form textarea,
body.ie-shell input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]),
body.ie-shell select,
body.ie-shell textarea{
  background:var(--surface)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}
body.ie-shell input::placeholder,body.ie-shell textarea::placeholder{color:color-mix(in srgb,var(--muted) 78%,transparent)}
body.ie-shell .btn:not(.primary):not(.danger):not(.light):not(.ghost),
body.ie-shell button.btn:not(.primary):not(.danger):not(.light):not(.ghost),
body.ie-shell .modal-close,
body.ie-shell .sidebar-toggle,
body.ie-shell .public-menu-btn,
body.ie-shell .event-burger{
  background:var(--surface)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
body.ie-shell .btn:not(.primary):not(.danger):not(.light):not(.ghost):hover,
body.ie-shell button.btn:not(.primary):not(.danger):not(.light):not(.ghost):hover{
  background:var(--surface-2)!important;
  border-color:color-mix(in srgb,var(--brand) 28%,var(--line))!important;
}
body.ie-shell .muted,body.ie-shell small{color:var(--muted)}
body.ie-shell hr{border-color:var(--line)!important}

/* Paneles flotantes de usuario y avisos */
body.ie-shell .access-panel-v90 a,
body.ie-shell .access-panel-v90 button,
body.ie-shell .access-panel-v89 a,
body.ie-shell .access-panel-v89 button{background:var(--surface)!important;color:var(--text)!important}
body.ie-shell .access-panel-v90 a:hover,
body.ie-shell .access-panel-v90 button:hover,
body.ie-shell .access-panel-v89 a:hover,
body.ie-shell .access-panel-v89 button:hover,
body.ie-shell .top-bell-item-v90:hover{background:var(--surface-2)!important}
body.ie-shell .access-section-v90,
body.ie-shell .access-panel-head-v90,
body.ie-shell .top-bell-head-v90,
body.ie-shell .access-panel-v90 form{border-color:var(--line)!important}
html[data-theme="dark"] body.ie-shell .access-role-list-v90 span,
html[data-theme="dark"] body.ie-shell .access-count-v90,
html[data-theme="dark"] body.ie-shell .top-bell-item-v90>span,
html[data-theme="dark"] body.ie-shell .top-bell-item-v90 em{background:color-mix(in srgb,var(--brand) 16%,var(--surface-2))!important;color:var(--nav-active-text)!important}

/* ---------- NAVEGACIÓN ADMIN / USUARIO ---------- */
.ie-side-menu,
.event-workspace-body .event-manager-nav{
  background:var(--nav-bg)!important;
  color:var(--nav-fg)!important;
  border-right:1px solid var(--nav-line)!important;
  box-shadow:var(--nav-shadow)!important;
}
.ie-side-menu a,.event-workspace-body .event-manager-nav a{color:var(--nav-fg)!important}
.ie-side-menu .sidebar-brand,
.event-workspace-body .event-sidebar-head,
.event-workspace-body .event-mini-card,
.ie-side-menu .sidebar-footer,
.event-workspace-body .event-manager-tools{border-color:var(--nav-line)!important}
.ie-side-menu .sidebar-brand a{color:var(--nav-fg)!important}
.ie-side-menu .sidebar-group-title,
.ie-side-menu .event-nav-group-v184,
.event-workspace-body .event-nav-group-v184{
  color:var(--nav-muted)!important;
  opacity:1!important;
  letter-spacing:.085em!important;
  font-size:10px!important;
  font-weight:850!important;
}
.sidebar-link,
.event-workspace-body .event-manager-nav a,
.event-workspace-body .event-tool{
  color:var(--nav-fg)!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  box-shadow:none!important;
  transform:none!important;
}
.sidebar-link:hover,
.event-workspace-body .event-manager-nav a:hover,
.event-workspace-body .event-tool:hover{
  background:var(--nav-hover)!important;
  border-color:var(--nav-line)!important;
  color:var(--nav-fg)!important;
  transform:none!important;
}
.sidebar-link.active,
.event-workspace-body .event-manager-nav a.active{
  background:var(--nav-active)!important;
  color:var(--nav-active-text)!important;
  border-color:color-mix(in srgb,var(--brand) 20%,var(--nav-line))!important;
  box-shadow:inset 3px 0 0 var(--brand)!important;
}
.sidebar-link.active .sidebar-label small{color:var(--nav-muted)!important}
.sidebar-label small,.event-workspace-body .event-mini-card small{color:var(--nav-muted)!important}
.sidebar-icon,.nav-ico{
  width:30px!important;height:30px!important;min-width:30px!important;
  border-radius:8px!important;
  border:1px solid var(--nav-line)!important;
  background:transparent!important;
  color:var(--nav-muted)!important;
  box-shadow:none!important;
}
.sidebar-link.active .sidebar-icon,.event-workspace-body .event-manager-nav a.active .nav-ico{
  color:var(--nav-active-text)!important;
  background:color-mix(in srgb,var(--brand) 7%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--brand) 24%,var(--nav-line))!important;
}
.sidebar-icon svg,.nav-ico svg{width:17px;height:17px;display:block;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.sidebar-close,.event-sidebar-head button{
  background:transparent!important;color:var(--nav-muted)!important;border:1px solid var(--nav-line)!important;border-radius:9px!important;
}
.sidebar-close:hover,.event-sidebar-head button:hover{background:var(--nav-hover)!important;color:var(--nav-fg)!important}
.brand-mark{
  background:var(--surface)!important;
  color:var(--brand)!important;
  border:1px solid var(--line)!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .brand-mark{background:var(--surface-2)!important;border-color:var(--line)!important}
.sidebar-logout{
  background:transparent!important;color:var(--nav-fg)!important;border-color:var(--nav-line)!important;border-radius:10px!important;
}
.sidebar-logout:hover{background:var(--nav-hover)!important}

/* Cabecera admin / usuario */
.admin-body{background:var(--bg)!important;color:var(--text)!important}
.admin-header,.event-workspace-topbar{
  background:color-mix(in srgb,var(--topbar-bg) 96%,transparent)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
  box-shadow:0 1px 0 var(--line)!important;
}
.admin-header .header-roles span{background:var(--surface-2)!important;color:var(--muted)!important;border:1px solid var(--line)!important}

/* ---------- GESTOR DE EVENTO ---------- */
.event-workspace-body{background:var(--bg)!important;color:var(--text)!important}
.event-workspace-body .event-manager-nav{
  top:var(--ie-topbar-h)!important;
  padding:14px 12px!important;
  width:286px!important;
}
.event-workspace-body .event-sidebar-head{padding:0 4px 12px!important;margin-bottom:8px!important}
.event-workspace-body .event-mini-card{padding:0 4px 13px!important;margin-bottom:8px!important}
.event-workspace-body .event-mini-card img{height:78px!important;border-radius:10px!important;border:1px solid var(--nav-line)!important;box-shadow:none!important}
.event-workspace-body .event-mini-card strong{font-size:13px!important;letter-spacing:.01em}
.event-workspace-body .event-manager-links-v184{gap:2px!important}
.event-workspace-body .event-nav-group-v184{padding:13px 8px 5px!important}
.event-workspace-body .event-manager-nav a,.event-workspace-body .event-tool{min-height:44px!important;padding:8px 9px!important;gap:10px!important}
.event-workspace-body .event-manager-nav .nav-label{font-weight:780!important;font-size:13px!important}
.event-workspace-body .event-manager-tools{padding-top:10px!important;gap:5px!important}
.event-workspace-body .event-workspace-heading,.event-workspace-body .event-manager-content{
  margin-left:320px!important;
  width:min(1220px,calc(100vw - 360px))!important;
}
@media(max-width:1100px){
  .event-workspace-body .event-manager-nav{width:min(286px,92vw)!important}
  .event-workspace-body .event-workspace-heading,.event-workspace-body .event-manager-content{margin-left:0!important;width:100%!important}
}

/* ---------- NAVEGACIÓN PÚBLICA: DIFERENTE Y MÁS EDITORIAL ---------- */
body.public-body{background:var(--bg)!important;color:var(--text)!important}
body.public-body .public-sidebar{
  width:318px!important;
  padding:18px 16px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  border-right:1px solid var(--line)!important;
  box-shadow:20px 0 55px rgba(15,23,42,.13)!important;
  gap:12px!important;
}
html[data-theme="dark"] body.public-body .public-sidebar{box-shadow:20px 0 55px rgba(0,0,0,.28)!important}
body.public-body .public-sidebar-head{
  min-height:58px!important;padding:0 2px 13px!important;border-bottom:1px solid var(--line)!important;
}
body.public-body .public-sidebar-head .sidebar-logo{max-width:156px;max-height:50px;object-fit:contain;object-position:left center}
body.public-body .public-sidebar-head button{
  background:transparent!important;color:var(--muted)!important;border:1px solid var(--line)!important;border-radius:9px!important;
}
body.public-body .public-sidebar>.muted{color:var(--muted)!important;font-size:12px!important;line-height:1.5;margin:2px 4px 6px!important}
body.public-body .public-sidebar-nav{display:grid!important;gap:2px!important;padding:0!important}
body.public-body .public-sidebar-section{
  margin:11px 0 3px!important;padding:7px 9px 3px!important;color:var(--muted)!important;font-size:10px!important;letter-spacing:.085em!important;font-weight:850!important;opacity:1!important;
}
body.public-body .public-sidebar-nav>a,
body.public-body .public-sidebar-nav>button:not(.public-sidebar-request-v152){
  min-height:42px!important;padding:9px 10px!important;border:1px solid transparent!important;border-radius:8px!important;
  background:transparent!important;color:var(--text)!important;font-size:13.5px!important;font-weight:720!important;box-shadow:none!important;gap:0!important;
}
body.public-body .public-sidebar-nav>a:hover,
body.public-body .public-sidebar-nav>button:not(.public-sidebar-request-v152):hover{
  background:var(--surface-2)!important;border-color:var(--line)!important;color:var(--text)!important;transform:none!important;
}
body.public-body .public-sidebar-nav>a.active{
  background:color-mix(in srgb,var(--brand) 7%,var(--surface))!important;
  color:var(--brand)!important;
  border-color:color-mix(in srgb,var(--brand) 18%,var(--line))!important;
  box-shadow:inset 3px 0 0 var(--brand)!important;
}
/* Quita el doble icono/emoji heredado del menú público. */
body.public-body .public-sidebar-nav>a::before{content:none!important;display:none!important}
body.public-body .public-sidebar-nav>a>span:first-child,
body.public-body .public-sidebar-nav>button>span:first-child{display:none!important}
body.public-body .public-sidebar-request-v152{
  margin:10px 0 2px!important;min-height:44px!important;border-radius:9px!important;font-size:13px!important;font-weight:780!important;
}
body.public-body .public-sidebar-overlay{background:rgba(10,14,20,.36)!important;backdrop-filter:blur(2px)}

/* Topbar pública */
body.public-body .modern-public-topbar-v116,
body.public-body .modern-public-topbar-v116.is-scrolled{
  background:color-mix(in srgb,var(--topbar-bg) 96%,transparent)!important;
  border-color:var(--line)!important;
  box-shadow:0 1px 0 var(--line)!important;
}
body.public-body .public-desktop-nav-v116 a,
body.public-body .public-desktop-nav-v116 button{color:var(--muted)!important}
body.public-body .public-desktop-nav-v116 a:hover,
body.public-body .public-desktop-nav-v116 a.active,
body.public-body .public-desktop-nav-v116 button:hover{
  background:color-mix(in srgb,var(--brand) 7%,var(--surface))!important;
  color:var(--brand)!important;
  transform:none!important;
}
body.public-body .public-brand-v116{color:var(--text)!important}
body.public-body .public-brand-v116 .brand-img{box-shadow:none!important;border:1px solid var(--line)!important;border-radius:10px!important}

/* Fondo público más institucional; conserva identidad sin círculos llamativos. */
body.public-body{
  background:linear-gradient(180deg,var(--bg),color-mix(in srgb,var(--surface-2) 62%,var(--bg)))!important;
}
body.public-body::before{
  background-image:linear-gradient(color-mix(in srgb,var(--line) 50%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--line) 50%,transparent) 1px,transparent 1px)!important;
  opacity:.42!important;
}
body.public-body .public-bg-v116 span{opacity:.14!important;filter:blur(10px)!important}
html[data-theme="dark"] body.public-body .public-bg-v116 span{opacity:.10!important}

/* Superficies públicas heredadas con colores fijos */
body.public-body .home-institution-strip article,
body.public-body .expertise-showcase-v116,
body.public-body .expertise-card-v116,
body.public-body .events-search-v91,
body.public-body .event-feature-panel-v91,
body.public-body .membership-plan-v118,
body.public-body .service-card-v118,
body.public-body .committee-mini-v71,
body.public-body .post-card-v70,
body.public-body .event-list-card-v91,
body.public-body .public-image-card,
body.public-body .agenda-feature-v71{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--text)!important;
}
body.public-body .expertise-head-v116 h2,
body.public-body .expertise-card-v116 h3,
body.public-body .home-institution-strip h3{color:var(--text)!important}
body.public-body .modern-public-actions-v116 .btn.soft,
body.public-body .home-v21 .btn.soft{
  background:var(--surface-2)!important;
  color:var(--brand)!important;
  border-color:var(--line)!important;
}
body.public-body .site-footer{background:var(--footer-bg)!important;color:var(--text)!important;border-top:1px solid var(--line)!important}
body.public-body .site-footer::before{display:none!important}
body.public-body .site-footer h3,body.public-body .site-footer h4{color:var(--text)!important}
body.public-body .site-footer p,body.public-body .site-footer a,body.public-body .site-footer .muted{color:var(--muted)!important}
body.public-body .site-footer a:hover{color:var(--text)!important}
body.public-body .footer-bottom{border-color:var(--line)!important;color:var(--muted)!important}

/* ---------- SELECTOR DE APARIENCIA ---------- */
.theme-switcher-v186{position:relative;display:inline-flex;z-index:1750}
.theme-switcher-v186>summary{list-style:none;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;cursor:pointer}
.theme-switcher-v186>summary::-webkit-details-marker{display:none}
.theme-switcher-v186>summary:hover{background:var(--surface-2);border-color:color-mix(in srgb,var(--brand) 22%,var(--line))}
.theme-switcher-v186>summary svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-switcher-panel-v186{position:absolute;right:0;top:calc(100% + 9px);width:230px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 58px rgba(15,23,42,.15);display:grid;gap:4px}
html[data-theme="dark"] .theme-switcher-panel-v186{box-shadow:0 20px 58px rgba(0,0,0,.32)}
.theme-switcher-panel-v186>span{padding:7px 9px 5px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:850}
.theme-switcher-panel-v186 button{appearance:none;border:1px solid transparent;background:transparent;color:var(--text);border-radius:9px;padding:9px 10px;text-align:left;cursor:pointer;font:inherit;display:grid;gap:1px}
.theme-switcher-panel-v186 button strong{font-size:13px}.theme-switcher-panel-v186 button small{font-size:11px;color:var(--muted)}
.theme-switcher-panel-v186 button:hover{background:var(--surface-2);border-color:var(--line)}
.theme-switcher-panel-v186 button.is-active{background:color-mix(in srgb,var(--brand) 8%,var(--surface));border-color:color-mix(in srgb,var(--brand) 20%,var(--line));color:var(--brand)}
.theme-switcher-sidebar-v186{margin:4px 0 8px}
.theme-switcher-sidebar-v186 .theme-switcher-v186{width:100%}
.theme-switcher-sidebar-v186 .theme-switcher-v186>summary{width:100%;height:40px;display:flex;justify-content:flex-start;gap:9px;padding:0 10px;color:var(--nav-fg);background:transparent;border-color:var(--nav-line)}
.theme-switcher-sidebar-v186 .theme-switcher-v186>summary::after{content:'Apariencia';font-size:12px;font-weight:760}
.theme-switcher-sidebar-v186 .theme-switcher-panel-v186{left:0;right:auto;bottom:calc(100% + 8px);top:auto;width:100%;min-width:220px}

/* ---------- MÓVIL ---------- */
@media(max-width:1040px){
  .admin-header-actions .theme-switcher-v186{display:none}
  .sidebar-footer .theme-switcher-sidebar-v186{display:block}
}
@media(min-width:1041px){.sidebar-footer .theme-switcher-sidebar-v186{display:none}}
@media(max-width:900px){
  body.public-body .modern-public-actions-v116>.theme-switcher-v186{display:none}
  body.public-body .public-sidebar .theme-switcher-sidebar-v186{display:block}
}
@media(min-width:901px){body.public-body .public-sidebar .theme-switcher-sidebar-v186{display:none}}
@media(max-width:760px){
  body.public-body .public-sidebar{width:min(318px,92vw)!important}
  .theme-switcher-panel-v186{width:210px}
}

/* ---------- CIERRE DE CONSISTENCIA v186 ---------- */
/* El pie también sigue la apariencia: en claro es una superficie institucional, no una franja negra. */
html[data-theme="light"] body.ie-shell .site-footer,
html[data-theme="light"] body.ie-shell .footer-preview{
  background:color-mix(in srgb,var(--surface-2) 96%,var(--brand) 4%)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}
html[data-theme="dark"] body.ie-shell .site-footer,
html[data-theme="dark"] body.ie-shell .footer-preview{
  background:color-mix(in srgb,var(--ie-footer-base,#0e1525) 42%,#11161c 58%)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}

/* Elementos heredados del panel administrativo que tenían blanco fijo. */
.admin-body .admin-filterbar-v158,
.admin-body .admin-smart-table-v158,
.admin-body .admin-pagination-v158,
.admin-body .admin-row-actions-v158 select,
.admin-body .row-actions.compact select,
.admin-body .admin-filterbar-v158 input,
.admin-body .admin-filterbar-v158 select{
  background:var(--surface)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
.admin-body .admin-smart-table-v158 th,
.admin-body .admin-responsive-cards-v158 td.admin-id-cell-v158,
.admin-body .admin-responsive-cards-v158 td.admin-actions-cell-v158{
  background:var(--surface-2)!important;
  color:var(--muted)!important;
  border-color:var(--line)!important;
}
.admin-body .admin-smart-table-v158 td{color:var(--text)!important;border-color:var(--line)!important}
.admin-body .admin-responsive-table-v158 tbody tr:hover{background:var(--surface-2)!important}

/* Gestor de evento: todas sus tarjetas y bloques operativos siguen el tema. */
.event-workspace-body .event-control-kpis-v184 article,
.event-workspace-body .event-program-kpis-v184 article,
.event-workspace-body .event-module-card-v184,
.event-workspace-body .event-operational-phases-v184 article,
.event-workspace-body .event-system-pages-v184>a,
.event-workspace-body .event-public-module-card-v184,
.event-workspace-body .event-ops-details-v184,
.event-workspace-body .event-room-grid-v184 article{
  background:var(--surface)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
}
.event-workspace-body .event-operational-phases-v184 article,
.event-workspace-body .event-system-pages-v184>a,
.event-workspace-body .event-ops-details-v184{background:var(--surface-2)!important}
.event-workspace-body .event-module-card-v184.is-ready{
  border-color:color-mix(in srgb,var(--ok) 32%,var(--line))!important;
  background:color-mix(in srgb,var(--ok) 5%,var(--surface))!important;
}
.event-workspace-body .event-module-card-v184.is-attention{
  border-color:color-mix(in srgb,var(--warn) 34%,var(--line))!important;
  background:color-mix(in srgb,var(--warn) 6%,var(--surface))!important;
}
.event-workspace-body .event-module-count-v184,
.event-workspace-body .event-system-pages-v184 b{
  background:color-mix(in srgb,var(--brand) 8%,var(--surface-2))!important;
  color:var(--brand)!important;
}
.event-workspace-body .event-operational-phases-v184 article>b{
  background:color-mix(in srgb,var(--brand) 12%,var(--surface-2))!important;
  color:var(--brand)!important;
  border:1px solid color-mix(in srgb,var(--brand) 22%,var(--line))!important;
}
.event-workspace-body .event-operational-phases-v184 p,
.event-workspace-body .event-system-pages-v184 small,
.event-workspace-body .event-auto-dates-v184 td small,
.event-workspace-body .event-program-table-v184 td small,
.event-workspace-body .event-submissions-table-v184 td small,
.event-workspace-body .event-room-grid-v184 article small{color:var(--muted)!important}

/* Estados legibles en ambos modos sin paletas estridentes. */
.admin-body .admin-state-v158.is-success{background:color-mix(in srgb,var(--ok) 10%,var(--surface))!important;border-color:color-mix(in srgb,var(--ok) 28%,var(--line))!important;color:color-mix(in srgb,var(--ok) 82%,var(--text))!important}
.admin-body .admin-state-v158.is-warning{background:color-mix(in srgb,var(--warn) 10%,var(--surface))!important;border-color:color-mix(in srgb,var(--warn) 28%,var(--line))!important;color:color-mix(in srgb,var(--warn) 82%,var(--text))!important}
.admin-body .admin-state-v158.is-info{background:color-mix(in srgb,var(--brand) 9%,var(--surface))!important;border-color:color-mix(in srgb,var(--brand) 26%,var(--line))!important;color:var(--brand)!important}
.admin-body .admin-state-v158.is-danger{background:color-mix(in srgb,var(--bad) 10%,var(--surface))!important;border-color:color-mix(in srgb,var(--bad) 28%,var(--line))!important;color:color-mix(in srgb,var(--bad) 82%,var(--text))!important}
.admin-body .admin-state-v158.is-neutral{background:var(--surface-2)!important;border-color:var(--line)!important;color:var(--muted)!important}

/* Iconografía superior coherente: SVG monocromático en lugar de emoji. */
.formal-top-icon-v186,.formal-notice-icon-v186{display:grid!important;place-items:center!important;color:var(--muted)!important}
.formal-top-icon-v186 svg,.formal-notice-icon-v186 svg{width:17px;height:17px;display:block;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.top-bell-btn-v90 .formal-top-icon-v186{width:20px;height:20px}
.top-bell-item-v90 .formal-notice-icon-v186{width:30px!important;height:30px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--surface-2)!important}
.access-pwa-state-v94 .formal-top-icon-v186{width:24px;height:24px}

/* Apariencia del gestor: selector en cabecera; en el lateral queda como alternativa compacta. */
.event-workspace-actions-v186{margin-left:auto;display:flex;align-items:center;padding-right:16px}
.event-theme-sidebar-v186{padding:7px 4px 2px}
@media(min-width:1101px){.event-theme-sidebar-v186{display:none}}
@media(max-width:760px){.event-workspace-actions-v186{padding-right:8px}.event-workspace-title{min-width:0}.event-workspace-title small{display:none}}

/* Ajustes de navegación institucional: menos volumen visual y mejor lectura. */
.admin-sidebar{width:292px!important}
.admin-content{margin-left:0!important}
.sidebar-brand{padding:15px 16px!important}
.sidebar-nav{padding:10px 11px 16px!important}
.sidebar-group{margin-bottom:12px!important}
.sidebar-group-title{padding:10px 10px 5px!important}
.sidebar-link{min-height:46px!important;padding:7px 8px!important;gap:10px!important}
.sidebar-label strong{font-size:13px!important;font-weight:760!important}
.sidebar-label small{font-size:10.5px!important;line-height:1.28!important;font-weight:520!important}
@media(max-width:1080px){.admin-content{margin-left:0!important}.admin-sidebar{width:min(292px,92vw)!important}}

/* Menú público: no comparte la estética del admin; es un índice editorial sin iconos decorativos. */
body.public-body .public-sidebar .theme-switcher-sidebar-v186{border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:4px}
body.public-body .public-sidebar-nav>a,
body.public-body .public-sidebar-nav>button:not(.public-sidebar-request-v152){font-weight:680!important;letter-spacing:.002em!important}
body.public-body .public-sidebar-section{font-weight:800!important}


/* ========================================================================
   v187 · Corrección de composición administrativa
   El lateral administrativo es superpuesto. Por ello el contenido nunca debe
   reservar un segundo ancho de sidebar ni combinar margin-left con centrado.
   ======================================================================== */
.admin-body .admin-layout,
.user-panel-body .admin-layout{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:100vh!important;
}
.admin-body .admin-content,
.user-panel-body .admin-content,
.admin-body.sidebar-collapsed .admin-content,
.user-panel-body.sidebar-collapsed .admin-content{
  margin-left:0!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:0!important;
}
.admin-body .admin-header,
.user-panel-body .admin-header{
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.admin-body .admin-container,
.admin-body.sidebar-collapsed .admin-container,
.user-panel-body .admin-container,
.user-panel-body .user-container,
.user-panel-body.sidebar-collapsed .admin-container{
  box-sizing:border-box!important;
  width:min(1320px,calc(100vw - 48px))!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding:28px 0 56px!important;
}

/* El panel de administración comparte una única rejilla y eje de alineación. */
.admin-dashboard-v187{display:grid;gap:24px;min-width:0;width:100%}
.admin-dashboard-v187 .admin-dashboard-head-v187{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:20px!important;
  margin:0!important;
  min-width:0!important;
}
.admin-dashboard-v187 .admin-dashboard-head-copy-v187{min-width:0;max-width:820px}
.admin-dashboard-v187 .admin-dashboard-head-v187 h1{
  margin:0!important;
  font-size:clamp(28px,3vw,38px)!important;
  line-height:1.04!important;
  letter-spacing:-.045em!important;
}
.admin-dashboard-v187 .admin-dashboard-head-v187 p{margin:8px 0 0!important;max-width:760px!important}
.admin-dashboard-v187 .admin-dashboard-head-v187 .admin-actions{
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  flex:none!important;
}
.admin-dashboard-v187 .admin-dashboard-head-v187 .admin-actions .btn{white-space:nowrap!important}

/* 7 indicadores: 4 en la primera fila y 3 equilibrados en la segunda. */
.admin-dashboard-kpis-v187{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:16px!important;
  margin:0!important;
  width:100%!important;
}
.admin-dashboard-kpis-v187>.admin-dashboard-kpi-v187{
  grid-column:span 3!important;
  min-width:0!important;
  min-height:118px!important;
  padding:18px 20px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  border-radius:18px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
}
.admin-dashboard-kpis-v187>.admin-dashboard-kpi-v187:nth-child(n+5){grid-column:span 4!important}
.admin-dashboard-kpi-v187 .badge{
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  background:color-mix(in srgb,var(--brand) 7%,var(--surface-2))!important;
  color:var(--brand)!important;
  border:1px solid color-mix(in srgb,var(--brand) 12%,var(--line))!important;
  font-size:11px!important;
  letter-spacing:.005em!important;
}
.admin-dashboard-kpi-v187 strong{
  display:block!important;
  margin:0!important;
  font-size:clamp(28px,2.6vw,36px)!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
  color:var(--text)!important;
}

.admin-dashboard-modules-v187{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  margin:0!important;
  width:100%!important;
}
.admin-dashboard-module-v187{
  min-width:0!important;
  min-height:184px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  padding:20px!important;
  border-radius:18px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
}
.admin-dashboard-module-v187 h3{margin:0 0 8px!important;font-size:17px!important}
.admin-dashboard-module-v187 p{margin:0 0 18px!important;line-height:1.55!important;flex:1}
.admin-dashboard-module-v187 .btn{margin-top:auto!important}

/* Oscuro: elimina sombras lechosas heredadas y conserva la misma geometría. */
html[data-theme="dark"] .admin-dashboard-kpis-v187>.admin-dashboard-kpi-v187,
html[data-theme="dark"] .admin-dashboard-module-v187{box-shadow:0 10px 28px rgba(0,0,0,.16)!important}

/* Pantallas intermedias: no queda ningún ancho fantasma al abrir/cerrar menú. */
@media(max-width:1180px){
  .admin-body .admin-container,
  .admin-body.sidebar-collapsed .admin-container,
  .user-panel-body .admin-container,
  .user-panel-body .user-container,
  .user-panel-body.sidebar-collapsed .admin-container{
    width:min(calc(100% - 36px),1080px)!important;
  }
  .admin-dashboard-kpis-v187{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .admin-dashboard-kpis-v187>.admin-dashboard-kpi-v187,
  .admin-dashboard-kpis-v187>.admin-dashboard-kpi-v187:nth-child(n+5){grid-column:auto!important}
  .admin-dashboard-modules-v187{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .admin-body .admin-container,
  .admin-body.sidebar-collapsed .admin-container,
  .user-panel-body .admin-container,
  .user-panel-body .user-container,
  .user-panel-body.sidebar-collapsed .admin-container{
    width:calc(100vw - 28px)!important;
    padding:20px 0 40px!important;
  }
  .admin-dashboard-v187{gap:18px!important}
  .admin-dashboard-v187 .admin-dashboard-head-v187{display:grid!important;gap:14px!important}
  .admin-dashboard-v187 .admin-dashboard-head-v187 .admin-actions{justify-content:flex-start!important;width:100%!important}
  .admin-dashboard-kpis-v187,
  .admin-dashboard-modules-v187{grid-template-columns:1fr!important;gap:12px!important}
  .admin-dashboard-kpis-v187>.admin-dashboard-kpi-v187{min-height:102px!important}
  .admin-dashboard-module-v187{min-height:0!important}
}


/* ========================================================================
   v188 · Registro guiado, ubicaciones, temas completos y toasts coherentes
   ======================================================================== */
.account-register-v188{width:min(1120px,calc(100% - 32px));margin:34px auto 58px;display:grid;gap:18px}
.account-register-head-v188{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:0 2px}
.account-register-head-v188 h1{margin:5px 0 8px;font-size:clamp(28px,3.1vw,42px);line-height:1.05;letter-spacing:-.035em;color:var(--text)}
.account-register-head-v188 p{max-width:760px;margin:0;color:var(--muted);line-height:1.55}
.eyebrow-v188{display:inline-flex;padding:5px 9px;border-radius:999px;border:1px solid color-mix(in srgb,var(--brand) 18%,var(--line));background:color-mix(in srgb,var(--brand) 7%,var(--surface));color:var(--brand);font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.account-register-shell-v188{display:grid;grid-template-columns:270px minmax(0,1fr);gap:0;overflow:visible;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 18px 54px color-mix(in srgb,var(--text) 8%,transparent)}
.account-register-progress-v188{padding:24px;border-right:1px solid var(--line);background:var(--surface-2);border-radius:22px 0 0 22px}
.account-register-steps-v188{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.account-register-steps-v188 li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border-radius:13px;color:var(--muted)}
.account-register-steps-v188 li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;border:1px solid var(--line);background:var(--surface);font-size:12px;font-weight:900;color:var(--muted)}
.account-register-steps-v188 li strong{display:block;color:inherit;font-size:13px}.account-register-steps-v188 li small{display:block;margin-top:2px;font-size:10.5px;line-height:1.25;color:inherit}
.account-register-steps-v188 li.is-active{background:color-mix(in srgb,var(--brand) 8%,var(--surface));color:var(--text)}
.account-register-steps-v188 li.is-active>span{background:var(--brand);border-color:var(--brand);color:var(--brand-contrast)}
.account-register-steps-v188 li.is-complete{color:var(--text)}.account-register-steps-v188 li.is-complete>span{border-color:color-mix(in srgb,var(--ok) 34%,var(--line));background:color-mix(in srgb,var(--ok) 10%,var(--surface));color:var(--ok)}
.account-register-note-v188{margin-top:20px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:12px}.account-register-note-v188 p{margin:5px 0 0;color:var(--muted);line-height:1.45}
.account-register-form-v188{min-width:0;padding:28px 30px 22px}.account-register-panel-v188{min-height:330px}.account-register-panel-v188[hidden]{display:none!important}
.account-step-title-v188{padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--line)}.account-step-title-v188>span{font-size:11px;font-weight:900;color:var(--brand);letter-spacing:.04em;text-transform:uppercase}.account-step-title-v188 h2{margin:4px 0 6px;font-size:24px;color:var(--text)}.account-step-title-v188 p{margin:0;color:var(--muted);line-height:1.5}
.account-register-form-v188 label{font-weight:760!important;color:var(--text)!important}.account-register-form-v188 input,.account-register-form-v188 select,.account-register-form-v188 textarea{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important;min-height:44px}.account-register-form-v188 input::placeholder,.account-register-form-v188 textarea::placeholder{color:color-mix(in srgb,var(--muted) 74%,transparent)}
.account-password-v188{position:relative}.account-password-v188 input{width:100%;padding-right:62px!important}.account-password-v188 button{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--brand);font-weight:850;cursor:pointer;padding:7px}
.account-geo-grid-v188{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.account-country-v188{grid-column:auto}.account-geo-help-v188{margin-top:16px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.account-geo-help-v188 p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.account-terms-v188{margin-top:18px!important;padding:13px 14px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface-2)!important;align-items:flex-start!important}.account-terms-v188 span{font-weight:600;line-height:1.45;color:var(--text)}
.account-register-actions-v188{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;margin-top:18px;border-top:1px solid var(--line)}.account-register-actions-end-v188{margin-left:auto;display:flex;align-items:center;gap:12px}.account-register-actions-end-v188>small{color:var(--muted);font-weight:750}

/* Autocompletado accesible de país/región/ciudad */
.smart-suggest-wrap{position:relative}.smart-suggest-menu{position:absolute;z-index:16020;left:0;right:0;top:calc(100% + 6px);max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:0 18px 45px color-mix(in srgb,var(--text) 16%,transparent);padding:5px}.smart-suggest-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;color:var(--text);text-align:left;padding:9px 10px;border-radius:9px;cursor:pointer;font:inherit}.smart-suggest-item:hover,.smart-suggest-item.is-active{background:color-mix(in srgb,var(--brand) 8%,var(--surface));color:var(--brand)}.smart-suggest-item strong{font-size:12.5px}.smart-suggest-item small{font-size:10.5px;color:var(--muted);font-weight:650}.smart-suggest-empty{padding:10px;color:var(--muted);font-size:12px}

/* Toasts globales: completos, legibles y fuera de bordes/sidebars. */
.toast-stack{position:fixed!important;z-index:18000!important;top:max(84px,calc(env(safe-area-inset-top) + 16px))!important;right:max(18px,env(safe-area-inset-right))!important;bottom:auto!important;left:auto!important;width:min(430px,calc(100vw - 36px))!important;display:grid!important;gap:10px!important;pointer-events:none!important;margin:0!important;padding:0!important;overflow:visible!important}
.toast-stack .toast{pointer-events:auto!important;position:relative!important;width:100%!important;max-width:100%!important;min-height:64px!important;display:grid!important;grid-template-columns:5px minmax(0,1fr) 34px!important;grid-template-rows:auto auto!important;column-gap:12px!important;align-items:start!important;padding:13px 10px 13px 14px!important;margin:0!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--surface)!important;color:var(--text)!important;box-shadow:0 18px 48px color-mix(in srgb,var(--text) 18%,transparent)!important;overflow:hidden!important;word-break:break-word!important;overflow-wrap:anywhere!important;animation:ie-toast-in .22s ease-out both}
.toast-stack .toast:before{content:"";grid-row:1/3;align-self:stretch;border-radius:6px;background:var(--brand)}.toast-stack .toast.success:before{background:var(--ok)}.toast-stack .toast.warning:before{background:var(--warn)}.toast-stack .toast.danger:before{background:var(--bad)}
.toast-stack .toast strong{grid-column:2;margin:0!important;color:var(--text)!important;font-size:13px!important;line-height:1.25!important}.toast-stack .toast span{grid-column:2;margin:2px 0 0!important;color:var(--muted)!important;font-size:12px!important;line-height:1.45!important;white-space:normal!important;max-width:none!important}.toast-stack .toast button[data-toast-close]{grid-column:3;grid-row:1/3;align-self:center;width:30px;height:30px;border:1px solid var(--line)!important;border-radius:9px!important;background:var(--surface-2)!important;color:var(--muted)!important;font-size:18px!important;line-height:1!important;cursor:pointer!important;padding:0!important}.toast-stack .toast.is-hiding{animation:ie-toast-out .28s ease-in forwards}@keyframes ie-toast-in{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}@keyframes ie-toast-out{to{opacity:0;transform:translateY(-6px) scale(.985)}}

/* Normalización final de modo oscuro: ninguna tarjeta pública debe quedar blanca por CSS heredado. */
html[data-theme="dark"] body.public-body :is(.public-card,.content-card,.event-content-card,.event-quick-guide-v182,.event-subpage-shell-v182,.event-section-card,.registration-panel-v76,.event-sidebar-summary-v182,.event-info-card,.public-panel,.card){background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-theme="dark"] body.public-body :is(.event-quick-guide-v182,.event-public-nav-v182,.event-subpage-nav-v182,.event-detail-nav,.public-topbar,.site-header){border-color:var(--line)!important}
html[data-theme="dark"] body.public-body :is(h1,h2,h3,h4,strong,b,.event-title,.public-card-title){color:var(--text)}
html[data-theme="dark"] body.public-body :is(p,li,small,.muted,.event-description){color:var(--muted)}
html[data-theme="dark"] body.public-body input,html[data-theme="dark"] body.public-body select,html[data-theme="dark"] body.public-body textarea{background:var(--surface-2)!important;color:var(--text)!important;border-color:var(--line)!important;color-scheme:dark}
html[data-theme="light"] body.public-body input,html[data-theme="light"] body.public-body select,html[data-theme="light"] body.public-body textarea{color-scheme:light}

/* Centro administrativo de ubicaciones */
.geo-admin-summary-v188{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.geo-admin-summary-v188>div{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}.geo-admin-summary-v188 strong{display:block;font-size:24px;color:var(--text)}.geo-admin-summary-v188 small{color:var(--muted);font-weight:700}
@media(max-width:850px){.account-register-shell-v188{grid-template-columns:1fr}.account-register-progress-v188{border-right:0;border-bottom:1px solid var(--line);border-radius:22px 22px 0 0}.account-register-steps-v188{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.account-register-steps-v188 li{grid-template-columns:1fr;text-align:center;padding:7px}.account-register-steps-v188 li>span{margin:auto}.account-register-steps-v188 li small{display:none}.account-register-note-v188{display:none}.account-register-form-v188{padding:24px}.account-geo-grid-v188{grid-template-columns:1fr}.geo-admin-summary-v188{grid-template-columns:1fr}}
@media(max-width:600px){.account-register-v188{width:calc(100% - 20px);margin:18px auto 36px}.account-register-head-v188{display:grid}.account-login-v188{width:max-content}.account-register-form-v188{padding:19px 16px}.account-register-steps-v188 li strong{font-size:10px}.account-register-actions-v188{position:sticky;bottom:0;background:var(--surface);z-index:20;padding:12px 0 2px}.account-register-actions-end-v188>small{display:none}.toast-stack{top:max(70px,calc(env(safe-area-inset-top) + 10px))!important;right:10px!important;width:calc(100vw - 20px)!important}}

/* ========================================================================
   v189 · cierre de registro + cache busting real + dark/light del evento
   ======================================================================== */

/* El atributo hidden debe ganar a las reglas globales de .btn. */
.account-register-actions-v188 [hidden],
.account-register-v188 [hidden]:not(.account-register-panel-v188){display:none!important}

/* Autofill del navegador: no usar el azul ajeno al tema institucional. */
body.ie-shell input:-webkit-autofill,
body.ie-shell input:-webkit-autofill:hover,
body.ie-shell input:-webkit-autofill:focus,
body.ie-shell textarea:-webkit-autofill,
body.ie-shell select:-webkit-autofill{
  -webkit-text-fill-color:var(--text)!important;
  caret-color:var(--text)!important;
  -webkit-box-shadow:0 0 0 1000px var(--surface) inset!important;
  box-shadow:0 0 0 1000px var(--surface) inset!important;
  border-color:var(--line)!important;
  transition:background-color 9999s ease-out 0s!important;
}

/* Registro: el wizard mantiene una geometría compacta y consistente. */
.account-register-v188{width:min(1080px,calc(100% - 36px));margin:28px auto 54px}
.account-register-head-v188{padding:0 1px 2px}
.account-register-shell-v188{box-shadow:0 16px 46px color-mix(in srgb,var(--text) 7%,transparent)}
.account-register-progress-v188{align-self:stretch}
.account-register-form-v188 .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.account-register-form-v188 .grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.account-register-form-v188 .grid{gap:14px}
.account-register-form-v188 label{min-width:0}
.account-register-form-v188 input,
.account-register-form-v188 select,
.account-register-form-v188 textarea{width:100%;box-shadow:none!important}
.account-register-form-v188 input:focus,
.account-register-form-v188 select:focus,
.account-register-form-v188 textarea:focus{
  border-color:color-mix(in srgb,var(--brand) 48%,var(--line))!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 10%,transparent)!important;
}
.account-register-actions-v188 .btn{min-width:112px;justify-content:center}
.account-register-actions-v188 [data-register-submit]{min-width:170px}

/* El menú de información del evento debe usar los tokens del tema, no blancos de app.css. */
body.public-body .event-public-menu,
body.public-body .event-public-menu-v148,
body.public-body .event-public-menu-v1594{
  background:color-mix(in srgb,var(--surface) 94%,transparent)!important;
  border-color:var(--line)!important;
  box-shadow:0 12px 30px color-mix(in srgb,var(--text) 7%,transparent)!important;
  color:var(--text)!important;
}
body.public-body .event-public-menu a,
body.public-body .event-public-menu-v148 a,
body.public-body .event-public-menu-v1594 a{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--muted)!important;
}
body.public-body .event-public-menu a:hover,
body.public-body .event-public-menu a.active,
body.public-body .event-public-menu a[aria-current="page"],
body.public-body .event-public-menu-v148 a:hover,
body.public-body .event-public-menu-v148 a.active,
body.public-body .event-public-menu-v1594 a:hover,
body.public-body .event-public-menu-v1594 a.active{
  background:color-mix(in srgb,var(--brand) 10%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--brand) 24%,var(--line))!important;
  color:var(--brand)!important;
}

/* Superficies propias del micrositio: todas siguen claro/oscuro. */
body.public-body .event-guide-v1594,
body.public-body .event-guide-actions-v1594>a,
body.public-body .event-at-glance-v1594,
body.public-body .event-system-page-v184,
body.public-body .event-subpage-cta-v184,
body.public-body .event-registration-hub-v1594,
body.public-body .event-payment-details-v1594,
body.public-body .event-payment-card-v128,
body.public-body .event-date-card-v1594,
body.public-body .regtype-card-v76{
  background:var(--surface)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}
body.public-body .event-guide-v1594{
  background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 7%,var(--surface)),var(--surface))!important;
}
body.public-body .event-date-card-v1594:not(.is-main),
body.public-body .event-payment-details-v1594>summary{
  background:var(--surface-2)!important;
  color:var(--text)!important;
}
body.public-body .event-subpage-cta-v184 span,
body.public-body .event-guide-copy-v1594 p,
body.public-body .event-guide-actions-v1594 small,
body.public-body .event-at-glance-v1594 small{color:var(--muted)!important}
html[data-theme="dark"] body.public-body .event-guide-v1594,
html[data-theme="dark"] body.public-body .event-at-glance-v1594,
html[data-theme="dark"] body.public-body .event-system-page-v184,
html[data-theme="dark"] body.public-body .event-subpage-cta-v184{
  box-shadow:0 14px 38px rgba(0,0,0,.18)!important;
}

/* Responsive del wizard: evita columnas anchas o botones desalineados. */
@media(max-width:900px){
  .account-register-shell-v188{grid-template-columns:1fr}
  .account-register-progress-v188{border-right:0;border-bottom:1px solid var(--line);border-radius:22px 22px 0 0;padding:16px 18px}
  .account-register-steps-v188{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .account-register-steps-v188 li{grid-template-columns:1fr;text-align:center;padding:8px 5px}
  .account-register-steps-v188 li>span{margin:auto}
  .account-register-steps-v188 li small{display:none}
  .account-register-note-v188{display:none}
}
@media(max-width:680px){
  .account-register-v188{width:calc(100% - 20px);margin:18px auto 36px}
  .account-register-head-v188{display:grid;gap:12px}
  .account-login-v188{width:max-content}
  .account-register-form-v188{padding:20px 16px 16px}
  .account-register-form-v188 .grid.two,
  .account-register-form-v188 .grid.three,
  .account-geo-grid-v188{grid-template-columns:1fr!important}
  .account-register-steps-v188 li strong{font-size:10px}
  .account-register-actions-v188{position:sticky;bottom:0;z-index:20;background:var(--surface);padding:12px 0 3px}
  .account-register-actions-end-v188{width:100%;justify-content:flex-end}
  .account-register-actions-end-v188>small{display:none}
  .account-register-actions-v188 .btn{min-width:0}
}

/* ========================================================================
   v190 · alineación integral del gestor de eventos + selector de intereses
   ======================================================================== */

/*
 * El gestor usa menú lateral superpuesto (hamburguesa). v189 volvió a
 * reservar 320 px a la izquierda aunque el menú estaba cerrado. Eso dejaba
 * un gran vacío, reducía tablas y hacía que varias tarjetas parecieran
 * descuadradas. v190 restablece un único eje centrado para todo el contenido.
 */
.event-workspace-body .event-workspace-container{
  box-sizing:border-box!important;
  width:min(1360px,calc(100vw - 48px))!important;
  max-width:1360px!important;
  margin:0 auto!important;
  padding:28px 0 64px!important;
}
.event-workspace-body .event-workspace-heading,
.event-workspace-body .event-manager-content,
body.event-sidebar-collapsed.event-workspace-body .event-workspace-heading,
body.event-sidebar-collapsed.event-workspace-body .event-manager-content{
  box-sizing:border-box!important;
  margin-left:0!important;
  margin-right:0!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

/* El lateral siempre es off-canvas y solo aparece al pulsar el menú. */
.event-workspace-body .event-manager-nav,
body.event-sidebar-collapsed.event-workspace-body .event-manager-nav{
  position:fixed!important;
  z-index:170!important;
  top:0!important;
  left:0!important;
  bottom:auto!important;
  width:var(--ie-side-w,292px)!important;
  max-width:92vw!important;
  height:100vh!important;
  transform:translateX(-106%)!important;
  transition:transform .22s ease!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.event-workspace-body.event-sidebar-open .event-manager-nav{transform:translateX(0)!important}
.event-workspace-body .event-sidebar-overlay{
  display:block!important;
  position:fixed!important;
  z-index:160!important;
  inset:0!important;
  background:rgba(15,23,42,.44)!important;
  opacity:0!important;
  pointer-events:none!important;
  transition:opacity .22s ease!important;
  backdrop-filter:blur(2px)!important;
}
.event-workspace-body.event-sidebar-open .event-sidebar-overlay{opacity:1!important;pointer-events:auto!important}

/* Cabecera: cuatro elementos reales = menú, identidad, título y apariencia. */
.event-workspace-body .event-workspace-topbar{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:44px minmax(210px,270px) minmax(0,1fr) auto!important;
  gap:16px!important;
  align-items:center!important;
  min-height:var(--ie-topbar-h,72px)!important;
  height:auto!important;
  padding:9px 22px!important;
}
.event-workspace-body .event-workspace-brand,
.event-workspace-body .event-workspace-title{min-width:0!important}
.event-workspace-body .event-workspace-brand strong,
.event-workspace-body .event-workspace-brand small,
.event-workspace-body .event-workspace-title strong,
.event-workspace-body .event-workspace-title small{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.event-workspace-body .event-workspace-actions-v186{
  grid-column:auto!important;
  justify-self:end!important;
  margin-left:0!important;
  padding-right:0!important;
  min-width:44px!important;
}

/* Secciones principales: una sola geometría, sin anchos implícitos. */
.event-workspace-body .workspace-section.card{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  padding:clamp(18px,2vw,26px)!important;
  border-radius:20px!important;
  overflow:visible!important;
}
.event-workspace-body .workspace-section>.section-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:18px!important;
  margin-bottom:18px!important;
}
.event-workspace-body .workspace-section>.section-head>div:first-child{min-width:0!important}
.event-workspace-body .workspace-section>.section-head h2{line-height:1.12!important;overflow-wrap:anywhere!important}
.event-workspace-body .workspace-section>.section-head p{max-width:920px!important;line-height:1.52!important}
.event-workspace-body .workspace-section>.section-head>.actions,
.event-workspace-body .workspace-section>.section-head>.btn{align-self:start!important;justify-self:end!important}

/* Guía de subpáginas: rich-editor-v183 aporta la base; estas reglas la alinean
 * con el resto del gestor y con claro/oscuro. */
.event-workspace-body .event-page-structure-v183{
  box-sizing:border-box!important;
  width:100%!important;
  margin:16px 0 20px!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}
.event-workspace-body .event-page-structure-head-v183{
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:18px!important;
}
.event-workspace-body .event-page-map-v183{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.event-workspace-body .event-page-map-item-v183{
  min-width:0!important;
  background:var(--surface-2)!important;
  color:var(--text)!important;
  border-color:var(--line)!important;
}
.event-workspace-body .event-page-map-title-v183{min-width:0!important}
.event-workspace-body .event-page-map-copy-v183 small{color:var(--muted)!important}
.event-workspace-body .event-page-structure-note-v183{
  background:var(--surface-2)!important;
  color:var(--muted)!important;
  border:1px solid var(--line)!important;
}
.event-workspace-body .event-page-structure-note-v183 strong{color:var(--text)!important}

/* Páginas dinámicas: tres tarjetas del mismo alto y sin desbordes. */
.event-workspace-body .event-system-pages-v184{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
.event-workspace-body .event-system-pages-v184>a{
  box-sizing:border-box!important;
  grid-template-columns:38px minmax(0,1fr) auto!important;
  min-width:0!important;
  min-height:92px!important;
  gap:12px!important;
  align-items:center!important;
  padding:14px 15px!important;
}
.event-workspace-body .event-system-pages-v184>a>span{
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  font-size:19px!important;
  border:1px solid var(--line)!important;
  border-radius:11px!important;
  background:var(--surface)!important;
}
.event-workspace-body .event-system-pages-v184>a>div{min-width:0!important}
.event-workspace-body .event-system-pages-v184 strong{overflow-wrap:anywhere!important}
.event-workspace-body .event-system-pages-v184 small{line-height:1.4!important}
.event-workspace-body .event-system-pages-v184 b{white-space:nowrap!important;align-self:center!important}

/* Tablas del gestor: acciones estables, texto flexible y scroll solo cuando
 * realmente hace falta. */
.event-workspace-body .table-wrap{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  border:1px solid var(--line)!important;
  border-radius:16px!important;
  background:var(--surface)!important;
}
.event-workspace-body .data-table{width:100%!important;min-width:0!important}
.event-workspace-body .data-table th,
.event-workspace-body .data-table td{box-sizing:border-box!important;vertical-align:middle!important}
.event-workspace-body .data-table th{background:var(--surface-2)!important;color:var(--muted)!important}
.event-workspace-body .data-table td{color:var(--text)!important}
.event-workspace-body .data-table td strong{overflow-wrap:anywhere!important}
.event-workspace-body .data-table td small{line-height:1.35!important;color:var(--muted)!important}
.event-workspace-body .row-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
.event-workspace-body .row-actions form{display:inline-flex!important;margin:0!important}
.event-workspace-body .row-actions .btn{white-space:nowrap!important}
.event-workspace-body .event-subpages-table-v190 th:first-child,
.event-workspace-body .event-subpages-table-v190 td:first-child{width:72px!important;text-align:center!important}
.event-workspace-body .event-subpages-table-v190 th:nth-child(2){width:30%!important}
.event-workspace-body .event-subpages-table-v190 th:nth-child(3){width:18%!important}
.event-workspace-body .event-subpages-table-v190 th:nth-child(4),
.event-workspace-body .event-subpages-table-v190 th:nth-child(5){width:12%!important}
.event-workspace-body .event-subpages-table-v190 th:last-child,
.event-workspace-body .event-subpages-table-v190 td:last-child{width:1%!important;white-space:nowrap!important}
.event-workspace-body .event-subpages-table-v190 td:last-child .row-actions{flex-wrap:nowrap!important}

/* Selector de intereses del registro. La persistencia sigue usando el mismo
 * campo `interests`, por lo que no exige migración ni cambia el backend. */
.account-interest-field-v190{display:grid;gap:7px;min-width:0;margin-top:4px}
.account-interest-label-v190{display:block;font-weight:760;color:var(--text);line-height:1.35}
.account-interest-label-v190 .muted-small{display:block;margin-top:3px;font-weight:600}
.account-interest-picker-v190{position:relative;min-width:0}
.account-interest-control-v190{
  box-sizing:border-box;
  min-height:46px;
  width:100%;
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  padding:6px 36px 6px 7px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  color:var(--text);
  cursor:text;
  transition:border-color .14s ease,box-shadow .14s ease;
}
.account-interest-picker-v190.is-open .account-interest-control-v190,
.account-interest-control-v190:focus-within{
  border-color:color-mix(in srgb,var(--brand) 48%,var(--line));
  box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 10%,transparent);
}
.account-interest-values-v190{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
.account-interest-tag-v190{
  display:inline-flex;
  align-items:center;
  gap:4px;
  max-width:220px;
  min-height:27px;
  padding:3px 5px 3px 9px;
  border:1px solid color-mix(in srgb,var(--brand) 18%,var(--line));
  border-radius:999px;
  background:color-mix(in srgb,var(--brand) 8%,var(--surface));
  color:var(--brand);
  font-size:11.5px;
  font-weight:800;
  line-height:1.2;
}
.account-interest-tag-v190>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-interest-tag-v190 button{
  width:20px;height:20px;display:grid;place-items:center;flex:0 0 20px;
  border:0;border-radius:999px;background:transparent;color:inherit;
  padding:0;cursor:pointer;font:inherit;font-size:15px;line-height:1;
}
.account-interest-tag-v190 button:hover{background:color-mix(in srgb,var(--brand) 12%,transparent)}
.account-register-form-v188 .account-interest-control-v190>input[data-interest-tags-input]{
  flex:1 1 170px!important;
  width:auto!important;
  min-width:150px!important;
  min-height:30px!important;
  height:30px!important;
  padding:3px 4px!important;
  margin:0!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
  color:var(--text)!important;
  font-weight:600!important;
}
.account-interest-arrow-v190{position:absolute;right:13px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;font-weight:900}
.account-interest-menu-v190{
  position:absolute;z-index:17000;left:0;right:0;top:calc(100% + 6px);
  max-height:240px;overflow:auto;padding:6px;
  border:1px solid var(--line);border-radius:13px;background:var(--surface);
  box-shadow:0 18px 46px color-mix(in srgb,var(--text) 16%,transparent);
}
.account-interest-menu-v190[hidden]{display:none!important}
.account-interest-menu-v190 button[data-interest-tags-option]{
  width:100%;display:flex;align-items:center;min-height:34px;padding:7px 9px;
  border:0;border-radius:9px;background:transparent;color:var(--text);
  text-align:left;cursor:pointer;font:inherit;font-size:12.5px;font-weight:720;
}
.account-interest-menu-v190 button[data-interest-tags-option]:hover,
.account-interest-menu-v190 button[data-interest-tags-option].is-active{background:color-mix(in srgb,var(--brand) 8%,var(--surface));color:var(--brand)}
.account-interest-menu-v190 button[data-interest-tags-option][aria-selected="true"]{display:none!important}
.account-interest-empty-v190{padding:9px 10px;color:var(--muted);font-size:12px;line-height:1.4}
.account-interest-help-v190{color:var(--muted);font-size:11px;font-weight:620;line-height:1.35}

@media(max-width:1100px){
  .event-workspace-body .event-workspace-container{width:min(100% - 32px,1360px)!important;padding-top:22px!important}
  .event-workspace-body .event-page-map-v183{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  .event-workspace-body .event-workspace-topbar{
    grid-template-columns:44px minmax(0,1fr) auto!important;
    gap:12px!important;
    padding:8px 14px!important;
  }
  .event-workspace-body .event-workspace-title{display:none!important}
  .event-workspace-body .event-workspace-brand{grid-column:2!important}
  .event-workspace-body .event-workspace-actions-v186{grid-column:3!important}
  .event-workspace-body .event-system-pages-v184{grid-template-columns:1fr!important}
  .event-workspace-body .workspace-section>.section-head{grid-template-columns:1fr!important}
  .event-workspace-body .workspace-section>.section-head>.actions,
  .event-workspace-body .workspace-section>.section-head>.btn{justify-self:start!important}
  .event-workspace-body .event-page-structure-head-v183{grid-template-columns:1fr!important}
  .event-workspace-body .event-content-kpis-v183{justify-content:flex-start!important;flex-wrap:wrap!important}
  .event-workspace-body .event-subpages-table-v190{min-width:820px!important}
}
@media(max-width:600px){
  .event-workspace-body .event-workspace-container{width:calc(100% - 20px)!important;padding:16px 0 42px!important}
  .event-workspace-body .workspace-section.card{padding:16px!important;border-radius:16px!important}
  .event-workspace-body .event-workspace-brand small{display:none!important}
  .account-interest-tag-v190{max-width:180px}
  .account-register-form-v188 .account-interest-control-v190>input[data-interest-tags-input]{flex-basis:130px!important;min-width:110px!important}
}


/* ---------- v191 · uniformidad de menús laterales ---------- */
body.ie-shell{
  --shell-nav-bg:linear-gradient(180deg,#0e1730 0%,#101b34 56%,#0b1428 100%);
  --shell-nav-line:rgba(255,255,255,.09);
  --shell-nav-soft:rgba(255,255,255,.05);
  --shell-nav-soft-2:rgba(255,255,255,.08);
  --shell-nav-text:#eff4ff;
  --shell-nav-muted:rgba(226,234,250,.72);
  --shell-nav-shadow:18px 0 44px rgba(9,16,33,.16);
}
html[data-theme="dark"] body.ie-shell{
  --shell-nav-bg:linear-gradient(180deg,#0a1120 0%,#0d1527 58%,#09111f 100%);
  --shell-nav-line:rgba(255,255,255,.07);
  --shell-nav-soft:rgba(255,255,255,.04);
  --shell-nav-soft-2:rgba(255,255,255,.07);
  --shell-nav-text:#f3f6fb;
  --shell-nav-muted:rgba(224,231,243,.68);
  --shell-nav-shadow:18px 0 48px rgba(0,0,0,.28);
}

.admin-sidebar,
.user-panel-body .admin-sidebar,
.event-workspace-body .event-manager-nav{
  background:var(--shell-nav-bg)!important;
  color:var(--shell-nav-text)!important;
  border-right:1px solid var(--shell-nav-line)!important;
  box-shadow:var(--shell-nav-shadow)!important;
}
.admin-sidebar,
.user-panel-body .admin-sidebar{width:296px!important}
.event-workspace-body .event-manager-nav{width:296px!important;padding:18px 16px!important}

.sidebar-brand,
.event-sidebar-head{
  min-height:64px!important;
  padding:2px 4px 16px!important;
  margin:0 0 2px!important;
  border-bottom:1px solid var(--shell-nav-line)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.sidebar-brand a,
.event-sidebar-head strong{
  color:var(--shell-nav-text)!important;
  font-size:1.15rem!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
.sidebar-close,
.event-sidebar-head button{
  width:38px!important;height:38px!important;min-width:38px!important;
  display:grid!important;place-items:center!important;
  background:rgba(255,255,255,.03)!important;
  border:1px solid var(--shell-nav-line)!important;
  color:var(--shell-nav-muted)!important;
  border-radius:12px!important;
}
.sidebar-close:hover,
.event-sidebar-head button:hover{background:var(--shell-nav-soft)!important;color:var(--shell-nav-text)!important}
.brand-mark{
  width:40px!important;height:40px!important;border-radius:14px!important;
  background:rgba(255,255,255,.96)!important;
  color:var(--brand)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 10px 24px rgba(10,16,30,.18)!important;
}
html[data-theme="dark"] .brand-mark{background:rgba(255,255,255,.09)!important;color:#fff!important;border-color:rgba(255,255,255,.08)!important;box-shadow:none!important}

.sidebar-nav,
.event-manager-links-v184{padding:10px 0 2px!important}
.sidebar-group{margin-bottom:10px!important}
.sidebar-group-title,
.event-nav-group-v184{
  padding:14px 10px 7px!important;
  margin:0!important;
  color:var(--shell-nav-muted)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
}
.sidebar-link,
.event-workspace-body .event-manager-nav a,
.event-workspace-body .event-tool,
.sidebar-logout{
  min-height:52px!important;
  padding:10px 12px!important;
  border-radius:16px!important;
  gap:12px!important;
  background:transparent!important;
  border:1px solid transparent!important;
  color:var(--shell-nav-text)!important;
  box-shadow:none!important;
}
.sidebar-link:hover,
.event-workspace-body .event-manager-nav a:hover,
.event-workspace-body .event-tool:hover,
.sidebar-logout:hover{
  background:var(--shell-nav-soft)!important;
  border-color:var(--shell-nav-line)!important;
  color:var(--shell-nav-text)!important;
}
.sidebar-link.active,
.event-workspace-body .event-manager-nav a.active{
  background:linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.07))!important;
  border-color:rgba(79,121,255,.34)!important;
  box-shadow:inset 3px 0 0 var(--brand),0 10px 22px rgba(7,12,24,.18)!important;
  color:#fff!important;
}
.sidebar-label strong{font-size:14px!important;color:inherit!important}
.sidebar-label small{
  margin-top:4px!important;
  font-size:11.5px!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.35!important;
  color:var(--shell-nav-muted)!important;
}
.sidebar-link.active .sidebar-label small{color:rgba(255,255,255,.84)!important}
.event-workspace-body .event-manager-nav .nav-label{font-size:13.5px!important;font-weight:820!important;line-height:1.35!important}
.sidebar-icon,
.nav-ico{
  width:36px!important;height:36px!important;min-width:36px!important;
  border-radius:12px!important;
  background:var(--shell-nav-soft)!important;
  border:1px solid var(--shell-nav-line)!important;
  color:var(--shell-nav-muted)!important;
  display:grid!important;place-items:center!important;
}
.sidebar-link.active .sidebar-icon,
.event-workspace-body .event-manager-nav a.active .nav-ico,
.event-workspace-body .event-tool:hover .nav-ico,
.sidebar-link:hover .sidebar-icon{
  background:var(--shell-nav-soft-2)!important;
  border-color:rgba(95,133,255,.36)!important;
  color:#fff!important;
}

.event-workspace-body .event-mini-card{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding:10px!important;
  margin:0 0 12px!important;
  border:1px solid var(--shell-nav-line)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.045)!important;
}
.event-workspace-body .event-mini-card img{
  height:102px!important;
  border-radius:14px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:none!important;
}
.event-workspace-body .event-mini-card strong{font-size:1rem!important;color:#fff!important}
.event-workspace-body .event-mini-card small{color:var(--shell-nav-muted)!important;line-height:1.45!important}

.sidebar-footer,
.event-workspace-body .event-manager-tools{
  padding:14px 0 0!important;
  margin-top:auto!important;
  border-top:1px solid var(--shell-nav-line)!important;
  display:grid!important;
  gap:8px!important;
}
.theme-switcher-sidebar-v186{margin-bottom:8px!important}
.event-theme-sidebar-v186{padding-top:10px!important;margin-top:auto!important;border-top:1px solid var(--shell-nav-line)!important}
.event-workspace-body .event-manager-tools .event-tool,
.sidebar-footer .sidebar-link,
.sidebar-footer .sidebar-logout{justify-content:flex-start!important}

.admin-body.sidebar-collapsed .admin-sidebar,
.user-panel-body.sidebar-collapsed .admin-sidebar{
  width:88px!important;
}
.admin-body.sidebar-collapsed .admin-layout,
.user-panel-body.sidebar-collapsed .admin-layout{
  grid-template-columns:88px minmax(0,1fr)!important;
}
.admin-body.sidebar-collapsed .admin-container,
.user-panel-body.sidebar-collapsed .admin-container{width:min(1320px,calc(100vw - 136px))!important}
.admin-body.sidebar-collapsed .sidebar-link,
.user-panel-body.sidebar-collapsed .sidebar-link{padding-inline:0!important}
.admin-body.sidebar-collapsed .sidebar-footer,
.user-panel-body.sidebar-collapsed .sidebar-footer{padding-inline:10px!important}
.admin-body.sidebar-collapsed .sidebar-logout,
.user-panel-body.sidebar-collapsed .sidebar-logout{justify-content:center!important;padding-inline:0!important}
.admin-body.sidebar-collapsed .sidebar-logout b,
.user-panel-body.sidebar-collapsed .sidebar-logout b{display:none!important}

body.event-sidebar-collapsed.event-workspace-body .event-manager-nav{
  width:88px!important;
  padding:14px 10px!important;
}
body.event-sidebar-collapsed.event-workspace-body .event-workspace-heading,
body.event-sidebar-collapsed.event-workspace-body .event-manager-content{
  margin-left:122px!important;
  width:min(1280px,calc(100vw - 154px))!important;
}
body.event-sidebar-collapsed.event-workspace-body .event-nav-group-v184,
body.event-sidebar-collapsed.event-workspace-body .event-theme-sidebar-v186,
body.event-sidebar-collapsed.event-workspace-body .event-mini-card small,
body.event-sidebar-collapsed.event-workspace-body .event-mini-card strong,
body.event-sidebar-collapsed.event-workspace-body .event-tool .nav-label,
body.event-sidebar-collapsed.event-workspace-body .event-manager-nav .nav-label{display:none!important}
body.event-sidebar-collapsed.event-workspace-body .event-mini-card{padding:6px!important;display:flex!important;justify-content:center!important}
body.event-sidebar-collapsed.event-workspace-body .event-mini-card img{width:52px!important;height:52px!important;margin:0 auto!important}
body.event-sidebar-collapsed.event-workspace-body .event-manager-nav a,
body.event-sidebar-collapsed.event-workspace-body .event-tool{justify-content:center!important;padding-inline:0!important}

body.public-body .public-sidebar{
  width:296px!important;
  padding:18px 16px!important;
  box-shadow:16px 0 42px rgba(15,23,42,.14)!important;
}
body.public-body .public-sidebar-head{
  min-height:64px!important;
  padding:2px 2px 16px!important;
  border-bottom:1px solid var(--line)!important;
}
body.public-body .public-sidebar-nav{padding:10px 0 0!important;gap:3px!important}
body.public-body .public-sidebar-section{
  padding:13px 10px 6px!important;
  margin:0!important;
  font-size:11px!important;
  letter-spacing:.11em!important;
  font-weight:900!important;
}
body.public-body .public-sidebar-nav>a,
body.public-body .public-sidebar-nav>button:not(.public-sidebar-request-v152){
  min-height:48px!important;
  padding:10px 12px!important;
  border-radius:16px!important;
  font-size:13.5px!important;
  font-weight:780!important;
}
body.public-body .public-sidebar-request-v152{border-radius:16px!important}
body.public-body .public-sidebar-overlay,
.event-sidebar-overlay,
.sidebar-scrim{backdrop-filter:blur(2px)!important}

@media(max-width:1100px){
  .admin-sidebar,.user-panel-body .admin-sidebar,.event-workspace-body .event-manager-nav{width:min(296px,92vw)!important}
  .admin-container,.user-panel-body .admin-container{width:min(1200px,92vw)!important}
  .event-workspace-body .event-workspace-heading,.event-workspace-body .event-manager-content{margin-left:0!important;width:100%!important}
}
@media(max-width:760px){
  .sidebar-brand a .brand-text{font-size:1.05rem!important}
  .sidebar-link,.event-workspace-body .event-manager-nav a,.event-workspace-body .event-tool,.sidebar-logout{min-height:50px!important;border-radius:14px!important}
  body.public-body .public-sidebar,.admin-sidebar,.user-panel-body .admin-sidebar,.event-workspace-body .event-manager-nav{width:min(92vw,296px)!important}
}


/* ---------- v192 · sidebars adaptativos claro / oscuro ---------- */
body.ie-shell{
  --shell-nav-bg:linear-gradient(180deg,
    color-mix(in srgb,var(--surface,#ffffff) 94%,var(--brand,#1f5eff) 6%) 0%,
    color-mix(in srgb,var(--surface-2,#f7f9fc) 97%,var(--brand,#1f5eff) 3%) 100%)!important;
  --shell-nav-line:color-mix(in srgb,var(--line,#e4e9f0) 88%,var(--brand,#1f5eff) 12%)!important;
  --shell-nav-soft:color-mix(in srgb,var(--surface-2,#f7f9fc) 88%,var(--brand,#1f5eff) 12%)!important;
  --shell-nav-soft-2:color-mix(in srgb,var(--surface-2,#f7f9fc) 80%,var(--brand,#1f5eff) 20%)!important;
  --shell-nav-text:var(--text,#182234)!important;
  --shell-nav-muted:color-mix(in srgb,var(--muted,#657286) 92%,var(--text,#182234) 8%)!important;
  --shell-nav-shadow:18px 0 44px rgba(15,23,42,.08)!important;
}
html[data-theme="dark"] body.ie-shell{
  --shell-nav-bg:linear-gradient(180deg,#0a1120 0%,#0d1527 58%,#09111f 100%)!important;
  --shell-nav-line:rgba(255,255,255,.07)!important;
  --shell-nav-soft:rgba(255,255,255,.04)!important;
  --shell-nav-soft-2:rgba(255,255,255,.07)!important;
  --shell-nav-text:#f3f6fb!important;
  --shell-nav-muted:rgba(224,231,243,.68)!important;
  --shell-nav-shadow:18px 0 48px rgba(0,0,0,.28)!important;
}

.admin-sidebar,
.user-panel-body .admin-sidebar,
.event-workspace-body .event-manager-nav{
  background:var(--shell-nav-bg)!important;
  color:var(--shell-nav-text)!important;
  border-right:1px solid var(--shell-nav-line)!important;
  box-shadow:var(--shell-nav-shadow)!important;
}

.sidebar-brand,
.event-sidebar-head,
.sidebar-footer,
.event-workspace-body .event-manager-tools,
.event-workspace-body .event-mini-card{
  border-color:var(--shell-nav-line)!important;
}

.sidebar-brand a,
.event-sidebar-head strong,
.sidebar-link,
.event-workspace-body .event-manager-nav a,
.event-workspace-body .event-tool,
.sidebar-logout,
.sidebar-label strong,
.event-workspace-body .event-manager-nav .nav-label,
.event-workspace-body .event-mini-card strong{
  color:var(--shell-nav-text)!important;
}

.sidebar-group-title,
.event-nav-group-v184,
.sidebar-label small,
.event-workspace-body .event-mini-card small{
  color:var(--shell-nav-muted)!important;
}

.sidebar-link,
.event-workspace-body .event-manager-nav a,
.event-workspace-body .event-tool,
.sidebar-logout{
  background:transparent!important;
}
.sidebar-link:hover,
.event-workspace-body .event-manager-nav a:hover,
.event-workspace-body .event-tool:hover,
.sidebar-logout:hover{
  background:var(--shell-nav-soft)!important;
  border-color:var(--shell-nav-line)!important;
  color:var(--shell-nav-text)!important;
}
.sidebar-link.active,
.event-workspace-body .event-manager-nav a.active{
  background:color-mix(in srgb,var(--shell-nav-soft-2) 78%,var(--surface,#fff) 22%)!important;
  border-color:color-mix(in srgb,var(--brand,#1f5eff) 28%,var(--shell-nav-line))!important;
  box-shadow:inset 3px 0 0 var(--brand),0 8px 20px rgba(15,23,42,.08)!important;
  color:var(--brand)!important;
}
html[data-theme="dark"] .sidebar-link.active,
html[data-theme="dark"] .event-workspace-body .event-manager-nav a.active{
  color:#fff!important;
  box-shadow:inset 3px 0 0 var(--brand),0 10px 22px rgba(7,12,24,.18)!important;
}
.sidebar-link.active .sidebar-label strong,
.event-workspace-body .event-manager-nav a.active .nav-label{color:inherit!important}
.sidebar-link.active .sidebar-label small{color:color-mix(in srgb,var(--shell-nav-muted) 76%,var(--brand,#1f5eff) 24%)!important}
html[data-theme="dark"] .sidebar-link.active .sidebar-label small,
html[data-theme="dark"] .event-workspace-body .event-manager-nav a.active .nav-label small{color:rgba(255,255,255,.84)!important}

.sidebar-icon,
.nav-ico{
  background:var(--shell-nav-soft)!important;
  border:1px solid var(--shell-nav-line)!important;
  color:var(--shell-nav-muted)!important;
}
.sidebar-link:hover .sidebar-icon,
.event-workspace-body .event-manager-nav a:hover .nav-ico,
.event-workspace-body .event-tool:hover .nav-ico,
.sidebar-logout:hover .sidebar-icon{
  background:var(--shell-nav-soft-2)!important;
  color:var(--shell-nav-text)!important;
}
.sidebar-link.active .sidebar-icon,
.event-workspace-body .event-manager-nav a.active .nav-ico{
  background:color-mix(in srgb,var(--brand,#1f5eff) 12%,var(--surface,#fff))!important;
  border-color:color-mix(in srgb,var(--brand,#1f5eff) 30%,var(--shell-nav-line))!important;
  color:var(--brand)!important;
}
html[data-theme="dark"] .sidebar-link.active .sidebar-icon,
html[data-theme="dark"] .event-workspace-body .event-manager-nav a.active .nav-ico{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}

.brand-mark{
  background:color-mix(in srgb,var(--surface,#fff) 94%,var(--brand,#1f5eff) 6%)!important;
  color:var(--brand)!important;
  border:1px solid color-mix(in srgb,var(--line,#e4e9f0) 78%,var(--brand,#1f5eff) 22%)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.08)!important;
}
html[data-theme="dark"] .brand-mark{
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:none!important;
}

.sidebar-close,
.event-sidebar-head button{
  background:transparent!important;
  color:var(--shell-nav-muted)!important;
  border:1px solid var(--shell-nav-line)!important;
}
.sidebar-close:hover,
.event-sidebar-head button:hover{
  background:var(--shell-nav-soft)!important;
  color:var(--shell-nav-text)!important;
}

body.public-body .public-sidebar{
  background:var(--surface)!important;
  color:var(--text)!important;
  border-right:1px solid var(--line)!important;
  box-shadow:16px 0 42px rgba(15,23,42,.10)!important;
}
html[data-theme="dark"] body.public-body .public-sidebar{
  background:var(--surface)!important;
  color:var(--text)!important;
  border-right:1px solid var(--line)!important;
  box-shadow:20px 0 55px rgba(0,0,0,.28)!important;
}
