/* Zuconsulta - Diseño Talento Humano: SOLO presentación en el shortcode existente.
   No se estiliza #plantilla-oculta-pdf ni #pdf-contenido-real. */
section.zu-th-enhanced {
  --th-green:var(--zu-primary,var(--color-primary,#31873c));
  --th-text:var(--zu-text,var(--text-primary,#182922));
  --th-muted:var(--zu-muted,var(--text-muted,#63756e));
  --th-border:var(--zu-border,var(--color-border,#dce7e0));
  --th-surface:var(--zu-surface,var(--color-card-bg,#fff));
  --th-max:1200px;
  background:var(--color-bg-secondary,#f3f6f7)!important;
  min-height:calc(100vh - 64px)!important;
  padding:30px 20px 42px!important;
  box-sizing:border-box!important;
  overflow-x:clip!important;
}
section.zu-th-enhanced,section.zu-th-enhanced *{box-sizing:border-box}
section.zu-th-enhanced > .brxe-container {
  width:100%!important; max-width:var(--th-max)!important;
  margin:0 auto!important;padding:0!important;
  min-width:0!important;display:block!important;
}
/* El origen tenía min-height:156px y padding 20px 50px en línea. */
section.zu-th-enhanced > .brxe-container > div:first-child{
  min-height:0!important;height:auto!important;
  padding:4px 4px 19px!important;margin:0!important;
  text-align:left!important;
}
section.zu-th-enhanced > .brxe-container > div:first-child h1{
  font-size:clamp(27px,3vw,37px)!important;letter-spacing:-.035em!important;
  font-weight:750!important;line-height:1.17!important;margin:0 0 8px!important;
  color:var(--th-text)!important;
}
section.zu-th-enhanced > .brxe-container > div:first-child > div{
  font-size:14.5px!important;line-height:1.5!important;color:var(--th-muted)!important;
  margin:0!important;max-width:100%!important;
}
section.zu-th-enhanced .zu-th-tabs-wrap{
  max-width:100%!important;width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;overflow:visible!important;
  background:transparent!important;border:0!important;
}
section.zu-th-enhanced .zu-th-tab-menu{
  display:grid!important;grid-template-columns:repeat(var(--zu-th-columns,4),minmax(0,1fr))!important;
  gap:10px!important;min-width:0!important;width:100%!important;
  margin:0 0 14px!important;padding:0!important;
  border:0!important;background:transparent!important;
  overflow:visible!important;flex-wrap:initial!important;align-items:stretch!important;
}
section.zu-th-enhanced .zu-th-tab-menu > .zu-th-tab{
  width:100%!important;min-width:0!important;min-height:64px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex-wrap:wrap!important;gap:8px!important;white-space:normal!important;
  text-align:center!important;overflow-wrap:break-word!important;
  padding:11px 10px!important;margin:0!important;
  background:var(--th-surface)!important;border:1px solid var(--th-border)!important;
  border-radius:13px!important;box-shadow:0 2px 8px rgba(26,51,37,.025)!important;
  font-size:13px!important;font-weight:700!important;line-height:1.3!important;
  color:var(--th-muted)!important;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
section.zu-th-enhanced .zu-th-tab-menu > .zu-th-tab svg,
section.zu-th-enhanced .zu-th-tab-menu > .zu-th-tab i{width:18px!important;height:18px!important;flex:none!important;transform:none!important}
section.zu-th-enhanced .zu-th-tab-menu > .zu-th-tab:after{display:none!important}
section.zu-th-enhanced .zu-th-tab-menu > .zu-th-tab:is(:hover,:focus-visible){
  background:#f2faf3!important;border-color:#99caa2!important;color:var(--th-green)!important;outline-offset:2px!important;
}
section.zu-th-enhanced .zu-th-tab-menu > .zu-th-tab.brx-open{
  background:#eaf5ec!important;border-color:var(--th-green)!important;
  color:#226f31!important;box-shadow:0 3px 14px rgba(44,128,60,.08)!important;
}
/* El mismo ancho y la misma tarjeta para los cuatro apartados. */
section.zu-th-enhanced .zu-tab-content{
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding:27px!important;margin:0!important;
  background:var(--th-surface)!important;border:1px solid var(--th-border)!important;
  border-radius:17px!important;box-shadow:0 9px 30px rgba(16,45,25,.045)!important;
  overflow:visible!important;
}
section.zu-th-enhanced .zu-tab-content > .tab-pane{
  width:100%!important;max-width:100%!important;min-width:0!important;
}
section.zu-th-enhanced .zu-tab-content > .tab-pane:not(.brx-open){display:none!important}
section.zu-th-enhanced .zu-tab-content .zu-tab-main-title{
  font-size:clamp(22px,2.1vw,27px)!important;
  line-height:1.22!important;margin:0 0 7px!important;color:var(--th-text)!important;
  overflow-wrap:anywhere!important;
}
section.zu-th-enhanced .zu-tab-content .zu-tab-main-desc{
  font-size:14px!important;line-height:1.55!important;
  margin:0 0 20px!important;color:var(--th-muted)!important;
}
section.zu-th-enhanced .zu-cert-wrapper{width:100%!important;max-width:100%!important;margin:0!important}
section.zu-th-enhanced .cyybah{width:100%!important;max-width:100%!important;min-width:0!important}
section.zu-th-enhanced .zu-alert{padding:13px 15px!important;margin:0 0 22px!important;border-radius:12px!important}
section.zu-th-enhanced :is(.zu-grid,.form-row){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;min-width:0!important}
section.zu-th-enhanced :is(.zu-field,.form-group){min-width:0!important}
section.zu-th-enhanced :is(.zu-input,.form-control){width:100%!important;max-width:100%!important;min-width:0!important;min-height:47px!important;border-radius:11px!important}
section.zu-th-enhanced .zu-checkbox-card{margin-top:16px!important;padding:15px!important;border-radius:12px!important}
section.zu-th-enhanced #btn-generar-cert{margin-top:19px!important;min-height:49px!important}
section.zu-th-enhanced :is(.btn-primary,.zu-btn,.zu-th-action-btn){max-width:100%!important;white-space:normal!important;text-align:center!important}
section.zu-th-enhanced #pane-config-certificado > .card{margin-top:0!important}
section.zu-th-enhanced .card{max-width:100%!important;min-width:0!important}
section.zu-th-enhanced :is(.zu-employee-drive-hero,.zu-doc-upload-panel,.zu-doc-request-card,.zu-th-card){max-width:100%!important;min-width:0!important}
section.zu-th-enhanced .zu-employee-drive-hero{grid-template-columns:minmax(0,1fr) 160px!important;gap:18px!important}
section.zu-th-enhanced .zu-employee-drive-hero > div{min-width:0!important}
section.zu-th-enhanced .zu-employee-drive-hero h3{overflow-wrap:anywhere!important}
section.zu-th-enhanced .zu-drive-progress{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
section.zu-th-enhanced .zu-doc-request-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important}
section.zu-th-enhanced .zu-doc-upload-panel form{max-width:100%!important;min-width:0!important}
section.zu-th-enhanced .zu-doc-request-top > div:last-child{min-width:0!important}
section.zu-th-enhanced .zu-doc-table-wrap,section.zu-th-enhanced .zu-th-table-scroll{max-width:100%!important;overflow-x:auto!important}
section.zu-th-enhanced .zu-th-admin-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important}
section.zu-th-enhanced .zu-th-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}
section.zu-th-enhanced .zu-th-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
section.zu-th-enhanced :is(.zu-th-kpis,.zu-th-health-grid,.zu-th-section-head,.zu-th-admin-tools){min-width:0!important}
section.zu-th-enhanced :is(.zu-th-kpis strong,.zu-th-health-grid strong){overflow-wrap:anywhere!important}
section.zu-th-enhanced .zu-th-tab:focus-visible{outline:2px solid var(--th-green)!important}
@media(max-width:960px){
  section.zu-th-enhanced{padding:22px 16px 34px!important}
  section.zu-th-enhanced .zu-th-tab-menu{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  section.zu-th-enhanced .zu-th-admin-tools{grid-template-columns:1fr!important}
  section.zu-th-enhanced .zu-th-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  section.zu-th-enhanced .zu-th-health-grid{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  section.zu-th-enhanced{padding:17px 10px 28px!important}
  section.zu-th-enhanced > .brxe-container > div:first-child{padding:0 2px 15px!important}
  section.zu-th-enhanced > .brxe-container > div:first-child h1{font-size:27px!important}
  section.zu-th-enhanced .zu-th-tab-menu{gap:8px!important;margin-bottom:11px!important}
  section.zu-th-enhanced .zu-th-tab-menu > .zu-th-tab{min-height:60px!important;padding:10px 7px!important;font-size:12px!important;gap:5px!important}
  section.zu-th-enhanced .zu-tab-content{padding:17px 14px!important;border-radius:14px!important}
  section.zu-th-enhanced :is(.zu-grid,.form-row){grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
  section.zu-th-enhanced .zu-employee-drive-hero{grid-template-columns:minmax(0,1fr)!important;padding:15px!important}
  section.zu-th-enhanced .zu-drive-progress{min-height:95px!important}
  section.zu-th-enhanced .zu-doc-upload-panel form{grid-template-columns:minmax(0,1fr)!important}
  section.zu-th-enhanced .zu-doc-upload-panel form > *{grid-column:auto!important;min-width:0!important;width:100%!important}
  section.zu-th-enhanced .zu-th-admin-tools{grid-template-columns:1fr!important}
  section.zu-th-enhanced .zu-th-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  section.zu-th-enhanced .zu-th-section-head{display:flex!important;flex-direction:column!important}
  section.zu-th-enhanced .zu-th-inline-search,section.zu-th-enhanced .zu-th-import-form{flex-direction:column!important;align-items:stretch!important}
}
@media(max-width:350px){section.zu-th-enhanced .zu-th-tab-menu{grid-template-columns:minmax(0,1fr)!important}}
