:root {
  --ink: #173529;
  --ink-soft: #486157;
  --forest: #214b36;
  --forest-2: #315f45;
  --sage: #9caf87;
  --sage-soft: #e6ecdc;
  --cream: #f8f2e8;
  --cream-2: #fffaf2;
  --paper: rgba(255, 252, 246, 0.84);
  --apricot: #e9904e;
  --apricot-soft: #f8ddc4;
  --gold: #d9b05f;
  --lavender: #b6a8cf;
  --sky: #98b7c8;
  --sand: #d8c9b4;
  --border: rgba(35, 67, 52, 0.10);
  --shadow: 0 22px 70px rgba(62, 50, 30, 0.11);
  --shadow-soft: 0 10px 34px rgba(62, 50, 30, 0.08);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1180px;
  --page-gutter: 18px;
  --mobile-nav-space: 104px;
}

* { box-sizing: border-box; }
html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(239, 196, 126, .28), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(146, 171, 130, .22), transparent 26%),
    linear-gradient(180deg, #fbf5eb 0%, #f3ede2 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

button, input { font: inherit; }
button {
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(233, 144, 78, .33);
  outline-offset: 3px;
}

.ambient {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .22;
  pointer-events: none;
  z-index: -1;
}
.ambient-one { background: #efbf78; top: -180px; left: -180px; }
.ambient-two { background: #9eb88a; right: -170px; top: 26vh; }

.app-shell {
  min-height: 100vh;
  min-height: 100svh;
}
.topbar {
  width: min(calc(100% - 36px), var(--max-width));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.brand-mark { width: 39px; height: 39px; }
.brand-word {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  letter-spacing: -.6px;
  font-weight: 600;
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.micro-stat {
  height: 42px;
  min-width: 58px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(255,255,255,.54);
  backdrop-filter: blur(16px);
  font-weight: 700;
}
.micro-stat-icon { color: var(--apricot); }
.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.62);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(16px);
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff8ed;
  background: linear-gradient(145deg, #315f45, #173529);
  font-size: 13px;
  font-weight: 800;
}
.profile-menu {
  position: absolute;
  right: 0;
  top: 72px;
  width: 220px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 252, 246, .96);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  max-width: calc(100vw - 28px);
}
.profile-name { margin: 0; font-weight: 800; }
.profile-note { margin: 5px 0 14px; color: var(--ink-soft); font-size: 12px; }
.menu-action {
  width: 100%; border: 0; background: #f1e9dd; padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: left;
}
.menu-action + .menu-action { margin-top: 7px; }
.menu-action-danger { background: transparent; color: #9a5545; }

.app-main {
  width: min(calc(100% - 36px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 calc(118px + env(safe-area-inset-bottom));
  outline: none;
}
.view-enter { animation: view-in .48s cubic-bezier(.2,.7,.2,1) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.app-boot { min-height: 70vh; display: grid; place-items: center; align-content: center; gap: 13px; color: #7d887f; font-size: 12px; font-weight: 700; }
.app-boot img { width: 46px; height: 46px; animation: pulse 2.4s ease-in-out infinite; }

body.is-site-mode,
body.is-onboarding-mode { background: #f7f1e7; }
body.is-site-mode .topbar,
body.is-site-mode .bottom-nav,
body.is-onboarding-mode .topbar,
body.is-onboarding-mode .bottom-nav { display: none; }
body.is-site-mode .app-main,
body.is-onboarding-mode .app-main { width: 100%; padding: 0; }

.site-page { min-height: 100vh; background: #f8f2e8; }
.site-header {
  width: min(calc(100% - 48px), 1220px);
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 10;
}
.site-brand {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.04em;
}
.site-brand img { width: 39px; height: 39px; }
.site-nav { display: flex; align-items: center; gap: 29px; }
.site-nav a { color: #67766d; text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.site-nav a:hover { color: var(--forest); }
.site-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.site-login { min-height: 43px; padding: 0 16px; border: 0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; color: #586a60; }
.site-primary-small { min-height: 43px; padding: 0 8px 0 17px; border: 0; border-radius: 14px; display: flex; align-items: center; gap: 12px; color: #fffaf0; background: var(--forest); cursor: pointer; font-size: 11px; font-weight: 800; }
.site-primary-small span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.12); }
.site-hero {
  width: min(calc(100% - 48px), 1220px);
  min-height: 720px;
  margin: 0 auto;
  padding: 55px 42px 65px 62px;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
  background:
    radial-gradient(circle at 83% 16%, rgba(245, 208, 143, .58), transparent 24%),
    linear-gradient(130deg, #f5e5ca 0%, #fbf8f1 52%, #dfe9d8 100%);
  box-shadow: 0 26px 80px rgba(62, 50, 30, .11);
  border: 1px solid rgba(255,255,255,.74);
}
.site-hero::after { content: ""; position: absolute; inset: 0; opacity: .4; pointer-events: none; background-image: radial-gradient(rgba(26,54,41,.08) .7px, transparent .7px); background-size: 10px 10px; mask-image: linear-gradient(90deg, #000, transparent 68%); }
.site-hero-copy { position: relative; z-index: 2; }
.site-hero-copy h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(68px, 7.3vw, 106px); line-height: .91; letter-spacing: -.065em; font-weight: 500; }
.site-hero-copy h1 em { color: var(--apricot); font-weight: 400; }
.site-hero-lead { max-width: 570px; margin: 28px 0 0; color: #465a50; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.62; }
.site-hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-primary { min-width: 220px; min-height: 62px; padding: 0 9px 0 22px; border: 0; border-radius: 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fffaf0; background: linear-gradient(110deg, #1d4532, #3d6846); cursor: pointer; box-shadow: 0 15px 30px rgba(29,69,50,.18); font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.site-primary i { width: 43px; height: 43px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.13); font-style: normal; }
.site-secondary { min-height: 48px; padding: 0 8px; border: 0; background: transparent; color: #52665a; cursor: pointer; font-size: 11px; font-weight: 800; }
.site-promise { margin-top: 25px; display: flex; align-items: center; gap: 10px; color: #7e887f; font-size: 10px; font-weight: 700; }
.site-promise i { width: 3px; height: 3px; border-radius: 50%; background: var(--apricot); }
.site-product-preview {
  min-width: 0;
  min-height: 550px;
  padding: 23px;
  border-radius: 36px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: #fff9ee;
  background: linear-gradient(155deg, #153827, #29553b 60%, #3b6548);
  box-shadow: 0 32px 70px rgba(35,62,44,.25);
  transform: rotate(1.2deg);
}
.preview-topline { display: flex; justify-content: space-between; color: #abc0ae; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.preview-greeting { margin-top: 64px; position: relative; z-index: 2; }
.preview-greeting small { display: block; color: #e8bd77; font-family: "Segoe Script", cursive; font-size: 19px; }
.preview-greeting strong { display: block; margin-top: 7px; font-family: Georgia, serif; font-size: clamp(38px, 4vw, 52px); font-weight: 500; letter-spacing: -.05em; }
.preview-greeting p { margin: 7px 0 0; color: #b9c9bb; font-family: Georgia, serif; font-size: 13px; }
.preview-checkin { margin-top: 34px; padding: 19px; border: 1px solid rgba(255,255,255,.10); border-radius: 21px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.preview-checkin > span { color: #c5d1c6; font-size: 10px; font-weight: 800; }
.preview-moods { margin-top: 13px; display: flex; gap: 7px; }
.preview-moods i { flex: 1; padding: 9px 5px; border-radius: 12px; color: #9db0a0; background: rgba(255,255,255,.05); text-align: center; font-style: normal; font-size: 9px; }
.preview-moods i.is-active { color: #173529; background: #efc47e; }
.preview-detail { margin-top: 14px; display: flex; justify-content: space-between; color: #8fa493; font-size: 9px; }
.preview-detail b { color: #fff8ec; font-weight: 700; }
.preview-recommendation { margin-top: 13px; padding: 17px; border-radius: 19px; display: flex; align-items: center; justify-content: space-between; color: #173529; background: linear-gradient(125deg, #f2ddbb, #f7eee2); }
.preview-recommendation small, .preview-recommendation strong, .preview-recommendation span { display: block; }
.preview-recommendation small { color: #98794a; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.preview-recommendation strong { margin-top: 5px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.preview-recommendation span { margin-top: 4px; color: #68776d; font-size: 9px; }
.preview-recommendation > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #244d37; font-style: normal; }
.preview-orbit { position: absolute; width: 270px; height: 270px; right: -110px; top: -70px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.018), 0 0 0 80px rgba(255,255,255,.012); }
.preview-orbit span { position: absolute; width: 52px; height: 52px; left: 34px; bottom: 36px; border-radius: 50%; background: #e8bd77; }
.site-method { width: min(calc(100% - 48px), 1120px); margin: 145px auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.site-section-heading h2, .experience-copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(50px, 5vw, 72px); line-height: 1; letter-spacing: -.055em; font-weight: 500; }
.site-section-heading h2 em { color: var(--apricot); font-weight: 400; }
.site-steps { list-style: none; margin: 0; padding: 0; }
.site-steps li { padding: 28px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 55px 1fr; gap: 20px; }
.site-steps li:first-child { padding-top: 0; }
.site-steps > li > span { color: var(--apricot); font-family: Georgia, serif; font-size: 13px; }
.site-steps strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.site-steps p { max-width: 520px; margin: 7px 0 0; color: #718078; font-size: 13px; line-height: 1.65; }
.site-experience { width: min(calc(100% - 48px), 1220px); min-height: 650px; margin: 0 auto 145px; padding: 58px; border-radius: 38px; display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: 70px; background: #1c4331; color: #fff8ec; box-shadow: var(--shadow); }
.experience-visual { min-height: 500px; position: relative; display: grid; place-items: center; }
.experience-visual img { width: min(470px, 95%); filter: brightness(1.18) saturate(.82); }
.experience-word { position: absolute; padding: 8px 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 999px; color: #c0d0c2; background: rgba(255,255,255,.055); font-family: Georgia, serif; font-size: 12px; font-style: italic; }
.word-breathe { left: 10%; top: 20%; }.word-move { right: 8%; top: 43%; }.word-reset { left: 22%; bottom: 12%; }
.experience-copy .eyebrow { color: #a8bdaa; }
.experience-copy h2 { color: #fff8ec; }
.experience-copy > p:not(.eyebrow) { max-width: 510px; margin: 24px 0; color: #c2d0c4; font-family: Georgia, serif; font-size: 17px; line-height: 1.65; }
.experience-copy ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.experience-copy li { display: flex; align-items: center; gap: 12px; color: #bdccbf; font-size: 12px; }
.experience-copy li span { color: #e8bd77; }
.site-journey { width: min(calc(100% - 48px), 1020px); margin: 0 auto 130px; text-align: center; }
.site-journey blockquote { margin: 22px 0 36px; color: var(--ink); font-family: Georgia, serif; font-size: clamp(40px, 5vw, 67px); line-height: 1.14; letter-spacing: -.045em; }
.site-journey .site-primary { margin: 0 auto; }
.site-footer { width: min(calc(100% - 48px), 1220px); min-height: 120px; margin: 0 auto; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: #818b84; font-size: 10px; }
.site-footer > span { justify-self: end; }
.site-footer .site-brand { font-size: 21px; }.site-footer .site-brand img { width: 31px; height: 31px; }

.onboarding-page { min-height: 100vh; min-height: 100dvh; background: linear-gradient(135deg, #f8f1e6, #f7f5ee 55%, #e6ecdc); }
.onboarding-header { width: min(calc(100% - 48px), 1180px); height: 84px; margin: 0 auto; display: grid; grid-template-columns: 1fr minmax(180px, 360px) 1fr; gap: 24px; align-items: center; }
.onboarding-header > small { justify-self: end; color: #77827a; font-size: 10px; font-weight: 800; }
.onboarding-progress { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(33,75,54,.10); }
.onboarding-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--apricot), #e8bd77); transition: width .3s ease; }
.onboarding-layout { width: min(calc(100% - 48px), 1180px); min-height: calc(100dvh - 118px); margin: 0 auto; padding: 28px 0 48px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; }
.onboarding-intro { min-height: 600px; padding: 44px; border-radius: 34px; position: relative; overflow: hidden; color: #fff8ec; background: linear-gradient(145deg, #183b2a, #315c42); box-shadow: var(--shadow); }
.onboarding-intro .eyebrow { color: #aec1b0; }
.onboarding-intro h1 { margin: 0; position: relative; z-index: 2; font-family: Georgia, serif; font-size: clamp(48px, 4.5vw, 68px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.onboarding-intro h1 em { color: #efc47e; font-weight: 400; }
.onboarding-intro > p:not(.eyebrow) { max-width: 370px; position: relative; z-index: 2; color: #c0cec2; font-family: Georgia, serif; font-size: 15px; line-height: 1.65; }
.onboarding-orbit { position: absolute; width: 350px; height: 350px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; right: -145px; bottom: -80px; box-shadow: 0 0 0 52px rgba(255,255,255,.018), 0 0 0 104px rgba(255,255,255,.012); }
.onboarding-orbit span { position: absolute; width: 70px; height: 70px; left: 42px; top: 32px; border-radius: 50%; background: linear-gradient(145deg, #efc47e, #df8a49); animation: auth-float 5s ease-in-out infinite; }
.onboarding-orbit i { position: absolute; width: 12px; height: 12px; left: 24px; bottom: 82px; border-radius: 50%; background: #a9bea9; }
.onboarding-question { min-width: 0; min-height: 600px; padding: 44px clamp(30px, 5vw, 70px); border: 1px solid rgba(255,255,255,.75); border-radius: 34px; background: rgba(255,252,246,.76); box-shadow: var(--shadow-soft); backdrop-filter: blur(20px); }
.onboarding-question h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(46px, 4.5vw, 64px); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.onboarding-note { max-width: 570px; margin: 14px 0 28px; color: #728078; font-size: 13px; line-height: 1.6; }
.onboarding-options { display: grid; gap: 10px; }
.onboarding-option { width: 100%; min-height: 78px; padding: 11px 16px 11px 12px; border: 1px solid rgba(33,75,54,.11); border-radius: 18px; display: grid; grid-template-columns: 52px 1fr 28px; align-items: center; gap: 13px; color: var(--ink); background: rgba(255,255,255,.65); cursor: pointer; text-align: left; transition: .2s ease; }
.onboarding-option:hover { transform: translateX(3px); background: #fff; }
.onboarding-option.is-selected { border-color: rgba(49,95,69,.38); background: #e8eedf; box-shadow: inset 0 0 0 1px rgba(49,95,69,.08); }
.onboarding-mark { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #5c724f; background: #e8eedf; font-family: Georgia, serif; font-size: 19px; }
.onboarding-option.is-selected .onboarding-mark { color: #fff8ec; background: var(--forest); }
.onboarding-option strong, .onboarding-option small { display: block; }
.onboarding-option strong { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.onboarding-option small { margin-top: 3px; color: #879188; font-size: 10px; }
.onboarding-option > i { width: 26px; height: 26px; border: 1px solid rgba(33,75,54,.12); border-radius: 50%; display: grid; place-items: center; color: transparent; font-style: normal; font-size: 10px; }
.onboarding-option.is-selected > i { color: #fff; border-color: var(--forest); background: var(--forest); }
.duration-onboarding-options { grid-template-columns: 1fr 1fr; }
.duration-onboarding-options .onboarding-option { min-height: 105px; }
.onboarding-error { margin: 13px 0 0; color: #9a4e40; font-size: 11px; font-weight: 700; }
.onboarding-actions { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.onboarding-back { min-height: 48px; padding: 0 12px; border: 0; background: transparent; color: #718078; cursor: pointer; font-size: 11px; font-weight: 800; }
.onboarding-back:disabled { opacity: 0; pointer-events: none; }
.onboarding-next { min-width: 180px; min-height: 56px; padding: 0 8px 0 18px; border: 0; border-radius: 17px; display: flex; align-items: center; justify-content: space-between; color: #fffaf0; background: var(--forest); cursor: pointer; font-family: Georgia, serif; font-size: 17px; }
.onboarding-next i { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.13); font-style: normal; }
.onboarding-next:disabled { opacity: .65; cursor: wait; }

body.is-auth-mode { background: #efe9dd; }
body.is-auth-mode .ambient { opacity: .14; }
body.is-auth-mode .topbar,
body.is-auth-mode .bottom-nav { display: none; }
body.is-auth-mode .app-main {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 18px;
  display: grid;
  place-items: center;
}
.auth-gateway {
  width: min(100%, 1120px);
  min-height: min(760px, calc(100dvh - 36px));
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 38px;
  overflow: hidden;
  background: #fffaf2;
  box-shadow: 0 34px 100px rgba(52, 43, 28, .16);
}
.auth-story {
  min-height: 700px;
  padding: 42px 48px 38px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #fff8ec;
  background:
    radial-gradient(circle at 78% 25%, rgba(223, 184, 112, .17), transparent 24%),
    linear-gradient(145deg, #183b2a 0%, #244d37 54%, #345b40 100%);
}
.auth-story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.14) .7px, transparent .7px);
  background-size: 11px 11px;
  mask-image: linear-gradient(130deg, #000, transparent 72%);
}
.auth-story-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.04em;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.auth-story-brand img { width: 40px; height: 40px; filter: brightness(0) invert(1); opacity: .92; }
.auth-story-copy { position: relative; z-index: 2; margin: auto 0 50px; max-width: 520px; }
.auth-story-copy .eyebrow { color: #adc0ae; }
.auth-story-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 5.2vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 500;
}
.auth-story-copy h1 em { color: #efc47e; font-weight: 400; }
.auth-story-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin: 25px 0 0;
  color: #d0ddd1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}
.auth-formula {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #aebfb0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.auth-formula span,
.auth-formula strong { padding: 8px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.055); }
.auth-formula strong { color: #173529; background: #efc47e; border-color: transparent; }
.auth-formula i { font-style: normal; color: #809985; }
.auth-path {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.11);
}
.auth-path li { min-width: 0; }
.auth-path li > span { color: #e8bd77; font-family: Georgia, serif; font-size: 12px; }
.auth-path strong,
.auth-path small { display: block; }
.auth-path strong { margin-top: 8px; font-family: Georgia, serif; font-size: 16px; font-weight: 500; }
.auth-path small { margin-top: 4px; color: #9fb3a3; font-size: 10px; line-height: 1.45; }
.auth-orbit {
  position: absolute;
  z-index: 1;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  right: -150px;
  top: 102px;
  box-shadow: 0 0 0 55px rgba(255,255,255,.018), 0 0 0 110px rgba(255,255,255,.012);
}
.auth-orbit span { position: absolute; width: 72px; height: 72px; top: 25px; left: 42px; border-radius: 50%; background: linear-gradient(145deg, #efc47e, #df8a49); box-shadow: 0 18px 45px rgba(0,0,0,.18); animation: auth-float 5s ease-in-out infinite; }
.auth-orbit i { position: absolute; width: 13px; height: 13px; left: 38px; bottom: 64px; border-radius: 50%; background: #b7c9ae; }
@keyframes auth-float { 50% { transform: translateY(12px) scale(.94); } }
.auth-panel {
  min-width: 0;
  padding: 54px clamp(34px, 5vw, 68px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(225, 205, 168, .30), transparent 30%),
    #fffaf2;
}
.auth-panel-inner { width: min(100%, 420px); margin: 0 auto; }
.auth-mobile-back { display: none; }
.auth-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.3vw, 57px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 500;
}
.auth-panel-lead { margin: 15px 0 0; color: #6e7b73; font-size: 14px; line-height: 1.6; }
.auth-tabs { margin: 30px 0 25px; padding: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 16px; background: #eee8dc; }
.auth-tab { min-height: 44px; border: 0; border-radius: 12px; background: transparent; color: #778179; cursor: pointer; font-size: 12px; font-weight: 800; }
.auth-tab.is-active { color: var(--forest); background: #fffaf2; box-shadow: 0 5px 14px rgba(55,45,30,.07); }
.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 8px; color: #42564b; font-size: 12px; font-weight: 800; }
.auth-field > input,
.password-input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(37, 69, 53, .13);
  border-radius: 15px;
  background: rgba(255,255,255,.72);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.auth-field > input { padding: 0 16px; }
.password-input { display: flex; align-items: center; }
.password-input input { min-width: 0; flex: 1; height: 54px; padding: 0 8px 0 16px; border: 0; outline: 0; background: transparent; }
.auth-field > input:focus,
.password-input:focus-within { border-color: rgba(49, 95, 69, .52); background: #fff; box-shadow: 0 0 0 4px rgba(49,95,69,.07); outline: none; }
.auth-field input::placeholder { color: #a5aaa6; font-weight: 500; }
.show-password { min-width: 52px; height: 40px; margin-right: 7px; border: 0; border-radius: 10px; background: transparent; color: #718078; cursor: pointer; font-size: 11px; font-weight: 800; }
.show-password:hover { background: #f0ece3; color: var(--forest); }
.auth-error { margin: -2px 0 0; padding: 11px 13px; border-radius: 12px; color: #8e4639; background: #f8e6df; font-size: 12px; line-height: 1.45; }
.auth-terms {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: #6a756d;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}
.auth-terms input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--forest-2);
  cursor: pointer;
}
.auth-submit {
  min-height: 60px;
  padding: 0 9px 0 20px;
  border: 0;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fffaf0;
  background: linear-gradient(110deg, #1d4532, #3d6846);
  box-shadow: 0 15px 30px rgba(29, 69, 50, .18);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  transition: transform .2s ease, opacity .2s ease;
}
.auth-submit:hover { transform: translateY(-2px); }
.auth-submit:disabled { opacity: .68; cursor: wait; transform: none; }
.auth-submit i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.13); font-style: normal; }
.auth-device-note { max-width: 330px; margin: 17px auto 0; color: #929991; text-align: center; font-size: 10px; line-height: 1.5; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
  color: #637366;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
  gap: 22px;
}
.hero-panel {
  min-height: 330px;
  padding: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  background:
    radial-gradient(circle at 73% 34%, rgba(245, 209, 145, .6), transparent 28%),
    linear-gradient(125deg, #f8ecd8 0%, #fbf7ef 50%, #e4ebdc 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.7);
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 54, 41, .06) .7px, transparent .7px);
  background-size: 9px 9px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 7vw, 92px);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 500;
}
.script-kicker {
  display: block;
  margin-bottom: 13px;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--apricot);
  font-weight: 400;
}
.hero-lead {
  max-width: 490px;
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.5;
  color: #42564b;
}
.hero-meta { margin-top: 30px; display: flex; gap: 9px; align-items: center; color: #6f786f; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--apricot); }
.hero-art { position: relative; height: 100%; min-height: 250px; z-index: 1; }
.hero-art img { position: absolute; width: min(390px, 120%); right: -34px; top: 50%; transform: translateY(-50%); filter: drop-shadow(0 18px 34px rgba(52, 78, 56, .10)); }
.floating-note {
  position: absolute;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: #667660;
  background: rgba(255,255,255,.58);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
}
.note-one { right: 6%; top: 18%; }
.note-two { left: 18%; bottom: 16%; }
.note-three { right: 19%; bottom: 4%; }

.checkin-card {
  grid-column: 1;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255,252,246,.82);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}
.section-heading, .sequence-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.section-heading h2, .sequence-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.step-pill {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf1e6;
  color: #52674f;
  font-size: 12px;
  font-weight: 800;
}
.field-group { margin-top: 28px; }
.field-label { margin: 0 0 14px; color: #3d5348; font-size: 13px; font-weight: 800; }
.field-row { display: flex; align-items: center; justify-content: space-between; }
.field-value { color: var(--apricot); font-size: 12px; font-weight: 800; }
.mood-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; transition: transform .2s ease; }
.mood-grid.needs-attention { animation: nudge .32s ease 2; }
@keyframes nudge { 50% { transform: translateX(7px); } }
.mood-option {
  min-width: 0;
  min-height: 96px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #536158;
}
.mood-orb {
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 23px;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 0 0 1px rgba(46, 69, 55, .04), 0 9px 22px rgba(59, 53, 40, .06);
  font-family: Georgia, serif;
  font-size: 28px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.mood-option:hover .mood-orb { transform: translateY(-3px); }
.mood-option.is-selected { color: var(--ink); font-weight: 800; }
.mood-option.is-selected .mood-orb { transform: translateY(-4px) scale(1.03); border-color: rgba(233, 144, 78, .58); box-shadow: 0 14px 28px rgba(202, 113, 52, .16), inset 0 0 0 2px rgba(255,255,255,.7); }
.tone-sage { background: #e1e9d6; color: #55734a; }
.tone-apricot { background: #f8dcc3; color: #cb6c2d; }
.tone-lavender { background: #e6def0; color: #75639c; }
.tone-blue { background: #dbe7eb; color: #557b8f; }
.tone-sun { background: #f7e6ad; color: #b97813; }
.tone-sand { background: #eee5d8; color: #7e6c58; }

.checkin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compact-field { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(250,247,240,.62); }
.energy-range { width: 100%; accent-color: var(--forest-2); }
.energy-range {
  height: 36px;
  margin: -2px 0;
  cursor: pointer;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.energy-range::-webkit-slider-runnable-track { height: 5px; border-radius: 999px; background: #dce4d7; }
.energy-range::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -9.5px; border: 4px solid #fffaf2; border-radius: 50%; background: var(--forest-2); box-shadow: 0 3px 10px rgba(26,54,41,.22); -webkit-appearance: none; }
.energy-range::-moz-range-track { height: 5px; border-radius: 999px; background: #dce4d7; }
.energy-range::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid #fffaf2; border-radius: 50%; background: var(--forest-2); box-shadow: 0 3px 10px rgba(26,54,41,.22); }
.range-labels { display: flex; justify-content: space-between; margin-top: 3px; color: #778078; font-size: 11px; }
.duration-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.duration-chip {
  min-height: 56px;
  border: 1px solid rgba(32, 74, 53, .14);
  border-radius: 15px;
  background: #fffaf2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transition: .22s ease;
}
.duration-chip strong { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.duration-chip span { font-size: 10px; color: #718077; }
.duration-chip.is-selected { background: var(--forest); color: #fffaf2; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(31, 72, 52, .18); }
.duration-chip.is-selected span { color: rgba(255,255,255,.7); }
.primary-cta {
  width: 100%;
  margin-top: 26px;
  min-height: 64px;
  border: 0;
  border-radius: 21px;
  background: linear-gradient(110deg, #1d4532, #3d6846);
  color: #fffaf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(29, 69, 50, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(29, 69, 50, .23); }
.primary-cta:disabled { opacity: .68; cursor: wait; transform: none; box-shadow: none; }
.cta-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); }
.privacy-note { text-align: center; margin: 10px 0 0; color: #899089; font-size: 10px; }

.today-aside { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 22px; }
.aside-card { border-radius: var(--radius-xl); padding: 28px; min-height: 220px; position: relative; overflow: hidden; }
.quiet-card { background: #1d4331; color: #f9f3e9; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; }
.quiet-card::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); top: -70px; right: -70px; box-shadow: 0 0 0 25px rgba(255,255,255,.025), 0 0 0 50px rgba(255,255,255,.018); }
.quiet-card .eyebrow { color: #afc2ad; }
.quiet-card blockquote { margin: 0; font-family: Georgia, serif; font-size: 25px; line-height: 1.38; font-weight: 400; }
.pulse-card { min-height: 190px; background: linear-gradient(145deg, #f1dfc2, #f7eee2); border: 1px solid rgba(255,255,255,.7); display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-soft); }
.pulse-card h3 { margin: 4px 0 6px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.pulse-card p:not(.eyebrow) { margin: 0; color: #6c756e; font-size: 12px; line-height: 1.5; }
.pulse-ring { width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(56, 92, 62, .18); display: grid; place-items: center; flex: 0 0 auto; }
.pulse-ring i { width: 38px; height: 38px; border-radius: 50%; background: var(--forest-2); box-shadow: 0 0 0 9px rgba(55, 96, 66, .09); animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.82); box-shadow: 0 0 0 16px rgba(55, 96, 66, .04); } }

.recommendation { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.recommendation-stage { min-height: 690px; border-radius: var(--radius-xl); padding: 38px; position: relative; overflow: hidden; background: linear-gradient(145deg, #f2e5cf, #eef0e4); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.recommendation-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 28%, rgba(255,255,255,.75), transparent 26%); pointer-events: none; }
.accent-apricot { background: linear-gradient(145deg, #f5ddc5, #f7f0e5 55%, #e8eee2); }
.accent-sun { background: linear-gradient(145deg, #f5e5b7, #fbf6e8 55%, #e8eedc); }
.accent-sage, .accent-forest { background: linear-gradient(145deg, #dfe9d5, #f8f4e8 56%, #f2ddca); }
.back-link { border: 0; background: transparent; padding: 0; cursor: pointer; color: #617067; font-size: 12px; font-weight: 700; position: relative; z-index: 2; }
.recommendation-copy { margin-top: auto; max-width: 560px; position: relative; z-index: 2; }
.context-line { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.context-line span { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.76); font-size: 11px; font-weight: 700; color: #57675e; backdrop-filter: blur(8px); }
.recommendation-copy h1 { margin: 0; font-family: Georgia, serif; font-weight: 500; font-size: clamp(58px, 7vw, 92px); line-height: .92; letter-spacing: -.06em; }
.recommendation-summary { max-width: 520px; margin: 25px 0; font-size: 17px; line-height: 1.65; color: #4d5e54; }
.intention-card { width: fit-content; max-width: 100%; padding: 14px 18px; border-radius: 17px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.74); backdrop-filter: blur(10px); }
.intention-card span { display: block; margin-bottom: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; color: #7b817a; font-weight: 800; }
.intention-card strong { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.match-reasons { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.match-reasons span { padding: 7px 10px; border-radius: 999px; color: #506357; background: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.72); font-size: 10px; font-weight: 800; backdrop-filter: blur(8px); }
.recommendation-orbit { position: absolute; right: 7%; top: 11%; z-index: 1; text-align: center; }
.breath-disc { width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(43, 75, 55, .13); display: grid; place-items: center; box-shadow: 0 0 0 30px rgba(255,255,255,.17), 0 0 0 60px rgba(255,255,255,.11); }
.breath-disc span { width: 78px; height: 78px; border-radius: 50%; background: linear-gradient(145deg, #e4904e, #edc681); box-shadow: 0 0 0 15px rgba(230, 144, 76, .1); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.32); box-shadow: 0 0 0 27px rgba(230, 144, 76, .06); } }
.recommendation-orbit p { margin-top: 76px; font-family: Georgia, serif; font-style: italic; color: #748074; }
.sequence-panel { padding: 34px; border-radius: var(--radius-xl); background: rgba(255,252,246,.88); box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,.78); }
.sequence-heading > span { color: #778179; font-size: 11px; font-weight: 700; }
.sequence-list { list-style: none; margin: 24px 0 0; padding: 0; }
.sequence-list li { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.sequence-list li:last-child { border-bottom: 0; }
.sequence-index { color: #a0a69f; font-family: Georgia, serif; font-size: 13px; }
.sequence-list strong, .sequence-list small { display: block; }
.sequence-list strong { font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.sequence-list small { margin-top: 3px; color: #8a928c; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.sequence-list time { font-size: 11px; color: #728078; font-weight: 700; }
.sequence-pose-copy { min-width: 0; }
.practice-safety { margin: 17px 0 -8px; padding: 11px 12px; border-radius: 13px; color: #7d776d; background: #f3ede1; font-size: 10px; line-height: 1.5; }

.practice-screen { min-height: calc(100vh - 160px); border-radius: var(--radius-xl); background: linear-gradient(145deg, #173b2a 0%, #214a35 48%, #31553d 100%); color: #fff8ec; padding: 28px 34px 30px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.practice-screen::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); top: -280px; right: -190px; box-shadow: 0 0 0 90px rgba(255,255,255,.018), 0 0 0 180px rgba(255,255,255,.012); }
.practice-topline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #c4d0c5; position: relative; z-index: 2; }
.practice-topline .back-link { color: #d2ddd2; justify-self: start; }
.practice-topline > span:last-child { justify-self: end; }
.practice-progress { height: 3px; margin-top: 22px; border-radius: 999px; background: rgba(255,255,255,.11); overflow: hidden; position: relative; z-index: 2; }
.practice-progress span { display: block; height: 100%; border-radius: inherit; background: #e8bd77; transition: width .35s ease; }
.practice-focus { min-height: 490px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 30px; position: relative; z-index: 2; }
.practice-visual { display: grid; place-items: center; }
.pose-visual-card { width: min(390px, 35vw); aspect-ratio: 4 / 5; position: relative; overflow: hidden; border-radius: 34px; background: linear-gradient(145deg, #d9dfcf, #6f8b70); border: 1px solid rgba(255,255,255,.17); box-shadow: 0 34px 75px rgba(3,20,12,.28); isolation: isolate; }
.pose-visual-card::before { content: ""; position: absolute; inset: 15px; z-index: 2; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; pointer-events: none; }
.pose-visual-card img { width: 100%; height: 100%; display: block; object-fit: contain; background: linear-gradient(145deg, #efe5d0, #adbea5); transition: opacity .24s ease, transform .8s ease; }
.pose-visual-card.is-live img { transform: scale(1.018); }
.pose-visual-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(9,27,18,.02) 46%, rgba(9,27,18,.68) 100%); pointer-events: none; }
.live-guide-pill { position: absolute; z-index: 3; left: 26px; top: 26px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; color: #f9f6ed; background: rgba(21,53,37,.7); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.live-guide-pill i { width: 6px; height: 6px; border-radius: 50%; background: #edbd72; box-shadow: 0 0 0 4px rgba(237,189,114,.14); }
.pose-visual-card.is-live .live-guide-pill i { animation: guide-pulse 1.7s ease-in-out infinite; }
@keyframes guide-pulse { 50% { transform: scale(.65); box-shadow: 0 0 0 8px rgba(237,189,114,.04); } }
.pose-meta-overlay { position: absolute; z-index: 3; left: 26px; right: 26px; bottom: 25px; display: flex; flex-wrap: wrap; gap: 7px; }
.pose-meta-overlay span { padding: 7px 9px; border-radius: 999px; color: #f5f3e9; background: rgba(15,44,29,.58); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(10px); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.breath-halo { width: min(360px, 34vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); display: grid; place-items: center; box-shadow: 0 0 0 42px rgba(255,255,255,.028), 0 0 0 84px rgba(255,255,255,.018); }
.breath-halo.is-breathing { animation: halo-breathe 6s ease-in-out infinite; }
@keyframes halo-breathe { 50% { transform: scale(1.05); box-shadow: 0 0 0 55px rgba(255,255,255,.024), 0 0 0 105px rgba(255,255,255,.012); } }
.pose-mark { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #edc781, #df8a49); color: #173529; font-family: Georgia, serif; font-size: 58px; box-shadow: 0 25px 60px rgba(0,0,0,.16); }
.practice-copy { max-width: 560px; }
.practice-copy .eyebrow { color: #aabfae; }
.practice-copy h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(48px, 5.7vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: .95; }
.practice-copy > p:not(.eyebrow):not(.timer-note) { margin: 24px 0 0; font-family: Georgia, serif; color: #d4ded4; font-size: 18px; line-height: 1.6; }
.spoken-cue { margin-top: 22px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; background: rgba(255,255,255,.055); backdrop-filter: blur(12px); }
.spoken-cue > span { display: block; margin-bottom: 7px; color: #e9bd75; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.spoken-cue p { min-height: 54px; margin: 0; color: #f2eee4; font-family: Georgia, serif; font-size: 18px; line-height: 1.5; }
.practice-copy > .next-cue { display: flex; gap: 8px; align-items: baseline; min-height: 20px; margin: 11px 2px 0; color: #9db0a1; font-family: inherit; font-size: 11px; line-height: 1.4; }
.practice-copy > .next-cue[hidden] { display: none; }
.next-cue span { flex: 0 0 auto; color: #d4ae6f; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.next-cue b { font-weight: 600; }
.timer { margin-top: 28px; font-variant-numeric: tabular-nums; font-size: 52px; font-weight: 300; letter-spacing: -.03em; }
.timer-note { margin: 5px 0 0; color: #9fb4a5; font-size: 11px; letter-spacing: .04em; }
.guide-toggles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.guide-toggle { min-height: 34px; padding: 0 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #91a798; background: rgba(255,255,255,.035); cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .03em; }
.guide-toggle span { margin-right: 4px; font-size: 12px; }
.guide-toggle.is-on { color: #fff4df; background: rgba(237,189,114,.13); border-color: rgba(237,189,114,.28); }
.practice-controls { display: flex; align-items: center; justify-content: center; gap: 20px; position: relative; z-index: 3; }
.round-control, .play-control { border-radius: 50%; border: 1px solid rgba(255,255,255,.14); color: #fff8ec; cursor: pointer; }
.round-control { width: 54px; height: 54px; background: rgba(255,255,255,.06); }
.round-control:disabled { opacity: .28; cursor: not-allowed; }
.play-control { width: 76px; height: 76px; background: #f1c67f; color: #173529; font-size: 22px; box-shadow: 0 14px 32px rgba(0,0,0,.18); }
.practice-steps-drawer { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; position: relative; z-index: 2; }
.mini-step { min-width: 0; border: 0; background: transparent; color: #90a695; display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left; }
.mini-step > span { width: 27px; height: 27px; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); display: grid; place-items: center; flex: 0 0 auto; font-size: 10px; }
.mini-step small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-step.is-active { color: #fff8ec; }
.mini-step.is-active > span { background: #e8bd77; color: #173529; border-color: transparent; }
.mini-step.is-done { color: #b9c8ba; }

.completion-screen { min-height: 650px; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.completion-orbit { width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(33,75,54,.11); display: grid; place-items: center; box-shadow: 0 0 0 25px rgba(33,75,54,.035), 0 0 0 50px rgba(33,75,54,.018); margin-bottom: 44px; }
.completion-orbit span { width: 68px; height: 68px; border-radius: 50%; background: #e9bd75; display: grid; place-items: center; color: #754f1d; font-size: 24px; }
.completion-screen h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(54px, 7vw, 84px); line-height: .98; font-weight: 500; letter-spacing: -.05em; }
.completion-screen h1 em { color: var(--apricot); font-weight: 400; }
.completion-copy { max-width: 460px; color: #67746c; line-height: 1.6; }
.reflection-card { width: min(100%, 760px); margin-top: 36px; padding: 27px; border-radius: var(--radius-lg); background: rgba(255,252,246,.85); box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,.7); }
.reflection-card h2 { margin: 0 0 20px; font-family: Georgia, serif; font-weight: 500; }
.reflection-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.reflection-option { min-height: 100px; border: 1px solid var(--border); border-radius: 18px; background: #fbf7ef; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; transition: .2s ease; }
.reflection-option:hover { transform: translateY(-3px); background: #edf1e6; }
.reflection-option span { font-size: 26px; color: var(--apricot); }
.reflection-option strong { font-size: 12px; }

.page-heading { max-width: 720px; margin: 20px 0 36px; }
.page-heading h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(52px, 6vw, 78px); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.page-heading > p:last-child { max-width: 590px; color: #66736b; line-height: 1.65; }
.journey-stats { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; }
.metric-card { min-height: 180px; padding: 24px; border-radius: var(--radius-lg); background: rgba(255,252,246,.82); border: 1px solid rgba(255,255,255,.75); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; justify-content: flex-end; }
.metric-card span { color: #78847c; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.metric-card strong { margin: 8px 0 2px; font-family: Georgia, serif; font-size: 52px; font-weight: 500; letter-spacing: -.04em; }
.metric-card small { color: #8c948e; }
.hero-metric { background: linear-gradient(145deg, #1e4733, #315c42); color: #fff8ec; }
.hero-metric span, .hero-metric small { color: #c0cec2; }
.history-card { margin-top: 18px; padding: 30px; border-radius: var(--radius-xl); background: rgba(255,252,246,.84); border: 1px solid rgba(255,255,255,.75); box-shadow: var(--shadow-soft); }
.history-list { margin-top: 16px; }
.history-row { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.history-row:last-child { border-bottom: 0; }
.history-date { color: #8a938c; font-size: 11px; font-weight: 700; }
.history-row strong, .history-row small { display: block; }
.history-row strong { font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.history-row small { color: #8a938c; margin-top: 3px; font-size: 11px; }
.outcome-pill { padding: 7px 10px; border-radius: 999px; background: #e8eedf; color: #486344; font-size: 10px; font-weight: 800; }
.empty-history { text-align: center; padding: 52px 10px 32px; }
.empty-history h3, .empty-screen h1 { font-family: Georgia, serif; font-weight: 500; font-size: 32px; margin: 12px 0; }
.empty-history p, .empty-screen p { color: #738078; max-width: 460px; margin: 0 auto; line-height: 1.6; }
.empty-symbol { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #e6ecdc; font-size: 28px; color: #4d6848; }
.secondary-cta { margin-top: 22px; border: 1px solid rgba(29,69,50,.14); background: #f3eee4; padding: 12px 18px; border-radius: 14px; cursor: pointer; font-weight: 800; }
.empty-screen { min-height: 570px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.compact-cta { width: min(100%, 330px); }

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px;
  border-radius: 22px;
  background: rgba(255, 252, 246, .82);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 18px 50px rgba(49, 43, 31, .16);
  backdrop-filter: blur(20px);
}
.nav-item {
  min-width: 108px;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #778077;
  font-size: 11px;
  font-weight: 800;
}
.nav-icon { font-size: 18px; line-height: 1; }
.nav-item.is-active { background: #e8eddf; color: var(--forest); }
.toast {
  position: fixed;
  left: 50%;
  top: max(18px, env(safe-area-inset-top));
  z-index: 100;
  transform: translate(-50%, -18px);
  padding: 12px 16px;
  border-radius: 14px;
  background: #183b2a;
  color: #fff8ec;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  font-size: 12px;
  font-weight: 700;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .site-hero { min-height: auto; padding: 58px; grid-template-columns: 1fr; gap: 55px; }
  .site-hero-copy { max-width: 700px; }
  .site-product-preview { width: min(100%, 500px); justify-self: end; }
  .site-method { margin: 105px auto; grid-template-columns: 1fr; gap: 50px; }
  .site-section-heading { max-width: 650px; }
  .site-experience { padding: 48px; grid-template-columns: 1fr; gap: 20px; }
  .experience-visual { min-height: 390px; }
  .experience-visual img { width: min(390px, 80%); }
  .experience-copy { max-width: 650px; }
  .onboarding-layout { grid-template-columns: 1fr; }
  .onboarding-intro { min-height: 300px; }
  .onboarding-intro h1 { max-width: 600px; }
  .onboarding-question { min-height: 0; }
  .home-grid { grid-template-columns: 1fr; }
  .today-aside { grid-column: 1; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .recommendation { grid-template-columns: 1fr; }
  .recommendation-stage { min-height: 570px; }
  .sequence-panel { max-width: none; }
  .practice-focus { grid-template-columns: 1fr 1.1fr; }
  .practice-steps-drawer { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  body.is-auth-mode { overflow-y: auto; }
  body.is-auth-mode .app-main { padding: 14px; }
  .auth-gateway { width: min(100%, 680px); min-height: auto; grid-template-columns: 1fr; }
  .auth-story { min-height: 330px; padding: 30px 34px; }
  .auth-story-copy { margin: auto 0 22px; max-width: 590px; }
  .auth-story-copy h1 { font-size: 52px; }
  .auth-story-copy > p:not(.eyebrow) { max-width: 520px; margin-top: 16px; font-size: 15px; }
  .auth-formula { margin-top: 18px; }
  .auth-path { display: none; }
  .auth-orbit { width: 270px; height: 270px; right: -105px; top: 48px; }
  .auth-panel { padding: 42px 34px 46px; }
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 28px); height: 70px; }
  .site-brand { font-size: 22px; }.site-brand img { width: 34px; height: 34px; }
  .site-actions { gap: 5px; }
  .site-login { padding: 0 10px; }
  .site-primary-small { padding-left: 13px; }
  .site-hero { width: calc(100% - 20px); padding: 44px 28px 28px; border-radius: 30px; gap: 40px; }
  .site-hero-copy h1 { font-size: clamp(57px, 14vw, 78px); }
  .site-hero-lead { font-size: 17px; }
  .site-product-preview { min-height: 520px; padding: 20px; border-radius: 28px; transform: none; }
  .site-method { width: calc(100% - 32px); margin: 88px auto; gap: 38px; }
  .site-section-heading h2, .experience-copy h2 { font-size: clamp(46px, 12vw, 62px); }
  .site-experience { width: calc(100% - 20px); margin-bottom: 92px; padding: 32px 24px 42px; border-radius: 30px; }
  .experience-visual { min-height: 330px; }
  .site-journey { width: calc(100% - 32px); margin-bottom: 90px; }
  .site-footer { width: calc(100% - 32px); min-height: 150px; grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
  .onboarding-header { width: calc(100% - 28px); height: 72px; grid-template-columns: auto 1fr auto; gap: 14px; }
  .onboarding-header .site-brand span { display: none; }
  .onboarding-layout { width: calc(100% - 20px); padding: 12px 0 28px; gap: 12px; }
  .onboarding-intro { min-height: 250px; padding: 28px 24px; border-radius: 28px; }
  .onboarding-intro h1 { max-width: 540px; font-size: clamp(44px, 11vw, 58px); }
  .onboarding-intro > p:not(.eyebrow) { font-size: 14px; }
  .onboarding-question { padding: 32px 22px; border-radius: 28px; }
  .onboarding-question h2 { font-size: clamp(42px, 11vw, 54px); }
  .duration-onboarding-options { grid-template-columns: 1fr; }
  body { background: linear-gradient(180deg, #fbf5eb 0%, #f4eee4 100%); }
  .topbar {
    width: 100%;
    height: 68px;
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
  .brand-mark { width: 34px; height: 34px; }
  .brand-word { font-size: 23px; }
  .micro-stat { min-width: 52px; height: 39px; }
  .icon-button { width: 40px; height: 40px; }
  .profile-menu { right: 14px; top: 60px; }
  .app-main {
    width: 100%;
    padding: 6px max(12px, env(safe-area-inset-right)) calc(var(--mobile-nav-space) + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }
  .home-grid { gap: 14px; }
  .hero-panel { min-height: 370px; padding: 26px 22px; border-radius: 28px; grid-template-columns: 1fr; align-items: start; }
  .hero-copy h1 { font-size: clamp(50px, 15.5vw, 66px); }
  .script-kicker { margin-bottom: 9px; font-size: 26px; }
  .hero-lead { max-width: 285px; font-size: 16px; margin-top: 16px; }
  .hero-meta { margin-top: 16px; }
  .hero-art { position: absolute; width: 205px; height: 205px; right: -34px; bottom: -42px; opacity: .72; }
  .hero-art img { width: 225px; right: -8px; top: 54%; }
  .floating-note { display: none; }
  .checkin-card { padding: 24px 18px; border-radius: 28px; }
  .section-heading h2, .sequence-heading h2 { font-size: 24px; }
  .mood-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 7px; }
  .mood-orb { width: 68px; border-radius: 21px; }
  .field-group { margin-top: 24px; }
  .checkin-split { grid-template-columns: 1fr; gap: 10px; }
  .compact-field { padding: 18px 16px; }
  .duration-options { gap: 6px; }
  .duration-chip { min-height: 56px; }
  .primary-cta { min-height: 60px; font-size: 19px; }
  .today-aside { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .aside-card { min-height: 170px; padding: 24px; }
  .quiet-card blockquote { font-size: 21px; }
  .recommendation-stage { min-height: 540px; padding: 24px 22px; border-radius: 28px; }
  .recommendation-copy h1 { font-size: clamp(49px, 14.5vw, 58px); }
  .recommendation-orbit { right: 7%; top: 12%; opacity: .72; }
  .breath-disc { width: 150px; height: 150px; box-shadow: 0 0 0 20px rgba(255,255,255,.14), 0 0 0 40px rgba(255,255,255,.08); }
  .breath-disc span { width: 54px; height: 54px; }
  .recommendation-summary { font-size: 15px; }
  .sequence-panel { padding: 24px 20px; border-radius: 28px; }
  .sequence-list li { grid-template-columns: 36px 1fr auto; }
  body.is-practice-mode { overflow: hidden; background: #173b2a; }
  body.is-practice-mode .topbar,
  body.is-practice-mode .bottom-nav { display: none; }
  body.is-practice-mode .app-main {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 0;
  }
  .practice-screen {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
    border-radius: 0;
    padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: none;
  }
  .practice-topline { grid-template-columns: 1fr auto; }
  .practice-topline > span:nth-child(2) { display: none; }
  .practice-progress { margin-top: 16px; }
  .practice-focus { flex: 1; min-height: 0; grid-template-columns: 1fr; gap: 12px; align-content: center; text-align: center; padding: 12px 0; }
  .pose-visual-card { width: min(82vw, 310px); max-height: 34dvh; aspect-ratio: 5 / 4; border-radius: 25px; }
  .pose-visual-card::before { inset: 10px; border-radius: 18px; }
  .live-guide-pill { left: 18px; top: 18px; padding: 7px 9px; font-size: 8px; }
  .pose-meta-overlay { left: 18px; right: 18px; bottom: 17px; }
  .pose-meta-overlay span { padding: 6px 8px; font-size: 8px; }
  .breath-halo { width: clamp(158px, 25dvh, 215px); margin: 0 auto; box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 56px rgba(255,255,255,.015); }
  .pose-mark { width: clamp(74px, 12dvh, 92px); height: clamp(74px, 12dvh, 92px); font-size: 42px; }
  .practice-copy { margin: 0 auto; }
  .practice-copy h1 { font-size: clamp(34px, 10vw, 46px); }
  .practice-copy > p:not(.eyebrow):not(.timer-note) { margin-top: 14px; font-size: 15px; line-height: 1.45; max-width: 340px; margin-left: auto; margin-right: auto; }
  .spoken-cue { width: min(100%, 410px); margin: 13px auto 0; padding: 12px 14px; text-align: left; }
  .spoken-cue p { min-height: 42px; font-size: 14px; line-height: 1.42; }
  .practice-copy > .next-cue { max-width: 390px; margin: 8px auto 0; text-align: left; font-size: 9px; }
  .timer { margin-top: 10px; font-size: 37px; }
  .guide-toggles { justify-content: center; margin-top: 10px; }
  .practice-controls { flex: 0 0 auto; gap: 18px; }
  .round-control { width: 52px; height: 52px; }
  .play-control { width: 68px; height: 68px; }
  .practice-steps-drawer { flex: 0 0 auto; display: flex; overflow-x: auto; margin-top: 14px; padding: 14px 2px 2px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .practice-steps-drawer::-webkit-scrollbar { display: none; }
  .mini-step { min-width: 128px; min-height: 44px; scroll-snap-align: start; }
  .completion-screen { min-height: calc(100svh - 178px); padding: 34px 0 18px; }
  .completion-orbit { width: 126px; height: 126px; margin-bottom: 30px; }
  .completion-screen h1 { font-size: clamp(46px, 13vw, 54px); }
  .reflection-card { padding: 22px 14px; }
  .reflection-options { grid-template-columns: repeat(2, 1fr); }
  .page-heading { margin: 14px 4px 28px; }
  .page-heading h1 { font-size: clamp(48px, 14vw, 54px); }
  .journey-stats { grid-template-columns: 1fr 1fr; }
  .hero-metric { grid-column: 1 / -1; }
  .metric-card { min-height: 150px; }
  .metric-card strong { font-size: 45px; }
  .history-card { padding: 24px 18px; }
  .history-row { grid-template-columns: 58px 1fr; }
  .outcome-pill { grid-column: 2; justify-self: start; }
  .bottom-nav {
    width: min(calc(100% - 20px), 480px);
    justify-content: stretch;
    bottom: max(8px, env(safe-area-inset-bottom));
    border-radius: 20px;
    padding: 6px;
  }
  .nav-item { min-width: 0; flex: 1; min-height: 52px; }
}

@media (max-width: 560px) {
  .site-header .site-brand span { display: none; }
  .site-primary-small { min-width: 0; }
  .site-primary-small > span { display: grid; }
  .site-hero { padding: 38px 20px 22px; }
  .site-hero-copy h1 { font-size: clamp(52px, 15.5vw, 68px); }
  .site-hero-lead { margin-top: 21px; font-size: 16px; }
  .site-hero-actions { margin-top: 27px; align-items: stretch; flex-direction: column; }
  .site-primary { width: 100%; }
  .site-secondary { width: 100%; }
  .site-promise { flex-wrap: wrap; }
  .site-product-preview { min-height: 500px; }
  .preview-greeting { margin-top: 55px; }
  .preview-greeting strong { font-size: 39px; }
  .preview-checkin { margin-top: 28px; padding: 16px; }
  .site-steps li { grid-template-columns: 38px 1fr; gap: 10px; }
  .site-steps strong { font-size: 21px; }
  .site-experience { padding-inline: 20px; }
  .experience-visual { min-height: 280px; }
  .experience-copy > p:not(.eyebrow) { font-size: 16px; }
  .site-journey blockquote { font-size: clamp(36px, 10vw, 48px); }
  .site-footer > span { max-width: 110px; text-align: right; }
  .onboarding-header { padding-top: env(safe-area-inset-top); }
  .onboarding-intro { min-height: 225px; }
  .onboarding-intro > p:not(.eyebrow) { display: none; }
  .onboarding-orbit { opacity: .7; }
  .onboarding-question { padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); }
  .onboarding-option { min-height: 74px; grid-template-columns: 48px 1fr 25px; gap: 11px; padding-right: 12px; }
  .onboarding-mark { width: 48px; height: 48px; }
  .onboarding-actions { position: sticky; bottom: 0; padding-top: 12px; background: linear-gradient(180deg, transparent, rgba(255,252,246,.98) 28%); }
  .onboarding-next { min-width: 165px; }
  body.is-auth-mode .app-main { display: block; min-height: 100dvh; padding: 0; }
  .auth-gateway { width: 100%; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  .auth-story { min-height: 280px; padding: max(23px, env(safe-area-inset-top)) 22px 24px; }
  .auth-story-brand { font-size: 22px; }
  .auth-story-brand img { width: 34px; height: 34px; }
  .auth-story-copy { margin: auto 0 0; max-width: 440px; }
  .auth-story-copy .eyebrow { margin-bottom: 8px; font-size: 9px; }
  .auth-story-copy h1 { font-size: clamp(40px, 11.5vw, 50px); line-height: .96; }
  .auth-story-copy > p:not(.eyebrow) { margin-top: 13px; max-width: 360px; font-size: 14px; line-height: 1.5; }
  .auth-formula { margin-top: 14px; gap: 5px; font-size: 9px; }
  .auth-formula span, .auth-formula strong { padding: 6px 7px; }
  .auth-orbit { width: 220px; height: 220px; right: -105px; top: 50px; opacity: .72; }
  .auth-orbit span { width: 55px; height: 55px; left: 28px; }
  .auth-panel { padding: 32px 20px calc(34px + env(safe-area-inset-bottom)); align-items: start; }
  .auth-panel-inner { width: 100%; }
  .auth-mobile-back { display: inline-flex; margin: 0 0 28px; padding: 0; border: 0; background: transparent; color: #6c7b72; cursor: pointer; font-size: 11px; font-weight: 800; }
  .auth-panel h2 { font-size: clamp(38px, 11vw, 46px); }
  .auth-panel-lead { font-size: 13px; }
  .auth-tabs { margin: 24px 0 22px; }
  .auth-form { gap: 15px; }
  .auth-field > input, .password-input { min-height: 55px; }
  .auth-submit { min-height: 58px; }
}

@media (max-width: 390px) {
  .brand-word { display: none; }
  .hero-panel { min-height: 350px; padding: 24px 20px; }
  .hero-copy h1 { font-size: clamp(48px, 15vw, 58px); }
  .hero-art { width: 190px; height: 190px; opacity: .64; }
  .mood-orb { width: 62px; }
  .mood-option { font-size: 11px; }
  .duration-chip strong { font-size: 16px; }
  .nav-item { gap: 5px; }
  .recommendation-stage { min-height: 510px; }
  .recommendation-copy h1 { font-size: 47px; }
  .context-line { margin-bottom: 13px; }
  .recommendation-summary { margin: 18px 0; }
  .journey-stats { gap: 10px; }
  .metric-card { min-height: 142px; padding: 19px 16px; }
}

@media (max-width: 340px) {
  .topbar-actions { gap: 6px; }
  .micro-stat { min-width: 48px; padding: 0 10px; }
  .checkin-card { padding-inline: 15px; }
  .mood-orb { width: 56px; }
  .duration-options { grid-template-columns: repeat(2, 1fr); }
  .journey-stats { grid-template-columns: 1fr; }
  .hero-metric { grid-column: auto; }
  .reflection-options { grid-template-columns: 1fr; }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .practice-screen { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .practice-progress { margin-top: 9px; }
  .practice-focus { grid-template-columns: .7fr 1.3fr; gap: 18px; padding: 6px 5vw; text-align: left; }
  .pose-visual-card { width: min(42dvh, 230px); max-height: 62dvh; aspect-ratio: 4 / 5; }
  .breath-halo { width: min(38dvh, 170px); }
  .pose-mark { width: 70px; height: 70px; font-size: 34px; }
  .practice-copy { margin: 0; }
  .practice-copy h1 { font-size: 38px; }
  .practice-copy > p:not(.eyebrow):not(.timer-note) { margin: 9px 0 0; font-size: 13px; }
  .spoken-cue { margin-top: 10px; padding: 10px 12px; }
  .spoken-cue p { min-height: 0; font-size: 12px; }
  .practice-copy > .next-cue { display: none; }
  .timer { margin-top: 8px; font-size: 34px; }
  .guide-toggles { margin-top: 8px; justify-content: flex-start; }
  .practice-controls { position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .round-control { width: 46px; height: 46px; }
  .play-control { width: 58px; height: 58px; }
  .practice-steps-drawer { max-width: calc(100% - 250px); margin-top: 4px; padding-top: 8px; }
}

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

/* Product release: compact mobile navigation, account management and guided sessions. */
.brand-side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.navigation-trigger { width: 42px; height: 42px; padding: 11px; border: 1px solid var(--border); border-radius: 14px; display: grid; align-content: center; gap: 4px; background: rgba(255,255,255,.62); cursor: pointer; }
.navigation-trigger span { width: 17px; height: 2px; border-radius: 2px; background: var(--forest); transition: transform .2s ease; }
.navigation-trigger[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.navigation-trigger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navigation-trigger[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
.side-navigation { position: absolute; left: 0; top: 74px; z-index: 40; width: min(280px, calc(100vw - 28px)); padding: 18px; border: 1px solid rgba(255,255,255,.85); border-radius: 24px; background: rgba(255,252,246,.98); box-shadow: 0 24px 70px rgba(35,45,35,.17); backdrop-filter: blur(18px); }
.side-navigation[hidden], .profile-menu[hidden], #motionStudioLink[hidden] { display: none !important; }
.side-navigation > .eyebrow { margin: 4px 0 12px; }
.side-nav-item { width: 100%; min-height: 49px; padding: 0 10px; border: 0; border-radius: 13px; display: flex; align-items: center; gap: 12px; color: #395346; background: transparent; cursor: pointer; text-align: left; font-size: 13px; font-weight: 700; }
.side-nav-item:hover { background: #eaf0e5; }
.side-nav-item > span:first-child { width: 25px; color: var(--forest); text-align: center; font-size: 19px; }
.avatar-photo { display: block; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #e8eedf; }
.profile-menu { width: 245px; }
.menu-action { min-height: 40px; }
.menu-action > span { display: inline-block; min-width: 20px; }

.onboarding-age-field { width: min(100%, 310px); margin: 42px auto 18px; display: grid; gap: 10px; color: #536459; font-size: 12px; font-weight: 800; }
.age-input-wrap { min-height: 76px; padding: 0 18px; border: 1px solid rgba(35,67,52,.13); border-radius: 19px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.82); }
.age-input-wrap input { width: 100%; border: 0; outline: none; color: var(--ink); background: transparent; font-size: 36px; font-weight: 700; }
.age-input-wrap > span { color: #859189; font-size: 13px; }
.onboarding-age-field > small { color: #7e8982; line-height: 1.5; font-size: 11px; }
.multi-select-options .onboarding-option.is-selected > i { background: var(--forest); }

.account-page { width: min(100%, 780px); margin: 0 auto; }
.compact-page-heading { margin: 4px 0 20px; }
.compact-page-heading .dark-back { color: #647268; }
.compact-page-heading .eyebrow { margin: 15px 0 6px; }
.compact-page-heading h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(38px, 5vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.compact-page-heading > p:last-child { margin: 9px 0 0; color: #718077; font-size: 13px; line-height: 1.55; }
.account-card { padding: 26px; border: 1px solid rgba(255,255,255,.75); border-radius: 26px; background: rgba(255,252,246,.89); box-shadow: var(--shadow-soft); }
.profile-photo-editor { padding-bottom: 21px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 16px; }
.profile-photo-editor > img { width: 78px; height: 78px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; background: #e8eedf; }
.profile-photo-editor strong, .profile-photo-editor small { display: block; }
.profile-photo-editor strong { color: var(--ink); font-family: Georgia, serif; font-size: 18px; }
.profile-photo-editor small { margin-top: 4px; color: #819088; font-size: 11px; }
.photo-upload-button { display: inline-flex; margin-top: 8px; color: var(--forest); cursor: pointer; font-size: 11px; font-weight: 800; }
.profile-form-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.account-field { display: grid; gap: 7px; color: #4d6054; font-size: 12px; font-weight: 750; }
.account-field input, .account-field select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid rgba(33,75,54,.13); border-radius: 13px; color: var(--ink); background: rgba(255,255,255,.85); font-size: 13px; }
.account-field input[readonly] { color: #7d8980; background: #f2eee5; }
.field-span-full { grid-column: 1 / -1; }
.profile-goals { margin-top: 23px; }
.goal-chip-row, .session-section-pills { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.goal-chip { min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; color: #65736a; background: #fffdf8; cursor: pointer; font-size: 11px; font-weight: 700; }
.goal-chip.is-selected { border-color: rgba(49,95,69,.35); color: var(--forest); background: #e6ecdc; }
.account-save { margin-top: 22px; }

.settings-card { padding: 26px; }
.settings-section + .settings-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.settings-section h2 { margin: 7px 0 15px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.language-options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.language-option { min-height: 88px; padding: 13px; border: 1px solid var(--border); border-radius: 17px; display: grid; align-content: center; gap: 5px; background: rgba(255,255,255,.68); cursor: pointer; text-align: left; }
.language-option strong { font-size: 15px; }
.language-option small { color: #78847b; font-size: 10px; line-height: 1.4; }
.language-option.is-selected { border-color: rgba(49,95,69,.38); background: #e8eedf; }
.settings-toggle { width: 100%; min-height: 72px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: transparent; cursor: pointer; text-align: left; }
.settings-toggle:last-child { border-bottom: 0; }
.settings-toggle strong, .settings-toggle small { display: block; }
.settings-toggle strong { font-size: 13px; }
.settings-toggle small { margin-top: 4px; color: #78847b; font-size: 10px; }
.switch { width: 42px; height: 24px; padding: 3px; border-radius: 999px; background: #d9ddd6; transition: .2s ease; }
.switch::after { content: ''; display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.switch.is-on { background: var(--forest); }
.switch.is-on::after { transform: translateX(18px); }
.settings-note { margin: 18px 0 0; color: #7d8980; font-size: 11px; }

.compact-recommendation { width: min(100%, 780px); margin: 0 auto; display: block; }
.recommendation-heading { margin-bottom: 16px; }
.recommendation-context { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.recommendation-context > span { padding: 6px 9px; border-radius: 999px; color: #596a5f; background: rgba(255,255,255,.68); font-size: 10px; font-weight: 700; }
.recommended-session-list { display: grid; gap: 10px; }
.recommended-session-card { min-height: 100px; padding: 10px; border: 1px solid rgba(33,75,54,.11); border-radius: 20px; display: grid; grid-template-columns: 78px minmax(0, 1fr) 27px; align-items: center; gap: 13px; background: rgba(255,252,246,.84); cursor: pointer; text-align: left; box-shadow: 0 7px 22px rgba(42,44,32,.045); }
.recommended-session-card.is-selected { border-color: rgba(49,95,69,.35); background: #e9eee2; box-shadow: inset 0 0 0 1px rgba(49,95,69,.09); }
.recommended-session-card > img { width: 78px; height: 76px; border-radius: 14px; object-fit: contain; object-position: center; background: #e6ecdc; }
.recommended-session-copy { min-width: 0; display: grid; gap: 5px; }
.recommended-session-copy > small { color: #7c866f; font-size: 8px; font-weight: 850; letter-spacing: .09em; }
.recommended-session-copy > strong { overflow: hidden; color: var(--ink); font-family: Georgia, serif; font-size: 18px; font-weight: 500; line-height: 1.12; text-overflow: ellipsis; }
.recommended-session-copy > span { color: #76817a; font-size: 10px; line-height: 1.4; }
.recommended-session-card > i { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; color: var(--forest); background: rgba(255,255,255,.8); font-style: normal; font-size: 12px; }
.recommendation-begin { margin-top: 14px; }
.create-own-shortcut { width: 100%; min-height: 43px; margin-top: 8px; padding: 9px; border-color: transparent; color: var(--forest); background: transparent; font-size: 11px; }
.selected-session-detail { margin-top: 14px; padding: 17px; border: 1px solid rgba(255,255,255,.75); border-radius: 21px; background: rgba(255,252,246,.86); }
.selected-session-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.selected-session-head h2 { margin: 4px 0 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.selected-session-head > span { flex: 0 0 auto; color: #738078; font-size: 10px; }
.selected-session-detail .match-reasons { margin-top: 10px; }
.selected-session-summary { margin: 11px 0 0; color: #718077; font-size: 12px; line-height: 1.55; }
.session-section-pills > span { padding: 6px 9px; border-radius: 999px; color: #56705b; background: #e8eee1; font-size: 9px; }
.sequence-preview { margin-top: 14px; border-top: 1px solid var(--border); }
.sequence-preview > summary { padding: 12px 0 0; color: var(--forest); cursor: pointer; font-size: 11px; font-weight: 800; }
.sequence-preview .sequence-list { margin-top: 9px; }

.session-library, .pose-library, .session-builder { width: min(100%, 840px); }
.create-session-cta { margin: 2px 0 18px; }
.custom-session-list { display: grid; gap: 14px; }
.custom-session-card { padding: 18px; border: 1px solid rgba(255,255,255,.78); border-radius: 23px; background: rgba(255,252,246,.87); box-shadow: var(--shadow-soft); }
.custom-session-head { display: flex; align-items: flex-start; justify-content: space-between; }
.custom-session-head h2 { margin: 5px 0; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.custom-session-head > div > span { color: #76817a; font-size: 11px; }
.session-more { width: 37px; height: 37px; border: 0; border-radius: 12px; background: #e9eee2; cursor: pointer; }
.session-pose-strip { margin-top: 15px; display: flex; gap: 8px; }
.session-pose-strip img { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.95); border-radius: 12px; object-fit: contain; object-position: center; background: #e6ecdc; }
.session-card-actions { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.session-card-actions .secondary-cta { margin-top: 0; min-height: 41px; padding: 9px 14px; font-size: 11px; }
.primary-mini { min-height: 41px; padding: 0 15px; border: 0; border-radius: 12px; color: #fffaf2; background: var(--forest); cursor: pointer; font-size: 11px; font-weight: 800; }
.empty-library { padding-block: 47px; text-align: center; }
.empty-library > span { color: var(--forest); font-size: 40px; }
.empty-library h2 { margin: 10px 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.empty-library > p { max-width: 420px; margin: 0 auto; color: #738078; font-size: 12px; line-height: 1.6; }
.library-loading { padding: 36px 15px; color: #6d7971; text-align: center; font-size: 12px; }

.pose-toolbar { display: flex; gap: 9px; }
.pose-search { min-width: 0; min-height: 47px; flex: 1; padding: 0 11px; border: 1px solid var(--border); border-radius: 15px; display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.75); }
.pose-search > span { color: #748179; font-size: 22px; }
.pose-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.filter-chip { min-height: 47px; padding: 0 11px; border: 1px solid var(--border); border-radius: 14px; color: #748179; background: rgba(255,255,255,.72); cursor: pointer; font-size: 10px; font-weight: 750; }
.filter-chip.is-selected { border-color: rgba(49,95,69,.32); color: var(--forest); background: #e8eee1; }
.difficulty-filters { margin: 12px 0 16px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.difficulty-filters::-webkit-scrollbar { display: none; }
.difficulty-chip { flex: 0 0 auto; min-height: 31px; padding: 0 11px; border: 1px solid transparent; border-radius: 999px; color: #728077; background: rgba(255,255,255,.62); cursor: pointer; font-size: 10px; }
.difficulty-chip.is-selected { border-color: rgba(49,95,69,.3); color: var(--forest); background: #e8eee1; }
.pose-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pose-library-card { min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.85); border-radius: 18px; position: relative; background: rgba(255,252,246,.87); box-shadow: 0 6px 24px rgba(49,43,31,.055); }
.pose-image-button { width: 100%; padding: 0; border: 0; border-radius: 13px; position: relative; overflow: hidden; background: #e6ecdc; cursor: pointer; }
.pose-image-button > img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: contain; object-position: center; background: #e5eadf; }
.selected-pose-pill { position: absolute; left: 8px; bottom: 8px; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(33,75,54,.82); font-size: 9px; }
.favorite-button { width: 34px; height: 34px; border: 0; border-radius: 50%; position: absolute; top: 15px; right: 15px; color: var(--forest); background: rgba(255,255,255,.86); cursor: pointer; font-size: 18px; }
.favorite-button.is-favorite { color: #cb6254; }
.pose-library-copy { min-height: 57px; padding: 9px 3px 5px; }
.pose-library-copy strong, .pose-library-copy small { display: block; }
.pose-library-copy strong { overflow: hidden; font-family: Georgia, serif; font-size: 14px; font-weight: 500; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.pose-library-copy small { margin-top: 4px; overflow: hidden; color: #76817a; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.add-pose-button { width: 100%; min-height: 33px; border: 0; border-radius: 10px; color: var(--forest); background: #e8eee1; cursor: pointer; font-size: 10px; font-weight: 750; }

.builder-card > .account-field { margin-bottom: 17px; }
.builder-summary { display: flex; align-items: center; justify-content: space-between; color: #728077; font-size: 12px; }
.builder-summary > strong { color: var(--forest); font-size: 17px; }
.add-pose-cta { width: 100%; min-height: 47px; margin-top: 13px; color: var(--forest); font-size: 12px; }
.builder-pose-list { display: grid; gap: 9px; margin-top: 14px; }
.builder-pose-row { min-width: 0; padding: 9px; border: 1px solid var(--border); border-radius: 15px; display: grid; grid-template-columns: 52px minmax(0, 1fr) 59px 28px; align-items: center; gap: 9px; background: rgba(255,255,255,.65); }
.builder-pose-row > img { width: 52px; height: 52px; border-radius: 11px; object-fit: contain; object-position: center; background: #e6ecdc; }
.builder-pose-row > div:not(.pose-order-actions) { min-width: 0; }
.builder-pose-row > div > strong, .builder-pose-row > div > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.builder-pose-row > div > strong { font-size: 11px; }
.builder-pose-row > div > small { margin-top: 4px; color: #748179; font-size: 9px; }
.pose-duration-input { min-width: 0; display: grid; gap: 2px; justify-items: center; }
.pose-duration-input input { width: 52px; height: 33px; padding: 0 4px; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); background: #fff; text-align: center; font-size: 11px; }
.pose-duration-input span { color: #748179; font-size: 9px; }
.pose-order-actions { display: grid; gap: 2px; }
.pose-order-actions button { width: 25px; height: 21px; border: 0; border-radius: 6px; color: var(--forest); background: #eef1e9; cursor: pointer; font-size: 11px; }
.pose-order-actions button:disabled { opacity: .32; }
.delete-session-link { width: 100%; min-height: 40px; margin-top: 8px; border: 0; color: #a15047; background: transparent; cursor: pointer; font-size: 11px; }

.practice-header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.fullscreen-control { width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; color: #fff8ec; background: rgba(255,255,255,.08); cursor: pointer; font-size: 18px; }
.fullscreen-control.is-active { color: #173529; background: #edc781; }
.practice-trace-control { min-height: 30px; padding: 0 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: #fff4df; background: rgba(239,202,139,.13); cursor: pointer; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.practice-favorite { position: absolute; z-index: 4; top: 22px; right: 22px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff8ec; background: rgba(21,53,37,.65); cursor: pointer; font-size: 21px; }
.practice-favorite.is-favorite { color: #ffafa0; }
body.is-immersive-practice.is-practice-mode .app-main { width: 100%; height: 100dvh; max-width: none; padding: 0; }
body.is-immersive-practice.is-practice-mode .practice-screen { height: 100dvh; min-height: 100dvh; border-radius: 0; }

@media (max-width: 720px) {
  :root { --mobile-nav-space: 72px; }

  body.is-app-mode { min-height: 100dvh; }
  .topbar { height: 58px; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .brand-side { gap: 8px; }
  .navigation-trigger { width: 36px; height: 36px; padding: 9px; border-radius: 12px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-word { font-size: 20px; }
  .topbar-actions { gap: 7px; }
  .micro-stat { min-width: 43px; height: 35px; padding: 0 10px; font-size: 11px; }
  .icon-button { width: 37px; height: 37px; }
  .avatar-photo { width: 31px; height: 31px; }
  .profile-menu, .side-navigation { top: 54px; }
  .side-navigation { left: 12px; }

  .bottom-nav { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; padding: 5px max(9px, env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(9px, env(safe-area-inset-left)); transform: none; border: 0; border-top: 1px solid rgba(35,67,52,.10); border-radius: 19px 19px 0 0; background: rgba(255,252,246,.98); box-shadow: 0 -8px 35px rgba(49,43,31,.10); }
  .nav-item { min-height: 49px; border-radius: 13px; font-size: 11px; }
  .app-main { padding: 2px max(11px, env(safe-area-inset-right)) calc(69px + env(safe-area-inset-bottom)) max(11px, env(safe-area-inset-left)); }

  .home-grid { gap: 9px; }
  .hero-panel { min-height: 120px; padding: 15px 17px; border-radius: 20px; }
  .hero-copy .eyebrow { margin-bottom: 6px; font-size: 8px; }
  .hero-copy h1 { font-size: clamp(31px, 8.8vw, 41px); line-height: 1; }
  .script-kicker { display: inline; margin: 0; font-size: 18px; }
  .hero-lead { margin-top: 6px; max-width: 245px; font-size: 11px; line-height: 1.35; }
  .hero-meta { display: none; }
  .hero-art { width: 125px; height: 125px; right: -29px; bottom: -26px; opacity: .56; }
  .hero-art img { width: 138px; }
  .checkin-card { padding: 15px 13px; border-radius: 20px; }
  .section-heading { gap: 8px; }
  .section-heading .eyebrow { margin-bottom: 5px; font-size: 8px; }
  .section-heading h2 { font-size: clamp(19px, 5.4vw, 23px); line-height: 1.08; }
  .step-pill { min-width: 31px; height: 31px; font-size: 10px; }
  .field-group { margin-top: 14px; }
  .field-label { margin-bottom: 8px; font-size: 11px; }
  .mood-grid { gap: 8px 4px; }
  .mood-option { gap: 4px; font-size: 10px; }
  .mood-orb { width: 48px; border-radius: 15px; }
  .checkin-split { grid-template-columns: 1fr 1.15fr; gap: 8px; }
  .compact-field { min-width: 0; padding: 11px 9px; }
  .compact-field .field-label, .field-row .field-label { margin-bottom: 7px; font-size: 10px; }
  .field-value { font-size: 9px; }
  .range-labels { font-size: 8px; }
  .duration-options { gap: 4px; }
  .duration-chip { min-height: 42px; border-radius: 10px; }
  .duration-chip strong { font-size: 13px; }
  .duration-chip span { font-size: 8px; }
  .primary-cta { min-height: 51px; margin-top: 13px; border-radius: 15px; font-size: 16px; }
  .cta-arrow { width: 35px; height: 35px; border-radius: 11px; }
  .privacy-note, .today-aside { display: none; }

  .compact-page-heading { margin: 2px 1px 15px; }
  .compact-page-heading .eyebrow { margin-top: 11px; }
  .compact-page-heading h1 { font-size: clamp(34px, 9vw, 42px); }
  .compact-page-heading > p:last-child { margin-top: 6px; font-size: 11px; }
  .recommended-session-list { gap: 8px; }
  .recommended-session-card { min-height: 86px; padding: 8px; border-radius: 16px; grid-template-columns: 66px minmax(0, 1fr) 23px; gap: 10px; }
  .recommended-session-card > img { width: 66px; height: 66px; border-radius: 11px; }
  .recommended-session-copy { gap: 4px; }
  .recommended-session-copy > strong { font-size: 15px; }
  .recommended-session-copy > small { font-size: 9px; }
  .recommended-session-copy > span { font-size: 9px; }
  .recommendation-begin { margin-top: 11px; }
  .create-own-shortcut { min-height: 35px; margin-top: 4px; }
  .selected-session-detail { margin-top: 9px; padding: 13px; border-radius: 17px; }
  .selected-session-head h2 { font-size: 17px; }
  .selected-session-summary { font-size: 11px; }
  .match-reasons > span { font-size: 9px; }

  .account-card { padding: 17px 14px; border-radius: 19px; }
  .profile-photo-editor { padding-bottom: 15px; gap: 13px; }
  .profile-photo-editor > img { width: 62px; height: 62px; }
  .profile-form-grid { margin-top: 15px; gap: 12px 9px; }
  .account-field { gap: 5px; font-size: 10px; }
  .account-field input, .account-field select { min-height: 43px; padding: 0 10px; border-radius: 11px; font-size: 12px; }
  .profile-goals { margin-top: 16px; }
  .account-save { margin-top: 15px; }
  .settings-section + .settings-section { margin-top: 19px; padding-top: 18px; }
  .settings-section h2 { margin-block: 6px 12px; font-size: 20px; }
  .language-options { gap: 8px; }
  .language-option { min-height: 78px; padding: 10px; }
  .settings-toggle { min-height: 61px; }

  .pose-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .pose-library-card { padding: 7px; border-radius: 15px; }
  .pose-image-button { border-radius: 11px; }
  .favorite-button { width: 31px; height: 31px; top: 12px; right: 12px; }
  .pose-library-copy strong { font-size: 13px; }
  .builder-pose-row { grid-template-columns: 46px minmax(0, 1fr) 52px 25px; gap: 7px; padding: 7px; }
  .builder-pose-row > img { width: 46px; height: 46px; }
  .pose-duration-input input { width: 47px; }

  body.is-onboarding-mode { height: 100dvh; overflow: hidden; }
  .onboarding-page { height: 100dvh; min-height: 100dvh; display: flex; flex-direction: column; }
  .onboarding-header { flex: 0 0 58px; width: calc(100% - 26px); height: 58px; gap: 10px; grid-template-columns: minmax(75px, 1fr) minmax(90px, 1.3fr) auto; }
  .onboarding-header .site-brand { gap: 5px; font-size: 17px; }
  .onboarding-header .site-brand img { width: 27px; height: 27px; }
  .onboarding-header .site-brand span { display: inline; }
  .onboarding-layout { width: 100%; min-height: 0; flex: 1; padding: 8px 12px max(12px, env(safe-area-inset-bottom)); display: block; }
  .onboarding-intro { display: none; }
  .onboarding-question { height: 100%; min-height: 0; padding: 19px 15px 13px; border-radius: 23px; display: flex; flex-direction: column; }
  .onboarding-question .eyebrow { margin-bottom: 8px; font-size: 9px; }
  .onboarding-question h2 { font-size: clamp(33px, 9.2vw, 43px); line-height: 1.02; }
  .onboarding-note { margin: 8px 0 17px; font-size: 11px; }
  .onboarding-options { gap: 8px; }
  .onboarding-option { min-height: 59px; padding: 7px 9px; border-radius: 14px; grid-template-columns: 41px minmax(0, 1fr) 23px; gap: 9px; }
  .onboarding-mark { width: 41px; height: 41px; border-radius: 12px; font-size: 16px; }
  .onboarding-option strong { font-size: 15px; }
  .onboarding-option small { margin-top: 2px; font-size: 9px; }
  .onboarding-option > i { width: 22px; height: 22px; }
  .onboarding-age-field { margin-top: 30px; }
  .onboarding-actions { margin-top: auto; padding-top: 12px; position: static; }
  .onboarding-next { min-height: 48px; min-width: 150px; border-radius: 14px; font-size: 15px; }
  .onboarding-next i { width: 34px; height: 34px; }

  body.is-auth-mode { height: 100dvh; overflow: hidden; }
  body.is-auth-mode .app-main { width: 100%; height: 100dvh; min-height: 100dvh; padding: 0; display: block; }
  .auth-gateway { width: 100%; height: 100dvh; min-height: 100dvh; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); border: 0; border-radius: 0; box-shadow: none; }
  .auth-story { height: clamp(102px, 17dvh, 139px); min-height: 0; padding: max(12px, env(safe-area-inset-top)) 18px 10px; }
  .auth-story-brand { gap: 7px; font-size: 20px; }
  .auth-story-brand img { width: 28px; height: 28px; }
  .auth-story-copy { margin: auto 0 0; }
  .auth-story-copy .eyebrow, .auth-story-copy > p:not(.eyebrow), .auth-formula, .auth-path, .auth-orbit { display: none; }
  .auth-story-copy h1 { font-size: clamp(25px, 6.8vw, 31px); }
  .auth-story-copy h1 br { display: none; }
  .auth-panel { min-height: 0; padding: 15px 18px max(12px, env(safe-area-inset-bottom)); overflow: hidden; display: flex; align-items: flex-start; }
  .auth-panel-inner { width: min(100%, 440px); margin: 0 auto; }
  .auth-mobile-back { display: none; }
  .auth-panel-inner > .eyebrow { margin-bottom: 6px; font-size: 9px; }
  .auth-panel h2 { font-size: clamp(29px, 8vw, 37px); line-height: 1.02; }
  .auth-panel-lead { margin-top: 6px; font-size: 11px; line-height: 1.4; }
  .auth-tabs { margin: 14px 0 12px; padding: 4px; }
  .auth-tab { min-height: 38px; font-size: 11px; }
  .auth-form { gap: 10px; }
  .auth-field { gap: 5px; font-size: 10px; }
  .auth-field > input, .password-input { min-height: 45px; border-radius: 12px; }
  .auth-field > input, .password-input input { font-size: 14px; }
  .auth-terms { gap: 7px; font-size: 9px; line-height: 1.35; }
  .auth-terms input { width: 16px; height: 16px; }
  .auth-submit { min-height: 49px; margin-top: 0; border-radius: 14px; font-size: 15px; }
  .auth-submit i { width: 35px; height: 35px; }
  .auth-device-note { margin-top: 9px; font-size: 9px; }

  body.is-practice-mode .app-main { width: 100%; height: 100dvh; min-height: 100dvh; padding: 0; }
  .practice-screen { height: 100dvh; min-height: 100dvh; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(9px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); display: grid; grid-template-rows: 38px 3px minmax(0, 1fr) 62px 54px; gap: 7px; overflow: hidden; }
  .practice-topline { grid-template-columns: 1fr auto; min-width: 0; }
  .practice-session-name { display: none; }
  .practice-header-actions { gap: 7px; font-size: 10px; }
  .fullscreen-control { width: 34px; height: 34px; }
  .practice-progress { height: 3px; margin: 0; }
  .practice-focus { min-height: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(145px, 1.15fr) minmax(0, .85fr); gap: 8px; align-items: stretch; padding: 0; }
  .practice-visual { min-height: 0; align-items: stretch; }
  .pose-visual-card { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 19px; }
  .pose-visual-card::before { inset: 9px; border-radius: 13px; }
  .pose-visual-card img { width: 100%; height: 100%; object-fit: contain; }
  .live-guide-pill { left: 13px; top: 13px; padding: 6px 8px; font-size: 9px; }
  .practice-favorite { top: 11px; right: 11px; width: 31px; height: 31px; font-size: 18px; }
  .pose-meta-overlay { left: 12px; right: 12px; bottom: 11px; }
  .pose-meta-overlay span { padding: 5px 7px; font-size: 9px; }
  .practice-copy { width: 100%; min-height: 0; overflow: hidden; text-align: center; }
  .practice-copy .eyebrow { margin: 0 0 4px; font-size: 8px; }
  .practice-copy h1 { overflow: hidden; font-size: clamp(23px, 7vw, 32px); line-height: 1.04; text-overflow: ellipsis; white-space: nowrap; }
  .spoken-cue { margin: 8px auto 0; padding: 8px 10px; border-radius: 13px; text-align: left; }
  .spoken-cue > span { margin-bottom: 4px; font-size: 8px; }
  .spoken-cue p { min-height: 0; max-height: 42px; overflow: hidden; font-size: 12px; line-height: 1.35; }
  .practice-copy > .next-cue { min-height: 0; max-height: 17px; margin: 5px 2px 0; overflow: hidden; font-size: 9px; }
  .timer { margin-top: 5px; font-size: clamp(26px, 6.7vw, 32px); }
  .timer-note { display: none; }
  .guide-toggles { margin-top: 5px; justify-content: center; gap: 6px; }
  .guide-toggle { min-height: 27px; padding: 0 8px; font-size: 8px; }
  .practice-controls { gap: 14px; }
  .round-control { width: 43px; height: 43px; }
  .play-control { width: 57px; height: 57px; font-size: 19px; }
  .practice-steps-drawer { min-width: 0; margin-top: 0; padding: 7px 0 0; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
  .mini-step { min-width: 103px; min-height: 37px; gap: 6px; }
  .mini-step > span { width: 24px; height: 24px; }
  .mini-step small { font-size: 9px; }
}

@media (max-width: 390px) {
  .brand-word { display: inline; font-size: 18px; }
  .brand-side { gap: 6px; }
  .navigation-trigger { width: 33px; height: 33px; }
  .topbar { padding-inline: 10px; }
  .micro-stat { min-width: 37px; padding-inline: 7px; }
  .hero-panel { min-height: 109px; padding: 12px 14px; }
  .hero-copy h1 { font-size: 34px; }
  .script-kicker { font-size: 16px; }
  .checkin-card { padding: 12px 10px; }
  .mood-orb { width: 43px; }
  .mood-option { font-size: 9px; }
  .compact-field { padding: 9px 7px; }
  .duration-chip { min-height: 39px; }
  .recommended-session-card { grid-template-columns: 59px minmax(0, 1fr) 21px; gap: 8px; }
  .recommended-session-card > img { width: 59px; height: 61px; }
  .recommended-session-copy > strong { font-size: 14px; }
  .account-card { padding-inline: 12px; }
  .builder-pose-row { grid-template-columns: 42px minmax(0, 1fr) 47px 23px; gap: 5px; }
  .builder-pose-row > img { width: 42px; height: 42px; }
  .pose-duration-input input { width: 44px; }
  .onboarding-option { min-height: 54px; grid-template-columns: 36px minmax(0, 1fr) 21px; }
  .onboarding-mark { width: 36px; height: 36px; }
  .onboarding-option strong { font-size: 14px; }
}

@media (max-width: 720px) and (max-height: 680px) {
  .auth-story { height: 88px; }
  .auth-story-copy h1 { font-size: 24px; }
  .auth-panel { padding-top: 10px; }
  .auth-panel h2 { font-size: 28px; }
  .auth-panel-lead { display: none; }
  .auth-tabs { margin-block: 9px; }
  .auth-form { gap: 8px; }
  .auth-field > input, .password-input { min-height: 40px; }
  .auth-device-note { display: none; }
  .onboarding-question { padding-top: 14px; }
  .onboarding-question h2 { font-size: 34px; }
  .onboarding-note { margin-bottom: 11px; }
  .onboarding-options { gap: 6px; }
  .onboarding-option { min-height: 51px; }
  .onboarding-mark { width: 35px; height: 35px; }
  .practice-screen { grid-template-rows: 34px 3px minmax(0, 1fr) 54px 46px; gap: 5px; }
  .practice-focus { grid-template-rows: minmax(125px, 1.12fr) minmax(0, .88fr); gap: 5px; }
  .practice-copy h1 { font-size: 24px; }
  .spoken-cue { margin-top: 5px; padding: 6px 9px; }
  .practice-copy > .next-cue { display: none; }
  .timer { margin-top: 3px; font-size: 27px; }
  .guide-toggles { margin-top: 3px; }
  .round-control { width: 40px; height: 40px; }
  .play-control { width: 50px; height: 50px; }
}

/* Practice animation engine release: preload-first, synchronized and 9:16 immersive. */
body.is-practice-mode { overflow: hidden; background: #102d20; }
body.is-practice-mode .topbar,
body.is-practice-mode .bottom-nav { display: none; }
body.is-practice-mode .app-main { width: 100%; height: 100dvh; max-width: none; padding: 0; overflow: hidden; }

.practice-screen,
.practice-preparation-screen {
  width: 100%; height: 100dvh; min-height: 100dvh; padding: 0; border-radius: 0;
  display: grid; place-items: center; overflow: hidden; position: relative;
  color: #fff9ed;
  background:
    radial-gradient(circle at 50% 18%, rgba(204,222,187,.20), transparent 31%),
    linear-gradient(150deg, #102d20, #214b34 52%, #112e21);
  box-shadow: none;
}
.practice-screen::before,
.practice-preparation-screen::before {
  content: ""; width: min(92vw, 760px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%; position: absolute; left: 50%; top: -38vw; transform: translateX(-50%);
  box-shadow: 0 0 0 70px rgba(255,255,255,.014), 0 0 0 140px rgba(255,255,255,.01);
}
.practice-stage,
.practice-preparation-stage {
  width: min(100vw, 56.25dvh); height: min(100dvh, 177.7778vw); aspect-ratio: 9 / 16;
  min-width: 0; min-height: 0; padding: max(14px, env(safe-area-inset-top)) 14px max(10px, env(safe-area-inset-bottom));
  border: 1px solid rgba(255,255,255,.08); border-radius: 30px; position: relative; z-index: 1;
  display: grid; grid-template-rows: 38px 3px minmax(0, 1fr) 60px 47px; gap: 7px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(7,25,16,.16));
  box-shadow: 0 34px 90px rgba(3,17,10,.32); overflow: hidden;
}
.practice-topline { grid-template-columns: 1fr auto; min-width: 0; }
.practice-session-name { display: none; }
.practice-progress { margin: 0; }
.practice-focus { min-height: 0; padding: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.25fr) minmax(170px, .75fr); gap: 7px; }
.practice-visual { min-height: 0; align-items: stretch; }
.pose-visual-card { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 22px; background: linear-gradient(155deg, #e7ecdc, #8fa78c); }
.pose-visual-card::before { inset: 10px; border-radius: 15px; }
.pose-visual-card .practice-frame-layer {
  width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1; opacity: 1; visibility: visible;
  object-fit: contain; object-position: center; background: linear-gradient(155deg, #eef1e6, #8fa98f);
  transition: opacity var(--frame-transition-ms, 180ms) var(--frame-easing, ease-in-out), transform .8s ease;
  will-change: opacity; backface-visibility: hidden;
}
.pose-visual-card .practice-frame-layer.is-visible { z-index: 1; opacity: 1; visibility: visible; }
.pose-visual-card.is-live .practice-frame-layer.is-visible { transform: scale(1.008); }
.pose-visual-shade { z-index: 2; background: linear-gradient(180deg, rgba(10,34,21,.03), transparent 55%, rgba(8,26,17,.36)); }
.live-guide-pill, .practice-favorite, .pose-meta-overlay { z-index: 4; }
.practice-copy { width: 100%; min-height: 0; padding-inline: 3px; overflow: hidden; text-align: center; }
.practice-copy .eyebrow { margin: 0 0 4px; font-size: 8px; }
.practice-copy h1 { overflow: hidden; font-size: clamp(25px, 6.6vw, 34px); line-height: 1.03; text-overflow: ellipsis; white-space: nowrap; }
.spoken-cue { margin: 8px auto 0; padding: 8px 10px; border-radius: 13px; text-align: left; }
.spoken-cue p { min-height: 0; max-height: 44px; overflow: hidden; font-size: 12px; line-height: 1.36; }
.practice-copy > .next-cue { min-height: 16px; max-height: 18px; margin: 5px 2px 0; overflow: hidden; font-size: 9px; }
.timer { margin-top: 5px; font-size: clamp(27px, 6.5vw, 34px); }
.timer-note { display: none; }
.guide-toggles { margin-top: 4px; justify-content: center; gap: 6px; }
.guide-toggle { min-height: 27px; padding-inline: 8px; font-size: 8px; }
.practice-controls { gap: 15px; }
.round-control { width: 43px; height: 43px; }
.play-control { width: 57px; height: 57px; }
.practice-steps-drawer { min-width: 0; margin: 0; padding: 6px 0 0; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.mini-step { min-width: 104px; min-height: 37px; gap: 6px; }

.practice-trace-panel { position: absolute; inset: 10px; z-index: 30; padding: 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; display: grid; grid-template-rows: auto auto minmax(0,1fr) auto; gap: 9px; color: #163728; background: rgba(255,250,241,.97); box-shadow: 0 28px 80px rgba(0,0,0,.38); backdrop-filter: blur(18px); }
.practice-trace-panel[hidden] { display: none !important; }
.practice-trace-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.practice-trace-head span, .practice-trace-head strong { display: block; }
.practice-trace-head span { color: #8d673e; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.practice-trace-head strong { margin-top: 2px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.practice-trace-head button { width: 34px; height: 34px; border: 1px solid #d8ddcf; border-radius: 10px; color: #17392a; background: #f2f0e7; cursor: pointer; font-size: 20px; }
.practice-trace-panel > p { margin: 0; color: #6a786f; font-size: 9px; line-height: 1.45; }
.practice-trace-panel pre { min-width: 0; min-height: 0; margin: 0; padding: 11px; overflow: auto; border: 1px solid #dce2d6; border-radius: 12px; color: #17392a; background: #eef2e9; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 8px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.practice-trace-download { min-height: 42px; border: 0; border-radius: 12px; color: #fff8ec; background: #20573b; cursor: pointer; font-size: 10px; font-weight: 800; }

.practice-preparation-stage {
  padding: max(24px, env(safe-area-inset-top)) 28px max(24px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.preparation-exit { position: absolute; left: 22px; top: max(20px, env(safe-area-inset-top)); color: rgba(255,255,255,.72); }
.preparation-orbit {
  --ready: 0deg; width: 154px; height: 154px; margin-bottom: 29px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#efca8b var(--ready), rgba(255,255,255,.12) 0);
  box-shadow: 0 0 0 18px rgba(255,255,255,.025), 0 24px 58px rgba(3,19,11,.24);
}
.preparation-orbit::before { content: ""; width: 123px; height: 123px; border-radius: inherit; position: absolute; background: #214a35; }
.preparation-orbit span { z-index: 1; font-family: Georgia, serif; font-size: 37px; }
.preparation-orbit.is-ready { animation: ready-breathe 1.6s ease-in-out infinite; }
.practice-preparation-stage .eyebrow { color: #efca8b; }
.practice-preparation-stage h1 { max-width: 360px; margin: 9px 0 11px; font-family: Georgia, serif; font-size: clamp(34px, 8vw, 46px); font-weight: 500; line-height: 1; }
.practice-preparation-stage > p:not(.eyebrow) { max-width: 340px; margin: 0; color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.6; }
.preparation-progress { width: min(100%, 340px); height: 5px; margin-top: 29px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.12); }
.preparation-progress span { height: 100%; display: block; border-radius: inherit; background: #efca8b; transition: width .2s ease; }
.practice-preparation-stage > small { max-width: 330px; margin-top: 11px; overflow: hidden; color: rgba(255,255,255,.55); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
@keyframes ready-breathe { 50% { transform: scale(1.035); box-shadow: 0 0 0 27px rgba(255,255,255,.018), 0 24px 58px rgba(3,19,11,.24); } }

.practice-warning-dialog { width: min(calc(100% - 24px), 510px); padding: 0; border: 0; border-radius: 26px; color: var(--ink); background: transparent; }
.practice-warning-dialog::backdrop { background: rgba(9,27,18,.68); backdrop-filter: blur(8px); }
.practice-warning-sheet { max-height: min(82dvh, 720px); padding: 25px; border: 1px solid rgba(255,255,255,.88); border-radius: inherit; background: #fffaf1; box-shadow: 0 32px 95px rgba(9,25,16,.32); overflow-y: auto; }
.practice-warning-content h2 { margin: 6px 0 9px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; line-height: 1.05; }
.practice-warning-content > p:not(.eyebrow) { margin: 0; color: #6b786f; font-size: 12px; line-height: 1.55; }
.practice-warning-content ul { margin: 18px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.practice-warning-content li { padding: 11px 12px; border-radius: 14px; background: #edf1e7; }
.practice-warning-content li strong, .practice-warning-content li span { display: block; }
.practice-warning-content li strong { font-size: 11px; }
.practice-warning-content li span { margin-top: 4px; color: #718077; font-size: 9px; line-height: 1.4; }
.practice-warning-content .practice-error-code {
  width: max-content; padding: 3px 6px; border-radius: 6px; color: #8a4c26;
  background: #f8e2ca; font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px; font-weight: 800; letter-spacing: .03em;
}
.practice-warning-content .practice-failed-asset,
.practice-warning-content .practice-asset-fix {
  margin-top: 8px; padding: 8px 9px; border-radius: 9px; color: #58695f; background: rgba(255,255,255,.72);
}
.practice-warning-content .practice-failed-asset b,
.practice-warning-content .practice-asset-fix b { margin-bottom: 4px; color: #183b2a; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.practice-warning-content .practice-failed-asset code {
  display: block; overflow-wrap: anywhere; color: #284b39; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 8px;
}
.practice-warning-content .practice-failed-asset em { display: block; margin-top: 4px; color: #9b552c; font-size: 8px; font-style: normal; }
.practice-warning-content > small { display: block; margin-top: 10px; color: #758279; font-size: 9px; }
.practice-warning-actions { margin-top: 20px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 8px; }
.practice-warning-actions .secondary-cta, .practice-warning-actions .primary-cta { min-height: 49px; margin: 0; padding: 8px 11px; border-radius: 14px; font-size: 10px; }

@media (max-width: 720px) {
  .practice-stage, .practice-preparation-stage { border: 0; border-radius: 0; box-shadow: none; }
  .practice-warning-sheet { padding: 20px 17px; }
  .practice-warning-actions { grid-template-columns: 1fr; }
}

@media (max-width: 390px), (max-height: 700px) {
  .practice-stage { grid-template-rows: 34px 3px minmax(0, 1fr) 53px 43px; gap: 5px; }
  .practice-focus { grid-template-rows: minmax(0, 1.18fr) minmax(148px, .82fr); gap: 5px; }
  .practice-copy h1 { font-size: 24px; }
  .spoken-cue { margin-top: 5px; padding: 6px 9px; }
  .practice-copy > .next-cue { display: none; }
  .timer { margin-top: 3px; font-size: 27px; }
  .guide-toggles { margin-top: 3px; }
  .round-control { width: 40px; height: 40px; }
  .play-control { width: 50px; height: 50px; }
}

/* Product release: contextual check-in, DOB, detailed pose previews and practice home. */
html, body, body * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable="true"] { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img { -webkit-user-drag: none; user-drag: none; }

.site-hero-lead strong { color: var(--forest); font-weight: 800; }
.auth-story-copy > p strong { color: #f0ce96; }

.checkin-context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.environment-field { align-content: start; }
.environment-select-wrap { min-height: 43px; padding: 0 12px; border: 1px solid rgba(32,74,53,.14); border-radius: 13px; display: flex; align-items: center; background: #fffaf2; }
.environment-select-wrap select { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; appearance: none; font-size: 12px; font-weight: 750; }
.environment-select-wrap i { color: var(--forest); font-style: normal; }
.duration-field { margin-top: 12px; padding-block: 15px; }
.duration-slot-options { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.duration-slot { min-width: 0; min-height: 49px; padding-inline: 4px; }
.duration-slot strong { white-space: nowrap; font-size: 15px; }

.field-help { margin-top: -2px; color: #78847b; font-size: 9px; font-weight: 600; }
.dob-input-wrap input { min-width: 0; font-family: inherit; font-size: 20px; }
.settings-select { display: grid; gap: 7px; color: #506056; font-size: 11px; font-weight: 750; }
.settings-select select { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid var(--border); border-radius: 13px; color: var(--ink); background: #fffdf8; font-size: 12px; }
.settings-select small { color: #78847b; font-weight: 500; line-height: 1.45; }

.sequence-list li { padding: 0; display: block; }
.sequence-step-button { width: 100%; min-height: 75px; padding: 9px 2px; border: 0; display: grid; grid-template-columns: 32px 58px minmax(0, 1fr) auto 18px; align-items: center; gap: 11px; color: var(--ink); background: transparent; cursor: pointer; text-align: left; }
.sequence-step-button:hover { background: rgba(232,238,225,.52); }
.sequence-thumbnail { width: 58px; height: 58px; border-radius: 13px; object-fit: contain; object-position: center; background: #e7ecdf; }
.sequence-step-button > i { color: var(--forest); font-style: normal; font-size: 21px; }

.pose-card-main { width: 100%; padding: 0; border: 0; display: block; color: var(--ink); background: transparent; cursor: pointer; text-align: left; }
.pose-card-main:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 13px; }

.practice-home { padding-bottom: 10px; }
.practice-home-feature { padding: 22px; border-radius: 25px; display: grid; grid-template-columns: minmax(0, 1fr) 150px; grid-template-areas: "copy image" "button image"; gap: 15px 20px; color: #fff8ec; background: linear-gradient(140deg, #183b2a, #315b40); box-shadow: var(--shadow-soft); overflow: hidden; }
.practice-home-feature > div { grid-area: copy; }
.practice-home-feature h2 { margin: 7px 0 5px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.practice-home-feature p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.72); font-size: 11px; }
.practice-home-feature > img { grid-area: image; width: 150px; height: 150px; border-radius: 22px; object-fit: contain; object-position: center; background: #dfe8d7; }
.practice-home-feature .primary-cta { grid-area: button; width: min(100%, 330px); margin: 0; min-height: 53px; }
.practice-home-empty { grid-template-columns: 1fr; grid-template-areas: "copy" "button"; }
.practice-home-actions { margin-top: 13px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.practice-home-action { min-width: 0; min-height: 86px; padding: 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; display: grid; grid-template-columns: 32px minmax(0, 1fr) 15px; align-items: center; gap: 9px; color: var(--ink); background: rgba(255,252,246,.86); cursor: pointer; text-align: left; box-shadow: 0 7px 24px rgba(49,43,31,.055); }
.practice-home-action > span { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; color: var(--forest); background: #e8eee1; font-size: 17px; }
.practice-home-action strong, .practice-home-action small { display: block; }
.practice-home-action strong { font-size: 12px; }
.practice-home-action small { margin-top: 4px; color: #77847b; font-size: 9px; line-height: 1.4; }
.practice-home-action > i { color: var(--forest); font-style: normal; }

.details-modal { width: min(720px, calc(100% - 28px)); max-height: min(90dvh, 850px); margin: auto; padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: transparent; box-shadow: 0 34px 100px rgba(20,35,26,.32); overflow: visible; }
.details-modal::backdrop { background: rgba(16,32,24,.62); backdrop-filter: blur(7px); }
.details-sheet { max-height: min(90dvh, 850px); border-radius: 28px; position: relative; background: #fffaf2; overflow: hidden; }
.details-close { z-index: 5; position: absolute; top: 13px; right: 13px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: rgba(19,49,34,.76); cursor: pointer; font-size: 24px; line-height: 1; }
.details-modal-content { max-height: min(90dvh, 850px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.details-hero { min-height: 0; aspect-ratio: 4 / 3; position: relative; color: #fff; background: #dfe7d8; overflow: hidden; }
.details-hero > img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.details-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(16,43,29,.82)); }
.details-hero-copy { position: absolute; left: 25px; right: 65px; bottom: 22px; }
.details-hero-copy .eyebrow { color: #f5d091; }
.details-hero-copy h2 { margin: 7px 0 0; font-family: Georgia, serif; font-size: clamp(31px, 5vw, 46px); font-weight: 500; line-height: 1; }
.details-hero-copy small { display: block; margin-top: 7px; color: rgba(255,255,255,.78); font-size: 11px; }
.details-body { padding: 22px 25px 27px; }
.details-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.details-badges span { padding: 7px 10px; border-radius: 999px; color: #52665a; background: #e8eee1; font-size: 9px; font-weight: 800; }
.details-section { margin-top: 20px; }
.details-section .eyebrow { margin-bottom: 7px; }
.details-section > p:not(.eyebrow) { margin: 0; color: #53645a; font-size: 13px; line-height: 1.65; }
.details-section ol { margin: 8px 0 0; padding-left: 20px; color: #53645a; }
.details-section li { padding: 4px 0 4px 5px; font-size: 12px; line-height: 1.55; }
.details-frame-strip { margin-top: 11px; display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.details-frame-strip img { width: 92px; height: 92px; border-radius: 13px; object-fit: contain; object-position: center; background: #e5ebdf; }
.details-safety, .details-warning { margin: 21px 0 0; padding: 12px 13px; border-radius: 14px; color: #746e62; background: #f2eadc; font-size: 10px; line-height: 1.55; }
.details-warning { color: #895b38; background: #fbebd6; }
.details-loading { min-height: 330px; display: grid; place-content: center; justify-items: center; gap: 15px; color: #627168; }
.details-loading-orb { width: 45px; height: 45px; border: 4px solid #dfe8d7; border-top-color: var(--forest); border-radius: 50%; animation: details-spin .8s linear infinite; }
.details-loading p { margin: 0; font-size: 12px; }
.details-error { min-height: 260px; padding: 45px 28px; display: grid; align-content: center; }
.details-error h2 { margin: 9px 0; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
@keyframes details-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .checkin-context-grid { gap: 7px; }
  .checkin-context-grid .compact-field { margin-top: 10px; }
  .environment-select-wrap { min-height: 39px; padding-inline: 9px; border-radius: 10px; }
  .environment-select-wrap select { font-size: 10px; }
  .duration-field { margin-top: 7px; padding: 10px 9px; }
  .duration-slot-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .duration-slot { min-height: 39px; border-radius: 10px; flex-direction: row; gap: 3px; }
  .duration-slot strong { font-size: 12px; }
  .duration-slot span { font-size: 7px; }
  .recommendation-context { flex-wrap: wrap; }

  .sequence-step-button { min-height: 65px; grid-template-columns: 21px 48px minmax(0, 1fr) auto 12px; gap: 7px; }
  .sequence-thumbnail { width: 48px; height: 48px; border-radius: 11px; }
  .sequence-step-button strong { font-size: 13px; }
  .sequence-step-button small { font-size: 8px; }
  .sequence-step-button time { font-size: 9px; }

  .practice-home-feature { padding: 15px; border-radius: 21px; grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; }
  .practice-home-feature h2 { font-size: 22px; }
  .practice-home-feature > img { width: 96px; height: 112px; border-radius: 16px; }
  .practice-home-feature .primary-cta { min-height: 47px; font-size: 13px; }
  .practice-home-actions { grid-template-columns: 1fr; gap: 7px; }
  .practice-home-action { min-height: 66px; }

  .details-modal { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 25px 25px 0 0; }
  .details-sheet { max-height: 92dvh; border-radius: 25px 25px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .details-modal-content { max-height: calc(92dvh - env(safe-area-inset-bottom)); }
  .details-hero { min-height: 0; height: auto; max-height: none; aspect-ratio: 4 / 3; }
  .details-hero > img { min-height: 0; height: 100%; max-height: none; }
  .details-hero-copy { left: 17px; right: 58px; bottom: 17px; }
  .details-hero-copy h2 { font-size: clamp(29px, 9vw, 39px); }
  .details-body { padding: 17px 16px 24px; }
  .details-section { margin-top: 17px; }
  .details-section > p:not(.eyebrow) { font-size: 12px; }
  .details-close { top: 10px; right: 10px; }
  .settings-select select { min-height: 43px; }
}

@media (max-width: 390px) {
  .duration-slot strong { font-size: 11px; }
  .duration-slot { padding-inline: 2px; }
  .sequence-step-button { grid-template-columns: 18px 43px minmax(0, 1fr) auto 10px; gap: 6px; }
  .sequence-thumbnail { width: 43px; height: 43px; }
  .practice-home-feature { grid-template-columns: minmax(0, 1fr) 82px; }
  .practice-home-feature > img { width: 82px; height: 105px; }
}

/* Final practice-player layout guard.
   The grid owns the available height. Its visual child must stretch inside
   the first row—not claim 100% of the entire grid and push copy off-screen. */
body.is-practice-mode .app-main {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-practice-mode .practice-screen,
body.is-practice-mode .practice-preparation-screen {
  width: 100%;
  height: 100%;
  min-height: 0;
}

body.is-practice-mode .practice-focus {
  height: auto !important;
  min-height: 0;
  align-self: stretch;
  grid-template-rows: minmax(180px, 1.15fr) minmax(0, .85fr) !important;
  overflow: hidden;
}

body.is-practice-mode .practice-visual {
  height: auto !important;
  min-height: 0 !important;
  align-self: stretch;
  overflow: hidden;
}

body.is-practice-mode .pose-visual-card {
  height: 100%;
  min-height: 0 !important;
  max-height: 100%;
}

@media (max-width: 390px) {
  body.is-practice-mode .practice-focus {
    grid-template-rows: minmax(145px, 1.1fr) minmax(0, .9fr) !important;
  }
}

@media (max-height: 700px) {
  body.is-practice-mode .practice-focus {
    grid-template-rows: minmax(125px, 1.05fr) minmax(0, .95fr) !important;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  body.is-practice-mode .practice-focus {
    grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 16px;
  }

  body.is-practice-mode .practice-visual {
    min-width: 0;
  }
}
