.hcc-login-page{min-height:100vh;display:grid;grid-template-columns:42% 58%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff}.hcc-brand-panel{position:relative;overflow:hidden;min-height:760px;background:linear-gradient(145deg,#176f38,#2b9a51);color:#fff}.hcc-brand-content{padding:70px 12%;max-width:560px}.hcc-client-logo{max-width:130px;max-height:130px;object-fit:contain;margin-bottom:25px}.hcc-brand-content h1{font-size:42px;line-height:1.05;margin:0 0 18px;color:#fff}.hcc-brand-content p{font-size:18px;line-height:1.5}.hcc-brand-mark{display:flex;align-items:center;gap:14px;margin-top:70px;font-size:38px;font-weight:700;letter-spacing:2px}.hcc-brand-mark span{font-size:21px;line-height:1.05}.hcc-form-panel{position:relative;padding:55px 8%;display:flex;flex-direction:column;justify-content:center}.hcc-help{position:absolute;right:7%;top:28px;font-size:14px;color:#555}.hcc-help a,.hcc-options a{color:var(--hcc-primary);font-weight:700;text-decoration:none}.hcc-card{width:min(570px,100%);margin:auto;padding:42px 52px;border-radius:20px;box-shadow:0 12px 45px rgba(20,40,30,.10);border:1px solid #edf0ed}.hcc-paw{width:58px;height:58px;border:2px solid var(--hcc-primary);border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;font-size:27px}.hcc-eyebrow{color:var(--hcc-primary);font-size:13px;font-weight:800;letter-spacing:5px;text-align:center;margin-bottom:8px}.hcc-card h2{text-align:center;font-size:32px;margin:0 0 12px;color:#242424}.hcc-subtitle{text-align:center;color:#777;line-height:1.5;margin-bottom:28px}.hcc-login-form label{display:block;font-weight:700;color:#256b3c;margin:16px 0 8px}.hcc-login-form input[type=text],.hcc-login-form input[type=password]{width:100%;box-sizing:border-box;border:1px solid #d8ddd9;border-radius:10px;padding:15px 16px;font-size:16px}.hcc-password{position:relative}.hcc-password input{padding-right:48px!important}.hcc-show-password{position:absolute;right:8px;top:7px;border:0;background:transparent;padding:10px;color:#777;cursor:pointer}.hcc-options{display:flex;justify-content:space-between;align-items:center;margin:15px 0 22px;font-size:14px}.hcc-check{display:flex!important;align-items:center;gap:8px;margin:0!important;color:#555!important;font-weight:500!important}.hcc-submit{width:100%;border:0;border-radius:10px;background:var(--hcc-primary);color:#fff;padding:15px;font-size:16px;font-weight:800;cursor:pointer}.hcc-secure{margin-top:20px;border:1px solid #9bc9aa;color:var(--hcc-primary);padding:13px;border-radius:8px;text-align:center;font-weight:700}.hcc-alert,.hcc-error{background:#fff0f0;color:#9b2222;border:1px solid #e5b8b8;padding:12px;border-radius:8px;margin-bottom:15px}.hcc-public-link{max-width:780px;margin:25px auto 0;padding:18px 22px;background:var(--hcc-secondary);border:1px solid #d5e8da;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:4px 18px}.hcc-public-link span{color:#666}.hcc-public-link a{grid-row:1/3;grid-column:2;align-self:center;color:var(--hcc-primary);font-weight:800;text-decoration:none}.hcc-dashboard{min-height:100vh;background:#f5f7f5;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.hcc-dash-header{background:#fff;border-bottom:1px solid #e2e7e2;padding:18px 5%;display:flex;justify-content:space-between;gap:20px}.hcc-dash-header a{color:#187A3D}.hcc-dash-main{max-width:1180px;margin:auto;padding:55px 5%}.hcc-dash-main h1{font-size:34px;margin:4px 0 30px}.hcc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hcc-stat{background:#fff;padding:24px;border-radius:15px;border:1px solid #e4e9e4;display:grid;grid-template-columns:auto 1fr;gap:8px 12px}.hcc-stat strong{font-size:28px}.hcc-menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:25px}.hcc-menu-grid a{background:#fff;padding:25px;border-radius:15px;border:1px solid #e4e9e4;text-decoration:none;color:#222;display:flex;flex-direction:column;gap:8px}.hcc-menu-grid b{color:#187A3D;font-size:19px}@media(max-width:900px){.hcc-login-page{grid-template-columns:1fr}.hcc-brand-panel{min-height:330px}.hcc-brand-content{padding:45px 8%}.hcc-brand-content h1{font-size:32px}.hcc-brand-mark{margin-top:30px}.hcc-form-panel{padding:45px 5%}.hcc-help{position:static;text-align:right;margin-bottom:15px}.hcc-card{padding:32px 25px}.hcc-stats,.hcc-menu-grid{grid-template-columns:1fr}}@media(max-width:560px){.hcc-options{flex-direction:column;align-items:flex-start;gap:10px}.hcc-public-link{grid-template-columns:1fr}.hcc-public-link a{grid-column:1;grid-row:auto}}

body.hcc-login-template{margin:0!important;padding:0!important} body.hcc-login-template .wp-site-blocks{padding:0!important;margin:0!important} body.hcc-login-template .wp-block-post-content{margin:0!important;padding:0!important} body.hcc-login-template .hcc-login-page{width:100vw;min-height:100vh}

/* 0.6.0 - Copyright exclusivo de Zorro Soluciones */
body.hcc-login-template .hcc-copyright{width:min(780px,100%);margin:22px auto 0;padding:14px 10px 5px;text-align:center;font-size:13px;line-height:1.6;color:#777}
body.hcc-login-template .hcc-copyright a{color:#555;font-weight:700;text-decoration:none}
body.hcc-login-template .hcc-copyright a:hover{text-decoration:underline}
body.hcc-login-template .hcc-copyright span{display:block;color:#999}
body.hcc-login-template header,
body.hcc-login-template footer:not(.hcc-copyright),
body.hcc-login-template .wp-site-blocks > header,
body.hcc-login-template .wp-site-blocks > footer,
body.hcc-login-template .wp-block-template-part{display:none!important}

/* 0.6.0 - Dedicated login template: no Twenty Twenty-Five chrome */
html body.hcc-login-template{margin:0!important;padding:0!important;background:#fff!important}
html body.hcc-login-template .hcc-login-page{display:grid!important;width:100vw!important;min-height:100vh!important;margin:0!important;padding:0!important}
html body.hcc-login-template .hcc-copyright{display:block!important}

/* 0.6.0 FINAL - login institucional totalmente independiente del tema */
html, body.hcc-login-template { margin:0!important; padding:0!important; }
body.hcc-login-template > *:not(.hcc-login-page) { display:none!important; }
body.hcc-login-template .hcc-login-page {
    width:100vw!important;
    min-height:100vh!important;
    margin:0!important;
    padding:0!important;
}
body.hcc-login-template .hcc-copyright { display:block!important; }

/* Absolute standalone institutional page */
body.hcc-login-template{margin:0!important;padding:0!important;background:#fff!important}
body.hcc-login-template > .wp-site-blocks,
body.hcc-login-template > header,
body.hcc-login-template > footer,
body.hcc-login-template > .wp-block-template-part{display:none!important}

/* 0.7.1 - identidad visual multicliente */
.hcc-login-logos{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.hcc-login-logos-side{justify-content:flex-start;margin-top:52px}
.hcc-global-logo{display:block;max-width:180px;max-height:85px;width:auto;height:auto;object-fit:contain;background:rgba(255,255,255,.96);border-radius:12px;padding:10px}
.hcc-login-logos-card{margin:0 auto 22px;padding-bottom:20px;border-bottom:1px solid #edf0ed}
.hcc-login-logos-card .hcc-global-logo{max-width:170px;max-height:72px;background:#fff;padding:4px;border-radius:0}
.hcc-card-client-brand{text-align:center;margin:0 auto 16px}
.hcc-card-client-brand img{max-width:115px;max-height:90px;width:auto;height:auto;object-fit:contain}
.hcc-login-logos-side .hcc-brand-mark{margin-top:0}
@media(max-width:900px){.hcc-login-logos-side{margin-top:28px}.hcc-global-logo{max-width:145px;max-height:70px}}

/* 0.7.2 - identidad institucional multicliente */
.hcc-institution-stack{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-top:46px;padding-top:26px;border-top:1px solid rgba(255,255,255,.22)}
.hcc-institution-stack .hcc-client-logo{max-width:220px;max-height:120px;margin:0;object-fit:contain;background:rgba(255,255,255,.97);border-radius:12px;padding:12px}
.hcc-institution-stack .hcc-huella-logo{max-width:260px;max-height:120px;margin:0;background:#fff;border-radius:12px;padding:10px}
.hcc-login-logos-card{display:flex;flex-direction:column;align-items:center;gap:12px}
.hcc-login-logos-card .hcc-client-logo-card{display:block;max-width:180px;max-height:90px;width:auto;height:auto;object-fit:contain;margin:0;background:#fff;padding:4px}
.hcc-login-logos-card .hcc-huella-logo{display:block;max-width:220px;max-height:100px;width:auto;height:auto;object-fit:contain;background:#fff;padding:4px;border-radius:0}
@media(max-width:900px){.hcc-institution-stack{margin-top:25px;align-items:flex-start}.hcc-institution-stack .hcc-client-logo{max-width:180px;max-height:90px}.hcc-institution-stack .hcc-huella-logo{max-width:220px;max-height:95px}}


/* 0.7.2 ajuste institucional - logo cliente destacado en tarjeta de acceso */
.hcc-login-logos-card .hcc-client-logo-card{
    max-width:300px!important;
    max-height:175px!important;
    width:auto!important;
    height:auto!important;
    object-fit:contain!important;
    padding:0!important;
    margin:0 auto 10px!important;
    background:transparent!important;
}
.hcc-login-logos-card .hcc-huella-logo{
    max-width:240px!important;
    max-height:105px!important;
}
.hcc-login-logos-card{gap:16px!important;margin-bottom:20px!important}
.hcc-eyebrow{margin-top:2px!important;margin-bottom:14px!important}
.hcc-card .hcc-subtitle{margin-top:0!important}
@media(max-width:560px){
    .hcc-login-logos-card .hcc-client-logo-card{max-width:230px!important;max-height:135px!important}
    .hcc-login-logos-card .hcc-huella-logo{max-width:200px!important;max-height:90px!important}
}


/* 0.7.2 correccion de encuadre del logo institucional.
   El frame oculta el espacio blanco interno de logos institucionales y amplifica la marca. */
.hcc-client-logo-frame{overflow:hidden;display:flex;align-items:center;justify-content:center;background:#fff}
.hcc-client-logo-frame-card{width:300px;height:150px;margin:0 auto 6px;border-radius:4px}
.hcc-client-logo-frame-side{width:300px;height:170px;margin:0 0 16px;border-radius:12px}
.hcc-client-logo-frame .hcc-client-logo{max-width:none!important;max-height:none!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important;transform:scale(1.75);transform-origin:center center}
.hcc-login-logos-card .hcc-client-logo-frame + .hcc-huella-logo{margin-top:4px}
@media(max-width:900px){
  .hcc-client-logo-frame-card{width:250px;height:125px}
  .hcc-client-logo-frame-side{width:250px;height:145px}
  .hcc-client-logo-frame .hcc-client-logo{transform:scale(1.65)}
}
@media(max-width:560px){
  .hcc-client-logo-frame-card{width:220px;height:110px}
  .hcc-client-logo-frame-side{width:220px;height:125px}
}


/* 0.7.3 - portada institucional definitiva multicliente */
.hcc-brand-content > h1{display:none!important}
.hcc-brand-description{max-width:470px;margin:0 0 0!important;font-size:18px;line-height:1.55;color:#fff;font-weight:600}
.hcc-institution-stack{margin-top:36px!important;padding-top:28px!important;gap:12px!important;align-items:flex-start!important}

/* En el panel verde, ambos logos ocupan exactamente el mismo bloque visual. */
.hcc-client-logo-frame-side,
.hcc-logo-tile-side{
    width:300px!important;
    height:178px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    border-radius:12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    margin:0 0 0!important;
    padding:10px!important;
}
.hcc-client-logo-frame-side .hcc-client-logo{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    transform:scale(1.62)!important;
    transform-origin:center center!important;
}
.hcc-logo-tile-side .hcc-huella-logo{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    padding:0!important;
    margin:0!important;
    border-radius:0!important;
    background:transparent!important;
}

/* En la tarjeta de acceso, los dos logos tienen el mismo tamaño. */
.hcc-login-logos-card{gap:12px!important;margin:0 auto 18px!important;padding-bottom:20px!important}
.hcc-client-logo-frame-card,
.hcc-logo-tile-card{
    width:190px!important;
    height:108px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    border:1px solid #cfd4d0!important;
    border-radius:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    margin:0!important;
    padding:6px!important;
}
.hcc-client-logo-frame-card .hcc-client-logo{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    transform:scale(1.42)!important;
    transform-origin:center center!important;
}
.hcc-logo-tile-card .hcc-huella-logo{
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border-radius:0!important;
}
.hcc-eyebrow{margin-top:0!important}

@media(max-width:900px){
    .hcc-brand-description{font-size:17px}
    .hcc-client-logo-frame-side,.hcc-logo-tile-side{width:250px!important;height:148px!important}
    .hcc-client-logo-frame-side .hcc-client-logo{transform:scale(1.55)!important}
}
@media(max-width:560px){
    .hcc-client-logo-frame-side,.hcc-logo-tile-side{width:220px!important;height:130px!important}
    .hcc-client-logo-frame-card,.hcc-logo-tile-card{width:165px!important;height:94px!important}
}


/* =========================================================
   0.7.4 - LOGIN INSTITUCIONAL LIMPIO
   - Se elimina la marca Huella Colombia de la pantalla de acceso.
   - El logo institucional se muestra completo, sin zoom ni recortes.
   - La misma regla aplica a todos los clientes multicliente.
   ========================================================= */

/* Ocultar cualquier resto de la marca global en el login por compatibilidad
   con caché/markup heredado de versiones anteriores. */
.hcc-login-page .hcc-huella-logo,
.hcc-login-page .hcc-logo-tile,
.hcc-login-page .hcc-global-logo {
    display:none!important;
}

/* Panel izquierdo: solo descripción + logo institucional. */
.hcc-institution-stack {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:0!important;
    margin-top:36px!important;
    padding-top:28px!important;
    border-top:1px solid rgba(255,255,255,.22)!important;
}

.hcc-client-logo-frame-side {
    width:min(100%, 430px)!important;
    height:250px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    margin:0!important;
    padding:24px 26px!important;
    background:#fff!important;
    border-radius:14px!important;
    box-shadow:0 12px 34px rgba(0,0,0,.08)!important;
}

.hcc-client-logo-frame-side .hcc-client-logo,
.hcc-client-logo-frame-side .hcc-client-logo-stack {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border-radius:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
}

/* Tarjeta derecha: logo institucional completo, sin marco de recorte. */
.hcc-login-logos-card {
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    margin:0 auto 20px!important;
    padding:0 0 24px!important;
    border-bottom:1px solid #edf0ed!important;
}

.hcc-client-logo-frame-card {
    width:min(100%, 430px)!important;
    height:185px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
    margin:0 auto!important;
    padding:12px 18px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
}

.hcc-client-logo-frame-card .hcc-client-logo,
.hcc-client-logo-frame-card .hcc-client-logo-card {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border-radius:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
}

.hcc-eyebrow {
    margin-top:0!important;
}

@media(max-width:900px) {
    .hcc-client-logo-frame-side {
        width:min(100%, 380px)!important;
        height:220px!important;
    }
    .hcc-client-logo-frame-card {
        width:min(100%, 380px)!important;
        height:165px!important;
    }
}

@media(max-width:560px) {
    .hcc-client-logo-frame-side {
        width:100%!important;
        height:190px!important;
        padding:18px!important;
    }
    .hcc-client-logo-frame-card {
        width:100%!important;
        height:145px!important;
        padding:8px 10px!important;
    }
}
/* === 0.8.0 Portal institucional === */
body.hcc-portal-page{margin:0!important;background:#f4f7f5!important}body.hcc-portal-page header:not(.hcc-portal-main header),body.hcc-portal-page footer,body.hcc-portal-page .wp-block-template-part{display:none!important}body.hcc-portal-page .wp-site-blocks,body.hcc-portal-page .wp-block-post-content,body.hcc-portal-page main{margin:0!important;padding:0!important;max-width:none!important}.hcc-portal{--green:#147a3b;--dark:#123327;--soft:#eef7f1;min-height:100vh;display:grid;grid-template-columns:270px 1fr;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#193229;background:#f4f7f5}.hcc-portal *{box-sizing:border-box}.hcc-portal-side{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#116d36,#0d542a);color:#fff;padding:30px 20px;display:flex;flex-direction:column}.hcc-portal-brand{padding:0 10px 28px;border-bottom:1px solid rgba(255,255,255,.16)}.hcc-portal-brand img{display:block;max-width:190px;max-height:95px;object-fit:contain;background:#fff;border-radius:10px;padding:8px;margin-bottom:15px}.hcc-portal-brand strong{display:block;font-size:18px}.hcc-portal-brand small{display:block;opacity:.72;margin-top:5px;line-height:1.4}.hcc-portal-side nav{padding-top:25px;display:flex;flex-direction:column;gap:7px}.hcc-portal-nav{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:10px;color:#fff!important;text-decoration:none!important;font-weight:650;font-size:14px}.hcc-portal-nav span{width:24px;font-size:20px;text-align:center}.hcc-portal-nav:hover,.hcc-portal-nav.active{background:rgba(255,255,255,.14)}.hcc-portal-sidefoot{margin-top:auto;padding:20px 10px 0;border-top:1px solid rgba(255,255,255,.16);display:flex;flex-direction:column;gap:7px;font-size:13px}.hcc-portal-sidefoot a{color:#fff!important;opacity:.8}.hcc-portal-main{padding:34px 4.5% 60px;min-width:0}.hcc-portal-main>header{display:flex!important;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.hcc-portal-main>header small{font-size:11px;font-weight:800;letter-spacing:2.5px;color:#6a7d74}.hcc-portal-main>header h1{margin:5px 0 0;font-size:30px;color:#15352a}.hcc-public-btn{background:#fff;border:1px solid #dbe6df;border-radius:10px;padding:12px 17px;text-decoration:none!important;color:var(--green)!important;font-weight:750;font-size:14px;box-shadow:0 3px 12px rgba(18,51,39,.04)}.hcc-welcome{background:linear-gradient(120deg,#153e30,#1a6840);border-radius:20px;padding:44px;color:#fff;overflow:hidden;position:relative}.hcc-welcome>div{max-width:700px}.hcc-kicker{font-size:11px;font-weight:850;letter-spacing:2.5px;color:#f7a17c}.hcc-welcome h2{font-size:36px;line-height:1.08;color:#fff;margin:12px 0}.hcc-welcome p{font-size:16px;line-height:1.65;opacity:.88}.hcc-home-actions{display:flex;gap:12px;margin-top:24px}.hcc-home-actions a{padding:13px 18px;background:#fff;color:#155f36!important;border-radius:9px;text-decoration:none!important;font-weight:800}.hcc-home-actions a.secondary{background:transparent;color:#fff!important;border:1px solid rgba(255,255,255,.45)}.hcc-portal-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.hcc-portal-stats>div{background:#fff;border:1px solid #e0e8e3;border-radius:14px;padding:22px;display:grid;grid-template-columns:1fr auto;align-items:center}.hcc-portal-stats span{font-weight:700}.hcc-portal-stats strong{font-size:32px;color:var(--green);grid-row:1/3;grid-column:2}.hcc-portal-stats small{color:#718078}.hcc-quick{background:#fff;border:1px solid #e0e8e3;border-radius:16px;padding:25px}.hcc-quick h3{margin:0 0 17px}.hcc-quick>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hcc-quick a{border:1px solid #e4ebe6;border-radius:12px;padding:18px;text-decoration:none!important;color:#18372b!important;display:grid;gap:6px}.hcc-quick a>b{color:#e36d49;font-size:12px}.hcc-quick a>strong{font-size:16px}.hcc-quick a>span{font-size:13px;color:#718078}.hcc-stepbar{display:flex;align-items:center;justify-content:center;margin:5px 0 25px}.hcc-stepbar span{display:flex;align-items:center;gap:8px;color:#728178;font-size:13px}.hcc-stepbar span:first-child{color:var(--green)}.hcc-stepbar span::first-letter{font-weight:900}.hcc-stepbar i{height:1px;width:70px;background:#ccd9d0;margin:0 15px}.hcc-inclusion-form{display:grid;gap:17px}.hcc-inclusion-form section{background:#fff;border:1px solid #e0e8e3;border-radius:16px;padding:25px}.hcc-section-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:20px}.hcc-section-title>b{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--green)}.hcc-section-title h3{margin:0;font-size:18px}.hcc-section-title p{margin:4px 0 0;color:#75847b;font-size:13px}.hcc-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px 20px}.hcc-form-grid.one{grid-template-columns:1fr}.hcc-form-grid label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#40584d}.hcc-form-grid input,.hcc-form-grid select{width:100%;border:1px solid #d5dfd8!important;border-radius:9px!important;background:#fbfcfb!important;padding:12px 13px!important;font:inherit!important;min-height:44px}.hcc-form-grid input:focus,.hcc-form-grid select:focus{outline:2px solid #b8ddc5!important;border-color:var(--green)!important}.hcc-form-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eaf5ee;border-radius:14px;padding:18px 22px}.hcc-form-submit p{margin:0;color:#537061;font-size:13px}.hcc-form-submit button,.hcc-searchbox button{border:0;border-radius:9px;background:var(--green);color:#fff;padding:13px 20px;font-weight:800;cursor:pointer}.hcc-portal-success,.hcc-portal-error{padding:14px 18px;border-radius:10px;margin-bottom:20px;font-weight:700}.hcc-portal-success{background:#e4f5e9;color:#176c37}.hcc-portal-error{background:#fff0ed;color:#a33b2b}.hcc-searchbox{background:#fff;border:1px solid #e0e8e3;border-radius:16px;padding:28px}.hcc-searchbox h2{margin:0 0 6px}.hcc-searchbox p{color:#718078}.hcc-searchbox form{display:flex;gap:10px;margin-top:20px}.hcc-searchbox input{flex:1;border:1px solid #d5dfd8;border-radius:9px;padding:13px}.hcc-results{margin-top:18px}.hcc-results article{display:grid;grid-template-columns:1.2fr 1.5fr 1fr auto;gap:18px;align-items:center;background:#fff;border:1px solid #e0e8e3;border-radius:12px;padding:17px;margin-bottom:9px}.hcc-results article>div{display:grid;gap:3px}.hcc-results small{font-size:10px;letter-spacing:1px;color:#7c8b82}.hcc-results span{font-size:13px;color:#6d7e74}.hcc-status{background:#e8f5ec;color:#176c37!important;border-radius:20px;padding:5px 9px}.hcc-empty{background:#fff;padding:30px;border-radius:12px;color:#718078}@media(max-width:900px){.hcc-portal{grid-template-columns:1fr}.hcc-portal-side{position:static;height:auto;padding:18px}.hcc-portal-brand small,.hcc-portal-sidefoot{display:none}.hcc-portal-brand{border:0;padding:0}.hcc-portal-brand img{max-height:65px;margin:0}.hcc-portal-side nav{flex-direction:row;overflow:auto;padding-top:15px}.hcc-portal-nav{white-space:nowrap}.hcc-portal-main{padding:24px 18px}.hcc-portal-stats,.hcc-quick>div{grid-template-columns:1fr}.hcc-form-grid{grid-template-columns:1fr}.hcc-results article{grid-template-columns:1fr 1fr}.hcc-stepbar b{display:none}}@media(max-width:600px){.hcc-portal-main>header{align-items:flex-start;flex-direction:column}.hcc-welcome{padding:28px 22px}.hcc-welcome h2{font-size:29px}.hcc-home-actions{flex-direction:column}.hcc-form-submit{align-items:stretch;flex-direction:column}.hcc-searchbox form{flex-direction:column}.hcc-results article{grid-template-columns:1fr}}


/* ===== Huella Colombia Core 0.8.1 · Panel institucional amplio ===== */
body.hcc-portal-page .wp-block-post-title,body.hcc-portal-page .entry-title,body.hcc-portal-page .page-title,body.hcc-portal-page article>header,body.hcc-portal-page .wp-block-group.alignwide>h1{display:none!important}
body.hcc-portal-page .wp-site-blocks,body.hcc-portal-page .wp-block-post-content,body.hcc-portal-page .entry-content,body.hcc-portal-page main{width:100%!important;max-width:none!important}
.hcc-portal{grid-template-columns:285px minmax(0,1fr)!important;width:100%!important;max-width:none!important;min-height:100vh}
.hcc-portal-main{padding:28px clamp(28px,3vw,52px) 60px!important;width:100%!important;max-width:none!important}
.hcc-portal-main>header{margin-bottom:22px!important;padding-bottom:18px;border-bottom:1px solid #dde7e1}
.hcc-portal-main>header h1{font-size:27px!important}
.hcc-public-btn{white-space:nowrap}
.hcc-dash-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;background:#fff;border:1px solid #e0e8e3;border-radius:18px;padding:28px 30px;margin-bottom:18px}
.hcc-dash-head h2{font-size:31px;line-height:1.12;margin:7px 0 6px;color:#15352a}.hcc-dash-head p{margin:0;color:#718078}.hcc-dash-actions{display:flex;gap:10px;flex-wrap:wrap}.hcc-dash-actions a{padding:13px 17px;border:1px solid #d7e2db;border-radius:10px;background:#fff;color:#174a32!important;text-decoration:none!important;font-weight:800;white-space:nowrap}.hcc-dash-actions a.primary{background:var(--green);color:#fff!important;border-color:var(--green)}
.hcc-portal-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin:0 0 18px!important}.hcc-portal-stats>a{background:#fff;border:1px solid #e0e8e3;border-radius:14px;padding:20px 22px;display:grid;grid-template-columns:1fr auto;align-items:center;text-decoration:none!important;color:#193229!important;transition:.18s ease}.hcc-portal-stats>a:hover{transform:translateY(-2px);box-shadow:0 9px 28px rgba(18,51,39,.08)}.hcc-portal-stats a span{font-weight:750}.hcc-portal-stats a strong{font-size:31px;color:var(--green);grid-row:1/3;grid-column:2}.hcc-portal-stats a small{color:#718078}.hcc-portal-stats .hcc-stat-action{background:#eaf5ee}.hcc-portal-stats .hcc-stat-action strong{font-size:38px}
.hcc-workspace-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(280px,.8fr);gap:18px;align-items:start}.hcc-recent,.hcc-shortcuts{background:#fff;border:1px solid #e0e8e3;border-radius:16px;padding:24px}.hcc-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.hcc-card-heading h3{margin:0 0 3px;font-size:18px}.hcc-card-heading p{margin:0;color:#7a8880;font-size:13px}.hcc-card-heading>a{color:var(--green)!important;text-decoration:none!important;font-weight:750;font-size:13px}.hcc-recent-table{overflow:hidden;border:1px solid #e6ece8;border-radius:11px}.hcc-tr{display:grid;grid-template-columns:1.15fr 1.35fr 1.15fr .8fr;gap:16px;padding:13px 15px;align-items:center;border-top:1px solid #edf1ee}.hcc-tr:first-child{border-top:0}.hcc-tr>span{display:grid;gap:2px;min-width:0}.hcc-tr b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hcc-tr small{font-size:11px;color:#78877f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hcc-th{background:#f6f9f7}.hcc-th span{font-size:10px!important;font-weight:850!important;letter-spacing:.9px;color:#728178;text-transform:uppercase}.hcc-shortcuts{display:grid;gap:9px}.hcc-shortcuts .hcc-card-heading{margin-bottom:5px}.hcc-shortcuts>a{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #e6ece8;border-radius:11px;text-decoration:none!important;color:#193229!important}.hcc-shortcuts>a:hover{background:#f4f8f5}.hcc-shortcuts i{width:38px;height:38px;border-radius:10px;background:#eaf5ee;color:var(--green);display:grid;place-items:center;font-style:normal;font-size:21px;font-weight:900}.hcc-shortcuts span{display:grid;gap:2px}.hcc-shortcuts b{font-size:13px}.hcc-shortcuts small{font-size:11px;color:#78877f}
.hcc-inclusion-form,.hcc-searchbox,.hcc-results{max-width:none!important;width:100%}.hcc-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hcc-form-grid.one{grid-template-columns:minmax(0,1fr)!important}.hcc-inclusion-form section{padding:28px 30px!important}.hcc-searchbox{padding:30px!important}.hcc-results article{grid-template-columns:1.25fr 1.45fr 1.15fr auto!important}
@media(max-width:1200px){.hcc-workspace-grid{grid-template-columns:1fr}.hcc-portal-stats{grid-template-columns:repeat(2,1fr)!important}.hcc-form-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:900px){.hcc-portal{grid-template-columns:1fr!important}.hcc-portal-main{padding:20px 18px 45px!important}.hcc-dash-head{align-items:flex-start;flex-direction:column}.hcc-workspace-grid{grid-template-columns:1fr}.hcc-form-grid{grid-template-columns:1fr!important}.hcc-tr{grid-template-columns:1fr 1fr}.hcc-th{display:none}.hcc-portal-stats{grid-template-columns:1fr 1fr!important}}
@media(max-width:600px){.hcc-portal-stats{grid-template-columns:1fr!important}.hcc-dash-actions{width:100%;display:grid}.hcc-dash-actions a{text-align:center}.hcc-recent-table{border:0}.hcc-tr{grid-template-columns:1fr;border:1px solid #e6ece8;border-radius:10px;margin-bottom:8px}.hcc-public-btn{width:100%;text-align:center}}

/* 0.8.3 - CRUD institucional */
.hcc-crud-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.hcc-crud-head h2{margin:0;color:#15352a;font-size:28px}.hcc-crud-head p{margin:5px 0 0;color:#718078}.hcc-crud-new{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:#fff!important;text-decoration:none!important;border-radius:9px;padding:12px 17px;font-weight:800}.hcc-crud-card{background:#fff;border:1px solid #e0e8e3;border-radius:16px;padding:20px;box-shadow:0 4px 18px rgba(18,51,39,.03)}.hcc-crud-search{display:flex;gap:10px;align-items:center}.hcc-crud-search input{flex:1;min-height:44px;border:1px solid #d5dfd8;border-radius:9px;padding:11px 13px}.hcc-crud-search button{border:0;border-radius:9px;background:var(--green);color:#fff;padding:12px 18px;font-weight:800}.hcc-crud-search a{color:#597166!important}.hcc-crud-count{font-size:13px;color:#718078;margin:14px 0}.hcc-crud-table-wrap{overflow:auto;border:1px solid #e5ebe7;border-radius:12px}.hcc-crud-table{width:100%;border-collapse:collapse;min-width:930px}.hcc-crud-table th{background:#f2f7f4;color:#496157;text-align:left;font-size:12px;letter-spacing:.03em;padding:13px;border-bottom:1px solid #dfe8e2}.hcc-crud-table td{padding:14px 13px;border-bottom:1px solid #edf1ee;vertical-align:middle;font-size:14px}.hcc-crud-table tr:last-child td{border-bottom:0}.hcc-crud-table td small{display:block;color:#7a8981;margin-top:3px}.hcc-crud-table code{font:600 12px ui-monospace,monospace;background:#f4f7f5;border-radius:5px;padding:4px 6px}.hcc-crud-actions{display:flex;gap:7px;white-space:nowrap}.hcc-crud-actions a{border:1px solid #d8e2dc;border-radius:7px;padding:7px 9px;text-decoration:none!important;color:#315545!important;font-size:12px;font-weight:750}.hcc-crud-actions a.edit{color:#176c37!important;background:#edf7f0}.hcc-crud-actions a.delete{color:#a33b2b!important;background:#fff2ef;border-color:#f0d5ce}.hcc-pagination{display:flex;gap:6px;margin-top:18px}.hcc-pagination a{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d9e3dc;border-radius:7px;text-decoration:none!important;color:#365849!important}.hcc-pagination a.active{background:var(--green);color:#fff!important;border-color:var(--green)}.hcc-record-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.hcc-record-toolbar>a:first-child{color:#496157!important;text-decoration:none!important}.hcc-record-detail{background:#fff;border:1px solid #e0e8e3;border-radius:18px;padding:28px}.hcc-record-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4ebe6;padding-bottom:22px;margin-bottom:22px}.hcc-record-title h2{margin:6px 0 0;font-size:32px;color:#15352a}.hcc-record-title p{margin:4px 0 0;color:#718078}.hcc-detail-grid{display:grid;grid-template-columns:1.15fr 1.15fr .8fr;gap:18px}.hcc-detail-grid article{border:1px solid #e4ebe6;border-radius:13px;padding:20px}.hcc-detail-grid h3{margin:0 0 16px;color:#174f34}.hcc-detail-grid dl{display:grid;grid-template-columns:110px 1fr;gap:9px 12px;margin:0}.hcc-detail-grid dt{font-size:12px;color:#7a8981}.hcc-detail-grid dd{margin:0;font-weight:650;color:#243c32}.hcc-chip-number{font:800 19px ui-monospace,monospace;background:#eef7f1;border-radius:9px;padding:13px;color:#155f36;overflow-wrap:anywhere}.hcc-edit-form{max-width:1100px}.hcc-record-detail+.hcc-portal-success{margin-top:15px}@media(max-width:1050px){.hcc-detail-grid{grid-template-columns:1fr 1fr}.hcc-detail-grid article:last-child{grid-column:1/-1}}@media(max-width:700px){.hcc-crud-head,.hcc-record-title,.hcc-record-toolbar{align-items:stretch;flex-direction:column}.hcc-crud-search{flex-direction:column;align-items:stretch}.hcc-detail-grid{grid-template-columns:1fr}.hcc-detail-grid article:last-child{grid-column:auto}}
