:root{color:#f8fbff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at top,#3b82f63d,#0000 25%),radial-gradient(circle at 100% 100%,#a855f733,#0000 28%),#020817;font-family:Inter,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth;width:100%;max-width:100%;overflow-x:hidden}body{width:100%;min-width:320px;max-width:100%;min-height:100vh;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}img{max-width:100%;display:block}#root{width:100%;max-width:100%;min-height:100vh;overflow-x:hidden}h1,h2,h3,p{margin-top:0}.app-shell{grid-template-columns:280px minmax(0,1fr);gap:20px;width:min(1440px,100% - 32px);max-width:100%;min-height:100vh;margin:24px auto;display:grid;overflow-x:hidden}.sidebar,.card-panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0a0f1bb8;border:1px solid #94a3b82e;box-shadow:0 25px 60px #0f172a59}.sidebar{border-radius:28px;flex-direction:column;gap:28px;padding:28px 20px;display:flex}.brand-block{align-items:center;gap:14px;display:flex}.brand-mark{color:#f8fafc;background:linear-gradient(135deg,#8b5cf6,#22d3ee);border-radius:12px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.eyebrow{letter-spacing:.13em;text-transform:uppercase;color:#8ea2c3;margin:0 0 6px;font-size:11px}.brand-block h2,.topbar h1,.session-heading h2,.stat-card h3,.weekly-summary h3,.exercise-card h3,.mini-card h3{margin:0}.side-nav{flex-direction:column;gap:10px;display:flex}.nav-item,.ghost-btn,.primary-btn,.day-pill,.check-btn{cursor:pointer;border:none;transition:transform .2s,background .2s,border-color .2s}.nav-item{text-align:left;color:#dfe7f4;background:#94a3b80f;border:1px solid #0000;border-radius:14px;padding:12px 14px;font-weight:600}.nav-item.active{background:#60a5fa1f;border-color:#60a5fa66}.weekly-summary{border-radius:22px;margin-top:auto;padding:18px 16px}.goal-bar{background:#94a3b81f;border-radius:999px;height:10px;margin:18px 0 12px;overflow:hidden}.goal-bar span,.tiny-progress span{border-radius:inherit;background:linear-gradient(90deg,#8b5cf6,#22d3ee);height:100%;display:block}.goal-meta{color:#b8c5dc;justify-content:space-between;font-size:13px;display:flex}.dashboard{flex-direction:column;gap:20px;display:flex}.topbar{justify-content:space-between;align-items:center;gap:18px;padding:4px 6px;display:flex}.topbar-header{align-items:center;gap:12px;display:flex}.mobile-menu{color:#f8fafc;background:#94a3b814;border:1px solid #94a3b824;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-size:1.2rem;display:none}.topbar h1{letter-spacing:-.06em;font-size:clamp(2rem,3vw,3.1rem)}.topbar-actions{align-items:center;gap:8px;display:flex}.ghost-btn,.primary-btn{white-space:nowrap;border-radius:12px;padding:10px 14px;font-weight:700}.ghost-btn{color:#ebf2ff;background:#94a3b814;border:1px solid #94a3b824}.primary-btn{color:#fff;background:linear-gradient(135deg,#8b5cf6,#22d3ee);box-shadow:0 12px 30px #6366f161}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.stat-card{border-radius:18px;min-height:104px;padding:14px 16px}.stat-card p,.stat-card span,.session-meta,.mini-card span,.exercise-stats,.loading-state{color:#a8bad7}.stat-card h3{margin:6px 0 4px;font-size:clamp(1.2rem,1.8vw,2rem);line-height:1.1}.stat-card p,.stat-card span{font-size:12px}.accent-card{background:linear-gradient(135deg,#8b5cf633,#22d3ee2e)}.planner{border-radius:32px;padding:20px}.planner-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.mini-tag{color:#a5f3fc;letter-spacing:.08em;text-transform:uppercase;background:#22d3ee1f;border:1px solid #22d3ee47;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700}.day-selector{scrollbar-width:none;-ms-overflow-style:none;gap:8px;margin-bottom:16px;padding-bottom:4px;display:flex;overflow-x:auto}.day-selector::-webkit-scrollbar{display:none}.day-pill{color:#e2ecff;background:#94a3b80f;border:1px solid #94a3b824;border-radius:14px;flex:1 0 0;justify-content:space-between;align-items:center;min-width:62px;padding:10px 8px;font-size:12px;display:flex}.day-pill.active{background:linear-gradient(135deg,#8b5cf63d,#22d3ee2e);border-color:#22d3ee70}.day-layout{grid-template-columns:minmax(0,2.2fr) minmax(220px,.8fr);gap:18px;display:grid}.day-summary{background:#0f172a99;border:1px solid #94a3b81f;border-radius:24px;padding:18px}.session-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.session-badge{color:#9ce8b2;background:#22c55e1f;border:1px solid #22c55e40;border-radius:999px;padding:8px 12px;font-weight:700}.session-date-wrap{flex-wrap:wrap;align-items:center;gap:8px;margin-top:4px;display:flex}.session-date-inline{letter-spacing:.08em;text-transform:uppercase;color:#9fb3d1;font-size:11px}.session-today-btn{color:#dbeafe;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;background:#60a5fa14;border:1px solid #60a5fa2e;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:700}.session-meta{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.focus-input-wrap{background:#94a3b814;border:1px solid #94a3b81a;border-radius:999px;align-items:center;gap:8px;padding:6px 10px;display:inline-flex}.focus-input-wrap span{color:#a8bad7;letter-spacing:.08em;text-transform:uppercase;font-size:11px}.focus-input-wrap input{color:#f8fafc;background:0 0;border:none;outline:none;width:140px;font-size:12px}.session-meta span{background:#94a3b814;border:1px solid #94a3b81a;border-radius:999px;padding:8px 10px}.carousel{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.exercise-card{background:linear-gradient(#0f172ad1,#0f172a66);border:1px solid #94a3b824;border-radius:16px;flex-direction:column;justify-content:space-between;min-height:128px;padding:12px;display:flex}.exercise-card.done{background:linear-gradient(#16653438,#0f172aad);border-color:#22c55e59}.card-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.exercise-action-row{justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.edit-btn,.remove-btn,.save-btn,.cancel-btn{cursor:pointer;border:none;transition:opacity .2s,transform .2s}.edit-btn,.remove-btn{border-radius:10px;justify-content:center;align-items:center;min-width:32px;min-height:32px;padding:6px 8px;font-size:14px;line-height:1;display:inline-flex}.edit-btn{color:#a5f3fc;background:#22d3ee1f;border:1px solid #22d3ee47}.remove-btn{color:#fecaca;background:#ef44441f;border:1px solid #ef444447}.library-toolbar{justify-content:flex-end;margin:0 0 14px;display:flex}.small-btn{padding:10px 14px;font-size:12px}.exercise-library-panel{background:#0f172ad1;border:1px solid #94a3b82e;border-radius:18px;margin:0 0 16px;padding:14px}.calendar-page{border-radius:28px;padding:20px}.calendar-page-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.calendar-header-controls{align-items:center;gap:12px;display:flex}.calendar-header-actions{align-items:center;gap:8px;display:flex}.calendar-nav-btn,.calendar-today-btn{color:#e2ecff;cursor:pointer;background:#94a3b814;border:1px solid #94a3b833;border-radius:10px}.calendar-nav-btn{width:36px;height:36px;font-size:1.1rem}.calendar-today-btn{padding:8px 12px;font-size:12px;font-weight:700}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.calendar-weekday{text-align:center;letter-spacing:.08em;text-transform:uppercase;color:#9fb3d1;padding:10px 8px;font-size:12px;font-weight:700}.calendar-day{color:#e2ecff;cursor:pointer;text-align:left;appearance:none;background:#0f172abf;border:1px solid #94a3b824;border-radius:14px;justify-content:flex-start;align-items:flex-start;min-height:84px;padding:8px;font-weight:700;display:flex;position:relative}.calendar-day.muted{opacity:.42;cursor:default}.calendar-day.today{border-color:#22d3ee80;box-shadow:inset 0 0 0 1px #22d3ee33}.calendar-day.has-plan{background:linear-gradient(135deg,#8b5cf633,#22d3ee1f)}.calendar-dot{background:#22d3ee;border-radius:999px;width:7px;height:7px;position:absolute;bottom:8px;right:8px}.library-page{border-radius:28px;padding:20px}.library-page-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.library-form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;display:grid}.library-form-panel,.library-list-panel{background:#0f172aa3;border:1px solid #94a3b824;border-radius:18px;padding:18px}.library-form{flex-direction:column;gap:12px;display:flex}.library-form label{color:#dfeafc;flex-direction:column;gap:6px;font-size:12px;display:flex}.library-form input{box-sizing:border-box;color:#f8fafc;background:#0f172ad1;border:1px solid #94a3b82e;border-radius:10px;width:100%;padding:10px 12px;font-size:14px}.library-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.save-library-btn{width:100%;margin-top:8px}.library-search-wrap{margin-bottom:12px}.library-search-wrap input{box-sizing:border-box;color:#f8fafc;background:#0f172ad1;border:1px solid #94a3b82e;border-radius:12px;outline:none;width:100%;padding:10px 12px;font-size:14px;transition:border-color .2s,box-shadow .2s}.library-search-wrap input:focus{border-color:#22d3ee85;box-shadow:0 0 0 3px #22d3ee24}.library-search-wrap input::placeholder{color:#8ea2c3}.library-list{flex-direction:column;gap:10px;display:flex}.library-list-item{background:#0f172acc;border:1px solid #94a3b81f;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.library-list-item strong,.library-list-item span{display:block}.library-list-item span{color:#a8bad7;margin-top:4px;font-size:12px}.library-item-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.secondary-btn{color:#dbeafe;cursor:pointer;background:#60a5fa1f;border:1px solid #60a5fa33;border-radius:10px;padding:8px 10px}.library-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.library-header h3{margin:0}.close-library-btn{color:#e2e8f0;cursor:pointer;background:#94a3b814;border:1px solid #94a3b829;border-radius:10px;padding:7px 10px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.library-item{text-align:left;color:#e2e8f0;cursor:pointer;background:#0f172ab3;border:1px solid #94a3b824;border-radius:12px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.library-item.selected{background:linear-gradient(135deg,#8b5cf62e,#22d3ee1f);border-color:#22d3ee6b}.library-name{font-weight:700}.library-meta{color:#a8bad7;font-size:12px}.add-library-btn{width:100%}.exercise-edit-form{flex-direction:column;gap:8px;display:flex}.edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.edit-field{box-sizing:border-box;color:#f8fafc;background:#0f172acc;border:1px solid #94a3b82e;border-radius:10px;width:100%;padding:8px 10px;font-size:12px}.edit-actions{justify-content:space-between;gap:8px;display:flex}.save-btn,.cancel-btn{border-radius:10px;flex:1;padding:8px 10px;font-weight:700}.save-btn{color:#022c22;background:linear-gradient(135deg,#10b981,#34d399)}.cancel-btn{color:#e2e8f0;background:#94a3b81a;border:1px solid #94a3b829}.tag{color:#bae6fd;letter-spacing:.08em;text-transform:uppercase;background:#60a5fa1f;border-radius:999px;padding:6px 8px;font-size:10px;display:inline-flex}.check-btn{color:#eff6ff;background:#94a3b814;border:1px solid #94a3b829;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:1.2rem;display:inline-flex}.check-btn.checked{color:#022c22;background:linear-gradient(135deg,#10b981,#34d399);border-color:#0000}.exercise-card h3{margin:8px 0;font-size:1rem;line-height:1.3}.exercise-stats{flex-direction:column;gap:2px;font-size:12px;display:flex}.progress-page{border-radius:28px;padding:20px}.progress-page-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.insight-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.mini-card{background:#0f172a99;border:1px solid #94a3b81f;border-radius:20px;padding:18px}.insight-panel .mini-card:first-child,.insight-panel .mini-card:nth-child(2){min-height:110px}.mini-card h3{margin:6px 0;font-size:2rem}.progress-card{margin-top:auto}.tiny-progress{background:#94a3b81f;border-radius:999px;height:10px;margin-top:14px;overflow:hidden}.loading-state{border:1px dashed #94a3b833;border-radius:20px;place-items:center;min-height:240px;display:grid}.bottom-nav{display:none}@media (width<=1100px){.app-shell{grid-template-columns:1fr;gap:14px;width:min(100%,100% - 18px);margin:12px auto}.sidebar{padding:18px 16px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (width<=720px){.app-shell{box-sizing:border-box;gap:12px;width:100%;max-width:100%;margin:0 auto 18px;padding:0 6px;overflow-x:hidden}.sidebar{display:none}.dashboard{gap:12px;width:100%;min-width:0;max-width:100%;padding-bottom:90px;overflow-x:hidden}.planner,.day-summary,.day-layout,.insight-panel,.topbar{width:100%;min-width:0;max-width:100%}.sidebar,.card-panel,.planner,.day-summary,.mini-card,.stat-card{border-radius:18px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.day-selector{flex-wrap:nowrap;gap:6px;display:flex}.day-pill{min-width:54px;padding:8px 6px}.library-page,.library-form-panel,.library-list-panel{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.library-page{padding:16px 12px}.library-page-header{flex-direction:column;align-items:flex-start;gap:10px}.library-form-grid{grid-template-columns:1fr;gap:12px}.library-form-panel,.library-list-panel{padding:14px 12px}.library-form-row,.library-edit-grid{grid-template-columns:1fr}.library-list-item{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.library-list-item>div:first-child{width:100%;min-width:0}.library-list-item strong,.library-list-item span{word-break:break-word;overflow-wrap:anywhere}.library-item-actions{flex-wrap:wrap;justify-content:stretch;width:100%}.library-item-actions button,.secondary-btn,.edit-btn,.remove-btn,.save-btn,.cancel-btn{flex:100%;width:100%;min-width:0}.carousel{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.insight-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.insight-panel .progress-card{grid-column:1/-1}.topbar,.session-heading,.day-layout{grid-template-columns:1fr;width:100%;min-width:0;display:grid}.topbar{padding:15px 0 20px}.topbar-header{align-items:center;margin-top:8px;margin-bottom:12px}.mobile-menu{display:none}.topbar h1{word-break:break-word;margin-bottom:0;font-size:1.6rem;line-height:1.1}.topbar-header{width:100%;min-width:0}.topbar-actions{flex-direction:row;justify-content:stretch;width:100%;min-width:0;display:flex}.ghost-btn,.primary-btn{flex:1 1 0;width:auto;min-width:0;padding:11px 10px}.nav-item{padding:10px 12px}.session-meta{gap:8px}.session-meta span{font-size:12px}.bottom-nav{left:12px;right:12px;bottom:max(12px, env(safe-area-inset-bottom));z-index:50;background:#0f172aeb;border:1px solid #94a3b81f;border-radius:18px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:auto;max-width:calc(100% - 24px);margin-top:6px;padding:8px;display:grid;position:fixed;box-shadow:0 -10px 25px #02061766}.bottom-nav-item{color:#dbeafe;background:0 0;border:none;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:56px;padding:8px 6px;font-size:10px;display:flex}.bottom-nav-item.active{color:#fff;background:linear-gradient(135deg,#8b5cf633,#22d3ee24)}}@media (width<=420px){.app-shell{width:100%;max-width:100%;margin-top:0;padding:0 4px}.sidebar{padding:16px 12px}.brand-block{gap:10px}.brand-mark{border-radius:10px;width:36px;height:36px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stat-card{min-height:92px;padding:10px 12px}.stat-card h3{font-size:1.1rem}.day-selector{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.day-pill{padding:10px 8px;font-size:12px}.exercise-card{min-height:140px;padding:12px}.exercise-card h3{font-size:1rem}.library-page{padding:14px 10px}.library-form-panel,.library-list-panel{padding:12px 10px}.library-list-item{padding:10px}.library-item-actions{gap:6px}.topbar-actions{grid-template-columns:1fr}}
