@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid}}}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.container{width:100%}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.auth-card--dark input{color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important}.auth-card--dark input::placeholder{color:#f1f5f999!important;opacity:1}.auth-toggle-row{display:flex;gap:6px;background:#f7fafc;border-radius:12px;padding:6px;margin-bottom:24px;transition:box-shadow .35s ease,border-color .25s ease}.auth-toggle-row:hover{box-shadow:0 10px 25px -6px #6366f138}.auth-toggle-row--dark{background:#1e293be6;border:1px solid rgba(129,140,248,.35)}.auth-toggle-row--dark:hover{box-shadow:0 12px 32px -4px #6366f159,0 0 40px -12px #ec489926}.auth-tab-btn{flex:1;padding:12px;border:none;border-radius:8px;font-size:17px;font-weight:600;cursor:pointer;transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .3s ease,background .3s ease,color .2s ease}.auth-tab-btn--inactive{background:transparent;color:#718096}.auth-card:not(.auth-card--dark) .auth-tab-btn--inactive:hover{background:linear-gradient(135deg,#6366f124,#ec48991f);color:#5b21b6;transform:translateY(-2px);box-shadow:0 6px 18px #a855f733}.auth-tab-btn--active{background:#fff;color:#4a5568;box-shadow:0 4px 14px #6366f12e}.auth-card:not(.auth-card--dark) .auth-tab-btn--active:hover{box-shadow:0 8px 26px #6366f14d;transform:translateY(-1px)}.auth-card--dark .auth-tab-btn--inactive{color:#94a3b8}.auth-card--dark .auth-tab-btn--inactive:hover{background:linear-gradient(135deg,#6366f166,#ec489938);color:#fce7f3;transform:translateY(-2px);box-shadow:0 8px 24px #8b5cf659}.auth-card--dark .auth-tab-btn--active{background:linear-gradient(145deg,#1e293b,#3730a3);color:#f1f5f9;border:1px solid rgba(129,140,248,.45);box-shadow:0 10px 28px #4f46e573}.auth-card--dark .auth-tab-btn--active:hover{box-shadow:0 12px 40px #22d3ee33,0 10px 28px #6366f180;transform:translateY(-2px)}.auth-input-field{transition:border-color .25s ease,box-shadow .3s ease,background .25s ease}.auth-card:not(.auth-card--dark) .auth-input-field:hover{border-color:#a5b4fc!important;box-shadow:0 0 0 3px #a5b4fc4d}.auth-card--dark .auth-input-field:hover{border-color:#818cf8!important;box-shadow:0 0 0 3px #818cf840}.auth-input-field--password{padding-right:52px!important}.auth-password-toggle{position:absolute;right:10px;top:50%;z-index:2;transform:translateY(-50%);width:42px;height:42px;border:none;border-radius:10px;cursor:pointer;font-size:1.25rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#6366f126,#ec48991f);transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .3s ease,background .25s ease,filter .2s ease}.auth-password-toggle:hover{background:linear-gradient(135deg,#818cf8,#ec4899 40%,#22d3ee);filter:saturate(1.1);box-shadow:0 8px 22px #ec489966;transform:translateY(-50%) scale(1.08)}.auth-card--dark .auth-password-toggle{background:#6366f14d}.auth-card--dark .auth-password-toggle:hover{background:linear-gradient(135deg,#6366f1,#a855f7,#06b6d4);box-shadow:0 10px 28px #06b6d459}.auth-submit-btn{transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .35s ease,filter .25s ease!important}.auth-submit-btn:hover:not(:disabled){transform:translateY(-4px);filter:saturate(1.2) brightness(1.06)}.auth-card:not(.auth-card--dark) .auth-submit-btn:hover:not(:disabled){box-shadow:0 16px 40px #667eea73,0 0 48px -10px #ec489959!important}.auth-card--dark .auth-submit-btn:hover:not(:disabled){box-shadow:0 18px 44px #22d3ee59,0 12px 36px #10b98166!important}.auth-submit-btn:active:not(:disabled){transform:translateY(-1px)}.auth-switch-mode-btn{transition:color .2s ease,transform .2s ease,text-shadow .25s ease}.auth-card:not(.auth-card--dark) .auth-switch-mode-btn:hover{color:#c026d3!important;text-shadow:0 0 20px rgba(192,38,211,.35);transform:scale(1.05)}.auth-card--dark .auth-switch-mode-btn:hover{color:#fde047!important;text-shadow:0 0 24px rgba(250,204,21,.45);transform:scale(1.05)}html{-webkit-text-size-adjust:100%}body{overflow-x:hidden;background:var(--bg-surface);font-size:var(--font-body);line-height:var(--font-body-line);color:var(--text-main)}#root{min-height:100vh;position:relative}.light-iridescence-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none;width:100%;height:100%}.dark-veil-backdrop{position:fixed;inset:0;z-index:0;pointer-events:none;width:100%;min-height:100vh;height:100%}.dark-veil-backdrop-inner{position:absolute;inset:0;width:100%;min-height:100%;height:100%}.app-root-layer{position:relative;z-index:1;min-height:100vh}.app-root-layer--aurora,.app-root-layer--dark-aurora{isolation:isolate}.dark-theme .app-root-layer--dark-aurora .dashboard,.dark-theme .app-root-layer--dark-aurora .main-content{background:transparent}.dark-theme .app-root-layer--dark-aurora .workout-card,.dark-theme .app-root-layer--dark-aurora .track-panel,.dark-theme .app-root-layer--dark-aurora .workout-timer-card{background:#0f172ab8;backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08);border:1px solid rgba(71,85,105,.55);box-shadow:0 16px 48px #0000008c,inset 0 1px #94a3b81f}.dark-theme .app-root-layer--dark-aurora .modal-content{background:#0f172af0;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.app-root-layer--aurora .auth-card--aurora{background:#ffffffeb;backdrop-filter:blur(20px) saturate(1.05);-webkit-backdrop-filter:blur(20px) saturate(1.05);border:1px solid rgba(255,255,255,.85);box-shadow:0 20px 60px #33415524,inset 0 1px #fff}.app-root-layer--aurora .dashboard{background:transparent;padding:12px;gap:12px;box-sizing:border-box}.app-root-layer--aurora .sidebar{background:#ffffff94;backdrop-filter:blur(22px) saturate(1.08);-webkit-backdrop-filter:blur(22px) saturate(1.08);border:1px solid rgba(255,255,255,.85);border-radius:0 22px 22px 0;border-left:none;box-shadow:0 12px 40px #3341551f,inset 0 1px #fffffff2}.app-root-layer--aurora .sidebar .logo,.app-root-layer--aurora .sidebar .nav-btn{color:var(--text-main)}.app-root-layer--aurora .sidebar .nav-btn:hover,.app-root-layer--aurora .sidebar .nav-btn.active{background:#6366f11f;color:#4338ca}.app-root-layer--aurora .sidebar .logout-btn{color:#b91c1c;background:#fecaca8c;border:1px solid rgba(248,113,113,.35)}.app-root-layer--aurora .sidebar .logout-btn:hover{background:#fca5a5a6}.app-root-layer--aurora .sidebar .theme-toggle-slider.sidebar{margin-left:auto;margin-right:auto;margin-bottom:18px;padding:12px 12px 14px;border-radius:14px;background:#ffffff61;border:1px solid rgba(255,255,255,.72);box-shadow:inset 0 1px #ffffff8c,0 4px 18px #6366f114;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-sizing:border-box;align-items:center}.app-root-layer--aurora .sidebar .theme-toggle-slider.sidebar .theme-toggle-labels{margin-top:10px;padding:0 8px 4px;width:100%;box-sizing:border-box;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#64748b;height:auto;min-height:0;line-height:1.35}.app-root-layer--aurora .sidebar .theme-toggle-slider.sidebar .theme-toggle-labels span:first-child,.app-root-layer--aurora .sidebar .theme-toggle-slider.sidebar .theme-toggle-labels span:last-child{margin-left:0;margin-right:0}.app-root-layer--aurora .sidebar .toggle-sidebar{align-items:center}.dark-theme .app-root-layer--dark-aurora .sidebar .theme-toggle-slider.sidebar{margin-bottom:18px;padding:12px 11px 14px;border-radius:14px;background:#0f172a8c;border:1px solid rgba(148,163,184,.28);box-shadow:inset 0 1px #94a3b81f,0 4px 20px #00000059;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-sizing:border-box}.dark-theme .app-root-layer--dark-aurora .sidebar .theme-toggle-slider.sidebar .theme-toggle-labels{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8;height:auto;min-height:0;line-height:1.35}.app-root-layer--aurora .main-content{background:transparent;border-radius:22px;box-shadow:none;border:none}.app-root-layer--aurora .main-content>header{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;padding:0 0 4px;margin-bottom:20px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border:none;border-radius:0;box-shadow:none}.dark-theme .app-root-layer--dark-aurora .main-content>header{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;padding:0 0 4px;margin-bottom:20px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border:none;border-radius:0;box-shadow:none}.app-root-layer--aurora .main-content>header h1{color:#1e1b4b;font-weight:800;letter-spacing:-.03em;text-shadow:none}.app-root-layer--aurora .challenges-subtitle{color:var(--text-label)}.app-root-layer--aurora .challenges-points-banner{background:linear-gradient(135deg,#6366f18c,#8b5cf66b);border:1px solid rgba(255,255,255,.45);color:#1e1b4b;box-shadow:0 12px 36px #6366f124}.app-root-layer--aurora .challenges-points-banner__label{color:#334155;opacity:1}.app-root-layer--aurora .challenges-points-banner__hint{color:#475569;opacity:1}.app-root-layer--aurora .challenges-points-banner__value{color:#312e81}.app-root-layer--aurora .challenges-panel:not(.challenges-panel--dark){background:#ffffff94;backdrop-filter:blur(16px) saturate(1.05);-webkit-backdrop-filter:blur(16px) saturate(1.05);border:1px solid rgba(255,255,255,.85);box-shadow:0 6px 24px #6366f114,inset 0 1px #ffffffe6}.app-root-layer--aurora .challenges-panel__title{color:#1e1b4b}.app-root-layer--aurora .challenges-earn-row{background:#ffffff73;border:1px solid rgba(255,255,255,.5);border-left:3px solid rgba(99,102,241,.65)}.app-root-layer--aurora .challenges-earn-row__name{color:#0f172a}.app-root-layer--aurora .challenges-lb-row:not(.challenges-lb-row--gold):not(.challenges-lb-row--silver):not(.challenges-lb-row--bronze){background:#ffffff59}.app-root-layer--aurora .create-btn{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 8px 24px #6366f159;border:1px solid rgba(255,255,255,.35)}.app-root-layer--aurora .create-btn:hover{transform:translateY(-2px);box-shadow:0 12px 32px #6366f16b;color:#fff}.app-root-layer--aurora .workout-card{background:#ffffff9e;backdrop-filter:blur(16px) saturate(1.05);-webkit-backdrop-filter:blur(16px) saturate(1.05);border:1px solid rgba(255,255,255,.85);box-shadow:0 8px 28px #6366f114,inset 0 1px #fffffff2}.app-root-layer--aurora .workout-card:hover{background:#ffffffc7;border-color:#c4b5fda6}.app-root-layer--aurora .workout-card .card-header h3,.app-root-layer--aurora .workout-card .exercise-item-name{color:#0f172a}.app-root-layer--aurora .workout-card .description,.app-root-layer--aurora .workout-card .exercises-preview h4{color:#475569}.app-root-layer--aurora .community-sub-tabs{display:flex;flex-wrap:wrap;gap:4px;margin-top:12px}.app-root-layer--aurora .community-search-wrap{background:transparent;border:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0}.app-root-layer--aurora .community-search-input{background:var(--bg-card);color:var(--text-main);border:2px solid var(--border-soft);border-radius:12px;max-width:400px}.app-root-layer--aurora .community-search-input::placeholder{color:var(--text-subtle)}.app-root-layer--aurora .community-search-input:focus{outline:none;border-color:#6366f1}.app-root-layer--aurora .community-search-icon{color:var(--text-subtle)}.app-root-layer--aurora .community-sub-tab{background:var(--bg-card-soft);color:var(--text-subtle);border:none;border-radius:10px}.app-root-layer--aurora .community-sub-tab:hover{background:var(--bg-card);color:var(--text-main)}.app-root-layer--aurora .community-sub-tab.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 4px 16px #6366f159}.app-root-layer--aurora .workout-history-section{border-top-color:#94a3b859}.app-root-layer--aurora .workout-history-title{color:#1e1b4b;text-shadow:none}.app-root-layer--aurora .workout-history-clear-btn{background:#fffffff0;border:2px solid #b91c1c;color:#7f1d1d;box-shadow:0 2px 10px #0000001f,inset 0 1px #fff}.app-root-layer--aurora .workout-history-clear-btn:hover{background:#b91c1c;border-color:#991b1b;color:#fff}.dark-theme .app-root-layer--dark-aurora .workout-history-clear-btn{background:#0f172aeb;border:2px solid #f87171;color:#fecdd3;box-shadow:0 2px 12px #00000073,inset 0 1px #ffffff0f}.dark-theme .app-root-layer--dark-aurora .workout-history-clear-btn:hover{background:#dc2626;border-color:#ef4444;color:#fff}.app-root-layer--aurora .workout-history-empty{background:#ffffff80;border:1px dashed rgba(148,163,184,.55);color:#475569}.app-root-layer--aurora .workout-history-card{background:#ffffff94;color:#0f172a;border:1px solid rgba(255,255,255,.85)}.app-root-layer--aurora .track-panel{background:#ffffff94;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.85)}.app-root-layer--aurora .theme-toggle-slider.header .theme-toggle-track{background:#e2e8f0eb;border:1px solid rgba(148,163,184,.55)}.app-root-layer--aurora .theme-toggle-slider.header .theme-toggle-thumb{background:#fff;box-shadow:0 1px 3px #0f172a1f}.app-root-layer--aurora .theme-toggle-slider.header .theme-toggle-icon.on-thumb{color:#0f172a}.app-root-layer--aurora .theme-toggle-slider.header .theme-toggle-icon.on-dark{color:#475569}.app-root-layer--aurora .sidebar-close-btn{background:#ffffffbf;color:#334155;border:1px solid rgba(226,232,240,.95)}.app-root-layer--aurora .hamburger-btn{background:#ffffffb3;border:1px solid rgba(226,232,240,.95);color:#1e293b;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-root-layer--aurora .action-btn.start{background:#dcfce7eb;color:#14532d}.app-root-layer--aurora .action-btn.view{background:#dbeafef2;color:#1e3a8a}.app-root-layer--aurora .action-btn.edit{background:#ffedd5f2;color:#9a3412}.app-root-layer--aurora .action-btn.delete{background:#fee2e2f2;color:#991b1b}@media(max-width:768px){.app-root-layer--aurora .dashboard{padding:0;gap:0}.app-root-layer--aurora .main-content{padding:16px;padding-top:calc(120px + env(safe-area-inset-top,0px));transform:none}.app-root-layer--aurora .main-content:has(>.community-search-wrap){padding-top:calc(188px + env(safe-area-inset-top,0px))}.app-root-layer--aurora .main-content:has(>.page-header-dashboard){padding-top:calc(158px + env(safe-area-inset-top,0px))}.app-root-layer--aurora .main-content.community-feed-layout{padding-top:calc(188px + env(safe-area-inset-top,0px))}.app-root-layer--aurora .main-content:has(>header.profile-page-header){padding-top:calc(172px + env(safe-area-inset-top,0px))}.app-root-layer--aurora .main-content:has(>header.tracking-page-header){padding-top:calc(140px + env(safe-area-inset-top,0px))}.app-root-layer--aurora .main-content>header{position:fixed;top:0;left:0;right:0;width:100%;box-sizing:border-box;margin:0;border-radius:0;border:none;border-bottom:1px solid var(--border-soft);padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));z-index:200;background:var(--bg-surface);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 2px 12px #00000014}.dark-theme .app-root-layer--dark-aurora .main-content{padding:16px;padding-top:calc(120px + env(safe-area-inset-top,0px));transform:none}.dark-theme .app-root-layer--dark-aurora .main-content:has(>.community-search-wrap){padding-top:calc(188px + env(safe-area-inset-top,0px))}.dark-theme .app-root-layer--dark-aurora .main-content:has(>.page-header-dashboard){padding-top:calc(158px + env(safe-area-inset-top,0px))}.dark-theme .app-root-layer--dark-aurora .main-content.community-feed-layout{padding-top:calc(188px + env(safe-area-inset-top,0px))}.dark-theme .app-root-layer--dark-aurora .main-content:has(>header.profile-page-header){padding-top:calc(172px + env(safe-area-inset-top,0px))}.dark-theme .app-root-layer--dark-aurora .main-content:has(>header.tracking-page-header){padding-top:calc(140px + env(safe-area-inset-top,0px))}.dark-theme .app-root-layer--dark-aurora .main-content>header{position:fixed;top:0;left:0;right:0;width:100%;box-sizing:border-box;margin:0;border-radius:0;border:none;border-bottom:1px solid var(--border-soft);padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));z-index:200;background:var(--bg-surface);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 2px 12px #00000014}.app-root-layer--aurora .community-search-input{max-width:none}.app-root-layer--aurora .sidebar{border-radius:0 22px 22px 0;margin:0;background:#ffffffb8;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}}:root{--font-body: 17px;--font-body-line: 1.55;--bg-gradient: linear-gradient(145deg, #94a3b8 0%, #64748b 48%, #0d9488 100%);--bg-surface: #f1f5f9;--bg-card: #ffffff;--bg-card-soft: #f8fafc;--border-soft: #e2e8f0;--text-main: #0f172a;--text-subtle: #475569;--text-label: #334155;--text-muted: #475569;--bg-secondary: #f1f5f9;--creator-name: #4338ca;--shadow-soft: 0 4px 14px rgba(99, 102, 241, .1);--shadow-card: 0 4px 20px rgba(15, 23, 42, .08);--accent-light: #eef2ff;--accent-border: #c7d2fe}.dark-theme{color-scheme:dark;--bg-surface: #020617;--bg-card: #020617;--bg-card-soft: #020617;--border-soft: #1f2937;--text-main: #e5e7eb;--text-subtle: #b8c5d4;--text-label: #d1d5db;--text-muted: #b8c5d4;--bg-secondary: rgba(30, 41, 59, .92);--creator-name: #a5b4fc;--shadow-soft: 0 12px 32px rgba(0, 0, 0, .75);--shadow-card: 0 24px 60px rgba(0, 0, 0, .9);--accent-light: rgba(99, 102, 241, .15);--accent-border: rgba(99, 102, 241, .4)}html:not(.dark-theme) .session-rest-bar.inactive{color:var(--text-label);opacity:1}html:not(.dark-theme) .exercises-preview h4{color:var(--text-label);font-weight:600}html:not(.dark-theme) .workout-history-empty{color:var(--text-label)}.dark-theme body{background:#000}.dark-theme .dashboard{background:radial-gradient(circle at top,#020617,#000 55%,#020617)}.dark-theme .sidebar{background:#0f172aeb;border-right:1px solid rgba(51,65,85,.9)}.dark-theme .main-content{background:#020617}.dark-theme header h1{color:#e5e7eb}.dark-theme .workout-card,.dark-theme .track-panel,.dark-theme .workout-timer-card,.dark-theme .modal-content{background:#020617;border:1px solid rgba(55,65,81,.9);box-shadow:0 20px 60px #000000e6}.dark-theme .workout-card h3,.dark-theme .description,.dark-theme .exercises-preview h4,.dark-theme .track-item,.dark-theme .water-today h3,.dark-theme .timer-time,.dark-theme .template-card h4{color:#e5e7eb}.dark-theme .description,.dark-theme .template-card p,.dark-theme .timer-setting label,.dark-theme .track-item .notes{color:#9ca3af}.dark-theme .track-item{background:#020617}.dark-theme .track-form-row input,.dark-theme .track-form-row select,.dark-theme .pr-form-input,.dark-theme .water-quick-add input,.dark-theme .timer-setting input,.dark-theme .form-group input[type=text],.dark-theme .form-group textarea{background:#020617;border-color:#374151;color:#e5e7eb}.dark-theme .modal-header{border-bottom-color:#111827}.dark-theme .close-btn{background:#020617;color:#9ca3af}.dark-theme .close-btn:hover{background:linear-gradient(135deg,#4c1d9580,#1e1b4be6);border-color:#a78bfa;color:#e9d5ff;box-shadow:0 8px 24px #8b5cf659}.dark-theme .timer-header-btn{background:#0f172ae6;color:#e5e7eb;border-color:#4f46e5}.dark-theme .timer-header-btn:hover{background:#4f46e5}.dark-theme .timer-nav-btn{background:#2563eb40}.dark-theme .track-tab{background:#020617;border-color:#111827;color:#e5e7eb}.dark-theme .track-tab:hover{border-color:#6366f1;color:#6366f1}.dark-theme .track-tab.active{background:linear-gradient(135deg,#4f46e5,#06b6d4);border-color:transparent;color:#fff;box-shadow:0 4px 14px #6366f159}.dark-theme .workout-timer-display.work{background:radial-gradient(circle at top,#4f46e5,#0ea5e9)}.dark-theme .workout-timer-display.rest{background:radial-gradient(circle at top,#16a34a,#22c55e)}.dark-theme .library-item,.dark-theme .template-card,.dark-theme .exercise-form{background:#020617;border-color:#111827}.dark-theme .library-item:hover,.dark-theme .template-card:hover{background:#1e293b;border-color:#4f46e5}.dark-theme .library-item:hover .lib-name,.dark-theme .library-item:hover .lib-muscle,.dark-theme .template-card:hover h4,.dark-theme .template-card:hover p,.dark-theme .template-card:hover span,.dark-theme .library-item .lib-name{color:#e5e7eb}.dark-theme .library-item .lib-muscle,.dark-theme .template-card span{background:#0f172ae6;color:#9ca3af}.dark-theme .template-card:hover span{background:#1e293be6;color:#94a3b8}.dark-theme .ai-section p{color:#e5e7eb}.dark-theme .ai-section .chip{background:#020617;border-color:#111827;color:#e5e7eb}.dark-theme .ai-section .chip.selected{background:linear-gradient(135deg,#4f46e5,#06b6d4)}.dark-theme .cancel-btn{background:#0f172af2;color:#f1f5f9;border:1px solid rgba(148,163,184,.4)}.dark-theme .cancel-btn:hover:not(:disabled){background:#334155eb;color:#fff;border-color:#818cf88c;box-shadow:0 8px 24px #00000059}.dark-theme .cancel-btn:focus-visible:not(:disabled){outline:2px solid #818cf8;outline-offset:2px}.dark-theme .submit-btn{background:linear-gradient(135deg,#4f46e5,#06b6d4)}.dark-theme .exercise-item{border-bottom-color:#111827}.dark-theme .water-quick-add button{background:#020617;border-color:#1d4ed8;color:#bfdbfe}.dark-theme .water-quick-add button:hover{background:#1e3a8a}.dark-theme .empty-msg{color:#6b7280}.dark-theme .timer-setting-split .timer-min-sec span{color:#9ca3af}.dark-theme .calories-subtitle{color:#9ca3af;font-weight:400}.dark-theme .calories-label{color:var(--text-subtle)}.dark-theme .toggle-btn.active{background:#6366f133;color:#a5b4fc}.dark-theme .calories-result-box{background:#0f172a99;border-color:#374151cc}.dark-theme .calories-info-val{color:#e5e7eb}.dashboard{display:flex;min-height:100vh;background:var(--bg-gradient);box-sizing:border-box}.sidebar{width:260px;min-width:260px;max-width:260px;flex-shrink:0;box-sizing:border-box;background:#ffffff24;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:28px 20px;display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.12);overflow-x:hidden}.logo{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:700;color:#fff;margin-bottom:40px;position:relative;z-index:2}.sidebar .toggle-sidebar{display:flex;flex-direction:column;align-items:stretch;align-self:stretch;width:100%;max-width:100%;min-width:0;flex:0 0 auto;flex-grow:0;position:relative;z-index:1;overflow:visible}.sidebar .theme-toggle-slider.sidebar{position:relative;z-index:1;flex:0 0 auto;flex-grow:0;flex-shrink:0;width:100%;height:auto;min-height:unset;align-self:flex-start}.sidebar nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column}.brand-logo{display:flex;align-items:center;justify-content:center;width:100%;max-width:100%}.brand-logo__img{display:block;width:auto;height:auto;max-width:100%;object-fit:contain}.brand-logo:not(.brand-logo--auth) .brand-logo__img{max-height:96px;max-width:200px;margin:0 auto}.brand-logo--auth .brand-logo__img{max-width:min(100%,280px);max-height:200px;margin:0 auto 12px;filter:drop-shadow(0 8px 20px rgba(15,23,42,.35))}.dark-theme .brand-logo--auth .brand-logo__img{filter:drop-shadow(0 10px 28px rgba(0,0,0,.55))}.nav-btn{display:flex;align-items:center;gap:10px;width:100%;padding:15px;margin:5px 0;background:transparent;border:none;color:#fff;text-align:left;border-radius:8px;cursor:pointer;font-size:1rem;transition:background .3s}.nav-btn:hover,.nav-btn.active{background:#fff3}.logout-btn{margin-top:auto;display:flex;align-items:center;gap:10px;padding:15px;background:#ff3b3033;border:none;color:#fff;border-radius:8px;cursor:pointer;font-size:1rem;transition:background .3s}.logout-btn:hover{background:#ff3b304d}.main-content{flex:1;padding:32px 40px;background:var(--bg-surface);border-radius:24px 0 0 24px;box-shadow:-8px 0 32px #0000000a;position:relative;z-index:0;isolation:isolate;transform:translateZ(0)}@media(min-width:769px){.dashboard{padding-left:0!important}.dashboard:before{content:"";flex:0 0 260px;width:260px;min-width:260px;max-width:260px;align-self:stretch;pointer-events:none;visibility:hidden}.app-root-layer--aurora .dashboard{padding-top:12px;padding-right:12px;padding-bottom:12px;padding-left:0!important}.app-root-layer--aurora .dashboard:before{flex-basis:260px;width:260px;min-width:260px;max-width:260px}.sidebar{position:fixed;top:0;left:0;z-index:150;width:260px;min-width:260px;max-width:260px;height:100vh;max-height:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.app-root-layer--aurora .sidebar{left:0;top:0;bottom:auto;height:100vh}.main-content{margin-left:0;flex:1;min-width:0}.mobile-menu-overlay,.sidebar-close-btn,.hamburger-btn,.toggle-mobile{display:none!important}.toggle-sidebar{display:flex!important}.sidebar .theme-toggle-slider.sidebar .theme-toggle-track{max-width:100%}}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}header h1{color:var(--text-main);font-size:28px;margin:0}.profile-page-header{display:flex;flex-direction:column;align-items:stretch;gap:12px}.profile-page-header__tools{display:flex;align-items:center;gap:10px}.profile-page-header__titles{width:100%;text-align:center;padding:0 4px}.profile-page-header__titles h1{margin:0;line-height:1.2}.profile-page-header__subtitle{margin:6px 0 0;font-size:15px;font-weight:500;line-height:1.45;color:var(--text-label)}.dark-theme .profile-page-header__subtitle{color:var(--text-subtle);font-weight:400}@media(min-width:769px){.profile-page-header{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:16px}.profile-page-header__titles{order:1;flex:1;min-width:0;text-align:left}.profile-page-header__tools{order:2;flex-shrink:0}}.user-profile-page{max-width:1080px;margin:0 auto;width:100%;overflow-x:hidden;box-sizing:border-box}.user-profile-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:0;margin-bottom:0}.user-profile-toolbar__row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:100%}.user-profile-toolbar__row .toggle-mobile{margin-left:auto}.user-profile-back-btn{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:12px;border:1px solid var(--border-soft);background:var(--bg-card);color:var(--text-main);font-size:15px;font-weight:600;cursor:pointer;box-shadow:var(--shadow-soft);transition:background .2s,border-color .2s,transform .2s}.user-profile-back-btn:hover{background:var(--bg-card-soft);border-color:#6366f1;transform:translateY(-1px)}.app-root-layer--aurora .user-profile-back-btn{background:#ffffff94;backdrop-filter:blur(22px) saturate(1.08);-webkit-backdrop-filter:blur(22px) saturate(1.08);border:1px solid rgba(255,255,255,.85);color:var(--text-main);box-shadow:0 8px 28px #3341551f,inset 0 1px #ffffffe6}.app-root-layer--aurora .user-profile-back-btn:hover{background:#ffffffb8;border-color:#6366f173}.dark-theme .app-root-layer--dark-aurora .user-profile-back-btn{background:#0f172ab8;backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08);border:1px solid rgba(71,85,105,.55);color:#e5e7eb;box-shadow:0 10px 32px #00000073,inset 0 1px #94a3b81f}.dark-theme .app-root-layer--dark-aurora .user-profile-back-btn:hover{background:#1e293bd1;border-color:#818cf873}.dark-theme .user-profile-back-btn{background:#0f172ad9;border-color:#475569e6}.dark-theme .user-profile-back-btn:hover{border-color:#818cf8a6}.user-profile-hero{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;padding:18px 12px;border-radius:20px;margin-bottom:24px;max-width:100%;border:1px solid var(--border-soft);background-color:var(--bg-card);background-image:linear-gradient(165deg,#6366f124,#6366f108 42%,#ec489914);box-shadow:var(--shadow-card)}@media(min-width:640px){.user-profile-hero{grid-template-columns:auto 1fr;padding:32px 36px;gap:32px}}.dark-theme .user-profile-hero{background-color:#0f172ae0;background-image:linear-gradient(165deg,#6366f138,#0f172a33 45%,#be185d24);border-color:#475569a6;box-shadow:0 24px 50px #00000073}.app-root-layer--aurora .user-profile-page .user-profile-hero{background-color:#ffffff61;backdrop-filter:blur(22px) saturate(1.08);-webkit-backdrop-filter:blur(22px) saturate(1.08);border:1px solid rgba(255,255,255,.72);box-shadow:0 18px 50px #3341551c,inset 0 1px #ffffffbf;background-image:linear-gradient(165deg,#6366f11a,#ffffff38 40%,#ec489914)}.dark-theme .app-root-layer--dark-aurora .user-profile-hero{background-color:#0f172ab8;backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08);border:1px solid rgba(71,85,105,.55);box-shadow:0 16px 48px #0000008c,inset 0 1px #94a3b81f;background-image:linear-gradient(165deg,#6366f12e,#0f172a59 45%,#be185d1f)}.app-root-layer--aurora .user-profile-page .user-profile-panel{background:#ffffff7a;backdrop-filter:blur(18px) saturate(1.05);-webkit-backdrop-filter:blur(18px) saturate(1.05);border:1px solid rgba(255,255,255,.65);box-shadow:0 12px 36px #33415517,inset 0 1px #ffffffb3}.dark-theme .app-root-layer--dark-aurora .user-profile-page .user-profile-panel{background:#0f172ab8;backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08);border:1px solid rgba(71,85,105,.55);box-shadow:0 16px 48px #0000008c,inset 0 1px #94a3b81f}.app-root-layer--aurora .user-profile-page .user-profile-stat{background:#ffffff8c;border-color:#cbd5e1d9}.dark-theme .app-root-layer--dark-aurora .user-profile-page .user-profile-stat{background:#02061773;border-color:#334155bf}.app-root-layer--aurora .user-profile-page .user-profile-rank-badge:not([class*=--gold]):not([class*=--silver]):not([class*=--bronze]){background:#ffffff80;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.app-root-layer--aurora .user-profile-page .user-profile-rank-badge--silver{background:linear-gradient(145deg,#f1f5f994,#f8fafca8);backdrop-filter:blur(14px) saturate(1.05);-webkit-backdrop-filter:blur(14px) saturate(1.05)}.app-root-layer--aurora .user-profile-page .user-profile-rank-badge--gold{background:linear-gradient(145deg,#fef3c794,#fffbebad);backdrop-filter:blur(14px) saturate(1.05);-webkit-backdrop-filter:blur(14px) saturate(1.05)}.app-root-layer--aurora .user-profile-page .user-profile-rank-badge--bronze{background:linear-gradient(145deg,#ffedd58c,#fff7eda3);backdrop-filter:blur(14px) saturate(1.05);-webkit-backdrop-filter:blur(14px) saturate(1.05)}.dark-theme .app-root-layer--dark-aurora .user-profile-page .user-profile-rank-badge--silver,.dark-theme .app-root-layer--dark-aurora .user-profile-page .user-profile-rank-badge--gold,.dark-theme .app-root-layer--dark-aurora .user-profile-page .user-profile-rank-badge--bronze{backdrop-filter:blur(12px) saturate(1.06);-webkit-backdrop-filter:blur(12px) saturate(1.06)}.user-profile-avatar-wrap{display:flex;justify-content:center}@media(min-width:640px){.user-profile-avatar-wrap{justify-content:flex-start}}.user-profile-avatar-ring{width:120px;height:120px;border-radius:50%;padding:4px;background:linear-gradient(135deg,#6366f1,#a855f7,#ec4899);box-shadow:0 12px 40px #6366f159}.user-profile-avatar-ring img,.user-profile-avatar-fallback{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}.user-profile-avatar-fallback{display:flex;align-items:center;justify-content:center;font-size:44px;font-weight:800;color:#fff;background:linear-gradient(145deg,#4f46e5,#7c3aed)}.user-profile-hero-text{text-align:center}@media(min-width:640px){.user-profile-hero-text{text-align:left}}.user-profile-display-name{margin:0 0 16px;font-size:clamp(24px,5vw,30px);font-weight:800;color:var(--text-main);letter-spacing:-.02em;overflow-wrap:anywhere;word-break:break-word;line-height:1.2}.user-profile-rank-badge{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:14px;margin:0 0 16px;text-align:left;border:1px solid var(--border-soft);background:var(--bg-card-soft);box-sizing:border-box;width:100%;max-width:100%}.user-profile-rank-badge__medal{font-size:2.1rem;line-height:1;flex-shrink:0}.user-profile-rank-badge__body{min-width:0}.user-profile-rank-badge__headline{margin:0 0 6px;font-size:15px;font-weight:800;color:var(--text-main);line-height:1.3}.user-profile-rank-badge__line{margin:0 0 8px;font-size:14px;line-height:1.45;color:var(--text-subtle)}.user-profile-rank-badge__meta{margin:0;font-size:12px;font-weight:600;color:var(--text-label)}.user-profile-rank-badge--gold{border-color:#eab3088c;background:linear-gradient(145deg,#fef3c7f2,#fffbebfa)}.user-profile-rank-badge--silver{border-color:#94a3b8a6;background:linear-gradient(145deg,#f1f5f9f2,#f8fafcfa)}.user-profile-rank-badge--bronze{border-color:#b4530973;background:linear-gradient(145deg,#ffedd5e6,#fff7edf5)}.user-profile-rank-badge--elite,.user-profile-rank-badge--top10,.user-profile-rank-badge--chaser,.user-profile-rank-badge--climber,.user-profile-rank-badge--grinder,.user-profile-rank-badge--rookie,.user-profile-rank-badge--solo{border-color:#6366f159;background:linear-gradient(145deg,rgba(99,102,241,.08) 0%,var(--bg-card-soft) 100%)}.dark-theme .user-profile-rank-badge{border-color:#475569d9;background:#0f172a8c}.dark-theme .user-profile-rank-badge--gold{border-color:#facc1566;background:linear-gradient(145deg,#713f128c,#0f172abf)}.dark-theme .user-profile-rank-badge--silver{border-color:#94a3b873;background:linear-gradient(145deg,#33415580,#0f172abf)}.dark-theme .user-profile-rank-badge--bronze{border-color:#b4530966;background:linear-gradient(145deg,#78350f73,#0f172abf)}.dark-theme .user-profile-rank-badge--elite,.dark-theme .user-profile-rank-badge--top10,.dark-theme .user-profile-rank-badge--chaser,.dark-theme .user-profile-rank-badge--climber,.dark-theme .user-profile-rank-badge--grinder,.dark-theme .user-profile-rank-badge--rookie,.dark-theme .user-profile-rank-badge--solo{border-color:#818cf859;background:linear-gradient(145deg,#4f46e533,#0f172ab8)}.user-profile-stats{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:12px;width:100%}@media(min-width:768px){.user-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}.user-profile-stat{padding:14px;border-radius:14px;background:var(--bg-card-soft);border:1px solid var(--border-soft);text-align:center;min-width:0}.dark-theme .user-profile-stat{background:#0f172aa6;border-color:#334155d9}.user-profile-stat__value{display:block;font-size:clamp(22px,5vw,26px);font-weight:800;color:var(--text-main);line-height:1.15}.user-profile-stat__label{display:block;margin-top:6px;font-size:13px;font-weight:600;color:var(--text-subtle);line-height:1.35;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}@media(min-width:768px){.user-profile-stat__label{font-size:12px}}.user-profile-since{margin:0;font-size:14px;color:var(--text-subtle);display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}@media(min-width:640px){.user-profile-since{justify-content:flex-start}}.user-profile-grid{display:grid;grid-template-columns:1fr;gap:24px;align-items:start}@media(min-width:900px){.user-profile-grid{grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:28px}}.user-profile-panel{padding:22px 20px;border-radius:18px;border:1px solid var(--border-soft);background:var(--bg-card);box-shadow:var(--shadow-soft)}.dark-theme .user-profile-panel{background:#0f172abf;border-color:#334155d9}.user-profile-panel__head{display:flex;align-items:center;gap:10px;margin:0 0 16px}.user-profile-panel__head h2{margin:0;font-size:18px;font-weight:800;color:var(--text-main);letter-spacing:-.02em}.user-profile-panel__icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#6366f133,#ec489926);color:#6366f1}.dark-theme .user-profile-panel__icon{color:#a5b4fc}.user-profile-panel--workouts{display:flex;flex-direction:column;min-height:0}.user-profile-workouts-scroll-wrap{display:flex;flex-direction:column;gap:10px;min-height:0}.user-profile-workouts-scroll{overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding:10px 8px 12px 10px;border-radius:14px;background:var(--bg-card-soft);border:1px solid var(--border-soft);box-sizing:border-box;max-height:min(620px,68vh)}@media(min-width:900px){.user-profile-workouts-scroll{max-height:min(440px,48vh)}}.dark-theme .user-profile-workouts-scroll{background:#02061780;border-color:#334155bf}.user-profile-workouts-scroll::-webkit-scrollbar{width:8px}.user-profile-workouts-scroll::-webkit-scrollbar-thumb{background:#64748b73;border-radius:8px}.user-profile-workouts-scroll::-webkit-scrollbar-track{background:transparent}.user-profile-workouts-scroll .user-profile-workouts-grid{margin-top:0;margin-bottom:0}.user-profile-workouts-scroll-hint{margin:0;font-size:13px;font-weight:600;color:var(--text-subtle);text-align:center;line-height:1.35}@media(max-width:767px){.user-profile-toolbar__row{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"ham theme" "back back";align-items:center;gap:10px}.user-profile-toolbar__row .hamburger-btn{grid-area:ham}.user-profile-toolbar__row .toggle-mobile{grid-area:theme;margin-left:0;justify-self:end}.user-profile-back-btn{grid-area:back;width:100%;justify-content:center;box-sizing:border-box;font-size:14px;padding:10px 12px}.user-profile-hero{padding:16px 12px;border-radius:16px;gap:16px}.user-profile-avatar-ring{width:104px;height:104px}.user-profile-rank-badge{flex-direction:column;align-items:center;text-align:center;padding:12px;gap:10px}.user-profile-rank-badge__medal{font-size:1.75rem}.user-profile-rank-badge__body{text-align:center}.user-profile-rank-badge__headline{font-size:14px}.user-profile-rank-badge__line{font-size:13px}.user-profile-rank-badge__meta{font-size:11px}.user-profile-stat{padding:14px 16px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;text-align:left;gap:12px}.user-profile-stat__value{font-size:20px;flex-shrink:0}.user-profile-stat__label{margin-top:0;text-align:right;font-size:14px;line-height:1.35}.user-profile-panel{padding:18px 14px}.user-profile-workouts-scroll{max-height:min(520px,62vh)}}@media(max-width:479px){.user-profile-back-btn{font-size:13px;padding:9px 10px}}.user-profile-page .exercise-item-name{white-space:normal;overflow:visible;text-overflow:unset}.user-profile-page .workout-card{max-width:none}.user-profile-empty{margin:0;padding:20px 16px;text-align:center;font-size:15px;color:var(--text-subtle);border-radius:12px;background:var(--bg-card-soft);border:1px dashed var(--border-soft)}.user-profile-pr-item{padding:14px 16px;border-radius:12px;margin-bottom:10px;background:var(--bg-card-soft);border:1px solid var(--border-soft);display:flex;flex-direction:column;gap:6px}.dark-theme .user-profile-pr-item{background:#0206178c}.user-profile-pr-item strong{color:var(--text-main);font-size:15px}.user-profile-pr-item .pr-date{font-size:13px;color:var(--text-subtle)}@media(min-width:769px){.page-header-dashboard{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.page-header-dashboard__row--tools,.page-header-dashboard__row--cta{display:contents}.page-header-dashboard__title-wrap{flex:1;min-width:0}}.toggle-mobile{display:none}.toggle-sidebar{display:flex}.challenges-header-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.challenges-subtitle{color:var(--text-label);font-size:16px;font-weight:500;margin:0;line-height:1.45}.dark-theme .challenges-subtitle{color:var(--text-label);font-weight:500}.challenges-page-content{margin-top:20px;display:flex;flex-direction:column;gap:22px}.challenges-points-banner{display:flex;align-items:center;gap:18px;padding:20px 24px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 8px 28px #6366f147;flex-shrink:0}.challenges-points-banner__emoji{font-size:48px;line-height:1}.challenges-points-banner__label{margin:0;font-size:16px;font-weight:700;letter-spacing:.02em;opacity:.95}.challenges-points-banner__value{margin:4px 0 0;font-size:42px;font-weight:800;letter-spacing:-.03em;line-height:1.05}.challenges-points-banner__hint{margin:6px 0 0;font-size:15px;color:#ffffffeb;line-height:1.35}.challenges-main-grid{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}@media(min-width:960px){.challenges-main-grid{grid-template-columns:1fr 1fr;gap:24px}}.challenges-panel{background:#fff;border-radius:18px;padding:20px 22px;box-shadow:0 4px 20px #0f172a0f;border:1px solid rgba(0,0,0,.05);min-width:0}.challenges-panel--dark{background:transparent;border-radius:16px;border:1px solid var(--border-soft, #334155);box-shadow:none}.challenges-panel__title{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:1.28rem;font-weight:800;letter-spacing:-.02em;color:#1e293b}.challenges-panel--dark .challenges-panel__title{color:#e5e7eb}.challenges-panel__title-icon{flex-shrink:0;opacity:.9}.challenges-earn-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.challenges-earn-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#f8fafc;border-left:4px solid #667eea}.challenges-panel--dark .challenges-earn-row{background:#ffffff0f}.challenges-earn-row__icon{font-size:24px;line-height:1;flex-shrink:0}.challenges-earn-row__name{flex:1;min-width:0;font-size:16px;font-weight:600;color:#334155;line-height:1.4}.challenges-earn-row__name--dark{color:#e5e7eb}.challenges-earn-row__pts{flex-shrink:0;font-size:14px;font-weight:800;padding:7px 13px;border-radius:10px;background:#667eea;color:#fff}.challenges-board-empty{margin:0;padding:28px 16px;text-align:center;font-size:16px;color:#64748b}.challenges-panel--dark .challenges-board-empty{color:#9ca3af}.challenges-lb-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.challenges-lb-row{display:grid;grid-template-columns:36px 44px 1fr auto;align-items:center;gap:12px;padding:13px 14px;border-radius:14px;border:1px solid transparent}.challenges-lb-row--gold{background:linear-gradient(90deg,rgba(255,215,0,.22) 0%,transparent 100%)}.challenges-lb-row--silver{background:linear-gradient(90deg,rgba(192,192,192,.24) 0%,transparent 100%)}.challenges-lb-row--bronze{background:linear-gradient(90deg,rgba(205,127,50,.22) 0%,transparent 100%)}.challenges-lb-row--you{border-color:#667eea}.challenges-lb-rank{font-weight:800;font-size:16px;text-align:center}.challenges-lb-rank--gold{color:#d4af37}.challenges-lb-rank--silver{color:#9ca3af}.challenges-lb-rank--bronze{color:#cd7f32}.challenges-lb-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover}.challenges-lb-avatar--fallback{display:flex;align-items:center;justify-content:center;background:#667eea;color:#fff;font-size:16px;font-weight:800}.challenges-lb-info{min-width:0;display:flex;flex-direction:column;gap:4px}.challenges-lb-name{font-size:16px;font-weight:600;color:#0f172a;line-height:1.3}.challenges-lb-name--dark{color:#e5e7eb}.challenges-lb-you{margin-left:8px;font-size:13px;font-weight:700;color:#667eea}.challenges-lb-topon{font-size:13px;color:#64748b;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.challenges-lb-topon--dark{color:#9ca3af}.challenges-lb-score{font-weight:800;font-size:17px;color:#667eea;white-space:nowrap}.challenges-lb-footer{margin-top:14px;display:flex;justify-content:center}.challenges-lb-toggle{padding:10px 18px;border-radius:12px;border:1px solid rgba(102,126,234,.45);background:#667eea14;color:#4f46e5;font-size:16px;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s,transform .15s}.challenges-lb-toggle:hover{background:#667eea29;border-color:#667eeaa6}.challenges-lb-toggle:active{transform:scale(.98)}.challenges-lb-toggle--dark{border-color:#818cf873;background:#6366f11f;color:#a5b4fc}.challenges-lb-toggle--dark:hover{background:#6366f138;border-color:#a5b4fc8c}@media(max-width:520px){.challenges-points-banner{padding:16px 18px;gap:14px}.challenges-points-banner__emoji{font-size:40px}.challenges-points-banner__value{font-size:36px}.challenges-lb-row{grid-template-columns:32px 40px 1fr min-content;gap:10px;padding:10px 12px}.challenges-lb-avatar,.challenges-lb-avatar--fallback{width:40px;height:40px;font-size:15px}}.create-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 14px #6366f159}.create-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6366f173}.workout-card-creator-btn{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:8px 12px;border-radius:9999px;border:1px solid var(--border-soft);width:100%;text-align:left;background:var(--bg-secondary);cursor:pointer;box-sizing:border-box;transform:scale(1);transform-origin:center;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s cubic-bezier(.34,1.2,.64,1)}.workout-card-creator-btn:disabled{cursor:default;opacity:.9}@media(hover:hover)and (pointer:fine){.workout-card-creator-btn:not(:disabled):hover{transform:scale(1.045);border-color:#6366f173;box-shadow:0 6px 18px #6366f12e}}.workout-card-creator-btn:not(:disabled):active{transform:scale(1.045);border-color:#6366f180;box-shadow:0 6px 18px #6366f133}.workout-card-creator-btn:not(:disabled):focus-visible{outline:2px solid rgba(129,140,248,.65);outline-offset:3px;transform:scale(1.045)}.app-root-layer--aurora .workout-card-creator-btn{background:#ffffff85;backdrop-filter:blur(14px) saturate(1.05);-webkit-backdrop-filter:blur(14px) saturate(1.05);border:1px solid rgba(255,255,255,.72)}.dark-theme .app-root-layer--dark-aurora .workout-card-creator-btn{background:#0f172a9e;backdrop-filter:blur(16px) saturate(1.06);-webkit-backdrop-filter:blur(16px) saturate(1.06);border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px #ffffff0f}.workout-card-creator-btn img{width:32px;height:32px;border-radius:50%;object-fit:cover;border:2px solid rgba(99,102,241,.6);flex-shrink:0}.workout-card-creator-btn__avatar-fallback{width:32px;height:32px;border-radius:50%;background:#6366f1;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;color:#fff;flex-shrink:0}.workout-card-creator-btn__byline{font-size:14px;line-height:1.35}.workout-card-creator-btn__by{font-weight:500;color:var(--text-label)}.workout-card-creator-btn__name{font-weight:700;color:var(--creator-name)}.workouts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px;margin-top:28px}.workout-card{display:flex;flex-direction:column;background:var(--bg-card);border-radius:16px;padding:24px;box-shadow:0 4px 8px -2px #0f172a0f,0 16px 36px -12px #6366f124,var(--shadow-card, 0 1px 3px rgba(0, 0, 0, .06));border:1px solid var(--border-soft);transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .4s ease,border-color .3s ease}.workout-card:hover{transform:translateY(-6px) scale(1.01);border-color:#818cf873;box-shadow:0 14px 28px -6px #6366f152,0 28px 56px -12px #ec489924,0 0 0 1px #a78bfa33}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px}.card-header h3{margin:0;color:var(--text-main);font-size:20px}.visibility{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:700}.visibility.public{background:#d4edda;color:#155724}.visibility.private{background:#f8d7da;color:#721c24}.copied-from{font-size:14px;color:var(--text-subtle);margin:-8px 0 8px}.description{color:var(--text-subtle);margin-bottom:16px;line-height:1.5;font-size:16px;min-height:2.5em}.exercises-preview{margin-bottom:20px;flex:1}.exercises-preview h4{font-size:14px;color:var(--text-subtle);margin-bottom:10px}.exercise-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;margin:0 -4px;border-radius:10px;border-bottom:1px solid var(--border-soft);font-size:14px;gap:12px;transition:background .25s ease,box-shadow .3s ease,transform .25s ease}.exercise-item:hover{background:linear-gradient(90deg,#e0e7ff8c,#fce7f366);box-shadow:0 6px 18px -4px #6366f133;transform:translate(4px);border-bottom-color:transparent}.dark-theme .exercise-item:hover{background:linear-gradient(90deg,#3730a359,#83184333);box-shadow:0 6px 20px -2px #6366f140}.exercise-item-left{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.exercise-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exercise-item-meta{flex-shrink:0;font-size:14px;color:var(--text-subtle);text-align:right}.more-exercises{padding-top:8px;font-size:14px;color:#999;font-style:italic}.card-actions{display:flex;gap:8px;flex-wrap:wrap}.action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px;border:none;border-radius:8px;cursor:pointer;font-weight:500;font-size:15px;transition:transform .28s cubic-bezier(.34,1.56,.64,1),box-shadow .3s ease,filter .25s ease}.action-btn:hover{transform:translateY(-3px);box-shadow:0 10px 22px -6px #0f172a33}.action-btn.view{background:#e3f2fd;color:#1976d2}.action-btn.view:hover{box-shadow:0 12px 28px -8px #1976d273}.action-btn.edit{background:#fff3e0;color:#f57c00}.action-btn.edit:hover{box-shadow:0 12px 28px -8px #f57c0066}.action-btn.delete{background:#ffebee;color:#d32f2f}.action-btn.delete:hover{box-shadow:0 12px 28px -8px #d32f2f59}.action-btn.start{background:#e8f5e9;color:#15803d}.action-btn.start:hover{box-shadow:0 12px 28px -8px #15803d73;filter:saturate(1.15)}.workout-history-section{margin-top:48px;padding-top:32px;border-top:2px solid var(--border-soft)}.workout-history-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:20px}.workout-history-title{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;color:var(--text-main);margin:0}.workout-history-clear-btn{display:flex;align-items:center;gap:8px;padding:8px 16px;background:transparent;border:2px solid #ef4444;color:#ef4444;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.workout-history-clear-btn:hover{background:#ef4444;color:#fff}.workout-history-empty{color:var(--text-subtle);font-size:15px;margin:0;padding:24px;background:var(--bg-card);border-radius:12px;border:1px dashed var(--border-soft)}.workout-history-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.workout-history-show-all-btn{display:block;width:100%;max-width:360px;margin:18px auto 0;padding:12px 20px;font-size:15px;font-weight:600;color:#4f46e5;background:#6366f11a;border:2px solid rgba(99,102,241,.35);border-radius:12px;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}.workout-history-show-all-btn:hover{background:#6366f12e;border-color:#6366f1;transform:translateY(-1px)}.dark-theme .workout-history-show-all-btn{color:#a5b4fc;background:#6366f11f;border-color:#818cf873}.dark-theme .workout-history-show-all-btn:hover{background:#6366f138;border-color:#a5b4fc}.app-root-layer--aurora .workout-history-show-all-btn{background:#ffffff8c;border-color:#6366f166;box-shadow:0 4px 14px #6366f114}.workout-history-card{background:var(--bg-card);border-radius:12px;padding:18px;border:1px solid var(--border-soft);box-shadow:var(--shadow-card);transition:transform .2s,box-shadow .2s;cursor:pointer}.workout-history-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #6366f11a}.workout-history-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.workout-history-card-header h3{margin:0;font-size:17px;font-weight:600;color:var(--text-main)}.workout-history-date{font-size:13px;color:var(--text-subtle);white-space:nowrap}.workout-history-stats{display:flex;flex-wrap:wrap;gap:20px 24px;margin-bottom:14px}.workout-history-stat{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.workout-history-stat-label{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-label);line-height:1.2;cursor:help}.workout-history-stat-value{display:inline-flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--text-main)}.workout-history-exercises{margin-top:2px}.workout-history-ex-heading{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-label)}.workout-history-ex-tags{display:flex;flex-wrap:wrap;gap:8px}.workout-history-ex-tag{font-size:12px;padding:6px 11px;background:#ffffffd9;color:#1e1b4b;border:1px solid rgba(99,102,241,.35);border-radius:8px;font-weight:600;line-height:1.3}.dark-theme .workout-history-ex-tag{background:#1e293be6;color:#e2e8f0;border-color:#818cf873}.app-root-layer--aurora .workout-history-ex-tag{background:#ffffffd1;color:#1e1b4b;border:1px solid rgba(79,70,229,.35);box-shadow:0 1px 2px #0f172a0f}.progress-page-header h1{font-size:clamp(1.5rem,2.5vw,1.85rem);font-weight:800;letter-spacing:-.02em}.progress-page-subtitle{color:var(--text-label);font-size:16px;font-weight:500;margin:10px 0 0;line-height:1.45}.dark-theme .progress-page-subtitle{color:var(--text-label);font-weight:500}.progress-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(288px,1fr));gap:22px;margin-top:28px;margin-bottom:44px}.progress-stat-card{padding:28px 26px;border-radius:18px;color:#fff;box-shadow:0 8px 28px #0000001f;min-height:0}.progress-stat-card__head{display:flex;align-items:center;gap:16px;margin-bottom:14px}.progress-stat-card__title{margin:0;font-size:1.125rem;font-weight:700;letter-spacing:-.02em;line-height:1.25}.progress-stat-card__value{margin:0;font-size:clamp(2.5rem,6vw,3rem);font-weight:800;letter-spacing:-.03em;line-height:1.05}.progress-stat-card__hint{margin:12px 0 0;opacity:.93;font-size:15px;line-height:1.45}@media(max-width:480px){.progress-stats-grid{grid-template-columns:1fr;gap:18px}}.progress-recent-workouts{background:#fff;padding:28px 30px;border-radius:16px;box-shadow:0 4px 6px #0000001a}.progress-recent-title{margin:0 0 22px;color:#333;font-size:1.4rem;font-weight:800;letter-spacing:-.02em}.progress-recent-empty{color:#666;text-align:center;padding:44px 24px;margin:0;font-size:16px;line-height:1.5}.progress-recent-list{display:flex;flex-direction:column;gap:16px}.progress-recent-item{display:flex;justify-content:space-between;align-items:center;padding:18px;background:#f8f9fa;border-radius:12px;border-left:4px solid #667eea}.progress-recent-item-name{margin:0 0 6px;color:#333;font-size:1.0625rem;font-weight:600}.progress-recent-item-meta{margin:0;font-size:15px;color:#666;line-height:1.4}.progress-recent-view-btn{padding:10px 18px;background:#667eea;color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:15px;font-weight:600;flex-shrink:0}.progress-recent-view-btn:hover{background:#5a67d8}.dark-theme .progress-recent-workouts{background:var(--bg-card);box-shadow:0 4px 6px #0000004d;border:1px solid var(--border-soft)}.dark-theme .progress-recent-title{color:var(--text-main)}.dark-theme .progress-recent-empty{color:var(--text-subtle)}.dark-theme .progress-recent-item{background:var(--bg-card-soft);border-left-color:#6366f1}.dark-theme .progress-recent-item-name{color:var(--text-main)}.dark-theme .progress-recent-item-meta{color:var(--text-subtle)}.dark-theme .progress-recent-view-btn{background:linear-gradient(135deg,#6366f1,#8b5cf6)}.dark-theme .progress-recent-view-btn:hover{background:linear-gradient(135deg,#5558e3,#7c3aed)}.community-search-wrap{position:relative;margin-top:20px;margin-bottom:16px}.community-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-subtle);pointer-events:none}.community-search-input{width:100%;max-width:400px;padding:12px 16px 12px 44px;border:2px solid var(--border-soft);border-radius:12px;font-size:17px;background:var(--bg-card);color:var(--text-main);transition:border-color .2s}.community-search-input::placeholder{color:var(--text-subtle)}.community-search-input:focus{outline:none;border-color:#6366f1}.community-sub-tabs{display:flex;gap:4px;margin-top:12px}.community-sub-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border:none;border-radius:10px;font-size:15px;font-weight:600;color:var(--text-subtle);background:var(--bg-card-soft);cursor:pointer;transition:background .2s,color .2s}.community-sub-tab-chat{position:relative}.community-sub-tab:hover{background:var(--bg-card);color:var(--text-main)}.community-sub-tab.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.community-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;background:#ef4444;color:#fff;font-size:12px;font-weight:700;border-radius:50%;box-shadow:0 2px 8px #ef444480}@keyframes unread-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}@media(max-width:768px){.main-content.community-feed-layout{padding-top:188px}}@media(max-width:480px){.main-content.community-feed-layout{padding-top:178px}}.community-chat-tab-spacer{flex-shrink:0;min-height:44px;margin-top:12px;margin-bottom:12px}.community-chat-page{margin-top:0;flex:1;min-height:0;display:flex;flex-direction:column}.community-chat-full{flex:1;min-height:480px;max-height:none}.community-chat-section{margin-top:40px;padding-top:32px;border-top:2px solid var(--border-soft)}:root{--chat-shell-bg: #ffffff;--chat-shell-border: #e2e8f0;--chat-shell-shadow: 0 4px 24px rgba(15, 23, 42, .1);--chat-tabs-row-bg: #f1f5f9;--chat-messages-bg: #f8fafc;--chat-bubble-other-bg: #ffffff;--chat-bubble-other-border: #cbd5e1;--chat-tab-text: #475569;--chat-tab-divider: rgba(100, 116, 139, .35);--chat-tab-active: #6366f1;--chat-tab-active-bg: rgba(99, 102, 241, .1)}.dark-theme{--chat-shell-bg: #0f172a;--chat-shell-border: #334155;--chat-shell-shadow: 0 20px 50px rgba(0, 0, 0, .55);--chat-tabs-row-bg: #1e293b;--chat-messages-bg: #0c1222;--chat-bubble-other-bg: #1e293b;--chat-bubble-other-border: #475569;--chat-tab-text: #cbd5e1;--chat-tab-divider: rgba(148, 163, 184, .22);--chat-tab-active: #a5b4fc;--chat-tab-active-bg: rgba(99, 102, 241, .18)}.community-chat-wrapper{background:var(--chat-shell-bg);border-radius:16px;border:1px solid var(--chat-shell-border);box-shadow:var(--chat-shell-shadow);overflow:hidden;min-height:420px;max-height:560px;display:flex;flex-direction:column}.community-chat{display:flex;flex-direction:column;height:100%;min-height:400px}.chat-top-chrome{flex-shrink:0;position:relative;z-index:2}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;flex-shrink:0;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.chat-header h3{margin:0;font-size:18px;font-weight:600;display:flex;align-items:center;gap:8px}.chat-close-btn{background:#fff3;border:none;color:#fff;padding:6px;border-radius:8px;cursor:pointer}.chat-tabs{display:flex;flex-direction:row;align-items:stretch;flex-shrink:0;min-height:52px;padding:0;margin:0;background:var(--chat-tabs-row-bg);border-bottom:1px solid var(--chat-shell-border)}.chat-tab{flex:1 1 0;min-width:0;min-height:52px;display:flex;align-items:center;justify-content:center;padding:8px 4px;border:none;border-right:1px solid var(--chat-tab-divider);border-radius:0;box-sizing:border-box;background:transparent;font-size:clamp(13px,3.4vw,15px);font-weight:700;color:var(--chat-tab-text);cursor:pointer;box-shadow:inset 0 -3px 0 transparent;transition:background .15s,color .15s,box-shadow .15s}.chat-tab:last-child{border-right:none}.chat-tab:active{opacity:.92}.chat-tab-inner{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-wrap:nowrap;max-width:100%}.chat-tab-label{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.chat-tab.active{color:var(--chat-tab-active);background:var(--chat-tab-active-bg);box-shadow:inset 0 -3px 0 var(--chat-tab-active)}.chat-tab-badge{position:static;flex-shrink:0;min-width:18px;height:18px;padding:0 5px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;line-height:1;border-radius:9px;display:inline-flex;align-items:center;justify-content:center}.chat-conv-item{position:relative}.chat-conv-item.has-unread .chat-conv-item-btn{background:var(--accent-light);border-color:#6366f14d}.chat-unread-badge{margin-left:auto;min-width:22px;height:22px;padding:0 6px;background:#ef4444;color:#fff;font-size:12px;font-weight:700;border-radius:11px;display:flex;align-items:center;justify-content:center}.chat-messages{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:10px 12px;padding-bottom:calc(12px + var(--chat-composer-pad, 0px) + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:6px;scroll-padding-bottom:88px;background:var(--chat-messages-bg);overscroll-behavior:contain}.chat-messages-end-spacer{flex-shrink:0;min-height:16px;width:100%}.chat-msg{display:flex;gap:6px;align-items:flex-end;max-width:min(85%,340px)}.chat-msg.own{align-self:flex-end;flex-direction:row-reverse}.chat-msg.other{align-self:flex-start}.chat-msg-avatar{width:28px;height:28px;border-radius:50%;overflow:hidden;flex-shrink:0;margin-bottom:2px;background:#6366f1;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#fff}.chat-msg-avatar img{width:100%;height:100%;object-fit:cover}.chat-msg-bubble-wrap{display:flex;align-items:flex-end;gap:0;position:relative;max-width:100%}.chat-msg-reply-btn{flex-shrink:0;align-self:center;padding:6px;border:none;background:var(--bg-card-soft);color:var(--text-muted);border-radius:8px;cursor:pointer;opacity:0;transition:opacity .2s,color .2s}.chat-msg:hover .chat-msg-reply-btn,.chat-msg-reply-btn:focus{opacity:1}@media(max-width:768px){.chat-msg-reply-btn{opacity:1}}@media(hover:none)and (pointer:coarse){.chat-msg-reply-btn{display:none!important}}.chat-msg-reply-btn:hover{color:var(--accent)}.chat-msg-reply-preview{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px;padding:6px 10px;background:#00000026;border-radius:8px;border-left:3px solid var(--accent);font-size:13px}.chat-msg.own .chat-msg-reply-preview{background:#fff3;border-left-color:#fffc}.chat-msg-reply-author{font-weight:600;color:var(--accent)}.chat-msg.own .chat-msg-reply-author{color:#fffffff2}.chat-msg-reply-content{color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}.chat-msg.own .chat-msg-reply-content{color:#ffffffd9}.chat-reply-preview{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--bg-card-soft);border:1px solid var(--border-soft);border-radius:10px;margin-bottom:8px;font-size:13px}.chat-reply-preview .chat-reply-preview-author{font-weight:600;color:var(--accent)}.chat-reply-preview-content{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted)}.chat-reply-preview-cancel{padding:4px;border:none;background:none;color:var(--text-muted);cursor:pointer;border-radius:6px}.chat-reply-preview-cancel:hover{background:var(--bg-card);color:var(--text-main)}.chat-msg.own .chat-msg-bubble-wrap{flex-direction:row-reverse}.chat-msg-bubble{position:relative;padding:8px 12px 7px;border-radius:16px;max-width:100%}.chat-msg-context-menu{position:fixed;z-index:1000;background:var(--bg-card);border:1px solid var(--border-soft);border-radius:10px;box-shadow:0 4px 20px #00000026;padding:6px 0;min-width:140px}.chat-msg-context-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 16px;border:none;background:none;color:var(--text-main);font-size:14px;cursor:pointer;text-align:left;transition:background .2s}.chat-msg-context-menu button:hover{background:var(--bg-card-soft)}.chat-msg-edit{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.chat-msg-edit input{flex:1;min-width:120px;padding:8px 12px;border:1px solid var(--border-soft);border-radius:8px;font-size:15px;background:var(--bg-card-soft);color:var(--text-main)}.chat-msg-edit button{padding:6px 12px;font-size:13px;border-radius:6px;cursor:pointer;border:1px solid var(--border-soft);background:var(--bg-card-soft);color:var(--text-main)}.chat-msg-edit button:first-of-type{background:#6366f1;color:#fff;border-color:#6366f1}.chat-msg.own .chat-msg-bubble{background:linear-gradient(135deg,#6366f1,#7c3aed);color:#fff;border-radius:16px 16px 4px;box-shadow:0 1px 2px #0000001f}.chat-msg.other .chat-msg-bubble{background:var(--chat-bubble-other-bg);border:1px solid var(--chat-bubble-other-border);color:var(--text-main);border-radius:16px 16px 16px 4px;box-shadow:0 1px 2px #0000000f}.chat-msg-sender{display:block;font-size:13px;font-weight:700;color:var(--chat-tab-active);margin-bottom:2px;letter-spacing:.01em}.chat-msg-content{margin:0;font-size:17px;line-height:1.4;word-break:break-word}.chat-msg-time{display:block;font-size:12px;opacity:.72;margin-top:4px;text-align:right}.chat-msg.other .chat-msg-time{text-align:left;opacity:.65}.chat-msg.own .chat-msg-time{color:#ffffffe0;opacity:.9}.chat-date-separator{display:flex;align-items:center;justify-content:center;margin:10px 0 8px}.chat-date-separator span{padding:5px 12px;background:var(--chat-tabs-row-bg);border:1px solid var(--chat-shell-border);border-radius:8px;font-size:13px;font-weight:600;color:var(--text-subtle)}.chat-input-stack{flex-shrink:0;display:flex;flex-direction:column;gap:0}.chat-input-form{flex-shrink:0;display:flex;gap:10px;align-items:center;padding:12px 14px;padding-bottom:max(12px,env(safe-area-inset-bottom,0px));border-top:1px solid var(--chat-shell-border);background:var(--chat-tabs-row-bg)}.chat-input-stack .chat-reply-preview{margin:0;border-radius:0;border:none;border-bottom:1px solid var(--chat-shell-border)}.chat-input-form input{flex:1;min-width:0;padding:11px 16px;border:1px solid var(--border-soft);border-radius:22px;font-size:17px;background:var(--bg-card);color:var(--text-main);touch-action:manipulation}.chat-input-form input:focus{outline:none;border-color:#6366f1}.chat-input-form button{width:44px;height:44px;min-width:44px;padding:0;flex-shrink:0;background:linear-gradient(135deg,#6366f1,#7c3aed);color:#fff;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #6366f166}@media(max-width:768px){.chat-input-stack--mobile-fixed{position:fixed;left:0;right:0;bottom:var(--chat-kb-inset, 0px);z-index:250;padding:0 12px;padding-bottom:max(8px,env(safe-area-inset-bottom,0px));background:var(--chat-shell-bg);border-top:1px solid var(--chat-shell-border);box-shadow:0 -6px 28px #00000026}.chat-input-stack--mobile-fixed .chat-input-form{border-top:none;background:transparent;padding:10px 0 8px;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}.chat-input-stack--mobile-fixed .chat-reply-preview{margin:8px 0 0;padding:8px 12px;border-radius:12px;border:1px solid var(--chat-shell-border);border-bottom:none;background:var(--chat-tabs-row-bg)}.chat-messages{padding-bottom:calc(8px + var(--chat-composer-pad, 64px) + env(safe-area-inset-bottom,0px))}}.chat-input-form button:disabled{opacity:.5;cursor:not-allowed}.chat-conversation-list,.chat-user-picker{padding:16px;overflow-y:auto;flex:1;min-height:0;background:var(--chat-messages-bg)}.chat-new-btn{display:flex;align-items:center;gap:8px;width:100%;padding:12px 16px;margin-bottom:12px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer}.chat-conv-item{display:flex;align-items:center;gap:8px;width:100%;margin-bottom:8px}.chat-conv-item-btn{flex:1;display:flex;align-items:center;gap:12px;width:100%;padding:12px;background:var(--bg-card-soft);border:1px solid var(--border-soft);border-radius:12px;cursor:pointer;text-align:left;transition:background .2s}.chat-conv-item:hover .chat-conv-item-btn{background:var(--accent-light)}.chat-conv-item.has-unread:hover .chat-conv-item-btn{background:var(--accent-light);border-color:#6366f166}.chat-conv-item .chat-conv-name{flex:1;text-align:left}.chat-conv-delete-btn{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:8px;color:var(--text-subtle);cursor:pointer;transition:color .2s,background .2s}.chat-conv-delete-btn:hover{color:#ef4444;background:#ef44441a}.chat-conv-delete-btn:disabled{opacity:.5;cursor:not-allowed}.chat-user-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px;background:var(--bg-card-soft);border:1px solid var(--border-soft);border-radius:12px;margin-bottom:8px;cursor:pointer;text-align:left;transition:background .2s}.chat-user-item:hover{background:var(--accent-light)}.chat-conv-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;background:#6366f1;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:#fff}.chat-conv-avatar img{width:100%;height:100%;object-fit:cover}.chat-conv-name{font-weight:600;color:var(--text-main)}.chat-conv-header{display:flex;align-items:center;gap:12px;padding:12px 16px;flex-shrink:0;border-bottom:1px solid var(--chat-shell-border);background:var(--chat-tabs-row-bg)}.chat-conv-header .chat-conv-name{flex:1}.chat-conv-header-actions{display:flex;align-items:center;gap:8px}.chat-members-btn{display:flex;align-items:center;gap:6px;padding:8px 12px;background:transparent;border:1px solid var(--border-soft);border-radius:8px;color:var(--text-subtle);font-size:14px;cursor:pointer;transition:color .2s,background .2s,border-color .2s}.chat-members-btn:hover{color:#0d9488;border-color:#0d94884d;background:#0d948814}.chat-group-members-panel{padding:16px;flex-shrink:0;border-bottom:1px solid var(--chat-shell-border);background:var(--chat-tabs-row-bg);max-height:260px;overflow-y:auto}.chat-members-panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.chat-members-title{margin:0;font-size:14px;font-weight:600;color:var(--text-main)}.chat-add-member-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#0d9488;border:none;border-radius:8px;color:#fff;font-size:13px;cursor:pointer;transition:opacity .2s}.chat-add-member-btn:hover{opacity:.9}.chat-add-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#0d948826;border:1px solid #0d9488;border-radius:8px;color:#0d9488;font-size:13px;cursor:pointer;transition:background .2s,border-color .2s}.chat-add-btn:hover:not(:disabled){background:#0d948840}.chat-add-btn:disabled{opacity:.6;cursor:wait}.chat-members-empty{margin:0;padding:12px;font-size:14px;color:var(--text-subtle)}.chat-members-list{display:flex;flex-direction:column;gap:8px}.chat-member-row{display:flex;align-items:center;gap:12px;padding:8px 12px;background:var(--bg-card);border-radius:10px;border:1px solid var(--border-soft)}.chat-member-name{flex:1;font-size:14px;color:var(--text-main)}.chat-kick-btn{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:8px;color:#ef4444;font-size:13px;cursor:pointer;transition:background .2s,border-color .2s}.chat-kick-btn:hover:not(:disabled){background:#ef444433;border-color:#ef4444}.chat-kick-btn:disabled{opacity:.6;cursor:wait}.chat-delete-btn{display:flex;align-items:center;gap:6px;padding:8px 12px;background:transparent;border:1px solid var(--border-soft);border-radius:8px;color:var(--text-subtle);font-size:14px;cursor:pointer;transition:color .2s,background .2s,border-color .2s}.chat-delete-btn:hover{color:#ef4444;border-color:#ef44441a;background:#ef444414}.chat-delete-btn:disabled{opacity:.5;cursor:not-allowed}.chat-back-btn{background:none;border:none;font-size:14px;color:#6366f1;cursor:pointer;font-weight:500}.chat-empty,.chat-loading{text-align:center;color:var(--text-subtle);padding:24px;margin:0}.chat-picker-label{margin:0 0 12px;font-size:14px;color:var(--text-subtle)}.chat-user-list{display:flex;flex-direction:column;gap:8px}.chat-user-item.selected{background:var(--accent-light, rgba(13, 148, 136, .15));border-color:var(--accent)}.chat-user-check{margin-left:auto;color:var(--accent);font-weight:700}.chat-group-name-input{width:100%;padding:12px 16px;margin-bottom:16px;border:1px solid var(--border-soft);border-radius:10px;font-size:15px;background:var(--bg-card-soft);color:var(--text-main)}.chat-create-group-footer{margin-top:20px;padding-top:16px;border-top:1px solid var(--border-soft);position:sticky;bottom:0;background:var(--bg-card)}.chat-create-group-btn{width:100%;padding:16px 20px;background:#e2e8f0;color:#475569!important;-webkit-text-fill-color:#475569!important;border:2px solid #cbd5e1;border-radius:12px;font-size:16px;font-weight:600;cursor:not-allowed;transition:all .25s ease;text-align:center;display:block}.chat-create-group-btn.active{background:#0d9488;color:#fff!important;-webkit-text-fill-color:#ffffff!important;border-color:#0d9488;cursor:pointer;box-shadow:0 4px 14px #0d948859}.chat-create-group-btn.active:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 20px #0d948873}.chat-create-group-btn:disabled.active{opacity:.8;cursor:wait}.dark-theme .chat-create-group-btn{background:#374151;color:#9ca3af!important;-webkit-text-fill-color:#9ca3af!important;border-color:#4b5563}.dark-theme .chat-create-group-btn.active{background:#0d9488;color:#fff!important;-webkit-text-fill-color:#ffffff!important}.chat-conv-avatar-group{background:#0d9488;color:#fff;display:flex;align-items:center;justify-content:center}.dark-theme .chat-conv-avatar-group{background:#0d9488;color:#fff}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:var(--bg-card);border-radius:20px;width:100%;max-width:600px;min-width:0;max-height:90vh;overflow-y:auto;container-type:inline-size;container-name:app-modal;box-shadow:0 32px 64px -16px #4f46e538,0 20px 40px -12px #0f172a2e,0 0 0 1px #6366f114;transition:box-shadow .35s ease}.modal-content:hover{box-shadow:0 36px 72px -12px #4f46e547,0 24px 48px -12px #0f172a33,0 0 0 1px #8b5cf61f}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid var(--border-soft)}.create-workout-header{align-items:flex-start}.create-workout-header>div:first-child{flex:1;min-width:0;padding-right:12px}.modal-header h2{margin:0;font-size:24px;color:var(--text-main)}.close-btn{background:var(--bg-card-soft);border:1px solid var(--border-soft);width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.close-btn:hover{background:linear-gradient(135deg,#fdf2f8,#eef2ff);border-color:#e879f9;color:#7c3aed;box-shadow:0 8px 20px #7c3aed33;transform:scale(1.04)}.view-modal-body{padding:24px}.view-modal-section{margin-bottom:24px}.view-modal-label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle);margin:0 0 8px}.view-modal-creator-card{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:12px;background:var(--bg-secondary);border:1px solid var(--border-soft)}.dark-theme .view-modal-creator-card{border-color:#94a3b838}.view-modal-creator-card__identity{display:flex;align-items:center;gap:12px;min-width:0}.view-modal-creator-card img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid rgba(99,102,241,.55);flex-shrink:0}.view-modal-creator-card__avatar-fallback{width:44px;height:44px;border-radius:50%;background:#6366f1;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;color:#fff;flex-shrink:0}.view-modal-creator-card__name{margin:0;font-weight:600;color:var(--text-main)}.view-modal-creator-card__email{margin:0;font-size:13px;color:var(--text-subtle)}.view-modal-text{color:var(--text-main);margin:0;font-size:15px;line-height:1.5}.view-modal-exercise{background:var(--bg-card-soft);padding:16px 18px;border-radius:14px;margin-bottom:14px;border:1px solid var(--border-soft);box-shadow:0 4px 6px -1px #0f172a0f,0 10px 24px -8px #6366f11f;transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .35s ease,border-color .25s ease,background .3s ease}.view-modal-exercise:hover{transform:translateY(-4px);border-color:#a78bfaa6;background:linear-gradient(145deg,#eef2fff2,#fce7f38c,#e0f2fea6);box-shadow:0 12px 28px -6px #6366f147,0 22px 44px -12px #ec489926,0 0 0 1px #818cf840}.dark-theme .view-modal-exercise:hover{background:linear-gradient(145deg,#312e8173,#83184333,#1e3a8a59);border-color:#a5b4fc73;box-shadow:0 12px 32px -4px #6366f159,0 0 0 1px #8b5cf633}.view-modal-exercise-name-row{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.view-modal-exercise-name{margin:0;color:var(--text-main);font-size:16px;font-weight:600;flex:1;min-width:0}.view-modal-exercise-details{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;font-size:14px;color:var(--text-subtle)}.view-modal-exercise-details span{white-space:nowrap}.view-modal-close-btn{width:100%;margin-top:24px;padding:14px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.view-modal-close-btn:hover{transform:translateY(-2px);box-shadow:0 12px 32px #6366f173,0 0 40px -8px #ec489959}.modal-content form{padding:24px;min-width:0;max-width:100%;box-sizing:border-box}.form-group{margin-bottom:20px;min-width:0;max-width:100%}.form-group label{display:block;font-weight:600;color:#333;margin-bottom:8px;font-size:15px}.form-group input[type=text],.form-group textarea{width:100%;min-width:0;max-width:100%;padding:12px;border:2px solid #e2e8f0;border-radius:10px;font-size:17px;transition:border-color .2s;box-sizing:border-box;overflow-wrap:break-word;word-wrap:break-word}.form-group textarea{resize:vertical;font-family:inherit}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.form-group.checkbox{display:flex;align-items:center;gap:10px}.form-group.checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer}.form-group.checkbox label{margin:0;cursor:pointer}.public-visibility-card{display:flex;align-items:center;gap:16px;padding:16px 20px;background:var(--bg-card-soft);border:1px solid var(--border-soft);border-radius:12px;transition:border-color .2s ease,box-shadow .2s ease}.public-visibility-card:hover{border-color:#6366f166}.public-visibility-card.checked{border-color:#6366f199;box-shadow:0 0 0 1px #6366f133}.public-visibility-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#6366f11a;border-radius:10px;color:#6366f1;flex-shrink:0}.public-visibility-card.checked .public-visibility-icon{background:#6366f126;color:#4f46e5}.public-visibility-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.public-visibility-title{font-size:15px;font-weight:600;color:var(--text-main)}.public-visibility-desc{font-size:13px;color:var(--text-subtle)}.public-visibility-toggle{position:relative;display:inline-block;width:48px;height:26px;flex-shrink:0;cursor:pointer}.public-visibility-toggle input{opacity:0;width:0;height:0}.public-visibility-toggle .toggle-slider{position:absolute;inset:0;background:var(--border-soft);border-radius:26px;transition:background .25s ease,box-shadow .25s ease}.public-visibility-toggle .toggle-slider:before{content:"";position:absolute;height:22px;width:22px;left:2px;bottom:2px;background:#fff;border-radius:50%;transition:transform .25s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px #0003}.public-visibility-toggle input:checked+.toggle-slider{background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 0 0 1px #6366f14d}.public-visibility-toggle input:checked+.toggle-slider:before{transform:translate(22px)}.dark-theme .public-visibility-toggle .toggle-slider:before{background:#f8fafc}.public-visibility-toggle input:focus-visible+.toggle-slider{outline:2px solid #6366f1;outline-offset:2px}.error-message{background:#fed7d7;border:1px solid #fc8181;color:#c53030;padding:12px;border-radius:10px;margin-bottom:20px;font-size:14px}.exercises-section{margin-top:24px}.exercises-section h3{font-size:18px;color:#333;margin-bottom:16px}.exercise-form{background:#f8f9fa;padding:16px;border-radius:12px;margin-bottom:12px;border:1px solid #e2e8f0;max-width:100%;box-sizing:border-box;overflow:visible;box-shadow:0 4px 14px -4px #0f172a14;transition:box-shadow .35s ease,border-color .25s ease,transform .3s cubic-bezier(.34,1.56,.64,1),background .3s ease}.exercise-form:hover{border-color:#6366f166;background:linear-gradient(160deg,#fff,#f5f3ff 40%,#ecfeff);box-shadow:0 12px 32px -8px #6366f140;transform:translateY(-2px)}.exercise-header{display:flex;gap:10px;margin-bottom:12px;min-width:0}.exercise-header input{flex:1;min-width:0;padding:12px;border:2px solid #e2e8f0;border-radius:10px;font-size:16px;box-sizing:border-box}.exercise-name-autocomplete-wrap{position:relative;flex:1;min-width:0}.exercise-name-suggestions{position:absolute;left:0;right:0;top:calc(100% + 6px);margin:0;padding:6px;list-style:none;max-height:260px;overflow-y:auto;z-index:80;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 14px 44px #0f172a29;box-sizing:border-box}.exercise-name-suggestion-btn{width:100%;text-align:left;padding:10px 12px;border:none;border-radius:8px;background:transparent;cursor:pointer;display:flex;flex-direction:column;gap:2px;font:inherit;transition:background .15s ease}.exercise-name-suggestion-btn:hover{background:#eef2ff}.exercise-name-suggestion-btn .suggestion-title{font-weight:600;color:#1e293b;font-size:15px}.exercise-name-suggestion-btn .suggestion-meta{font-size:12px;color:#64748b}.dark-theme .exercise-name-suggestions{background:#0f172a;border-color:#334155;box-shadow:0 18px 50px #0000008c}.dark-theme .exercise-name-suggestion-btn:hover{background:#6366f138}.dark-theme .exercise-name-suggestion-btn .suggestion-title{color:#f1f5f9}.dark-theme .exercise-name-suggestion-btn .suggestion-meta{color:#94a3b8}.remove-exercise{background:#ffebee;color:#d32f2f;border:none;width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}.remove-exercise:hover{background:#ffcdd2}.exercise-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.exercise-details div{display:flex;flex-direction:column;min-width:0}.exercise-details label{font-size:13px;font-weight:600;color:#666;margin-bottom:6px}.exercise-details input{padding:10px;border:2px solid #e2e8f0;border-radius:8px;font-size:15px;width:100%;min-width:0;box-sizing:border-box}.exercise-details div:has(>input[aria-invalid=true]) label{color:#b91c1c}.exercise-details input[aria-invalid=true]{border-color:#dc2626!important;background:#fee2e2bf!important;box-shadow:0 0 0 3px #ef444447}.exercise-details input[aria-invalid=true]:focus{border-color:#b91c1c!important;box-shadow:0 0 0 3px #ef444466}.exercise-details input[aria-invalid=true]::placeholder{color:#b91c1ca6}.dark-theme .exercise-details div:has(>input[aria-invalid=true]) label{color:#fca5a5}.dark-theme .exercise-details input[aria-invalid=true]{border-color:#ef4444!important;background:#7f1d1d73!important;box-shadow:0 0 0 3px #ef444440,inset 0 1px #fecaca1f;color:#fef2f2}.dark-theme .exercise-details input[aria-invalid=true]:focus{border-color:#f87171!important;box-shadow:0 0 0 3px #f8717159}.dark-theme .exercise-details input[aria-invalid=true]::placeholder{color:#fecacab3}@container app-modal (max-width: 520px){.exercise-details{grid-template-columns:1fr;gap:14px}}@container app-modal (min-width: 521px) and (max-width: 700px){.exercise-details{grid-template-columns:1fr 1fr;gap:12px}.exercise-details>div:last-child{grid-column:1 / -1}}@supports not (container-type: inline-size){@media(max-width:640px){.exercise-details{grid-template-columns:1fr;gap:14px}}@media(min-width:641px)and (max-width:900px){.exercise-details{grid-template-columns:1fr 1fr;gap:12px}.exercise-details>div:last-child{grid-column:1 / -1}}}.add-exercise-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;background:#e3f2fd;color:#1976d2;border:2px dashed #1976d2;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:12px}.add-exercise-btn:hover{background:#bbdefb}.form-actions{display:flex;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid #eee}.cancel-btn,.submit-btn{flex:1;padding:14px;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.cancel-btn{background:#f5f5f7;color:#666;border:1px solid transparent}.cancel-btn:hover:not(:disabled){background:#e5e5e7;color:#374151}.submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.submit-btn:hover{transform:translateY(-3px);box-shadow:0 14px 36px #667eea73,0 0 40px -8px #ec48994d}.submit-btn:disabled,.cancel-btn:disabled{opacity:.5;cursor:not-allowed}.action-btn.copy{background:#e8f5e9;color:#2e7d32}.action-btn.copy:hover{box-shadow:0 12px 28px -8px #2e7d3266}.modal-content.create-workout-modal{max-width:700px;min-width:0}.create-workout-header .create-workout-subtitle{margin:8px 0 0;font-size:15px;font-weight:500;color:var(--text-label);line-height:1.45;max-width:420px}.dark-theme .create-workout-header .create-workout-subtitle{color:var(--text-subtle);font-weight:400}.create-continue-btn{background:linear-gradient(135deg,#6366f1,#a855f7 45%,#ec4899)!important}.create-continue-btn:hover:not(:disabled){box-shadow:0 16px 40px #6366f173,0 0 48px -12px #ec489966!important}.create-visibility-step{padding:8px 24px 28px}.create-visibility-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 16px;margin-bottom:8px}.create-visibility-name{font-size:20px;font-weight:700;color:var(--text-main);letter-spacing:-.02em}.create-visibility-count{font-size:14px;font-weight:600;color:#6366f1;background:#6366f11f;padding:4px 12px;border-radius:999px}.create-visibility-hint{margin:0 0 20px;font-size:14px;color:var(--text-subtle);line-height:1.5}.visibility-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:8px}@media(max-width:540px){.visibility-choice-grid{grid-template-columns:1fr}}.visibility-option-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:22px 20px;border-radius:16px;border:2px solid var(--border-soft);cursor:pointer;background:var(--bg-card-soft);transition:transform .35s cubic-bezier(.34,1.56,.64,1),box-shadow .35s ease,border-color .25s ease,background .35s ease;min-height:160px;box-shadow:0 6px 20px -6px #0f172a1f}.visibility-option-card:hover{transform:translateY(-6px) scale(1.02)}.visibility-public:hover{border-color:#22d3ee;background:linear-gradient(155deg,#ecfeff,#e0e7ff 40%,#cffafe);box-shadow:0 18px 40px -10px #06b6d466,0 0 0 1px #22d3ee40}.visibility-public.selected{border-color:#0891b2;background:linear-gradient(155deg,#cffafe,#dbeafe,#e0e7ff);box-shadow:0 16px 36px -8px #0891b259,0 0 0 3px #22d3ee59}.visibility-private:hover{border-color:#f472b6;background:linear-gradient(155deg,#fdf4ff,#fce7f3 45%,#fae8ff);box-shadow:0 18px 40px -10px #ec489959,0 0 0 1px #f472b640}.visibility-private.selected{border-color:#db2777;background:linear-gradient(155deg,#fce7f3,#fae8ff,#ede9fe);box-shadow:0 16px 36px -8px #db27774d,0 0 0 3px #f472b659}.visibility-option-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:14px;margin-bottom:12px;background:#ffffffd9;color:#6366f1;box-shadow:0 4px 14px #6366f133}.visibility-public .visibility-option-icon{color:#0891b2;background:linear-gradient(145deg,#cffafe,#e0f2fe)}.visibility-private .visibility-option-icon{color:#db2777;background:linear-gradient(145deg,#fce7f3,#fae8ff)}.visibility-option-label{font-size:18px;font-weight:700;color:var(--text-main);margin-bottom:6px}.visibility-option-desc{font-size:13px;line-height:1.45;color:var(--text-subtle)}.create-visibility-actions{border-top:none;margin-top:20px}.dark-theme .visibility-option-card{background:#0f172aa6;box-shadow:0 8px 28px #00000059}.dark-theme .visibility-public:hover{background:linear-gradient(155deg,#083344e6,#1e1b4bd9);border-color:#22d3ee}.dark-theme .visibility-public.selected{background:linear-gradient(155deg,#083344f2,#1e3a8a99);box-shadow:0 16px 40px -8px #22d3ee40}.dark-theme .visibility-private:hover{background:linear-gradient(155deg,#83184373,#312e81a6);border-color:#f472b6}.dark-theme .visibility-private.selected{background:linear-gradient(155deg,#8318438c,#4c1d9580);box-shadow:0 16px 40px -8px #ec489933}.dark-theme .create-visibility-count{background:#6366f140;color:#a5b4fc}.create-mode-tabs{display:flex;gap:8px;padding:0 24px 16px;flex-wrap:wrap}.mode-tab{display:flex;align-items:center;gap:6px;padding:10px 16px;border:2px solid #e2e8f0;background:#f8f9fa;border-radius:10px;font-size:14px;font-weight:600;color:#4a5568;cursor:pointer;transition:all .2s}.mode-tab:hover{border-color:#818cf8;color:#5b21b6;background:linear-gradient(135deg,#eef2ff,#fce7f3);box-shadow:0 8px 20px -6px #6366f159;transform:translateY(-2px)}.mode-tab.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:transparent;color:#fff;box-shadow:0 10px 28px -4px #667eea8c}.library-section,.template-section,.ai-section{padding:0 24px 20px}.library-search{display:flex;gap:10px;margin-bottom:16px}.library-search-input-wrap{flex:1;position:relative}.library-search .search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#a0aec0;pointer-events:none;font-size:18px}.library-search input{width:100%;padding:10px 12px 10px 42px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;box-sizing:border-box}.library-search input::placeholder{color:#a0aec0}.library-search select{padding:10px 14px;border:2px solid #e2e8f0;border-radius:10px;font-size:14px;min-width:160px}.library-list{max-height:180px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.library-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f8f9fa;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .2s;text-align:left;width:100%}.library-item:hover{border-color:#a855f7;background:linear-gradient(120deg,#eef2ff,#fdf4ff 45%,#e0f2fe);box-shadow:0 10px 28px -8px #8b5cf659;transform:translate(4px) scale(1.01)}.library-item .lib-name{flex:1;font-weight:600;color:#333}.library-item .lib-muscle{font-size:12px;color:#718096;padding:4px 8px;background:#e2e8f0;border-radius:6px}.library-item .lib-add{color:#667eea;font-size:18px}.template-section{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.template-card{padding:16px;background:#f8f9fa;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;text-align:left;transition:all .2s}.template-card:hover{border-color:#6366f1;background:linear-gradient(145deg,#eef2ff,#fce7f3,#dbeafe);box-shadow:0 14px 36px -10px #6366f166;transform:translateY(-4px)}.template-card h4{margin:0 0 6px;font-size:16px;color:#333}.template-card p{margin:0 0 8px;font-size:13px;color:#666}.template-card span{font-size:12px;color:#718096}@media(max-width:640px){.library-section,.template-section,.ai-section{padding:0 12px 16px}.template-section{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}.template-card{min-width:0;padding:10px 8px;border-radius:10px;border-width:1px}.template-card:hover{transform:translateY(-2px)}.template-card h4{font-size:13px;margin:0 0 4px;line-height:1.25}.template-card p{font-size:11px;margin:0 0 4px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.template-card span{font-size:10px;line-height:1.2}}@media(max-width:380px){.template-section{gap:6px}.template-card{padding:8px 6px}.template-card h4{font-size:12px}.template-card p{font-size:10px;-webkit-line-clamp:2}}.ai-section p{margin:0 0 12px;color:#4a5568;font-size:14px}.ai-muscle-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.ai-section .chip{padding:8px 16px;border:2px solid #e2e8f0;background:#f8f9fa;border-radius:20px;font-size:14px;font-weight:500;color:#4a5568;cursor:pointer;transition:all .2s}.ai-section .chip:hover{border-color:#667eea}.ai-section .chip.selected{background:linear-gradient(135deg,#667eea,#764ba2);border-color:transparent;color:#fff}.ai-generate-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer}.ai-generate-btn:hover{opacity:.9;transform:translateY(-1px)}.create-form{padding:0 24px 24px;min-width:0;max-width:100%;box-sizing:border-box}.timer-header-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#ffffffe6;color:#667eea;border:2px solid #667eea;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s}.timer-header-btn:hover{background:#667eea;color:#fff}.workout-timer-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000}.workout-timer-card{background:#fff;border-radius:20px;padding:24px;min-width:320px;box-shadow:0 20px 60px #0000004d}.workout-timer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.workout-timer-header h3{margin:0;font-size:20px;color:#333}.timer-close{background:none;border:none;font-size:28px;color:#999;cursor:pointer;line-height:1}.timer-close:hover{color:#333}.workout-timer-display{text-align:center;padding:30px;border-radius:16px;margin-bottom:20px}.workout-timer-display.work{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.workout-timer-display.rest{background:linear-gradient(135deg,#11998e,#38ef7d);color:#fff}.timer-mode{display:block;font-size:14px;font-weight:600;opacity:.9;margin-bottom:8px}.timer-time{font-size:48px;font-weight:700;font-variant-numeric:tabular-nums}.workout-timer-controls{display:flex;gap:12px;justify-content:center;margin-bottom:20px}.timer-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .2s}.timer-btn.play{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.timer-btn.reset{background:#f0f0f0;color:#333}.timer-btn:hover{transform:translateY(-2px)}.workout-timer-settings{display:flex;gap:16px;padding-top:16px;border-top:1px solid #eee}.timer-setting{flex:1;display:flex;flex-direction:column;gap:6px}.timer-setting label{font-size:13px;font-weight:600;color:#666}.timer-setting input{padding:10px;border:2px solid #e2e8f0;border-radius:8px;font-size:16px}.timer-setting-split .timer-min-sec{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.timer-setting-split .timer-min-sec input{width:56px;padding:8px 10px;text-align:center}.timer-setting-split .timer-min-sec span{font-size:12px;font-weight:600;color:#6b7280}.timer-nav-btn{display:flex;align-items:center;gap:10px;width:100%;padding:12px 15px;margin:5px 0;background:#667eea4d;border:none;color:#fff;text-align:left;border-radius:8px;cursor:pointer;font-size:15px;transition:background .3s}.timer-nav-btn:hover{background:#667eea80}.tracking-tabs{display:flex;gap:8px;margin:24px 0 20px;flex-wrap:wrap}.track-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;border:2px solid #e2e8f0;background:#f8f9fa;border-radius:10px;font-size:15px;font-weight:600;color:#4a5568;cursor:pointer;transition:all .2s}.track-tab:hover{border-color:#667eea;color:#667eea}.track-tab.active{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:transparent;color:#fff;box-shadow:0 4px 14px #6366f159}.tracking-page-header{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.tracking-header-text{flex:1;min-width:0}.tracking-header-text h1{margin:0}.tracking-subtitle{margin:6px 0 0;font-size:15px;font-weight:500;color:var(--text-label);line-height:1.45;word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.dark-theme .tracking-subtitle{color:var(--text-subtle);font-weight:400}.track-panel{background:var(--bg-card);border-radius:16px;padding:28px;box-shadow:var(--shadow-card);border:1px solid rgba(0,0,0,.04);overflow:hidden;box-sizing:border-box;max-width:100%}.progress-photos-section{margin-top:24px}.progress-photos-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;flex-wrap:wrap}.progress-photos-header-text{min-width:0}.progress-photos-title{margin:0;font-size:1.5rem;font-weight:800;letter-spacing:-.03em;color:var(--text-main);line-height:1.2}.progress-photos-sub{margin:6px 0 0;font-size:13px;color:var(--text-subtle);line-height:1.45;max-width:420px}.app-root-layer--aurora .progress-photos-section .progress-photos-title{color:#0f172a}.app-root-layer--aurora .progress-photos-section .progress-photos-sub{color:#334155}.dark-theme .app-root-layer--dark-aurora .progress-photos-section .progress-photos-title{color:#f8fafc}.dark-theme .app-root-layer--dark-aurora .progress-photos-section .progress-photos-sub{color:#cbd5e1}.profile-page-tabs{display:flex;gap:12px;margin:24px 0 20px;border-bottom:2px solid var(--border-soft);padding-bottom:0}.profile-page-tab{padding:12px 24px;background:transparent;border:none;border-radius:10px 10px 0 0;font-weight:600;cursor:pointer;font-size:15px;margin-bottom:-2px;border-bottom:2px solid transparent;color:var(--text-label);transition:color .15s ease,background .15s ease}.profile-page-tab--with-icon{display:inline-flex;align-items:center;gap:8px}.profile-page-tab--active{background:#667eea;color:#fff!important;border-bottom-color:#667eea}.profile-page-tab:not(.profile-page-tab--active):hover{color:var(--text-main);background:color-mix(in srgb,var(--text-main) 6%,transparent)}.dark-theme .profile-page-tab:not(.profile-page-tab--active){color:#e2e8f0}.dark-theme .profile-page-tab:not(.profile-page-tab--active):hover{color:#f8fafc;background:#ffffff14}.app-root-layer--aurora .profile-page-tab:not(.profile-page-tab--active){color:#1e293b}.app-root-layer--aurora .profile-page-tab:not(.profile-page-tab--active):hover{color:#0f172a;background:#ffffff59}@media(max-width:768px){.profile-page-tabs{gap:8px;padding:0 4px}.profile-page-tab{flex:1 1 0;min-width:0;min-height:48px;padding:10px 12px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.2}.profile-page-tab--with-icon{gap:6px}.profile-page-tab--with-icon svg{width:17px;height:17px;flex-shrink:0}}.progress-photos-add-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border:none;border-radius:12px;font-weight:700;font-size:14px;cursor:pointer;color:#fff;background:linear-gradient(135deg,#6366f1,#7c3aed,#a855f7);box-shadow:0 4px 14px #6366f173,0 0 0 1px #ffffff1a inset;transition:transform .2s ease,box-shadow .2s ease;flex-shrink:0}.progress-photos-add-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #6366f180,0 0 0 1px #ffffff1f inset}.progress-photos-add-btn:active{transform:translateY(0)}.progress-photos-skeleton{color:var(--text-subtle);padding:48px 16px;text-align:center;font-size:15px}.progress-photos-empty{text-align:center;padding:48px 24px 56px;border-radius:16px;border:2px dashed color-mix(in srgb,var(--text-subtle) 35%,transparent);background:linear-gradient(180deg,color-mix(in srgb,var(--text-main) 2%,transparent) 0%,transparent 100%)}.progress-photos-empty-icon{width:72px;height:72px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:linear-gradient(145deg,#6366f126,#7c3aed14);color:#6366f1;font-size:32px}.dark-theme .progress-photos-empty-icon{color:#a5b4fc}.progress-photos-empty-title{margin:0 0 8px;font-size:17px;font-weight:700;color:var(--text-main)}.progress-photos-empty-desc{font-size:14px;color:var(--text-subtle);line-height:1.5;max-width:320px;margin:0 auto 20px}.progress-photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}@media(max-width:480px){.progress-photos-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}}.progress-photo-card{position:relative;border-radius:16px;overflow:hidden;background:var(--bg-card-soft);border:1px solid color-mix(in srgb,var(--text-main) 8%,transparent);box-shadow:0 4px 20px #0f172a14;transition:transform .25s ease,box-shadow .25s ease}.dark-theme .progress-photo-card{box-shadow:0 8px 32px #00000059;border-color:#94a3b81f}.progress-photo-card:hover{transform:translateY(-5px);box-shadow:0 16px 40px #6366f12e,0 4px 12px #0f172a1a}.dark-theme .progress-photo-card:hover{box-shadow:0 20px 48px #00000073}.progress-photo-card__media{position:relative;aspect-ratio:4 / 5;overflow:hidden;cursor:zoom-in;background:linear-gradient(145deg,#1e293b,#0f172a)}.progress-photo-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s cubic-bezier(.34,1.2,.64,1)}.progress-photo-card:hover .progress-photo-card__media img{transform:scale(1.06)}.progress-photo-card__shine{position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,rgba(255,255,255,.12) 0%,transparent 42%,transparent 100%);opacity:.5}.progress-photo-card__overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:12px;background:linear-gradient(180deg,transparent 0%,transparent 35%,rgba(15,23,42,.88) 100%);opacity:0;transition:opacity .25s ease;pointer-events:none}.progress-photo-card:hover .progress-photo-card__overlay{opacity:1}.progress-photo-card__overlay span{font-size:12px;font-weight:600;color:#f8fafc;display:flex;align-items:center;gap:6px}.progress-photo-badge{position:absolute;top:12px;left:12px;z-index:2;padding:5px 11px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#fff;box-shadow:0 2px 10px #0003}.progress-photo-badge--before{background:linear-gradient(135deg,#f59e0b,#d97706)}.progress-photo-badge--after{background:linear-gradient(135deg,#10b981,#059669)}.progress-photo-badge--progress{background:linear-gradient(135deg,#6366f1,#4f46e5)}.progress-photo-card__delete{position:absolute;top:10px;right:10px;z-index:3;width:36px;height:36px;border-radius:12px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;background:#0f172a8c;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .2s ease,transform .15s ease}.progress-photo-card__delete:hover{background:#ef4444e6;transform:scale(1.05)}.progress-photo-card__body{padding:14px 14px 16px}.progress-photo-card__date-row{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--text-subtle)}.progress-photo-card__notes{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--text-muted, var(--text-subtle));display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.progress-photo-lightbox{position:fixed;inset:0;z-index:10000;background:#0f172aeb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));cursor:zoom-out;animation:progressLightboxIn .25s ease;touch-action:manipulation;overscroll-behavior:contain}@keyframes progressLightboxIn{0%{opacity:0}to{opacity:1}}.progress-photo-lightbox__close{position:fixed;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:48px;height:48px;border-radius:14px;border:2px solid rgba(255,255,255,.35);cursor:pointer;background:#0f172abf;color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s ease;z-index:10002;box-shadow:0 4px 20px #00000073;-webkit-tap-highlight-color:transparent}.progress-photo-lightbox__close:hover{background:#ffffff38}.progress-photo-lightbox__img{max-width:min(92vw,900px);max-height:min(78vh,900px);width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 24px 80px #00000080;cursor:default}.progress-photo-lightbox__meta{margin-top:16px;text-align:center;max-width:480px;cursor:default}.progress-photo-lightbox__meta h4{margin:0 0 6px;font-size:15px;font-weight:700;color:#f1f5f9}.progress-photo-lightbox__meta p{margin:0;font-size:14px;color:#94a3b8;line-height:1.5}.progress-photo-form .form-control,.progress-photo-form textarea{width:100%;padding:12px 14px;border-radius:12px;border:2px solid var(--border-soft, #e2e8f0);font-size:14px;box-sizing:border-box;background:var(--bg-card);color:var(--text-main);transition:border-color .2s ease,box-shadow .2s ease}.dark-theme .progress-photo-form .form-control,.dark-theme .progress-photo-form textarea{border-color:#94a3b840;background:#0f172a99}.progress-photo-form .form-control:focus,.progress-photo-form textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f140}.progress-photo-preview{margin-top:12px;border-radius:12px;overflow:hidden;border:2px solid color-mix(in srgb,var(--text-main) 10%,transparent);max-height:200px;object-fit:cover;width:100%}.progress-photo-form-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--border-soft)}.progress-photo-form-btn{padding:12px 22px;border-radius:12px;font-weight:700;font-size:14px;cursor:pointer;border:none;transition:transform .15s ease,opacity .2s}.progress-photo-form-btn--ghost{background:var(--bg-card-soft);color:var(--text-muted, var(--text-subtle))}.progress-photo-form-btn--ghost:hover{opacity:.9}.progress-photo-form-btn--primary{background:linear-gradient(135deg,#6366f1,#7c3aed);color:#fff}.progress-photo-form-btn--primary:disabled{opacity:.5;cursor:not-allowed}.progress-photo-modal-overlay.modal-overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172a8c}.modal-content.progress-photo-modal{max-width:440px;border-radius:20px;overflow:hidden;border:1px solid color-mix(in srgb,var(--text-main) 6%,transparent)}.modal-content.progress-photo-modal:before{content:"";display:block;height:4px;background:linear-gradient(90deg,#6366f1,#8b5cf6 45%,#a855f7)}.progress-photo-modal__header.modal-header{align-items:flex-start;padding:22px 22px 18px;gap:12px;border-bottom:1px solid var(--border-soft)}.progress-photo-modal__headline{min-width:0;flex:1}.progress-photo-modal__title{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:1.35rem;font-weight:800;letter-spacing:-.03em;color:var(--text-main);line-height:1.25}.progress-photo-modal__subtitle{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--text-subtle);font-weight:500}.progress-photo-form{padding:24px 24px 26px}.progress-photo-form__field{margin-bottom:22px}.progress-photo-form__field:last-of-type{margin-bottom:0}.progress-photo-form .form-label{display:block;margin-bottom:10px;font-weight:700;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-subtle)}.progress-photo-optional{font-weight:600;text-transform:none;letter-spacing:0;color:var(--text-subtle);font-size:12px}.progress-photo-help{margin:8px 0 0;font-size:12px;color:var(--text-subtle);line-height:1.4}.progress-photo-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.progress-photo-form__field:first-child{position:relative}.progress-photo-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:168px;padding:28px 20px;border-radius:16px;border:2px dashed color-mix(in srgb,var(--text-main) 18%,transparent);background:linear-gradient(165deg,color-mix(in srgb,#6366f1 8%,transparent),color-mix(in srgb,var(--bg-card) 100%,transparent) 55%);cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .15s ease,box-shadow .2s ease}.progress-photo-dropzone:hover{border-color:#6366f18c;box-shadow:0 8px 28px #6366f11f}.progress-photo-dropzone--active{border-color:#6366f1;border-style:solid;background:color-mix(in srgb,#6366f1 14%,var(--bg-card));transform:scale(1.01);box-shadow:0 12px 36px #6366f133}.dark-theme .progress-photo-dropzone{border-color:#94a3b859;background:linear-gradient(165deg,rgba(99,102,241,.12),var(--bg-card-soft))}.dark-theme .progress-photo-dropzone--active{background:#6366f12e}.progress-photo-dropzone__icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin-bottom:12px;border-radius:18px;background:linear-gradient(145deg,#6366f133,#8b5cf61f);color:#6366f1}.dark-theme .progress-photo-dropzone__icon{color:#a5b4fc}.progress-photo-dropzone__title{font-size:15px;font-weight:700;color:var(--text-main);margin-bottom:6px}.progress-photo-dropzone__hint{font-size:12px;color:var(--text-subtle)}.progress-photo-preview-wrap{border-radius:16px;overflow:hidden;border:2px solid color-mix(in srgb,var(--text-main) 10%,transparent);background:var(--bg-card-soft)}.progress-photo-preview-wrap .progress-photo-preview{margin-top:0;border:none;border-radius:0;max-height:220px;width:100%;object-fit:cover;display:block}.progress-photo-preview-actions{padding:12px 14px;display:flex;justify-content:center;border-top:1px solid var(--border-soft)}.progress-photo-change-btn{background:none;border:none;cursor:pointer;font-size:13px;font-weight:700;color:#6366f1;text-decoration:underline;text-underline-offset:3px}.progress-photo-change-btn:hover{color:#4f46e5}.progress-photo-pills{display:flex;flex-wrap:wrap;gap:10px}.progress-photo-pill{flex:1 1 100px;min-height:46px;padding:10px 14px;border-radius:12px;border:2px solid var(--border-soft);background:var(--bg-card);color:var(--text-main);font-size:14px;font-weight:700;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .12s ease,box-shadow .2s ease}.progress-photo-pill:hover{border-color:color-mix(in srgb,#6366f1 45%,transparent)}.progress-photo-pill--selected.progress-photo-pill--before{border-color:#d97706;background:linear-gradient(180deg,#f59e0b26,#f59e0b0f);box-shadow:0 4px 14px #f59e0b33}.progress-photo-pill--selected.progress-photo-pill--after{border-color:#059669;background:linear-gradient(180deg,#10b98126,#10b9810f);box-shadow:0 4px 14px #10b98133}.progress-photo-pill--selected.progress-photo-pill--progress{border-color:#6366f1;background:linear-gradient(180deg,#6366f12e,#6366f10f);box-shadow:0 4px 14px #6366f138}.dark-theme .progress-photo-pill:not(.progress-photo-pill--selected){background:#0f172a80;border-color:#94a3b840;color:var(--text-main)}.dark-theme .progress-photo-pill--selected.progress-photo-pill--before{border-color:#f59e0b;background:linear-gradient(180deg,#f59e0b6b,#b4530933);color:#fffbeb;box-shadow:0 0 0 2px #f59e0b73,0 6px 20px #f59e0b38}.dark-theme .progress-photo-pill--selected.progress-photo-pill--after{border-color:#34d399;background:linear-gradient(180deg,#34d39959,#05966938);color:#ecfdf5;box-shadow:0 0 0 2px #34d39966,0 6px 20px #10b98133}.dark-theme .progress-photo-pill--selected.progress-photo-pill--progress{border-color:#818cf8;background:linear-gradient(180deg,#818cf673,#4f46e547);color:#eef2ff;box-shadow:0 0 0 2px #818cf68c,0 6px 22px #6366f159}.dark-theme .progress-photo-pill--selected:hover{filter:brightness(1.06)}.progress-photo-date-wrap{position:relative;display:flex;align-items:center}.progress-photo-date-icon{position:absolute;left:14px;color:var(--text-subtle);pointer-events:none;z-index:1}.progress-photo-form input[type=date]{width:100%;padding:12px 14px 12px 44px;border-radius:12px;border:2px solid var(--border-soft, #e2e8f0);font-size:14px;box-sizing:border-box;background:var(--bg-card);color:var(--text-main);font-family:system-ui,-apple-system,sans-serif;min-height:48px}.dark-theme .progress-photo-form input[type=date]{border-color:#94a3b840;background:#0f172a99;color-scheme:dark}.progress-photo-form input[type=date]:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f140}.progress-photo-form textarea{min-height:88px;resize:vertical;line-height:1.45;font-family:system-ui,-apple-system,sans-serif}.track-form{margin-bottom:24px;width:100%;min-width:0}.track-form-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;width:100%;min-width:0}.track-form-row input,.track-form-row select{padding:12px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;min-width:120px;box-sizing:border-box;max-width:100%}.track-form-row select{cursor:pointer;background:#fff}.exercise-dropdown{position:relative;min-width:140px;flex:1 1 180px}.exercise-dropdown-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;background:#fff;color:#435137;cursor:pointer;text-align:left;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}.exercise-dropdown-trigger:hover{border-color:#667eea}.exercise-dropdown-trigger.open{border-radius:10px 10px 0 0}.exercise-dropdown-trigger:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea33}.exercise-dropdown-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exercise-dropdown-label.placeholder{color:#9ca3af}.dark-theme .exercise-dropdown-label.placeholder{color:#6b7280}.exercise-dropdown-chevron{flex-shrink:0;font-size:18px;color:#6b7280;transition:transform .2s}.exercise-dropdown-chevron.open{transform:rotate(180deg)}.exercise-dropdown-list{position:absolute;top:100%;left:0;right:0;margin:0;padding:4px 0;list-style:none;background:#fff;border:2px solid #e2e8f0;border-top:none;border-radius:0 0 12px 12px;max-height:220px;overflow-y:auto;width:100%;box-sizing:border-box;z-index:100;box-shadow:0 8px 24px #0000001f}.exercise-dropdown-option{padding:12px 16px;font-size:15px;color:#374151;cursor:pointer;transition:background .15s,color .15s}.exercise-dropdown-option:hover{background:#667eea1f;color:#5b21b6}.exercise-dropdown-option.selected{background:#667eea2e;color:#5b21b6;font-weight:500}.exercise-dropdown-option.selected:hover{background:#667eea40}.exercise-dropdown-other{border-top:1px solid #e5e7eb;margin-top:4px;padding-top:12px}.dark-theme .exercise-dropdown-trigger{background:#020617;border-color:#374151;color:#e5e7eb}.dark-theme .exercise-dropdown-trigger:hover,.dark-theme .exercise-dropdown-trigger:focus{border-color:#667eea}.dark-theme .exercise-dropdown-list{background:#020617;border-color:#374151}.dark-theme .exercise-dropdown-option{color:#e5e7eb}.dark-theme .exercise-dropdown-option:hover{background:#667eea40;color:#a78bfa}.dark-theme .exercise-dropdown-option.selected{background:#667eea4d;color:#a78bfa}.dark-theme .exercise-dropdown-other{border-top-color:#374151}.pr-form-section{margin-bottom:20px}.pr-form-section .pr-input-label{display:block;margin-bottom:8px}.pr-exercise-dropdown{width:100%;min-width:0}.pr-form-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.pr-input-group{display:flex;flex-direction:column;gap:6px;min-width:0}.pr-input-label{font-size:13px;font-weight:600;color:var(--text-subtle, #64748b)}.pr-form-input{width:100%;padding:12px 16px;border:2px solid var(--border-soft, #e2e8f0);border-radius:10px;font-size:15px;background:var(--bg-card, white);color:var(--text-main);box-sizing:border-box;transition:border-color .2s}.pr-form-input:focus{outline:none;border-color:#0d9488}.pr-add-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;background:linear-gradient(135deg,#0d9488,#14b8a6);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;transition:opacity .2s;white-space:nowrap}.pr-add-btn:hover:not(:disabled){opacity:.9}.pr-add-btn:disabled{opacity:.6;cursor:not-allowed}.track-form-row button{display:flex;align-items:center;gap:8px;padding:12px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer}.track-form-row button:disabled{opacity:.6;cursor:not-allowed}.track-list{display:flex;flex-direction:column;gap:10px;max-height:400px;overflow-y:auto}.track-item{display:flex;align-items:center;gap:16px;padding:14px 16px;background:var(--bg-card-soft);border-radius:10px;font-size:15px}.water-item{justify-content:space-between}.water-delete-btn{border:none;background:#fee2e2;color:#b91c1c;border-radius:999px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,transform .1s}.water-delete-btn:hover{background:#fecaca;transform:translateY(-1px)}.water-delete-btn:disabled{opacity:.6;cursor:not-allowed}.dark-theme .water-delete-btn{background:#7f1d1db3;color:#fecaca}.dark-theme .water-delete-btn:hover{background:#f87171d9}.theme-toggle-slider{display:flex;flex-direction:column;align-items:center;width:100%;margin-bottom:20px;flex-shrink:0;min-width:0}.theme-toggle-track{position:relative;width:100%;height:44px;min-height:44px;max-height:44px;background:#475569;border-radius:22px;border:none;cursor:pointer;padding:0;overflow:hidden;box-sizing:border-box;flex-shrink:0}.theme-toggle-thumb{position:absolute;top:4px;left:4px;width:calc(50% - 4px);height:calc(100% - 8px);min-height:36px;background:#fff;border-radius:18px;transition:transform .25s ease;z-index:1;box-sizing:border-box}.theme-toggle-thumb.night{transform:translate(calc(100% + 4px))}.theme-toggle-icon{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;transition:color .2s ease;z-index:2}.theme-toggle-icon-sun{left:22%}.theme-toggle-icon-moon{right:22%}.theme-toggle-icon.on-thumb{color:#475569}.theme-toggle-icon.on-dark{color:#fff}.theme-toggle-labels{display:flex;justify-content:space-between;width:100%;margin-top:8px;padding:0 8px;font-size:11px;font-weight:600;letter-spacing:.05em;color:#475569}.theme-toggle-labels span:first-child{margin-left:2px}.theme-toggle-labels span:last-child{margin-right:2px}.theme-toggle-slider.sidebar{width:100%;max-width:100%;box-sizing:border-box}.theme-toggle-slider.sidebar .theme-toggle-track{width:100%;height:44px;min-height:44px;max-height:44px;background:#334155}.theme-toggle-slider.sidebar .theme-toggle-thumb{background:#f8fafc}.theme-toggle-slider.sidebar .theme-toggle-icon.on-thumb{color:#334155}.theme-toggle-slider.sidebar .theme-toggle-icon.on-dark{color:#e2e8f0}.theme-toggle-slider.sidebar .theme-toggle-labels{color:#fffc;height:18px;min-height:18px;font-size:11px}.dark-theme .theme-toggle-slider.sidebar .theme-toggle-track{background:#334155}.dark-theme .theme-toggle-slider.sidebar .theme-toggle-labels{color:#94a3b8}.theme-toggle-slider.header{width:auto;max-width:64px;flex-shrink:0;margin-bottom:0}.theme-toggle-slider.header .theme-toggle-track{width:64px;height:36px;min-height:36px;max-height:36px;border-radius:18px;background:#334155}.theme-toggle-slider.header .theme-toggle-thumb{width:28px;height:28px;border-radius:14px;background:#f8fafc}.theme-toggle-slider.header .theme-toggle-labels{display:none}.theme-toggle-slider.header .theme-toggle-icon-sun{left:18%}.theme-toggle-slider.header .theme-toggle-icon-moon{right:18%}.dark-theme .theme-toggle-slider.header .theme-toggle-track{background:#334155}.theme-toggle-slider.auth{max-width:200px;margin:0}.theme-toggle-slider.auth .theme-toggle-labels{color:#475569}.auth-card--dark .theme-toggle-slider.auth .theme-toggle-labels{color:#94a3b8}.track-item .notes{color:#718096;font-size:13px}.empty-msg{color:#999;text-align:center;padding:40px 20px}.water-today h3{margin:0 0 16px;font-size:22px;color:#333}.water-quick-add{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.water-quick-add button{padding:12px 20px;background:#e3f2fd;color:#1976d2;border:2px solid #1976d2;border-radius:10px;font-weight:600;cursor:pointer}.water-quick-add button:hover{background:#bbdefb}.water-quick-add input{width:80px;padding:12px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px}.pr-item{flex-direction:column;align-items:flex-start}.calories-subtitle{color:var(--text-label);font-size:15px;font-weight:500;margin:8px 0 0;line-height:1.45}.calories-panel{max-width:520px}.calories-section{margin-bottom:20px}.calories-label{display:block;font-size:13px;font-weight:600;color:var(--text-label);margin-bottom:8px;text-transform:uppercase;letter-spacing:.04em}.calories-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.toggle-group{display:flex;background:var(--bg-card-soft);border-radius:12px;padding:4px;gap:4px}.toggle-btn{flex:1;padding:10px 14px;border-radius:10px;border:none;background:transparent;font-size:13px;font-weight:600;color:var(--text-subtle);cursor:pointer;transition:all .2s}.toggle-btn:hover{color:var(--text-main)}.toggle-btn.active{background:var(--bg-card);color:#667eea;box-shadow:var(--shadow-soft)}.calories-input,.calories-select{width:100%;padding:12px 16px;border:2px solid var(--border-soft);border-radius:10px;font-size:15px;background:var(--bg-card);color:var(--text-main);box-sizing:border-box;transition:border-color .2s}.calories-input:focus,.calories-select:focus{outline:none;border-color:#0d9488}.calories-goal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.calories-goal-btn{padding:12px;border-radius:12px;border:2px solid var(--border-soft);background:var(--bg-card-soft);color:var(--text-subtle);font-size:13px;font-weight:600;cursor:pointer;transition:all .2s}.calories-goal-btn:hover{border-color:var(--goal-color, #667eea);color:var(--goal-color, #667eea)}.calories-goal-btn.active{border-color:var(--goal-color);background:color-mix(in srgb,var(--goal-color) 15%,transparent);color:var(--goal-color)}.calories-calc-btn{width:100%;margin-top:8px}.calories-result-box{margin-top:28px;padding:24px;background:var(--bg-card-soft);border-radius:16px;border:1px solid var(--border-soft);animation:calories-pop .35s ease}@keyframes calories-pop{0%{transform:scale(.98);opacity:.8}to{transform:scale(1);opacity:1}}.calories-big-cal{text-align:center;margin-bottom:20px}.calories-cal-num{display:block;font-size:42px;font-weight:800;line-height:1.1;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.calories-cal-label{display:block;color:var(--text-subtle);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-top:4px;-webkit-text-fill-color:initial}.calories-macro-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.calories-macro-card{background:color-mix(in srgb,var(--macro-color, #667eea) 12%,transparent);border:1px solid color-mix(in srgb,var(--macro-color, #667eea) 35%,transparent);border-radius:12px;padding:12px 8px;text-align:center}.calories-macro-val{display:block;font-size:20px;font-weight:800;color:var(--macro-color)}.calories-macro-name{display:block;color:var(--text-subtle);font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-top:2px}.calories-divider{height:1px;background:var(--border-soft);margin:16px 0}.calories-info-row{display:flex;justify-content:space-between;margin-bottom:8px}.calories-info-label{color:var(--text-subtle);font-size:13px}.calories-info-val{color:var(--text-main);font-size:13px;font-weight:600}.dark-theme .calories-cal-num{background:none!important;color:#e5e7eb!important;-webkit-text-fill-color:#e5e7eb!important}.active-session-overlay{position:fixed;inset:0;background:linear-gradient(180deg,#eef2ff,#f1f5f9 35%,#f8fafc);z-index:2000;display:flex;flex-direction:column;height:100vh;overflow:hidden}.active-session-overlay--aurora,.active-session-overlay--dark-aurora,.dark-theme .active-session-overlay--dark-aurora{background:transparent}.active-session-iridescence{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}.active-session-overlay--aurora .session-validation-banner,.active-session-overlay--aurora .session-duration-bar,.active-session-overlay--aurora .active-session,.active-session-overlay--aurora .session-footer,.active-session-overlay--dark-aurora .session-validation-banner,.active-session-overlay--dark-aurora .session-duration-bar,.active-session-overlay--dark-aurora .active-session,.active-session-overlay--dark-aurora .session-footer{position:relative;z-index:1}.active-session{overflow-x:hidden}.dark-theme .active-session-overlay{background:var(--bg-surface)}.session-validation-banner{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border-bottom:2px solid #f59e0b;box-shadow:0 4px 12px #f59e0b40}.session-validation-banner p{margin:0;font-size:14px;font-weight:600;line-height:1.4}.session-validation-close{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:8px;background:#92400e33;color:#92400e;cursor:pointer;transition:background .2s,transform .15s}.session-validation-close:hover{background:#92400e59;transform:scale(1.05)}.dark-theme .session-validation-banner{background:linear-gradient(135deg,#f59e0b40,#d9770633);color:#fcd34d;border-bottom-color:#f59e0b80}.dark-theme .session-validation-close{background:#f59e0b33;color:#fcd34d}.dark-theme .session-validation-close:hover{background:#f59e0b59}.session-duration-bar{flex-shrink:0;z-index:100;display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 24px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 4px 20px #6366f159}.session-duration-label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:#ffffffe6}.session-duration-time{font-size:26px;font-weight:700;font-variant-numeric:tabular-nums;color:#fff;background:#fff3;padding:6px 14px;border-radius:10px}.session-duration-accent{color:#fcd34d;text-shadow:0 0 20px rgba(252,211,77,.5)}.dark-theme .session-duration-accent{color:#fcd34d}.dark-theme .session-duration-bar{background:linear-gradient(135deg,#6366f159,#8b5cf64d);border:1px solid rgba(99,102,241,.5);color:inherit;box-shadow:0 2px 12px #6366f133}.dark-theme .session-duration-label{color:#fffffff2;font-size:13px;font-weight:700;letter-spacing:.09em}.dark-theme .session-duration-time{color:#e0e7ff;background:#6366f140;padding:6px 14px;border-radius:10px}.active-session{flex:1;display:flex;flex-direction:column;min-height:0;overflow-y:auto}.session-nav-bar{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:var(--bg-card);border-bottom:2px solid var(--border-soft);position:sticky;top:0;z-index:10}.session-reset-btn,.session-cancel-btn{background:#fff;border:2px solid #c7d2fe;color:#6366f1;cursor:pointer;padding:8px 16px;border-radius:10px;font-size:14px;font-weight:600;transition:all .2s}.session-reset-btn:hover,.session-cancel-btn:hover{background:#eef2ff;color:#4338ca;border-color:#6366f1}.dark-theme .session-reset-btn,.dark-theme .session-cancel-btn{background:transparent;border-color:var(--border-soft);color:var(--text-subtle)}.dark-theme .session-reset-btn:hover,.dark-theme .session-cancel-btn:hover{background:var(--bg-card-soft);color:var(--text-main);border-color:var(--text-subtle)}.session-global-timer{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--text-main)}.session-finish-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#16a34a,#22c55e);color:#fff;border:none;border-radius:12px;font-weight:600;font-size:16px;cursor:pointer;transition:transform .2s,box-shadow .2s}.session-finish-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #22c55e66}.session-footer{flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:16px;padding:16px 24px;background:var(--bg-card);border-top:2px solid var(--border-soft);box-shadow:0 -4px 20px #0000000f}.dark-theme .session-footer{background:var(--bg-card);border-top-color:var(--border-soft);box-shadow:0 -4px 20px #0003}.session-content{flex:1;padding:24px;max-width:720px;margin:0 auto;width:100%;box-sizing:border-box;min-width:0}.session-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:28px}.session-title{font-size:26px;font-weight:700;color:var(--text-main);margin:0 0 8px}.session-meta{display:flex;gap:20px;font-size:15px;font-weight:500;line-height:1.45;color:var(--text-label)}.dark-theme .active-session .session-meta,.dark-theme .active-session .session-rest-settings span,.dark-theme .active-session .session-exercise-label,.dark-theme .active-session .session-sets-header{text-shadow:0 1px 2px rgba(0,0,0,.75)}.session-header-actions{display:flex;align-items:center;gap:12px}.session-rest-settings{display:flex;flex-direction:column;gap:4px;margin-right:8px}.session-rest-settings span{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-label)}.session-rest-input{padding:8px 12px;border-radius:10px;border:2px solid var(--border-soft);background:var(--bg-card);color:var(--text-main);font-size:14px;font-weight:600}.session-rest-input-wrap{display:flex;align-items:center;gap:6px}.session-rest-mmss{gap:2px}.session-rest-mmss .session-rest-min{width:44px;text-align:right}.session-rest-mmss .session-rest-sec{width:44px;text-align:left}.session-rest-colon{font-size:18px;font-weight:700;color:var(--text-label);padding:0 2px}.session-rest-input{width:64px;text-align:center}.session-rest-input:focus{outline:none;border-color:#2563eb}.session-rest-unit{font-size:13px;font-weight:600;color:var(--text-label)}.session-exercise{margin-bottom:28px;padding:18px 16px 20px;border-radius:18px;transition:background .35s ease,box-shadow .35s ease,border-color .25s ease;background:#fff;border:1px solid rgba(148,163,184,.45);box-shadow:0 1px 3px #0f172a0f,0 8px 28px -4px #6366f11f}.session-exercise:hover{background:linear-gradient(180deg,#fff,#eef2fff2);border-color:#6366f159;box-shadow:0 4px 12px #0f172a14,0 16px 40px -8px #6366f133}.dark-theme .session-exercise{background:var(--bg-card);border-color:var(--border-soft);box-shadow:0 8px 32px -8px #00000073}.dark-theme .session-exercise:hover{background:linear-gradient(135deg,#1e1b4b99,#312e8159);border-color:#818cf859}.session-exercise-header{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}.session-exercise-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--text-label)}.session-exercise-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-width:0}.session-exercise-name{font-size:18px;font-weight:700;color:#4338ca;margin:0;letter-spacing:-.02em;flex:1;min-width:0}.session-exercise-video-btn,.exercise-preview-video-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;border-radius:11px;background:#6366f11f;color:#6366f1;cursor:pointer;transition:background .38s cubic-bezier(.34,1.56,.64,1),transform .38s cubic-bezier(.34,1.56,.64,1),box-shadow .4s ease,color .25s ease,filter .4s ease}.exercise-preview-video-btn{width:28px;height:28px;border-radius:10px}.session-exercise-video-btn:hover,.exercise-preview-video-btn:hover,.session-exercise-video-btn:focus-visible,.exercise-preview-video-btn:focus-visible{outline:none;background:linear-gradient(145deg,#4c1d95,#6d28d9 18%,#9333ea,#c026d3 46%,#ec4899 62%,#22d3ee 92%,#38bdf8);color:#fff;transform:scale(1.1);filter:saturate(1.12) brightness(1.03);box-shadow:0 4px 14px #4c1d9566,0 10px 32px #c026d361,0 16px 40px -6px #ec489959,0 0 28px #22d3ee73,0 0 52px -12px #a78bfa8c}.session-exercise-video-btn:focus-visible,.exercise-preview-video-btn:focus-visible{box-shadow:0 0 0 3px #6366f173,0 4px 14px #4c1d9559,0 0 28px #22d3ee59}.dark-theme .session-exercise-video-btn,.dark-theme .exercise-preview-video-btn{background:#6366f138;color:#c4b5fd;box-shadow:inset 0 1px #ffffff0f,0 2px 8px #00000059}.dark-theme .session-exercise-video-btn:hover,.dark-theme .exercise-preview-video-btn:hover,.dark-theme .session-exercise-video-btn:focus-visible,.dark-theme .exercise-preview-video-btn:focus-visible{background:linear-gradient(145deg,#5b21b6,#7c3aed 16%,#a855f7 30%,#db2777 48%,#f472b6 58%,#06b6d4 88%,#22d3ee);color:#fff;transform:scale(1.12);filter:saturate(1.22) brightness(1.1);box-shadow:0 0 0 1px #ffffff2e,0 4px 20px #5b21b68c,0 12px 36px #7c3aed73,0 20px 48px -8px #ec489966,0 0 40px #22d3ee6b,0 0 72px -16px #a78bfaa6}.dark-theme .session-exercise-video-btn:focus-visible,.dark-theme .exercise-preview-video-btn:focus-visible{box-shadow:0 0 0 3px #a78bfa8c,0 0 0 1px #ffffff1f,0 12px 36px #7c3aed80,0 0 40px #22d3ee59}.workout-video-help-overlay{position:fixed;inset:0;z-index:10000;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.workout-video-help-modal{position:relative;background:var(--bg-card);border:1px solid var(--border-soft);border-radius:16px;padding:24px 22px 22px;max-width:400px;width:100%;box-shadow:0 28px 64px -12px #0f172a59,0 0 0 1px #818cf826,0 0 80px -20px #ec489940}.workout-video-help-close{position:absolute;top:12px;right:12px;border:none;background:transparent;color:var(--text-subtle);cursor:pointer;padding:4px;border-radius:8px;line-height:0}.workout-video-help-close:hover{background:var(--bg-card-soft);color:var(--text-main)}.workout-video-help-title{margin:0 32px 12px 0;font-size:18px;font-weight:700;color:var(--text-main)}.workout-video-help-text{margin:0 0 16px;font-size:14px;line-height:1.55;color:var(--text-subtle)}.workout-video-help-link{display:inline-block;font-weight:600;font-size:15px;color:#6366f1;text-decoration:none}.workout-video-help-link:hover{text-decoration:underline}.session-exercise-pr{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#6366f1;background:#6366f11f;padding:4px 10px;border-radius:8px}.dark-theme .session-exercise-name{color:#60a5fa}.dark-theme .session-exercise-pr{color:#a5b4fc;background:#6366f133}.session-sets-table{background:linear-gradient(180deg,#f8fafc,#fff);border:1px solid rgba(99,102,241,.2);border-radius:14px;overflow:hidden;box-shadow:inset 0 1px #ffffffe6,0 2px 6px #0f172a0d;border-left:4px solid #6366f1;max-width:100%;box-sizing:border-box;transition:box-shadow .4s cubic-bezier(.34,1.56,.64,1),transform .35s ease,border-color .25s ease}.session-exercise:hover .session-sets-table{transform:translateY(-3px);border-left-color:#8b5cf6;box-shadow:0 14px 28px -6px #6366f152,0 28px 56px -12px #ec48991f,0 0 0 1px #a78bfa26}.dark-theme .session-sets-table{background:linear-gradient(180deg,#0f172aa6,#1e293be6);box-shadow:inset 0 1px #ffffff0a,0 8px 24px -4px #00000073;border-left-color:#6366f1}.dark-theme .session-exercise:hover .session-sets-table{box-shadow:0 16px 40px -8px #6366f159,0 0 0 1px #818cf833}.session-sets-header{display:grid;grid-template-columns:48px 1fr 72px 72px 48px;gap:12px;padding:12px 16px;background:var(--bg-card-soft);font-size:13px;font-weight:700;color:var(--text-label);text-transform:uppercase;letter-spacing:.06em}.session-set-row{display:grid;grid-template-columns:48px 1fr 72px 72px 48px;gap:12px;padding:12px 16px;align-items:center;border-bottom:1px solid var(--border-soft);transition:background .25s ease}.session-set-row:hover{background:linear-gradient(90deg,#eef2ffb3,#fce7f359)}.dark-theme .session-set-row:hover{background:#312e8140}.session-set-row:last-of-type{border-bottom:none}.set-num{font-weight:600;color:var(--text-main)}.set-prev{font-size:14px;font-weight:500;color:var(--text-label)}.set-input{padding:8px 10px;border:2px solid var(--border-soft);border-radius:8px;font-size:14px;text-align:center;background:var(--bg-card);color:var(--text-main);transition:border-color .25s ease,box-shadow .3s ease,background .25s ease}.set-input:hover{border-color:#a5b4fc;background:linear-gradient(180deg,#fff,#f5f3ff);box-shadow:0 0 0 3px #a5b4fc40}.set-input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f140,0 8px 20px -6px #ec489933}.dark-theme .set-input:hover{background:#1e1b4b99}.set-complete-btn{width:40px;height:40px;border-radius:8px;border:2px solid var(--border-soft);background:var(--bg-card-soft);color:var(--text-subtle);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.set-complete-btn:hover:not(.done){border-color:#16a34a;color:#16a34a}.set-complete-btn.done{background:#dcfce7;border-color:#16a34a;color:#16a34a}.session-rest-bar{padding:12px 16px;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;transition:all .3s ease}.session-rest-bar.active{background:linear-gradient(135deg,#c7d2fe,#a5b4fc);color:#3730a3;font-size:20px;padding:16px 20px;text-align:center;border-top:1px solid rgba(99,102,241,.3)}.session-rest-bar.inactive{background:linear-gradient(180deg,#f8fafc,#f1f5f9);color:var(--text-subtle);opacity:.9}.dark-theme .session-rest-bar.inactive{background:var(--bg-card-soft)}.session-add-set{width:100%;padding:12px 16px;border:2px dashed #a5b4fc;background:#6366f10a;color:#6366f1;font-size:14px;font-weight:600;cursor:pointer;border-radius:0 0 12px 12px;transition:all .2s}.session-add-set:hover{border-style:solid;border-color:#8b5cf6;color:#5b21b6;background:linear-gradient(135deg,#e0e7ffe6,#fce7f3bf,#ccfbf199);box-shadow:0 12px 28px -8px #6366f159;transform:translateY(-2px)}.dark-theme .session-add-set{border-color:var(--border-soft);background:transparent;color:var(--text-subtle)}.dark-theme .session-add-set:hover{border-color:#6366f1;color:#818cf8;background:#6366f11a}.dark-theme .session-rest-bar.active{background:linear-gradient(135deg,#2563eb59,#3b82f640);color:#93c5fd}.dark-theme .set-complete-btn.done{background:#22c55e33;border-color:#22c55e;color:#86efac}.workout-complete-summary{min-height:100vh;padding:32px 24px;max-width:560px;width:100%;margin:0 auto;position:relative;display:flex;flex-direction:column;justify-content:center}.summary-close-btn{position:absolute;top:20px;right:20px;background:#ffffffe6;border:1px solid rgba(99,102,241,.3);border-radius:12px;color:#6366f1;cursor:pointer;padding:8px;box-shadow:0 2px 8px #00000014}.summary-close-btn:hover{background:#fff;color:#4338ca}.dark-theme .summary-close-btn{background:transparent;border-color:var(--border-soft);color:var(--text-subtle);box-shadow:none}.dark-theme .summary-close-btn:hover{color:var(--text-main)}.summary-congrats{text-align:center;padding:48px 32px 36px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:24px;margin-bottom:28px;box-shadow:0 12px 40px #6366f159}.summary-stars{font-size:44px;color:#fcd34d;letter-spacing:6px;margin-bottom:16px}.summary-title{font-size:32px;font-weight:700;color:#fff;margin:0 0 10px}.summary-count{font-size:18px;color:#fffffff2;margin:0}.dark-theme .summary-congrats{background:var(--bg-card);box-shadow:none;border:1px solid var(--border-soft)}.dark-theme .summary-title{color:var(--text-main)}.dark-theme .summary-count{color:var(--text-subtle)}.summary-card{background:#fff;border:1px solid #e0e7ff;border-radius:20px;padding:28px 32px;margin-bottom:28px;box-shadow:0 6px 28px #6366f126}.dark-theme .summary-card{background:var(--bg-card);border-color:var(--border-soft);box-shadow:var(--shadow-card)}.summary-card-title{font-size:24px;font-weight:700;color:var(--text-main);margin:0 0 6px}.summary-card-date{font-size:16px;color:var(--text-subtle);margin:0 0 24px}.summary-stats{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--border-soft)}.summary-stat{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;color:var(--text-main)}.summary-stat--labeled{flex-direction:column;align-items:flex-start;gap:4px}.summary-stat-label{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-label);line-height:1.2}.summary-stat-row{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;color:var(--text-main)}.summary-stat-icon{opacity:.9}.summary-exercises{display:flex;flex-direction:column;gap:0}.summary-ex-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:14px 0;font-size:16px;border-bottom:1px solid var(--border-soft)}.summary-ex-row:last-child{border-bottom:none}.summary-ex-row.header{font-weight:700;color:var(--text-subtle);font-size:13px;text-transform:uppercase;letter-spacing:.05em;padding-bottom:12px}.summary-ex-row span:first-child{max-width:100%;min-width:0;overflow:hidden}.summary-exercise-cell{display:flex;align-items:center;gap:6px;min-width:0}.summary-exercise-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-exercise-cell .exercise-preview-video-btn{width:26px;height:26px;flex-shrink:0}.summary-ex-row span:nth-child(2){color:var(--text-main);font-weight:500;text-align:right}.summary-ex-row span:last-child{color:var(--text-main);font-weight:500;text-align:right;min-width:4em}.summary-pr-badge{margin-left:6px;font-size:14px}.summary-pr-hint{font-size:12px;color:var(--text-subtle);margin:-8px 0 16px}.summary-done-btn{width:100%;padding:18px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:14px;font-size:17px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.summary-done-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #6366f166}.workout-history-modal-actions{display:flex;gap:12px;width:100%}.workout-history-modal-actions .summary-done-btn{flex:1}.workout-history-delete-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:18px 24px;background:transparent;border:2px solid #ef4444;color:#ef4444;border-radius:14px;font-size:17px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.workout-history-delete-btn:hover{background:#ef4444;color:#fff}.history-detail-overlay{z-index:2000}.workout-history-detail-modal{background:var(--bg-surface);border-radius:24px;padding:32px 28px;max-width:560px;width:100%;max-height:90vh;overflow-y:auto;position:relative;box-shadow:0 24px 60px #00000040}.summary-congrats--history .summary-count{font-size:20px;font-weight:600}@media(max-width:768px){.dashboard:before{display:none;content:none}.dashboard{flex-direction:column}.mobile-menu-overlay{display:none;position:fixed;inset:0;background:#00000080;z-index:999;transition:opacity .2s}.mobile-menu-overlay.show{display:block}.sidebar{position:fixed;top:0;left:0;bottom:0;width:280px;min-width:0;max-width:85vw;z-index:1000;transform:translate(-100%);transition:transform .25s ease-out;box-shadow:none}.sidebar.open{transform:translate(0);box-shadow:4px 0 24px #0003}.sidebar-close-btn{display:flex;position:absolute;top:16px;right:16px;z-index:10;width:44px;height:44px;align-items:center;justify-content:center;background:#ffffff26;border:none;border-radius:10px;color:#fff;cursor:pointer}.main-content{padding:16px;padding-top:calc(120px + env(safe-area-inset-top,0px));border-radius:0;box-shadow:none;min-height:100vh;overflow-x:hidden;transform:none}.main-content:has(>.community-search-wrap){padding-top:calc(188px + env(safe-area-inset-top,0px))}.main-content:has(>.page-header-dashboard){padding-top:calc(158px + env(safe-area-inset-top,0px))}.main-content:has(>header.profile-page-header){padding-top:calc(172px + env(safe-area-inset-top,0px))}.main-content:has(>header.tracking-page-header){padding-top:calc(140px + env(safe-area-inset-top,0px))}.page-header-dashboard{flex-direction:column;align-items:stretch;gap:12px}.page-header-dashboard__row--tools{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;width:100%}.page-header-dashboard__title-wrap{min-width:0;text-align:center}.page-header-dashboard__title-wrap h1{font-size:clamp(17px,4.5vw,22px);line-height:1.25;margin:0}.page-header-dashboard__row--cta{width:100%}.page-header-dashboard__row--cta .create-btn{width:100%;justify-content:center;box-sizing:border-box}.page-header-dashboard__row--tools .hamburger-btn{margin-right:0}.main-content>header{position:fixed;top:0;left:0;right:0;width:100%;box-sizing:border-box;margin:0;padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));z-index:200;background:var(--bg-surface);border-bottom:1px solid var(--border-soft);box-shadow:0 2px 12px #00000014}.hamburger-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;background:var(--bg-card);border:2px solid var(--border-soft);border-radius:10px;color:var(--text-main);cursor:pointer;margin-right:10px}.hamburger-btn:active{opacity:.8}header{flex-wrap:wrap;gap:12px}header h1{font-size:22px;flex:1;min-width:0}.toggle-mobile{display:flex!important;align-items:center;flex-shrink:0;margin-right:8px}.toggle-sidebar{display:none!important}.community-search-wrap{position:relative;z-index:1;margin:12px -16px;width:calc(100% + 32px);box-sizing:border-box}.community-search-input{padding:10px 16px 10px 40px;font-size:16px;width:100%;max-width:none;box-sizing:border-box}.community-search-icon{left:14px}.community-sub-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:8px;margin-top:10px;margin-left:-2px;margin-right:-2px;padding-bottom:6px;scrollbar-width:thin}.community-sub-tab{flex:0 0 auto;padding:8px 12px;font-size:15px}.sidebar .nav-btn{font-size:17px;padding:16px 18px;min-height:48px;margin:6px 0}.sidebar .logout-btn{font-size:17px;padding:16px 18px;min-height:48px;margin-top:12px}.sidebar .nav-btn svg,.sidebar .logout-btn svg{width:22px;height:22px}.chat-msg{max-width:92%}.workouts-grid{grid-template-columns:1fr;gap:16px;margin-top:20px}.workout-card{padding:18px}.workout-history-section{margin-top:36px;padding-top:24px}.workout-history-title{font-size:20px}.workout-history-list{grid-template-columns:1fr}.community-chat-section{margin-top:28px;padding-top:24px}.community-chat-page{flex:1;min-height:calc(100vh - 220px);display:flex;flex-direction:column}.community-chat-wrapper{min-height:min(440px,50dvh);max-height:min(680px,calc(100dvh - 200px));flex:1}.community-chat{min-height:0;flex:1}.chat-tabs,.chat-tab{min-height:52px}.workout-history-card{padding:14px}.card-actions{flex-wrap:wrap}.action-btn{min-height:44px;padding:10px 12px;font-size:14px}.create-btn,.timer-header-btn{min-height:44px;padding:10px 16px;font-size:15px}.modal-overlay{padding:12px;align-items:flex-start;overflow-y:auto}.modal-content{max-height:none;margin:auto 0}.track-panel{padding:20px}.pr-form-row{grid-template-columns:1fr 1fr;gap:12px}.pr-add-btn{grid-column:1 / -1}.pr-form-section{margin-bottom:16px}.pr-input-label{font-size:12px}.tracking-tabs{flex-wrap:wrap}.track-tab{flex:1;min-width:100px;justify-content:center}.track-form-row{flex-direction:column}.track-form-row input,.track-form-row select{min-width:0;width:100%}.exercise-dropdown{width:100%;min-width:0}.exercise-dropdown-trigger{min-height:48px;padding:14px 16px}.exercise-dropdown-list{max-height:min(280px,50vh)}.exercise-dropdown-option{min-height:48px;padding:14px 16px;display:flex;align-items:center}.pr-custom-exercise-input{width:100%}.water-quick-add{flex-wrap:wrap}.water-quick-add button,.water-quick-add input{min-height:44px}.session-content{padding:16px 20px;max-width:100%}.session-header{flex-direction:column;align-items:flex-start;flex-wrap:wrap;gap:16px}.session-header-actions{flex-wrap:wrap;width:100%;gap:10px}.session-duration-bar{padding:12px 16px}.session-duration-time{font-size:22px}.session-rest-settings{margin-right:auto}.session-cancel-btn,.session-reset-btn{min-height:44px;padding:10px 18px}.session-finish-btn{min-height:44px;padding:12px 20px;font-size:15px}.session-footer{padding:14px 20px;gap:12px}.session-title{font-size:22px}.session-exercise-name{font-size:16px}.session-sets-header,.session-set-row{grid-template-columns:36px 1fr 60px 56px 44px;gap:8px;padding:10px 12px;font-size:14px}.set-input{padding:6px 8px;font-size:14px;min-height:44px}.set-complete-btn{width:44px;height:44px;min-width:44px;min-height:44px}.session-add-set{min-height:48px}.workout-complete-summary,.workout-history-detail-modal{padding:20px 16px;max-width:100%}.summary-card{padding:18px}.summary-stats{flex-wrap:wrap;gap:12px}.calories-panel{max-width:none}.calories-row,.calories-goal-grid{grid-template-columns:1fr}.calories-goal-btn,.form-group input,.form-group textarea,.form-group select{min-height:44px}}@media(max-width:480px){.main-content{padding:12px;padding-top:calc(110px + env(safe-area-inset-top,0px));overflow-x:hidden}.main-content:has(>.community-search-wrap){padding-top:calc(178px + env(safe-area-inset-top,0px))}.main-content:has(>.page-header-dashboard){padding-top:calc(152px + env(safe-area-inset-top,0px))}.main-content:has(>header.profile-page-header){padding-top:calc(162px + env(safe-area-inset-top,0px))}.main-content:has(>header.tracking-page-header){padding-top:calc(132px + env(safe-area-inset-top,0px))}.main-content>header{padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.community-search-wrap{margin-left:-12px;margin-right:-12px;width:calc(100% + 24px)}.community-search-icon{left:12px}header h1{font-size:20px}.session-content{padding:12px 16px}.session-sets-header,.session-set-row{grid-template-columns:36px 1fr 56px 56px 44px;gap:8px;padding:10px 12px}.session-rest-bar.active{font-size:18px;padding:14px 16px}.summary-title{font-size:24px}.summary-card-title{font-size:18px}}@supports (padding: max(0px)){@media(max-width:768px){.main-content{padding-left:max(16px,env(safe-area-inset-left))}.workout-complete-summary{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.session-content{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}}@media(max-width:480px){.session-content{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}}}.iridescence-container{width:100%;height:100%;min-height:100%;overflow:hidden}.iridescence-container canvas{display:block;width:100%!important;height:100%!important}.darkveil-container{width:100%;height:100%;min-height:100%;min-width:100%;overflow:hidden;position:relative}.darkveil-container canvas{display:block;width:100%!important;height:100%!important}
