/* InfoDirectorio · Cabecera y pie públicos únicos. Solo reglas id-shell-*. */
.id-shell-header,
.id-shell-header *,
.id-shell-footer,
.id-shell-footer *{box-sizing:border-box}
.id-shell-header{position:sticky!important;top:0;z-index:1035!important;background:rgba(255,255,255,.97)!important;color:#152f37!important;border-bottom:1px solid #d6e7e5!important;box-shadow:0 4px 20px rgba(10,44,47,.045);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;line-height:1.35!important;isolation:isolate}
.id-shell-header-inner{width:100%;min-height:72px;margin:0 auto;padding:10px clamp(14px,3.2vw,45px);display:flex;align-items:center;justify-content:space-between;gap:15px}
.id-shell-brand{display:flex!important;align-items:center;gap:11px;min-width:0;color:#132e34!important;text-decoration:none!important}
.id-shell-brand:hover{color:#006b70!important}
.id-shell-brand-logo{width:48px!important;height:48px!important;min-width:48px;object-fit:contain!important;padding:4px;background:#fff;border:1px solid #d7e7e4;border-radius:12px;box-shadow:0 3px 10px rgba(2,39,42,.055);filter:none!important}
.id-shell-brand-copy{display:flex;flex-direction:column;gap:1px;line-height:1.22;min-width:0}
.id-shell-brand-copy strong{display:block;color:#12353b!important;font-size:clamp(.89rem,1.35vw,1rem)!important;line-height:1.25;font-weight:800;letter-spacing:-.018em}
.id-shell-brand-copy small{display:block;color:#527078!important;font-size:.79rem!important;font-weight:600}
.id-shell-desktop-nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.id-shell-desktop-nav a,.id-shell-mobile-nav nav a{font:700 .87rem/1.35 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;color:#21464b!important;text-decoration:none!important;border-radius:10px;padding:10px 12px;white-space:nowrap;background:transparent!important;transition:background .15s ease,color .15s ease}
.id-shell-desktop-nav a:hover,.id-shell-desktop-nav a[aria-current="page"],.id-shell-mobile-nav nav a:hover,.id-shell-mobile-nav nav a[aria-current="page"]{background:#e5f5f1!important;color:#006b70!important}
.id-shell-desktop-nav .id-shell-admin-link{background:#f5f8f8!important;border:1px solid #d6e6e5;color:#304c53!important;margin-left:6px}
.id-shell-desktop-nav .id-shell-admin-link:hover{background:#e5f5f1!important}
.id-shell-mobile-nav{display:none;position:relative;flex-shrink:0}
.id-shell-mobile-nav summary{cursor:pointer;list-style:none;border:1px solid #cde2df;padding:9px 14px;background:#f3faf9;color:#075c60;border-radius:10px;font-weight:800;font-size:.87rem}
.id-shell-mobile-nav summary::-webkit-details-marker{display:none}
.id-shell-mobile-nav nav{position:absolute;right:0;top:calc(100% + 7px);width:min(82vw,250px);display:flex;flex-direction:column;gap:2px;background:#fff;padding:8px;border:1px solid #dce8e6;border-radius:13px;box-shadow:0 20px 50px rgba(5,35,40,.15);max-height:70vh;overflow:auto}
.id-shell-mobile-nav nav a{display:block!important;white-space:normal}
.id-shell-header a:focus-visible,.id-shell-footer a:focus-visible,.id-shell-mobile-nav summary:focus-visible{outline:3px solid #279c87!important;outline-offset:3px}
/* Los antiguos encabezados de filtros son contenido de cada sección, no otra barra del sitio. */
.id-shell-page-intro{position:relative!important;top:auto!important;z-index:auto!important;margin-top:0!important;margin-bottom:20px!important;border-radius:0!important;box-shadow:none!important}
.id-shell-page-intro .public-header-actions,.id-shell-page-intro .public-login-btn{display:none!important}
.id-shell-ficha-toolbar{padding:9px clamp(14px,3.2vw,45px);border-bottom:1px solid #e2eeec;background:#f5faf9}
.id-shell-ficha-toolbar .public-admin-tools{display:flex!important;align-items:center;flex-wrap:wrap;gap:7px!important;margin:0!important;max-width:100%}
.id-shell-ficha-toolbar .public-admin-tools>a{white-space:normal}
.id-shell-footer{width:100%;clear:both;margin:0!important;padding:0!important;position:relative;z-index:1;background:#102f34!important;color:#ecf7f5!important;border-top:4px solid #82c44a!important;box-shadow:none!important;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:.88rem!important;line-height:1.5!important}
.id-shell-footer-inner{max-width:1480px;margin:0 auto;padding:30px clamp(16px,3.3vw,48px) 16px}
.id-shell-footer-top{display:grid;grid-template-columns:minmax(220px,1.3fr) minmax(165px,.8fr) minmax(220px,1fr);gap:26px 38px}
.id-shell-footer-top strong{display:block;font-weight:850;font-size:1rem;color:#fff!important;margin-bottom:10px}
.id-shell-footer-top p{margin:0!important;color:#cee3df!important;max-width:470px;font-size:.88rem}
.id-shell-footer-links,.id-shell-footer-contact{display:flex;flex-direction:column;gap:5px}
.id-shell-footer a{color:#e7f7f2!important;text-decoration:none!important;white-space:normal}
.id-shell-footer a:hover{text-decoration:underline!important;color:#d4f6a8!important}
.id-shell-footer-bottom{border-top:1px solid rgba(255,255,255,.19);padding-top:14px;margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;color:#bfd8d5}
.id-shell-created-by{display:inline-flex;align-items:center;gap:8px;text-decoration:none!important}
.id-shell-created-by img{width:92px!important;height:auto!important;max-height:35px!important;object-fit:contain!important;filter:none!important;background:#fff;border-radius:7px;padding:3px}
.id-shell-footer button{color:#e5f6f1!important}
@media(max-width:1060px){.id-shell-desktop-nav{display:none!important}.id-shell-mobile-nav{display:block!important}.id-shell-header-inner{min-height:68px}.id-shell-footer-top{grid-template-columns:1fr 1fr}.id-shell-footer-about{grid-column:1 / -1}}
@media(max-width:540px){.id-shell-header-inner{padding:8px 12px;min-height:64px}.id-shell-brand-logo{width:40px!important;height:40px!important;min-width:40px}.id-shell-brand-copy strong{font-size:.84rem!important}.id-shell-brand-copy small{font-size:.72rem!important}.id-shell-mobile-nav summary{padding:8px 11px}.id-shell-footer-top{grid-template-columns:1fr;gap:20px}.id-shell-footer-about{grid-column:auto}.id-shell-footer-inner{padding:26px 18px 14px}.id-shell-ficha-toolbar{padding:9px 12px}}
@media print{.id-shell-header,.id-shell-footer,.id-shell-ficha-toolbar{display:none!important}}

/* La página 404 conserva su diseño propio pero comparte las zonas globales. */
body.id-shell-not-found{margin:0!important;padding:0!important}
body.id-shell-not-found main{padding:28px;margin:clamp(24px,8vh,80px) auto;max-width:min(720px,calc(100% - 36px))}
