.month-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 22px 0 10px;
  font-weight: 600;
}
.date-label {
  color: var(--body);
  font-size: 12px;
  margin: 14px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.entry-mood {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--title); font-size: 15px;
  font-family: var(--font-display); font-style: italic;
}
.entry-text { color: var(--body); font-size: 13px; margin: 8px 0; font-style: italic; }
.entry-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  background: var(--primary-soft);
  color: var(--orange);
  font-size: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 5px;
  font-weight: 600;
  border: 1px solid rgba(255,90,31,0.18);
}

.cta-fixed {
  position: fixed;
  bottom: calc(var(--tab-height) + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(min(100vw, var(--content-max)) - 40px);
  background: var(--gradient-90);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 15px 22px;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: var(--shadow-cta);
  z-index: 40;
  letter-spacing: 0.01em;
}

.empty {
  text-align: center;
  color: var(--body);
  padding: 56px 16px;
}
.empty .icon { font-size: 48px; color: var(--orange); margin-bottom: 12px; opacity: 0.6; }

/* Stepper */
.stepper-bar {
  display: flex;
  gap: 5px;
  padding: 0 20px 14px;
}
.stepper-bar .seg {
  flex: 1;
  height: 4px;
  background: var(--surface-3);
  border-radius: 2px;
  transition: background 0.3s;
}
.stepper-bar .seg.active { background: var(--gradient-90); box-shadow: 0 0 8px rgba(255,90,31,0.5); }

.step-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 24px;
  color: var(--title);
  margin: 8px 0 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.selected-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}

.option-list { display: grid; gap: 10px; }
.option {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  font-weight: 500;
}
.option:hover { background: var(--surface-2); transform: translateY(-1px); }
.option.selected {
  border-color: var(--orange);
  background: var(--primary-soft);
  box-shadow: 0 0 0 2px rgba(255,90,31,0.18), var(--shadow-card);
}
.option .em { font-size: 22px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.diary-textarea {
  width: 100%;
  min-height: 200px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}
.diary-textarea::placeholder { color: var(--muted); }
.diary-textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,31,0.18); }

.flow-shell { padding-bottom: 110px; }
.flow-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(min(100vw, var(--content-max)) - 40px);
  background: var(--gradient-90);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 15px 22px;
  font-weight: 700;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: var(--shadow-cta);
  border: none;
  letter-spacing: 0.01em;
}
.flow-cta:disabled {
  background: var(--surface-2);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}

.detail-header .close {
  margin-left: auto;
  color: var(--ink);
  font-size: 20px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
}
