@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f2f6f2;
  --paper-deep: #e3ebe5;
  --surface: #ffffff;
  --ink: #17372e;
  --ink-soft: #60746d;
  --sage: #3f7864;
  --sage-light: #d9efe4;
  --coral: #ddef87;
  --coral-dark: #315f4d;
  --coral-light: #eef7c7;
  --gold: #bedb58;
  --line: rgba(23, 55, 46, 0.12);
  --shadow-sm: 0 8px 24px rgba(18, 48, 39, 0.07);
  --shadow: 0 22px 60px rgba(18, 48, 39, 0.12);
  --surface-glass: rgba(255, 255, 255, 0.9);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--coral-dark); outline-offset: 3px; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
button, input, select { font: inherit; }
button { color: inherit; touch-action: manipulation; }
button:active:not(:disabled) { transform: scale(.98); }
[tabindex="-1"]:focus { outline: none; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(79, 154, 126, .38); outline-offset: 3px; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }

.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(10px); opacity: .55; pointer-events: none; }
.ambient-one { width: 430px; height: 430px; background: #dff2b7; top: -240px; right: -120px; opacity: .35; }
.ambient-two { width: 340px; height: 340px; background: #b9e3d1; bottom: -180px; left: -190px; opacity: .32; }
.app-shell { width: min(100%, 1180px); min-height: 100vh; margin: 0 auto; padding: env(safe-area-inset-top) 32px calc(130px + env(safe-area-inset-bottom)); }
.topbar { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { border: 0; min-height: 44px; background: transparent; display: flex; align-items: center; gap: 11px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -.03em; cursor: pointer; }
.brand-ai { color: var(--sage); font-weight: 800; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--surface); border-radius: 12px; }
.brand-mark svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.feedback-pill { min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-glass); color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.feedback-pill span, .beta-badge { color: var(--coral-dark); letter-spacing: .12em; font-size: 9px; }
.streak-pill { border: 1px solid var(--line); background: rgba(255, 253, 248, .65); border-radius: 99px; padding: 8px 13px; font-size: 13px; }
.streak-pill span { color: var(--gold); }
.avatar-button { border: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--coral-light); color: var(--coral-dark); font-size: 12px; font-weight: 700; cursor: pointer; }
.view { display: none; animation: viewIn .35s ease both; }
.view.is-active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }

.onboarding-view { position: fixed; z-index: 60; inset: 0; overflow-y: auto; background: var(--paper); }
.onboarding-shell { width: min(100%, 1180px); min-height: 100vh; margin: auto; padding: 0 32px 48px; }
.onboarding-topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.onboarding-actions { display: flex; align-items: center; gap: 12px; }
.beta-badge { padding: 8px 10px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.55); font-weight: 800; }
.onboarding-skip, .onboarding-back { border: 0; min-width: 44px; min-height: 44px; background: transparent; color: var(--ink-soft); font-weight: 700; font-size: 12px; cursor: pointer; }
.onboarding-progress { width: min(250px, 60%); margin: 6px auto 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.onboarding-progress span { height: 4px; border-radius: 99px; background: var(--paper-deep); transition: .3s; }
.onboarding-progress span.is-current { background: var(--coral); }
.onboarding-view.is-editing .onboarding-progress { display: none; }
.onboarding-view.is-editing .onboarding-shell { max-width: 860px; }
.onboarding-view.is-editing .onboarding-step { min-height: calc(100vh - 90px); }
.onboarding-view.is-editing .onboarding-topbar { border-bottom: 1px solid var(--line); }
.onboarding-step { display: none; min-height: calc(100vh - 130px); animation: viewIn .35s ease both; }
.onboarding-step.is-active { display: grid; }
.onboarding-step[data-onboarding-step="0"] { grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; }
.onboarding-visual { display: grid; place-items: center; }
.onboarding-room { width: min(100%, 480px); aspect-ratio: 1/1; border-radius: 28px; background: #dbe9df; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.onboarding-room::before { content: ''; position: absolute; inset: 15% 0 34%; background: linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.4) 50%, transparent 50.3%), repeating-linear-gradient(#fff7 0 1px, transparent 1px 65px); }
.onboarding-couch { position: absolute; width: 55%; height: 23%; left: 22%; bottom: 20%; border-radius: 25px 25px 8px 8px; background: #668b7a; box-shadow: inset 0 24px #82a596; }
.onboarding-toys { position: absolute; left: 14%; bottom: 10%; color: var(--coral); font-size: 25px; letter-spacing: 8px; transform: rotate(7deg); }
.onboarding-spark { position: absolute; right: 14%; top: 18%; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-light); color: var(--sage); font-size: 30px; }
.onboarding-copy { max-width: 510px; }
.onboarding-copy h1 { font-size: clamp(48px, 6vw, 72px); }
.onboarding-copy > p:not(.eyebrow) { color: var(--ink-soft); max-width: 470px; line-height: 1.7; }
.onboarding-copy .primary-button { margin-top: 12px; }
.onboarding-copy > small { display: block; color: var(--ink-soft); margin-top: 13px; }
.onboarding-method { max-width: 470px; margin-bottom: 4px; }
.onboarding-form { width: min(100%, 700px); margin: 0 auto; padding: 28px 0 70px; position: relative; }
.onboarding-form h1 { font-size: clamp(43px, 6vw, 65px); }
.onboarding-back { position: absolute; left: -65px; top: 28px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; }
.onboarding-field { border: 0; padding: 0; margin: 26px 0; }
.onboarding-field legend { font-weight: 700; margin-bottom: 6px; }
.onboarding-field legend small { color: var(--ink-soft); font-weight: 500; }
.field-help { color: var(--ink-soft); font-size: 12px; line-height: 1.5; margin: 0 0 12px; }
.room-help { margin-top: -8px; }
.choice-row { display: flex; gap: 10px; }
.choice-row--wrap { flex-wrap: wrap; }
.choice-pill input, .room-choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pill span { min-height: 44px; display: flex; align-items: center; padding: 12px 17px; border: 1px solid var(--line); background: rgba(255,255,255,.52); border-radius: 99px; font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s; }
.choice-pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.children-details { padding: 1px 20px; background: var(--sage-light); border-radius: 20px; }
.gentle-toggle { display: flex; align-items: center; gap: 13px; padding: 17px 0 20px; border-top: 1px solid rgba(32,52,47,.1); cursor: pointer; }
.gentle-toggle input { width: 20px; height: 20px; accent-color: var(--sage); }
.gentle-toggle strong, .gentle-toggle small { display: block; }
.gentle-toggle strong { font-size: 13px; }
.gentle-toggle small { color: var(--ink-soft); margin-top: 3px; }
.onboarding-form > .primary-button { width: 100%; margin-top: 18px; }
.account-form { max-width: 620px; }
.account-intro { max-width: 520px; margin-bottom: 20px; font-size: 13px; }
.account-key { width: 74px; height: 74px; margin: 0 0 22px; position: relative; display: grid; place-items: center; border-radius: 24px 24px 24px 8px; background: var(--ink); color: #fff; box-shadow: 12px 12px 0 var(--coral-light); }
.account-key span { font-size: 29px; }.account-key i { position: absolute; right: -9px; top: -10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: var(--ink); font-size: 12px; font-style: normal; }
.social-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.social-auth > small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 10px; line-height: 1.5; text-align: center; }.social-auth > small a { color: var(--coral-dark); font-weight: 700; }
.social-auth-button { min-width: 0; min-height: 54px; padding: 0 14px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease; }
.social-auth-button--google { border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.social-auth-button--apple { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.social-auth-button:disabled { cursor: wait; opacity: .62; }
.social-auth-logo { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font: 800 14px/1 'Manrope', sans-serif; }
.social-auth-logo--google { background: conic-gradient(from -35deg, #4285f4 0 25%, #34a853 0 45%, #fbbc05 0 70%, #ea4335 0); color: #fff; box-shadow: inset 0 0 0 5px var(--surface); }
.social-auth-logo--apple { position: relative; background: #fff; color: var(--ink); font-size: 0; }.social-auth-logo--apple::before { content: ''; width: 10px; height: 12px; border-radius: 50% 50% 45% 45%; background: var(--ink); }.social-auth-logo--apple::after { content: ''; position: absolute; width: 5px; height: 3px; border-radius: 100% 0; background: var(--ink); top: 4px; right: 6px; transform: rotate(-35deg); }
.auth-provider-status { margin: 10px 0 0; padding: 11px 13px; border-radius: 12px; background: var(--sage-light); color: var(--ink); font-size: 11px; line-height: 1.45; }
.auth-provider-status.is-error { background: #f8e6df; color: #7a3528; }
.auth-divider { margin: 18px 0; display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }.auth-divider span { white-space: nowrap; }
.identity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.account-field { display: grid; gap: 7px; margin-bottom: 14px; color: var(--ink); font-size: 12px; font-weight: 700; }
.account-field > input, .password-input { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); }
.account-field > input { padding: 0 15px; }.account-field input::placeholder { color: #83928d; }
.account-field small { color: var(--ink-soft); font-size: 10px; font-weight: 500; }
.password-input { display: flex; align-items: center; padding-right: 5px; }
.password-input input { min-width: 0; min-height: 50px; flex: 1; padding: 0 10px 0 15px; border: 0; background: transparent; color: var(--ink); }
.password-input button { min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--coral-dark); font-size: 11px; font-weight: 700; cursor: pointer; }
.account-consent { min-height: 48px; display: flex; align-items: center; gap: 11px; color: var(--ink-soft); font-size: 11px; cursor: pointer; }
.account-consent input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--sage); }.account-consent a { color: var(--coral-dark); font-weight: 700; }
.account-beta-note { margin: 13px 0 0; padding: 13px 15px; display: grid; gap: 3px; border-radius: 15px; background: var(--sage-light); color: var(--ink-soft); font-size: 10px; line-height: 1.45; }.account-beta-note strong { color: var(--ink); font-size: 11px; }
.form-error { margin: 13px 0 0; padding: 11px 13px; border-radius: 12px; background: #f8e6df; color: #7a3528; font-size: 11px; font-weight: 700; }
.room-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.room-choice { min-height: 112px; padding: 15px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.5); text-align: center; cursor: pointer; transition: .2s; position: relative; }
.room-choice:has(input:checked) { background: var(--sage-light); border-color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.room-choice > span { font-size: 24px; }
.room-choice strong { font-size: 11px; }
.custom-room-section { margin-top: 18px; }
.optional-setting { width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.48); display: grid; grid-template-columns: 40px 1fr 28px; gap: 11px; align-items: center; text-align: left; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.optional-setting:hover, .optional-setting.is-open { background: var(--surface); border-color: rgba(63,120,100,.28); }
.optional-setting__icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--sage-light); color: var(--sage); font-size: 21px; }
.optional-setting strong, .optional-setting small { display: block; }
.optional-setting strong { font-size: 13px; }
.optional-setting small { margin-top: 3px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.optional-setting__chevron { color: var(--ink-soft); font-size: 18px; text-align: center; transition: transform .18s ease; }
.optional-setting.is-open .optional-setting__chevron { transform: rotate(180deg); }
.custom-room-fields { padding: 11px 4px 0; }
.custom-room-entry { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.custom-room-entry input { min-height: 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 15px; }
.custom-room-entry button { border: 0; border-radius: 14px; padding: 0 18px; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }
.custom-room-entry button[hidden] { display: none; }
.custom-room-help { display: block; margin: 7px 5px 0; color: var(--ink-soft); font-size: 10px; }
.custom-room-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.custom-room-tag { border: 1px solid var(--line); min-height: 44px; background: var(--surface); border-radius: 99px; padding: 8px 11px; font-size: 12px; cursor: pointer; }
.custom-room-tag span { color: var(--coral-dark); margin-left: 6px; }
.onboarding-reminder { margin-top: 18px; padding: 18px; display: grid; grid-template-columns: 46px 1fr; grid-template-areas: 'icon copy' 'picker picker' 'action action'; gap: 13px 12px; align-items: center; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); box-shadow: var(--shadow-sm); }
.onboarding-reminder.is-enabled { border-color: rgba(63,120,100,.42); background: var(--sage-light); }
.onboarding-reminder__icon { grid-area: icon; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--sage-light); color: var(--sage); font-size: 19px; }
.onboarding-reminder__copy { grid-area: copy; }
.onboarding-reminder.is-enabled .onboarding-reminder__icon { background: var(--ink); color: var(--coral); }
.onboarding-reminder__copy .soft-label { margin-bottom: 4px; font-size: 9px; }
.onboarding-reminder__copy h2, .onboarding-reminder__copy p { margin: 0; }
.onboarding-reminder__copy h2 { font: 650 18px/1.1 'Bricolage Grotesque', sans-serif; letter-spacing: -.03em; }
.onboarding-reminder__copy p { margin-top: 4px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.onboarding-reminder__picker { grid-area: picker; min-width: 0; margin: 0; padding: 0; border: 0; }
.onboarding-reminder__picker legend { margin-bottom: 8px; padding: 0; color: var(--ink); font-size: 11px; font-weight: 700; }
.onboarding-reminder__options { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 7px; }
.onboarding-reminder__options button { min-width: 0; min-height: 58px; padding: 7px; display: grid; place-content: center; gap: 2px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); text-align: center; cursor: pointer; }
.onboarding-reminder__options span { color: var(--ink-soft); font-size: 9px; line-height: 1.2; }.onboarding-reminder__options strong { font-size: 13px; }
.onboarding-reminder__options button.is-selected { border-color: var(--coral-dark); background: var(--coral-light); box-shadow: inset 0 0 0 1px var(--coral-dark); }.onboarding-reminder__options button.is-selected span { color: var(--coral-dark); font-weight: 700; }
.onboarding-reminder__custom-toggle { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--coral-dark); font-size: 10px; font-weight: 700; cursor: pointer; }
.onboarding-reminder__custom { min-height: 49px; padding: 0 11px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink-soft); font-size: 10px; }.onboarding-reminder__custom input { width: 86px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 700; }
.onboarding-reminder > .onboarding-reminder__action { grid-area: action; width: 100%; min-height: 52px; margin: 0; }
.onboarding-reminder > button { min-height: 44px; padding-inline: 14px; }
.onboarding-reminder > button:disabled { cursor: default; opacity: .58; }

h1, h2, h3, p { margin-top: 0; }
h1 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 650; font-size: clamp(42px, 6vw, 70px); letter-spacing: -.055em; line-height: .98; margin-bottom: 22px; }
h1 em { color: var(--sage); font-weight: 650; font-style: normal; }
h2 { font-size: 25px; letter-spacing: -.025em; margin-bottom: 9px; }
h3 { font-size: 17px; margin-bottom: 5px; }
.eyebrow, .soft-label { display: block; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: 11px; color: var(--sage); margin-bottom: 12px; }
.soft-label { letter-spacing: .11em; color: var(--coral-dark); }
.home-hero { min-height: 340px; display: flex; align-items: center; justify-content: space-between; gap: 38px; padding: 34px 4% 30px; }
.home-hero > div:first-child { max-width: 720px; }
.home-hero h1 { margin: 0; }
.home-greeting { margin: 0 0 9px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.home-promise { max-width: 650px; margin: 18px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.58; }
.home-method { width: fit-content; margin-top: 19px; padding: 9px 12px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(63,120,100,.18); border-radius: 99px; background: rgba(255,255,255,.58); color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.home-method span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.home-method b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-light); color: var(--coral-dark); font-size: 10px; }
.home-method i { color: var(--sage); font-style: normal; }
.calm-orb { flex: 0 0 122px; height: 122px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: conic-gradient(var(--coral) 0 78%, var(--sage-light) 78%); box-shadow: inset 0 0 0 10px rgba(255,255,255,.78), 0 10px 30px rgba(23,55,46,.08); }
.calm-orb span { font: 700 43px/1 'Bricolage Grotesque', sans-serif; }
.calm-orb small { font-size: 9px; letter-spacing: .2em; font-weight: 800; }

.daily-card { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: 34px; box-shadow: 0 22px 54px rgba(23,55,46,.18); display: grid; grid-template-columns: 1.1fr 1.8fr auto; align-items: center; gap: 30px; overflow: hidden; position: relative; }
.daily-card::before { content: ''; width: 190px; height: 190px; position: absolute; right: 28%; top: -145px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 70px rgba(255,255,255,.02); }
.daily-card__copy { position: relative; z-index: 1; }
.daily-card h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 31px; letter-spacing: -.04em; }
.daily-card p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.5; margin-bottom: 0; }
.time-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; position: relative; z-index: 1; }
.time-chip { min-width: 0; min-height: 108px; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.075); color: #fff; border-radius: 20px; padding: 17px 15px 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; text-align: left; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.time-chip::before { content: ''; position: absolute; width: 72px; height: 72px; border-radius: 50%; right: -40px; bottom: -42px; border: 1px solid rgba(255,255,255,.12); }
.time-chip__value { display: flex; align-items: baseline; gap: 4px; }
.time-chip__value strong { font: 700 31px/.95 'Bricolage Grotesque', sans-serif; letter-spacing: -.045em; }
.time-chip__value > span { font-size: 11px; font-weight: 700; opacity: .68; }
.time-chip small { display: block; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 650; margin-top: 8px; white-space: nowrap; }
.time-chip__check { position: absolute; top: 11px; right: 11px; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: transparent; font-size: 11px; font-weight: 800; transition: background .18s ease, color .18s ease, transform .18s ease; }
.time-chip:hover { background: rgba(255,255,255,.11); }
.time-chip.is-selected { color: var(--ink); background: var(--coral); border-color: rgba(221,239,135,.9); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.time-chip.is-selected::before { border-color: rgba(49,95,77,.15); }
.time-chip.is-selected small { color: var(--coral-dark); }
.time-chip.is-selected .time-chip__check { background: var(--ink); color: var(--coral); transform: scale(1.04); }

.home-reminder-card { margin-top: 18px; padding: 20px 22px; display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; border: 1px solid rgba(119,154,140,.2); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(220,232,224,.78), rgba(255,253,248,.92)); box-shadow: var(--shadow-sm); }
.home-reminder-card.is-enabled { border-color: rgba(119,154,140,.38); background: linear-gradient(135deg, rgba(220,232,224,.96), rgba(255,253,248,.96)); }
.home-reminder-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--ink); color: #fff; }
.home-reminder-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-reminder-copy .soft-label { margin-bottom: 5px; }
.home-reminder-copy h2, .home-reminder-copy p { margin: 0; }
.home-reminder-copy h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 650; letter-spacing: -.035em; }
.home-reminder-copy p { margin-top: 4px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.home-reminder-actions { display: grid; grid-template-columns: auto auto; gap: 7px 9px; align-items: center; }
.home-reminder-actions label { min-height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.64); color: var(--ink-soft); font-size: 11px; }
.home-reminder-actions input { width: 76px; border: 0; background: transparent; color: var(--ink); font-weight: 700; }
.home-reminder-actions .text-button { grid-column: 1 / -1; justify-self: end; min-height: 36px; padding-block: 2px; font-size: 11px; }

.install-card { margin-top: 18px; padding: 18px 20px; display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; border: 1px solid rgba(49,95,77,.22); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.install-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--ink); color: var(--coral); font-size: 23px; }
.install-card h2, .install-card p { margin: 0; }.install-card h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 23px; letter-spacing: -.035em; }.install-card p { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }.install-card .soft-label { margin-bottom: 4px; }
.install-card__actions { display: flex; align-items: center; gap: 5px; }

.primary-button, .secondary-button { border: 0; border-radius: 15px; min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { background: var(--coral); color: var(--ink); box-shadow: 0 10px 28px rgba(100,130,35,.16); }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); background: #d2e86e; box-shadow: 0 14px 32px rgba(100,130,35,.22); }
.primary-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.primary-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.primary-button.compact { min-height: 48px; padding: 0 20px; }
.secondary-button { border: 1px solid var(--line); background: transparent; }
.secondary-button:hover { background: rgba(255,255,255,.6); }
.text-button { border: 0; min-height: 44px; background: transparent; color: var(--coral-dark); font-weight: 700; cursor: pointer; padding: 8px; }

.section-block { padding: 78px 0 28px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 23px; }
.section-heading h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 34px; font-weight: 650; letter-spacing: -.045em; margin: 0; }
.room-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.room-card { border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); text-align: left; padding: 0; cursor: pointer; box-shadow: 0 10px 36px rgba(43,55,48,.07); transition: transform .2s, box-shadow .2s; }
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.room-card--add { min-height: 240px; display: grid; place-items: center; text-align: center; border: 1.5px dashed rgba(32,52,47,.22); background: transparent; box-shadow: none; }
.room-card--add span { display: block; font-size: 34px; color: var(--coral); }
.room-card--add p { margin: 5px 0 0; color: var(--ink-soft); font-size: 12px; }
.room-illustration { height: 176px; background: #dde7df; position: relative; overflow: hidden; }
.room-card--featured .room-illustration { background: #dbe9df; }
.room-illustration::before { content: ''; position: absolute; inset: 24px 0 0; background: linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,.35) 50%, transparent 50.5%), linear-gradient(#fff9 1px, transparent 1px); background-size: 100% 100%, 100% 46px; opacity: .55; }
.room-illustration.has-photo { background: var(--paper-deep); }
.room-illustration.has-photo::before { z-index: 1; inset: auto 0 0; height: 48%; background: linear-gradient(180deg, transparent, rgba(20,34,30,.22)); opacity: 1; pointer-events: none; }
.room-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .35s ease, filter .35s ease; }
.room-card:hover .room-photo { transform: scale(1.025); filter: saturate(1.03); }
.sofa { position: absolute; width: 50%; height: 58px; background: #668b7a; border-radius: 16px 16px 6px 6px; left: 24%; bottom: 30px; box-shadow: inset 0 15px #82a596; }
.sofa::before, .sofa::after { content: ''; position: absolute; width: 8px; height: 21px; background: #74594d; bottom: -18px; }
.sofa::before { left: 12px; }.sofa::after { right: 12px; }
.plant { position: absolute; left: 8%; bottom: 28px; width: 28px; height: 43px; background: #d4df79; border-radius: 4px 4px 12px 12px; }
.plant::before { content: '✦'; position: absolute; color: #527660; font-size: 55px; left: -14px; top: -45px; }
.lamp { position: absolute; right: 10%; bottom: 25px; width: 4px; height: 76px; background: #705d52; }
.lamp::before { content: ''; position: absolute; width: 41px; height: 24px; border-radius: 25px 25px 7px 7px; background: #e8c784; left: -18px; top: -6px; }
.counter { position: absolute; width: 70%; height: 48px; background: #8ea79b; right: 0; bottom: 26px; box-shadow: inset 0 8px rgba(255,255,255,.25); }
.shelf { position: absolute; width: 46%; height: 8px; background: #749185; right: 10%; top: 58px; box-shadow: 0 34px 0 #749185; }
.generic-room { display: grid; place-items: center; background: #dedfd5; }
.room-symbol { position: relative; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.72); color: var(--sage); font: 700 34px 'Bricolage Grotesque', sans-serif; }
.room-card__body { padding: 18px 20px 20px; display: flex; justify-content: space-between; align-items: center; }
.room-card__body h3, .room-card__body p { margin: 0; }
.room-card__body p { color: var(--ink-soft); font-size: 12px; margin-top: 5px; }
.status-dot { font-size: 11px; font-weight: 700; padding: 7px 10px; border-radius: 99px; }
.status-dot--warm { background: var(--coral-light); color: var(--coral-dark); }.status-dot--calm { background: var(--sage-light); color: #4f7566; }
.kind-note { margin: 52px auto 0; max-width: 640px; padding: 0; display: flex; gap: 16px; align-items: center; border: 0; color: var(--ink-soft); font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 600; }
.kind-note p { margin: 0; }.kind-note__icon { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; border-radius: 50%; background: var(--coral-light); color: var(--coral-dark); font: 24px sans-serif; }

.bottom-nav { position: fixed; z-index: 30; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 520px); min-height: 72px; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 4px; background: var(--surface-glass); border: 1px solid rgba(255,255,255,.86); border-radius: 24px; box-shadow: 0 16px 45px rgba(32,52,47,.17); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); }
.nav-item, .nav-scan { border: 0; min-height: 54px; border-radius: 17px; background: transparent; display: grid; place-items: center; align-content: center; gap: 4px; cursor: pointer; color: #778682; transition: color .18s ease, background .18s ease, transform .18s ease; }
.nav-item svg, .nav-scan svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item small, .nav-scan small { font-size: 10px; font-weight: 700; }
.nav-item.is-active { color: var(--ink); background: var(--coral-light); }
.nav-scan svg { width: 32px; height: 32px; padding: 6px; border-radius: 11px; background: var(--ink); color: #fff; }
.nav-scan.is-active { color: var(--ink); background: var(--coral-light); }
.nav-scan.is-active svg { background: var(--sage); }

.page-heading { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; padding: 40px 1% 46px; }
.page-heading h1 { margin: 0; font-size: clamp(42px, 6vw, 67px); }
.page-heading--split { grid-template-columns: 50px 1fr 50px; }
.back-button, .icon-button { border: 1px solid var(--line); background: rgba(255,255,255,.45); width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.icon-button { justify-self: end; }
.scan-layout { display: grid; grid-template-columns: 1.4fr .75fr; gap: 30px; align-items: stretch; }
.upload-panel { min-height: 500px; border: 1.5px dashed rgba(32,52,47,.23); border-radius: var(--radius-xl); overflow: hidden; background: rgba(255,255,255,.35); position: relative; }
.upload-placeholder { min-height: 500px; padding: 55px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.upload-placeholder h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 31px; font-weight: 650; letter-spacing: -.04em; }
.upload-placeholder p { max-width: 430px; color: var(--ink-soft); line-height: 1.6; }
.upload-placeholder small { margin-top: 16px; color: var(--ink-soft); font-size: 11px; }
.camera-icon { width: 78px; height: 78px; border-radius: 28px; background: var(--coral-light); color: var(--coral-dark); display: grid; place-items: center; margin-bottom: 22px; transform: rotate(-3deg); }
.camera-icon svg { width: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.gallery-button { margin-top: 8px; font-size: 12px; color: var(--ink-soft); }
.photo-preview-wrap { position: absolute; inset: 0; background: var(--ink); }
.photo-preview-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.photo-change { position: absolute; top: 17px; right: 17px; border: 0; min-height: 44px; background: rgba(255,255,255,.9); padding: 9px 14px; border-radius: 99px; cursor: pointer; font-weight: 700; font-size: 12px; }
.photo-ready-status { position: absolute; left: 17px; bottom: 17px; max-width: calc(100% - 34px); min-height: 58px; padding: 8px 14px 8px 8px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 12px 32px rgba(18,48,39,.2); backdrop-filter: blur(12px); animation: photoReadyIn .3s ease-out both; }
.photo-ready-status__check { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 13px; background: var(--sage-light); color: var(--sage); font-weight: 800; }.photo-ready-status strong, .photo-ready-status small { display: block; }.photo-ready-status strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; }.photo-ready-status small { margin-top: 1px; color: var(--ink-soft); font-size: 10px; line-height: 1.3; }
@keyframes photoReadyIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.scan-settings { border-radius: var(--radius-xl); padding: 30px; background: var(--surface); box-shadow: 0 12px 40px rgba(43,55,48,.07); display: flex; flex-direction: column; }
.field-group { border: 0; padding: 0; margin: 0 0 28px; }
.field-group label, .field-group legend { font-weight: 700; font-size: 13px; margin-bottom: 12px; }
.field-group select { width: 100%; min-height: 51px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); padding: 0 14px; color: var(--ink); }
.mood-option { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 13px; padding: 13px; margin: 9px 0 0!important; font-weight: 500!important; cursor: pointer; }
.mood-option:has(input:checked) { background: var(--sage-light); border-color: var(--sage); }
.mood-option input { accent-color: var(--sage); }
.challenge-group legend { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; }
.challenge-group legend small { color: var(--ink-soft); font-size: 9px; font-weight: 500; }
.challenge-options { display: flex; flex-wrap: wrap; gap: 8px; }
.challenge-chip { position: relative; cursor: pointer; }
.challenge-chip input { position: absolute; opacity: 0; pointer-events: none; }
.challenge-chip span { min-height: 44px; display: flex; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink-soft); font-size: 11px; font-weight: 650; transition: .18s; }
.challenge-chip input:checked + span { border-color: var(--coral); background: var(--coral-light); color: var(--coral-dark); }
.scan-settings .primary-button { margin-top: auto; width: 100%; }

.camera-modal { position: fixed; z-index: 80; inset: 0; display: flex; flex-direction: column; justify-content: space-between; background: #0d1513; color: #fff; overflow: hidden; }
.camera-modal video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.camera-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.58), transparent 27%, transparent 67%, rgba(0,0,0,.68)); pointer-events: none; }
.camera-header { position: relative; z-index: 2; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 12px; padding: max(20px, env(safe-area-inset-top)) 20px 16px; text-align: center; }
.camera-header strong, .camera-header small { display: block; }.camera-header strong { font-size: 14px; }.camera-header small { margin-top: 4px; color: rgba(255,255,255,.68); font-size: 10px; }
.camera-close, .camera-gallery { border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.24); color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; backdrop-filter: blur(8px); }
.camera-close { font-size: 28px; }.camera-gallery { font-size: 22px; }
.camera-frame { position: absolute; z-index: 1; inset: 20% 7% 23%; border: 1px solid rgba(255,255,255,.3); border-radius: 24px; }
.camera-frame span { position: absolute; width: 38px; height: 38px; border-color: #fff; border-style: solid; }
.camera-frame span:nth-child(1) { top: -1px; left: -1px; border-width: 3px 0 0 3px; border-radius: 20px 0 0; }
.camera-frame span:nth-child(2) { top: -1px; right: -1px; border-width: 3px 3px 0 0; border-radius: 0 20px 0 0; }
.camera-frame span:nth-child(3) { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; border-radius: 0 0 0 20px; }
.camera-frame span:nth-child(4) { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; border-radius: 0 0 20px; }
.camera-controls { position: relative; z-index: 2; display: grid; grid-template-columns: 58px 88px 58px; justify-content: center; align-items: center; gap: 24px; padding: 22px 20px max(30px, env(safe-area-inset-bottom)); }
.camera-shutter { width: 82px; height: 82px; border: 3px solid #fff; border-radius: 50%; padding: 6px; background: transparent; cursor: pointer; }
.camera-shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .15s; }.camera-shutter:active span { transform: scale(.88); }
.camera-control-spacer { width: 58px; }
body.camera-open { overflow: hidden; }

.analysis-stage { min-height: calc(100vh - 200px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 7%; align-items: center; }
.analysis-photo { width: 100%; aspect-ratio: 4/3; max-height: 620px; border-radius: 42% 28% 32% 25%; overflow: hidden; position: relative; background: var(--ink); transform: rotate(-2deg); box-shadow: var(--shadow); }
.analysis-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.focus-box { position: absolute; border: 2px solid #fff; border-radius: 12px; animation: focusPulse 1.5s ease-in-out infinite alternate; }.focus-box::before, .focus-box::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: var(--coral); }
.focus-one { width: 28%; height: 24%; top: 20%; left: 14%; }.focus-two { width: 35%; height: 28%; bottom: 17%; right: 12%; animation-delay: .4s; }.focus-three { width: 18%; height: 20%; top: 19%; right: 13%; animation-delay: .8s; }
@keyframes focusPulse { to { border-color: var(--coral); transform: scale(1.03); } }
.analysis-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%); transform: translateX(-100%); animation: sweep 2.2s linear infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.analysis-copy h1 { font-size: clamp(42px, 5vw, 64px); }
.analysis-steps { display: grid; gap: 12px; max-width: 380px; }
.analysis-steps span { padding: 15px 0; border-bottom: 1px solid var(--line); color: #8c9894; display: flex; justify-content: space-between; font-weight: 600; }
.analysis-steps span.is-done { color: var(--ink); }.analysis-steps b { color: var(--coral); }
.privacy-note { max-width: 420px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; margin-top: 25px; }

.plan-overview { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.progress-card, .today-focus { border-radius: var(--radius-lg); padding: 25px 28px; display: flex; align-items: center; gap: 22px; }
.progress-card { background: var(--surface); }.today-focus { display: block; background: var(--sage-light); }
.progress-card h2, .today-focus h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 27px; font-weight: 650; letter-spacing: -.04em; margin-bottom: 5px; }
.progress-card p, .today-focus p { margin: 0; font-size: 13px; color: var(--ink-soft); }
.progress-ring { width: 82px; height: 82px; flex: 0 0 82px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--coral) 0deg, var(--paper-deep) 0deg); position: relative; }
.progress-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }.progress-ring span { z-index: 1; font-weight: 700; font-size: 14px; }
.progress-ring.is-celebrating { animation: progressCelebrate .52s cubic-bezier(.2,1.3,.35,1); }
.plan-start-panel { position: sticky; top: 10px; z-index: 8; margin-bottom: 18px; padding: 20px 22px; border: 1px solid rgba(23,55,46,.12); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 14px 40px rgba(23,55,46,.1); backdrop-filter: blur(18px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.plan-start-panel h2 { margin: 4px 0; font: 650 24px/1.08 'Bricolage Grotesque', sans-serif; letter-spacing: -.035em; }
.plan-start-panel p { margin: 0; max-width: 600px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.plan-start-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.plan-start-actions .primary-button { min-width: 220px; }
.plan-photo-update { width: 100%; min-height: 58px; margin: 0 0 18px; padding: 9px 13px; display: grid; grid-template-columns: 40px minmax(0,1fr) 28px; gap: 11px; align-items: center; border: 1px solid rgba(79,117,102,.2); border-radius: 18px; background: rgba(219,235,224,.42); color: var(--ink); text-align: left; cursor: pointer; }
.plan-photo-update__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--surface); color: var(--sage); font-size: 20px; }.plan-photo-update strong, .plan-photo-update small { display: block; }.plan-photo-update strong { font: 650 14px/1.2 'Bricolage Grotesque', sans-serif; }.plan-photo-update small { margin-top: 2px; color: var(--ink-soft); font-size: 10px; line-height: 1.35; }.plan-photo-update__arrow { color: var(--sage); font-size: 19px; text-align: center; }.plan-photo-update:active { background: var(--sage-light); }
.task-list { display: grid; gap: 11px; margin: 30px 0 22px; }
.task-item { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 17px 20px; background: rgba(255,255,255,.56); display: grid; grid-template-columns: 44px 1fr auto; gap: 15px; align-items: center; text-align: left; cursor: pointer; transition: .2s; }
.task-item:hover { background: var(--surface); transform: translateX(3px); }.task-item.is-complete { opacity: .55; }
.task-item.is-preview:disabled { cursor: default; opacity: .82; }
.task-item.is-preview:disabled:hover { background: rgba(255,255,255,.56); transform: none; }
.task-item.is-preview:not(.is-complete) .task-check { color: var(--ink-soft); font-size: 0; }
.task-item.is-preview:not(.is-complete) .task-check::after { content: '·'; font-size: 24px; }
.task-list-help { margin: 2px 4px 0; color: var(--ink-soft); font-size: 11px; text-align: center; }
.task-item.is-celebrating { opacity: 1; pointer-events: none; border-color: rgba(79,154,126,.38); background: var(--sage-light); animation: taskCelebrate .58s cubic-bezier(.2,.85,.3,1); }
.task-item.is-complete h3 { text-decoration: line-through; }
.task-check { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 13px; display: grid; place-items: center; color: transparent; font-weight: 700; position: relative; }
.task-item.is-complete .task-check { background: var(--sage); color: #fff; border-color: var(--sage); }
.task-item.is-celebrating .task-check { animation: checkPop .58s cubic-bezier(.2,1.5,.4,1); }
.task-item.is-celebrating .task-check::before, .task-item.is-celebrating .task-check::after { content: ''; position: absolute; inset: -9px; border: 2px solid var(--coral); border-radius: 50%; opacity: 0; animation: checkRipple .62s ease-out; }
.task-item.is-celebrating .task-check::after { inset: -16px; border-color: var(--sage); animation-delay: .08s; }
.task-item h3, .task-item p { margin: 0; }.task-item p { color: var(--ink-soft); font-size: 12px; margin-top: 4px; }.task-room { display: block; margin-bottom: 4px; color: var(--sage); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.task-time { font-size: 12px; font-weight: 700; color: var(--coral-dark); }
.plan-actions { display: flex; justify-content: flex-end; gap: 12px; }.plan-actions .primary-button { min-width: 230px; }
.recommendation { margin-top: 55px; padding: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 58px 1fr 42px; gap: 18px; align-items: center; }
.recommendation-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--coral-light); border-radius: 16px; font-size: 24px; color: var(--coral-dark); }.recommendation h3, .recommendation p { margin: 0; }.recommendation p { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }.recommendation button { border: 0; background: transparent; font-size: 23px; cursor: pointer; }
.recommendation-why { display: block; margin-top: 8px; color: #567166; font-size: 10px; font-weight: 700; }

#view-session { position: fixed; z-index: 50; inset: 0; overflow-y: auto; background: var(--ink); color: #fff; }
.session-page { width: min(100% - 32px, 760px); min-height: 100vh; margin: auto; padding: 56px 0; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.close-session { position: absolute; right: 0; top: 40px; border: 1px solid rgba(255,255,255,.2); width: 44px; height: 44px; border-radius: 50%; color: #fff; background: transparent; font-size: 25px; cursor: pointer; }
.session-page h1 { font-size: clamp(42px, 6vw, 62px); margin-bottom: 20px; }.session-page .eyebrow { color: #aec9bd; }
.timer { font: 700 84px/.95 'Bricolage Grotesque', sans-serif; letter-spacing: -.055em; }
.timer-track { width: min(100%, 460px); height: 4px; background: rgba(255,255,255,.13); border-radius: 99px; margin: 21px 0 12px; overflow: hidden; }.timer-track span { display: block; height: 100%; background: var(--coral); width: 0%; transition: width 1s linear; }
.session-tools { width: min(100%, 460px); min-height: 48px; margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.session-tool { min-height: 44px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.78); font-size: 12px; cursor: pointer; }
.session-tool strong { font: inherit; font-weight: 700; }.session-tool span { color: var(--coral); font-size: 16px; }.session-tool:active { background: rgba(255,255,255,.11); }
.current-task { width: min(100%, 560px); padding: 35px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-xl); }
.current-task__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.current-task__room { color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }.task-count { color: #aec9bd; font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.current-task__visual { position: relative; width: min(100%, 340px); min-height: 112px; margin: 20px auto; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 19px; background: rgba(255,255,255,.06); }
.current-task__visual img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: left .42s ease, top .42s ease, width .42s ease, height .42s ease; }
.current-task__visual.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,48,39,.9) 0%, rgba(18,48,39,.5) 45%, rgba(18,48,39,.06) 78%); }
.current-task__focus { display: none; position: absolute; z-index: 1; left: var(--focus-x, 50%); top: var(--focus-y, 34%); width: 46%; height: 42%; border: 1px solid rgba(221,242,126,.86); border-radius: 13px; box-shadow: 0 0 0 999px rgba(13,42,34,.06), inset 0 0 0 1px rgba(255,255,255,.12); transform: translate(-50%, -50%); pointer-events: none; }
.current-task__visual.has-focus-region .current-task__focus { display: block; }
.current-task__target { position: relative; z-index: 2; align-self: end; width: 100%; padding: 58px 18px 14px; display: grid; gap: 4px; text-align: left; }
.current-task__target span { color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .14em; }.current-task__target strong { max-width: 245px; color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; line-height: 1.15; letter-spacing: -.025em; }
.current-task__icon { position: absolute; z-index: 0; right: 16px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--coral); color: var(--ink); border-radius: 17px; font-size: 23px; }.current-task__visual.has-photo .current-task__icon { display: none; }
.current-task h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 29px; font-weight: 650; letter-spacing: -.04em; }.current-task p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.6; font-size: 13px; }
.current-task__steps { margin-top: 20px; padding: 16px 17px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.045); text-align: left; }
.current-task__steps > span, .current-task__finish span { display: block; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.current-task__steps ol { margin: 11px 0 0; padding: 0; list-style: none; counter-reset: homeflow-step; display: grid; gap: 9px; }
.current-task__steps li { counter-increment: homeflow-step; display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 9px; align-items: start; color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.45; }
.current-task__steps li::before { content: counter(homeflow-step); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; background: var(--sage-light); color: var(--ink); font-size: 10px; font-weight: 800; }
.current-task__finish { margin-top: 12px; padding: 13px 15px; border-radius: 15px; background: rgba(221,242,126,.1); text-align: left; }
.current-task__finish strong { display: block; margin-top: 5px; color: #fff; font-size: 12px; line-height: 1.45; }
.session-controls { display: flex; align-items: center; justify-content: center; margin-top: 24px; }.complete-button { min-width: 220px; min-height: 56px; padding: 0 25px; border: 0; border-radius: 18px; background: var(--coral); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; font-size: 15px; font-weight: 750; cursor: pointer; box-shadow: 0 12px 28px rgba(0,0,0,.2); }.complete-button strong { font: inherit; }.complete-button span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(23,55,46,.1); color: var(--sage); }.complete-button.is-celebrating { animation: completeButtonCelebrate .58s cubic-bezier(.2,1.25,.35,1); }.complete-button:disabled { cursor: default; opacity: .72; }.session-stop { min-height: 44px; margin-top: 14px; color: rgba(255,255,255,.6); }

#view-complete { position: fixed; z-index: 51; inset: 0; overflow-y: auto; background: var(--paper); }
.completion-page { width: min(100% - 32px, 720px); min-height: 100vh; margin: auto; padding: 54px 0 70px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.celebration-mark { width: 72px; height: 72px; display: grid; place-items: center; background: var(--sage-light); color: #4b7765; border-radius: 47% 53% 50% 45%; font-size: 33px; margin-bottom: 23px; }.completion-page h1 { font-size: clamp(44px, 7vw, 68px); }.completion-copy { color: var(--ink-soft); line-height: 1.6; }
.before-after { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0 20px; }.before-after > div, .after-upload { height: 220px; position: relative; border-radius: 21px; overflow: hidden; background: var(--paper-deep); cursor: pointer; }.before-after img { width: 100%; height: 100%; object-fit: cover; }.before-after > div > span, .after-upload > .photo-state-label { position: absolute; z-index: 2; top: 12px; left: 12px; width: auto; background: rgba(255,255,255,.9); color: var(--ink); padding: 6px 9px; border-radius: 99px; font-size: 9px; font-weight: 700; letter-spacing: .12em; }.after-upload { display: grid; place-items: center; border: 1.5px dashed rgba(32,52,47,.25); }.after-upload > span:not(.photo-state-label) { color: var(--ink-soft); font-size: 12px; }.after-upload b { display: block; font-size: 24px; color: var(--coral); }.next-message { display: flex; align-items: center; text-align: left; gap: 14px; padding: 16px 20px; border-radius: 15px; background: var(--sage-light); margin-bottom: 25px; }.next-message span { font-weight: 700; }.next-message p { margin: 0; font-size: 12px; color: var(--ink-soft); }
.after-photo-help { max-width: 540px; margin: -3px auto 18px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.result-check { width: 100%; display: grid; grid-template-columns: 50px minmax(0,1fr); gap: 14px; margin: 0 0 12px; padding: 19px; border: 1px solid rgba(71,120,101,.2); border-radius: 21px; background: var(--surface); box-shadow: var(--shadow-sm); text-align: left; }
.result-check__mark { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--coral); color: var(--ink); font-size: 20px; }
.result-check__copy { min-width: 0; }.result-check__copy .soft-label { margin-bottom: 5px; color: var(--sage); }.result-check h2, .result-check p { margin: 0; }.result-check h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; line-height: 1.12; letter-spacing: -.035em; }.result-check p { margin-top: 6px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.result-check.is-loading .result-check__mark { animation: resultCheckPulse 1.2s ease-in-out infinite alternate; }
.next-message { width: 100%; }.next-message span { flex: 0 0 auto; }
@keyframes resultCheckPulse { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.reminder-setup { width: 100%; margin: 0 0 25px; padding: 21px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 54px minmax(0,1fr) auto; grid-template-areas: 'bell copy copy' 'bell picker picker' 'bell action skip'; gap: 12px 15px; align-items: center; text-align: left; }
.reminder-bell { grid-area: bell; align-self: start; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--ink); color: var(--coral); font-size: 22px; }
.reminder-copy { grid-area: copy; }
.reminder-copy h2, .reminder-copy p { margin: 0; }
.reminder-copy .soft-label { margin-bottom: 5px; color: var(--coral-dark); }
.reminder-copy h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 25px; line-height: 1.12; font-weight: 650; letter-spacing: -.035em; }
.reminder-copy p { color: var(--ink-soft); font-size: 13px; line-height: 1.55; margin-top: 7px; }
.reminder-time-picker { grid-area: picker; min-width: 0; margin: 2px 0 4px; padding: 0; border: 0; }
.reminder-time-picker legend { padding: 0; margin-bottom: 9px; color: var(--ink); font-size: 12px; font-weight: 700; }
.reminder-time-options { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.reminder-time-choice { min-width: 0; min-height: 64px; padding: 9px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: grid; place-content: center; gap: 2px; text-align: center; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.reminder-time-choice span { color: var(--ink-soft); font-size: 10px; line-height: 1.2; }
.reminder-time-choice strong { color: var(--ink); font-size: 14px; }
.reminder-time-choice.is-selected { border-color: var(--coral-dark); background: var(--coral-light); box-shadow: inset 0 0 0 1px var(--coral-dark); }
.reminder-time-choice.is-selected span { color: var(--coral-dark); font-weight: 700; }
.reminder-custom-toggle { min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: transparent; color: var(--coral-dark); font-size: 11px; font-weight: 700; cursor: pointer; }
.reminder-custom-time { min-height: 50px; margin-top: 5px; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 11px; }
.reminder-custom-time input { width: 86px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); font-weight: 700; }
.reminder-setup > .primary-button { grid-area: action; min-height: 48px; justify-self: start; }
.reminder-setup > .text-button { grid-area: skip; min-height: 44px; color: var(--ink-soft); font-size: 12px; }

.profile-grid { display: grid; gap: 13px; max-width: 750px; margin: auto; }.profile-card { padding: 22px; border-radius: 19px; background: var(--surface); display: grid; grid-template-columns: 48px 1fr auto; gap: 15px; align-items: center; }.profile-card > span { width: 46px; height: 46px; display: grid; place-items: center; background: var(--sage-light); border-radius: 15px; font-size: 21px; }.profile-card h2, .profile-card p { margin: 0; }.profile-card p { color: var(--ink-soft); font-size: 12px; margin-top: 4px; }.profile-card button, .profile-card a { border: 0; min-width: 44px; min-height: 44px; padding: 0 8px; display: inline-flex; align-items: center; background: transparent; color: var(--coral-dark); font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }.profile-card button:disabled { color: #9ca5a2; }.profile-card--danger > span { background: #f8e6df; color: #8a4435; }.profile-card--danger button { color: #8a4435; }.prototype-note { max-width: 750px; margin: 23px auto; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; }.prototype-note p { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.profile-card__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 8px; }
.profile-card--language select { min-width: 112px; min-height: 44px; padding: 0 34px 0 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.profile-card--language select:focus-visible { outline: 3px solid color-mix(in srgb, var(--coral) 42%, transparent); outline-offset: 2px; }

.modal-open { overflow: hidden; }
.beta-modal { position: fixed; z-index: 150; inset: 0; display: grid; align-items: end; justify-items: center; padding: 16px; }
.beta-modal__backdrop { position: absolute; inset: 0; background: rgba(10,31,25,.58); backdrop-filter: blur(5px); }
.beta-modal__sheet { position: relative; width: min(100%, 560px); max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px; border-radius: 28px; background: var(--paper); box-shadow: 0 28px 90px rgba(10,31,25,.28); }
.beta-modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: 22px; cursor: pointer; }
.beta-modal__sheet h2 { max-width: 420px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 34px; line-height: 1.05; letter-spacing: -.045em; }.beta-modal__sheet > p:not(.eyebrow) { color: var(--ink-soft); font-size: 13px; line-height: 1.55; }.beta-modal__sheet ol { padding-left: 20px; color: var(--ink-soft); line-height: 1.7; }.beta-modal__sheet > .primary-button { width: 100%; margin-top: 8px; }
.feedback-field { display: grid; gap: 7px; margin-top: 17px; color: var(--ink); font-size: 12px; font-weight: 700; }.feedback-field select, .feedback-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); padding: 13px; font: inherit; }.feedback-field select { min-height: 48px; }.feedback-field textarea { resize: vertical; line-height: 1.5; }.feedback-privacy { padding: 12px 14px; border-radius: 13px; background: var(--sage-light); }.feedback-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 18px; }.feedback-actions button { width: 100%; }

.legal-page { width: min(100% - 32px, 760px); margin: 0 auto; padding: 50px 0 90px; }.legal-back { margin-bottom: 55px; text-decoration: none; }.legal-page section { padding: 24px 0; border-top: 1px solid var(--line); }.legal-page section p { color: var(--ink-soft); line-height: 1.75; }.legal-page h2 { font-family: 'Bricolage Grotesque', sans-serif; }
.achievement-toast { position: fixed; z-index: 110; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); min-height: 62px; padding: 10px 18px 10px 10px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(221,239,135,.7); border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 0 18px 48px rgba(18,48,39,.24); opacity: 0; pointer-events: none; transform: translate(-50%, 18px) scale(.94); }
.achievement-toast.is-visible { animation: achievementToast 1.35s cubic-bezier(.2,.85,.3,1) both; }
.achievement-toast__check { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 14px; background: var(--coral); color: var(--ink); font-size: 20px; font-weight: 800; }
.achievement-toast strong, .achievement-toast small { display: block; }.achievement-toast strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; }.achievement-toast small { margin-top: 2px; color: rgba(255,255,255,.68); font-size: 10px; }
@keyframes taskCelebrate { 0% { transform: scale(1); } 42% { transform: scale(1.018); } 100% { transform: scale(1); } }
@keyframes checkPop { 0% { transform: scale(.7) rotate(-12deg); } 58% { transform: scale(1.16) rotate(3deg); } 100% { transform: scale(1); } }
@keyframes checkRipple { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes completeButtonCelebrate { 0% { transform: scale(1); } 48% { transform: scale(1.055); } 100% { transform: scale(1); } }
@keyframes progressCelebrate { 0% { transform: scale(.94); } 55% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes achievementToast { 0% { opacity: 0; transform: translate(-50%, 18px) scale(.94); } 16%, 76% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -6px) scale(.98); } }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(104px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); width: max-content; max-width: calc(100% - 32px); text-align: center; background: var(--ink); color: #fff; border-radius: 99px; padding: 12px 18px; font-size: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); }.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 850px) {
  .app-shell { padding: 0 18px 120px; }
  .daily-card { grid-template-columns: 1fr; padding: 28px; gap: 22px; }
  .time-options { width: 100%; }.daily-card > .primary-button { width: 100%; }
  .home-reminder-card { grid-template-columns: 52px 1fr; }.home-reminder-actions { grid-column: 1 / -1; grid-template-columns: 1fr auto; }.home-reminder-actions label { justify-content: center; }.home-reminder-actions .text-button { grid-column: 1 / -1; }
  .scan-layout, .analysis-stage { grid-template-columns: 1fr; }.scan-settings { min-height: 380px; }.analysis-stage { padding-bottom: 50px; }.analysis-photo { max-height: 410px; }.analysis-copy { text-align: center; }.analysis-steps, .privacy-note { margin-left: auto; margin-right: auto; text-align: left; }
  .onboarding-step[data-onboarding-step="0"] { grid-template-columns: 1fr; padding: 10px 0 50px; }
  .onboarding-visual { order: 2; margin-top: 30px; }
  .onboarding-room { max-width: 360px; }
  .onboarding-copy { margin: auto; text-align: center; }
  .onboarding-copy > p { margin-left: auto; margin-right: auto; }
  .room-picker { grid-template-columns: repeat(3, 1fr); }
  .onboarding-back { left: 0; top: -20px; }
}
@media (max-width: 620px) {
  body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea) { font-size: 16px; }
  .app-shell { padding-inline: 14px; padding-bottom: calc(112px + env(safe-area-inset-bottom)); }.topbar { height: 68px; }.streak-pill { display: none; }
  .brand { font-size: 19px; gap: 9px; }.brand-mark { width: 36px; height: 36px; border-radius: 12px 12px 15px 15px; }.avatar-button { width: 44px; height: 44px; }.feedback-pill { width: 44px; padding: 0; font-size: 0; }.feedback-pill span { font-size: 9px; }.beta-badge { display: none; }
  .home-hero { min-height: 0; align-items: flex-start; gap: 12px; padding: 22px 4px 25px; }.home-hero h1 { font-size: clamp(37px, 10.8vw, 43px); }.home-promise { margin-top: 15px; font-size: 13px; line-height: 1.55; }.home-method { width: 100%; margin-top: 15px; padding: 8px 9px; justify-content: space-between; gap: 4px; font-size: 9px; }.home-method span { gap: 3px; }.home-method b { width: 20px; height: 20px; }.calm-orb { flex-basis: 70px; height: 70px; margin-top: 25px; box-shadow: inset 0 0 0 7px rgba(255,255,255,.78), 0 8px 22px rgba(23,55,46,.08); }.calm-orb span { font-size: 28px; }
  .daily-card { padding: 24px; gap: 18px; border-radius: 28px; }.daily-card h2 { font-size: 29px; }.daily-card p { font-size: 13px; }.time-options { gap: 7px; }
  .home-reminder-card { margin-top: 14px; padding: 15px; gap: 6px 10px; border-radius: 22px; }.home-reminder-icon { width: 44px; height: 44px; border-radius: 14px; }.home-reminder-copy h2 { font-size: 21px; }.home-reminder-actions { grid-template-columns: 112px 1fr; }.home-reminder-actions label { width: auto; padding-inline: 8px; gap: 3px; }.home-reminder-actions input { width: 62px; min-height: 44px; }.home-reminder-actions .primary-button { width: 100%; padding-inline: 12px; }.home-reminder-actions .text-button { grid-column: 1 / -1; width: 100%; justify-self: stretch; min-height: 44px; }
  .install-card { grid-template-columns: 44px 1fr; padding: 15px; gap: 10px; }.install-card__icon { width: 44px; height: 44px; }.install-card h2 { font-size: 21px; }.install-card__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; }.install-card__actions .primary-button { width: 100%; }.install-card__actions .text-button { min-width: 74px; }
  .time-chip { min-height: 94px; padding: 14px 11px 12px; border-radius: 17px; }.time-chip__value strong { font-size: 27px; }.time-chip small { font-size: 9px; white-space: normal; margin-top: 6px; }.time-chip__check { top: 8px; right: 8px; width: 21px; height: 21px; }.time-chip.is-selected { box-shadow: 0 8px 20px rgba(0,0,0,.14); }
  .section-block { padding-top: 55px; }.section-heading { align-items: center; }.section-heading h2 { font-size: 27px; }.section-heading .text-button { min-width: 44px; font-size: 0; }.section-heading .text-button span { font-size: 23px; }
  .room-grid { grid-template-columns: 1fr; }.room-illustration { height: 145px; }.kind-note { font-size: 16px; }
  .page-heading { padding: 22px 0 26px; grid-template-columns: 46px minmax(0,1fr); gap: 10px; }.page-heading--split { grid-template-columns: 46px minmax(0,1fr) 46px; }.back-button, .icon-button { width: 44px; height: 44px; background: var(--surface-glass); backdrop-filter: blur(12px); }.page-heading h1 { font-size: 38px; }
  .upload-panel, .upload-placeholder { min-height: 360px; }.upload-placeholder { padding: 23px; }.scan-settings { padding: 23px; border-radius: 26px; }
  .analysis-stage { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 140px); }.analysis-photo { aspect-ratio: 1/1; }.analysis-copy h1 { font-size: 38px; }
  .plan-start-panel { top: 6px; padding: 16px; border-radius: 22px; display: block; }.plan-start-panel h2 { font-size: 21px; }.plan-start-panel p { font-size: 11px; }.plan-start-actions { margin-top: 14px; display: grid; grid-template-columns: 1fr; gap: 4px; }.plan-start-actions .primary-button, .plan-start-actions .text-button { width: 100%; min-width: 0; }.plan-overview { grid-template-columns: 1fr; }.progress-card, .today-focus { padding: 20px; }.task-item { grid-template-columns: 39px 1fr auto; padding: 14px; gap: 10px; }.recommendation { grid-template-columns: 46px 1fr; padding-inline: 8px; }.recommendation > button { display: none; }
  .session-page { width: min(100% - 24px, 760px); padding-top: max(64px, env(safe-area-inset-top)); padding-bottom: calc(38px + env(safe-area-inset-bottom)); }.session-page h1 { margin-bottom: 14px; font-size: 38px; }.session-page .eyebrow { margin-bottom: 7px; }.close-session { top: max(18px, env(safe-area-inset-top)); }.timer { font-size: 64px; }.timer-track { margin-top: 16px; }.session-tools { margin-bottom: 18px; }.session-tool { padding-inline: 13px; }.current-task { padding: 18px 15px; border-radius: 26px; text-align: left; }.current-task__visual { width: 100%; min-height: 148px; margin-block: 15px; }.current-task__target { padding: 76px 15px 14px; }.current-task__target strong { max-width: 100%; font-size: 17px; }.current-task h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.08; }.current-task p { line-height: 1.5; }.current-task__steps { margin-top: 15px; padding: 14px; }.current-task__finish { margin-top: 10px; }.session-controls { position: static; align-self: flex-end; width: auto; margin: 14px 0 0; }.complete-button { min-width: 190px; min-height: 54px; padding-inline: 20px; border-radius: 17px; font-size: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.32); }.session-stop { align-self: flex-start; margin: 8px 0 0; }
  .before-after > div, .after-upload { height: 165px; }.result-check { grid-template-columns: 44px minmax(0,1fr); padding: 15px; gap: 11px; }.result-check__mark { width: 44px; height: 44px; border-radius: 14px; }.result-check h2 { font-size: 21px; }.next-message { align-items: flex-start; padding: 15px; }.next-message span { font-size: 12px; }.bottom-nav { bottom: max(10px, env(safe-area-inset-bottom)); min-height: 68px; border-radius: 22px; }.nav-item, .nav-scan { min-height: 50px; }.completion-page { padding-top: max(40px, env(safe-area-inset-top)); }
  .onboarding-shell { padding: 0 17px 38px; }
  .onboarding-topbar { height: 72px; }
  .onboarding-progress { margin-top: 3px; margin-bottom: 18px; }
  .onboarding-step { min-height: calc(100vh - 105px); }
  .onboarding-step.is-active[data-onboarding-step="0"] { display: flex; flex-direction: column; justify-content: flex-start; }
  .onboarding-step[data-onboarding-step="0"] .onboarding-copy { order: 0; width: 100%; text-align: left; }
  .onboarding-step[data-onboarding-step="0"] .onboarding-copy > p { margin-left: 0; margin-right: 0; }
  .onboarding-step[data-onboarding-step="0"] .onboarding-visual { order: 1; width: 100%; margin: 26px 0 10px; }
  .onboarding-room { width: 190px; max-width: 58vw; }
  .onboarding-copy h1 { font-size: clamp(38px, 11vw, 42px); }
  .onboarding-copy > p:not(.eyebrow) { font-size: 13px; }
  .onboarding-copy .primary-button { width: 100%; }
  .onboarding-copy > small { text-align: center; }
  .onboarding-form { padding-top: 45px; }
  .onboarding-form h1 { font-size: 39px; }
  .onboarding-back { top: 0; }
  .choice-row { flex-wrap: wrap; }
  .children-details { padding-inline: 14px; }
  .room-picker { grid-template-columns: repeat(2, 1fr); }
  .room-choice { min-height: 94px; }
  .custom-room-entry { grid-template-columns: 1fr; }
  .custom-room-entry button { min-height: 45px; }
  .identity-grid { grid-template-columns: 1fr; gap: 0; }
  .social-auth { grid-template-columns: 1fr; }
  .social-auth > small { grid-column: 1; }
  .account-key { width: 64px; height: 64px; border-radius: 21px 21px 21px 7px; }
  .onboarding-reminder { padding: 15px; gap: 11px 10px; }
  .onboarding-reminder__options { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reminder-setup { grid-template-columns: 45px 1fr; grid-template-areas: 'bell copy' 'picker picker' 'action action' 'skip skip'; padding: 17px; gap: 11px 12px; }
  .reminder-bell { width: 43px; height: 43px; }
  .reminder-time-options { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reminder-setup > .primary-button, .reminder-setup > .text-button { width: 100%; justify-self: stretch; }
  .reminder-copy h2 { font-size: 22px; }
  .reminder-copy p { font-size: 13px; }
  .profile-card { grid-template-columns: 44px 1fr; padding: 18px; }.profile-card > span { width: 44px; height: 44px; }.profile-card button, .profile-card a { grid-column: 2; justify-self: start; padding: 0; }
  .profile-card__actions { grid-column: 2; justify-self: start; justify-content: flex-start; gap: 0 16px; }
  .profile-card--language select { grid-column: 2; justify-self: start; }
  .beta-modal { padding: 8px; }.beta-modal__sheet { max-height: calc(100vh - 16px); padding: 26px 20px calc(26px + env(safe-area-inset-bottom)); border-radius: 25px; }.beta-modal__sheet h2 { padding-right: 34px; font-size: 30px; }.feedback-actions { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .calm-orb { display: none; }
  .home-reminder-actions { grid-template-columns: 1fr; }
  .home-reminder-actions label, .home-reminder-actions .primary-button, .home-reminder-actions .text-button { grid-column: 1; min-height: 44px; }
  .home-reminder-actions label { justify-content: flex-start; }
  .home-reminder-actions input { flex: 1; width: auto; min-width: 96px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
  .achievement-toast.is-visible { animation: none!important; opacity: 1; transform: translate(-50%, 0); }
}
