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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.screen {
  background: #ffffff;
  width: 100%;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 0.5px solid #eee;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}

.app-name {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #085041;
}

.greeting {
  padding: 24px 20px 16px;
}

.greeting-time {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.greeting-name {
  font-size: 28px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.2;
}

.heart-card {
  margin: 0 20px 20px;
  background: #FFF5F7;
  border: 0.5px solid #F4C0D1;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.heart-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  animation: heartbeat 2.4s ease-in-out infinite;
}

.heart-icon svg {
  width: 44px;
  height: 44px;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.heart-instruction {
  font-size: 14px;
  color: #72243E;
  line-height: 1.7;
  margin-bottom: 14px;
}

.heart-affirmation {
  font-size: 17px;
  font-weight: 500;
  color: #993556;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 12px;
}

.heart-source {
  font-size: 11px;
  color: #D4537E;
  opacity: 0.7;
  margin-bottom: 16px;
}

.ready-btn {
  width: 100%;
  padding: 12px;
  background: #D4537E;
  color: #FFF5F7;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 16px;
}

.stat {
  background: #f7f7f5;
  border-radius: 12px;
  padding: 12px 14px;
}

.stat-label {
  font-size: 11px;
  color: #aaa;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 22px;
  font-weight: 500;
  color: #1a1a1a;
}

.stat-sub {
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
}

.stage-card {
  margin: 0 20px 20px;
  background: #E1F5EE;
  border: 0.5px solid #9FE1CB;
  border-radius: 14px;
  padding: 14px 16px;
}

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

.stage-name {
  font-size: 13px;
  font-weight: 500;
  color: #085041;
}

.stage-badge {
  font-size: 11px;
  background: #9FE1CB;
  color: #085041;
  padding: 3px 10px;
  border-radius: 20px;
}

.stage-desc {
  font-size: 12px;
  color: #0F6E56;
  line-height: 1.6;
}

.progress-bar {
  height: 4px;
  background: #9FE1CB;
  border-radius: 2px;
  margin-top: 10px;
}

.progress-fill {
  height: 4px;
  background: #1D9E75;
  border-radius: 2px;
  width: 33%;
}

.practice-btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  padding: 14px;
  background: #1D9E75;
  color: #E1F5EE;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: sticky;
  bottom: 0;
  background: #ffffff;
  border-top: 0.5px solid #eee;
  padding: 12px 0 24px;
  margin-top: auto;
  z-index: 10;
}

.nav-item {
  text-align: center;
  cursor: pointer;
}

.nav-item span {
  font-size: 10px;
  color: #aaa;
  display: block;
  margin-top: 3px;
}

.nav-item.active span { color: #1D9E75; }

/* Practice page specific */
.practice-page-actions {
  padding: 0 20px 16px;
}

.back-btn {
  font-size: 12px;
  color: #1D9E75;
  text-decoration: none;
}

.stage-pill {
  font-size: 11px;
  background: #E1F5EE;
  color: #085041;
  padding: 3px 10px;
  border-radius: 20px;
}

.section-eyebrow {
  font-size: 13px;
  color: #444;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.mood-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.mood-chip {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1.5px solid #888;
  color: #333;
  cursor: pointer;
  background: transparent;
  font-weight: 400;
}

.mood-chip.selected {
  background: #FFF5F7;
  border-color: #D4537E;
  border-width: 2px;
  color: #72243E;
}

.gen-btn {
  width: 100%;
  padding: 12px;
  background: #1D9E75;
  color: #E1F5EE;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.gen-status {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin-top: 8px;
  min-height: 18px;
  font-style: italic;
}

.practice-body {
  padding: 16px 20px 16px;
}

.practice-title {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.practice-meta {
  font-size: 11px;
  color: #aaa;
  margin-bottom: 16px;
}

.block {
  margin-bottom: 14px;
}

.block-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 5px;
}

.block-text {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.7;
}

.divider {
  border: none;
  border-top: 0.5px solid #eee;
  margin: 14px 0;
}

.reflection-block {
  background: #F5F0FF;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 8px;
}

.breath-block {
  background: #f7f7f5;
  border-radius: 14px;
  padding: 20px 16px;
  margin-bottom: 4px;
  text-align: center;
}

.circle-stage {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 16px auto 14px;
}

.ring-outer {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid #9FE1CB;
  transition: width 0.05s linear, height 0.05s linear,
              left 0.05s linear, top 0.05s linear;
}

.ring-inner {
  position: absolute;
  border-radius: 50%;
  background: #E1F5EE;
  transition: width 0.05s linear, height 0.05s linear,
              left 0.05s linear, top 0.05s linear, background 0.6s;
}

.breath-label {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
  min-height: 24px;
}

.breath-sub {
  font-size: 12px;
  color: #888;
  font-style: italic;
  min-height: 18px;
}

.skip-link {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  padding: 10px 0 16px;
  cursor: pointer;
}
/* Journal page */
.well-done {
  background: #E1F5EE;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.well-done-text {
  font-size: 13px;
  color: #085041;
  line-height: 1.5;
}

.well-done-text strong {
  font-weight: 500;
  display: block;
  font-size: 14px;
  color: #04342C;
}

.reflection-reminder {
  padding: 14px 20px;
  background: #F5F0FF;
  border-bottom: 0.5px solid #eee;
}

.journal-body {
  padding: 16px 20px 16px;
}

.entry-area {
  width: 100%;
  min-height: 120px;
  border: 0.5px solid #ddd;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  font-family: Georgia, serif;
  color: #1a1a1a;
  background: #ffffff;
  resize: none;
  line-height: 1.7;
  outline: none;
  margin-bottom: 16px;
}

.entry-area:focus {
  border-color: #1D9E75;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.or-divider span {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
}

.or-line {
  flex: 1;
  height: 0.5px;
  background: #eee;
}

.word-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.word-chip {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 20px;
  border: 0.5px solid #ddd;
  color: #666;
  cursor: pointer;
  background: transparent;
}

.word-chip.selected {
  background: #E1F5EE;
  border-color: #5DCAA5;
  color: #085041;
}

.past-entries {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 16px;
}

.past-entry {
  background: #f7f7f5;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.past-entry-text {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.5;
  font-style: italic;
  flex: 1;
}

.past-entry-date {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}

.date-pill {
  font-size: 11px;
  background: #f7f7f5;
  color: #aaa;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Welcome page */
.welcome-hero {
  padding: 48px 28px 36px;
  background: #f9f9f7;
  border-bottom: 0.5px solid #eee;
  text-align: center;
}

.welcome-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1D9E75;
  margin-bottom: 16px;
}

.welcome-title {
  font-size: 30px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 16px;
}

.welcome-title em {
  font-style: italic;
  color: #1D9E75;
}

.welcome-sub {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.welcome-quote-block {
  padding: 32px 28px;
  text-align: center;
  border-bottom: 0.5px solid #eee;
}

.welcome-heart {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  animation: heartbeat 2.4s ease-in-out infinite;
}

.welcome-heart svg {
  width: 48px;
  height: 48px;
}

.welcome-quote {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.6;
  margin-bottom: 10px;
  font-style: italic;
}

.welcome-quote-attr {
  font-size: 11px;
  color: #aaa;
  line-height: 1.5;
}

.welcome-section {
  padding: 28px 28px;
  border-bottom: 0.5px solid #eee;
}

.welcome-section-alt {
  background: #f9f9f7;
}

.welcome-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D9E75;
  margin-bottom: 14px;
}

.welcome-label-pink {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4537E;
  margin-bottom: 14px;
}

.welcome-heading {
  font-size: 22px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.welcome-text {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
}

.welcome-pull {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  border-left: 2px solid #1D9E75;
  padding-left: 14px;
}

.supplies-box {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  border: 0.5px solid #eee;
}

.supplies-box-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
}

.supply-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #444;
  padding: 6px 0;
  border-bottom: 0.5px solid #f0f0f0;
}

.supply-row:last-child {
  border-bottom: none;
}

.supply-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1D9E75;
  flex-shrink: 0;
}

.welcome-stage {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.welcome-stage:last-child {
  margin-bottom: 0;
}

.welcome-stage-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #085041;
  flex-shrink: 0;
}

.welcome-stage-body {
  flex: 1;
  padding-top: 4px;
}

.welcome-stage-title {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.welcome-stage-text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.who-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.who-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1D9E75;
  flex-shrink: 0;
  margin-top: 6px;
}

.who-text {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  text-align: left;
}

.welcome-cta {
  padding: 40px 28px 48px;
  text-align: center;
}

.welcome-cta-title {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 10px;
}

.welcome-cta-sub {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 24px;
}

.welcome-cta-btn {
  width: 100%;
  padding: 15px;
  background: #1D9E75;
  color: #E1F5EE;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 14px;
}

.welcome-cta-seed {
  font-size: 13px;
  color: #aaa;
}

/* How it works page */
.howto-step {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  align-items: flex-start;
}

.howto-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: #085041;
  flex-shrink: 0;
}

.howto-body {
  flex: 1;
  padding-top: 6px;
}

.howto-title {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.howto-text {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 6px;
}

.howto-time {
  display: inline-block;
  font-size: 11px;
  background: #E1F5EE;
  color: #085041;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.howto-why {
  background: #F5F0FF;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}

.howto-why-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #534AB7;
  margin-bottom: 4px;
}

.howto-why-text {
  font-size: 13px;
  color: #3C3489;
  line-height: 1.6;
}

.howto-connector {
  width: 1px;
  height: 16px;
  background: #ddd;
  margin: 4px 0 4px 17px;
}

.example-card {
  background: #fff;
  border: 0.5px solid #eee;
  border-radius: 14px;
  overflow: hidden;
}

.example-header {
  background: #E1F5EE;
  padding: 14px 16px;
}

.example-name {
  font-size: 13px;
  font-weight: 500;
  color: #085041;
}

.example-meta {
  font-size: 11px;
  color: #0F6E56;
  margin-top: 2px;
}

.example-row {
  padding: 12px 16px;
  border-bottom: 0.5px solid #eee;
}

.example-row:last-child {
  border-bottom: none;
}

.example-row-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 4px;
}

.example-row-text {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.65;
}

.example-row-italic {
  font-size: 13px;
  color: #3C3489;
  line-height: 1.65;
  font-style: italic;
}

.faq-item {
  margin-bottom: 18px;
}

.faq-q {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.faq-a {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}

.journal-prompt-title {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* AUTO block */
.auto-block {
  margin-top: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 0.5px solid #eee;
  text-align: left;
}

.auto-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 14px;
  text-align: center;
}

.auto-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auto-item {
  background: #f9f9f7;
  border-radius: 10px;
  padding: 12px;
}

.auto-letter {
  font-size: 28px;
  font-weight: 500;
  color: #1D9E75;
  line-height: 1;
  margin-bottom: 4px;
}

.auto-word {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.auto-desc {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

/* Breath preview on howto page */
.breath-preview {
  background: #f7f7f5;
  border-radius: 14px;
  padding: 20px 16px;
  margin: 16px 0;
  text-align: center;
}

.breath-preview-label {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.breath-preview-sub {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 16px;
}

.breath-preview-timing {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}

.breath-timing-item {
  text-align: center;
}

.breath-timing-num {
  font-size: 28px;
  font-weight: 500;
  color: #1D9E75;
  line-height: 1;
  margin-bottom: 4px;
}

.breath-timing-word {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

.quote-attr {
  font-size: 11px;
  color: #aaa;
  margin-top: 8px;
  font-style: normal;
  line-height: 1.5;
}

/* Onboarding */
.onboard-list {
  text-align: left;
  padding: 0 8px;
  margin: 16px 0;
  list-style: none;
}

.onboard-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  border-bottom: 0.5px solid #eee;
}

.onboard-list li::before {
  content: '•';
  color: #1D9E75;
  position: absolute;
  left: 0;
}

.onboard-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s;
}

.dot.active {
  background: #1D9E75;
  width: 24px;
  border-radius: 4px;
}

.onboard-slides {
  padding: 0;
  flex-shrink: 0;
}

.onboard-slide {
  display: none;
  padding: 16px 28px;
}

.onboard-slide.active {
  display: block;
}

.onboard-heart {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  animation: heartbeat 2.4s ease-in-out infinite;
}

.onboard-heart svg {
  width: 40px;
  height: 40px;
}

.onboard-icon {
  font-size: 40px;
  text-align: center;
  margin-bottom: 12px;
}

.onboard-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D9E75;
  margin-bottom: 10px;
  text-align: center;
}

.onboard-title {
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 12px;
  text-align: center;
}

.onboard-title em {
  font-style: italic;
  color: #1D9E75;
}

.onboard-sub {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: center;
}

.onboard-fact {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: center;
  font-style: italic;
}

.onboard-attr {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  line-height: 1.6;
}

.onboard-auto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.onboard-auto-item {
  background: #f9f9f7;
  border-radius: 12px;
  padding: 12px;
}

.onboard-auto-letter {
  font-size: 24px;
  font-weight: 500;
  color: #1D9E75;
  line-height: 1;
  margin-bottom: 4px;
}

.onboard-auto-word {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.onboard-auto-desc {
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

.supplies-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.supply-check {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 10px 14px;
  background: #f9f9f7;
  border-radius: 10px;
  border: 0.5px solid #eee;
}

.supply-check input { display: none; }

.supply-check-box {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.supply-check input:checked + .supply-check-box {
  background: #1D9E75;
  border-color: #1D9E75;
}

.supply-check input:checked + .supply-check-box::after {
  content: '✓';
  color: white;
  font-size: 12px;
}

.supply-check-text {
  font-size: 14px;
  color: #333;
}

.onboard-question {
  margin-bottom: 16px;
  text-align: left;
}

.onboard-q-label {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.onboard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.onboard-chip {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1px solid #ddd;
  color: #555;
  cursor: pointer;
  background: transparent;
}

.onboard-chip.selected {
  background: #E1F5EE;
  border-color: #1D9E75;
  color: #085041;
}

.onboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 40px;
  border-top: 0.5px solid #eee;
  margin-top: 16px;
  position: sticky;
  bottom: 0;
  background: #ffffff;
  z-index: 10;
  max-width: 390px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.onboard-back {
  font-size: 14px;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}

.onboard-next {
  font-size: 14px;
  font-weight: 500;
  color: #E1F5EE;
  background: #1D9E75;
  border: none;
  border-radius: 20px;
  padding: 10px 24px;
  cursor: pointer;
}

.onboard-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  text-align: left;
}

.onboard-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9f9f7;
  border-radius: 10px;
  padding: 10px 12px;
}

.onboard-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E1F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #085041;
  flex-shrink: 0;
}

.onboard-step-text {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.onboard-step-text strong {
  color: #1a1a1a;
  font-weight: 500;
}

.onboard-page {
  min-height: unset !important;
}

/* welcome cts science section */
.welcome-cta-science {
  margin-top: 1.25rem;
  font-size: 13px;
  color: #888;
}

.welcome-cta-science a {
  color: #1D9E75;
  text-decoration: none;
  font-weight: 500;
}

.welcome-cta-science a:hover {
  text-decoration: underline;
}
/* ── PRACTICE LOADING STATE ─────────────────── */
.practice-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 16px;
}

.loading-breath {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #E1F5EE;
  border-top-color: #1D9E75;
  animation: spin-breathe 2s ease-in-out infinite;
}

@keyframes spin-breathe {
  0%   { transform: scale(0.8) rotate(0deg);   opacity: 0.6; }
  50%  { transform: scale(1.2) rotate(180deg); opacity: 1;   }
  100% { transform: scale(0.8) rotate(360deg); opacity: 0.6; }
}

.loading-text {
  font-size: 15px;
  color: #2c2c2a;
  font-weight: 500;
}

.loading-sub {
  font-size: 13px;
  color: #aaa;
}

/* ── GEN BUTTON ──────────────────────────────── */
.gen-btn {
  width: 100%;
  padding: 14px;
  background: #1D9E75;
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.gen-btn:hover  { background: #178a64; }
.gen-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.gen-status {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  min-height: 18px;
  text-align: center;
}

/* ── COMPLETE PAGE ───────────────────────── */
   .complete-screen {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 40px 28px 48px;
      background: #f8f6f2;
      text-align: center;
    }

.complete-heart {
  margin-bottom: 24px;
  animation: heartbeat 2.4s ease-in-out infinite;
}

@keyframes floatHeart {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

    .complete-headline {
      font-size: 26px;
      font-weight: 600;
      color: #2c2c2a;
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .complete-sub {
      font-size: 15px;
      color: #888;
      margin-bottom: 40px;
      font-style: italic;
    }

    .complete-divider {
      width: 40px;
      height: 2px;
      background: #5DCAA5;
      border-radius: 2px;
      margin: 0 auto 40px;
    }

    /* Breath section */
    .breath-section {
      background: white;
      border-radius: 20px;
      padding: 28px 24px;
      width: 100%;
      max-width: 340px;
      margin-bottom: 32px;
      box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    }

    .breath-section-label {
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #1D9E75;
      margin-bottom: 12px;
    }

    .breath-section-title {
      font-size: 17px;
      font-weight: 600;
      color: #2c2c2a;
      margin-bottom: 8px;
    }

    .breath-section-desc {
      font-size: 13px;
      color: #888;
      line-height: 1.7;
      margin-bottom: 24px;
    }

    /* Breath visual */
    .breath-visual {
      position: relative;
      width: 120px;
      height: 120px;
      margin: 0 auto 16px;
    }

    .breath-ring-outer {
      position: absolute;
      border-radius: 50%;
      background: rgba(93,202,165,0.15);
      transition: all 0.1s linear;
    }

    .breath-ring-inner {
      position: absolute;
      border-radius: 50%;
      background: #9FE1CB;
      transition: all 0.1s linear;
    }

    .breath-label-complete {
      font-size: 15px;
      font-weight: 500;
      color: #2c2c2a;
      margin-bottom: 4px;
    }

    .breath-count {
      font-size: 32px;
      font-weight: 300;
      color: #1D9E75;
      line-height: 1;
      margin-bottom: 4px;
      font-variant-numeric: tabular-nums;
    }

    .breath-sub-label {
      font-size: 12px;
      color: #aaa;
    }

    .breath-steps {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }

    .breath-step {
      font-size: 12px;
      color: #bbb;
      padding: 4px 10px;
      border-radius: 20px;
      background: #f8f6f2;
      transition: all 0.3s ease;
    }

    .breath-step.active {
      background: #E1F5EE;
      color: #1D9E75;
      font-weight: 500;
    }

    /* Science note */
    .science-note {
      font-size: 12px;
      color: #aaa;
      font-style: italic;
      margin-top: 16px;
      line-height: 1.6;
    }

    /* Quote */
    .complete-quote {
      font-size: 15px;
      color: #534AB7;
      font-style: italic;
      line-height: 1.7;
      max-width: 300px;
      margin: 0 auto 40px;
    }

    .complete-quote-attr {
      font-size: 12px;
      color: #bbb;
      margin-top: 8px;
      font-style: normal;
    }

    /* Summary pills */
    .complete-summary {
      display: flex;
      gap: 8px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .summary-pill {
      font-size: 12px;
      color: #1D9E75;
      background: #E1F5EE;
      border-radius: 20px;
      padding: 5px 12px;
    }

    /* Home button */
    .home-btn {
      width: 100%;
      max-width: 340px;
      padding: 16px;
      background: #1D9E75;
      color: white;
      border: none;
      border-radius: 16px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      letter-spacing: 0.01em;
    }

    .home-btn:active {
      background: #178a65;
    }

    .streak-note {
      font-size: 13px;
      color: #aaa;
      margin-top: 16px;
    }

    .streak-note span {
      color: #1D9E75;
      font-weight: 600;
    }