[hidden] { display: none !important; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link:focus { position: fixed; top: .55rem; left: .55rem; z-index: 100; padding: .45rem 1rem; border-radius: .5rem; background: var(--sage-900); color: white; }
:root { color-scheme: light; }
a.action-card, a.primary-button, a.secondary-button { text-decoration: none; }
a.primary-button, a.secondary-button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; text-align: center; }
.topbar .avatar { width: 40px; height: 40px; box-shadow: none; }
.setup-button { min-height: 40px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--sage-300); background: white; color: var(--sage-950); cursor: pointer; font-weight: 700; font-size: .875rem; }
.top-actions { align-items: center; gap: 8px; }
.status-banner { margin-top: .85rem; }
.status-banner p { font-size: .9rem; }
.signed-out :is(.screen, .bottom-nav, .top-actions) { display: none; }
.public-welcome { margin-top: 1rem; padding: clamp(1.1rem, 5vw, 2.25rem); }
.public-welcome p { max-width: 34rem; line-height: 1.55; }
.public-welcome .nav-pair { position: relative; z-index: 1; margin-block: 1rem; }
.booking-form details { margin-top: 1.1rem; }
.booking-form summary { cursor: pointer; font-weight: 700; }
.booking-form .modal-form { margin-top: .7rem; }
.eyebrow { font-size: .75rem; }
.card-copy p:not(.eyebrow), .energy-card p:not(.eyebrow), .action-card small { font-size: .925rem; }
a.action-card > strong { color: var(--ink); }
.daily-card blockquote { margin-block: 1.3rem; }
.daily-card .daily-floral {
  position: absolute;
  right: -1.25rem;
  bottom: 1.65rem;
  width: clamp(8rem, 25%, 13rem);
  height: 86%;
  background: url("/art/floral-accent.webp") center bottom / contain no-repeat;
  opacity: .42;
  transform: rotate(-11deg);
  pointer-events: none;
}
.daily-card::before { border-color: rgba(231, 210, 167, .31); }
.tarot-card {
  position: relative;
  isolation: isolate;
  height: auto;
  aspect-ratio: 2 / 3;
  border-color: #cbb880;
  background: #f3eddb;
}
.tarot-card.has-card-art { box-shadow: 0 3px 10px rgba(38, 53, 45, .15); }
.tarot-back {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 4px;
  color: #f4e3b9;
  background: #435b4b;
  border: 1px solid #b9a773;
  border-radius: 6px;
  overflow: hidden;
}
.tarot-back::before {
  content: "";
  position: absolute;
  inset: 3px -9px;
  background: url("/art/floral-accent.webp") center / contain no-repeat;
  opacity: .36;
}
.tarot-back > span { position: relative; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .11em; }
.tarot-cover {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.tarot-cover:focus-visible { outline-offset: -4px; }
.tarot-cover img, .tarot-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.deck-link { min-height: 2.75rem; font-size: .85rem; }
.pathway-card { position: relative; overflow: hidden; isolation: isolate; background-color: #f5f3e8; }
.pathway-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1.1rem;
  right: -.8rem;
  width: 62%;
  height: 85%;
  background: url("/art/floral-accent.webp") top right / contain no-repeat;
  opacity: .48;
  transform: rotate(-20deg);
  pointer-events: none;
}
.tarot-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.05rem 0 .25rem; }
.tarot-tile { display: grid; justify-items: center; gap: .55rem; padding: .6rem; border: 1px solid var(--sage-200); border-radius: 16px; background: #faf7ee; color: var(--sage-950); cursor: pointer; text-align: center; font: 600 1rem / 1.25 var(--serif); }
.tarot-tile img { aspect-ratio: 2 / 3; height: auto; max-width: 10rem; border: 1px solid #d7c78e; border-radius: 7px; }
.tarot-front { display: block; width: min(100%, clamp(11rem, 44dvh, 18rem)); height: auto; aspect-ratio: 2 / 3; margin: 1rem auto; border: 1px solid #cbb880; border-radius: 10px; box-shadow: var(--soft-shadow); }
.tarot-interpretation { max-width: 36rem; margin-inline: auto; }
.sam-card { padding: 1.35rem 1.25rem; }
.sam-card > :not(.moon-orbit) { position: relative; }
.sam-card .moon-orbit { right: -34px; opacity: .55; pointer-events: none; }
.sam-card p { max-width: 31rem; overflow-wrap: anywhere; }
.sam-card .secondary-button { background: var(--paper); }
.daily-companions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 13px;
}
.reflection-tile, .angel-card {
  position: relative;
  min-width: 0;
  min-height: 11.5rem;
  padding: clamp(.85rem, 3vw, 1.4rem);
  color: var(--sage-950);
}
.reflection-tile {
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: .85rem;
  background: #f4e9f2;
  border-color: #deccdc;
  text-align: left;
  font: 600 clamp(1.25rem, 4vw, 1.72rem) / 1.18 var(--serif);
  cursor: pointer;
}
.reflection-tile::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/art/pathway-roses.webp") 58% 53% / cover no-repeat;
  opacity: .55;
  mask-image: linear-gradient(155deg, transparent 26%, #000 82%);
}
.reflection-tile span {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(61, 77, 63, .18);
  background: var(--paper);
  font: 600 1.2rem / 1 var(--sans);
}
.angel-card {
  background: radial-gradient(ellipse at top right, #fbf7e6, #edf1e6 82%);
  border-color: #d8decb;
}
.angel-card h3 {
  font-size: clamp(1rem, 3.8vw, 1.25rem);
  margin-bottom: .3rem;
}
.angel-number {
  margin: 0 0 .35rem;
  color: var(--sage-900);
  font: 500 clamp(1.95rem, 7vw, 2.9rem) / 1.06 var(--display-serif);
  font-variant-numeric: lining-nums;
}
.angel-message { margin: 0; font-size: .875rem; line-height: 1.42; }
.daily-reflection { margin-bottom: 13px; scroll-margin-top: 1rem; }
.daily-reflection p { margin: .6rem 0 0; }
.post-card > .horoscope-transit { margin: .35rem 0; color: var(--sage-800); font-size: .875rem; }
.inline-link { min-height: 0; padding: 0; border: 0; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: .18em; }
#live-today { margin-bottom: 15px; }
#live-today h2 { margin-bottom: .4rem; }
.notification-dot { width: 11px; height: 11px; }
#next-live-heading { scroll-margin-top: calc(86px + env(safe-area-inset-top)); }
.answer-card h3, .answer-card p { overflow-wrap: anywhere; }
.answer-card .answer-label { margin: .9rem 0 .25rem; color: var(--sage-800); font-weight: 750; }
.answer-card p:last-child { margin: 0; }
button:disabled { opacity: .62; cursor: default; }
.start-card { margin-top: 1rem; }
.feature-update.start-card h2 { margin-top: 0; }
.bottom-nav button { font-size: .75rem; }
.bottom-nav button:not(.active) { color: var(--sage-700); }
.bottom-nav button > span { font-size: clamp(.6875rem, 2.95vw, .75rem); }
.screen[data-screen="affirmations"] { padding-top: 1.1rem; }
.affirmations-heading { min-height: 8rem; margin-bottom: 1rem; }
.affirmations-heading h1 { font-size: clamp(1.875rem, 7vw, 2.8rem); }
.affirmations-heading > div { max-width: min(76%, 30rem); }
.affirmations-heading p { line-height: 1.48; }
.affirmation-mantra {
  padding: clamp(1.2rem, 4vw, 1.75rem);
  text-align: center;
  color: var(--sage-950);
  background: linear-gradient(145deg, #fffaf5, #edf2e9);
  border: 1px solid #d8ded1;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}
.affirmation-mantra h2 { margin: 0; font: 750 .9rem/1.35 var(--sans); color: var(--sage-800); }
.affirmation-mantra blockquote {
  max-width: 30rem;
  margin: .65rem auto;
  font: 400 clamp(1.35rem, 5.5vw, 2rem)/1.32 var(--display-serif);
}
.affirmation-mantra p { margin: 0 auto .85rem; line-height: 1.5; }
.affirmation-categories-title { margin: 1.55rem 0 .7rem; }
.affirmation-categories-title h2 { font-size: clamp(1.3rem, 4.5vw, 1.6rem); }
.affirmation-groups { display: grid; gap: .65rem; }
.affirmation-section {
  background: var(--paper);
  border: 1px solid var(--lilac-border);
  border-radius: 17px;
}
.affirmation-routine { margin-top: 1rem; background: #f8f1f9; }
.affirmation-section summary {
  display: flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  list-style: none;
  cursor: pointer;
  border-radius: inherit;
}
.affirmation-section summary::-webkit-details-marker { display: none; }
.affirmation-section-copy { display: grid; gap: .2rem; }
.affirmation-section-copy strong {
  color: var(--sage-950);
  font: 600 clamp(1.04rem, 4vw, 1.2rem)/1.15 var(--serif);
}
.affirmation-section-copy small { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.affirmation-disclosure {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--sage-900);
  background: var(--sage-100);
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
}
.affirmation-disclosure::before { content: "+"; }
.affirmation-section[open] .affirmation-disclosure::before { content: "−"; }
.affirmation-kind {
  margin: .65rem 1rem .4rem;
  color: var(--sage-800);
  font: 700 .9rem/1.4 var(--sans);
}
.affirmation-list { margin: 0; padding: 0 1rem; list-style: none; }
.affirmation-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .65rem 0;
  border-top: 1px solid var(--sage-200);
}
.affirmation-list li p { margin: 0; font-size: 1rem; line-height: 1.5; }
.affirmation-save { flex: none; min-height: 44px; padding: .4rem .75rem; font-size: .875rem; }
.affirmation-save[aria-pressed="true"] { background: var(--sage-100); color: var(--sage-950); }
.affirmation-save[aria-disabled="true"] { opacity: .65; cursor: default; }
.affirmation-routine-empty { padding: 0 1rem .85rem; margin: 0; line-height: 1.45; }
.nav-pair { display: flex; flex-wrap: wrap; gap: .55rem; }
.pill.light-pill { margin-bottom: 0; }
.managed-row { border-radius: 18px; border: 1px solid var(--sage-200); background: white; padding: 1rem; }
.managed-row p:last-child { margin-bottom: 0; }
.managed-row h3 { margin-bottom: .4rem; }
.managed-row .meta { color: var(--muted); font-size: .875rem; }
.status-label { color: var(--sage-800); font-size: .85rem; font-weight: 800; }
.service-group { overflow: hidden; border-radius: 18px; border: 1px solid var(--sage-200); background: var(--paper); }
.service-group summary { padding: 1rem; cursor: pointer; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.service-group summary span { margin-right: .375rem; color: var(--sage-700); }
.service-group .inner { padding: 0 1rem 1rem; }
.service-group .inner > p { color: var(--muted); }
.service-option { display: flex; align-items: center; justify-content: space-between; gap: .55rem; padding: .65rem 0; border-top: 1px solid var(--sage-100); }
.service-option button { min-height: 40px; }
.group-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; margin-top: 1rem; align-items: end; }
.group-composer textarea { grid-column: 1 / -1; width: 100%; min-width: 0; padding: .65rem .8rem; border: 1px solid var(--sage-300); border-radius: 14px; resize: vertical; }
.group-photo-label { display: grid; gap: .2rem; min-width: 0; font-size: .85rem; font-weight: 700; }
.group-photo-label input { width: 100%; min-width: 0; font-size: .85rem; }
.chat-profile-button { margin-bottom: .65rem; }
.chat-avatar { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chat-initials { display: grid; place-items: center; background: var(--sage-200); color: var(--sage-950); font-weight: 750; }
.chat-avatar-preview { width: 68px; height: 68px; }
.group-photo img { display: block; max-width: min(100%, 320px); max-height: 300px; border-radius: 10px; object-fit: contain; }
.session-questions:not(:empty) { margin-top: 1rem; }
.intake-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 115px), 1fr)); gap: .6rem; margin-bottom: 1rem; }
.intake-photos img { display: block; width: 100%; max-height: 150px; object-fit: contain; border-radius: 9px; background: var(--sage-100); }
.group-messages { display: grid; gap: .55rem; max-height: 500px; overflow-y: auto; }
.group-message { display: grid; justify-items: start; gap: .25rem; padding: .8rem; border-radius: 14px; border: 1px solid var(--sage-200); background: var(--paper); }
.group-message p { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.group-message .meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; color: var(--muted); font-size: .84rem; }
.group-message .text-link { border: 0; font-weight: 600; color: var(--muted); }
.search-field { display: grid; gap: .3rem; font-size: .9rem; color: var(--sage-900); margin: 0 0 1rem; }
.search-field input { min-height: 44px; padding: .45rem .6rem; border: 1px solid var(--sage-300); border-radius: 10px; background: white; }
.app-dialog { margin: auto auto 0; border: 1px solid var(--sage-200); border-radius: 24px 24px 0 0; color: var(--ink); background: var(--paper); width: min(100%, 700px); max-width: 100%; max-height: 90dvh; overflow: auto; padding: 14px 24px calc(28px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 55px rgba(20,30,24,.18); }
.app-dialog::backdrop { background: rgba(24,32,27,.51); backdrop-filter: blur(2px); }
.app-dialog h2 { padding-right: 2.3rem; margin-block: .2rem .6rem; font-size: clamp(1.5rem, 5vw, 2rem); }
.app-dialog h3 { margin: .6rem 0 .5rem; }
.app-dialog .modal-form label { font-size: .9rem; }
.app-dialog .modal-form input, .app-dialog .modal-form textarea, .app-dialog .modal-form select { font-size: 1rem; }
.app-dialog .modal-form label.checkbox-row { flex-direction: row; align-items: flex-start; font-weight: 500; }
.app-dialog .modal-form input[type="checkbox"] { flex: 0 0 auto; width: 1.1rem; min-height: 1.1rem; margin-top: .25rem; accent-color: var(--sage-800); }
.app-dialog input[type="file"] { overflow: hidden; }
.app-dialog a { color: var(--sage-900); }
.app-dialog a.primary-button { color: white; }
.form-error { color: #923226; font-size: .92rem; margin: 0; }
.owner-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; padding-bottom: .8rem; border-bottom: 1px solid var(--sage-200); }
.owner-nav button { padding: .45rem .7rem; border: 1px solid var(--sage-200); border-radius: 999px; background: white; color: var(--sage-900); cursor: pointer; }
.owner-nav button[aria-current] { color: white; background: var(--sage-900); }
.setup-checklist { display: grid; gap: .7rem; padding-left: 1.2rem; }
.setup-checklist strong { display: block; }
.owner-block { margin-top: 1rem; }
.owner-block summary { padding: .7rem 0; cursor: pointer; font-weight: 700; }
.owner-block > .modal-form { margin-block: .3rem 1.2rem; }
.chart-placements { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin-block: 1rem; }
.chart-placement { padding: .75rem .65rem; background: var(--sage-100); border-radius: 12px; }
.chart-placement small { display: block; color: var(--sage-700); font-size: .875rem; }
.chart-placement strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.chart-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.chart-table th, .chart-table td { text-align: left; padding: .5rem .2rem; border-bottom: 1px solid var(--sage-200); }
.city-results { display: grid; margin-top: .4rem; }
.city-results button { text-align: left; min-height: 44px; padding: .45rem .65rem; border: 0; border-bottom: 1px solid var(--sage-200); background: var(--sage-100); cursor: pointer; }
.empty-copy { color: var(--muted); margin-bottom: 0; }
.media-viewer { display: block; margin: .8rem 0; border-radius: 12px; max-width: 100%; width: 100%; max-height: 62dvh; background: #1e3026; }
.photo-viewer { display: block; margin: .8rem 0; border-radius: 12px; max-height: 340px; max-width: 100%; }
.preserve-breaks { white-space: pre-wrap; overflow-wrap: anywhere; }
.toast { pointer-events: none; }
@media (min-width: 700px) {
  .app-dialog { margin: auto; border-radius: 24px; }
}
@media (max-width: 450px) {
  .topbar { gap: .45rem; }
  .topbar .brand { min-width: 0; gap: .5rem; }
  .topbar .brand-copy strong { font-size: clamp(.94rem, 4vw, 1.125rem); }
  .topbar .top-actions { gap: .35rem; flex-shrink: 0; }
  .topbar .activity-button, .topbar .avatar { width: 38px; height: 38px; }
  .community-tabs button + button { margin-left: .35rem; }
  .app-dialog { padding-inline: 1rem; }
  .daily-card .daily-floral { bottom: 1.8rem; right: -.8rem; width: 7.3rem; opacity: .27; }
  .tarot-gallery { gap: .65rem; }
}
