.est{max-width:1240px;margin:0 auto;--est-blue:#0B4F9C;--est-blue-d:#083B75;--est-teal:#1E8C80;--est-ink:#1D2733;--est-muted:#4A5664;--est-line:#E3EAF3;--est-bg:#F4F8FC;font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:var(--est-ink);font-size:16px;line-height:1.55;scroll-margin-top:20px}
.est *{box-sizing:border-box}
.est h2,.est h3,.est p,.est span,.est a,.est button,.est input,.est select,.est label{letter-spacing:normal!important}
.est a{color:var(--est-blue)}
.est a:hover{color:var(--est-blue-d)}
.est p{margin:0}
.est ul{list-style:none;margin:0;padding:0}
.est li{margin:0;padding:0}
.est [hidden]{display:none!important}
.est li:before{display:none!important}
.est-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.est-muted{color:var(--est-muted);font-size:14.5px}
.est-h2{margin:0!important;font-size:26px!important;line-height:1.25!important;color:var(--est-ink)!important;font-weight:800!important}

/* Botones */
.est .est-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1.5px solid var(--est-blue);border-radius:10px;background:var(--est-blue);color:#fff!important;font:inherit;font-size:14.5px;font-weight:700;text-decoration:none!important;cursor:pointer;white-space:nowrap;transition:background .15s}
.est .est-btn:hover{background:var(--est-blue-d);border-color:var(--est-blue-d)}
.est .est-btn--ghost{background:#fff;color:var(--est-blue)!important}
.est .est-btn--ghost:hover{background:#E8F1FB;color:var(--est-blue-d)!important}

/* Buscador */
.est-search{background:#fff;border:1px solid var(--est-line);border-radius:16px;padding:20px;margin:0 0 32px;box-shadow:0 8px 24px rgba(11,79,156,.06)}
.est-search__label{display:block;font-weight:700;font-size:15px;margin-bottom:8px}
.est-search__row{display:flex;gap:10px}
.est-search input[type=search],.est-filter__input{flex:1;min-width:0;height:48px!important;padding:0 14px!important;border:1.5px solid #8A97A6!important;border-radius:10px!important;font:inherit!important;font-size:15px!important;background:#fff!important;color:var(--est-ink)!important;margin:0!important;box-shadow:none!important}

/* Tarjetas de categorías */
.est-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:18px}
.est-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
.est .est-card{display:flex;flex-direction:column;gap:10px;padding:22px;background:#fff;border:1px solid var(--est-line);border-radius:16px;box-shadow:0 8px 24px rgba(11,79,156,.07);text-decoration:none!important;color:var(--est-ink)!important;transition:transform .2s,box-shadow .2s;min-height:200px}
.est .est-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(11,79,156,.16)}
.est-card__icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;flex:0 0 46px}
.est-card__title{font-size:18px;font-weight:800;line-height:1.3;color:var(--est-blue)}
.est-card__subs{font-size:14px;color:var(--est-muted);line-height:1.5;flex-grow:1}
.est-card__foot{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--est-muted);border-top:1px solid #EEF2F7;padding-top:10px}
.est-card__go{font-weight:700;color:var(--est-blue)}
.est-c-blue .est-card__icon,.est-card__icon.est-c-blue{background:#E8F1FB;color:#0B4F9C}
.est-c-teal .est-card__icon,.est-card__icon.est-c-teal{background:#E3F4F1;color:#1A7A6F}
.est-c-rose .est-card__icon,.est-card__icon.est-c-rose{background:#FDEBF1;color:#B8285A}
.est-c-amber .est-card__icon,.est-card__icon.est-c-amber{background:#FFF1E3;color:#B35A12}
.est-c-violet .est-card__icon,.est-card__icon.est-c-violet{background:#EFEAFB;color:#5A3FA3}

/* Vista de categoría */
.est-crumbs{font-size:14px;color:var(--est-muted);margin-bottom:14px}
.est-cathead{display:flex;align-items:center;gap:14px;margin-bottom:24px}
.est-cathead__title{margin:0!important;font-size:30px!important;line-height:1.2!important;color:var(--est-blue)!important;font-weight:800!important}
.est-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:28px;align-items:start}
.est-side{position:sticky;top:20px;background:#fff;border:1px solid var(--est-line);border-radius:16px;padding:10px}
.est-select{display:none}
.est-nav a{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px 12px;border-radius:10px;text-decoration:none!important;color:var(--est-ink)!important;font-size:14.5px;line-height:1.4;font-weight:600}
.est-nav a:hover{background:var(--est-bg)}
.est-nav a.is-current{background:var(--est-blue);color:#fff!important}
.est-nav__n{flex:0 0 auto;min-width:26px;text-align:center;font-size:12px;font-weight:700;padding:2px 7px;border-radius:12px;background:#E8F1FB;color:var(--est-blue)}
.est-nav a.is-current .est-nav__n{background:rgba(255,255,255,.2);color:#fff}
.est-othercats{border-top:1px solid var(--est-line);margin-top:10px;padding:12px 12px 6px}
.est-othercats__h{font-size:12px!important;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--est-muted);margin-bottom:6px!important}
.est-othercats a{display:block;padding:5px 0;font-size:14px;text-decoration:none}
.est-othercats a:hover{text-decoration:underline}

.est-main{min-width:0}
.est-main__title{margin:0 0 4px!important;font-size:24px!important;line-height:1.25!important;color:var(--est-ink)!important;font-weight:800!important}
.est-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:18px 0}
.est-years{display:flex;flex-wrap:wrap;gap:8px}
.est .est-year{min-height:40px;padding:0 16px;border:1.5px solid #C9D3DF;border-radius:22px;background:#fff;color:var(--est-ink);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.est .est-year:hover{border-color:var(--est-blue)}
.est .est-year.is-active{background:var(--est-blue);border-color:var(--est-blue);color:#fff}
.est-filter{flex:0 1 280px;display:flex}

.est-group{background:#fff;border:1px solid var(--est-line);border-radius:14px;margin:0 0 14px;overflow:hidden}
.est-group>summary{list-style:none;cursor:pointer}
.est-group>summary::-webkit-details-marker{display:none}
.est-group__head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:0 18px;background:#F8FBFE}
.est-group__year{font-size:20px;font-weight:800;color:var(--est-blue)}
.est-group__count{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--est-muted)}
.est-chev{color:var(--est-blue);transition:transform .2s}
.est-group[open] .est-chev{transform:rotate(180deg)}
.est-doc{display:flex;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid #EEF2F7}
.est-badge{flex:0 0 50px;text-align:center;font-size:11.5px;font-weight:800;padding:7px 0;border-radius:7px;letter-spacing:.02em}
.est-badge--pdf{background:#FDEBF1;color:#B8285A}
.est-badge--xls{background:#E3F4F1;color:#1A7A6F}
.est-badge--doc{background:#E8F1FB;color:#0B4F9C}
.est-badge--otro{background:#EFEAFB;color:#5A3FA3}
.est-doc__info{flex:1;min-width:0}
.est-doc__title{font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.est-doc__meta{font-size:13px;color:var(--est-muted);margin-top:2px!important}
.est-doc__actions{display:flex;gap:8px;flex:0 0 auto}
.est-doc__actions .est-btn{min-height:40px;padding:0 16px;font-size:14px}
.est-none,.est-empty{background:#fff;border:1px dashed #C9D3DF;border-radius:14px;padding:22px;color:var(--est-muted)}
.est-empty p+p{margin-top:8px}
.est-empty strong{color:var(--est-ink)}
.est-results .est-h2{margin-bottom:6px!important}

/* Tableta */
@media (max-width:1024px){
	.est-layout{grid-template-columns:260px minmax(0,1fr);gap:20px}
	.est-doc{flex-wrap:wrap}
	.est-doc__actions{width:100%;padding-left:64px}
}
/* Celular */
@media (max-width:767px){
	.est-h2{font-size:22px!important}
	.est-cathead__title{font-size:22px!important}
	.est-search{padding:16px}
	.est-search__row{flex-direction:column}
	.est-layout{grid-template-columns:1fr}
	.est-side{position:static;padding:14px}
	.est-select{display:block}
	.est-select label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}
	.est-select select{width:100%;height:48px;padding:0 12px;border:1.5px solid #8A97A6;border-radius:10px;font:inherit;font-size:15px;background:#fff;color:var(--est-ink)}
	.est-nav,.est-othercats{display:none}
	.est-toolbar{flex-direction:column;align-items:stretch}
	.est-filter{flex:1 1 auto}
	.est-doc{padding:14px}
	.est-doc__actions{padding-left:0}
	.est-doc__actions .est-btn{flex:1;min-height:44px}
	.est-group__head{padding:0 14px}
}

/* Alto contraste (barra de accesibilidad) */
html.a11y-contrast .est .est-btn,html.a11y-contrast .est .est-year.is-active,html.a11y-contrast .est-nav a.is-current{outline:2px solid #ffff00}

/* Blindaje contra estilos del tema en botones */
.est button.est-year{background:#fff!important;color:#1D2733!important;border:1.5px solid #C9D3DF!important;box-shadow:none!important;opacity:1!important;margin:0!important;line-height:1!important;height:auto!important}
.est button.est-year:hover{background:#E8F1FB!important;border-color:#0B4F9C!important;color:#0B4F9C!important}
.est button.est-year.is-active,.est button.est-year.is-active:hover{background:#0B4F9C!important;border-color:#0B4F9C!important;color:#fff!important}
.est a.est-btn,.est button.est-btn{background:#0B4F9C!important;border:1.5px solid #0B4F9C!important;color:#fff!important;opacity:1!important;box-shadow:none!important;margin:0!important}
.est a.est-btn:hover,.est button.est-btn:hover{background:#083B75!important;border-color:#083B75!important;color:#fff!important}
.est a.est-btn--ghost{background:#fff!important;color:#0B4F9C!important}
.est a.est-btn--ghost:hover{background:#E8F1FB!important;color:#083B75!important}
.est .est-doc__title{color:#1D2733!important}
.est .est-doc__meta{color:#4A5664!important}
.est-select select{-webkit-appearance:none!important;appearance:none!important;padding-right:40px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230B4F9C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center!important}

/* Botón Ver con ojo */
.est .est-btn svg{flex:0 0 auto}
.est .est-btn{gap:7px}
.est button.est-btn--ghost{background:#fff!important;color:#0B4F9C!important}
.est button.est-btn--ghost:hover{background:#E8F1FB!important;color:#083B75!important}

/* Visor emergente */
html.est-noscroll,html.est-noscroll body{overflow:hidden!important}
.est-modal{position:fixed;inset:0;z-index:2000000;display:flex;align-items:center;justify-content:center;padding:24px;font-family:'Plus Jakarta Sans',system-ui,Arial,sans-serif}
.est-modal[hidden]{display:none!important}
.est-modal__backdrop{position:absolute;inset:0;background:rgba(10,25,45,.72)}
.est-modal__box{position:relative;width:min(1100px,100%);height:min(92vh,100%);background:#fff;border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.est-modal__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 12px 20px;border-bottom:1px solid #E3EAF3}
.est-modal__title{margin:0!important;font-size:16px!important;line-height:1.35!important;font-weight:700!important;color:#1D2733!important;letter-spacing:normal!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.est-modal__tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.est-modal .est-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1.5px solid #0B4F9C!important;border-radius:10px;background:#0B4F9C!important;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none!important;white-space:nowrap}
.est-modal .est-btn--ghost{background:#fff!important;color:#0B4F9C!important}
.est-modal .est-btn:hover{background:#083B75!important;color:#fff!important}
.est-modal .est-btn--ghost:hover{background:#E8F1FB!important;color:#083B75!important}
.est-modal__x{width:42px;height:42px;border:0!important;border-radius:10px;background:#F4F8FC!important;color:#1D2733!important;font-size:28px!important;line-height:1!important;cursor:pointer;padding:0!important}
.est-modal__x:hover{background:#E3EAF3!important}
.est-modal__body{flex:1;background:#525659;display:flex;align-items:center;justify-content:center;min-height:0}
.est-modal__iframe{width:100%;height:100%;border:0;background:#fff}
.est-modal__img{max-width:100%;max-height:100%;object-fit:contain}
.est-modal__help{margin:0!important;padding:8px 20px!important;font-size:13px!important;color:#4A5664!important;border-top:1px solid #E3EAF3}
@media (max-width:767px){
	.est-modal{padding:0}
	.est-modal__box{width:100%;height:100%;border-radius:0}
	.est-modal__bar{flex-wrap:wrap;padding:10px 12px}
	.est-modal__title{white-space:normal;font-size:15px!important;flex:1 1 calc(100% - 54px)}
	.est-modal__tools{width:100%;order:3}
	.est-modal__tools .est-btn{flex:1}
	.est-modal__x{position:absolute;top:8px;right:8px}
	.est-modal__open{display:none!important}
}

/* Página individual del documento */
.est-docpage .fixed-nav,.est-docpage .section-post-header,.est-docpage .section-post-footer,.est-docpage .section-post-intro-share,.est-docpage .section-post-about,.est-docpage .section-post-related,.est-docpage .section-post-comments{display:none!important}
.est-docpage .the_content .section_wrapper{max-width:1240px}
.est-single{padding:8px 0 40px}
.est-sheet{background:#fff;border:1px solid var(--est-line);border-radius:18px;padding:26px;box-shadow:0 10px 30px rgba(11,79,156,.08);margin-bottom:22px}
.est-sheet__head{display:flex;gap:16px;align-items:flex-start}
.est-badge--lg{flex:0 0 64px;font-size:14px;padding:14px 0;border-radius:12px}
.est-sheet__titles{min-width:0}
.est-sheet__title{margin:0 0 4px!important;font-size:26px!important;line-height:1.25!important;color:#0B4F9C!important;font-weight:800!important;overflow-wrap:anywhere}
.est-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:22px 0 0!important;padding:0}
.est-facts div{background:var(--est-bg);border-radius:12px;padding:12px 14px}
.est-facts dt{font-size:12px;font-weight:800;letter-spacing:.06em!important;text-transform:uppercase;color:var(--est-muted);margin:0}
.est-facts dd{margin:2px 0 0!important;font-size:16px;font-weight:700;color:var(--est-ink)}
.est-sheet__desc{margin-top:18px;color:#33404D}
.est-sheet__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.est-preview{background:#fff;border:1px solid var(--est-line);border-radius:18px;overflow:hidden}
.est-preview__frame{height:85vh;min-height:520px;background:#525659;display:flex;align-items:center;justify-content:center}
@media (max-width:767px){
	.est-sheet{padding:18px}
	.est-sheet__title{font-size:20px!important}
	.est-badge--lg{flex-basis:52px;padding:10px 0}
	.est-sheet__actions .est-btn{flex:1 1 100%}
	.est-preview__frame{height:75vh;min-height:420px}
}

/* Subtítulos del menú lateral, enlaces y notas */
.est-nav .est-nav__label{font-size:12px;font-weight:800;letter-spacing:.06em!important;text-transform:uppercase;color:#4A5664;padding:14px 12px 4px;line-height:1.35}
.est-links{display:grid;gap:10px;margin:16px 0 18px!important}
.est .est-link{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid var(--est-line);border-radius:12px;text-decoration:none!important;color:var(--est-ink)!important;font-weight:700;font-size:15px}
.est .est-link:hover{border-color:var(--est-blue);background:#F8FBFE}
.est-link__icon{flex:0 0 38px;height:38px;border-radius:10px;background:#E8F1FB;color:var(--est-blue);display:flex;align-items:center;justify-content:center}
.est-note{margin:10px 0!important;color:#33404D;font-size:15px;line-height:1.6}
.est-na{margin:14px 0;padding:14px 16px;border-radius:12px;background:#FFF4CE;color:#5C4300;font-size:15px}
.est-nav__n--na{background:#FFF4CE!important;color:#5C4300!important;font-size:10.5px!important;white-space:nowrap}
.est-nav__n--zero{background:#F1F3F6!important;color:#6B7684!important}
.est-nav a.is-current .est-nav__n--na,.est-nav a.is-current .est-nav__n--zero{background:rgba(255,255,255,.2)!important;color:#fff!important}
.est-nav__n--lk{display:inline-flex;align-items:center;justify-content:center}
