:root{--bg:#f5f5f0;--paper:#fff;--ink:#1c302c;--muted:#74817b;--line:#e4e7df;--green:#183e36;--lime:#ddf3b1;--orange:#e79465;--radius:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #8eb55b;outline-offset:3px}a{color:var(--green)}button{border:0;background:var(--green);color:white;border-radius:12px;padding:13px 19px;font-weight:600}button:hover{filter:brightness(.95)}button.secondary{color:var(--ink);background:#eff2e9}button.ghost{background:transparent;color:var(--ink);padding:8px 12px}button.small{padding:8px 12px;font-size:13px}button.danger{background:#fae9e3;color:#9d4235}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.muted{color:var(--muted)}small,.smalltext{font-size:13px;line-height:1.5}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:1.8px;font-weight:700;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.4px;font-weight:600;margin-bottom:9px}h2{font-size:21px;letter-spacing:-.4px;font-weight:600}h3{font-size:16px;line-height:1.35;margin-bottom:8px}p{line-height:1.55}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);padding:36px 24px;display:flex;flex-direction:column;background:#f9faf5}.brand{font-size:30px;font-weight:750;letter-spacing:-1.4px;display:flex;align-items:center;gap:11px;margin-bottom:48px}.brand img{width:39px;height:39px;border-radius:12px}.side-caption{margin:0 15px 15px}.nav{display:grid;gap:7px}.nav button{background:transparent;color:var(--muted);text-align:left;padding:14px 16px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500}.nav button.active{background:var(--green);color:white}.nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.sidebar .footer{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--line)}.avatar{width:36px;height:36px;display:grid;place-items:center;background:#e6ecda;border-radius:50%;font-weight:700}.main{max-width:1320px;width:100%;margin:auto;padding:40px 48px 60px}.topbar{margin-bottom:39px}.date{background:var(--paper);border:1px solid var(--line);padding:11px 14px;border-radius:12px;color:var(--ink);max-width:170px}.badge{font-size:11px;padding:6px 9px;background:#f1f4e9;border-radius:7px;color:#557044;display:inline-block}.hero{background:var(--green);border-radius:var(--radius);padding:31px 34px;display:flex;align-items:center;justify-content:space-between;color:white;gap:20px;position:relative;overflow:hidden;margin-bottom:24px}.hero h2{font-size:29px;max-width:390px;line-height:1.2;margin:12px 0}.hero p{color:#c2d5cc;font-size:14px;max-width:400px;margin-bottom:22px}.hero button{background:var(--lime);color:var(--green)}.hero .eyebrow{color:#b7cbbb}.orb{border:1px solid #6c8875;border-radius:50%;width:170px;height:170px;display:grid;place-items:center;flex-shrink:0;position:relative}.orb:after{content:'';position:absolute;inset:-17px;border:1px solid #48685b;border-radius:50%}.orb svg{width:120px;height:70px;stroke:var(--lime);stroke-width:3;fill:none}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:25px;margin-bottom:22px}.card.clickable{cursor:pointer;transition:transform .15s}.card.clickable:hover{transform:translateY(-3px)}.card .icon-tile{width:44px;height:44px;border-radius:14px;background:#edf2e4;color:var(--green);display:grid;place-items:center;margin-bottom:22px}.icon-tile svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.7}.big{font-size:34px;letter-spacing:-1px;font-weight:600}.big small{font-size:14px;letter-spacing:0;font-weight:400;color:var(--muted)}.progress{height:7px;background:#edf0e8;border-radius:8px;margin-top:17px;overflow:hidden}.progress span{display:block;height:100%;background:#adc98e;border-radius:8px}.macros{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.macro{padding-top:16px}.macro strong{font-size:18px;font-weight:600}.macro small{color:var(--muted)}.nutrition-summary{display:grid;grid-template-columns:190px 1fr;gap:28px;align-items:center}.ring{--pct:0%;width:164px;height:164px;border-radius:50%;background:conic-gradient(var(--lime) var(--pct),#edf0e8 0);padding:12px;display:grid;place-items:center;margin:auto}.ring-inner{width:140px;height:140px;border-radius:50%;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring .big{font-size:31px}.section-title{margin:28px 0 15px}.list-row{padding:16px 0;border-bottom:1px solid var(--line);gap:12px}.list-row:last-child{border:0;padding-bottom:0}.list-row:first-child{padding-top:0}.list-row p{margin:3px 0 0}.food-dot{width:40px;height:40px;display:grid;place-items:center;background:#f5eddf;border-radius:13px;flex-shrink:0;font-size:19px}.empty{text-align:center;padding:28px 12px;color:var(--muted);line-height:1.7}.empty strong{display:block;color:var(--ink);margin-bottom:4px}.empty svg{width:34px;height:34px;margin-bottom:12px;fill:none;stroke:var(--muted);stroke-width:1}.toolbar{margin-bottom:20px}.tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:23px}.tabs button{background:transparent;color:var(--muted);padding:10px 14px}.tabs button.active{background:#e8eedc;color:var(--green)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:block;font-size:13px;font-weight:600;margin-bottom:16px}.field input,.field select,.field textarea,input.search{display:block;width:100%;margin-top:7px;padding:12px 13px;background:#fff;border:1px solid #dce2d7;border-radius:10px;color:var(--ink);min-height:45px}.field textarea{min-height:100px;resize:vertical}.field small{font-weight:400;color:var(--muted);display:block;margin-top:6px}.full{grid-column:1/-1}input:focus,select:focus,textarea:focus{outline:2px solid #9dbd83;outline-offset:1px}.notice{background:#f3f5e9;padding:14px 16px;border-radius:12px;font-size:13px;line-height:1.55;color:#626f52;margin-bottom:18px}.error{color:#a43929;background:#fff0e8}.hidden{display:none!important}dialog{border:1px solid var(--line);border-radius:24px;padding:30px;width:min(620px,calc(100% - 28px));max-height:90dvh;color:var(--ink);box-shadow:0 20px 100px #0b291f25}dialog::backdrop{background:#19352f66;backdrop-filter:blur(4px)}dialog .heading{margin-bottom:23px}dialog .heading h2{margin:0}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,30px);opacity:0;background:#173d35;color:white;border-radius:14px;padding:14px 22px;z-index:20;pointer-events:none;max-width:90%;transition:all .2s}#toast.show{opacity:1;transform:translate(-50%,0)}.exercise-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.exercise{padding:0;overflow:hidden}.exercise img{width:100%;height:160px;object-fit:contain;background:#fff}.exercise .content{padding:17px}.exercise h3{font-size:15px}.exercise p{font-size:12px;color:var(--muted)}.exercise-detail-images{display:flex;gap:12px}.exercise-detail-images img{width:calc(50% - 6px);border-radius:14px;object-fit:contain}.instructions{padding-left:22px;font-size:14px;line-height:1.65}.set-header,.set-row{display:grid;grid-template-columns:40px 1fr 80px 80px 46px;gap:12px;align-items:center}.set-header{font-size:11px;color:var(--muted);margin:18px 0 8px}.set-row{padding:9px 0;border-top:1px solid var(--line);font-size:13px}.set-row input{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 4px;text-align:center;font-size:16px}.set-row .done{background:var(--lime);color:var(--green)}.set-row button{padding:11px 0}.chart{width:100%;height:160px;overflow:visible;margin:20px 0 12px}.chart-label{font-size:11px;fill:var(--muted)}.trend-empty{min-height:160px;display:grid;place-items:center;color:var(--muted);font-size:14px}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:var(--green);color:white;display:flex;flex-direction:column;justify-content:space-between;padding:8vw}.login-art h1{font-size:60px;line-height:1.05;max-width:450px}.login-art p{color:#bacdbd}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-box{width:360px;max-width:100%}.login-box h2{font-size:30px}.login-box button[type=submit]{width:100%;margin-top:5px}.loading{padding:80px;text-align:center}.mobile-brand{display:none}.plan-item{background:#f4f6ef;border-radius:14px;padding:15px;margin:10px 0}.plan-item .form-grid{grid-template-columns:repeat(3,1fr);gap:9px}.plan-item label{margin:8px 0 0}.status-dot{height:6px;width:6px;border-radius:50%;background:#8bb66e;display:inline-block;margin-right:5px}.file-link{font-size:13px;display:inline-block;margin-top:5px}.subtle{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.record-actions{display:flex;gap:2px;flex-shrink:0}.chip{background:#f4ede2;color:#8d6e48;border-radius:6px;padding:3px 6px;font-size:10px}.metric-select{width:auto!important;min-width:120px}.busy{pointer-events:none;opacity:.55}.pill{border:1px solid var(--line);border-radius:10px;padding:8px 11px;font-size:12px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.footer-note{font-size:11px;color:var(--muted);line-height:1.5;margin-top:30px}.date-step{padding:10px!important}.sources{font-size:12px;color:var(--muted);line-height:1.7}.sources a{color:inherit}
@media(min-width:1400px){.main{padding:48px 60px}}@media(max-width:1050px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:30px 15px}.main{padding:32px 25px}.grid3{gap:12px}.card{padding:20px}.exercise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero .orb{width:125px;height:125px}.hero .orb:after{inset:-10px}.nutrition-summary{grid-template-columns:155px 1fr;gap:15px}.ring{width:145px;height:145px}.ring-inner{width:121px;height:121px}.big{font-size:29px}}@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;z-index:9;bottom:0;top:auto;width:100%;height:auto;padding:8px 8px calc(9px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--line);background:#fafbf7f5;backdrop-filter:blur(12px)}.sidebar .brand,.side-caption,.sidebar .footer{display:none}.nav{display:flex;justify-content:space-around;gap:2px}.nav button{padding:8px 6px;display:flex;flex-direction:column;gap:5px;text-align:center;font-size:10px;min-width:54px;border-radius:10px}.nav button.active{background:#e7eddc;color:var(--green)}.nav svg{width:21px;height:21px}.main{padding:22px 18px 110px}.mobile-brand{display:flex;font-size:22px;letter-spacing:-.8px;font-weight:750;margin-bottom:28px}.mobile-brand img{height:29px;width:29px}.topbar{margin-bottom:24px;align-items:flex-start;gap:8px}.topbar h1{font-size:28px;letter-spacing:-.8px}.topbar p{font-size:13px;max-width:220px}.date{padding:9px 7px;font-size:12px;max-width:127px}.hero{padding:26px 23px;border-radius:22px}.hero h2{font-size:25px;max-width:240px}.hero p{font-size:13px;max-width:230px}.hero .orb{width:78px;height:78px;position:absolute;right:-13px;top:43px;opacity:.6}.orb svg{width:70px}.hero .orb:after{inset:-15px}.grid3{display:grid;grid-template-columns:1fr;gap:0}.grid3 .card{padding:21px;display:grid;grid-template-columns:45px 1fr;gap:0 15px;position:relative;margin-bottom:12px}.grid3 .card .icon-tile{grid-row:1/5;margin:0}.grid3 .card h3{margin:0 0 8px}.grid3 .card .big{font-size:26px}.grid3 .card .muted{margin:8px 0 0}.grid2,.account-grid{grid-template-columns:1fr;gap:0}.card{padding:21px;border-radius:20px;margin-bottom:17px}.nutrition-summary{grid-template-columns:1fr;gap:20px}.nutrition-summary .ring{width:165px;height:165px}.nutrition-summary .ring-inner{width:141px;height:141px}.macro strong{font-size:17px}.macros{gap:10px}.toolbar{flex-wrap:wrap}.toolbar button{font-size:12px;padding:12px 13px}.exercise-grid{gap:10px}.exercise img{height:125px}.exercise .content{padding:13px}.exercise h3{font-size:13px}.exercise button{font-size:11px;padding:10px}.exercise p{font-size:11px}.set-header,.set-row{grid-template-columns:25px 1fr 64px 64px 40px;gap:7px}.set-row{font-size:11px}.set-row input{font-size:16px}.set-header{font-size:10px}dialog{padding:22px;border-radius:22px;max-height:91dvh}.login{display:block;background:var(--bg)}.login-art{padding:34px 28px 28px}.login-art .brand{margin:0 0 32px}.login-art h1{font-size:36px;max-width:320px}.login-art p{font-size:13px;margin-bottom:0}.login-art .eyebrow{display:none}.login-form{padding:32px 26px 50px}.login-box h2{font-size:24px}.form-grid{gap:10px}.row.record-row{flex-wrap:wrap}.date-control{gap:3px}#toast{bottom:100px}.footer-note{margin-top:10px}.section-title{margin-top:23px}}
/* Original PULSE sport direction: high contrast, editorial type, restrained volt. */
:root{--bg:#f7f7f7;--paper:#fff;--ink:#111;--muted:#737373;--line:#e5e5e5;--green:#111;--lime:#d5ff3f;--radius:8px;font-family:Arial,Helvetica,-apple-system,sans-serif}button{border-radius:999px;font-weight:700;padding:14px 22px}button.secondary{background:#f0f0f0;color:#111}button:focus-visible,a:focus-visible{outline-color:#82a600}.sidebar{background:white;border-color:#eee}.brand,.mobile-brand{font-style:italic;font-weight:900;letter-spacing:-2px;text-transform:uppercase}.brand img{border-radius:0}.nav button{border-radius:6px;color:#666;font-weight:650}.nav button.active{background:#111;color:white}.sidebar .avatar{background:#111;color:#d5ff3f}.eyebrow{font-size:10px;letter-spacing:2px;color:#777}h1{font-size:45px;font-weight:850;letter-spacing:-2px;line-height:1.04}h2{font-weight:750}h3{font-weight:700}.topbar{margin-bottom:30px}.topbar p{margin-bottom:0}.hero{background:#111;padding:38px;border-radius:6px;min-height:278px;margin-bottom:25px}.hero h2{font-size:43px;line-height:.97;text-transform:uppercase;font-style:italic;letter-spacing:-1.8px;font-weight:900;max-width:490px;margin:20px 0}.hero .eyebrow{color:#ddd}.hero p{color:#b8b8b8;max-width:380px}.hero button{background:white;color:#111}.orb{width:210px;height:210px;border:none;border-radius:0;transform:rotate(-15deg);background:repeating-linear-gradient(90deg,transparent 0 15px,#d5ff3f 15px 25px,transparent 25px 39px);clip-path:polygon(20% 0,100% 0,80% 100%,0 100%);opacity:.9}.orb:after{display:none}.orb svg{display:none}.card{border:1px solid #e8e8e8;border-radius:7px;box-shadow:none}.grid3 .card{border:0;border-top:3px solid #111;border-radius:0;background:#fff}.card .icon-tile{border-radius:0;background:#f0f0f0!important;color:#111}.big{font-size:39px;font-weight:800;letter-spacing:-1.5px}.big small{font-weight:400}.progress{background:#ededed;height:5px;border-radius:0}.progress span{background:#111;border-radius:0}.ring{background:conic-gradient(#111 var(--pct),#eee 0)}.tabs{border-bottom:1px solid #ddd;gap:14px;border-radius:0}.tabs button{padding:14px 4px;border-radius:0;margin-bottom:-1px;color:#888}.tabs button.active{background:none;border-bottom:3px solid #111;color:#111}.badge{background:#f0f0f0;color:#222;border-radius:3px;font-weight:600}.notice{background:#f3f3f3;color:#555;border-radius:5px}.error{background:#fff0e8;color:#a43929}.food-dot{background:#f0f0f0;color:#333;border-radius:4px}.field input,.field select,.field textarea,input.search,.date{border-radius:4px;border-color:#d4d4d4}input:focus,select:focus,textarea:focus{outline-color:#777}.plan-item{background:#f5f5f5;border-radius:5px}.set-row .done{background:#d5ff3f;color:#111}.set-row input{border-radius:4px}.set-row button{border-radius:4px}.set-header{font-weight:650;text-transform:uppercase}.chip{background:#eee;color:#555}.status-dot{background:#111}.pill{border-radius:4px}.login-art{background:#111}.login-art h1{font-size:65px;text-transform:uppercase;font-style:italic;line-height:.96;letter-spacing:-2.8px}.login-art p{color:#aaa}.login-art small{color:#999}.login-art .brand{color:#d5ff3f}.login-art .eyebrow{color:#aaa}.login-box h2{font-weight:800;letter-spacing:-1px}.exercise{border:0;background:#f2f2f2}.exercise .content{background:white;border-bottom:1px solid #ddd}.exercise img{filter:grayscale(1)}dialog{border-radius:10px}#toast{border-radius:5px;background:#111}.chart polyline{stroke:#111}.chart circle{fill:#111}.section-title h2{font-size:22px}.hero:before{content:'PULSE / DAILY';position:absolute;right:22px;bottom:20px;font-size:9px;font-weight:700;color:#aaa;letter-spacing:3px}
@media(max-width:1050px){h1{font-size:38px}.hero h2{font-size:36px}.hero .orb{width:150px;height:190px}.hero{padding:30px}.big{font-size:32px}}
@media(max-width:760px){.main{padding-top:21px}.sidebar{background:#fffffff5}.nav button{border-radius:0;color:#777}.nav button.active{background:none;color:#111}.nav button.active svg{stroke-width:2.5}.mobile-brand{font-size:26px;letter-spacing:-1.5px;margin-bottom:29px}.topbar h1{font-size:35px;letter-spacing:-1.5px}.hero{padding:26px 23px;min-height:289px;border-radius:5px}.hero h2{font-size:35px;max-width:260px;letter-spacing:-1.4px;position:relative;z-index:1}.hero p{max-width:255px;position:relative;z-index:1}.hero .orb{width:113px;height:185px;right:-30px;top:55px;opacity:.25}.hero .eyebrow{font-size:9px}.hero button{padding:13px 20px}.grid3 .card{border-top:none;border-left:3px solid #111;grid-template-columns:38px 1fr;padding:19px 17px;gap:0 12px}.grid3 .card .icon-tile{height:35px;width:35px}.grid3 .card .big{font-size:28px;font-weight:800}.card{border-radius:5px}.nutrition-summary{gap:24px}.set-row input{padding:14px 3px}.set-row button{padding:14px 0}.set-row{padding:11px 0}.login-art h1{font-size:43px;letter-spacing:-2px}.login-art{padding-top:35px}.date{font-size:11px;max-width:120px}.tabs{gap:14px}.tabs button{font-size:13px}.exercise{border-radius:3px}dialog{border-radius:8px}.hero:before{font-size:8px;right:18px;bottom:18px}}
@media(max-width:440px){.topbar{flex-wrap:wrap}.topbar>div:first-child{width:100%}.topbar .date-control{margin-top:12px}.topbar .date{font-size:13px;max-width:150px}.topbar h1{font-size:37px}.record-actions button{min-height:40px;min-width:36px}}
.food-actions{display:flex;gap:10px;overflow-x:auto;padding:8px 0 20px}.food-action{flex:0 0 94px;min-height:94px;padding:12px 6px;border:1px solid #ddd;background:#fff;color:#111;border-radius:16px;font-size:12px}.food-action b{display:block;font-size:30px;font-weight:700;margin-bottom:6px}.food-action:first-child{background:#111;color:#fff}.food-tabs{overflow-x:auto;white-space:nowrap}.food-tabs button{flex-shrink:0;font-size:12px}.food-context{border-top:1px solid #ddd;margin-top:20px;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:18px}.food-context .field{margin:0}.food-context select{min-width:140px}.hold-record{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;width:158px;height:158px;margin:22px auto;font-size:42px;touch-action:none;user-select:none;-webkit-user-select:none}.hold-record span{font-size:12px;margin-top:12px}.hold-record.recording{background:#dc423c;transform:scale(1.04)}.consent{display:block;font-size:13px;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
