.wf-calendar { position: relative; display: inline-block; margin: 0; vertical-align: middle; }
.wf-calendar > summary, .wf-calendar-login, .wf-person-follow-login,
.wf-person-follow .follow-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: auto; min-width: 0; min-height: 40px; padding: 0.55rem 1.4rem;
  border: var(--border, 3px) solid var(--ink, #101010); border-radius: 9999px;
  background: var(--paper, #fbfaf7); color: var(--ink, #101010);
  box-shadow: 3px 3px 0 var(--ink, #101010);
  font: inherit; font-size: 0.92rem; font-weight: 700; line-height: 1; text-decoration: none;
  cursor: pointer; white-space: nowrap; list-style: none; margin: 0;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.wf-calendar > summary:hover, .wf-calendar-login:hover, .wf-person-follow-login:hover,
.wf-person-follow .follow-button:hover {
  background: #fff; color: var(--ink, #101010); text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink, #101010); transform: translate(1px, 1px);
}
.wf-calendar > summary::after, .wf-calendar > summary::-webkit-details-marker { display: none; }
.wf-calendar > summary:focus-visible, .wf-calendar-menu a:focus-visible,
.wf-calendar-login:focus-visible, .wf-person-follow-login:focus-visible,
.wf-person-follow .follow-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wf-calendar-menu {
  position: absolute; z-index: 100; top: calc(100% + 8px); right: 0;
  width: min(290px, calc(100vw - 40px)); padding: 16px; border: 1px solid #d6d6da;
  border-radius: 14px; background: #fff; color: #242329; box-shadow: 0 8px 30px #0002;
  font-size: 14px; line-height: 1.4; text-align: left; white-space: normal;
}
.wf-calendar-menu p { margin: 0 0 10px; }
.wf-calendar-menu .wf-calendar-hint { font-size: 12px; color: #5e5b65; }
.wf-calendar-menu a, .wf-calendar-menu button {
  display: block; width: 100%; box-sizing: border-box; padding: 10px 0; margin: 0;
  color: #242329; background: transparent; border: 0; border-radius: 0;
  font: inherit; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer;
}
.wf-calendar-menu a:hover, .wf-calendar-menu button:hover { text-decoration: underline; }
.wf-calendar-menu [data-calendar-remove] { border-top: 1px solid #e8e7eb; padding-top: 5px; }
.wf-calendar-menu [data-calendar-remove] button { color: #a12a32; }
.wf-calendar-menu form, .wf-person-follow { margin: 0; }
.wf-calendar-menu [hidden] { display: none !important; }
.wf-profile-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.wf-org-public-action-row > span > a, .wf-org-public-action-row > a { display: inline-flex; align-items: center; }
.wf-org-public-action-row .follow-button { margin: 0; }
.wf-person-follow [data-follow-status]:not(:empty) { display: block; max-width: 230px; font-size: 12px; }
.wf-info-card-actions { flex-wrap: wrap; }
.wf-calendar-page { max-width: 640px; padding: 40px 20px; }
.wf-calendar-page .wf-calendar-menu { right: auto; left: 0; }
.wf-splash-followAction.wf-splash-calendar-actions { display: flex; align-items: center; gap: 10px; }
.wf-splash-calendar-actions > [data-splash-stack-id] { flex: 0 0 max-content; }
.wf-splash-calendar-actions > .wf-calendar, .wf-splash-calendar-actions > .wf-calendar-login { flex-shrink: 0; }
.wf-splash-calendar-actions .wf-calendar > summary,
.wf-splash-calendar-actions .wf-calendar-login,
.wf-splash-calendar-actions .wf-person-follow-login,
.wf-splash-calendar-actions .wf-person-follow .follow-button {
  border-color: var(--splash-frame-shadow, #101010);
  background: var(--paper, #fbfaf7); color: var(--splash-button-text, #101010);
  box-shadow: 3px 3px 0 var(--splash-frame-shadow, #101010);
  font-family: var(--splash-font, "Manrope"), ui-sans-serif, system-ui, sans-serif;
}
.wf-splash-calendar-actions .wf-calendar > summary:hover,
.wf-splash-calendar-actions .wf-calendar-login:hover,
.wf-splash-calendar-actions .wf-person-follow-login:hover,
.wf-splash-calendar-actions .wf-person-follow .follow-button:hover {
  background: var(--splash-button-background, #fff);
  box-shadow: 2px 2px 0 var(--splash-frame-shadow, #101010);
}
.wf-splash-calendar-actions .wf-calendar-menu { width: min(290px, calc(100vw - 72px)); }

@media (max-width: 480px) {
  .wf-org-public-action-row .follow-button,
  .wf-org-public-action-row .wf-calendar > summary,
  .wf-org-public-action-row .wf-calendar-login,
  .wf-profile-actions .wf-person-follow .follow-button,
  .wf-profile-actions .wf-person-follow-login,
  .wf-profile-actions .wf-calendar > summary,
  .wf-profile-actions .wf-calendar-login { padding: 9px 8px; font-size: 14px; }

  .wf-splash-calendar-actions .wf-calendar > summary,
  .wf-splash-calendar-actions .wf-calendar-login,
  .wf-splash-calendar-actions .wf-person-follow-login,
  .wf-splash-calendar-actions .follow-button,
  .wf-splash-supportAction .follow-button {
    padding: 9px 8px;
    font-size: var(--splash-stack-font-size, 13px);
  }
}

@media (max-width: 360px) {
  .wf-splash-calendar-actions .wf-calendar > summary,
  .wf-splash-calendar-actions .wf-calendar-login,
  .wf-splash-calendar-actions .wf-person-follow-login,
  .wf-splash-calendar-actions .follow-button,
  .wf-splash-supportAction .follow-button { padding-inline: 4px; }
}

.slab.wf-calendar-container { overflow: visible; }
.wf-calendar-menu .wf-calendar-hint { font-weight: 400; }
