/* Consumer wellness experience; personal theme tokens retain the six approved palettes. */
:root{--hairline:#e3e5df;--surface:#fffefb;--radius:24px}
body{background:#eeefe9;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Hiragino Sans','Noto Sans JP',sans-serif}
.app{max-width:1120px;background:var(--paper)}.app-header{max-width:1040px;height:86px;padding:14px 30px}.demo-bar{font-size:10px;background:var(--soft);color:var(--brand);letter-spacing:.02em}.app-header .brand-button{width:116px}.app-header .avatar{border:1px solid var(--outline);background:var(--surface);color:var(--brand)}
.screen{max-width:840px;padding:24px 30px 50px}#home{max-width:1040px}h1,#home h1{font-size:26px;letter-spacing:-.035em;line-height:1.55;font-weight:600}#home .greeting{margin:6px 0 22px}.page-heading .day-mark{display:none}.eyebrow,.section-kicker{font-size:10px;letter-spacing:.12em;color:var(--brand);font-weight:600}.section-kicker{line-height:1.7}
.wellness-hero{display:grid;grid-template-columns:1fr 1.13fr;min-height:315px;border-radius:26px;overflow:hidden;margin:8px 0 24px;background:var(--soft)}.wellness-hero>div{padding:30px 28px;position:relative;z-index:1}.wellness-hero h2{font-size:29px;line-height:1.65;letter-spacing:-.045em;font-weight:550;color:var(--brand);margin:17px 0}.wellness-hero p:not(.eyebrow){font-size:12px;color:var(--brand)}.wellness-hero figure{position:relative;margin:0;min-width:0}.wellness-hero img{width:100%;height:100%;object-fit:cover;object-position:72% 50%;display:block}.wellness-hero figcaption,.movement-entry figcaption,.coach-portrait figcaption{position:absolute;right:9px;bottom:7px;font-size:9px;background:#fffefaed;color:#4d514b;padding:2px 5px;border-radius:4px;line-height:1.5}.hero-action{display:inline-flex;align-items:center;gap:16px;min-height:44px;border:0;border-bottom:1px solid var(--brand);padding:10px 0 4px;color:var(--brand);font-size:13px;font-weight:600;background:transparent}.hero-action svg{width:15px;height:15px}.primary{border-radius:14px;background:var(--brand);color:var(--paper)}.outline{border-radius:14px}.hero-action:hover{opacity:.75;background:transparent}
.today-overview{margin:0 0 24px;padding:20px 0 18px;grid-template-columns:1fr 1.4fr;gap:4px 20px}.today-overview>p{grid-column:1/-1;margin-top:6px;font-size:11px}.today-overview strong{font-size:34px;color:var(--brand)}.today-overview strong small{font-size:12px}.calorie-target{grid-column:1/-1!important;border:0!important;padding:8px 0 0!important;font-size:11px}.calorie-target span{font-size:11px}.calorie-target progress{display:block;width:100%;height:7px;margin:9px 0 0;accent-color:var(--brand);border:0;border-radius:8px;overflow:hidden}.calorie-target progress::-webkit-progress-bar{background:var(--soft)}.calorie-target progress::-webkit-progress-value{background:var(--brand);border-radius:8px}
.home-layout{gap:28px;grid-template-columns:1.1fr 1fr}.capture-panel{border:1px solid var(--hairline);background:var(--surface);padding:24px}.capture-panel h2{color:var(--ink);font-size:22px}.capture-panel .helper{color:var(--muted);font-size:12px}.capture-shortcuts{grid-template-columns:repeat(3,1fr);gap:8px}.capture-shortcuts button{background:var(--soft);border:0;min-height:115px;padding:15px 10px}.capture-shortcuts button:hover{background:var(--pistachio)}.capture-shortcuts span{font-size:13px;letter-spacing:-.02em}.capture-shortcuts small{font-size:10px;letter-spacing:-.02em}.capture-history{font-size:12px}.capture-shortcuts button>svg{width:23px;height:23px}.coach-entry{background:var(--soft);border:0;padding:24px;border-radius:24px}.coach-entry h2{font-size:18px;line-height:1.7}.coach-title img{width:34px;height:34px}.coach-entry .helper{font-size:10px;display:block;line-height:1.8;margin:12px 0 0}.home-coach-options{display:grid;gap:0;border-top:1px solid #60726133;margin-top:18px}.home-coach-options button{display:flex;align-items:center;gap:12px;min-height:77px;padding:12px 0;border:0;border-bottom:1px solid #60726133;background:transparent;text-align:left;color:var(--brand)}.home-coach-options button>svg:first-child{width:23px;height:23px;flex-shrink:0}.home-coach-options button>svg:last-child{width:15px;height:15px;margin-left:auto}.home-coach-options span{font-size:15px;font-weight:600}.home-coach-options small{display:block;font-size:11px;font-weight:400;margin-top:4px}.home-coach-options button:hover{padding-left:5px}
.movement-entry{margin-top:24px;border:1px solid var(--hairline);border-radius:24px;overflow:hidden;background:var(--surface)}.movement-entry figure{position:relative;margin:0;height:190px}.movement-entry img{width:100%;height:100%;object-fit:cover;object-position:center 45%;display:block}.movement-entry>div{padding:22px}.movement-entry h2{font-size:19px;line-height:1.6;margin:9px 0}.movement-entry p{font-size:12px;color:var(--muted)}.movement-entry strong{font-size:18px;color:var(--brand);margin-left:10px}.movement-entry .outline{font-size:13px;margin:14px 0 0;display:flex;align-items:center;justify-content:space-between;width:100%}.movement-entry .outline svg{width:16px;height:16px}.weekly-entry{padding:24px 0;margin-top:24px;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline)}.weekly-entry h2{font-size:20px;margin:12px 0 8px}.weekly-entry p{font-size:12px;color:var(--muted)}.weekly-entry .row-link{border:0;background:transparent;padding-left:0;font-size:13px}.line-invite{padding:24px;border-radius:24px;margin-top:24px;background:var(--surface);border:1px solid var(--hairline)}.line-badge{display:inline-flex;padding:2px 9px;background:#067a39;color:#fff;border-radius:6px;letter-spacing:.04em;font-size:10px;font-weight:700}.line-invite h2{font-size:18px;line-height:1.6;margin:14px 0}.line-invite p{font-size:12px;color:var(--muted);line-height:1.9}.line-invite button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;background:transparent;border-bottom:1px solid var(--hairline);color:var(--brand);font-size:12px;margin-top:14px;text-align:left}.line-invite svg{width:15px;height:15px}.line-invite small{display:block;color:var(--muted);font-size:10px;line-height:1.8;margin-top:12px}
.bottom-nav{max-width:1120px;background:var(--paper);border-top:1px solid var(--hairline);box-shadow:none;backdrop-filter:none}.bottom-nav button{color:var(--muted)}.bottom-nav button[aria-current=page]{color:var(--brand);background:var(--soft);border-radius:14px}.bottom-nav span{font-size:11px}
#auth-pane{max-width:1040px;display:grid;grid-template-columns:1.15fr 1fr;gap:54px;padding:20px 30px 60px}.auth-story{min-width:0}.auth-story h1,#auth-pane .auth-story h1{font-size:38px;line-height:1.65;letter-spacing:-.04em;font-weight:500;margin:24px 0;color:var(--brand)}.auth-story>p:not(.eyebrow){font-size:14px;line-height:1.9;color:var(--muted)}.auth-story figure{margin:28px 0 0;position:relative}.auth-story figure img{width:100%;height:270px;object-fit:cover;object-position:70% 50%;border-radius:24px}.auth-story figcaption{position:absolute;bottom:12px;right:10px;font-size:9px;background:#fffefaeb;padding:2px 5px;border-radius:4px}.auth-actions{padding-top:70px;min-width:0}.auth-actions h2{font-size:23px;line-height:1.6;margin:12px 0}.auth-actions>p{font-size:13px;line-height:1.9;color:var(--muted)}.auth-actions>.google-login{margin-top:30px}.auth-actions>.helper{font-size:11px}.auth-actions .text-button{font-size:12px}
.welcome-screen{max-width:570px;text-align:center}.welcome-screen h1{font-size:32px;line-height:1.6;margin-top:20px}.welcome-screen>p:not(.eyebrow){font-size:13px;color:var(--muted)}.welcome-photo{position:relative;overflow:hidden;border-radius:24px;margin-bottom:26px;height:200px}.welcome-photo img{width:100%;height:100%;object-fit:cover;object-position:center 43%}.welcome-photo small{position:absolute;bottom:7px;right:8px;background:#fffefaed;font-size:9px;padding:2px 5px}.gender-choices{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:26px 0 18px}.gender-choices button{padding:18px 8px;background:var(--surface);border:1px solid var(--outline);border-radius:16px;font-size:16px;color:var(--brand);min-height:90px}.gender-choices button[aria-pressed=true]{border:2px solid var(--brand);background:var(--soft)}.gender-choices span{font-size:10px;display:block;margin-top:7px}.welcome-screen>.primary{width:100%;display:flex;justify-content:center;align-items:center;gap:20px}.welcome-screen>.primary svg{width:17px;height:17px}.app[data-screen=welcome] .bottom-nav{display:none}
.coach-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:var(--soft);border-radius:16px;margin:22px 0}.coach-tabs button{min-height:48px;background:transparent;border-radius:12px;color:var(--muted);font-size:14px;font-weight:600}.coach-tabs button[aria-selected=true]{background:var(--surface);color:var(--brand);box-shadow:0 1px 6px #354f4112}.coach-portrait{display:grid;grid-template-columns:1fr 1.3fr;background:var(--surface);border-radius:22px;overflow:hidden;min-height:180px;border:1px solid var(--hairline)}.coach-portrait figure{position:relative;margin:0;min-width:0}.coach-portrait img{width:100%;height:100%;object-fit:cover;display:block;object-position:68% 50%}.coach-portrait>div{padding:22px}.coach-portrait h2{font-size:20px;margin:0 0 10px}.coach-portrait p{font-size:12px;line-height:1.9;color:var(--muted)}.coach-portrait .text-button{font-size:12px}.coach-utility{display:flex;gap:12px;margin:14px 0}.coach-utility button{font-size:12px;min-height:44px;background:transparent;color:var(--brand);text-decoration:underline;text-underline-offset:4px}.consult-intro{margin-top:25px}.question-starters button{font-size:12px;text-align:left;white-space:normal}.coach-portrait+.helper{font-size:10px}.voice-controls{margin:16px 0;border:1px solid var(--hairline);padding:0 14px;border-radius:14px;background:var(--surface)}.voice-controls>summary{display:flex;align-items:center;gap:8px;min-height:48px;cursor:pointer;font-size:13px;color:var(--brand)}.voice-controls>summary svg{width:18px;height:18px}.voice-controls .check-row{font-size:12px}.voice-controls .outline{margin-bottom:14px;font-size:13px}.voice-controls .check-row small{font-size:11px;line-height:1.8}.workout-presets{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 20px}.workout-presets button{min-height:44px;padding:8px 12px;background:var(--soft);border-radius:12px;font-size:13px;color:var(--brand)}.workout-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.workout-fields .field{min-width:0;font-size:11px}.workout-fields input{min-width:0;width:100%}
.settings-section{border-top:1px solid var(--hairline);margin:0;padding:0}.settings-section>summary{font-weight:600;font-size:15px;min-height:64px;align-content:center;cursor:pointer;color:var(--brand)}.settings-section form{margin:16px 0 26px}.settings-section h2{font-size:20px}.settings-section fieldset{border:0;padding:0;margin-bottom:20px}.settings-section legend{font-size:14px;margin-bottom:14px}.personal-palette{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.personal-palette label{cursor:pointer;display:flex;flex-direction:column;gap:9px;align-items:center;padding:14px 8px;border:1px solid var(--hairline);border-radius:15px;font-size:12px;position:relative;background:var(--surface)}.personal-palette label:has(input:checked){border:2px solid var(--brand);background:var(--soft);padding:13px 7px}.personal-palette input{position:absolute;inset:5px auto auto 5px;accent-color:var(--brand);width:14px;height:14px}.palette-swatch{width:36px;height:36px;border-radius:50%;display:block}.reminder-times{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings-section .primary{font-size:14px}.report-hero{height:220px;border-radius:24px;overflow:hidden;position:relative;margin:22px 0}.report-hero img{width:100%;height:100%;object-fit:cover;object-position:center 44%}.report-hero small{position:absolute;bottom:9px;right:9px;background:#fffefaed;font-size:9px;padding:2px 5px}.report-stat{padding:20px 0;border-bottom:1px solid var(--hairline)}.report-stat>span{font-size:12px;display:block;color:var(--muted)}.report-stat strong{font-size:30px;font-weight:500;color:var(--brand);display:block;margin-top:5px;font-variant-numeric:tabular-nums}.report-stat .helper{font-size:12px;margin-bottom:0}#report h2{margin-top:30px}
@media(min-width:768px){.bottom-nav{padding-left:180px;padding-right:180px}.home-layout{display:grid}.home-secondary-column .movement-entry{margin-top:24px}.today-overview{grid-template-columns:.65fr 1fr 1.5fr}.today-overview>p{grid-column:1/3}.today-overview .calorie-target{grid-column:3!important;grid-row:1/3;align-self:center;border-left:1px solid var(--hairline)!important;padding:10px 0 10px 24px!important}.today-overview>div+div{padding-left:22px}}
@media(max-width:767px){.app-header{height:72px;padding:8px 22px}.screen{padding:20px 22px 40px}#home h1{font-size:23px}.app{box-shadow:none}.home-layout{display:flex;gap:22px}.home-primary-column,.home-secondary-column{display:contents}.capture-panel{order:0}.coach-entry{order:1}.daily-meals{order:2}.movement-entry{order:3;margin-top:0}#home-week-section{order:4}.weekly-entry{order:5;margin-top:0}#home-recent-section{order:6}.line-invite{order:7;margin-top:0}.home-report{order:8}.home-profile{order:9}.wellness-hero{display:flex;flex-direction:column-reverse;min-height:0;border-radius:22px;margin-top:18px}.wellness-hero figure{height:177px}.wellness-hero img{object-position:70% 57%}.wellness-hero>div{padding:22px 22px 24px}.wellness-hero .eyebrow{font-size:9px;margin:0}.wellness-hero h2{font-size:25px;line-height:1.6;margin:12px 0 10px}.wellness-hero p:not(.eyebrow){font-size:11px;margin:0 0 8px}.hero-action{font-size:12px}.today-overview{margin-bottom:22px}.capture-panel,.coach-entry{padding:22px}.capture-panel h2{font-size:21px}.movement-entry figure{height:190px}.weekly-entry{padding-top:24px}.coach-portrait{grid-template-columns:1fr;min-height:0}.coach-portrait figure{height:160px}.coach-portrait img{object-position:65% 56%}.coach-portrait>div{padding:18px 20px}.coach-portrait h2{font-size:20px}.coach-tabs button{font-size:13px}.coach-utility{gap:15px}.coach-utility button{font-size:11px}#auth-pane{display:flex;flex-direction:column;gap:0;padding:18px 22px 45px}.auth-story .eyebrow{font-size:9px}.auth-story h1,#auth-pane .auth-story h1{font-size:33px;line-height:1.6;margin:22px 0 16px}.auth-story>p:not(.eyebrow){font-size:13px}.auth-story figure{margin:24px -22px 0}.auth-story figure img{height:210px;object-position:70% 53%;border-radius:0}.auth-actions{padding-top:30px}.auth-actions .eyebrow{display:none}.auth-actions h2{font-size:23px;margin-bottom:12px}.auth-actions>.google-login{margin-top:22px}.welcome-screen{text-align:left}.welcome-photo{height:180px}.welcome-screen h1{font-size:30px}.welcome-screen .gender-choices{text-align:center}.report-hero{height:180px}.workout-fields{gap:8px}}
@media(max-width:350px){.screen{padding-left:17px;padding-right:17px}.app-header{padding-left:17px;padding-right:17px}#auth-pane{padding-left:17px;padding-right:17px}.auth-story figure{margin-left:-17px;margin-right:-17px}#home h1{font-size:21px}.capture-panel,.coach-entry{padding:18px}.capture-shortcuts{gap:5px}.capture-shortcuts button{padding:13px 7px}.capture-shortcuts span{font-size:12px}.capture-shortcuts small{font-size:9px}.wellness-hero h2{font-size:22px}.gender-choices button{font-size:14px;padding:15px 5px}.gender-choices span{font-size:9px}.coach-tabs button{font-size:12px}.personal-palette label{font-size:11px}.workout-fields{grid-template-columns:1fr}.auth-story h1,#auth-pane .auth-story h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
[hidden]{display:none!important}
/* Keep the actual sign-in action within a normal phone's first screen. */
@media(max-width:767px){#auth-pane{padding-top:12px}.auth-story h1,#auth-pane .auth-story h1{font-size:30px;line-height:1.45;margin:16px 0 12px}.auth-story>p:not(.eyebrow){font-size:12px;line-height:1.8}.auth-story figure{margin-top:18px}.auth-story figure img{height:155px}.auth-actions{padding-top:22px}.auth-actions h2{font-size:20px;margin:6px 0 10px}.auth-actions>p{font-size:12px}.auth-actions>.google-login{margin-top:18px}}
@media(max-width:350px){.auth-story h1,#auth-pane .auth-story h1{font-size:27px}.auth-story figure img{height:145px}.auth-actions h2{font-size:18px}}

/* Plain authorization action; no custom or modified LINE logo/button artwork. */
.line-login{width:100%;min-height:52px;background:transparent;color:var(--text);border:1px solid currentColor;border-radius:12px;font-size:16px;font-weight:700;margin:0 0 10px}.line-login[hidden]{display:none}.line-login:disabled{color:#59665c}.line-login-note{margin:0 0 20px}.line-connection,.line-notification{margin:22px 0;padding:18px 0;border-top:1px solid var(--line)}.line-connection button,.line-connection a,.line-notification button{margin:10px 0;width:100%}.line-notification h3{margin:0 0 10px}#line-connection-state{font-weight:700}#line-friend-link{display:block;text-align:center}#line-friend-link[hidden]{display:none}

/* The next action stays distinct from cumulative record totals. */
.auth-benefits{list-style:none;padding:0;margin:24px 0;display:grid;gap:14px}.auth-benefits li{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.7}.auth-benefits svg{width:20px;height:20px;flex:none;color:var(--brand)}
.today-next{display:grid;grid-template-columns:1fr auto;column-gap:24px;padding:23px 25px;border:1px solid var(--hairline);border-radius:20px;background:var(--surface);margin-bottom:22px}.today-next .section-kicker,.today-next h2,.today-next p{grid-column:1}.today-next h2{font-size:19px;color:var(--brand);margin:9px 0}.today-next p{font-size:12px;color:var(--muted);margin:0;line-height:1.85}.today-next button{grid-column:2;grid-row:1/4;align-self:center;display:flex;gap:13px;align-items:center;font-size:13px;min-height:48px;padding:13px 20px}.today-next svg{width:15px;height:15px}.line-invite-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.line-preview{display:flex;flex-direction:column;gap:12px;padding:18px 0;margin:12px 0;border-block:1px solid var(--hairline)}.line-preview>small{font-size:10px;color:var(--muted)}.line-preview p{font-size:12px;line-height:1.85;max-width:88%;padding:12px 14px;margin:0;border-radius:14px;background:var(--surface)}.line-preview .preview-user{align-self:flex-end;background:var(--soft);color:var(--brand)}.line-preview .preview-coach{align-self:flex-start}.coaching-styles{display:grid;gap:10px}.coaching-styles label{display:flex;gap:12px;align-items:center;border:1px solid var(--hairline);border-radius:14px;padding:16px;cursor:pointer}.coaching-styles label:has(input:checked){background:var(--soft);border-color:var(--brand)}.coaching-styles input{accent-color:var(--brand);width:18px;height:18px;flex:none}.coaching-styles strong{font-size:14px;display:block}.coaching-styles small{font-size:11px;display:block;margin-top:5px;line-height:1.8;color:var(--muted)}
@media(max-width:767px){.today-next{grid-template-columns:1fr;padding:22px;gap:0}.today-next button{grid-column:1;grid-row:auto;justify-content:space-between;margin-top:17px}.today-next h2{font-size:18px}.line-invite{order:1}.coach-entry{order:2}.capture-panel{order:0}.line-preview p{max-width:94%}.wellness-hero .hero-action{gap:8px}.auth-benefits{margin:22px 0 28px}.auth-benefits li{font-size:12px}.auth-story h1,#auth-pane .auth-story h1{font-size:32px;line-height:1.55}}
.entry-intent-note{padding:12px 16px;border-radius:12px;background:var(--soft);font-weight:600;color:var(--brand)}

/* Saved meal -> explicit next-meal question; existing palette and controls. */
.meal-next{background:var(--soft);padding:20px;border-radius:20px}.meal-next>p:not(.helper){font-weight:600;overflow-wrap:anywhere}.meal-next .primary{width:100%}.ai-usage-note{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
