:root {
  --bg: #FDFBF9;
  --surface: #FFFFFF;
  --surface-soft: #FAF5F7;
  --text: #3A3537;
  --text-soft: #7A7074;
  --text-muted: #ABA0A4;

  --pink: #F4AFC6;
  --pink-strong: #E07A9F;
  --pink-deep: #B54B74;
  --pink-soft: #FCEBF1;
  --pink-border: rgba(224, 122, 159, 0.22);

  --blue: #9EC2EB;
  --blue-strong: #5E95D6;
  --blue-deep: #3A6496;
  --blue-soft: #EBF3FC;
  --blue-border: rgba(158, 194, 235, 0.35);

  --matcha: #B8D86E;
  --matcha-strong: #8EB63E;
  --matcha-deep: #4B6820;
  --matcha-soft: #F1F7E2;

  --lavender: #C7B4EB;
  --lavender-strong: #9376CE;
  --lavender-deep: #61458E;
  --lavender-soft: #F4EFFC;

  --shadow: 0 8px 24px rgba(186, 126, 150, 0.08);
  --shadow-lg: 0 14px 36px rgba(186, 126, 150, 0.14);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --nav-height: 70px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  background-image:
    radial-gradient(circle at 8% 4%, rgba(244, 175, 198, 0.16), transparent 42%),
    radial-gradient(circle at 92% 18%, rgba(158, 194, 235, 0.14), transparent 40%);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.app-shell {
  max-width: 440px;
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 12px) + 22px);
}

.app-main {
  padding: calc(env(safe-area-inset-top, 12px) + 14px) 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Two-tone editorial headings */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 2px;
}

.two-tone-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.two-tone-title .accent {
  color: var(--pink-strong);
}

.two-tone-title .dark {
  color: var(--text);
}

.page-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card-soft-pink {
  background: linear-gradient(150deg, #FFFFFF 0%, #FFF5F8 100%);
}

.card-soft-blue {
  background: linear-gradient(150deg, #FFFFFF 0%, #F3F8FE 100%);
  border-color: var(--blue-border);
}

.card-soft-lavender {
  background: linear-gradient(150deg, #FFFFFF 0%, #F7F3FD 100%);
  border-color: rgba(199, 180, 235, 0.35);
}

.hero-card {
  padding: 18px;
  background: linear-gradient(155deg, #FFF9FB 0%, #FCEBF1 100%);
  border: 1px solid rgba(244, 175, 198, 0.45);
}

.hero-watermark {
  position: absolute;
  right: -4px;
  top: -12px;
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(244, 175, 198, 0.25);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: 44px;
  pointer-events: none;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Pills & Tags */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.pill-pink {
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.pill-pink-solid {
  background: var(--pink);
  color: #FFFFFF;
}

.pill-blue {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.pill-matcha {
  background: var(--matcha-soft);
  color: var(--matcha-deep);
}

.pill-lavender {
  background: var(--lavender-soft);
  color: var(--lavender-deep);
}

.pill-neutral {
  background: #F4EFF1;
  color: var(--text-soft);
}

.sparkle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-strong);
  flex-shrink: 0;
}

.sparkle svg {
  width: 14px;
  height: 14px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Progress bars */
.progress-track {
  width: 100%;
  height: 9px;
  background: rgba(58, 53, 55, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.progress-fill-pink {
  background: linear-gradient(90deg, var(--pink) 0%, var(--pink-strong) 100%);
}

.progress-fill-blue {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-strong) 100%);
}

.progress-fill-matcha {
  background: linear-gradient(90deg, var(--matcha) 0%, var(--matcha-strong) 100%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.14s ease, opacity 0.14s ease, background-color 0.15s ease;
}

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

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 12px;
}

.btn-primary {
  background: var(--pink-strong);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(224, 122, 159, 0.28);
}

.btn-blue {
  background: var(--blue-strong);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(94, 149, 214, 0.24);
}

.btn-matcha {
  background: var(--matcha-soft);
  color: var(--matcha-deep);
}

.btn-soft {
  background: var(--pink-soft);
  color: var(--pink-deep);
}

.btn-ghost {
  background: #F6F1F3;
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--pink-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  flex-shrink: 0;
}

.icon-btn:active {
  transform: scale(0.94);
}

/* Weekly goal & dots */
.weekly-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.weekly-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 11px 12px;
}

.weekly-box-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.weekly-box-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
}

.weekly-box-value {
  font-size: 16px;
  font-weight: 800;
}

.week-dots {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.day-dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
}

.day-dot-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(224, 122, 159, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
}

.day-dot.is-done .day-dot-circle {
  background: var(--matcha);
  border-color: var(--matcha-strong);
  color: #FFFFFF;
}

.day-dot.is-today .day-dot-circle {
  border-color: var(--pink-strong);
  box-shadow: 0 0 0 3px rgba(244, 175, 198, 0.35);
}

/* Next step cards */
.next-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.next-unit-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-unit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.next-unit-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.next-unit-sub {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--text-soft);
}

.next-unit-actions {
  display: flex;
  gap: 8px;
}

/* Segmented controls & filter chips */
.segmented {
  display: flex;
  background: #F4ECEF;
  padding: 4px;
  border-radius: 16px;
  gap: 4px;
}

.segmented-btn {
  flex: 1;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.segmented-btn.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 3px 10px rgba(58, 53, 55, 0.07);
}

.chips-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.chips-row::-webkit-scrollbar {
  display: none;
}

.chip {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(58, 53, 55, 0.08);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.chip.is-active {
  background: var(--pink-soft);
  border-color: rgba(224, 122, 159, 0.45);
  color: var(--pink-deep);
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 16px;
  background: #FAF6F8;
  border: 1px solid transparent;
  text-align: left;
  width: 100%;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.check-item.is-checked {
  background: var(--matcha-soft);
  border-color: rgba(142, 182, 62, 0.28);
}

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--pink);
  background: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  font-size: 13px;
  font-weight: 800;
}

.check-item.is-checked .check-box {
  background: var(--matcha-strong);
  border-color: var(--matcha-strong);
  color: #FFFFFF;
}

.check-text {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
}

.check-item.is-checked .check-text {
  text-decoration: line-through;
  color: var(--text-soft);
}

.check-mins {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Focus Timer */
.timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timer-clock {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.timer-presets {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.preset-btn {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #F4ECEF;
  color: var(--text-soft);
}

.preset-btn.is-active {
  background: var(--pink-soft);
  color: var(--pink-deep);
}

/* Search input */
.search-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--pink-border);
  border-radius: 16px;
  padding: 11px 14px 11px 38px;
  outline: none;
  font-weight: 600;
  font-size: 14px;
}

.search-input:focus {
  border-color: var(--pink-strong);
  box-shadow: 0 0 0 3px rgba(244, 175, 198, 0.25);
}

.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Accordion sections & Units */
.accordion {
  background: var(--surface);
  border: 1px solid rgba(58, 53, 55, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(186, 126, 150, 0.05);
}

.accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 15px;
  text-align: left;
}

.accordion-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
}

.accordion-sub {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

.accordion-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.accordion-chevron {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.accordion.is-open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 10px 10px;
  flex-direction: column;
  gap: 6px;
}

.accordion.is-open .accordion-body {
  display: flex;
}

.unit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 14px;
  background: #FCF9FA;
  border: 1px solid rgba(58, 53, 55, 0.05);
  text-align: left;
  width: 100%;
}

.unit-row:active {
  transform: scale(0.99);
}

.unit-num {
  min-width: 34px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: #F2EAEF;
  color: var(--text-soft);
}

.unit-num.is-done {
  background: var(--matcha-soft);
  color: var(--matcha-deep);
}

.unit-num.is-review {
  background: var(--lavender-soft);
  color: var(--lavender-deep);
}

.unit-num.is-known {
  background: #EFECEE;
  color: var(--text-muted);
}

.unit-title {
  flex: 1;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.unit-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Vocabulary pastel table-cards (@sayli_lang style) */
.vocab-card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--pink-border);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vocab-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.vocab-word {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vocab-ipa {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 6px;
}

.vocab-translation {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.vocab-example {
  font-size: 12.5px;
  color: var(--text-soft);
  background: #FAF5F7;
  padding: 8px 11px;
  border-radius: 12px;
  font-style: italic;
}

.vocab-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Flashcards 3D flip */
.flashcard-stage {
  perspective: 1000px;
  margin: 6px 0 12px;
}

.flashcard {
  width: 100%;
  min-height: 240px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.flashcard.is-flipped {
  transform: rotateY(180deg);
}

.flashcard-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 26px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}

.flashcard-front {
  background: linear-gradient(155deg, #FFFFFF 0%, #FCEBF1 100%);
  border: 1.5px solid rgba(244, 175, 198, 0.55);
}

.flashcard-back {
  background: linear-gradient(155deg, #FFFFFF 0%, #EBF3FC 100%);
  border: 1.5px solid rgba(158, 194, 235, 0.6);
  transform: rotateY(180deg);
}

.flashcard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Error Log */
.error-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.error-wrong {
  background: #FCEBF1;
  color: #9E3F62;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: line-through;
}

.error-right {
  background: var(--matcha-soft);
  color: var(--matcha-deep);
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
}

.error-note {
  font-size: 12.5px;
  color: var(--text-soft);
  padding: 0 2px;
}

/* Goals card (slide 2 reference) */
.goals-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goal-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 15px;
  background: #FAF5F7;
}

.goal-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--pink-strong);
  min-width: 24px;
}

.goal-text {
  font-size: 13.5px;
  font-weight: 600;
  flex: 1;
}

/* 6-Month Roadmap */
.months-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.month-card {
  background: var(--surface);
  border: 1px solid rgba(58, 53, 55, 0.08);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.month-card.is-current {
  border-color: var(--pink-strong);
  background: linear-gradient(160deg, #FFFFFF 0%, #FFF4F8 100%);
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-tile {
  background: #FAF5F7;
  border-radius: 16px;
  padding: 12px;
}

.stat-tile-val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-tile-lbl {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 600;
}

/* Voice Checkpoints */
.voice-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 16px;
  background: #FAF5F7;
}

.voice-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E5486D;
  display: inline-block;
  animation: pulse 1.1s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

audio {
  width: 100%;
  height: 36px;
}

/* Story preview */
.story-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.story-preview-img {
  width: 200px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  border: 1px solid var(--pink-border);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  background: #FDFBF9;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
  padding: 6px 8px calc(env(safe-area-inset-bottom, 6px) + 4px);
  background: rgba(253, 251, 249, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(224, 122, 159, 0.16);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 40;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  border-radius: 14px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-btn.is-active {
  color: var(--pink-deep);
}

.nav-btn.is-active .nav-icon {
  background: var(--pink-soft);
  color: var(--pink-strong);
}

.nav-icon {
  width: 38px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-icon svg {
  width: 19px;
  height: 19px;
}

.nav-label {
  font-size: 10.5px;
  font-weight: 700;
}

/* Modal Bottom Sheet */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(58, 53, 55, 0.32);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-root[hidden] {
  display: none;
}

.sheet {
  width: 100%;
  max-width: 440px;
  max-height: 88dvh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: 26px 26px 0 0;
  padding: 12px 18px calc(env(safe-area-inset-bottom, 16px) + 18px);
  box-shadow: 0 -10px 40px rgba(58, 53, 55, 0.16);
  animation: sheetUp 0.22s ease-out;
}

@keyframes sheetUp {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #DDD3D7;
  margin: 0 auto 14px;
}

.sheet-title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  margin: 10px 0 5px;
}

.field-input, .field-textarea, .field-select {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(58, 53, 55, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
  font-weight: 600;
}

.field-textarea {
  min-height: 82px;
  resize: vertical;
}

.field-input:focus, .field-textarea:focus, .field-select:focus {
  border-color: var(--pink-strong);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}

.status-choice {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1.5px solid rgba(58, 53, 55, 0.1);
  text-align: center;
}

.status-choice.is-selected {
  border-color: var(--pink-strong);
  background: var(--pink-soft);
  color: var(--pink-deep);
}

/* Toast */
.toast-root {
  position: fixed;
  top: calc(env(safe-area-inset-top, 12px) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  pointer-events: none;
}

.toast {
  background: var(--text);
  color: #FFFFFF;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(58, 53, 55, 0.24);
}

.empty-state {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-soft);
  font-size: 13.5px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.sync-pill {
  border: 1px solid rgba(224, 122, 159, 0.25);
}

.sync-email {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  word-break: break-all;
}

.auth-notice {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: 13px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
