/* ============================================
   PROPEL — styles.css
   Mobile-first, energetic, motivational
   ============================================ */

:root {
  --brand: #534AB7;
  --brand-dark: #3C3489;
  --brand-light: #EEEDFE;
  --brand-mid: #7F77DD;

  --red: #E24B4A;
  --red-bg: #FCEBEB;
  --red-dark: #791F1F;

  --amber: #EF9F27;
  --amber-bg: #FAEEDA;
  --amber-dark: #633806;

  --green: #639922;
  --green-bg: #EAF3DE;
  --green-dark: #27500A;

  --bg: #F5F3FF;
  --surface: #FFFFFF;
  --text: #1A1825;
  --text-secondary: #6B6880;
  --border: #E8E6F0;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --nav-height: 64px;
  --hero-gradient: linear-gradient(135deg, #534AB7 0%, #3C3489 60%, #2A2460 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  overflow: hidden;
  background: #2A2460;
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
}

#app {
  height: 100%;
  width: 100%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 80px rgba(0,0,0,0.5);
}

/* ============================================
   AUTH SCREEN
   ============================================ */
.auth-screen {
  height: 100%;
  background: var(--hero-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-inner {
  text-align: center;
  max-width: 320px;
  width: 100%;
}

.auth-logo {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.logo-mark { color: #9FE1CB; }

.auth-tagline {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-google:active { transform: scale(0.97); }
.btn-google:disabled { opacity: 0.6; }

.auth-input {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 10px;
  outline: none;
  color: #fff;
  transition: background 0.2s;
}

.auth-input::placeholder { color: rgba(255,255,255,0.5); }
.auth-input:focus { background: rgba(255,255,255,0.22); }

.auth-error {
  font-size: 13px;
  color: #FF8A89;
  margin-top: 8px;
}

.auth-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}

/* ============================================
   APP SHELL
   ============================================ */
.app-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: var(--nav-height);
}

/* ============================================
   HOME SCREEN
   ============================================ */
.page-home { background: var(--bg); }

.home-hero {
  background: var(--hero-gradient);
  padding: 52px 18px 20px;
  flex-shrink: 0;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.hero-greeting {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.hero-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.why-chip {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.1);
}

.why-chip.why-empty { cursor: pointer; opacity: 0.7; }

.why-eyebrow {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.why-body {
  font-size: 13px;
  color: #fff;
  line-height: 1.5;
}

.runway-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.runway-days {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.runway-days.red { color: #FF8A89; }
.runway-days.amber { color: #FFD089; }
.runway-days.green { color: #9FE1CB; }
.runway-unit { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.runway-bar-wrap { flex: 1; }

.runway-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.runway-bg {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  overflow: hidden;
}

.runway-fill {
  height: 6px;
  border-radius: 10px;
  background: #9FE1CB;
  transition: width 0.6s ease;
}

.runway-fill.red { background: #FF8A89; }
.runway-fill.amber { background: #FFD089; }

/* ============================================
   TASK TABS
   ============================================ */
.task-tabs {
  display: flex;
  gap: 6px;
  padding: 14px 16px 8px;
  flex-shrink: 0;
  background: var(--bg);
}

.task-tab {
  flex: 1;
  padding: 8px 0;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
  color: var(--text-secondary);
}

.task-tab.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(83,74,183,0.3);
}

/* ============================================
   TASK CARDS
   ============================================ */
.tasks-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 4px 16px 80px;
  -webkit-overflow-scrolling: touch;
}

.task-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform 0.15s;
  border-left: 4px solid transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.task-card:active { transform: scale(0.98); }
.task-card.red { border-left-color: var(--red); }
.task-card.amber { border-left-color: var(--amber); }
.task-card.green { border-left-color: var(--green); }

.task-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.task-icon.red { background: var(--red-bg); color: var(--red); }
.task-icon.amber { background: var(--amber-bg); color: var(--amber); }
.task-icon.green { background: var(--green-bg); color: var(--green); }

.task-body { flex: 1; min-width: 0; }

.task-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}

.task-meta { font-size: 11px; color: var(--text-secondary); margin-top: 3px; }

.task-hint {
  font-size: 11px;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 6px;
  padding: 3px 8px;
  margin-top: 6px;
  display: inline-block;
}

.task-warn {
  font-size: 11px;
  color: var(--red-dark);
  background: var(--red-bg);
  border-radius: 6px;
  padding: 3px 8px;
  margin-top: 4px;
  display: inline-block;
}

.task-arrow { font-size: 16px; color: var(--border); margin-top: 2px; flex-shrink: 0; }

/* ============================================
   FAB — constrained inside #app
   ============================================ */
.fab {
  position: absolute;
  bottom: calc(var(--nav-height) + 16px);
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  border: none;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(83,74,183,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  z-index: 100;
}

.fab:active {
  transform: scale(0.93);
  box-shadow: 0 2px 10px rgba(83,74,183,0.3);
}

/* ============================================
   FORM SCREENS (new-goal, new-task)
   ============================================ */
.page-form {
  background: var(--bg);
  padding-bottom: 0;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 52px 16px 20px;
  background: var(--hero-gradient);
}

.form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  flex: 1;
}

.form-body {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s;
}

.form-textarea {
  min-height: 80px;
  resize: none;
  line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--brand); }

.form-hint {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.btn-primary {
  width: 100%;
  padding: 15px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(83,74,183,0.3);
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 4px;
}

.btn-primary:disabled { opacity: 0.4; }
.btn-primary:active:not(:disabled) { transform: scale(0.98); }

/* ============================================
   CAPTURE SCREEN
   ============================================ */
.page-capture {
  background: var(--bg);
  padding-bottom: 0;
}

.capture-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 52px 16px 16px;
  background: var(--hero-gradient);
}

.capture-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.capture-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.capture-input {
  width: 100%;
  min-height: 100px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  resize: none;
  outline: none;
  transition: border-color 0.2s;
  line-height: 1.5;
}

.capture-input:focus { border-color: var(--brand); }

.ai-suggest {
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1px solid rgba(83,74,183,0.2);
}

.ai-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.suggest-chips { display: flex; gap: 6px; margin-bottom: 8px; }

.suggest-chip {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(83,74,183,0.3);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-dark);
  cursor: pointer;
  transition: all 0.15s;
}

.suggest-chip.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.suggest-link { font-size: 12px; color: var(--brand); }

.btn-save {
  width: 100%;
  padding: 15px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(83,74,183,0.3);
}

.btn-save:disabled { opacity: 0.4; }
.btn-save:active:not(:disabled) { transform: scale(0.98); }

/* ============================================
   GOALS SCREEN
   ============================================ */
.page-goals, .page-ideas { background: var(--bg); }

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 52px 16px 16px;
  background: var(--hero-gradient);
}

.page-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.goals-list, .ideas-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 80px;
}

.goal-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 4px solid var(--brand);
  transition: transform 0.15s;
}

.goal-card:active { transform: scale(0.98); }
.goal-card.completed { border-left-color: var(--green); opacity: 0.7; }
.goal-card.paused { border-left-color: var(--text-secondary); opacity: 0.6; }

.goal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.goal-card-title { font-size: 15px; font-weight: 500; color: var(--text); flex: 1; }

.goal-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 4px;
  flex-shrink: 0;
}

.goal-status-dot.completed { background: var(--green); }
.goal-status-dot.paused { background: var(--text-secondary); }

.goal-why { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; line-height: 1.4; }
.goal-meta { font-size: 11px; color: var(--brand); font-weight: 500; }

/* ============================================
   IDEAS SCREEN
   ============================================ */
.idea-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.idea-card.promoted { opacity: 0.6; }
.idea-body { font-size: 14px; color: var(--text); line-height: 1.5; margin-bottom: 8px; }

.idea-footer { display: flex; justify-content: space-between; align-items: center; }
.idea-date { font-size: 11px; color: var(--text-secondary); }

.idea-promote {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  background: var(--brand-light);
  border: none;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  cursor: pointer;
}

.idea-promoted-tag { font-size: 11px; color: var(--green); font-weight: 500; }

/* ============================================
   TASK DETAIL
   ============================================ */
.page-detail { background: var(--bg); padding-bottom: 0; }

.detail-hero {
  background: var(--hero-gradient);
  padding: 48px 16px 20px;
  flex-shrink: 0;
}

.detail-topbar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.detail-topbar-title {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  flex: 1;
  line-height: 1.3;
}

.urgency-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.urgency-badge.red { background: var(--red); color: #fff; }
.urgency-badge.amber { background: var(--amber); color: #fff; }
.urgency-badge.green { background: var(--green); color: #fff; }

.detail-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.crumb-sep { color: var(--brand-mid); }

.detail-progress { display: flex; align-items: center; gap: 14px; }
.progress-ring { width: 56px; height: 56px; flex-shrink: 0; }
.progress-big { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff; }
.progress-sub { font-size: 11px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }

.progress-bar-bg {
  height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.progress-bar-fill {
  height: 5px;
  background: #9FE1CB;
  border-radius: 10px;
  transition: width 0.5s ease;
}

.detail-body { flex: 1; overflow-y: auto; padding: 12px 16px 80px; }

.detail-section-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 16px 0 8px;
}

.detail-empty { font-size: 13px; color: var(--text-secondary); padding: 4px 0; }

.done-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.done-row i { font-size: 16px; color: var(--green); flex-shrink: 0; }
.done-row span { font-size: 13px; color: var(--text-secondary); text-decoration: line-through; flex: 1; }
.done-date { font-size: 10px; color: var(--text-secondary); flex-shrink: 0; }

.todo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.todo-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--brand-mid);
  flex-shrink: 0;
}

.todo-row span { font-size: 13px; color: var(--text); flex: 1; }
.todo-due { font-size: 10px; color: var(--text-secondary); flex-shrink: 0; }

.suggest-card, .warn-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 8px;
}

.suggest-card { background: var(--brand-light); }
.suggest-card i { font-size: 18px; color: var(--brand); flex-shrink: 0; margin-top: 1px; }
.suggest-card-title { font-size: 12px; font-weight: 500; color: var(--brand-dark); margin-bottom: 3px; }
.suggest-card-text { font-size: 12px; color: var(--brand); line-height: 1.4; }

.warn-card { background: var(--red-bg); }
.warn-card i { font-size: 18px; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.warn-card-title { font-size: 12px; font-weight: 500; color: var(--red-dark); margin-bottom: 3px; }
.warn-card-text { font-size: 12px; color: var(--red); line-height: 1.4; }

.note-input {
  width: 100%;
  min-height: 72px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  background: var(--surface);
  resize: none;
  outline: none;
  margin-bottom: 8px;
}

.note-input:focus { border-color: var(--brand); }

.btn-save-note {
  width: 100%;
  padding: 11px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 12px;
  transition: opacity 0.2s;
}

.btn-save-note:disabled { opacity: 0.4; }

.note-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.note-body { font-size: 13px; color: var(--text); line-height: 1.5; margin-bottom: 4px; }
.note-date { font-size: 10px; color: var(--text-secondary); }

/* ============================================
   BACK BUTTON
   ============================================ */
.back-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================
   BOTTOM NAV — constrained inside #app
   ============================================ */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 200;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}

.nav-item i { font-size: 22px; color: var(--text-secondary); transition: color 0.2s; }
.nav-item span { font-size: 10px; color: var(--text-secondary); transition: color 0.2s; }
.nav-item.active i { color: var(--brand); }
.nav-item.active span { color: var(--brand); font-weight: 500; }

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  color: var(--text-secondary);
  gap: 8px;
}

.empty-state i { font-size: 32px; opacity: 0.4; }
.empty-state p { font-size: 14px; opacity: 0.6; }

/* ============================================
   AI NUDGE STRIP
   ============================================ */
.nudge-strip {
  padding: 8px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.nudge-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.45;
  background: var(--brand-light);
  border: 1px solid rgba(83,74,183,0.15);
  color: var(--brand-dark);
}

.nudge-item i {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--brand);
}

.nudge-item span { flex: 1; }

.nudge-item.overdue {
  background: var(--red-bg);
  border-color: rgba(226,75,74,0.2);
  color: var(--red-dark);
}
.nudge-item.overdue i { color: var(--red); }

.nudge-item.at_risk {
  background: var(--amber-bg);
  border-color: rgba(239,159,39,0.2);
  color: var(--amber-dark);
}
.nudge-item.at_risk i { color: var(--amber); }

.nudge-item.momentum {
  background: var(--green-bg);
  border-color: rgba(99,153,34,0.2);
  color: var(--green-dark);
}
.nudge-item.momentum i { color: var(--green); }

.nudge-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  font-size: 14px;
  opacity: 0.4;
  color: inherit;
  line-height: 1;
  margin-top: 1px;
  transition: opacity 0.15s;
}
.nudge-dismiss:hover { opacity: 0.8; }

/* ============================================
   AI CLASSIFYING SPINNER (capture screen)
   ============================================ */
.ai-classifying {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 500;
  padding: 6px 0;
}

.ai-classifying i {
  font-size: 14px;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   AI SUGGEST ENHANCEMENTS (capture screen)
   ============================================ */
.ai-confidence {
  margin-left: auto;
  font-size: 10px;
  font-weight: 400;
  color: var(--brand-mid);
  opacity: 0.8;
}

.suggest-reason {
  font-size: 11px;
  color: var(--brand-dark);
  opacity: 0.7;
  margin-top: 4px;
  line-height: 1.4;
  font-style: italic;
}
