/* InERP · armazón común 2026 (layouts/main2.php).
   1) Variables de diseño compartidas (--ix-*): el resto de CSS las usa con valor de respaldo.
   2) Estilos base del armazón (antes en un <style> dentro del layout).
   3) Capa nueva: cabecera, menú lateral, menú de usuario, barra inferior, avisos y soporte.
   Clases nuevas con prefijo ix- para no chocar con Bootstrap 3 ni con AdminLTE. */

:root{
  --ix-brand:#ba5452;
  --ix-brand-hover:#933c3a;
  --ix-brand-soft:#f8eceb;
  --ix-brand-line:#e7c3c2;
  --ix-text:#16202a;
  --ix-muted:#64717f;
  --ix-line:#dfe5ea;
  --ix-bg:#f4f7f8;
  --ix-surface:#fff;
  --ix-ok:#2c765d;
  --ix-warn:#8a5a00;
  --ix-error:#a63a38;
  --ix-radius:10px;
  --ix-radius-sm:8px;
  --ix-font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ix-focus:0 0 0 3px rgba(186,84,82,.35);
  --ix-header-h:60px;
  --ix-sidebar-w:248px;
  --ix-bottom-h:62px;

  /* Nombres heredados del layout (los usan reglas antiguas). --accent se fija en el layout. */
  --bg:#18212a;
  --ink:#16202a;
  --paper:#ffffff;
  --muted:rgba(255,255,255,.70);
  --muted2:rgba(0,0,0,.60);
  --border:rgba(255,255,255,.12);
  --border2:#dfe5ea;
  --accent:#ba5452;
  --accent2:#933c3a;
  --shadow:0 16px 42px rgba(20,31,42,.11);
  --radius:8px;
}

/* ========== 2. Base del armazón (igual que el antiguo <style> del layout) ========== */

html, body{ font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }

body{
  overflow-x:hidden;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(186,84,82,.10), transparent 60%),
    radial-gradient(900px 600px at 85% 25%, rgba(24,33,42,.06), transparent 60%),
    #f4f7f8;
  color:#111;
}

.header-pro{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1050;
  background:rgba(255,255,255,.85);
  border-bottom:1px solid rgba(0,0,0,.06);
  backdrop-filter:blur(10px);
}
/* bootstrap.css fija 'html body header{height:20%}': la cabecera (ahora <header>) mide su contenido. */
html body header.header-pro{ height:auto; }
.header-pro .inner{ padding:14px 0; display:flex; align-items:center; justify-content:space-between; gap:14px; }

.brand-pro{ display:flex; align-items:center; gap:10px; text-decoration:none !important; }
.brand-pro img{ height:46px; width:46px; max-width:46px; object-fit:contain; border-radius:8px; }
.brand-pro .tag{ font-weight:900; letter-spacing:-.2px; color:#111; line-height:1.1; }
.brand-pro .tag small{ display:block; font-weight:700; color:rgba(0,0,0,.55); letter-spacing:.2px; margin-top:2px; }

.nav-pro{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.nav-pro .contact-inline{ font-weight:700; color:rgba(0,0,0,.65); }
.nav-pro .contact-inline a{ color:rgba(0,0,0,.75); text-decoration:none; }
.nav-pro .contact-inline a:hover{ color:#000; text-decoration:none; }

.btn-pro{
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:8px; font-weight:900;
  text-decoration:none !important; border:1px solid rgba(0,0,0,.10); background:#fff; color:#111;
  box-shadow:0 10px 28px rgba(20,31,42,.07);
}
.btn-pro:hover{ filter:brightness(0.98); }
.btn-pro-primary{ border:0; color:#fff; background:linear-gradient(90deg, var(--accent), var(--accent2)); box-shadow:0 14px 30px rgba(186,84,82,.20); }

.page-wrap .btn-orange,
.page-wrap .btn-primary{
  border:0 !important; color:#fff !important;
  background:linear-gradient(90deg, var(--accent), var(--accent2)) !important;
  border-radius:8px !important; font-weight:900; box-shadow:0 14px 30px rgba(186,84,82,.18);
}
.page-wrap .btn-default{
  color:var(--ink) !important; background:#fff !important; border:1px solid var(--border2) !important;
  border-radius:8px !important; font-weight:900; box-shadow:0 10px 28px rgba(20,31,42,.07);
}
.page-wrap .form-control,
.page-wrap input[type="text"],
.page-wrap input[type="email"],
.page-wrap input[type="password"],
.page-wrap textarea,
.page-wrap select{ border-color:var(--border2); border-radius:8px; box-shadow:none; }
.page-wrap .form-control:focus,
.page-wrap input[type="text"]:focus,
.page-wrap input[type="email"]:focus,
.page-wrap input[type="password"]:focus,
.page-wrap textarea:focus,
.page-wrap select:focus{ border-color:var(--accent); box-shadow:0 0 0 4px rgba(186,84,82,.12); }

/* Contenido */
.page-wrap{ padding-top:88px; min-height:calc(100vh - 120px); }

/* Invitados: contenedor centrado. Con sesión: casi todo el ancho (listados con muchas columnas). */
.erp-shell-container{ max-width:1170px; margin:0 auto; padding-left:15px; padding-right:15px; }
body.erp-workspace-2026 .erp-shell-container{
  width:100%; max-width:100%; padding-left:12px; padding-right:12px; margin-left:0; margin-right:0; box-sizing:border-box;
}
body.erp-workspace-2026 .erp-shell-container .container,
body.erp-workspace-2026 .content-shell .container,
body.erp-workspace-2026 .content-shell .container-fluid{
  width:100% !important; max-width:100% !important; padding-left:0 !important; padding-right:0 !important;
  margin-left:0 !important; margin-right:0 !important;
}

.content-shell{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
  margin-bottom:24px;
  max-width:100%;
  overflow-x:hidden;
}
body.erp-workspace-2026 .content-shell{ padding:14px 16px; }

.content-shell h1,
.content-shell h2,
.content-shell h3{ color:var(--ink); font-weight:900; letter-spacing:0; }
.content-shell p,
.content-shell .text-muted{ color:#64717f; line-height:1.6; }
.content-shell .table,
.content-shell .list-group-item,
.content-shell .panel,
.content-shell .well{ border-color:var(--border2); border-radius:8px; }
.content-shell .label-success{ background-color:#2c765d; }
.content-shell .label-danger{ background-color:#a63a38; }

/* Tablas: adaptación fluida al ancho disponible (también fuera de .content-shell). */
.page-wrap table,
.page-wrap .grid-view,
.page-wrap .trz-table-wrap,
.page-wrap .table-responsive{ width:100% !important; max-width:100% !important; overflow:visible !important; box-sizing:border-box; }
.page-wrap .grid-view{ overflow-x:auto !important; }
.page-wrap table{ table-layout:auto; border-collapse:collapse; word-break:normal; }
.page-wrap table th[style*="width"],
.page-wrap table td[style*="width"]{ max-width:none !important; }
.page-wrap td,
.page-wrap th{
  white-space:normal !important; overflow:visible !important; text-overflow:clip !important;
  overflow-wrap:anywhere; word-wrap:break-word; vertical-align:top; max-width:100%;
}
.page-wrap td *,
.page-wrap th *{ max-width:100%; white-space:normal !important; overflow:visible !important; text-overflow:clip !important; }
.page-wrap td .label,
.page-wrap td .badge,
.page-wrap td .btn,
.page-wrap td button,
.page-wrap td .trz-pill,
.page-wrap th .label,
.page-wrap th .badge,
.page-wrap th .btn{ white-space:nowrap !important; }
.page-wrap img{ max-width:100%; height:auto; }
.page-wrap pre,
.page-wrap code{ max-width:100%; white-space:pre-wrap; word-break:break-word; }

/* Avisos */
.flash-stack{ position:fixed; right:18px; top:98px; z-index:2000; display:flex; flex-direction:column; gap:10px; max-width:360px; }
.flash-pro{
  position:relative; border-radius:8px; padding:12px 40px 12px 14px; box-shadow:0 16px 60px rgba(0,0,0,.18);
  border:1px solid rgba(0,0,0,.08); background:#fff; color:#111; font-weight:700; line-height:1.35;
}
.flash-pro.success{ border-left:4px solid #2c765d; }
.flash-pro.info{ border-left:4px solid #64717f; }
.flash-pro.warning{ border-left:4px solid #8a5a00; }
.flash-pro.error,
.flash-pro.danger{ border-left:4px solid #a63a38; }
.ix-flash-close{
  position:absolute; top:4px; right:4px; width:32px; height:32px; padding:0; border:0; border-radius:6px;
  background:transparent; color:#64717f; font-size:20px; line-height:32px; cursor:pointer;
}
.ix-flash-close:hover{ background:#f4f7f8; color:#16202a; }

/* Pie público (invitados) */
.footer-pro{
  width:100vw; margin-top:10px; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  padding:34px 0 24px; color:rgba(255,255,255,.76); font-weight:700;
  background:linear-gradient(135deg, rgba(24,33,42,.98), rgba(34,48,60,.96)), #18212a;
  border-radius:0; box-shadow:0 -16px 60px rgba(0,0,0,.10);
}
.footer-pro-inner{ width:min(1170px, calc(100% - 32px)); margin:0 auto; display:grid; grid-template-columns:1.05fr 1fr 1fr; gap:22px; text-align:left; }
.footer-card{ border:1px solid rgba(255,255,255,.12); border-radius:8px; background:rgba(255,255,255,.05); padding:16px; }
.footer-brand{ display:block; }
.footer-brand img{ width:178px; max-width:100%; height:auto; margin-bottom:12px; }
.footer-copy{ line-height:1.6; }
.footer-copy strong{ color:#fff; }
.footer-kicker{ margin:0 0 8px; color:rgba(255,255,255,.58); font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.footer-title{ margin:0 0 10px; color:#fff; font-size:16px; font-weight:900; }
.footer-links{ display:grid; grid-template-columns:1fr 1fr; gap:10px 18px; }
.footer-pro a{ color:rgba(255,255,255,.88); text-decoration:none; }
.footer-pro a:hover{ color:#fff; text-decoration:none; }
.footer-line{ display:flex; align-items:center; gap:8px; margin-top:8px; }
.footer-line i{ color:var(--accent); }
.footer-bottom-pro{
  width:min(1170px, calc(100% - 32px)); margin-left:auto; margin-right:auto; margin-top:20px; padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:13px;
}
.footer-bottom-pro-links{ display:flex; gap:12px; flex-wrap:wrap; }

@media(max-width:767px){
  .nav-pro .contact-inline{ display:none; }
  body.route-site-iniciarsesion .nav-pro .login-menu-link{ display:none; }
  .content-shell{ padding:16px; }
  .flash-stack{ left:12px; right:12px; max-width:none; }
  .footer-pro{ padding:22px 16px; }
  .footer-pro-inner{ grid-template-columns:1fr; }
  .footer-links{ grid-template-columns:1fr; }
}

/* ========== 3. Capa del armazón con sesión (body.ix-shell) ========== */

.ix-skip{
  position:fixed; top:8px; left:8px; z-index:3000; padding:10px 14px; border-radius:8px;
  background:#16202a; color:#fff !important; font-weight:600; text-decoration:none !important;
  transform:translateY(-150%); transition:transform .15s ease;
}
.ix-skip:focus{ transform:none; outline:3px solid #ba5452; outline-offset:2px; }
#ix-main:focus{ outline:none; }

body.erp-workspace-2026.ix-shell :is(a,button,input,select,textarea,summary):focus-visible{ outline:3px solid rgba(186,84,82,.7) !important; outline-offset:2px; }

/* Cabecera: una sola línea, sin barra de estado encima. */
body.erp-workspace-2026.ix-shell .header-pro{
  top:0; height:var(--ix-header-h); background:#fff; border-bottom:1px solid #dfe5ea; box-shadow:none; backdrop-filter:none;
}
body.erp-workspace-2026.ix-shell .header-pro .container{
  width:100%; max-width:none; height:100%; padding-left:16px !important; padding-right:16px !important;
}
body.erp-workspace-2026.ix-shell .header-pro .inner{ min-height:0; height:100%; padding:0 !important; gap:12px; justify-content:flex-start; }
body.erp-workspace-2026.ix-shell .brand-pro{ flex:0 0 auto; gap:9px; min-width:0; }
body.erp-workspace-2026.ix-shell .brand-pro img{ width:34px; height:34px; max-width:34px; border-radius:8px; }
body.erp-workspace-2026.ix-shell .brand-pro .tag{ font-size:18px; font-weight:700; letter-spacing:-.3px; color:#16202a; }
body.erp-workspace-2026.ix-shell .brand-pro .tag small{ font-size:11px; font-weight:500; color:#64717f; letter-spacing:0; }
body.erp-workspace-2026.ix-shell .nav-pro{ flex:1 1 auto; justify-content:flex-end; flex-wrap:nowrap; min-width:0; }

.ix-menu-toggle{
  display:none; align-items:center; gap:8px; min-height:44px; padding:0 12px; margin:0;
  border:1px solid #dfe5ea; border-radius:8px; background:#fff; color:#16202a; font:600 14px/1 var(--ix-font); cursor:pointer;
}
.ix-menu-toggle:hover{ background:#f4f7f8; }
.ix-menu-toggle .fa{ font-size:18px; }

/* Menú de usuario */
.ix-account{ position:relative; min-width:0; }
body.erp-workspace-2026.ix-shell .erp-account-button{
  max-width:300px; min-height:44px; padding:4px 10px 4px 4px; gap:10px; border-color:#dfe5ea; border-radius:24px; color:#16202a; text-align:left;
}
body.erp-workspace-2026.ix-shell .erp-account-button:hover{ background:#f4f7f8; border-color:#c9d2da; }
body.erp-workspace-2026.ix-shell .erp-account-avatar{ background:#f8eceb; color:#933c3a; }
.ix-account-text{ display:flex; flex-direction:column; min-width:0; line-height:1.2; }
.ix-account-text strong,
.ix-account-text span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ix-account-text strong{ font-size:13px; font-weight:700; color:#16202a; }
.ix-account-text span{ font-size:12px; font-weight:500; color:#64717f; }
body.erp-workspace-2026.ix-shell .erp-account-menu{
  position:absolute; right:0; left:auto; top:calc(100% + 8px); width:280px; max-width:calc(100vw - 24px); padding:0; z-index:2400;
}
body.erp-workspace-2026.ix-shell .erp-account-menu[hidden]{ display:none !important; }
body.erp-workspace-2026.ix-shell .erp-account-menu-surface{ border-radius:10px; padding:6px; border-color:#dfe5ea; }
.ix-account-head{ display:flex; flex-direction:column; gap:2px; padding:10px 12px 12px; margin-bottom:4px; border-bottom:1px solid #dfe5ea; }
.ix-account-head strong{ font-size:14px; color:#16202a; }
.ix-account-head span{ font-size:12px; color:#64717f; overflow-wrap:anywhere; }
body.erp-workspace-2026.ix-shell .erp-account-menu-list a,
.ix-account-logout{
  display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:8px 12px; margin:0; border:0; border-radius:8px;
  background:transparent; color:#16202a; font:500 14px/1.3 var(--ix-font); text-align:left; text-decoration:none; cursor:pointer;
}
body.erp-workspace-2026.ix-shell .erp-account-menu-list a .fa,
.ix-account-logout .fa{ width:18px; text-align:center; color:#64717f; }
body.erp-workspace-2026.ix-shell .erp-account-menu-list a:hover,
.ix-account-logout:hover{ background:#f8eceb; color:#933c3a; }
.ix-account-sep{ margin-top:4px; padding-top:4px !important; border-top:1px solid #dfe5ea; }
.ix-account-sep form{ margin:0; }

/* Menú lateral */
.ix-sidebar{
  display:flex; flex-direction:column; position:fixed; top:var(--ix-header-h); left:0; bottom:0; width:var(--ix-sidebar-w);
  background:#fff; border-right:1px solid #dfe5ea; z-index:1030; font-family:var(--ix-font); color:#16202a;
}
.ix-sidebar-head{ display:none; }
/* Hueco del botón de búsqueda rápida (estilos del botón en erp-buscador-2026.css). */
.ix-nav-search{ position:relative; padding:12px 12px 6px; flex:0 0 auto; }
.ix-sidebar nav{ flex:1 1 auto; overflow-y:auto; overscroll-behavior:contain; padding:4px 8px 24px; }
.ix-nav,
.ix-nav-items{ list-style:none; margin:0; padding:0; }
.ix-nav-group{ margin:0 0 2px; }
.ix-nav-group details > summary{
  display:flex; align-items:center; gap:10px; min-height:40px; padding:6px 10px; border-radius:8px; cursor:pointer;
  list-style:none; color:#16202a; font-size:14px; font-weight:650; user-select:none;
}
.ix-nav-group details > summary::-webkit-details-marker{ display:none; }
.ix-nav-group details > summary::marker{ content:""; }
.ix-nav-group details > summary:hover{ background:#f4f7f8; }
.ix-nav-group summary > .fa:first-child{ color:#64717f; font-size:15px; }
.ix-nav-group-label{ flex:1 1 auto; }
.ix-nav-caret{ color:#64717f; transition:transform .15s ease; }
.ix-nav-group details[open] > summary .ix-nav-caret{ transform:rotate(180deg); }
.ix-nav-items{ padding:2px 0 8px; }
.ix-nav-link{
  display:flex; align-items:center; min-height:36px; padding:6px 10px 6px 38px; border-radius:8px;
  color:#3a4652; font-size:14px; font-weight:500; line-height:1.3; text-decoration:none !important;
}
.ix-nav-link:hover{ background:#f4f7f8; color:#16202a; }
.ix-nav-link.is-active{ background:#f8eceb; color:#933c3a; font-weight:650; box-shadow:inset 3px 0 0 #ba5452; }
.ix-nav-backdrop{ position:fixed; inset:0; z-index:2290; background:rgba(22,32,42,.42); }
.ix-nav-backdrop[hidden]{ display:none; }
.ix-sidebar-close{
  display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; margin:0;
  border:0; border-radius:8px; background:transparent; color:#16202a; font-size:20px; cursor:pointer;
}
.ix-sidebar-close:hover{ background:#f4f7f8; }

/* Contenido con el menú: ancho útil = pantalla menos menú. */
body.erp-workspace-2026.ix-shell .page-wrap{ padding-top:calc(var(--ix-header-h) + 16px); }
body.erp-workspace-2026.ix-shell .erp-shell-container{ padding-top:0; }
body.erp-workspace-2026.ix-shell .flash-stack{ top:calc(var(--ix-header-h) + 12px); }
body.erp-workspace-2026.ix-shell .commercial section[id],
body.erp-workspace-2026.ix-shell .erp-module [id]{ scroll-margin-top:calc(var(--ix-header-h) + 16px); }

/* Pie interno compacto */
body.erp-workspace-2026.ix-shell .erp-internal-footer{ padding:4px 6px 20px; gap:6px 18px; font-size:12px; color:#64717f; }
body.erp-workspace-2026.ix-shell .erp-internal-footer > span:last-child{ gap:4px 16px; }
body.erp-workspace-2026.ix-shell .erp-internal-footer a{ color:#4b5763; font-size:13px; min-height:32px; display:inline-flex; align-items:center; }
/* bootstrap.css: footer{font-family:'Open Sans';font-weight:bold;...} y footer a{font-size:10px} */
body.ix-shell footer{ font-family:var(--ix-font); font-weight:400; height:auto; padding-top:0; color:var(--ix-muted); }
body.ix-shell footer a{ font-size:inherit; }
body.erp-workspace-2026.ix-shell .erp-internal-footer a:hover{ color:#933c3a; }

/* Ventana de soporte compacta */
.ix-support-modal .modal-dialog{ width:auto; max-width:520px; margin:80px auto 24px; padding:0 12px; }
.ix-support-modal .modal-content{ border:1px solid #dfe5ea; border-radius:10px; box-shadow:0 18px 48px rgba(22,32,42,.18); }
.ix-support-modal .modal-header{ padding:14px 16px; border-bottom:1px solid #dfe5ea; }
.ix-support-modal .modal-header .close{ width:44px; height:44px; margin:-10px -10px 0 0; opacity:.6; }
.ix-support-modal .modal-title{ float:none !important; width:auto !important; margin:0; font-size:18px; font-weight:700; color:#16202a; line-height:1.4; }
.ix-support-modal .modal-body{ padding:14px 16px 16px; }
.ix-support-modal label{ display:block; margin:10px 0 6px; font-size:13px; font-weight:600; color:#16202a; }
.ix-support-modal label:first-of-type{ margin-top:0; }
.ix-support-modal .form-control{ height:44px; border-radius:8px; }
.ix-support-modal textarea.form-control{ height:auto; min-height:110px; resize:vertical; }
.ix-support-actions{ display:flex; justify-content:flex-end; gap:8px; margin-top:14px; }
.ix-support-actions .btn{ min-height:44px; padding:10px 16px; }

/* Barra inferior: «Más» con el mismo aspecto que los enlaces. */
.mobile-bottom-nav .ix-more{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:48px; padding:0; margin:0;
  border:0; background:transparent; color:#1f2937; font:800 10px/1.2 var(--ix-font); cursor:pointer;
}

/* Escritorio: menú siempre a la vista. */
@media (min-width:992px){
  body.erp-workspace-2026.ix-shell .page-wrap{ padding-left:var(--ix-sidebar-w); }
  .ix-nav-backdrop{ display:none !important; }
}

/* Tableta y móvil: el menú es un cajón que se abre con «Menú» o «Más». */
@media (max-width:991px){
  .ix-sidebar{
    top:0; width:min(320px, 88vw); z-index:2300; box-shadow:0 18px 48px rgba(22,32,42,.22); border-right:0;
    transform:translateX(-105%); visibility:hidden; transition:transform .2s ease, visibility 0s linear .2s;
  }
  .ix-sidebar.is-open{ transform:none; visibility:visible; transition:transform .2s ease; }
  .ix-sidebar-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; height:var(--ix-header-h); padding:0 8px 0 20px; border-bottom:1px solid #dfe5ea; flex:0 0 auto; }
  .ix-sidebar-title{ font-size:16px; font-weight:700; color:#16202a; }
  .ix-nav-link{ min-height:44px; }
  .ix-nav-group details > summary{ min-height:44px; }
  body.ix-nav-locked{ overflow:hidden !important; }
}
@media (min-width:768px) and (max-width:991px){
  body.erp-workspace-2026.ix-shell .ix-menu-toggle{ display:inline-flex; }
}

/* Móvil */
@media (max-width:767px){
  body.erp-workspace-2026.ix-shell{ --ix-header-h:56px; }
  body.erp-workspace-2026.ix-shell .header-pro .inner{ min-height:0; }
  body.erp-workspace-2026.ix-shell .brand-pro .tag small{ display:none; }
  body.erp-workspace-2026.ix-shell .ix-account-text{ display:none; }
  body.erp-workspace-2026.ix-shell .erp-account-button{ padding:4px 8px 4px 4px; }
  body.erp-workspace-2026.ix-shell .page-wrap{ padding-top:var(--ix-header-h) !important; }
  body.erp-workspace-2026.ix-shell .flash-stack{ top:calc(var(--ix-header-h) + 8px) !important; }
  body.erp-workspace-2026.ix-shell .mobile-bottom-nav{ grid-template-columns:repeat(6, 1fr); }
  body.erp-workspace-2026.ix-shell .mobile-bottom-nav a,
  body.erp-workspace-2026.ix-shell .mobile-bottom-nav .ix-more{ flex:1 1 0; min-width:0; color:#3a4652; }
  body.erp-workspace-2026.ix-shell .mobile-bottom-nav i{ color:#64717f; }
  body.erp-workspace-2026.ix-shell .mobile-bottom-nav a.is-active{ color:#933c3a; }
  body.erp-workspace-2026.ix-shell .mobile-bottom-nav a.is-active i{ color:#ba5452; }
  .ix-support-modal .modal-dialog{ margin:64px auto 16px; }
}

@media (prefers-reduced-motion:reduce){
  .ix-sidebar, .ix-sidebar.is-open, .ix-nav-caret, .ix-skip{ transition:none; }
}

/* Móvil sin desplazamiento lateral. Un texto oculto para lectores de pantalla (.sr-only, posición absoluta)
   dentro de una tabla con desplazamiento propio se salía de su caja y ensanchaba toda la página: la barra de
   arriba y la de abajo quedaban más anchas que la pantalla. Las cajas con desplazamiento propio contienen
   ahora a sus hijos y el texto oculto se queda en la esquina de su caja. */
.sr-only:not(:focus):not(:active){ top:0; left:0; }
.erp-mobile-table-wrap, .purchase-scroll, .table-responsive, .erp-section-nav, .grid-view, .erp-table-wrap{ position:relative; }

@media print{
  .ix-sidebar, .ix-nav-backdrop, .header-pro, .mobile-bottom-nav, .ix-skip, .erp-internal-footer, .flash-stack, #inerp-pwa-offer{ display:none !important; }
  body.erp-workspace-2026.ix-shell .page-wrap{ padding:0 !important; }
}
