:root{--ink:#183b33;--muted:#728078;--green:#234f40;--mint:#dfeccf;--lime:#e1ee99;--bg:#f6f7f2;--line:#e4e8df;--white:#fff;--orange:#ad6637;--peach:#f7eadc;--purple:#72648e;--radius:22px;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}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #6c9b73;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #88ad79;outline-offset:1px}h1,h2,h3,p{margin:0}h1{font-size:clamp(30px,3.2vw,44px);letter-spacing:-1.6px;font-weight:650;line-height:1.12}h2{font-size:22px;letter-spacing:-.6px;font-weight:620}h3{font-size:17px;letter-spacing:-.3px;font-weight:620}p{line-height:1.65}svg{display:block}svg.icon{width:21px;height:21px;flex-shrink:0}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:650;text-transform:uppercase}.skip-link{position:fixed;left:12px;top:-60px;background:white;padding:12px;z-index:1000}.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#fff;border-right:1px solid var(--line);padding:31px 22px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-size:35px;font-weight:700;letter-spacing:-1.8px;margin-bottom:56px}.brand-symbol{display:grid;place-items:center;font-weight:800;font-size:31px;letter-spacing:-4px;width:45px;height:48px;border-radius:15px;background:var(--ink);color:var(--lime);position:relative;padding-right:7px}.brand-symbol span{position:absolute;right:10px;top:12px}.brand small{display:block;font-size:8px;letter-spacing:1.6px;margin-top:1px}.nav-label{font-size:9px;font-weight:650;letter-spacing:1.5px;color:#8e998e;padding:0 14px;margin-bottom:14px}.nav-item{width:100%;display:flex;align-items:center;gap:13px;padding:14px 15px;border-radius:12px;font-size:14px;font-weight:550;text-align:left;margin-bottom:7px;color:#617269;transition:.15s}.nav-item.active{background:#ecf2e5;color:var(--ink)}.nav-item:hover{background:#f3f6ef}.nav-item small{margin-left:auto;color:#91a78b;font-size:10px}.nav-item.active small{color:#507b51}.nav-arrow{margin-left:auto}.sidebar-note{margin-top:auto;background:#f7f8f3;border-radius:15px;padding:20px 15px;margin-bottom:22px;font-size:12px;color:#7b8778;line-height:1.8}.sidebar-note strong{color:var(--ink);font-weight:500;font-size:12px}.small-dot{display:inline-block;width:6px;height:6px;background:#91ac69;border-radius:50%;margin-right:5px}.quiet{color:var(--muted);padding:6px 0;text-decoration:underline;text-underline-offset:4px}.app-shell{margin-left:235px;min-height:100vh}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 44px;border-bottom:1px solid var(--line);gap:15px;background:var(--bg)}.breadcrumb{font-size:13px;color:#7d897f}.top-actions{display:flex;align-items:center;gap:20px}.save-status{font-size:10px;color:#869080;display:flex;align-items:center;gap:7px}.save-status i{display:block;width:5px;height:5px;border-radius:50%;background:#8eaa74}.save-status.error{color:#a44936}.avatar{width:36px;height:36px;border:1px solid #cdd8c4;border-radius:50%;background:#edf2e5;font-size:13px;font-weight:600}.mobile-brand{display:none}main{max-width:1360px;padding:38px 44px 24px;margin:auto;outline:none}.page-footer{padding:24px 44px 28px;display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;letter-spacing:-.6px;max-width:1360px;margin:auto}.page-footer>span:last-child{margin-left:auto;font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted)}.page-footer>span:first-child{color:#89a052}.bottom-nav{display:none}.heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.heading p{font-size:13px;color:var(--muted);margin-top:9px;max-width:650px}.heading .eyebrow{margin-bottom:12px;color:#729168}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.date-label{font-size:12px;color:var(--muted);white-space:nowrap;padding-bottom:3px}.btn{min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--ink);border:1px solid var(--ink);color:#fff;border-radius:12px;padding:12px 18px;font-size:12px;font-weight:600;transition:.15s;line-height:1.3}.btn:hover{background:#2c5748}.btn.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.btn.secondary:hover{background:#f1f5ec}.btn.lime{background:var(--lime);color:var(--ink);border-color:transparent}.btn.ghost{background:transparent;color:var(--ink);border-color:var(--line)}.btn.danger{background:#9f4434;border-color:#9f4434}.btn.full{width:100%}.btn.small{min-height:36px;padding:8px 13px;font-size:11px}.btn svg{width:17px;height:17px}.icon-btn{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;font-size:24px;flex-shrink:0}.text-btn{font-size:11px;font-weight:600;color:var(--green);display:flex;align-items:center;gap:6px;padding:4px}.text-btn svg{width:15px;height:15px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.card-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.card-header h2{font-size:17px}.card-header .eyebrow{color:var(--muted);font-size:9px}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.four{grid-template-columns:repeat(4,1fr)}.home-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);margin-top:20px}.hero{border-radius:var(--radius);background:var(--ink);color:#fff;min-height:278px;padding:28px 30px;display:flex;position:relative;overflow:hidden;gap:16px;border:1px solid var(--ink)}.hero-content{position:relative;z-index:1;max-width:65%;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.hero .eyebrow{color:#bfd2ac;font-size:9px}.hero h2{font-size:33px;font-weight:550;line-height:1.18;letter-spacing:-1px}.hero p{font-size:12px;color:#b7c9bd;max-width:290px;line-height:1.6}.hero .btn{margin-top:auto}.hero-art{position:absolute;right:-16px;top:28px;width:220px;height:220px;border-radius:50%;border:1px solid #66867140;display:grid;place-items:center}.hero-art:before,.hero-art:after{content:"";position:absolute;border-radius:50%;border:1px solid #66867150;inset:24px}.hero-art:after{inset:48px;background:#ffffff05}.hero-art>svg{width:74px;height:74px;color:#b9cb87;transform:rotate(-25deg)}.nutrition-today{display:flex;align-items:center;gap:24px}.ring{width:132px;height:132px;position:relative;flex-shrink:0;display:grid;place-items:center}.ring svg{width:100%;height:100%;transform:rotate(-90deg);position:absolute;inset:0}.ring-inner{text-align:center;z-index:1}.ring-inner strong{font-size:25px;font-weight:600;letter-spacing:-.8px}.ring-inner span{display:block;font-size:9px;margin-top:5px;color:var(--muted)}.nutrition-numbers{flex:1}.macro{margin:0 0 14px}.macro:last-child{margin:0}.macro-head{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-bottom:6px}.macro-head strong{font-weight:500}.bar{height:5px;border-radius:20px;background:#f0f2ec;overflow:hidden}.bar span{display:block;height:100%;border-radius:20px;background:#8fab6d;max-width:100%}.macro.orange .bar span{background:#d5a17a}.macro.purple .bar span{background:#a99bb8}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:23px;padding-top:16px;font-size:11px;color:var(--muted)}.stat{padding:20px 22px;min-height:111px}.stat-top{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-bottom:17px}.stat-top .icon{width:15px;height:15px}.stat-number{font-size:27px;font-weight:550;letter-spacing:-.7px}.stat-number small{font-size:11px;letter-spacing:0;color:var(--muted);font-weight:400;margin-left:5px}.stat-foot{font-size:10px;color:var(--muted);margin-top:7px}.stat .tag{font-size:9px}.stats-grid{margin-top:20px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:31px 0 18px}.section-top h2{font-size:20px}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:9px}.day{background:#f7f8f4;min-height:96px;border-radius:14px;padding:12px 8px;text-align:center;display:flex;flex-direction:column;gap:9px;align-items:center;border:1px solid transparent}.day.today{border-color:#91a977;background:#edf2e4}.day.done{background:#eaf2df}.day>span:first-child{font-size:10px;color:var(--muted)}.day strong{font-size:12px;font-weight:550}.day .icon{width:17px;height:17px}.day small{font-size:9px;color:#839276;line-height:1.2}.tag{display:inline-flex;gap:5px;align-items:center;padding:6px 9px;border-radius:7px;background:#eef3e7;color:#5a7a44;font-size:10px;font-weight:550;white-space:nowrap}.tag.orange{background:var(--peach);color:#a1653b}.tag.purple{background:#f0edf5;color:var(--purple)}.tag.dark{background:#e8ede9;color:var(--green)}.tag.white{background:#ffffff15;color:#d0dfb7}.inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gap-top{margin-top:20px}.banner{border-radius:14px;background:#eef2e7;border:1px solid #e1e8d8;padding:16px 20px;font-size:12px;line-height:1.65;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.banner.orange{background:#fbf1e7;border-color:#f0dfcd;color:#805533}.banner strong{font-weight:600}.empty{padding:25px 16px;text-align:center;color:var(--muted);font-size:12px}.empty .icon{width:30px;height:30px;color:#b1bc9f;margin:0 auto 12px}.empty h3{color:var(--ink);font-size:15px;margin-bottom:8px}.empty p{font-size:12px;max-width:370px;margin:0 auto 16px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.chip{background:#fff;border:1px solid var(--line);border-radius:9px;padding:9px 13px;font-size:11px}.chip.active{background:var(--ink);border-color:var(--ink);color:white}.chip:hover{border-color:#bccdab}.filter-select{min-height:35px;padding:7px 26px 7px 10px!important;width:auto!important;font-size:11px!important;border-radius:9px!important}.program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.program-card{padding:23px;display:flex;flex-direction:column;min-height:240px}.program-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:22px}.program-number{font-size:32px;line-height:1;font-weight:550;letter-spacing:-1px}.program-number small{font-size:11px;letter-spacing:0;margin-left:3px;color:var(--muted)}.program-card h3{margin-bottom:9px;font-size:17px}.program-card p{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:20px}.program-card .btn{margin-top:auto}.program-card.selected{border-color:#aabd8e;background:#fcfdf9}.program-card.custom{border-style:dashed}.legend{display:flex;gap:16px;color:var(--muted);font-size:10px;align-items:center;flex-wrap:wrap}.legend span{display:inline-flex;align-items:center;gap:6px}.legend i{height:7px;width:7px;background:#749161;border-radius:50%}.list{display:flex;flex-direction:column;gap:0}.list-row{display:flex;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.list-row .row-main{flex:1;min-width:0}.list-row h3{font-size:12px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.list-row p{font-size:10px;color:var(--muted);line-height:1.4;margin-top:4px}.list-row .row-value{font-size:13px;white-space:nowrap}.list-row .row-value small{display:block;font-size:9px;color:var(--muted);text-align:right;margin-top:4px}.mini-icon{width:35px;height:35px;background:#f0f4e9;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.mini-icon .icon{width:17px;height:17px}.mini-icon.orange{background:#f8ecdf;color:#a16f48}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .span-two{grid-column:1/-1}label.field{display:flex;flex-direction:column;gap:8px;color:#627668;font-size:11px;min-width:0}input,select,textarea{width:100%;border:1px solid #dfe5d7;border-radius:10px;background:#fbfcf9;color:var(--ink);min-height:44px;padding:11px 12px;font-size:14px}input[type=checkbox]{width:19px;height:19px;min-height:0;accent-color:var(--green)}input[type=range]{padding:0;accent-color:var(--green)}textarea{resize:vertical;min-height:76px}label.field small{font-size:10px;color:var(--muted);line-height:1.6}.form-actions{display:flex;gap:10px;margin-top:22px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.form-msg{font-size:12px;color:#a44936;line-height:1.6;margin-top:12px}.segmented{display:flex;background:#f0f3e9;border-radius:12px;padding:4px;gap:4px;margin-bottom:20px}.segmented button{flex:1;border-radius:8px;padding:10px 8px;font-size:12px;font-weight:550}.segmented button.active{background:#fff;box-shadow:0 1px 5px #1c2c2410}.goal-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.goal-option{padding:21px 18px;text-align:left;border-radius:17px;border:1px solid var(--line);background:white;position:relative}.goal-option.active{border-color:#90a968;background:#f3f7eb}.goal-option .icon{width:24px;height:24px;margin-bottom:13px;color:#5c7f46}.goal-option strong{display:block;font-size:16px;margin-bottom:7px;font-weight:550}.goal-option small{font-size:10px;color:var(--muted);line-height:1.6;display:block}.goal-option .check{position:absolute;right:13px;top:13px;color:#5b7b43;font-size:15px}.target-big{font-size:45px;letter-spacing:-1.5px;line-height:1.1;margin:15px 0 10px;font-weight:550}.target-big small{font-size:12px;letter-spacing:0;margin-left:8px;color:var(--muted)}.nutrition-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px}.macro-targets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0 0;border-top:1px solid var(--line);padding-top:20px}.macro-targets strong{display:block;font-size:20px;letter-spacing:-.5px;font-weight:550}.macro-targets span{display:block;font-size:10px;color:var(--muted);margin-top:7px}.food-search{margin-bottom:16px}.food-table{overflow:auto}.food-table table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}.food-table td,.food-table th{padding:14px 10px;text-align:left;border-bottom:1px solid var(--line);font-weight:400}.food-table th{font-size:9px;color:var(--muted);background:#f8faf5}.food-table td:first-child{min-width:170px;white-space:normal}.food-table tr:last-child td{border-bottom:0}.food-table .text-btn{white-space:nowrap}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.info-card{padding:21px;background:#f2f5ec;border-radius:16px}.info-card .icon{width:23px;height:23px;margin-bottom:16px;color:#6c8658}.info-card h3{font-size:14px;margin-bottom:10px}.info-card p{font-size:11px;color:#6c7968;line-height:1.7}.plot{width:100%;height:auto;max-height:310px}.plot text{font-family:inherit;fill:#8c9989;font-size:10px}.plot .gridline{stroke:#e8ede2;stroke-width:1}.plot .trendline{fill:none;stroke:#637f4c;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.plot .dot{fill:#fff;stroke:#637f4c;stroke-width:2}.plot .lastdot{fill:#637f4c;stroke:#fff;stroke-width:3}.plot-caption{font-size:10px;color:var(--muted);margin-top:12px;line-height:1.7}.metric-green{color:#627e45}.session-card{margin-bottom:18px;padding:22px 24px}.session-ex-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.session-ex-head h3{font-size:16px}.session-ex-head p{font-size:10px;color:var(--muted);margin-top:6px}.set-row{display:grid;grid-template-columns:35px 1fr 1fr 50px;gap:12px;align-items:center;margin:8px 0}.set-row input{min-height:41px;font-size:14px;text-align:center;padding:9px}.set-row>span{font-size:11px;color:var(--muted)}.set-row.done>span{color:var(--green)}.set-row.done input{background:#f1f6e8;border-color:#cfddbd}.set-labels{font-size:9px;color:var(--muted);margin-bottom:10px}.set-check{min-height:40px;width:43px;border-radius:10px;display:grid;place-items:center;border:1px solid #dae2d1;color:#a1b38f}.set-check .icon{width:16px;height:16px}.set-check.checked{background:var(--green);color:white;border-color:var(--green)}.session-footer{position:sticky;bottom:18px;z-index:10;box-shadow:0 4px 24px #19382c15;padding:15px 21px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-radius:16px;background:#fff;border:1px solid var(--line)}.session-footer p{font-size:11px;color:var(--muted)}.session-footer strong{font-size:13px;display:block;margin-bottom:4px}.previous{background:#f7f8f3;padding:9px 12px;border-radius:8px;font-size:10px;color:#7f8e77;margin-top:12px}.exercise-detail{font-size:10px;color:var(--muted);line-height:1.65;margin-top:13px}.builder-row{background:#f7f9f3;padding:12px;border-radius:11px;margin-bottom:10px}.builder-row-header{display:flex;align-items:center;gap:10px;font-size:12px;margin-bottom:10px}.builder-row-header strong{flex:1;font-weight:500}.builder-row .form-grid{gap:10px}.builder-row input{font-size:12px;min-height:35px;padding:8px}.water-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.water-row strong{font-size:28px;font-weight:550;letter-spacing:-.7px}.water-row small{font-size:11px;color:var(--muted)}.water-drops{display:flex;gap:5px;margin:18px 0}.water-drops .icon{width:18px;height:18px;color:#dae3d1}.water-drops .filled{color:#77a3a2}.calculator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.calculator-result{background:#f2f6e9;border-radius:14px;padding:18px;margin-top:20px}.calculator-result strong{font-size:24px;font-weight:550;letter-spacing:-.5px}.calculator-result p{font-size:11px;color:var(--muted);margin-top:7px}.details{border-top:1px solid var(--line);margin-top:20px;padding-top:14px;font-size:11px;color:var(--muted);line-height:1.8}.details summary{color:var(--ink);cursor:pointer;font-size:12px}.details p{margin-top:10px}.details a{text-decoration:underline;text-underline-offset:3px}.training-guide{padding:24px}.training-guide h3{margin-bottom:12px;font-size:15px}.training-guide ol{padding-left:20px;margin:0;font-size:12px;color:var(--muted);line-height:1.8}.training-guide li{padding-left:3px;margin-bottom:8px}.hr{border:0;border-top:1px solid var(--line);margin:22px 0}.notice{font-size:10px;line-height:1.75;color:var(--muted);margin-top:15px}.small-heading{font-size:12px;font-weight:600;margin:18px 0 10px}.result-line{display:flex;justify-content:space-between;font-size:12px;padding:9px 0;gap:15px}.result-line strong{font-weight:550}.month-summary{display:grid;grid-template-columns:1fr 1fr;gap:15px}.data-buttons{display:flex;gap:10px;flex-wrap:wrap}.nowrap{white-space:nowrap}.date-picker{max-width:155px;min-height:36px;font-size:12px;padding:7px 10px}.hidden{display:none!important}dialog{border:1px solid var(--line);border-radius:24px;padding:25px;width:min(620px,calc(100% - 32px));max-height:88dvh;overflow-y:auto;color:var(--ink);box-shadow:0 20px 100px #0a201e30}dialog::backdrop{background:#11261f60;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px}.dialog-head h2{font-size:21px}#dialog-body p{font-size:12px;color:var(--muted)}#dialog-body .banner{font-size:11px;margin-top:15px}.workout-preview{border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:16px}.workout-preview .card-header{margin-bottom:12px}.workout-preview h3{font-size:15px}.workout-preview .exercise-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #edf0e8;font-size:11px}.workout-preview .exercise-line:last-child{border-bottom:0}.workout-preview .exercise-line span:last-child{font-size:10px;color:var(--muted);white-space:nowrap}.workout-preview .btn{margin-top:14px}.toast{position:fixed;bottom:27px;left:calc(50% + 100px);transform:translateX(-50%) translateY(15px);background:var(--ink);color:white;font-size:12px;line-height:1.6;border-radius:13px;padding:13px 20px;max-width:calc(100% - 32px);opacity:0;pointer-events:none;z-index:1000;transition:.2s;box-shadow:0 5px 25px #203c3325}.toast.show{transform:translateX(-50%) translateY(0);opacity:1}.toast.warning{background:#884a30}.search-results{max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:12px;margin:10px 0}.search-result{display:flex;width:100%;gap:10px;padding:12px;text-align:left;align-items:center;font-size:12px;border-bottom:1px solid var(--line)}.search-result:last-child{border-bottom:0}.search-result:hover{background:#f4f7ee}.search-result>span{flex:1}.search-result small{color:var(--muted);font-size:10px}.food-selected{padding:15px;background:#f3f7ec;border-radius:12px;font-size:12px;margin-bottom:18px}.food-selected strong{display:block;margin-bottom:7px;font-weight:550}.delete-btn{color:#a19a8f;padding:5px;flex-shrink:0}.delete-btn .icon{width:15px;height:15px}.activity-details{font-size:11px;color:var(--muted);padding:8px 0;line-height:1.7}.activity-details .exercise-line{display:flex;justify-content:space-between;gap:12px;padding:5px 0}.check-label{display:flex;gap:10px;align-items:center;font-size:12px}.history-summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:14px 0}.history-summary span{flex:1;font-size:12px;font-weight:550}.history-summary small{font-size:10px;color:var(--muted)}.history-item{border-bottom:1px solid var(--line)}.history-item:last-child{border-bottom:0}.file-input{font-size:12px}.source-links{font-size:11px;line-height:1.9}.source-links a{text-decoration:underline;text-underline-offset:3px}.saving-error{border:1px solid #e4bda4;background:#fff2e8;color:#885534;font-size:12px;border-radius:12px;padding:15px;margin-bottom:20px;line-height:1.7}
@media(min-width:1500px){.hero-art{right:5px;width:245px;height:245px}.hero h2{font-size:40px}}
@media(max-width:1200px){.sidebar{width:205px;padding:27px 16px}.app-shell{margin-left:205px}.topbar{padding:0 28px}main{padding:30px 28px 20px}.page-footer{padding-left:28px;padding-right:28px}.home-grid{grid-template-columns:1.1fr 1fr}.hero{padding:24px}.hero-art{right:-80px}.nutrition-today{gap:14px}.ring{width:105px;height:105px}.ring-inner strong{font-size:22px}.program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:18px}.grid.four{gap:14px}.week{gap:5px}.day{padding:11px 3px}.toast{left:calc(50% + 80px)}}
@media(max-width:980px){.home-grid{grid-template-columns:1fr}.hero-content{max-width:70%}.hero-art{right:40px}.hero{min-height:240px}.hero h2{font-size:36px}.nutrition-today{gap:30px}.ring{width:130px;height:130px}.grid.four{grid-template-columns:1fr 1fr}.grid.two,.nutrition-layout,.calculator-grid{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr}.info-card{display:grid;grid-template-columns:32px 1fr;gap:0 12px}.info-card .icon{grid-row:1/3;margin:0}.info-card p{grid-column:2}.topbar{height:74px}.heading h1{font-size:35px}.heading{align-items:flex-start}.heading-actions{max-width:180px}.week{gap:9px}}
@media(max-width:720px){.sidebar{display:none}.app-shell{margin-left:0}.topbar{height:70px;padding:0 22px;position:static;top:auto;z-index:auto;background:var(--bg)}.mobile-brand{display:block;font-size:30px;font-weight:700;letter-spacing:-1.5px}.mobile-brand span{color:#97a659}.breadcrumb{display:none}.top-actions{gap:12px}.save-status{font-size:9px}.avatar{width:32px;height:32px}main{padding:27px 20px 24px}.page-footer{padding:15px 22px 110px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;border-top:1px solid #e0e6d6;background:#fffffff5;backdrop-filter:blur(16px);padding:10px 8px calc(10px + env(safe-area-inset-bottom));justify-content:space-around;gap:3px}.bottom-item{padding:7px 5px 5px;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:53px;color:#8e9c89;flex:1;font-size:9px}.bottom-item.active{color:var(--ink);background:#eff4e6}.bottom-item .icon{width:21px;height:21px}.heading{margin-bottom:23px;gap:12px}.heading h1{font-size:32px;letter-spacing:-1px}.heading p{font-size:12px;margin-top:8px}.heading .eyebrow{font-size:9px;margin-bottom:10px}.date-label{display:none}.heading-actions{gap:7px;max-width:160px}.heading-actions .btn{font-size:10px;min-height:38px;padding:9px 11px}.hero{padding:25px;min-height:245px}.hero-content{max-width:70%;gap:12px}.hero h2{font-size:34px}.hero-art{right:-56px;top:29px}.hero p{max-width:220px}.card{padding:21px}.grid{gap:15px}.home-grid{gap:15px;margin-top:15px}.grid.four{gap:12px}.stat{padding:16px;border-radius:17px;min-height:105px}.stat-top{font-size:10px;gap:6px;margin-bottom:12px}.stat-number{font-size:25px}.stat-number small{font-size:10px}.stat-foot{font-size:9px}.stats-grid{margin-top:15px}.program-grid{gap:13px}.program-card{padding:18px;min-height:245px;border-radius:17px}.program-card h3{font-size:15px;line-height:1.35}.program-card p{font-size:10px}.program-number{font-size:27px}.program-number small{font-size:9px}.program-card .tag{font-size:8px;padding:5px 6px}.program-top{margin-bottom:18px;gap:5px;flex-wrap:wrap}.program-card .btn{font-size:10px;padding:10px 8px;min-height:39px}.section-top{margin-top:25px}.section-top h2{font-size:18px}.week{gap:5px}.day{min-height:91px;padding:11px 3px;border-radius:10px;gap:8px}.day small{font-size:8px}.day strong{font-size:11px}.week-card{padding:20px 16px}.banner{padding:14px 16px;font-size:11px;align-items:flex-start;gap:12px}.banner .btn{flex-shrink:0;font-size:10px}.form-grid{gap:13px}label.field{font-size:10px;gap:7px}input,select,textarea{font-size:16px}.goal-cards{gap:9px}.goal-option{padding:17px 13px}.goal-option strong{font-size:14px}.goal-option small{font-size:9px}.goal-option .icon{width:21px;height:21px}.tag{font-size:9px}.nutrition-today{gap:19px}.ring{width:113px;height:113px}.ring-inner strong{font-size:23px}.filters{gap:6px}.chip{font-size:10px;padding:8px 11px}.filter-select{font-size:10px!important}.session-card{padding:19px 16px}.session-ex-head h3{font-size:15px}.set-row{grid-template-columns:28px 1fr 1fr 42px;gap:9px}.set-row input{font-size:16px}.set-check{width:39px}.session-footer{bottom:calc(88px + env(safe-area-inset-bottom));padding:13px 15px}.session-footer .btn{font-size:11px;padding:11px 13px}.session-footer p{font-size:9px}.toast{bottom:calc(101px + env(safe-area-inset-bottom));left:50%;font-size:11px;width:max-content;max-width:calc(100% - 30px)}.nutrition-layout,.calculator-grid{gap:15px}.target-big{font-size:40px}.macro-targets strong{font-size:21px}.card-header{margin-bottom:20px}.text-btn{font-size:10px}.page-footer>span:last-child{font-size:9px}.dialog-head h2{font-size:19px}dialog{padding:22px 19px;border-radius:21px;max-height:85dvh}.form-actions .btn{flex:1}.heading .btn svg{display:none}.plot{max-height:260px}.card-bottom{font-size:10px}.source-links{font-size:10px}.legend{font-size:9px}}
@media(max-width:720px){.segmented button{font-size:10px;min-width:0;overflow-wrap:anywhere;line-height:1.4;padding:10px 5px}.activity-details .exercise-line{flex-wrap:wrap}.activity-details .exercise-line span:last-child{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.program-count{font-size:10px!important;color:#5f7d47!important;margin-top:-8px;font-weight:550}.analysis-days{display:flex;flex-direction:column;gap:8px;margin:16px 0}.analysis-day{padding:10px 12px;border-radius:10px;background:#f4f7ed;display:flex;flex-direction:column;gap:3px}.analysis-day strong{font-size:11px;font-weight:550;color:var(--ink)}.analysis-day span{font-size:10px}.program-analysis .food-table{margin:14px 0}.program-analysis .food-table th{white-space:normal;min-width:75px}.program-analysis p{font-size:11px!important}

.brand-icon{width:48px;height:48px;object-fit:contain;flex-shrink:0;border-radius:14px}.mobile-brand-icon{width:36px;height:36px;object-fit:contain;border-radius:10px}.mobile-wordmark>span{color:#97a659}@media(max-width:720px){.mobile-brand{display:flex;align-items:center;gap:8px}.mobile-brand .mobile-wordmark{color:var(--ink)}}

.page-footer>.footer-wordmark{color:var(--ink);white-space:nowrap}

.hero-tagline{font-size:12px;line-height:1.5;font-weight:500;color:#d4e2bf;letter-spacing:0;text-transform:none}.hero .inline:first-child{row-gap:9px}
.return-controls{display:flex;gap:8px;align-items:center}.return-back .icon{transform:rotate(180deg)}.desktop-return-controls{margin-bottom:22px}.mobile-return-controls{display:none}
@media(max-width:720px){.desktop-return-controls{display:none}.bottom-nav{position:fixed;top:auto;bottom:var(--viewport-bottom-offset,0px);left:0;right:0;z-index:80;flex-direction:column;gap:7px;padding:8px 10px calc(9px + env(safe-area-inset-bottom));background:#fff;backdrop-filter:none;box-shadow:0 -4px 18px #183b3306}.mobile-return-controls{display:flex;width:100%;gap:8px}.mobile-return-controls .btn{flex:1;min-width:0;min-height:36px;padding:8px 9px;font-size:10px;background:#f6f8f1}.mobile-return-controls .icon{width:14px;height:14px}.bottom-tabs{display:flex;justify-content:space-around;gap:3px;width:100%}.page-footer{padding-bottom:calc(var(--bottom-nav-height,120px) + 24px)}.toast{bottom:calc(var(--bottom-nav-height,120px) + var(--viewport-bottom-offset,0px) + 15px)}.session-footer{bottom:calc(var(--bottom-nav-height,120px) + var(--viewport-bottom-offset,0px) + 12px)}}

/* Brand names keep their spelling inside uppercase eyebrow labels. */
.eyebrow .section-name{text-transform:none}
.selected-workout h3{font-size:clamp(18px,3vw,23px);margin-bottom:8px;overflow-wrap:anywhere}.selected-workout .card-header{gap:12px;align-items:flex-start}.selected-workout .card-header .tag{white-space:normal;text-align:right}.heading-actions{flex-wrap:wrap}.dialog-return-controls{position:sticky;bottom:0;z-index:2;margin-top:20px;padding:12px 0;background:var(--bg);display:flex;flex-wrap:wrap}.dialog-return-controls .btn{flex:1;min-width:0;min-height:44px;white-space:normal;line-height:1.4}@media(max-width:720px){.selected-workout .form-actions .btn{flex:1;min-width:130px}}
