/* Dashboard-specific styles */

/* ========== Command Center: Trio Dashboard ========== */

/* --- Header --- */
.trio-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.trio-header__greeting {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 300;
  color: oklch(var(--bc) / 0.8);
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}

.trio-header__name {
  font-weight: 700;
  color: oklch(var(--bc));
}

.trio-header__day {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: oklch(var(--bc) / 0.45);
  margin: 0.375rem 0 0;
}

.trio-header__day-sep {
  margin: 0 0.25rem;
  color: oklch(var(--bc) / 0.25);
}

.trio-header__phase {
  font-weight: 600;
  color: oklch(var(--bc) / 0.55);
}

.trio-header__quote {
  font-size: 0.9375rem;
  font-style: italic;
  color: oklch(var(--bc) / 0.55);
  margin: 0.75rem 0 1.25rem;
  line-height: 1.5;
}

/* --- Progress bar (segmented) --- */
.trio-progress {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  width: 60%;
  margin: 0 auto;
}

.trio-progress__segment {
  flex: 1;
  height: 0.3125rem;
  border-radius: 9999px;
  background-color: oklch(var(--bc) / 0.12);
  transition: background-color 0.5s ease;
}

.trio-progress__segment--nourish.trio-progress__segment--done { background-color: #059669; }
.trio-progress__segment--align.trio-progress__segment--done   { background-color: #7c3aed; }
.trio-progress__segment--heal.trio-progress__segment--done    { background-color: #d97706; }

@keyframes trio-progress-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.trio-progress--all-done .trio-progress__segment {
  animation: trio-progress-pulse 2s ease-in-out infinite;
}

/* --- Card container --- */
.trio-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* --- Card base --- */
.trio-card {
  background-color: oklch(var(--b1));
  border-radius: 1rem;
  border: 1px solid oklch(var(--b3));
  border-left: 4px solid oklch(var(--b3));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.trio-card--nourish { border-left-color: #059669; }
.trio-card--align   { border-left-color: #7c3aed; }
.trio-card--heal    { border-left-color: #d97706; }

.trio-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Done state: settled green tint, not dimmed */
.trio-card--done {
  border-left-color: #16a34a;
  background-color: oklch(var(--su) / 0.04);
}

.trio-card--done:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* --- Header button (collapsed state) --- */
.trio-card__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: oklch(var(--bc));
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.trio-card__header:hover {
  background-color: oklch(var(--bc) / 0.03);
}

.trio-card__header:active {
  transform: scale(0.98);
}

.trio-card__icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trio-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.trio-card--nourish .trio-card__icon { color: #059669; }
.trio-card--align   .trio-card__icon { color: #7c3aed; }
.trio-card--heal    .trio-card__icon { color: #d97706; }

.trio-card__header-text {
  flex: 1;
  min-width: 0;
}

.trio-card__header-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.125rem;
}

.trio-card__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trio-card__time-badge {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background-color: oklch(var(--bc) / 0.07);
  color: oklch(var(--bc) / 0.5);
}

.trio-card--nourish .trio-card__label { color: #059669; }
.trio-card--align   .trio-card__label { color: #7c3aed; }
.trio-card--heal    .trio-card__label { color: #d97706; }

.trio-card__title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: oklch(var(--bc));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trio-card__preview {
  display: block;
  font-size: 0.8125rem;
  color: oklch(var(--bc) / 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.125rem;
}

.trio-card__chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: oklch(var(--bc) / 0.4);
  transition: transform 0.35s ease;
}

.trio-card--expanded .trio-card__chevron {
  transform: rotate(180deg);
}

.trio-card__check {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: oklch(var(--su));
}

/* --- Expanded detail --- */
.trio-card__detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.trio-card__detail-inner {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid oklch(var(--b3));
}

/* Badges row (prep time, duration, difficulty) */
.trio-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.trio-card__badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background-color: oklch(var(--bc) / 0.06);
  color: oklch(var(--bc) / 0.65);
}

/* Preview summary text */
.trio-card__summary {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: oklch(var(--bc) / 0.7);
  margin: 0 0 1rem;
}

.trio-card__image {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.trio-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.trio-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.trio-card__pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background-color: oklch(var(--bc) / 0.06);
  color: oklch(var(--bc) / 0.75);
}

.trio-card__pill--nourish { background-color: rgba(5, 150, 105, 0.1); color: #059669; }
.trio-card__pill--align   { background-color: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.trio-card__pill--heal    { background-color: rgba(217, 119, 6, 0.1); color: #d97706; }

/* --- Begin CTA button --- */
.trio-card__begin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.trio-card__begin-btn:hover {
  filter: brightness(1.1);
  color: #fff;
}

.trio-card__begin-btn:active {
  transform: scale(0.97);
}

.trio-card__begin-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.trio-card__begin-btn--nourish { background-color: #059669; }
.trio-card__begin-btn--align   { background-color: #7c3aed; }
.trio-card__begin-btn--heal    { background-color: #d97706; }

/* --- Done badge (after completion) --- */
.trio-card__done-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: oklch(var(--su));
}

/* --- All-done message (celebratory) --- */
.trio-all-done {
  text-align: center;
  padding: 3rem 1.5rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
}

.trio-all-done--visible {
  opacity: 1;
  max-height: 14rem;
}

.trio-all-done__text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.625rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.trio-all-done__subtext {
  font-size: 1rem;
  color: oklch(var(--bc) / 0.55);
  margin: 0;
}

/* --- Empty state (styled card) --- */
.trio-empty {
  text-align: center;
  padding: 3rem 2rem;
  background-color: oklch(var(--b1));
  border-radius: 1rem;
  border: 1px solid oklch(var(--b3));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.trio-empty__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: oklch(var(--su) / 0.5);
}

.trio-empty__icon svg {
  width: 3rem;
  height: 3rem;
}

.trio-empty__text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: oklch(var(--bc) / 0.8);
  margin: 0 0 0.5rem;
}

.trio-empty__subtext {
  font-size: 0.9375rem;
  color: oklch(var(--bc) / 0.5);
  margin: 0 auto 1.5rem;
  max-width: 24rem;
}

.trio-empty__cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: oklch(var(--p));
  border: none;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.trio-empty__cta:hover {
  filter: brightness(1.1);
}

.trio-empty__cta:active {
  transform: scale(0.97);
}

/* --- Dark theme overrides --- */
html[data-theme="dark"] .trio-card {
  background-color: oklch(var(--b2));
  border-color: oklch(var(--b3));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .trio-card--nourish { border-left-color: #34d399; }
html[data-theme="dark"] .trio-card--align   { border-left-color: #a78bfa; }
html[data-theme="dark"] .trio-card--heal    { border-left-color: #fbbf24; }

html[data-theme="dark"] .trio-card--nourish .trio-card__label { color: #34d399; }
html[data-theme="dark"] .trio-card--align   .trio-card__label { color: #a78bfa; }
html[data-theme="dark"] .trio-card--heal    .trio-card__label { color: #fbbf24; }

html[data-theme="dark"] .trio-card__pill--nourish { background-color: rgba(52, 211, 153, 0.15); color: #34d399; }
html[data-theme="dark"] .trio-card__pill--align   { background-color: rgba(167, 139, 250, 0.15); color: #a78bfa; }
html[data-theme="dark"] .trio-card__pill--heal    { background-color: rgba(251, 191, 36, 0.15); color: #fbbf24; }

html[data-theme="dark"] .trio-card__begin-btn--nourish { background-color: #34d399; color: #064e3b; }
html[data-theme="dark"] .trio-card__begin-btn--align   { background-color: #a78bfa; color: #2e1065; }
html[data-theme="dark"] .trio-card__begin-btn--heal    { background-color: #fbbf24; color: #78350f; }

html[data-theme="dark"] .trio-card--done {
  background-color: oklch(var(--su) / 0.06);
}

html[data-theme="dark"] .trio-progress__segment {
  background-color: oklch(var(--bc) / 0.2);
}

html[data-theme="dark"] .trio-progress__segment--nourish.trio-progress__segment--done { background-color: #34d399; }
html[data-theme="dark"] .trio-progress__segment--align.trio-progress__segment--done   { background-color: #a78bfa; }
html[data-theme="dark"] .trio-progress__segment--heal.trio-progress__segment--done    { background-color: #fbbf24; }

html[data-theme="dark"] .trio-card--nourish .trio-card__icon { color: #34d399; }
html[data-theme="dark"] .trio-card--align   .trio-card__icon { color: #a78bfa; }
html[data-theme="dark"] .trio-card--heal    .trio-card__icon { color: #fbbf24; }

html[data-theme="dark"] .trio-empty {
  background-color: oklch(var(--b2));
}

/* ========== End Command Center ========== */

/* Smooth progress ring animation */
@keyframes progress-ring-fill {
  from {
    stroke-dashoffset: 440;
  }
}

.progress-ring-animated {
  animation: progress-ring-fill 1s ease-out forwards;
}

/* Card stagger animation on page load */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-content > * {
  animation: fade-in-up 0.5s ease-out forwards;
  opacity: 0;
}

.dashboard-content > *:nth-child(1) {
  animation-delay: 0.1s;
}

.dashboard-content > *:nth-child(2) {
  animation-delay: 0.2s;
}

.dashboard-content > *:nth-child(3) {
  animation-delay: 0.3s;
}

/* Hover effects for cards - removed from dashboard cards */
/* .card:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
} */

/* Hover effects only for Learning & Discovery internal cards */
.learning-hub .space-y-3 .card:hover {
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

/* Pulse animation for badges */
@keyframes pulse-badge {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.badge.animate-pulse {
  animation: pulse-badge 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Marquee animation for friend activity ticker */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 20s linear infinite;
}

/* Smooth transitions for progress bars */
.progress {
  transition: all 0.3s ease;
}

/* Sidebar link hover effect */
.menu li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

/* Celebration glow effect */
@keyframes celebration-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(var(--su), 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(var(--su), 0.6);
  }
}

.celebration-glow {
  animation: celebration-glow 1.5s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, hsl(var(--p)) 0%, hsl(var(--s)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer effect for loading states */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-size: 2000px 100%;
  animation: shimmer 2s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-content {
    padding: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
}

/* Stat number animation on hover */
.stat-value {
  transition: all 0.2s ease;
}

.stat:hover .stat-value {
  transform: scale(1.1);
  color: hsl(var(--p));
}

/* Icon scale on hover */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Smooth color transitions */
.transition-colors {
  transition-property: background-color, border-color, color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Dynamic height for social feed content */
.social-feed-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.social-feed-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.social-feed-content {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

/* Dashboard Experimental: daily goal cards */
.dashboard-daily-card-completed {
  position: relative;
  border-color: oklch(var(--su)) !important;
  border-width: 2px;
  box-shadow: 0 0 0 1px oklch(var(--su) / 0.3);
}

.dashboard-daily-card-completed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: oklch(var(--su) / 0.15);
  border-radius: inherit;
  pointer-events: none;
}

.dashboard-daily-card-completed .card-body,
.dashboard-daily-card-completed figure {
  position: relative;
  z-index: 1;
}

[data-controller*="dashboard-daily"] .card[data-card-id] {
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-controller*="dashboard-daily"] .card[data-card-id]:hover {
  border-color: oklch(var(--p) / 0.5);
}

@keyframes dashboard-daily-complete-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.dashboard-daily-complete-animate {
  animation: dashboard-daily-complete-pop 0.5s ease-out;
}

/* Dashboard Experimental: Fizzy-style card — light theme (default) */
.dashboard-experimental__fizzy-bg {
  background-color: #cce7e4;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.1), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard-experimental__fizzy-bg .text-primary {
  color: #0d9488;
}

.dashboard-experimental__fizzy-bg .text-base-content\/60,
.dashboard-experimental__fizzy-bg .text-base-content\/80 {
  color: #0f766e;
}

.dashboard-hero__goal-note {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f766e;
  letter-spacing: 0.02em;
}

html[data-theme="dark"] .dashboard-hero__goal-note {
  color: #94a3b8;
}

/* Day orientation card — Fizzy-style: first card on home (ring + fraction + goal) */
.day-orientation {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(13, 148, 136, 0.12);
}

.day-orientation__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(var(--bc) / 0.65);
  margin: 0 0 1rem 0;
  text-align: center;
}

.day-orientation__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.day-orientation__ring {
  --progress: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: conic-gradient(
    oklch(var(--p)) calc(var(--progress) * 360deg),
    oklch(var(--b3) / 0.6) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
}

.day-orientation__ring-inner {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  padding: 0.625rem;
  background-color: #cce7e4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.day-orientation__fraction {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.day-orientation__goal {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: oklch(var(--bc) / 0.75);
  line-height: 1.4;
}

.day-orientation__pct {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

html[data-theme="dark"] .day-orientation {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .day-orientation__ring-inner {
  background-color: #181a1f;
}

/* Legacy progress block classes (kept for any other references) */
.dashboard-progress-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.dashboard-progress-ring {
  --progress: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: conic-gradient(
    oklch(var(--p)) calc(var(--progress) * 360deg),
    oklch(var(--b3) / 0.6) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-progress-ring__inner {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  padding: 0.625rem;
  background-color: #cce7e4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.dashboard-progress-ring__fraction {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.dashboard-progress-block__goal {
  margin-top: 2.22rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: oklch(var(--bc) / 0.75);
  line-height: 1.4;
}

.dashboard-progress-block__pct {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Quote block: legible size, aligned with Food Plan body text */
.dashboard-quote__text {
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: oklch(var(--bc) / 0.85);
  margin: 0;
}

.dashboard-quote__author {
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  color: oklch(var(--bc) / 0.7);
  margin: 0.5rem 0 0 0;
}

html[data-theme="dark"] .dashboard-progress-ring__inner {
  background-color: #181a1f;
}

/* Hero numbers: prominent but not overwhelming (legacy targets inside progress block) */
.dashboard-experimental__fizzy-bg [data-dashboard-daily-target="fraction"] {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.dashboard-experimental__fizzy-bg [data-dashboard-daily-target="percentage"] {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* To Do card — light theme: base + primary */
.todo-card-fizzy {
  --todo-fizzy-bg: oklch(var(--b1));
  --todo-fizzy-title: oklch(var(--bc));
  --todo-fizzy-description: oklch(var(--bc) / 0.85);
  --todo-fizzy-muted: oklch(var(--bc) / 0.65);
  --todo-fizzy-label: oklch(var(--bc) / 0.65);
  --todo-fizzy-btn-bg: oklch(var(--p));
  --todo-fizzy-btn-text: oklch(var(--pc));
  --todo-fizzy-badge-bg: oklch(var(--p) / 0.2);
  --todo-fizzy-badge-text: oklch(var(--p));
  background-color: var(--todo-fizzy-bg);
  border-radius: 0.75rem;
  border: 1px solid oklch(var(--b3));
  box-shadow: 0 2px 8px oklch(var(--p) / 0.06);
  overflow: hidden;
}

/* Dark theme: Fizzy card above Food Plan */
html[data-theme="dark"] .dashboard-experimental__fizzy-bg {
  background-color: #181a1f;
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .dashboard-experimental__fizzy-bg .text-primary {
  color: #94a3b8;
}

html[data-theme="dark"] .dashboard-experimental__fizzy-bg .text-base-content\/60,
html[data-theme="dark"] .dashboard-experimental__fizzy-bg .text-base-content\/80 {
  color: #94a3b8;
}

html[data-theme="dark"] .todo-card-fizzy {
  --todo-fizzy-bg: #1e242b;
  --todo-fizzy-title: #ffffff;
  --todo-fizzy-description: #c5cbd3;
  --todo-fizzy-muted: #8b98a5;
  --todo-fizzy-label: #8b98a5;
  --todo-fizzy-btn-bg: #b0c8e3;
  --todo-fizzy-btn-text: #1a2332;
  --todo-fizzy-badge-bg: #54789a;
  --todo-fizzy-badge-text: #ffffff;
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.todo-card-fizzy__body {
  padding: 1.25rem 1.5rem;
}

.todo-card-fizzy__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--todo-fizzy-label);
  margin-bottom: 0.75rem;
}

.todo-card-fizzy__content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.todo-card-fizzy__emoji {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.todo-card-fizzy__main {
  min-width: 0;
}

.todo-card-fizzy__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--todo-fizzy-title);
  margin: 0;
}

.todo-card-fizzy__description {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--todo-fizzy-description);
  margin: 0.5rem 0 0 0;
}

.todo-card-fizzy__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.todo-card-fizzy__btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--todo-fizzy-btn-text);
  background-color: var(--todo-fizzy-btn-bg);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s ease, filter 0.15s ease;
}

.todo-card-fizzy__btn:hover {
  filter: brightness(0.95);
}

html[data-theme="dark"] .todo-card-fizzy__btn:hover {
  background-color: #9bb5d4;
  filter: none;
}

.todo-card-fizzy__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--todo-fizzy-badge-bg);
  color: var(--todo-fizzy-badge-text);
}

/* ========== Food Plan: bright Fizzy-style section ========== */
.dashboard-food-plan {
  background-color: oklch(var(--p) / 0.12);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
  border: 1px solid oklch(var(--p) / 0.22);
  box-shadow: 0 4px 14px oklch(var(--p) / 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard-food-plan__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-food-plan__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  color: oklch(var(--bc));
  margin: 0;
  margin-left: calc(2.5rem + 0.75rem);
  letter-spacing: 0.02em;
}

.dashboard-food-plan__scroll-hint {
  margin: 0;
  flex-shrink: 0;
}

.dashboard-food-plan__row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.dashboard-food-plan__row:last-child {
  margin-bottom: 0;
}

.dashboard-food-plan__label {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  min-height: 5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dashboard-food-plan__label[data-meal="breakfast"] {
  background-color: #fef08a;
  border: 1px solid #eab308;
}

.dashboard-food-plan__label[data-meal="lunch"] {
  background-color: #86efac;
  border: 1px solid #22c55e;
}

.dashboard-food-plan__label[data-meal="dinner"] {
  background-color: #5eead4;
  border: 1px solid #14b8a6;
}

.dashboard-food-plan__label-text {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #14532d;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center;
}

.dashboard-food-plan__cards {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
}

.dashboard-food-plan__cards-inner {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.dashboard-food-plan__card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background-color: oklch(var(--b1));
  border: 1px solid oklch(var(--b3));
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px oklch(var(--p) / 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.dashboard-food-plan__card:hover {
  box-shadow: 0 4px 12px oklch(var(--p) / 0.15);
}

.dashboard-food-plan__card-figure {
  height: 5rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: oklch(var(--p) / 0.28);
  border-radius: 0.5rem 0.5rem 0 0;
}

.dashboard-food-plan__card-letter {
  font-size: 2.5rem;
  font-weight: 800;
  color: oklch(var(--p));
  opacity: 0.95;
}

.dashboard-food-plan__card-body {
  padding: 0.875rem;
}

.dashboard-food-plan__card-body .card-title {
  color: oklch(var(--bc));
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-food-plan__card-desc {
  color: oklch(var(--bc) / 0.75) !important;
  font-size: 0.875rem;
  line-height: 1.4;
}

.dashboard-food-plan__empty {
  font-size: 1rem;
  color: oklch(var(--bc) / 0.65);
  padding: 1rem 0;
}

html[data-theme="dark"] .dashboard-food-plan {
  background-color: #1e242b;
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .dashboard-food-plan__title {
  color: oklch(var(--bc));
}

html[data-theme="dark"] .dashboard-food-plan__label[data-meal="breakfast"] {
  background-color: #fef08a;
  border-color: #eab308;
}

html[data-theme="dark"] .dashboard-food-plan__label[data-meal="lunch"] {
  background-color: #4ade80;
  border-color: #22c55e;
}

html[data-theme="dark"] .dashboard-food-plan__label[data-meal="dinner"] {
  background-color: #2dd4bf;
  border-color: #14b8a6;
}

html[data-theme="dark"] .dashboard-food-plan__label-text {
  color: #14532d;
}

html[data-theme="dark"] .dashboard-food-plan__card {
  background-color: oklch(var(--b2));
  border-color: oklch(var(--b3));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .dashboard-food-plan__card-figure {
  background-color: oklch(var(--p) / 0.3);
}

html[data-theme="dark"] .dashboard-food-plan__card-letter {
  color: oklch(var(--p));
}

html[data-theme="dark"] .dashboard-food-plan__card-body .card-title {
  color: oklch(var(--bc));
}

html[data-theme="dark"] .dashboard-food-plan__card-desc {
  color: oklch(var(--bc) / 0.7) !important;
}

html[data-theme="dark"] .dashboard-food-plan__empty {
  color: oklch(var(--bc) / 0.6);
}

/* ========== Healing Herbs: Fizzy-style section (violet/amber, distinct from Food Plan) ========== */
.dashboard-herbs {
  background-color: rgba(139, 92, 246, 0.12);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard-herbs__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-herbs__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  color: oklch(var(--bc));
  margin: 0;
  margin-left: calc(2.5rem + 0.75rem);
  letter-spacing: 0.02em;
}

.dashboard-herbs__scroll-hint {
  margin: 0;
  flex-shrink: 0;
}

.dashboard-herbs__row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.dashboard-herbs__row:last-child {
  margin-bottom: 0;
}

.dashboard-herbs__label {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  min-height: 5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dashboard-herbs__label[data-period="morning"] {
  background-color: #fde047;
  border: 1px solid #eab308;
}

.dashboard-herbs__label[data-period="evening"] {
  background-color: #c4b5fd;
  border: 1px solid #8b5cf6;
}

.dashboard-herbs__label-text {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e1b4b;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center;
}

.dashboard-herbs__cards {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
}.dashboard-herbs__cards-inner {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.dashboard-herbs__card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background-color: oklch(var(--b1));
  border: 1px solid oklch(var(--b3));
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.dashboard-herbs__card:hover {
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.12);
}

.dashboard-herbs__card-figure {
  height: 5rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(139, 92, 246, 0.15);
  border-radius: 0.5rem 0.5rem 0 0;
}

.dashboard-herbs__card-icon {
  font-size: 2rem;
  opacity: 0.8;
}

.dashboard-herbs__card-body {
  padding: 0.875rem;
}

.dashboard-herbs__card-title {
  color: oklch(var(--bc));
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-herbs__card-desc {
  color: oklch(var(--bc) / 0.75);
  font-size: 0.875rem;
  line-height: 1.4;
}

.dashboard-herbs__empty {
  font-size: 1rem;
  color: oklch(var(--bc) / 0.65);
  padding: 1rem 0;
}

html[data-theme="dark"] .dashboard-herbs {
  background-color: #1e1b2e;
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .dashboard-herbs__title {
  color: oklch(var(--bc));
}

html[data-theme="dark"] .dashboard-herbs__label[data-period="morning"] {
  background-color: #fde047;
  border-color: #eab308;
}

html[data-theme="dark"] .dashboard-herbs__label[data-period="evening"] {
  background-color: #7c3aed;
  border-color: #6d28d9;
}

html[data-theme="dark"] .dashboard-herbs__label-text {
  color: #1e1b4b;
}

html[data-theme="dark"] .dashboard-herbs__label[data-period="evening"] .dashboard-herbs__label-text {
  color: #ffffff;
}

html[data-theme="dark"] .dashboard-herbs__card {
  background-color: oklch(var(--b2));
  border-color: oklch(var(--b3));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .dashboard-herbs__card-figure {
  background-color: rgba(139, 92, 246, 0.25);
}

html[data-theme="dark"] .dashboard-herbs__card-body .card-title {
  color: oklch(var(--bc));
}

html[data-theme="dark"] .dashboard-herbs__card-desc {
  color: oklch(var(--bc) / 0.7);
}

html[data-theme="dark"] .dashboard-herbs__empty {
  color: oklch(var(--bc) / 0.6);
}

/* ========== Healing Remedies: Fizzy-style section (amber/warm, distinct from Food Plan & Herbs) ========== */
.dashboard-remedies {
  background-color: rgba(217, 119, 6, 0.12);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
  border: 1px solid rgba(217, 119, 6, 0.2);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard-remedies__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dashboard-remedies__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  color: oklch(var(--bc));
  margin: 0;
  margin-left: calc(2.5rem + 0.75rem);
  letter-spacing: 0.02em;
}

.dashboard-remedies__scroll-hint {
  margin: 0;
  flex-shrink: 0;
}

.dashboard-remedies__row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.dashboard-remedies__row:last-child {
  margin-bottom: 0;
}

.dashboard-remedies__label {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  min-height: 5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dashboard-remedies__label[data-period="morning"] {
  background-color: #fde047;
  border: 1px solid #eab308;
}

.dashboard-remedies__label[data-period="evening"] {
  background-color: #c4b5fd;
  border: 1px solid #8b5cf6;
}

.dashboard-remedies__label-text {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #713f12;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center;
}

.dashboard-remedies__label[data-period="evening"] .dashboard-remedies__label-text {
  color: #4c1d95;
}

.dashboard-remedies__cards {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
}

.dashboard-remedies__cards-inner {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.dashboard-remedies__card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background-color: oklch(var(--b1));
  border: 1px solid oklch(var(--b3));
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.dashboard-remedies__card:hover {
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.dashboard-remedies__card-figure {
  height: 5rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(217, 119, 6, 0.2);
  border-radius: 0.5rem 0.5rem 0 0;
}

.dashboard-remedies__card-icon {
  font-size: 2rem;
  opacity: 0.85;
}

.dashboard-remedies__card-body {
  padding: 0.875rem;
}

.dashboard-remedies__card-title {
  color: oklch(var(--bc));
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-remedies__card-desc {
  color: oklch(var(--bc) / 0.75);
  font-size: 0.875rem;
  line-height: 1.4;
  margin-top: 0.25rem;
}

.dashboard-remedies__empty {
  font-size: 1rem;
  color: oklch(var(--bc) / 0.65);
  padding: 1rem 0;
}

html[data-theme="dark"] .dashboard-remedies {
  background-color: #2a2118;
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .dashboard-remedies__title {
  color: oklch(var(--bc));
}

html[data-theme="dark"] .dashboard-remedies__label[data-period="morning"] {
  background-color: #fde047;
  border-color: #eab308;
}

html[data-theme="dark"] .dashboard-remedies__label[data-period="evening"] {
  background-color: #7c3aed;
  border-color: #6d28d9;
}

html[data-theme="dark"] .dashboard-remedies__label-text {
  color: #713f12;
}

html[data-theme="dark"] .dashboard-remedies__label[data-period="evening"] .dashboard-remedies__label-text {
  color: #ffffff;
}

html[data-theme="dark"] .dashboard-remedies__card {
  background-color: oklch(var(--b2));
  border-color: oklch(var(--b3));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .dashboard-remedies__card-figure {
  background-color: rgba(217, 119, 6, 0.25);
}

html[data-theme="dark"] .dashboard-remedies__card-body .card-title {
  color: oklch(var(--bc));
}

html[data-theme="dark"] .dashboard-remedies__card-desc {
  color: oklch(var(--bc) / 0.7);
}

html[data-theme="dark"] .dashboard-remedies__empty {
  color: oklch(var(--bc) / 0.6);
}

/* ========== Dashboard calendar: daily goal met (3+ items) = check, else x ========== */
.dashboard-calendar {
  background-color: oklch(var(--p) / 0.1);
  border-radius: 1rem;
  padding: 1.75rem 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
  border: 1px solid oklch(var(--p) / 0.2);
  box-shadow: 0 4px 14px oklch(var(--p) / 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dashboard-calendar__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.25rem;
}

.dashboard-calendar__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: left;
  color: oklch(var(--bc));
  margin: 0;
  letter-spacing: 0.02em;
}

.dashboard-calendar__day-phase {
  font-size: 0.8125rem;
  color: oklch(var(--bc) / 0.65);
  margin: 0;
  font-weight: 500;
  flex-shrink: 0;
}

.dashboard-calendar__hint {
  font-size: 0.8125rem;
  color: oklch(var(--bc) / 0.65);
  margin: 0 0 1rem 0;
}

.dashboard-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.dashboard-calendar__weekday {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: oklch(var(--bc) / 0.6);
  text-align: center;
  padding-bottom: 0.25rem;
}

.dashboard-calendar__day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 0.5rem;
  background-color: oklch(var(--b1));
  border: 1px solid oklch(var(--b3));
  color: oklch(var(--bc));
  font-size: 0.875rem;
  font-weight: 500;
}

.dashboard-calendar__day--empty {
  background-color: transparent;
  border-color: transparent;
  visibility: hidden;
}

.dashboard-calendar__day--today {
  border-width: 2px;
  border-color: oklch(var(--p));
  box-shadow: 0 0 0 1px oklch(var(--p) / 0.3);
}

.dashboard-calendar__day-num {
  line-height: 1.2;
}

.dashboard-calendar__icon {
  font-size: 1rem;
  line-height: 1;
  margin-top: 0.125rem;
  font-weight: 700;
}

.dashboard-calendar__icon--check {
  color: #16a34a;
}

.dashboard-calendar__icon--miss {
  color: oklch(var(--bc) / 0.3);
  font-size: 1.5rem;
}

html[data-theme="dark"] .dashboard-calendar__icon--check {
  color: #4ade80;
}

html[data-theme="dark"] .dashboard-calendar__icon--miss {
  color: oklch(var(--bc) / 0.3);
}

html[data-theme="dark"] .dashboard-calendar__day--empty {
  background-color: transparent;
  border-color: transparent;
}

/* ========== My Healing Plan — document-style page (start → progress → end) ========== */
.healing-plan-doc {
  --healing-plan-doc-max: 42rem;
}

.healing-plan-doc__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: oklch(var(--bc));
  margin-bottom: 0.25rem;
}

.healing-plan-doc__subtitle {
  font-size: 0.9375rem;
  color: oklch(var(--bc) / 0.7);
  margin-bottom: 2rem;
}

.healing-plan-doc__section {
  margin-bottom: 2.5rem;
}

.healing-plan-doc__section:last-of-type {
  margin-bottom: 2rem;
}

.healing-plan-doc__section-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: oklch(var(--bc));
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.healing-plan-doc__overview .healing-plan-doc__phase-pill {
  padding: 0.5rem 0.75rem;
  background-color: oklch(var(--b2));
  border-radius: 0.5rem;
  border: 1px solid oklch(var(--b3));
}

.healing-plan-doc__phase-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.healing-plan-doc__phase-dot--1 { background-color: oklch(var(--p)); }
.healing-plan-doc__phase-dot--2 { background-color: #0d9488; }
.healing-plan-doc__phase-dot--3 { background-color: #7c3aed; }

.healing-plan-doc__quote-footer {
  font-size: 0.875rem;
  color: oklch(var(--bc) / 0.6);
  font-style: italic;
  text-align: center;
  padding: 1.5rem 1rem 0;
  border-top: 1px solid oklch(var(--b3));
  margin-top: 2rem;
}

/* ========== Healing Plan Calendar: scannable grid, soft status ========== */
.healing-plan-calendar__tab.tab-active {
  font-weight: 600;
}

.healing-plan-calendar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .healing-plan-calendar__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.625rem;
  }
}

@media (min-width: 768px) {
  .healing-plan-calendar__grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 0.75rem;
  }
}

.healing-plan-calendar__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 0.5rem 0.25rem;
  border-radius: 0.5rem;
  background-color: oklch(var(--b2));
  border: 1px solid oklch(var(--b3));
  text-decoration: none;
  color: oklch(var(--bc));
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.healing-plan-calendar__day:hover {
  background-color: oklch(var(--b3));
  border-color: oklch(var(--p) / 0.3);
}

.healing-plan-calendar__day--today {
  border-width: 2px;
  border-color: oklch(var(--p));
  background-color: oklch(var(--p) / 0.08);
  box-shadow: 0 0 0 1px oklch(var(--p) / 0.2);
}

.healing-plan-calendar__day--today:hover {
  background-color: oklch(var(--p) / 0.12);
}

.healing-plan-calendar__day--future {
  opacity: 0.7;
}

.healing-plan-calendar__day--future:hover {
  opacity: 0.85;
}

.healing-plan-calendar__day-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: oklch(var(--bc) / 0.9);
  line-height: 1.2;
}

.healing-plan-calendar__day-date {
  font-size: 0.6875rem;
  color: oklch(var(--bc) / 0.65);
  margin-top: 0.125rem;
}

.healing-plan-calendar__day-progress {
  margin-top: 0.25rem;
}

.healing-plan-calendar__day-progress-text {
  font-size: 0.625rem;
  font-weight: 600;
  color: oklch(var(--p));
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background-color: oklch(var(--p) / 0.12);
}

.healing-plan-calendar__day-status {
  margin-top: 0.25rem;
  min-height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.healing-plan-calendar__status {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.healing-plan-calendar__status--today {
  background-color: oklch(var(--p) / 0.2);
  color: oklch(var(--p));
}

.healing-plan-calendar__status--done {
  color: #059669;
  background-color: rgba(5, 150, 105, 0.12);
}

.healing-plan-calendar__status--incomplete {
  color: oklch(var(--bc) / 0.5);
  background-color: oklch(var(--b3));
}

.healing-plan-calendar__status--upcoming {
  color: oklch(var(--bc) / 0.35);
}