/* Shared top-level title contract. Loaded after section styles.
   Calendar/Finance create their titles at runtime: aliases use the same rule.
   No generic h1/h2 selector: patient/doctor names and clinic subheadings stay intact. */
#app-shell .panel[id] :is(.section-title, .cal-reference-heading h1, .fc-title) {
  font-family: var(--font-heading, "Segoe UI", Arial, sans-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.5px;
}
/* Preserve each header's existing spacing and actions. This rule never changes panel visibility. */
.topbar-crumb.is-section-context > :is(.topbar-crumb-sep, #topbar-crumb-section, #topbar-crumb-clinic) {
  display: none;
}
@media (max-width: 760px) {
  #app-shell .panel[id] :is(.section-title, .cal-reference-heading h1, .fc-title) {
    font-size: 24px;
  }
}
