/* Coach K — local stylesheet; no fonts, assets or third-party requests. */
#coachk-consent {
  box-sizing: border-box;
  position: fixed;
  z-index: 100001;
  inset: auto 16px 16px;
  width: auto;
  max-width: 760px;
  margin-inline: auto;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  min-width: 0;
  padding: 28px;
  border: 1px solid #b5ad9e;
  border-radius: 4px;
  background: #f7f3eb;
  color: #171715;
  box-shadow: 0 12px 56px #0005;
  font: 400 16px/1.55 system-ui, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
}
#coachk-consent[hidden] { display: none !important; }
#coachk-consent *, #coachk-consent *::before, #coachk-consent *::after { box-sizing: border-box; }
#coachk-consent h2 { margin: 0 0 12px; font: 500 26px/1.2 Georgia, serif; color: inherit; }
#coachk-consent p { margin: 0 0 12px; color: inherit; }
#coachk-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.coachk-consent-actions { display: flex; gap: 12px; margin-top: 20px; }
#coachk-consent .coachk-consent-choice {
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #171715;
  border-radius: 2px;
  background: #171715;
  color: #f7f3eb;
  font: 600 15px/1.3 system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
}
#coachk-consent .coachk-consent-choice:hover { background: #34342f; }
#coachk-consent :focus-visible, .coachk-consent-preferences:focus-visible {
  outline: 3px solid #9b6d22;
  outline-offset: 4px;
}
.coachk-consent-preferences {
  position: static;
  appearance: none;
  display: inline-block;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 0;
  padding: 12px 0;
  min-height: 44px;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
/* Mark floating WhatsApp's wrapper data-analytics-placement="floating".
   Hidden only while preferences are open, never an overlapping focus target. */
body:has(#coachk-consent:not([hidden])) [data-analytics-placement="floating"],
body:has(#coachk-consent:not([hidden])) :is(.ck-wa-sticky, .whatsapp-float, .whatsapp-floating, .floating-whatsapp) {
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 480px) {
  #coachk-consent { inset: auto 8px 8px; padding: 18px; max-height: calc(100dvh - 16px); padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  #coachk-consent h2 { font-size: 23px; }
  .coachk-consent-actions { gap: 8px; }
  #coachk-consent .coachk-consent-choice { padding: 12px 8px; }
}
