/* ==========================================================================
   FOCUS MODE — EDITORIAL LILAC MASTER DESIGN SYSTEM (V2 LUXURY)
   Visual Direction: Calm, Editorial, Mobile-First Luxury, Clearly Lilac/Purple
   Inspired by: Kinfolk, Notion, Apple Design Award, Grace Beverley & Brendon Burchard
   ========================================================================== */

:root {
  /* Canvas & Backgrounds */
  --bg-canvas: #FAF8FE;
  --bg-canvas-grad: linear-gradient(180deg, #FBF9FF 0%, #F5F0FB 40%, #FAF8FE 100%);
  --bg-surface: #FFFFFF;
  --bg-surface-tint: #F7F3FC;
  --bg-surface-secondary: #EFEAF8;
  --bg-surface-muted: #F8F6FD;

  /* Brand & Accent Purples */
  --brand-primary: #5B42E0;
  --brand-primary-hover: #4B33C9;
  --brand-primary-glow: rgba(91, 66, 224, 0.32);
  --brand-lilac: #A78BFA;
  --brand-lilac-light: #DDD6FE;
  --brand-lilac-mist: #EDE7F9;
  --brand-lilac-track: #F3EEFB;

  /* Emotional & Functional Accents */
  --accent-sun: #F59E0B;
  --accent-sun-bg: #FEF3C7;
  --accent-heart: #EC4899;
  --accent-heart-bg: #FCE7F3;
  --accent-growth: #10B981;
  --accent-growth-bg: #D1FAE5;

  /* Typography Colors */
  --text-headline: #1C1438;
  --text-body: #322B48;
  --text-muted: #6B6480;
  --text-whisper: #9C95B3;
  --text-inverse: #FFFFFF;

  /* Borders & Dividers */
  --border-card: #EAE3F7;
  --border-light: rgba(108, 92, 231, 0.1);
  --border-focus: #7C3AED;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 6px -1px rgba(30, 22, 59, 0.04), 0 1px 3px -1px rgba(91, 66, 224, 0.03);
  --shadow-card: 0 14px 36px -6px rgba(91, 66, 224, 0.07), 0 4px 12px -2px rgba(30, 22, 59, 0.03);
  --shadow-hover: 0 18px 44px -6px rgba(91, 66, 224, 0.12), 0 6px 16px -2px rgba(30, 22, 59, 0.04);
  --shadow-fab: 0 10px 26px -2px rgba(91, 66, 224, 0.45), 0 4px 10px -2px rgba(91, 66, 224, 0.25);
  --shadow-dock: 0 20px 44px -8px rgba(30, 22, 59, 0.14), 0 2px 10px -2px rgba(91, 66, 224, 0.06);

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Fonts */
  --font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', cursive, serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  background: #EFEAF6;
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Centered Mobile/Productivity Workspace (No horizontal drift) */
.app-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-canvas-grad);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(91, 66, 224, 0.08);
  overflow-x: hidden !important;
  box-sizing: border-box;
}

.main-content {
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  padding: 20px 14px 140px;
  box-sizing: border-box;
}

/* View Handling */
.app-view {
  display: none;
  animation: fadeInSoft 0.28s ease-out;
}

.app-view.active {
  display: block;
}

@keyframes fadeInSoft {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   EDITORIAL HEADERS & TYPOGRAPHY
   ========================================================================== */

.editorial-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-top: 4px;
}

.editorial-screen-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-headline);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.editorial-date-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--bg-surface-tint);
  border: 1px solid var(--brand-lilac-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}

.editorial-greeting-wrap {
  margin-bottom: 22px;
}

.editorial-greeting {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}

.editorial-subgreeting {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.editorial-handwritten-quote {
  font-family: var(--font-script);
  font-size: 20px;
  font-weight: 500;
  color: #7C67B8;
  line-height: 1.2;
}

/* ==========================================================================
   CARDS & SURFACES
   ========================================================================== */

.editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.editorial-card:hover {
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   TODAY HERO — CLEAN EDITORIAL HEADER (Reference Layout)
   ========================================================================== */

.today-hero-header {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(243, 238, 255, 0.6) 40%, rgba(248, 245, 255, 0.9) 100%);
  border: 1.5px solid rgba(124, 58, 237, 0.16);
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.06);
  box-sizing: border-box;
}

.today-hero-date-line {
  margin-bottom: 6px;
}

.today-hero-date {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  color: #7C3AED;
  background: #EDE5FA;
  border: 1px solid rgba(124, 58, 237, 0.22);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
}

.today-hero-greeting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.today-hero-greeting {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, #2D1B69 0%, #6D28D9 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  flex: 1;
}

.today-hero-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
  flex-shrink: 0;
}

.today-hero-streak-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.streak-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-growth);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
  animation: streakPulse 2s ease-in-out infinite;
}

@keyframes streakPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

/* ==========================================================================
   IMMERSIVE NOW/NEXT HERO CARD (Reference: dark card with chevron)
   ========================================================================== */

.now-hero-card {
  position: relative;
  background: linear-gradient(155deg, #1C1438 0%, #2D1B69 35%, #3B2380 60%, #4A2D99 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 22px;
  padding: 20px 22px 22px;
  margin: 16px 0 24px;
  color: #FFFFFF;
  box-shadow:
    0 16px 40px -6px rgba(44, 24, 100, 0.45),
    0 6px 18px -4px rgba(91, 66, 224, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.now-hero-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.now-hero-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 50px -6px rgba(44, 24, 100, 0.50),
    0 10px 24px -4px rgba(91, 66, 224, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.now-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.now-hero-badge-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  white-space: nowrap;
}

.now-hero-status-icon {
  font-size: 13px;
  color: rgba(167, 139, 250, 0.9);
  flex-shrink: 0;
}

.now-hero-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
  box-sizing: border-box;
}

.now-hero-live-clock {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
  box-sizing: border-box;
}

.live-pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  margin-right: 5px;
  animation: livePulseAnim 1.4s infinite ease-in-out;
}

@keyframes livePulseAnim {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 2px #34D399; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px #34D399; }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 2px #34D399; }
}

.now-hero-top-right {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-shrink: 1;
}

.now-hero-time {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 2;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  text-align: left;
  flex-shrink: 1;
  min-width: 0;
}

.hero-cycle-task-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.hero-cycle-task-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.now-hero-body-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.now-hero-body-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.now-hero-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  width: 100%;
}

.hero-live-timer-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 10, 35, 0.42);
  border: 1px solid rgba(196, 181, 253, 0.32);
  border-radius: 16px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-live-timer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hero-live-timer-clock-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-live-timer-clock {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1;
}

.hero-live-timer-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6EE7B7;
  text-transform: uppercase;
}

.hero-live-timer-status.paused {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.45);
  color: #FDE68A;
}

.hero-live-timer-meta {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.hero-live-timer-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.hero-live-timer-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #34D399 0%, #A78BFA 100%);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.hero-quick-task-form {
  width: 100%;
  margin: 0;
}

.hero-quick-task-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-quick-task-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.hero-quick-task-input:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
}

.now-hero-category-tag {
  display: inline-block;
  margin-bottom: 0;
  flex-shrink: 0;
}

.now-hero-category-tag .now-hero-category-inner,
.now-hero-category-tag > span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

button.now-hero-category-tag {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  display: inline-block;
  margin-bottom: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

button.now-hero-category-tag:hover .now-hero-category-inner,
button.now-hero-category-tag:hover > span {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.now-hero-focus-room-pill {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 240, 255, 0.95) 100%) !important;
  color: #6D28D9 !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25) !important;
}

.now-hero-focus-room-pill:hover {
  transform: translateY(-1.5px) !important;
  background: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.35) !important;
}

/* Botanical leaf line art in background (Reference Match) */
.now-hero-leaf-svg {
  position: absolute;
  right: 68px;
  bottom: 8px;
  width: 90px;
  height: 90px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Circular chevron button: Solid white circle with deep purple chevron (Reference Match) */
.now-hero-chevron-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  color: #2D1B69;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(28, 20, 56, 0.28);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.now-hero-chevron-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(28, 20, 56, 0.38);
}

.now-hero-chevron-btn svg {
  stroke: #2D1B69;
}

/* Streak pill clock icon */
.streak-clock-icon {
  stroke: var(--brand-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   THE THREE THAT MATTER — Horizontal Pill Chips (Reference Match)
   ========================================================================== */

.three-matter-section {
  margin-bottom: 28px;
}

.three-matter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.three-matter-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-headline);
  margin: 0;
}

.three-matter-edit-btn {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.three-matter-edit-btn:hover {
  background: var(--bg-surface-tint);
}

.three-matter-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.three-matter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.three-matter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-card);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-headline);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.three-matter-pill:hover {
  box-shadow: 0 4px 14px rgba(45, 27, 105, 0.12);
  transform: translateY(-1px);
}

.three-rank-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Rank 1: Deep Amethyst / Indigo */
.three-matter-pill.rank-theme-indigo {
  background: linear-gradient(135deg, #FAF7FF 0%, #F4EEFD 100%);
  border-color: #D6C7F8;
  color: #2D1B69;
}
.three-matter-pill.rank-theme-indigo:hover {
  border-color: #6E56CF;
  box-shadow: 0 6px 18px rgba(110, 86, 207, 0.18);
}
.three-matter-pill.rank-theme-indigo .three-rank-tag {
  background: #6E56CF;
  color: #FFFFFF;
}
.three-matter-pill.rank-theme-indigo .pill-icon {
  background: rgba(110, 86, 207, 0.12);
  border-color: #6E56CF;
  color: #6E56CF;
}

/* Rank 2: Emerald / Mint */
.three-matter-pill.rank-theme-emerald {
  background: linear-gradient(135deg, #F0FDF4 0%, #E6FAF0 100%);
  border-color: #A7F3D0;
  color: #064E3B;
}
.three-matter-pill.rank-theme-emerald:hover {
  border-color: #059669;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.18);
}
.three-matter-pill.rank-theme-emerald .three-rank-tag {
  background: #059669;
  color: #FFFFFF;
}
.three-matter-pill.rank-theme-emerald .pill-icon {
  background: rgba(5, 150, 105, 0.12);
  border-color: #059669;
  color: #059669;
}

/* Rank 3: Sunset Amber / Warm Coral */
.three-matter-pill.rank-theme-amber {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #FDE68A;
  color: #78350F;
}
.three-matter-pill.rank-theme-amber:hover {
  border-color: #D97706;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.18);
}
.three-matter-pill.rank-theme-amber .three-rank-tag {
  background: #D97706;
  color: #FFFFFF;
}
.three-matter-pill.rank-theme-amber .pill-icon {
  background: rgba(217, 119, 6, 0.12);
  border-color: #D97706;
  color: #D97706;
}

.three-matter-pill.done {
  opacity: 0.6;
  text-decoration: line-through;
  background: #F9F8FC !important;
  border-color: #E6E1F2 !important;
  color: var(--text-whisper) !important;
}

.three-matter-pill.done .three-rank-tag {
  background: #A39DB5 !important;
  color: #FFFFFF !important;
}

.three-matter-pill .pill-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-lilac);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.three-matter-pill.done .pill-icon {
  background: #10B981 !important;
  border-color: #10B981 !important;
  color: #FFFFFF !important;
}

.three-matter-pill.done .pill-icon svg {
  stroke: #FFFFFF;
}

.three-matter-empty {
  width: 100%;
  padding: 20px;
  text-align: center;
  background: var(--bg-surface);
  border: 1.5px dashed var(--brand-lilac);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 14px;
}

.three-matter-empty strong {
  display: block;
  color: var(--text-headline);
  margin-bottom: 4px;
}

.three-matter-count-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-primary);
  background: #F2ECFB;
  border: 1px solid #E2D9F7;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.three-matter-quickadd-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #E2D9F7;
  border-radius: 16px;
  padding: 4px 6px 4px 14px;
  box-shadow: 0 4px 14px rgba(110, 86, 207, 0.05);
  transition: all 0.2s ease;
}

.three-matter-quickadd-row:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(110, 86, 207, 0.15);
}

.three-matter-quick-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-headline);
  outline: none;
}

.three-matter-quick-input::placeholder {
  color: var(--text-whisper);
  font-size: 12.5px;
}

.three-matter-add-btn {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.three-matter-add-btn:hover {
  background: #5A42BE;
  transform: translateY(-1px);
}

.three-pill-del {
  margin-left: 6px;
  background: none;
  border: none;
  color: var(--text-whisper);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 4px;
  border-radius: 50%;
  line-height: 1;
  transition: all 0.15s ease;
}

.three-pill-del:hover {
  color: #EF4444;
  background: #FEE2E2;
}

.three-matter-pill.add-placeholder {
  border-style: dashed;
  border-color: #D4C7F2;
  color: var(--brand-primary);
  background: rgba(246, 242, 253, 0.6);
}

.three-matter-pill.add-placeholder:hover {
  background: #F2ECFB;
  border-color: var(--brand-primary);
}

/* ==========================================================================
   COMPACT TODAY TIMELINE (Full-width Linear Agenda Layout)
   ========================================================================== */

.today-timeline-compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0 14px 0;
  width: 100%;
}

.timeline-row,
.plan-ref-timeline-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid var(--border-card, #ECE7F6);
  border-radius: 14px;
  padding: 8px 12px;
  min-height: 48px;
  box-shadow: 0 1px 4px rgba(45, 27, 105, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 8px;
}

.timeline-row:hover,
.plan-ref-timeline-card:hover {
  border-color: var(--brand-lilac, #8B5CF6);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 66, 224, 0.08);
}

.timeline-row.is-now,
.plan-ref-timeline-card.is-now {
  border: 1.5px solid #7C3AED;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF8FE 100%);
  box-shadow: 0 4px 16px -2px rgba(124, 58, 237, 0.16);
}

.timeline-row.done,
.plan-ref-timeline-card.done {
  opacity: 0.58;
  background: #FAF9FD;
}

.schedule-check-circle,
.plan-status-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  color: transparent;
  transition: all 0.15s ease;
}

.schedule-check-circle:hover,
.plan-status-check:hover {
  border-color: #7C3AED;
  background: #FAF8FE;
}

.schedule-check-circle.checked,
.plan-status-check.done {
  background: #7C3AED;
  border-color: #7C3AED;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35);
}

.timeline-time-badge,
.plan-ref-time-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-primary);
  background: #F4F0FD;
  border: 1px solid #E6DDF8;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.timeline-time-badge.now-time,
.plan-ref-time-badge.now-time {
  background: #7C3AED;
  color: #FFFFFF;
  border-color: #7C3AED;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

/* Beautiful Contextual Emoji Chip */
.timeline-emoji-chip {
  font-size: 16px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #F5F1FD;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}

.timeline-compact-title,
.timeline-card-title,
.plan-ref-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0;
  flex: 1 1 160px;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  line-height: 1.38;
  cursor: pointer;
}

.timeline-row.done .timeline-compact-title,
.timeline-row.done .timeline-card-title,
.plan-ref-timeline-card.done .plan-ref-card-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.timeline-duration-pill {
  font-size: 11px;
  font-weight: 700;
  color: #6D28D9;
  background: #EDE8F9;
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.timeline-compact-actions,
.plan-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.timeline-now-pulse-tag {
  font-size: 10px;
  font-weight: 800;
  color: #7C3AED;
  background: #F5EFFF;
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.timeline-focus-quick-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #5B42E0 100%);
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
  transition: all 0.15s ease;
}

.timeline-focus-quick-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35);
}

.timeline-dots-menu-btn,
.plan-ref-dots-btn {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
  transition: all 0.15s ease;
}

.timeline-dots-menu-btn:hover,
.plan-ref-dots-btn:hover {
  background: #F1EDFA;
  color: #7C3AED;
}

/* Schedule Plan > link */
.schedule-plan-link {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.schedule-plan-link:hover {
  background: var(--bg-surface-tint);
}

/* ==========================================================================
   TODAY'S TASKS MASTER COMMAND CENTER (High-Productivity Executive Section)
   ========================================================================== */

.today-tasks-master-section {
  background: #FFFFFF;
  border: 1px solid rgba(216, 203, 247, 0.85);
  border-radius: 24px;
  padding: 20px 20px 24px;
  box-shadow: 0 8px 30px rgba(110, 86, 207, 0.06);
  margin-bottom: 28px;
}

.today-tasks-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

.today-tasks-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--brand-primary);
  margin-bottom: 2px;
}

.today-tasks-main-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0;
}

.tasks-progress-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-primary);
  background: #F4EFFD;
  border: 1px solid #E2D9F7;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Tasks Progress Track */
.tasks-progress-bar-wrap {
  margin-bottom: 14px;
}

.tasks-progress-bar-track {
  height: 6px;
  background: #F0EAFD;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.tasks-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #A78BFA 0%, #6E56CF 100%);
  border-radius: var(--radius-full);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Filter Pills */
.tasks-filter-pills-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.task-filter-pill {
  background: #FAF8FD;
  border: 1px solid #E8E0F7;
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.task-filter-pill:hover {
  background: #F4EFFD;
  color: var(--brand-primary);
}

.task-filter-pill.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.task-pill-cnt {
  font-size: 10.5px;
  opacity: 0.85;
}

/* Quick Add Task Master Card */
.tasks-master-add-card {
  background: linear-gradient(135deg, #FAF8FD 0%, #F5F0FC 100%);
  border: 1.5px solid #E4DAF7;
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tasks-master-add-card:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(110, 86, 207, 0.12);
  background: #FFFFFF;
}

.task-input-line {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.task-input-icon {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.task-master-input {
  flex: 1;
  min-width: 0 !important;
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-headline);
  outline: none;
  box-sizing: border-box;
}

.task-master-input::placeholder {
  color: var(--text-whisper);
}

.task-master-submit-btn {
  flex-shrink: 0;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.task-master-submit-btn:hover {
  background: #5A42BE;
  transform: translateY(-1px);
}

.task-options-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(216, 203, 247, 0.6);
}

.task-category-chips {
  display: flex;
  gap: 6px;
}

.task-cat-chip {
  background: #FFFFFF;
  border: 1px solid #E2D9F7;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.12s ease;
}

.task-cat-chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.task-cat-chip.active {
  background: #6E56CF;
  border-color: #6E56CF;
  color: #FFFFFF;
}

.task-star-pill {
  background: #FFFFFF;
  border: 1px solid #E2D9F7;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.12s ease;
}

.task-star-pill.active {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #B45309;
}

/* Tasks Master List & Card */
.today-tasks-master-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.today-task-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #E9E1F7;
  border-radius: 14px;
  padding: 10px 14px;
  min-height: 48px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}

.today-task-card:hover {
  background: #FFFFFF;
  border-color: #D8CFF6;
  box-shadow: 0 4px 16px rgba(110, 86, 207, 0.08);
  transform: translateY(-1px);
}

.today-task-card.done {
  background: #FAF8FD;
  border-color: #EFEAF5;
  opacity: 0.72;
}

.today-task-card.celebrate {
  animation: taskCelebrationSparkle 0.6s ease;
}

@keyframes taskCelebrationSparkle {
  0% { transform: scale(1); }
  40% { transform: scale(1.03); background: #FAF5FF; }
  100% { transform: scale(1); }
}

.task-purple-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #C4B5FD;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.task-purple-check:hover {
  border-color: var(--brand-primary);
  background: #F4F0FC;
  transform: scale(1.1);
}

.task-purple-check.checked {
  background: linear-gradient(135deg, #8B5CF6 0%, #6E56CF 100%);
  border-color: #6E56CF;
  box-shadow: 0 2px 8px rgba(110, 86, 207, 0.35);
  animation: checkBounce 0.28s ease;
}

@keyframes checkBounce {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.today-task-body,
.today-task-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.today-task-title-row,
.today-task-title-line {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.today-task-title-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-headline);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  flex: 1;
  min-width: 80px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.today-task-card.done .today-task-title-text {
  text-decoration: line-through;
  color: var(--text-whisper);
}

.today-task-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 2px;
}

.today-task-chips-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.task-tag-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.task-tag-chip.work { background: #EEF2FF; color: #4F46E5; }
.task-tag-chip.health { background: #ECFDF5; color: #059669; }
.task-tag-chip.life { background: #FFFBEB; color: #D97706; }
.task-tag-chip.creative { background: #F5F3FF; color: #7C3AED; }
.task-tag-chip.priority { background: #FEF3C7; color: #B45309; }

.today-task-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.today-tasks-empty-state {
  text-align: center;
  padding: 32px 16px;
  background: #FAF8FD;
  border: 1.5px dashed #D8CFF6;
  border-radius: 18px;
}

.today-tasks-empty-state strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 4px;
}

.today-tasks-empty-state span {
  font-size: 12.5px;
  color: var(--text-muted);
}


/* ==========================================================================
   1. TODAY: TOP 3 THAT MATTER (THE NON-NEGOTIABLES)
   ========================================================================== */

.top-three-hero-card {
  background: linear-gradient(175deg, #FFFFFF 0%, #F9F6FE 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.top-three-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.top-three-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-three-sparkle-badge {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-sun-bg);
  flex-shrink: 0;
}

.top-three-title-group h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0;
}

.top-three-pick-btn {
  background: none;
  border: 1px solid var(--brand-lilac-light);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}

.top-three-pick-btn:hover {
  background: var(--bg-surface-tint);
  border-color: var(--brand-primary);
}

.top-three-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.top-three-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(218, 208, 240, 0.7);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.top-three-item:hover {
  background: #FFFFFF;
  border-color: var(--brand-lilac-light);
  transform: translateY(-1px);
}

.top-three-item.done {
  background: rgba(246, 242, 252, 0.65);
  border-color: rgba(218, 208, 240, 0.4);
}

.top-three-item.done .top-three-text {
  text-decoration: line-through;
  color: var(--text-whisper);
}

.top-three-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
}

.top-three-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-three-more-btn {
  background: none;
  border: none;
  color: var(--text-whisper);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
}

.top-three-more-btn:hover {
  color: var(--brand-primary);
  background: var(--bg-surface-tint);
}

/* Direct Inline Input in Top 3 Card */
.top-three-inline-add {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--brand-lilac);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  position: relative;
  z-index: 2;
}

.top-three-inline-add input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-body);
  outline: none;
}

.top-three-inline-add button {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.top-three-inline-add button:hover {
  background: var(--brand-primary-hover);
}

.top-three-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.top-three-watermark {
  position: absolute;
  right: -15px;
  bottom: -20px;
  width: 130px;
  height: 130px;
  pointer-events: none;
  z-index: 1;
}

/* Custom Purple Completion Checkbox */
.purple-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--brand-lilac);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.purple-checkbox:hover {
  border-color: var(--brand-primary);
  background: var(--bg-surface-tint);
  transform: scale(1.1);
}

.purple-checkbox.checked {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.purple-checkbox.checked svg {
  stroke: #FFFFFF;
  stroke-width: 3;
}

/* ==========================================================================
   TODAY: UNTIMED DAILY TO-DO LIST (GRACE BEVERLEY / BRENDON BURCHARD)
   ========================================================================== */

.today-todo-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.today-todo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.today-todo-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0;
}

.today-todo-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.today-todo-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.today-todo-input-row input {
  flex: 1;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
  background: var(--bg-surface-tint);
  transition: border-color 0.2s, background 0.2s;
}

.today-todo-input-row input:focus {
  border-color: var(--brand-primary);
  background: #FFFFFF;
}

.today-todo-input-row button {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  padding: 0 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.today-todo-input-row button:hover {
  background: var(--brand-primary-hover);
}

.today-todo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.today-todo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: var(--bg-surface-muted);
  border: 1px solid rgba(218, 208, 240, 0.6);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.today-todo-item:hover {
  background: #FFFFFF;
  border-color: var(--brand-lilac-light);
}

.today-todo-item.done {
  opacity: 0.65;
}

.today-todo-item.done .today-todo-title {
  text-decoration: line-through;
}

.today-todo-title {
  flex: 1;
  font-size: 13px;
  color: var(--text-body);
}

.today-todo-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}

.today-todo-tool-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.today-todo-tool-btn:hover {
  color: var(--brand-primary);
  background: var(--bg-surface-tint);
}

/* ==========================================================================
   TODAY: VISUAL ACTIVITY SCHEDULE (HOUR BY HOUR)
   ========================================================================== */

.today-schedule-section {
  margin-bottom: 24px;
}

.schedule-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.schedule-section-head h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0;
}

.schedule-add-btn {
  background: var(--bg-surface-tint);
  border: 1px solid var(--brand-lilac-light);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.schedule-add-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.activity-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-timeline-card {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  gap: 14px;
  cursor: pointer;
}

.activity-timeline-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--brand-lilac-light);
  transform: translateY(-1px);
}

.activity-timeline-card.done {
  opacity: 0.7;
  background: #FAF8FD;
}

.activity-timeline-card.done .activity-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.activity-time-col {
  width: 65px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.activity-squircle-badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-squircle-badge svg {
  width: 44px;
  height: 44px;
}

.activity-details-col {
  flex: 1;
  min-width: 0;
}

.activity-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   2. PLAN: DAY | WEEK | MONTH SEGMENTED CONTROL & VIEWS
   ========================================================================== */

.editorial-segmented-control {
  display: flex;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-card);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.segmented-pill {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.segmented-pill.active {
  background: #FFFFFF;
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(91, 66, 224, 0.12);
}

/* Date Navigation Row: < Tue, Apr 23 > (+) */
.plan-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 6px 12px 6px 16px;
  box-shadow: var(--shadow-sm);
}

.plan-nav-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-arrow-btn {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background 0.15s;
}

.plan-arrow-btn:hover {
  background: var(--bg-surface-tint);
}

.plan-nav-date-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-headline);
}

.plan-add-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-tint);
  border: 1px solid var(--brand-lilac-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.plan-add-circle-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

/* Week View: 7-Day Overview Cards */
.week-overview-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.week-day-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.week-day-card:hover {
  border-color: var(--brand-lilac);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.week-day-card.today-highlight {
  border-color: var(--brand-primary);
  background: #FAF8FE;
}

.week-day-card.capacity-light {
  background: #FAF8FE;
}

.week-day-card.capacity-medium {
  background: #F4EFFC;
}

.week-day-card.capacity-heavy {
  background: #ECE3F9;
}

.week-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.week-day-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-headline);
}

.week-day-capacity-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.75);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.week-day-tasks-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.week-mini-task-pill {
  font-size: 11px;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(218, 208, 240, 0.6);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Month View: Spacious Calendar Grid */
.month-calendar-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.month-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.month-calendar-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-headline);
}

.month-calendar-days-of-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.month-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.month-day-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  background: #FAF8FD;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.month-day-cell:hover {
  background: var(--brand-lilac-mist);
  color: var(--brand-primary);
}

.month-day-cell.active-day {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.month-day-cell.other-month {
  opacity: 0.3;
}

.month-dots-row {
  display: flex;
  gap: 3px;
  margin-top: 2px;
}

.month-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.month-dot.purple {
  background: var(--brand-primary);
}

.month-dot.amber {
  background: var(--accent-sun);
}

.month-dot.rose {
  background: var(--accent-heart);
}

/* ==========================================================================
   3. FOCUS SCREEN: ZEN COUNTDOWN & MISTY MOUNTAIN HORIZON
   ========================================================================== */

.focus-zen-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 150px);
  justify-content: space-between;
}

.focus-top-mantra-wrap {
  margin-bottom: 20px;
}

.focus-you-can-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--bg-surface-tint);
  border: 1px solid var(--brand-lilac-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.focus-editorial-mantra {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-headline);
  line-height: 1.3;
  margin: 0;
}

/* Circular Timer Dial */
.focus-timer-ring-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-timer-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.focus-timer-ring-bg {
  stroke: var(--brand-lilac-track);
  stroke-width: 10;
  fill: none;
}

.focus-timer-ring-path {
  stroke: var(--brand-primary);
  stroke-width: 10;
  stroke-linecap: round;
  fill: none;
  transition: stroke-dashoffset 0.8s ease;
}

.focus-timer-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.focus-timer-digits {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-headline);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.focus-timer-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Large Hero Play / Pause Controller */
.focus-hero-play-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--brand-primary);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -4px rgba(91, 66, 224, 0.45);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-bottom: 22px;
}

.focus-hero-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 36px -4px rgba(91, 66, 224, 0.55);
}

/* Mode Selector Pills */
.focus-mode-switcher {
  display: flex;
  gap: 8px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-card);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.focus-mode-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.focus-mode-btn.active {
  background: #FFFFFF;
  color: var(--brand-primary);
  box-shadow: 0 2px 6px rgba(91, 66, 224, 0.1);
}

/* Atmospheric Mountain Graphic */
.focus-atmosphere-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: auto;
}

.focus-atmosphere-svg-container {
  width: 100%;
  height: 120px;
  display: block;
}

.focus-atmosphere-caption {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-script);
  font-size: 20px;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(24, 16, 50, 0.6);
  pointer-events: none;
}

/* ==========================================================================
   4. GOALS SCREEN: VISUAL PROGRESS CARDS
   ========================================================================== */

.goals-editorial-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.goal-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.goal-visual-card:hover {
  border-color: var(--brand-lilac);
  transform: translateY(-1px);
}

.goal-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.goal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.goal-copy-col {
  flex: 1;
}

.goal-copy-col h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0 0 4px;
}

.goal-copy-col p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.goal-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.goal-progress-bar-track {
  flex: 1;
  height: 7px;
  background: var(--brand-lilac-track);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.goal-progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--brand-lilac) 0%, var(--brand-primary) 100%);
  transition: width 0.4s ease;
}

.goal-progress-percent {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  width: 38px;
  text-align: right;
}

.goals-script-footer {
  text-align: center;
  padding: 18px 0;
}

/* ==========================================================================
   5. COUPLE SCREEN: PHOTOGRAPHIC HERO & 2x2 LUXURY BENTO SANCTUARY
   ========================================================================== */

.couple-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-lilac, #8B5CF6);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.couple-partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.22);
  color: #BE185D;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.06);
}

.couple-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F43F5E;
  display: inline-block;
  box-shadow: 0 0 6px rgba(244, 63, 94, 0.8);
  animation: pulseLiveDot 2s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Luxury Hero Sanctuary Banner */
.couple-hero-card {
  position: relative;
  width: 100%;
  height: 215px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 36px -12px rgba(124, 58, 237, 0.28), 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  background: linear-gradient(135deg, #4C1D95 0%, #BE185D 60%, #F59E0B 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.couple-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.couple-hero-card:hover .couple-hero-img {
  transform: scale(1.03);
}

.couple-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 35, 0.18) 0%, rgba(20, 10, 35, 0.42) 40%, rgba(20, 10, 35, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px 16px;
  pointer-events: none;
}

.couple-hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.couple-presence-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  position: relative;
}

.presence-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.couple-hero-upload-btn {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  font-size: 11px;
  font-weight: 700;
  color: #1E1B4B;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.couple-hero-upload-btn:hover {
  background: #FFFFFF;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.couple-hero-bottom-copy {
  pointer-events: auto;
}

.couple-hero-quote {
  font-family: var(--font-script, 'Caveat', cursive);
  font-size: 26px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0 0 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.01em;
}

.couple-hero-subtag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.03em;
}

/* Quick Micro-Gestures Bar */
.couple-gestures-card {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.7) 0%, rgba(245, 243, 255, 0.8) 100%);
  border: 1px solid rgba(225, 29, 72, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(91, 66, 224, 0.04);
}

.couple-gestures-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.gestures-sparkle {
  color: #BE185D;
  font-size: 12px;
}

.gestures-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #831843;
}

.couple-gestures-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.couple-gesture-btn {
  background: #FFFFFF;
  border: 1px solid rgba(225, 29, 72, 0.15);
  border-radius: 12px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.couple-gesture-btn:hover {
  border-color: #F43F5E;
  background: #FFF1F2;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(244, 63, 94, 0.16);
}

.couple-gesture-btn:active {
  transform: scale(0.92);
}

.gesture-emoji {
  font-size: 18px;
  line-height: 1;
}

.gesture-label {
  font-size: 10px;
  font-weight: 700;
  color: #4A1D2F;
}

/* 2x2 Bento Feature Grid */
.couple-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.couple-bento-card {
  background: #FFFFFF;
  border: 1.5px solid #F1EDFA;
  border-radius: 18px;
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 104px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(91, 66, 224, 0.04);
}

.couple-bento-card:hover {
  border-color: #C4B5FD;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(91, 66, 224, 0.12);
}

.couple-bento-card.active {
  border-color: #7C3AED;
  background: linear-gradient(160deg, #FFFFFF 0%, #FAF5FF 100%);
  box-shadow: 0 12px 28px -4px rgba(124, 58, 237, 0.22);
  transform: translateY(-2px);
}

.couple-bento-card.active::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7C3AED;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.8);
}

.bento-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bento-squircle {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.couple-bento-card:hover .bento-squircle {
  transform: scale(1.08);
}

.bento-squircle-plans {
  background: #FFF1F2;
  color: #E11D48;
}

.bento-squircle-tasks {
  background: #ECFDF5;
  color: #059669;
}

.bento-squircle-memories {
  background: #F5F3FF;
  color: #7C3AED;
}

.bento-squircle-notes {
  background: #FEF3C7;
  color: #D97706;
}

.bento-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
}

.bento-tag-plans {
  background: #FFF1F2;
  color: #BE123C;
}

.bento-tag-tasks {
  background: #ECFDF5;
  color: #047857;
}

.bento-tag-memories {
  background: #F5F3FF;
  color: #6D28D9;
}

.bento-tag-notes {
  background: #FEF3C7;
  color: #B45309;
}

.bento-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bento-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0;
  letter-spacing: -0.01em;
}

.bento-count {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

/* Detail Section & Interactive Cards */
.couple-detail-card {
  background: #FFFFFF;
  border: 1px solid #ECE7F6;
  border-radius: 20px;
  padding: 18px 18px 20px;
  box-shadow: 0 8px 24px -4px rgba(91, 66, 224, 0.08);
  animation: fadeInDetail 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDetail {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.couple-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.couple-detail-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.couple-detail-title {
  font-size: 15px;
  font-weight: 800;
  color: #1E1B4B;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.couple-detail-subtitle {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}

.couple-add-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #6366F1 100%);
  color: #FFFFFF;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.couple-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

/* Inline Add Forms */
.couple-inline-form {
  background: #FAF8FE;
  border: 1.5px dashed #D8B4FE;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: slideDownForm 0.2s ease-out;
}

@keyframes slideDownForm {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.couple-form-input, .couple-form-textarea {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  background: #FFFFFF;
  color: #1E1B4B;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.couple-form-input:focus, .couple-form-textarea:focus {
  outline: none;
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.couple-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.couple-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}

.couple-form-cancel {
  background: transparent;
  border: 1px solid #CBD5E1;
  color: #64748B;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.couple-form-submit {
  background: #7C3AED;
  color: #FFFFFF;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* Shared Plan Card Item */
.couple-plan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid #F1EDFA;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  margin-bottom: 8px;
}

.couple-plan-item:hover {
  border-color: #DDD6FE;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(91, 66, 224, 0.06);
}

.plan-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-date-chip {
  width: 44px;
  height: 44px;
  background: #FFF1F2;
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.plan-date-day {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #E11D48;
}

.plan-date-time {
  font-size: 11px;
  font-weight: 700;
  color: #9F1239;
  margin-top: 2px;
}

.plan-details-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0 0 2px;
}

.plan-details-sub {
  font-size: 11.5px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Shared Task Item */
.couple-task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid #F1EDFA;
  border-radius: 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.couple-task-item:hover {
  border-color: #A7F3D0;
  transform: translateY(-1px);
}

.couple-task-item.done {
  background: #F9FAFB;
  opacity: 0.72;
}

.couple-task-item.done .couple-task-title {
  text-decoration: line-through;
  color: #94A3B8;
}

.couple-task-title {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: #1E1B4B;
  transition: color 0.2s ease;
}

/* Memory Polaroid Card */
.couple-polaroids-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.couple-polaroid-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.couple-polaroid-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
  border-color: #C4B5FD;
}

.polaroid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.polaroid-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E1B4B;
  margin: 0;
}

.polaroid-date {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
}

.polaroid-note {
  font-family: var(--font-script, 'Caveat', cursive);
  font-size: 17px;
  color: #6D28D9;
  line-height: 1.25;
  margin: 4px 0 0;
  font-weight: 600;
}

/* Love Notes Pastel Sticky Cards */
.couple-notes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.couple-sticky-note {
  padding: 14px 16px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.couple-sticky-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.couple-sticky-note-purple {
  background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
  border: 1px solid #E9D5FF;
}

.couple-sticky-note-rose {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1px solid #FECDD3;
}

.couple-sticky-note-amber {
  background: linear-gradient(135deg, #FEFCE8 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
}

.sticky-text {
  font-family: var(--font-script, 'Caveat', cursive);
  font-size: 19px;
  color: #4C1D95;
  line-height: 1.3;
  margin: 0;
  font-weight: 600;
}

.couple-sticky-note-rose .sticky-text {
  color: #9F1239;
}

.couple-sticky-note-amber .sticky-text {
  color: #92400E;
}

.sticky-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.sticky-author {
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.couple-delete-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.15s ease;
}

.couple-delete-btn:hover {
  background: #FEE2E2;
  color: #EF4444;
}

/* ==========================================================================
   6. REVIEW SCREEN: ANALYTICS, MOOD & JOURNAL
   ========================================================================== */

.review-intentional-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}

.review-intentional-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-intentional-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0;
}

.review-intentional-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Weekly Focus Bar Chart */
.review-chart-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  padding: 10px 0 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--brand-lilac-mist);
}

.review-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.review-bar-container {
  height: 85px;
  width: 14px;
  background: var(--brand-lilac-track);
  border-radius: var(--radius-full);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.review-bar-fill {
  width: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-lilac) 100%);
  transition: height 0.5s ease;
}

.review-bar-day-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.review-stat-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-tint);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.review-stat-big {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.review-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.review-delta-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-growth);
  background: var(--accent-growth-bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* "How did you feel?" Mood Strip */
.review-mood-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}

.review-mood-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-mood-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0;
}

.review-mood-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-mood-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.review-mood-day {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.review-mood-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FAF8FE;
  border: 1px solid var(--brand-lilac-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-mood-circle-btn:hover,
.review-mood-circle-btn.selected {
  background: var(--brand-lilac-mist);
  border-color: var(--brand-primary);
  transform: scale(1.15);
}

/* ==========================================================================
   7. FLOATING FROSTED GLASS DOCK & CENTER FAB
   ========================================================================== */

.mobile-bottom-nav {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom, 16px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 440px;
  height: 62px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(230, 222, 248, 0.95);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 36px -4px rgba(44, 24, 100, 0.14), 0 4px 12px rgba(91, 66, 224, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  z-index: 1000;
  box-sizing: border-box;
}

.mobile-nav-item {
  position: relative;
  background: none;
  border: none;
  color: #948FA8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  stroke: #948FA8;
  transition: all 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--brand-primary);
  font-weight: 700;
}

.mobile-nav-item:hover svg,
.mobile-nav-item.active svg {
  stroke: var(--brand-primary);
}

.mobile-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 16px;
  height: 2.5px;
  background: var(--brand-primary);
  border-radius: 2px;
}

/* ==========================================================================
   PLAN VIEW (REFERENCE MATCH: Plan your day + Natural Quick Plan)
   ========================================================================== */

.plan-hero-header {
  margin-bottom: 20px;
}

.plan-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.plan-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  color: var(--text-headline);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.plan-arrow-btn:hover {
  border-color: var(--brand-lilac);
  transform: scale(1.05);
}

.plan-header-titles {
  text-align: center;
}

.plan-header-main-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0 0 2px;
  letter-spacing: -0.02em;
}

.plan-header-sub-date {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  text-transform: uppercase;
}

.plan-modes-control {
  margin-bottom: 0;
}

/* "What needs to happen?" Natural Planning Card */
.plan-natural-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.plan-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0 0 4px;
}

.plan-card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.plan-sync-pill {
  font-size: 10px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan-today-jump-pill {
  background: #7C3AED;
  color: #FFFFFF;
  border: none;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
}

.plan-today-jump-pill:hover {
  background: #6D28D9;
  transform: scale(1.05);
}

.plan-quick-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px 0;
}

.plan-quick-chip {
  background: #F4F0FD;
  border: 1px solid #E4D9F8;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #5B42E0;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.plan-quick-chip:hover {
  background: #EDE5FA;
  border-color: #7C3AED;
  transform: translateY(-1px);
}

.plan-natural-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #FAF8FD;
  border: 1.5px solid #EBE5F7;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-headline);
  outline: none;
  resize: vertical;
  min-height: 72px;
  transition: border-color 0.2s ease;
}

.plan-natural-textarea:focus {
  border-color: var(--brand-primary);
  background: #FFFFFF;
}

.plan-build-btn {
  width: 100%;
  margin-top: 12px;
  background: var(--brand-primary);
  border: none;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px -3px rgba(111, 92, 232, 0.4);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plan-build-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -3px rgba(111, 92, 232, 0.5);
}

/* Timeline section header in Plan */
.plan-timeline-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.plan-timeline-subhead-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
  display: block;
}

.plan-timeline-main-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-headline);
  margin: 0;
  text-transform: uppercase;
}

.plan-timeline-status-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
  background: rgba(111, 92, 232, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Plan add activity pill */
.plan-add-activity-btn {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(91, 66, 224, 0.25);
  transition: all 0.15s ease;
}

.plan-add-activity-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

/* Time adjust nudges in modal */
.time-adjust-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.time-nudge-btn {
  background: #F4F0FC;
  border: 1px solid #E2D7F8;
  border-radius: var(--radius-full);
  padding: 5px 11px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.time-nudge-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}

/* Dialog auxiliary & danger buttons */
.dialog-aux-btn {
  background: #F3EEFF;
  border: 1px solid #D8CAFA;
  border-radius: 12px;
  padding: 11px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.dialog-aux-btn:hover {
  background: #E8DDFF;
}

.dialog-danger-btn {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
  padding: 11px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #EF4444;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.dialog-danger-btn:hover {
  background: #FEE2E2;
}

/* Now Hero Card Actions */
.now-hero-actions-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.now-hero-focus-btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  color: #2D1B69;
  border: none;
  border-radius: var(--radius-full);
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(28, 20, 56, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.now-hero-focus-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(28, 20, 56, 0.38);
}

.now-hero-action-pill {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 9px 11px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.now-hero-action-pill:hover {
  background: rgba(255, 255, 255, 0.28);
}

.now-hero-action-pill.done {
  background: #34D399;
  border-color: #34D399;
  color: #064E3B;
}

/* Today Timeline Direct Controls */
.timeline-check-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #D8CFF6;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 6px;
  transition: all 0.15s ease;
}

.timeline-check-btn:hover {
  border-color: var(--brand-primary);
  background: #F4F0FC;
}

.timeline-check-btn.checked {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.timeline-tomorrow-btn {
  background: rgba(243, 238, 255, 0.7);
  border: 1px solid rgba(216, 203, 247, 0.7);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.timeline-tomorrow-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.timeline-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding-top: 6px;
}

.todo-tomorrow-btn {
  background: #F8F6FD;
  border: 1px solid #E9E1F7;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.todo-tomorrow-btn:hover {
  color: var(--brand-primary);
  background: #F4F0FC;
  border-color: #D8CFF6;
}

.star-top-btn {
  background: #F8F6FD;
  border: 1px solid #E9E1F7;
  color: #9CA3AF;
  font-size: 13px;
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.star-top-btn:hover {
  color: #B45309;
  background: #FEF3C7;
  border-color: #FDE68A;
}

.star-top-btn.active {
  background: #FEF3C7;
  border-color: #FDE68A;
  color: #B45309;
}

.delete-task-btn {
  background: none;
  border: none;
  color: #9CA3AF;
  font-size: 13px;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.delete-task-btn:hover {
  color: #EF4444;
  background: #FEE2E2;
}

/* ==========================================================================
   GOALS VIEW (REFERENCE MATCH: Your goals + Dark card + One move)
   ========================================================================== */

.goals-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.goals-screen-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0;
  letter-spacing: -0.02em;
}

.goals-add-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #E2DBF5;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.goals-add-circle-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
  transform: scale(1.08);
}

/* Year Widget */
.goals-year-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.goals-year-left {
  flex-shrink: 0;
}

.goals-year-days {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-headline);
  letter-spacing: -0.02em;
}

.goals-year-right {
  flex: 1;
}

.goals-progress-info {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-align: right;
}

.goals-year-track {
  width: 100%;
  height: 7px;
  background: #EDE8F7;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.goals-year-fill {
  height: 100%;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

/* 2x2 Category Grid */
.goals-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.goal-cat-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-headline);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.goal-cat-pill:hover {
  border-color: var(--brand-lilac);
  transform: translateY(-1px);
}

.goal-cat-pill.active {
  background: #281B56;
  border-color: #281B56;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(40, 27, 86, 0.35);
}

.goal-cat-arrow {
  color: var(--brand-primary);
  font-weight: 800;
}

.goal-cat-pill.active .goal-cat-arrow,
.goal-cat-pill.active .goal-cat-icon {
  color: #FFFFFF;
}

/* Selected Goal Dark Card */
.selected-goal-dark-card {
  background: linear-gradient(155deg, #1C1438 0%, #29185E 50%, #3B217E 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 22px;
  padding: 22px;
  color: #FFFFFF;
  box-shadow: 0 16px 36px -6px rgba(40, 24, 94, 0.45);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.selected-goal-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.selected-goal-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(220, 210, 255, 0.85);
  text-transform: uppercase;
}

.selected-goal-menu-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 2px 6px;
}

.selected-goal-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.selected-goal-desc {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(220, 210, 255, 0.85);
  margin: 0 0 18px;
}

.selected-goal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: rgba(200, 190, 240, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

/* "ONE MOVE FOR TODAY" Card */
.one-move-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}

.one-move-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.one-move-prompt {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-headline);
  display: block;
  margin-bottom: 6px;
}

.one-move-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0 0 6px;
}

.one-move-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 14px;
  line-height: 1.4;
}

.one-move-btn {
  background: rgba(111, 92, 232, 0.1);
  border: 1px solid rgba(111, 92, 232, 0.25);
  border-radius: var(--radius-full);
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.one-move-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}

.nav-center-fab-btn:hover {
  transform: translateY(-14px) scale(1.08);
  background: var(--brand-primary-hover);
}

/* ==========================================================================
   MODAL SHEETS (CREATION & MORE)
   ========================================================================== */

.editorial-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 20, 56, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.editorial-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.editorial-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -10px 40px rgba(30, 22, 59, 0.15);
  padding: 24px 20px 36px;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, visibility 0.2s ease;
}

.editorial-sheet.open {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.editorial-sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--brand-lilac-light);
  border-radius: var(--radius-full);
  margin: 0 auto 18px;
}

.editorial-sheet-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0 0 16px;
  text-align: center;
}

.creation-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.creation-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FAF8FE;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.creation-option-btn:hover {
  background: var(--brand-lilac-mist);
  border-color: var(--brand-primary);
  transform: translateY(-1px);
}

.creation-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--brand-primary);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.creation-option-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-headline);
}

.creation-option-text small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   BUTTONS: STAR TOP 3, SCHEDULE, DELETE & ACTIONS
   ========================================================================== */

.star-top-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.star-top-btn:hover {
  border-color: var(--brand-lilac);
  color: var(--brand-primary);
  background: var(--bg-surface-tint);
  transform: scale(1.04);
}

.star-top-btn.active {
  background: #FAF5FF;
  color: #7C3AED;
  border-color: #A78BFA;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
  font-weight: 700;
}

.schedule-task-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.schedule-task-btn:hover {
  border-color: var(--brand-lilac);
  color: var(--brand-primary);
  background: var(--bg-surface-tint);
}

.delete-task-btn {
  background: none;
  border: none;
  color: var(--text-whisper);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.delete-task-btn:hover {
  color: #EF4444;
  background: #FEE2E2;
}

/* ==========================================================================
   MODALS: TIME BLOCK / SCHEDULE & FORM INPUTS
   ========================================================================== */

.editorial-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 20, 56, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.editorial-dialog-backdrop.open,
.editorial-dialog-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.editorial-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  box-shadow: 0 24px 60px rgba(30, 22, 59, 0.2);
  width: 100%;
  max-width: 440px;
  padding: 24px 22px;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.editorial-dialog-backdrop.open .editorial-dialog,
.editorial-dialog-backdrop.active .editorial-dialog {
  transform: translateY(0) scale(1);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dialog-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-headline);
  margin: 0;
}

.dialog-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.dialog-close-btn:hover {
  color: var(--text-headline);
  background: var(--bg-surface-tint);
}

.custom-dur-chip.active {
  background: #7C3AED !important;
  border-color: #6D28D9 !important;
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* Luxury Schedule Adjust and Dialog Button System */
.schedule-adjust-primary-btn,
.form-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  min-height: 48px;
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none !important;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  box-sizing: border-box;
}

.schedule-adjust-primary-btn:hover,
.form-submit-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.04);
}

.schedule-adjust-primary-btn:active,
.form-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.schedule-adjust-secondary-btn,
.dialog-cancel-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  min-height: 46px;
  background: #FAF8FD !important;
  color: #6D28D9 !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid #E9E1F7 !important;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  box-sizing: border-box;
}

.schedule-adjust-secondary-btn:hover,
.dialog-cancel-btn:hover {
  background: #F3EDFC !important;
  border-color: #D8B4FE !important;
  color: #5B21B6 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.12);
}

.schedule-adjust-secondary-btn:active,
.dialog-cancel-btn:active {
  transform: translateY(0);
  background: #ECE2FA !important;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-body);
  background: var(--bg-surface-tint);
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--brand-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--brand-primary-glow);
}

.duration-presets-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.duration-preset-btn {
  background: var(--bg-surface-tint);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.duration-preset-btn:hover {
  border-color: var(--brand-lilac);
  color: var(--brand-primary);
}

.duration-preset-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

.category-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.category-picker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  background: var(--bg-surface-tint);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.category-picker-item:hover {
  border-color: var(--brand-lilac);
  background: #FFFFFF;
}

.category-picker-item.active {
  border-color: var(--brand-primary);
  background: var(--brand-lilac-mist);
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(91, 66, 224, 0.15);
}

.category-picker-item .icon-badge-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-submit-btn {
  width: 100%;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-top: 8px;
  box-shadow: var(--shadow-fab);
}

.dialog-submit-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   TOAST NOTIFICATION PILL
   ========================================================================== */

.toast-pill {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(31, 26, 58, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(30, 22, 59, 0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-pill.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   PAGE MOTIVATION STRIP (Simple, Short, Target & Schedule Focused)
   ========================================================================== */

.page-motivation-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(224, 215, 248, 0.85);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  margin: 0 0 18px;
  box-shadow: 0 2px 8px rgba(111, 92, 232, 0.05);
  animation: fadeInQuote 0.4s ease forwards;
}

.page-motivation-strip .motivation-sparkle {
  color: var(--brand-primary);
  font-size: 13px;
  flex-shrink: 0;
}

.page-motivation-strip .motivation-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  font-weight: 500;
  color: #372866;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: center;
}

@keyframes fadeInQuote {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   CLEAN MOBILE-FIRST DESKTOP CONTAINER (No Top Navigation Bar)
   ========================================================================== */

@media (min-width: 601px) {
  body {
    background: radial-gradient(circle at 50% 0%, #FAF5FF 0%, #EDE6F8 50%, #E5DAF2 100%);
    padding: 36px 16px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
  }

  .app-shell {
    width: 100%;
    max-width: 480px;
    border-radius: 36px;
    border: 1px solid rgba(226, 217, 245, 0.95);
    box-shadow:
      0 28px 75px rgba(44, 24, 100, 0.16),
      0 8px 24px rgba(91, 66, 224, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    background: #FAF8FD;
    position: relative;
  }

  .mobile-bottom-nav {
    position: fixed;
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 440px;
    z-index: 1000;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   EXECUTIVE HIGH-PRODUCTIVITY SUITE: CIRCADIAN FLOW, COMMAND PALETTE & AUDIO
   ========================================================================== */

/* Circadian Flow Card */
.circadian-flow-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F7F3FD 100%);
  border: 1px solid rgba(216, 203, 247, 0.7);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  margin: 16px 0 20px;
  box-shadow: 0 4px 20px rgba(110, 86, 207, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.circadian-flow-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(110, 86, 207, 0.09);
}

.circadian-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.circadian-flow-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.circadian-flow-sparkle {
  font-size: 14px;
  color: #F59E0B;
}

.circadian-flow-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.circadian-flow-window {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.circadian-flow-progress-wrap {
  margin-bottom: 10px;
}

.circadian-flow-bar {
  height: 6px;
  background: #E8E0F7;
  border-radius: var(--radius-full);
  position: relative;
  overflow: visible;
  margin-bottom: 6px;
}

.circadian-flow-fill {
  height: 100%;
  background: linear-gradient(90deg, #A78BFA 0%, #6E56CF 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.circadian-flow-pin {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid var(--brand-primary);
  box-shadow: 0 0 6px rgba(110, 86, 207, 0.4);
  transition: left 0.4s ease;
}

.circadian-flow-phases-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-whisper);
}

.circadian-flow-advice {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
  font-style: italic;
}

/* Floating Command Launcher (Hidden on mobile to protect navigation) */
.floating-command-pill {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

@media (max-width: 768px) {
  .floating-command-pill {
    bottom: 84px;
    left: 16px;
    right: auto;
  }
}

.command-pill-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.command-pill-label {
  font-size: 12px;
  font-weight: 600;
}

/* Universal Command Palette Modal */
.command-palette-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(22, 12, 54, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.command-palette-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.command-palette-modal {
  width: calc(100% - 32px);
  max-width: 520px;
  background: #FFFFFF;
  border: 1px solid rgba(216, 203, 247, 0.85);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(35, 18, 80, 0.28);
  overflow: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.command-palette-backdrop.open .command-palette-modal {
  transform: translateY(0) scale(1);
}

.command-palette-header {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #F0EAFD;
  gap: 12px;
}

.command-search-icon {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.command-palette-header input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-headline);
  outline: none;
}

.command-palette-header input::placeholder {
  color: var(--text-whisper);
}

.command-palette-esc-badge {
  background: #F4F0FC;
  border: 1px solid #E2D9F7;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-primary);
  cursor: pointer;
}

.command-palette-results {
  max-height: 340px;
  overflow-y: auto;
  padding: 8px;
}

.command-palette-group-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-whisper);
  padding: 8px 12px 4px;
}

.command-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.12s ease;
}

.command-item:hover,
.command-item.selected {
  background: #F6F2FD;
}

.command-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.command-item-icon {
  font-size: 16px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #FAF8FD;
  border: 1px solid #E9E1F7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.command-item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-headline);
}

.command-item-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

.command-item-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-primary);
  background: #EDE6F8;
  border-radius: 6px;
  padding: 2px 7px;
}

.command-palette-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 18px;
  background: #FAF8FD;
  border-top: 1px solid #F0EAFD;
  font-size: 11px;
  color: var(--text-muted);
}

/* Soundscape Drawer in Focus Room */
.focus-soundscape-panel {
  background: #FFFFFF;
  border: 1px solid rgba(216, 203, 247, 0.85);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(110, 86, 207, 0.08);
  animation: slideDownFade 0.2s ease;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.soundscape-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.soundscape-presets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.soundscape-pill-btn {
  background: #FAF8FD;
  border: 1px solid #E2D9F7;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-headline);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.soundscape-pill-btn:hover {
  background: #F3EDFC;
  border-color: var(--brand-primary);
}

.soundscape-pill-btn.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #FFFFFF;
}

.soundscape-volume-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.soundscape-slider {
  flex: 1;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

/* Timeline 1-Tap Quick Focus Button */
.timeline-focus-quick-btn {
  background: rgba(110, 86, 207, 0.1);
  border: 1px solid rgba(110, 86, 207, 0.25);
  border-radius: var(--radius-full);
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.timeline-focus-quick-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   5. LIVELY DESIGNER & PRODUCTIVITY GURU COACH SYSTEM
   ========================================================================== */

/* Motivation Quote Interactive Wrap */
.motivation-quote-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.motivation-author-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-primary);
  opacity: 0.85;
}

.motivation-shuffle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(110, 86, 207, 0.12);
  border: 1px solid rgba(110, 86, 207, 0.25);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-primary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.motivation-shuffle-btn:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px rgba(110, 86, 207, 0.25);
}

.motivation-shuffle-btn:active {
  transform: scale(0.96);
}

/* Floating Guru / Coach Pill (Permanently removed from UI as requested) */
.floating-coach-pill,
#floatingCoachBtn {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.coach-avatar-pulse {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F3EDFC 0%, #E9DEFD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 0 0 0 rgba(110, 86, 207, 0.4);
  animation: coachAvatarPulse 3s infinite;
}

@keyframes coachAvatarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(110, 86, 207, 0.4);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(110, 86, 207, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(110, 86, 207, 0);
  }
}

.floating-coach-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.coach-pill-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-headline);
  line-height: 1.2;
}

.coach-pill-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1.1;
}

.coach-spark-indicator {
  font-size: 12px;
  color: #F59E0B;
  animation: sparkTwinkle 2s infinite ease-in-out;
}

@keyframes sparkTwinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Coach Modal Dialog Styles */
.coach-dialog {
  max-width: 520px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 24px;
}

.coach-dialog-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-lilac-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.coach-persona-bar {
  margin-bottom: 16px;
}

.coach-persona-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.coach-persona-pill {
  background: #FAF8FD;
  border: 1.5px solid #E2D9F7;
  border-radius: 12px;
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-headline);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.coach-persona-pill:hover {
  background: #F3EDFC;
  border-color: var(--brand-primary);
}

.coach-persona-pill.active {
  background: #F3EDFC;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(110, 86, 207, 0.15);
}

.coach-briefing-card {
  background: linear-gradient(135deg, rgba(243, 237, 252, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(110, 86, 207, 0.2);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
}

.coach-briefing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.coach-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(110, 86, 207, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.coach-briefing-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-headline);
  font-weight: 600;
  margin: 0 0 8px;
}

.coach-briefing-bullets {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.6;
}

.coach-breakdown-section {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 16px;
}

.coach-action-btn {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #4C2889 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(110, 86, 207, 0.25);
}

.coach-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(110, 86, 207, 0.35);
}

.coach-action-btn:active {
  transform: scale(0.97);
}

.coach-breakdown-card {
  background: #FAF8FD;
  border: 1px solid #E2D9F7;
  border-radius: 14px;
  padding: 14px;
}

.coach-quick-advice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.coach-prompt-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-headline);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.coach-prompt-pill:hover {
  border-color: var(--brand-primary);
  background: #F3EDFC;
  transform: translateY(-1px);
}

.coach-prompt-pill:active {
  transform: scale(0.97);
}

.coach-advice-card {
  background: #FFFFFF;
  border: 1.5px solid var(--brand-primary);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(110, 86, 207, 0.12);
  animation: adviceSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes adviceSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.coach-advice-action-box {
  background: #FAF8FD;
  border-left: 3px solid var(--brand-primary);
  border-radius: 4px 8px 8px 4px;
  padding: 8px 12px;
}

.goal-coach-spark-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.goal-coach-spark-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

/* Celebration Confetti (Strictly contained to prevent mobile horizontal expansion) */
.celebration-confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden !important;
  box-sizing: border-box;
}

.confetti-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  opacity: 0.9;
  border-radius: 2px;
  animation: confettiFall 2.4s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(90vh) rotate(720deg) scale(0.2);
    opacity: 0;
  }
}

/* =============================================================================
   CHRONOGRAPH FOCUS CLOCK, HERO START ACTION & RESTORED REVIEW SYSTEM (v204)
   ============================================================================= */

/* ① Hero Start Focus Action Button */
.now-hero-start-focus-btn {
  background: #FFFFFF;
  color: #1C3829;
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.now-hero-start-focus-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background: #F0FDF4;
}

.now-hero-start-focus-btn .start-focus-icon {
  font-size: 11px;
  color: #16A34A;
  transition: transform 0.2s ease;
}

.now-hero-start-focus-btn:hover .start-focus-icon {
  transform: translateX(2px);
}

/* ② Swiss Chronograph Focus Clock */
.focus-chronograph-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 16px auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-chronograph-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.focus-chronograph-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 200px;
  height: 200px;
}

.focus-chronograph-brand {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1C3829;
  opacity: 0.55;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.focus-timer-clock-large {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 600;
  color: #1C3829;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 4px 0 6px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.focus-timer-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #047857;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.focus-flow-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(28, 56, 41, 0.15);
  transition: all 0.25s ease;
}

.flow-dot.active {
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  transform: scale(1.15);
}

/* Luxury Capsule Play Button */
.focus-controls-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 20px;
}

.focus-play-capsule-btn {
  background: #1C3829;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(28, 56, 41, 0.35);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.focus-play-capsule-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px -4px rgba(28, 56, 41, 0.45);
  background: #152B1F;
}

.focus-play-capsule-btn svg {
  color: #86EFAC;
}

/* ③ Review & Journal Architecture */
.review-date-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.review-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-stat-card strong {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1.1;
}

.review-stat-card span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Unfinished Triage Tasks */
.review-unfinished-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-task-card {
  background: #FBFBF9;
  border: 1px solid rgba(28, 56, 41, 0.09);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.review-task-card:hover {
  background: #FFFFFF;
  border-color: rgba(28, 56, 41, 0.18);
  box-shadow: var(--shadow-sm);
}

.review-task-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-task-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-headline);
}

.review-task-title small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.review-decision-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.review-btn {
  background: #FFFFFF;
  border: 1px solid rgba(28, 56, 41, 0.12);
  border-radius: 8px;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-headline);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.review-btn:hover {
  background: #F0FDF4;
  border-color: #86EFAC;
  color: #166534;
}

.review-btn.danger {
  color: #DC2626;
  border-color: rgba(220, 38, 38, 0.2);
}

.review-btn.danger:hover {
  background: #FEF2F2;
  border-color: #DC2626;
}

/* Completed List */
.review-completed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-completed-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
  padding: 6px 0;
  border-bottom: 1px solid rgba(28, 56, 41, 0.05);
}

.review-completed-item:last-child {
  border-bottom: none;
}

.review-completed-item .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Daily Reflection Panel */
.review-journal-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  text-transform: uppercase;
}

.reflection-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reflection-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-headline);
}

.reflection-textarea {
  width: 100%;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-body);
  background: #FBFBF9;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.reflection-textarea:focus {
  border-color: var(--brand-primary);
  background: #FFFFFF;
}

.review-clarity-input-wrap {
  display: flex;
  gap: 8px;
}

.reflection-input {
  flex: 1;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-body);
  background: #FBFBF9;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.reflection-input:focus {
  border-color: var(--brand-primary);
  background: #FFFFFF;
}

.reflection-action-btn {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.reflection-action-btn:hover {
  background: #152B1F;
}

.save-reflection-btn {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(28, 56, 41, 0.25);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.save-reflection-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(28, 56, 41, 0.35);
  background: #152B1F;
}

/* 7-Bar Chart Flex Layout */
.focus-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 110px;
  padding-top: 10px;
  margin-top: 10px;
  gap: 12px;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 8px;
}

.chart-bar-fill {
  width: 100%;
  max-width: 28px;
  background: linear-gradient(180deg, #4ADE80 0%, #15803D 100%);
  border-radius: 6px 6px 2px 2px;
  min-height: 8px;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chart-day-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

/* 7-Day Weekly History */
.weekly-review-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #FBFBF9;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  margin-bottom: 14px;
}

.weekly-review-summary div strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--brand-primary);
}

.weekly-review-summary div span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.weekly-review-days {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weekly-review-day {
  background: #FBFBF9;
  border: 1px solid rgba(28, 56, 41, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.weekly-review-day.has-review {
  background: #FFFFFF;
  border-color: rgba(74, 222, 128, 0.4);
}

.weekly-review-day > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.weekly-review-day strong {
  font-size: 13px;
  color: var(--text-headline);
}

.weekly-review-day small {
  font-size: 11px;
  color: var(--text-muted);
}

.weekly-review-day span {
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
}

.weekly-review-day p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-body);
  font-style: italic;
}

/* =============================================================================
   STUDIO LILAC BENCHMARK PIXEL-PERFECT REFINEMENTS (Screen 01, 02, 03)
   ============================================================================= */

/* Signature Global App Bar */
.app-global-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 8px;
  background: transparent;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.app-brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-brand-sun-svg {
  color: #5B42E0;
}

.app-brand-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #1C1438;
  letter-spacing: -0.02em;
}

.app-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #EDE7F9;
  color: #5B42E0;
  border: 1px solid rgba(91, 66, 224, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-avatar-btn:hover {
  transform: scale(1.06);
  background: #DDD6FE;
}

/* 01 · DAILY PLAN: Editorial Greeting */
.today-editorial-hero {
  margin: 6px 0 16px;
  padding: 0 4px;
}

.today-editorial-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #6B6480;
  font-weight: 500;
  margin-bottom: 2px;
}

.today-editorial-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #1C1438;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

/* Card 1: Today / Right Now */
.today-right-now-card {
  background: #FFFFFF;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 12px 32px -4px rgba(91, 66, 224, 0.08);
}

.right-now-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.right-now-title {
  font-size: 16px;
  font-weight: 700;
  color: #1C1438;
  display: block;
}

.right-now-date {
  font-size: 12px;
  color: #8B5CF6;
  font-weight: 600;
}

.right-now-arrow-btn {
  background: #F5F0FB;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #5B42E0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.right-now-arrow-btn:hover {
  background: #EDE7F9;
  transform: translateX(2px);
}

.right-now-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.right-now-task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.right-now-check-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(91, 66, 224, 0.35);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.right-now-task-item.done .right-now-check-btn {
  background: #5B42E0;
  border-color: #5B42E0;
}

.right-now-task-title {
  font-size: 14px;
  font-weight: 500;
  color: #1C1438;
  transition: color 0.2s ease;
}

.right-now-task-item.done .right-now-task-title {
  text-decoration: line-through;
  color: #9C95B3;
}

.right-now-add-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(167, 139, 250, 0.2);
}

.right-now-add-row .add-circle-icon {
  font-size: 14px;
  color: #8B5CF6;
}

.right-now-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #1C1438;
  outline: none;
}

.right-now-input::placeholder {
  color: #9C95B3;
}

.right-now-submit-btn {
  background: #5B42E0;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.right-now-submit-btn:hover {
  background: #4B33C9;
}

/* Card 2: Top 3 (Numbered Circle Badges) */
.today-top3-card {
  background: #FFFFFF;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 12px 32px -4px rgba(91, 66, 224, 0.08);
}

.top3-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.top3-title {
  font-size: 16px;
  font-weight: 700;
  color: #1C1438;
}

.top3-count-tag {
  font-size: 12px;
  font-weight: 700;
  color: #5B42E0;
  background: #EDE7F9;
  padding: 2px 9px;
  border-radius: var(--radius-full);
}

.top3-numbered-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.top3-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.top3-item:hover {
  transform: translateX(3px);
}

.top3-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #5B42E0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(91, 66, 224, 0.3);
}

.top3-item.done .top3-badge {
  background: #10B981;
}

.top3-text {
  font-size: 14px;
  font-weight: 600;
  color: #1C1438;
}

.top3-item.done .top3-text {
  text-decoration: line-through;
  color: #9C95B3;
}

/* 02 · FOCUS TIMER Center Dial */
.focus-timer-card {
  text-align: center;
  margin: 10px auto 20px;
}

.focus-timer-ring-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-timer-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.focus-timer-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.focus-inner-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #5B42E0;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(91, 66, 224, 0.45);
  margin-top: 6px;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.focus-inner-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(91, 66, 224, 0.55);
  background: #4B33C9;
}

.focus-timer-quote {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: #1C1438;
  margin: 18px 0 0;
}

/* Microsoft Focus Smart Session Breakdown Card */
.focus-session-card {
  background: linear-gradient(135deg, #FAF8FE 0%, #F5F0FB 100%);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 14px 0 10px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.focus-session-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.focus-session-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #7C3AED;
  background: #EDE5FA;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.focus-break-toggle-btn {
  background: #FFFFFF;
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #6D28D9;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.focus-break-toggle-btn:hover {
  background: #7C3AED;
  color: #FFFFFF;
  border-color: #7C3AED;
}

.focus-break-toggle-btn.skipped {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #B45309;
}

.focus-session-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #6B6480;
  font-weight: 600;
}

.focus-next-up-text {
  color: #7C3AED;
  font-weight: 700;
}

/* High-Tech Session Duration Presets Grid */
.focus-presets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 14px 0 18px;
}

@media (max-width: 600px) {
  .focus-presets-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .today-task-card {
    gap: 8px;
    padding: 8px 10px;
  }
  .today-task-card .task-tag-chip {
    display: none;
  }
  .today-task-tools {
    gap: 4px;
  }
  .timeline-row {
    gap: 6px;
    padding: 6px 8px;
  }
}

.focus-preset-card {
  background: #FFFFFF;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 14px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(91, 66, 224, 0.04);
}

.focus-preset-card .preset-icon {
  font-size: 18px;
  color: #6B6480;
}

.focus-preset-card .preset-label {
  font-size: 11px;
  font-weight: 600;
  color: #6B6480;
}

.focus-preset-card.active {
  background: #FAF8FE;
  border-color: #5B42E0;
  box-shadow: 0 6px 18px rgba(91, 66, 224, 0.15);
}

.focus-preset-card.active .preset-icon,
.focus-preset-card.active .preset-label {
  color: #5B42E0;
  font-weight: 700;
}

.focus-calm-banner {
  background: #F5F0FB;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  margin: 16px 0;
}

.focus-calm-banner p {
  margin: 0;
  font-size: 13px;
  font-style: italic;
  color: #5B42E0;
  font-weight: 500;
}

/* 03 · REVIEW & MOOD: Metric Summary Card */
.review-metrics-hero-card {
  background: #FFFFFF;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 20px;
  padding: 18px 20px;
  margin: 14px 0 16px;
  box-shadow: 0 12px 32px -4px rgba(91, 66, 224, 0.08);
}

.metric-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-hero-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-hero-label {
  font-size: 12px;
  font-weight: 600;
  color: #6B6480;
}

.metric-hero-val {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #1C1438;
}

.metric-hero-divider {
  height: 1px;
  background: rgba(167, 139, 250, 0.15);
  margin: 14px 0;
}

.metric-hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}

.mini-bar {
  width: 6px;
  background: #5B42E0;
  border-radius: 3px 3px 1px 1px;
}

.review-quote-card {
  background: #FAF8FE;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  margin-bottom: 16px;
}

.review-quote-card p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: #5B42E0;
  font-weight: 600;
}

/* 03 · REVIEW & MOOD: Mood Selector Card matching Phone 03 */
.review-mood-box {
  background: #FFFFFF;
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px -4px rgba(91, 66, 224, 0.06);
}

.review-mood-box-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: #1C1438;
  margin-bottom: 14px;
  display: block;
}

.mood-faces-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mood-face-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(167, 139, 250, 0.22);
  background: #FAF8FE;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.mood-face-btn:hover {
  transform: scale(1.1);
  border-color: #5B42E0;
  background: #EDE7F9;
}

.mood-face-btn.active {
  border-color: #5B42E0;
  background: #EDE7F9;
  box-shadow: 0 4px 14px rgba(91, 66, 224, 0.25);
  transform: scale(1.12);
}

/* Bottom Nav Highlight Pill for Focus */
.focus-nav-highlight .focus-nav-glow-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EDE7F9;
  color: #5B42E0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  transition: all 0.2s ease;
}

.mobile-nav-item.active .focus-nav-glow-pill {
  background: #5B42E0;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(91, 66, 224, 0.4);
}

/* Quick Time Nudge Buttons in Focus Room */
.focus-timer-nudges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.focus-nudge-btn {
  background: #FAF8FE;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: var(--radius-full);
  color: #5B42E0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(91, 66, 224, 0.05);
}

.focus-nudge-btn:hover {
  background: #5B42E0;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 66, 224, 0.25);
}

.focus-nudge-btn:active {
  transform: scale(0.96);
}

/* Dedicated Finish Session & Mark Done Button */
.focus-finish-early-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.32);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 18px;
  box-sizing: border-box;
}

.focus-finish-early-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.42);
}

.focus-finish-early-btn:active {
  transform: scale(0.98);
}

.focus-return-today-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.15s ease;
}

.focus-return-today-btn:hover {
  background: #FAF8FE;
  color: var(--brand-primary);
  border-color: var(--brand-lilac);
}

/* =============================================================================
   WEEKLY GOALS SPRINT HUB (OPTION A - 4 LIFE PILLARS ARCHITECTURE)
   ============================================================================= */

/* Sprints vs Horizons Segmented Toggle */
.sprint-hub-toggle {
  display: flex;
  background: #EDE8F5;
  padding: 4px;
  border-radius: 14px;
  margin: 12px 0 18px;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.sprint-toggle-pill {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #6B7280;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.sprint-toggle-pill:hover {
  color: #1E1B26;
}

.sprint-toggle-pill.active {
  background: #FFFFFF;
  color: #1E1B26;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Weekly Sprint Hero Scorecard */
.sprint-weekly-hero {
  background: linear-gradient(135deg, #1E1B26 0%, #2A233C 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px -5px rgba(30, 27, 38, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.sprint-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.sprint-tag-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(124, 58, 237, 0.35);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #D8B4FE;
  border-radius: 6px;
}

.sprint-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sprint-customize-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E9D5FF;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sprint-customize-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF;
}

.sprint-hero-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  color: #FFF;
}

.sprint-hero-desc {
  font-size: 13px;
  color: #D1D5DB;
  margin: 0 0 16px;
  line-height: 1.4;
}

.sprint-progress-bar-wrap {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.sprint-progress-bar-fill {
  background: linear-gradient(90deg, #10B981, #7C3AED);
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sprint-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9CA3AF;
  font-weight: 600;
}

/* 4 Life Pillars Cards Stack */
.pillar-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.pillar-badge.wedding {
  background: #FFE4E6;
  color: #F43F5E;
}

.pillar-badge.health {
  background: #D1FAE5;
  color: #059669;
}

.pillar-badge.business {
  background: #EEF2FF;
  color: #4F46E5;
}

.pillar-badge.mindset {
  background: #FEF3C7;
  color: #D97706;
}

.pillar-score-chip {
  font-size: 12px;
  font-weight: 700;
  color: #4B5563;
  background: #F3F4F6;
  padding: 3px 8px;
  border-radius: 8px;
}

.pillar-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.pillar-subtitle {
  font-size: 12px;
  color: #6B7280;
  margin: 0 0 14px;
  line-height: 1.35;
}

/* Habit Tracker Row */
.habit-tracker-row {
  background: #FAF8FD;
  border: 1px solid #EDE8F5;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.habit-tracker-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.habit-tracker-name {
  font-size: 12px;
  font-weight: 700;
  color: #1F2937;
}

.habit-tracker-sub {
  font-size: 11px;
  color: #6B7280;
}

.habit-squares-group {
  display: flex;
  gap: 5px;
}

.habit-sq {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #E5E7EB;
  border: 1px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: transparent;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.habit-sq:hover {
  border-color: #9CA3AF;
  transform: scale(1.05);
}

.habit-sq.filled {
  background: #10B981;
  border-color: #059669;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.habit-sq.mindset-sq.filled {
  background: #F59E0B;
  border-color: #D97706;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.habit-sq.wedding-sq.filled {
  background: #F43F5E;
  border-color: #E11D48;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.35);
}

.habit-sq.business-sq.filled {
  background: #6366F1;
  border-color: #4F46E5;
  color: #FFF;
  box-shadow: 0 2px 6px rgba(99, 102, 241, 0.35);
}

/* Deliverable List */
.deliverable-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.deliverable-item:hover {
  background: #F9FAFB;
}

.deliverable-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid #CBD5E1;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 11px;
}

.deliverable-item.checked .deliverable-checkbox {
  background: #7C3AED;
  border-color: #7C3AED;
  color: #FFF;
}

.deliverable-item.checked .deliverable-text {
  text-decoration: line-through;
  color: #9CA3AF;
}

.deliverable-text {
  font-size: 13px;
  color: #1F2937;
  line-height: 1.35;
  flex: 1;
}

.deliverable-tag {
  font-size: 10px;
  font-weight: 700;
  color: #7C3AED;
  background: #F3E8FF;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  display: inline-block;
}

.deliverable-add-row {
  margin-top: 10px;
  display: flex;
  gap: 6px;
}

.deliverable-add-input {
  flex: 1;
  border: 1px solid #E5E7EB;
  background: #FAF8FD;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: var(--font-sans);
  color: #1F2937;
  outline: none;
}

.deliverable-add-input:focus {
  border-color: #7C3AED;
  background: #FFF;
}

.deliverable-add-btn {
  background: #7C3AED;
  color: #FFF;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.deliverable-add-btn:hover {
  background: #6D28D9;
}

/* Modal / Bottom Sheet for Pillar Customization */
.customize-pillars-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 13, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.customize-pillars-overlay.open {
  display: flex;
}

.customize-pillars-sheet {
  background: #FAF8FD;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 36px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.customize-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid #EDE8F5;
  padding-bottom: 12px;
}

.customize-sheet-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #1E1B26;
}

.customize-sheet-close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #6B7280;
  padding: 4px;
}

.pillar-edit-card {
  background: #FFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-edit-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #6B7280;
  letter-spacing: 0.04em;
}

.pillar-edit-row {
  display: flex;
  gap: 8px;
}

.pillar-edit-input {
  flex: 1;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: var(--font-sans);
}

/* =============================================================================
   MOBILE FOCUS SPRINT COMPLETION & BREAK MODAL
   ============================================================================= */
.btn-break-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-sizing: border-box;
}

.btn-break-choice:active {
  transform: scale(0.98);
}

.btn-break-primary {
  border: 1.5px solid #8B5CF6;
  background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.12);
}

.btn-break-secondary {
  border: 1.5px solid #E5E7EB;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-break-tertiary {
  border: 1.5px solid #10B981;
  background: #ECFDF5;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);
}

.focus-notify-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FAF5FF;
  color: #6D28D9;
  border: 1px dashed #DDD6FE;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin: 14px auto 0;
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.focus-notify-banner:active {
  transform: scale(0.98);
  background: #F3E8FF;
}

/* ==========================================================================
   SCIENTIFIC THOUGHT-TO-ACTION VAULT & WEDDING COUNTDOWN SYSTEM
   ========================================================================== */

.wedding-countdown-pill {
  background: linear-gradient(135deg, #FDF2F8 0%, #FAF5FF 100%) !important;
  border: 1px solid #FBCFE8 !important;
  color: #9D174D !important;
  cursor: pointer;
  font-weight: 700 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wedding-countdown-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.14);
}

.thought-bridge-card,
.thought-vault-card {
  background: #FFFFFF;
  border: 1px solid #E9E1F7;
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(91, 66, 224, 0.05);
}

.thought-bridge-header,
.thought-vault-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.thought-bridge-eyebrow,
.thought-vault-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7C3AED;
  background: #F3E8FF;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.thought-bridge-title,
.thought-vault-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1E1B4B;
}

.thought-bridge-vault-link {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.wedding-target-chip,
.pillar-countdown-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FDF2F8;
  color: #BE185D;
  border: 1px solid #FBCFE8;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.thought-bridge-science-note,
.thought-vault-sub {
  font-size: 12px;
  line-height: 1.45;
  color: #4B5563;
  margin: 0 0 12px;
  background: #FAF8FD;
  border-left: 3px solid #8B5CF6;
  padding: 8px 10px;
  border-radius: 0 10px 10px 0;
}

.thought-quick-input-row,
.thought-vault-input-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.thought-pillar-select {
  border: 1px solid #DDD6FE;
  background: #FAF8FD;
  color: #4C1D95;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  outline: none;
}

.thought-quick-input,
.thought-vault-input {
  flex: 1;
  min-width: 170px;
  border: 1px solid #DDD6FE;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: #1F2937;
  outline: none;
}

.thought-quick-input:focus,
.thought-vault-input:focus {
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.thought-quick-submit-btn,
.thought-vault-submit-btn {
  background: linear-gradient(135deg, #7C3AED 0%, #5B42E0 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.thought-vault-filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 12px 0 10px;
  flex-wrap: wrap;
}

.thought-filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.thought-filter-pill {
  background: #F3F4F6;
  color: #4B5563;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.thought-filter-pill.active {
  background: #EDE9FE;
  color: #5B21B6;
  border-color: #C4B5FD;
  font-weight: 700;
}

.thought-resurface-list,
.thought-vault-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.thought-resurface-Subheader {
  font-size: 11.5px;
  color: #6B7280;
  margin-bottom: 2px;
}

.thought-resurface-item,
.thought-vault-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FAF8FD;
  border: 1px solid #EDE9FE;
  border-radius: 12px;
  padding: 8px 10px;
  flex-wrap: wrap;
}

.thought-vault-item.done {
  opacity: 0.65;
  background: #F9FAFB;
}

.thought-vault-item.done .thought-vault-item-text {
  text-decoration: line-through;
  color: #9CA3AF;
}

.thought-vault-item-main {
  flex: 1;
  min-width: 150px;
}

.thought-vault-item-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.thought-vault-item-text,
.thought-item-text {
  font-size: 13px;
  font-weight: 600;
  color: #1F2937;
  flex: 1;
}

.thought-pillar-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #F3E8FF;
  color: #6D28D9;
}

.thought-pillar-chip.wedding {
  background: #FCE7F3;
  color: #BE185D;
}

.thought-pillar-chip.health {
  background: #D1FAE5;
  color: #047857;
}

.thought-pillar-chip.business {
  background: #DBEAFE;
  color: #1D4ED8;
}

.thought-age-tag {
  font-size: 10.5px;
  color: #6B7280;
  font-weight: 600;
}

.thought-age-tag.stale {
  color: #D97706;
  background: #FEF3C7;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.thought-item-actions,
.deliverable-item-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.thought-action-btn {
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #374151;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.thought-action-btn.top3 {
  background: #FEF3C7;
  border-color: #FDE68A;
  color: #92400E;
}

.thought-action-btn.today {
  background: #EDE9FE;
  border-color: #DDD6FE;
  color: #5B21B6;
}

.thought-action-btn.sprint {
  background: #E0E7FF;
  border-color: #C7D2FE;
  color: #3730A3;
}

.thought-action-btn.del {
  background: transparent;
  border-color: transparent;
  color: #9CA3AF;
  padding: 4px 6px;
}

.thought-action-btn.del:hover {
  color: #EF4444;
  background: #FEF2F2;
}

.clear-list-mini-btn {
  background: #F9FAFB;
  color: #6B7280;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.clear-list-mini-btn:hover {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #FECACA;
}

.thought-resurface-empty,
.thought-vault-empty,
.pillar-deliverables-empty {
  text-align: center;
  padding: 12px;
  background: #FAF8FD;
  border: 1px dashed #DDD6FE;
  border-radius: 12px;
  font-size: 12px;
  color: #6B7280;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.plan-defer-tomorrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F5F0FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.timeline-clear-way-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F5F0FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

/* ==========================================================================
   3-HOUR INCOME-FIRST PLAN BAR, DELIVERABLE NOTES & FULL-TITLE WRAPPING
   ========================================================================== */

.loaded-plan-review-bar {
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
  border: 1.5px solid #C4B5FD;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.08);
}

.loaded-plan-bar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.loaded-plan-bar-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #2D1B69;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.loaded-plan-bar-sub {
  font-size: 11.5px;
  color: #5B21B6;
  margin: 3px 0 0;
  line-height: 1.35;
}

.loaded-plan-bar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.loaded-plan-bar-btn {
  background: #FFFFFF;
  color: #4C1D95;
  border: 1px solid #C4B5FD;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.loaded-plan-bar-btn.primary {
  background: #6D28D9;
  color: #FFFFFF;
  border-color: #6D28D9;
}

.loaded-plan-conflict-banner {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.now-hero-deliverable-note {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(237, 233, 254, 0.94);
  background: rgba(255, 255, 255, 0.12);
  border-left: 3px solid #C4B5FD;
  padding: 5px 10px;
  border-radius: 0 8px 8px 0;
  line-height: 1.35;
}

.schedule-reanchor-btn {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.timeline-row,
.plan-ref-timeline-card {
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 10px 12px;
}

.timeline-row.is-break {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 35%, #FFFFFF 100%);
  border-color: #FDE68A;
}

.timeline-compact-title,
.timeline-card-title,
.plan-ref-card-title,
.today-task-title-text,
.activity-title,
#focusModeLabel,
.review-task-title strong,
.review-completed-item span {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word !important;
  -webkit-line-clamp: unset !important;
}

#focusModeLabel {
  max-width: 260px;
  margin: 2px auto 0;
  line-height: 1.35;
}






/* =============================================================================
   v234: MOTION-STYLE AUTO-SCHEDULER, HORIZON LADDER & COMPACT MOBILE MODALS
   ============================================================================= */

.task-star-pill {
  white-space: nowrap;
  flex-shrink: 0;
}

.task-schedule-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0 8px;
  border-top: 1px dashed rgba(139, 92, 246, 0.16);
  margin-top: 6px;
  flex-wrap: wrap;
}

.task-schedule-mode-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.task-sched-mode-btn {
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  color: #4B5563;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.task-sched-mode-btn.active {
  background: #EDE9FE;
  color: #5B21B6;
  border-color: #C4B5FD;
}

.task-inline-time-input {
  border: 1px solid #C4B5FD;
  background: #FFFFFF;
  color: #1E1B4B;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  height: 30px;
}

.task-inline-dur-select {
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  color: #374151;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.task-tag-chip.time-scheduled {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
  cursor: pointer;
}

.task-tag-chip.auto-slot-btn {
  background: #F5F3FF;
  color: #6D28D9;
  border: 1px dashed #A78BFA;
  cursor: pointer;
  font-weight: 700;
}

/* Motion-Style AI Auto-Pilot Card (Plan View) */
.plan-ai-autopilot-card {
  background: #FFFFFF;
  border: 1px solid #E9E1F7;
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(91, 66, 224, 0.06);
}

.plan-ai-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FAF8FD;
  border: 1px solid #DDD6FE;
  border-radius: 12px;
  padding: 5px 6px 5px 10px;
}

.plan-ai-spark {
  font-size: 15px;
  flex-shrink: 0;
}

.plan-ai-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #1E1B4B;
  outline: none;
}

.plan-ai-submit-btn {
  border: none;
  background: linear-gradient(135deg, #6D28D9, #4F46E5);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
}

.plan-autopilot-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.plan-autopilot-chip {
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #374151;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.plan-autopilot-chip.primary {
  background: #F5F3FF;
  color: #5B21B6;
  border-color: #C4B5FD;
}

.timeline-free-gap-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 6px 0;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px dashed #CBD5E1;
  background: rgba(248, 250, 252, 0.7);
  color: #64748B;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.unscheduled-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.unscheduled-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #FAF8FD;
  border: 1px solid #EDE9FE;
}

.unscheduled-task-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.unscheduled-task-title {
  font-size: 13px;
  font-weight: 600;
  color: #1E1B4B;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unscheduled-task-dur {
  font-size: 11px;
  font-weight: 700;
  color: #6D28D9;
  background: #EDE9FE;
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.unscheduled-autoslot-btn {
  border: none;
  background: #5B21B6;
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

/* Compact Mobile-Safe Edit Activity Modal */
.editorial-dialog-compact {
  max-height: 88dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 18px 22px;
}

.compact-icon-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.compact-icon-picker .category-picker-item {
  padding: 6px 4px;
  gap: 3px;
}

.compact-icon-picker .icon-badge-box {
  width: 28px;
  height: 28px;
  font-size: 15px;
}

/* Unified Horizon Ladder (Goals) */
.horizon-ladder-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: #F3F0FA;
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.horizon-tab-pill {
  border: none;
  background: transparent;
  color: #6B7280;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.horizon-tab-pill.active {
  background: #FFFFFF;
  color: #4C1D95;
  box-shadow: 0 2px 8px rgba(76, 29, 149, 0.1);
}

.horizon-summary-card {
  background: linear-gradient(135deg, #2D1B69, #4C1D95);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(45, 27, 105, 0.18);
}

.horizon-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.horizon-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #C4B5FD;
}

.horizon-summary-title {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
}

.horizon-days-pill {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.horizon-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.22);
  overflow: hidden;
  margin-bottom: 10px;
}

.horizon-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34D399, #A78BFA);
  transition: width 0.25s ease;
}

.horizon-summary-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #E9D5FF;
}

.horizon-ai-btn {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.horizon-milestone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #EDE9FE;
  background: #FAF8FD;
  font-size: 12.5px;
  color: #1F2937;
  cursor: pointer;
}

.horizon-milestone-row.done {
  opacity: 0.65;
  text-decoration: line-through;
}

.milestone-check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #8B5CF6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #FFFFFF;
  background: transparent;
  flex-shrink: 0;
}

.horizon-milestone-row.done .milestone-check-dot {
  background: #8B5CF6;
}

.horizon-card-btn {
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #374151;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.horizon-card-btn.primary {
  background: #5B21B6;
  color: #FFFFFF;
  border-color: #5B21B6;
}

/* Review AI Insight Card */
.review-ai-insight-card {
  background: linear-gradient(135deg, #F5F3FF, #EEF2FF);
  border: 1px solid #DDD6FE;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.review-ai-insight-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.review-ai-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #5B21B6;
}

.review-ai-refresh-btn {
  border: 1px solid #C4B5FD;
  background: #FFFFFF;
  color: #5B21B6;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.review-ai-insight-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #1E1B4B;
}
