/* Use the clinic's white/green palette without changing the original cards. */
[data-staff-display], [data-staff-display] * { cursor: default !important; }
/* Layout owns centering; IX keeps ownership of each photo's scale/fade. */
.team-member-row .team-avatar-wrapper { align-self: stretch; }
.team-member-row .team-avatar-wrapper .team-avatar {
  top: 50%; left: 50%; right: auto; margin: 0; translate: -50% -50%;
}
@media (max-width: 767px) {
  .team-member-row.pm { position: relative; }
  .team-member-row.pm .team-avatar-wrapper {
    position: absolute; inset: 0 24px; width: auto; justify-content: flex-end;
  }
  .team-member-row.pm .team-avatar-wrapper .team-avatar {
    position: static; translate: none; flex: none;
  }
}
@media (max-width: 479px) {
  .team-member-row.pm .team-avatar-wrapper { left: 5%; right: 5%; }
  .team-member-row.pm.mirror .team-avatar-wrapper { justify-content: flex-start; }
}
.surgery-notice {
  --notice-surface: #fff;
  --notice-ink: #1d2422;
  --notice-muted: #4c5753;
  --notice-accent: #176e60;
  --notice-soft: #eef6f2;
  --notice-border: #d9e5df;
  --notice-shadow: 0 12px 40px -6px #163d2830, 0 2px 8px #163d2814;
  position: fixed; right: 24px; bottom: 24px; z-index: 1000;
  width: 368px; max-width: calc(100% - 32px);
  padding: 22px 24px 20px;
  border: 1px solid var(--notice-border); border-radius: 16px;
  background: var(--notice-surface); color: var(--notice-ink);
  box-shadow: var(--notice-shadow); font-family: inherit; text-align: left;
  opacity: 0; translate: 0 14px; scale: .97; visibility: hidden;
  transition: opacity .24s ease, translate .24s ease, scale .24s ease, visibility .24s;
}
.surgery-notice.is-visible { opacity: 1; translate: 0 0; scale: 1; visibility: visible; }
.surgery-notice *, .surgery-notice *::before { box-sizing: border-box; }
.surgery-notice p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--notice-muted); }

/* Status pill — sits alone on its own line with breathing room below */
.surgery-notice .surgery-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: #f1f3f2; color: #55605b; font-size: 13px; font-weight: 600; line-height: 1.2; }
.surgery-notice.is-open .surgery-status { background: var(--notice-soft); color: var(--notice-accent); }
.surgery-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #a3aca8; flex: none; }
.surgery-notice.is-open .surgery-status-dot { background: #1d9d6c; animation: surgery-pulse 2s ease-out infinite; }
@keyframes surgery-pulse { 0% { box-shadow: 0 0 0 0 #1d9d6c55; } 70% { box-shadow: 0 0 0 7px #1d9d6c00; } 100% { box-shadow: 0 0 0 0 #1d9d6c00; } }

/* Headline row: care mark + title, aligned to a shared baseline */
.surgery-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding-right: 30px; }
.surgery-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--notice-soft); color: var(--notice-accent); }
.surgery-notice .surgery-mark svg { width: 22px; height: 22px; }
.surgery-notice .surgery-title { color: var(--notice-ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.surgery-notice .surgery-body { margin-bottom: 12px; }
.surgery-notice .surgery-sameday { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; padding: 9px 12px; border-radius: 10px; background: var(--notice-soft); color: var(--notice-accent); font-size: 14px; font-weight: 600; line-height: 1.35; }
.surgery-notice .surgery-sameday svg { width: 17px; height: 17px; }

.surgery-notice-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--notice-muted); cursor: pointer; }
.surgery-notice-close:hover { background: var(--notice-soft); }
.surgery-notice svg { width: 20px; height: 20px; flex: none; }
.surgery-notice-call { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; min-height: 48px; padding: 12px 16px; border-radius: 12px; background: var(--notice-accent); color: var(--notice-surface); font-size: 15px; font-weight: 600; text-decoration: none; }
.surgery-notice-call:hover { background: #11594d; color: var(--notice-surface); }
.surgery-notice a:focus-visible, .surgery-notice button:focus-visible { outline: 3px solid var(--notice-accent); outline-offset: 3px; }
body:has(nav.nav.nav-open) .surgery-notice { visibility: hidden; opacity: 0; }
@media (max-width: 640px) { .surgery-notice { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); padding: 20px 20px 18px; width: calc(100% - 32px); } }
@media (prefers-reduced-motion: reduce) { .surgery-notice { transition: none; translate: none; scale: none; } .surgery-notice.is-open .surgery-status-dot { animation: none; } }
.surgery-notice.is-morning .surgery-status-dot{background:#e8a33d;box-shadow:0 0 0 4px rgba(232,163,61,.18)}
