._glass_84zn7_1 {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 oklch(0.85 0.05 var(--hue) / 0.06),
    0 8px 24px -12px oklch(0.05 0 0 / 0.4);
  color: var(--ink);
  text-align: left;
}

._bright_84zn7_14 {
  background: var(--glass-bright);
}

._clickable_84zn7_18 {
  cursor: pointer;
  display: block;
  width: 100%;
  font: inherit;
}

._hoverable_84zn7_25 {
  transition: transform var(--dur-fast) var(--ease-default);
}
@media (hover: hover) {
  ._hoverable_84zn7_25:hover {
    transform: translateY(-1px);
  }
}
._btn_63qge_1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: var(--ink);
  border: none;
  transition: transform var(--dur-micro) var(--ease-default);
  flex-shrink: 0;
}
._btn_63qge_1:active {
  transform: scale(0.94);
}
._accent_63qge_14 {
  background: var(--accent);
  color: oklch(0.18 0.06 var(--hue));
  box-shadow: 0 0 20px -4px var(--accent);
}
._chip_h3py5_1 {
  display: flex;
  align-items: center;
  gap: 3px;
  border-radius: 999px;
  padding: 3px 9px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}

._fire_h3py5_16 {
  background: oklch(0.55 0.15 30 / 0.12);
  border-color: oklch(0.55 0.15 30 / 0.30);
  color: oklch(0.72 0.17 30);
}

._accent_h3py5_22 {
  background: oklch(0.65 0.15 var(--hue) / 0.12);
  border-color: oklch(0.65 0.15 var(--hue) / 0.25);
  color: var(--accent);
}

._gold_h3py5_28 {
  background: oklch(0.80 0.14 82 / 0.13);
  border-color: oklch(0.80 0.14 82 / 0.28);
  color: oklch(0.80 0.14 82);
}
._pill_1w9fv_1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: oklch(0.22 0.03 var(--hue) / 0.6);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08);
  transition: transform var(--dur-micro) var(--ease-default);
}
@keyframes _pillPress_1w9fv_1 {
  0%   { transform: scale(1);    box-shadow: 0 0 32px -6px var(--accent); }
  30%  { transform: scale(0.94); box-shadow: 0 0 0 0 transparent; }
  65%  { transform: scale(1.04); }
  100% { transform: scale(1);    box-shadow: 0 0 32px -6px var(--accent); }
}
._pressing_1w9fv_21 {
  animation: _pillPress_1w9fv_1 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
._pill_1w9fv_1:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

._accent_1w9fv_29 {
  background: var(--accent);
  color: oklch(0.18 0.05 var(--hue));
  box-shadow:
    0 0 32px -6px var(--accent),
    inset 0 1px 0 oklch(1 0 0 / 0.25);
}
._wrapper_bp3w8_1 {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  z-index: var(--z-overlay);
  pointer-events: none;
  padding: max(env(safe-area-inset-top, 0px), 12px) 14px 0;
}

._bar_bp3w8_13 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 58px;
  padding: 0 8px;
  background: oklch(0.12 0.018 var(--hue) / 0.56);
  border: 1px solid oklch(0.55 0.02 var(--hue) / 0.14);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 oklch(0.85 0.05 var(--hue) / 0.04);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  pointer-events: auto;
}

._barTransparent_bp3w8_29 {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

._slot_bp3w8_37 {
  flex: 0 0 auto;
  min-width: 40px;
}

._centerSlot_bp3w8_42 {
  flex: 1;
  display: flex;
  justify-content: center;
}

._slotRight_bp3w8_48 {
  flex: 0 0 auto;
  min-width: 40px;
  display: flex;
  justify-content: flex-end;
}
._page_1kzuw_1 {
  min-height: 100%;
  padding: calc(var(--topbar-height) + var(--page-pad)) var(--page-pad) var(--nav-height);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: _pageEnter_1kzuw_1 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

._brand_1kzuw_10 {
  display: flex;
  align-items: center;
  gap: 12px;
}
._avatar_1kzuw_15 {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
._kicker_1kzuw_24 {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
._greet_1kzuw_30 {
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 500;
}

._heroGlow_1kzuw_36 {
  position: absolute;
  top: -100px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.5 0.18 var(--hue) / 0.55) 0%, transparent 60%);
  filter: blur(12px);
  pointer-events: none;
}
._heroBody_1kzuw_47 {
  position: relative;
  z-index: 1;
}
._heroKicker_1kzuw_51 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
._liveDot_1kzuw_61 {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
._heroTitle_1kzuw_68 {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
}
._heroAccent_1kzuw_76 {
  color: var(--accent);
}
._heroSub_1kzuw_79 {
  margin: 14px 0 22px;
  color: var(--ink-mute);
  font-size: 0.875rem;
  line-height: 1.55;
}

._sectionHeader_1kzuw_86 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
._sectionKicker_1kzuw_92 {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-weight: 600;
}
._weekTrend_1kzuw_100 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
}
._weekTrendDown_1kzuw_108 {
  color: var(--warn);
}

._statsGrid_1kzuw_112 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
._statHeader_1kzuw_117 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
._statIcon_1kzuw_122 {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: oklch(0.25 0.05 var(--hue) / 0.7);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
}
._statLabel_1kzuw_132 {
  font-size: 0.6875rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
._statValueRow_1kzuw_138 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}
._statValue_1kzuw_138 {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-feature-settings: 'tnum';
}
._statUnit_1kzuw_152 {
  font-size: 0.6875rem;
  color: var(--ink-mute);
}
._statSpark_1kzuw_156 {
  margin-top: 6px;
  margin-bottom: -2px;
}
._statHint_1kzuw_160 {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  color: var(--accent-dim);
  margin-top: 4px;
}
._sessionList_1kzuw_168 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
._sessionLi_1kzuw_168 {
  animation: _cardStagger_1kzuw_1 0.4s ease both;
  animation-delay: calc(min(var(--stagger-i, 0), 5) * 70ms);
}
@keyframes _cardStagger_1kzuw_1 {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
._sessionRow_1kzuw_184 {
  display: flex;
  align-items: center;
  gap: 14px;
}
._sessionIcon_1kzuw_189 {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: oklch(0.22 0.04 var(--hue) / 0.7);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
._favBadge_1kzuw_201 {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  color: oklch(0.15 0.04 var(--hue));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bg-base);
}
._sessionTitleCol_1kzuw_215 {
  flex: 1;
  min-width: 0;
}
._sessionTitle_1kzuw_215 {
  font-size: 0.90625rem;
  font-weight: 500;
  margin-bottom: 2px;
  text-transform: capitalize;
}
._sessionWhen_1kzuw_225 {
  font-size: 0.71875rem;
  color: var(--ink-dim);
}
._sessionScoreCol_1kzuw_229 {
  text-align: right;
}
._sessionScore_1kzuw_229 {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  font-feature-settings: 'tnum';
}
._sessionScoreLabel_1kzuw_239 {
  font-size: 0.5625rem;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

._emptyHistory_1kzuw_246 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.5;
}

/* ── Progress card (State 0) ──────────────────────────────── */
._progressCardHeader_1kzuw_255 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
._progressKicker_1kzuw_261 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}
._progressCount_1kzuw_268 {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-mute);
}
._progressBarTrack_1kzuw_273 {
  height: 4px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
}
._progressBarFill_1kzuw_279 {
  height: 100%;
  background: var(--accent);
  transition: width 0.4s ease;
}
._progressDots_1kzuw_284 {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
._progressDot_1kzuw_284 {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1.5px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-dim);
}
._progressCaption_1kzuw_302 {
  margin: 8px 0 0;
  font-size: 0.6875rem;
  color: var(--ink-dim);
  text-align: center;
  line-height: 1.4;
}

/* ── Spotlight card (State 1–2) ───────────────────────────── */
._spotlightKicker_1kzuw_311 {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dim);
}
._spotlightRow_1kzuw_319 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
._spotlightMeta_1kzuw_324 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
._spotlightTitle_1kzuw_329 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  text-transform: capitalize;
}
._spotlightWhen_1kzuw_335 {
  font-size: 0.6875rem;
  color: var(--ink-dim);
}
._spotlightScoreCol_1kzuw_339 {
  text-align: right;
}
._spotlightScore_1kzuw_339 {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1;
  font-feature-settings: 'tnum';
}
._spotlightScoreLabel_1kzuw_349 {
  font-size: 0.5625rem;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
._metricsRow_1kzuw_355 {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
._metricChip_1kzuw_360 {
  flex: 1;
  background: var(--bg-2);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}
._metricValue_1kzuw_367 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  font-feature-settings: 'tnum';
}
._metricLabel_1kzuw_374 {
  font-size: 0.5625rem;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1px;
}

/* ── Mini progress bar (State 1–2) ───────────────────────── */
._progressMiniText_1kzuw_383 {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  color: var(--ink-mute);
}

._topBarRight_1kzuw_389 {
  display: flex;
  align-items: center;
  gap: 8px;
}

._recordRow_1kzuw_395 {
  display: flex;
  gap: 10px;
  align-items: center;
}

._goalBtn_1kzuw_401 {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 120ms, border-color 120ms;
}

._goalBtn_1kzuw_401._goalBtnActive_1kzuw_418 {
  background: oklch(from var(--accent) l c h / 0.1);
  border-color: oklch(from var(--accent) l c h / 0.35);
}

._goalDot_1kzuw_423 {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--bg-base);
}

._recordPill_1kzuw_434 {
  flex: 1;
}

/* ── Conversion hero (empty state for new users) ─────────────── */
._conversionHero_1kzuw_439 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 0 0;
}

._conversionKicker_1kzuw_447 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

._conversionTitle_1kzuw_456 {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 12px;
}

._conversionBody_1kzuw_465 {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 280px;
}

._conversionPills_1kzuw_473 {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

._conversionPill_1kzuw_473 {
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.71875rem;
  color: var(--accent);
}

._conversionMicro_1kzuw_489 {
  font-size: 0.6875rem;
  color: var(--ink-dim);
  margin-top: 10px;
}
._wrapper_pel43_1 {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  z-index: var(--z-nav);
  pointer-events: none;
}

._navBar_pel43_12 {
  padding: 0 14px 14px;
}

._pill_pel43_16 {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
  padding: 6px;
  background: oklch(0.13 0.02 var(--hue) / 0.52);
  border: 1px solid oklch(0.65 0.04 var(--hue) / 0.20);
  border-radius: 999px;
  box-shadow:
    inset 0 1.5px 0 oklch(0.92 0.06 var(--hue) / 0.20),
    inset 0 -1px 0  oklch(0.08 0.01 var(--hue) / 0.30),
    0 6px 28px      oklch(0.07 0.03 var(--hue) / 0.50);
  backdrop-filter: blur(28px) saturate(1.8) brightness(1.06);
  -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.06);
  pointer-events: auto;
}

._pill_pel43_16::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 75% 50% at 50% -5%,
    oklch(0.97 0.05 var(--hue) / 0.18) 0%,
    transparent 65%
  );
  border-radius: inherit;
  pointer-events: none;
}

._bubble_pel43_47 {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: oklch(0.26 0.06 var(--hue) / 0.60);
  border: 1px solid oklch(0.78 0.09 var(--hue) / 0.32);
  box-shadow:
    inset 0 2px 0    oklch(0.97 0.05 var(--hue) / 0.45),
    inset 0 -1.5px 0 oklch(0.08 0.02 var(--hue) / 0.25),
    inset 1px 0 0    oklch(0.90 0.06 var(--hue) / 0.12),
    inset -1px 0 0   oklch(0.90 0.06 var(--hue) / 0.12),
    0 3px 16px       oklch(0.45 0.14 var(--hue) / 0.28);
  overflow: hidden; /* clips ::before/::after to bubble bounds — safe: no backdrop-filter on bubble */
  pointer-events: none;
  z-index: 0;
  transition:
    left  0.35s var(--ease-spring),
    width 0.35s var(--ease-spring);
}

._bubble_pel43_47::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 5%;
  width: 90%;
  height: 70%;
  background: radial-gradient(
    ellipse at center,
    oklch(0.99 0.04 var(--hue) / 0.35) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

._bubble_pel43_47::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 20%;
  width: 60%;
  height: 40%;
  background: radial-gradient(
    ellipse at center,
    oklch(0.60 0.12 var(--hue) / 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.standalone ._pill_pel43_16 {
  border-radius: 999px;
}

._tab_pel43_106 {
  flex: 1;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border-radius: 22px;
  color: var(--ink-mute);
  background: transparent;
  position: relative;
  z-index: 1;
  transition: color var(--dur-fast) var(--ease-default);
}

._tabActive_pel43_121 {
  color: var(--accent);
}

._label_pel43_125 {
  font-size: 0.65625rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
._backdrop_19a2e_1 {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: oklch(0 0 0 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  animation: _fadeIn_19a2e_1 var(--dur-fast) var(--ease-default) both;
}

._backdrop_19a2e_1._closing_19a2e_13 {
  animation: _fadeOut_19a2e_1 260ms var(--ease-default) both;
  pointer-events: none;
}

@keyframes _fadeIn_19a2e_1  { from { opacity: 0; } to { opacity: 1; } }
@keyframes _fadeOut_19a2e_1 { from { opacity: 1; } to { opacity: 0; } }

._sheet_19a2e_21 {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
  animation: _slideUp_19a2e_1 320ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

._closing_19a2e_13 ._sheet_19a2e_21 {
  animation: _slideDown_19a2e_1 260ms cubic-bezier(0.4, 0, 1, 1) both;
}

@keyframes _slideUp_19a2e_1   { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes _slideDown_19a2e_1 { from { transform: translateY(0); }    to { transform: translateY(110%); } }

._handle_19a2e_36 {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: oklch(0.55 0.02 var(--hue) / 0.5);
  margin: 0 auto 10px;
}

._body_19a2e_44 {
  background: oklch(0.13 0.03 var(--hue) / 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  overflow: hidden;
  padding: 20px 12px;
}

._info_19a2e_54 {
  text-align: center;
  margin-bottom: 16px;
}

._title_19a2e_59 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}

._subtitle_19a2e_66 {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--ink-dim);
  line-height: 1.4;
}

._list_19a2e_73 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

._item_19a2e_79 {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 11px 13px;
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-default), border-color var(--dur-micro) var(--ease-default);
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: 0.8125rem;
}

._item_19a2e_79:active {
  background: oklch(0.18 0.03 var(--hue) / 0.6);
}

._item_19a2e_79._active_19a2e_100 {
  background: oklch(from var(--accent) l c h / 0.08);
  border-color: oklch(from var(--accent) l c h / 0.3);
}

._iconBox_19a2e_105 {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

._iconBox_19a2e_105._activeIcon_19a2e_117 {
  background: oklch(from var(--accent) l c h / 0.15);
}

._goalInfo_19a2e_121 {
  flex: 1;
  min-width: 0;
}

._goalName_19a2e_126 {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

._goalName_19a2e_126._activeName_19a2e_132 {
  color: var(--accent);
}

._goalHint_19a2e_136 {
  margin: 2px 0 0;
  font-size: 0.625rem;
  color: var(--ink-dim);
}

._check_19a2e_142 {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--bg-base);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

._checkEmpty_19a2e_157 {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline);
  flex-shrink: 0;
}

._noneItem_19a2e_165 {
  justify-content: center;
  background: transparent;
  border-color: var(--hairline);
}

._noneLabel_19a2e_171 {
  font-size: 0.75rem;
  color: var(--ink-dim);
  font-weight: 500;
}

._cancelBtn_19a2e_177 {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  border-radius: 14px;
  background: oklch(0.72 0.19 30 / 0.12);
  border: 1px solid oklch(0.72 0.19 30 / 0.25);
  color: var(--warn);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--dur-micro) var(--ease-default);
}

._cancelBtn_19a2e_177:active {
  background: oklch(0.72 0.19 30 / 0.22);
}
/* AchievementToast — single glass surface. No gradient. Mint icon (Phase 5d). */

._stack_1c270_3 {
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

._toast_1c270_9 {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  color: var(--ink);
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: left;
  width: 100%;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  animation: _toastIn_1c270_1 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes _toastIn_1c270_1 {
  from { transform: translateY(-32px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes _iconShimmer_1c270_1 {
  0%, 100% { box-shadow: 0 0 8px -2px var(--accent); }
  50%       { box-shadow: 0 0 22px 4px  var(--accent); }
}
._icon_1c270_40 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: oklch(0.32 0.10 var(--hue) / 0.5);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: _iconShimmer_1c270_1 1.8s ease-in-out infinite;
  animation-delay: 360ms;
}

._body_1c270_54 { min-width: 0; flex: 1; }

._kicker_1c270_56 {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

._title_1c270_65 {
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._desc_1c270_75 {
  margin-top: 3px;
  font-size: 0.875rem;
  color: var(--ink-dim);
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._close_1c270_86 {
  flex-shrink: 0;
  color: var(--ink-dim);
  transition: color 180ms ease-out;
}

._toast_1c270_9:hover ._close_1c270_86 {
  color: var(--ink);
}
._scroll_18dk9_1 {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

._toastStack_18dk9_9 {
  position: fixed;
  top: max(env(safe-area-inset-top), 16px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 600px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
/* InstallToast — glass pill, same shell as AchievementToast. */

._toast_1fixq_3 {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  color: var(--ink);
  font-family: var(--font-sans);
  width: 100%;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  animation: _toastIn_1fixq_1 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

._icon_1fixq_28 {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: oklch(0.32 0.10 var(--hue) / 0.45);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: _iconPulse_1fixq_1 2s ease-in-out infinite;
  animation-delay: 360ms;
}

@keyframes _iconPulse_1fixq_1 {
  0%, 100% { box-shadow: 0 0 0 0   oklch(0.72 0.14 var(--hue) / 0.00); }
  50%       { box-shadow: 0 0 0 6px oklch(0.72 0.14 var(--hue) / 0.18); }
}

._body_1fixq_47 {
  flex: 1;
  min-width: 0;
}

._kicker_1fixq_52 {
  font-size: 0.6875rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

._title_1fixq_61 {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

._sub_1fixq_69 {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--ink-mute);
  line-height: 1.35;
}

._actions_1fixq_76 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

._close_1fixq_84 {
  background: none;
  border: none;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-dim);
  font-family: var(--font-sans);
  transition: color 180ms ease-out;
}
._close_1fixq_84:hover { color: var(--ink); }

._installBtn_1fixq_100 {
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--bg-base);
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
}
/* Aurora Dark — Phase 5d (Claude Design import). Source of truth for tokens.
 * Parametrized by --hue (default 195 cian, matches settingsStorage.ts DEFAULTS).
 * User can override from Settings → Apariencia; the picker writes --hue on :root via App.tsx.
 *
 * OKLCH is supported in Safari 15.4+ (covers iOS 16+ target) and Chrome 111+. */

:root {
  /* Tunable hue. 195 cian · 152 mint · 168 teal · 140 lime · 50 amber · 330 magenta. */
  --hue: 195;

  /* Accent ramp (rotates with --hue). */
  --accent: oklch(0.82 0.18 var(--hue));
  --accent-dim: oklch(0.62 0.16 var(--hue));
  --accent-deep: oklch(0.32 0.10 var(--hue));
  --accent-soft: oklch(0.22 0.06 var(--hue));

  /* Warning / filler (hue-fixed; does NOT rotate). */
  --warn: oklch(0.78 0.13 30);
  --warn-deep: oklch(0.55 0.20 30);
  --warn-soft: oklch(0.32 0.10 30);

  /* Ink (text) hierarchy. */
  --ink: oklch(0.96 0.02 var(--hue));
  --ink-mute: oklch(0.78 0.03 var(--hue));
  --ink-dim: oklch(0.58 0.03 var(--hue));

  /* Backgrounds. */
  --bg-0: oklch(0.16 0.02 var(--hue));
  --bg-1: oklch(0.12 0.025 var(--hue));
  --bg-2: oklch(0.08 0.022 var(--hue));
  --bg-base: #07100c;

  /* Glass surfaces. */
  --glass: oklch(0.18 0.025 var(--hue) / 0.78);
  --glass-bright: oklch(0.24 0.03 var(--hue) / 0.82);
  --glass-blur: blur(24px) saturate(1.1);
  --glass-blur-strong: blur(28px) saturate(1.2);

  /* Hairline borders. */
  --hairline: oklch(0.55 0.02 var(--hue) / 0.18);

  --topbar-height: calc(3.5rem + max(env(safe-area-inset-top, 0px), 12px));
  /* Page lateral padding — reused for the gap between TopBar and first card. */
  --page-pad: 18px;
  /* BottomNav overlay clearance: scales with text size so larger fonts still clear the pill. */
  --nav-height: 6.1875rem;

  /* Z-index tokens (retained verbatim from Phase 5c). */
  --z-nav: 50;
  --z-overlay: 100;
  --z-modal: 200;
  --z-toast: 300;

  /* Motion. */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-micro: 120ms;
  --dur-fast: 180ms;
  --dur-normal: 240ms;
  --dur-slow: 360ms;

  /* Type families. */
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}
/* Aurora Dark — Phase 5d (Claude Design import). Source of truth for tokens.
 * Parametrized by --hue (default 195 cian, matches settingsStorage.ts DEFAULTS).
 * User can override from Settings → Apariencia; the picker writes --hue on :root via App.tsx.
 *
 * OKLCH is supported in Safari 15.4+ (covers iOS 16+ target) and Chrome 111+. */

:root {
  /* Tunable hue. 195 cian · 152 mint · 168 teal · 140 lime · 50 amber · 330 magenta. */
  --hue: 195;

  /* Accent ramp (rotates with --hue). */
  --accent: oklch(0.82 0.18 var(--hue));
  --accent-dim: oklch(0.62 0.16 var(--hue));
  --accent-deep: oklch(0.32 0.10 var(--hue));
  --accent-soft: oklch(0.22 0.06 var(--hue));

  /* Warning / filler (hue-fixed; does NOT rotate). */
  --warn: oklch(0.78 0.13 30);
  --warn-deep: oklch(0.55 0.20 30);
  --warn-soft: oklch(0.32 0.10 30);

  /* Ink (text) hierarchy. */
  --ink: oklch(0.96 0.02 var(--hue));
  --ink-mute: oklch(0.78 0.03 var(--hue));
  --ink-dim: oklch(0.58 0.03 var(--hue));

  /* Backgrounds. */
  --bg-0: oklch(0.16 0.02 var(--hue));
  --bg-1: oklch(0.12 0.025 var(--hue));
  --bg-2: oklch(0.08 0.022 var(--hue));
  --bg-base: #07100c;

  /* Glass surfaces. */
  --glass: oklch(0.18 0.025 var(--hue) / 0.78);
  --glass-bright: oklch(0.24 0.03 var(--hue) / 0.82);
  --glass-blur: blur(24px) saturate(1.1);
  --glass-blur-strong: blur(28px) saturate(1.2);

  /* Hairline borders. */
  --hairline: oklch(0.55 0.02 var(--hue) / 0.18);

  --topbar-height: calc(3.5rem + max(env(safe-area-inset-top, 0px), 12px));
  /* Page lateral padding — reused for the gap between TopBar and first card. */
  --page-pad: 18px;
  /* BottomNav overlay clearance: scales with text size so larger fonts still clear the pill. */
  --nav-height: 6.1875rem;

  /* Z-index tokens (retained verbatim from Phase 5c). */
  --z-nav: 50;
  --z-overlay: 100;
  --z-modal: 200;
  --z-toast: 300;

  /* Motion. */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-micro: 120ms;
  --dur-fast: 180ms;
  --dur-normal: 240ms;
  --dur-slow: 360ms;

  /* Type families. */
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Reset minimal — keep behavior predictable across browsers. */

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

::-webkit-scrollbar { display: none; }

* { scrollbar-width: none; }

html {
  background: #00191a;
  background: oklch(0.12 0.03 var(--hue));
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 600px;
  margin: 0 auto;
}

/* Session dimming overlay — darkens the body aurora during live recording. */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg-base);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-default);
}

body[data-session-active='true']::before {
  opacity: 0.55;
}

/* Buttons reset (each component restyles fully via CSS Modules / inline). */

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Material Symbols Rounded — base styling applied to all `.material-symbols-rounded` spans.
 * The <Icon> primitive overrides font-variation-settings per instance for fill/weight. */

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 1.5rem;
  line-height: 1;
  user-select: none;
  vertical-align: middle;
}

/* Reduced motion: kill the Orb displacement animation, keep scale reactivity.
 * Individual components also gate animations on this. */

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

/* Scrollbar — thin and unobtrusive (WebKit only; Firefox has scrollbar-width). */

::-webkit-scrollbar { width: 4px; height: 4px; }

::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 4px; }

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

/* Transient highlight applied by AudioPlayer when jumping to a filler marker */

.audioHighlight {
  background: oklch(0.72 0.19 30 / 0.32) !important;
  outline: 1px solid oklch(0.72 0.19 30 / 0.55);
  border-radius: 4px;
  transition: background 0.2s, outline-color 0.2s;
}
