/* ═══════════════════════════════════════════════════
   Steady Day — Cozy & Magical
   Like opening a beloved journal on a quiet morning
   ═══════════════════════════════════════════════════ */

:root {
  /* Warm linen background — like morning sunlight on parchment */
  --bg: #f8f5f0;
  --bg-warm: #faf8f3;
  --bg-card: #fffdf9;
  --bg-elevated: #fefcf8;
  --bg-inset: #f2ece3;

  /* Muted sage greens — forest bathing, not neon */
  --green-dark: #4a6741;
  --green: #7a9e6d;
  --green-light: #a4c495;
  --green-pale: #dcefd4;
  --green-bg: rgba(122, 158, 109, 0.07);
  --green-border: rgba(122, 158, 109, 0.22);
  --green-glow: rgba(122, 158, 109, 0.10);

  /* Dusty lavender — wildflowers at dusk */
  --purple: #9a7da8;
  --purple-light: #c4a8d2;
  --purple-pale: #eee3f4;
  --purple-bg: rgba(154, 125, 168, 0.07);
  --purple-border: rgba(154, 125, 168, 0.22);

  /* Warm honey amber — golden hour glow */
  --gold: #c4a265;
  --gold-light: #dcc48e;
  --gold-pale: #f7ecd3;
  --gold-bg: rgba(196, 162, 101, 0.07);
  --gold-border: rgba(196, 162, 101, 0.22);

  /* Warm neutrals */
  --cream: #fefaf4;
  --sand: #ede5d8;
  --sage: #dde9d6;
  --linen: #f6f1e9;

  /* Text — warm earth tones, never cold */
  --text: #33402e;
  --text-secondary: #5e6e55;
  --text-muted: #8d9a82;
  --text-faint: #bac6af;
  --text-warm: #4d5e44;

  /* Borders — gossamer thin, almost invisible */
  --border: #eae4da;
  --border-light: #f2ece4;
  --border-whisper: rgba(80, 60, 30, 0.03);

  --danger: #c45050;
  --danger-bg: rgba(196, 80, 80, 0.06);

  /* Organic, hand-drawn feeling shapes */
  --radius: 22px;
  --radius-sm: 16px;
  --radius-xs: 11px;
  --radius-full: 100px;

  /* Warm dreamy shadows — like candlelight glow */
  --shadow-whisper: 0 1px 3px rgba(80, 60, 30, 0.03);
  --shadow-soft: 0 2px 10px rgba(80, 60, 30, 0.04), 0 1px 3px rgba(80, 60, 30, 0.02);
  --shadow-float: 0 6px 24px rgba(80, 60, 30, 0.06), 0 2px 6px rgba(80, 60, 30, 0.03);
  --shadow-dream: 0 10px 48px rgba(80, 60, 30, 0.08), 0 3px 12px rgba(80, 60, 30, 0.03);
  --shadow-glow: 0 4px 28px rgba(122, 158, 109, 0.16);
  --shadow-card: 0 2px 14px rgba(80, 60, 30, 0.04), 0 0 0 1px rgba(80, 60, 30, 0.02);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Soft rose/blush accent for love touches */
  --rose: #d4868e;
  --rose-light: #f2ccd0;
  --rose-bg: rgba(212, 134, 142, 0.06);

  --nav-height: 76px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Slow, graceful movement — like a breath */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-gentle: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══ RESET ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.6;
  touch-action: manipulation;
  letter-spacing: -0.01em;
}
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; -webkit-tap-highlight-color: transparent; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

/* ═══ APP SHELL ═══ */
.app {
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  /* Warm watercolor glow — like sunlight through curtains */
  background-image:
    radial-gradient(ellipse at 15% 30%, rgba(221, 233, 214, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(238, 227, 244, 0.2) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 85%, rgba(247, 236, 211, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(242, 204, 208, 0.08) 0%, transparent 35%);
}

@media (min-width: 481px) {
  body {
    background: linear-gradient(155deg, #ede5d6 0%, #d8e4d0 35%, #ece0f2 70%, #f7ecd3 100%);
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh;
  }
  .app {
    height: 100vh;
    max-height: 900px;
    border-radius: 40px;
    box-shadow:
      0 30px 100px rgba(80, 60, 30, 0.1),
      0 12px 40px rgba(80, 60, 30, 0.05),
      0 0 0 1px rgba(255,255,255,0.7) inset;
  }
}

/* When installed as standalone PWA — no phone frame needed */
@media (display-mode: standalone) {
  body {
    background: var(--bg) !important;
  }
  .app {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ═══ SCREENS ═══ */
.screen {
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.screen.active { display: flex; flex-direction: column; }

/* ═══ LUCIDE ICONS — hand-drawn quality ═══ */
[data-lucide], .lucide {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.6;
  color: currentColor;
  transition: transform 0.3s var(--ease-gentle), color 0.3s var(--ease);
}
.inline-icon { width: 15px; height: 15px; vertical-align: -2px; }
.nav-icon [data-lucide], .nav-icon .lucide { width: 23px; height: 23px; }
.more-icon [data-lucide], .more-icon .lucide { width: 20px; height: 20px; color: var(--green); }
.ob-logo [data-lucide], .ob-logo .lucide { width: 36px; height: 36px; color: var(--green); stroke-width: 1.4; }
.mode-opt-icon [data-lucide], .mode-opt-icon .lucide { width: 26px; height: 26px; }
.reflection-icon [data-lucide], .reflection-icon .lucide { width: 32px; height: 32px; color: var(--purple); }
.minimum-icon [data-lucide], .minimum-icon .lucide { width: 32px; height: 32px; color: var(--green); }
.minimum-task-icon [data-lucide], .minimum-task-icon .lucide { width: 20px; height: 20px; color: var(--green); }

/* Priority dots */
.priority-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.priority-dot.high { background: var(--danger); }
.priority-dot.med { background: var(--gold); }
.priority-dot.low { background: var(--green-light); }

/* Sleep/mood chips — hand-crafted numbered scale */
.chip-mood {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1.5px solid var(--border);
  transition: all 0.2s var(--ease);
}
.chip-mood .mood-face {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
}
.chip-mood .mood-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.02em; }
.chip-mood.active { border-color: var(--green); background: var(--green-bg); }
.chip-mood.active .mood-face { color: var(--green-dark); }
.chip-mood.active .mood-label { color: var(--green); font-weight: 600; }
.chip-mood[data-value="terrible"] .mood-face { color: var(--danger); }
.chip-mood[data-value="poor"] .mood-face { color: var(--gold); }
.chip-mood[data-value="okay"] .mood-face { color: var(--text-muted); }
.chip-mood[data-value="great"] .mood-face { color: var(--green); }
.chip-mood[data-value="amazing"] .mood-face { color: var(--purple); }

/* ═══ ONBOARDING ═══ */
.onboarding {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
  animation: breatheIn 0.8s var(--ease-out);
  /* Golden morning light overlay */
  background:
    radial-gradient(ellipse at 50% 70%, rgba(221, 233, 214, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 30%, rgba(254, 250, 244, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 20%, rgba(247, 236, 211, 0.2) 0%, transparent 40%);
}
.ob-logo {
  width: 72px; height: 72px;
  margin-bottom: 12px;
  animation: floatGentle 5s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  background: linear-gradient(145deg, var(--green-pale) 0%, rgba(221, 233, 214, 0.4) 100%);
  border-radius: 50%;
  box-shadow:
    0 6px 24px rgba(122, 158, 109, 0.15),
    0 0 0 6px rgba(122, 158, 109, 0.05),
    inset 0 1px 2px rgba(255,255,255,0.6);
}
.ob-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--green-dark);
  font-style: italic;
  letter-spacing: -1.5px;
  line-height: 1.08;
}
.ob-tagline {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.ob-motto {
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
}
.ob-steps { width: 100%; max-width: 320px; margin-top: 44px; }
.ob-step {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: breatheIn 0.5s var(--ease-out);
}
.ob-step.active { display: flex; }
.ob-q {
  font-size: 20px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-warm);
}
.ob-hint { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-style: italic; }

.pillar-setup { display: flex; flex-direction: column; gap: 14px; }
.pillar-item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease-gentle);
}
.pillar-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.pillar-item:active { transform: scale(0.98); }
.pillar-color {
  width: 16px; height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.pillar-label { font-weight: 600; font-size: 15px; color: var(--text-warm); }
.pillar-desc { font-size: 12px; color: var(--text-muted); margin-left: auto; font-style: italic; }

.ob-schedule { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.ob-schedule label {
  font-size: 13px; color: var(--text-secondary);
  display: flex; flex-direction: column; gap: 8px;
  font-weight: 500;
}

/* ═══ INPUTS ═══ */
.input {
  width: 100%;
  padding: 15px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 15px;
  outline: none;
  transition: all 0.35s var(--ease-gentle);
}
.input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow), var(--shadow-soft);
  background: white;
}
.input::placeholder { color: var(--text-faint); font-style: italic; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.select-sm {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  font-size: 13px;
  font-weight: 500;
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  width: 100%;
  padding: 17px 28px;
  background: linear-gradient(140deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.4s var(--ease-gentle);
  box-shadow:
    0 4px 20px rgba(74, 103, 65, 0.2),
    0 2px 6px rgba(74, 103, 65, 0.12),
    inset 0 1px 1px rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(74, 103, 65, 0.25),
    0 3px 10px rgba(74, 103, 65, 0.15),
    inset 0 1px 1px rgba(255,255,255,0.15);
}
.btn-primary:active { transform: scale(0.97) translateY(0); }

.btn-ghost {
  padding: 12px 22px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
}
.btn-ghost:hover { background: var(--green-bg); }

.btn-add {
  width: 100%;
  padding: 16px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}
.btn-add:hover {
  background: var(--green-bg);
  border-color: var(--green-border);
  color: var(--green-dark);
  transform: translateY(-1px);
}

/* ═══ CHIPS ═══ */
.chip {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-whisper);
}
.chip:hover { border-color: var(--green-border); transform: translateY(-1px); }
.chip.active {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--green-dark);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(107, 143, 94, 0.15);
}
.chip-emoji {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  background: var(--bg-card);
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease-bounce);
}
.chip-emoji:hover { transform: scale(1.12) translateY(-2px); box-shadow: var(--shadow-float); }
.chip-emoji.active {
  border-color: var(--green);
  background: var(--green-bg);
  transform: scale(1.08);
  box-shadow: 0 3px 12px rgba(107, 143, 94, 0.2);
}

/* ═══ TOGGLE ═══ */
.toggle { position: relative; display: inline-block; width: 48px; height: 28px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--sand);
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.toggle-slider::before {
  content: '';
  position: absolute; left: 3px; top: 3px;
  width: 22px; height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.4s var(--ease-bounce);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.toggle input:checked + .toggle-slider { background: var(--green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ═══ MORNING CHECK-IN ═══ */
.checkin {
  flex: 1;
  padding: 60px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  animation: breatheIn 0.7s var(--ease-out);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(247, 236, 211, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(221, 233, 214, 0.2) 0%, transparent 40%);
}
.checkin-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--text-warm);
  letter-spacing: -0.4px;
}
.checkin-sub { color: var(--text-secondary); font-size: 14px; margin-top: -20px; line-height: 1.6; font-style: italic; }
.checkin-section { display: flex; flex-direction: column; gap: 12px; }
.checkin-label {
  font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.checkin-options { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══ MAIN SHELL ═══ */
.main-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.view {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 28px 22px calc(var(--nav-height) + var(--safe-bottom) + 20px);
  -webkit-overflow-scrolling: touch;
  contain: layout style;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.view.active { display: block; }

/* ═══ TODAY VIEW ═══ */
.today-header { margin-bottom: 30px; }
.today-greeting { margin-bottom: 22px; }
.greeting-text {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.4px;
  animation: breatheIn 0.7s var(--ease-out);
  line-height: 1.3;
}
.greeting-text span {
  font-weight: 700;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-style: italic;
}
.greeting-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
  opacity: 0.85;
  letter-spacing: 0.01em;
}
.today-mode { display: flex; align-items: center; gap: 14px; }
.mode-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
}
.mode-badge {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--sage);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(107, 143, 94, 0.15);
}
.mode-badge:hover { transform: scale(1.03); box-shadow: var(--shadow-float); }
.mode-badge:active { transform: scale(0.97); }

/* ═══ Energy Indicator ═══ */
.energy-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
  animation: floatUp 0.4s var(--ease-out) both;
}
.energy-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.energy-info {
  flex: 1;
  min-width: 0;
}
.energy-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.energy-bar {
  height: 5px;
  background: var(--sand);
  border-radius: 3px;
  overflow: hidden;
}
.energy-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 3px;
  transition: width 0.6s var(--ease-out);
}

/* ═══ Pillar Progress — Venn Diagram ═══ */
.pillar-progress {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 22px;
  border: none;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-card);
  animation: floatUp 0.6s var(--ease-out) 0.1s both;
  position: relative;
  overflow: hidden;
}
/* Warm sun-glow behind the card */
.pillar-progress::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px; right: -30px; bottom: -30px;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(164, 196, 149, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 60%, rgba(247, 236, 211, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.progress-venn {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.venn-circle {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  opacity: 0.5;
  transition: all 0.5s var(--ease);
  /* Watercolor-like blur effect */
  filter: blur(1px);
  mix-blend-mode: multiply;
}
.venn-circle:hover { opacity: 0.7; transform: scale(1.06); filter: blur(0.5px); }
.venn-circle.mental {
  background: radial-gradient(circle, var(--green-light) 30%, var(--green-pale) 100%);
  top: 2px; left: 26px;
}
.venn-circle.physical {
  background: radial-gradient(circle, var(--purple-light) 30%, var(--purple-pale) 100%);
  bottom: 4px; left: 4px;
}
.venn-circle.spiritual {
  background: radial-gradient(circle, var(--gold-light) 30%, var(--gold-pale) 100%);
  bottom: 4px; right: 4px;
}
.venn-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  line-height: 1.4;
  z-index: 1;
}

.pillar-counts { display: flex; flex-direction: column; gap: 10px; z-index: 1; flex: 1; min-width: 0; }
.pillar-count {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-warm);
  border: 1px solid var(--border-whisper);
  box-shadow: var(--shadow-whisper);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pillar-count:hover { transform: translateX(4px); box-shadow: var(--shadow-soft); }
.pillar-count strong { font-weight: 700; font-size: 14px; color: var(--text); }
.pc-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.pillar-count.mental .pc-dot { background: var(--green); }
.pillar-count.physical .pc-dot { background: var(--purple); }
.pillar-count.spiritual .pc-dot { background: var(--gold); }

/* ═══ Daily Quote ═══ */
.daily-quote {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 50px 24px 24px;
  margin-bottom: 26px;
  border: none;
  position: relative;
  box-shadow: var(--shadow-card);
  animation: floatUp 0.6s var(--ease-out) 0.2s both;
  overflow: hidden;
}
.daily-quote::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-pale), var(--gold-light), var(--gold-pale));
  opacity: 0.7;
}
.quote-text {
  font-size: 10px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
}
.quote-sub {
  font-size: 16px;
  margin-top: 8px;
  font-style: italic;
  color: var(--text-secondary);
  font-family: var(--font-display);
  line-height: 1.5;
}
.quote-heart {
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--rose);
  transition: all 0.4s var(--ease-bounce);
  opacity: 0.4;
}
.quote-heart:hover {
  transform: translateY(-50%) scale(1.3);
  color: var(--rose);
  opacity: 1;
  filter: drop-shadow(0 2px 8px rgba(212, 134, 142, 0.35));
}

/* ═══ Filter Bars ═══ */
.today-filter-bar, .tasks-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.today-filter-bar::-webkit-scrollbar, .tasks-filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.filter-chip:active { transform: scale(0.95); }
.filter-chip.active {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
}

/* ═══ Tasks List View ═══ */
.tasks-pillar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 16px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tasks-pillar-header:first-child { margin-top: 0; }
.tasks-pillar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.tasks-pillar-dot.mental { background: var(--green); }
.tasks-pillar-dot.physical { background: var(--gold); }
.tasks-pillar-dot.spiritual { background: var(--purple); }

.tasks-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  box-shadow: var(--shadow-whisper);
  cursor: pointer;
  transition: transform 0.1s ease;
}
.tasks-list-item:active { transform: scale(0.98); }
.tasks-list-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tasks-list-info { flex: 1; min-width: 0; }
.tasks-list-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tasks-list-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}
.tasks-list-meta span { white-space: nowrap; }
.tasks-list-chevron { color: var(--text-faint); flex-shrink: 0; }

/* ═══ Event/Shared card badges ═══ */
.task-event-badge {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--gold-bg);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.task-shared-badge {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--purple-bg);
  color: var(--purple);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.task-card.event-card {
  border-left: 3px solid var(--gold);
}
.task-card.shared-card {
  border-left: 3px solid var(--purple-light);
}

/* ═══ Today Tasks ═══ */
.today-tasks { display: flex; flex-direction: column; gap: 11px; }
.task-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.task-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--green-light);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.task-card:hover::before { opacity: 1; }
.task-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}
.task-card:active { transform: scale(0.98); }
.task-card.done {
  opacity: 0.55;
  transform: none;
  background: var(--bg-warm);
}
.task-card.done:hover { transform: none; box-shadow: var(--shadow-card); }
.task-card.done .task-card-name { text-decoration: line-through; color: var(--text-muted); }
.task-check-area {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  margin: -10px -4px -10px -8px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.task-check-area:active {
  background: rgba(122, 158, 109, 0.12);
}
.task-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s var(--ease-bounce);
  cursor: pointer;
  background: var(--bg-warm);
}
.task-check.pop {
  animation: checkPop 0.4s var(--ease-bounce);
}
.task-card.completing {
  animation: completeSlide 0.4s var(--ease) forwards;
}
@keyframes completeSlide {
  0% { transform: none; opacity: 1; }
  50% { transform: scale(0.97); opacity: 0.8; }
  100% { transform: none; opacity: 0.55; }
}
.task-check:hover { transform: scale(1.15); border-color: var(--green-light); }
.task-check.mental { border-color: var(--green); background: var(--green-bg); }
.task-check.physical { border-color: var(--purple); background: var(--purple-bg); }
.task-check.spiritual { border-color: var(--gold); background: var(--gold-bg); }
.task-card.done .task-check {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  border-color: var(--green);
  animation: checkPop 0.5s var(--ease-bounce);
  box-shadow: 0 2px 10px rgba(122, 158, 109, 0.3);
}
.task-card.done .task-check::after {
  content: '✓'; color: white; font-size: 15px; font-weight: 800;
}
.task-card-info { flex: 1; min-width: 0; }
.task-card-name { font-size: 14px; font-weight: 500; transition: all 0.3s var(--ease); color: var(--text-warm); }
.task-card-meta {
  font-size: 12px; color: var(--text-muted);
  display: flex; gap: 8px; align-items: center; margin-top: 4px;
}
.task-card-dur { display: flex; align-items: center; gap: 3px; }
.task-drag {
  color: var(--text-faint);
  font-size: 16px; padding: 4px;
  cursor: grab;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.task-card:hover .task-drag { opacity: 0.6; }
.task-min-badge {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--green-bg);
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.task-focus-pill {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.task-focus-pill.deep {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}
.task-focus-pill.light {
  background: rgba(96, 165, 250, 0.12);
  color: #3b82f6;
}

.task-goal-link {
  font-size: 11px;
  color: var(--green-dark);
  margin-top: 4px;
  font-style: italic;
  opacity: 0.85;
}

.task-delegate-badge {
  opacity: 0.5;
  display: inline-flex;
  align-items: center;
}

.all-done-state {
  text-align: center;
  padding: 48px 24px;
  animation: fadeIn 0.5s ease;
}
.all-done-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.all-done-state h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
}
.all-done-state p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ═══ PLAN VIEW ═══ */
.plan-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.plan-nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease);
}
.plan-nav-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-float); }
.plan-date { flex: 1; }
.plan-date h2 { font-size: 17px; font-weight: 600; color: var(--text-warm); }
.plan-content { display: flex; flex-direction: column; gap: 24px; }

.plan-timeline { display: flex; flex-direction: column; gap: 0; }
.time-block {
  display: flex; gap: 14px;
  padding: 12px 0;
  border-left: 3px solid var(--border-light);
  padding-left: 16px;
  min-height: 56px;
  transition: all 0.3s var(--ease);
}
.time-block.active { border-left-color: var(--green); }
.time-block-time {
  font-size: 11px;
  color: var(--text-muted);
  min-width: 56px;
  padding-top: 5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.time-block-content {
  flex: 1;
  background: var(--bg-card);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  border: none;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease);
}
.time-block-content:hover { box-shadow: var(--shadow-float); transform: translateX(3px); }
.time-block-name { font-size: 14px; font-weight: 600; color: var(--text-warm); }
.time-block-range { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

.pool-title { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--text-warm); font-family: var(--font-display); }
.pool-filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pool-section { margin-bottom: 20px; }
.pool-section-title {
  font-size: 10px; font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.pool-task {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-xs);
  border: none;
  margin-bottom: 8px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease);
}
.pool-task:hover { box-shadow: var(--shadow-float); transform: translateX(3px); }
.pool-task-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
}
.pool-task-name { flex: 1; font-size: 14px; font-weight: 400; color: var(--text-warm); }
.pool-task-drag { color: var(--text-faint); cursor: grab; opacity: 0.5; }

/* ═══ CATEGORIES VIEW ═══ */
.view-topbar {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.view-topbar h2 {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-warm);
}
.back-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, background 0.12s ease;
  cursor: pointer;
  color: var(--text-warm);
  -webkit-tap-highlight-color: transparent;
}
.back-btn:hover { transform: scale(1.05); }
.back-btn:active { transform: scale(0.92); background: var(--bg-inset); }

.categories-list { display: flex; flex-direction: column; gap: 14px; }
.category-group {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: none;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease);
}
.category-group:hover { box-shadow: var(--shadow-float); }
.category-header {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.category-header:hover { background: var(--bg-warm); }
.category-icon {
  width: 36px; height: 36px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.category-icon.mental { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.category-icon.physical { background: linear-gradient(135deg, var(--purple), #7a5a87); }
.category-icon.spiritual { background: linear-gradient(135deg, var(--gold), #9a7a4a); }
.category-title { flex: 1; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-warm); }
.category-chevron { color: var(--text-muted); font-size: 14px; transition: transform 0.4s var(--ease-bounce); }
.category-group.open .category-chevron { transform: rotate(180deg); }

.subcategory-list { padding: 0 20px 16px; display: none; animation: breatheIn 0.3s var(--ease-out); }
.category-group.open .subcategory-list { display: block; }
.subcategory-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-secondary);
}
.subcategory-count {
  background: var(--bg-inset);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.add-subcategory {
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 600;
}

/* ═══ PARTNER VIEW ═══ */
.partner-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.partner-header h2 { font-size: 24px; font-weight: 700; font-family: var(--font-display); color: var(--text-warm); flex: 1; }
.partner-avatars { display: flex; gap: 10px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: white;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s var(--ease-bounce);
}
.avatar:hover { transform: scale(1.1); }
.avatar.you { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.avatar.partner { background: linear-gradient(135deg, var(--purple), #7a5a87); }

.partner-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1.5px solid var(--border-light); }
.tab {
  flex: 1; padding: 14px;
  font-size: 14px; font-weight: 600;
  text-align: center;
  border-bottom: 2.5px solid transparent;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
  margin-bottom: -1.5px;
}
.tab.active { border-bottom-color: var(--green-dark); color: var(--text-warm); }

.partner-filter {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  font-size: 13px; color: var(--text-secondary); font-weight: 500;
}
.filter-btn { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.shared-section-title {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; color: var(--text-faint);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.shared-task-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: none;
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease);
}
.shared-task-item:hover { box-shadow: var(--shadow-float); transform: translateY(-1px); }
.shared-task-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.shared-task-info { flex: 1; }
.shared-task-name { font-size: 14px; font-weight: 500; color: var(--text-warm); }
.shared-task-schedule { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.shared-task-assignee {
  font-size: 12px; color: var(--text-secondary);
  font-weight: 600;
  padding: 5px 12px;
  background: var(--bg-inset);
  border-radius: var(--radius-full);
}

/* ═══ MORE VIEW ═══ */
.more-list { display: flex; flex-direction: column; gap: 10px; }
.more-item {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-warm);
  transition: transform 0.1s ease, background 0.1s ease;
  box-shadow: var(--shadow-card);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.more-item:hover { background: var(--bg-elevated); }
.more-item:active { transform: scale(0.97); background: var(--bg-inset); }
.more-icon { font-size: 24px; display: flex; align-items: center; justify-content: center; width: 32px; }

/* ═══ CALENDAR VIEW ═══ */
.calendar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.calendar-header h2 { font-size: 24px; font-weight: 700; font-family: var(--font-display); color: var(--text-warm); }
.cal-nav {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease);
}
.cal-nav:hover { transform: scale(1.08); box-shadow: var(--shadow-float); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 28px;
}
.cal-day-header {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
  padding: 8px;
  letter-spacing: 0.3px;
}
.cal-day {
  text-align: center;
  padding: 11px 4px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-weight: 500;
  color: var(--text-secondary);
}
.cal-day.today {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(107, 143, 94, 0.35);
}
.cal-day.selected:not(.today) {
  background: var(--green-bg);
  border: 2px solid var(--green-border);
  font-weight: 600;
}
.cal-day.has-event::after {
  content: '';
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
  margin: 2px auto 0;
}
.cal-day.other-month { color: var(--text-faint); opacity: 0.5; }
.cal-day:hover:not(.today) { background: var(--green-bg); transform: scale(1.1); }
.cal-day.today:hover { box-shadow: 0 4px 16px rgba(107, 143, 94, 0.45); }

.calendar-events { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.cal-event {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--green);
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease);
  cursor: grab;
}
.cal-event:hover { box-shadow: var(--shadow-float); transform: translateX(3px); }
.cal-event:active { cursor: grabbing; }
.cal-event.dragging { opacity: 0.4; transform: scale(0.95); }
.cal-event.purple { border-left-color: var(--purple); }
.cal-event.gold { border-left-color: var(--gold); }
.cal-event-drag { font-size: 14px; color: var(--text-faint); cursor: grab; user-select: none; }
.cal-event-time { font-size: 12px; color: var(--text-muted); min-width: 88px; font-weight: 600; }
.cal-event-name { font-size: 14px; font-weight: 500; color: var(--text-warm); flex: 1; }

/* Calendar drag-drop targets */
.cal-day.drop-target { outline: 2px dashed var(--green-border); outline-offset: -2px; }
.cal-day.drag-over { background: var(--green-bg) !important; outline-color: var(--green); transform: scale(1.1); }

/* ═══ REFLECTION ═══ */
.reflection {
  display: flex; flex-direction: column; gap: 28px;
  animation: breatheIn 0.6s var(--ease-out);
}
.reflection-header { text-align: center; }
.reflection-icon { font-size: 40px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1)); }
.reflection-header h2 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-top: 12px;
  color: var(--text-warm);
}
.reflection-sub { color: var(--text-muted); font-size: 14px; margin-top: 8px; font-style: italic; }
.reflection-questions { display: flex; flex-direction: column; gap: 24px; }
.ref-q label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 10px; color: var(--text-warm); }
.btn-save-reflection { margin-top: 16px; }

/* ═══ MINIMUM DAY ═══ */
.minimum-day {
  display: flex; flex-direction: column; gap: 22px;
  text-align: center;
  animation: breatheIn 0.6s var(--ease-out);
}
.minimum-header { margin-bottom: 10px; }
.minimum-icon { font-size: 40px; animation: floatGentle 4s ease-in-out infinite; filter: drop-shadow(0 3px 8px rgba(107, 143, 94, 0.2)); }
.minimum-day h2 { font-family: var(--font-display); font-size: 26px; margin-top: 12px; color: var(--text-warm); }
.minimum-sub { color: var(--text-muted); font-size: 14px; margin-top: 6px; font-style: italic; }
.minimum-tasks { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.minimum-task-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease);
}
.minimum-task-item:hover { transform: translateX(6px); box-shadow: var(--shadow-float); }
.minimum-task-icon { font-size: 22px; }
.minimum-task-name { font-size: 14px; font-weight: 500; color: var(--text-warm); }
.minimum-note { font-size: 13px; color: var(--text-muted); font-style: italic; margin-top: 6px; line-height: 1.5; }

/* ═══ SETTINGS ═══ */
.settings { display: flex; flex-direction: column; gap: 24px; }
.settings-list { display: flex; flex-direction: column; gap: 20px; }
.setting-item { display: flex; flex-direction: column; gap: 8px; }
.setting-item label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.setting-group { padding-top: 16px; border-top: 1px solid var(--border-light); }
.setting-group h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--text-warm); font-family: var(--font-display); }

/* Sync status indicator */
.sync-status {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
.sync-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sync-dot.online { background: var(--green); box-shadow: 0 0 6px rgba(122, 158, 109, 0.5); animation: gentlePulse 2s infinite; }
.sync-dot.offline { background: var(--text-faint); }

/* Pairing code display */
.pairing-code-display { text-align: center; margin: 12px 0; }
.pairing-code {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--green-dark);
  padding: 16px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 2px dashed var(--green-border);
  display: inline-block;
  margin-top: 8px;
}

/* ═══ MODAL ═══ */
.modal {
  position: fixed; inset: 0;
  background: rgba(51, 64, 46, 0.2);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.25s var(--ease);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
.modal.hidden { display: none; }
.modal-content {
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  animation: modalSlideUp 0.45s var(--ease-out);
  box-shadow: 0 -10px 50px rgba(80, 60, 30, 0.1);
}
.modal-sm {
  border-radius: 28px;
  margin: auto 20px;
  max-height: 75vh;
  box-shadow: var(--shadow-dream);
  padding: 28px 24px;
}
.modal:has(.modal-sm),
.modal.modal-centered {
  align-items: center;
}
.modal-sm-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-warm);
  margin-bottom: 6px;
}
.modal-sm-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
}
.modal-sm-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.modal-sm-actions .btn-ghost {
  flex: 1;
  text-align: center;
}
.modal-sm-actions .btn-primary {
  flex: 1.5;
}
.modal-header {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0;
  background: var(--bg);
  z-index: 1;
}
.modal-header h3 { flex: 1; font-size: 18px; font-weight: 600; color: var(--text-warm); }
.save-btn { color: var(--green-dark); font-weight: 700; font-size: 15px; }
.modal-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.modal-close { cursor: pointer; font-size: 20px; opacity: 0.6; transition: opacity 0.2s; }
.modal-close:hover { opacity: 1; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.duration-control { display: flex; align-items: center; gap: 12px; }
.dur-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease);
}
.dur-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-float); }
.dur-input { width: 72px; text-align: center; font-weight: 600; }
.focus-type-options { display: flex; gap: 8px; }

/* ═══ Mode Selector Modal ═══ */
.modal-mode-title {
  font-family: var(--font-display);
  font-size: 26px;
  text-align: center;
  color: var(--text-warm);
}
.modal-mode-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  margin-bottom: 24px;
}
.mode-options { display: flex; flex-direction: column; gap: 12px; }
.mode-option {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--bg-card);
  text-align: left;
  transition: all 0.35s var(--ease);
  position: relative;
  box-shadow: var(--shadow-card);
}
.mode-option:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.mode-option.active {
  background: var(--green-bg);
  box-shadow: 0 2px 16px rgba(107, 143, 94, 0.15), 0 0 0 1.5px var(--green-border);
}
.mode-option.active::after {
  content: '✓';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(107, 143, 94, 0.3);
}
.mode-opt-icon { font-size: 28px; margin-top: 2px; }
.mode-opt-info { flex: 1; padding-right: 40px; }
.mode-opt-info strong { font-size: 15px; color: var(--text-warm); }
.mode-opt-info p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }
.mode-opt-details {
  margin-top: 10px; padding-left: 18px;
  font-size: 12px; color: var(--text-muted);
  list-style: disc;
}
.mode-opt-details li { margin-bottom: 4px; }

/* ═══ BOTTOM NAV ═══ */
.bottom-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-height);
  padding-bottom: var(--safe-bottom);
  background: var(--bg-card);
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  box-shadow: 0 -4px 28px rgba(80, 60, 30, 0.04);
  /* Subtle warm frost */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 253, 249, 0.92);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.1s ease;
  color: var(--text-muted);
  -webkit-tap-highlight-color: transparent;
}
.nav-item:hover { color: var(--text-secondary); }
.nav-item.active { color: var(--green-dark); }
.nav-item:active { transform: scale(0.92); }
.nav-icon { font-size: 20px; transition: transform 0.15s ease; display: flex; align-items: center; justify-content: center; }
.nav-item:hover .nav-icon { transform: translateY(-1px); }
.nav-item.active .nav-icon { transform: scale(1.08); }
.nav-label { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; }
.nav-add {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow:
    0 6px 24px rgba(74, 103, 65, 0.28),
    0 2px 8px rgba(74, 103, 65, 0.15),
    0 0 0 5px rgba(122, 158, 109, 0.08);
  transition: transform 0.12s ease;
  margin-top: -18px;
  -webkit-tap-highlight-color: transparent;
}
.nav-add:hover {
  transform: scale(1.06) translateY(-2px);
}
.nav-add:active { transform: scale(0.9); }
.nav-add .nav-icon { font-size: 28px; font-weight: 300; }
.nav-add .nav-label { display: none; }

/* ═══ TOAST ═══ */
.toast {
  position: fixed;
  bottom: 96px; left: 50%;
  transform: translateX(-50%);
  background: var(--text-warm);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  animation: toastIn 0.5s var(--ease-bounce);
  box-shadow: var(--shadow-dream);
  letter-spacing: 0.01em;
}
.toast.hidden { display: none; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes breatheIn {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-3px) rotate(1deg); }
  50% { transform: translateY(-6px) rotate(0deg); }
  75% { transform: translateY(-3px) rotate(-1deg); }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.92); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes checkPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes viewFadeIn {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.9; }
}

@keyframes celebFloat {
  0% { transform: translateY(0) translateX(0) rotate(0deg) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { opacity: 0.9; transform: translateY(-45vh) translateX(var(--drift, 10px)) rotate(180deg) scale(1.1); }
  100% { transform: translateY(-90vh) translateX(calc(var(--drift, 10px) * 2)) rotate(400deg) scale(0.4); opacity: 0; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ═══ GOALS VIEW ═══ */
.view-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; font-style: italic; }
.goals-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.goal-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px;
  border: none;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease);
}
.goal-card:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); }
.goal-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.goal-pillar-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.goal-card-title { font-size: 16px; font-weight: 600; flex: 1; color: var(--text-warm); }
.goal-card-target { font-size: 12px; color: var(--text-muted); }
.goal-progress-bar {
  height: 7px;
  background: var(--bg-inset);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
}
.goal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-light), var(--green));
  border-radius: 6px;
  transition: width 0.6s var(--ease);
  position: relative;
}
.goal-progress-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.goal-steps-list { display: flex; flex-direction: column; gap: 10px; }
.goal-step-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 5px 0;
  transition: all 0.3s var(--ease);
}
.goal-step-item:hover { color: var(--text-warm); transform: translateX(4px); }
.goal-step-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-bounce);
}
.goal-step-item.linked .goal-step-check {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 2px 6px rgba(107, 143, 94, 0.25);
}
.goal-step-link {
  font-size: 11px;
  color: var(--green-dark);
  margin-left: auto;
  font-weight: 600;
}
.goal-step-input { margin-bottom: 10px; }

/* ═══ PRIORITY ═══ */
.priority-options { display: flex; gap: 8px; }

/* ═══ TIME BLOCK INPUT ═══ */
.time-block-inputs { display: flex; gap: 10px; }
.time-block-inputs .input { flex: 1; }

.custom-date-wrap {
  position: relative;
  flex: 1;
}
.custom-date-wrap input[type="date"] {
  position: relative;
  color: transparent;
  cursor: pointer;
}
.custom-date-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.custom-date-wrap input[type="date"]::-webkit-datetime-edit {
  visibility: hidden;
}
.custom-date-label {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: opacity 0.2s;
}

.custom-time-wrap {
  flex: 1;
}
.custom-time-wrap select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238d9a82' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-style: italic; }

/* ═══ DELETE BUTTON ═══ */
.btn-danger {
  width: 100%;
  padding: 15px;
  background: var(--danger-bg);
  color: var(--danger);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  transition: all 0.3s var(--ease);
}
.btn-danger:hover { background: rgba(194, 80, 80, 0.1); transform: translateY(-1px); }

/* ═══ DAY PICKER ═══ */
.day-picker { display: flex; gap: 8px; }
.day-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease-bounce);
}
.day-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-float); }
.day-btn.active {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  box-shadow: 0 3px 12px rgba(107, 143, 94, 0.3);
  transform: scale(1.05);
}

/* ═══ PLAN HEADER EXTRAS ═══ */
.plan-header-right { display: flex; align-items: center; gap: 8px; }
.plan-today-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: none;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s var(--ease);
}
.plan-today-btn:hover { background: var(--green-bg); transform: translateY(-1px); box-shadow: var(--shadow-float); }

/* ═══ SETTINGS EXTRAS ═══ */
.setting-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; font-style: italic; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-xs);
  border: none;
  box-shadow: var(--shadow-soft);
  margin-bottom: 8px;
  transition: all 0.3s var(--ease);
}
.contact-item:hover { box-shadow: var(--shadow-float); }
.contact-name { flex: 1; font-size: 14px; font-weight: 500; color: var(--text-warm); }
.contact-phone { font-size: 12px; color: var(--text-muted); }
.contact-remove { color: var(--danger); font-size: 16px; transition: transform 0.3s var(--ease-bounce); opacity: 0.7; }
.contact-remove:hover { transform: scale(1.3); opacity: 1; }

/* ═══ UTILITIES ═══ */
.hidden { display: none !important; }

/* ═══ INSTALL & NOTIFICATION BANNERS ═══ */
.install-banner, .notif-banner {
  position: fixed;
  bottom: 80px; left: 18px; right: 18px;
  z-index: 1500;
  animation: modalSlideUp 0.5s var(--ease-out);
}
.install-banner-content, .notif-banner-content {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-dream);
  border: none;
}
.install-banner-icon, .notif-banner-icon { font-size: 30px; }
.install-banner-text, .notif-banner-text { flex: 1; }
.install-banner-text strong, .notif-banner-text strong { font-size: 14px; display: block; font-weight: 600; color: var(--text-warm); }
.install-banner-text p, .notif-banner-text p { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.install-banner-btn, .notif-banner-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--green-dark), #4a7040);
  color: white;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(61, 90, 52, 0.25);
}
.install-banner-close, .notif-banner-close {
  font-size: 18px;
  color: var(--text-muted);
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.install-banner-close:hover, .notif-banner-close:hover { opacity: 1; }

/* ═══ UPDATE BANNER ═══ */
.update-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  animation: updateSlideDown 0.3s ease;
}
@keyframes updateSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.update-banner-content {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #2d5a27 0%, #3d6e35 100%);
  padding: 14px 18px;
  padding-top: max(14px, env(safe-area-inset-top));
  color: white;
}
.update-banner-icon { flex-shrink: 0; }
.update-banner-icon svg { width: 20px; height: 20px; color: rgba(255,255,255,0.9); }
.update-banner-text { flex: 1; }
.update-banner-text strong { font-size: 13px; display: block; font-weight: 600; }
.update-banner-text p { font-size: 11px; opacity: 0.85; margin-top: 2px; }
.update-banner-btn {
  padding: 8px 18px;
  background: rgba(255,255,255,0.2);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.3);
}
.update-banner-btn:active { background: rgba(255,255,255,0.35); }
.update-banner-close {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  padding: 4px;
}
.update-banner-close:active { color: white; }

/* ═══ iOS STANDALONE ═══ */
@supports (-webkit-touch-callout: none) {
  .app { padding-top: env(safe-area-inset-top); }
  .screen { padding-top: env(safe-area-inset-top); }
}
@media (display-mode: standalone) {
  .install-banner { display: none !important; }
}

/* ═══ SCROLLBAR ═══ */
.view::-webkit-scrollbar { width: 3px; }
.view::-webkit-scrollbar-track { background: transparent; }
.view::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 4px; }
.view::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* ═══ SELECTION ═══ */
::selection { background: var(--green-pale); color: var(--green-dark); }

/* ═══════════════════════════════════════════════════
   MODE CHOICE SCREEN
   ═══════════════════════════════════════════════════ */
.mode-choice {
  padding: 60px 24px 40px;
  max-width: 420px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mc-header { text-align: center; margin-bottom: 40px; }
.mc-icon { font-size: 48px; margin-bottom: 16px; color: var(--green); }
.mc-icon svg { width: 48px; height: 48px; }
.mc-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.mc-sub { color: var(--text-secondary); font-size: 16px; }
.mc-options { display: flex; flex-direction: column; gap: 16px; }
.mc-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.1s;
}
.mc-option:hover { border-color: var(--green); transform: translateY(-2px); }
.mc-option:active { transform: scale(0.98); }
.mc-opt-icon { flex-shrink: 0; color: var(--green); margin-top: 2px; }
.mc-opt-icon svg { width: 28px; height: 28px; }
.mc-opt-info strong { font-size: 18px; color: var(--text); display: block; margin-bottom: 4px; }
.mc-opt-info p { color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; }
.mc-opt-details { list-style: none; padding: 0; margin: 0; }
.mc-opt-details li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}
.mc-opt-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   PARTNER MODE — Simple Task View
   ═══════════════════════════════════════════════════ */
.partner-mode {
  padding: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
/* Remove watercolor gradients in partner mode for clean look */
.app.partner-mode-active {
  background-image: none;
  background: var(--bg);
}
.pm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 24px 16px;
}
.pm-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0;
}
.pm-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}
.pm-settings-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}
.pm-settings-btn:hover { background: var(--bg-inset); }
.pm-settings-btn svg { width: 22px; height: 22px; }

.pm-summary {
  display: flex;
  gap: 24px;
  padding: 20px 24px;
  justify-content: center;
}
.pm-stat { text-align: center; }
.pm-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}
.pm-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pm-tasks {
  flex: 1;
  padding: 0 16px 120px;
  overflow-y: auto;
}
.pm-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 24px;
  font-size: 16px;
}

.pm-task-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 8px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--green-light);
  transition: opacity 0.3s, transform 0.2s;
}
.pm-task-item.done {
  opacity: 0.45;
  border-left-color: var(--border);
}
.pm-task-item.done .pm-task-name { text-decoration: line-through; }

.pm-task-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid var(--green);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.pm-task-check:hover { background: var(--green-pale); }
.pm-task-check.checked {
  background: var(--green);
  border-color: var(--green);
}
.pm-task-check.checked::after {
  content: '✓';
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.pm-task-info { flex: 1; min-width: 0; }
.pm-task-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.pm-task-detail {
  font-size: 13px;
  color: var(--text-muted);
}

.pm-task-from {
  font-size: 11px;
  color: var(--green-dark);
  opacity: 0.7;
  margin-top: 2px;
}

.pm-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}
.pm-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.pm-action-btn:hover { color: var(--green); background: var(--green-bg); }
.pm-action-btn svg { width: 20px; height: 20px; }

/* Partner mode settings panel */
.pm-settings-panel {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 1000;
  padding: 60px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.3s;
  overflow-y: auto;
}
.pm-settings-panel.open { transform: translateX(0); }
.pm-settings-panel .pm-settings-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.pm-settings-panel .pm-settings-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin: 0;
}

/* ═══ HANDCRAFTED TOUCHES ═══ */

/* Warmer icon strokes */
[data-lucide], .lucide {
  stroke-width: 1.6;
}

/* Active nav item gets a subtle background pill */
.nav-item.active {
  background: var(--green-bg);
  border-radius: var(--radius-xs);
}

/* Cards get a warm left-border accent on pillar colors */
.task-card[data-pillar="mental"]::before { background: var(--green); }
.task-card[data-pillar="physical"]::before { background: var(--purple); }
.task-card[data-pillar="spiritual"]::before { background: var(--gold); }

/* Floating add button pulse on idle */
@keyframes gentleGlow {
  0%, 100% { box-shadow: 0 6px 24px rgba(74, 103, 65, 0.28), 0 2px 8px rgba(74, 103, 65, 0.15), 0 0 0 5px rgba(122, 158, 109, 0.08); }
  50% { box-shadow: 0 6px 24px rgba(74, 103, 65, 0.28), 0 2px 8px rgba(74, 103, 65, 0.15), 0 0 0 8px rgba(122, 158, 109, 0.04); }
}
.nav-add { animation: gentleGlow 4s ease-in-out infinite; }
.nav-add:hover { animation: none; }

/* Warm focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* Smooth page transitions */
.screen { transition: opacity 0.3s var(--ease-gentle); }

/* Mood chips get a gentle hover lift */
.chip-mood:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

/* Category icons get a soft inner glow */
.category-icon {
  box-shadow:
    0 2px 8px rgba(0,0,0,0.1),
    inset 0 1px 2px rgba(255,255,255,0.2);
}

/* More items get warm left accent on active */
.more-item::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  border-radius: 0 3px 3px 0;
  background: var(--green-light);
  opacity: 0;
  transition: opacity 0.12s ease;
}
.more-item { position: relative; overflow: hidden; }
.more-item:active::before { opacity: 1; }

/* Calendar today — golden glow ring */
.cal-day.today {
  box-shadow:
    0 3px 12px rgba(122, 158, 109, 0.3),
    0 0 0 3px rgba(122, 158, 109, 0.08);
}

/* Reflection textarea glow */
.reflection .textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--purple-bg), var(--shadow-soft);
}

/* Shared task items — partner color accent */
.shared-task-item:nth-child(odd) {
  border-left: 3px solid transparent;
}
.shared-task-item:hover {
  border-left-color: var(--green-light);
}

/* Loading shimmer for empty states */
@keyframes warmShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Venn circles — slower, dreamier float */
.venn-circle {
  animation: floatGentle 6s ease-in-out infinite;
}
.venn-circle.physical { animation-delay: -2s; }
.venn-circle.spiritual { animation-delay: -4s; }

/* Mode badge — cozy pill styling */
.mode-badge {
  background: linear-gradient(135deg, var(--sage) 0%, var(--green-pale) 100%);
  border: 1px solid var(--green-border);
}

/* ═══════════════════════════════════════════════════
   COZY & MAGICAL — Premium Polish
   Like a warm cup of tea on a rainy evening
   ═══════════════════════════════════════════════════ */

/* Ambient firefly particles */
.fireflies {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0;
  animation: fireflyFloat 8s ease-in-out infinite;
  box-shadow: 0 0 6px 2px rgba(220, 196, 142, 0.4);
}
.firefly:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; animation-duration: 9s; }
.firefly:nth-child(2) { left: 70%; top: 35%; animation-delay: -3s; animation-duration: 11s; }
.firefly:nth-child(3) { left: 40%; top: 60%; animation-delay: -5s; animation-duration: 8s; }
.firefly:nth-child(4) { left: 80%; top: 75%; animation-delay: -2s; animation-duration: 10s; }
.firefly:nth-child(5) { left: 25%; top: 85%; animation-delay: -7s; animation-duration: 12s; }
.firefly:nth-child(6) { left: 55%; top: 15%; animation-delay: -4s; animation-duration: 9.5s; }

@keyframes fireflyFloat {
  0%, 100% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  20% { opacity: 0.7; transform: translate(10px, -15px) scale(1); }
  40% { opacity: 0.4; transform: translate(-8px, -30px) scale(0.8); }
  60% { opacity: 0.8; transform: translate(15px, -20px) scale(1.1); }
  80% { opacity: 0.3; transform: translate(-5px, -40px) scale(0.7); }
}

/* Premium greeting shimmer */
.greeting-text span {
  background: linear-gradient(
    120deg,
    var(--green-dark) 0%,
    var(--green) 40%,
    var(--gold) 60%,
    var(--green-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nameShimmer 6s ease-in-out infinite;
}
@keyframes nameShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* Cards get a warm inner glow on focus */
.task-card:focus-within {
  box-shadow:
    var(--shadow-float),
    inset 0 0 0 1px rgba(122, 158, 109, 0.1);
}

/* Premium glassmorphism on key cards */
.daily-quote {
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.pillar-progress {
  background: rgba(255, 253, 249, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Soft golden dust trail on task completion */
.task-card.done::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 196, 142, 0.05) 30%,
    rgba(220, 196, 142, 0.08) 50%,
    rgba(220, 196, 142, 0.05) 70%,
    transparent 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* Premium input styling — warm glow on focus */
.input:focus, .textarea:focus, select:focus {
  border-color: var(--green-light);
  box-shadow:
    0 0 0 3px rgba(122, 158, 109, 0.08),
    0 2px 8px rgba(122, 158, 109, 0.06);
  outline: none;
}

/* Warm text selection */
::selection {
  background: rgba(164, 196, 149, 0.3);
  color: var(--green-dark);
}

/* Premium toggle — liquid feel */
.toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 1px 3px rgba(122, 158, 109, 0.3);
}
.toggle-slider::before {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.8) inset;
}

/* Smooth stagger animation for task lists */
.today-tasks .task-card:nth-child(1) { animation: floatUp 0.3s var(--ease-out) 0s both; }
.today-tasks .task-card:nth-child(2) { animation: floatUp 0.3s var(--ease-out) 0.04s both; }
.today-tasks .task-card:nth-child(3) { animation: floatUp 0.3s var(--ease-out) 0.08s both; }
.today-tasks .task-card:nth-child(4) { animation: floatUp 0.3s var(--ease-out) 0.12s both; }
.today-tasks .task-card:nth-child(5) { animation: floatUp 0.3s var(--ease-out) 0.16s both; }
.today-tasks .task-card:nth-child(6) { animation: floatUp 0.3s var(--ease-out) 0.2s both; }
.today-tasks .task-card:nth-child(n+7) { animation: floatUp 0.3s var(--ease-out) 0.24s both; }

/* Premium section titles — ornamental dots */
.pool-title::before,
.view-topbar h2::after {
  content: '·';
  margin: 0 8px;
  color: var(--gold-light);
  font-size: 1.2em;
}
.pool-title::before { margin-left: 0; margin-right: 10px; }

/* Checkin — dreamy morning mist */
.checkin::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(
    180deg,
    rgba(247, 236, 211, 0.4) 0%,
    rgba(247, 236, 211, 0.15) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Cozy bottom nav gradient backdrop */
.bottom-nav::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  height: 30px;
  background: linear-gradient(to top, rgba(255, 253, 249, 0.9), transparent);
  pointer-events: none;
}

/* Premium celebration — golden confetti burst */
.celebration-petal {
  filter: drop-shadow(0 1px 3px rgba(196, 162, 101, 0.3));
}

/* Onboarding — dreamy text shadow */
.ob-title {
  text-shadow: 0 2px 20px rgba(74, 103, 65, 0.08);
}
.ob-tagline {
  text-shadow: 0 1px 8px rgba(80, 60, 30, 0.04);
}

/* Premium daily quote — book-page feel */
.daily-quote::after {
  content: '"';
  position: absolute;
  top: 12px; left: 16px;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold-pale);
  line-height: 1;
  pointer-events: none;
  opacity: 0.6;
}

/* Time-of-day ambient tinting */
.app[data-time="morning"] {
  background-image:
    radial-gradient(ellipse at 15% 30%, rgba(247, 236, 211, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(221, 233, 214, 0.3) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 85%, rgba(254, 250, 244, 0.3) 0%, transparent 50%);
}
.app[data-time="afternoon"] {
  background-image:
    radial-gradient(ellipse at 15% 30%, rgba(221, 233, 214, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(238, 227, 244, 0.2) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 85%, rgba(247, 236, 211, 0.3) 0%, transparent 50%);
}
.app[data-time="evening"] {
  background-image:
    radial-gradient(ellipse at 15% 30%, rgba(238, 227, 244, 0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(242, 204, 208, 0.15) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 85%, rgba(221, 233, 214, 0.2) 0%, transparent 50%);
}
.app[data-time="night"] {
  --bg: #f4f0ea;
  background-image:
    radial-gradient(ellipse at 15% 30%, rgba(212, 200, 182, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(238, 227, 244, 0.15) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 85%, rgba(220, 212, 200, 0.2) 0%, transparent 50%);
}

/* Settings items — warm hover glow */
.setting-item:hover {
  background: rgba(221, 233, 214, 0.1);
  border-radius: var(--radius-xs);
}

/* Smooth scroll behavior */
.view {
  scroll-behavior: smooth;
}

/* Premium card hover lift (reduce on mobile to avoid jank) */
@media (hover: hover) {
  .task-card:hover {
    box-shadow:
      0 8px 28px rgba(80, 60, 30, 0.07),
      0 3px 10px rgba(80, 60, 30, 0.03),
      inset 0 0 0 1px rgba(122, 158, 109, 0.06);
  }
  .more-item:hover {
    box-shadow:
      var(--shadow-float),
      inset 0 0 0 1px rgba(122, 158, 109, 0.05);
  }
}

/* Reduce animations for users who prefer */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fireflies { display: none; }
  .greeting-text span {
    -webkit-text-fill-color: var(--green-dark);
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════
   NEW FEATURES STYLES
   ═══════════════════════════════════════════════════ */

/* Task Mini Badge ("Just 5 Minutes" mode) */
.task-mini-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Adaptive Rescheduling */
.reschedule-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.reschedule-opt {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.reschedule-opt:hover {
  border-color: var(--green);
}
.reschedule-opt.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
#reschedule-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: 8px 0 16px;
  font-style: italic;
}

/* Smart Break Bar */
.smart-break {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(134,239,172,0.15), rgba(167,243,208,0.1));
  border: 1px solid rgba(134,239,172,0.3);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 0 0 16px;
  animation: slideDown 0.3s ease;
}
.smart-break.hidden { display: none; }
.smart-break-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.smart-break-info {
  flex: 1;
}
.smart-break-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.smart-break-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
.smart-break-dismiss {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Template Cards */
.template-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.template-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.template-info {
  flex: 1;
}
.template-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.template-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 4px;
}
.template-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 8px;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 8px;
}

/* Weekly Planning */
.weekly-plan-field {
  margin-bottom: 16px;
}
.weekly-plan-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.weekly-plan-field textarea,
.weekly-plan-field input {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  resize: vertical;
}
.weekly-plan-field textarea {
  min-height: 60px;
}
.wp-pillar-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wp-pillar-options .chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  cursor: pointer;
  transition: all 0.15s ease;
}
.wp-pillar-options .chip.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* Voice Input Modal */
.voice-input-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 0;
}
.voice-mic-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  font-size: 36px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 20px rgba(34,197,94,0.3);
}
.voice-mic-btn:active {
  transform: scale(0.92);
}
.voice-mic-btn.recording {
  animation: pulse-ring 1.2s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
#voice-status {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
#voice-transcript {
  font-size: 16px;
  color: var(--text);
  min-height: 40px;
  padding: 10px;
  background: var(--bg);
  border-radius: 10px;
  width: 100%;
  margin-bottom: 16px;
  font-style: italic;
}
#voice-confirm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Calendar Import */
.ics-import-area {
  text-align: center;
  padding: 20px;
}
.ics-import-area input[type="file"] {
  margin: 16px auto;
}
#ics-import-status {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Sub-Pillars Settings */
.setting-pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.setting-pillar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.setting-pillar-header strong {
  font-size: 14px;
}
.setting-pillar-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.setting-pillar-icon.physical { background: rgba(239,68,68,0.12); color: #ef4444; }
.setting-pillar-icon.mental { background: rgba(59,130,246,0.12); color: #3b82f6; }
.setting-pillar-icon.spiritual { background: rgba(168,85,247,0.12); color: #a855f7; }
.setting-pillar-subs {
  padding-left: 38px;
}
.setting-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text);
}
.btn-icon-sm {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.btn-icon-sm:hover {
  color: #ef4444;
  background: rgba(239,68,68,0.1);
}
.btn-ghost {
  background: none;
  border: none;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.btn-ghost:hover {
  text-decoration: underline;
}

/* Adjust Day Button (energy indicator) */
.adjust-day-btn {
  background: rgba(251,191,36,0.12);
  border: 1px solid rgba(251,191,36,0.3);
  color: #d97706;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.adjust-day-btn:hover {
  background: rgba(251,191,36,0.2);
}

/* Delegation share button */
.task-share-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  font-size: 14px;
}
.task-share-btn:hover {
  color: var(--green);
  background: rgba(34,197,94,0.08);
}

/* ═══════════════════════════════════════════════════
   MOBILE FORMATTING — Small screens (≤ 380px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .view {
    padding-left: 16px;
    padding-right: 16px;
  }
  .pillar-progress {
    padding: 18px 14px;
    gap: 14px;
  }
  .progress-venn {
    width: 100px;
    height: 100px;
  }
  .venn-circle {
    width: 56px;
    height: 56px;
  }
  .venn-center-text {
    font-size: 8px;
  }
  .pillar-count {
    padding: 5px 8px;
    font-size: 12px;
    gap: 6px;
  }
  .daily-quote {
    padding: 20px 18px;
  }
  .greeting-text {
    font-size: 20px;
  }
  .energy-indicator {
    padding: 12px 14px;
  }
  .modal-sm {
    padding: 22px 18px;
    margin: auto 12px;
  }
  .reschedule-opt {
    padding: 8px 12px;
    font-size: 13px;
  }
  .task-card {
    padding: 14px 14px;
    gap: 12px;
  }
  .smart-break {
    padding: 10px 12px;
    gap: 10px;
  }
}
