/* Optional analytics controls; scoped to preserve the approved page design. */
.coach-consent[hidden], [data-coach-consent-close][hidden], [data-coach-consent-open][hidden] { display: none !important; }
#coach-consent-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.coach-consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 76rem;
  max-height: 75vh;
  overflow-y: auto;
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--purple);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 40px #35233930;
  font-size: .9375rem;
  line-height: 1.55;
}
.coach-consent-copy { flex: 1 1 30rem; }
.coach-consent h2 { margin: 0 0 .5rem; font-size: 1.2rem; line-height: 1.3; }
.coach-consent p { margin: 0; }
.coach-consent p.coach-consent-current { margin-top: .5rem; font-size: .875rem; }
.coach-consent a { color: var(--purple-dark); text-decoration: underline; text-underline-offset: .2em; }
.coach-consent-actions { display: flex; flex: 0 1 22rem; flex-wrap: wrap; gap: .625rem; }
.coach-consent-actions button {
  flex: 1 1 8rem;
  min-height: 44px;
  padding: .7rem 1rem;
  border: 2px solid var(--purple-dark);
  border-radius: 8px;
  background: #fff;
  color: var(--purple-dark);
  font: 700 .9375rem/1.4 var(--body-font);
  cursor: pointer;
}
.coach-consent-actions button:hover { background: var(--paper); }
.coach-consent :focus-visible, [data-coach-consent-open]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.footer-bottom [data-coach-consent-open] {
  min-height: 44px;
  padding: .25rem .5rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
@media (max-width: 48rem) {
  .coach-consent { display: block; inset: auto .75rem .75rem; padding: 1rem; }
  .coach-consent-actions { margin-top: 1rem; }
}
@media print { .coach-consent, [data-coach-consent-open] { display: none !important; } }
