/* Sistema visual HPOA - IGSS: Manual de Identidad Visual. */
:root { --igss-celeste:#40a6d7; --igss-celeste-profundo:#237fae; --igss-celeste-suave:#e8f5fb; --igss-amarillo:#fcbf00; --igss-rojo:#d73637; --igss-tinta:#193243; --igss-texto-suave:#617583; --igss-linea:#d6e7ee; }
body { background:#f3f8fa; color:var(--igss-tinta); font-family:"Segoe UI",Arial,sans-serif; }
/* La plantilla original reserva espacio dos veces para el menú. Esta regla deja disponible todo el ancho que no ocupa la barra lateral. */
.app { background:#f3f8fa; padding-left:272px; }
.app .content { margin-left:0!important; padding:88px 24px 42px!important; }
.header { background:linear-gradient(100deg,#eff9fc 0%,#e4f4fa 70%,#d8eff8 100%); border-bottom:1px solid #c9e4ee; box-shadow:0 2px 14px rgba(29,74,95,.08); height:72px; left:272px; }
.header .heading,.header .header-block-buttons .Titulo { color:#17658b!important; font-size:clamp(16px,1.45vw,21px); font-weight:750; letter-spacing:-.015em; text-shadow:0 1px 0 #fff; }
.header .heading { border-left:4px solid var(--igss-amarillo); line-height:1.2; margin:0; padding-left:13px; }
.header .header-block-collapse .collapse-btn { color:var(--igss-celeste-profundo); }.header .header-block-nav>ul>li:before { background-color:#bedde8; }.header .header-block-nav .profile .name { color:#28556a; font-weight:600; }.header .header-block-nav .profile .img { border:2px solid var(--igss-celeste); }
/* Barra vertical: jerarquia y lectura rapida de las opciones. */
.sidebar { background:linear-gradient(180deg,#173f58 0%,#12364e 62%,#0f3045 100%); border-right:0; box-shadow:4px 0 18px rgba(17,54,77,.18); padding-bottom:0; width:272px; }.sidebar .sidebar-container { bottom:0; }.sidebar .sidebar-container::-webkit-scrollbar { width:7px; }.sidebar .sidebar-container::-webkit-scrollbar-thumb { background:#4a91b4; border-radius:10px; }.sidebar .sidebar-container::-webkit-scrollbar-track { background:#12364e; }
.sidebar-header { align-items:center; background:rgba(7,35,52,.25); border-bottom:1px solid rgba(194,230,242,.2); display:flex; min-height:94px; padding:14px 16px; }.sidebar-header .brand { align-items:center; display:flex; gap:10px; line-height:normal; padding:0; width:100%; }.igss-brand-logo { display:block; filter:brightness(0) invert(1); height:auto; max-height:42px; max-width:142px; object-fit:contain; width:100%; }.brand-separator { background:rgba(255,255,255,.36); height:36px; width:1px; }.hpoa-brand-logo { display:block; height:54px; margin-left:auto; max-width:78px; object-fit:contain; width:auto; }
.sidebar .sidebar-menu { font-size:13px; padding:13px 10px 30px; }.sidebar .sidebar-menu li a { border-radius:9px; color:#e5f4fa; margin:3px 0; transition:background-color .18s ease,color .18s ease,transform .18s ease; }.sidebar .sidebar-menu li a:hover,.sidebar .sidebar-menu li.open>a,.sidebar .sidebar-menu li.open a:hover { background:rgba(95,183,220,.18); color:#fff; }.sidebar .sidebar-menu>li>a { font-weight:650; padding:12px 11px; }.sidebar .sidebar-menu>li>a:hover { transform:translateX(2px); }.sidebar .sidebar-menu>li.active>a,.sidebar .sidebar-menu>li.active>a:hover,.sidebar .sidebar-menu>li.open>a { background:linear-gradient(90deg,#35a5d8,#2587b8); box-shadow:0 4px 12px rgba(5,27,40,.18); color:#fff!important; }.sidebar .sidebar-menu>li>a i { font-size:16px; margin-right:11px; text-align:center; width:18px; }.sidebar .sidebar-menu .arrow { font-size:15px; margin-top:1px; }
/* Toda accion tiene icono; los enlaces con icono explicito conservan su semantica. */
.sidebar .sidebar-menu a.menu-link-no-icon::before { color:var(--igss-celeste-profundo); content:"\f0f6"; display:inline-block; font-family:FontAwesome; font-size:13px; margin-right:11px; text-align:center; width:18px; }.sidebar .sidebar-menu li.active a.menu-link-no-icon::before,.sidebar .sidebar-menu li.open>a.menu-link-no-icon::before { color:currentColor; }
.sidebar .sidebar-menu>li>.sidebar-nav>li a { background:transparent; color:#c5e6f2; font-size:12.5px; padding:9px 10px 9px 24px; }.sidebar .sidebar-menu>li>.sidebar-nav>li>.sidebar-nav>li a { padding-left:39px; }.sidebar .sidebar-menu>li>.sidebar-nav>li>.sidebar-nav>li>.sidebar-nav>li a { padding-left:53px; }.sidebar .sidebar-menu>li>.sidebar-nav>li.active a { background:rgba(252,191,0,.14); color:#fff; font-weight:700; }
.sidebar .sidebar-menu .sidebar-nav a>i.fa { color:#8fd3ed; font-size:13px; margin-right:11px; text-align:center; width:18px; }.sidebar .sidebar-menu .sidebar-nav li.active>a>i.fa,.sidebar .sidebar-menu li.open>.sidebar-nav a>i.fa { color:currentColor; }
.sidebar .sidebar-menu .sidebar-nav li.active>a { background:rgba(252,191,0,.17); box-shadow:inset 3px 0 0 var(--igss-amarillo); color:#fff!important; font-weight:700; }
.content { background:#f3f8fa; }.content .section { padding-bottom:0; width:100%; }.content .row { margin-bottom:12px; }.content .row:last-child { margin-bottom:0; }.card,.section-card { border:1px solid var(--igss-linea); box-shadow:0 4px 16px rgba(29,74,95,.05); }.content .dxgvControl,.content .dxtlControl,.content .dxflFormLayout { max-width:100%!important; }.content .dxgvTable,.content .dxtlTable { max-width:100%; }.btn-primary,.btn-info,.dxbs-btn-primary { background-color:var(--igss-celeste-profundo)!important; border-color:var(--igss-celeste-profundo)!important; }.btn-primary:hover,.btn-info:hover,.dxbs-btn-primary:hover { background-color:#17638a!important; border-color:#17638a!important; }.footer { background:#eef7fa; border-top:1px solid var(--igss-linea); margin-left:0!important; }
@media (max-width:991px) { .app { padding-left:0; }.header { left:0; }.app .content { padding:82px 18px 32px!important; }.sidebar { left:-272px; width:272px; }.sidebar-open .sidebar { left:0; }.content { margin-left:0; } } @media (max-width:575px) { .header { height:60px; }.app .content { padding:72px 12px 24px!important; }.header .heading { border-left-width:3px; padding-left:8px; }.header .heading,.header .header-block-buttons .Titulo { font-size:14px; }.header .header-block-nav .name { display:none; }.sidebar-header { min-height:78px; }.igss-brand-logo { max-width:132px; }.hpoa-brand-logo { height:45px; max-width:65px; } }

/* Componentes compartidos: acciones y formularios legibles en todas las páginas. */
.content .btn,.content button,.content input[type="submit"],.content input[type="button"],.dxbButton,.dxbButton_MaterialCompact,.dxbButton_Moderno,.dxbs-btn { border-radius:7px!important; font-family:inherit!important; font-weight:650!important; letter-spacing:.01em; min-height:34px; transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.content .btn-primary,.content .btn-info,.content input[type="submit"],.dxbButton,.dxbButton_MaterialCompact,.dxbButton_Moderno,.dxbs-btn-primary { background:#237fae!important; border-color:#237fae!important; box-shadow:0 3px 8px rgba(35,127,174,.18); color:#fff!important; }
.content .btn-primary:hover,.content .btn-info:hover,.content input[type="submit"]:hover,.dxbButton:hover,.dxbButton_MaterialCompact:hover,.dxbButton_Moderno:hover,.dxbs-btn-primary:hover { background:#17638a!important; border-color:#17638a!important; box-shadow:0 5px 13px rgba(35,127,174,.24); color:#fff!important; transform:translateY(-1px); }
.content .btn-success { background:#25875e!important; border-color:#25875e!important; }.content .btn-warning { background:#d99f00!important; border-color:#d99f00!important; color:#213642!important; }.content .btn-danger { background:#d73637!important; border-color:#d73637!important; }
.content .btn-default,.content .btn-secondary { background:#fff!important; border:1px solid #b8d8e5!important; color:#17658b!important; }.content .btn-default:hover,.content .btn-secondary:hover { background:#e8f5fb!important; border-color:#40a6d7!important; }
.dxbButtonDisabled,.dxbDisabled,.content button:disabled,.content input:disabled { box-shadow:none!important; opacity:.58!important; transform:none!important; }
.content input:not([type="submit"]):not([type="button"]),.content select,.content textarea,.dxeTextBox,.dxeButtonEdit,.dxeMemo,.dxeListBox { border-color:#bedde8!important; border-radius:6px!important; color:#193243!important; font-family:inherit!important; }
.content input:not([type="submit"]):not([type="button"]):focus,.content select:focus,.content textarea:focus,.dxeFocused,.dxeButtonEdit.dxeFocused,.dxeTextBox.dxeFocused { border-color:#40a6d7!important; box-shadow:0 0 0 3px rgba(64,166,215,.16)!important; outline:0!important; }
.dxeButtonEditButton,.dxeCalendarButton,.dxeDropDownButton { background:#e8f5fb!important; border-color:#bedde8!important; }.dxeButtonEditButton:hover,.dxeCalendarButton:hover,.dxeDropDownButton:hover { background:#d7eff8!important; }

/* Rejillas, buscadores y paginación DevExpress. */
.dxgvControl,.dxtlControl,.dxpgControl { border:1px solid #c9e3ed!important; border-radius:10px!important; box-shadow:0 3px 14px rgba(29,74,95,.05); overflow:hidden; }
.dxgvTable,.dxtlTable { color:#29495a!important; font-family:inherit!important; }
.dxgvHeader,.dxtlHeader { background:#17658b!important; border-color:#17658b!important; color:#fff!important; font-weight:700!important; padding:10px 8px!important; }
.dxgvHeader a,.dxtlHeader a,.dxgvHeader a:visited,.dxtlHeader a:visited { color:#fff!important; }
.dxgvDataRow td,.dxtlDataRow td,.dxgvEditForm td { border-color:#d8e9f0!important; padding:9px 8px!important; }
.dxgvDataRow:nth-child(even) td,.dxtlDataRow:nth-child(even) td { background:#f7fbfd!important; }
.dxgvDataRow:hover td,.dxtlDataRow:hover td { background:#eaf7fb!important; }
.dxgvFocusedRow td,.dxgvSelectedRow td,.dxtlFocusedRow td,.dxtlSelectedRow td { background:#d4eef8!important; color:#123e56!important; }
.dxgvFilterRow td,.dxgvFilterRow { background:#edf7fa!important; border-color:#d4e7ee!important; }.dxgvFilterRow input { background:#fff!important; }
.dxgvPagerTopPanel,.dxgvPagerBottomPanel,.dxtlPagerTopPanel,.dxtlPagerBottomPanel { background:#f4fafc!important; border-color:#d4e7ee!important; color:#426270!important; padding:8px!important; }
.dxpLite .dxp-current { background:#237fae!important; border-radius:5px!important; color:#fff!important; }.dxpLite .dxp-num { color:#17658b!important; }.dxpLite .dxp-num:hover { background:#e8f5fb!important; border-radius:5px!important; }

/* Contenedores, pestañas y ventanas DevExpress. */
.dxflGroup,.dxflGroupBox,.dxpcLite,.dxtcLite,.dxtcContent,.dxrpControl { border-color:#c9e3ed!important; border-radius:10px!important; box-shadow:0 4px 16px rgba(29,74,95,.06); }
.dxflGroupBox,.dxpc-header,.dxtc-leftIndent,.dxtc-activeTab { background:#eaf7fb!important; color:#17658b!important; }
.dxflGroupBox .dxflGroupBoxCaption,.dxpc-headerText { color:#17658b!important; font-size:15px!important; font-weight:750!important; }
.dxtcTab { border-radius:7px 7px 0 0!important; color:#426270!important; }.dxtcTabHover { background:#e8f5fb!important; color:#17658b!important; }.dxtcActiveTab { background:#237fae!important; color:#fff!important; }
.dxpc-header { border-bottom:1px solid #c9e3ed!important; padding:12px 15px!important; }.dxpc-content { background:#fff!important; padding:16px!important; }
.dxrpHeader { background:#17658b!important; color:#fff!important; }.dxrpCollapsedButton { border-color:#9ed4e8!important; }
.dx-loading-panel,.dxlpLoadingPanel { border-radius:9px!important; box-shadow:0 8px 24px rgba(29,74,95,.18)!important; }

/* En pantallas estrechas las tablas conservan lectura mediante desplazamiento horizontal, sin recortar campos. */
@media (max-width:767px) { .content .row { margin-left:-6px; margin-right:-6px; }.content [class*="col-"] { padding-left:6px; padding-right:6px; }.dxgvControl,.dxtlControl,.dxpgControl { border-radius:7px!important; overflow-x:auto!important; }.dxgvHeader,.dxtlHeader { white-space:nowrap; }.dxbButton,.dxbButton_MaterialCompact,.dxbButton_Moderno { margin-bottom:5px!important; } }

/* DevExpress 18.2 añade el nombre del tema al final de sus clases (por ejemplo,
   dxgvHeader_Moderno y dxgvHeader_Material). Los selectores por prefijo hacen
   que el acabado sea uniforme en las 712 instancias de ASPxGridView. */
.content [class*="dxgvControl"],.content [class*="dxgvTable"] { border-color:#c9e3ed!important; color:#29495a!important; font-family:inherit!important; }
.content [class*="dxgvControl"] { background:#fff!important; border:1px solid #c9e3ed!important; border-radius:10px!important; box-shadow:0 4px 16px rgba(29,74,95,.06); overflow:hidden; }
.content [class*="dxgvHeader"] { background:#17658b!important; border-color:#17658b!important; color:#fff!important; font-size:12px!important; font-weight:700!important; line-height:1.25!important; padding:11px 9px!important; text-shadow:none!important; }
.content [class*="dxgvHeader"] a,.content [class*="dxgvHeader"] a:visited,.content [class*="dxgvHeader"] span { color:#fff!important; font-weight:700!important; }
.content [class*="dxgvHeader"] [class*="dxSort"],.content [class*="dxgvHeader"] [class*="dxGridView_gvHeader"] { filter:brightness(0) invert(1); }
.content [class*="dxgvDataRow"] > td,.content [class*="dxgvDataRow"] td,.content [class*="dxgvEditForm"] > td,.content [class*="dxgvEditForm"] td { background:#fff!important; border-color:#d8e9f0!important; color:#29495a!important; font-size:13px!important; padding:10px 9px!important; }
.content [class*="dxgvDataRow"]:nth-child(even) > td,.content [class*="dxgvDataRow"]:nth-child(even) td { background:#f7fbfd!important; }
.content [class*="dxgvDataRow"]:hover > td,.content [class*="dxgvDataRow"]:hover td { background:#eaf7fb!important; }
.content [class*="dxgvFocusedRow"] > td,.content [class*="dxgvFocusedRow"] td,.content [class*="dxgvSelectedRow"] > td,.content [class*="dxgvSelectedRow"] td { background:#d4eef8!important; color:#123e56!important; }
.content [class*="dxgvFocusedRow"] a,.content [class*="dxgvSelectedRow"] a { color:#17658b!important; }
.content [class*="dxgvFilterRow"] > td,.content [class*="dxgvFilterRow"] td { background:#edf7fa!important; border-color:#d4e7ee!important; padding:7px!important; }
.content [class*="dxgvFilterRow"] input,.content [class*="dxgvFilterRow"] select { background:#fff!important; border-color:#b9dbe8!important; border-radius:5px!important; min-height:29px!important; }
.content [class*="dxgvSearchPanel"] { background:#eef8fb!important; border-color:#c9e3ed!important; color:#17658b!important; padding:9px 11px!important; }
.content [class*="dxgvSearchPanel"] input { background:#fff!important; border:1px solid #b9dbe8!important; border-radius:5px!important; }
.content [class*="dxgvPager"] { background:#f4fafc!important; border-color:#d4e7ee!important; color:#426270!important; padding:9px!important; }
.content [class*="dxp"] [class*="dxp-current"],.content [class*="dxp-current"] { background:#237fae!important; border:0!important; border-radius:5px!important; color:#fff!important; padding:4px 8px!important; }
.content [class*="dxp"] [class*="dxp-num"],.content [class*="dxp-num"] { color:#17658b!important; padding:4px 8px!important; }.content [class*="dxp"] [class*="dxp-num"]:hover { background:#e8f5fb!important; border-radius:5px!important; }
.content [class*="dxgvCommandColumn"] a,.content [class*="dxgvCommandColumn"] input,.content [class*="dxgvCommandColumn"] button { border-radius:5px!important; }
.content [class*="dxgvEmptyDataRow"] td { background:#f8fbfc!important; color:#617583!important; padding:28px!important; text-align:center!important; }
@media (max-width:767px) { .content [class*="dxgvControl"] { border-radius:7px!important; overflow-x:auto!important; }.content [class*="dxgvHeader"] { white-space:nowrap; }.content [class*="dxgvDataRow"] > td,.content [class*="dxgvDataRow"] td { font-size:12px!important; padding:8px!important; } }

/* Acabado de lectura para ASPxGridView: aplicado a los dos temas de DevExpress
   y a sus elementos internos, que pueden recibir la clase directamente en td. */
.content [class*="dxgvControl"] { background:#fff!important; border:1px solid #c9e3ed!important; border-radius:12px!important; box-shadow:0 8px 24px rgba(23,101,139,.08)!important; margin:0 0 18px!important; }
.content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td,.content td[class*="dxgvHeader"] { background-color:#17658b!important; background-image:none!important; border-color:#2b7699!important; color:#fff!important; font-size:12px!important; font-weight:700!important; letter-spacing:.01em; padding:13px 10px!important; text-transform:none; }
.content [class*="dxgvHeader"] *,.content [class*="dxgvHeader"] a,.content [class*="dxgvHeader"] span { color:#fff!important; opacity:1!important; }
.content [class*="dxgvHeader"]:first-child { border-top-left-radius:10px; }.content [class*="dxgvHeader"]:last-child { border-top-right-radius:10px; }
.content [class*="dxgvDataRow"] > td,.content [class*="dxgvDataRow"] td { background-color:#fff!important; background-image:none!important; border-color:#e0edf2!important; line-height:1.35!important; padding:12px 10px!important; vertical-align:middle!important; }
.content [class*="dxgvDataRow"]:nth-child(even) > td,.content [class*="dxgvDataRow"]:nth-child(even) td { background-color:#f6fafc!important; }
.content [class*="dxgvDataRow"]:hover > td,.content [class*="dxgvDataRow"]:hover td { background-color:#edf8fc!important; }
.content [class*="dxgvSearchPanel"] { background:#f0f8fb!important; background-image:none!important; border:0!important; color:#426270!important; padding:12px!important; }
.content [class*="dxgvSearchPanel"] table { background:#fff!important; border:1px solid #c9e3ed!important; border-radius:8px!important; box-shadow:0 2px 5px rgba(23,101,139,.04); max-width:560px!important; width:100%!important; }
.content [class*="dxgvSearchPanel"] input { background:#fff!important; border:1px solid #b8dbe8!important; border-radius:6px!important; box-shadow:none!important; color:#29495a!important; height:34px!important; padding:6px 10px!important; width:100%!important; }
.content [class*="dxgvSearchPanel"] input:focus { border-color:#40a6d7!important; box-shadow:0 0 0 3px rgba(64,166,215,.15)!important; }
.content [class*="dxgvFilterRow"] > td,.content [class*="dxgvFilterRow"] td { background:#f1f8fb!important; border-color:#d7e9f0!important; padding:8px!important; }
.content [class*="dxgvFilterRow"] input,.content [class*="dxgvFilterRow"] select { background:#fff!important; border:1px solid #c7e0ea!important; border-radius:6px!important; box-shadow:none!important; color:#29495a!important; height:33px!important; padding:5px 8px!important; }
.content [class*="dxgvPager"] { background:#f7fbfc!important; border-top:1px solid #d8e9f0!important; color:#5b7180!important; padding:11px 13px!important; }
.content [class*="dxgvCommandColumn"] a { display:inline-flex!important; margin:2px!important; vertical-align:middle!important; }.content [class*="dxgvCommandColumn"] img { background:#eaf6fa!important; border:1px solid #cae2eb!important; border-radius:6px!important; box-shadow:none!important; height:28px!important; max-width:28px!important; object-fit:contain!important; padding:3px!important; transition:background-color .16s ease,transform .16s ease!important; width:28px!important; }.content [class*="dxgvCommandColumn"] a:hover img { background:#d7eff8!important; transform:translateY(-1px); }
.content [class*="dxgvEmptyDataRow"] td { background:#f7fbfc!important; color:#617583!important; font-size:14px!important; padding:32px!important; }
@media (max-width:767px) { .content [class*="dxgvControl"] { border-radius:8px!important; }.content [class*="dxgvSearchPanel"] { padding:8px!important; }.content [class*="dxgvSearchPanel"] table { max-width:none!important; }.content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td { padding:10px 8px!important; } }

/* Campos de captura DevExpress: TextBox, ComboBox y Memo con la misma jerarquía visual. */
.content [class*="dxeTextBox"],.content [class*="dxeButtonEdit"],.content [class*="dxeMemo"] { background:#fff!important; border:1px solid #bfdde8!important; border-radius:7px!important; box-shadow:inset 0 1px 1px rgba(24,79,105,.02); color:#29495a!important; font-family:inherit!important; transition:border-color .16s ease,box-shadow .16s ease!important; }
.content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content [class*="dxeMemo"] textarea,.content input[class*="dxeEditArea"],.content textarea[class*="dxeMemoEditArea"] { background:transparent!important; color:#29495a!important; font-family:inherit!important; font-size:13px!important; line-height:1.35!important; padding:7px 9px!important; }
.content [class*="dxeTextBox"]:hover,.content [class*="dxeButtonEdit"]:hover,.content [class*="dxeMemo"]:hover { border-color:#8ec9df!important; }
.content [class*="dxeFocused"],.content [class*="dxeTextBox"]:focus-within,.content [class*="dxeButtonEdit"]:focus-within,.content [class*="dxeMemo"]:focus-within { border-color:#40a6d7!important; box-shadow:0 0 0 3px rgba(64,166,215,.16)!important; outline:0!important; }
.content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"],.content [class*="dxeCalendarButton"] { background:#e9f6fb!important; border:0!important; border-left:1px solid #c9e3ed!important; border-radius:0 6px 6px 0!important; color:#17658b!important; min-width:32px!important; transition:background-color .16s ease!important; }
.content [class*="dxeButtonEditButton"]:hover,.content [class*="dxeDropDownButton"]:hover,.content [class*="dxeCalendarButton"]:hover { background:#d7eff8!important; }
.content [class*="dxeButtonEditButton"] img,.content [class*="dxeDropDownButton"] img { filter:sepia(1) saturate(1.4) hue-rotate(152deg); opacity:.8; }
.content [class*="dxeDisabled"],.content [class*="dxeDisabled"] input,.content [class*="dxeDisabled"] textarea { background:#f2f6f8!important; border-color:#dbe7ec!important; color:#8397a1!important; opacity:1!important; }
.content [class*="dxflCaptionCell"],.content [class*="dxflCaption"] { color:#31596c!important; font-family:inherit!important; font-size:13px!important; font-weight:650!important; padding-bottom:5px!important; }

/* Menús desplegables de ASPxComboBox. */
[class^="dxeDropDownWindow_"],[class*=" dxeDropDownWindow_"],[class~="dxeDropDownWindow"],[class^="dxeListBox_"],[class*=" dxeListBox_"],[class~="dxeListBox"] { background:#fff!important; border:1px solid #b9dbe8!important; border-radius:7px!important; box-shadow:0 5px 14px rgba(20,74,100,.13)!important; color:#29495a!important; font-family:inherit!important; }
[class*="dxeListBoxItem"] { background:#fff!important; border:0!important; border-bottom:1px solid #edf4f7!important; border-radius:0!important; box-shadow:none!important; color:#29495a!important; font-size:13px!important; padding:9px 11px!important; }
[class*="dxeListBoxItem"]:last-child { border-bottom:0!important; }
[class*="dxeListBoxItem"]:hover,[class*="dxeListBoxItemHover"] { background:#eaf7fb!important; color:#17658b!important; }
[class*="dxeListBoxItemSelected"],[class*="dxeListBoxItemSelected"]:hover { background:#237fae!important; color:#fff!important; }
[class*="dxeListBoxItemSelected"] * { color:#fff!important; }
[class*="dxeListBoxFilter"] { background:#f0f8fb!important; border-bottom:1px solid #d8e9f0!important; padding:8px!important; }
[class*="dxeListBoxFilter"] input { background:#fff!important; border:1px solid #c3e0ea!important; border-radius:5px!important; color:#29495a!important; padding:6px 8px!important; }
.content [class*="dxeErrorCell"],.content [class*="dxeErrorFrame"] { color:#c52f30!important; font-size:12px!important; }
.content [class*="dxeInvalid"] { border-color:#d73637!important; box-shadow:0 0 0 3px rgba(215,54,55,.12)!important; }
@media (max-width:767px) { .content [class*="dxeTextBox"],.content [class*="dxeButtonEdit"],.content [class*="dxeMemo"] { border-radius:6px!important; }.content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content [class*="dxeMemo"] textarea { font-size:16px!important; min-height:38px!important; }.content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"] { min-width:38px!important; } }

/* Páginas externas: no deben reservar una barra lateral sin navegación. */
.external-layout .app { min-height:100vh; padding-left:0; }.external-layout .sidebar,.external-layout .sidebar-overlay,.external-layout .sidebar-mobile-menu-handle,.external-layout .mobile-menu-handle { display:none!important; }.external-layout .header { left:0; }.external-layout .app .content { margin:0 auto!important; max-width:1060px; padding:104px 28px 46px!important; }.external-layout .footer { margin-left:0!important; }
.request-page { margin:0 auto; max-width:940px; }.request-page-intro { margin:0 auto 22px; max-width:720px; text-align:center; }.request-page-kicker { color:#237fae; font-size:12px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }.request-page-intro h1 { color:#17658b; font-size:clamp(25px,3vw,34px); font-weight:750; letter-spacing:-.03em; margin:7px 0; }.request-page-intro p { color:#617583; font-size:15px; margin:0; }.request-access-card { background:#fff; border:1px solid #c9e3ed; border-radius:14px; box-shadow:0 10px 28px rgba(29,74,95,.09); padding:28px 32px; }.request-form>.row { align-items:center; border-bottom:1px solid #edf3f6; margin:0; padding:13px 0; }.request-form>.row:last-of-type { border-bottom:0; }.request-form .control-label { color:#31596c; font-size:13px; font-weight:700; line-height:1.35; margin:0; }.request-actions { margin-top:25px; text-align:center; }.request-actions [class*="dxbButton"] { min-width:145px!important; }.request-help { background:#eef8fb; border-left:4px solid #40a6d7; border-radius:0 8px 8px 0; color:#426270; font-size:13px; line-height:1.55; margin-top:24px; padding:13px 15px; }.request-help strong { color:#17658b; }
@media (max-width:767px) { .external-layout .app .content { padding:80px 14px 28px!important; }.request-access-card { border-radius:10px; padding:18px 15px; }.request-form>.row { padding:10px 0; }.request-form .control-label { display:block; margin-bottom:6px; }.request-page-intro p { font-size:14px; } }

/* Densidad de información: espacios más contenidos, sin reducir legibilidad. */
.content .card,.content .section-card,.content [class*="dxflGroup"],.content [class*="dxpc-content"] { padding:16px!important; }.content .row { margin-bottom:8px; }.content .btn,.content button,.content input[type="submit"],.content input[type="button"],.dxbButton,.dxbButton_MaterialCompact,.dxbButton_Moderno,.dxbs-btn { min-height:32px!important; padding:5px 11px!important; }
.content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content [class*="dxeMemo"] textarea,.content input[class*="dxeEditArea"],.content textarea[class*="dxeMemoEditArea"] { padding:5px 8px!important; }.content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"],.content [class*="dxeCalendarButton"] { min-width:30px!important; }
.content [class*="dxeListBoxItem"] { padding:7px 10px!important; }.content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td,.content td[class*="dxgvHeader"] { padding:10px 9px!important; }.content [class*="dxgvDataRow"] > td,.content [class*="dxgvDataRow"] td { padding:8px 9px!important; }.content [class*="dxgvFilterRow"] > td,.content [class*="dxgvFilterRow"] td { padding:6px!important; }.content [class*="dxgvPager"] { padding:8px 11px!important; }.content [class*="dxgvSearchPanel"] { padding:8px 10px!important; }.content [class*="dxgvSearchPanel"] input,.content [class*="dxgvFilterRow"] input,.content [class*="dxgvFilterRow"] select { height:30px!important; padding:4px 7px!important; }
.request-access-card { padding:22px 26px; }.request-form>.row { padding:10px 0; }.request-actions { margin-top:18px; }.request-help { margin-top:18px; padding:11px 13px; }
@media (max-width:767px) { .content .card,.content .section-card,.content [class*="dxflGroup"],.content [class*="dxpc-content"] { padding:12px!important; }.content .btn,.content button,.content input[type="submit"],.content input[type="button"],.dxbButton,.dxbButton_MaterialCompact,.dxbButton_Moderno,.dxbs-btn { min-height:34px!important; padding:6px 10px!important; }.content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content [class*="dxeMemo"] textarea { padding:6px 8px!important; }.content [class*="dxgvDataRow"] > td,.content [class*="dxgvDataRow"] td { padding:7px!important; }.request-access-card { padding:16px 14px; } }

/* Menú legible en todos los niveles, con flechas fuera del área de texto. */
.header .heading,.header .header-block-buttons .Titulo { font-size:clamp(20px,1.8vw,28px); }.sidebar .sidebar-menu li a { line-height:1.35; overflow-wrap:anywhere; padding-right:38px!important; position:relative; white-space:normal; }.sidebar .sidebar-menu .arrow { margin:0!important; position:absolute!important; right:12px; top:50%; transform:translateY(-50%); }.sidebar .sidebar-menu li.open>a .arrow { transform:translateY(-50%) rotate(90deg)!important; }.sidebar .sidebar-menu>li>.sidebar-nav>li a { padding-left:22px; }.sidebar .sidebar-menu>li>.sidebar-nav>li>.sidebar-nav>li a { padding-left:33px; }.sidebar .sidebar-menu>li>.sidebar-nav>li>.sidebar-nav>li>.sidebar-nav>li a { padding-left:44px; }.sidebar .sidebar-menu>li>.sidebar-nav>li a>i.fa:not(.arrow) { margin-right:8px; }.sidebar .sidebar-menu>li>.sidebar-nav>li>.sidebar-nav>li a>i.fa:not(.arrow) { margin-left:-10px; }
/* Perfil de usuario y acciones de sesión. */
.header .header-block-nav .profile-summary { align-items:center; border-radius:9px; display:flex; gap:9px; padding:6px 9px!important; transition:background-color .16s ease; }.header .header-block-nav .profile-summary:hover { background:#dff1f8; }.header .header-block-nav .profile-avatar { background-color:#e8f5fb; background-position:center; background-size:cover; border:2px solid #40a6d7; box-shadow:0 2px 7px rgba(35,127,174,.18); flex:0 0 35px; height:35px; margin:0; width:35px; }.profile-details { display:flex; flex-direction:column; line-height:1.2; max-width:230px; min-width:0; }.profile-unit { color:#617583; font-size:11px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.profile-user { color:#17658b; font-size:13px; font-weight:750; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.profile-caret { color:#237fae; font-size:15px; margin-left:1px; }.profile-dropdown-menu { border:1px solid #c9e3ed!important; border-radius:10px!important; box-shadow:0 10px 24px rgba(23,83,111,.16)!important; min-width:230px; padding:8px!important; }.profile-menu-caption { color:#617583; font-size:11px; font-weight:750; letter-spacing:.08em; padding:5px 7px 8px; text-transform:uppercase; }.profile-action { align-items:center; border-radius:7px; display:flex; gap:8px; padding:4px 5px; }.profile-action>i { color:#237fae; text-align:center; width:18px; }.profile-action-danger>i { color:#c83a3a; }.profile-menu-button { background:transparent!important; border:0!important; box-shadow:none!important; color:#17658b!important; flex:1; min-height:29px!important; text-align:left!important; transform:none!important; width:100%; }.profile-menu-button:hover { background:#eaf7fb!important; border-radius:5px!important; color:#124d6a!important; }.profile-action-danger .profile-menu-button { color:#b62f31!important; }.profile-action-danger .profile-menu-button:hover { background:#fff0f0!important; }
@media (max-width:575px) { .header .heading,.header .header-block-buttons .Titulo { font-size:15px; }.header .header-block-nav .profile-summary { gap:5px; padding:4px!important; }.header .header-block-nav .profile-avatar { flex-basis:30px; height:30px; width:30px; }.profile-details { max-width:100px; }.profile-unit { display:none; }.profile-user { font-size:12px; }.profile-caret { display:none; }.sidebar .sidebar-menu>li>.sidebar-nav>li a { padding-left:18px; }.sidebar .sidebar-menu>li>.sidebar-nav>li>.sidebar-nav>li a { padding-left:28px; }.sidebar .sidebar-menu>li>.sidebar-nav>li>.sidebar-nav>li>.sidebar-nav>li a { padding-left:38px; } }

/* Densidad compacta de escritorio para controles DevExpress. */
@media (min-width:768px) { .content .row { margin-bottom:5px!important; }.content [class*="dxeTextBox"],.content [class*="dxeButtonEdit"],.content [class*="dxeMemo"] { border-radius:5px!important; }.content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content input[class*="dxeEditArea"] { font-size:12px!important; line-height:1.2!important; min-height:26px!important; padding:3px 7px!important; }.content [class*="dxeMemo"] textarea,.content textarea[class*="dxeMemoEditArea"] { font-size:12px!important; line-height:1.3!important; padding:5px 7px!important; }.content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"],.content [class*="dxeCalendarButton"] { min-width:27px!important; }.content [class*="dxeListBoxItem"] { font-size:12px!important; line-height:1.2!important; padding:5px 9px!important; }.content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td,.content td[class*="dxgvHeader"] { font-size:11px!important; line-height:1.18!important; padding:8px 8px!important; }.content [class*="dxgvDataRow"] > td,.content [class*="dxgvDataRow"] td { font-size:12px!important; line-height:1.2!important; padding:6px 8px!important; }.content [class*="dxgvFilterRow"] > td,.content [class*="dxgvFilterRow"] td { padding:4px 6px!important; }.content [class*="dxgvFilterRow"] input,.content [class*="dxgvFilterRow"] select,.content [class*="dxgvSearchPanel"] input { font-size:12px!important; height:27px!important; min-height:27px!important; padding:3px 6px!important; }.content [class*="dxgvSearchPanel"] { padding:6px 8px!important; }.content [class*="dxgvPager"] { font-size:12px!important; padding:6px 9px!important; }.content [class*="dxgvCommandColumn"] img { height:24px!important; max-width:24px!important; padding:2px!important; width:24px!important; } }

/* Acciones de ASPxGridView: solo el icono, sin bloques de color del tema. */
.content [class*="dxgvCommandColumn"] a,.content [class*="dxgvCommandColumn"] a:hover,.content [class*="dxgvCommandColumn"] a:focus,.content [class*="dxgvCommandColumn"] [class*="dxbButton"] { background:transparent!important; background-image:none!important; border:0!important; box-shadow:none!important; min-height:0!important; padding:0!important; transform:none!important; }.content [class*="dxgvCommandColumn"] img { background:transparent!important; border:0!important; border-radius:4px!important; box-shadow:none!important; height:26px!important; margin:1px 2px!important; max-width:26px!important; padding:0!important; width:26px!important; }.content [class*="dxgvCommandColumn"] a:hover img { background:#e8f5fb!important; transform:translateY(-1px); }

/* Submenús: lectura alineada a la izquierda, incluso cuando el rótulo ocupa dos líneas. */
.sidebar .sidebar-menu .sidebar-nav>li>a { align-items:flex-start; display:flex!important; justify-content:flex-start!important; text-align:left!important; word-break:normal; overflow-wrap:break-word; hyphens:none; }.sidebar .sidebar-menu .sidebar-nav>li>a>i.fa:not(.arrow) { flex:0 0 18px; }.sidebar .sidebar-menu .sidebar-nav>li>a>i.arrow { flex:0 0 auto; }.sidebar .sidebar-menu .sidebar-nav>li>a>span { text-align:left!important; }

/* Texto de datos en ASPxGridView: contraste consistente fuera de la selección. */
.content [class*="dxgvDataRow"]>td,.content [class*="dxgvDataRow"] td { color:#526b78!important; }.content [class*="dxgvDataRow"]>td a,.content [class*="dxgvDataRow"] td a,.content [class*="dxgvDataRow"]>td span,.content [class*="dxgvDataRow"] td span { color:#526b78!important; }.content [class*="dxgvFocusedRow"]>td,.content [class*="dxgvFocusedRow"] td,.content [class*="dxgvFocusedRow"]>td a,.content [class*="dxgvFocusedRow"] td a,.content [class*="dxgvSelectedRow"]>td,.content [class*="dxgvSelectedRow"] td,.content [class*="dxgvSelectedRow"]>td a,.content [class*="dxgvSelectedRow"] td a { color:#123e56!important; }

/* Perfil de cabecera: superficie limpia y menú de cuenta equilibrado. */
.header .header-block-nav .profile-summary,.header .header-block-nav .profile-summary:focus,.header .header-block-nav .profile-summary:hover { background:#fff!important; border:1px solid #bcdde9!important; border-radius:9px!important; box-shadow:none!important; outline:0!important; text-decoration:none!important; }.header .header-block-nav .profile-summary:hover { background:#f3fafc!important; border-color:#74bddb!important; }.header .header-block-nav .profile-avatar { align-items:center; background:linear-gradient(145deg,#17658b,#2b96c6)!important; border:1px solid rgba(255,255,255,.9)!important; border-radius:9px!important; box-shadow:0 0 0 2px rgba(64,166,215,.32),0 4px 10px rgba(18,77,106,.22)!important; color:#fff; display:flex; justify-content:center; overflow:hidden; }.header .header-block-nav .profile-avatar>i { color:#fff!important; font-size:23px; line-height:1; text-shadow:0 1px 2px rgba(8,50,73,.28); }.header .header-block-nav .profile-avatar:after { content:none!important; }.profile-details { max-width:190px; }.profile-unit { color:#647b88; font-size:10px; font-weight:600; }.profile-user { color:#194f6b; font-size:13px; }.profile-dropdown-menu { border-color:#c6e1eb!important; border-radius:11px!important; box-shadow:0 8px 20px rgba(22,78,105,.14)!important; min-width:250px; padding:10px!important; }.profile-menu-caption { border-bottom:1px solid #e2eef3; margin:0 3px 5px; padding:5px 4px 9px; }.profile-action { min-height:37px; padding:4px 6px; }.profile-action>i { font-size:15px; }.profile-menu-button { font-size:13px!important; font-weight:700!important; padding:5px 7px!important; }.profile-action-danger { border-top:1px solid #edf2f5; margin-top:4px; padding-top:8px; }

/* Identidad HPOAgt unificada en el acceso y la barra lateral. */
.sidebar-header .brand-single { justify-content:center; }.hpoa-brand-logo-full { display:block; height:auto; margin:0 auto; max-height:88px; max-width:205px; position:relative; width:100%; }.hpoa-brand-logo-full img { display:block; height:auto; width:100%; }.hpoa-brand-logo-full .hpoa-logo-main { filter:drop-shadow(1px 0 rgba(255,255,255,.82)) drop-shadow(-1px 0 rgba(255,255,255,.82)) drop-shadow(0 1px rgba(255,255,255,.82)) drop-shadow(0 -1px rgba(255,255,255,.82)) drop-shadow(0 2px 4px rgba(4,32,48,.28)); }.hpoa-brand-logo-full .hpoa-logo-tagline { left:0; pointer-events:none; position:absolute; top:0; }.sidebar-header.sidebar-brand-single { min-height:112px; padding:10px 16px; }
@media (max-width:575px) { .sidebar-header.sidebar-brand-single { min-height:91px; }.hpoa-brand-logo-full { max-height:67px; max-width:165px; } }

/* El resumen de cuenta debe mostrar nombres y unidades extensos sin truncarlos. */
.header .header-block-nav { white-space:normal; }.header .header-block-nav .profile-summary { align-items:stretch; height:auto; max-width:380px; min-height:47px; }.header .header-block-nav .profile-avatar { align-self:center; }.header .header-block-nav .profile-details { flex:1 1 auto; max-width:340px; min-width:0; padding:1px 0; }.header .header-block-nav .profile-unit,.header .header-block-nav .profile-user { overflow:visible; overflow-wrap:anywhere; text-overflow:clip; white-space:normal; }.header .header-block-nav .profile-unit { line-height:1.25; }.header .header-block-nav .profile-user { line-height:1.25; }.header .header-block-nav .profile-caret { align-self:center; flex:0 0 auto; }
@media (max-width:991px) and (min-width:576px) { .header .header-block-nav .profile-summary { max-width:275px; }.header .header-block-nav .profile-details { max-width:235px; } }

/* El título identifica el formulario desde el inicio del encabezado. */
.header .header-block-buttons { flex:1 1 auto; margin-left:0!important; margin-right:auto!important; text-align:left!important; }.header .header-block-buttons .heading { text-align:left; }

/* Altura compacta real: DevExpress asigna el alto en la tabla interna de sus editores. */
@media (min-width:768px) {
    .content table[class*="dxeTextBox"],.content table[class*="dxeButtonEdit"] { height:30px!important; }
    .content [class*="dxeTextBox"]>tbody>tr>td,.content [class*="dxeButtonEdit"]>tbody>tr>td { height:28px!important; }
    .content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content input[class*="dxeEditArea"] { box-sizing:border-box!important; height:28px!important; min-height:0!important; padding:3px 7px!important; }
    .content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"],.content [class*="dxeCalendarButton"] { height:28px!important; min-height:28px!important; }
    .content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td,.content td[class*="dxgvHeader"] { padding:6px 8px!important; }
    .content [class*="dxgvDataRow"]>td,.content [class*="dxgvDataRow"] td { padding:5px 8px!important; }
    .content [class*="dxgvFilterRow"]>td,.content [class*="dxgvFilterRow"] td { padding:3px 5px!important; }
    .content [class*="dxgvPager"] { padding:5px 8px!important; }
}

/* Normalización final: botones, editores y buscador del GridView en todos los temas DevExpress. */
.content .btn,.content button,.content input[type="submit"],.content input[type="button"],.content [class*="dxbButton"],.content .dxbs-btn { border-radius:6px!important; font-size:12px!important; font-weight:650!important; letter-spacing:0!important; min-height:30px!important; padding:4px 10px!important; }.content .btn-primary,.content .btn-info,.content input[type="submit"],.content [class*="dxbButton"],.content .dxbs-btn-primary { box-shadow:0 2px 6px rgba(35,127,174,.16)!important; }.content [class*="dxflItem"],.content [class*="dxflItem"]>td { padding-bottom:3px!important; }
.content [class*="dxgvSearchPanel"] { background:transparent!important; border:0!important; min-height:0!important; padding:4px 6px 4px 34px!important; position:relative!important; }.content [class*="dxgvSearchPanel"]:before { color:#237fae; content:"\f002"; font-family:FontAwesome; font-size:13px; left:15px; line-height:1; pointer-events:none; position:absolute; top:50%; transform:translateY(-50%); z-index:2; }.content [class*="dxgvSearchPanel"] table { background:#fff!important; border:1px solid #c9e3ed!important; border-radius:6px!important; box-shadow:none!important; max-width:560px!important; overflow:hidden!important; width:100%!important; }.content [class*="dxgvSearchPanel"] input { background:#fff!important; border:0!important; border-radius:5px!important; box-shadow:none!important; color:#29495a!important; font-size:12px!important; height:26px!important; min-height:26px!important; padding:2px 7px!important; width:100%!important; }.content [class*="dxgvSearchPanel"] input:focus { box-shadow:inset 0 0 0 1px #40a6d7!important; }
@media (min-width:768px) { .content table[class*="dxeTextBox"],.content table[class*="dxeButtonEdit"] { height:27px!important; }.content [class*="dxeTextBox"]>tbody>tr>td,.content [class*="dxeButtonEdit"]>tbody>tr>td { height:25px!important; }.content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content input[class*="dxeEditArea"] { font-size:12px!important; height:25px!important; line-height:1.1!important; padding:2px 7px!important; }.content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"],.content [class*="dxeCalendarButton"] { height:25px!important; min-height:25px!important; }.content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td,.content td[class*="dxgvHeader"] { font-size:12px!important; line-height:1.12!important; padding:4px 7px!important; }.content [class*="dxgvDataRow"]>td,.content [class*="dxgvDataRow"] td { font-size:12px!important; line-height:1.15!important; padding:4px 7px!important; }.content [class*="dxgvFilterRow"]>td,.content [class*="dxgvFilterRow"] td { padding:2px 4px!important; }.content [class*="dxgvCommandColumn"] a,.content [class*="dxgvCommandColumn"] [class*="dxbButton"] { background:transparent!important; border:0!important; box-shadow:none!important; min-height:0!important; padding:0!important; } }

/* Navegación más serena: azul aclarado y texto de lectura regular. */
.sidebar { background:linear-gradient(180deg,#376f8b 0%,#2d627d 62%,#27566e 100%); box-shadow:4px 0 18px rgba(28,71,91,.16); }.sidebar .sidebar-container::-webkit-scrollbar-thumb { background:#83bdd2; }.sidebar .sidebar-container::-webkit-scrollbar-track { background:#2d627d; }.sidebar-header { background:rgba(22,65,84,.16); border-bottom-color:rgba(231,247,252,.26); }.sidebar .sidebar-menu li a,.sidebar .sidebar-menu li a * { font-weight:400!important; }.sidebar .sidebar-menu li a { color:#ecf7fa; }.sidebar .sidebar-menu li a:hover,.sidebar .sidebar-menu li.open>a,.sidebar .sidebar-menu li.open a:hover { background:rgba(189,227,240,.16); color:#fff; }.sidebar .sidebar-menu>li.active>a,.sidebar .sidebar-menu>li.active>a:hover,.sidebar .sidebar-menu>li.open>a { background:linear-gradient(90deg,#76b8d2,#5da4c2); box-shadow:0 3px 10px rgba(19,61,81,.16); }.sidebar .sidebar-menu>li>.sidebar-nav>li a { color:#dceff5; }.sidebar .sidebar-menu>li>.sidebar-nav>li.active a,.sidebar .sidebar-menu .sidebar-nav li.active>a { background:rgba(252,191,0,.15); color:#fff!important; font-weight:400!important; }

/* Controles más bajos con texto ligeramente mayor para mejorar la lectura. */
@media (min-width:768px) {
    .content table[class*="dxeTextBox"],.content table[class*="dxeButtonEdit"] { height:28px!important; }
    .content [class*="dxeTextBox"]>tbody>tr>td,.content [class*="dxeButtonEdit"]>tbody>tr>td { height:26px!important; }
    .content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content input[class*="dxeEditArea"] { font-size:13px!important; height:26px!important; line-height:1.1!important; padding:2px 7px!important; }
    .content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"],.content [class*="dxeCalendarButton"] { height:26px!important; min-height:26px!important; }
    .content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td,.content td[class*="dxgvHeader"] { font-size:12px!important; line-height:1.15!important; padding:4px 8px!important; }
    .content [class*="dxgvDataRow"]>td,.content [class*="dxgvDataRow"] td { font-size:13px!important; line-height:1.18!important; padding:4px 8px!important; }
    .content [class*="dxgvFilterRow"]>td,.content [class*="dxgvFilterRow"] td { padding:2px 5px!important; }
}

/* Prioridad final de densidad en escritorio. */
@media (min-width:768px) {
    .content table[class*="dxeTextBox"],.content table[class*="dxeButtonEdit"] { height:27px!important; }
    .content [class*="dxeTextBox"]>tbody>tr>td,.content [class*="dxeButtonEdit"]>tbody>tr>td { height:25px!important; }
    .content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content input[class*="dxeEditArea"] { font-size:13px!important; height:25px!important; line-height:1.1!important; min-height:0!important; padding:2px 7px!important; }
    .content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"],.content [class*="dxeCalendarButton"] { height:25px!important; min-height:25px!important; }
    .content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td,.content td[class*="dxgvHeader"] { font-size:12px!important; line-height:1.12!important; padding:4px 7px!important; }
    .content [class*="dxgvDataRow"]>td,.content [class*="dxgvDataRow"] td { font-size:13px!important; line-height:1.15!important; padding:4px 7px!important; }
}

/* Densidad elevada para formularios de escritorio. */
@media (min-width:768px) {
    .content .row { margin-bottom:3px!important; }
    .content [class*="dxflItem"],.content [class*="dxflItem"]>td { padding-bottom:1px!important; }
    .content [class*="dxflCaptionCell"],.content [class*="dxflCaption"] { font-size:12px!important; line-height:1.15!important; padding-bottom:2px!important; }
    .content table[class*="dxeTextBox"],.content table[class*="dxeButtonEdit"] { height:25px!important; }
    .content [class*="dxeTextBox"]>tbody>tr>td,.content [class*="dxeButtonEdit"]>tbody>tr>td { height:23px!important; }
    .content [class*="dxeTextBox"] input,.content [class*="dxeButtonEdit"] input,.content input[class*="dxeEditArea"] { font-size:12px!important; height:23px!important; line-height:1!important; padding:1px 6px!important; }
    .content [class*="dxeButtonEditButton"],.content [class*="dxeDropDownButton"],.content [class*="dxeCalendarButton"] { height:23px!important; min-height:23px!important; min-width:24px!important; }
    .content .btn,.content button,.content input[type="submit"],.content input[type="button"],.content [class*="dxbButton"],.content .dxbs-btn { font-size:12px!important; min-height:28px!important; padding:3px 9px!important; }
    .content [class*="dxgvHeader"],.content [class*="dxgvHeader"] td,.content td[class*="dxgvHeader"] { padding:3px 6px!important; }
    .content [class*="dxgvDataRow"]>td,.content [class*="dxgvDataRow"] td { font-size:12px!important; padding:3px 6px!important; }
    .content [class*="dxgvSearchPanel"] { padding:3px 5px 3px 31px!important; }
.content [class*="dxgvSearchPanel"] input { height:24px!important; min-height:24px!important; padding:1px 6px!important; }
}

/* Legibilidad DevExpress: evita textos comprimidos o con apariencia borrosa en grids y controles. */
.content [class*="dxgvControl"],
.content [class*="dxgvControl"] table,
.content [class*="dxeTextBox"],
.content [class*="dxeButtonEdit"],
.content [class*="dxeMemo"],
.content [class*="dxbButton"],
.content .dxbs-btn {
    font-family: Arial, Helvetica, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
}
.content [class*="dxgvHeader"],
.content [class*="dxgvHeader"] td {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}
.content [class*="dxgvDataRow"] > td,
.content [class*="dxgvDataRow"] td {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}
.content [class*="dxbButton"],
.content .dxbs-btn {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
}

/* Forzado sobre el marcado interno que genera ASPxTextBox y ASPxComboBox. */
@media (min-width:768px) {
    table.dxeTextBoxSys,table.dxeButtonEditSys,table[class*="dxeTextBox"],table[class*="dxeButtonEdit"] { height:24px!important; min-height:24px!important; }
    table.dxeTextBoxSys>tbody>tr,table.dxeButtonEditSys>tbody>tr,table[class*="dxeTextBox"]>tbody>tr,table[class*="dxeButtonEdit"]>tbody>tr { height:22px!important; }
    table.dxeTextBoxSys>tbody>tr>td,table.dxeButtonEditSys>tbody>tr>td,table[class*="dxeTextBox"]>tbody>tr>td,table[class*="dxeButtonEdit"]>tbody>tr>td { height:22px!important; padding-bottom:0!important; padding-top:0!important; }
    input.dxeEditArea,input[class*="dxeEditArea"],.dxeTextBoxSys input,.dxeButtonEditSys input { box-sizing:border-box!important; font-size:12px!important; height:22px!important; line-height:20px!important; margin:0!important; min-height:22px!important; padding:0 6px!important; }
    td[class*="dxflNestedControlCell"],td[class*="dxflItem"],td[class*="dxflItem"]>table>tbody>tr>td { padding-bottom:0!important; padding-top:0!important; }
}

/* Selector persistente de tema, ubicado junto al perfil. */
.header .header-block-nav>ul { align-items:center; display:flex!important; }.theme-switcher { align-items:center; border-left:1px solid #c8e1eb; display:flex!important; gap:5px; margin-left:8px; padding-left:10px; }.theme-switcher>i { color:#237fae; font-size:13px; }.theme-switcher label { color:#58717e; font-size:11px; font-weight:650; margin:0; }.theme-switcher select { background:#fff; border:1px solid #bcdde9; border-radius:5px; color:#31596c; cursor:pointer; font-family:inherit; font-size:11px; height:26px; outline:0; padding:2px 20px 2px 6px; }.theme-switcher select:focus { border-color:#40a6d7; box-shadow:0 0 0 2px rgba(64,166,215,.16); }
@media (max-width:767px) { .theme-switcher { border-left:0; margin-left:3px; padding-left:0; }.theme-switcher label,.theme-switcher>i { display:none; }.theme-switcher select { max-width:90px; } }

/* Tema intermedio: contraste suave para trabajo prolongado. */
html[data-epoa-theme="intermedio"] body,html[data-epoa-theme="intermedio"] .app,html[data-epoa-theme="intermedio"] .content { background:#e8eef1!important; color:#294552; }html[data-epoa-theme="intermedio"] .header { background:linear-gradient(100deg,#e5edf0,#d9e6ea)!important; border-bottom-color:#b9d1da!important; }html[data-epoa-theme="intermedio"] .sidebar { background:linear-gradient(180deg,#456878,#385a6b 62%,#304f60)!important; }html[data-epoa-theme="intermedio"] .content [class*="dxeTextBox"],html[data-epoa-theme="intermedio"] .content [class*="dxeButtonEdit"],html[data-epoa-theme="intermedio"] .content [class*="dxeMemo"],html[data-epoa-theme="intermedio"] .content [class*="dxgvControl"] { background:#fdfefe!important; border-color:#b8cdd5!important; }html[data-epoa-theme="intermedio"] .content [class*="dxgvDataRow"]>td,html[data-epoa-theme="intermedio"] .content [class*="dxgvDataRow"] td { background:#f8fbfc!important; border-color:#d5e0e5!important; color:#405a66!important; }html[data-epoa-theme="intermedio"] .content [class*="dxgvDataRow"]:nth-child(even)>td { background:#eef4f6!important; }html[data-epoa-theme="intermedio"] .footer { background:#dde9ed!important; border-top-color:#bfd5dc!important; }

/* Icono, etiqueta y flecha con espacio propio, en todos los niveles del menú. */
html body #sidebar-menu li > a {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px;
    padding-left: 12px !important;
    padding-right: 34px !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    text-align: left !important;
    font-weight: 400 !important;
}
html body #sidebar-menu li > a > i.epoa-menu-icon {
    display: inline-block !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    margin: 2px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    color: currentColor !important;
}
html body #sidebar-menu li > a > i.arrow {
    position: absolute !important;
    right: 8px !important;
    width: 18px !important;
    min-width: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Cada nivel se desplaza respecto de su padre y comparte una guía vertical.
   No cambiar display/height: MetisMenu y los permisos controlan la visibilidad. */
html body #sidebar-menu li > ul.sidebar-nav {
    margin: 0 0 0 14px !important;
    padding: 0 !important;
    border-left: 1px solid rgba(210, 235, 247, .32) !important;
    border-top: 0 !important;
    border-radius: 0 !important;
}
html body #sidebar-menu li > ul.sidebar-nav + ul.sidebar-nav {
    padding-top: 0 !important;
    border-top: 0 !important;
}
html body #sidebar-menu ul.sidebar-nav > li > a {
    position: relative;
    padding-left: 12px !important;
    border-bottom: 0 !important;
    border-radius: 5px !important;
    margin: 2px 0 !important;
}
html body #sidebar-menu ul.sidebar-nav > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 7px;
    height: 1px;
    background: rgba(210, 235, 247, .32);
    pointer-events: none;
}
html body #sidebar-menu ul.sidebar-nav > li.open > a,
html body #sidebar-menu ul.sidebar-nav > li > a[aria-expanded="true"] {
    background: rgba(187, 225, 245, .13) !important;
    color: #fff !important;
}
html body #sidebar-menu ul.sidebar-nav > li.active > a {
    box-shadow: inset 3px 0 0 var(--igss-amarillo) !important;
}
@media (max-width: 575px) {
    html body #sidebar-menu li > ul.sidebar-nav {
        margin-left: 11px !important;
    }
}

/* Tema oscuro: interfaz completa, incluidos controles y grillas DevExpress. */
html[data-epoa-theme="oscuro"] body,html[data-epoa-theme="oscuro"] .app,html[data-epoa-theme="oscuro"] .content { background:#16252e!important; color:#dce9ee!important; }html[data-epoa-theme="oscuro"] .header { background:linear-gradient(100deg,#1d333f,#1a2d37)!important; border-bottom-color:#385563!important; box-shadow:0 2px 14px rgba(0,0,0,.28)!important; }html[data-epoa-theme="oscuro"] .header .heading,html[data-epoa-theme="oscuro"] .header .header-block-buttons .Titulo { color:#d8f1fa!important; text-shadow:none!important; }html[data-epoa-theme="oscuro"] .sidebar { background:linear-gradient(180deg,#203c4b,#192f3a 62%,#142832)!important; }html[data-epoa-theme="oscuro"] .card,html[data-epoa-theme="oscuro"] .section-card,html[data-epoa-theme="oscuro"] .content [class*="dxgvControl"],html[data-epoa-theme="oscuro"] .content [class*="dxflGroup"] { background:#1d313c!important; border-color:#36515e!important; box-shadow:none!important; }html[data-epoa-theme="oscuro"] .content [class*="dxeTextBox"],html[data-epoa-theme="oscuro"] .content [class*="dxeButtonEdit"],html[data-epoa-theme="oscuro"] .content [class*="dxeMemo"],html[data-epoa-theme="oscuro"] .content [class*="dxeTextBox"] input,html[data-epoa-theme="oscuro"] .content [class*="dxeButtonEdit"] input,html[data-epoa-theme="oscuro"] .content input[class*="dxeEditArea"] { background:#223944!important; border-color:#476673!important; color:#edf7fa!important; }html[data-epoa-theme="oscuro"] .content [class*="dxeButtonEditButton"],html[data-epoa-theme="oscuro"] .content [class*="dxeDropDownButton"],html[data-epoa-theme="oscuro"] .content [class*="dxeCalendarButton"] { background:#2b4a57!important; border-left-color:#476673!important; }html[data-epoa-theme="oscuro"] .content [class*="dxgvHeader"],html[data-epoa-theme="oscuro"] .content [class*="dxgvHeader"] td { background:#285d75!important; border-color:#3b7894!important; }html[data-epoa-theme="oscuro"] .content [class*="dxgvDataRow"]>td,html[data-epoa-theme="oscuro"] .content [class*="dxgvDataRow"] td,html[data-epoa-theme="oscuro"] .content [class*="dxgvDataRow"]>td span,html[data-epoa-theme="oscuro"] .content [class*="dxgvDataRow"] td span { background:#1d313c!important; border-color:#314d5a!important; color:#dce9ee!important; }html[data-epoa-theme="oscuro"] .content [class*="dxgvDataRow"]:nth-child(even)>td,html[data-epoa-theme="oscuro"] .content [class*="dxgvDataRow"]:nth-child(even) td { background:#203640!important; }html[data-epoa-theme="oscuro"] .content [class*="dxgvFilterRow"]>td,html[data-epoa-theme="oscuro"] .content [class*="dxgvFilterRow"] td,html[data-epoa-theme="oscuro"] .content [class*="dxgvSearchPanel"] { background:#1a2d36!important; border-color:#36515e!important; }html[data-epoa-theme="oscuro"] .content [class*="dxgvSearchPanel"] table,html[data-epoa-theme="oscuro"] .content [class*="dxgvSearchPanel"] input,html[data-epoa-theme="oscuro"] .content [class*="dxgvFilterRow"] input { background:#223944!important; color:#edf7fa!important; }html[data-epoa-theme="oscuro"] .content [class*="dxflCaption"],html[data-epoa-theme="oscuro"] .content label { color:#c7dde5!important; }html[data-epoa-theme="oscuro"] .content .btn-default,html[data-epoa-theme="oscuro"] .content .btn-secondary { background:#294653!important; border-color:#51717d!important; color:#e4f4f8!important; }html[data-epoa-theme="oscuro"] .footer { background:#182a33!important; border-top-color:#36515e!important; color:#c7dde5!important; }html[data-epoa-theme="oscuro"] .profile-summary,html[data-epoa-theme="oscuro"] .profile-summary:focus,html[data-epoa-theme="oscuro"] .profile-summary:hover,html[data-epoa-theme="oscuro"] .theme-switcher select { background:#243b46!important; border-color:#4b6b78!important; color:#e4f4f8!important; }html[data-epoa-theme="oscuro"] .theme-switcher { border-left-color:#486672!important; }html[data-epoa-theme="oscuro"] .theme-switcher label { color:#c7dde5!important; }
