:root{--ink:#223e33;--muted:#7a887e;--green:#377d5a;--line:#e3e8df;--cream:#f7f8f3;--accent:#c9e6ab}*{box-sizing:border-box}body{margin:0;background:var(--cream);font:1.125rem/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:hover,.pill:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #7caa64;outline-offset:3px}aside{position:fixed;inset:0 auto 0 0;width:230px;background:#eef1e9;border-right:1px solid var(--line);padding:35px 25px;display:flex;flex-direction:column}.brand{text-decoration:none;color:var(--ink);font-size:25px;font-weight:650;letter-spacing:-1px;line-height:1.1}.brand-icon{font-size:33px;vertical-align:middle;margin-right:5px;color:#4a7850}.brand-sub{display:block;font-size:0.8125rem;letter-spacing:4px;margin:7px 0 0 44px}.workspace{font-size:0.8125rem;letter-spacing:1.4px;color:#839180;margin:50px 0 14px}nav{display:grid;gap:9px}nav button{display:flex;gap:13px;align-items:center;text-align:left;border:0;background:none;border-radius:9px;padding:13px;color:#778275}nav button.active{background:#dfe8d7;color:#345b3b;font-weight:600}.sidebar-bottom{margin-top:auto;padding-top:45px;font-size:1rem;color:#7d8978}.sidebar-bottom strong{font:26px/1.25 Georgia,serif;color:#4c654e}.sidebar-bottom p{max-width:150px}.leaf{font-size:40px;color:#78916c}.local-dot{color:#6d9a5a;font-size:0.875rem}main{margin-left:230px;padding:0 40px;max-width:1650px}header{display:flex;justify-content:space-between;align-items:center;padding:25px 0;border-bottom:1px solid var(--line)}header p{margin:3px 0 0;font-size:1rem;color:var(--muted)}.eyebrow{font-size:0.8125rem;letter-spacing:1.8px;font-weight:700}.green{color:#65845b}.pill{border:1px solid #d6dfd1;background:transparent;border-radius:30px;padding:9px 16px;font-size:0.9375rem;cursor:pointer}.page{display:none;padding-top:30px}.page.active{display:block}h1{font:normal 42px/1.15 Georgia,serif;letter-spacing:-1.5px;margin:9px 0 12px}h1 span{color:#85a867}p{margin:8px 0 16px}h2{font-size:16px;font-weight:600;letter-spacing:-.3px;margin:0}h3{font-size:1.125rem;margin-top:24px}.title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.title-row p,.page>p{color:var(--muted);font-size:1.0625rem}.badge{font-size:0.875rem;background:#eef2e6;color:#6b815a;border:1px solid #dce6cf;padding:6px 11px;border-radius:25px;white-space:nowrap}.hero-grid{display:grid;grid-template-columns: .85fr 1.15fr;gap:22px}.avatar-card{background:#e8efdf;border:1px solid #dce5d1;border-radius:16px;overflow:hidden}.card-top{display:flex;justify-content:space-between;padding:20px 22px;font-size:0.8125rem;letter-spacing:1.2px;font-weight:600}.live{color:#688650;font-size:0.75rem;letter-spacing:.7px}.avatar-scene{height:225px;position:relative;display:grid;place-items:center;overflow:hidden}.avatar-scene svg{height:230px;z-index:1}.orbit{position:absolute;border:1px solid #d1dec5;border-radius:50%;width:205px;height:205px}.o2{width:280px;height:280px;border-style:dashed;opacity:.75}.float-tag{position:absolute;background:#f7faf0c9;border:1px solid #dae3ce;padding:6px 10px;font-size:0.8125rem;border-radius:20px;z-index:2;color:#66805b}.tag1{left:9%;top:48px}.tag2{right:6%;bottom:40px}.avatar-caption{text-align:center;padding:12px}.avatar-caption h2{font:21px Georgia,serif}.avatar-caption p{font-size:0.875rem;color:#7c8972;margin:7px}.avatar-footer{border-top:1px solid #d5dfcb;display:flex;justify-content:space-between;align-items:center;padding:14px 20px;font-size:0.8125rem;color:#7b8b70}.avatar-footer b{font-size:18px;color:#345a43;margin-left:9px}.avatar-footer select{border:0;background:transparent;color:#345a43;font-size:0.9375rem}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:23px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.muted{color:var(--muted);font-size:0.9375rem}.panel-heading>.muted{font-size:0.75rem;letter-spacing:1px}.controls>p{margin-top:5px}.habit{margin-top:23px}.habit>div:first-child{display:flex;align-items:center;gap:10px}.habit label{font-size:1rem;font-weight:500}.habit strong{margin-left:auto;font-size:18px;font-weight:600}.habit small{font-size:0.875rem;color:var(--muted);font-weight:400}.habit-icon{width:28px;height:28px;background:#edf3e6;border-radius:8px;text-align:center;line-height:28px;font-size:18px;color:#7f9b63}.lavender{background:#f0edf7;color:#9d8ab5}.peach{background:#fbf0e3;color:#c7a076}input[type=range]{accent-color:#75965f;width:100%;height:5px;margin:19px 0 8px;cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:0.8125rem;color:#8c978a}.controls-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:26px;padding-top:16px;font-size:0.875rem;color:#87937e}.controls-bottom button{font-size:0.875rem;border:0;background:none;color:#55694d}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;margin:22px 0}.stats article{border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px 22px}.stats article>span{font-size:0.75rem;letter-spacing:1.3px;color:#7f8d7b;font-weight:600}.stats article>div{display:flex;align-items:baseline;gap:9px;margin-top:7px}.stats b{font-size:29px;font-weight:500;letter-spacing:-1px}.stats small{font-size:0.875rem;color:#8a9584}.stats p{font-size:0.875rem;color:#8b9587;margin:5px 0 0}.stat-chip{font-size:0.75rem;color:#6f8a59;background:#f0f5e9;border-radius:15px;padding:3px 7px;margin-left:auto}.bottom-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.legend{font-size:0.8125rem;display:grid;gap:4px;color:#a6ae9e;white-space:nowrap}.legend span+span{color:#6a8b51}#chart{width:100%;display:block;margin-top:10px}.note{border-top:1px solid var(--line);padding-top:11px;color:#8b9585;font-size:0.8125rem}.insights{background:#f0f3e7}.insights h2{font:24px/1.2 Georgia,serif;margin:13px 0}.insights p{font-size:1rem;line-height:1.8;color:#6d7c61}.mini-label{font-size:0.75rem;letter-spacing:1px;color:#869576}.profile{margin-top:22px}.profile summary{cursor:pointer;font-weight:600}.profile summary span{font-size:0.875rem;font-weight:400;color:#86927d;margin-left:15px}#profile{display:flex;flex-wrap:wrap;gap:15px;margin-top:20px;align-items:end}label{display:grid;gap:6px;font-size:0.9375rem;color:#64765f}input:not([type=range]),select,textarea{border:1px solid #dbe2d5;border-radius:7px;padding:9px 10px;background:#fcfdf9;color:var(--ink);max-width:100%;min-width:0}#profile label{flex:1;min-width:115px}.primary{border:0;background:#345d43;color:white;border-radius:8px;padding:11px 18px;font-size:0.9375rem}.journal-form{display:grid;gap:16px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.meal-row{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:12px}textarea{min-height:80px;resize:vertical}.text-button{border:0;background:none;font-size:0.875rem;color:#8e6959}.record{border-bottom:1px solid var(--line);padding:16px 0}.record p{font-size:0.9375rem;color:var(--muted);margin:4px 0}.record-head{display:flex;justify-content:space-between}#trend-chart{width:100%}.reading{max-width:900px}.reading p,.reading li{font-size:1.0625rem;color:#687767;line-height:1.9}.reading h3{color:#375b42}a{color:#45754c}.route-actions{display:flex;gap:8px;flex-wrap:wrap}#route{background:#f1f4ec;border:1px solid var(--line);border-radius:12px;width:100%;margin-top:18px}.energy-number{font-size:45px;font-family:Georgia,serif;margin:20px 0 0}.energy-number small{font:1rem system-ui;color:#7d8b74}footer{display:flex;justify-content:space-between;gap:14px;margin:30px 0 20px;font-size:0.75rem;letter-spacing:.5px;color:#8d9786}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 22px;border-radius:10px;background:#284936;color:white;font-size:1rem;box-shadow:0 5px 30px #1232;display:none;z-index:10}button:disabled{opacity:.5;cursor:default}@media(min-width:1500px){main{padding:0 60px}.avatar-scene{height:250px}}@media(max-width:1150px){aside{width:190px;padding:30px 18px}main{margin-left:190px;padding:0 24px}.hero-grid{grid-template-columns:1fr 1.2fr}.float-tag{font-size:0.75rem}.tag1{left:2%}.tag2{right:2%}.bottom-grid{grid-template-columns:1.4fr 1fr}.stats article{padding:15px}.stats b{font-size:25px}.stat-chip{display:none}h1{font-size:36px}.title-row .badge{display:none}}@media(max-width:850px){aside{position:static;width:100%;padding:18px 20px;border-bottom:1px solid var(--line)}.brand{font-size:22px}.brand-sub{display:inline;font-size:0.75rem;letter-spacing:2px;margin-left:8px}.workspace,.sidebar-bottom{display:none}nav{display:flex;gap:3px;margin-top:15px;overflow-x:auto}nav button{padding:9px;font-size:0.9375rem;white-space:nowrap;gap:5px}main{margin-left:0;padding:0 20px}header{padding:18px 0}.hero-grid{grid-template-columns:1fr 1.2fr}.bottom-grid{grid-template-columns:1fr}.insights{padding:20px}.stats{gap:10px}.stats article{padding:14px 10px}.stats article>span{font-size:7px}.stats small{font-size:0.75rem}footer{flex-wrap:wrap}}@media(max-width:580px){.hero-grid{grid-template-columns:1fr}h1{font-size:34px}.page{padding-top:25px}.stats{grid-template-columns:1fr}.stats article{padding:16px 20px}.stats article>span{font-size:0.8125rem}.stats article>div{float:right;margin-top:-17px}.stats b{font-size:26px}.stats p{font-size:0.875rem;margin-top:9px}.avatar-scene{height:210px}.panel{padding:19px}.panel-heading{align-items:start}.controls-bottom{font-size:0.8125rem}.pill{padding:8px 12px}.title-row{margin-bottom:20px}.profile summary span{display:block;margin:4px 0}.field-grid{gap:10px}header .eyebrow{font-size:0.75rem}footer span{display:block}main{padding:0 15px}}
/* Profile setup and personalized home */
[hidden]{display:none!important}.setting-up>aside,.setting-up>main{display:none}.setting-up #onboarding{display:block}#onboarding{display:none;min-height:100vh;padding:30px 6vw;background:radial-gradient(ellipse at 15% 55%,#e6eddb 0,transparent 52%),#f7f8f3}.setup-brand{font-size:24px;font-weight:600;letter-spacing:-1px;display:flex;align-items:center;gap:8px}.setup-brand>span:last-child{font-size:0.8125rem;letter-spacing:3px;margin-left:7px}.setup-layout{max-width:1180px;margin:45px auto;display:grid;grid-template-columns:1fr 1.2fr;gap:8%;align-items:start}.setup-story{padding:35px 0}.setup-story h1{font-size:45px;line-height:1.18;margin:18px 0}.setup-story>p{color:#75836b;max-width:360px;line-height:1.9;font-size:1.0625rem}.setup-art{height:220px;display:grid;place-items:center;position:relative;max-width:360px}.setup-art>span{font:130px Georgia,serif;color:#6f9161;z-index:1}.setup-orbit{width:165px;height:165px;position:absolute;border:1px solid #cedcc0;border-radius:50%}.setup-orbit.second{width:215px;height:215px;border-style:dashed}.setup-art>b{position:absolute;bottom:0;font-size:0.75rem;letter-spacing:3px;color:#7a9067}.setup-promise{margin-top:35px;border-top:1px solid #d7e1cc;padding-top:20px;max-width:355px}.setup-promise strong{font-size:1.0625rem}.setup-promise p{font-size:0.9375rem;color:#7d8c71}.setup-card{border:1px solid #e0e7d8;background:#ffffffee;border-radius:20px;padding:30px;box-shadow:0 15px 60px #334e2b06}.setup-card-top{display:flex;align-items:center;justify-content:space-between;min-height:20px}.setup-progress{list-style:none;padding:0;display:flex;justify-content:space-between;margin:24px 0 30px;gap:10px}.setup-progress li{border-bottom:3px solid #e9ede4;padding:0 0 12px;flex:1;font-size:1rem;color:#9ba592;display:flex;gap:8px;align-items:center}.setup-progress li span{font-size:0.875rem}.setup-progress li.current{border-color:#739561;color:#426843;font-weight:650}.setup-progress li.done{border-color:#c2d4b2;color:#7a936c}#setup-form fieldset{border:0;padding:0;margin:0;min-width:0}#setup-form legend{font:27px/1.2 Georgia,serif;letter-spacing:-.5px;padding:0;margin:0 0 10px}#setup-form fieldset>label{margin:18px 0}#setup-form input,#setup-form select{padding:12px;font-size:1rem;width:100%}#setup-form .field-grid{margin-top:18px;gap:18px 14px}#setup-form .muted{line-height:1.8}#setup-form .note{margin-top:20px;line-height:1.7;font-size:0.875rem}.setup-estimates{display:grid;grid-template-columns:1fr 1fr;background:#f2f5ec;border:1px solid #e2ead9;border-radius:10px;padding:16px;margin-top:22px;gap:10px}.setup-estimates>div{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.setup-estimates span{font-size:0.75rem;letter-spacing:1px;flex-basis:100%;color:#819273}.setup-estimates strong{font-size:22px;font-weight:500}.setup-estimates small{font-size:0.8125rem;color:#87977a}.setup-actions{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.setup-actions .primary{margin-left:auto;min-width:115px;padding:13px 19px}.setup-actions .muted{font-size:0.8125rem}.setup-footer{display:flex;justify-content:space-between;font-size:0.75rem;letter-spacing:1px;color:#839077;max-width:1180px;margin:30px auto}.setup-footer span{letter-spacing:0}.setup-review{background:#eff4e8;border:1px solid #dce8d1;border-radius:10px;padding:15px;font-size:1rem;margin-top:20px}.setup-review p{margin:5px 0;color:#7b8d6d;font-size:0.9375rem}.setup-sleep{background:#f2f5ec;border-radius:7px;padding:10px;margin-top:18px}#setup-error{padding:12px;background:#fcf0e9;border-radius:8px;color:#98523e;font-size:1rem}.header-actions{display:flex;gap:8px}.dashboard-overview{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dfe7d5;background:#edf2e5;border-radius:12px;padding:17px 20px;margin:0 0 22px}.dashboard-overview>div{display:grid;gap:5px}.dashboard-overview p{margin:0;font-size:0.875rem;color:#7d8d71}.dashboard-overview small{font-size:0.75rem;letter-spacing:.7px;color:#8b987d}.dashboard-overview strong{font-size:1.125rem;font-weight:500}.dashboard-overview .primary{font-size:0.875rem;white-space:nowrap}.setting-up #toast{max-width:90vw}.app-loading #setup-next{opacity:.65;cursor:wait}@media(max-width:1100px){.dashboard-overview{flex-wrap:wrap}.dashboard-overview>div:first-child{flex-basis:100%}.setup-layout{gap:5%}.setup-story h1{font-size:37px}}@media(max-width:760px){#onboarding{padding:20px}.setup-layout{grid-template-columns:1fr;margin:22px auto;max-width:560px;gap:15px}.setup-story{padding:10px 4px}.setup-story h1{font-size:32px;margin:10px 0}.setup-story>p{max-width:none;font-size:1rem}.setup-art,.setup-promise{display:none}.setup-card{padding:24px}.setup-footer{gap:10px;flex-wrap:wrap}.header-actions .pill{font-size:0.8125rem;padding:8px 10px}.dashboard-overview{gap:15px}.dashboard-overview>div{flex:1 0 35%}}@media(max-width:400px){.setup-card{padding:19px}.setup-progress li span{font-size:0.8125rem}.setup-actions .muted{display:none}.setup-progress{gap:8px}.setup-card legend{font-size:24px!important}}
/* An action-first home: choose, do, check in. */
.home-intro{margin-bottom:27px}.home-intro>p{color:#7a8870;max-width:550px}.home-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.daily-plan h2{font:28px Georgia,serif;margin:14px 0 10px}.goal-choices{display:grid;gap:10px;margin:22px 0}.goal-choices button{background:#fbfcf8;border:1px solid #e1e7d9;border-radius:10px;padding:15px;text-align:left;display:grid;grid-template-columns:32px 1fr;gap:2px 10px}.goal-choices button>span{grid-row:span 2;font-size:24px;color:#86a16d}.goal-choices strong{font-size:1.0625rem;font-weight:550}.goal-choices small{font-size:0.9375rem;color:#819073}.goal-choices button.selected{background:#edf4e4;border-color:#6c9258;box-shadow:0 0 0 1px #6c9258}.goal-action{display:flex;gap:20px;align-items:center;justify-content:space-between;padding-top:5px}.goal-action p{font-size:1rem;color:#6e7d62;margin:0;max-width:320px}.goal-action button{white-space:nowrap;min-height:45px}.daily-plan .note{margin-top:22px;line-height:1.8}.home-companion{text-align:center;background:#e9efdf;display:flex;flex-direction:column;align-items:center;justify-content:center}.companion-symbol{font:100px Georgia,serif;color:#74925e;line-height:1.1;margin:15px 0 25px}.home-companion h2{font:27px Georgia,serif;margin:16px 0 8px}.home-companion>p{font-size:1rem;color:#768565;max-width:270px}.week-progress{display:flex;gap:9px;justify-content:center;margin:24px 0 15px}.week-progress>div{display:grid;justify-items:center;gap:6px}.week-progress span{width:29px;height:29px;display:grid;place-items:center;background:#f4f7ed;color:#a5b197;border-radius:50%;border:1px solid #d7e1ca}.week-progress .checked-day span{background:#47724a;color:#fff;border-color:#47724a}.week-progress small{font-size:0.8125rem;color:#7b8d6b}#week-count{font-size:1rem;font-weight:550}.home-section-title{margin:35px 0 17px}.home-section-title h2{font:25px Georgia,serif;margin-top:9px}.home-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tool-card{text-align:left;display:flex;flex-direction:column;align-items:start}.tool-card>span{font-size:24px;color:#729258;background:#edf3e6;border-radius:8px;padding:0 10px}.tool-card h3{font-size:15px;margin:16px 0 8px}.tool-card p{color:#7d8b72;font-size:1rem;line-height:1.8}.tool-card b{font-size:0.9375rem;margin-top:auto;font-weight:550;color:#537342}.home-note{display:flex;gap:15px;align-items:center;margin:25px 0;padding:20px 0;border-top:1px solid var(--line)}.home-note>span{font-size:26px;color:#90a57c}.home-note p{font-size:0.9375rem;color:#819073;margin:0;max-width:650px}.home-note strong{color:#4c6543}.home-note button{white-space:nowrap;margin-left:auto}.comparison-card{margin-bottom:22px;background:#f0f4e8}.comparison-card h2{font:25px Georgia,serif;margin:13px 0 18px}.comparison-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px;padding:12px 0;border-top:1px solid #dce5d2;font-size:1rem}.comparison-row strong{font-weight:500}.comparison-row span{color:#4e6a42}.comparison-row small{color:#879774}.comparison-card>.muted{margin:15px 0}.model-details{margin-top:24px;border:1px solid var(--line);border-radius:12px;padding:18px}.model-details>summary{font-size:1rem;cursor:pointer;color:#7d8d70}.model-details .stats{margin-top:18px}.model-details .bottom-grid{grid-template-columns:1fr}.model-details .insights{display:none}#simulator .profile{display:none}#simulator .avatar-caption h2{font-size:20px}.habit strong{white-space:nowrap}.habit small{display:inline-block}.habit label{flex-shrink:0}.habit>div:first-child{flex-wrap:wrap}@media(max-width:1100px){.home-grid{grid-template-columns:1.3fr 1fr}.goal-action{align-items:stretch;flex-direction:column;gap:15px}.goal-action p{max-width:none}.home-tools{gap:12px}.comparison-row{grid-template-columns:1fr 1fr}.comparison-row small{grid-column:2}}@media(max-width:700px){.home-grid{grid-template-columns:1fr}.home-companion{padding:25px}.companion-symbol{font-size:65px;margin:0 0 10px}.home-tools{grid-template-columns:1fr}.tool-card{padding:20px;display:grid;grid-template-columns:40px 1fr;gap:0 13px}.tool-card>span{grid-row:span 3;padding:0 6px;text-align:center}.tool-card h3{margin:0 0 6px}.tool-card p{margin:0 0 9px}.home-note{align-items:start;flex-wrap:wrap}.home-note p{flex:1}.home-note button{margin-left:40px}.comparison-row{grid-template-columns:1fr}.comparison-row small{grid-column:1}.daily-plan h2{font-size:25px}.home-intro h1{font-size:34px}nav{flex-wrap:wrap}.habit strong{font-size:16px}}
.signal-panel{margin-top:22px}.signal-panel svg{width:100%;min-height:170px}.signal-panel>.field-grid{align-items:end;margin-top:18px}#route-map{height:320px;border-radius:10px;margin-top:15px;z-index:0}#elevation-chart{width:100%}.route-toggle{display:flex;gap:10px;align-items:start;line-height:1.7}.route-toggle input{width:auto;margin-top:3px}#eeg-status{font-size:1rem;color:#6a805b;margin-top:15px}#sleep-history{margin-bottom:20px;max-height:470px;overflow:auto}#sleep-lab>.bottom-grid{grid-template-columns:1fr 1fr}#sleep-lab .route-actions{margin-top:18px}#activity-form input[name=minutes]{min-width:0}#activity-form .route-toggle{font-size:0.9375rem}#eeg-chart{background:#f7f9f3;border-radius:9px;margin-top:20px}@media(max-width:800px){#sleep-lab>.bottom-grid{grid-template-columns:1fr}#route-map{height:280px}.signal-panel .panel-heading{flex-wrap:wrap}nav{gap:2px}nav button{font-size:0.875rem}}

@media(min-width:701px){.home-tools{grid-template-columns:repeat(2,1fr)}}

#account-dialog{border:1px solid #dce5d2;border-radius:16px;padding:27px;max-width:480px;width:calc(100% - 30px);color:#294833;background:#fbfcf7}#account-dialog::backdrop{background:#20392488;backdrop-filter:blur(4px)}.account-info{padding:16px;border-radius:10px;background:#edf3e6;font-size:1rem}.account-info p{font-size:0.9375rem;line-height:1.8;color:#75886a;margin-bottom:0}.account-signout{display:block;text-align:center;border:1px solid #cfdbc4;color:#45643b;border-radius:9px;padding:11px;text-decoration:none;margin-top:20px;font-size:1rem}#account-message{font-size:0.9375rem;color:#8c6848}#legacy-import{border-top:1px solid #dce5d2;margin-top:20px}#legacy-import .pill{margin-top:13px}#session-message{position:fixed;inset:0;z-index:10001;background:#f3f6ed;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center}#session-message p{font-size:1rem;color:#7b8d70}#session-message a{font-size:1rem;margin-top:20px}.session-paused>aside,.session-paused>main,.session-paused>#onboarding,.session-paused>dialog{visibility:hidden!important}.session-paused:after{content:'Checking your sign-in…';position:fixed;inset:0;display:grid;place-items:center;background:#f3f6ed;z-index:10000;color:#708463;font-size:1.0625rem}.header-actions{flex-wrap:wrap;justify-content:flex-end}
/* Journal: explore first, record when ready. */
.journal-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.journal-title-row h1{font-size:38px}.journal-title-row p{margin:10px 0 0}.journal-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.journal-summary article{display:grid;gap:7px;border:1px solid #e0e7d9;border-radius:12px;background:#fff;padding:18px}.journal-summary article>span{font-size:0.875rem;letter-spacing:.5px;color:#7c8d6e}.journal-summary strong{font-size:25px;font-weight:500;letter-spacing:-.7px}.journal-summary small{font-size:0.8125rem;color:#91a081;line-height:1.6}.journal-explore{display:grid;grid-template-columns:1fr 1.45fr;gap:22px;align-items:stretch}.journal-calendar-panel h2{font:24px Georgia,serif;margin-top:9px}.calendar-controls{display:flex;align-items:center;gap:7px}.calendar-controls .pill{padding:6px 10px}.calendar-filter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:17px 0 20px;font-size:0.875rem}.calendar-filter select{font-size:0.875rem;padding:6px 9px}.calendar-weekdays,.journal-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;text-align:center}.calendar-weekdays{font-size:0.8125rem;color:#8b9c7b;margin-bottom:13px}.journal-calendar{row-gap:11px}.calendar-bubble{background:#f7f9f2;border:1px solid #e3eadc;border-radius:50%;aspect-ratio:1;width:100%;max-width:42px;justify-self:center;display:grid;place-items:center;color:#8d9e7d;font-size:0.9375rem;position:relative;padding:0}.calendar-bubble.has-data{background:#dce9cd;border-color:#c4d9b2;color:#456637;font-weight:650}.calendar-bubble.selected{outline:2px solid #4d7340;outline-offset:3px}.calendar-bubble.is-today:after{content:'';width:3px;height:3px;position:absolute;bottom:3px;border-radius:50%;background:#537943}.calendar-bubble:hover{background:#e7efdc;transform:translateY(-1px)}.calendar-key{display:flex;gap:13px;flex-wrap:wrap;font-size:0.75rem;color:#91a081;border-top:1px solid #e5ebdf;padding-top:17px;margin-top:20px}.calendar-key>span{display:flex;align-items:center;gap:5px}.bubble-key{display:inline-block;width:9px;height:9px;border:1px solid #d7e3cd;border-radius:50%;background:#f6f9f1}.bubble-key.filled{background:#d0e2bc;border-color:#bcd2a4}.journal-graph-panel{min-width:0}.journal-graph-panel h2{font:24px Georgia,serif;margin-top:9px}.graph-mode{display:flex;border:1px solid #dce5d2;border-radius:20px;padding:3px;background:#f7f9f2}.graph-mode button{border:0;background:none;font-size:0.875rem;color:#8a9a7a;border-radius:16px;padding:5px 10px}.graph-mode button.active{background:#e2ecd6;color:#456b35}.journal-chart-controls{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin-top:20px}.journal-chart-controls select{font-size:0.875rem;padding:8px}.journal-chart-controls label{font-size:0.8125rem}.journal-trend-headline{margin-top:22px;min-height:70px;font-size:0.875rem;color:#839674}.journal-trend-headline>small{display:block;margin-bottom:5px;font-size:0.8125rem}.journal-trend-headline>strong{font-size:27px;font-weight:500;color:#3d6336;letter-spacing:-.8px}.journal-trend-headline p{font-size:0.875rem;margin:5px 0;color:#8b9c7b}.journal-graph-panel #trend-chart{display:block;width:100%;min-height:190px;margin-top:0}.journal-graph-panel #trend-chart g[role=button]{cursor:pointer;outline:none}.journal-graph-panel #trend-chart g[role=button]:focus>circle{stroke:#345d43;stroke-width:3}.graph-readout{font-size:0.875rem;min-height:34px;line-height:1.7;color:#6d865c;background:#f4f7ee;border-radius:7px;padding:9px 12px;margin:5px 0 15px}.journal-day{margin-top:22px}.journal-day h2{font:24px Georgia,serif;margin-top:8px}.journal-day-grid{display:flex;flex-wrap:wrap;gap:20px 30px;margin:23px 0 15px}.journal-day-grid>div{display:grid;gap:5px}.journal-day-grid small{font-size:0.8125rem;color:#879a77}.journal-day-grid strong{font-size:18px;font-weight:500}.journal-day-note{font-size:0.9375rem;color:#7d9170;line-height:1.8;margin:7px 0}.journal-day-note strong{font-weight:550;color:#536f44}.journal-remove{margin-top:15px;padding-left:0}.journal-editor{margin-top:22px;border:1px solid #dce5d2;border-radius:13px;background:#fff;overflow:hidden}.journal-editor>summary{padding:18px 23px;cursor:pointer;font-size:1.0625rem;color:#577747;list-style-position:inside}.journal-editor>summary span{font-size:0.875rem;color:#8fa17f;margin-left:15px}.journal-editor #journal-form{border:0;border-radius:0;border-top:1px solid #e3eadc;grid-template-columns:1fr 1fr;gap:18px 25px}.journal-editor #journal-form>h2,.journal-editor #journal-form>h3,.journal-editor #journal-form>p,.journal-editor #journal-form>button,.journal-editor #meal-fields,.journal-editor #journal-form>label{grid-column:1/-1}.journal-editor #journal-form>.field-grid{align-content:start}.journal-editor #journal-form>button{justify-self:start;min-width:140px}.journal-all{margin-top:22px}.journal-all>summary{font-size:1rem;color:#819571;cursor:pointer}.journal-history-actions{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.journal-all #records{max-height:400px;overflow:auto}.journal-all .record{padding:14px 0}@media(max-width:1200px){.journal-explore{grid-template-columns:1fr}.calendar-bubble{max-width:48px}.journal-calendar-panel{max-width:none}.journal-calendar{row-gap:13px}.journal-calendar-panel .calendar-weekdays{margin-top:20px}.journal-summary{gap:10px}.journal-summary article{padding:15px}.journal-summary strong{font-size:23px}}@media(max-width:700px){.journal-title-row{align-items:start;flex-wrap:wrap}.journal-title-row h1{font-size:32px}.journal-title-row>.primary{width:100%;padding:13px}.journal-summary{grid-template-columns:repeat(2,1fr)}.journal-summary strong{font-size:24px}.journal-editor #journal-form{grid-template-columns:1fr}.journal-editor #journal-form>*{grid-column:1}.journal-editor>summary span{display:block;margin:7px 0 0 18px}.journal-chart-controls{grid-template-columns:1fr}.journal-day .panel-heading{align-items:start;flex-wrap:wrap}.journal-day h2{font-size:21px}.calendar-controls{gap:4px}.journal-calendar-panel h2{font-size:21px}.journal-calendar-panel .eyebrow{font-size:0.75rem}.calendar-bubble{font-size:0.9375rem}.journal-summary small{font-size:0.8125rem}.journal-history-actions{gap:12px;align-items:start}.journal-history-actions .text-button{max-width:100px;text-align:right}.journal-graph-panel #trend-chart{min-height:150px}}
/* Outdoor recorder and route review */
.run-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.run-title-row h1{font-size:37px}.run-title-row p{max-width:620px}.run-recorder{padding:25px}.run-toolbar{display:flex;align-items:center;gap:20px;justify-content:space-between}.run-toolbar label{display:flex;align-items:center;gap:9px;font-size:0.875rem}.run-toolbar select{padding:7px 11px;font-size:0.9375rem}.run-toolbar #run-status{font-size:0.9375rem;color:#6b8b58;font-weight:600;background:#edf4e5;padding:7px 15px;border-radius:30px}.run-live-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;padding:26px 0 24px}.run-live-stats>div{display:grid;gap:8px}.run-live-stats small{font-size:0.75rem;letter-spacing:1px;color:#879b76}.run-live-stats strong{font-size:32px;letter-spacing:-1px;font-weight:500}.run-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.run-actions .primary{min-width:130px;padding:13px 20px}.run-actions .pill{padding:11px 20px}#run-feedback{padding:12px 15px;background:#f2f6eb;border:1px solid #e3ecd9;border-radius:9px;margin:18px 0 13px;line-height:1.8}.run-recorder #route-map{height:430px;border-radius:14px;margin-top:18px}.run-recorder #route{margin-top:16px;max-height:330px}.run-recorder .route-actions{margin-top:17px;display:inline-flex}.run-recorder #load-map{margin-left:8px}.run-recorder #load-map+p{display:none}.run-recorder #elevation-chart{max-height:230px;margin-top:15px}.run-recorder #map-link{font-size:0.875rem}.run-recorder .note{line-height:1.8}.run-playback{border-top:1px solid #dee8d4;padding-top:20px;margin-top:20px}.run-playback h2{font:25px Georgia,serif}.playback-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.playback-actions label{display:flex;align-items:center;gap:8px;font-size:0.875rem}.playback-actions select{padding:7px 11px}#run-scrub{margin:20px 0;width:100%}#run-review h2{font:26px Georgia,serif;margin-top:10px}#run-splits{max-width:800px}.run-split-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:15px;border-top:1px solid #e3ebdb;padding:13px 0;font-size:1rem;color:#7e936d}.run-split-row strong{font-size:0.9375rem;color:#506f3e;font-weight:500}.run-manual{border:1px solid #dce6d1;background:#fff;border-radius:13px;margin-top:22px;overflow:hidden}.run-manual>summary{padding:20px 23px;font-size:1rem;cursor:pointer;color:#6a8556}.run-manual>summary span{color:#98a88b;font-size:0.875rem;margin-left:12px}.run-manual #activity-form{border:0;border-top:1px solid #e3ebdb;border-radius:0;grid-template-columns:1fr 1fr}.run-manual #activity-form>h2,.run-manual #activity-form>label,.run-manual #activity-form>button,.run-manual #activity-form>p,.run-manual #activity-form>#energy{grid-column:1/-1}.run-manual #activity-form>button{justify-self:start}.run-manual #activity-form>.field-grid{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}#install-dialog{max-width:450px;width:calc(100% - 35px);border:1px solid #d3e0c7;border-radius:15px;padding:28px;color:#355a3b}#install-dialog h2{font:25px Georgia,serif}#install-dialog p{font-size:1rem;line-height:1.8;color:#82976f}#install-dialog::backdrop{background:#294a3877}.run-recorder #run-phone-note{font-size:0.875rem}.run-recorder #run-map-notice{font-size:0.875rem}#run-playback #run-replay-readout{padding:10px 12px;background:#f1f6e9;border-radius:8px}.run-recorder .leaflet-container{background:#e7eddf}@media(max-width:760px){.run-title-row{align-items:start;flex-wrap:wrap}.run-title-row h1{font-size:31px}.run-toolbar{flex-wrap:wrap;gap:12px}.run-toolbar #run-status{order:3;width:100%;text-align:center}.run-live-stats{grid-template-columns:repeat(3,1fr);gap:18px 10px}.run-live-stats strong{font-size:28px}.run-live-stats>div:nth-child(4),.run-live-stats>div:nth-child(5){border-top:1px solid #e0ead5;padding-top:14px}.run-recorder{padding:18px}.run-actions .primary{min-width:0;flex:1;padding:14px 17px}.run-actions .pill{padding:13px 17px}.run-recorder #route-map{height:350px}.run-manual>summary span{display:block;margin:7px 0 0 17px}.run-manual #activity-form>.field-grid{grid-template-columns:1fr 1fr}.run-split-row{font-size:0.875rem;gap:8px}.run-split-row strong{font-size:0.875rem}.playback-actions .pill{padding:9px 12px}}

.run-split-header{max-width:800px;font-size:0.8125rem;color:#9aaa8a;border-top:0;padding-bottom:8px}
.gps-help{margin:14px 0 20px;padding:18px;border:1px solid #e2d8bd;border-radius:10px;background:#faf7ee}.gps-help h3{font-size:1.125rem;color:#756547;margin:0 0 9px}.gps-help>p{font-size:1rem;color:#8b7e63;line-height:1.8}.gps-help .route-actions{margin:10px 0 15px!important;display:flex!important}.gps-help .pill{font-size:0.875rem;text-decoration:none}.gps-help details{font-size:0.9375rem;color:#8c8067}.gps-help summary{cursor:pointer}.gps-help details p{font-size:0.9375rem;line-height:1.8;margin-bottom:8px}

/* Sleep: useful without a wearable; device exploration stays optional. */
.sleep-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}
.sleep-heading>label{min-width:160px;margin-top:24px}
.sleep-main-grid{align-items:start;margin-bottom:28px}
#sleep-form{display:grid;gap:17px}#sleep-form label{margin:0}
.sleep-duration-preview{padding:16px;border-radius:12px;background:#eef3e6;color:#31563c;font-weight:600;margin:0}
.sleep-bubbles{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;max-height:290px;overflow:auto;padding:8px 3px 16px}
.sleep-bubble{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #dce5d3;border-radius:18px;background:#f8faf4;color:#62785c;min-height:61px;padding:7px 2px;font-size:16px;cursor:pointer}
.sleep-bubble small{font-size:0.875rem;margin-top:3px}.sleep-bubble.recorded{background:#e0ecd3;border-color:#a2bb8b;color:#274d33;font-weight:700}
.sleep-bubble.selected{outline:2px solid #315e41;outline-offset:2px}.sleep-bubble:hover{border-color:#315e41}
#sleep-trend{width:100%;height:auto;min-height:170px;display:block;margin-top:15px}#sleep-trend circle{cursor:pointer}#sleep-trend circle:focus{stroke:#1d3c2e;stroke-width:3;outline:none}
#sleep-history{max-height:360px;overflow:auto}#sleep-history .text-button{margin-right:12px}
.sleep-eeg-tools>summary{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;cursor:pointer;list-style:revert;font-size:17px;padding:10px 0}.sleep-eeg-tools[open]>summary{margin-bottom:22px}
.sleep-eeg-tools .bottom-grid{margin-top:26px;gap:30px;align-items:start}.sleep-eeg-help{border-radius:18px;padding:24px;background:#eef3e6}.sleep-eeg-tools .signal-panel{border-top:1px solid #e0e7d8;padding-top:25px;margin-top:30px}
.sleep-empty{border:1px dashed #cbd9bf;border-radius:16px;padding:42px 24px;text-align:center;background:#f7f9f2;margin:20px 0}.sleep-empty p{margin-bottom:0}.sleep-demo-label{padding:14px;background:#fff3d9;border-radius:10px;color:#74551b;font-size:1.0625rem;font-weight:600}
#eeg-viewer input[type=range]{width:100%}#eeg-chart{width:100%;height:auto;min-height:180px}#eeg-status{margin-top:16px}#sleep-save-status{margin:0;color:#31563c}
@media(max-width:600px){.sleep-heading{display:block}.sleep-heading>label{display:block;margin:0 0 20px}.sleep-bubbles{gap:6px}.sleep-bubble{min-height:55px;border-radius:13px}.sleep-eeg-tools>summary{font-size:15px}.sleep-eeg-tools .route-actions{gap:8px} .sleep-main-grid{gap:18px}}

/* Outdoor recorder and all-sport exercise journal. */
.exercise-switch{display:flex;gap:8px;padding:6px;background:#eaf0e2;border:1px solid #dce5d4;border-radius:18px;width:fit-content;margin:28px 0 22px}.exercise-switch button{border:0;border-radius:12px;background:transparent;padding:12px 20px;color:#526d4d}.exercise-switch button.active{background:#fff;box-shadow:0 2px 7px #203e3010;color:#254d35;font-weight:600}
.gps-signal-strip{display:flex;gap:12px 28px;flex-wrap:wrap;padding:15px 18px;background:#f3f6ed;border-radius:12px;margin:22px 0 10px}.gps-signal-strip span{display:flex;flex-direction:column;font-size:0.9375rem;color:#687c60;min-width:95px}.gps-signal-strip strong{font-size:1.125rem;font-weight:600;color:#294d36;margin-top:3px}
.run-map-empty{min-height:250px;border:1px dashed #bdcfae;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at center,#edf3e2,#f6f8f1);padding:24px;margin-top:20px}.run-map-empty>span{font-size:38px;color:#7c9b65}.run-map-empty h3{font:24px Georgia,serif;margin:8px 0}.run-map-empty p{max-width:420px;color:#6f8165}.run-map-empty .primary{margin:10px 0}#run-map-status{margin:0;max-width:520px;font-size:1rem}#route-map{min-height:360px;max-height:520px}#run-follow{margin-right:10px}
#exercise-gps-panel>.run-manual{margin-bottom:25px}.workout-panel{max-width:900px;margin-bottom:25px}.workout-panel h2{font:30px Georgia,serif;margin:10px 0}.workout-panel form{display:grid;gap:20px}.workout-panel form label{margin:0}.workout-panel textarea{min-height:90px}.workout-estimate{background:#edf3e4;border-radius:12px;padding:15px;color:#345d3c;margin:0}.workout-progress,.workout-history-panel{margin:24px 0}.workout-empty{background:#f4f7ef;border-radius:14px;padding:24px;margin-top:20px}.workout-empty p{margin-bottom:0}.workout-record .text-button{margin-left:12px}.exercise-week-chart{display:grid;gap:14px;margin:22px 0}.exercise-day-bar{display:grid;grid-template-columns:105px 1fr 70px;gap:16px;align-items:center;font-size:1rem}.exercise-day-bar strong{text-align:right}.exercise-bar-track{height:15px;background:#eef2e7;border-radius:20px;overflow:hidden}.exercise-bar-track i{height:100%;background:#80a36a;border-radius:20px;display:block;min-width:0}
@media(max-width:600px){.exercise-switch{width:100%}.exercise-switch button{flex:1;padding:12px 8px;font-size:1rem}.run-toolbar{gap:12px;flex-wrap:wrap}.run-toolbar label{min-width:130px;flex:1}.gps-signal-strip{gap:15px}.gps-signal-strip span{min-width:100px;flex:1}.exercise-day-bar{grid-template-columns:82px 1fr 56px;gap:8px;font-size:0.9375rem}.workout-panel h2{font-size:26px}.run-map-empty h3{font-size:22px}}

/* Keep exercise focused: map + timer, or a short typed workout entry. */
#activity{padding-top:20px}#activity .run-title-row{margin-bottom:8px}#activity #run-title{font-size:34px;margin-bottom:5px}#activity .run-title-row p{margin-bottom:6px}#activity .exercise-switch{margin:16px 0}.run-recorder{padding:20px!important}.compact-timer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 12px}.compact-timer>div:first-child{display:flex;align-items:baseline;gap:14px}.compact-timer small{font-size:0.875rem;letter-spacing:1.4px;color:#6e835f}.compact-timer strong{font-size:46px;line-height:1;font-weight:600;letter-spacing:-2px}.compact-timer #run-status{font-size:1rem;padding:7px 12px}.compact-map-stage{position:relative;border-radius:16px;overflow:hidden;background:#f0f4e9}.compact-map-stage #route-map{height:clamp(260px,42vh,420px);min-height:260px;max-height:420px;margin:0;border-radius:0}.compact-map-stage .run-map-empty{min-height:260px;margin:0;border:0;border-radius:0}.compact-map-stage #route{margin:0;max-height:300px}.compact-map-stage #route:not([data-projection]){display:none}.compact-map-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.compact-map-controls .pill{padding:7px 12px}.run-recorder .run-actions{margin:12px 0;gap:8px}.run-recorder #run-feedback{font-size:1rem;margin:8px 0;padding:10px 13px}.compact-screen-note{font-size:0.9375rem;color:#77846e;margin:10px 0}.compact-run-details{border-top:1px solid #e0e7d8;padding-top:12px;margin-top:10px}.compact-run-details>summary,.compact-history>summary,.compact-review>summary,.workout-optional>summary{cursor:pointer;color:#47643f;font-weight:600}.compact-run-details[open] .run-live-stats{margin:20px 0}.compact-run-details .run-toolbar{margin-top:20px}.compact-history{margin:18px 0}.compact-history>summary{padding:4px 0}.compact-history .panel{box-shadow:none}.compact-review{margin:15px 0}.compact-review #run-review{margin-top:15px}.compact-review #run-playback{background:white;border:1px solid #e0e7d8;border-radius:16px;padding:20px}.workout-optional{margin:0}.workout-optional[open]{display:grid;gap:16px}.workout-optional>summary{padding:4px 0}.workout-optional .note{margin:0}#workout-form>.field-grid{grid-template-columns:2fr 1fr 1fr}#workout-form .route-actions{margin:0}
@media(max-width:650px){#activity #run-title{font-size:28px}.run-recorder{padding:14px!important}.compact-timer strong{font-size:39px}.compact-timer small{font-size:0.75rem}.compact-timer>div:first-child{gap:9px}.compact-timer #run-status{font-size:0.875rem;max-width:135px}.compact-map-stage #route-map{height:34vh;min-height:235px}.compact-map-stage .run-map-empty{min-height:235px}#workout-form>.field-grid{grid-template-columns:1fr 1fr}#workout-form>.field-grid>label:first-child{grid-column:1/-1}.compact-history{padding:16px!important}}

/* Goal planning: review first, then a small view of the week. */
.planner-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.planner-heading>.pill{white-space:nowrap}.planner-builder,.planner-draft{max-width:1000px;margin:24px 0}.planner-builder h2,.planner-draft h2{font:29px Georgia,serif;margin:12px 0 20px}.planner-builder form{display:grid;gap:20px}.planner-builder form label{margin:0}.planner-fieldset{border:1px solid #dce5d5;padding:15px;border-radius:14px;margin:0}.planner-fieldset legend{padding:0 7px;color:#4d6c45;font-size:1rem}.planner-focus,.planner-day-options{display:flex;gap:10px 18px;flex-wrap:wrap}.planner-focus label,.planner-day-options label{display:flex;align-items:center;gap:7px;margin:0;font-size:1rem}.planner-focus input,.planner-day-options input{width:17px;height:17px;margin:0;accent-color:#527d46}.planner-saved-controls{max-width:430px;margin:20px 0}.planner-task-editor{padding:22px;background:#f4f7ef;border:1px solid #dfe7d5;border-radius:16px;margin:18px 0;display:grid;gap:15px}.planner-task-editor label{margin:0}.planner-task-editor .panel-heading{margin:0}.planner-draft-context{padding:16px 20px;border:1px solid #dfe7d5;border-radius:12px;margin-bottom:20px}.planner-draft-context summary,.planner-why summary{cursor:pointer;font-weight:600;color:#47673f}.planner-draft-context p,.planner-why p{font-size:1.0625rem;margin:12px 0}.planner-plan-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-top:20px}.planner-plan-header h2{font:29px Georgia,serif;margin-top:10px}.planner-week,.planner-why{margin-top:24px}.planner-days{display:grid;gap:13px}.planner-day{padding:18px;background:#f6f8f2;border:1px solid #e1e8d9;border-radius:14px}.planner-day.is-today{border-color:#91af7c;background:#eff5e6}.planner-day h3{margin:0 0 12px;font-size:1.0625rem}.planner-day p{margin:0;font-size:1rem}.planner-checkin{display:flex;align-items:center;gap:12px;padding:10px 0;margin:0;border-top:1px solid #e1e8d9}.planner-checkin input{width:20px;height:20px;flex-shrink:0;accent-color:#527d46;margin:0}.planner-checkin small{margin-left:auto;white-space:nowrap;color:#708463}.planner-checkin:has(input:checked) span{text-decoration:line-through;color:#7f8e76}.planner-checkin:has(input:disabled){opacity:.65}#planner-status{padding:12px 0;color:#365e3e}.planner-why{margin-bottom:24px}.planner-week .route-actions{margin:0}.planner-task-editor .field-grid{grid-template-columns:1fr 1fr 1fr}
@media(max-width:650px){.planner-heading{align-items:flex-start;flex-direction:column;gap:4px}.planner-heading h1{font-size:32px}.planner-plan-header{flex-direction:column}.planner-task-editor{padding:15px}.planner-task-editor .field-grid{grid-template-columns:1fr}.planner-week>.panel-heading{flex-wrap:wrap}.planner-checkin{font-size:1rem}.planner-checkin small{font-size:0.875rem}.planner-day-options{gap:10px 14px}}

/* Conversation and plan choice live where the day starts. */
.coach-panel,.coach-today{margin:24px 0}.coach-panel>.panel-heading{gap:20px;align-items:center}.coach-panel h2{font:30px Georgia,serif;margin:10px 0}.coach-badge{font-size:0.875rem;background:#edf3e6;color:#597548;padding:7px 10px;border-radius:20px;white-space:nowrap}.coach-starters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.coach-starters button{border:1px solid #d5e0cc;border-radius:24px;padding:9px 14px;background:#f8faf5;font-size:1rem}.coach-panel textarea{resize:vertical;min-height:100px}.coach-panel #coach-form{display:grid;gap:15px}.coach-input-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:550px}.coach-input-options label{margin:0}.coach-context-toggle{display:flex;align-items:center;gap:10px;font-size:1rem;margin:0}.coach-context-toggle input{width:18px;height:18px;flex-shrink:0;accent-color:#527d46}.coach-panel .route-actions{margin:0}.coach-panel #coach-context-preview{margin:0;border:0;padding:0;font-size:0.9375rem}.coach-conversation{display:grid;gap:13px;max-height:370px;overflow:auto;margin:15px 0}.coach-message{border-radius:15px;background:#edf3e6;padding:17px 20px;max-width:90%}.coach-message.user{background:#f1f1eb;margin-left:auto}.coach-message strong{font-size:0.875rem;letter-spacing:.7px}.coach-message p{white-space:pre-wrap;margin:5px 0 0;font-size:1.0625rem}.coach-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.coach-options:empty{display:none}.coach-option{border:1px solid #d8e3ce;border-radius:17px;background:#f7faf3;padding:20px;display:flex;flex-direction:column}.coach-option h3{font:23px Georgia,serif;margin:12px 0}.coach-option p{font-size:1rem}.coach-option details{font-size:1rem;margin:0 0 18px}.coach-option summary{cursor:pointer;font-weight:600;color:#4d7043}.coach-option li{margin:10px 0}.coach-option ul{padding-left:18px}.coach-option button{margin-top:auto;align-self:flex-start}.coach-quick-checkin{margin:22px 0}.coach-quick-checkin>summary{cursor:pointer;color:#5f7952;font-size:1.0625rem}.coach-quick-checkin .home-grid{margin-top:20px}#coach-status{font-size:1.0625rem;color:#42633c;margin:15px 0}.coach-today .panel-heading{margin-bottom:15px}.coach-today h2{font:25px Georgia,serif}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.coach-options{grid-template-columns:1fr}.coach-panel h2{font-size:25px}.coach-panel>.panel-heading{flex-wrap:wrap;gap:0}.coach-badge{margin-bottom:10px}}@media(max-width:500px){.coach-input-options{grid-template-columns:1fr}.coach-message{max-width:100%}.coach-today .panel-heading{flex-wrap:wrap}}


/* The full product name has equal emphasis at every entry point. */
.brand{display:flex;align-items:flex-start;gap:8px;font-size:25px;line-height:1.12;letter-spacing:-.8px;font-weight:750}
.brand .brand-icon{flex:none;margin:0;line-height:1.1}
.brand-name{font-weight:750;letter-spacing:-.7px;line-height:1.15}
.setup-brand>.brand-name{font-size:24px;letter-spacing:-.7px;margin-left:0;white-space:normal}
.coach-panel>p.muted{font-size:1.125rem;line-height:1.65;max-width:75ch}
.coach-message p,.reading p,.reading li{line-height:1.7}
.panel-heading{flex-wrap:wrap}
footer{flex-wrap:wrap;line-height:1.6}
label{line-height:1.5}
.sidebar-bottom p{max-width:none}
nav button{line-height:1.4}
@media(max-width:800px){
 .brand{font-size:22px;align-items:center}
 .brand .brand-name{max-width:220px}
 .coach-panel>p.muted{font-size:1.0625rem}
}
@media(max-width:450px){
 .setup-brand{clear:both;padding-top:16px}
 .setup-brand>.brand-name{font-size:22px}
 .compact-timer{flex-wrap:wrap}
 .compact-timer #run-status{max-width:none}
}
/* Larger copy must remain reachable in short desktop windows. */
aside{overflow-y:auto}
aside nav{flex-shrink:0}
:root{--muted:#647367}
@media(min-width:801px){aside .sidebar-bottom{padding-top:30px}}

/* Selected identity: a leaf with a winding path in negative space. */
.brand-logo{display:block;width:40px;height:40px;object-fit:contain;flex-shrink:0}
.brand .brand-logo{margin-top:3px}
.setup-brand .brand-logo,.login-brand .brand-logo{width:44px;height:44px}
.setup-art img,.spark img,.leaf img{display:block;object-fit:contain}
.setup-art img{width:180px;height:180px}
.leaf img{margin-bottom:12px}

/* Exercise: three direct views, without nested disclosure menus. */
.simple-run-toolbar{display:flex;justify-content:flex-end;margin-bottom:14px}
.exercise-choice-row,.exercise-choice-field{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:1rem;color:#52694e}
.exercise-choice-buttons{display:flex;gap:6px;flex-wrap:wrap}
.exercise-choice-buttons button{border:1px solid #d6e0ce;background:#fff;border-radius:20px;padding:6px 13px;font-size:1rem}
.exercise-choice-buttons button[aria-pressed=true]{background:#e4eddc;border-color:#91ad7d;color:#315b3c;font-weight:650}
.run-recorder .run-live-stats{margin:18px 0;gap:15px}
.route-elevation{margin:14px 0 18px;padding:18px 0 0;border-top:1px solid #e0e7d8}
.route-elevation h2{font-size:1.125rem}
.elevation-axis-labels{display:flex;justify-content:space-between;font-size:.875rem;color:#60745d;margin-top:12px}
#elevation-chart{display:block;width:100%;height:220px;margin:0;background:#fafcf7;border-radius:10px}
#elevation-caption{font-size:.9375rem;margin:4px 0 0;line-height:1.5}
.run-diagnostics{border-top:1px solid #e0e7d8;padding-top:10px;margin-top:12px}
.run-diagnostics .gps-signal-strip{margin:0;gap:18px;background:none;padding:0;border:0}
.run-diagnostics p{font-size:.875rem;margin:4px 0}
#activity select[hidden],#activity [hidden]{display:none!important}
#exercise-history-details{margin:20px 0;padding:0;background:none;border:0}
#exercise-history-details>.panel{margin-top:18px}
.simple-workout-details{border-top:1px solid #e0e7d8;padding-top:18px;margin-top:12px;display:grid;gap:14px}
.simple-workout-details h2{font-size:1.125rem}
#workout-form .exercise-choice-field{display:grid;gap:8px}
.imported-route-save{border-top:1px solid #e0e7d8;margin-top:18px;padding-top:18px;display:grid;gap:12px;max-width:460px}
.compact-review{margin-top:20px}
@media(max-width:650px){
 .simple-run-toolbar{justify-content:flex-start}
 .run-recorder .run-live-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .run-recorder .run-live-stats strong{font-size:24px}
 .run-recorder .run-live-stats small{font-size:.8125rem;letter-spacing:.3px}
 .compact-map-controls{gap:6px}
 .compact-map-controls .pill{font-size:.875rem}
 .route-elevation .panel-heading{gap:4px}
 .exercise-switch button{padding:10px 13px}
}
.exercise-vitals{border-top:1px solid #e0e7d8;margin:18px 0 0;padding-top:18px}
.exercise-vitals h2{font-size:1.125rem;margin-bottom:14px}
.exercise-vitals-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.exercise-vitals .note{font-size:.875rem;margin:8px 0}
.exercise-vitals .route-actions{align-items:center}
.exercise-saved-vitals{color:#476b45;font-size:1rem}
.journal-exercise-sessions{border-top:1px solid #dfe6d7;margin-top:20px;padding-top:18px}
.journal-exercise-sessions h3{margin:0 0 12px}
.journal-exercise-sessions article{padding:12px 0;border-bottom:1px solid #e5eadf}
.journal-exercise-sessions p{margin:5px 0}
@media(max-width:650px){.exercise-vitals-fields{grid-template-columns:1fr}.exercise-vitals-fields input{width:100%}}

/* Today keeps the focus on a goal, a conversation, and the chosen plan. */
#home .home-intro{margin-bottom:24px}
#ai-coach{padding:clamp(22px,3vw,38px)}
#ai-coach>.panel-heading{margin-bottom:8px}
#ai-coach h2{font-size:clamp(27px,3vw,36px);margin:0;line-height:1.2}
#ai-coach>p.muted{margin:8px 0 24px;font-size:1.0625rem}
#coach-form{gap:18px}
#coach-message{min-height:126px;padding:16px 18px;font-size:1.125rem;background:#fafcf7;border-radius:14px;line-height:1.6}
.coach-input-options{max-width:none;grid-template-columns:1fr 1fr;gap:18px}
.coach-input-options input{min-height:46px}
#coach-form .route-actions{justify-content:space-between;align-items:center}
#coach-send{padding:12px 24px;min-height:46px}
#coach-clear{padding:10px 0}
#coach-status:empty,.coach-conversation:empty{display:none}
#coach-status{margin:18px 0 0}
#ai-coach>p.note{border:0;margin:18px 0 0;padding:0;font-size:.9375rem;color:#647367}
.coach-options:not(:empty){margin-top:24px;padding-top:24px;border-top:1px solid #e0e7d8}
.coach-option h3{margin-top:0}
#coach-today[hidden],#coach-clear[hidden]{display:none!important}
@media(max-width:500px){.coach-input-options{grid-template-columns:1fr 1fr;gap:12px}.coach-input-options label{font-size:.9375rem}.coach-input-options input{padding:9px 8px}}
.run-plan-progress{background:#e9f2df;color:#345d43;border-radius:10px;padding:10px 14px;font-weight:600;margin:10px 0}
.simple-run-toolbar{justify-content:space-between;gap:16px;flex-wrap:wrap}
.route-planning-mode{display:flex;gap:6px;padding:4px;border-radius:24px;background:#eff3e9}
.route-planning-mode button{border:0;background:transparent;padding:8px 14px;border-radius:20px;font-size:1rem}
.route-planning-mode button[aria-pressed=true]{background:#345d43;color:white}
.route-drawing-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#route-planner{margin-bottom:18px}
#route-planner .note{font-size:.875rem;margin:10px 0;line-height:1.5}
.planned-route-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:18px 0}
.planned-route-stats small{display:block;font-size:.875rem;color:#64765f}
.planned-route-stats strong{display:block;font-size:27px;font-weight:600}
.planned-route-stats label{font-size:.875rem}
.planned-route-stats input{width:100%;max-width:140px}
.route-cursor-draw,.route-cursor-draw .leaflet-interactive{cursor:crosshair!important;touch-action:none}
@media(max-width:650px){.planned-route-stats{grid-template-columns:1fr 1fr;gap:12px}.planned-route-stats strong{font-size:24px}.route-planning-mode button{font-size:.9375rem}}

#elevation-chart{cursor:crosshair;touch-action:pan-y}
#elevation-chart:focus-visible{outline:2px solid #47784e;outline-offset:3px}

/* Future self: explicit age, editable routine, and an explainable visual metaphor. */
.future-self-card{align-self:start;background:#e8efdf;position:sticky;top:20px}
.future-self-card .card-top{padding-bottom:12px;flex-wrap:wrap;gap:8px}
.future-age-control{padding:0 24px 16px}
.future-age-control label{display:flex;align-items:baseline;justify-content:space-between;font-weight:600;color:var(--ink)}
.future-age-control output{font:700 36px/1.1 Georgia,serif}
.future-age-control input{margin:18px 0 12px}
.future-view-switch{display:flex;margin:0 22px;background:#ffffff80;border:1px solid #d5dfcb;border-radius:24px;padding:4px;gap:4px}
.future-view-switch button{flex:1;background:none;border:0;padding:9px 6px;border-radius:22px;font-size:1rem}
.future-view-switch button[aria-pressed=true]{background:#345d43;color:#fff}
.future-scene{height:285px!important}
.future-scene svg{height:270px;max-width:100%}
.future-self-card[data-support=mixed]{background:#e9eee6}
.future-self-card[data-support=needs-support]{background:#efeee5}
.future-routine-label{display:inline-block;border-radius:20px;background:#ffffffb8;padding:5px 12px;font-size:1rem;color:#345d43;margin-bottom:12px}
.future-self-card .avatar-caption h2{font:28px/1.3 Georgia,serif}
.future-self-card .avatar-caption p{font-size:1rem;margin:10px 14px;color:#536b54}
.future-limit{font-size:.9375rem;line-height:1.6;text-align:center;margin:8px 24px 22px;color:#536550}
.future-personalize{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #d5dfcb;padding:16px 22px;font-size:.9375rem}
#future-skin-choices{display:flex;gap:8px}
#future-skin-choices button{width:28px;height:28px;border:2px solid #fff;border-radius:50%;padding:0}
#future-skin-choices button[aria-pressed=true]{outline:2px solid #345d43;outline-offset:2px}
.future-extra-factors{border-top:1px solid var(--line);margin-top:26px;padding-top:18px}
.future-extra-factors h3{margin:0 0 16px;font-size:1.125rem}
.future-extra-factors h3 span{font-size:.9375rem;color:#6d7d69;font-weight:400;margin-left:8px}
.future-choice-field{border:0;padding:0;margin:18px 0 0;min-width:0}
.future-choice-field legend{font-size:1rem;color:#64765f;margin-bottom:8px}
.future-inline-choices{display:flex;flex-wrap:wrap;gap:7px}
.future-inline-choices button{background:#fcfdf9;border:1px solid #d7e0d1;border-radius:24px;padding:7px 12px;font-size:.9375rem}
.future-inline-choices button[aria-pressed=true]{background:#345d43;border-color:#345d43;color:#fff}
.future-extra-factors .field-grid label{font-size:1rem}
.future-log-import{margin-top:22px}
.future-log-import p{margin:10px 0 0;font-size:.9375rem;line-height:1.65}
.future-error{color:#8a4e39;font-size:1rem;margin:6px 0}
.future-error:empty{display:none}
@media(max-width:850px){.future-self-card{position:static}.future-view-switch{margin:0 14px}.future-personalize{flex-wrap:wrap}.future-age-control{padding-inline:18px}}
@media(max-width:580px){.future-scene{height:260px!important}}

#simulator section.model-details{border:0;padding:0}

/* Phone navigation lives in a left drawer, leaving room for the actual page. */
.mobile-app-bar{display:none}
#mobile-side-menu{padding:0;border:0;color:var(--ink);background:#eef1e9}
#mobile-side-menu::backdrop{background:rgb(22 42 32 / .4)}
.menu-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;z-index:1}
body.menu-open{overflow:hidden}
@media(max-width:850px){
 .mobile-app-bar{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:50;padding:10px 16px;background:#eef1e9;border-bottom:1px solid var(--line)}
 .mobile-app-bar>span{font-size:18px;font-weight:750;line-height:1.25}
 .menu-toggle{width:44px;height:44px;flex-shrink:0;border:1px solid #d6dfd1;border-radius:12px;background:#fff;font-size:24px;line-height:1}
 #mobile-side-menu{margin:0 auto 0 0;width:min(330px,calc(100% - 36px));max-width:none;height:100vh;height:100dvh;max-height:none;overflow-y:auto;overscroll-behavior:contain;box-shadow:8px 0 35px #223e3326}
 #mobile-side-menu aside{position:static;inset:auto;width:100%;min-height:100%;padding:70px 20px 28px;border:0;overflow:visible}
 #mobile-side-menu .brand{display:flex;gap:8px;font-size:23px}
 #mobile-side-menu nav{display:grid;gap:6px;overflow:visible;margin:28px 0 0}
 #mobile-side-menu nav button{width:100%;min-height:48px;padding:13px;font-size:1rem;gap:12px;white-space:normal}
 #mobile-side-menu .header-actions{display:grid;gap:8px;margin-top:24px;padding-top:20px;border-top:1px solid #d6dfd1}
 #mobile-side-menu .header-actions .pill{text-align:left;min-height:46px;font-size:1rem}
 body.setting-up .mobile-app-bar{display:none}
 main>header{padding:16px 0}
}

.account-button{display:inline-flex;align-items:center;gap:10px}
.account-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;overflow:hidden;border-radius:50%;background:#dfe8d7;color:#345d43;font-size:13px;font-weight:700;line-height:1}
.account-avatar img{display:block;width:100%;height:100%;object-fit:cover}

/* A quiet landing page with two things: your avatar and journal calendar. */
.home-dashboard{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:24px;align-items:start;margin-top:24px}
.home-avatar-card{text-align:center;background:#e8efdf}
.home-avatar-card h2{font-size:21px}
.home-avatar-scene{display:grid;place-items:center;padding:15px 0}
.home-avatar-scene svg{height:280px;max-width:100%;width:240px}
.home-avatar-card h3{margin:0;font:28px/1.3 Georgia,serif}
#home .journal-calendar-panel{margin:0;min-width:0}
#home .journal-calendar-panel .panel-heading{gap:12px}
#journal .journal-explore{grid-template-columns:1fr}
@media(max-width:850px){.home-dashboard{grid-template-columns:1fr;gap:18px}.home-avatar-scene svg{height:220px}.home-avatar-scene{padding:4px 0}.home-avatar-card{padding:22px}.home-dashboard .calendar-controls{gap:5px}}

/* Home retains the three measurements and the illustrative trajectory. */
#home .model-details{border:0;padding:0;margin-top:24px}
#home .model-details .stats{margin-top:0}
#home .model-details .bottom-grid{grid-template-columns:minmax(0,1fr)}
#home .model-details .panel{min-width:0}
#home #chart{display:block;width:100%;height:auto}

/* Coach chat opens above a bottom tab, without navigating away. */
.coach-launcher{position:fixed;right:76px;bottom:max(16px,env(safe-area-inset-bottom));z-index:1100;display:flex;align-items:center;gap:12px;border:1px solid #254735;border-radius:18px 18px 5px 5px;padding:12px 18px;min-height:48px;background:#345d43;color:#fff;font-size:1rem;font-weight:650;box-shadow:0 6px 24px #223e3326}
.coach-chat-panel{position:fixed;right:24px;bottom:calc(78px + var(--coach-keyboard-offset,0px));z-index:1101;width:min(430px,calc(100vw - 32px));height:min(680px,calc(var(--coach-visible-height,100dvh) - 100px));min-height:200px;border:1px solid #d6dfd1;border-radius:22px;background:#fff;box-shadow:0 16px 60px #223e3340;overflow:hidden;display:flex;flex-direction:column;animation:coach-slide-up .2s ease-out}
.coach-chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#eef3e8;border-bottom:1px solid #dfe7d8;flex-shrink:0}
.coach-chat-heading h2{font-size:20px;margin:0}
.coach-chat-subtitle{font-size:.9375rem;color:#647367}
#coach-minimize{width:44px;height:44px;border:1px solid #d6dfd1;border-radius:50%;background:#fff;font-size:26px;flex-shrink:0}
#coach-chat-panel #ai-coach{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:0;border:0;border-radius:0}
.coach-chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px;scrollbar-width:thin}
#coach-chat-panel .coach-conversation{max-height:none;overflow:visible;padding:0;display:flex;flex-direction:column;gap:12px}
#coach-chat-panel .coach-message{max-width:94%;padding:12px 14px;border-radius:16px;font-size:1rem;margin:0}
#coach-chat-panel .coach-message.user{align-self:flex-end}
#coach-chat-panel .coach-message p{margin:5px 0 0;line-height:1.6}
.coach-chat-compose{flex-shrink:0;padding:12px 16px 14px;border-top:1px solid #e3e8df;background:#fff;max-height:65%;overflow-y:auto}
#coach-chat-panel #coach-message{min-height:64px;max-height:120px;padding:10px 12px;font-size:16px;line-height:1.4;resize:vertical}
#coach-chat-panel .coach-input-options{grid-template-columns:1fr 1fr;gap:10px;margin:8px 0}
#coach-chat-panel .coach-input-options label{font-size:.875rem;min-width:0}
#coach-chat-panel .coach-input-options input{min-height:38px;width:100%;min-width:0;padding:6px 8px;font-size:16px}
#coach-chat-panel .coach-context-toggle{font-size:.875rem;margin:8px 0}
#coach-chat-panel .route-actions{margin:8px 0 0;gap:12px}
#coach-chat-panel #coach-send{padding:9px 18px;min-height:44px;font-size:1rem}
#coach-chat-panel .note{font-size:.8125rem;line-height:1.4;margin:8px 0 0;color:#647367;border:0;padding:0}
#coach-chat-panel .coach-options{display:grid;grid-template-columns:1fr;gap:12px}
#coach-chat-panel .coach-option{padding:14px;min-width:0}
#coach-chat-panel .coach-option h3{font-size:1.0625rem}
#coach-chat-panel .coach-option p,#coach-chat-panel .coach-option li,#coach-chat-panel .coach-option summary{font-size:1rem}
#coach-chat-panel #coach-status{margin:8px 0 0;font-size:.9375rem}
body.setting-up #coach-widget,body.session-paused #coach-widget{display:none}
main{padding-bottom:90px}
@keyframes coach-slide-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:580px){.coach-chat-panel{right:12px;width:calc(100vw - 24px);bottom:calc(76px + var(--coach-keyboard-offset,0px));border-radius:20px}.coach-launcher{right:72px;padding:11px 15px}.coach-chat-heading{padding:12px 16px}.coach-chat-subtitle{display:none}.coach-chat-scroll{padding:14px}}
@media(prefers-reduced-motion:reduce){.coach-chat-panel{animation:none}}

.coach-answer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#coach-chat-panel .coach-answer-actions .pill{font-size:.9375rem;white-space:normal;min-height:44px;background:#fff}
#coach-chat-panel .coach-message p{white-space:pre-wrap}

.home-avatar-card .avatar-source{font-size:1rem;line-height:1.55;color:#586d60;max-width:36ch;margin:12px auto}
.home-avatar-card[data-energy="low"]{background:#eeebe3;border-color:#d9d0bf}
.home-avatar-card[data-energy="moderate"]{background:#eef0e8}
.home-avatar-card[data-energy="unknown"]{background:#edf0ed}
.home-avatar-card[data-energy="high"]{background:#e5efdd}
.home-avatar-card #home-avatar-routine{font-weight:650;color:#3c5847}

.avatar-age-label{display:grid;gap:6px;max-width:290px;margin:14px auto;text-align:left}.avatar-age-label input{width:100%;box-sizing:border-box}.routine-effects{margin-top:22px}.routine-effects article{padding:14px 0;border-top:1px solid #dce5d5}.routine-effects article h3{margin:0}.routine-effects article p{margin:8px 0}

.home-routine{margin:22px 0}.home-routine form{margin-top:18px}.home-routine .field-grid{margin-bottom:20px}

#routine-dialog{border:1px solid #dce5d2;border-radius:18px;padding:24px;width:calc(100% - 28px);max-width:740px;max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;color:#294833;background:#fbfcf7}#routine-dialog::backdrop{background:#20392488;backdrop-filter:blur(4px)}#routine-dialog form{margin-top:18px}#routine-dialog .field-grid{margin:18px 0}.routine-actions,.account-routine-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}.routine-actions{justify-content:space-between}body:has(#routine-dialog[open]) #coach-widget{display:none}@media(max-width:550px){#routine-dialog{padding:20px}#routine-dialog .field-grid{grid-template-columns:1fr}}

#journal-runs-dialog{border:1px solid #dce5d2;border-radius:18px;padding:24px;width:calc(100% - 28px);max-width:740px;max-height:calc(100dvh - 28px);overflow:auto;box-sizing:border-box;color:#294833;background:#fbfcf7}#journal-runs-dialog::backdrop{background:#20392488}.journal-run-history-card{padding:16px 0;border-top:1px solid #dce5d2}.journal-run-history-card h3{margin:0}#journal-day>.panel-heading{flex-wrap:wrap;gap:12px}

.run-recorder .run-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;align-items:stretch}.run-recorder .run-actions>button{width:100%;min-width:0!important;min-height:50px;padding:12px 8px!important;font-size:15px;line-height:1.25;white-space:normal;overflow-wrap:normal;word-break:normal;flex:none!important}.run-recorder #run-clear{grid-column:1/-1}.run-secondary-actions{display:flex;justify-content:center;margin:0 0 12px}.run-secondary-actions #run-discard{font-size:13px;min-height:36px;padding:6px 10px;color:#8b604d;width:auto;white-space:normal}.playback-actions #run-play{min-width:160px}@media(max-width:380px){.run-recorder .run-actions>button{font-size:14px;padding:11px 6px!important}}

#run-sync-conflicts{max-width:600px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;border:1px solid #dce5d2;border-radius:18px;padding:24px;color:#294833}#run-sync-conflicts article{display:grid;gap:10px;border-top:1px solid #dce5d2;padding:14px 0}#run-sync-conflicts::backdrop{background:#20392488}

.run-person-marker{font-size:29px;line-height:34px;filter:drop-shadow(0 2px 3px #223e3355);background:transparent;border:0;text-align:center}
.journal-run-viewer{margin:20px 0;scroll-margin-top:76px}.journal-run-stage{border:1px solid #dce5d2;border-radius:14px;overflow:hidden;background:#edf2e8;min-height:240px}.journal-run-stage #journal-run-map{height:300px;width:100%}.journal-run-stage .journal-route-svg{display:block;width:100%;height:280px;background:#edf2e8}.journal-run-mini-map{margin:10px 0;border:1px solid #dce5d2;border-radius:12px;background:#edf2e8;overflow:hidden}.journal-run-mini-map .journal-route-svg{display:block;width:100%;height:140px}.journal-replay-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.journal-replay-controls>div{display:flex;gap:6px}.journal-replay-controls .primary,.journal-replay-controls .pill{font-size:15px;min-height:44px;padding:10px 14px;white-space:normal}.journal-run-readout{padding:12px;border-radius:10px;background:#edf2e8;font-variant-numeric:tabular-nums}#journal-run-scrub{width:100%;margin:8px 0}#journal-run-elevation{width:100%;max-height:180px}.journal-replay-controls [aria-pressed=true]{background:#dce9d3;border-color:#75965d}@media(max-width:550px){.journal-run-viewer{padding:16px}.journal-run-stage #journal-run-map{height:260px}.journal-run-stage .journal-route-svg{height:240px}.journal-run-viewer>.panel-heading{flex-wrap:wrap;gap:8px}.journal-replay-controls #journal-run-play{flex:1 1 160px}.journal-replay-controls>div{width:100%;justify-content:flex-start}}

.account-connection-notice{position:fixed;left:50%;transform:translateX(-50%);top:10px;width:min(620px,calc(100% - 24px));z-index:9000;background:#f3edda;color:#5e5139;border:1px solid #dfd4b3;padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.4;pointer-events:none}@media(max-width:850px){.account-connection-notice{top:66px}}
#journal-editor.day-record-dialog{width:calc(100% - 28px);max-width:740px;max-height:calc(100dvh - 28px);box-sizing:border-box;overflow:auto;border:1px solid #dce5d2;border-radius:20px;padding:24px;color:#294833;background:#fbfcf7}#journal-editor.day-record-dialog::backdrop{background:#20392488;backdrop-filter:blur(4px)}#journal-editor .journal-form{display:block;border:0;box-shadow:none;margin:14px 0 0;padding:0;max-width:none}#journal-editor .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}#journal-editor input,#journal-editor select,#journal-editor textarea{box-sizing:border-box;max-width:100%;min-width:0}#journal-editor .day-record-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 10px}#journal-editor-error{color:#8b4b39;background:#f7ede6;border-radius:9px;padding:10px}.mobile-app-bar>.record-day-button{font-size:12px;padding:8px 10px;min-height:38px;white-space:nowrap;flex:none}.mobile-app-bar>span{flex:1;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#exercise-log .compact-history{margin-top:12px}#exercise-log .record{margin:14px 0}#exercise-run .journal-run-viewer{margin-top:12px}@media(max-width:500px){#journal-editor.day-record-dialog{padding:18px}#journal-editor .field-grid{grid-template-columns:1fr}.mobile-app-bar{gap:8px}.mobile-app-bar>span{font-size:14px}}body:has(#journal-editor[open]) #coach-widget{display:none}

#progress-conflicts{width:min(740px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #d8e2d0;border-radius:20px;padding:24px;background:#fff;color:#223e33}#progress-conflicts::backdrop{background:#17332866}#progress-conflicts-list article{border-top:1px solid #d8e2d0;padding:16px 0;overflow-wrap:anywhere}#progress-conflicts-list p{max-height:160px;overflow:auto}#progress-conflicts-list button{margin:4px}

.run-day-divider{border-top:2px solid #b9cbb0;padding-top:22px;margin:28px 0 12px;color:#345d43}.run-day-divider:first-child{margin-top:16px}.steps-journal strong{font-size:30px;display:block;margin:12px 0}.steps-journal .route-actions{flex-wrap:wrap}

/* Finish the Exercise recorder at its weather controls. Keep internal status
   hooks for GPS and saving without displaying the diagnostics panel. */
#activity #run-feedback,#activity #gps-help,#activity .run-diagnostics{display:none!important}
body:has(#activity.page.active) main>footer{display:none}

#avatar-appearance-dialog{width:min(650px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d8e2d0;border-radius:20px;padding:24px;color:#223e33;background:#fff}#avatar-appearance-dialog::backdrop{background:#17332866}#avatar-appearance-preview{display:block;width:170px;height:200px;margin:auto}.routine-evidence-item{border-left:3px solid #b8c7b1;padding-left:16px}.routine-evidence-item[data-status=review]{border-left-color:#a17c56}.routine-evidence-item[data-status=met]{border-left-color:#4d7952}.routine-effects a{font-size:14px}.home-avatar-card[data-energy=neutral]{background:#edf2e8}.routine-effects article{margin-bottom:24px}

#avatar-age{width:100%;accent-color:#567e52;min-height:44px;padding:0;border:0;background:transparent}#avatar-years-value{display:block;font-weight:600;color:#345d43;margin:8px 0}.home-avatar-card label:has(#avatar-age){width:100%}

.routine-quick-edit{display:block;margin-top:12px;font-size:13px;padding:7px 13px;min-height:36px}#routine-quick-dialog{width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:24px;border:1px solid #d8e2d0;border-radius:20px;background:white;color:#223e33}#routine-quick-dialog::backdrop{background:#17332866}#routine-quick-error{color:#965d45}

.home-avatar-scene[hidden]{display:none!important}.portrait-report-open{display:block;width:100%;padding:0;border:0;background:transparent;color:#223e33;text-align:center;cursor:pointer}.portrait-photo-frame{position:relative;aspect-ratio:3/4;max-width:260px;margin:8px auto 12px;border-radius:28px;overflow:hidden;background:linear-gradient(145deg,#dfe8d8,#f6f8f1)}#portrait-2050-photo{width:100%;height:100%;object-fit:cover;filter:saturate(.7) contrast(.96);display:block}#portrait-2050-photo[hidden],#portrait-photo-empty[hidden],#portrait-photo-preview[hidden]{display:none!important}#portrait-photo-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px}#portrait-photo-empty>span{font-size:60px;color:#6d8a68}#portrait-photo-empty small{font-size:15px}.portrait-grade-chip{position:absolute;right:14px;top:14px;display:grid;place-items:center;min-width:44px;height:44px;background:#fff;border-radius:50%;font-size:26px;font-weight:700;color:#345d43;box-shadow:0 1px 5px #223e3318}.portrait-open-caption{font-weight:600;font-size:16px}.portrait-disclosure{font-size:13px!important;line-height:1.4!important;margin:12px 0!important}.home-avatar-card>h3{font-size:23px;margin:12px 0}.home-avatar-card>h2{font-size:30px;margin-bottom:16px}#portrait-report,#portrait-photo-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px;border:1px solid #d8e2d0;border-radius:22px;color:#223e33;background:#fff}#portrait-report::backdrop,#portrait-photo-dialog::backdrop{background:#17332877}.portrait-report-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.portrait-report-stats>div{padding:12px 8px;background:#eef3e9;border-radius:12px;text-align:center}.portrait-report-stats small{display:block;font-size:12px}.portrait-report-stats b{display:block;font-size:24px;line-height:1.2;margin-top:8px}#portrait-body-age{font-size:18px}.portrait-health-areas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portrait-health-areas>div{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:10px;border:1px solid #e1e7da;border-radius:10px}.portrait-health-areas strong{font-size:14px}.portrait-health-areas b{font-size:20px}.portrait-health-areas small{font-size:12px;color:#64765f}.portrait-next{padding:14px;background:#f0f4e9;border-radius:14px;margin:16px 0}.portrait-next h3{margin:0 0 8px}.portrait-next p{font-size:14px;line-height:1.55;margin:8px 0}#portrait-report>details{padding:14px 0;border-top:1px solid #e1e7da}#portrait-report summary{font-weight:600;cursor:pointer}.portrait-grade-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf0e8}.portrait-grade-row b{font-size:22px}#portrait-report .routine-effects{padding:16px 0;border:0;box-shadow:none}#portrait-report .model-details .stats{grid-template-columns:1fr}#portrait-photo-preview{display:block;width:180px;max-height:240px;object-fit:cover;border-radius:18px;margin:16px auto}.portrait-sync-choice{display:flex;align-items:center;gap:10px;margin-top:18px}.portrait-sync-choice input{width:auto}.portrait-photo-dialog input[type=file]{width:auto}@media(max-width:480px){#portrait-report,#portrait-photo-dialog{padding:18px}.portrait-health-areas strong{font-size:13px}.portrait-report-stats b{font-size:22px}#portrait-body-age{font-size:16px}.home-avatar-card{padding:20px}}

#portrait-photo-dialog label[hidden]{display:none!important}#portrait-report:modal~#coach-widget{display:none}
