/* Walkthrough-only styles. Landing tokens and assets are reused without changes. */
.trial-page { --dock-height:110px; background:#f1f3f2; color:#333; font-family:var(--font); font-size:16px; line-height:1.6; letter-spacing:-.01em; padding:0; }
.trial-page.sheet-open { overflow:hidden; }
.trial-page h1,.trial-page h2,.trial-page h3 { font-family:var(--font); color:#333; letter-spacing:-.025em; }
.trial-page h2 { font-size:27px; line-height:1.4; font-weight:700; margin:0 0 13px; }
.trial-page h3 { font-size:17px; line-height:1.5; font-weight:600; }
.trial-page p { line-height:1.7; }
.trial-page [hidden] { display:none !important; }
.trial-page .sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.trial-app { max-width:500px; min-height:100dvh; margin:0 auto; background:#f7f8f7; }
.trial-header { position:sticky; top:0; z-index:8; min-height:66px; padding:8px 12px; display:grid; grid-template-columns:44px 1fr 44px; align-items:center; background:#f7f8f7f5; backdrop-filter:blur(14px); border-bottom:1px solid #e6e6e6; }
.trial-header>div { text-align:center; line-height:1.4; }
.trial-header strong { display:block; font-size:16px; font-weight:600; }
.trial-header>div>span { display:block; font-size:11px; color:#656565; margin-top:2px; }
.trial-page .icon-button { border:0; background:none; display:grid; place-items:center; width:44px; height:44px; padding:0; border-radius:12px; }
.trial-page .icon-button img { display:block; max-width:none; flex:none; }
.trial-main { padding:24px 20px calc(var(--dock-height) + 26px); min-height:calc(100dvh - 66px); }
.trial-stage { min-height:340px; }
.trial-progress { padding:14px 20px 0; }
.trial-progress>span { display:block; font-size:12px; color:#656565; margin-bottom:8px; }
.trial-progress progress { display:block; width:100%; height:4px; appearance:none; border:0; border-radius:20px; background:#e6e6e6; }
.trial-progress progress::-webkit-progress-bar { background:#e6e6e6; border-radius:20px; }
.trial-progress progress::-webkit-progress-value { background:#abcb7c; border-radius:20px; transition:width .25s; }
.trial-progress progress::-moz-progress-bar { background:#abcb7c; border-radius:20px; }
.stage-kicker { display:block; font-size:13px; color:#5d7449; font-weight:600; margin-bottom:12px; }
.stage-description { font-size:15px; color:#656565; margin:0 0 24px; }
.stage-note { font-size:12px; color:#656565; margin:15px 0 0; }
.trial-page .button { font-family:var(--font); border:0; border-radius:14px; min-height:54px; padding:15px 18px; font-size:16px; font-weight:600; letter-spacing:-.01em; gap:12px; box-shadow:none; }
.trial-page .primary { background:#d9f0b8; color:#333; }
.trial-page .primary:hover { background:#cde6a8; }
.trial-page .secondary { background:#f1f3f2; border:1px solid #e6e6e6; color:#333; }
.trial-page button:disabled,.trial-page [aria-disabled=true] { opacity:.5; cursor:wait; }
.trial-dock { position:fixed; z-index:7; left:50%; bottom:0; transform:translateX(-50%); width:100%; max-width:500px; padding:14px 20px calc(14px + env(safe-area-inset-bottom)); background:#f7f8f7f5; backdrop-filter:blur(14px); border-top:1px solid #eceeec; }
.trial-actions { display:flex; gap:10px; }
.trial-actions .button { flex:1; }
.trial-dock .text-button { display:block; margin:8px auto 0; min-height:34px; }
.trial-page .text-button { border:0; background:none; padding:7px 2px; font:inherit; font-size:13px; color:#656565; text-decoration:underline; text-underline-offset:4px; }
.form-message { color:#a0442e; font-size:13px; line-height:1.6; margin-bottom:10px; }
.storage-status { font-size:12px; color:#656565; border-left:3px solid #abcb7c; padding-left:10px; margin:0 0 20px; }
.storage-status[data-tone=error] { padding:12px 14px; border:1px solid #ead8bf; background:#fff7e8; border-radius:12px; color:#78572d; }
.storage-status button { border:0; background:none; font:inherit; color:inherit; text-decoration:underline; padding:3px 0; display:block; margin-top:5px; }
.case-peek { background:#f1f3f2; border:1px solid #e6e6e6; border-radius:16px; padding:16px; margin-bottom:24px; }
.case-peek>span { color:#656565; font-size:12px; }
.case-peek strong { display:block; font-size:16px; margin-top:6px; font-weight:600; }
.case-peek p { font-size:13px; color:#656565; margin:5px 0 0; }
.trial-page fieldset { border:0; padding:0; margin:0 0 22px; min-width:0; }
.trial-page legend { font-size:15px; font-weight:500; line-height:1.7; margin-bottom:14px; padding:0; }
.score-row { display:flex; gap:8px; }
.score-row label { flex:1; min-width:0; position:relative; cursor:pointer; }
.score-row span { display:grid; place-items:center; min-height:54px; font-size:18px; font-weight:500; background:#fefefe; border:1px solid #e6e6e6; border-radius:13px; }
.score-row input,.choice-row input { position:absolute; width:1px; height:1px; opacity:0; }
.score-row input:checked+span,.choice-row input:checked+span { background:#edf5e3; border-color:#89a865; box-shadow:0 0 0 1px #89a865; }
.score-row input:focus-visible+span,.choice-row input:focus-visible+span { outline:3px solid #5e843c; outline-offset:3px; }
.score-anchors { display:flex; justify-content:space-between; gap:12px; margin-top:9px; color:#656565; font-size:12px; }
.trial-consent { margin-top:27px; padding-top:20px; border-top:1px solid #e6e6e6; }
.trial-consent label { display:flex; align-items:start; gap:10px; font-size:13px; }
.trial-page input[type=checkbox] { accent-color:#6b904a; flex:none; width:20px; height:20px; margin:1px 0 0; }
.consent-info { padding-left:30px; margin-top:4px; }
.consent-info .text-button { font-size:12px; }
.choice-row { display:grid; gap:10px; }
.choice-row label { display:block; position:relative; cursor:pointer; }
.choice-row label>span { display:block; border:1px solid #e6e6e6; border-radius:15px; padding:15px 16px; background:#fefefe; font-size:14px; line-height:1.6; }
.chat-stream { display:grid; gap:18px; margin:8px 0 22px; }
.chat-history { margin:0 0 22px; }
.chat-history summary { color:#656565; font-size:13px; cursor:pointer; }
.chat-message-row { display:flex; align-items:end; gap:9px; }
.chat-message-row>img { flex:none; }
.chat-bubble { font-size:15px; color:#656565; background:#f1f3f2; border-radius:18px 18px 18px 4px; padding:15px 16px; max-width:90%; line-height:1.7; }
.chat-user { display:flex; justify-content:flex-end; }
.chat-user .chat-bubble { background:#d9f0b8; color:#333; border-radius:18px 4px 18px 18px; }
.chat-typing { display:flex; align-items:end; gap:9px; margin:8px 0 18px; }
.chat-typing>img { flex:none; }
.typing-dots { display:flex; align-items:center; gap:4px; padding:17px 18px; background:#f1f3f2; border-radius:18px 18px 18px 4px; }
.typing-dots i { display:block; width:5px; height:5px; border-radius:50%; background:#9fa69b; }
.trial-page h2.chat-bubble { font-size:17px; line-height:1.65; font-weight:500; margin:0; letter-spacing:-.01em; }
.trial-stage [data-question] .chat-message-row { margin-bottom:20px; }
.outgoing-reply { margin:18px 0; }
@media(prefers-reduced-motion:no-preference) {
  .chat-arrive { animation:chat-arrive .3s cubic-bezier(.2,.7,.2,1) both; }
  .typing-dots i { animation:chat-typing .85s ease-in-out infinite; }
  .typing-dots i:nth-child(2) { animation-delay:.12s; }
  .typing-dots i:nth-child(3) { animation-delay:.24s; }
  @keyframes chat-arrive { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
  @keyframes chat-typing { 0%,60%,100% { opacity:.45; transform:translateY(0); } 30% { opacity:1; transform:translateY(-3px); } }
}
.chat-question { font-size:18px; color:#333; font-weight:600; line-height:1.6; margin:6px 0 15px; }
.question-counter { font-size:12px; color:#656565; margin-bottom:14px; }
.avatar-invite { background:#f1f3f2; border:1px solid #e6e6e6; border-radius:22px; padding:20px; }
.avatar-invite-top { display:flex; gap:19px; align-items:center; margin-bottom:20px; }
.avatar-invite-top img { width:83px; height:112px; object-fit:cover; border-radius:12px; background:#fefefe; }
.trial-page .avatar-invite h2 { font-size:19px; line-height:1.5; margin-bottom:8px; }
.avatar-invite p { font-size:13px; color:#656565; }
.avatar-invite .button { width:100%; }
.inline-actions { text-align:center; margin-top:12px; }
.state-strip { display:flex; gap:14px; align-items:center; border:1px solid #e6e6e6; background:#f1f3f2; padding:15px; border-radius:17px; margin-bottom:22px; }
.state-strip>img { width:45px; height:60px; object-fit:cover; border-radius:8px; background:#fff; }
.state-strip strong { display:block; font-size:15px; font-weight:600; }
.state-strip p { font-size:13px; color:#656565; margin-top:4px; }
.state-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.state-tags span { padding:4px 9px; border-radius:30px; background:#fefefe; border:1px solid #e6e6e6; font-size:12px; }
.summary-card { background:#f1f3f2; border:1px solid #e6e6e6; border-radius:22px; padding:20px; margin-top:24px; }
.summary-card .state-strip { border:0; border-radius:0; padding:0 0 18px; border-bottom:1px solid #e6e6e6; margin-bottom:20px; }
.summary-card .state-strip>img { width:62px; height:83px; }
.summary-card dl { display:grid; gap:20px; margin:0; }
.summary-card dt { color:#656565; font-size:13px; margin-bottom:4px; }
.summary-card dd { color:#333; font-size:15px; font-weight:500; margin:0; }
.summary-edit { display:flex; gap:20px; margin-top:15px; }
.profile-option { display:flex; gap:10px; align-items:start; font-size:13px; color:#656565; margin-top:22px; }
.plan-tabs { display:flex; gap:8px; margin:0 0 22px; }
.plan-tabs button { flex:1; border:1px solid #e6e6e6; background:#f1f3f2; color:#656565; border-radius:12px; min-height:46px; font:inherit; font-size:14px; }
.plan-tabs button[aria-selected=true] { background:#d9f0b8; border-color:#abcb7c; color:#333; font-weight:600; }
.plan-panel { outline-offset:4px; }
.care-heading { display:flex; align-items:center; gap:8px; font-size:16px; margin-bottom:14px; }
.care-heading::before { content:''; width:9px; height:9px; flex:none; border-radius:50%; background:#a7cb73; }
.care-heading.avoid::before { background:#cf867e; }
.care-card { background:#f1f3f2; border:1px solid #e6e6e6; border-radius:20px; padding:20px; margin:15px 0; }
.care-card ul { margin:0; padding-left:18px; font-size:14px; line-height:1.8; }
.care-card li+li { margin-top:10px; }
.care-card .time-label { font-size:12px; display:block; font-weight:600; color:#656565; margin-bottom:3px; }
.safety-note { border-top:1px solid #e6e6e6; padding-top:15px; margin-top:20px; font-size:12px; color:#656565; }
.source-details { font-size:13px; color:#656565; margin-top:21px; }
.source-details summary { font-weight:500; cursor:pointer; }
.source-details ol { padding-left:19px; }
.source-details li { line-height:1.7; margin:12px 0; }
.source-details a { text-decoration:underline; text-underline-offset:3px; }
.product-type { display:flex; align-items:center; gap:22px; background:#f1f3f2; border:1px solid #e6e6e6; border-radius:20px; padding:24px; margin-top:15px; }
.product-type .bottle { flex:none; transform:scale(.8); margin:12px 0; }
.product-type h3 { font-size:18px; margin-bottom:8px; }
.product-type p { color:#656565; font-size:13px; }
.routine-status { display:flex; align-items:center; justify-content:space-between; gap:15px; background:#edf5e3; border-radius:17px; padding:18px; margin:20px 0; }
.routine-status strong { font-size:16px; display:block; }
.routine-status span { font-size:12px; color:#656565; }
.routine-status>b { display:grid; place-items:center; background:#d9f0b8; border-radius:50%; width:48px; height:48px; font-size:15px; font-weight:600; flex:none; }
.routine-check { display:flex; gap:12px; align-items:start; border:1px solid #e6e6e6; border-radius:16px; background:#f1f3f2; padding:18px; margin-top:12px; cursor:pointer; }
.routine-check:has(input:checked) { border-color:#abcb7c; background:#eff6e6; }
.routine-check strong { display:block; font-size:16px; font-weight:600; }
.routine-check small { display:block; font-size:12px; color:#656565; margin-top:3px; }
.routine-check .routine-time { font-size:12px; font-weight:500; color:#5d7446; margin-top:8px; }
.adjust-banner { display:block; width:100%; text-align:left; border:1px solid #d6e6c0; background:linear-gradient(105deg,#eff4e7,#d9f0b8); border-radius:17px; padding:19px; margin-top:22px; font:inherit; }
.adjust-banner strong { display:block; font-size:15px; font-weight:600; }
.adjust-banner span { display:block; font-size:13px; color:#656565; margin-top:5px; }
.completion-mark { display:grid; place-items:center; width:58px; height:58px; background:#d9f0b8; color:#333; font-size:27px; border-radius:50%; margin:10px 0 24px; }
.completion-list { background:#f1f3f2; border:1px solid #e6e6e6; border-radius:20px; padding:19px; margin-top:25px; }
.completion-list>strong { font-size:15px; display:block; margin-bottom:12px; }
.completion-list p { color:#656565; font-size:14px; margin:9px 0; }
.trial-page .trial-sheet { width:calc(100% - 24px); max-width:480px; max-height:calc(100dvh - 24px); border:0; padding:0; border-radius:24px; background:#f7f8f7; color:#333; box-shadow:0 15px 60px #3332; }
.trial-sheet::backdrop { background:#2226; backdrop-filter:blur(2px); }
.sheet-heading { position:sticky; top:0; z-index:3; background:#f7f8f7; border-bottom:1px solid #e6e6e6; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; }
.trial-page .sheet-heading h2 { font-size:18px; margin:0; font-weight:600; }
.sheet-heading button { border:0; background:none; padding:7px 0; font:inherit; font-size:14px; color:#656565; }
.sheet-body { padding:22px 20px; }
.sheet-body h3 { margin:0 0 12px; }
.sheet-body>p { font-size:14px; color:#656565; margin:12px 0; }
.sheet-body .eyebrow { font-size:12px; color:#5d7449; margin-bottom:10px; }
.sheet-reserve { width:100%; margin-top:22px; }
.privacy-details { font-size:13px; color:#656565; padding:15px 0; border-block:1px solid #e6e6e6; margin-top:22px; }
.privacy-details summary { cursor:pointer; }
.privacy-details p { margin:14px 0 0; line-height:1.9; }
.privacy-details a { text-decoration:underline; }
#withdraw { display:block; color:#8b5044; margin-top:15px; }
.state-figure { position:relative; height:258px; background:#e9f1db; border-radius:17px; overflow:hidden; margin:12px 0 8px; }
.state-figure canvas { display:block; width:100%; height:100%; touch-action:pan-y; cursor:grab; outline-offset:-4px; }
.state-figure .model-loading { position:absolute; left:15px; right:15px; top:16px; font-size:12px; }
.chin-select { position:absolute; left:50%; top:66%; transform:translate(-50%,-50%); width:82px; height:44px; padding:0; border:1px solid transparent; border-radius:50%; background:#e7f4cb24; box-shadow:0 0 16px 7px #edffd14d; font:inherit; cursor:pointer; }
.chin-hint { position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%); white-space:nowrap; padding:6px 11px; border-radius:10px; background:#fffffff0; color:#4d5945; font-size:12px; font-weight:500; line-height:1.5; box-shadow:0 3px 12px #3d503612; pointer-events:none; }
.chin-hint::before { content:''; position:absolute; left:calc(50% - 4px); bottom:100%; border:4px solid transparent; border-bottom-color:#fffffff0; }
.chin-select[aria-pressed=true] { border-color:transparent; background:transparent; box-shadow:none; }
.chin-select[aria-pressed=true] .chin-hint { color:#456735; }
@media(prefers-reduced-motion:no-preference) {
  .chin-select[aria-pressed=false] { animation:chin-invite 1.8s ease-in-out 3; }
  @keyframes chin-invite { 0%,100% { box-shadow:0 0 14px 5px #edffd133; background:#e7f4cb14; } 50% { box-shadow:0 0 20px 10px #edffd17a; background:#e7f4cb4d; } }
}
.canvas-note { text-align:center; font-size:11px; color:#656565; margin-bottom:20px; }
.symptom-choices { display:flex; gap:10px; margin:10px 0 22px; flex-wrap:wrap; }
.symptom-choices label { display:flex; align-items:center; gap:8px; background:#f1f3f2; border:1px solid #e6e6e6; padding:12px 14px; border-radius:13px; font-size:14px; cursor:pointer; }
.symptom-choices label:has(input:checked) { background:#edf5e3; border-color:#abcb7c; }
.symptom-choices input { width:18px !important; height:18px !important; }
.sheet-error { color:#a04430; font-size:13px; margin-bottom:12px; }
.sheet-body .sheet-submit { width:100%; }
.edit-field { display:grid; gap:8px; margin-bottom:20px; }
.edit-field label { font-size:14px; font-weight:500; }
.edit-field select { min-height:50px; width:100%; font:inherit; font-size:14px; padding:12px; color:#333; background:#fefefe; border:1px solid #e6e6e6; border-radius:12px; }
.noscript-note { padding:30px; }
.trial-page :focus-visible { outline:3px solid #5f813e; outline-offset:4px; }
@media(min-width:600px) { .trial-app { border-inline:1px solid #e6e6e6; } .trial-main { padding-inline:27px; } .trial-header { padding-inline:17px; } .trial-progress { padding-inline:27px; } .trial-dock { padding-inline:27px; border-inline:1px solid #e6e6e6; } }
@media(max-width:599px) { .trial-page { background:#f7f8f7; } .trial-page .trial-sheet { width:100%; max-width:none; max-height:94dvh; margin:auto auto 0; border-radius:24px 24px 0 0; padding-bottom:env(safe-area-inset-bottom); } }
@media(max-width:359px) { .trial-main { padding-inline:17px; } .trial-page h2 { font-size:25px; } .trial-dock { padding-inline:17px; } .score-row { gap:6px; } .avatar-invite { padding:17px; } .avatar-invite-top { gap:14px; } .trial-page .avatar-invite h2 { font-size:17px; } }
@media(prefers-reduced-motion:no-preference) { .trial-stage { animation:stage-enter .24s ease-out; } @keyframes stage-enter { from { opacity:.3; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } } }
@media(prefers-reduced-motion:reduce) { .trial-progress progress::-webkit-progress-value { transition:none; } }
