/* Centro EPS: presentación pública compacta. Identidad y cabecera institucional compartidas. */
.health-page{--health-border:#d9e5f2;--health-muted:#53647a;color:#07386c}
.health-page .health-body{padding-bottom:2.5rem}
.health-page .health-icon{display:inline-block;width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.health-page .health-emergency{display:flex;align-items:center;gap:1rem;padding:1rem 1.2rem;border:1px solid #e7ba9e;border-radius:12px;background:#fff5ef;color:#713716;margin:1.2rem 0}
.health-page .health-emergency>.health-icon{width:30px;height:30px}
.health-page .health-emergency h2{font-size:1rem;margin:0 0 .35rem;line-height:1.4}
.health-page .health-emergency p{font-size:.85rem;margin:0;line-height:1.65}
.health-page .health-emergency>a{min-width:130px;font-size:.85rem;font-weight:600}
.health-page .health-tabs{display:flex;gap:.6rem;flex-wrap:wrap;border-bottom:1px solid var(--health-border);padding:.4rem 0 1rem}
.health-page .health-tabs a,.health-page .health-shortcuts a{display:inline-flex;gap:.5rem;align-items:center;min-height:44px;padding:.5rem .7rem;border:1px solid var(--health-border);border-radius:9px;background:white;font-size:.85rem;font-weight:600}
.health-page .health-tabs a:hover,.health-page .health-shortcuts a:hover{background:#f0f6fe}
.health-page .health-section{padding-top:2rem;scroll-margin-top:1rem}
.health-page .health-section h2{font-size:1.55rem;line-height:1.3;margin:.35rem 0 .65rem}
.health-page .health-section>p{font-size:.93rem;line-height:1.7}
.health-page .health-search{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.9rem;padding:1.2rem;border:1px solid var(--health-border);border-radius:14px;background:#f2f7fd}
.health-page .health-field{min-width:0}
.health-page label{display:block;font-size:.82rem;font-weight:700;line-height:1.5}
.health-page input:not([type=hidden]),.health-page select{display:block;width:100%;min-width:0;min-height:48px;padding:.65rem .7rem;margin-top:.4rem;border:1px solid #adc3dd;border-radius:8px;background:white;color:#07386c;font:inherit;font-size:1rem;line-height:1.4}
.health-page select:disabled{background:#e9eef4;color:#53647a;cursor:not-allowed}
.health-page .health-search-actions{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap;grid-column:1/-1}
.health-page button{cursor:pointer;min-height:46px}
.health-page .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem}
.health-page button:disabled{cursor:wait;opacity:.7}
.health-page .health-reset{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;font-size:.85rem;font-weight:600}
.health-page .health-geo-status{grid-column:1/-1;margin:0;font-size:.8rem;line-height:1.6;color:var(--health-muted)}
.health-page .health-geography-source{margin:.7rem 0 0;font-size:.8rem;color:var(--health-muted)}
.health-page .health-geography-source summary{min-height:32px;cursor:pointer}
.health-page .health-geography-source p{max-width:850px;line-height:1.65}
.health-page .health-form-notice{margin:1rem 0;padding:.6rem 1rem;border-left:3px solid #c38b21;background:#fff8e8;border-radius:6px}
.health-page .health-form-notice p{margin:.3rem 0;font-size:.85rem;line-height:1.6}
.health-page .health-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.5rem}
.health-page .health-count{font-size:.8rem;background:#edf3fb;color:#315776;padding:.4rem .65rem;border-radius:7px;white-space:nowrap}
.health-page .health-notice{padding:.8rem 1rem;border-radius:9px;background:#f3f7fb;color:#405774;font-size:.85rem!important;line-height:1.65!important;border:1px solid var(--health-border)}
.health-page .health-fallback{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid var(--health-border);border-radius:12px;background:#f8fbff;margin:.9rem 0}
.health-page .health-fallback h3{font-size:1rem;margin:0}
.health-page .health-fallback p{font-size:.85rem;margin:.3rem 0}
.health-page .health-empty{padding:1.5rem;border:1px dashed #a4bad4;border-radius:12px;background:#f8fbff;margin:1rem 0}
.health-page .health-empty>.health-icon{width:28px;height:28px;color:#2364cd}
.health-page .health-empty h3{font-size:1.1rem;margin:.6rem 0}
.health-page .health-empty p{max-width:750px;font-size:.9rem;line-height:1.7}
.health-page .health-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start;margin:1rem 0}
.health-page .health-card{min-width:0;padding:1rem;border:1px solid var(--health-border);border-radius:12px;background:white;box-shadow:0 3px 10px #0a386206;overflow-wrap:anywhere}
.health-page .health-card-title{display:flex;align-items:center;gap:.65rem;margin:0 0 .6rem}
.health-page .health-card-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;background:#eaf3fc;color:#087eb5;flex-shrink:0}
.health-page .health-card-title h3{font-size:1rem;font-weight:700;line-height:1.4;margin:0}
.health-page .health-card p{font-size:.85rem;line-height:1.6;margin:.5rem 0}
.health-page .health-location,.health-page .health-hours{display:flex;gap:.5rem;align-items:start}
.health-page .health-location>.health-icon{color:#5076a0;margin-top:2px}
.health-page .health-location small{display:block;color:var(--health-muted);font-size:.8rem;margin-top:.2rem}
.health-page .health-chips{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;padding:0;margin:.6rem 0}
.health-page .health-chips li{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .5rem;border-radius:5px;background:#eaf6f8;font-size:.76rem;color:#176270}
.health-page .health-chips .health-icon{width:16px;height:16px}
.health-page .health-call{display:flex;gap:.5rem;align-items:center;min-height:44px;font-size:.82rem;font-weight:600;line-height:1.5;text-decoration:none}
.health-page .health-call span{overflow-wrap:anywhere}
.health-page .health-card-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.7rem}
.health-page .health-action{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.45rem .65rem;border:1px solid #b8cfe5;border-radius:7px;background:#f5f9ff;color:#174d91;font-size:.8rem;font-weight:600;line-height:1.4}
.health-page .health-action .health-icon{width:17px;height:17px}
.health-page .health-action:hover{background:#eaf2ff}
.health-page .health-links{display:flex;flex-direction:column;gap:.15rem}
.health-page .health-resource-link{display:flex;align-items:center;gap:.45rem;min-height:44px;font-size:.82rem;line-height:1.5;padding:.3rem 0}
.health-page .health-resource-link>.health-icon{width:17px;height:17px}
.health-page .health-resource-link>span:first-of-type{flex:1}
.health-page .health-select-eps{display:block;min-height:44px;margin-top:.5rem;font-size:.82rem;font-weight:700;line-height:1.5;padding:.5rem 0}
.health-page .health-muted{color:var(--health-muted)}
.health-page .health-review-warning{padding:.5rem .65rem;border-radius:6px;background:#fff6df;color:#70500f;font-size:.8rem!important}
.health-page .health-sources{margin-top:.8rem;border-top:1px solid var(--health-border);padding-top:.25rem}
.health-page .health-sources>summary{display:flex;align-items:center;gap:.4rem;min-height:44px;font-size:.8rem;font-weight:600;cursor:pointer;list-style:none}
.health-page .health-sources>summary::-webkit-details-marker{display:none}
.health-page .health-sources>summary:after{content:'⌄';margin-left:auto}
.health-page .health-sources[open]>summary:after{transform:rotate(180deg)}
.health-page .health-sources>summary>.health-icon{width:16px;height:16px}
.health-page .health-details-body{padding:.5rem 0}
.health-page .health-details-body dl{margin:0;font-size:.8rem;line-height:1.65}
.health-page .health-details-body dt{font-weight:700;margin-top:.6rem}
.health-page .health-details-body dd{margin:.15rem 0;color:var(--health-muted)}
.health-page .health-details-body>p{font-size:.8rem}
.health-page .health-eps-search{max-width:650px;margin:1rem 0}
.health-page .health-eps-search>div{display:flex;gap:.6rem;align-items:end}
.health-page .health-shortcuts{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}
.health-page .health-guide-groups{display:grid;gap:.7rem}
.health-page .health-guide-group{border:1px solid var(--health-border);border-radius:12px;background:white;overflow:hidden}
.health-page .health-guide-group>summary{display:flex;align-items:center;gap:.8rem;padding:.9rem 1rem;list-style:none;font-weight:700;cursor:pointer;min-height:64px}
.health-page .health-guide-group>summary::-webkit-details-marker{display:none}
.health-page .health-guide-group>summary:after{content:'+';margin-left:auto;font-weight:400;font-size:1.5rem}
.health-page .health-guide-group[open]>summary:after{content:'−'}
.health-page .health-guide-group>summary small{display:block;font-size:.78rem;font-weight:400;color:var(--health-muted);margin-top:.2rem}
.health-page .health-guide-group[open]>summary{border-bottom:1px solid var(--health-border);background:#f6faff}
.health-page .health-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;padding:.8rem}
.health-page .health-guide{min-width:0;border:1px solid var(--health-border);border-radius:9px;padding:.6rem .8rem;align-self:start;scroll-margin-top:1rem}
.health-page .health-guide>summary{display:flex;gap:.5rem;align-items:center;font-size:.9rem;font-weight:600;line-height:1.5;min-height:44px;cursor:pointer}
.health-page .health-guide p,.health-page .health-guide li{font-size:.88rem;line-height:1.7}
.health-page .health-guide ol{padding-left:1.3rem}
.health-page .health-scope p{font-size:.85rem;line-height:1.7}
.health-page .health-commercial{display:flex;align-items:center;gap:2rem;margin-top:2rem;padding:1.5rem;border-radius:14px;background:#f0f6fe}
.health-page .health-commercial h2{font-size:1.4rem}
.health-page .health-commercial p{font-size:.88rem;line-height:1.7}
.health-page .health-commercial>div:last-child{display:grid;gap:.7rem;min-width:220px}
.health-page :focus-visible{outline:3px solid #007baa;outline-offset:3px}
@media(max-width:1000px){.health-page .health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.health-page .health-search{grid-template-columns:1fr 1fr}.health-page .health-emergency{flex-wrap:wrap}.health-page .health-fallback{align-items:start;flex-direction:column}}
@media(max-width:640px){.health-page .health-grid,.health-page .health-guide-grid{grid-template-columns:1fr}.health-page .health-search{grid-template-columns:1fr;padding:1rem;gap:.75rem}.health-page .health-search-actions{display:grid;gap:.35rem}.health-page .health-reset{justify-content:center}.health-page .health-emergency{padding:1rem;gap:.6rem}.health-page .health-emergency>.health-icon{display:none}.health-page .health-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.4rem}.health-page .health-tabs a{font-size:.76rem;padding:.45rem}.health-page .health-tabs .health-icon{width:17px;height:17px}.health-page .health-heading{align-items:start;flex-direction:column;gap:.3rem}.health-page .health-section{padding-top:1.5rem}.health-page .health-section h2{font-size:1.4rem}.health-page .health-card-actions{display:grid;grid-template-columns:1fr 1fr}.health-page .health-action{font-size:.76rem;padding:.4rem}.health-page .health-eps-search>div{display:block}.health-page .health-eps-search button{width:100%;margin-top:.6rem}.health-page .health-shortcuts{display:grid}.health-page .health-commercial{display:block;padding:1.2rem}.health-page .health-commercial>div:last-child{margin-top:1rem;min-width:0}.health-page .health-guide-group>summary{font-size:.9rem}}

/* Administración existente conservada. */
.health-admin{max-width:1100px;margin:2rem auto;padding:0 1rem}
.health-admin textarea{width:100%;font:14px/1.6 monospace;min-height:420px}
.health-admin input,.health-admin select{padding:.6rem;font:inherit;max-width:100%}
.health-admin label{display:block;margin:1rem 0}
.health-admin pre{white-space:pre-wrap;overflow-wrap:anywhere}
.health-admin .health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:640px){.health-admin .health-grid{grid-template-columns:1fr}}
.health-admin .health-field-text{min-height:90px;font:inherit;line-height:1.6;padding:.7rem;border:1px solid #adc3dd;border-radius:8px}
.health-admin label>input:not([type=checkbox]){display:block;width:100%;border:1px solid #adc3dd;border-radius:8px}
.health-admin fieldset{margin:1rem 0;padding:1rem;border:1px solid #adc3dd;border-radius:8px}
.health-admin .health-choice{display:flex;gap:.6rem;align-items:start;margin:.5rem 0;font-size:.85rem}
.health-admin .health-choice input{width:auto;flex-shrink:0}
.health-admin small{display:block;font-size:.8rem;line-height:1.6;margin:.4rem 0}
.health-admin h1{font-size:2rem;color:#07386c}

.health-page .health-geography-limit{grid-column:1/-1;margin:0;font-size:.8rem;line-height:1.6;color:var(--health-muted)}
.health-page .health-card-title{min-height:44px}

/* Simplificación pública: sin afectar cabecera global ni mantenimiento. */
.health-page .health-body{padding-top:.8rem}
.health-page .health-section{padding-top:1.15rem}
.health-page .health-urgent-access{border:1px solid #b8cfe5;border-radius:9px;background:#f5f9ff;margin:0 0 .5rem}
.health-page .health-urgent-access>summary{display:flex;gap:.6rem;align-items:center;min-height:48px;padding:.6rem .85rem;cursor:pointer;color:#07386c}
.health-page .health-urgent-access>summary>span{font-size:.8rem;margin-left:auto}
.health-page .health-urgent-access>div{padding:0 .9rem .9rem;font-size:.88rem;line-height:1.65}
.health-page .health-urgent-access h2{font-size:1.05rem;margin:.4rem 0}
.health-page .health-urgent-access a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.health-page .health-search{padding:.9rem;gap:.65rem}
.health-page label{display:flex;align-items:center;gap:.4rem}
.health-page label .health-icon{width:18px;height:18px}
.health-page .health-resources{display:flex;gap:1rem;flex-wrap:wrap;margin:.4rem 0}
.health-page .health-resources a{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;font-size:.85rem;font-weight:600}
.health-page .health-service-list{font-size:.82rem}
.health-page .health-service-list summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.health-page .health-empty{display:flex;gap:.75rem;padding:1rem;margin:.5rem 0}
.health-page .health-empty h3{font-size:1rem;margin:0 0 .3rem}
.health-page .health-empty p{margin:.2rem 0}
.health-page .health-result-note,.health-page .health-channel-hint{font-size:.85rem!important;margin:.4rem 0!important;line-height:1.6!important}
.health-page .health-eps{max-width:680px}
.health-page #directorio-eps>.health-grid{grid-template-columns:minmax(0,680px)}
.health-page .health-urgent-access summary:focus-visible,.health-page .health-service-list summary:focus-visible{outline:3px solid #2364cd;outline-offset:3px}
@media(max-width:640px){.health-page .health-urgent-access>summary{flex-wrap:wrap}.health-page .health-urgent-access>summary>span{margin-left:0}.health-page .health-resources{gap:.2rem}.health-page .health-empty{padding:.85rem}.health-page .health-heading{flex-wrap:wrap}}

/* Orientación contextual, sin segundo directorio o navegación de servicios. */
.health-page .health-context-guide,.health-page .health-extra-resources{border:1px solid var(--health-border);border-radius:9px;padding:.35rem .8rem;margin:.8rem 0;font-size:.86rem;line-height:1.65;background:#f8fbff}
.health-page .health-context-guide>summary,.health-page .health-extra-resources>summary,.health-page .health-scope>summary{display:flex;gap:.5rem;align-items:center;min-height:44px;cursor:pointer;font-weight:600}
.health-page .health-context-guide li{margin:.4rem 0}
.health-page .health-context-routes{font-size:.88rem;line-height:1.6}
.health-page .health-context-routes p{margin:.65rem 0 .25rem}
.health-page .health-context-guide summary:focus-visible,.health-page .health-extra-resources summary:focus-visible,.health-page .health-scope summary:focus-visible{outline:3px solid #2364cd;outline-offset:3px}

/* Medios oficiales bajo demanda; conserva colores y tipografía institucionales. */
.health-page .health-media-item{padding:.7rem 0;border-top:1px solid var(--health-border)}
.health-page .health-media-item h4{font-size:.95rem;margin:.25rem 0}
.health-page .health-media-item p{margin:.4rem 0;overflow-wrap:anywhere}
.health-page .health-video iframe{display:block;width:100%;min-height:200px;aspect-ratio:16/9;border:0;border-radius:8px}
.health-page .health-media .health-links{flex-wrap:wrap}

/* Alcance médico concreto de cada fuente; no implica disponibilidad o contrato individual. */
.health-service-scope{font-size:.9rem;color:#23476b;background:#f3f7fb;border-radius:8px;padding:10px 12px;line-height:1.5}

/* Resultados: sedes primero; información complementaria cerrada por defecto. */
.health-page .health-result-group{margin-top:1.2rem;padding-top:.9rem;border-top:1px solid var(--health-border)}
.health-page .health-result-group h3{font-size:1.1rem;margin:0 0 .7rem}
.health-page .health-procedure{margin:.7rem 0 1rem}
.health-page .health-procedure h4{font-size:1rem;margin:0 0 .35rem}
.health-page .health-procedure p{margin:.35rem 0 .6rem}
.health-page .health-additional>summary{cursor:pointer;font-weight:700;color:var(--health-navy,#003d72);padding:.75rem 0}
.health-page .health-source-date{font-size:.78rem;margin:.3rem 0}
.health-page .health-facility .health-chips{margin:.55rem 0}

/* Optimización final: menos espacio vacío, sin reducir los controles táctiles. */
.health-page .health-body{padding-top:.35rem;padding-bottom:1.25rem}
.health-page .health-section{padding-top:.6rem}
.health-page .health-section h2{margin:.15rem 0 .4rem}
.health-page .health-section>p{margin:.35rem 0 .5rem;line-height:1.55}
.health-page .health-search{padding:.65rem;gap:.4rem .65rem}
.health-page select{min-height:44px;padding:.5rem .6rem;margin-top:.2rem}
.health-page .health-geography-source{margin:.2rem 0 0}
.health-page .health-geography-source summary{min-height:32px}
.health-page .health-geo-status,.health-page .health-geography-limit{line-height:1.4}
.health-page .health-heading{margin-bottom:.25rem;gap:.5rem}
.health-page .health-grid{gap:.65rem;margin:.55rem 0}
.health-page .health-card{padding:.75rem}
.health-page .health-card-title{margin-bottom:.3rem;gap:.5rem}
.health-page .health-card p{margin:.3rem 0;line-height:1.5}
.health-page .health-facility .health-chips{margin:.3rem 0}
.health-page .health-card-actions{margin-top:.35rem}
.health-page .health-sources{margin-top:.4rem;padding-top:0}
.health-page .health-result-group{margin-top:.65rem;padding-top:.55rem}
.health-page .health-result-group h3{margin-bottom:.35rem}
.health-page .health-procedure{margin:.4rem 0 .6rem}
.health-page .health-procedure p{margin:.25rem 0 .35rem;line-height:1.55}
.health-page .health-media-item{padding:.4rem 0}
.health-page .health-media-item p{margin:.25rem 0}
.health-page .health-additional>summary{padding:.35rem 0;min-height:44px}
.health-page .health-commercial{margin-top:1rem;padding:1rem;gap:1rem}
.health-page .health-commercial h2{margin:.25rem 0}
.health-page .health-commercial p{margin:.3rem 0}
.health-page .health-channel-list{list-style:none;margin:.25rem 0;padding:0;display:grid;gap:.4rem}
.health-page .health-channel-item{padding:.55rem .65rem;border:1px solid var(--health-border);border-radius:9px;background:#f8fbff;min-width:0;overflow-wrap:anywhere}
.health-page .health-channel-item p{font-size:.85rem;line-height:1.5;margin:.25rem 0}
.health-page .health-channel-item small,.health-page .health-contact-options small{display:block;font-size:.76rem;line-height:1.45}
.health-page .health-channel-source>summary,.health-page .health-contact-options>summary,.health-page .health-channel-support>summary{display:flex;align-items:center;min-height:44px;font-size:.8rem;cursor:pointer}
.health-page .health-channel-source{color:var(--health-muted)}
.health-page .health-channel-source>summary:after,.health-page .health-contact-options>summary:after,.health-page .health-channel-support>summary:after{content:'⌄';margin-left:.5rem}
.health-page .health-channel-source[open]>summary:after,.health-page .health-contact-options[open]>summary:after,.health-page .health-channel-support[open]>summary:after{transform:rotate(180deg)}
@media(max-width:640px){.health-page .health-search{padding:.65rem;gap:.4rem}.health-page .health-section{padding-top:.6rem}.health-page .health-card{padding:.7rem}.health-page .health-card-actions{gap:.4rem}.health-page .health-channel-item .health-card-actions{grid-template-columns:1fr}.health-page .health-heading{gap:.25rem}.health-page .health-commercial{padding:.85rem}.health-page .health-search-actions{display:flex;flex-wrap:wrap;gap:.4rem}.health-page .health-search-actions .btn{font-size:.85rem;padding:.5rem .65rem}.health-page .health-reset{font-size:.78rem}}

/* Ayuda inmediata: mismos componentes y controles, sin desplegables sobre los accesos. */
.health-page .health-direct-help{margin-top:.4rem;padding-top:.4rem}
.health-page .health-direct-help .health-channel-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:640px){.health-page .health-direct-help .health-channel-list{grid-template-columns:1fr}}
