*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral: #FF7B5F;
  --coral-light: #FFE8E3;
  --teal: #3DBFA0;
  --teal-light: #D8F5EE;
  --yellow: #FFCF56;
  --yellow-deep: #F5B800;
  --yellow-light: #FFF8DC;
  --purple: #9B7FE8;
  --purple-light: #EDE8FB;
  --pink: #F06EA0;
  --pink-light: #FDEAF3;
  --blue: #5BA4E6;
  --blue-light: #E4F0FD;
  --cream: #FDFAF4;
  --dark: #2D2D2D;
  --mid: #5A5A5A;
  --light: #F0EDE7;
}

html { scroll-behavior: smooth; height: 100%; }

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 { font-family: 'Nunito', system-ui, sans-serif; }

/* ── APP HEADER ── */
.app-header {
  background: linear-gradient(135deg, var(--teal) 0%, #2CA88A 100%);
  padding: 1rem 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(61,191,160,0.25);
}
.app-header-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.app-header-top h1 {
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.app-header-top h1 span { opacity: 0.8; font-weight: 600; font-size: 0.85rem; display: block; }
.header-spoon svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15)); }

/* ── TAB NAV ── */
.tab-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 1;
  min-width: 70px;
  background: none;
  border: none;
  padding: 0.65rem 0.5rem 0.55rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  text-align: center;
}
.tab-btn.active {
  color: white;
  border-bottom-color: white;
}
.tab-btn:hover:not(.active) { color: rgba(255,255,255,0.9); }

/* ── PANELS ── */
.panel { display: none; flex: 1; }
.panel.active { display: block; }

/* ── LEARN PANEL ── */
.learn-panel {
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #FFF0E8 0%, #E8F7F2 50%, #EDE8FB 100%);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 3px dashed #e0dad0;
}
.hero-spoons {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.hero h2 {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.hero h2 span { color: var(--coral); }
.hero p.lead {
  font-size: 1rem;
  color: var(--mid);
  max-width: 520px;
  margin: 0 auto 1.25rem;
}
.tag-row { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.tag {
  background: white;
  border: 2px solid var(--light);
  border-radius: 50px;
  padding: 0.25rem 0.85rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--mid);
}

/* Sections */
.section {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.section-label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.4rem;
}
.section h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
  line-height: 1.2;
}
.section p { color: var(--mid); margin-bottom: 0.9rem; }
.divider { border: none; border-top: 3px dashed #e0dad0; margin: 0; }

/* Callout */
.callout {
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.callout.coral  { background: var(--coral-light);  border-left: 5px solid var(--coral); }
.callout.teal   { background: var(--teal-light);   border-left: 5px solid var(--teal); }
.callout.purple { background: var(--purple-light); border-left: 5px solid var(--purple); }
.callout.yellow { background: var(--yellow-light); border-left: 5px solid var(--yellow); }
.callout-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.callout p { margin: 0; color: var(--dark); font-size: 0.93rem; }
.callout strong { font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; }

/* Spoon grid */
.spoon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
  margin: 1.25rem 0;
}
.spoon-card {
  border-radius: 16px;
  padding: 1.1rem 1.1rem 0.9rem;
  position: relative;
}
.spoon-card .card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.65rem;
}
.spoon-card h3 { font-size: 0.96rem; font-weight: 800; margin-bottom: 0.25rem; }
.spoon-card p  { font-size: 0.86rem; margin: 0; line-height: 1.5; }
.spoon-card .examples {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  opacity: 0.75;
}
.card-coral  { background: var(--coral-light); }
.card-teal   { background: var(--teal-light); }
.card-purple { background: var(--purple-light); }
.card-blue   { background: var(--blue-light); }
.card-pink   { background: var(--pink-light); }
.card-yellow { background: var(--yellow-light); }
.icon-coral  { background: var(--coral); }
.icon-teal   { background: var(--teal); }
.icon-purple { background: var(--purple); }
.icon-blue   { background: var(--blue); }
.icon-pink   { background: var(--pink); }
.icon-yellow { background: var(--yellow-deep); }

/* Cycle container */
.cycle-container {
  background: white;
  border-radius: 18px;
  padding: 1.25rem;
  border: 2px solid var(--light);
  margin: 1.25rem 0;
  overflow: hidden;
}

/* Tips grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}
.tip-card {
  background: white;
  border: 2px solid var(--light);
  border-radius: 15px;
  padding: 1rem 1rem 0.85rem;
}
.tip-card .tip-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: white;
  margin-bottom: 0.5rem;
}
.tip-card h4 { font-size: 0.9rem; font-weight: 800; margin-bottom: 0.25rem; }
.tip-card p  { font-size: 0.83rem; color: var(--mid); margin: 0; }

/* ── TRACKER PANEL ── */
.tracker-panel { max-width: 640px; margin: 0 auto; padding: 1.25rem; }

.tracker-header {
  background: linear-gradient(135deg, var(--teal) 0%, #2CA88A 100%);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  color: white;
}
.tracker-header h2 { font-size: 1.3rem; font-weight: 900; color: white; margin-bottom: 0.25rem; }
.tracker-header p  { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin: 0; }

.date-mood-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--light);
}
.date-mood-row label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
}
input[type="date"] {
  border: 2px solid var(--light);
  border-radius: 9px;
  padding: 0.35rem 0.65rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}
input[type="date"]:focus { border-color: var(--teal); }

.mood-row {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}
.mood-btn {
  font-size: 1.25rem;
  background: none;
  border: 2.5px solid var(--light);
  border-radius: 50%;
  width: 40px; height: 40px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.mood-btn.selected { border-color: var(--teal); background: var(--teal-light); }
.mood-label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.83rem;
  color: #888;
  margin-left: 0.25rem;
}

/* Tracker section card */
.t-card {
  background: white;
  border: 2px solid var(--light);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}
.t-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Sliders */
.spoon-slider-group { display: flex; flex-direction: column; gap: 0.8rem; }
.slider-row { display: flex; align-items: center; gap: 0.65rem; }
.slider-name {
  width: 128px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  flex-shrink: 0;
}
.slider-wrap { flex: 1; }
input[type="range"] {
  width: 100%;
  appearance: none;
  height: 8px;
  border-radius: 50px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: white;
  border: 3px solid currentColor;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.slider-val {
  width: 36px;
  text-align: center;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  flex-shrink: 0;
}

/* Activity cards */
.activity-card {
  background: var(--cream);
  border: 1.5px solid var(--light);
  border-radius: 11px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
}
.act-name {
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  padding: 0;
  margin-bottom: 0.45rem;
}
.act-name::placeholder { color: #bbb; }
.act-name:focus { color: var(--dark); }
.act-row2 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.act-type {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--light);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  background: white;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
}
.act-type:focus { border-color: var(--teal); }
.act-delete {
  flex-shrink: 0;
  background: none;
  border: 1.5px solid var(--light);
  border-radius: 50%;
  width: 24px; height: 24px;
  font-size: 0.85rem;
  line-height: 1;
  color: #bbb;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, color 0.15s;
  padding: 0;
}
.act-delete:hover { border-color: var(--coral); color: var(--coral); }
.dot-row { display: flex; gap: 4px; align-items: center; }
.spoon-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.1s;
  background: #e0dad0;
}
.spoon-dot:hover { transform: scale(1.25); }
.spoon-dot.active { border-color: var(--dark); }
.add-row-btn {
  margin-top: 0.65rem;
  background: var(--teal-light);
  color: #1A6B53;
  border: none;
  border-radius: 9px;
  padding: 0.4rem 0.9rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
}
.add-row-btn:hover { background: #c2ede2; }

/* Recharge grid */
.recharge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.recharge-box {
  background: var(--cream);
  border: 2px dashed var(--light);
  border-radius: 11px;
  padding: 0.7rem;
}
.recharge-box label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  color: var(--mid);
  display: block;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.recharge-box textarea {
  width: 100%;
  border: none;
  background: transparent;
  resize: none;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 0.86rem;
  color: var(--dark);
  outline: none;
  min-height: 50px;
  line-height: 1.5;
}

/* Reflection */
.reflection-box {
  background: var(--purple-light);
  border-radius: 13px;
  padding: 0.9rem 1.1rem;
}
.reflection-box p { font-size: 0.86rem; color: var(--mid); margin-bottom: 0.4rem; }
.reflection-box textarea {
  width: 100%;
  border: 2px solid rgba(155,127,232,0.3);
  background: white;
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  resize: none;
  outline: none;
  min-height: 70px;
  transition: border-color 0.2s;
}
.reflection-box textarea:focus { border-color: var(--purple); }

/* Save button */
.save-btn {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 0.85rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 3px 12px rgba(61,191,160,0.35);
}
.save-btn:hover  { background: #35a98d; }
.save-btn:active { transform: scale(0.98); }
.save-confirm {
  text-align: center;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  color: #1A6B53;
  font-size: 1rem;
  margin-top: 0.6rem;
  height: 1.5rem;
  transition: opacity 0.3s;
}

/* ── HISTORY PANEL ── */
.history-panel { max-width: 640px; margin: 0 auto; padding: 1.25rem; }

.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.week-nav button {
  background: white;
  border: 2px solid var(--light);
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s;
}
.week-nav button:hover { border-color: var(--teal); }
.week-nav button:disabled { opacity: 0.35; cursor: default; }
.week-label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  text-align: center;
  flex: 1;
}

.day-card {
  background: white;
  border: 2px solid var(--light);
  border-radius: 16px;
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color 0.15s;
}
.day-card:hover { border-color: #d5cfc8; }
.day-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  user-select: none;
}
.day-name {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--dark);
  min-width: 80px;
}
.day-mood { font-size: 1.35rem; flex-shrink: 0; }
.day-spoon-bars { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.day-bar-row { display: flex; align-items: center; gap: 5px; }
.day-bar-track {
  flex: 1;
  height: 6px;
  background: var(--light);
  border-radius: 50px;
  overflow: hidden;
}
.day-bar-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 0.4s ease;
}
.day-total {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--mid);
  min-width: 42px;
  text-align: right;
}
.day-chevron {
  font-size: 0.85rem;
  color: #bbb;
  transition: transform 0.2s;
}
.day-card.expanded .day-chevron { transform: rotate(180deg); }

.day-card-detail {
  display: none;
  padding: 0 1.1rem 1rem;
  border-top: 1px solid var(--light);
}
.day-card.expanded .day-card-detail { display: block; }

.detail-section { margin-top: 0.85rem; }
.detail-section h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mid);
  margin-bottom: 0.45rem;
}
.detail-activity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.87rem;
  padding: 0.2rem 0;
  color: var(--dark);
}
.detail-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.detail-cost {
  margin-left: auto;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--mid);
}
.detail-reflection {
  font-size: 0.87rem;
  color: var(--mid);
  font-style: italic;
  background: var(--purple-light);
  border-radius: 9px;
  padding: 0.6rem 0.85rem;
}
.day-empty {
  background: white;
  border: 2px dashed var(--light);
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.day-empty .day-name { color: #bbb; }
.day-empty .day-no-entry {
  flex: 1;
  font-size: 0.84rem;
  color: #ccc;
  font-style: italic;
}
.goto-tracker-btn {
  background: var(--teal-light);
  color: #1A6B53;
  border: none;
  border-radius: 9px;
  padding: 0.35rem 0.75rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.history-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--mid);
}
.history-empty p { margin-bottom: 1rem; font-size: 0.95rem; }
.history-empty button {
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1.5rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}

/* ── PATTERNS PANEL ── */
.patterns-panel { max-width: 640px; margin: 0 auto; padding: 1.25rem; }

.range-toggle {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  background: white;
  border: 2px solid var(--light);
  border-radius: 12px;
  padding: 0.3rem;
}
.range-btn {
  flex: 1;
  background: none;
  border: none;
  border-radius: 9px;
  padding: 0.45rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.83rem;
  cursor: pointer;
  color: var(--mid);
  transition: all 0.15s;
}
.range-btn.active {
  background: var(--teal);
  color: white;
}

.patterns-card {
  background: white;
  border: 2px solid var(--light);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}
.patterns-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Spoon average bars */
.avg-bar-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}
.avg-label {
  width: 120px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  flex-shrink: 0;
}
.avg-track {
  flex: 1;
  height: 18px;
  background: var(--light);
  border-radius: 50px;
  overflow: hidden;
}
.avg-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  min-width: 28px;
}
.avg-fill span {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: white;
}
.avg-val {
  width: 30px;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--dark);
  text-align: right;
}

/* Mood distribution */
.mood-dist-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}
.mood-dist-emoji { font-size: 1.25rem; width: 28px; flex-shrink: 0; }
.mood-dist-label {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  width: 55px;
  flex-shrink: 0;
}
.mood-track {
  flex: 1;
  height: 18px;
  background: var(--light);
  border-radius: 50px;
  overflow: hidden;
}
.mood-fill {
  height: 100%;
  border-radius: 50px;
  transition: width 0.5s ease;
}
.mood-count {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--dark);
  width: 28px;
  text-align: right;
}

/* Draining activities */
.drain-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light);
  font-size: 0.88rem;
}
.drain-item:last-child { border-bottom: none; }
.drain-rank {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--light);
  width: 22px;
  text-align: center;
}
.drain-name { flex: 1; color: var(--dark); }
.drain-type-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.drain-cost {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--mid);
}

/* Insight cards */
.insight-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--dark);
  border-left: 4px solid var(--teal);
}
.insight-card:last-child { margin-bottom: 0; }

/* Not enough data */
.no-data {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--mid);
  font-size: 0.9rem;
}

/* ── FOOTER ── */
.app-footer {
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin-top: auto;
}
.app-footer strong { color: rgba(255,255,255,0.75); }

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .recharge-grid { grid-template-columns: 1fr; }
  .slider-name { width: 105px; font-size: 0.82rem; }
  .activity-table { font-size: 0.8rem; }
  .avg-label { width: 100px; }
  .spoon-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  .spoon-grid { grid-template-columns: 1fr; }
}
