/* All internal return links occupy the same full-width content row. */
.platform-main > .page-navigation {
  display:flex;align-items:center;min-height:44px;
  width:100%;box-sizing:border-box;margin:0 0 24px;padding:0;
}
.platform-main > .page-navigation > a {
  display:inline-flex;align-items:center;min-height:44px;
  box-sizing:border-box;margin:0;padding:8px 0;
  font-weight:500;font-family:inherit;font-size:16px;line-height:1.5;
  color:#286771;text-decoration:none;overflow-wrap:anywhere;
}
.platform-main > .page-navigation > a:hover {text-decoration:underline;text-underline-offset:4px}
.platform-main > .page-navigation > a:focus-visible {outline:2px solid #176475;outline-offset:4px}
.platform-main > .page-navigation ~ .branch-editor {margin-top:0}

/* Shared business identity: location first, current task second. */
.platform-main .studio-context-heading h1 {
  margin:0;max-width:100%;font-family:inherit;font-size:clamp(28px,2.8vw,40px);
  font-weight:600;line-height:1.2;letter-spacing:-.025em;color:#173b4a;overflow-wrap:anywhere;
}
.platform-main .studio-context-subtitle {
  margin:10px 0 20px;font-size:18px;font-weight:500;line-height:1.5;
  letter-spacing:normal;text-transform:none;color:#526b70;
}
.studio-context-divider {color:#849b9e}

/* Keep the business title at the top even beside a taller action menu. */
.platform-main .workspace-heading:has(.studio-context-heading),
.platform-main .studio-workspace-heading:has(.studio-context-heading) {
  align-items:flex-start;
  margin-top:0;
}
.platform-main .workspace-heading:has(.studio-context-heading) > div,
.platform-main .studio-workspace-heading:has(.studio-context-heading) > div {
  min-width:0;
}
.platform-main .branch-editor > header:has(.studio-context-heading) {
  margin-top:0;
}
.branch-workspace-header {margin:0 0 24px}
.branch-workspace-tabs {flex-wrap:wrap}
.branch-section-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}
.branch-section-heading h2 {margin:0}

/* Instructor confirmations must start at the same content origin as the calendar. */
.platform-main .confirmation-page:has(> .instructor-context-heading) {
  margin-top:0;
}
:is(.account-main,.platform-main) .customer-context-heading h1 {margin:0;font-family:inherit;font-size:clamp(28px,2.8vw,40px);font-weight:600;line-height:1.2;letter-spacing:-.025em;color:#173b4a;overflow-wrap:anywhere}
:is(.account-main,.platform-main) .customer-context-heading .studio-context-subtitle {margin:10px 0 20px;font-size:18px;font-weight:500;line-height:1.5;color:#526b70}
.platform-main .confirmation-page:has(> .customer-context-heading) {margin-top:0}
