/* ===== CSS Variables ===== */
:root {
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-border: #ebe7e2;
  --color-border-light: #f2eeea;
  --color-text: #1a1a1a;
  --color-text-muted: #908a83;
  --color-text-faint: #b8b3ad;
  --color-accent: #c45d3a;
  --color-accent-hover: #b04e2e;
  --color-accent-light: rgba(196, 93, 58, 0.07);
  --color-accent-glow: rgba(196, 93, 58, 0.15);
  --color-success: #3a8a5c;
  --color-warning: #c49a3a;
  --color-error: #c43a3a;
  --color-error-light: rgba(196, 58, 58, 0.07);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(26, 26, 26, 0.03);
  --shadow-sm: 0 1px 4px rgba(26, 26, 26, 0.04), 0 0 1px rgba(26,26,26,0.06);
  --shadow-md: 0 4px 16px rgba(26, 26, 26, 0.06), 0 0 1px rgba(26,26,26,0.06);
  --shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.1), 0 0 1px rgba(26,26,26,0.08);

  --duration-fast: 120ms;
  --duration-normal: 220ms;
  --duration-slow: 350ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100dvh;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

input {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

/* ===== App Container ===== */
.app {
  max-width: 500px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  padding-bottom: 100px;
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

.subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.streak-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #fef6ec, #fdebd4);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #bf7528;
  transition: transform var(--duration-normal) var(--ease-spring);
  user-select: none;
}

.streak-badge svg {
  color: #e8932e;
  flex-shrink: 0;
}

.streak-badge.pulse {
  animation: badgePulse 0.5s var(--ease-spring);
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.btn-add {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: white;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 2px 8px rgba(196, 93, 58, 0.25);
}

.btn-add:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 93, 58, 0.3);
}

.btn-add:active {
  transform: translateY(0) scale(0.95);
}

/* ===== Week Navigation ===== */
.week-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-xl);
}

.week-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
  flex-shrink: 0;
}

.week-arrow:hover {
  background: var(--color-border-light);
  color: var(--color-text-muted);
}

.week-days {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 2px;
}

.day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 0;
  flex: 1;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  position: relative;
}

.day-col:hover {
  background: rgba(0, 0, 0, 0.02);
}

.day-col.is-selected {
  background: var(--color-accent);
  box-shadow: 0 2px 8px rgba(196, 93, 58, 0.2);
}

.day-col.is-today:not(.is-selected) {
  background: var(--color-accent-light);
}

.day-col.is-selected .day-label,
.day-col.is-selected .day-num {
  color: white;
}

.day-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  line-height: 1;
}

.day-num {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  line-height: 1;
}

.day-dot {
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background: transparent;
  transition: background var(--duration-fast) ease;
}

.day-dot.has-completions {
  background: var(--color-accent);
}

.day-col.is-selected .day-dot.has-completions {
  background: rgba(255, 255, 255, 0.6);
}

.day-dot.all-done {
  background: var(--color-success);
}

.day-col.is-selected .day-dot.all-done {
  background: rgba(255, 255, 255, 0.85);
}

/* ===== Progress Section ===== */
.progress-section {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.progress-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-light), var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--duration-slow) ease;
}

.progress-section.all-complete::before {
  opacity: 1;
}

.progress-ring-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-bg {
  stroke: var(--color-border-light);
}

.progress-ring-fill {
  stroke: var(--color-accent);
  stroke-dasharray: 213.63;
  stroke-dashoffset: 213.63;
  transition: stroke-dashoffset 0.7s var(--ease-out), stroke 0.3s ease;
}

.progress-ring-fill.complete {
  stroke: var(--color-success);
}

.progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-pct {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.progress-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.progress-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-text);
}

.progress-count {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.progress-quote {
  display: none;
}

/* ===== Habits List ===== */
.habits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== Empty State ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.empty-illustration {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  opacity: 0.6;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.empty-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 260px;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.btn-empty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ===== Habit Card ===== */
.habit-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-normal) var(--ease-out);
  animation: cardSlideIn 0.35s var(--ease-out) both;
  cursor: default;
}

.habit-card:nth-child(1) { animation-delay: 0ms; }
.habit-card:nth-child(2) { animation-delay: 40ms; }
.habit-card:nth-child(3) { animation-delay: 80ms; }
.habit-card:nth-child(4) { animation-delay: 120ms; }
.habit-card:nth-child(5) { animation-delay: 160ms; }
.habit-card:nth-child(6) { animation-delay: 200ms; }

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

.habit-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.habit-card.completed {
  opacity: 0.7;
}

.habit-card.completed:hover {
  opacity: 0.85;
}

.habit-card.just-completed {
  animation: completePop 0.4s var(--ease-spring);
}

@keyframes completePop {
  0% { transform: scale(1); }
  30% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.habit-card.not-scheduled {
  opacity: 0.4;
  pointer-events: none;
}

/* Check Button */
.habit-check {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-spring);
  background: transparent;
  position: relative;
}

.habit-check:hover {
  border-color: var(--color-text-muted);
  transform: scale(1.08);
}

.habit-check:active {
  transform: scale(0.92);
}

.habit-check.checked {
  border-color: transparent;
  transform: scale(1);
}

.habit-check.checked:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.habit-check svg {
  opacity: 0;
  transform: scale(0.3) rotate(-10deg);
  transition: all var(--duration-normal) var(--ease-spring);
  color: white;
}

.habit-check.checked svg {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Habit Info */
.habit-info {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.habit-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--duration-normal) ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.habit-card.completed .habit-name {
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--color-border);
}

.habit-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.habit-streak {
  font-size: 0.7rem;
  color: var(--color-text-faint);
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
}

.habit-streak svg {
  width: 11px;
  height: 11px;
  opacity: 1;
  transform: none;
}

.habit-streak.active {
  color: #d98a2b;
}

.habit-week {
  display: flex;
  gap: 3px;
  align-items: center;
}

.habit-week-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-border-light);
  transition: all var(--duration-fast) ease;
}

.habit-week-dot.filled {
  opacity: 1;
}

.habit-week-dot.today-marker {
  outline: 1.5px solid var(--color-text-faint);
  outline-offset: 1px;
}

/* Habit Actions */
.habit-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.habit-card:hover .habit-actions {
  opacity: 1;
}

.habit-edit {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}

.habit-edit:hover {
  color: var(--color-text-muted);
  background: var(--color-border-light);
}

/* ===== Heatmap Section ===== */
.heatmap-section {
  margin-top: var(--space-2xl);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.heatmap-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.heatmap-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.heatmap-label {
  width: 90px;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  font-weight: 500;
}

.heatmap-cells {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

.heatmap-cell {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--color-border-light);
  transition: all var(--duration-fast) ease;
  position: relative;
}

.heatmap-cell.filled {
  opacity: 1;
}

.heatmap-cell.today {
  outline: 2px solid var(--color-text-faint);
  outline-offset: -1px;
}

.heatmap-day-labels {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  padding-left: 96px;
  margin-bottom: 4px;
}

.heatmap-day-label {
  width: 28px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  width: 100%;
  max-width: 500px;
  transform: translateY(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}

.modal-close:hover {
  background: var(--color-border-light);
  color: var(--color-text);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-input::placeholder {
  color: var(--color-text-faint);
}

/* Icon Picker */
.icon-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.icon-option {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border-light);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  background: transparent;
}

.icon-option:hover {
  border-color: var(--color-border);
  background: var(--color-bg);
}

.icon-option.selected {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

/* Color Picker */
.color-picker {
  display: flex;
  gap: 8px;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  border: 3px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.color-option:hover {
  transform: scale(1.15);
}

.color-option.selected {
  outline-color: currentColor;
  transform: scale(1.1);
}

/* Frequency Picker */
.freq-picker {
  display: flex;
  gap: 6px;
}

.freq-option {
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}

.freq-option:hover {
  border-color: var(--color-border);
  color: var(--color-text);
}

.freq-option.selected {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent);
  font-weight: 600;
}

/* Custom Days */
.custom-days {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.day-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}

.day-btn:hover {
  border-color: var(--color-border);
}

.day-btn.selected {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.modal-actions-right {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.btn-secondary {
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
}

.btn-secondary:hover {
  background: var(--color-border-light);
  color: var(--color-text);
}

.btn-primary {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
  box-shadow: 0 2px 6px rgba(196, 93, 58, 0.2);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 10px rgba(196, 93, 58, 0.25);
}

.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-danger-outline {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-error);
  background: var(--color-error-light);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
}

.btn-danger-outline:hover {
  background: rgba(196, 58, 58, 0.12);
}

/* ===== Delete Confirmation ===== */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) ease;
}

.confirm-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.confirm-dialog {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  width: 90%;
  max-width: 340px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.confirm-overlay.active .confirm-dialog {
  transform: scale(1);
}

.confirm-icon {
  color: var(--color-error);
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

.confirm-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.confirm-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.confirm-actions {
  display: flex;
  gap: var(--space-sm);
}

.confirm-actions .btn-secondary {
  flex: 1;
}

.btn-danger {
  flex: 1;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  background: var(--color-error);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
}

.btn-danger:hover {
  background: #a83232;
}

/* ===== Celebration Canvas ===== */
#celebrationCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
}

/* ===== Responsive ===== */
@media (min-width: 520px) {
  .app {
    padding: var(--space-xl) var(--space-lg);
  }

  .modal {
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-xl);
    max-height: 85vh;
  }

  .modal-overlay {
    align-items: center;
  }
}

@media (max-width: 380px) {
  .logo {
    font-size: 1.8rem;
  }

  .day-num {
    font-size: 0.8rem;
  }

  .heatmap-cell {
    width: 24px;
    height: 24px;
  }

  .habit-card {
    padding: 12px;
    gap: 10px;
  }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}

/* ===== Selection ===== */
::selection {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
