.hc-page {
  --hc-ink: #153b37;
  --hc-accent: #17685e;
  --hc-pale: #e8f2ee;
  --hc-paper: #faf9f4;
  --hc-line: #d6e1dc;
  --hc-muted: #49635e;
  color: var(--hc-ink);
  background: var(--hc-paper);
}
.hc-page.hc-provider {
  --hc-ink: #1a3551;
  --hc-accent: #245b83;
  --hc-pale: #e8f0f6;
  --hc-paper: #f8f9f8;
  --hc-line: #d5e0e8;
  --hc-muted: #4e6275;
}
.hc-page a { color: var(--hc-accent); text-underline-offset: .19em; }
.hc-page :is(a,button,input,select,summary):focus-visible { outline: 3px solid #b86b25; outline-offset: 3px; }
.hc-page :is(h1,h2,h3,h4,p,ul,ol,dl,figure) { margin: 0; }
.hc-page :is(h1,h2,h3,h4) { color: var(--hc-ink); }
.hc-page :is(h1,h2) { letter-spacing: -.04em; line-height: 1.06; }
.hc-page h2 { font-size: clamp(1.8rem,4vw,3.2rem); }
.hc-page h3 { font-size: 1.24rem; line-height: 1.25; }
.hc-page p { line-height: 1.65; }
.hc-page svg.icon { flex: none; }
.hc-hero { background: var(--hc-pale); border-bottom: 1px solid var(--hc-line); }
.hc-hero-layout { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); gap: clamp(1.6rem,5vw,5rem); align-items: center; padding-block: clamp(2.2rem,5vw,5rem); }
.hc-hero-copy { padding-block: .4rem; }
.hc-hero h1 { font-size: clamp(3.3rem,6.35vw,6.55rem); overflow-wrap: anywhere; }
.hc-provider .hc-hero-copy { container-type: inline-size; }
.hc-provider .hc-hero h1 {
  font-size: min(clamp(2.5rem,4.95vw,5.2rem),11.25cqi);
  overflow-wrap: normal;
}
.hc-hero-copy > p { max-width: 35rem; margin: 1.25rem 0 1.55rem; font-size: clamp(1.03rem,1.5vw,1.23rem); color: var(--hc-muted); }
.hc-hero figure { position: relative; border-radius: 1.65rem 1.65rem 5.5rem 1.65rem; overflow: hidden; box-shadow: 0 1rem 3.2rem #13383119; }
.hc-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.hc-hero-actions,.hc-detail-links { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; align-items: center; }
.hc-action,.hc-form-actions button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .68rem 1.05rem; min-height: 2.85rem; border: 1px solid var(--hc-accent); border-radius: 2rem;
  color: #fff !important; background: var(--hc-accent); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.hc-action:hover,.hc-form-actions button:hover { filter: brightness(.87); }
.hc-hero-actions > a:not(.hc-action),.hc-detail-links a { font-weight: 700; }
.hc-quick { padding-block: clamp(2.1rem,4vw,3.5rem) 0; }
.hc-quick h2 { font-size: clamp(1.65rem,3vw,2.5rem); margin-bottom: 1.1rem; }
.hc-quick ul { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .65rem; }
.hc-quick a {
  display: flex; align-items: center; gap: .55rem; padding: .58rem .88rem;
  border: 1px solid var(--hc-line); border-radius: 2rem; background: white; font-weight: 700; text-decoration: none;
}
.hc-quick a:hover { border-color: var(--hc-accent); background: var(--hc-pale); }
.hc-quick .icon { width: .95em; }
.hc-directory { padding-block: clamp(2rem,5vw,4.5rem); scroll-margin-top: 1rem; }
.hc-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .8rem 1.5rem; }
.hc-source { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .89rem; line-height: 1.5; color: var(--hc-muted); }
.hc-source span:first-child { font-weight: 700; }
.hc-filters { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; padding: 1.05rem; margin-top: 1.15rem; border: 1px solid var(--hc-line); border-radius: 1rem; background: #fff; }
.hc-filters label { flex: 1 1 10.5rem; min-width: 0; display: grid; gap: .36rem; font-size: .85rem; font-weight: 700; }
.hc-filters label.hc-search { flex-basis: 17rem; }
.hc-filters :is(input,select) { min-width: 0; width: 100%; min-height: 2.65rem; padding: .46rem .64rem; color: var(--hc-ink); border: 1px solid #a4b6ba; border-radius: .45rem; font: inherit; font-weight: 400; background: #fff; }
.hc-form-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: .9rem; }
.hc-page p.hc-results-count { margin: 1rem 0 .7rem; color: var(--hc-muted); }
.hc-results-count span { padding-inline: .3em; }
.hc-active-filter,.hc-empty { padding: 1rem 0; }
.hc-map { display: grid; grid-template-columns: minmax(0,3fr) minmax(12rem,1fr); overflow: hidden; margin-bottom: 1.25rem; border: 1px solid var(--hc-line); border-radius: 1.15rem; background: #fff; }
.hc-map-canvas { position: relative; background: #dfeded; min-width: 0; }
.hc-map-canvas > svg { display: block; width: 100%; height: clamp(250px,42vw,510px); touch-action: pan-y; }
.hc-map-canvas > svg[data-pannable="1"] { cursor: grab; touch-action: none; }
.hc-map-canvas > svg[data-dragging="1"] { cursor: grabbing; }
.hc-map-canvas .lh-land { fill: #f8f5e9; stroke: #88aaa5; stroke-width: 1.6; }
.hc-provider .hc-map-canvas .lh-land { fill: #f8f7ef; }
.hc-map-labels { fill: #4e6d71; font: 700 13px Lato, sans-serif; letter-spacing: .19em; opacity: .8; }
.hc-map-controls { position: absolute; left: .7rem; top: .7rem; display: flex; gap: .35rem; }
.hc-map-controls[hidden],.hc-map-jump[hidden] { display: none; }
.hc-map-controls button { border: 1px solid #9eb7b6; padding: .36rem .58rem; min-width: 2.25rem; min-height: 2.25rem; border-radius: .45rem; background: #fff; color: var(--hc-ink); font: inherit; cursor: pointer; }
.hc-map-panel { min-width: 0; padding: 1rem; max-height: 510px; overflow: auto; border-left: 1px solid var(--hc-line); overflow-wrap: anywhere; }
.hc-map-panel p { font-size: .91rem; color: var(--hc-muted); }
.hc-map-panel ul { margin-top: .65rem; padding-left: 1.15rem; }
.hc-map-panel li + li { margin-top: .35rem; }
.hc-map-mark { cursor: pointer; }
.hc-map-mark circle { fill: var(--hc-accent); stroke: #fff; stroke-width: 2; }
.hc-map-mark:focus circle,.hc-map-mark:hover circle,.hc-map-mark[data-active="1"] circle { fill: #a25424; }
.hc-map-mark text { fill: #fff; pointer-events: none; font-family: Lato,sans-serif; font-weight: 700; }
.hc-map-jump { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .5rem; border: 1px solid var(--hc-line); border-radius: 1rem; background: #fff; font: inherit; font-size: .83rem; color: var(--hc-accent); cursor: pointer; white-space: nowrap; }
.hc-map-jump .icon { width: .9rem; }
.hc-results { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.hc-results > li { display: grid; grid-template-columns: auto minmax(0,1fr); align-content: start; gap: .7rem; padding: 1rem; background: #fff; border: 1px solid var(--hc-line); border-radius: .85rem; }
.hc-record-icon,.hc-concept-icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: .85rem; background: var(--hc-pale); color: var(--hc-accent); }
.hc-results h3 { overflow-wrap: anywhere; }
.hc-record-meta { font-size: .85rem; color: var(--hc-muted); margin-top: .15rem !important; }
.hc-result-locations { list-style: none; padding: 0; margin-top: .45rem !important; }
.hc-result-locations li { display: flex; flex-wrap: wrap; align-items: center; gap: .22rem .5rem; font-size: .92rem; }
.hc-result-locations li + li { margin-top: .35rem; }
.hc-pagination { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.2rem; }
.hc-pagination a { font-weight: 700; }
.hc-guide,.hc-feature-band { background: var(--hc-pale); border-block: 1px solid var(--hc-line); }
.hc-guide,.hc-feature-band,.hc-concepts,.hc-faq,.hc-counties { padding-block: clamp(2.5rem,5vw,5rem); }
.hc-guide-header,.hc-feature-layout { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 1rem 2.6rem; align-items: start; }
.hc-guide-header p,.hc-feature-layout header > p { color: var(--hc-muted); }
.hc-steps,.hc-concept-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 1.35rem !important; }
.hc-steps { padding: 0; list-style: none; }
.hc-steps li,.hc-concept-grid article { padding: clamp(1rem,2vw,1.5rem); border: 1px solid var(--hc-line); border-radius: 1rem; background: #fff; }
.hc-step { font-size: 1.95rem; line-height: 1; font-weight: 700; color: var(--hc-accent); }
.hc-steps h3,.hc-concept-grid h3 { margin-top: .65rem; margin-bottom: .45rem; }
.hc-steps p,.hc-concept-grid p,.hc-feature-grid p { color: var(--hc-muted); }
.hc-feature-layout header > p { margin: .9rem 0 1.15rem; }
.hc-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.15rem 1.25rem; }
.hc-feature-grid article { border-top: 2px solid var(--hc-accent); padding-top: .75rem; }
.hc-feature-grid p { margin-top: .45rem; }
.hc-faq h2,.hc-counties h2 { margin-bottom: 1rem; }
.hc-faq details { border-bottom: 1px solid var(--hc-line); padding: .85rem 0; }
.hc-page summary { cursor: pointer; font-weight: 700; }
.hc-faq summary,.hc-license-services summary { justify-content: space-between; gap: .6rem; list-style: none }.hc-faq summary { display: flex; align-items: center }
.hc-page summary::-webkit-details-marker { display: none; }
.hc-page details[open] > summary .icon { transform: rotate(180deg); }
.hc-faq details p { max-width: 65rem; margin-top: .55rem; color: var(--hc-muted); }
.hc-counties { padding-bottom: 0; }
.hc-counties ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem 1.2rem; margin-top: .75rem; }
.hc-counties a { display: grid; grid-template-columns: minmax(7rem,1fr) minmax(2.5rem,1fr) 2.7em auto; gap: .45rem; align-items: center; padding: .38rem .55rem; border-radius: .55rem; text-decoration: none; background: var(--hc-pale); }
.hc-counties meter { width: 100%; accent-color: var(--hc-accent); }
.hc-counties meter::-webkit-meter-optimum-value { background: var(--hc-accent); }
.hc-counties strong { text-align: end; }
.hc-detail-hero { padding-block: clamp(1.9rem,4vw,3.9rem); background: var(--hc-pale); border-bottom: 1px solid var(--hc-line); }
.hc-detail-hero-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; }
.hc-detail-hero h1 { font-size: clamp(2.25rem,5.3vw,5rem); margin: .5rem 0; overflow-wrap: anywhere; }
.hc-detail-id { color: var(--hc-muted); font-size: .94rem; }
.hc-detail-summary { max-width: 53rem; margin-top: .8rem !important; font-size: 1.1rem; }
.hc-detail-emblem { width: clamp(3rem,11vw,8rem); aspect-ratio: 1; flex: none; display: grid; place-items: center; border-radius: 35%; background: #fff; color: var(--hc-accent); }
.hc-detail-emblem .icon { width: 56%; height: 56%; }
.hc-details { padding-block: 1.6rem 3.2rem; }
.hc-detail-card { padding: clamp(1rem,2.5vw,1.8rem); background: #fff; border: 1px solid var(--hc-line); border-radius: 1rem; margin-bottom: .9rem; }
.hc-detail-card h2 { display: flex; gap: .45rem; align-items: center; font-size: clamp(1.45rem,3vw,2.35rem); margin-bottom: .9rem; }
.hc-detail-card h3 { margin: .72rem 0 .5rem; }
.hc-detail-places,.hc-related-list,.hc-people { padding: 0; list-style: none; }
.hc-detail-places > li { padding: .7rem .85rem; margin-bottom: .55rem; background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: .6rem; }
.hc-detail-places :is(h3,h4) { margin: 0 0 .42rem; }
.hc-detail-places :is(details,p) { margin-top: .55rem; }
.hc-region-list { display: grid; gap: .38rem; padding-left: 1.1rem; overflow-wrap: anywhere; white-space: pre-line; margin-top: .45rem !important; }

.hc-staff dl { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.hc-staff dl div { display: flex; gap: .55rem; align-items: center; padding: .37rem .65rem; border-radius: .55rem; background: var(--hc-pale); }
.hc-staff dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.hc-license-list div,.hc-related-list li,.hc-identity { padding-block: .48rem; border-bottom: 1px solid var(--hc-line); overflow-wrap: anywhere; }
.hc-license-list dt { font-weight: 700; }
.hc-license-services { border-top: 1px solid var(--hc-line); padding-top: .4rem; }
.hc-license-services ul { padding-left: 1.2rem; margin-top: .45rem; }
.hc-license-services summary { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: baseline; line-height: 1.4; }
.hc-license-services .hc-license-type { overflow-wrap: anywhere; }
.hc-license-services .hc-license-number,.hc-related-list li span { font-size: .88rem; color: var(--hc-muted); }
.hc-license-services .hc-license-number { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hc-license-services summary .icon { align-self: center; }
.hc-map-panel h3 { font-size: 1rem; margin-bottom: .75rem; }
.hc-map-panel section p { line-height: 1.4; font-weight: 700; color: var(--hc-ink); }
.hc-map-panel section + section { border-top: 1px solid var(--hc-line); padding-top: .65rem; margin-top: .65rem; }
.hc-map-panel section ul { margin-top: .35rem; }
.hc-people { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(13rem,100%),1fr)); gap: .35rem .85rem; margin-top: .55rem !important; }
.hc-detail-links { margin-top: 1rem; }
.hc-doctor-profile {
  --hc-profile-sand: #f1ebdc;
  --hc-profile-line: #c7dad0;
}
.hc-doctor-profile .hc-detail-hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 0, #c7e1d5 0%, transparent 58%), linear-gradient(120deg, #eff6ee, #e4efe8);
  padding-block: clamp(2.25rem, 5vw, 4.6rem);
}
.hc-doctor-profile .hc-detail-hero-inner { gap: clamp(1rem,6vw,6rem); }
.hc-doctor-profile .hc-detail-hero h1 { font-size: clamp(2.65rem, 6.2vw, 6.15rem); margin: .66rem 0; }
.hc-doctor-profile .hc-detail-emblem {
  width: clamp(5rem, 14vw, 10.5rem);
  border-radius: 28%;
  transform: rotate(-8deg);
  background: #f9fcf8;
  box-shadow: 0 1rem 2rem #153b3716, 0 0 0 1rem #ffffff4f, 0 0 0 2.1rem #ffffff37;
}
.hc-doctor-profile .hc-detail-emblem .icon { transform: rotate(8deg); }
.hc-profile-label { color: var(--hc-accent); font-size: .96rem; font-weight: 700; }
.hc-profile-code {
  margin-left: .45em;
  padding: .15em .48em;
  border: 1px solid var(--hc-profile-line);
  border-radius: .4rem;
  font-size: .85em;
  font-variant-numeric: tabular-nums;
}
.hc-doctor-profile .hc-detail-summary { max-width: 62ch; color: var(--hc-muted); }
.hc-profile-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.hc-profile-nav a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .43rem .85rem;
  border: 1px solid var(--hc-profile-line);
  border-radius: .7rem;
  background: #f9fcf8;
  text-decoration: none;
  font-weight: 650;
}
.hc-profile-nav a:hover { border-color: var(--hc-accent); }
.hc-nimistu { margin-block: 1.1rem 2.35rem; scroll-margin-top: 1.1rem; }
.hc-nimistu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  margin-bottom: 1.05rem;
}
.hc-nimistu-header h2, .hc-doctor-map h2 { font-size: clamp(1.6rem, 3vw, 2.65rem); }
.hc-vacancies {
  display: inline-flex;
  align-items: center;
  gap: .48em;
  padding: .36rem .78rem;
  border-radius: 1.5rem;
  background: var(--hc-profile-sand);
  font-size: .9rem;
  font-weight: 650;
}
.hc-vacancies-open { background: #dcefe2; color: #215942; }
.hc-vacancies-open::before { content: ""; width: .48rem; height: .48rem; background: currentColor; border-radius: 50%; }
.hc-page .hc-substitute {
  margin-bottom: .85rem;
  padding: .6rem .95rem;
  border-left: .2rem solid #9a6638;
  background: var(--hc-profile-sand);
}
.hc-page .hc-visit-title { margin-bottom: .65rem; }
.hc-visits { display: grid; gap: .95rem; padding: 0; list-style: none; }
.hc-visit {
  border: 1px solid var(--hc-profile-line);
  border-radius: clamp(.85rem,2vw,1.45rem);
  background: #fff;
  overflow: hidden;
}
.hc-visit-place {
  padding: clamp(.85rem,2.3vw,1.55rem);
  background: #edf5ee;
  border-bottom: 1px solid var(--hc-line);
  overflow-wrap: anywhere;
}
.hc-visit-place:only-child { border-bottom: 0; }
.hc-visit-place h4 { font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.35; }
.hc-visit-place p { margin-top: .25rem; }
.hc-visit-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: clamp(1.25rem,4vw,3.25rem);
  padding: clamp(.85rem,2.3vw,1.55rem);
}
.hc-visit-layout > :only-child { grid-column: 1 / -1; }
.hc-visit-layout h5 { margin: 0 0 .55rem; color: var(--hc-ink); font-size: 1.05rem; }
.hc-visit-side { display: grid; gap: .95rem; align-content: start; }
.hc-visit-hours, .hc-visit-digital { padding: .9rem 1rem; border-radius: .9rem }.hc-visit-hours { background: var(--hc-paper) }
.hc-visit-digital { background: var(--hc-profile-sand); }
.hc-visit-digital a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  margin-top: .55rem;
  padding: .45rem .75rem;
  border-radius: .65rem;
  background: var(--hc-accent);
  color: white;
  font-weight: 650;
  text-decoration: none;
}
.hc-visit-digital a:hover { background: var(--hc-ink); }
.hc-week div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .35rem .65rem;
  padding: .5rem .28rem;
  border-bottom: 1px solid var(--hc-line);
}
.hc-week div:last-child { border-bottom: 0; }
.hc-week dd { margin: 0; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.hc-week dd span { display: block; white-space: nowrap; }
.hc-week .hc-week-today { color: var(--hc-accent); background: #edf5ee; border-radius: .4rem; }
.hc-schedule-roles { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 .5rem; }
.hc-doctor-profile [hidden] { display: none !important; }
.hc-schedule-roles button {
  min-height: 2.75rem;
  padding: .38rem .7rem;
  border: 1px solid var(--hc-line);
  border-radius: .6rem;
  color: var(--hc-ink);
  background: var(--hc-paper);
  cursor: pointer;
  font: inherit;
}
.hc-schedule-roles button[aria-pressed="true"] { color: white; background: var(--hc-accent); border-color: var(--hc-accent); }
.hc-schedule-role { font-weight: 700; }
.hc-schedule-enhanced .hc-schedule-role { display: none; }
.hc-visit-nearby { padding: .65rem clamp(.85rem,2.3vw,1.55rem); border-top: 1px solid var(--hc-line); }
.hc-nimistu-more { padding: .68rem .35rem; border-bottom: 1px solid var(--hc-line); }
.hc-nimistu-more h3 { font-size: 1rem; }
.hc-nimistu-more summary, .hc-visit-nearby summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  list-style: none;
}
.hc-nimistu-more summary::-webkit-details-marker, .hc-visit-nearby summary::-webkit-details-marker { display: none; }
.hc-nimistu-more summary > .icon:last-child, .hc-visit-nearby summary > .icon:last-child { margin-left: auto; }
.hc-nimistu-more[open] > :not(summary) { margin-bottom: .5rem; }
.hc-nimistu-more .hc-schedule { max-width: 35rem; }
.hc-list-size { max-width: 35rem; }
.hc-list-size small { display: block; color: var(--hc-muted); font-weight: 400; }
.hc-nimistu-staff { padding-top: .8rem; }
.hc-doctor-map { margin-bottom: 1.65rem; scroll-margin-top: 1.2rem; }
.hc-doctor-map h2 { margin-bottom: .75rem; }
.hc-doctor-map .lh-lake { fill: #dfeded; stroke: #88aaa5; stroke-width: .8; }
@media (max-width: 660px) {
  .hc-visit-layout { grid-template-columns: minmax(0,1fr); }
  .hc-week { font-size: .93rem; }
}
@media(max-width: 760px) {
  .hc-hero-layout,.hc-guide-header,.hc-feature-layout,.hc-map { grid-template-columns: 1fr; }
  .hc-hero figure { border-bottom-right-radius: 3.3rem; }
  .hc-map-panel { max-height: 13rem; border-left: 0; border-top: 1px solid var(--hc-line); }
  .hc-steps,.hc-concept-grid { grid-template-columns: 1fr; }
  .hc-counties ul { grid-template-columns: 1fr; }
}
@media(max-width: 540px) {
  .hc-results,.hc-feature-grid { grid-template-columns: 1fr; }
  .hc-detail-emblem { display: none; }
  .hc-hero h1 { font-size: clamp(2.75rem,10vw,4rem); }
}
