.acc-directory{--acc-primary:#0a60b8;--acc-accent:#f04a23;--acc-text:#172033;--acc-wa:#25d366;--acc-mail:#0a60b8;--acc-phone:#f04a23;max-width:1220px;margin:0 auto;color:var(--acc-text);font-family:inherit}.acc-directory *{box-sizing:border-box}.acc-heading{text-align:center;margin-bottom:28px}.acc-heading h2{margin:0 0 8px;color:var(--acc-primary);font-size:clamp(28px,4vw,44px);line-height:1.1}.acc-heading p{margin:0;color:#667085;font-size:17px}.acc-controls{display:grid;grid-template-columns:minmax(260px,1.6fr) minmax(250px,1fr) auto;gap:12px;margin-bottom:22px}.acc-search-wrap{display:flex;align-items:center;background:#fff;border:1px solid #dfe4ea;border-radius:14px;padding:0 16px;box-shadow:0 8px 30px rgba(13,39,80,.06)}.acc-search-wrap input{width:100%;border:0!important;outline:0!important;box-shadow:none!important;padding:15px 8px;background:transparent;color:var(--acc-text)}.acc-search-icon{font-size:24px;color:var(--acc-primary)}.acc-select,.acc-reset{border:1px solid #dfe4ea;border-radius:14px;padding:0 16px;background:#fff;min-height:52px;color:var(--acc-text)}.acc-reset{background:var(--acc-primary);color:#fff;border-color:var(--acc-primary);font-weight:700;cursor:pointer}.acc-reset:hover{filter:brightness(.94)}.acc-feature{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);gap:26px;align-items:start;margin-bottom:46px}.acc-map-wrap{position:relative;min-height:620px;border-radius:28px;background:linear-gradient(145deg,#f8fafc,#eef3f8);overflow:hidden;box-shadow:0 20px 55px rgba(14,47,88,.12);display:grid;place-items:center;padding:18px}.acc-colombia-svg{display:block;width:100%;height:584px;max-width:100%;overflow:visible}.acc-department,.acc-island-shape{fill:var(--acc-primary);stroke:#fff;stroke-width:2.3;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .16s ease,filter .16s ease}.acc-department:hover,.acc-department:focus,.acc-department.is-active,.acc-san-andres-group:hover .acc-island-shape,.acc-san-andres-group:focus .acc-island-shape,.acc-san-andres-group.is-active .acc-island-shape{fill:var(--acc-accent);filter:drop-shadow(0 3px 3px rgba(0,0,0,.12));outline:none}.acc-san-andres-group{cursor:pointer}.acc-island-frame{fill:rgba(255,255,255,.78);stroke:#d6dee8;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}.acc-map-tooltip{position:absolute;z-index:5;transform:translate(-50%,calc(-100% - 12px));background:#fff;color:var(--acc-primary);font-weight:700;border-radius:9px;padding:7px 10px;box-shadow:0 8px 25px rgba(0,0,0,.16);pointer-events:none;opacity:0;transition:opacity .12s ease;max-width:240px;text-align:center}.acc-map-tooltip.is-visible{opacity:1}.acc-map-tooltip.is-below{transform:translate(-50%,12px)}.acc-map-error{display:flex;min-height:500px;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;color:#667085}.acc-selected{display:flex;align-items:stretch;justify-content:center;min-height:620px;gap:18px;flex-direction:column;overflow:visible}.acc-selected .acc-card{width:100%;flex:0 0 auto}.acc-selected.is-multiple{justify-content:flex-start;overflow:visible;padding:0;min-height:0;max-height:none}.acc-selected.is-multiple .acc-card-featured{min-height:0;justify-content:flex-start;padding:24px 22px 22px}.acc-selected.is-multiple .acc-photo{width:104px;height:104px}.acc-selected.is-multiple .acc-divider{margin:18px 0 16px}.acc-selected.is-multiple .acc-card h4{font-size:22px}.acc-selected.is-multiple .acc-role{font-size:16px}.acc-selected.is-multiple .acc-details{margin-top:14px}.acc-selected.is-multiple .acc-actions{padding-top:16px}.acc-empty{width:100%;min-height:100%;border-radius:28px;background:#fff;box-shadow:0 20px 55px rgba(14,47,88,.1);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;color:#667085}.acc-empty strong{font-size:24px;color:var(--acc-primary);margin-bottom:8px}.acc-list-heading{display:flex;justify-content:space-between;align-items:end;margin:0 0 22px}.acc-list-heading h3{margin:0;color:var(--acc-primary);font-size:30px}.acc-count{color:#667085}.acc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.acc-card{background:#fff;border-radius:32px;padding:34px 30px 28px;text-align:center;box-shadow:0 18px 48px rgba(18,45,80,.1);display:flex;flex-direction:column;align-items:center;min-width:0;transition:transform .2s ease,box-shadow .2s ease}.acc-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(18,45,80,.15)}.acc-card-featured{justify-content:center;min-height:620px}.acc-photo{width:132px;height:132px;border-radius:50%;overflow:hidden;background:#edf3f8;display:grid;place-items:center;color:var(--acc-primary);font-size:48px;font-weight:800}.acc-photo img{width:100%;height:100%;object-fit:cover}.acc-divider{width:65%;height:1px;background:#d9dde3;margin:28px 0 24px}.acc-card h4{margin:0;color:var(--acc-primary);font-size:25px;line-height:1.15}.acc-role{margin:6px 0 0;font-size:18px;color:#525b6b}.acc-zone{margin:12px 0 0;color:var(--acc-accent);font-weight:700}.acc-departments{margin:5px 0 0;color:#6d7582;font-size:14px;line-height:1.45}.acc-details{display:flex;flex-direction:column;gap:5px;margin:18px 0 2px;min-height:49px}.acc-details a{color:#354052;text-decoration:none;overflow-wrap:anywhere}.acc-details a:hover{color:var(--acc-primary);text-decoration:underline}.acc-actions{display:flex;gap:12px;margin-top:auto;padding-top:22px}.acc-btn{width:44px;height:44px;border-radius:50%;display:grid;place-items:center}.acc-btn svg{width:22px;height:22px;fill:#fff}.acc-wa{background:var(--acc-wa)}.acc-mail{background:var(--acc-mail)}.acc-phone{background:var(--acc-phone)}.acc-btn:hover{filter:brightness(.92);transform:translateY(-1px)}.acc-no-results{grid-column:1/-1;padding:45px;border:1px dashed #ccd4df;border-radius:22px;text-align:center;color:#667085}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:900px){.acc-selected{overflow:visible}.acc-selected.is-multiple{overflow:visible;padding:0}.acc-card-featured{min-height:auto}.acc-controls{grid-template-columns:1fr 1fr}.acc-reset{grid-column:1/-1}.acc-feature{grid-template-columns:1fr}.acc-map-wrap{min-height:520px}.acc-colombia-svg{height:490px}.acc-selected{min-height:auto}.acc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.acc-controls{grid-template-columns:1fr}.acc-reset{grid-column:auto}.acc-map-wrap{min-height:430px;border-radius:22px;padding:8px}.acc-colombia-svg{height:414px}.acc-grid{grid-template-columns:1fr}.acc-card{border-radius:26px}.acc-list-heading{align-items:flex-start;flex-direction:column;gap:5px}.acc-list-heading h3{font-size:25px}.acc-photo{width:115px;height:115px}.acc-feature{margin-bottom:34px}.acc-map-tooltip{display:none}}
.acc-map-viewport{width:100%;height:100%;display:grid;place-items:center;overflow:hidden;border-radius:inherit}.acc-map-viewport .acc-colombia-svg{transform:none!important;will-change:auto;image-rendering:auto}.acc-map-viewport.is-zoomed{cursor:grab;touch-action:none;user-select:none}.acc-map-viewport.is-panning{cursor:grabbing}.acc-map-viewport.is-panning .acc-map-tooltip{opacity:0!important}.acc-zoom-controls{position:absolute;right:14px;bottom:14px;z-index:6;display:flex;flex-direction:column;border:1px solid #cfd8e3;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 5px 18px rgba(18,45,80,.16)}.acc-zoom-controls button{width:38px;height:38px;border:0;border-bottom:1px solid #dfe5ec;background:#fff;color:var(--acc-primary);font-size:22px;font-weight:700;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}.acc-zoom-controls button:last-child{border-bottom:0;font-size:17px}.acc-zoom-controls button:hover:not(:disabled){background:#f1f5f9}.acc-zoom-controls button:focus-visible{outline:2px solid var(--acc-accent);outline-offset:-2px}.acc-zoom-controls button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:600px){.acc-zoom-controls{right:10px;bottom:10px}.acc-zoom-controls button{width:36px;height:36px}}
/* v1.6.8: clear-search control */
.acc-search-wrap{position:relative}.acc-search-wrap input[type="search"]{padding-right:76px}.acc-search-wrap input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}.acc-search-clear{position:absolute;right:42px;top:50%;transform:translateY(-50%) scale(.88);width:30px;height:30px;border:0;border-radius:50%;background:#eef3f8;color:var(--acc-primary);font-size:22px;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease,background .14s ease}.acc-search-clear.is-visible{opacity:1;pointer-events:auto;transform:translateY(-50%) scale(1)}.acc-search-clear:hover{background:#e1e9f2}.acc-search-clear:focus-visible{outline:2px solid var(--acc-accent);outline-offset:2px}.acc-search-clear:disabled{opacity:0;pointer-events:none}.acc-search-icon{position:absolute;right:15px;pointer-events:none}

/* v1.7: tarjeta digital individual y modal */
.acc-profile-open{margin-top:18px;border:1px solid color-mix(in srgb,var(--acc-primary) 28%,#dfe4ea);border-radius:999px;background:#fff;color:var(--acc-primary);padding:10px 16px;font:inherit;font-size:14px;font-weight:750;cursor:pointer}.acc-profile-open:hover{background:#f3f7fb}.acc-profile-open:focus-visible{outline:2px solid var(--acc-accent);outline-offset:2px}.acc-modal-open{overflow:hidden}.acc-profile-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:22px}.acc-profile-modal.is-open{display:flex}.acc-modal-backdrop{position:absolute;inset:0;background:rgba(10,25,45,.66);backdrop-filter:blur(5px)}.acc-modal-dialog{position:relative;z-index:1;width:min(100%,520px);max-height:calc(100vh - 44px);overflow:auto;border-radius:30px;box-shadow:0 28px 90px rgba(0,0,0,.3);background:#fff}.acc-modal-card{position:relative;text-align:center;padding:30px 28px 28px;color:var(--acc-text,#172033)}.acc-modal-close{position:absolute;top:14px;right:16px;width:34px;height:34px;border:0;border-radius:0;background:transparent;color:var(--acc-primary,#0a60b8);font-size:31px;font-weight:400;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0}.acc-modal-close:hover{color:var(--acc-accent,#f04a23);background:transparent}.acc-modal-close:focus-visible{outline:2px solid var(--acc-accent,#f04a23);outline-offset:3px;border-radius:3px}.acc-modal-photo{width:128px;height:128px;border-radius:50%;overflow:hidden;background:#edf3f8;display:grid;place-items:center;margin:0 auto 18px;color:var(--acc-primary,#0a60b8);font-size:42px;font-weight:800}.acc-modal-photo img{width:100%;height:100%;object-fit:cover}.acc-modal-card h3{margin:0;color:var(--acc-primary,#0a60b8);font-size:29px;line-height:1.12}.acc-modal-role{margin:7px 0 0;color:#525b6b;font-size:18px}.acc-modal-zone{margin:13px 0 0;color:var(--acc-accent,#f04a23);font-weight:750}.acc-modal-departments{margin:6px auto 0;color:#6d7582;font-size:14px;line-height:1.45;max-width:390px}.acc-modal-contact{display:flex;flex-direction:column;gap:5px;margin:18px 0 2px}.acc-modal-contact a{color:#354052;text-decoration:none;overflow-wrap:anywhere}.acc-modal-actions{display:flex;justify-content:center;gap:12px;margin:18px 0}.acc-modal-qr-wrap{border-top:1px solid #e5eaf0;margin-top:20px;padding-top:20px}.acc-modal-qr-wrap>img{width:170px;height:170px;max-width:55vw;border-radius:12px;background:#fff}.acc-modal-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.acc-modal-tool,.acc-modal-copy{display:grid;place-items:center;min-height:42px;border:1px solid #dce3eb;border-radius:11px;background:#fff;color:var(--acc-primary,#0a60b8);font:inherit;font-size:13px;font-weight:750;text-decoration:none;cursor:pointer;padding:9px 12px}.acc-modal-tool:hover,.acc-modal-copy:hover{background:#f4f7fa}@media(max-width:520px){.acc-profile-modal{padding:10px}.acc-modal-dialog{max-height:calc(100vh - 20px);border-radius:24px}.acc-modal-card{padding:28px 18px 22px}.acc-modal-tools{grid-template-columns:1fr}.acc-modal-card h3{font-size:25px}}

/* v1.7.5: responsive robusto para contenedores estrechos / Elementor */
.acc-directory{
  width:100%;
  min-width:0;
  max-width:1220px;
  container-type:inline-size;
}
.acc-directory .acc-heading,
.acc-directory .acc-controls,
.acc-directory .acc-feature,
.acc-directory .acc-map-wrap,
.acc-directory .acc-map-viewport,
.acc-directory .acc-selected,
.acc-directory .acc-list-heading,
.acc-directory .acc-grid{
  min-width:0;
  max-width:100%;
}
.acc-feature > *{min-width:0;max-width:100%;width:100%}
.acc-map-wrap{width:100%;max-width:100%}
.acc-map-viewport{width:100%;max-width:100%;min-width:0}
.acc-colombia-svg{width:100%!important;max-width:100%!important;min-width:0!important}
.acc-controls > *{min-width:0;max-width:100%;width:100%}
.acc-search-wrap input,.acc-select{min-width:0;max-width:100%}
.acc-card,.acc-empty{max-width:100%}

@container (max-width: 900px){
  .acc-controls{grid-template-columns:1fr 1fr}
  .acc-reset{grid-column:1/-1}
  .acc-feature{grid-template-columns:1fr!important}
  .acc-map-wrap{min-height:520px}
  .acc-colombia-svg{height:490px}
  .acc-selected{min-height:auto}
  .acc-card-featured{min-height:auto}
  .acc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@container (max-width: 600px){
  .acc-directory{width:100%;max-width:100%}
  .acc-heading{padding-inline:4px}
  .acc-heading h2{font-size:clamp(26px,9cqw,34px)}
  .acc-heading p{font-size:15px}
  .acc-controls{grid-template-columns:minmax(0,1fr)!important;gap:10px}
  .acc-reset{grid-column:auto;width:100%}
  .acc-feature{grid-template-columns:minmax(0,1fr)!important;gap:18px;margin-bottom:30px}
  .acc-map-wrap{width:100%;min-height:0;height:auto;aspect-ratio:0.82;border-radius:20px;padding:6px;overflow:hidden}
  .acc-map-viewport{width:100%;height:100%;overflow:hidden}
  .acc-colombia-svg{width:100%!important;height:100%!important;max-height:none!important;display:block}
  .acc-selected{width:100%;min-height:0;gap:14px}
  .acc-empty{min-height:260px;padding:28px 18px;border-radius:22px}
  .acc-empty strong{font-size:21px}
  .acc-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px}
  .acc-card{width:100%;padding:28px 20px 24px;border-radius:24px}
  .acc-list-heading{width:100%;align-items:flex-start;flex-direction:column;gap:5px}
  .acc-list-heading h3{font-size:25px}
  .acc-zoom-controls{right:8px;bottom:8px}
  .acc-zoom-controls button{width:34px;height:34px}
}

/* Fallback por viewport: evita overflow aunque el constructor de páginas imponga anchos mínimos. */
@media (max-width: 600px){
  .acc-directory{
    width:min(100%,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .acc-directory .acc-feature,
  .acc-directory .acc-controls,
  .acc-directory .acc-map-wrap,
  .acc-directory .acc-map-viewport,
  .acc-directory .acc-selected,
  .acc-directory .acc-grid{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  .acc-feature{grid-template-columns:minmax(0,1fr)!important}
  .acc-map-wrap{overflow:hidden!important}
}

/* v1.7.7: correccion robusta de responsive movil y alturas de tarjetas */
.acc-directory{
  position:relative;
  isolation:isolate;
}
.acc-directory .acc-feature,
.acc-directory .acc-grid{
  align-items:start;
}
.acc-directory .acc-card,
.acc-directory .acc-card-featured,
.acc-directory .acc-selected,
.acc-directory .acc-selected .acc-card{
  height:auto;
  max-height:none;
}

/* La clase se aplica desde JS segun el viewport real, incluso si el tema/Elementor
   mantiene un ancho de layout mayor al del dispositivo. */
.acc-directory.acc-mobile-layout{
  width:calc(100vw - 24px)!important;
  max-width:calc(100vw - 24px)!important;
  min-width:0!important;
  margin-left:calc(50% - 50vw + 12px)!important;
  margin-right:0!important;
  padding:0!important;
  overflow-x:clip!important;
}
.acc-directory.acc-mobile-layout .acc-heading,
.acc-directory.acc-mobile-layout .acc-controls,
.acc-directory.acc-mobile-layout .acc-feature,
.acc-directory.acc-mobile-layout .acc-map-wrap,
.acc-directory.acc-mobile-layout .acc-map-viewport,
.acc-directory.acc-mobile-layout .acc-selected,
.acc-directory.acc-mobile-layout .acc-list-heading,
.acc-directory.acc-mobile-layout .acc-grid{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
.acc-directory.acc-mobile-layout .acc-heading{
  padding-inline:4px!important;
  text-align:center!important;
}
.acc-directory.acc-mobile-layout .acc-heading h2{
  max-width:100%!important;
  overflow-wrap:anywhere;
  font-size:clamp(27px,8.2vw,36px)!important;
}
.acc-directory.acc-mobile-layout .acc-heading p{
  max-width:100%!important;
  font-size:15px!important;
  line-height:1.5!important;
}
.acc-directory.acc-mobile-layout .acc-controls{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
}
.acc-directory.acc-mobile-layout .acc-controls > *{
  grid-column:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.acc-directory.acc-mobile-layout .acc-search-wrap{
  position:relative!important;
  display:flex!important;
  min-height:52px!important;
  padding:0 14px!important;
  overflow:hidden!important;
}
.acc-directory.acc-mobile-layout .acc-search-wrap input.acc-search{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:14px 66px 14px 4px!important;
  font-size:16px!important;
}
.acc-directory.acc-mobile-layout button.acc-search-clear{
  position:absolute!important;
  right:38px!important;
  top:50%!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  margin:0!important;
  padding:0!important;
  transform:translateY(-50%) scale(.88)!important;
  border:0!important;
  border-radius:50%!important;
  background:#eef3f8!important;
  color:var(--acc-primary)!important;
  box-shadow:none!important;
  font-size:21px!important;
  line-height:28px!important;
  text-align:center!important;
}
.acc-directory.acc-mobile-layout button.acc-search-clear.is-visible{
  transform:translateY(-50%) scale(1)!important;
}
.acc-directory.acc-mobile-layout .acc-search-icon{
  right:13px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  font-size:21px!important;
}
.acc-directory.acc-mobile-layout .acc-select,
.acc-directory.acc-mobile-layout .acc-reset{
  display:block!important;
  min-height:52px!important;
  height:auto!important;
  padding:12px 14px!important;
  font-size:16px!important;
}
.acc-directory.acc-mobile-layout .acc-reset{
  text-align:center!important;
}
.acc-directory.acc-mobile-layout .acc-feature{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:18px!important;
  margin-bottom:30px!important;
}
.acc-directory.acc-mobile-layout .acc-map-wrap{
  order:1!important;
  position:relative!important;
  min-height:0!important;
  height:clamp(390px,118vw,520px)!important;
  aspect-ratio:auto!important;
  padding:6px!important;
  overflow:hidden!important;
  border-radius:20px!important;
}
.acc-directory.acc-mobile-layout .acc-map-viewport{
  position:relative!important;
  height:100%!important;
  overflow:hidden!important;
}
.acc-directory.acc-mobile-layout .acc-colombia-svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-width:0!important;
  min-height:0!important;
  overflow:hidden!important;
}
.acc-directory.acc-mobile-layout .acc-selected{
  order:2!important;
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  gap:14px!important;
  padding:0!important;
  clear:both!important;
}
.acc-directory.acc-mobile-layout .acc-selected .acc-card,
.acc-directory.acc-mobile-layout .acc-selected .acc-card-featured,
.acc-directory.acc-mobile-layout .acc-selected.is-single .acc-card-featured,
.acc-directory.acc-mobile-layout .acc-selected.is-multiple .acc-card-featured{
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  align-self:stretch!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:26px 20px 24px!important;
  overflow:visible!important;
}
.acc-directory.acc-mobile-layout .acc-empty{
  min-height:220px!important;
  height:auto!important;
}
.acc-directory.acc-mobile-layout .acc-list-heading{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:5px!important;
  margin-top:0!important;
}
.acc-directory.acc-mobile-layout .acc-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-rows:auto!important;
  align-items:start!important;
  align-content:start!important;
  gap:16px!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
}
.acc-directory.acc-mobile-layout .acc-grid > .acc-card{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  align-self:start!important;
  margin:0!important;
  padding:28px 20px 24px!important;
}
.acc-directory.acc-mobile-layout .acc-card .acc-actions{
  margin-top:14px!important;
  padding-top:8px!important;
}
.acc-directory.acc-mobile-layout .acc-zoom-controls{
  right:8px!important;
  bottom:8px!important;
}

/* Tablet estrecha: evita filas estiradas y paneles con altura heredada. */
.acc-directory.acc-tablet-layout:not(.acc-mobile-layout) .acc-feature{
  grid-template-columns:minmax(0,1fr)!important;
}
.acc-directory.acc-tablet-layout:not(.acc-mobile-layout) .acc-card-featured{
  min-height:0!important;
  height:auto!important;
}
.acc-directory.acc-tablet-layout:not(.acc-mobile-layout) .acc-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
}

/* v1.7.8: tarjeta de contacto alterno para departamentos sin comercial asignado */
.acc-fallback-card{
  position:relative;
}
.acc-fallback-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 18px;
  padding:7px 13px;
  border-radius:999px;
  background:color-mix(in srgb,var(--acc-primary) 10%,#fff);
  color:var(--acc-primary);
  font-size:13px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:none;
}
.acc-fallback-card .acc-actions{
  margin-top:18px;
}
.acc-selected.has-fallback .acc-fallback-card{
  width:100%;
}
@supports not (background:color-mix(in srgb,#000 10%,#fff)){
  .acc-fallback-label{background:#eef4fb}
}

/* v1.7.9: el directorio general solo se muestra en el estado general o en busquedas libres.
   Al seleccionar un departamento, los resultados ya aparecen junto al mapa y no se duplican abajo. */
.acc-list-heading.is-hidden,
.acc-grid.is-hidden{
  display:none!important;
}


/* v1.8.1: tarjetas compactas para resultados por departamento */
.acc-selected.is-compact{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  align-items:start;
  gap:14px;
  min-height:0;
  padding:0;
}
.acc-compact-card{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-width:0;
  min-height:178px;
  border:1px solid color-mix(in srgb,var(--acc-primary) 13%,#dfe6ee);
  border-radius:22px;
  background:#fff;
  color:var(--acc-text);
  box-shadow:0 14px 34px rgba(18,45,80,.09);
  padding:18px 14px 15px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
  cursor:pointer;
  font:inherit;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.acc-compact-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 42px rgba(18,45,80,.14);
  border-color:color-mix(in srgb,var(--acc-primary) 28%,#dfe6ee);
}
.acc-compact-card:focus-visible{outline:3px solid color-mix(in srgb,var(--acc-accent) 55%,#fff);outline-offset:3px}
.acc-compact-photo{width:72px;height:72px;border-radius:50%;overflow:hidden;background:#edf3f8;color:var(--acc-primary);display:grid;place-items:center;font-size:25px;font-weight:800;flex:0 0 auto;margin-bottom:10px}
.acc-compact-photo img{width:100%;height:100%;object-fit:cover}
.acc-compact-copy{display:flex;min-width:0;flex-direction:column;align-items:center;gap:3px;line-height:1.2}
.acc-compact-copy strong{display:block;color:var(--acc-primary);font-size:16px;line-height:1.16;overflow-wrap:anywhere}
.acc-compact-role{display:block;color:#596273;font-size:13px;line-height:1.3}
.acc-compact-coverage{display:inline-flex;margin-top:4px;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--acc-primary) 8%,#fff);color:var(--acc-primary);font-size:11px;font-weight:750;line-height:1.2}
.acc-compact-more{display:block;margin-top:7px;color:var(--acc-primary);font-size:12px;font-weight:800}
@container (max-width:900px){.acc-selected.is-compact{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:600px){.acc-selected.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.acc-compact-card{min-height:160px;padding:14px 10px 12px;border-radius:18px}.acc-compact-photo{width:62px;height:62px;margin-bottom:8px}.acc-compact-copy strong{font-size:14px}.acc-compact-role{font-size:12px}.acc-compact-more{font-size:11px}}
.acc-directory.acc-mobile-layout .acc-selected.is-compact{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:start!important}
.acc-directory.acc-mobile-layout .acc-selected.is-compact .acc-compact-card{width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:155px!important;margin:0!important}

/* v1.8.2: alineacion uniforme del directorio general */
.acc-directory .acc-grid{
  align-items:stretch!important;
}
.acc-directory .acc-grid > .acc-card{
  height:100%!important;
  align-self:stretch!important;
}
.acc-directory .acc-grid > .acc-card h4{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.acc-directory .acc-grid > .acc-card .acc-role{
  min-height:46px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.acc-directory .acc-grid > .acc-card .acc-departments{
  min-height:44px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.acc-directory .acc-grid > .acc-card .acc-details{
  min-height:58px;
  justify-content:flex-start;
}
.acc-directory .acc-grid > .acc-card .acc-actions{
  margin-top:auto;
}
.acc-directory .acc-grid > .acc-card .acc-profile-open{
  flex:0 0 auto;
}
@media(max-width:600px){
  .acc-directory .acc-grid > .acc-card h4,
  .acc-directory .acc-grid > .acc-card .acc-role,
  .acc-directory .acc-grid > .acc-card .acc-departments,
  .acc-directory .acc-grid > .acc-card .acc-details{
    min-height:0;
  }
  .acc-directory .acc-grid > .acc-card{
    height:auto!important;
  }
}
