/* ── Self-hosted fonts (DSGVO-konform — kein Google-Server-Kontakt) ─────── */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050606;
  --bg-2: #090a0a;
  --glass: rgba(255, 255, 255, 0.048);
  --glass-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(239, 245, 241, 0.095);
  --line-strong: rgba(239, 245, 241, 0.16);
  --edge: rgba(255, 255, 255, 0.72);
  --edge-soft: rgba(255, 255, 255, 0.22);
  --text: #f2f6f2;
  --soft: #c8d1ca;
  --muted: #7f8984;
  --accent: #c1dfcf;
  --accent-ink: #111612;
  --jade: #9bd1b4;
  --blue: #9cb8c9;
  --lime: #c2d58f;
  --amber: #d6bc81;
  --rose: #d59a9a;
  --coral: #e8997a;
  --sand: #c8ba9b;
  --violet: #b9a9d8;
  --radius: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  font-family: Geist, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 22% -12%, rgba(193, 223, 207, 0.13), transparent 17rem),
    radial-gradient(circle at 90% 4%, rgba(156, 184, 201, 0.085), transparent 16rem),
    linear-gradient(145deg, #080909 0%, #030404 58%, #090a0a 100%);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 21rem),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px, 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 76%);
}

body.light-mode {
  color-scheme: light;
  --bg: #f7f9f8;
  --bg-2: #ffffff;
  --glass: rgba(0, 0, 0, 0.03);
  --glass-strong: rgba(0, 0, 0, 0.06);
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.15);
  --edge: rgba(0, 0, 0, 0.2);
  --edge-soft: rgba(0, 0, 0, 0.08);
  --text: #111612;
  --soft: #4a5550;
  --muted: #7f8984;
  --accent: #2e5c4a;
  --accent-ink: #ffffff;
  --jade: #2b7a54;
  --blue: #3a6b8a;
  --lime: #657e33;
  --amber: #8a6a23;
  --rose: #9a4848;
  --coral: #c96b48;
  --sand: #807153;
  --violet: #5f4a8f;
  background:
    radial-gradient(circle at 22% -12%, rgba(193, 223, 207, 0.3), transparent 17rem),
    radial-gradient(circle at 90% 4%, rgba(156, 184, 201, 0.15), transparent 16rem),
    linear-gradient(145deg, #f7f9f8 0%, #f0f3f1 58%, #ffffff 100%);
}

body.light-mode::before {
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 76%);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.04), transparent 21rem),
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

body.light-mode:has(.auth-screen),
body.light-mode:has(.obv3-screen),
body.light-mode:has(.onboarding-screen) {
  color-scheme: dark;
  --bg: #050606;
  --bg-2: #090a0a;
  --glass: rgba(255, 255, 255, 0.048);
  --glass-strong: rgba(255, 255, 255, 0.085);
  --line: rgba(239, 245, 241, 0.095);
  --line-strong: rgba(239, 245, 241, 0.16);
  --text: #f2f6f2;
  --soft: #c8d1ca;
  --muted: #7f8984;
  --accent: #c1dfcf;
  --accent-ink: #111612;
  background:
    radial-gradient(circle at 22% -12%, rgba(193, 223, 207, 0.13), transparent 17rem),
    radial-gradient(circle at 90% 4%, rgba(156, 184, 201, 0.085), transparent 16rem),
    linear-gradient(145deg, #080909 0%, #030404 58%, #090a0a 100%);
}

button,
textarea,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(193, 223, 207, 0.6);
  outline-offset: 3px;
}

h1,
p {
  margin: 0;
}

.phone-shell {
  width: min(100%, 440px);
  max-width: 100vw;
  min-height: 100dvh;
  height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
  /* Hide scrollbar visually — app feels native, trackpad still works */
  scrollbar-width: none;
  -ms-overflow-style: none;
  background:
    radial-gradient(circle at 24% -3%, rgba(255, 255, 255, 0.045), transparent 14rem),
    radial-gradient(circle at 95% 12%, rgba(193, 223, 207, 0.055), transparent 13rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 18rem),
    var(--bg);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.58);
}

.phone-shell::-webkit-scrollbar { display: none; }

.app {
  min-height: 100dvh;
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  overflow-y: visible;
}


.screen {
  padding: 16px 20px 96px;
  animation: enter 420ms var(--ease);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.screen:has(.obv3-screen),
.screen:has(.auth-screen),
.screen:has(.paywall-screen),
.screen:has(.onboarding-screen) {
  padding: 0;
}

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

.liquid {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 38%, rgba(0, 0, 0, 0.18)),
    rgba(8, 9, 9, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(255, 255, 255, 0.055),
    inset 1px 0 0 rgba(255, 255, 255, 0.1),
    inset -1px 0 0 rgba(255, 255, 255, 0.04),
    0 28px 70px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(30px) saturate(150%) contrast(1.06);
  -webkit-backdrop-filter: blur(30px) saturate(150%) contrast(1.06);
}

.liquid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, var(--edge), rgba(255, 255, 255, 0.12) 18%, transparent 42%, rgba(255, 255, 255, 0.2) 74%, rgba(255, 255, 255, 0.48)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.62), transparent 9rem);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  opacity: 0.82;
}

.liquid::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.2), transparent 9rem),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.08), transparent 8rem),
    linear-gradient(118deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 45%, transparent 53%);
  opacity: 0.72;
}

.liquid > * {
  position: relative;
  z-index: 1;
}

.icon {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar {
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.topbar .hero-meta {
  margin-top: 0;
  overflow: visible;
  padding-inline: 10px;
}

.topbar-action {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.topbar span,
.hero-meta span,
.today-stack span,
.section-label span,
.weight-board span,
.detail-head span,
.weight-control span,
.quiet-panel span,
.reflect-header span,
.extraction-panel span,
.assistant-strip span,
.review-head span,
.insight-kicker,
.review-item span {
  color: var(--muted);
  font-size: 12px;
}

.topbar strong {
  font-size: 19px;
  font-weight: 680;
}

.glass-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.043);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.115),
    0 12px 28px rgba(0, 0, 0, 0.24);
  transition: transform 180ms var(--ease), background 180ms ease;
}

.glass-icon:active,
.primary-action:active,
.ghost-action:active,
.dock-button:active,
.mini-block:active,
.block-row:active {
  transform: scale(0.98);
}

.momentum-hero {
  min-height: 400px;
  position: relative;
  margin: 0 -14px;
  padding: 24px 20px 0;
  border-radius: 0;
}

.hero-meta,
.range-switch,
.main-chart {
  position: relative;
  z-index: 1;
}

.hero-meta {
  display: grid;
  gap: 6px;
  text-align: center;
  margin-top: 10px;
  place-items: center;
}

.hero-meta span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.hero-meta strong {
  max-width: 100%;
  display: inline-block;
  overflow: visible;
  padding-inline: 0.08em;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 400;
  background: linear-gradient(135deg, #fff, #a3b5ab);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .hero-meta strong {
  background: linear-gradient(135deg, #111612, #4a5550);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-chart {
  width: calc(100% + 40px);
  height: 240px;
  margin: 20px -20px 0;
  overflow: visible;
}

.grid-line {
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.chart-fill {
  fill: url(#chartFill);
  transition: d 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-stroke {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: d 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 8px 18px rgba(193, 223, 207, 0.24));
}

.chart-light-halo,
.chart-light-core {
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
}

.chart-light-halo {
  stroke: currentColor;
  fill: none;
  color: var(--accent);
  opacity: 0;
  filter: blur(4px) drop-shadow(0 0 12px rgba(193, 223, 207, 0.6));
  mix-blend-mode: screen;
}

.chart-light-core {
  fill: #f8fff9;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(248, 255, 249, 0.85));
}

.range-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto 0;
  width: max-content;
  gap: 5px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}

.range-switch button {
  min-height: 32px;
  padding: 0 16px;
  color: var(--muted);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  transition: all 200ms ease;
}

.range-switch button.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.today-stack {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  gap: 1px;
  margin-top: 10px;
  padding: 8px;
  border-radius: 28px;
}

.today-stack article {
  min-height: 86px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.today-stack article:last-child {
  border-right: 0;
}

.today-stack strong {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 660;
}

.today-stack small {
  color: var(--soft);
  font-size: 12px;
}

.section-label {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 2px 8px;
}

.section-label.flush {
  margin: 0 0 10px;
}

.section-label button {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.038);
  font-size: 12px;
}

.section-label .icon {
  width: 14px;
  height: 14px;
}

.section-label small {
  color: var(--muted);
  font-size: 12px;
}

.home-section-label {
  margin: 20px 6px 10px;
  padding: 0;
}

.home-section-label span {
  color: rgba(242,246,242,0.72);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-section-label small {
  color: rgba(127,137,132,0.62);
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.02em;
}

.pattern-section-label {
  margin-top: 24px;
  justify-content: flex-start;
}

.block-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(128px, 1fr));
  gap: 9px;
  margin-left: -14px;
  margin-right: -14px;
  padding: 0 14px 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.block-strip::-webkit-scrollbar,
.chip-line::-webkit-scrollbar {
  display: none;
}

.mini-block {
  min-height: 138px;
  display: grid;
  align-content: space-between;
  padding: 13px;
  text-align: left;
  color: var(--text);
  border-radius: 24px;
}

.mini-block span {
  color: var(--muted);
  font-size: 12px;
}

.mini-block strong {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  font-weight: 560;
}

.sparkline {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sparkline path {
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jade { color: var(--jade); }
.blue { color: var(--blue); }
.lime { color: var(--lime); }
.amber { color: var(--amber); }
.rose { color: var(--rose); }
.sand { color: var(--sand); }
.violet { color: var(--violet); }

.quiet-panel,
.review-panel,
.reflect-workspace,
.assistant-strip,
.weight-board,
.block-detail {
  border-radius: var(--radius);
}

.pattern-quote {
  position: relative;
  margin: 0 6px 4px;
  padding: 4px 2px 2px;
}

.pattern-progress-card {
  position: relative;
  overflow: hidden;
  margin: 0 6px 20px;
  padding: 14px 0 2px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 26% 44%, rgba(193,223,207,0.06), transparent 9rem);
  box-shadow: none;
}

.pattern-progress-card::before {
  display: none;
}

.pattern-progress-card > * {
  position: relative;
}

.pattern-progress-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pattern-progress-top span {
  color: rgba(242,246,242,0.82);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pattern-progress-top small {
  display: none;
  margin-top: 3px;
  color: rgba(127,137,132,0.58);
  font-size: 11px;
  font-weight: 400;
}

.pattern-progress-top strong {
  min-width: 58px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  padding: 7px 10px 6px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 999px;
  color: rgba(242,246,242,0.88);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.12), transparent 2.4rem),
    rgba(255,255,255,0.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 10px 26px rgba(0,0,0,0.22);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.pattern-progress-top strong em {
  color: rgba(127,137,132,0.66);
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
}

/* Track: single clean bar */
.pattern-progress-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(255,255,255,0.028);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.025);
  overflow: visible;
}

/* Remove old segments */
.pattern-progress-segments {
  display: none;
}

/* The glowing fill */
.pattern-progress-fill {
  position: absolute;
  inset: 1px auto 1px 1px;
  height: auto;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(193, 223, 207, 0.28) 0%,
    rgba(220, 240, 228, 0.72) 78%,
    rgba(255, 255, 255, 0.9) 100%
  );
  box-shadow:
    0 0 10px rgba(193, 223, 207, 0.28),
    0 0 18px rgba(193, 223, 207, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glow tip at the end of the bar */
.pattern-progress-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(220, 240, 228, 0.9);
  filter: blur(5px);
  box-shadow: 0 0 12px rgba(193, 223, 207, 0.55);
}

.pattern-progress-card p {
  margin: 9px 0 0;
  color: rgba(127,137,132,0.58);
  font-size: 11px;
  line-height: 1.35;
}


.pattern-source-pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 999px;
  color: rgba(127,137,132,0.72);
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pattern-source-pill::before {
  display: none;
}

.pattern-quote.is-general blockquote {
  color: rgba(242,246,242,0.82);
}

.pattern-quote.is-general small {
  color: rgba(193,223,207,0.58);
}

.pattern-quote.is-personal .pattern-source-pill {
  color: rgba(193,223,207,0.88);
  background: transparent;
  border-color: transparent;
}

.pattern-quote > span:not(.pattern-source-pill) {
  display: block;
  margin-bottom: 8px;
  color: rgba(242, 246, 242, 0.42);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pattern-quote blockquote {
  margin: 0;
  color: rgba(242, 246, 242, 0.88);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(30px, 8vw, 46px);
  font-style: italic;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.pattern-quote small { display: none; }

.confidence-line {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.confidence-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.reflect-workspace {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.reflect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 5px 0;
}

.voice-button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 19px;
  background:
    radial-gradient(circle at 32% 0%, rgba(255, 255, 255, 0.55), transparent 1.3rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 18px 36px rgba(0, 0, 0, 0.32);
}

.voice-button .icon {
  width: 23px;
  height: 23px;
}

.reflect-header strong,
.quiet-panel strong,
.assistant-strip strong,
.review-head strong {
  display: block;
  font-size: 20px;
  font-weight: 690;
}

.reflect-header span,
.quiet-panel span,
.assistant-strip span,
.review-head span {
  display: block;
  margin-top: 3px;
  line-height: 1.35;
}

textarea {
  width: 100%;
  min-height: 258px;
  resize: vertical;
  padding: 15px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 18px 36px rgba(0, 0, 0, 0.2);
  line-height: 1.55;
  outline: none;
}

.extraction-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.18);
}

.extraction-panel strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
}

.compose-actions {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
}

.ghost-action,
.primary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 18px;
  transition: transform 180ms var(--ease), background 180ms ease;
}

.ghost-action {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.primary-action {
  color: var(--accent-ink);
  background: var(--accent); /* matte finish */
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  border: none;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    0 6px 20px rgba(193, 223, 207, 0.14);
}

.primary-action:hover {
  background: #cce8da;
  transform: translateY(-0.5px);
  box-shadow: 
    inset 0 1px 1.5px rgba(255, 255, 255, 0.28),
    0 10px 24px rgba(193, 223, 207, 0.22);
}

.primary-action.full {
  width: 100%;
  margin-top: 10px;
}

.chip-line {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-line span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.032);
  font-size: 13px;
  white-space: nowrap;
}

.chip-line span.partial {
  color: var(--amber);
  border-color: rgba(214, 188, 129, 0.28);
  background: rgba(214, 188, 129, 0.08);
}

.chip-line span.detected {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
}

.quiet-panel,
.assistant-strip {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
}

.quiet-panel > .icon,
.assistant-strip > .icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
}

.review-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
}

.data-quality-note {
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.data-quality-note strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.data-quality-note span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.detected-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.detected-meta > span:not(.type-pill) {
  font-size: 11px;
  color: var(--muted);
}

.precision-hint {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.52);
  font-size: 11px;
  line-height: 1.35;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
}

.type-pill.measure {
  color: #dff7eb;
  background: rgba(155,209,180,0.12);
  border-color: rgba(155,209,180,0.22);
}

.type-pill.event {
  color: #dce9f4;
  background: rgba(156,184,201,0.12);
  border-color: rgba(156,184,201,0.22);
}

.type-pill.signal {
  color: #ead9b2;
  background: rgba(214,188,129,0.12);
  border-color: rgba(214,188,129,0.22);
}

.tracking-model-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px 11px 14px;
  border-radius: 18px;
  margin-bottom: 16px;
}

.tracking-model-card strong {
  display: block;
  font-size: 13px;
  font-weight: 620;
}

.tracking-model-card span:not(.type-pill) {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.tracking-type-row {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: nowrap;
  margin-top: 0;
}

.tracking-model-card .type-pill {
  min-height: 20px;
  padding: 0 7px;
  font-size: 8px;
}

.bereiche-header-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
.bereiche-header-card:active {
  background: rgba(255, 255, 255, 0.07);
}
.bereiche-header-card.is-dynamic {
  border-color: rgba(193, 223, 207, 0.2);
  background: rgba(193, 223, 207, 0.04);
}
.bereiche-header-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bereiche-header-left strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.bereiche-header-left span {
  font-size: 13px;
  color: var(--muted);
}
.bereiche-header-right {
  display: flex;
  align-items: center;
}
.bereiche-ki-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s;
}
.bereiche-ki-badge.is-dynamic {
  background: rgba(193, 223, 207, 0.1);
  border-color: rgba(193, 223, 207, 0.25);
  color: var(--accent);
}
.bereiche-ki-badge svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}
.bereiche-ki-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}
.bereiche-ki-badge.is-dynamic .bereiche-ki-dot {
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

.weight-footnote {
  margin: 18px 2px 0;
  padding: 0 2px 4px;
}

.weight-footnote span {
  color: rgba(242,246,242,0.52);
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.weight-footnote p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.archive-section {
  width: 100%;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.055);
}

.archive-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}

.archive-section-head span {
  color: rgba(242,246,242,0.48);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-section-head small {
  color: var(--muted);
  font-size: 11px;
}

.archived-list {
  display: grid;
  gap: 8px;
}

.archived-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 18px;
  background: rgba(255,255,255,0.022);
  filter: grayscale(0.8);
}

.archived-block-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.archived-block-main span {
  color: rgba(242,246,242,0.62);
  font-size: 14px;
  font-weight: 620;
}

.archived-block-main small {
  color: rgba(127,137,132,0.82);
  font-size: 11px;
}

.archived-restore {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(242,246,242,0.86);
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 620;
}

.archived-detail-note {
  margin: 0 20px 24px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255,255,255,0.026);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

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

.subtopic-controls .premium-slider {
  flex: 1;
  min-width: 0;
}

.subtopic-delete {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(213,154,154,0.9);
  background: rgba(213,154,154,0.08);
  border: 1px solid rgba(213,154,154,0.16);
  font-size: 11px;
  font-weight: 620;
}

.subtopic-type-switch {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
}

.subtopic-type-switch button {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: rgba(127,137,132,0.92);
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.subtopic-type-switch button.active {
  color: rgba(242,246,242,0.92);
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.prompt-helper {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.subtopic-auto-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.subtopic-auto-row strong {
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.subtopic-type-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Card-style type buttons */
.subtopic-type-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: rgba(242,246,242,0.65);
  background: rgba(255,255,255,0.03);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.subtopic-type-card.active {
  color: rgba(242,246,242,0.95);
  border-color: rgba(193,223,207,0.3);
  background:
    radial-gradient(circle at 0% 50%, rgba(193,223,207,0.06), transparent 80%),
    rgba(193,223,207,0.06);
  box-shadow: inset 0 0 0 1px rgba(193,223,207,0.12);
}

.stc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.stc-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stc-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(193,223,207,0.12);
  border-radius: 20px;
  padding: 2px 7px;
  letter-spacing: 0.03em;
}

.stc-desc {
  font-size: 13px;
  color: inherit;
  margin: 2px 0 0;
  line-height: 1.4;
}

.stc-examples {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin: 0;
  line-height: 1.5;
}

.category-actions {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: -30px;
}

.category-action {
  min-height: 46px;
  border-radius: 16px;
  color: rgba(242,246,242,0.72);
  background: rgba(255,255,255,0.026);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 14px;
  font-weight: 620;
}

.category-action.danger {
  color: rgba(213,154,154,0.92);
  background: rgba(213,154,154,0.07);
  border-color: rgba(213,154,154,0.16);
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 3px;
}

.review-head small {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: var(--soft);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
}

.review-item {
  min-height: 66px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.032);
}

.review-toggle {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.052);
  position: relative;
}

.review-toggle.on {
  background: var(--accent);
}

.review-toggle.on::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 8px;
  height: 13px;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.review-item strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}

.review-item small {
  color: var(--muted);
  font-size: 11px;
}

.weight-board {
  min-height: 152px;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 17px;
  align-items: center;
  padding: 17px;
}

.weight-ring {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(3, 4, 4, 0.95) 0 55%, transparent 56%),
    conic-gradient(var(--jade), var(--blue), var(--amber), var(--rose), var(--jade));
}

.weight-ring span {
  grid-area: 1 / 1;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 29px;
}

.weight-ring small {
  grid-area: 1 / 1;
  margin-top: 34px;
  color: var(--muted);
  font-size: 11px;
}

.weight-board strong {
  display: block;
  max-width: 12ch;
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.05;
}

.block-editor {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.block-list {
  display: grid;
  gap: 7px;
}

.block-row {
  min-height: 54px;
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: var(--text);
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
  text-align: left;
}

.block-row.selected {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.062);
}

.block-row strong {
  font-size: 14px;
}

.block-row small {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--soft);
  font-size: 13px;
}

.block-dot {
  width: 9px;
  height: 28px;
  border-radius: 999px;
  background: currentColor;
}

.block-detail {
  min-height: 250px;
  display: grid;
  gap: 16px;
  padding: 16px;
  overflow: hidden;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.detail-head h1 {
  margin-top: 2px;
  font-size: 36px;
  line-height: 0.95;
}

.detail-head > strong {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: currentColor;
  font-size: 22px;
}

.block-detail .sparkline {
  width: 100%;
  height: 62px;
}

.block-detail p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.48;
}

.weight-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
}

.weight-control input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--accent);
}

.weight-control strong {
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.dock {
  position: fixed;
  z-index: 60;
  isolation: isolate;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 392px);
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 999px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.105), transparent 5.5rem),
    radial-gradient(circle at 88% 100%, rgba(255, 255, 255, 0.035), transparent 5rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.01)),
    rgba(5, 6, 6, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025),
    0 -10px 34px rgba(255, 255, 255, 0.035),
    0 26px 64px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(52px) saturate(185%) contrast(1.12);
  -webkit-backdrop-filter: blur(52px) saturate(185%) contrast(1.12);
}

.dock::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -24px;
  right: -24px;
  top: -18px;
  bottom: -34px;
  border-radius: 42px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(5, 6, 6, 0.98), rgba(5, 6, 6, 0.74) 48%, rgba(5, 6, 6, 0.16) 76%, transparent 100%),
    linear-gradient(to bottom, rgba(5, 6, 6, 0.12), rgba(5, 6, 6, 0.78));
}

.dock-button {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(242, 246, 242, 0.48);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 560;
  white-space: nowrap;
  transition: transform 180ms var(--ease), color 180ms ease, opacity 180ms ease;
}

.dock-button.is-active {
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

.dock-button .icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  stroke-width: 1.65;
}

.dock-button .home-icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.75;
  transform: translateY(0.5px);
}

.dock-button[data-route="reflect"] .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.dock-button.is-active .icon {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.dock-button span {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Premium Light Mode: normal app only */
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) {
  --bg: #f3f5f2;
  --bg-2: #fafbf8;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.76);
  --line: rgba(25, 34, 29, 0.105);
  --line-strong: rgba(25, 34, 29, 0.18);
  --edge: rgba(255, 255, 255, 0.88);
  --edge-soft: rgba(25, 34, 29, 0.08);
  --text: #111713;
  --soft: #2e3933;
  --muted: #6f7a73;
  --accent: #315f4a;
  --accent-ink: #f8fbf7;
  --jade: #2f7d5c;
  --blue: #456f88;
  --lime: #61783c;
  --amber: #8b6b2f;
  --rose: #a45757;
  --coral: #c26647;
  --sand: #75694f;
  --violet: #66538c;
  background:
    radial-gradient(circle at 18% -8%, rgba(49, 95, 74, 0.14), transparent 18rem),
    radial-gradient(circle at 94% 4%, rgba(69, 111, 136, 0.11), transparent 17rem),
    linear-gradient(145deg, #f7f8f5 0%, #ecefeb 56%, #fbfcf8 100%);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen))::before {
  background-image:
    radial-gradient(circle at 48% 0%, rgba(255, 255, 255, 0.7), transparent 20rem),
    linear-gradient(rgba(20, 28, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 28, 23, 0.028) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.22), transparent 72%);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .phone-shell {
  background:
    radial-gradient(circle at 22% -4%, rgba(49, 95, 74, 0.09), transparent 13rem),
    radial-gradient(circle at 94% 10%, rgba(69, 111, 136, 0.08), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), transparent 17rem),
    #f4f6f2;
  box-shadow:
    0 34px 96px rgba(24, 32, 27, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .liquid,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .quiet-panel,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .review-panel,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .reflect-workspace,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .assistant-strip,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .weight-board,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .block-detail,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .bento-card,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .settings-list,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .mini-block,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .free-meter,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .paywall-hero {
  border-color: rgba(28, 38, 32, 0.095);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.92), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34) 48%, rgba(226, 232, 224, 0.42)),
    rgba(250, 251, 248, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -18px 40px rgba(64, 77, 68, 0.035),
    0 18px 48px rgba(24, 32, 27, 0.09);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .liquid::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(17, 23, 19, 0.08) 20%, transparent 46%, rgba(255, 255, 255, 0.68)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 9rem);
  opacity: 0.78;
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .liquid::after {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.6), transparent 9rem),
    radial-gradient(circle at 100% 100%, rgba(49, 95, 74, 0.07), transparent 9rem),
    linear-gradient(118deg, transparent 0 38%, rgba(255, 255, 255, 0.48) 45%, transparent 55%);
  opacity: 0.58;
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .hero-meta span,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .home-section-label small,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-progress-top small,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-progress-card p,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .topbar span,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .section-label span,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .settings-item {
  color: var(--muted);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .hero-meta strong {
  background: linear-gradient(135deg, #0d1210, #415249 72%, #6d7a72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .grid-line {
  stroke: rgba(28, 38, 32, 0.075);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .chart-stroke {
  stroke: #315f4a;
  filter: drop-shadow(0 8px 14px rgba(49, 95, 74, 0.16));
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .chart-light-halo {
  filter: blur(4px) drop-shadow(0 0 10px rgba(49, 95, 74, 0.36));
  mix-blend-mode: multiply;
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .chart-light-core {
  fill: #143325;
  filter: drop-shadow(0 0 8px rgba(49, 95, 74, 0.36));
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .range-switch {
  border-color: rgba(28, 38, 32, 0.1);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 28px rgba(24, 32, 27, 0.08);
  backdrop-filter: blur(22px) saturate(150%);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .range-switch button.active {
  color: #0d1210;
  background: rgba(17, 23, 19, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-progress-card {
  border-top-color: rgba(28, 38, 32, 0.1);
  background: linear-gradient(90deg, rgba(49, 95, 74, 0.055), transparent 62%);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-progress-top span,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-progress-top strong,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-quote blockquote,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-quote.is-general blockquote {
  color: #111713;
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-progress-track,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .confidence-line {
  background: rgba(28, 38, 32, 0.09);
  box-shadow: inset 0 1px 2px rgba(24, 32, 27, 0.08);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-progress-fill {
  background: linear-gradient(90deg, rgba(49, 95, 74, 0.34), rgba(49, 95, 74, 0.82));
  box-shadow:
    0 0 10px rgba(49, 95, 74, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .pattern-progress-fill::after {
  background: rgba(49, 95, 74, 0.85);
  box-shadow: 0 0 12px rgba(49, 95, 74, 0.32);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) textarea,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .transcript-box,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .extraction-panel {
  color: #111713;
  border-color: rgba(28, 38, 32, 0.11);
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 18px 34px rgba(64, 77, 68, 0.025);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .voice-button,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .glass-icon,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .settings-icon {
  color: #17221c;
  border-color: rgba(28, 38, 32, 0.09);
  background:
    radial-gradient(circle at 35% 0%, rgba(255, 255, 255, 0.92), transparent 1.5rem),
    rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 24px rgba(24, 32, 27, 0.08);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .settings-item {
  border-bottom-color: rgba(28, 38, 32, 0.07);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .settings-item:hover,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .settings-item:active,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .bento-card:active {
  background: rgba(255, 255, 255, 0.58);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .bento-signal {
  background: rgba(28, 38, 32, 0.06);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .primary-action {
  color: #fbfff9;
  border-color: rgba(49, 95, 74, 0.16);
  background: linear-gradient(145deg, #315f4a, #254a3a);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.28),
    inset 0 -2px 5px rgba(0, 0, 0, 0.14),
    0 12px 24px rgba(49, 95, 74, 0.18);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .ghost-action,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .chip-line span,
body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .bento-add-card {
  color: var(--muted);
  border-color: rgba(28, 38, 32, 0.1);
  background: rgba(255, 255, 255, 0.46);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .dock {
  border-color: rgba(28, 38, 32, 0.12);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.92), transparent 6rem),
    radial-gradient(circle at 88% 100%, rgba(49, 95, 74, 0.07), transparent 5rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(246, 248, 244, 0.52)),
    rgba(247, 249, 245, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(28, 38, 32, 0.045),
    0 22px 54px rgba(24, 32, 27, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(54px) saturate(170%) contrast(1.04);
  -webkit-backdrop-filter: blur(54px) saturate(170%) contrast(1.04);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .dock-button {
  color: rgba(26, 34, 29, 0.54);
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .dock-button.is-active {
  color: #0d1210;
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .home-topbar {
  border-bottom-color: rgba(28, 38, 32, 0.07);
  background:
    linear-gradient(to bottom, rgba(244, 246, 242, 0.92), rgba(244, 246, 242, 0.7) 72%, rgba(244, 246, 242, 0));
}

body.light-mode:not(:has(.auth-screen)):not(:has(.obv3-screen)):not(:has(.onboarding-screen)) .home-topbar::after {
  background: linear-gradient(to bottom, rgba(244, 246, 242, 0.62), transparent);
}

.streak-badge {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  z-index: 10;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background 260ms var(--ease), color 260ms var(--ease), box-shadow 260ms var(--ease), transform 180ms var(--ease);
}

.streak-badge:active {
  transform: scale(0.95);
}

.streak-badge .streak-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.streak-badge .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.streak-badge small {
  margin-left: 1px;
  font-size: 11px;
  font-weight: 650;
  opacity: 0.68;
}

.streak-badge.active {
  color: #071008;
  background: var(--lime);
  box-shadow: 0 0 20px rgba(214, 255, 206, 0.5);
}

.streak-badge.lost {
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.11), transparent 2.8rem),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 rgba(255, 255, 255, 0);
  animation: streakReset 540ms var(--ease);
}

.streak-badge.lost .streak-icon {
  color: rgba(255, 255, 255, 0.45);
}

.streak-badge.bump,
.streak-card.bump {
  animation: streakBump 760ms var(--ease);
}

.streak-card .streak-profile-icon {
  margin-bottom: 8px;
}

.streak-card.active .streak-profile-icon {
  color: var(--lime);
}

.streak-card.lost {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
}

.streak-card.lost .streak-profile-icon,
.streak-card.lost .bento-value {
  color: rgba(255, 255, 255, 0.62);
}

@keyframes streakReset {
  0% {
    opacity: 0.35;
    transform: translateY(-3px) scale(0.96);
    filter: saturate(0.2);
  }
  58% {
    opacity: 1;
    transform: translateY(0) scale(1.035);
  }
  100% {
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes streakBump {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  38% {
    transform: scale(1.08);
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.streak-celebration {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 440ms var(--ease);
}

.streak-celebration.show {
  opacity: 1;
}

.streak-celebration-card {
  min-width: 206px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 24px 26px 22px;
  border: 1px solid rgba(193, 223, 207, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), transparent 42%),
    radial-gradient(circle at 50% 0%, rgba(193, 223, 207, 0.13), transparent 5.5rem),
    rgba(9, 12, 11, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 34px 90px rgba(0, 0, 0, 0.66),
    0 0 46px rgba(193, 223, 207, 0.06);
  backdrop-filter: blur(36px) saturate(150%);
  -webkit-backdrop-filter: blur(36px) saturate(150%);
  transform: translateY(12px) scale(0.96);
  animation: streakCelebrationIn 2500ms var(--ease);
}

.streak-celebration-card span {
  color: var(--accent);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 52px;
  line-height: 0.95;
  text-shadow: 0 0 20px rgba(193, 223, 207, 0.22);
}

.streak-celebration-card strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 680;
}

.streak-celebration-card small {
  color: var(--muted);
  font-size: 12px;
}

@keyframes streakCelebrationIn {
  0% {
    transform: translateY(16px) scale(0.94);
    opacity: 0;
  }
  22% {
    transform: translateY(0) scale(1.03);
    opacity: 1;
  }
  72% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
  }
}

/* ── Streak Info Modal (premium, minimal) ────────────────────────────────── */

.streak-info-modal {
  position: fixed;
  inset: 0;
  z-index: 10200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.si-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.36s var(--ease);
}

.streak-info-modal.open .si-backdrop { opacity: 1; }

.si-sheet {
  position: relative;
  width: min(430px, 100vw);
  padding: 0 24px calc(28px + env(safe-area-inset-bottom, 0px));
  border-radius: 32px 32px 0 0;
  background: rgba(11, 13, 12, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 -24px 80px rgba(0, 0, 0, 0.52);
  transform: translateY(100%);
  transition: transform 0.44s cubic-bezier(0.16, 1, 0.3, 1);
}

.streak-info-modal.open .si-sheet { transform: translateY(0); }

.si-handle {
  width: 32px;
  height: 3px;
  margin: 10px auto 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

/* ── Hero ── */
.si-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

/* Size the standard flame icon inside the modal hero */
.si-flame-wrap .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.si-flame-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--accent);
  background:
    radial-gradient(circle at 45% 20%, rgba(255, 255, 255, 0.12), transparent 42%),
    rgba(193, 223, 207, 0.08);
  border: 1px solid rgba(193, 223, 207, 0.10);
}

.si-flame-wrap.lost {
  color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.si-number {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text);
}

.si-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ── Week row ── */
.si-week-block {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.si-week-row {
  display: flex;
  justify-content: space-between;
}

.swd {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.swd-pip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.10);
}

.swd.done .swd-pip {
  background:
    radial-gradient(circle at 38% 26%, rgba(255,255,255,0.28), transparent 34%),
    rgba(193, 223, 207, 0.78);
  border-color: rgba(193, 223, 207, 0.42);
  box-shadow: 0 0 18px rgba(193, 223, 207, 0.14);
}

.swd.missed .swd-pip {
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}

.swd.future .swd-pip {
  border-color: rgba(255, 255, 255, 0.05);
  background: transparent;
}

.swd.today .swd-pip {
  border-color: rgba(193, 223, 207, 0.55);
}

.swd.today.done .swd-pip {
  border-color: rgba(255, 255, 255, 0.4);
}

.swd-label {
  font-size: 10px;
  font-weight: 560;
  color: rgba(127, 137, 132, 0.6);
  letter-spacing: 0.04em;
}

.swd.today .swd-label {
  color: var(--accent);
  opacity: 0.85;
}

/* ── Meta grid ── */
.si-meta-grid {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.si-meta-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.si-meta-cell:last-child { align-items: flex-end; }

.si-meta-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 20px;
  align-self: stretch;
}

.si-meta-label {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}

.si-meta-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.si-meta-value.active { color: var(--accent); }

.si-meta-sub {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.55;
}

/* ── Info block ── */
.si-info-block {
  margin-bottom: 16px;
}

.si-info-block p {
  font-size: 10.8px;
  line-height: 1.42;
  color: rgba(160, 170, 165, 0.58);
  margin: 0 0 5px;
  letter-spacing: 0.005em;
}

.si-info-block p:last-child { margin-bottom: 0; }

.si-accent {
  color: var(--accent);
  font-weight: 560;
}

/* ── Freeze repair CTA (in modal when needed) ── */
.si-repair-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 1px solid rgba(155, 209, 255, 0.28);
  border-radius: 16px;
  background: rgba(155, 209, 255, 0.08);
  color: rgba(155, 209, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.si-repair-cta:active {
  background: rgba(155, 209, 255, 0.14);
  transform: scale(0.985);
}

/* ── CTAs ── */
.si-cta {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 1px solid rgba(193, 223, 207, 0.22);
  border-top-color: rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  color: rgba(242, 246, 242, 0.92);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.14), transparent 60%),
    linear-gradient(145deg, rgba(193,223,207,0.18), rgba(193,223,207,0.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  font-size: 15px;
  font-weight: 640;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.si-cta:active {
  opacity: 0.74;
  transform: scale(0.985);
}

.si-close {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 2px;
  border: none;
  background: transparent;
  color: rgba(127, 137, 132, 0.65);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s;
}

.si-close:active { opacity: 0.55; }

/* ── Notification Settings Modal ─────────────────────────────────────────── */
.notif-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
.notif-settings-modal.open { pointer-events: all; }

.ns-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.35s;
}
.notif-settings-modal.open .ns-backdrop { background: rgba(0,0,0,0.55); }

.ns-sheet {
  position: relative;
  background: #0f1010;
  border-radius: 28px 28px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 20px 44px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85dvh;
  overflow-y: auto;
}
.notif-settings-modal.open .ns-sheet { transform: translateY(0); }

.ns-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto 20px;
}

.ns-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text);
}

.ns-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
}

.ns-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 12px;
}

.ns-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.ns-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ns-icon .icon { width: 18px; height: 18px; }

.ns-row-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.ns-row-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}

.ns-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  border-left: none;
  border-right: none;
  border-bottom: none;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}
.ns-time-row:active { background: rgba(255,255,255,0.04); }

.ns-info {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}

.ns-close {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s;
}
.ns-close:active { opacity: 0.55; }

/* Toast position on auth screen — no dock, so sit near top instead of above it */
.screen:has(.auth-screen) .toast {
  bottom: auto;
  top: max(56px, calc(env(safe-area-inset-top, 0px) + 16px));
}

/* ── Streak Freeze & Repair ──────────────────────────────────────────────── */

/* ❄ pip on the streak badge */
.freeze-pip {
  font-size: 9px;
  line-height: 1;
  margin-left: -3px;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(155, 209, 255, 0.6));
}

/* Repair state card */
.streak-card.repair {
  border-color: rgba(214, 188, 129, 0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 188, 129, 0.10), transparent 7rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow:
    inset 0 1px 0 rgba(214, 188, 129, 0.18),
    0 18px 50px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Repair button */
.streak-repair-btn {
  margin-top: 6px;
  padding: 9px 18px;
  border: 1px solid rgba(155, 209, 255, 0.32);
  border-radius: 999px;
  color: rgba(155, 209, 255, 0.92);
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 209, 255, 0.14), transparent 3rem),
    rgba(155, 209, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.streak-repair-btn:active {
  opacity: 0.72;
  transform: scale(0.97);
}

/* ── Home pending-build banner ────────────────────────────── */
.home-pending-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 20px 20px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(193,223,207,0.14);
  background:
    radial-gradient(circle at 10% 50%, rgba(193,223,207,0.07), transparent 7rem),
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01)),
    rgba(7,9,8,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.home-pending-banner.is-offline {
  border-color: rgba(156, 184, 201, 0.16);
  background:
    radial-gradient(circle at 12% 50%, rgba(156,184,201,0.075), transparent 7rem),
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    rgba(7,9,8,0.42);
}
.home-pending-orb {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(193,223,207,0.07);
  border: 1px solid rgba(193,223,207,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: home-pending-pulse 2.8s ease-in-out infinite;
}
.home-pending-banner.is-offline .home-pending-orb {
  color: rgba(190, 210, 201, 0.84);
  background: rgba(156,184,201,0.065);
  border-color: rgba(156,184,201,0.18);
  animation: none;
}
.home-pending-text {
  flex: 1;
  min-width: 0;
}
.home-pending-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(239,245,240,0.88);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.home-pending-text span {
  font-size: 11.5px;
  color: rgba(137,148,143,0.65);
  line-height: 1.4;
}
.home-pending-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(193,223,207,0.5);
  animation: home-pending-dot 2s ease-in-out infinite;
}
.home-pending-banner.is-offline .home-pending-dot {
  background: rgba(156, 184, 201, 0.78);
  box-shadow: 0 0 10px rgba(156, 184, 201, 0.26);
  animation: none;
}
@keyframes home-pending-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,223,207,0); }
  50%       { box-shadow: 0 0 12px 2px rgba(193,223,207,0.08); }
}

/* ── Pending system state (Bereiche) ───────────────────────────── */
.pending-system-screen {
  min-height: calc(100dvh - 260px);
  padding: 42px 20px 140px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pending-system-card {
  width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 30px 24px 26px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.085), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(8, 10, 9, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.105),
    0 24px 70px rgba(0, 0, 0, 0.26);
  text-align: center;
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}

.pending-system-orb {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid rgba(193, 223, 207, 0.17);
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.13), transparent 58%),
    rgba(193, 223, 207, 0.055);
  box-shadow:
    0 0 0 8px rgba(193, 223, 207, 0.025),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.pending-system-orb svg {
  width: 30px;
  height: 30px;
}

.pending-system-screen.is-building .pending-system-orb {
  animation: pending-system-breathe 2.8s ease-in-out infinite;
}

.pending-system-screen.is-offline .pending-system-orb {
  color: rgba(197, 214, 207, 0.9);
  border-color: rgba(156, 184, 201, 0.22);
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.12), transparent 58%),
    rgba(156, 184, 201, 0.06);
}

.pending-system-copy {
  display: grid;
  gap: 9px;
  max-width: 310px;
}

.pending-system-copy span {
  color: rgba(226, 235, 229, 0.48);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pending-system-copy strong {
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 31px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
}

.pending-system-copy p {
  margin: 0;
  color: rgba(226, 235, 229, 0.62);
  font-size: 14px;
  line-height: 1.58;
}

.pending-system-action {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(193, 223, 207, 0.18);
  border-radius: 999px;
  color: rgba(218, 239, 228, 0.9);
  background:
    radial-gradient(circle at 35% 12%, rgba(255, 255, 255, 0.14), transparent 56%),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 32px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  font-weight: 720;
}

.pending-system-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
}

.pending-system-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.36;
  animation: pending-system-dot 1.4s ease-in-out infinite;
}

.pending-system-dots span:nth-child(2) { animation-delay: 0.22s; }
.pending-system-dots span:nth-child(3) { animation-delay: 0.44s; }

@keyframes pending-system-breathe {
  0%, 100% { box-shadow: 0 0 0 8px rgba(193, 223, 207, 0.02), inset 0 1px 0 rgba(255,255,255,0.11); }
  50% { box-shadow: 0 0 28px 10px rgba(193, 223, 207, 0.06), inset 0 1px 0 rgba(255,255,255,0.16); }
}

@keyframes pending-system-dot {
  0%, 100% { opacity: 0.28; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.18); }
}
@keyframes home-pending-dot {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.25); }
}

/* ── Pending history cards ───────────────────────────────────────────── */
.history-card.pending-card {
  border-color: rgba(251, 191, 36, 0.28);
  background: linear-gradient(135deg,
    rgba(251, 191, 36, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 100%);
  box-shadow:
    0 2px 16px rgba(251, 191, 36, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.history-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 7px;
  border-radius: 20px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: rgba(251, 191, 36, 0.85);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pending-badge svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.pending-card-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.15);
  color: rgba(251, 191, 36, 0.65);
  font-size: 11px;
  line-height: 1.4;
}

.pending-card-hint svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Freeze reminder strip (reflect page) ────────────────────────────── */
.freeze-reminder-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px 20px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(155, 209, 255, 0.07);
  border: 1px solid rgba(155, 209, 255, 0.18);
  color: rgba(155, 209, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.freeze-reminder-strip span {
  flex: 1;
}
.freeze-reminder-strip:active {
  background: rgba(155, 209, 255, 0.12);
}

/* Freeze celebration variant */
.streak-celebration-card.freeze .streak-celebration-card span,
.streak-celebration-card.freeze span {
  font-size: 42px;
  text-shadow: 0 0 28px rgba(155, 209, 255, 0.55);
}

.streak-celebration-card.freeze {
  border-color: rgba(155, 209, 255, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 209, 255, 0.14), transparent 5rem),
    rgba(7, 8, 8, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(155, 209, 255, 0.22),
    0 30px 70px rgba(0, 0, 0, 0.62);
}

.onboarding-screen {
  display: grid;
  align-content: end;
  gap: 12px;
  padding-bottom: 24px;
}

/* Auth & Forms */
.auth-screen {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: calc(22px + env(safe-area-inset-top, 0px)) 24px calc(28px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

.auth-screen::before {
  content: "";
  position: absolute;
  inset: -12% -22% auto -22%;
  height: 360px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(193,223,207,0.13), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 68%);
  opacity: 0.9;
}

.auth-brand,
.auth-hero,
.auth-card,
.auth-switch {
  position: relative;
}

.auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: auto;
}

.auth-brand span {
  color: rgba(242,246,242,0.82);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 29px;
  font-style: italic;
  letter-spacing: 0;
}

.auth-hero {
  margin: 54px 0 28px;
  text-align: center;
}

.auth-hero > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(127,137,132,0.74);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-hero h1 {
  max-width: 330px;
  margin: 0 auto 12px;
  color: rgba(242,246,242,0.96);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 44px;
  font-style: italic;
  font-weight: 400;
  line-height: 0.98;
}

.auth-hero p {
  max-width: 292px;
  margin: 0 auto;
  color: rgba(127,137,132,0.82);
  font-size: 15px;
  line-height: 1.5;
}

.auth-card {
  margin-bottom: 26px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-top-color: rgba(255,255,255,0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 24% 0%, rgba(255,255,255,0.09), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015) 58%, rgba(0,0,0,0.22));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.11),
    inset 0 -24px 50px rgba(0,0,0,0.18),
    0 24px 70px rgba(0,0,0,0.36);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.form-group label {
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  color: rgba(127,137,132,0.78);
  text-transform: uppercase;
}
.auth-input {
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.22);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top-color: rgba(255,255,255,0.16);
  color: var(--text);
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 12px 24px rgba(0,0,0,0.12);
}
.auth-input:focus {
  outline: none;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.024)),
    rgba(0,0,0,0.24);
  border-color: rgba(193,223,207,0.42);
  box-shadow:
    0 0 0 4px rgba(193,223,207,0.06),
    0 0 30px rgba(193,223,207,0.07),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}
.auth-link {
  font-size: 14px;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.auth-link:hover {
  opacity: 1;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.22);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.09);
}

.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(242,246,242,0.88);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.auth-google-btn:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}
.auth-google-btn:active {
  background: rgba(255,255,255,0.05);
}

.auth-submit {
  position: relative;
  min-height: 56px;
  width: 100%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border: 1px solid rgba(193,223,207,0.24);
  border-top-color: rgba(255,255,255,0.34);
  border-radius: 999px;
  color: rgba(242,246,242,0.94);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.24), transparent 70%),
    linear-gradient(145deg, rgba(193,223,207,0.26), rgba(193,223,207,0.09) 54%, rgba(255,255,255,0.045));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -20px 34px rgba(0,0,0,0.2),
    0 18px 50px rgba(0,0,0,0.34),
    0 0 32px rgba(193,223,207,0.08);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

/* ::before removed — border-top + inset shadow already provide the highlight;
   the extra line caused a visible double-border artifact */

.auth-submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-18deg) translateX(-220%);
  animation: glass-shimmer 7.4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.auth-switch {
  margin-top: auto;
  margin-bottom: 16px;
  text-align: center;
}

.auth-switch span {
  color: rgba(127,137,132,0.82);
  font-size: 14px;
}

/* Animations */
.onboarding-card {
  min-height: 480px;
  display: grid;
  align-content: end;
  gap: 22px;
  padding: 20px;
  border-radius: 36px;
  overflow: hidden;
}

.onboarding-card > span {
  color: var(--muted);
  font-size: 13px;
}

.onboarding-card h1 {
  max-width: 9ch;
  font-size: 50px;
  line-height: 0.93;
}

.onboarding-chart {
  height: 190px;
  margin: 0 -12px;
}

@media (min-width: 760px) {
  body {
    display: grid;
    place-items: center;
    padding: 24px 0;
  }

  .phone-shell,
  .app {
    min-height: 880px;
    border-radius: 34px;
  }

  .phone-shell {
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dock {
    bottom: 38px;
  }
}

.home-topbar {
  position: sticky;
  top: -1px;
  z-index: 58;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(64px + env(safe-area-inset-top, 0px));
  margin: -16px -20px 14px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  background:
    linear-gradient(to bottom, #050606 0%, rgba(5,6,6,0.94) 22%, rgba(5,6,6,0.7) 78%, rgba(5,6,6,0));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.home-topbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 20px;
  pointer-events: none;
  background: #050606;
}

.home-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5,6,6,0.5), transparent);
}

.app-logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #fff, #a3b5ab);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.profile-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  overflow: hidden;
}

.profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-icon .icon {
  width: 20px;
  height: 20px;
}

.patterns-scroll-container {
  position: relative;
  margin-top: 12px;
}

.patterns-scroll-area {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 80px; /* Space for the fade out */
  scrollbar-width: none; /* Firefox */
}

.patterns-scroll-area::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.patterns-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(16, 18, 16, 0), var(--bg));
  pointer-events: none;
}

.chart-glow-sweep {
  display: none;
}

@keyframes sweepGlow {
  0% {
    stroke-dashoffset: 980;
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  82% {
    opacity: 0.95;
  }
  100% {
    stroke-dashoffset: -80;
    opacity: 0;
  }
}

@-webkit-keyframes sweepGlow {
  0% {
    stroke-dashoffset: 980;
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  82% {
    opacity: 0.95;
  }
  100% {
    stroke-dashoffset: -80;
    opacity: 0;
  }
}

@supports (-webkit-touch-callout: none) {
  .chart-glow-sweep {
    stroke-width: 6px;
    filter: drop-shadow(0 0 8px rgba(193, 223, 207, 0.68));
    animation-name: sweepGlow;
    -webkit-animation: sweepGlow 4s infinite cubic-bezier(0.42, 0, 0.2, 1);
  }
}

/* Voice Reflection UI */
.voice-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
}

.write-action {
  margin-top: 12px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.write-action:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.write-action:active {
  transform: scale(0.96);
}

.huge-mic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.3s ease;
}

.huge-mic .icon {
  width: 32px;
  height: 32px;
}

.huge-mic.recording {
  background: rgba(193, 223, 207, 0.2);
  border-color: var(--accent);
  color: var(--accent);
  animation: pulse-mic 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes pulse-mic {
  0% { box-shadow: 0 0 0 0 rgba(193, 223, 207, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(193, 223, 207, 0); }
  100% { box-shadow: 0 0 0 0 rgba(193, 223, 207, 0); }
}

.transcript-box {
  width: 100%;
  max-width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: anywhere;
  word-break: break-word;
  box-sizing: border-box;
}

.transcript-box p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.connectivity-banner {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 540;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.2,0.8,0.2,1), opacity 0.38s ease;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}
.connectivity-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.connectivity-banner[data-type="online"] {
  background: rgba(11,18,14,0.82);
  border: 1px solid rgba(193,223,207,0.28);
  color: rgba(193,223,207,0.92);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(193,223,207,0.1);
}
.connectivity-banner[data-type="offline"] {
  background: rgba(14,10,10,0.85);
  border: 1px solid rgba(255,100,80,0.22);
  color: rgba(255,140,120,0.9);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,100,80,0.08);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  z-index: 10000;
  width: min(calc(100vw - 32px), 390px);
  max-width: calc(100vw - 32px);
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(193, 223, 207, 0.26);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.18), transparent 5rem),
    linear-gradient(145deg, rgba(193, 223, 207, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(5, 7, 6, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 60px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.35;
  pointer-events: auto;
  cursor: grab;
  touch-action: pan-x;
  transform: translate(-50%, 18px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
  box-sizing: border-box;
}

.toast-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07100b;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(193, 223, 207, 0.24);
}

.toast-icon svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast-message {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bubble-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.soft-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 99px;
  background: var(--glass-strong);
  border: 1px solid transparent;
  color: var(--muted);
  transition: all 0.2s ease;
}

.soft-bubble.active {
  background: rgba(193, 223, 207, 0.15);
  border-color: var(--accent);
  color: #fff;
}

.live-categories {
  margin-top: 6px;
}

.live-categories p {
  margin: 0 0 10px;
  padding-left: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0;
  text-align: left;
}

.live-categories .bubble-grid {
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 0;
}

.typing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.typing-head span {
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
}

.typing-back {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.typing-submit-wrap {
  margin-top: 18px;
}

.typing-submit {
  width: 100%;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(204, 232, 215, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.44), transparent 54%),
    linear-gradient(135deg, rgba(203, 235, 218, 0.96), rgba(165, 211, 190, 0.84));
  color: #07100c;
  font-size: 16px;
  font-weight: 820;
  box-shadow:
    0 18px 42px rgba(181, 223, 202, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -18px 34px rgba(31, 65, 48, 0.12);
}

.typing-submit .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

.typing-submit:active {
  transform: translateY(1px) scale(0.992);
}

/* Bereiche UI (Minimal) */
.bereiche-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.goals-text-card {
  position: relative;
  margin-bottom: 14px;
  padding: 26px;
  padding-bottom: 88px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(20, 20, 20, 0.4);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.5),
    inset 0 1px 1px rgba(255,255,255,0.05);
}

.goals-topbar {
  min-height: 150px;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 18px 20px 0;
}

.goals-topbar .circle-back {
  position: absolute;
  left: 20px;
  top: 18px;
}

.goals-topbar .hero-meta {
  width: 100%;
  margin-top: 8px;
  place-items: center;
  text-align: center;
}

.goals-topbar .hero-meta strong {
  font-size: clamp(46px, 10vw, 60px);
  line-height: 0.96;
  padding-inline: 0.12em;
}

.goals-screen-body {
  padding: 10px 20px 32px;
}

.goals-text-card.is-empty {
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(18, 20, 19, 0.52);
}

.goals-textarea {
  width: 100%;
  min-height: 380px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  padding: 16px 18px;
  box-sizing: border-box;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

@media (max-width: 430px) {
  .goals-topbar {
    min-height: 136px;
    padding-top: 16px;
  }

  .goals-topbar .circle-back {
    left: 18px;
    top: 16px;
  }

  .goals-topbar .hero-meta {
    margin-top: 4px;
  }

  .goals-topbar .hero-meta strong {
    font-size: clamp(42px, 12vw, 50px);
  }

  .goals-screen-body {
    padding: 8px 20px 32px;
  }

  .goals-text-card {
    margin-bottom: 12px;
    padding: 22px;
    padding-bottom: 86px;
  }

  .goals-textarea {
    min-height: min(420px, 48dvh);
    padding: 18px 16px;
  }
}

@media (max-width: 360px) {
  .goals-textarea {
    min-height: min(380px, 46dvh);
  }
}

.goals-text-card.is-empty .goals-textarea {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  border-color: rgba(193, 223, 207, 0.11);
}

.goals-textarea::placeholder {
  color: rgba(226, 235, 229, 0.5);
  opacity: 1;
}

.goals-textarea:focus {
  background: rgba(255, 255, 255, 0.018);
  border-color: rgba(193, 223, 207, 0.28);
  box-shadow:
    0 0 0 1px rgba(193, 223, 207, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.24);
}

.goals-textarea:focus::placeholder {
  color: rgba(226, 235, 229, 0.32);
}

.goals-mic {
  position: absolute;
  z-index: 6;
  right: 22px;
  bottom: 20px;
  width: 132px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(193,223,207,0.22);
  border-radius: 999px;
  color: var(--accent);
  background:
    radial-gradient(circle at 35% 15%, rgba(255,255,255,0.18), transparent 58%),
    rgba(255,255,255,0.055);
  box-shadow:
    0 10px 28px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.13);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.goals-mic .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.goals-mic span {
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
}

.goals-mic.recording {
  color: #07100c;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.42), transparent 56%),
    linear-gradient(135deg, rgba(203,235,218,0.95), rgba(162,211,188,0.78));
  box-shadow:
    0 0 0 8px rgba(193,223,207,0.08),
    0 16px 38px rgba(193,223,207,0.18),
    inset 0 1px 0 rgba(255,255,255,0.42);
  animation: pulse-mic 1.8s infinite ease-in-out;
}
.soft-bubble strong {
  font-weight: 600;
}

.reflect-textarea {
  width: 100%;
  min-height: 140px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  resize: none;
  margin-bottom: 0;
  transition: all 0.2s ease;
}

.reflect-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* Splash Screen */
.splash-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease-in-out, visibility 0.9s ease-in-out;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-screen .app-logo {
  font-size: 56px;
  animation: fadeInSplash 1.2s ease-out forwards;
}

@keyframes fadeInSplash {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

.prompt-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prompt-modal {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 320px;
}

/* Bento Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.bento-card {
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 160px;
}

.bento-card:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.04);
}

.bento-card-bg-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 74%;
  height: 58%;
  border-radius: 50%;
  filter: none;
  opacity: 0.11;
  pointer-events: none;
  transform: translate(34%, -28%) scale(1.08);
  z-index: -1;
  mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, 0.72) 28%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0, 0, 0, 0.72) 28%, transparent 70%);
}

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

.bento-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-value {
  font-size: 36px;
  font-weight: 500;
  font-family: 'Instrument Serif', serif;
  line-height: 1;
}

.bento-signal {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
}

.bento-signal.positive { color: var(--lime); background: rgba(193, 223, 207, 0.1); }
.bento-signal.negative { color: var(--rose); background: rgba(230, 185, 185, 0.1); }
.bento-signal.neutral { color: var(--muted); }

.bento-chart-container {
  height: 34px;
  width: 100%;
  margin-top: auto;
  opacity: 0.9;
}

.bento-add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  color: var(--muted);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 160px;
}
.bento-add-card:active {
  background: rgba(255, 255, 255, 0.02);
}

.focus-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 20px 10px;
  margin: 0 -20px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.focus-strip::-webkit-scrollbar {
  display: none;
}

.focus-card,
.focus-empty-card {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.018) 42%, rgba(193, 223, 207, 0.035)),
    rgba(7, 10, 9, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -22px 44px rgba(0, 0, 0, 0.22),
    0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(1.22);
  -webkit-backdrop-filter: blur(24px) saturate(1.22);
  color: var(--text);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.focus-card::before,
.focus-empty-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(255,255,255,0.18), transparent 24%),
    radial-gradient(circle at 90% 15%, rgba(193,223,207,0.12), transparent 34%);
  opacity: 0.72;
  pointer-events: none;
  z-index: -1;
}

.focus-card {
  min-width: 246px;
  scroll-snap-align: start;
  padding: 17px;
}

.focus-card.compact {
  min-height: 154px;
}

.focus-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.focus-card-head span,
.focus-empty-card span,
.focus-detail-meta span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.focus-card-head strong,
.focus-empty-card strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 22px;
  line-height: 1.04;
  font-weight: 650;
}

.focus-card-chart {
  height: 42px;
  margin: 14px 0 10px;
  opacity: 0.9;
}

.focus-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.focus-card-foot small {
  min-width: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.focus-card-foot em {
  color: rgba(193, 223, 207, 0.95);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.focus-empty-card {
  min-width: calc(100vw - 40px);
  min-height: 138px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.focus-empty-card small {
  max-width: 290px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.45;
}

.focus-create-menu h3,
.focus-picker-modal h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
}

.focus-menu-option,
.focus-menu-cancel {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  border-radius: 18px;
  padding: 15px;
  margin-top: 10px;
  text-align: left;
  cursor: pointer;
}

.focus-menu-option span {
  display: block;
  color: rgba(193, 223, 207, 0.8);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.focus-menu-option strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.focus-menu-option small,
.focus-menu-cancel {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.focus-menu-cancel {
  text-align: center;
  background: transparent;
}

.focus-picker-modal {
  max-width: 430px;
  max-height: min(720px, 88vh);
  display: flex;
  flex-direction: column;
}

.focus-picker-name {
  margin: 14px 0;
}

.focus-picker-name label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.focus-picker-name input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(0,0,0,0.24);
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.focus-picker-list {
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 2px;
}

.focus-picker-group {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.025);
}

.focus-picker-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: var(--text);
  border-top: 1px solid rgba(255,255,255,0.055);
}

.focus-picker-row:first-child {
  border-top: 0;
}

.focus-picker-row.is-block {
  background: rgba(255,255,255,0.035);
}

.focus-picker-row input {
  accent-color: #c1dfcf;
}

.focus-picker-row span {
  min-width: 0;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.focus-picker-row small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.focus-picker-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.focus-picker-actions button {
  flex: 1;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 13px 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
}

.focus-picker-actions button:last-child {
  background: rgba(193,223,207,0.9);
  color: #071009;
  border-color: transparent;
}

.focus-detail-screen {
  padding: 0 20px 28px;
}

.focus-detail-empty {
  padding: 28px 20px;
}

.focus-detail-empty p {
  color: var(--muted);
  line-height: 1.5;
}

.focus-detail-hero {
  padding: 22px 18px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.016)),
    rgba(7, 10, 9, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 24px 70px rgba(0,0,0,0.34);
}

.focus-detail-meta {
  text-align: center;
}

.focus-detail-meta strong {
  display: block;
  color: var(--text);
  font-size: 28px;
  margin-top: 5px;
}

.focus-detail-chart {
  color: #c1dfcf;
  margin: 4px 0 12px;
}

.focus-range-switch {
  margin: 0 auto;
}

.focus-included {
  margin-top: 22px;
}

.focus-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.focus-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.075);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 650;
}

.focus-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.focus-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.focus-actions button {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 14px 12px;
  background: rgba(255,255,255,0.045);
  color: var(--text);
  font-weight: 700;
}

.focus-actions button:first-child {
  grid-column: 1 / -1;
  background: rgba(193,223,207,0.9);
  color: #071009;
}

.focus-actions button.danger {
  color: rgba(255, 166, 166, 0.9);
}

/* ─── Settings / Account List ─── */
.settings-list {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 8px;
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item:active {
  background: rgba(255, 255, 255, 0.05);
}

.settings-item-left {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 1;
  min-width: 0;
}

.settings-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03);
}

/* Premium Glass Hues */
.settings-icon.glass-blue {
  background: rgba(156, 184, 201, 0.07);
  border: 1px solid rgba(156, 184, 201, 0.16);
  color: #a9c6d8;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.06), 0 4px 14px rgba(156, 184, 201, 0.04);
}
.settings-icon.glass-accent {
  background: rgba(193, 223, 207, 0.07);
  border: 1px solid rgba(193, 223, 207, 0.16);
  color: #bce1cc;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.06), 0 4px 14px rgba(193, 223, 207, 0.04);
}
.settings-icon.glass-amber {
  background: rgba(214, 188, 129, 0.07);
  border: 1px solid rgba(214, 188, 129, 0.16);
  color: #dec9a0;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.06), 0 4px 14px rgba(214, 188, 129, 0.04);
}
.settings-icon.glass-lime {
  background: rgba(194, 213, 143, 0.07);
  border: 1px solid rgba(194, 213, 143, 0.16);
  color: #cadc9d;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.06), 0 4px 14px rgba(194, 213, 143, 0.04);
}
.settings-icon.glass-rose {
  background: rgba(213, 154, 154, 0.07);
  border: 1px solid rgba(213, 154, 154, 0.16);
  color: #dfa8a8;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.06), 0 4px 14px rgba(213, 154, 154, 0.04);
}
.settings-icon.glass-violet {
  background: rgba(185, 169, 216, 0.07);
  border: 1px solid rgba(185, 169, 216, 0.16);
  color: #cbb9e9;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.06), 0 4px 14px rgba(185, 169, 216, 0.04);
}
.settings-icon.glass-orange {
  background: rgba(255, 139, 61, 0.07);
  border: 1px solid rgba(255, 139, 61, 0.16);
  color: #ff9d5c;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.06), 0 4px 14px rgba(255, 139, 61, 0.04);
}
.settings-icon.glass-muted {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.02);
}

.settings-icon svg {
  width: 18px;
  height: 18px;
}

.settings-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ─── Block Reflection Deck ─── */

/* ─── Review Panel ─── */
.review-panel {
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.review-back-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.review-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.review-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), transparent 45%),
    rgba(255,255,255,0.026);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card.is-accepted {
  background:
    linear-gradient(145deg, rgba(193, 223, 207, 0.075), transparent 46%),
    rgba(255,255,255,0.032);
  border-color: rgba(193, 223, 207, 0.16);
}

.review-card.is-rejected {
  opacity: 0.5;
}

.review-card.is-active {
  background:
    linear-gradient(145deg, rgba(193, 223, 207, 0.085), transparent 46%),
    rgba(255,255,255,0.035);
  border-color: rgba(193, 223, 207, 0.24);
  opacity: 1 !important;
  box-shadow:
    0 18px 46px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

.review-card-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  animation: obv3-slide-down 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 680;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
}

.review-action-btn.accept {
  grid-column: 1 / -1;
  background:
    linear-gradient(145deg, rgba(193, 223, 207, 0.13), rgba(193, 223, 207, 0.04)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(193, 223, 207, 0.25);
  color: var(--accent);
}

.review-action-btn.edit {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
}

.review-action-btn.discard {
  background: rgba(213, 154, 154, 0.06);
  border: 1px solid rgba(213, 154, 154, 0.16);
  color: var(--rose);
}

.review-action-btn:active {
  transform: scale(0.985);
  filter: brightness(1.15);
}

@keyframes obv3-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.review-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.review-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.review-card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.review-card-block {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card-value {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.review-card-score {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  min-width: 26px;
  text-align: right;
}

.review-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.review-toggle-btn.on {
  background: var(--accent);
  border: none;
  color: #000;
}

.review-toggle-btn.off {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
}

.review-followup {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(193,223,207,0.06);
  border: 1px solid rgba(193,223,207,0.15);
  font-size: 14px;
  color: rgba(193,223,207,0.9);
  line-height: 1.5;
  margin-bottom: 16px;
}

.review-followup svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ─── Profile Hero (Account screen) ─── */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 28px;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.profile-avatar svg {
  width: 32px;
  height: 32px;
  color: var(--muted);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ─── Deck empty state ─── */
.reflection-deck-empty {
  width: 100%;
  padding: 20px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
  line-height: 1.5;
}


/* ─── Live subtopic pills (recording screen) ─── */
.live-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
  cursor: default;
}

.live-sub-pill.is-hit {
  border-color: color-mix(in srgb, var(--pill-color) 55%, transparent);
  background: color-mix(in srgb, var(--pill-color) 12%, transparent);
  color: #fff;
}

.live-sub-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--pill-color, rgba(255,255,255,0.3));
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.live-sub-pill.is-hit .live-sub-dot {
  opacity: 1;
}

.live-sub-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.live-sub-check {
  width: 13px;
  height: 13px;
  stroke: var(--pill-color);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.reflection-deck-wrap {
  position: relative;
  width: 100%;
}

.reflection-deck {
  position: relative;
  width: 100%;
  height: 160px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

/* Before JS initializes — only show the front card, others hidden to prevent overlap */
.reflection-deck:not(.deck-initialized) .reflection-deck-card:not([data-card="0"]) {
  opacity: 0;
  pointer-events: none;
}
.reflection-deck:not(.deck-initialized) .reflection-deck-card[data-card="0"] {
  z-index: 10;
}

.reflection-deck-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  transform-origin: center bottom;
  will-change: transform, opacity;
  transition: transform 0.4s cubic-bezier(0.25,1,0.5,1), opacity 0.4s ease, box-shadow 0.3s ease;
  touch-action: pan-y;
  box-sizing: border-box;
}

.reflection-deck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.deck-tap-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.5px;
}
.deck-swipe-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.3px;
  animation: deck-swipe-hint-pulse 2.4s ease-in-out 0.6s 3 forwards;
}
@keyframes deck-swipe-hint-pulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.reflection-deck-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reflection-deck-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reflection-deck-score {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.reflection-deck-sub {
  font-size: 11px;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 6px;
  font-weight: 500;
}

.reflection-deck-text {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  margin: 0;
}

.reflection-deck-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.deck-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.25s ease, width 0.25s ease;
}

.deck-dot.active {
  background: var(--accent);
  width: 16px;
  border-radius: 3px;
}

.bereiche-summary {
  margin-bottom: 20px;
  display: grid;
  gap: 5px;
}

.bereiche-summary strong {
  color: rgba(242, 246, 242, 0.9);
  font-size: 18px;
  line-height: 1.2;
}

.bereiche-summary span {
  color: rgba(145, 155, 149, 0.95);
  font-size: 13px;
  line-height: 1.4;
}

.weight-footnote {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.015);
}

.weight-footnote > span {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(193, 223, 207, 0.055);
}

.weight-footnote .icon {
  width: 15px;
  height: 15px;
}

.weight-footnote p {
  margin: 0;
  color: rgba(145, 155, 149, 0.9);
  font-size: 12px;
  line-height: 1.45;
}

/* ── AI Mode Pill (bereiche screen) ──────────────────────────── */
.ai-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  transition: background 0.2s;
}
.ai-mode-pill:active { background: rgba(255,255,255,0.08); }
.ai-mode-pill.is-dynamic { border-color: rgba(193, 223, 207, 0.2); color: var(--accent); }
.ai-mode-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.ai-mode-pill.is-dynamic .ai-mode-pill-dot {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(193, 223, 207, 0.55);
}
.ai-mode-pill-label { flex: 1; }
.ai-mode-pill .icon { width: 13px; height: 13px; opacity: 0.5; }

/* ── AI Behavior Screen ───────────────────────────────────────── */
.ai-behavior-topbar {
  justify-content: flex-start;
  gap: 14px;
  padding-inline: 20px;
}
.ai-behavior-topbar .hero-meta {
  place-items: start;
  text-align: left;
}
.ai-behavior-screen {
  padding: 8px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  background: transparent; /* Force transparent background so glow is 100% visible against shell */
}

/* ── Ambient Background Glows for AI Modus Screen ── */
.ai-bg-glow-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1; /* Render exactly above the screen background */
  pointer-events: none;
  overflow: hidden;
}

.ai-bg-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px); /* Massive blur for organic, ultra-soft mist-like blending */
  opacity: 0;
  transition: opacity 1.8s ease, transform 2.2s cubic-bezier(0.16, 1, 0.3, 1), background 1.8s ease;
}

/* Blob 1: Top-Left soft flare */
.ai-bg-glow-blob.blob-1 {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -120px;
}

/* Blob 2: Bottom-Right soft flare */
.ai-bg-glow-blob.blob-2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  right: -80px;
}

/* Mode: Statisch (Structured, calm, platinum-silver anodized metallic look) */
.ai-behavior-screen.mode-static .ai-bg-glow-blob.blob-1 {
  opacity: 0.15;
  background: radial-gradient(circle, rgba(240, 243, 245, 0.22) 0%, transparent 80%);
  transform: translate(10px, 20px) scale(1);
}
.ai-behavior-screen.mode-static .ai-bg-glow-blob.blob-2 {
  opacity: 0.08;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 80%);
  transform: translate(-10px, -10px) scale(0.95);
}

/* Mode: Dynamisch (Organic sage green and soft champagne gold - warm, smart, highly sophisticated) */
.ai-behavior-screen.mode-dynamic .ai-bg-glow-blob.blob-1 {
  opacity: 0.22;
  background: radial-gradient(circle, rgba(193, 223, 207, 0.35) 0%, transparent 80%); /* Beautiful desaturated Reflct sage green */
  transform: translate(0px, 0px) scale(1.1);
  animation: dynamicDrift1 12s infinite alternate ease-in-out;
}
.ai-behavior-screen.mode-dynamic .ai-bg-glow-blob.blob-2 {
  opacity: 0.14;
  background: radial-gradient(circle, rgba(230, 218, 195, 0.22) 0%, transparent 80%); /* Faint warm champagne gold */
  transform: translate(0px, 0px) scale(1.05);
  animation: dynamicDrift2 16s infinite alternate ease-in-out;
}

@keyframes dynamicDrift1 {
  0% { transform: translate(0px, 0px) scale(1.1); }
  100% { transform: translate(25px, 15px) scale(1.2); }
}

@keyframes dynamicDrift2 {
  0% { transform: translate(0px, 0px) scale(1.05); }
  100% { transform: translate(-20px, -15px) scale(1.15); }
}

/* Toggle row */
.ai-mode-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 2; /* Render on top of background glows */
}
.ai-mode-toggle-pill {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 4px 0;
  transition: color 0.2s;
}
.ai-mode-toggle-pill.active { color: var(--text); }
.ai-mode-toggle-track {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  flex-shrink: 0;
}
.ai-mode-toggle-thumb {
  position: absolute;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text);
  transition: left 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.ai-mode-toggle-thumb.left { left: 4px; }
.ai-mode-toggle-thumb.right { left: 26px; background: var(--accent); box-shadow: 0 2px 12px rgba(193,223,207,0.4); }

/* Mode cards */
.ai-mode-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2; /* Render cards on top of background glows */
}
.ai-mode-big-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  border: 1.5px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  background: rgba(255,255,255,0.02);
  color: var(--text);
  overflow: hidden;
  opacity: 0.45;
  transform: scale(0.975);
  transition: border-color 0.3s, background 0.3s, transform 0.3s, opacity 0.3s, box-shadow 0.3s;
}
.ai-mode-big-card:active { transform: scale(0.965); }

/* Inactive: dimmed and shrunk */
.ai-mode-big-card:not(.is-active) { filter: saturate(0.4); }

/* Static active */
.ai-mode-big-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(255,255,255,0.28);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.1), transparent 70%),
    rgba(255,255,255,0.07);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(255,255,255,0.04) inset;
}

/* Dynamic active */
.ai-mode-big-card.is-dynamic.is-active {
  border-color: rgba(193, 223, 207, 0.55);
  background:
    radial-gradient(circle at 80% 10%, rgba(193,223,207,0.18), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(193,223,207,0.08), transparent 50%),
    rgba(193,223,207,0.05);
  box-shadow:
    0 0 0 1px rgba(193,223,207,0.2),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 60px rgba(193,223,207,0.08) inset;
}

/* Card visual area */
.ai-mode-card-visual {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.18);
  transition: background 0.3s;
}
.ai-mode-card-visual svg {
  width: 130px;
  height: 86px;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}
.ai-mode-big-card.is-active .ai-mode-card-visual svg { color: rgba(255,255,255,0.75); }
.ai-mode-big-card.is-dynamic .ai-mode-card-visual svg { color: rgba(193,223,207,0.5); }
.ai-mode-big-card.is-dynamic.is-active .ai-mode-card-visual {
  background: rgba(193,223,207,0.06);
}
.ai-mode-big-card.is-dynamic.is-active .ai-mode-card-visual svg { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   STATIC LOCK — one-shot "click shut" sequence on selection
   ══════════════════════════════════════════════════════════ */

/* 1. Body materialises from center */
.ai-mode-big-card.is-active .lock-body {
  transform-origin: 60px 52px;
  animation: lock-body-appear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes lock-body-appear {
  0%   { transform: scaleY(0.4); opacity: 0; }
  100% { transform: scaleY(1);   opacity: 1; }
}

/* 2. Shackle drops, overshoots slightly, clicks into place */
.ai-mode-big-card.is-active .lock-shackle {
  animation: lock-shackle-close 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
@keyframes lock-shackle-close {
  0%   { transform: translateY(-12px); opacity: 0; }
  50%  { transform: translateY(3px);   opacity: 1; }  /* overshoot down */
  72%  { transform: translateY(-2px);              }  /* micro bounce up */
  88%  { transform: translateY(1px);               }  /* settle */
  100% { transform: translateY(0px);  opacity: 1; }
}

/* 3. Keyhole indicator pops in after lock closes */
.ai-mode-big-card.is-active .lock-keyhole {
  transform-origin: 60px 54px;
  animation: lock-keyhole-appear 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.42s both;
}
@keyframes lock-keyhole-appear {
  0%   { transform: scale(0); opacity: 0;    }
  65%  { transform: scale(1.3);              }
  100% { transform: scale(1); opacity: 0.75; }
}


/* ══════════════════════════════════════════════════════════
   DYNAMIC HUB — one-shot "activate" sequence on selection
   ══════════════════════════════════════════════════════════ */

/* 1. Hub glow expands outward first */
.ai-mode-big-card.is-dynamic.is-active .hub-glow {
  transform-origin: 60px 40px;
  animation: hub-glow-activate 0.7s ease-out both;
}
@keyframes hub-glow-activate {
  0%   { transform: scale(0);   opacity: 0;   }
  45%  { transform: scale(2.4); opacity: 0.22; }
  100% { transform: scale(1);   opacity: 0.1; }
}

/* 2. Center dot pops in */
.ai-mode-big-card.is-dynamic.is-active .hub-dot {
  transform-origin: 60px 40px;
  animation: hub-dot-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}
@keyframes hub-dot-pop {
  0%   { transform: scale(0); opacity: 0; }
  65%  { transform: scale(1.25);          }
  100% { transform: scale(1); opacity: 1; }
}

/* 3. Spoke lines draw outward from hub */
.ai-mode-big-card.is-dynamic.is-active .hub-line {
  stroke-dasharray: 35;
  animation: spoke-draw 0.42s ease-out both;
}
.ai-mode-big-card.is-dynamic.is-active .hl1 { animation-delay: 0.14s; }
.ai-mode-big-card.is-dynamic.is-active .hl2 { animation-delay: 0.22s; }
.ai-mode-big-card.is-dynamic.is-active .hl3 { animation-delay: 0.30s; }
@keyframes spoke-draw {
  0%   { stroke-dashoffset: 35; opacity: 0.3; }
  100% { stroke-dashoffset: 0;  opacity: 1;   }
}

/* 4. Outer nodes scale in with spring */
.ai-mode-big-card.is-dynamic.is-active .spoke-node {
  animation: node-pop 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.ai-mode-big-card.is-dynamic.is-active .sn1 { animation-delay: 0.38s; transform-origin: 33px 23px; }
.ai-mode-big-card.is-dynamic.is-active .sn2 { animation-delay: 0.46s; transform-origin: 87px 23px; }
.ai-mode-big-card.is-dynamic.is-active .sn3 { animation-delay: 0.54s; transform-origin: 60px 62px; }
@keyframes node-pop {
  0%   { transform: scale(0); opacity: 0; }
  65%  { transform: scale(1.3);           }
  100% { transform: scale(1); opacity: 1; }
}

/* 5. Dashed arc fades in last */
.ai-mode-big-card.is-dynamic.is-active .spoke-arc {
  animation: arc-fade-in 0.35s ease-out 0.62s both;
}
@keyframes arc-fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* Card body */
.ai-mode-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-mode-card-body strong {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.ai-mode-card-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-mode-card-body ul li {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color 0.3s;
}
.ai-mode-card-body ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: background 0.3s;
}

.ai-recommended-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(193,223,207,0.18);
  border: 1px solid rgba(193,223,207,0.35);
  color: var(--accent);
  white-space: nowrap;
}

.ai-mode-big-card.is-dynamic.is-active .ai-recommended-badge {
  background: rgba(193,223,207,0.25);
  border-color: rgba(193,223,207,0.5);
}

.ai-mode-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  transition: color 0.3s;
}
.ai-mode-big-card.is-active .ai-mode-card-desc { color: rgba(220,235,225,0.9); }
.ai-mode-big-card.is-dynamic.is-active .ai-mode-card-desc { color: rgba(193,223,207,0.9); }

.ai-mode-big-card.is-active .ai-mode-card-body strong { color: #fff; }
.ai-mode-big-card.is-active .ai-mode-card-body ul li { color: rgba(220,235,225,0.9); }
.ai-mode-big-card.is-active .ai-mode-card-body ul li::before { background: rgba(255,255,255,0.5); }
.ai-mode-big-card.is-dynamic.is-active .ai-mode-card-body ul li::before { background: var(--accent); }

/* Check badge */
.ai-mode-card-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.ai-mode-big-card.is-dynamic .ai-mode-card-check {
  background: rgba(193,223,207,0.25);
  border-color: rgba(193,223,207,0.4);
  color: var(--accent);
}
.ai-mode-card-check.visible { opacity: 1; transform: scale(1); }
.ai-mode-card-check svg { width: 14px; height: 14px; }

/* circle-back button */
.circle-back {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text);
  background:
    radial-gradient(circle at 35% 15%, rgba(255, 255, 255, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}


/* Reflection History Stack */
.history-section {
  margin-top: 24px;
  padding: 0 20px;
  text-align: left;
}

.history-stack {
  position: relative;
  width: 100%;
  height: 200px;
  margin-top: 0;
  perspective: 1000px;
}

.history-card {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -95px;
  width: 190px;
  height: 270px;
  border-radius: 24px;
  padding: 20px;
  color: var(--text);
  box-shadow: -15px 15px 40px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, filter 0.4s ease;
  transform-origin: bottom center;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}



.history-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.history-card-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.history-card-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
}

/* Stack Layers - Playing card fan */
.history-card[data-index="0"] {
  transform: translateY(15px) translateX(35px) rotate(12deg) scale(1);
  z-index: 3;
  opacity: 1;
  filter: brightness(1);
}

.history-card[data-index="1"] {
  transform: translateY(0) translateX(0) rotate(0deg) scale(0.95);
  z-index: 2;
  opacity: 1;
  filter: brightness(0.8);
}

.history-card[data-index="2"] {
  transform: translateY(15px) translateX(-35px) rotate(-12deg) scale(0.9);
  z-index: 1;
  opacity: 1;
  filter: brightness(0.6);
}

.history-card.hidden-card {
  transform: translateY(30px) translateX(0px) rotate(0deg) scale(0.8);
  opacity: 0;
  pointer-events: none;
}

/* Swiping state */
.history-card.is-swiping {
  transition: none;
}

/* Expanded Card Overlay Animations */
@keyframes overlayEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes overlayExit {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes cardEnter {
  from { opacity: 0; transform: scale(0.85) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes cardExit {
  from { opacity: 1; transform: scale(1) translateY(0); }
  to { opacity: 0; transform: scale(0.9) translateY(20px); }
}

.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayEnter 0.3s ease forwards;
}

.blur-overlay.closing {
  animation: overlayExit 0.3s ease forwards;
  pointer-events: none;
}

.expanded-card {
  width: 100%;
  max-width: 400px;
  max-height: 80vh;
  background: rgba(30, 30, 30, 0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  padding: 32px 24px 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow-y: auto;
  animation: cardEnter 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.blur-overlay.closing .expanded-card {
  animation: cardExit 0.3s ease forwards;
}

.expanded-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}

.expanded-text {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

/* Premium Slider */
.premium-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  outline: none;
  transition: opacity 0.2s;
  cursor: pointer;
}

.premium-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.premium-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Color variations for sliders */
.amber-slider::-webkit-slider-thumb { box-shadow: 0 0 10px var(--amber); }
.blue-slider::-webkit-slider-thumb { box-shadow: 0 0 10px var(--blue); }
.jade-slider::-webkit-slider-thumb { box-shadow: 0 0 10px var(--jade); }
.lime-slider::-webkit-slider-thumb { box-shadow: 0 0 10px var(--lime); }
.rose-slider::-webkit-slider-thumb { box-shadow: 0 0 10px var(--rose); }
.coral-slider::-webkit-slider-thumb { box-shadow: 0 0 10px var(--coral); }
.sand-slider::-webkit-slider-thumb { box-shadow: 0 0 10px var(--sand); }


/* Premium Share Button */
.premium-share-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(128, 128, 128, 0.25), rgba(128, 128, 128, 0.05));
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 18px 24px;
  font-size: 16px;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25), inset 0 1px 2px rgba(255,255,255,0.2);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.premium-share-btn:active {
  transform: scale(0.97);
  background: linear-gradient(135deg, rgba(128, 128, 128, 0.3), rgba(128, 128, 128, 0.1));
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.2);
}

.premium-share-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg) translateX(-220%);
  animation: glass-shimmer 6.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes glass-shimmer {
  0% { transform: skewX(-18deg) translateX(-220%); opacity: 0; }
  12% { opacity: 0.9; }
  34% { transform: skewX(-18deg) translateX(360%); opacity: 0; }
  100% { transform: skewX(-18deg) translateX(360%); opacity: 0; }
}

.paywall-screen {
  padding: 12px 20px 32px;
}

.paywall-hero {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 80% 10%, rgba(193,223,207,0.12), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012) 58%, rgba(0,0,0,0.18));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 24px 70px rgba(0,0,0,0.38);
}

.paywall-reason {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(193,223,207,0.9);
  background: rgba(193,223,207,0.08);
  border: 1px solid rgba(193,223,207,0.16);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paywall-chart {
  width: 100%;
  height: 116px;
  margin: 0;
  overflow: visible;
  color: var(--accent);
}

.paywall-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(132px, 0.85fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.paywall-hero h1 {
  margin: 0;
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(37px, 10vw, 46px);
  font-style: italic;
  font-weight: 400;
  line-height: 0.96;
  text-wrap: balance;
}

.paywall-hero p {
  margin: 0;
  color: rgba(127,137,132,0.92);
  font-size: 14px;
  line-height: 1.42;
  max-width: 100%;
}

.plan-compare {
  display: grid;
  grid-template-columns: minmax(82px, 0.86fr) 1fr 1fr;
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 18px 52px rgba(0,0,0,0.18);
}

.compare-spacer,
.plan-column,
.compare-label,
.compare-value {
  background: rgba(8,10,9,0.82);
}

.compare-spacer {
  min-height: 88px;
}

.plan-column {
  padding: 16px 13px;
}

.plan-column.featured {
  background:
    radial-gradient(circle at 80% 0%, rgba(193,223,207,0.12), transparent 5rem),
    rgba(13,18,15,0.92);
}

.plan-column-head {
  display: grid;
  gap: 4px;
}

.plan-column-head span {
  color: rgba(242,246,242,0.74);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-column-head strong {
  color: var(--text);
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.plan-column-head small {
  color: rgba(127,137,132,0.78);
  font-size: 11px;
  line-height: 1.25;
}

.plan-column.featured .plan-column-head small {
  color: rgba(193,223,207,0.76);
}

.compare-label {
  padding: 13px 12px;
  color: rgba(127,137,132,0.78);
  font-size: 11px;
  font-weight: 690;
  line-height: 1.25;
}

.compare-value {
  padding: 13px 12px;
  color: rgba(242,246,242,0.68);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.compare-value.pro {
  color: rgba(242,246,242,0.9);
  background:
    linear-gradient(90deg, rgba(193,223,207,0.055), transparent),
    rgba(11,15,13,0.92);
}

.free-meter {
  margin: 18px 2px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}

.free-meter > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.free-meter span {
  color: var(--muted);
  font-size: 12px;
}

.free-meter strong {
  color: var(--text);
  font-size: 18px;
}

.free-meter-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}

.free-meter-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(193,223,207,0.45), rgba(255,255,255,0.92));
  box-shadow: 0 0 18px rgba(193,223,207,0.3);
}

.paywall-features {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.paywall-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
}

.paywall-feature span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #101410;
  background: var(--accent);
}

.paywall-feature svg {
  width: 14px;
  height: 14px;
}

.paywall-feature p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
}

.paywall-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.paywall-plan {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 16px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  color: var(--text);
  text-align: left;
  transition: border-color 180ms var(--ease), background 180ms ease, transform 180ms var(--ease), box-shadow 180ms ease;
}

.paywall-plan.selected {
  border-color: rgba(193,223,207,0.38);
  background: linear-gradient(145deg, rgba(193,223,207,0.16), rgba(255,255,255,0.04));
  box-shadow: 0 16px 40px rgba(193,223,207,0.06);
}

.paywall-plan.selected::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(193,223,207,0.48);
}

.paywall-plan:active {
  transform: scale(0.985);
}

.paywall-plan span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paywall-plan strong {
  font-size: 24px;
  font-weight: 760;
}

.paywall-plan small {
  color: var(--accent);
  font-size: 12px;
}

.paywall-subscribe {
  margin-top: 4px;
}

.paywall-later {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  color: rgba(127,137,132,0.76);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}

.upgrade-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 62%, rgba(193,223,207,0.09), transparent 14rem),
    rgba(0,0,0,0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: overlayEnter 220ms ease both;
}

.upgrade-modal {
  width: min(100%, 350px);
  padding: 24px 22px 20px;
  border-radius: 30px;
  text-align: left;
}

.upgrade-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: rgba(242,246,242,0.68);
  background: rgba(255,255,255,0.045);
  font-size: 22px;
  line-height: 1;
}

.upgrade-modal-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(193,223,207,0.18);
  border-radius: 999px;
  color: rgba(193,223,207,0.88);
  background: rgba(193,223,207,0.075);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.upgrade-modal h2 {
  max-width: 270px;
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  line-height: 0.98;
}

.upgrade-modal p {
  margin: 0;
  color: rgba(127,137,132,0.88);
  font-size: 14px;
  line-height: 1.52;
}

.upgrade-modal-actions {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

/* Onboarding Overhaul Animations */
@keyframes ob-chartDraw {
  0% { stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: 0; }
  100% { stroke-dasharray: 1000; stroke-dashoffset: 0; opacity: 1; }
}

@keyframes ob-chartGlow {
  0% { filter: drop-shadow(0 0 4px var(--accent)); }
  50% { filter: drop-shadow(0 0 12px var(--accent)); }
  100% { filter: drop-shadow(0 0 4px var(--accent)); }
}

@keyframes ob-pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes ob-bentoCascade {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.ob-chart-path {
  animation: ob-chartDraw 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, ob-chartGlow 3s infinite ease-in-out;
}

.ob-mic-ring {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: ob-pulseRing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.ob-bento-tile {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: ob-bentoCascade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.ob-header {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 16px;
}

.ob-subtitle {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@keyframes ob-ambientFlow {
  0% { transform: translateX(-10%) scaleY(1); opacity: 0.4; }
  50% { transform: translateX(10%) scaleY(1.4); opacity: 0.8; }
  100% { transform: translateX(-10%) scaleY(1); opacity: 0.4; }
}

@keyframes ob-northStarPulse {
  0% { transform: scale(1); opacity: 0.6; filter: blur(20px); }
  50% { transform: scale(1.4); opacity: 1; filter: blur(35px); }
  100% { transform: scale(1); opacity: 0.6; filter: blur(20px); }
}

@keyframes ob-particleFloat {
  0% { transform: translateY(20px) scale(0.8); opacity: 0; }
  20% { opacity: 0.5; }
  80% { opacity: 0.5; }
  100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
}

.ob-ambient-light {
  position: absolute;
  width: 160%;
  height: 40px;
  background: linear-gradient(90deg, transparent, rgba(193, 223, 207, 0.8), transparent);
  filter: blur(25px);
  animation: ob-ambientFlow 6s infinite ease-in-out;
  border-radius: 50%;
  transform-origin: center;
}

.ob-north-star {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 0, 0.9) 0%, rgba(255, 170, 0, 0.2) 60%, transparent 80%);
  animation: ob-northStarPulse 5s infinite ease-in-out;
}

.ob-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 170, 0, 0.6);
  filter: blur(2px);
  animation: ob-particleFloat 4s infinite ease-in;
}

/* Onboarding V3 */
.obv3-screen{position:relative;min-height:100vh;overflow:hidden;padding:58px 24px 34px}
.obv3-screen:before{content:"";position:absolute;inset:-18% -38% auto;height:430px;pointer-events:none;background:radial-gradient(circle at 50% 12%,rgba(193,223,207,.11),transparent 58%),radial-gradient(circle at 16% 80%,rgba(122,174,200,.055),transparent 44%)}
.obv3-noise{position:absolute;inset:0;pointer-events:none;opacity:.22;background-image:radial-gradient(rgba(255,255,255,.08) .5px,transparent .5px);background-size:18px 18px;mask-image:linear-gradient(to bottom,#000,transparent 82%)}
.obv3-progress{position:absolute;inset:0 0 auto;height:2px;background:rgba(255,255,255,.04);z-index:3}
.obv3-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--accent),rgba(193,223,207,.42));box-shadow:0 0 14px rgba(193,223,207,.45);transition:width .55s cubic-bezier(.16,1,.3,1)}
.obv3-back{position:absolute;top:48px;left:22px;z-index:5;width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:999px;color:var(--muted);background:rgba(255,255,255,.045);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.obv3-back svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.obv3-content{position:relative;z-index:2;min-height:calc(100vh - 92px);display:flex;flex-direction:column}
.obv3-start{min-height:calc(100dvh - 160px);display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:4px}
.obv3-logo{display:block;margin-bottom:48px;color:rgba(242,246,242,.34);font-family:"Instrument Serif",Georgia,serif;font-size:18px;font-style:italic}
.obv3-pill{display:inline-flex;align-items:center;gap:8px;margin-bottom:24px;padding:7px 13px 7px 9px;border:1px solid rgba(255,255,255,.075);border-radius:999px;background:rgba(255,255,255,.04);color:rgba(127,137,132,.9);font-family:"Geist Mono",ui-monospace,monospace;font-size:11px;backdrop-filter:blur(18px)}
.obv3-pill i{width:5px;height:5px;border-radius:999px;background:var(--accent);box-shadow:0 0 8px var(--accent)}
.obv3-start h1,.obv3-copy h2,.obv3-done h1{margin:0;color:rgba(242,246,242,.95);font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-weight:400;letter-spacing:0}
.obv3-start h1{max-width:340px;margin-bottom:18px;font-size:44px;line-height:1.04}
.obv3-start p,.obv3-copy p,.obv3-done p{margin:0;color:rgba(127,137,132,.88);font-size:15px;line-height:1.6}
.obv3-start p{margin-bottom:42px}
.obv3-copy{padding-top:10px;margin-bottom:22px}
.obv3-copy.compact{margin-bottom:14px}
.obv3-copy h2{margin-bottom:9px;font-size:36px;line-height:1.04}
.obv3-button{position:relative;min-height:54px;width:100%;display:inline-flex;align-items:center;justify-content:center;margin-top:auto;border:1px solid rgba(255,255,255,.085);border-radius:18px;color:rgba(242,246,242,.9);background:rgba(255,255,255,.045);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);font-size:15px;font-weight:650}
.obv3-button.primary{border-color:rgba(193,223,207,.24);color:var(--accent);background:linear-gradient(145deg,rgba(193,223,207,.15),rgba(255,255,255,.04)),rgba(255,255,255,.035);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 18px 50px rgba(0,0,0,.25),0 0 32px rgba(193,223,207,.08)}
.obv3-button.ghost{margin-top:12px;color:rgba(127,137,132,.92);background:transparent}.obv3-button:disabled{opacity:.35}
.obv3-loop,.obv3-block-list{display:flex;flex-direction:column;gap:10px}.obv3-loop{flex:1}
.obv3-step-card,.obv3-block-row,.obv3-voice-card,.obv3-note,.obv3-done-chart{border:1px solid rgba(255,255,255,.075);background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012)),rgba(255,255,255,.025);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.obv3-step-card{display:flex;gap:14px;padding:16px;border-radius:21px;opacity:0;animation:ob-bentoCascade .55s cubic-bezier(.2,.8,.2,1) forwards}.obv3-step-card.accent{border-color:rgba(193,223,207,.14)}
.obv3-step-card>span{width:28px;height:28px;min-width:28px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:999px;color:rgba(127,137,132,.8);background:rgba(255,255,255,.045);font-size:12px;font-weight:700}
.obv3-step-card strong,.obv3-block-row strong{display:block;color:rgba(242,246,242,.9);font-size:14px;font-weight:650}.obv3-step-card p,.obv3-block-row p{margin:5px 0 0;color:rgba(127,137,132,.78);font-size:12px;line-height:1.45}
.obv3-step-card blockquote{margin:11px 0 0;padding:10px 12px;border:1px solid rgba(255,255,255,.07);border-radius:12px 12px 12px 4px;color:rgba(242,246,242,.54);background:rgba(255,255,255,.035);font-size:12px;font-style:italic;line-height:1.42}
.obv3-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.obv3-chips i{padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);font-size:11px;font-style:normal;font-weight:650}
.obv3-chips .jade{color:var(--jade);border-color:rgba(168,230,207,.22)}.obv3-chips .lime{color:var(--lime);border-color:rgba(214,255,206,.2)}.obv3-chips .amber{color:var(--amber);border-color:rgba(255,216,141,.2)}.obv3-chips .rose{color:var(--rose);border-color:rgba(255,180,208,.2)}
.obv3-mini-chart{width:100%;height:64px;margin-top:10px;overflow:visible}.obv3-chart-line{fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px rgba(193,223,207,.42));stroke-dasharray:900;stroke-dashoffset:900;animation:obv3-draw 2s ease forwards}.obv3-chart-area{fill:rgba(193,223,207,.08);opacity:0;animation:obv3-area 1s 1.2s ease forwards}
.obv3-voice-card{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:18px 0;padding:26px 22px;border-radius:28px;text-align:center}.obv3-voice-card.recording{border-color:rgba(193,223,207,.2);box-shadow:inset 0 1px 0 rgba(193,223,207,.11),0 0 54px rgba(193,223,207,.07)}
.obv3-mic{position:relative;width:104px;height:104px;display:grid;place-items:center;margin-bottom:18px;color:var(--accent);background:transparent}.obv3-mic>span{position:absolute;inset:18px;border:1px solid rgba(193,223,207,.18);border-radius:999px;opacity:0}.recording .obv3-mic>span{animation:obv3-ring 2.2s infinite cubic-bezier(.2,.8,.2,1)}.recording .obv3-mic>span:nth-child(2){animation-delay:.55s}.recording .obv3-mic>span:nth-child(3){animation-delay:1.1s}
.obv3-mic i{width:70px;height:70px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.045);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.obv3-mic svg{width:28px;height:28px}.obv3-voice-card>strong{color:rgba(242,246,242,.84);font-size:15px}.obv3-voice-card>p{max-width:260px;margin:8px 0 0;color:rgba(127,137,132,.8);font-size:13px;line-height:1.55}.obv3-textarea{min-height:100%;border-radius:20px;background:rgba(0,0,0,.22)}
.obv3-or{display:flex;align-items:center;gap:10px}.obv3-or span{flex:1;height:1px;background:rgba(255,255,255,.075)}.obv3-or small{color:rgba(127,137,132,.5);font-family:"Geist Mono",ui-monospace,monospace;font-size:11px}
.obv3-loader{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:36px;text-align:center;padding:40px 24px}
.obv3-loader-orb{position:relative;width:96px;height:96px;display:flex;align-items:center;justify-content:center}
.obv3-loader-glow{position:absolute;width:80px;height:80px;border-radius:50%;background:radial-gradient(circle,rgba(193,223,207,.18) 0%,transparent 70%);animation:obv3-loader-glow 2.8s ease-in-out infinite}
.obv3-loader-ring{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(193,223,207,.13);animation:obv3-loader-ring 2.8s ease-out infinite}
.obv3-loader-ring.r2{animation-delay:1.4s}
.obv3-loader-inner{width:60px;height:60px;border-radius:50%;background:rgba(193,223,207,.05);border:1px solid rgba(193,223,207,.17);display:flex;align-items:center;justify-content:center;position:relative;z-index:2;animation:obv3-loader-pulse 2.8s ease-in-out infinite}
.obv3-loader-arc{position:absolute;inset:0;animation:spin 2.2s linear infinite}
.obv3-loader-text{display:flex;flex-direction:column;align-items:center;gap:14px}
.obv3-loader-text strong{color:rgba(242,246,242,.88);font-size:16px;font-weight:500;letter-spacing:-.01em}
.obv3-loader-sublines{position:relative;height:18px;width:260px}
.obv3-loader-sublines span{position:absolute;left:0;right:0;color:rgba(127,137,132,.55);font-family:"Geist Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.04em;opacity:0}
.obv3-loader-sublines .sl1{animation:obv3-subline 5.4s ease-in-out infinite}
.obv3-loader-sublines .sl2{animation:obv3-subline 5.4s ease-in-out infinite;animation-delay:1.8s}
.obv3-loader-sublines .sl3{animation:obv3-subline 5.4s ease-in-out infinite;animation-delay:3.6s}
.obv3-loader-dots{display:flex;gap:6px;align-items:center}
.obv3-loader-dots span{width:4px;height:4px;border-radius:50%;background:rgba(193,223,207,.28);animation:obv3-dot-pulse 1.5s ease-in-out infinite}
.obv3-loader-dots span:nth-child(2){animation-delay:.25s}
.obv3-loader-dots span:nth-child(3){animation-delay:.5s}
@keyframes obv3-loader-glow{0%,100%{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.28)}}
@keyframes obv3-loader-ring{0%{transform:scale(.82);opacity:.7}100%{transform:scale(1.58);opacity:0}}
@keyframes obv3-loader-pulse{0%,100%{box-shadow:0 0 0 0 rgba(193,223,207,0)}50%{box-shadow:0 0 18px 4px rgba(193,223,207,.08)}}
@keyframes obv3-subline{0%{opacity:0;transform:translateY(7px)}10%{opacity:1;transform:translateY(0)}28%{opacity:1;transform:translateY(0)}38%{opacity:0;transform:translateY(-7px)}100%{opacity:0;transform:translateY(-7px)}}
@keyframes obv3-dot-pulse{0%,100%{opacity:.3;transform:scale(1)}50%{opacity:1;transform:scale(1.4)}}
.obv3-block-list{flex:1;min-height:0;overflow-y:auto;padding-bottom:4px;scrollbar-width:none}.obv3-block-list::-webkit-scrollbar{display:none}.obv3-block-row{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:18px;opacity:0;animation:ob-bentoCascade .45s ease forwards}.obv3-block-row i{width:8px;height:8px;min-width:8px;border-radius:999px}.obv3-block-row div{flex:1;min-width:0}.obv3-block-row p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.obv3-block-row>span{color:var(--accent);font-family:"Instrument Serif",Georgia,serif;font-size:20px}
.obv3-note{display:flex;align-items:center;gap:10px;margin:12px 0;padding:12px;border-radius:16px;color:rgba(127,137,132,.78)}.obv3-note svg{width:16px;height:16px}.obv3-note span{font-size:12px;line-height:1.4}
.obv3-hold-button{position:relative;width:100%;min-height:58px;overflow:hidden;border:1px solid rgba(193,223,207,.22);border-radius:999px;color:rgba(242,246,242,.88);background:linear-gradient(145deg,rgba(193,223,207,.08),rgba(255,255,255,.035)),rgba(255,255,255,.035);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 18px 46px rgba(0,0,0,.28);font-size:15px;font-weight:720;touch-action:none;user-select:none;-webkit-user-select:none}.obv3-hold-button i{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:radial-gradient(circle at 100% 50%,rgba(255,255,255,.28),transparent 5rem),linear-gradient(90deg,rgba(193,223,207,.2),rgba(193,223,207,.54));box-shadow:0 0 32px rgba(193,223,207,.18)}.obv3-hold-button.is-holding i{width:100%;transition:width 1.65s linear}.obv3-hold-button span{position:relative;z-index:1}
.obv3-done{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center}.obv3-orb{position:relative;width:88px;height:88px;margin:0 auto 30px}.obv3-orb i{position:absolute;inset:0;border:1px solid rgba(193,223,207,.16);border-radius:999px;animation:obv3-glow 4s infinite ease-in-out}.obv3-orb i:nth-child(2){inset:-12px;opacity:.55;animation-delay:.7s}.obv3-orb i:nth-child(3){inset:-24px;opacity:.3;animation-delay:1.4s}.obv3-orb span{position:absolute;inset:13px;display:grid;place-items:center;border:1px solid rgba(193,223,207,.22);border-radius:999px;color:var(--accent);background:rgba(193,223,207,.08)}.obv3-orb svg{width:24px;height:24px}.obv3-done h1{margin-bottom:14px;font-size:44px;line-height:1}.obv3-done p{max-width:304px;margin:0 auto 28px}
.obv3-done-chart{margin-bottom:26px;padding:14px 10px 12px;border-color:rgba(193,223,207,.1);border-radius:22px}.obv3-done-chart div{display:flex;justify-content:space-between;padding:0 6px;margin-bottom:8px}.obv3-done-chart span{color:rgba(127,137,132,.55);font-family:"Geist Mono",ui-monospace,monospace;font-size:10px}.obv3-done-chart svg{width:100%;height:92px;overflow:visible}
@keyframes obv3-draw{to{stroke-dashoffset:0}}@keyframes obv3-area{to{opacity:1}}@keyframes obv3-ring{0%{transform:scale(.58);opacity:.8}100%{transform:scale(1.55);opacity:0}}@keyframes obv3-glow{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.03)}}

/* Onboarding V3 premium alignment */
.obv3-screen {
  padding: 62px 20px 30px;
  width: 100%;
  max-width: 100vw;
  min-height: 100dvh;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(rgba(255,255,255,0.021) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.021) 1px, transparent 1px),
    radial-gradient(circle at 50% 10%, rgba(193,223,207,0.07), transparent 18rem),
    radial-gradient(circle at 82% 86%, rgba(255,255,255,0.035), transparent 12rem),
    #020403;
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
}

.obv3-screen::before {
  inset: 0;
  height: auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), transparent 18%),
    linear-gradient(0deg, rgba(0,0,0,0.58), transparent 38%);
  opacity: 0.9;
}

.obv3-noise {
  opacity: 0.12;
  background-image: radial-gradient(rgba(193,223,207,0.12) 0.45px, transparent 0.45px);
  background-size: 22px 22px;
}

.obv3-content {
  min-height: calc(100vh - 96px);
  max-width: 390px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-x: hidden;
  scrollbar-width: none;
}

.obv3-content::-webkit-scrollbar {
  display: none;
}

.obv3-step-2 .obv3-content,
.obv3-step-3 .obv3-content,
.obv3-step-4 .obv3-content,
.obv3-step-5 .obv3-content,
.obv3-step-6 .obv3-content {
  padding-top: 52px;
  min-height: calc(100vh - 148px);
}

/* Step 2 manifesto fills height */
.obv3-step-2 .obv3-content,
/* Step 4 mode grid fills available height */
.obv3-step-4 .obv3-content {
  display: flex;
  flex-direction: column;
}

.obv3-progress {
  top: 10px;
  left: 18px;
  right: 18px;
  width: auto;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.55);
}

.obv3-progress i {
  background: linear-gradient(90deg, rgba(193,223,207,0.42), rgba(255,255,255,0.86));
  box-shadow: 0 0 18px rgba(193,223,207,0.32);
  animation: obv3-progress-breathe 2.8s ease-in-out infinite;
}

.obv3-back {
  top: 48px;
  left: 20px;
  border-color: rgba(255,255,255,0.1);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    rgba(3,5,4,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.11),
    0 12px 34px rgba(0,0,0,0.34);
}

.obv3-logo {
  margin-bottom: 54px;
  color: rgba(242,246,242,0.8);
  font-size: 42px;
  line-height: 0.95;
  text-shadow: 0 0 26px rgba(193,223,207,0.08);
}

.obv3-pill {
  margin-bottom: 28px;
  border-color: rgba(255,255,255,0.09);
  color: rgba(127,137,132,0.76);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015)),
    rgba(0,0,0,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.obv3-start h1,
.obv3-copy h2,
.obv3-done h1 {
  color: rgba(239,245,240,0.95);
  text-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.obv3-start h1 {
  max-width: 350px;
  font-size: clamp(38px, 10.8vw, 46px);
  line-height: 0.99;
  overflow-wrap: break-word;
}

.obv3-copy h2 {
  font-size: clamp(34px, 10vw, 42px);
  line-height: 1;
  overflow-wrap: break-word;
}

.obv3-start p,
.obv3-copy p,
.obv3-done p {
  color: rgba(137,148,143,0.86);
  letter-spacing: 0;
}

.obv3-copy p {
  max-width: 100%;
  font-size: clamp(14px, 4vw, 15px);
}

.obv3-button,
.obv3-hold-button {
  min-height: 58px;
  margin-top: 0;
  border-radius: 999px;
  border-color: rgba(255,255,255,0.1);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.16), transparent 68%),
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.13),
    inset 0 -20px 36px rgba(0,0,0,0.18),
    0 18px 48px rgba(0,0,0,0.32);
  transition: transform 180ms ease, border-color 220ms ease, background 220ms ease;
}

.obv3-button:active {
  transform: scale(0.985);
}

.obv3-button.primary,
.obv3-hold-button {
  color: rgba(239,245,240,0.94);
  border-color: rgba(193,223,207,0.26);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.24), transparent 70%),
    linear-gradient(145deg, rgba(193,223,207,0.2), rgba(193,223,207,0.065) 58%, rgba(255,255,255,0.035));
}

.obv3-button.ghost {
  border-color: rgba(255,255,255,0.08);
  color: rgba(137,148,143,0.84);
  margin-top: 0;
}

.obv3-action-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 8;
  width: min(390px, calc(100vw - 40px));
  display: grid;
  gap: 10px;
  padding: 14px 0 calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  background:
    linear-gradient(to top, #020403 0%, rgba(2,4,3,0.96) 58%, rgba(2,4,3,0));
  pointer-events: none;
}

.obv3-action-bar > * {
  pointer-events: auto;
}

.obv3-step-card,
.obv3-block-row,
.obv3-voice-card,
.obv3-note,
.obv3-done-chart {
  border-radius: 20px;
  border-color: rgba(255,255,255,0.09);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.08), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012) 54%, rgba(0,0,0,0.12)),
    rgba(7,9,8,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -22px 42px rgba(0,0,0,0.16),
    0 18px 44px rgba(0,0,0,0.18);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.obv3-step-card::after,
.obv3-block-row::after,
.obv3-voice-card::after,
.obv3-done-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.045) 38%, transparent 66%);
  opacity: 0;
  animation: obv3-card-glint 4.8s ease-in-out infinite;
}

.obv3-step-card,
.obv3-block-row,
.obv3-voice-card,
.obv3-done-chart {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.obv3-step-card > div {
  min-width: 0;
}

.obv3-step-card.accent {
  border-color: rgba(193,223,207,0.18);
  background:
    radial-gradient(circle at 70% 0%, rgba(193,223,207,0.105), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014)),
    rgba(7,10,8,0.48);
}

.obv3-step-card > span {
  color: rgba(193,223,207,0.76);
  border-color: rgba(193,223,207,0.16);
  background: rgba(193,223,207,0.06);
}

.obv3-step-card strong,
.obv3-block-row strong,
.obv3-voice-card > strong,
.obv3-loader strong {
  color: rgba(239,245,240,0.9);
}

.obv3-step-card p,
.obv3-block-row p,
.obv3-voice-card > p {
  color: rgba(137,148,143,0.78);
}

.obv3-step-card blockquote {
  border-color: rgba(255,255,255,0.075);
  background: rgba(0,0,0,0.16);
  color: rgba(239,245,240,0.58);
  overflow-wrap: anywhere;
}

.obv3-system-stack {
  display: grid;
  gap: 11px;
  flex: 1;
}

.obv3-system-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 21px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.08), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012) 54%, rgba(0,0,0,0.12)),
    rgba(7,9,8,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -22px 42px rgba(0,0,0,0.16),
    0 18px 44px rgba(0,0,0,0.18);
  opacity: 0;
  animation: ob-bentoCascade .55s cubic-bezier(.2,.8,.2,1) forwards;
}

.obv3-system-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.045) 38%, transparent 66%);
  opacity: 0;
  animation: obv3-card-glint 5s ease-in-out infinite;
}

.obv3-system-card.accent {
  border-color: rgba(193,223,207,0.18);
  background:
    radial-gradient(circle at 70% 0%, rgba(193,223,207,0.105), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014)),
    rgba(7,10,8,0.48);
}

.obv3-system-card > span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(193,223,207,0.14);
  border-radius: 999px;
  color: rgba(193,223,207,0.78);
  background: rgba(193,223,207,0.055);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
}

.obv3-system-card > div,
.obv3-system-card > svg {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.obv3-system-card strong {
  display: block;
  color: rgba(239,245,240,0.92);
  font-size: 15px;
  font-weight: 720;
}

.obv3-system-card p {
  margin: 5px 0 0;
  color: rgba(137,148,143,0.8);
  font-size: 12px;
  line-height: 1.45;
}

.obv3-system-tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.obv3-system-tags i,
.obv3-chips i {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.obv3-system-tags .jade { color: var(--jade); border-color: rgba(168,230,207,.22); }
.obv3-system-tags .blue { color: var(--blue); border-color: rgba(156,184,201,.22); }
.obv3-system-tags .amber { color: var(--amber); border-color: rgba(255,216,141,.2); }

.obv3-weight-preview {
  grid-column: 2;
  display: grid;
  gap: 6px;
  margin-top: 3px;
}

.obv3-weight-preview b {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(193,223,207,0.18), rgba(193,223,207,0.68));
  box-shadow: 0 0 16px rgba(193,223,207,0.12);
  transform-origin: left;
  animation: obv3-weight-grow 1.8s cubic-bezier(.16,1,.3,1) infinite alternate;
}

.obv3-weight-preview b:nth-child(2) { animation-delay: .18s; opacity: .76; }
.obv3-weight-preview b:nth-child(3) { animation-delay: .32s; opacity: .58; }

.obv3-system-card .obv3-mini-chart {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.obv3-night-flow {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr;
  align-items: center;
  gap: 6px;
}

.obv3-night-flow div {
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.075), transparent 68%),
    rgba(255,255,255,0.03);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: obv3-demo-signal .5s ease forwards;
}

.obv3-night-flow div:nth-of-type(1) { animation-delay: .12s; }
.obv3-night-flow div:nth-of-type(2) { animation-delay: .32s; }
.obv3-night-flow div:nth-of-type(3) { animation-delay: .52s; }

.obv3-night-flow small {
  display: block;
  color: rgba(127,137,132,0.78);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.obv3-night-flow strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(239,245,240,0.88);
  font-size: 10px;
  font-weight: 760;
}

.obv3-night-flow i {
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(193,223,207,0.15), rgba(193,223,207,0.75));
  transform: scaleX(0);
  transform-origin: left;
  animation: obv3-flow-line .7s cubic-bezier(.16,1,.3,1) forwards;
}

.obv3-night-flow i:nth-of-type(1) { animation-delay: .24s; }
.obv3-night-flow i:nth-of-type(2) { animation-delay: .46s; }

.obv3-voice-card {
  margin: 20px 0;
  min-height: min(390px, 45vh);
  position: relative;
}

.obv3-card-back {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: rgba(137,148,143,0.88);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    rgba(0,0,0,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09);
}

.obv3-card-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.obv3-voice-card .obv3-textarea {
  width: 100%;
  max-width: 100%;
  min-height: 260px;
  height: auto;
  flex: 1;
  margin-top: 54px;
  padding: 22px 22px 24px;
  font-size: clamp(16px, 4.4vw, 18px);
  line-height: 1.45;
  resize: none;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.obv3-mic i,
.obv3-orb span {
  border-color: rgba(193,223,207,0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.13), transparent 70%),
    rgba(193,223,207,0.055);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 18px 44px rgba(0,0,0,0.24),
    0 0 42px rgba(193,223,207,0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.recording .obv3-mic i {
  transform: scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 18px 44px rgba(0,0,0,0.24),
    0 0 54px rgba(193,223,207,0.16);
}

.obv3-block-row {
  padding: 14px 15px;
}

.obv3-block-row > span {
  color: rgba(239,245,240,0.92);
  font-size: 23px;
}

.obv3-note {
  margin: 14px 0;
  color: rgba(137,148,143,0.78);
}

.obv3-hold-button i {
  background:
    radial-gradient(circle at 92% 50%, rgba(255,255,255,0.34), transparent 4.5rem),
    linear-gradient(90deg, rgba(193,223,207,0.14), rgba(193,223,207,0.52));
}

.obv3-hold-button.is-holding {
  transform: scale(0.992);
  border-color: rgba(255,255,255,0.26);
  animation: obv3-hold-pulse 0.48s ease-in-out infinite alternate;
}

.obv3-hold-button span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  line-height: 1.1;
}

.obv3-hold-button small {
  color: rgba(242,246,242,0.46);
  font-size: 11px;
  font-weight: 560;
}

.obv3-hold-button.is-holding small {
  color: rgba(10,14,11,0.58);
}

.obv3-done-chart {
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    rgba(5,7,6,0.5);
  background-size: 44px 44px;
}

.obv3-done .obv3-orb {
  animation: obv3-done-pop 0.7s cubic-bezier(0.2, 0.9, 0.2, 1.25) both;
}

.obv3-done h1,
.obv3-done p,
.obv3-done-chart,
.obv3-done .obv3-button {
  animation: obv3-rise 0.72s cubic-bezier(0.2,0.8,0.2,1) both;
}

.obv3-done p { animation-delay: .12s; }
.obv3-done-chart { animation-delay: .22s; }
.obv3-done .obv3-button { animation-delay: .34s; }

.obv3-screen.is-unlocking .obv3-content {
  animation: obv3-content-release 1.45s cubic-bezier(0.16,1,0.3,1) forwards;
}

.obv3-unlock {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 47%, rgba(193,223,207,0.16), transparent 11rem),
    rgba(2,4,3,0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  animation: obv3-unlock-stage 1.45s cubic-bezier(0.16,1,0.3,1) forwards;
}

.obv3-unlock-orb {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--accent);
}

.obv3-unlock-orb i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(193,223,207,0.2);
  border-radius: 999px;
  animation: obv3-unlock-ring 1.3s ease-out forwards;
}

.obv3-unlock-orb i:nth-child(2) {
  inset: -18px;
  opacity: 0.52;
  animation-delay: 0.12s;
}

.obv3-unlock-orb span {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(193,223,207,0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.2), transparent 68%),
    rgba(193,223,207,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 44px rgba(193,223,207,0.15);
  animation: obv3-unlock-check 1.1s cubic-bezier(0.2,0.9,0.2,1.25) both;
}

.obv3-unlock-orb svg {
  width: 24px;
  height: 24px;
}

.obv3-unlock strong {
  color: rgba(242,246,242,0.94);
  font-size: 18px;
  font-weight: 760;
}

.obv3-unlock small {
  color: rgba(127,137,132,0.74);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.obv3-reflection-demo {
  display: grid;
  gap: 12px;
  margin: 6px 0 18px;
}

.obv3-demo-phone,
.obv3-demo-result {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.11), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012) 56%, rgba(0,0,0,0.16)),
    rgba(7,9,8,0.46);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -24px 48px rgba(0,0,0,0.2),
    0 18px 44px rgba(0,0,0,0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.obv3-demo-phone {
  min-height: 300px;
  padding: 18px 18px 16px;
}

.obv3-demo-phone::after,
.obv3-demo-result::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.055) 38%, transparent 66%);
  animation: obv3-card-glint 5.2s ease-in-out infinite;
}

.obv3-demo-top,
.obv3-demo-result > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.obv3-demo-top span,
.obv3-demo-result strong {
  color: rgba(239,245,240,0.88);
  font-size: 13px;
  font-weight: 760;
}

.obv3-demo-top i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(193,223,207,0.75);
  animation: obv3-demo-dot 1.8s ease-in-out infinite;
}

.obv3-demo-mic {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 18px auto 16px;
}

.obv3-demo-mic span {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(193,223,207,0.16);
  border-radius: 999px;
  animation: obv3-ring 2.35s infinite cubic-bezier(.2,.8,.2,1);
}

.obv3-demo-mic span:nth-child(2) { animation-delay: .55s; }
.obv3-demo-mic span:nth-child(3) { animation-delay: 1.1s; }

.obv3-demo-mic b {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(193,223,207,0.18);
  border-radius: 999px;
  color: var(--accent);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.17), transparent 70%),
    rgba(193,223,207,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 0 46px rgba(193,223,207,0.13);
  animation: obv3-demo-mic 2.4s ease-in-out infinite;
}

.obv3-demo-mic svg {
  width: 27px;
  height: 27px;
}

.obv3-demo-text {
  position: relative;
  z-index: 1;
  min-height: 62px;
  margin: 0;
  color: rgba(239,245,240,0.74);
  font-size: 13px;
  line-height: 1.48;
  text-align: center;
}

.obv3-demo-waves {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  margin-top: 10px;
}

.obv3-demo-waves i {
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: rgba(193,223,207,0.56);
  box-shadow: 0 0 14px rgba(193,223,207,0.18);
  animation: obv3-demo-wave 1s ease-in-out infinite;
}

.obv3-demo-waves i:nth-child(2) { animation-delay: .08s; }
.obv3-demo-waves i:nth-child(3) { animation-delay: .16s; }
.obv3-demo-waves i:nth-child(4) { animation-delay: .24s; }
.obv3-demo-waves i:nth-child(5) { animation-delay: .32s; }

.obv3-demo-signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.obv3-demo-signals span {
  min-width: 0;
  padding: 8px 6px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  font-size: 10px;
  font-weight: 760;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: obv3-demo-signal .45s ease forwards;
}

.obv3-demo-signals span:nth-child(1) { animation-delay: .25s; }
.obv3-demo-signals span:nth-child(2) { animation-delay: .42s; }
.obv3-demo-signals span:nth-child(3) { animation-delay: .59s; }
.obv3-demo-signals span:nth-child(4) { animation-delay: .76s; }
.obv3-demo-signals .jade { color: var(--jade); border-color: rgba(168,230,207,0.2); }
.obv3-demo-signals .lime { color: var(--lime); border-color: rgba(214,255,206,0.18); }
.obv3-demo-signals .amber { color: var(--amber); border-color: rgba(255,216,141,0.18); }
.obv3-demo-signals .rose { color: var(--rose); border-color: rgba(255,180,208,0.18); }

.obv3-demo-result {
  padding: 14px 14px 12px;
}

.obv3-demo-result small {
  color: rgba(137,148,143,0.7);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.obv3-demo-result svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 64px;
  margin-top: 8px;
  overflow: visible;
}

@media (max-height: 760px) {
  .obv3-screen { padding-top: 48px; padding-bottom: 22px; }
  .obv3-step-2 .obv3-content,
  .obv3-step-3 .obv3-content,
  .obv3-step-4 .obv3-content,
  .obv3-step-5 .obv3-content,
  .obv3-step-6 .obv3-content {
    padding-top: 48px;
    min-height: calc(100vh - 118px);
  }
  .obv3-logo { margin-bottom: 32px; font-size: 36px; }
  .obv3-start h1 { font-size: 39px; }
  .obv3-copy h2 { font-size: 36px; }
  .obv3-demo-phone { min-height: 238px; padding: 14px; }
  .obv3-demo-mic { width: 88px; height: 88px; margin: 12px auto 10px; }
  .obv3-demo-mic b { width: 58px; height: 58px; }
  .obv3-demo-text { min-height: 44px; font-size: 12px; }
  .obv3-demo-waves { height: 28px; margin-top: 6px; }
  .obv3-demo-result svg { height: 48px; }
  .obv3-system-stack { gap: 8px; }
  .obv3-system-card { padding: 13px; gap: 10px; }
  .obv3-night-flow div { padding: 7px 4px; border-radius: 13px; }
  .obv3-night-flow strong { font-size: 9px; }
  .obv3-voice-card { min-height: 300px; }
  .obv3-voice-card .obv3-textarea { min-height: 205px; }
}

@media (max-width: 430px) {
  .phone-shell {
    width: 100vw;
    max-width: 100vw;
  }

  .screen {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .screen:has(.obv3-screen),
  .screen:has(.auth-screen),
  .screen:has(.paywall-screen),
  .screen:has(.onboarding-screen) {
    padding: 0;
  }

  .dock {
    left: max(14px, env(safe-area-inset-left, 0px));
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: auto;
    transform: none;
  }

  .topbar,
  .home-topbar {
    min-width: 0;
    gap: 10px;
  }

  .topbar > *,
  .home-topbar > * {
    min-width: 0;
  }

  .settings-list,
  .glass-card,
  .metric-card,
  .reflection-card,
  .transcript-box {
    max-width: 100%;
  }

  .settings-item,
  .paywall-feature,
  .plan-column,
  .compare-label,
  .compare-value,
  .entry-row,
  .detail-row {
    min-width: 0;
  }

  .settings-item *,
  .paywall-feature *,
  .plan-compare *,
  .entry-row *,
  .detail-row * {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .paywall-screen,
  .auth-screen,
  .onboarding-screen {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .paywall-screen {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .paywall-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(104px, 0.72fr);
    gap: 12px;
    align-items: center;
  }

  .paywall-hero {
    padding: 18px 16px 16px;
  }

  .paywall-chart {
    height: 94px;
  }

  .paywall-hero h1 {
    font-size: clamp(34px, 9.5vw, 42px);
  }

  .paywall-hero p {
    font-size: 13px;
    line-height: 1.38;
  }

  .plan-compare {
    grid-template-columns: minmax(68px, 0.72fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .compare-label,
  .compare-value {
    padding: 12px 9px;
  }

  .soft-bubble {
    max-width: 100%;
    white-space: normal;
  }

  .toast {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    width: min(calc(100vw - 28px), 380px);
    max-width: calc(100vw - 28px);
    padding: 12px 14px;
    border-radius: 22px;
  }

  .pending-system-screen {
    min-height: calc(100dvh - 250px);
    padding: 28px 16px calc(128px + env(safe-area-inset-bottom, 0px));
  }

  .pending-system-card {
    border-radius: 30px;
    padding: 28px 22px 24px;
  }

  .pending-system-copy strong {
    font-size: 29px;
  }

  .obv3-screen {
    min-height: 100dvh;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }

  .obv3-content {
    max-width: 100%;
  }

  .obv3-action-bar {
    width: calc(100vw - max(32px, env(safe-area-inset-left, 0px) + env(safe-area-inset-right, 0px) + 32px));
  }

  .obv3-back {
    top: 42px;
    left: max(16px, env(safe-area-inset-left, 0px));
  }

  .obv3-step-2 .obv3-content,
  .obv3-step-3 .obv3-content,
  .obv3-step-4 .obv3-content,
  .obv3-step-5 .obv3-content,
  .obv3-step-6 .obv3-content {
    padding-top: 50px;
  }

  .obv3-copy h2 {
    font-size: clamp(32px, 9.5vw, 39px);
  }

  .obv3-copy p {
    font-size: 14px;
    line-height: 1.55;
  }

  .obv3-voice-card {
    min-height: min(430px, 48dvh);
    margin: 16px 0;
    padding: 22px 18px;
  }

  .obv3-voice-card .obv3-textarea {
    min-height: 280px;
    padding: 20px 18px 22px;
  }

  .obv3-button,
  .obv3-hold-button {
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .obv3-screen { padding-left: 16px; padding-right: 16px; }
  .obv3-back { left: 16px; }
  .obv3-step-card,
  .obv3-block-row { padding-left: 13px; padding-right: 13px; }
  .obv3-start h1 { font-size: 36px; }
  .obv3-copy h2 { font-size: 33px; }
}

@keyframes obv3-progress-breathe {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes obv3-breathe {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;    transform: translateX(-50%) scale(1.05); }
}

@keyframes obv3-demo-dot {
  0%, 100% { opacity: 0.45; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes obv3-demo-mic {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes obv3-demo-wave {
  0%, 100% { height: 10px; opacity: 0.45; }
  50% { height: 28px; opacity: 0.95; }
}

@keyframes obv3-demo-signal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes obv3-weight-grow {
  from { transform: scaleX(0.72); filter: brightness(0.85); }
  to { transform: scaleX(1); filter: brightness(1.08); }
}

@keyframes obv3-flow-line {
  to { transform: scaleX(1); }
}

@keyframes obv3-card-glint {
  0%, 72%, 100% { opacity: 0; transform: translateX(-40%); }
  82% { opacity: 1; }
  94% { opacity: 0; transform: translateX(42%); }
}

@keyframes obv3-hold-pulse {
  from { box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 16px 42px rgba(0,0,0,0.28), 0 0 18px rgba(193,223,207,0.12); }
  to { box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 18px 48px rgba(0,0,0,0.32), 0 0 34px rgba(193,223,207,0.22); }
}

@keyframes obv3-done-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.82); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes obv3-rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes obv3-content-release {
  0% { opacity: 1; transform: scale(1); filter: blur(0); }
  55% { opacity: 0.28; transform: scale(0.985); filter: blur(5px); }
  100% { opacity: 0; transform: scale(1.035); filter: blur(14px); }
}

@keyframes obv3-unlock-stage {
  0% { opacity: 0; }
  18%, 78% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes obv3-unlock-ring {
  0% { opacity: 0; transform: scale(0.68); }
  34% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.42); }
}

@keyframes obv3-unlock-check {
  0% { opacity: 0; transform: scale(0.72); }
  48% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* ── Vision / Goals step (obv3 step 4) ─────────────────────────────────── */
/* ── Mode picker (step 3) ─────────────────────── */
.obv3-mode-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  margin-top: 8px;
  margin-bottom: 0;
}
.obv3-mode-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 22px 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.08), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012) 54%, rgba(0,0,0,0.1)),
    rgba(7,9,8,0.42);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  cursor: pointer;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 44px rgba(0,0,0,0.18);
  transition: border-color 0.22s, transform 0.16s, box-shadow 0.22s;
  -webkit-tap-highlight-color: transparent;
  flex: 1;
  min-height: 120px;
}
.obv3-mode-card:active {
  transform: scale(0.968);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 24px rgba(0,0,0,0.28);
}
.obv3-mode-card.habit {
  border-color: rgba(255,216,141,0.13);
}
.obv3-mode-card.journal {
  border-color: rgba(193,223,207,0.14);
}
.obv3-mode-card.habit:active {
  border-color: rgba(255,216,141,0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,216,141,0.07), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012)),
    rgba(7,9,8,0.42);
}
.obv3-mode-card.journal:active {
  border-color: rgba(193,223,207,0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(193,223,207,0.07), transparent 8rem),
    linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.012)),
    rgba(7,9,8,0.42);
}
.obv3-mode-bg {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
}
.obv3-mode-card.habit .obv3-mode-bg {
  background: radial-gradient(circle, rgba(255,216,141,0.1), transparent 70%);
}
.obv3-mode-card.journal .obv3-mode-bg {
  background: radial-gradient(circle, rgba(193,223,207,0.09), transparent 70%);
}
.obv3-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}
.obv3-mode-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.obv3-mode-card.habit .obv3-mode-badge {
  color: rgba(255,216,141,0.72);
  border-color: rgba(255,216,141,0.14);
  background: rgba(255,216,141,0.05);
}
.obv3-mode-card.journal .obv3-mode-badge {
  color: rgba(193,223,207,0.72);
  border-color: rgba(193,223,207,0.13);
  background: rgba(193,223,207,0.04);
}
.obv3-mode-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: rgba(239,245,240,0.94);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.obv3-mode-desc {
  font-size: 13px;
  color: rgba(137,148,143,0.76);
  line-height: 1.52;
  margin: 0 0 18px;
}
.obv3-mode-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.obv3-mode-card.habit .obv3-mode-cta {
  color: rgba(255,216,141,0.65);
}
.obv3-mode-card.journal .obv3-mode-cta {
  color: rgba(193,223,207,0.65);
}
.obv3-mode-note {
  font-size: 11px;
  color: rgba(127,137,132,0.38);
  text-align: center;
  margin: 14px 0 0;
  letter-spacing: 0.02em;
}

/* ── Manifesto screen (step 2) ─────────────────────── */
.obv3-manifesto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 8px 0 4px;
}
.obv3-manifesto-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60vh;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(193,223,207,0.11) 0%, rgba(193,223,207,0.03) 44%, transparent 70%);
  filter: blur(2px);
}
.obv3-manifesto-label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(193,223,207,0.48);
  margin-bottom: 22px;
  opacity: 0;
  animation: obv3-fade-up 0.5s 0.06s ease forwards;
}
.obv3-manifesto-quote {
  margin: 0 0 28px;
  padding: 0;
  border: none;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: clamp(21px, 6.2vw, 27px);
  font-weight: 400;
  color: rgba(239,245,240,0.94);
  line-height: 1.24;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: obv3-fade-up 0.75s 0.18s ease forwards;
}
.obv3-manifesto-quote::before,
.obv3-manifesto-quote::after { content: none; }
.obv3-manifesto-divider {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(193,223,207,0.35), transparent);
  margin-bottom: 22px;
  opacity: 0;
  animation: obv3-fade-up 0.5s 0.36s ease forwards;
}
.obv3-manifesto-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: rgba(137,148,143,0.58);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: obv3-fade-up 0.5s 0.42s ease forwards;
}
.obv3-manifesto-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}
.obv3-manifesto-factors span {
  padding: 6px 13px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: rgba(239,245,240,0.7);
  font-size: 12px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: obv3-scale-in 0.45s ease forwards;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.obv3-manifesto-commit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(193,223,207,0.12);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(193,223,207,0.06), rgba(255,255,255,0.012)),
    rgba(7,9,8,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  margin-bottom: 4px;
  opacity: 0;
  animation: obv3-fade-up 0.55s 1.0s ease forwards;
}
.obv3-manifesto-commit-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(193,223,207,0.08);
  border: 1px solid rgba(193,223,207,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 1px;
}
.obv3-manifesto-commit span {
  font-size: 12.5px;
  color: rgba(137,148,143,0.82);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* ── Premium entrance animations ─────────────────────── */
@keyframes obv3-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes obv3-scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes obv3-confetti-fall {
  0%   { opacity: 0; transform: translateY(-8px) scale(0); }
  18%  { opacity: 1; transform: translateY(8px) scale(1.4); }
  100% { opacity: 0; transform: translateY(100px) scale(0.4); }
}

/* ── Step 1 hero ─────────────────────── */
.obv3-hero-glow {
  position: absolute;
  top: -12%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 55vh;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(193,223,207,0.13) 0%, rgba(193,223,207,0.04) 42%, transparent 68%);
  filter: blur(2px);
  animation: obv3-breathe 4.2s ease-in-out infinite;
}
.obv3-start-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: auto;
}
.obv3-hero-body {
  margin-top: auto;
  margin-bottom: 0;
}
.obv3-kicker {
  display: block;
  margin-bottom: 18px;
  color: rgba(193,223,207,0.48);
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: obv3-fade-up 0.6s 0.1s ease forwards;
}
.obv3-hero-body h1 {
  opacity: 0;
  animation: obv3-fade-up 0.7s 0.22s ease forwards;
}
.obv3-hero-body p {
  opacity: 0;
  animation: obv3-fade-up 0.7s 0.38s ease forwards;
}
.obv3-start-note {
  text-align: center;
  color: rgba(127,137,132,0.36);
  font-size: 11px;
  letter-spacing: 0.03em;
  margin: 6px 0 0;
  opacity: 0;
  animation: obv3-fade-up 0.7s 0.54s ease forwards;
}

/* ── Step 2 step-icon & step-num ─────────────────────── */
.obv3-step-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(193,223,207,0.65);
  margin-top: 1px;
}
.obv3-step-num {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 400;
  color: rgba(193,223,207,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 5px;
}

/* ── Step 7 confetti & done-stat ─────────────────────── */
.obv3-done {
  position: relative;
  overflow: hidden;
}
.obv3-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.obv3-confetti span {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: obv3-confetti-fall 3.2s ease-out forwards;
}
.obv3-done-stat {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 0 auto 26px;
}
.obv3-done-stat div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.obv3-done-stat strong {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: rgba(239,245,240,0.92);
  line-height: 1;
}
.obv3-done-stat span {
  font-size: 10.5px;
  color: rgba(137,148,143,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Geist Mono", monospace;
}

/* ── Vision / Goals step (obv3 step 4) ─────────────────────────────────── */
.obv3-vision-examples {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.obv3-vision-examples > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(127,137,132,0.6);
}
.obv3-vision-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
/* Non-interactive example tags — inspiration only, not clickable */
.obv3-vision-tag {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  cursor: default;
  user-select: none;
  pointer-events: none;
}
.obv3-vision-card {
  border: 1px solid rgba(255,255,255,.075);
  background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012)),rgba(255,255,255,.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 24px;
  padding: 4px 6px;
  flex: 1;
  display: flex;
}
.obv3-vision-textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  font-family: inherit;
  resize: none;
  padding: 18px 16px;
  min-height: 140px;
  width: 100%;
}
.obv3-vision-textarea::placeholder {
  color: rgba(127,137,132,0.45);
}

/* ── Live transcript (onboarding voice steps) ──────────────────────────── */
.ob-listening-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.ob-dots span {
  animation: obDotPulse 1.2s ease-in-out infinite;
  opacity: 0.3;
}
.ob-dots span:nth-child(2) { animation-delay: 0.2s; }
.ob-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes obDotPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}
.ob-live-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(193,223,207,0.45);
  text-align: center;
  padding: 0 8px;
  min-height: 40px;
  transition: color 0.2s;
  word-break: break-word;
}
.ob-live-text.has-content {
  color: var(--text);
}
.ob-hint-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(127,137,132,0.55);
  text-align: center;
  padding: 0 8px;
  word-break: break-word;
}
.ob-hint-text.has-content {
  color: rgba(193,223,207,0.8);
}
.obv3-mic.active {
  background: rgba(193,223,207,0.12);
  border-color: rgba(193,223,207,0.35);
}
.obv3-mic.active span {
  animation-play-state: running;
  background: var(--jade);
}

/* ── Ghost chart (no real data yet) ───────────────────────────────────────── */
.momentum-hero.is-ghost .main-chart {
  opacity: 0.18;
  filter: blur(1.5px);
  pointer-events: none;
}
.momentum-hero.is-ghost .hero-meta strong {
  opacity: 0.35;
}
.ghost-chart-overlay {
  position: absolute;
  inset: 50px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: auto;
}
.ghost-chart-overlay p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.ghost-chart-overlay button {
  background: rgba(193,223,207,0.1);
  border: 1px solid rgba(193,223,207,0.25);
  color: rgba(193,223,207,0.85);
  padding: 9px 22px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.ghost-chart-overlay button:active {
  background: rgba(193,223,207,0.18);
}
.ghost-block-card {
  background: rgba(255,255,255,0.025) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  min-height: 130px;
  gap: 14px;
  pointer-events: none;
}
.ghost-block-card span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.22);
}
.ghost-bar {
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  width: 60%;
  animation: ghostPulse 2s ease-in-out infinite;
}
.ghost-spark {
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  width: 100%;
  margin-top: auto;
  animation: ghostPulse 2s ease-in-out infinite 0.3s;
}
@keyframes ghostPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* ── AI loading screen (reflect → analysis) ────────────────────────────────── */
.ai-loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 24px;
  min-height: 340px;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ai-loading-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(193,223,207,0.18), rgba(193,223,207,0.04));
  border: 1px solid rgba(193,223,207,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: orbPulse 2s ease-in-out infinite;
}
.ai-loading-orb span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jade);
  animation: orbDot 1.4s ease-in-out infinite;
}
.ai-loading-orb span:nth-child(1) { transform: translateY(-18px); animation-delay: 0s; }
.ai-loading-orb span:nth-child(2) { transform: translate(16px, 9px); animation-delay: 0.18s; }
.ai-loading-orb span:nth-child(3) { transform: translate(-16px, 9px); animation-delay: 0.36s; }
@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,223,207,0); }
  50%       { box-shadow: 0 0 28px 6px rgba(193,223,207,0.08); }
}
@keyframes orbDot {
  0%, 100% { opacity: 0.25; transform-origin: center; }
  50%       { opacity: 1; }
}
.ai-loading-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-loading-text strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.ai-loading-text p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 260px;
}
.ai-loading-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 280px;
}
.ai-loading-block-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  animation: chipFade 1.8s ease-in-out infinite;
}
.ai-loading-block-chip:nth-child(2) { animation-delay: 0.25s; }
.ai-loading-block-chip:nth-child(3) { animation-delay: 0.5s; }
.ai-loading-block-chip:nth-child(4) { animation-delay: 0.75s; }
.ai-loading-block-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ai-loading-block-chip span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
@keyframes chipFade {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── Notification Toggle ──────────────────────────────────────────────── */
.notif-toggle-btn {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
  flex-shrink: 0;
  padding: 0;
}
.notif-toggle-btn.active {
  background: var(--accent);
}
.notif-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.notif-toggle-btn.active .notif-toggle-knob {
  transform: translateX(20px);
}

/* ── Limit Nudge ──────────────────────────────────────────────────────── */
@keyframes nudgeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
