:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233a35;background:#f5f7f6;font-synthesis:none;--ink:#233a35;--muted:#65756f;--green:#187563;--deep:#125a4c;--tint:#eaf4ef;--line:#dfe7e2;--white:#fff;--yellow:#856116;--red:#a94546;--shadow:0 4px 24px #163d2810}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #66b9a8;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.2}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:17px}p{line-height:1.6}small,.small{font-size:13px;line-height:1.5}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:1.8px;text-transform:uppercase;font-weight:700}.icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:760;font-size:24px;letter-spacing:-.7px}.brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--green);color:white}.brand span small{display:block;letter-spacing:1.2px;font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:600;margin-top:2px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:244px;padding:36px 24px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.sidebar nav{display:grid;gap:8px;margin-top:56px}.nav-link{display:flex;gap:13px;align-items:center;padding:14px;border-radius:12px;min-height:48px;font-size:14px;font-weight:600;color:var(--muted)}.nav-link.active{color:var(--green);background:var(--tint)}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:22px}.sidebar-foot p{margin:12px 0}.layout{margin-left:244px}.topbar{height:88px;border-bottom:1px solid var(--line);padding:0 48px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#ffffffb3}.topbar .brand{display:none}.topbar-right{display:flex;gap:16px;align-items:center}.avatar{width:36px;height:36px;background:#e4efe9;border:1px solid #cee1d5;display:grid;place-items:center;border-radius:50%;font-size:13px;font-weight:700;color:var(--green)}.icon-btn{border:1px solid var(--line);color:var(--muted);background:white;border-radius:12px;min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.container{max-width:1150px;margin:auto;padding:40px 48px 80px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-head p{color:var(--muted);margin-top:9px;font-size:15px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 20px;border-radius:10px;border:1px solid var(--line);background:white;color:var(--ink);font-weight:650;font-size:14px;line-height:1.4}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:var(--deep)}.btn.ghost{border:none;background:transparent;color:var(--green);padding:6px 0}.btn.danger{color:var(--red);border-color:#e9c7c7}.btn.wide{width:100%}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:26px;box-shadow:0 2px 3px #163d2803}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid.asym{grid-template-columns:1.22fr 1fr}.stack{display:grid;gap:20px}.section-gap{margin-top:22px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650;border-radius:7px;padding:6px 9px;color:var(--muted);background:#f0f3f1;line-height:1.3;max-width:100%}.badge.green{background:#e8f4ed;color:var(--green)}.badge.amber{background:#fff5dc;color:var(--yellow)}.badge .icon{width:14px;height:14px}.metric{font-size:48px;letter-spacing:-2px;font-weight:700;line-height:1.15;margin:16px 0 8px;font-variant-numeric:tabular-nums}.metric span{font-size:20px;letter-spacing:0;color:var(--muted);font-weight:500}.metric.medium{font-size:34px}.metric.empty{font-size:27px;letter-spacing:-.5px;line-height:1.3}.soft{background:var(--tint);border-color:#d2e7db}
.warm{background:#fdf1e6;border-color:#f3dcc6}.warm .chart [stroke="#e3ebe6"]{stroke:#efd8c2}.dark{background:var(--deep);color:white;border-color:var(--deep);position:relative}.dark .muted,.dark small{color:#c5ddd5}.dark .badge{background:#ffffff20;color:white}.dark .bar{background:#ffffff28}.dark .bar span{background:#bde3b8}.dark .btn{background:#ffffff15;color:white;border-color:#ffffff40}.bar{height:8px;background:#edf1ee;border-radius:10px;overflow:hidden;margin:14px 0 9px}.bar span{display:block;height:100%;background:var(--green);border-radius:10px}.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.empty-box{padding:24px 16px;margin-top:20px;background:#f8faf9;border:1px dashed #d8e3dc;border-radius:12px;text-align:center;color:var(--muted);font-size:14px;line-height:1.6}.empty-box .icon{margin-bottom:8px;width:28px;height:28px;color:#92afa0}.target-row{display:flex;align-items:center;gap:16px;margin-top:18px}.target-symbol{width:52px;height:52px;display:grid;place-items:center;background:var(--tint);border-radius:16px;color:var(--green)}.target-symbol .icon{width:28px;height:28px}.target-row strong{font-size:25px;letter-spacing:-.7px}.habit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.habit-tile{border-right:1px solid var(--line);padding-right:16px}.habit-tile:last-child{border:0}.habit-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;margin-bottom:14px}.habit-title .icon{width:19px;color:var(--green)}.habit-number{font-size:23px;font-weight:650;letter-spacing:-.5px}.habit-number span{font-size:14px;color:var(--muted);font-weight:400;letter-spacing:0}.note-box{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border-radius:12px;background:#f1f6f3;font-size:14px;line-height:1.55;color:#4b6558}.note-box .icon{width:19px;margin-top:2px}.bottom-nav{display:none}.daily-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr);gap:24px;align-items:start}.daily-side{position:sticky;top:24px}.form-card{padding:28px}.field{margin-bottom:25px}.field:last-child{margin-bottom:0}.field>label,.field-label{display:flex;align-items:center;gap:8px;font-weight:650;font-size:15px;margin-bottom:9px}.optional{font-size:13px;color:var(--muted);font-weight:400}.input,textarea,select{display:block;border:1px solid #d6e0d9;border-radius:10px;background:white;padding:13px 14px;color:var(--ink);width:100%;min-height:48px;font-size:16px}.input-wrap{position:relative}.input-wrap .input{padding-right:50px}.unit{position:absolute;right:15px;top:14px;color:var(--muted);pointer-events:none}.field p{font-size:13px;color:var(--muted);margin-top:8px}.field .error{color:var(--red)}.choices{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.choices.three{grid-template-columns:repeat(3,1fr)}.choice{border:1px solid var(--line);background:#fff;border-radius:11px;min-height:48px;padding:13px 8px;text-align:center;color:var(--ink);position:relative;font-size:14px}.choice strong{display:block;font-size:14px}.choice small{font-size:12px;display:block;line-height:1.4;margin-top:5px;color:var(--muted)}.choice[aria-pressed=true]{border:2px solid var(--green);background:#edf6ef;padding:12px 7px;color:var(--deep)}.choice.yellow[aria-pressed=true]{border-color:#b68c2e;background:#fffaeb;color:#755614}.choice.red[aria-pressed=true]{border-color:#b56363;background:#fff2f2;color:#963d3d}.choice .dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.dot.green{background:#439666}.dot.yellow{background:#d1aa38}.dot.red{background:#c77576}.info-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:#8c9e95;width:44px;height:44px;margin:-12px 0;padding:0}.info-button .icon{width:17px;height:17px}.help{margin-top:10px;background:#f2f6f3;border-radius:9px;padding:12px 14px;font-size:13px;line-height:1.6;color:#516d5d}.date-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;padding:10px 12px;background:white;border:1px solid var(--line);border-radius:12px}.date-switch .input{border:0;padding:0;text-align:center;max-width:190px;min-height:40px;font-weight:600;background:transparent}.date-center{text-align:center}.date-center strong{display:block;font-size:15px}.date-center small{display:block;margin-top:4px}.mvd-icon{width:44px;height:44px;display:grid;place-items:center;color:var(--green);background:#dcede0;border-radius:13px;margin-bottom:18px}.action-list{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px;font-size:14px}.action-list li{display:flex;gap:8px;align-items:center}.action-list .icon{width:17px;height:17px;color:var(--green)}.summary-title{font-size:21px;line-height:1.4;letter-spacing:-.4px}.save-state{font-size:13px;color:var(--muted);display:flex;gap:7px;align-items:center}.save-state .icon{width:16px;height:16px}.save-actions{display:flex;gap:12px;margin-top:22px}.save-actions .primary{flex:1}.chart{display:block;width:100%;height:auto;margin-top:18px;overflow:visible}.chart text{font-family:inherit;font-size:12px;fill:var(--muted)}.chart .weight-label{fill:var(--green);font-weight:600}.review-habit{padding:17px 0;border-bottom:1px solid var(--line)}.review-habit:last-of-type{border:0}.review-habit .bar{margin-top:10px}.day-dots{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:20px 0}.day-dot{text-align:center;color:var(--muted);font-size:12px}.day-dot span{display:grid;place-items:center;border:1px solid var(--line);height:36px;width:36px;border-radius:50%;margin:0 auto 8px}.day-dot .yes{background:var(--green);color:white;border-color:var(--green)}.day-dot .no{background:#f4f2e9;color:#8d7b43}.day-dot .future{border-style:dashed;opacity:.5}.day-dot .icon{width:17px;height:17px}
.day-dot small{display:block;font-size:11px;font-weight:650;color:var(--ink);margin-top:2px}details>summary{cursor:pointer;list-style:none;min-height:44px}details>summary::-webkit-details-marker{display:none}.epic-list{position:relative;display:grid;gap:18px;padding-left:34px}.epic-list:before{content:"";position:absolute;left:10px;top:26px;bottom:28px;width:2px;background:#d7e2d9}.epic-card{position:relative;padding:22px 24px}.epic-card:before{content:"";position:absolute;left:-33px;top:27px;width:17px;height:17px;border:2px solid #adbcaf;border-radius:50%;background:var(--white);z-index:1}.epic-card.current{border-color:#8ebda1}.epic-card.current:before{background:var(--green);border:4px solid #d4e8da;width:20px;height:20px;left:-35px}.epic-card.completed:before{background:#86b391;border-color:#86b391}.epic-card.optional-phase{border-style:dashed}.epic-title{margin-top:13px;font-size:21px;font-weight:650;letter-spacing:-.5px}.epic-card summary .icon.chevron{float:right;margin-top:5px}.epic-card[open] summary .icon.chevron{transform:rotate(180deg)}.epic-content{margin-top:20px}.milestones{display:flex;gap:12px;justify-content:space-between;margin:22px 0 12px}.milestone{flex:1;text-align:center;padding:12px 4px;border-radius:10px;background:#f6f8f6;font-size:12px;color:var(--muted)}.milestone .icon{display:block;margin:0 auto 8px;width:19px;height:19px}.milestone strong{display:block;font-size:16px;color:var(--ink);margin-bottom:5px}.milestone.active{background:#eaf4ed;color:var(--green)}.milestone.done{background:#f0f5f0;color:var(--green)}.onboarding{max-width:960px;margin:65px auto;padding:0 24px}.onboarding>.brand{margin-bottom:36px}.onboard-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:54px;align-items:start}.onboard-copy{padding-top:16px}.onboard-copy h1{font-size:42px;line-height:1.2;letter-spacing:-1.6px;margin:20px 0}.onboard-copy>p{color:var(--muted);font-size:16px}.mini-epics{margin:30px 0;display:grid;gap:14px}.mini-epic{display:flex;gap:14px;align-items:center}.step-number{width:32px;height:32px;border:1px solid #d6e1da;border-radius:50%;display:grid;place-items:center;font-size:13px;color:var(--green);background:white}.mini-epic p{font-size:14px;font-weight:600}.mini-epic small{display:block;font-weight:400;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.onboard-form h2{margin-bottom:22px}.onboard-form .field{margin-bottom:19px}.footer-note{text-align:center;color:var(--muted);font-size:12px;margin:22px 0}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}.error-banner{padding:14px;border:1px solid #edcece;border-radius:10px;background:#fff4f4;color:var(--red);font-size:14px;line-height:1.5;margin-bottom:18px}.error:empty,.error-banner:empty{display:none}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:28px;z-index:70;width:max-content;max-width:calc(100vw - 32px)}.toast-inner{background:#233a35;color:white;border-radius:12px;padding:14px 20px;box-shadow:var(--shadow);font-size:14px;display:flex;align-items:center;gap:18px;line-height:1.5}.toast-inner button{color:#d0efc4;background:transparent;border:0;font-weight:650;padding:8px;min-height:44px}.modal{border:1px solid var(--line);border-radius:20px;padding:28px;max-width:440px;width:calc(100% - 32px);box-shadow:0 20px 70px #12302530;color:var(--ink)}.modal::backdrop{background:#182d245c;backdrop-filter:blur(3px)}.modal p{margin:15px 0 24px;color:var(--muted);font-size:15px}.modal-actions{display:grid;gap:10px}.skip{position:fixed;top:-80px;left:20px;z-index:100;background:white;padding:15px}.skip:focus{top:10px}.loading{padding:80px;text-align:center;color:var(--muted)}.checkline{display:flex;align-items:start;gap:10px;margin:18px 0;font-size:13px;line-height:1.5;color:var(--muted)}.checkline input{min-width:20px;min-height:20px;accent-color:var(--green)}.history-list{display:grid;gap:8px;margin-top:14px}.history-item{background:#f7faf8;padding:12px;border-radius:8px;font-size:13px;display:flex;justify-content:space-between;gap:12px}.spacer-top{margin-top:16px}.text-link{color:var(--green);text-decoration:underline;text-underline-offset:3px}.form-status{min-height:20px;font-size:13px;color:var(--green);margin-top:8px}.mobile-only{display:none}
@media(min-width:1450px){.container{padding-top:50px}.topbar{padding-left:calc((100vw - 244px - 1054px)/2)}}
@media(max-width:1100px){.sidebar{width:206px;padding:30px 16px}.layout{margin-left:206px}.container{padding:32px 26px 80px}.topbar{padding:0 26px}.daily-layout{grid-template-columns:1.35fr 1fr}.habit-grid{gap:12px}.habit-tile{padding-right:10px}}
@media(max-width:820px){.sidebar{display:none}.layout{margin-left:0}.topbar{height:76px;padding:0 24px}.topbar .brand{display:flex;font-size:22px}.topbar-label,.avatar,.topbar-right>.small{display:none}.container{padding:28px 24px 125px}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:30;background:#ffffffed;border-top:1px solid var(--line);backdrop-filter:blur(14px);padding:9px 10px calc(9px + env(safe-area-inset-bottom))}.bottom-nav .nav-link{flex-direction:column;gap:5px;padding:7px 2px;min-height:58px;font-size:11px;text-align:center;border-radius:10px;font-weight:550}.bottom-nav .nav-link .icon{width:22px;height:22px}.bottom-nav .nav-link.active{font-weight:700}.daily-layout{grid-template-columns:1.4fr 1fr}.grid.asym{grid-template-columns:1fr 1fr}#toast{bottom:100px}.onboarding{margin:30px auto}.onboard-grid{gap:28px}.onboard-copy h1{font-size:34px}.mobile-only{display:block}}
@media(max-width:620px){h1{font-size:27px}h2{font-size:18px}.topbar{padding:0 20px;height:72px}.brand-mark{width:35px;height:35px;border-radius:10px}.container{padding:26px 20px 120px}.page-head{align-items:flex-start;gap:12px;margin-bottom:23px}.page-head:has(.btn.primary){flex-wrap:wrap}.page-head>.btn.primary{width:100%}.page-head p{font-size:14px;margin-top:7px}.grid,.grid.asym,.daily-layout,.settings-grid{grid-template-columns:1fr;gap:16px}.card{padding:21px;border-radius:16px}.card-head{margin-bottom:14px;align-items:flex-start}.metric{font-size:44px}.metric.empty{font-size:25px}.habit-grid{grid-template-columns:1fr 1fr;gap:22px 18px}.habit-tile:nth-child(2){border:0}.habit-title{margin-bottom:10px}.daily-side{position:static}.form-card{padding:21px}.form-grid{gap:0 14px}.field>label,.field-label{font-size:15px}.choices{gap:7px}.choice strong{font-size:13px}.choice small{font-size:11px}.choice{padding:13px 5px}.choice[aria-pressed=true]{padding:12px 4px}.date-switch{margin-bottom:17px;padding:5px 8px}.date-switch .icon-btn{min-height:34px;min-width:34px;border-radius:9px}.date-switch .input{min-height:32px}.summary-title{font-size:20px}.save-actions{flex-wrap:wrap}.epic-list{padding-left:27px}.epic-list:before{left:7px}.epic-card:before{left:-29px}.epic-card.current:before{left:-31px}.epic-card{padding:20px}.epic-title{font-size:20px}.onboarding{margin:25px auto;padding:0 20px}.onboarding>.brand{margin-bottom:22px}.onboard-grid{display:block}.onboard-copy{padding-top:0}.onboard-copy h1{font-size:32px;margin:14px 0}.mini-epics{grid-template-columns:1fr 1fr;gap:14px 10px;margin:24px 0}.mini-epic{gap:9px;align-items:flex-start}.mini-epic p{font-size:12px}.mini-epic small{font-size:11px}.step-number{width:25px;height:25px;flex-shrink:0}.onboard-copy>.note-box{margin-bottom:22px}.onboard-form h2{font-size:19px}.onboarding .footer-note{padding-bottom:10px}.day-dots{gap:4px}.day-dot span{width:30px;height:30px}.milestones{gap:7px}.milestone{font-size:11px}.milestone strong{font-size:15px}.between.wrap{flex-wrap:wrap}.btn{font-size:14px;padding:12px 16px}.card-head .badge{font-size:11px}.save-state{font-size:12px}.error-banner{font-size:13px}}
.roadmap-stats{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:18px}.roadmap-stats .metric{white-space:nowrap}.roadmap-stats>div+div{border-left:1px solid var(--line);padding-left:18px}.roadmap-stats .metric span{font-size:16px}.mvd-mobile{display:none}.choice small{font-size:12px}.info-button{flex-shrink:0}.epic-card summary:focus-visible{outline-offset:8px}.card-head h2{min-width:0}.settings-grid .between strong{overflow-wrap:anywhere;text-align:right}.choices.three .choice{font-size:14px}.field>label{flex-wrap:wrap}
@media(max-width:620px){.mvd-mobile{display:block;margin:24px 0 0;padding:18px;background:var(--tint);border:1px solid #d2e7db;border-radius:12px}.daily-side #mvd-preview{display:none}.roadmap-stats .metric{font-size:29px}.roadmap-stats small,.roadmap-stats .small{font-size:12px}.roadmap-stats>div+div{padding-left:12px}.roadmap-stats{gap:12px}.page-head h1{line-height:1.25}.info-button{margin:-6px 0}.choice strong{font-size:14px}.choices.three .choice small{font-size:12px}.choices.three .choice{padding:13px 5px}.choices.three .choice[aria-pressed=true]{padding:12px 4px}}
@media(max-width:620px){#settings-form{padding:16px 18px}#settings-form h2{font-size:18px;margin-bottom:4px}#settings-form .spacer-top{margin-top:10px}#settings-form .field{margin-bottom:13px}#settings-form .field>label{margin-bottom:5px;font-size:14px}#settings-form .input,#settings-form select{min-height:42px;padding:9px 12px;font-size:15px}#settings-form .unit{top:10px}#settings-form .field p{margin-top:4px;font-size:11px;line-height:1.35}#settings-form .divider{margin:12px 0}#settings-form .note-box{display:none}#settings-form .btn.spacer-top{margin-top:8px;min-height:44px}.settings-grid{gap:12px}}
.language-switcher{display:inline-flex;align-items:center;flex-shrink:0;padding:2px;border:1px solid var(--line);border-radius:11px;background:white;gap:1px}.language-switcher button{min-width:44px;min-height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:650;letter-spacing:.3px}.language-switcher button[aria-pressed=true]{background:var(--tint);color:var(--deep)}.language-switcher>span{font-size:13px;color:#899990}.language-switcher button:hover{background:#f1f6f3}.onboarding-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:36px}.onboarding-header .brand{margin:0}.topbar-right{flex-shrink:0}html[lang=en] .bottom-nav .nav-link{font-size:11px}html[lang=en] .topbar-label{font-size:12px}@media(max-width:1100px){.topbar-right{gap:10px}.topbar-right>.small{max-width:180px;text-align:right}}@media(max-width:620px){.topbar-right{gap:8px}.language-switcher{border-radius:10px}.language-switcher button{min-width:40px;min-height:44px;padding:6px}.onboarding-header{margin-bottom:24px}.onboarding-header .brand{font-size:23px}.topbar .brand{gap:8px}.topbar .brand small{font-size:9px}.topbar-right .icon-btn{min-width:40px}.choices.three{grid-template-columns:repeat(3,minmax(0,1fr))}.choice strong,.choice small{overflow-wrap:anywhere}.card-head{flex-wrap:wrap}.page-head>div{min-width:0}.page-head>.save-state{flex-shrink:0;max-width:85px}.badge{overflow-wrap:anywhere}.history-item>*{min-width:0}}
.language-switcher button{min-width:44px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.help:not([hidden]){position:fixed;z-index:80;box-sizing:border-box;width:min(330px,calc(100vw - 24px));max-height:min(360px,calc(100vh - 24px));overflow:auto;margin:0;padding:16px 18px;border:1px solid #d3e5d9;border-radius:14px;background:#fff;color:#3c5a4b;box-shadow:0 18px 45px rgba(23,54,39,.19);font-size:13px;line-height:1.6}
.info-button[aria-expanded=true]{background:#e3f3e9;color:#176949}
.choices.three .choice{min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-width:1.5px;border-radius:16px;padding:14px 7px!important;background:#fff;box-shadow:0 2px 8px rgba(25,56,40,.035);transition:transform .16s,box-shadow .16s,border-color .16s,background .16s}
.choices.three .choice:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(25,56,40,.11)}
.choices.three .choice::before{content:'✓';display:grid;place-items:center;width:31px;height:31px;margin-bottom:5px;border-radius:50%;background:#e6f4ec;color:#26845b;font-size:18px;font-weight:800;line-height:1}
.choices.three .choice.yellow::before{content:'≈';background:#fff3d7;color:#a9780c;font-size:22px}
.choices.three .choice.red::before{content:'×';background:#fde9e9;color:#bb5454;font-size:22px}
.choices.three .choice .dot{display:none}
.choices.three .choice strong{font-size:15px;line-height:1.25}
.choices.three .choice small{max-width:120px;margin-top:3px;font-size:11px;line-height:1.35}
.choices.three .choice[aria-pressed=true]{border-width:2px;border-color:#348e62;background:#edf8f0;box-shadow:0 7px 19px rgba(42,126,79,.12);color:#17613e}
.choices.three .choice.yellow[aria-pressed=true]{border-color:#c7992a;background:#fff9e9;color:#725218}
.choices.three .choice.red[aria-pressed=true]{border-color:#c36c6c;background:#fff2f1;color:#934240}
.choices.three .choice[aria-pressed=true]::after{content:'✓';position:absolute;top:8px;right:9px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#348e62;color:#fff;font-size:11px;font-weight:800}
.choices.three .choice.yellow[aria-pressed=true]::after{background:#c7992a}
.choices.three .choice.red[aria-pressed=true]::after{background:#c36c6c}
@media(max-width:380px){.choices.three{gap:6px}.choices.three .choice{min-height:116px;padding:11px 4px!important}.choices.three .choice strong{font-size:13px}.choices.three .choice small{font-size:10px}}
.onboard-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.onboarding,.onboard-grid>*,.onboard-form,.form-grid>*,.field,.input-wrap{min-width:0;max-width:100%}
.onboarding .input,.onboarding select,.onboarding textarea{min-width:0;max-width:100%;width:100%;box-sizing:border-box}
.onboarding input[type=date]{min-width:0;max-width:100%;width:100%}
.onboard-copy h1{max-width:520px}
#auth-root{position:fixed;inset:0;background:#f5f7f5;z-index:1000;overflow:auto}
.auth-screen{width:min(100%,480px);padding:28px 20px;margin:0 auto}
.auth-screen .onboarding-header{margin-bottom:48px}.auth-card h1{font-size:28px;margin:12px 0}.auth-card>p{margin-bottom:26px}.auth-card form{margin-top:24px}
.page-head:has(.profile-dashboard){align-items:center;flex-wrap:nowrap;gap:12px}
.page-head>.profile-dashboard{width:auto;flex:0 0 auto;margin-left:auto;min-height:44px;padding:8px 12px;font-size:13px;gap:6px;background:#c34d08;border-color:#c34d08;color:#fff}
.profile-dashboard:hover{background:#a94005;border-color:#a94005}.profile-dashboard .icon{width:17px;height:17px}
.account-card{display:flex;align-items:center;gap:12px;margin-top:20px;margin-bottom:0;flex-wrap:wrap}.account-card>div{flex:1;min-width:200px}.account-card p{margin-top:6px}
.wizard{max-width:520px;margin:12px auto;padding:18px 26px 10px;background:#fff;border:1px solid #e1e6e3;border-radius:32px;box-shadow:0 10px 30px rgba(31,52,45,.08)}
.wizard .onboarding-header{margin-bottom:24px}
.wizard form{display:flex;flex-direction:column;min-height:calc(100svh - 125px)}
.wizard-progress{display:flex;justify-content:center;gap:8px;margin:8px 0 22px}
.wizard-progress span{width:52px;height:5px;border-radius:8px;background:#dbe3de}
.wizard-progress span[aria-current]{background:var(--deep)}
.wizard-progress span.done{background:#a6d4c6}
.wizard-step[hidden]{display:none}
.wizard-step h1{text-align:left;font-size:28px;max-width:100%;margin:8px 0 12px;outline:none}
.wizard-kicker{text-align:left;font-size:11px;letter-spacing:2px;color:var(--muted)}
.wizard-hint{text-align:left;color:var(--muted);font-size:13px;margin:8px 0 20px}
.basic-detail-fields{display:grid;gap:14px}.wizard-field-label{display:block;color:var(--muted);font-size:13px;margin-bottom:-16px;position:relative;z-index:1;padding:0 18px}.basic-detail-fields .measure-card{margin-top:0}
.measure-card{border-radius:22px;padding:22px 18px 16px;margin:24px 0 14px;text-align:center;border:1px solid #edf0ee}
.measure-card.warm{background:#f7f3bc}.measure-card.cool{background:#d5ebe6}
.measure-card>label{font-size:13px;color:var(--muted)}
.measure-card>input:not([type=range]){display:block;width:100%;border:0;background:transparent;text-align:center;font-size:68px;line-height:1.2;letter-spacing:-3px;color:var(--ink);padding:10px 0;min-width:0}
.measure-unit{font-size:16px;font-weight:650}
.ruler{height:25px;margin-top:24px;background:repeating-linear-gradient(to right,transparent 0,transparent 11px,#7f978066 11px,#7f978066 12px)}
.measure-card input[type=range]{display:block;width:100%;height:44px;accent-color:var(--deep);cursor:ew-resize}
.wizard-actions{position:sticky;bottom:0;display:flex;gap:14px;margin-top:18px;padding:10px 0 6px;background:var(--bg,#f5f7f5);z-index:5}
.wizard-actions .btn{min-height:52px;border-radius:16px}.wizard-back{min-width:54px;padding:12px}.wizard-next{flex:1}
.wizard-privacy{text-align:center;font-size:11px;color:var(--muted);padding:0 0 max(12px,env(safe-area-inset-bottom))}
.goal-options{border:0;margin:16px 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.goal-options legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.goal-options label{cursor:pointer;position:relative;border:1px solid var(--line);border-radius:18px;background:#fff;padding:16px 12px;display:flex;gap:8px;align-items:center}
.goal-options label:has(:checked){border:2px solid var(--green);background:var(--tint);padding:15px 11px}
.goal-options input{accent-color:var(--green);width:18px;height:18px;margin:0}.goal-options strong{display:block;font-size:23px}.goal-options small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.goal-options .icon{display:none}.wizard .field{margin-bottom:14px}
.wizard-habits{border:1px solid var(--line);border-radius:14px;padding:10px 14px;background:#fff;margin-bottom:12px}
.wizard-habits summary{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:650}.wizard-habits[open] summary{margin-bottom:14px}
.wizard .error{color:var(--red);font-size:13px}.wizard .error:not(:empty){margin-top:8px}
@media(max-width:620px){.wizard{width:calc(100% - 24px);margin:12px auto;padding:16px 22px 8px;border-radius:28px}.wizard .brand{font-size:20px}.wizard .onboarding-header{gap:8px}.wizard-step h1{font-size:26px}.measure-card{margin-top:18px;padding:20px 16px}.wizard-actions .btn{font-size:13px}}
.onboard-copy>p,.onboard-copy>.note-box{display:none}
.onboard-form>.eyebrow{display:block;margin-bottom:8px}
.onboard-form-intro{margin:8px 0 24px}
@media(max-width:620px){.onboarding{width:100%}.onboard-grid{display:block}.onboard-form{width:100%}.onboard-copy,.onboard-form,.onboard-form .field{overflow-wrap:anywhere}}
.journey-viz{margin:30px 0;padding:18px;border:1px solid #dbe7df;border-radius:16px;background:linear-gradient(145deg,#fff 0%,#f1f7f3 100%)}
.onboarding .journey-viz{display:none}
.journey-dashboard{margin-bottom:24px}
.journey-dashboard>.journey-viz{margin:18px 0 0}
.journey-chart{padding:2px 1px 0}
.journey-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;margin:2px -5px 9px;color:var(--muted);font-size:11px;line-height:1;text-align:center}
.journey-scale>*{transform:none}
.journey-scale>*:first-child{color:var(--ink)}
.journey-scale>*:last-child{color:var(--green)}
.journey-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:16px;overflow:hidden;border:3px solid #fff;border-radius:999px;background:#e4ece7;box-shadow:0 3px 12px rgba(24,117,99,.13)}
.journey-bar span{display:block;border-right:2px solid #fff}
.journey-bar span:last-child{border:0}
.journey-figures{position:relative;height:158px;margin:-12px -18px 0;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.journey-figures img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.journey-figures .figures-muted{filter:grayscale(1);opacity:.24}
.journey-figures .figure-color{position:absolute;inset:0;filter:none;opacity:1;transition:clip-path .2s ease}
.journey-figures.stage-0 .figure-color{clip-path:inset(0 80% 0 0)}
.journey-figures.stage-1 .figure-color{clip-path:inset(0 60% 0 20%)}
.journey-figures.stage-2 .figure-color{clip-path:inset(0 40% 0 40%)}
.journey-figures.stage-3 .figure-color{clip-path:inset(0 20% 0 60%)}
.journey-figures.stage-4 .figure-color{clip-path:inset(0 0 0 80%)}
.journey-scale .current{color:var(--ink);font-weight:800}
.journey-bar .phase-one{background:#c95f61}.journey-bar .phase-two{background:#dc8054}.journey-bar .phase-three{background:#d4b94f}.journey-bar .phase-four{background:#8eb86e}.journey-bar .phase-five{background:#3f9568}
.journey-viz .mini-epics{grid-template-columns:1fr 1fr;gap:12px 14px;margin:18px 0 0;padding-top:16px;border-top:1px solid #dbe7df}
.journey-viz .mini-epic{gap:8px;align-items:flex-start}
.journey-viz .step-number{width:24px;height:24px;flex:0 0 24px;border:0;background:#e8f3ed;font-size:11px;font-weight:750}
.journey-viz .mini-epic:nth-child(4) .step-number{background:#f3eedb;color:#7d6a2a}
@media(max-width:620px){.journey-viz{margin:24px 0;padding:15px}.journey-figures{height:158px;margin:-12px -15px 0}.journey-scale{margin-top:1px;font-size:10px}.journey-bar{height:15px}.journey-viz .mini-epics{gap:12px 9px}.journey-viz .mini-epic p{font-size:11px}.journey-viz .mini-epic small{font-size:10px}}
.journey-track{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;margin:3px -5px 0;min-height:28px}
.journey-track::before{content:'';position:absolute;z-index:0;left:10%;right:10%;top:50%;height:6px;transform:translateY(-50%);border-radius:999px;background:linear-gradient(90deg,#ca6263 0%,#dc8551 28%,#d2b64f 54%,#8db66c 76%,#3f9568 100%);box-shadow:0 3px 10px rgba(43,91,67,.13)}
.journey-marker{position:relative;z-index:1;justify-self:center;width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#d7e0da;box-shadow:0 0 0 1px #b8c7bd}
.journey-marker.start{background:#ca6263;box-shadow:0 0 0 2px #ca6263}
.journey-marker.start::after{content:'';position:absolute;inset:4px;border-radius:50%;background:#fff}
.journey-marker.next{width:24px;height:24px;background:#fff;border:5px solid #fff;box-shadow:0 0 0 3px #247d5d,0 0 0 7px rgba(36,125,93,.13)}
.journey-marker.next::after{content:'';position:absolute;inset:3px;border-radius:50%;background:#247d5d}
.journey-marker.current{width:22px;height:22px;background:#244b3e;border:5px solid #fff;box-shadow:0 0 0 3px #244b3e}
.journey-marker.current::after{content:'';position:absolute;inset:3px;border-radius:50%;background:#fff}
.journey-marker.future{background:#fff;box-shadow:0 0 0 2px #b8c7bd}
/* Reference-style onboarding. All overrides are scoped to this screen. */
body:has(.health-onboarding){background:#eef0f1}
.health-onboarding.wizard{--ink:#30313d;--muted:#7e818c;--green:#1d4227;--deep:#173721;font-family:Arial,Helvetica,sans-serif;width:100%;max-width:480px;margin:0 auto;padding:12px 12px max(16px,env(safe-area-inset-bottom));min-height:100svh;min-height:100dvh;display:flex;flex-direction:column;border:0;border-radius:24px;background:#fff;box-shadow:none;color:var(--ink)}
.health-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:clamp(20px,4svh,32px);flex-shrink:0}
.health-toolbar button,.health-menu summary{border:0;background:none;color:var(--ink);min-height:34px;min-width:38px;display:flex;align-items:center;justify-content:center;padding:6px;cursor:pointer}
.health-toolbar .health-back{background:#f7f8f9;border-radius:999px;width:44px}.health-back .icon{transform:rotate(180deg);width:20px}
.health-toolbar-right{display:flex;align-items:center;background:#f7f8f9;border-radius:999px;padding:0 3px}.health-toolbar .icon{width:19px;height:19px}.health-toolbar-divider{height:11px;width:1px;background:#e2e4e6}
.health-menu{position:relative}.health-menu summary{color:#818591;font-size:12px;letter-spacing:1px}.health-menu-content{position:absolute;right:0;top:42px;z-index:10;padding:5px;border-radius:14px;background:#fff;box-shadow:0 6px 24px #30313d22}
.health-onboarding #onboard-form{min-height:0;flex:1;display:flex;flex-direction:column}
.health-onboarding .wizard-progress,.health-onboarding .wizard-kicker{display:none}
.health-onboarding .wizard-step h1{font-family:inherit;font-size:28px;line-height:1.24;letter-spacing:-1px;font-weight:700;max-width:270px;margin:0 0 10px}
.health-onboarding .wizard-hint{font-size:16px;line-height:1.35;margin:0;color:#737783;letter-spacing:-.35px}
.health-measures{display:grid;gap:clamp(22px,4svh,36px);margin-top:clamp(22px,4svh,36px)}
.health-measure-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:#818590}
.measure-units{display:flex;background:#f6f7f8;border-radius:999px;padding:2px;width:148px;flex-shrink:0}
.measure-units button{font-size:14px;border:0;border-radius:999px;color:#80848f;background:none;min-height:30px;flex:1;padding:4px 10px;cursor:pointer}
.measure-units button[aria-pressed=true]{color:#343640;background:#fff;box-shadow:0 1px 3px #33333326}
.health-measure-value{display:flex;align-items:baseline;justify-content:center;gap:4px;margin:14px 0 12px;color:#a0a4ad;font-size:16px;font-weight:600}
.health-measure-value input{font:700 26px/1.2 Arial,Helvetica,sans-serif;color:var(--ink);letter-spacing:-.7px;width:4ch;text-align:right;min-width:0;padding:0;border:0;background:transparent;border-radius:4px}
.health-ruler{height:72px;position:relative;isolation:isolate}
.health-ticks{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.health-tick{position:absolute;top:0;width:1px;height:32px;background:#e9ebed;transform:translateX(-50%)}
.health-tick.major{height:42px}.health-tick small{position:absolute;top:56px;left:0;transform:translateX(-50%);font:12px/1 Arial,Helvetica,sans-serif;color:#9ba0a8}
.health-marker{position:absolute;top:0;bottom:0;left:50%;width:3px;border-radius:3px;background:#45c537;transform:translateX(-50%);pointer-events:none;z-index:2}
.health-ruler input[type=range]{position:absolute;inset:0;margin:0;width:100%;height:100%;opacity:0;cursor:ew-resize;z-index:3;touch-action:pan-y}
.health-ruler:focus-within{outline:2px solid #1d4227;outline-offset:4px;border-radius:4px}
.health-onboarding .wizard-actions{position:static;margin-top:auto;padding:clamp(24px,5svh,44px) 0 0;background:#fff;flex-shrink:0}
.health-onboarding .wizard-actions .btn{min-height:50px;border-radius:999px;font:600 16px/1.2 Arial,Helvetica,sans-serif;width:100%;padding:12px 16px;background:#1d4227;border-color:#1d4227;color:white}
.health-onboarding .goal-options{margin-top:28px}.health-onboarding .goal-options label,.health-onboarding .input,.health-onboarding .wizard-habits{border-color:#e8e9eb;border-radius:24px}.health-onboarding .wizard-step:not(.basic-details) .wizard-hint{margin-bottom:22px}
@media(min-width:621px){.health-onboarding.wizard{margin:16px auto;min-height:min(800px,calc(100svh - 32px));padding:16px 18px 20px}}
@media(max-height:720px){.health-onboarding.wizard{padding-top:8px;padding-bottom:12px}.health-toolbar{margin-bottom:18px}.health-onboarding .wizard-step h1{font-size:26px}.health-onboarding .wizard-hint{font-size:14px}.health-measures{margin-top:20px;gap:20px}.health-measure-value{margin:10px 0}.health-ruler{height:60px}.health-tick{height:26px}.health-tick.major{height:34px}.health-tick small{top:47px}.health-onboarding .wizard-actions{padding-top:24px}}
.journey-captions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:1px -5px 0;text-align:center;font-size:9px;line-height:1.25;color:var(--muted)}
.journey-captions strong{color:#247d5d;font-weight:750}
@media(max-width:620px){.journey-track{margin-top:4px}.journey-captions{font-size:8px}.journey-marker.next{width:22px;height:22px}}
