@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Mono:wght@400;700&display=swap";:root{font-family:Plus Jakarta Sans,system-ui,sans-serif;color:#0f172a;background:#f6f7fb;font-synthesis:none;text-rendering:optimizeLegibility;--canvas: #f6f7fb;--surface: #ffffff;--surface-soft: #f1f5f9;--ink: #0f172a;--muted: #64748b;--line: #e8edf3;--coral: #ff4b3a;--coral-dark: #e43d2d;--coral-soft: #fff0ee;--green: #00c48c;--green-soft: #e8fbf4;--blue: #00a3ff;--blue-soft: #e8f6ff;--amber: #f59e0b;--shadow: 0 14px 36px rgba(15, 23, 42, .055), 0 2px 5px rgba(15, 23, 42, .025);--radius-card: 24px;--radius-control: 14px}*{box-sizing:border-box}html{min-width:0;background:var(--canvas);overflow-x:clip}body{margin:0;min-width:0;min-height:100vh;background:var(--canvas);overflow-x:clip}@media (pointer: coarse){html,body{touch-action:pan-x pan-y}:is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),textarea,select){font-size:16px}}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{border:0;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(0,163,255,.38);outline-offset:3px}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:10;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1160px)/2));background:#f6f7fbdb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid rgba(232,237,243,.7)}.brand{display:inline-flex;align-items:center;gap:10px}.brand-mark{display:grid;width:38px;height:38px;place-items:center;color:#fff;background:var(--coral);border-radius:13px;box-shadow:0 8px 18px #ff4b3a40}.brand-copy{display:flex;gap:4px;align-items:baseline;font-size:15px;letter-spacing:-.04em}.brand-copy strong{font-weight:800}.brand-copy span{color:var(--muted);font-weight:600}.brand-accent{color:var(--coral);font-weight:600}.brand-copy .brand-accent{color:var(--coral)}.topbar-actions{display:flex;align-items:center;gap:10px}.icon-button{display:grid;width:42px;height:42px;place-items:center;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:50%;transition:transform .18s ease,background .18s ease}.icon-button:hover{background:var(--surface-soft);transform:translateY(-1px)}.icon-button.small{width:34px;height:34px;background:transparent;border:0}.notification-button{position:relative}.notification-dot{position:absolute;top:7px;right:8px;width:7px;height:7px;background:var(--coral);border:2px solid white;border-radius:50%}.avatar,.profile-avatar{display:grid;place-items:center;width:38px;height:38px;color:#fff;background:var(--ink);border-radius:50%;font-family:Space Mono,monospace;font-size:11px;font-weight:700}.page-content{width:min(100% - 40px,1160px);min-width:0;margin:0 auto;padding:42px 0 calc(112px + env(safe-area-inset-bottom,0px))}.page-stack{display:flex;flex-direction:column;gap:25px}.welcome-row,.page-intro,.section-heading,.profile-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.welcome-row h1,.page-intro h1,.profile-hero h1{margin:5px 0 4px;color:var(--ink);font-size:clamp(28px,4vw,40px);line-height:1.08;letter-spacing:-.06em;font-weight:800}.welcome-row h1 span{color:var(--coral);font-size:.7em;vertical-align:5px}.muted{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.eyebrow{margin:0;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.13em;line-height:1.2;text-transform:uppercase}.eyebrow.light{color:#ffffffad}.streak-badge,.active-label,.draft-pill{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;color:#087d5b;background:var(--green-soft);border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.pulse-dot{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px #00c48c1f}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:86px;gap:8px}.week-strip .week-day-card{position:relative;display:flex;width:100%;height:100%;min-height:0;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--muted);background:transparent;border:1px solid var(--line);border-radius:18px;transition:background .18s ease,transform .18s ease}.week-strip .week-day-card:hover{background:var(--surface);transform:translateY(-2px)}.week-strip .week-day-card.selectable{color:var(--ink);cursor:pointer}.week-strip .week-day-card.disabled{cursor:default;color:#94a3b8;background:var(--surface-soft);border-color:#e2e8f0}.week-strip .week-day-card.disabled:hover{background:var(--surface-soft);transform:none}.week-strip .week-day-card.today.disabled:hover{background:var(--surface-soft)}.week-strip .week-day-card.today{color:#fff;background:var(--coral);border-color:#ffffff47;box-shadow:0 12px 24px #ff4b3a38}.week-strip .week-day-card.today.disabled{color:#94a3b8;background:var(--surface-soft);box-shadow:none}.week-strip .week-day-card.selected{border-color:var(--coral);box-shadow:0 0 0 3px var(--coral-soft)}.week-strip .week-day-card.today.selected{border-color:#fff;box-shadow:0 0 0 3px #ffffff59}.week-day{font-size:10px;font-weight:800;text-transform:uppercase}.week-day-label{display:grid;width:100%;height:14px;min-width:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.week-day-label .week-day{grid-column:2}.week-day-flexible-indicator{grid-column:3;justify-self:start;display:inline-flex;margin-left:3px;color:var(--blue, #2563eb)}.week-strip .week-day-card.today .week-day-flexible-indicator{color:#fff}.week-strip strong{font-family:Space Mono,monospace;font-size:21px}.day-status{display:flex;width:17px;height:17px;align-items:center;justify-content:center;color:#fff;background:var(--green);border-radius:50%;font-size:14px;font-weight:800;line-height:1;text-align:center}.day-status-group{display:flex;height:17px;align-items:center;justify-content:center;gap:4px}.day-status-group .day-status{flex:0 0 17px}.today .day-status{color:var(--coral);background:#fff}.day-status.empty{background:transparent}.day-status.empty:after{width:5px;height:5px;background:#cbd5e1;border-radius:50%;content:""}.day-status.pending{color:#92400e;background:#fef3c7}.day-status.partial{color:#fff;background:var(--coral);font-size:14px;font-weight:800}.today .day-status.empty{background:transparent}.today .day-status.empty:after{background:#fff9}.today.disabled .day-status.empty{background:transparent}.today.disabled .day-status.empty:after{background:#cbd5e1}.rest-line{display:flex;width:17px;height:17px;align-items:center;justify-content:center}.rest-line:after{width:16px;height:2px;background:#fbbf24;border-radius:2px;content:""}.hero-workout{position:relative;display:flex;min-height:284px;align-items:center;justify-content:space-between;gap:clamp(22px,5vw,80px);overflow:hidden;padding:38px clamp(26px,5vw,64px);color:#fff;background:#101c32;border-radius:var(--radius-card);box-shadow:0 20px 42px #0f172a29}.hero-workout:after{position:absolute;right:-100px;bottom:-150px;width:420px;height:420px;content:"";border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 34px #ffffff06,0 0 0 70px #ffffff05}.hero-glow{position:absolute;top:-100px;left:28%;width:300px;height:220px;background:#ff4b3a42;border-radius:50%;filter:blur(70px)}.hero-copy{position:relative;display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start;z-index:1}.hero-copy h2{margin:10px 0 16px;font-size:clamp(27px,4vw,42px);letter-spacing:-.06em;line-height:1}.hero-meta{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:28px;color:#ffffffb3;font-size:12px}.hero-meta span{display:inline-flex;align-items:center;gap:7px}.hero-exercise-list{display:flex;width:min(100%,430px);flex-direction:column;gap:7px;margin-bottom:22px}.hero-exercise-row{display:flex;min-height:38px;align-items:center;gap:10px;padding:6px 9px 6px 6px;color:#fff;background:#ffffff14;border:1px solid rgba(255,255,255,.1);border-radius:11px;text-decoration:none;transition:background .18s ease,transform .18s ease}.hero-exercise-row:hover{background:#ffffff24;transform:translate(3px)}.hero-exercise-row-static:hover{transform:none}.hero-exercise-index{display:grid;width:27px;height:27px;flex:0 0 auto;place-items:center;color:#fff;background:#ff4b3acc;border-radius:8px;font-family:Space Mono,monospace;font-size:9px;font-weight:700}.hero-exercise-info{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.hero-exercise-info strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.hero-exercise-info small{color:#ffffff9e;font-size:9px}.hero-exercise-row>.icon{flex:0 0 auto;color:#ffffffa6}.hero-actions{display:flex;min-width:0;align-items:center;padding:10px 0 10px 18px}.hero-actions .primary-button{padding-right:24px;padding-left:24px}.hero-side{position:relative;z-index:1;display:flex;flex:0 0 auto;align-items:center;gap:16px;margin-left:auto}.hero-selection-note{display:block;width:min(100%,430px);max-width:430px;padding:0 18px;color:#ffffffad;font-size:11px;line-height:1.5;text-align:center;overflow-wrap:anywhere}.hero-completion-message{margin:0;padding:0 18px;color:#fff;font-size:13px;font-weight:700;line-height:1.5;text-align:center}.primary-button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;gap:10px;padding:0 20px;color:#fff;background:var(--coral);border-radius:15px;box-shadow:0 12px 23px #ff4b3a33;font-size:13px;font-weight:800;transition:transform .18s ease,background .18s ease}.primary-button:hover{background:var(--coral-dark);transform:translateY(-2px)}.light-button{color:var(--ink);background:#fff;box-shadow:none}.light-button:hover{background:#fff7f5}.hero-ring{position:relative;z-index:1;width:150px;height:150px;flex:0 0 auto;display:grid;place-items:center;margin-right:10px}.hero-ring svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform:rotate(-90deg)}.ring-track,.ring-value{fill:none;stroke-width:5}.ring-track{stroke:#ffffff24}.ring-value{stroke:var(--coral);stroke-dasharray:264;stroke-dashoffset:264;stroke-linecap:round}.hero-ring strong{margin-top:5px;font-family:Space Mono,monospace;font-size:29px}.hero-ring strong span{font-size:14px}.hero-ring small{position:absolute;top:91px;color:#ffffff94;font-size:10px}.section-heading{align-items:center;margin-top:8px}.section-heading h2{margin:5px 0 0;font-size:20px;letter-spacing:-.045em}.section-heading a,.feature-footer a,.routine-bottom a{display:inline-flex;align-items:center;gap:6px;color:var(--coral-dark);font-size:12px;font-weight:800}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.metric-card{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:19px;background:var(--surface);border:1px solid rgba(232,237,243,.85);border-radius:var(--radius-card);box-shadow:var(--shadow)}.metric-icon,.record-icon,.setting-icon{display:grid;width:35px;height:35px;place-items:center;border-radius:12px}.metric-icon.green,.record-icon.green,.setting-icon.green,.activity-marker.green{color:#008a65;background:var(--green-soft)}.metric-icon.blue,.record-icon.blue,.setting-icon.blue,.activity-marker.blue{color:#0084cf;background:var(--blue-soft)}.metric-icon.coral,.record-icon.coral,.setting-icon.coral,.activity-marker.coral{color:var(--coral-dark);background:var(--coral-soft)}.metric-card strong{font-family:Space Mono,monospace;font-size:20px;letter-spacing:-.06em}.metric-card>span:not(.metric-icon){color:var(--muted);font-size:11px}.metric-card small{grid-column:2;margin-top:5px;color:var(--green);font-size:10px;font-weight:700}.recent-heading{margin-top:18px}.exercise-list,.recent-list,.history-list,.records-list{display:flex;flex-direction:column;gap:10px}.exercise-row,.recent-row,.history-row{display:flex;min-height:72px;align-items:center;gap:14px;padding:10px 15px 10px 10px;background:var(--surface);border:1px solid var(--line);border-radius:18px;transition:transform .18s ease,box-shadow .18s ease}.exercise-row:hover,.recent-row:hover,.history-row:hover{box-shadow:var(--shadow);transform:translate(3px)}.exercise-row-static{cursor:default}.exercise-row-static:hover{box-shadow:none;transform:none}.exercise-image{position:relative;width:52px;height:52px;overflow:hidden;flex:0 0 auto;background:var(--surface-soft);border-radius:15px}.exercise-image img{width:100%;height:100%;object-fit:cover}.exercise-image span{position:absolute;right:5px;bottom:4px;color:#fff;font-family:Space Mono,monospace;font-size:9px;text-shadow:0 1px 3px #000}.exercise-info,.recent-info{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}.exercise-info strong,.recent-info strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.exercise-info span,.recent-info small,.history-date small{color:var(--muted);font-size:11px}.recent-row{padding-left:15px}.activity-marker{display:grid;width:38px;height:38px;place-items:center;flex:0 0 auto;border-radius:13px}.volume{color:var(--ink);font-family:Space Mono,monospace;font-size:10px;font-weight:700;white-space:nowrap}.page-intro{align-items:center}.round-action{display:grid;width:52px;height:52px;place-items:center;color:#fff;background:var(--coral);border-radius:17px;box-shadow:0 11px 22px #ff4b3a33}.filter-button{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 14px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:13px;font-size:12px;font-weight:700}.history-filter-wrap{position:relative}.filter-menu{position:absolute;z-index:5;top:calc(100% + 8px);right:0;display:flex;min-width:160px;flex-direction:column;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.filter-menu button{padding:9px 10px;color:var(--muted);text-align:left;border-radius:9px;font-size:11px;font-weight:700}.filter-menu button:hover,.filter-menu button.active{color:var(--coral-dark);background:var(--coral-soft)}.routine-feature{padding:25px 28px;color:#fff;background:linear-gradient(120deg,#102039,#1c2e4a);border-radius:var(--radius-card);box-shadow:0 18px 36px #10203926}.feature-top,.feature-footer,.routine-card-top,.routine-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.routine-feature h2{margin:28px 0 7px;font-size:28px;letter-spacing:-.06em}.routine-feature p{margin:0;color:#ffffffad;font-size:12px}.routine-feature .progress-bar{margin:24px 0 12px;background:#ffffff24}.routine-feature .progress-bar span{background:var(--coral)}.feature-footer{color:#ffffff9e;font-size:11px}.feature-footer a{color:#fff}.routine-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.routine-card{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.routine-symbol{display:grid;width:38px;height:38px;place-items:center;border-radius:13px}.routine-symbol.coral{color:var(--coral-dark);background:var(--coral-soft)}.routine-symbol.blue{color:#0084cf;background:var(--blue-soft)}.routine-status{margin-right:auto;color:var(--muted);font-size:10px;font-weight:800}.routine-status.active-label{margin-left:1px;padding:7px 10px;color:#087d5b}.routine-actions{position:relative}.routine-menu{position:absolute;top:calc(100% + 5px);right:0;z-index:5;min-width:150px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px #0f172a24}.routine-menu .menu-item{display:block;width:100%;padding:9px 10px;color:var(--ink);border-radius:8px;font-size:11px;font-weight:800;text-decoration:none;background:transparent;text-align:left}.routine-menu .menu-item:disabled{cursor:not-allowed;opacity:.55}.routine-menu .menu-item:hover,.routine-menu .menu-item:focus-visible{background:var(--blue-soft)}.danger-menu-item{width:100%;padding:9px 10px;color:#c24135;background:transparent;border:0;border-radius:8px;font-size:11px;font-weight:800;text-align:left}.danger-menu-item:hover{background:var(--coral-soft)}.danger-menu-item:disabled{cursor:wait;opacity:.6}.routine-card h3{margin:21px 0 5px;font-size:17px;letter-spacing:-.04em}.routine-card p{margin:0;color:var(--muted);font-size:11px}.progress-bar{height:7px;overflow:hidden;background:#edf1f5;border-radius:999px}.routine-card .progress-bar{margin:20px 0 12px}.progress-bar span{display:block;height:100%;background:var(--coral);border-radius:inherit}.muted-bar span{background:var(--blue)}.routine-bottom{color:var(--muted);font-size:10px}.add-routine{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;padding:17px;background:transparent;border:1px dashed #cbd5e1;border-radius:17px}.add-routine>span{display:grid;grid-row:span 2;width:35px;height:35px;place-items:center;color:var(--coral);background:var(--coral-soft);border-radius:11px}.add-routine strong{font-size:13px}.add-routine small{color:var(--muted);font-size:11px}.tiny{font-size:11px}.month-select{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;color:var(--ink);background:var(--surface);border-radius:15px;font-size:13px;font-weight:800;box-shadow:var(--shadow)}.month-arrows{color:var(--muted);font-size:19px}.month-arrow{display:grid;width:30px;height:30px;place-items:center;color:var(--muted);border-radius:9px}.month-arrow:hover{color:var(--coral-dark);background:var(--coral-soft)}.calendar-card{padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.history-calendar-flip{perspective:1200px}.history-calendar-inner{display:contents}.history-calendar-flip .history-calendar-inner{display:grid;transform-style:preserve-3d;transition:transform .52s cubic-bezier(.22,.61,.36,1)}.history-calendar-flip .history-calendar-face{grid-area:1 / 1;min-width:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}.history-calendar-flip .history-calendar-back,.history-calendar-flip.show-back .history-calendar-inner{transform:rotateY(180deg)}.history-calendar-flip .history-calendar-back{margin:0}.history-back-button{display:inline-flex;align-items:center;gap:6px;margin-bottom:17px;padding:5px 0;color:var(--coral-dark);font-size:11px;font-weight:800}.history-back-button:hover{color:var(--ink)}.calendar-head,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.calendar-head{margin-bottom:12px;color:var(--muted);font-size:10px;font-weight:800}.calendar-days{row-gap:7px}.calendar-days span{display:grid;position:relative;height:32px;place-items:center;color:var(--muted);font-size:11px;border-radius:10px}.calendar-days button{display:grid;position:relative;height:32px;place-items:center;padding:0;color:var(--muted);background:transparent;border-radius:10px;font-size:11px}.calendar-days button:hover,.calendar-days button:focus-visible{background:var(--surface-soft)}.calendar-days span.session-day{color:var(--coral-dark);background:var(--coral-soft);font-weight:800}.calendar-days span.current,.calendar-days button.current{color:#fff;background:var(--coral);box-shadow:0 5px 12px #ff4b3a40}.calendar-days span.calendar-completed{color:#008a65;background:var(--green-soft)}.calendar-days button.calendar-completed{color:#008a65;background:var(--green-soft);font-weight:800}.calendar-days span.calendar-partial{color:var(--coral-dark);background:var(--coral-soft)}.calendar-days button.calendar-partial{color:var(--coral-dark);background:var(--coral-soft);font-weight:800}.calendar-days span.calendar-planned{color:#0084cf;background:var(--blue-soft)}.calendar-days button.calendar-planned{color:#0084cf;background:var(--blue-soft);font-weight:800}.calendar-days span.calendar-moved{color:#7b5b00;background:#fff2bf}.calendar-days button.calendar-moved{color:#7b5b00;background:#fff2bf;font-weight:800}.calendar-days span.calendar-rest,.calendar-days button.calendar-rest{color:var(--muted);background:var(--surface-soft)}.calendar-days span.current.calendar-completed,.calendar-days span.current.calendar-partial,.calendar-days span.current.calendar-planned,.calendar-days span.current.calendar-moved,.calendar-days button.current.calendar-completed,.calendar-days button.current.calendar-partial,.calendar-days button.current.calendar-planned,.calendar-days button.current.calendar-moved{color:#fff;background:var(--coral)}.calendar-days button.selected{outline:2px solid var(--blue);outline-offset:2px}.calendar-days span svg{position:absolute;margin:-24px 0 0 20px}.calendar-days button svg{position:absolute;margin:-24px 0 0 20px}.calendar-legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:15px;color:var(--muted);font-size:10px}.calendar-legend span{display:inline-flex;align-items:center;gap:5px}.legend-dot{width:7px;height:7px;border-radius:50%}.legend-dot.completed{background:#00a77a}.legend-dot.partial{background:var(--coral)}.legend-dot.planned{background:#0084cf}.history-metrics{grid-template-columns:repeat(3,1fr)}.history-row-button{width:100%;color:inherit;text-align:left}.history-row-disabled{cursor:default}.history-row-disabled:hover{box-shadow:none;transform:none}.history-context{color:var(--coral-dark);font-size:10px;font-weight:700}.history-exercise-preview{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.history-value{color:var(--ink);font-family:Space Mono,monospace;font-size:10px;font-weight:700;white-space:nowrap}.history-empty{display:flex;align-items:center;flex-direction:column;gap:8px;padding:34px 20px;color:var(--muted);text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card)}.history-empty>span{display:grid;width:42px;height:42px;place-items:center;color:var(--coral-dark);background:var(--coral-soft);border-radius:13px}.history-empty strong{color:var(--ink);font-size:14px}.history-empty small{max-width:340px;font-size:11px}.selected-history{padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.selected-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.selected-history-heading h2{margin:5px 0 3px;font-size:19px;letter-spacing:-.045em}.history-status{flex:0 0 auto;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800}.history-status.green{color:#008a65;background:var(--green-soft)}.history-status.blue{color:#0084cf;background:var(--blue-soft)}.history-status.coral{color:var(--coral-dark);background:var(--coral-soft)}.selected-exercise-list{display:flex;flex-direction:column;gap:8px}.selected-exercise-row{display:flex;align-items:center;gap:10px;padding:10px;background:var(--surface-soft);border-radius:13px}.selected-exercise-number{display:grid;width:27px;height:27px;flex:0 0 auto;place-items:center;color:var(--muted);background:#fff;border-radius:9px;font-family:Space Mono,monospace;font-size:10px;font-weight:700}.selected-exercise-number.complete{color:#008a65;background:var(--green-soft)}.selected-exercise-info{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.selected-exercise-info strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.selected-exercise-info small,.selected-exercise-progress{color:var(--muted);font-size:10px}.selected-exercise-progress{flex:0 0 auto;font-weight:800}.selected-exercise-progress.completed{color:#008a65}.selected-exercise-progress.skipped,.selected-exercise-progress.partial{color:var(--coral-dark)}.selected-history-empty{margin:0;color:var(--muted);font-size:12px}.history-all-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;color:var(--ink);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.history-all-toggle:hover{border-color:#ff4b3a59}.history-all-toggle>span:first-child{display:flex;flex-direction:column;gap:5px}.history-all-toggle .eyebrow{color:var(--muted)}.history-all-toggle strong{font-size:14px}.history-all-toggle-meta{display:inline-flex;align-items:center;gap:7px;color:var(--coral-dark);font-size:11px;font-weight:800;white-space:nowrap}@media (prefers-reduced-motion: reduce){.history-calendar-flip .history-calendar-inner{transition:none}}.history-date{display:flex;width:38px;flex-direction:column;align-items:center;gap:3px}.history-date strong{font-family:Space Mono,monospace;font-size:17px}.progress-highlight{position:relative;display:grid;min-height:250px;grid-template-columns:1fr 1.4fr;align-items:end;gap:25px;overflow:hidden;padding:27px;color:#fff;background:#102039;border-radius:var(--radius-card)}.progress-highlight strong{display:block;margin:12px 0 8px;font-family:Space Mono,monospace;font-size:clamp(27px,4vw,42px);letter-spacing:-.08em}.progress-highlight strong small{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;letter-spacing:0}.progress-highlight>div:first-child span{color:#7cebc8;font-size:11px;font-weight:700}.chart-bars{display:flex;height:145px;align-items:end;gap:8px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.15)}.chart-bars span{width:100%;min-width:5px;background:#00c48c59;border-radius:4px 4px 0 0}.chart-bars span.peak{background:var(--coral);box-shadow:0 0 18px #ff4b3a4d}.chart-labels{position:absolute;right:27px;bottom:15px;left:calc(50% + 25px);display:flex;justify-content:space-between;color:#ffffff70;font-size:9px}.progress-metrics{grid-template-columns:repeat(3,1fr)}.progress-chart-summary{margin:-8px 2px 0;color:var(--muted);font-size:11px}.progress-limit-notice{margin:-.5rem 0 0;color:#8a5a00;font-size:.875rem}.progress-empty{display:flex;min-height:190px;align-items:center;justify-content:center;gap:10px;padding:28px;text-align:center;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card)}.progress-empty>span{display:grid;width:42px;height:42px;place-items:center;color:#0084cf;background:var(--blue-soft);border-radius:14px}.progress-empty strong{font-size:14px}.progress-empty small{max-width:340px;color:var(--muted);font-size:12px}.progress-empty.compact{min-height:120px}.progress-empty .primary-button{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;color:#fff;text-decoration:none}.records-list article{display:flex;align-items:center;gap:13px;padding:13px 15px;background:#fff;border:1px solid var(--line);border-radius:17px}.records-list article div{display:flex;flex:1;flex-direction:column;gap:4px}.records-list article strong{font-size:13px}.records-list article small{color:var(--muted);font-size:11px}.records-list article b{color:#008a65;font-family:Space Mono,monospace;font-size:11px}.profile-hero{align-items:center;padding:8px 0 17px}.profile-avatar{width:66px;height:66px;font-size:16px;border-radius:22px}.profile-hero>div{flex:1}.profile-username{margin:0 0 5px;color:var(--blue);font-family:Space Mono,monospace;font-size:11px;font-weight:700}.settings-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.settings-card a{display:flex;align-items:center;gap:13px;min-height:76px;padding:12px 18px;border-bottom:1px solid var(--line)}.settings-card a:last-child{border-bottom:0}.profile-page,.profile-section{width:min(100%,660px)}.profile-section .back-link{margin-bottom:0}.profile-section h1{margin:0;font-size:clamp(27px,4vw,36px);letter-spacing:-.05em}.profile-intro{max-width:54ch;margin:-5px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.profile-panel{display:flex;flex-direction:column;gap:18px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.profile-panel label:not(.setting-preference){display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700}.profile-panel input:not([type=checkbox]),.profile-panel textarea,.profile-panel select{width:100%;padding:12px 14px;color:var(--ink);background:#fff;border:1px solid #cbd5e1;border-radius:12px;font:inherit}.profile-panel textarea{min-height:96px;resize:vertical}.profile-panel .setting-preference{display:flex;align-items:flex-start;gap:16px;font-size:14px}.profile-panel .setting-preference input{margin-left:auto;flex:none}.profile-panel .primary-button{align-self:flex-start}.profile-panel .muted{font-weight:400}.field-hint{color:var(--muted);font-size:11px;font-weight:500}.field-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.field-count{flex:none;color:var(--muted);font-size:11px;font-weight:500}.notification-setting-divider{height:1px;margin:5px 0;background:var(--line)}.profile-panel ol{margin:0;padding-left:22px;line-height:1.8}.profile-panel code{overflow-wrap:anywhere}.profile-panel .form-error,.profile-panel .form-success{margin:0}.profile-panel .install-action{align-self:flex-start}.settings-card .setting-preference{display:flex;align-items:center;gap:13px;min-height:76px;padding:12px 18px}.setting-preference>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}.setting-preference input{width:20px;height:20px;accent-color:var(--coral)}.settings-card a>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}.settings-card strong{font-size:13px}.settings-card small{color:var(--muted);font-size:11px}.coach-card{display:flex;align-items:center;gap:14px;padding:20px;background:var(--blue-soft);border-radius:var(--radius-card)}.coach-mark{display:grid;width:42px;height:42px;place-items:center;color:#0084cf;background:#fff;border-radius:14px}.coach-card div{display:flex;flex-direction:column;gap:5px}.coach-card strong{font-size:13px}.coach-card small{color:var(--muted);font-size:11px}.logout-button{min-height:50px;color:var(--coral-dark);background:transparent;border:1px solid #fecaca;border-radius:14px;font-size:13px;font-weight:800}.back-link{display:inline-flex;align-items:center;gap:5px;margin-bottom:20px;color:var(--coral-dark);font-size:12px;font-weight:800}.draft-pill{color:var(--coral-dark);background:var(--coral-soft)}.routine-form{display:flex;flex-direction:column;gap:28px}.routine-form>label,.form-grid label{display:flex;flex-direction:column;gap:8px}.routine-form label>span{color:var(--muted);font-size:11px;font-weight:800}.routine-form input,.routine-form select{width:100%;min-height:52px;padding:0 15px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:14px;outline:0}.routine-form input:focus,.routine-form select:focus{border-color:var(--blue)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-section{display:flex;flex-direction:column;gap:13px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.form-section h2{margin:4px 0 0;font-size:18px;letter-spacing:-.04em}.choice{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:15px;cursor:pointer}.choice.selected{border-color:var(--coral);background:var(--coral-soft)}.choice input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0}.choice-check{display:grid;width:20px;height:20px;flex:0 0 auto;place-items:center;color:#fff;border:1px solid #cbd5e1;border-radius:50%}.choice.selected .choice-check{background:var(--coral);border-color:var(--coral)}.choice>span:last-child{display:flex;flex-direction:column;gap:4px}.choice strong{font-size:12px}.choice small{color:var(--muted);font-size:10px}.rotation-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.compact-choice{min-height:74px}.choice-selected{border-color:var(--coral);background:var(--coral-soft)}.routine-builder-heading{align-items:flex-start}.routine-week-tabs,.day-tabs{display:flex;gap:8px;overflow-x:auto}.routine-week-tabs button,.day-tabs button{min-height:38px;padding:0 13px;color:var(--muted);background:var(--surface-soft);border:1px solid transparent;border-radius:11px;font-size:11px;font-weight:800;white-space:nowrap}.routine-week-tabs button.active,.day-tabs button.active{color:#fff;background:var(--ink)}.day-tabs button{display:flex;min-width:58px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:7px 10px}.day-tabs button span{font-size:10px}.day-tabs button small{color:inherit;font-family:Space Mono,monospace;font-size:9px;opacity:.7}.day-tabs button.planned:not(.active){color:var(--coral-dark);border-color:#ff4b3a40;background:var(--coral-soft)}.selected-day-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.day-name-input{max-width:280px;min-height:38px!important;padding:0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;font-size:17px;font-weight:800}.rest-toggle{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;font-weight:700;white-space:nowrap}.rest-toggle input{width:17px!important;min-height:17px!important;accent-color:var(--coral)}.rest-day-empty{display:flex;min-height:145px;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--muted);background:var(--surface-soft);border-radius:15px;text-align:center}.rest-day-empty>span{display:grid;width:38px;height:38px;place-items:center;color:#a16207;background:#fef3c7;border-radius:12px}.rest-day-empty strong{color:var(--ink);font-size:13px}.rest-day-empty small{font-size:11px}.day-status.moved{color:var(--blue, #2563eb);background:#dbeafe;font-size:14px}.planned-exercises{display:flex;flex-direction:column;gap:8px}.planned-exercise-row{display:grid;grid-template-columns:42px minmax(0,1fr) 66px 68px 68px 78px auto;align-items:center;gap:10px;padding:9px;background:var(--surface-soft);border-radius:13px}.planned-exercise-row.cardio{grid-template-columns:64px minmax(0,1fr) auto;gap:12px 16px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.planned-exercise-row.cardio>img,.planned-exercise-row.cardio>.exercise-picker-placeholder{width:64px;height:64px;border-radius:15px}.planned-exercise-row.cardio .planned-exercise-main strong{font-size:16px}.planned-exercise-row.cardio .planned-exercise-main small{font-size:12px}.planned-exercise-row.cardio>.icon-button{grid-column:3;grid-row:1;align-self:start;color:var(--coral-dark);background:var(--coral-soft)}.cardio-config{grid-column:1 / -1;grid-row:2;display:flex;min-width:0;flex-direction:column;gap:18px;padding-top:6px}.planned-exercise-row.cardio .cardio-field{display:flex;min-width:0;flex-direction:column;gap:8px}.planned-exercise-row.cardio .cardio-field-label,.planned-exercise-row.cardio .cardio-target legend{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;font-weight:800}.planned-exercise-row.cardio .cardio-field-label .icon,.planned-exercise-row.cardio .cardio-target legend .icon{flex:0 0 auto;color:var(--ink)}.planned-exercise-row.cardio .cardio-field-label small{font-size:12px;font-weight:600}.cardio-plan-row,.cardio-reps-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cardio-format,.cardio-input-wrap{display:flex;min-width:0;min-height:48px;align-items:center;color:var(--ink);background:#fff;border:1px solid #dce4ee;border-radius:12px}.cardio-format{padding:0 14px;font-size:15px;font-weight:700}.cardio-input-wrap:focus-within{border-color:var(--coral);outline:2px solid rgba(255,75,58,.18);outline-offset:1px}.planned-exercise-row.cardio .cardio-input-wrap input{width:100%;min-height:46px!important;padding:0 14px!important;background:transparent;border:0!important;outline:none;font-family:Plus Jakarta Sans,system-ui,sans-serif;font-size:16px;font-weight:700}.planned-exercise-row.cardio .cardio-input-wrap input::placeholder{color:#94a3b8;font-weight:600}.planned-exercise-row.cardio .cardio-input-wrap>span{padding-right:14px;color:#8290a6;font-size:13px;font-weight:700;white-space:nowrap}.cardio-target{display:flex;min-width:0;flex-direction:column;gap:12px;margin:0;padding:0;border:0}.cardio-target legend{margin-bottom:12px;padding:0}.cardio-mode-options{display:flex;min-width:0;gap:4px;padding:4px;background:var(--surface-soft);border-radius:13px}.planned-exercise-row.cardio .cardio-mode-option{display:flex;min-width:0;min-height:44px;flex:1 1 0;flex-direction:row;align-items:center;justify-content:center;gap:7px;padding:5px 9px;color:var(--muted);border:1px solid transparent;border-radius:10px;cursor:pointer;font-size:12px;font-weight:800;text-align:center}.planned-exercise-row.cardio .cardio-mode-option.active{color:var(--coral-dark);background:var(--coral-soft);border-color:#ff4b3a73}.planned-exercise-row.cardio .cardio-mode-option:focus-within{outline:2px solid var(--ink);outline-offset:2px}.planned-exercise-row.cardio .cardio-mode-option input.sr-only{width:1px;min-height:0!important;padding:0!important}.cardio-target-fields{display:flex;min-width:0;flex-direction:column;gap:14px;margin-top:2px;padding-top:14px;border-top:1px solid var(--line)}.planned-exercise-row.cardio .cardio-field.cardio-secondary{order:1}.planned-exercise-row>img,.planned-exercise-row>.exercise-picker-placeholder{width:42px;height:42px;object-fit:cover;border-radius:11px}.planned-exercise-row>.exercise-picker-placeholder{display:grid;place-items:center;color:var(--coral-dark);background:var(--coral-soft)}.planned-exercise-main{display:flex;min-width:0;flex-direction:column;gap:4px}.planned-exercise-main strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.planned-exercise-main small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.planned-exercise-row label{display:flex;min-width:0;flex-direction:column;gap:3px}.planned-exercise-row label span{color:var(--muted);font-size:9px;font-weight:800}.planned-exercise-row input{min-width:0!important;min-height:34px!important;padding:0 7px!important;border-radius:8px!important;font-family:Space Mono,monospace;font-size:10px}.add-exercise-button{display:inline-flex;min-height:45px;align-items:center;justify-content:center;gap:7px;color:var(--coral-dark);background:var(--coral-soft);border:1px dashed rgba(255,75,58,.35);border-radius:12px;font-size:11px;font-weight:800}.secondary-button{min-height:42px;padding:0 14px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:12px;font-size:11px;font-weight:800}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.exercise-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:20px;background:#0f172a7a}.exercise-picker{display:flex;width:min(100%,720px);max-height:min(760px,calc(100vh - 40px));flex-direction:column;gap:17px;padding:24px;overflow:hidden;background:#fff;border-radius:22px;box-shadow:0 24px 70px #0f172a40}.exercise-picker-head,.exercise-picker-footer{display:flex;align-items:center;justify-content:space-between;gap:15px}.exercise-picker-head h2{margin:5px 0 0;font-size:22px;letter-spacing:-.05em}.exercise-picker-filters{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:8px}.picker-search{display:flex;min-height:42px;align-items:center;gap:8px;padding:0 12px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:12px}.picker-search input{width:100%;min-height:36px;padding:0;color:var(--ink);background:transparent;border:0;outline:0}.exercise-picker-filters select{min-height:42px;padding:0 10px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:12px;font-size:11px}.exercise-picker-list{display:flex;min-height:0;flex-direction:column;gap:7px;overflow:auto}.exercise-picker-sentinel{min-height:1px}.exercise-picker-end{display:flex;min-height:28px;align-items:center;justify-content:center;gap:10px;margin:0;text-align:center}.exercise-picker-end .form-error{margin:0}.exercise-picker-row{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;padding:8px;color:var(--ink);background:var(--surface-soft);border:1px solid transparent;border-radius:13px;text-align:left}.exercise-picker-row:hover,.exercise-picker-row.selected{border-color:var(--coral);background:var(--coral-soft)}.exercise-picker-image-button{position:relative;display:grid;width:44px;height:44px;padding:0;place-items:center;overflow:hidden;color:var(--coral-dark);background:#fff;border-radius:11px}.exercise-picker-image-button:focus-visible,.exercise-picker-select:focus-visible{outline:2px solid var(--coral);outline-offset:2px}.exercise-picker-image-button:disabled{cursor:not-allowed;opacity:.65}.exercise-picker-image-button img,.exercise-picker-placeholder{width:44px;height:44px;object-fit:cover;border-radius:11px}.exercise-picker-placeholder{display:grid;place-items:center;color:var(--coral-dark);background:#fff}.exercise-picker-image-hint{position:absolute;right:3px;bottom:3px;display:grid;width:18px;height:18px;place-items:center;color:#fff;background:#0f172ab8;border-radius:6px}.exercise-picker-select{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:0;color:inherit;background:transparent;border:0;text-align:left}.exercise-picker-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.exercise-picker-copy strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.exercise-picker-copy small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.exercise-picker-copy .exercise-picker-hold{color:#a16207;font-weight:800}.exercise-picker-check{display:grid;width:24px;height:24px;place-items:center;color:transparent;border:1px solid #cbd5e1;border-radius:7px}.exercise-picker-row.selected .exercise-picker-check{color:#fff;background:var(--coral);border-color:var(--coral)}.exercise-picker-footer{color:var(--muted);font-size:11px}.exercise-picker-footer>div{display:flex;align-items:center;gap:8px}.picker-confirm{min-height:42px;padding:0 14px;font-size:11px}.exercise-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:20px;background:#0f172ab3}.exercise-preview{display:flex;width:min(100%,900px);max-height:calc(100vh - 40px);flex-direction:column;gap:18px;padding:26px;overflow:auto;background:#fff;border-radius:24px;box-shadow:0 28px 90px #0f172a59;outline:0}.exercise-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.exercise-preview-head h2{margin:5px 0 6px;font-size:24px;letter-spacing:-.05em}.exercise-preview-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.exercise-preview-facts>div{min-width:0;padding:9px 12px;background:var(--surface-soft);border-radius:12px}.exercise-preview-facts dt,.exercise-preview-muscle-group h3,.exercise-preview-description h3{margin:0 0 5px;color:var(--muted);font-size:11px;font-weight:800}.exercise-preview-facts dd{margin:0;overflow-wrap:anywhere;font-size:13px;font-weight:700}.exercise-preview-muscles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.exercise-preview-muscle-group ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.exercise-preview-muscle-group li{max-width:100%;padding:6px 10px;overflow-wrap:anywhere;color:var(--coral-dark);background:var(--coral-soft);border-radius:9px;font-size:12px;font-weight:700}.exercise-preview-muscle-group li.illustrated{display:flex;flex:1 1 180px;align-items:center;gap:10px;min-width:0;padding:6px}.exercise-preview-muscle-group li.illustrated img{width:72px;height:72px;flex:none;object-fit:contain;background:#fff;border-radius:8px}.exercise-preview-muscle-group li.illustrated span{min-width:0;overflow-wrap:anywhere}.exercise-preview-muscle-group.secondary li{color:var(--ink);background:var(--surface-soft)}.exercise-preview-muscles>.muted{grid-column:1 / -1;margin:0;font-size:13px}.exercise-preview-description h3{color:var(--ink);font-size:13px}.exercise-preview-description p{margin:0;color:var(--muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.exercise-preview-stage{display:grid;align-items:center;min-height:420px;padding:20px;background:var(--surface-soft);border-radius:18px}.exercise-preview-stage figure{display:flex;position:relative;width:100%;min-width:0;flex-direction:column;align-items:center;gap:12px;margin:0}.exercise-preview-stage img{display:block;width:100%;max-height:min(68vh,680px);object-fit:contain;border-radius:14px}.exercise-preview-stage figcaption{position:absolute;right:12px;bottom:12px;left:12px;width:auto;min-height:0;padding:8px 10px;color:#fff;background:#141f2dc7;border-radius:9px;font-size:12px;font-weight:800;line-height:1.4;overflow-wrap:anywhere;text-align:center}.text-action{display:inline-flex;align-items:center;gap:5px;color:var(--coral-dark);background:transparent;font-size:11px;font-weight:800}.schedule-list{display:flex;flex-direction:column;gap:8px}.schedule-row{display:flex;min-height:54px;align-items:center;gap:12px;padding:8px 12px;background:var(--surface-soft);border-radius:13px}.schedule-row>span:first-child{width:43px;color:var(--muted);font-size:11px;font-weight:800}.schedule-row>span small{display:block;margin-top:2px;font-family:Space Mono,monospace;font-size:9px}.schedule-row strong{flex:1;font-size:12px}.schedule-row button{display:grid;width:30px;height:30px;place-items:center;color:var(--muted);background:transparent}.rest-row strong{color:var(--muted)}.rest-chip{padding:5px 8px;color:#a16207;background:#fef3c7;border-radius:7px;font-size:9px;font-weight:800}.save-button{align-self:flex-start}.social-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:start center;padding:90px 16px 24px;background:#0f172a6b}.social-modal{display:flex;width:min(100%,520px);max-height:calc(100vh - 114px);flex-direction:column;gap:18px;padding:24px;overflow-y:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:0 22px 60px #0f172a33}.social-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.social-modal h2,.social-panel h2{margin:4px 0 0;font-size:20px;letter-spacing:-.05em}.social-modal-link{align-self:flex-start}.notification-list,.social-search-results,.friends-list,.requests-list{display:flex;flex-direction:column;gap:10px}.notification-modal{gap:14px}.notification-read-all{align-self:flex-end;font-size:11px}.notification-item{display:flex;width:100%;min-width:0;align-items:center;gap:9px;padding:11px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:14px;text-align:left}.notification-main{display:flex;min-width:0;flex:1;align-items:center;gap:9px;padding:0;color:inherit;background:transparent;text-align:left}.notification-request-actions{display:flex;flex:0 0 auto;gap:5px}.notification-item:hover,.notification-item.unread{background:var(--blue-soft)}.notification-icon{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;color:#0084cf;background:#fff;border-radius:9px}.small-avatar{width:30px;height:30px;border-radius:10px;font-size:9px}.notification-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.notification-copy strong{overflow:hidden;font-size:11px;line-height:1.35;text-overflow:ellipsis}.notification-copy small{color:var(--muted);font-size:9px}.unread-dot{width:7px;height:7px;flex:0 0 auto;background:var(--coral);border-radius:50%}.notification-row,.social-person-row,.friend-card{display:flex;min-width:0;align-items:center;gap:11px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:16px}.social-person-row-clickable,.friend-card-clickable{cursor:pointer}.social-person-row-clickable:hover,.social-person-row-clickable:focus-visible,.friend-card-clickable:hover,.friend-card-clickable:focus-visible{border-color:var(--coral);outline:0;box-shadow:0 6px 18px #ff4b3a1f}.friend-card-main,.social-person-main{display:flex;min-width:0;flex:1;align-items:center;gap:11px;padding:0;color:inherit;background:transparent;text-align:left}.friend-card-main:focus-visible,.social-person-main:focus-visible{outline:3px solid rgba(255,75,58,.18);outline-offset:3px}.notification-row{flex-wrap:wrap}.social-person{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.social-person strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.social-person small,.relationship-status{color:var(--muted);font-size:10px}.social-avatar{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;color:#fff;background:var(--ink);border-radius:13px;font-family:Space Mono,monospace;font-size:11px;font-weight:700}.notification-actions,.request-actions{display:flex;gap:6px}.small-action{min-height:32px;padding:0 10px;border-radius:9px;font-size:10px;font-weight:800;white-space:nowrap}.small-action.accept{color:#087d5b;background:var(--green-soft)}.small-action.reject{color:var(--coral-dark);background:var(--coral-soft)}.small-action:disabled{cursor:wait;opacity:.55}.social-page{width:min(100%,760px)}.social-intro{align-items:center}.social-heading-icon{display:grid;width:54px;height:54px;place-items:center;color:#0084cf;background:var(--blue-soft);border-radius:18px}.social-panel{display:flex;flex-direction:column;gap:17px;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.social-search{display:flex;align-items:stretch;gap:9px}.search-input-wrap{display:flex;flex:1;align-items:center;gap:9px;min-width:0;padding:0 13px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:12px}.search-input-wrap input{width:100%;min-width:0;min-height:44px;color:var(--ink);background:transparent;border:0;outline:0;font:inherit;font-size:13px}.social-search .primary-button{min-height:44px;padding:0 16px}.social-empty{margin:0;padding:18px;color:var(--muted);background:var(--surface-soft);border-radius:14px;font-size:12px;line-height:1.6;text-align:center}.social-empty.compact{padding:10px;text-align:left}.social-count{display:grid;min-width:28px;height:28px;place-items:center;color:#0084cf;background:var(--blue-soft);border-radius:9px;font-family:Space Mono,monospace;font-size:11px;font-weight:700}.friend-streak{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:5px;color:var(--coral-dark);white-space:nowrap}.friend-streak strong{font-family:Space Mono,monospace;font-size:15px}.friend-streak small{grid-column:1 / -1;color:var(--muted);font-size:9px;text-align:right}.friend-encourage-button{margin-left:auto}.friend-workout-status{display:flex;align-items:center;gap:5px;max-width:180px;color:#087d5b;font-size:10px;font-weight:800;line-height:1.3;text-align:right}.reaction-modal{max-width:460px}.profile-modal{max-width:480px}.quick-reaction-modal{max-width:400px}.quick-reaction-copy{margin:0}.social-profile-heading{display:flex;align-items:center;gap:12px}.social-profile-heading>div{min-width:0;flex:1}.social-profile-heading>.profile-header-actions{position:relative;display:flex;flex:0 0 auto;gap:5px}.social-profile-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-profile-heading .muted{margin:3px 0 0;font-size:11px}.social-profile-avatar{width:56px;height:56px;border-radius:18px;background:linear-gradient(140deg,var(--coral),#ffab4c);font-size:14px}.profile-relationship{margin:0;padding:6px 10px;color:var(--coral-dark);background:var(--coral-soft);border-radius:999px;font-size:10px;font-weight:800;text-align:center}.profile-menu-trigger{width:30px;height:30px}.profile-menu{top:calc(100% + 5px);right:0;left:auto;min-width:145px}.social-profile-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.social-profile-stats>div{display:flex;flex-direction:column;gap:3px;padding:13px;background:var(--surface-soft);border-radius:14px}.social-profile-stats strong{color:var(--ink);font-family:Space Mono,monospace;font-size:20px}.social-profile-stats small,.profile-privacy-note{color:var(--muted);font-size:10px}.profile-pending-status{display:flex;align-items:center;gap:7px;margin:0;padding:10px 12px;color:#087d5b;background:var(--green-soft);border-radius:12px;font-size:11px;font-weight:800}.profile-posts{display:flex;flex-direction:column;gap:10px;padding-top:14px;border-top:1px solid var(--line)}.profile-posts-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-posts-heading h3{margin:0;color:var(--ink);font-size:13px}.profile-posts-heading span{min-width:22px;padding:4px 7px;color:var(--coral-dark);background:var(--coral-soft);border-radius:999px;font-family:Space Mono,monospace;font-size:9px;text-align:center}.profile-posts-list{display:flex;flex-direction:column;gap:9px}.profile-post{display:flex;flex-direction:column;gap:8px;padding:11px;background:var(--surface-soft);border:1px solid var(--line);border-radius:14px}.profile-post>small{color:var(--muted);font-size:9px}.profile-post>p{margin:0;color:var(--ink);font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.profile-post>img{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:11px}.profile-posts-empty{margin:0;font-size:11px}.search-modal-backdrop{place-items:center;padding:24px 16px}.search-modal{gap:14px;max-width:520px}.search-modal .social-search{margin-top:2px}.post-modal-backdrop{place-items:center;padding:24px 16px}.post-modal{max-width:540px}.social-post-form{display:flex;flex-direction:column;gap:13px}.social-post-text-label{position:relative;display:block}.social-post-text-label textarea{display:block;width:100%;min-height:132px;padding:14px 14px 29px;color:var(--ink);background:var(--surface-soft);border:1px solid var(--line);border-radius:16px;font:inherit;font-size:14px;line-height:1.45;resize:vertical}.social-post-text-label textarea:focus{border-color:var(--coral);outline:3px solid rgba(255,75,58,.14)}.social-post-text-label small{position:absolute;right:12px;bottom:10px;color:var(--muted);font-family:Space Mono,monospace;font-size:9px}.social-image-picker{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:0 14px;color:var(--coral-dark);background:var(--coral-soft);border:1px dashed rgba(255,75,58,.5);border-radius:13px;cursor:pointer;font-size:11px;font-weight:800}.social-image-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.social-post-preview{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:16px}.social-post-preview img{display:block;width:100%;max-height:250px;object-fit:cover}.social-post-preview .icon-button{position:absolute;top:9px;right:9px;color:#fff;background:#0f172ab3;border-color:transparent}.post-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:3px}.reaction-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.reaction-button{display:grid;min-height:54px;place-items:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;font-size:25px;transition:transform .18s ease,background .18s ease}.reaction-button:hover{background:var(--coral-soft);transform:translateY(-2px)}.reaction-button:disabled{color:#94a3b8;background:#e8edf3;border-color:#d7dee7;cursor:not-allowed;filter:grayscale(1);opacity:.8}.reaction-cooldown{margin:-3px 0 0;color:var(--muted);font-size:10px;line-height:1.45;text-align:center}.social-page{width:min(100%,860px)}.social-switcher{display:inline-flex;align-self:flex-start;gap:4px;padding:4px;background:var(--surface-soft);border:1px solid var(--line);border-radius:14px}.social-switcher button{display:inline-flex;min-height:38px;align-items:center;gap:8px;padding:0 14px;color:var(--muted);background:transparent;border-radius:10px;font-size:11px;font-weight:800}.social-switcher button.active{color:var(--ink);background:var(--surface);box-shadow:0 4px 12px #0f172a12}.social-switcher button span{display:grid;min-width:20px;height:20px;place-items:center;color:var(--coral-dark);background:var(--coral-soft);border-radius:7px;font-family:Space Mono,monospace;font-size:9px}.social-panel-accent{border-color:#00c48c4d;box-shadow:0 14px 36px #00c48c14}.social-panel-icon{display:grid;width:38px;height:38px;place-items:center;color:#0084cf;background:var(--blue-soft);border-radius:12px}.social-empty-action{display:flex;align-items:center;flex-direction:column;gap:8px;padding:26px 18px}.social-empty-action strong{color:var(--ink);font-size:13px}.social-empty-action p{max-width:330px;margin:0 0 5px;font-size:11px;line-height:1.55}.social-empty-icon{display:grid;width:46px;height:46px;margin-bottom:3px;place-items:center;color:#0084cf;background:var(--blue-soft);border-radius:15px}.challenge-hero{position:relative;display:flex;min-height:146px;align-items:center;justify-content:space-between;gap:20px;padding:24px;overflow:hidden;color:#fff;background:var(--ink);border-radius:var(--radius-card);box-shadow:0 16px 34px #0f172a29}.challenge-hero:after{position:absolute;right:-55px;bottom:-80px;width:210px;height:210px;content:"";background:#ff4b3a47;border-radius:50%}.challenge-hero-copy{z-index:1;display:flex;align-items:flex-start;gap:13px}.challenge-hero-icon{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;color:#fff;background:#ffffff24;border-radius:13px}.challenge-hero h2{max-width:440px;margin:5px 0;font-size:clamp(21px,3vw,28px);letter-spacing:-.05em;line-height:1.05}.challenge-hero p:not(.eyebrow){max-width:470px;margin:0;color:#ffffffb8;font-size:11px;line-height:1.5}.challenge-hero-mark{z-index:1;color:#ffffff29;font-family:Space Mono,monospace;font-size:76px;font-weight:700;line-height:1}.challenge-list{display:flex;flex-direction:column;gap:10px}.challenge-card{display:flex;flex-direction:column;gap:11px;padding:16px;background:var(--surface-soft);border:1px solid var(--line);border-radius:17px}.challenge-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.challenge-card h3{margin:6px 0 0;color:var(--ink);font-size:15px;letter-spacing:-.03em}.challenge-card p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.challenge-status,.challenge-duration{display:inline-flex;padding:5px 8px;color:#087d5b;background:var(--green-soft);border-radius:7px;font-size:9px;font-weight:800}.challenge-duration{color:#0084cf;background:var(--blue-soft)}.challenge-number{color:var(--coral-dark);font-family:Space Mono,monospace;font-size:22px;letter-spacing:-.08em;white-space:nowrap}.challenge-number small{color:var(--muted);font-size:11px;letter-spacing:0}.challenge-progress{height:8px;overflow:hidden;background:#dce5ec;border-radius:999px}.challenge-progress span{display:block;height:100%;background:var(--coral);border-radius:inherit}.challenge-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.challenge-card-footer small,.challenge-history-row small{color:var(--muted);font-size:10px}.challenge-card-available{flex-direction:row;align-items:center;justify-content:space-between;gap:18px}.challenge-card-available>div{min-width:0}.challenge-card-available .secondary-button{flex:0 0 auto;white-space:nowrap}.challenge-history-row,.friend-challenge-row{display:flex;min-width:0;align-items:center;gap:11px;padding:11px 12px;background:var(--surface-soft);border-radius:14px}.challenge-history-row>div,.friend-challenge-row .social-person{min-width:0}.challenge-history-row>div{display:flex;flex:1;flex-direction:column;gap:4px}.challenge-history-row strong{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.challenge-history-icon{display:grid;width:32px;height:32px;flex:0 0 auto;place-items:center;color:var(--coral-dark);background:var(--coral-soft);border-radius:10px}.challenge-history-icon.completed{color:#087d5b;background:var(--green-soft)}.challenge-history-value{color:var(--muted);font-family:Space Mono,monospace;font-size:10px;white-space:nowrap}.friend-challenge-row .small-action{flex:0 0 auto}.social-feed-page{gap:18px}.social-feed-header{display:flex;align-items:center;justify-content:space-between;gap:18px}.social-feed-header h1{margin:5px 0 4px;color:var(--ink);font-size:clamp(30px,5vw,42px);letter-spacing:-.07em;line-height:1}.social-feed-actions{display:flex;flex:0 0 auto;gap:9px}.social-round-button{display:grid;width:42px;height:42px;place-items:center;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:50%;box-shadow:0 5px 16px #0f172a0f}.social-round-button.search-button{color:var(--ink);background:var(--surface);border-color:var(--line)}.social-round-button.post-button{color:#fff;background:var(--coral);border-color:var(--coral);box-shadow:0 8px 18px #ff4b3a4d}.social-round-button.search-button:hover,.social-round-button.search-button:focus-visible{color:var(--coral-dark);border-color:var(--coral);box-shadow:0 7px 18px #ff4b3a29}.social-round-button.post-button:hover,.social-round-button.post-button:focus-visible{background:var(--coral-dark);border-color:var(--coral-dark)}.social-feed-tabs{width:100%;align-self:stretch;padding:0;overflow-x:auto;background:transparent;border:0;scrollbar-width:none}.social-feed-tabs::-webkit-scrollbar{display:none}.social-feed-tabs button{min-height:40px;padding:0 18px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:999px;box-shadow:0 3px 12px #0f172a0a;white-space:nowrap}.social-feed-tabs button.active{color:#fff;background:var(--coral);border-color:var(--coral);box-shadow:0 6px 14px #ff4b3a3b}.social-circle-strip{display:flex;flex-direction:column;gap:10px;margin:0 -4px}.social-feed-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 4px}.social-feed-section-heading h2{margin:0;color:var(--ink);font-size:14px;letter-spacing:-.03em}.social-feed-section-heading button{padding:4px;color:var(--coral-dark);background:transparent;font-size:11px;font-weight:800}.social-feed-section-heading>span{color:var(--muted);font-family:Space Mono,monospace;font-size:10px}.circle-strip-scroll{display:flex;gap:15px;padding:3px 4px 5px;overflow-x:auto;scrollbar-width:none}.circle-strip-scroll::-webkit-scrollbar{display:none}.circle-story{display:flex;min-width:62px;align-items:center;flex-direction:column;gap:6px;padding:0;color:var(--ink);background:transparent}.circle-story>strong{max-width:68px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.circle-story-avatar{position:relative;display:grid;width:62px;height:62px;place-items:center;padding:3px;color:#fff;background:conic-gradient(from 30deg,var(--coral),#ffab4c,var(--green),var(--coral));border-radius:50%}.circle-story-avatar:before{position:absolute;top:3px;right:3px;bottom:3px;left:3px;content:"";background:var(--surface);border-radius:inherit}.circle-story-avatar>span{z-index:1;display:grid;width:100%;height:100%;place-items:center;color:var(--ink);background:var(--surface-soft);border-radius:50%;font-family:Space Mono,monospace;font-size:12px;font-weight:700}.circle-story-avatar b{position:absolute;right:-1px;bottom:-1px;z-index:2;display:grid;width:21px;height:21px;place-items:center;color:#fff;background:var(--coral);border:2px solid var(--canvas);border-radius:50%;font-size:14px;line-height:1}.circle-story-avatar.pending{background:conic-gradient(from 30deg,var(--coral),var(--coral-dark),#ffab4c,var(--coral))}.circle-story.own .circle-story-avatar{background:#d8dee7}.circle-story.own .circle-story-avatar>span{color:#fff;background:var(--ink)}.social-strip-empty{align-self:center;margin:20px 0 0;color:var(--muted);font-size:11px}.community-challenge-banner{display:flex;min-height:98px;align-items:center;gap:13px;padding:16px 18px;overflow:hidden;color:#fff;background:linear-gradient(115deg,#e43d2d,var(--coral),#f25e43);border-radius:25px;box-shadow:0 13px 27px #ff4b3a42;text-align:left}.community-challenge-banner.quiet{color:var(--ink);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}.community-challenge-icon{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;color:#fff;background:#ffffff2e;border-radius:50%}.quiet .community-challenge-icon{color:var(--coral);background:var(--coral-soft)}.community-challenge-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.community-challenge-copy small,.community-challenge-stat small{color:#ffffffc7;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.quiet .community-challenge-copy small{color:var(--muted)}.community-challenge-copy strong{overflow:hidden;font-size:16px;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}.community-challenge-bar{display:block;height:6px;margin-top:6px;overflow:hidden;background:#ffffff45;border-radius:999px}.community-challenge-bar i{display:block;height:100%;background:#fff;border-radius:inherit}.community-challenge-stat{display:flex;align-items:flex-end;flex-direction:column;flex:0 0 auto}.community-challenge-stat strong{font-family:Space Mono,monospace;font-size:22px}.community-feed{display:flex;flex-direction:column;gap:13px}.community-feed>.social-feed-section-heading{margin-top:3px}.community-post{display:flex;flex-direction:column;gap:11px;padding:14px;background:var(--surface);border:1px solid rgba(232,237,243,.8);border-radius:25px;box-shadow:var(--shadow)}.social-user-post{gap:12px}.social-user-post .community-post-header .icon-button{margin-left:auto}.community-post-body{margin:0;color:var(--ink);font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.community-post-image{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:16px}.social-post-reactions{display:flex;flex-direction:column;gap:8px}.social-post-reaction-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.social-post-reaction-trigger{min-height:32px;padding:0 12px;color:var(--coral-dark);background:var(--coral-soft);border-radius:999px;font-size:10px;font-weight:800}.social-post-reaction-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;color:var(--muted);font-size:11px}.social-post-reaction-summary span{padding:3px 7px;background:var(--surface-soft);border:1px solid var(--line);border-radius:999px}.social-post-reaction-summary span.mine{color:var(--coral-dark);background:var(--coral-soft);border-color:#ff705d59}.social-post-reaction-picker{display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:var(--surface-soft);border:1px solid var(--line);border-radius:13px}.social-post-reaction-picker button{display:grid;width:34px;height:34px;place-items:center;background:var(--surface);border:1px solid var(--line);border-radius:10px;font-size:18px}.social-post-reaction-picker button.active{background:var(--coral-soft);border-color:var(--coral);box-shadow:0 0 0 2px #ff705d1f}.community-post-header{display:flex;align-items:center;gap:10px}.community-post-header>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.community-post-header strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.community-post-header small{color:var(--muted);font-size:10px}.community-post-header>.icon{color:var(--muted)}.community-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(140deg,var(--coral),#ffab4c)}.community-post-card{position:relative;display:flex;min-height:168px;flex-direction:column;justify-content:flex-end;gap:7px;padding:18px;overflow:hidden;color:var(--ink);background:linear-gradient(140deg,#eef0ff,#dce8fd 54%,#c8f5e6);border-radius:18px}.community-post-card:before{position:absolute;top:-75px;right:-25px;width:190px;height:190px;content:"";background:#ffffff94;border-radius:50%}.pending-post{min-height:142px;color:#fff;background:linear-gradient(140deg,#17253f,#274d69)}.milestone-tag,.community-post-card h3,.community-post-card p{z-index:1}.milestone-tag{display:inline-flex;width:max-content;align-items:center;gap:5px;padding:5px 9px;color:var(--coral-dark);background:#fff;border-radius:999px;font-size:9px;font-weight:800;text-transform:uppercase}.pending-post .milestone-tag{color:#087d5b}.community-post-card h3{max-width:75%;margin:0;font-size:20px;letter-spacing:-.05em;line-height:1.05}.community-post-card p{margin:0;color:var(--muted);font-size:11px}.pending-post p{color:#ffffffb8}.community-post-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.community-post-actions button{min-height:34px;padding:0 13px;color:var(--coral-dark);background:var(--coral-soft);border-radius:999px;font-size:10px;font-weight:800}.community-post-actions span{color:var(--muted);font-size:10px}.bottom-nav{position:fixed;right:50%;bottom:max(18px,env(safe-area-inset-bottom,0px));z-index:20;display:flex;width:min(calc(100% - 32px),480px);max-width:100%;justify-content:space-around;transform:translate(50%);padding:9px 8px;background:#ffffffeb;border:1px solid rgba(232,237,243,.9);border-radius:22px;box-shadow:0 17px 40px #0f172a21;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-nav a{display:flex;min-width:0;flex:1 1 0;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#94a3b8;border-radius:15px;font-size:9px;font-weight:800;white-space:nowrap;transition:color .18s ease,background .18s ease}.bottom-nav a.active{color:var(--coral);background:var(--coral-soft)}.bottom-nav a:hover{color:var(--coral-dark)}@media (min-width: 760px){.page-content{padding-top:54px}.bottom-nav{right:32px;bottom:max(28px,env(safe-area-inset-bottom,0px));transform:none}.hero-workout{min-height:310px}.exercise-list{display:grid;grid-template-columns:repeat(3,1fr)}.exercise-row{min-height:100px;flex-direction:column;align-items:flex-start;padding:14px}.exercise-image{width:100%;height:104px}.exercise-row>.icon{align-self:flex-end;margin-top:-22px}.recent-list{display:grid;grid-template-columns:repeat(3,1fr)}.recent-row{display:grid;grid-template-columns:auto 1fr}.recent-row .volume,.recent-row>.icon{grid-column:2}.routine-form{max-width:780px}.profile-hero{max-width:620px}}@media (max-width: 640px){.page-content{width:min(100% - 32px,560px);padding-top:30px}.topbar{height:66px;padding:0 16px}.metric-grid{grid-template-columns:1fr}.metric-card{grid-template-columns:auto 1fr auto}.metric-card small{grid-column:3;margin:0}.hero-workout{min-height:380px;align-items:flex-start;padding:28px 24px}.hero-ring{width:125px;height:125px}.hero-ring small{top:77px}.hero-copy{max-width:75%}.hero-workout.with-progress .hero-copy{padding-bottom:140px}.hero-side{position:absolute;right:18px;bottom:23px;gap:10px;margin-left:0}.hero-actions{padding:6px 0}.hero-side .primary-button{min-height:44px;margin-right:10px;margin-left:10px;padding-right:17px;padding-left:17px;font-size:11px}.routine-list{grid-template-columns:1fr}.social-search{flex-direction:column}.social-search .primary-button{width:100%}.search-modal-backdrop,.post-modal-backdrop{align-items:end;padding:16px 12px max(12px,env(safe-area-inset-bottom,0px))}.search-modal,.post-modal{width:100%;max-height:calc(100dvh - 28px);border-radius:26px 26px 20px 20px}.social-switcher{align-self:stretch}.social-switcher button{flex:1;justify-content:center}.challenge-hero{min-height:172px;align-items:flex-start;padding:20px}.challenge-hero-mark{position:absolute;right:16px;bottom:10px;font-size:62px}.challenge-card-available{align-items:flex-start;flex-direction:column}.challenge-card-available .secondary-button{width:100%}.friend-card{flex-wrap:wrap}.friend-card .friend-streak{margin-left:51px}.friend-card>.icon-button{margin-left:auto}.request-actions{width:100%;margin-left:51px}.request-actions .small-action{flex:1}.notification-actions{width:100%;margin-left:51px}.notification-actions .small-action{flex:1}.notification-item{flex-wrap:wrap}.notification-main{width:100%}.notification-request-actions{width:100%;margin-left:39px}.notification-request-actions .small-action{flex:1}.progress-highlight{min-height:315px;grid-template-columns:1fr}.chart-bars{height:120px}.chart-labels{right:27px;bottom:17px;left:27px}.form-grid{grid-template-columns:1fr}.routine-new-intro{align-items:flex-start;flex-direction:column;gap:12px}.rotation-options,.exercise-picker-filters{grid-template-columns:1fr}.selected-day-head{align-items:flex-start;flex-direction:column}.planned-exercise-row{grid-template-columns:42px repeat(2,minmax(0,1fr)) auto}.planned-exercise-row.cardio{grid-template-columns:56px minmax(0,1fr) auto;padding:14px}.planned-exercise-row.cardio>img,.planned-exercise-row.cardio>.exercise-picker-placeholder{width:56px;height:56px}.planned-exercise-row.cardio .planned-exercise-main{grid-column:2}.planned-exercise-row.cardio>.icon-button{grid-column:3}.planned-exercise-row .planned-exercise-main{grid-column:2 / span 2}.planned-exercise-row:not(.cardio)>label:nth-of-type(1){grid-column:2;grid-row:2}.planned-exercise-row:not(.cardio)>label:nth-of-type(2){grid-column:3;grid-row:2}.planned-exercise-row:not(.cardio)>label:nth-of-type(3){grid-column:2;grid-row:3}.planned-exercise-row:not(.cardio)>label:nth-of-type(4){grid-column:3;grid-row:3}.planned-exercise-row>img,.planned-exercise-row>.exercise-picker-placeholder{grid-row:1}.planned-exercise-row>.icon-button{grid-column:4;grid-row:1}.exercise-picker{padding:18px}.exercise-preview{max-height:calc(100vh - 24px);padding:18px}.exercise-preview-facts,.exercise-preview-muscles{grid-template-columns:minmax(0,1fr)}.exercise-preview-stage{min-height:300px;padding:10px}.exercise-picker-footer{align-items:flex-start;flex-direction:column}.exercise-picker-footer>div{width:100%;justify-content:flex-end}.welcome-row{align-items:flex-start;flex-direction:column}.streak-badge{align-self:flex-start}}@media (max-width: 420px){.cardio-plan-row{grid-template-columns:1fr;gap:12px}.cardio-mode-options{flex-wrap:wrap}.planned-exercise-row.cardio .cardio-mode-option{flex:1 1 110px}.cardio-reps-row{gap:10px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.trainer-users{display:flex;flex-direction:column;gap:10px}.trainer-user{display:flex;min-height:76px;align-items:center;gap:13px;padding:12px 15px;background:#fff;border:1px solid var(--line);border-radius:18px;transition:transform .18s ease,box-shadow .18s ease}.trainer-user:hover{box-shadow:var(--shadow);transform:translate(3px)}.trainer-avatar{display:grid;width:44px;height:44px;place-items:center;flex:0 0 auto;border-radius:14px;font-family:Space Mono,monospace;font-size:10px;font-weight:700}.trainer-avatar.coral{color:var(--coral-dark);background:var(--coral-soft)}.trainer-avatar.blue{color:#0084cf;background:var(--blue-soft)}.trainer-avatar.green{color:#008a65;background:var(--green-soft)}.mini-progress{display:block;width:min(180px,100%);height:5px;margin-top:7px;overflow:hidden;background:#edf1f5;border-radius:999px}.mini-progress i{display:block;height:100%;background:var(--coral);border-radius:inherit}.user-progress{color:var(--ink);font-family:Space Mono,monospace;font-size:11px;font-weight:700}.coach-summary{display:flex;align-items:center;gap:15px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.coach-summary>div{display:flex;flex:1;flex-direction:column;gap:8px}.coach-summary strong{font-size:15px}.coach-summary>b{color:var(--coral-dark);font-family:Space Mono,monospace;font-size:13px}.coach-actions{display:flex;flex-direction:column;gap:10px}.coach-actions a{display:grid;grid-template-columns:auto 1fr auto;column-gap:13px;align-items:center;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:17px}.coach-actions a>span:first-child{grid-row:span 2}.coach-actions strong{font-size:13px}.coach-actions small{color:var(--muted);font-size:11px}.coach-actions .icon{grid-row:span 2}.training-page{width:min(100%,760px);margin:-20px auto 0;padding:0}.training-session-header{display:flex;flex-direction:column;gap:14px;margin-bottom:14px;padding:0 1px}.training-top{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:12px}.training-status{display:flex;min-height:30px;align-items:center;justify-content:center;gap:8px;padding:0 12px;color:#047857;background:#ecfdf5;border:1px solid #d1fae5;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}.training-status>span{width:8px;height:8px;flex:0 0 8px;background:var(--green);border-radius:50%;animation:training-status-pulse 2s ease-in-out infinite}.training-status.paused{color:#a16207;background:#fffbeb;border-color:#fef3c7}.training-status.paused>span{background:var(--amber)}.training-status.completed{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe}.training-status.completed>span{background:var(--blue);animation:none}@keyframes training-status-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(1.18)}}@media (prefers-reduced-motion: reduce){.training-status>span,.session-clock strong i{animation:none}}.training-back{display:grid;width:42px;height:42px;place-items:center;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:50%;transform:rotate(180deg)}.training-back.locked,.training-back:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed;opacity:.8}.training-top .icon-button{flex:0 0 auto}.training-menu{position:relative;width:42px;height:42px}.training-menu .icon-button.menu-open{color:#fff;background:var(--ink)}.training-menu-popover{position:absolute;z-index:5;top:calc(100% + 8px);right:0;display:flex;width:min(190px,calc(100vw - 32px));flex-direction:column;gap:3px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 30px #10203924}.training-menu-popover button{display:flex;min-height:42px;align-items:center;gap:9px;padding:0 10px;color:var(--ink);border-radius:9px;font-size:11px;font-weight:800;text-align:left}.training-menu-popover button:hover,.training-menu-popover button:focus-visible{background:var(--surface-soft)}.training-menu-popover button:disabled{color:#94a3b8;cursor:not-allowed;opacity:.65}.training-exercise-nav{display:flex;gap:10px;overflow-x:auto;margin:0 -2px -2px;padding:2px;scrollbar-width:none}.training-exercise-nav::-webkit-scrollbar{display:none}.training-exercise-nav button{display:inline-flex;min-height:38px;align-items:center;gap:7px;flex:0 0 auto;padding:0 11px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:999px;font-size:10px;font-weight:800}.training-exercise-nav button span{color:var(--coral-dark);font-family:Space Mono,monospace;font-size:9px}.training-exercise-nav button.active{color:#fff;background:linear-gradient(100deg,var(--coral),#f97316);border-color:transparent;box-shadow:0 8px 18px #ff4b3a2e}.training-exercise-nav button.active span{color:#fff}.training-meta{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:2px 0 0}.training-title-block{min-width:0}.training-context{display:flex;align-items:center;gap:8px;min-width:0;color:var(--muted);font-size:11px;font-weight:700;line-height:1.4}.training-context span:first-child{overflow:hidden;color:#94a3b8;font-size:10px;font-weight:800;letter-spacing:.1em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.training-context span:nth-child(2){color:#cbd5e1}.training-context strong{white-space:nowrap}.training-meta h1{margin:7px 0 0;color:var(--ink);font-size:clamp(24px,5vw,34px);letter-spacing:-.065em;line-height:1.04}.session-clock{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.session-clock span{color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.session-clock strong{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;color:#fff;background:var(--ink);border-radius:10px;font-family:Space Mono,monospace;font-size:16px;letter-spacing:.04em;white-space:nowrap}.session-clock strong i{width:7px;height:7px;background:var(--coral);border-radius:50%;animation:training-status-pulse 2s ease-in-out infinite}.training-schedule-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;font-size:11px;line-height:1.4}.training-schedule-note>div{display:flex;min-width:0;align-items:center;gap:8px}.training-schedule-note .icon{flex:0 0 auto;color:#94a3b8}.training-schedule-note span{min-width:0}.training-schedule-note span strong{color:var(--ink);font-weight:700}.training-schedule-note>strong{color:#f97316;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap}.exercise-focus{padding:24px;color:#fff;background:#102039;border-radius:var(--radius-card);box-shadow:0 18px 38px #10203929}.training-card.flip-enabled{perspective:1200px}.training-card-inner{display:contents}.training-card.flip-enabled .training-card-inner{display:grid;transform-style:preserve-3d;transition:transform .52s cubic-bezier(.22,.61,.36,1)}.training-card.flip-enabled .training-card-face{grid-area:1 / 1;min-width:0;backface-visibility:hidden;-webkit-backface-visibility:hidden}.training-card.flip-enabled .training-card-back,.training-card.flip-enabled.show-back .training-card-inner{transform:rotateY(180deg)}.training-card.flip-enabled .sets-card{margin-top:0}@media (prefers-reduced-motion: reduce){.training-card.flip-enabled .training-card-inner{transition:none}}.exercise-focus-head{display:flex;align-items:start;justify-content:space-between;gap:15px}.step-label{color:#ffffff8f;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.exercise-focus h2{margin:9px 0 0;font-size:26px;letter-spacing:-.06em}.exercise-focus-side{display:flex;min-width:58px;flex-direction:column;align-items:center;gap:10px}.exercise-guide-trigger{position:relative;display:grid;width:58px;height:58px;flex:none;padding:0;place-items:center;overflow:hidden;color:#fff;background:#ffffff1f;border:1px solid rgba(255,255,255,.28);border-radius:12px}.exercise-guide-trigger:focus-visible{outline:2px solid #7cebc8;outline-offset:3px}.exercise-guide-trigger img{width:100%;height:100%;object-fit:cover}.exercise-guide-trigger>span{position:absolute;right:3px;bottom:3px;display:grid;width:19px;height:19px;place-items:center;background:#0f172ac7;border-radius:6px}.exercise-tag{padding:7px 10px;color:#7cebc8;background:#00c48c1f;border-radius:8px;font-size:10px;font-weight:800}.last-result{margin:18px 0 22px;color:#ffffff94;font-size:11px}.session-progress{margin:12px 0 0;color:#ffffffa8;font-size:10px;font-weight:700;line-height:1.4}.last-result strong{margin-left:5px;color:#fff;font-family:Space Mono,monospace;font-size:11px}.target-hint{display:block;margin-top:4px;color:#ffffff94;font-size:10px}.locked-session-message{margin:-10px 0 18px;padding:9px 11px;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;font-size:10px;line-height:1.4}.locked-session-message.compact{margin:5px 0 0;text-align:center}.rest-timer{position:relative;display:flex;min-height:120px;align-items:center;justify-content:space-between;overflow:hidden;padding:18px 22px;background:#ffffff14;border-radius:17px}.skipped-exercise-state{display:flex;min-height:120px;flex-direction:column;justify-content:center;gap:8px;padding:18px 22px;background:#ffffff14;border-radius:17px}.skipped-exercise-state strong{color:#ffd0ca;font-size:17px}.skipped-exercise-state small{color:#ffffff9e;font-size:10px}.rest-copy{position:relative;z-index:1;display:flex;flex-direction:column;gap:5px}.rest-copy span{color:#7cebc8;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.rest-copy strong{font-family:Space Mono,monospace;font-size:31px;letter-spacing:-.07em}.rest-copy small{color:#ffffff8c;font-size:10px}.rest-timer svg{position:absolute;right:70px;width:118px;height:118px;transform:rotate(-90deg)}.rest-track,.rest-value{fill:none;stroke-width:4}.rest-track{stroke:#ffffff1a}.rest-value{stroke:var(--coral);stroke-dasharray:264;stroke-dashoffset:55;stroke-linecap:round}.rest-timer button{position:relative;z-index:1;min-height:35px;margin-left:12px;padding:0 11px;color:#fff;background:#ffffff1f;border-radius:9px;font-size:10px;font-weight:800}.sets-card{display:flex;flex-direction:column;gap:12px;margin-top:16px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow)}.sets-head,.set-row{display:grid;grid-template-columns:44px 1fr 1fr 44px;align-items:center;gap:12px}.sets-head{padding:0 8px 8px;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.set-start-button{width:100%;min-height:44px;margin-bottom:2px;font-size:11px}.sets-head small{color:#94a3b8;font-size:8px}.set-row{min-height:56px;padding:8px 9px;background:var(--surface-soft);border:1px solid transparent;border-radius:13px}.set-row.complete{background:var(--green-soft);border-color:#00c48c26}.set-row.cardio,.sets-card:has(.set-row.cardio) .sets-head{grid-template-columns:44px minmax(0,1fr) 44px}.cardio-set-values{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.cardio-set-values label{display:flex;flex:1 1 95px;flex-direction:column;gap:4px;font-size:10px}.cardio-set-values small{flex-basis:100%}.cardio-required-hint{margin:-6px 8px 4px 56px;color:var(--coral-dark);font-size:12px;font-weight:700}.set-number{display:grid;width:27px;height:27px;place-items:center;color:var(--muted);background:#fff;border-radius:9px;font-family:Space Mono,monospace;font-size:10px}.complete .set-number{color:#fff;background:var(--green)}.set-row input{width:100%;min-height:38px;padding:0 9px;color:var(--ink);background:#fff;border:1px solid #e3e9f0;border-radius:9px;font-family:Space Mono,monospace;font-size:12px;outline:none}.set-row input:focus{border-color:var(--blue)}.set-row input:disabled,.set-check:disabled{cursor:not-allowed;opacity:.65}.set-check{display:grid;width:36px;height:36px;place-items:center;color:#94a3b8;background:#fff;border:1px solid #d9e1e9;border-radius:11px}.set-check.checked{color:#fff;background:var(--green);border-color:var(--green)}.add-set{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:7px;margin-top:5px;color:var(--coral-dark);background:var(--coral-soft);border-radius:11px;font-size:11px;font-weight:800}.add-series-below .icon{width:17px;height:17px;flex:0 0 17px}.add-series-below{width:100%;margin-top:16px;background:#f97316;box-shadow:0 12px 23px #f9731633}.add-series-below:hover{background:#ea580c}.save-status{color:var(--muted);font-size:10px;text-align:center}.save-error{color:var(--coral-dark);font-size:10px;text-align:center}.training-actions{display:block;margin-top:16px}.session-navigation-actions{display:block}.next-exercise-button{width:100%}.return-locked{cursor:not-allowed;opacity:.65}@media (max-width: 640px){.training-page{width:min(100% - 32px,560px);margin:-6px auto 0;padding:0}.training-session-header{gap:14px;padding:2px 1px 0}.training-meta{gap:12px}.training-context{gap:6px;font-size:10px}.training-context strong{overflow:hidden;text-overflow:ellipsis}.training-meta h1{font-size:clamp(23px,8vw,31px)}.session-clock span{font-size:9px}.session-clock strong{padding:6px 8px;font-size:14px}.training-schedule-note{align-items:flex-start}.exercise-focus{padding:20px}.exercise-guide-trigger{width:52px;height:52px}.rest-timer{padding:15px}.rest-timer svg{right:44px;width:100px;height:100px}.rest-copy small{max-width:160px;line-height:1.4}.sets-card{padding:15px}}
