:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg:#101011;--surface:#1c1c1e;--surface2:#242123;--orange:#ebc17d;--orange2:#f5d597;--text:#f6f4f2;--muted:#929092;--border:#302d2d;--brown:#241b16;--radius:19px}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg);scroll-behavior:smooth}body{margin:0;min-width:300px;min-height:100vh;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.4}button:active:not(:disabled){transform:scale(.985)}button,input,select,textarea{outline-color:var(--orange)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--orange);outline-offset:3px}button svg{pointer-events:none}a{color:var(--orange)}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.045em}h1{font-size:clamp(32px,8vw,43px);font-weight:780;line-height:1.13;margin-bottom:10px}h2{font-size:22px;font-weight:750;line-height:1.2;margin:4px 0 0}h3{font-size:16px}p{line-height:1.52}small{font-size:12px}input,textarea,select{color:var(--text);border:1px solid #343032;background:#242224;border-radius:11px;padding:13px 12px;font-size:16px;min-width:0;width:100%;-webkit-appearance:none;appearance:none}select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23bbb' stroke-width='2'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;padding-right:33px}input::placeholder,textarea::placeholder{color:#6f6c6c}textarea{resize:vertical}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap} .grow{flex:1;min-width:0}.icon{flex-shrink:0}.orange,.orange-text{color:var(--orange)!important}.accent-dot{color:var(--orange)}
@media(min-width:600px){body{background:linear-gradient(130deg,#e95c12,#ff7b14 50%,#ed6010);background-attachment:fixed}.app-shell{box-shadow:0 22px 90px #25100480}.app-shell:before{content:'';position:absolute;inset:0;pointer-events:none;border:1px solid #fff1;border-radius:0}}
.app-shell{position:relative;width:100%;max-width:520px;margin:0 auto;min-height:100dvh;background:var(--bg);overflow:hidden}.content{padding:0 20px 136px;min-height:calc(100dvh - 155px)}.app-shell:has(.timer-dock) .content{padding-bottom:230px}.topbar{padding:calc(17px + env(safe-area-inset-top,0px)) 21px 12px;display:flex;align-items:center;justify-content:space-between;min-height:75px;gap:10px}.top-left,.top-right{display:flex;align-items:center;gap:11px}.top-right{gap:7px}.wordmark{display:flex;align-items:center;gap:10px;font-size:17px;letter-spacing:.125em;font-weight:860}.wordmark>span:nth-child(2){display:flex;flex-direction:column;line-height:1.05}.wordmark small{color:#777375;font-size:7px;letter-spacing:.17em;font-weight:800;margin-top:4px}.logo-symbol{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--orange);color:#17110e;font-size:25px;font-weight:950;letter-spacing:-.12em;line-height:1;padding:0 5px 3px 0}.logo-symbol span{color:#fff}.storage-status{font-size:10px;font-weight:620;white-space:nowrap;color:#aaa6a5;display:inline-flex;align-items:center;gap:6px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#68c4a2;box-shadow:0 0 0 2px #68c4a21c}.storage-status.error{color:#ff9276}.storage-status.error .status-dot{background:#f26363}.icon-button{width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #302c2b;border-radius:12px;background:#1b1a1b;color:#bdbaba;flex-shrink:0}.icon-button.mini{width:28px;height:30px;border:0;background:transparent;color:#999}.icon-button:active,.nav-button:active{background:#332821}.page-kicker{padding:6px 21px 16px;color:#7a7472;font-size:9px;letter-spacing:.22em;font-weight:850}.eyebrow,.section-overline{font-size:10px;letter-spacing:.13em;font-weight:850;color:#959092;line-height:1.4}.greeting{display:flex;align-items:flex-start;justify-content:space-between;margin:4px 0 21px}.greeting h1{margin:8px 0 8px}.greeting h1 em{font-style:normal;color:var(--orange)}.greeting p,.page-heading p{font-size:13px;color:#9e9896;margin:0;line-height:1.45}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#2a201b;color:var(--orange);border:1px solid #4a2b1d;flex-shrink:0;margin-top:15px}.hero{height:235px;position:relative;isolation:isolate;overflow:hidden;border-radius:20px;background:#231b16;border:1px solid #30251e}.hero-image{position:absolute;inset:0 0 0 16%;background:url('./hero.jpg') center 42% /cover no-repeat;filter:brightness(.86) saturate(.75)}.hero-cover{position:absolute;inset:0;background:linear-gradient(90deg,#171413 0%,#211712e8 34%,#20150b40 100%),linear-gradient(0deg,#17110cd6,transparent 62%)}.hero-content{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:19px 20px;max-width:93%}.hero-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;border-radius:20px;background:#ff701a26;border:1px solid #ff711b44;padding:6px 9px;font-size:9px;color:#ffb47b;font-weight:800;letter-spacing:.085em;margin-bottom:17px}.hero h2{font-size:26px;letter-spacing:-.05em;max-width:75%;margin-bottom:6px}.hero p{color:#b9b1ac;font-size:11px;max-width:64%;margin:0 0 11px}.hero-foot{display:flex;gap:18px;font-size:10px;font-weight:700;color:#e2d5cb}.hero-foot span{display:flex;align-items:center;gap:6px}.section-title{display:flex;justify-content:space-between;align-items:end;margin:27px 0 13px;gap:10px}.section-title p{font-size:12px;color:var(--muted);margin:6px 0 0;line-height:1.4}.section-title h2{font-size:21px}.section-title>.section-overline{margin:0}.small-date{text-transform:uppercase;color:#9c9693;font-size:11px;font-weight:750;white-space:nowrap;margin-bottom:4px}.today-card{padding:18px;border-radius:18px;background:#1e1c1b;border:1px solid #38312e;display:flex;flex-direction:column;gap:17px}.today-left{display:flex;align-items:center;gap:13px}.today-icon,.exercise-head-icon{width:46px;height:46px;border-radius:14px;background:#382316;color:var(--orange);display:grid;place-items:center;flex-shrink:0}.today-left h3{font-size:16px;margin:0 0 6px;letter-spacing:-.03em}.today-left p{font-size:11px;color:var(--muted);margin:0}.primary-btn,.secondary-btn,.danger-btn{border:0;background:var(--orange);color:#1f1109;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:820;letter-spacing:-.01em;min-height:46px;padding:12px 16px;text-align:center}.primary-btn:hover{background:#ff8a31}.primary-btn.large{min-height:54px;font-size:15px;border-radius:14px;box-shadow:0 6px 30px #f967161f}.secondary-btn{background:#252325;color:var(--text);border:1px solid #403837}.danger-btn{background:#b83e30;color:white}.full{width:100%}.link-orange,.link-muted{border:0;background:transparent;display:inline-flex;gap:5px;align-items:center;font-size:12px;font-weight:730;color:var(--orange);white-space:nowrap;padding:4px 0}.link-muted{color:#acaaa9}.mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.mini-stat{min-height:125px;background:#1e1c1c;border:1px solid #292725;border-radius:16px;padding:15px 11px 12px;display:flex;flex-direction:column;align-items:flex-start}.mini-stat-icon{color:var(--orange);margin-bottom:auto}.mini-stat-value{font-size:22px;line-height:1.25;font-weight:790;letter-spacing:-.04em;margin-top:9px;white-space:nowrap}.mini-stat-value>span{color:#a7a19e;font-size:10px;letter-spacing:0;font-weight:500;margin-left:3px}.mini-stat-label{font-size:10px;color:#aaa2a0;line-height:1.25;margin-top:5px}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.week-day{min-width:0;background:#1c1b1b;color:#b4adab;border:1px solid #2c2928;border-radius:11px;padding:10px 0;display:flex;align-items:center;flex-direction:column;gap:11px}.week-day>span{font-size:10px;font-weight:780;text-transform:uppercase}.week-day strong{display:grid;place-items:center;min-height:18px;font-size:11px;color:var(--orange)}.week-day small{font-size:9px;max-width:98%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.week-day.selected{background:#3a261b;border-color:#c85c1e;color:#fff}.week-day.off{background:#171718}.week-day.off strong{color:#6d6865}.history-preview{width:100%;display:flex;align-items:center;gap:12px;padding:17px 15px;text-align:left;border:1px solid #302b29;background:#1b1a1a;border-radius:16px;color:var(--text)}.history-preview h3{margin:0 0 6px}.history-preview p{color:var(--muted);font-size:11px;margin:0}.preview-mark{width:40px;height:40px;border-radius:13px;background:#263d34;color:#88dfb6;display:grid;place-items:center}.empty-compact{display:flex;align-items:center;gap:13px;font-size:12px;color:#aaa09d;background:#1b1a1b;border:1px dashed #39302b;border-radius:14px;padding:19px}.empty-compact svg{color:var(--orange)}
.page-heading{padding:5px 0 13px}.page-heading h1{margin:8px 0 9px}.day-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:6px}.day-tile{min-height:126px;border-radius:16px;background:#1d1b1b;border:1px solid #2f2a28;color:#fff;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:15px;gap:7px}.day-tile.active{border:1px solid #f56d23;background:linear-gradient(140deg,#422718,#241c18);box-shadow:inset 0 0 0 1px #f9741b12}.day-index{display:flex;justify-content:space-between;align-items:center;width:100%;color:var(--orange);font-size:13px;font-weight:850}.day-index span{font-size:9px;letter-spacing:.12em;color:#92877e}.day-tile strong{font-size:14px;letter-spacing:-.03em;line-height:1.3;margin-top:auto}.day-tile small{color:#a39c98;font-size:10px}.exercise-list{background:#1b1a1a;border:1px solid #2c2927;border-radius:17px;overflow:hidden}.planned-exercise{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:15px 12px;border:0;border-bottom:1px solid #2c2827;background:transparent;color:var(--text)}.planned-exercise:last-child{border-bottom:0}.planned-exercise>svg{color:#7b7572}.exercise-number{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:#2b211c;color:var(--orange);font-size:12px;font-weight:800}.planned-exercise strong{display:block;font-size:13px;font-weight:740;line-height:1.25}.planned-exercise small{display:block;margin-top:5px;font-size:10px;color:#99908a}.sticky-action{position:sticky;bottom:calc(82px + env(safe-area-inset-bottom,0px));padding:12px 0 8px;background:linear-gradient(180deg,transparent,#101011 28%)}.sticky-action .primary-btn{width:100%}
.session-top{padding:7px 0 15px}.session-top h1{font-size:33px;margin:8px 0}.session-sub{color:#9e9590;font-size:12px}.session-sub span{color:var(--orange);margin:0 6px}.progress-track{height:6px;background:#302725;border-radius:10px;overflow:hidden}.progress-track>div{height:100%;background:linear-gradient(90deg,#f35e09,#ff9944);border-radius:10px;transition:width .2s}.session-kpis{display:flex;gap:12px;margin-top:12px}.session-kpis>div{display:flex;align-items:center;gap:6px;font-size:11px;color:#bbb1ad}.session-kpis svg{color:var(--orange)}.session-kpis strong{color:white}.count-pill{background:#302219;color:var(--orange);border-radius:20px;padding:2px 9px;font-size:13px;vertical-align:2px}.workout-exercises{display:flex;flex-direction:column;gap:12px}.workout-exercise{border-radius:17px;border:1px solid #322d2a;background:#1b1919;overflow:hidden}.workout-exercise.expanded{border-color:#6b3b22}.workout-exercise-head{display:flex;align-items:center;gap:11px;width:100%;padding:14px 12px;border:0;background:transparent;color:white;text-align:left;min-height:76px}.exercise-head-icon{width:39px;height:39px;border-radius:12px;font-size:12px;font-weight:850}.exercise-title{font-size:14px;font-weight:750;line-height:1.3}.exercise-desc{font-size:10px;color:#938e8b;margin-top:5px}.exercise-done-percent{font-size:11px;color:var(--orange);font-weight:750}.workout-exercise-head>svg{color:#8b817a}.workout-exercise-body{padding:0 12px 16px}.training-hint{display:flex;align-items:flex-start;gap:7px;background:#29211d;border-radius:9px;color:#b9aaa0;padding:11px;font-size:10px;line-height:1.5;margin-bottom:15px}.training-hint svg{color:var(--orange)}.set-table-head,.set-row{display:grid;grid-template-columns:31px 56px minmax(0,1.15fr) minmax(0,.9fr) 45px;gap:6px;align-items:center}.set-table-head{color:#817b78;font-size:9px;letter-spacing:.075em;font-weight:800;text-align:center;margin-bottom:8px}.set-row{margin-bottom:7px;min-height:43px}.set-row.done{background:#1f2b24;border-radius:8px}.set-index{display:grid;place-items:center;color:#a7a09b;font-size:12px;font-weight:800}.set-row.done .set-index{color:#89db9d}.set-previous{text-align:center;font-size:11px;color:#837d7a}.set-input-wrap{width:100%}.set-input-wrap input{font-size:16px;font-weight:720;text-align:center;padding:9px 4px;background:#282424;border:1px solid #403636;border-radius:9px;min-height:42px;width:100%;-moz-appearance:textfield}.set-input-wrap input::-webkit-inner-spin-button{-webkit-appearance:none}.set-row.done input{background:#243127;border-color:#2d4e36}.set-input-wrap input:disabled{color:#6b6663;opacity:.6}.complete-set{height:40px;width:40px;border-radius:10px;display:grid;place-items:center;background:#2b2927;border:1px solid #47413c;color:#89847f}.complete-set.is-done{background:#4fb56c;border-color:#4fb56c;color:#101710}.exercise-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:13px 0 3px}.small-action{background:#2b2725;color:#d6ceca;border:1px solid #3b332d;border-radius:9px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 10px;font-size:11px;font-weight:700}.small-action.muted{color:#aaa3a0}.small-action.orange-text{color:var(--orange)}.small-action.icon-only{padding:8px;margin-left:auto}.small-action.danger{color:#ff8b74}.rir-edit{margin-top:13px;font-size:11px;color:#a6a09b}.rir-edit label{display:flex;align-items:center;justify-content:flex-end;gap:8px}.rir-edit select{width:70px;padding:7px;font-size:13px}.ghost-wide{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:16px;border-radius:14px;border:1px dashed #64432c;background:#261c17;color:var(--orange);font-size:13px;font-weight:750}.session-add{margin-top:13px}.notes-field{display:block;margin:22px 0;color:#aaa;font-size:12px;font-weight:700}.notes-field textarea{margin-top:9px}.finish-panel{display:flex;flex-direction:column;align-items:center;gap:12px;background:#1b1919;border-radius:16px;padding:16px;margin-top:15px}.danger-text{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:#fd8977;font-size:12px;padding:9px 11px;font-weight:700}
.history-total{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(125deg,#382016,#231a17);border:1px solid #593018;border-radius:17px;padding:22px 20px;margin:5px 0 19px}.history-total strong{display:block;font-size:42px;margin:5px 0;font-weight:820;letter-spacing:-.06em}.history-total small{color:#9d8b82}.history-total-icon{color:var(--orange);opacity:.75}.history-filters{display:flex;flex-direction:column;gap:9px}.search-wrap{display:flex;align-items:center;gap:8px;background:#242122;border:1px solid #363030;border-radius:12px;padding:0 13px;color:#99908d}.search-wrap input{background:none;border:0;min-height:46px;padding:11px 0;width:100%}.filter-row{display:grid;grid-template-columns:1.25fr 1fr;gap:8px}.filter-row select{font-size:12px}.history-items{display:flex;flex-direction:column;gap:9px}.history-item{display:flex;align-items:center;gap:10px;border:1px solid #322d2a;background:#1b1a19;border-radius:15px;color:var(--text);width:100%;text-align:left;padding:12px}.history-item strong{display:block;font-size:13px}.history-item small{display:block;color:#9d9591;margin-top:4px;font-size:10px}.history-date{border-radius:10px;background:#2c211c;min-width:44px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:7px;color:var(--orange)}.history-date strong{font-size:20px}.history-date small{font-size:8px;letter-spacing:.05em;color:#d8ad8a;margin:0}.history-checked{color:#84cb98}.history-item>svg{color:#79736f}.empty-state{text-align:center;padding:43px 18px;border:1px dashed #41332b;border-radius:17px;color:#b1aaa4;display:flex;flex-direction:column;align-items:center;gap:13px}.empty-state>svg{color:var(--orange)}.empty-state h3{font-size:17px;color:white;margin:0}.empty-state p{font-size:12px;margin:0 0 8px}.back-link{display:flex;align-items:center;gap:5px;border:0;background:none;color:var(--orange);font-size:12px;font-weight:700;padding:9px 0}.detail-title h1{font-size:32px;margin:7px 0}.detail-title p{font-size:12px;color:var(--muted)}.details-stats{grid-template-columns:repeat(2,1fr);margin-bottom:20px}.history-ex{border:1px solid #332b29;border-radius:14px;padding:13px;margin:10px 0;background:#1e1b1a}.history-ex-title{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:4px 0 11px}.history-ex-title strong{font-size:14px}.history-ex-title small{color:var(--orange)}.history-set{display:flex;justify-content:space-between;align-items:center;padding:10px 5px;border-top:1px solid #302a28;font-size:12px;color:#b5adaa}.history-set strong{color:#e4e0dc;font-size:12px}.detail-actions{display:flex;align-items:center;flex-direction:column;gap:10px;margin-top:21px}
.stat-strip{margin:10px 0 19px}.chart-card{background:#1d1a19;border:1px solid #332c29;border-radius:20px;padding:17px 14px 15px;margin:0 0 14px}.chart-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.chart-top h2{font-size:20px}.chart-selects{display:flex;gap:7px;margin:17px 0 12px}.chart-selects select{font-size:12px;padding:11px 28px 11px 10px}.chart-selects select:first-child{flex:1;min-width:0}.chart-selects select:last-child{width:110px;flex-shrink:0}.metric-tabs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;background:#252120;border-radius:11px;padding:4px}.metric-tab{font-size:10px;font-weight:780;color:#a9a09b;background:transparent;border:0;border-radius:8px;padding:11px 5px}.metric-tab.active{background:var(--orange);color:#211307}.chart-highlight{display:flex;justify-content:space-between;align-items:end;margin:18px 3px 4px}.chart-highlight small{display:block;color:#938782;font-size:9px;font-weight:780;letter-spacing:.1em}.chart-highlight strong{font-size:30px;letter-spacing:-.07em;font-weight:820}.chart-highlight strong span{font-size:12px;color:#b6aaa4;letter-spacing:0;font-weight:600}.chart-highlight>span{font-size:10px;color:#92847e;padding-bottom:5px}.data-chart{display:block;width:100%;max-height:240px;overflow:visible}.chart-point{cursor:pointer}.chart-caption{font-size:10px;color:#9e928d;line-height:1.55;border-top:1px solid #37302c;margin:5px 2px 0;padding:12px 2px 0}.chart-empty{height:176px;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px;text-align:center;color:#908781;padding:18px}.chart-empty svg{color:var(--orange)}.chart-empty strong{font-size:13px;color:#d4c9c3}.chart-empty span{font-size:11px;line-height:1.5;max-width:220px}.heatmap-card{padding:18px;background:#1d1b1a;border:1px solid #332d2a;border-radius:17px}.heatmap-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.heat-cell{display:block;aspect-ratio:1;background:#302a27;border-radius:5px}.heat-cell.trained{background:linear-gradient(145deg,#ff7c28,#d45812)}.heatmap-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;color:#9d928d;margin-top:15px}.heatmap-footer>span:last-child{display:inline-flex;gap:5px;align-items:center}.heatmap-footer i{width:9px;height:9px;border-radius:2px}.pr-list{border-radius:15px;border:1px solid #302b29;background:#1b1919;overflow:hidden}.pr-item{display:flex;align-items:center;gap:11px;padding:13px 12px;border-bottom:1px solid #302a27}.pr-item:last-child{border:0}.pr-item strong{font-size:12px}.pr-item small{display:block;color:#928a84;font-size:10px;margin-top:4px}.medal{color:var(--orange);border-radius:10px;background:#35261d;padding:8px;display:grid;place-items:center}.pr-value{color:var(--orange);white-space:nowrap}
.settings-group{border:1px solid #332d2a;background:#1c1a1a;border-radius:16px;overflow:hidden}.settings-link,.setting-row{display:flex;align-items:center;gap:12px;min-height:68px;padding:13px 15px;color:var(--text);text-align:left;background:none;border:0;border-bottom:1px solid #332d2a;width:100%}.settings-link:last-child,.setting-row:last-child{border-bottom:0}.settings-link>svg:first-child,.setting-icon{width:30px;height:30px;border-radius:9px;background:#35271f;color:var(--orange);display:grid;place-items:center;padding:6px;flex-shrink:0}.setting-icon svg{width:18px}.settings-link strong,.setting-row strong{font-size:13px;font-weight:720;display:block}.settings-link small,.setting-row small{display:block;margin-top:5px;color:#8e8885;font-size:10px;line-height:1.35}.settings-link>svg:last-child{color:#807672}.switch{width:42px;height:25px;background:#494343;border:0;border-radius:20px;padding:3px;cursor:pointer;position:relative;flex-shrink:0}.switch:before{content:'';position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:white;transition:transform .15s}.switch:checked{background:var(--orange)}.switch:checked:before{transform:translateX(17px)}.setting-number{max-width:63px;text-align:center;padding:8px 5px;font-size:13px}.suffix{color:#98908c;font-size:12px}.setting-row select{max-width:149px;font-size:11px;padding:10px 25px 10px 8px}.backup-card{border:1px solid #684027;border-radius:18px;background:linear-gradient(145deg,#302118,#1f1a18);padding:21px;display:flex;flex-direction:column;gap:11px}.backup-graphic{color:var(--orange);background:#412718;border-radius:14px;width:50px;height:50px;display:grid;place-items:center}.backup-card h3{font-size:19px;letter-spacing:-.04em;margin:4px 0 0}.backup-card p{font-size:12px;line-height:1.6;color:#baa9a0;margin:0}.backup-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:#bcac9c;border-bottom:1px solid #4f3527;padding-bottom:13px}.backup-meta svg{color:#7ee1a3}.privacy-note{color:#978c86;font-size:11px;line-height:1.65;display:flex;align-items:flex-start;gap:10px;margin:22px 3px}.privacy-note svg{color:var(--orange)}.app-signature{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;letter-spacing:.15em;font-weight:800;color:#8f8783;margin-top:35px}.app-signature .logo-symbol{width:25px;height:25px;border-radius:7px;font-size:16px}.app-signature small{font-size:8px;color:#756d6a;letter-spacing:0}
.library-controls{display:flex;gap:9px;margin:12px 0 17px}.library-controls select{flex:1}.library-controls .primary-btn{flex-shrink:0}.library-items{border:1px solid #332d2b;background:#1c1a1a;border-radius:16px;overflow:hidden}.library-item{display:flex;align-items:center;gap:11px;padding:10px 12px;border-bottom:1px solid #302b28;min-height:62px}.library-item:last-child{border:0}.library-icon{background:#2d231e;width:36px;height:36px;border-radius:11px;color:var(--orange);display:grid;place-items:center}.library-item strong{display:block;font-size:12px}.library-item small{display:block;color:#988e88;font-size:10px;margin-top:4px}.program-selector{padding:17px}.program-selector>label{display:flex;flex-direction:column;gap:7px}.program-selector label small{color:#9e928b;font-weight:800;letter-spacing:.1em}.program-buttons{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.program-days{display:flex;flex-direction:column;gap:13px}.program-day{background:#1b1919;border:1px solid #372d29;border-radius:16px;overflow:hidden}.program-day-heading{display:flex;align-items:center;gap:7px;padding:13px 11px;border-bottom:1px solid #382b26}.day-num{color:var(--orange);font-size:17px;font-weight:900;padding:0 6px}.program-day-heading strong{font-size:13px;display:block}.program-day-heading small{font-size:10px;color:#9a8d86;display:block;margin-top:5px}.program-exercise{display:flex;align-items:center;gap:4px;padding:10px;border-bottom:1px solid #292523}.program-exercise strong{display:block;font-size:11px;line-height:1.25}.program-exercise small{display:block;color:#8d8580;font-size:9px;margin-top:4px}.program-ex-num{width:19px;color:#9a7963;font-weight:750;font-size:10px;flex-shrink:0}.program-add{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#251b16;color:var(--orange);border:0;font-size:12px;font-weight:700;padding:13px}
.bottom-nav{position:fixed;z-index:15;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);height:calc(72px + env(safe-area-inset-bottom,0px));padding:7px 10px calc(6px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;justify-content:space-between;background:#171617f5;border-top:1px solid #363030;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.nav-button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:20%;height:54px;padding:5px 0;background:transparent;border:0;border-radius:11px;color:#817b7a}.nav-button.active{color:var(--orange)}.nav-button span{height:25px;display:grid;place-items:center}.nav-button small{font-size:10px;font-weight:700}.timer-dock{position:fixed;z-index:14;bottom:calc(83px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(calc(100% - 20px),500px);min-height:86px;background:#2b1d17f7;border:1px solid #8f4925;border-radius:17px;box-shadow:0 9px 35px #0008;display:flex;align-items:center;gap:9px;padding:10px;backdrop-filter:blur(10px)}.timer-ring{width:65px;height:65px;position:relative;flex-shrink:0}.timer-ring svg{width:100%;height:100%}.timer-ring>span{position:absolute;inset:0;display:grid;place-items:center;color:var(--orange)}.timer-text{flex:1;min-width:0}.timer-text small{font-size:9px;color:#d59d73;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-transform:uppercase;letter-spacing:.04em}.timer-text strong{display:block;font-size:27px;letter-spacing:-.06em}.timer-controls{display:grid;grid-template-columns:repeat(2,32px);gap:4px}.timer-controls .icon-button{height:31px;width:31px;border-radius:8px;background:#3b281d;border-color:#523423;color:#ffab72}.modal-backdrop{position:fixed;z-index:30;inset:0;background:#000b;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.sheet{width:min(100%,520px);max-height:calc(93dvh - env(safe-area-inset-top,0px));background:#1b1919;border:1px solid #4a3428;border-radius:25px 25px 0 0;padding:10px 20px calc(26px + env(safe-area-inset-bottom,0px));overflow:auto;box-shadow:0 -15px 70px #000a;animation:slide-up .23s cubic-bezier(.2,.8,.3,1)}@keyframes slide-up{from{transform:translateY(50px);opacity:.7}to{transform:translateY(0);opacity:1}}.sheet-handle{width:39px;height:4px;border-radius:10px;background:#6e625d;margin:0 auto 15px}.sheet-header{display:flex;gap:10px;justify-content:space-between;align-items:flex-start;margin-bottom:17px}.sheet-header h2{font-size:24px}.sheet-header p{font-size:12px;color:#a99c95;line-height:1.5;margin:9px 0 0}.sheet-inner form{display:flex;flex-direction:column;gap:13px}.sheet-inner form>label,.form-grid>label{display:flex;flex-direction:column;gap:7px;color:#bdb4ad;font-size:11px;font-weight:700}.sheet-inner form input,.sheet-inner form textarea,.sheet-inner form select{font-size:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sheet-inner form>.primary-btn{margin-top:10px}.sheet-inner form>.danger-text{margin:2px auto}.choose-list{display:flex;flex-direction:column;gap:10px}.choose-list #choose-items{max-height:48vh;overflow:auto}.choose-item{display:flex;align-items:center;text-align:left;gap:10px;width:100%;color:#e3ddd9;background:transparent;border:0;border-bottom:1px solid #38302c;padding:14px 8px}.choose-item strong{font-size:13px}.choose-item small{display:block;color:#91867e;margin-top:4px;font-size:10px}.choose-item svg{color:var(--orange)}.choose-item[hidden]{display:none}.confirm-buttons{display:flex;flex-direction:column;gap:10px;padding-top:10px}.restore-alert{display:flex;align-items:flex-start;gap:9px;border-radius:10px;background:#3b261b;padding:12px;color:#efb78f;font-size:12px;line-height:1.5;margin-bottom:16px}.file-select{display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;border:1px dashed #bb6a3f;border-radius:15px;padding:28px 12px;position:relative;color:var(--orange)}.file-select strong{font-size:13px}.file-select small{color:#aa9890;font-size:10px}.file-select input{position:absolute;inset:0;opacity:0;cursor:pointer}.restore-feedback{font-size:12px;color:#d6ae89;margin:15px 0}.restore-valid{border-radius:12px;background:#253328;padding:15px}.restore-valid strong{color:#a0e2b3}.restore-valid p{font-size:11px;margin:8px 0 15px;color:#c3cbc4}.help-text p{color:#bbb0a9;font-size:13px;line-height:1.68;margin-bottom:17px}.help-text strong{color:#f6f1ee}.toast{position:fixed;z-index:55;top:calc(80px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);width:max-content;max-width:min(440px,calc(100% - 40px));background:#e7dfd7;color:#261b16;border-radius:12px;padding:13px 16px;display:flex;align-items:center;gap:9px;font-weight:700;font-size:12px;box-shadow:0 10px 30px #0007;animation:toast-in .15s ease-out}@keyframes toast-in{from{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%,0)}}.update-banner{position:fixed;z-index:23;bottom:calc(166px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);background:#34251d;color:#f6d1b7;border:1px solid #ab6239;border-radius:12px;padding:12px;width:min(calc(100% - 30px),480px);display:flex;align-items:center;justify-content:space-between;font-size:12px}.splash{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}.splash .brand-mark{font-size:66px;font-weight:900;color:white;letter-spacing:-.13em}.splash .brand-mark span{color:var(--orange)}.splash p{color:#9b918c;font-size:10px;font-weight:800;letter-spacing:.26em}.fatal{margin:30px auto;max-width:420px;padding:30px;color:#fff}.fatal h1{font-size:24px;margin:25px 0}.fatal p{font-size:13px;color:#c0b2ac}
@media(min-width:520px){.content{padding-left:26px;padding-right:26px}.topbar{padding-left:26px;padding-right:26px}.page-kicker{padding-left:26px}}@media(max-width:360px){.content{padding-left:13px;padding-right:13px}.topbar{padding-left:13px;padding-right:13px}.page-kicker{padding-left:13px}.storage-status{font-size:9px}.set-table-head,.set-row{grid-template-columns:25px 45px minmax(0,1fr) minmax(0,.85fr) 40px;gap:4px}.mini-stat{padding:12px 8px}.mini-stat-value{font-size:19px}.section-title h2{font-size:19px}.program-day-heading{gap:4px}.icon-button.mini{width:24px}.timer-ring{width:52px;height:52px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}

.muscle-card{padding:16px;background:#1d1a19;border:1px solid #332d2a;border-radius:17px}.muscle-row{margin-bottom:14px}.muscle-row>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.muscle-row strong{font-size:12px;font-weight:700}.muscle-row span{color:#aa9f9b;font-size:11px}.muscle-track{height:7px;background:#352d28;border-radius:10px;overflow:hidden}.muscle-track i{height:100%;display:block;background:linear-gradient(90deg,#a44415,var(--orange));border-radius:10px}.muscle-card p{margin:12px 0 0;border-top:1px solid #352d28;padding-top:12px;font-size:10px;color:#8d817b;line-height:1.55}

/* OLYMPO 2.0 — Athletic luxury design system. Intentional motion, generous touch targets. */
:root{--bg:#101011;--surface:#1b1a1a;--surface2:#252222;--orange:#ebc17d;--orange2:#f7d99f;--text:#f7f5f0;--muted:#a7a09a;--border:#39312a;--brown:#282019;--radius:20px;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",sans-serif;font-feature-settings:"ss01" on,"cv11" on;letter-spacing:-.009em}
body{background:#101011}
.app-shell{background:radial-gradient(ellipse 110% 32% at 55% -8%,#42301c45,transparent 78%),#101011}
h1,h2,h3,.wordmark,.exercise-title,.mini-stat-value{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",sans-serif;letter-spacing:-.048em}
h1{font-weight:850;line-height:1.07}h2{font-weight:800}
button,input,select,textarea{touch-action:manipulation}button{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .2s ease,transform .17s cubic-bezier(.2,.85,.25,1)}button:active:not(:disabled){transform:scale(.97)}
.icon{stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;filter:drop-shadow(0 0 0 transparent)}
.brand-icon{width:44px;height:44px;border-radius:13px;object-fit:contain;box-shadow:0 2px 21px #edbd7830;flex:none}
.wordmark{font-size:20px;letter-spacing:.07em;font-weight:900;gap:9px;color:#f7ead3}.wordmark small{font-size:8px;letter-spacing:.21em;color:#9d9180;font-weight:650;margin-top:3px}
.splash .brand-mark{display:grid;place-items:center}.splash-mark{width:118px;height:118px;filter:drop-shadow(0 10px 30px #d9aa5738);animation:brand-enter .8s cubic-bezier(.2,.9,.25,1) both}
.splash p{color:#ead2ad;font-size:15px;letter-spacing:.38em;font-weight:850}
@keyframes brand-enter{from{opacity:0;transform:scale(.85) translateY(15px)}to{opacity:1;transform:scale(1) translateY(0)}}
.topbar{padding-bottom:8px}.storage-status{font-size:10px}.page-kicker{padding-top:10px;color:#a99983;font-weight:740}
.greeting h1 em{color:var(--orange)}.eyebrow,.section-overline{color:#bdad98;font-weight:760}.eyebrow.orange{letter-spacing:.2em}
.hero{border-radius:24px;border:1px solid #55412f;box-shadow:0 16px 50px #0006;isolation:isolate}.hero::after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:inherit;background:linear-gradient(115deg,#e7b96c18,transparent 42%);z-index:0}
.hero-tag{background:#ddaa6340;color:#f6cd90;border-color:#e0b16e59}
.today-card,.mini-stat,.history-item,.day-tile,.program-day,.settings-group,.muscle-card{box-shadow:0 9px 29px #0000001f;border-color:#39322d}
.today-card,.mini-stat,.workout-exercise{background:linear-gradient(145deg,#212020,#191819)}
.primary-btn{background:linear-gradient(116deg,#f5daaa,#d3a05d);color:#20170e;box-shadow:0 5px 21px #b7854326;font-weight:800}
.primary-btn:hover{background:linear-gradient(116deg,#ffe6b5,#e1ad6b)}.primary-btn.large{box-shadow:0 6px 32px #ae783837}
.day-tile.active{border-color:#b89258;background:linear-gradient(147deg,#47341e,#27221e);box-shadow:inset 0 0 0 1px #c7a36a24,0 9px 25px #0003}
.progress-track>div{background:linear-gradient(90deg,#ae7e43,#f9d79d)}
.workout-exercises{gap:13px}
.workout-exercise{border-radius:21px;border:1px solid #3a312a;overflow:hidden;box-shadow:0 9px 30px #0003;transition:border-color .24s ease,box-shadow .24s ease,background .24s ease}
.workout-exercise.expanded{border-color:#977148;box-shadow:0 0 0 1px #ae8a5431,0 14px 42px #0005;background:linear-gradient(150deg,#24211e,#191819 70%)}
.workout-exercise-head{min-height:83px;padding:15px 14px;gap:11px}
.exercise-head-icon{width:43px;height:43px;background:linear-gradient(150deg,#5c3c21,#352519);color:#eec58c;border:1px solid #7b533028;font-size:13px;font-weight:900;border-radius:13px}
.exercise-title{font-size:15px;font-weight:850;line-height:1.18;color:#fffaf4}.exercise-desc{font-size:11px;color:#aaa29b;margin-top:6px}
.exercise-done-percent{font-variant-numeric:tabular-nums;color:#d9ae73;font-size:11px;font-weight:800}
.exercise-toggle{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;color:#d3b58b;border:1px solid #463a30;background:#302823;flex-shrink:0;transition:background .2s,border-color .2s}
.exercise-toggle svg{transform:rotate(0deg);transition:transform .34s cubic-bezier(.22,1,.36,1)}.workout-exercise.expanded .exercise-toggle svg{transform:rotate(180deg)}
.workout-exercise-head:hover .exercise-toggle{border-color:#a87d48;background:#413122}
.exercise-collapse{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .37s cubic-bezier(.2,.8,.22,1),opacity .22s ease}
.workout-exercise.expanded .exercise-collapse{grid-template-rows:1fr;opacity:1}
.workout-exercise-body{min-height:0;overflow:hidden;padding:0 13px 0;visibility:hidden;transition:visibility 0s linear .4s}
.workout-exercise.expanded .workout-exercise-body{visibility:visible;padding-bottom:17px;transition:visibility 0s}
.training-hint{background:linear-gradient(110deg,#33271e,#282322);border:1px solid #473629;color:#cbb9a6;border-radius:11px;padding:12px;font-size:11px;line-height:1.45;margin-bottom:18px}
.training-hint svg{margin-top:1px;flex-shrink:0}
.set-table-head{font-size:10px;letter-spacing:.09em;color:#aaa29c;margin-bottom:11px}
.set-row{min-height:51px;gap:6px;margin-bottom:8px}.set-row.done{background:#203025a8;border:1px solid #35503a;border-radius:13px}
.set-index{font-weight:750;font-size:12px;color:#d7d0c9}.set-previous{font-variant-numeric:tabular-nums;font-size:10px}
.set-input-wrap input{height:48px;min-height:48px;background:#2b2726;border:1px solid #443a37;border-radius:12px;font-size:17px;font-weight:780;color:#fff5e9;font-variant-numeric:tabular-nums;transition:border-color .16s,background .16s,box-shadow .16s}
.set-input-wrap input:focus{outline:0;border-color:#edbf7a;background:#302925;box-shadow:0 0 0 3px #d49a4e23}
.complete-set{height:46px;width:100%;min-width:39px;border-radius:12px;background:#2c2a28;border-color:#4a443f;color:#99918a;transition:background .2s,transform .16s,box-shadow .2s}
.complete-set.is-done{background:linear-gradient(145deg,#72d595,#3ba66a);border-color:#81d6a0;color:#101b14;box-shadow:0 2px 15px #46a46543}
.complete-set.is-done svg{stroke-width:2.9;animation:check-pop .25s both}@keyframes check-pop{from{transform:scale(.5)}to{transform:scale(1)}}
.exercise-actions{gap:7px;margin:15px 0 7px}.small-action{min-height:43px;border-radius:12px;padding:10px 12px;font-size:11px;font-weight:760;border-color:#4b4036;background:#302a27}.small-action.icon-only{min-width:43px}.small-action:hover{background:#40332a;color:#efd5b7}
.rir-edit{padding-top:9px;border-top:1px solid #332c29}.rir-edit select{min-height:42px;border-radius:10px}
.date-inline{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;margin-left:6px;padding:5px 9px;border-radius:100px;background:#372a1e;border:1px solid #725438;color:#e8c18d;font-size:11px;font-weight:700}
.history-create{margin:18px 0 20px}.history-create .secondary-btn{min-height:51px;background:#30271e;color:#f0d0a0;border:1px dashed #977246;border-radius:15px}.history-create .secondary-btn:hover{background:#433221}
.form-helper{font-size:12px;color:#bfb3a8;line-height:1.6;margin:2px 0 4px;padding:11px 12px;background:#2b2521;border-radius:10px}
.signature-mark{width:26px;height:26px;object-fit:contain}
.icon-button{border-color:#45392f;color:#c5baac;background:#231f1d}.icon-button:hover{color:#f4d29d;border-color:#9b7544}
.nav-button.active{color:#efc585}.nav-button.active span{filter:drop-shadow(0 0 7px #b98f5755)}.bottom-nav{background:#181615f7;border-top:1px solid #54402d55}
.sheet{background:#211e1b;border-color:#755331}.sheet-handle{background:#937455}
.timer-dock{background:#35271bf8;border-color:#9c7647;box-shadow:0 7px 43px #0008}.timer-ring>span,.timer-text small{color:#e8b879}
@media(hover:hover){.workout-exercise:not(.expanded):hover{border-color:#6f563c;transform:translateY(-1px)}.history-item:hover,.day-tile:hover{border-color:#8c6845;transform:translateY(-2px)}}
@media(max-width:360px){.workout-exercise-head{padding:12px 10px;gap:7px}.exercise-title{font-size:13px}.exercise-head-icon{width:36px;height:38px}.set-row,.set-table-head{grid-template-columns:24px 42px minmax(0,1fr) minmax(0,.82fr) 40px;gap:4px}.workout-exercise-body{padding-left:9px;padding-right:9px}.complete-set{min-width:35px}.small-action{padding:8px 9px}.date-inline{margin-left:0;margin-top:5px}}
@media(prefers-reduced-motion:reduce){.exercise-collapse,.exercise-toggle svg,.complete-set svg,.splash-mark{animation:none!important;transition:none!important}}

/* final visual consistency */
.week-day.selected{border-color:#c69c60!important;background:linear-gradient(150deg,#4a3421,#2d251f)!important;box-shadow:inset 0 0 0 1px #d5a86c3b!important}
.week-day.selected strong,.week-day.selected span{color:#f5d6a3}
.complete-set:focus-visible{outline:2px solid #f5d69e;outline-offset:3px}
@media(prefers-contrast:more){.workout-exercise,.set-input-wrap input,.complete-set,.small-action{border-color:#b5a18a}.exercise-desc,.set-previous,.set-table-head{color:#ede4d7}}

@media(min-width:600px){body{background:radial-gradient(ellipse at top,#72502b 0%,#31241a 42%,#101011 95%);background-attachment:fixed}.app-shell{box-shadow:0 24px 100px #000a}}
