/* Unified navigation and minimal layout stabilization for HealthCompass365. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body.hc-page{min-width:0;overflow-wrap:break-word}
body.hc-page > main{min-width:0}
.hc-header{position:relative;z-index:20;flex:0 0 auto;width:100%;background:#fff;border-bottom:1px solid #dce8ec;color:#142e40;font:400 16px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.hc-header .hc-header-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(calc(100% - 40px),1120px);min-height:76px;margin-inline:auto}
.hc-header .hc-brand{display:inline-flex;align-items:center;gap:9px;min-width:0;color:#142e40;text-decoration:none;font-size:1.08rem;font-weight:800;letter-spacing:-.04em;white-space:nowrap}
.hc-header .hc-brand:hover{text-decoration:none}
.hc-header .hc-brand img{display:block;width:36px;height:36px;flex:none;object-fit:contain;border-radius:9px}
.hc-header .hc-nav-desktop{display:flex;align-items:center;gap:6px}
.hc-header .hc-nav-desktop a{display:block;padding:10px 12px;border-radius:9px;color:#365469;text-decoration:none;font-size:.94rem;font-weight:650;line-height:1.35;white-space:nowrap}
.hc-header .hc-nav-desktop a:hover,.hc-header .hc-nav-desktop a[aria-current="page"]{color:#0b405c;background:#eef6f8}
.hc-header .hc-nav-mobile{display:none}
.hc-header .hc-nav-mobile summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #d3e3e8;border-radius:10px;background:#eef6f8;color:#0b405c;font-weight:750;font-size:.94rem}
.hc-header .hc-nav-mobile summary::-webkit-details-marker{display:none}
.hc-header .hc-nav-mobile summary::before{content:"☰";font-size:1.1rem;line-height:1}
.hc-header .hc-nav-mobile[open] summary::before{content:"×";font-size:1.3rem}
.hc-header .hc-mobile-links{position:absolute;top:100%;left:0;right:0;z-index:21;display:grid;gap:3px;padding:12px;border:1px solid #dce8ec;background:#fff;border-radius:0 0 12px 12px;box-shadow:0 12px 22px rgba(14,52,66,.09)}
.hc-header .hc-mobile-links a{display:block;padding:12px;border-radius:8px;color:#125e83;text-decoration:none;font-weight:700;font-size:.96rem;line-height:1.4}
.hc-header .hc-mobile-links a:hover,.hc-header .hc-mobile-links a[aria-current="page"]{background:#eef6f8;color:#0b405c}
.hc-header a:focus-visible,.hc-header summary:focus-visible{outline:3px solid #e7a52b;outline-offset:3px}
body.hc-page .card:hover,body.hc-page .mini-card:hover,body.hc-page .cta:hover{transform:none}
body.hc-page .card,body.hc-page .mini-card{transition:border-color .15s ease,box-shadow .15s ease}
body.hc-page main img{max-width:100%;height:auto}
@media(max-width:720px){
  .hc-header .hc-header-inner{width:calc(100% - 32px);min-height:66px;gap:8px}
  .hc-header .hc-nav-desktop{display:none}
  .hc-header .hc-nav-mobile{display:block}
  body.hc-page > main{max-width:100%;min-width:0}
  body.hc-page input,body.hc-page select,body.hc-page textarea{max-width:100%}
}
@media(max-width:380px){.hc-header .hc-brand{font-size:.88rem;gap:6px}.hc-header .hc-brand img{width:32px;height:32px}}
