:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#153456;background:#edf6fa;font-synthesis:none;--bg:#edf6fa;--navy:#102e52;--ink:#153456;--muted:#55718c;--blue:#1660a5;--sky:#d8ecff;--mint:#c6f4d8;--white:#fff;--line:#d6e5ee;--danger:#943e29;--focus:#2c77cb;color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-width:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}a{color:var(--blue)}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.13;letter-spacing:-.7px}h2{font-size:23px;line-height:1.2;letter-spacing:-.35px}h3{font-size:18px;line-height:1.3}p{line-height:1.5}button{border:0}input,select,textarea{min-width:0;width:100%;border:1px solid #aac2d5;border-radius:10px;background:var(--white);color:var(--ink);padding:11px 12px;min-height:46px;font-size:16px}textarea{resize:vertical;min-height:86px}input::placeholder,textarea::placeholder{color:#6b8193;opacity:1}label{display:block;color:var(--muted);font-size:14px;line-height:1.4}label>span{display:block;margin-bottom:6px}small{font-size:13px;line-height:1.45}strong{font-weight:650}.skip-link{position:fixed;top:-100px;left:16px;background:white;padding:12px;z-index:20}.skip-link:focus{top:12px}.app-header{max-width:1120px;margin:auto;padding:21px 20px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.wordmark{font-size:19px;font-weight:750;letter-spacing:-.45px;text-decoration:none;color:var(--navy)}.account-button{min-height:44px;min-width:44px;padding:8px 10px;background:transparent;color:var(--blue);font-size:14px;font-weight:650;border-radius:10px}.app-layout{max-width:1120px;margin:auto;padding:0 16px 110px}.main-column{min-width:0}.page-heading{margin:7px 3px 23px}.page-heading p{margin-top:8px;color:var(--muted);font-size:14px}.section-label{font-size:14px;font-weight:600;color:var(--muted);margin:24px 4px 10px}.card{border-radius:17px;background:white;padding:17px;margin-bottom:12px}.dark-card{background:var(--navy);color:white}.dark-card label,.dark-card .muted{color:#c3d6e8}.dark-card h2{color:white}.muted{color:var(--muted)}.lead-card{padding:22px 19px}.lead-card p{margin-bottom:13px;color:#c3d6e8;font-size:14px}.lead-card h2{font-size:29px;margin-bottom:12px}.primary,.secondary,.mint,.danger,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;border-radius:13px;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;text-align:center}.primary{background:var(--navy);color:white}.secondary{background:var(--sky);color:var(--ink)}.mint{background:var(--mint);color:var(--navy)}.danger{background:#ffeadf;color:var(--danger)}.text-button{color:var(--blue);background:transparent;padding:9px 10px;min-height:44px}.dark-card .text-button{color:white}.wide{width:100%}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.actions>*{flex:1}.actions .text-button{flex:0 0 auto}.field-stack{display:grid;gap:14px}.field-stack .actions{margin-top:2px}.start-form{padding:21px}.start-form h2{margin-bottom:10px}.start-form>p{margin-bottom:20px;font-size:15px}.empty-state{text-align:left;padding:24px 20px}.empty-state h2{margin-bottom:9px}.empty-state p{color:var(--muted);font-size:15px}.empty-state .primary,.empty-state .secondary{margin-top:18px}.exercise-card{position:relative;padding:14px 15px}.exercise-card.selected{background:var(--navy);color:white;padding:19px 16px}.exercise-title{display:flex;justify-content:space-between;align-items:start;gap:10px}.exercise-title h2{font-size:17px;line-height:1.35;letter-spacing:-.2px}.selected .exercise-title h2{font-size:23px;letter-spacing:-.5px}.exercise-summary{font-size:14px;line-height:1.5;color:var(--muted);margin-top:4px}.selected .exercise-summary{color:#c3d6e8;margin-top:8px}.exercise-values{font-size:25px;font-weight:650;letter-spacing:-.4px;margin-top:10px}.exercise-card .actions{margin-top:11px}.exercise-card:not(.selected) .actions{margin-top:7px}.exercise-card:not(.selected) .text-button{padding:5px 0;min-height:34px;text-align:left;justify-content:flex-start}.exercise-card .mint{min-width:132px}.tag{font-size:12px;line-height:1.35;padding:5px 8px;border-radius:7px;background:#e8f6ee;color:#275d43;flex-shrink:0}.local-tag{background:#fff0d6;color:#74500e}.progress-track{height:5px;background:#d6e6f0;border-radius:5px;overflow:hidden;margin-top:14px}.progress-track span{height:100%;display:block;background:var(--blue);border-radius:5px}.workout-actions{display:grid;gap:11px;margin-top:20px}.workout-actions .primary{margin-top:4px}.status-region:empty{display:none}.notice{border-radius:12px;background:#e1f3e8;border:1px solid #c1e0cf;color:#285d43;padding:12px 14px;margin-bottom:13px;font-size:14px;line-height:1.45}.notice.warning{background:#fff3dd;border-color:#ecd2a2;color:#775118}.notice.error{background:#fff0e8;border-color:#f0c6b5;color:var(--danger)}.notice.neutral{background:var(--sky);border-color:#c1ddf4;color:var(--ink)}.notice p+p{margin-top:7px}.notice .actions{margin-top:9px}.notice .text-button{color:inherit}.global-error{margin-bottom:16px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;background:rgba(255,255,255,.97);border-top:1px solid #e4edf3;padding:9px 12px max(9px,env(safe-area-inset-bottom))}.bottom-nav button{flex:1;min-height:48px;border-radius:11px;color:var(--muted);background:transparent;font-size:14px;font-weight:600}.bottom-nav button[aria-current=page]{color:var(--navy);background:#e5f1fb}.sidebar{display:none}.history-list{display:grid;gap:9px}.history-item{padding:17px 15px;text-align:left;background:white;border-radius:14px;width:100%;color:var(--ink)}.history-item strong{display:block;font-size:18px;margin-bottom:6px}.history-item span{display:block;color:var(--muted);font-size:14px;line-height:1.5}.history-item:active{background:#dcecff}.detail-summary{background:var(--sky);padding:19px 16px;border-radius:17px;margin-bottom:24px}.detail-summary strong{font-size:22px}.detail-summary p{margin-top:5px;color:var(--muted);font-size:14px}.details-card h2{font-size:21px;margin-bottom:13px}.fact-line{display:flex;justify-content:space-between;gap:15px;padding:9px 0;font-size:15px;border-bottom:1px solid #eaf0f5}.fact-line:last-of-type{border-bottom:0}.fact-line span{color:var(--muted)}.back-button{padding-left:0;margin:-7px 0 12px}.login-shell{max-width:540px;margin:6vh auto;padding:24px 18px}.login-shell .wordmark{display:block;margin-bottom:40px}.login-shell h1{font-size:40px;line-height:1.12;max-width:380px}.login-intro{font-size:17px;color:var(--muted);margin:18px 0 28px}.login-card{padding:24px 21px}.login-card h2{font-size:23px;margin-bottom:10px}.login-card p{font-size:15px;color:var(--muted);margin-bottom:21px}.login-note{color:var(--muted);font-size:13px;margin:17px 4px}.loading-screen{max-width:700px;padding:54px 20px;margin:auto}.loading-screen strong{font-size:26px}.loading-screen p{color:var(--muted);margin-top:15px}.noscript{padding:20px}.inline-help{font-size:13px;color:var(--muted);margin:8px 0 0;line-height:1.45}.dialog{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 28px);border:0;padding:0;border-radius:22px;color:var(--ink);background:var(--bg);box-shadow:0 15px 70px #102e5233}.dialog::backdrop{background:#102e527d}.dialog-inner{padding:20px 16px 22px}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.dialog-top h2{font-size:28px;line-height:1.16;letter-spacing:-.6px}.dialog-close{background:white;color:var(--ink);border-radius:10px;min-height:44px;padding:10px 12px;flex-shrink:0;font-size:14px}.dialog-subtitle{color:var(--muted);font-size:14px;margin-top:8px}.dialog-footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.dialog-footer>*{flex:1}.set-list{display:grid;gap:10px}.set-row{background:white;border-radius:16px;padding:14px 12px}.set-row.confirmed{border:1px solid #c3e3d1}.set-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:13px}.set-heading strong{font-size:16px}.set-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.set-inputs label{font-size:13px}.set-inputs input{font-size:20px;text-align:center;font-weight:650;padding:9px 6px}.set-meta{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px}.set-meta select{font-size:14px;min-height:42px;padding:8px}.set-row .actions{margin-top:12px;gap:7px}.set-row .actions button{font-size:14px;min-height:44px;padding:9px 11px}.set-row .actions .text-button{flex:1}.add-set{background:var(--sky);margin-top:17px}.add-set h3{margin-bottom:12px}.catalog-search{margin-bottom:15px}.catalog-list{display:grid;gap:8px;max-height:52dvh;overflow:auto;overscroll-behavior:contain}.catalog-item{background:white;padding:15px 13px;border-radius:12px;color:var(--ink);text-align:left;min-height:62px}.catalog-item strong{display:block;font-size:16px}.catalog-item span{display:block;color:var(--muted);font-size:13px;margin-top:5px}.empty-search{padding:20px 4px;color:var(--muted);font-size:14px}.account-list{display:grid;gap:13px;margin:15px 0 24px}.account-list div{background:white;padding:14px;border-radius:12px}.account-list dt{font-size:13px;color:var(--muted);margin-bottom:5px}.account-list dd{margin:0;overflow-wrap:anywhere;line-height:1.4}.finish-count{font-size:35px;font-weight:700;letter-spacing:-1px;margin:13px 0 5px}.subtle-rule{border:0;border-top:1px solid var(--line);margin:20px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:760px){.app-header{padding:25px 26px}.app-layout{padding:7px 26px 45px;display:grid;grid-template-columns:minmax(0,700px) minmax(210px,290px);gap:35px;align-items:start}.page-heading{margin-bottom:27px}.sidebar{display:block;position:sticky;top:24px;padding-top:9px}.sidebar .card{padding:21px}.sidebar h2{font-size:19px;margin-bottom:12px}.sidebar p{font-size:14px;color:var(--muted);margin-top:9px}.sidebar-nav{display:grid;gap:7px;margin-bottom:20px}.sidebar-nav button{justify-content:flex-start;background:transparent}.sidebar-nav button[aria-current=page]{background:var(--sky);color:var(--navy)}.bottom-nav{display:none}.exercise-card{padding:17px 19px}.exercise-card.selected{padding:22px 20px}.dialog-inner{padding:26px 24px}.history-item{padding:21px}.login-shell{margin-top:8vh}.set-meta{grid-template-columns:1fr 1fr}.start-form{padding:25px}}
@media(max-width:359px){h1{font-size:29px}.app-layout{padding-left:12px;padding-right:12px}.dialog{width:calc(100% - 12px)}.dialog-inner{padding:17px 12px}.dialog-top h2{font-size:24px}.dialog-close{padding:9px}.actions{gap:7px}.exercise-card .mint{min-width:110px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .12s,opacity .12s}.dialog[open]{animation:appear .14s ease-out}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
.space-top{margin-top:20px}progress.progress-track{display:block;width:100%;border:0;appearance:none;color:var(--blue)}progress.progress-track::-webkit-progress-bar{background:#d6e6f0;border-radius:5px}progress.progress-track::-webkit-progress-value{background:var(--blue);border-radius:5px}progress.progress-track::-moz-progress-bar{background:var(--blue);border-radius:5px}
.local-label{color:#775118!important;font-weight:600}.offline-entry h2{margin-bottom:10px}.offline-entry p{margin-bottom:16px}.queue-list{padding-left:23px;margin:18px 0}.queue-list .card{padding:14px}.queue-list h3{margin-bottom:8px}.queue-list p{overflow-wrap:anywhere}.history-item .local-label{margin-bottom:5px}
.batch-form{background:var(--sky);margin-bottom:18px}.batch-form h3{font-size:19px}.batch-form>.inline-help{margin-bottom:12px}.batch-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.batch-inputs input{width:100%;min-width:0}.batch-basis{margin-top:10px}.batch-basis select{font-size:14px;min-height:42px;padding:8px}.batch-launch{margin-bottom:18px}.set-list-title{margin:0 0 12px}.set-options{margin-top:10px;font-size:13px;color:var(--muted)}.set-options summary{cursor:pointer;min-height:32px;padding:6px 0;line-height:1.5}.set-options[open] summary{margin-bottom:8px}.set-options .set-meta{margin-top:0}.set-options input{margin-top:6px}
.dialog{max-width:calc(100% - 24px)}.dialog-top>:first-child{min-width:0;overflow-wrap:anywhere}
.lumia-heading{display:flex;align-items:center;gap:18px;margin:6px 0 18px}.lumia-heading>div:last-child{min-width:0}.lumia-heading p{font-size:15px;line-height:1.45;color:var(--muted);margin-top:8px}.lumia-portrait{position:relative;width:96px;height:112px;flex:0 0 96px;overflow:hidden;border-radius:22px;background:#d8ecff}.lumia-portrait img{position:absolute;width:330%;height:auto;max-width:none;left:-108%;top:-12%}.lumia-conversation{display:grid;gap:20px;margin-top:22px}.lumia-turn{display:grid;gap:10px;min-width:0}.lumia-message{padding:16px;border-radius:17px;min-width:0;overflow-wrap:anywhere}.lumia-message>strong{display:block;color:var(--muted);font-size:13px;margin-bottom:8px}.lumia-message>p{white-space:pre-wrap;line-height:1.55}.user-message{background:#dcecff;margin-left:20px}.assistant-message{background:white;margin-right:10px}.lumia-proposal{padding:14px;background:#edf6fa;border-radius:13px;margin-top:16px}.lumia-proposal h2{font-size:18px}.lumia-proposal p{font-size:14px;color:var(--muted);margin:8px 0 12px}.lumia-welcome h2{font-size:22px;margin-bottom:10px}.lumia-welcome p{color:var(--muted);margin-bottom:16px}.lumia-welcome .secondary,.lumia-welcome .text-button{width:100%;margin-top:7px}.lumia-composer{margin-top:22px}.lumia-composer textarea{min-height:110px;margin-top:4px}.lumia-pending-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin:8px 0}.lumia-plan-name{margin-bottom:18px}.lumia-plan-exercise{padding:13px 10px}.lumia-plan-exercise select{font-size:14px;padding:8px;min-width:0;max-width:100%}.lumia-order-actions{display:flex;gap:3px;flex-wrap:wrap;margin:6px 0}.lumia-order-actions .text-button{padding:7px 8px;font-size:13px}.lumia-plan-set{border-top:1px solid var(--line);padding:10px 0 15px}.lumia-plan-set .set-heading{margin-bottom:6px}.lumia-plan-set .set-heading .text-button{font-size:13px;padding:6px}.lumia-plan-set .set-options label+label{margin-top:10px}.lumia-plan-set .set-options label span{margin-bottom:5px}.lumia-plan-set .set-options input{width:100%}.bottom-nav button{min-width:0;padding:8px 4px}@media(max-width:420px){.bottom-nav button{font-size:12px;padding:8px 2px}.lumia-heading{gap:12px}.lumia-portrait{width:76px;height:90px;flex-basis:76px}.lumia-heading h1{font-size:29px}.lumia-heading p{font-size:14px}.user-message{margin-left:10px}.assistant-message{margin-right:0}.lumia-message{padding:13px}.lumia-composer{padding:14px}.lumia-plan-exercise .set-inputs{gap:8px}}

.lumia-memory-item,.lumia-memory-editor{margin-top:16px;min-width:0;overflow-wrap:anywhere}.lumia-memory-item>p:first-child{white-space:pre-wrap;line-height:1.55}.lumia-memory-editor{display:grid;gap:14px}.lumia-memory-editor textarea{min-height:90px}.lumia-memory-editor select,.lumia-memory-editor input{min-width:0;max-width:100%;font-size:15px}.lumia-memory-editor .actions{margin-top:0}.memory-source,.lumia-memory-archive{font-size:14px;margin-top:12px}.memory-source summary,.lumia-memory-archive>summary{cursor:pointer;min-height:36px;padding:8px 0;color:var(--muted)}.memory-source p,.memory-source blockquote{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.memory-source blockquote{border-left:3px solid var(--line);padding-left:12px;color:var(--muted)}.lumia-plan-exercise h3{font-size:18px;line-height:1.3}.lumia-plan-exercise .set-heading>h3{min-width:0;overflow-wrap:anywhere}.lumia-plan-exercise .set-heading>.text-button{flex-shrink:0}.lumia-plan-exercise>.set-inputs{margin-top:12px}

.progress-goal .section-label{margin:0 0 8px}.progress-goal h2{font-size:23px}.progress-filters{display:grid;gap:14px}.progress-period{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.progress-period input{min-width:0;padding:9px 5px;font-size:14px}.progress-filters select{font-size:14px}.progress-search-results,.goal-catalog{display:grid;gap:3px;max-height:230px;overflow:auto;overscroll-behavior:contain}.progress-search-results button,.goal-catalog button{text-align:left;justify-content:flex-start}.progress-checkbox{display:flex;align-items:center;gap:9px}.progress-checkbox input{width:20px;min-height:20px;height:20px;flex-shrink:0}.progress-summary h2{margin-bottom:12px}.progress-weeks{display:grid;gap:8px;margin-top:16px}.progress-week{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;border-top:1px solid var(--line);padding-top:10px;font-size:14px}.progress-week .inline-help{grid-column:1/-1;margin:0}.progress-group h2{font-size:21px;display:flex;align-items:start;gap:10px;justify-content:space-between}.progress-group{min-width:0;overflow-wrap:anywhere}.progress-highlight{margin-top:16px;padding:12px;background:var(--bg);border-radius:12px}.progress-highlight h3{font-size:16px;margin-bottom:8px}.progress-entry{display:grid;gap:4px;width:100%;text-align:left;color:var(--ink);background:var(--bg);border-radius:10px;padding:13px 10px;margin-top:7px;min-width:0;overflow-wrap:anywhere}.progress-entry strong{font-size:18px}.progress-entry span{font-size:13px;color:var(--muted)}.progress-entry .inline-help{margin:0}.progress-entry.compact{background:white;padding:10px}.progress-entry.compact strong{font-size:16px}.progress-priorities{display:flex;flex-wrap:wrap;gap:7px}.progress-priorities button{font-size:13px;text-align:left;justify-content:flex-start;padding:9px 11px}.details-card[data-progress-exercise]{scroll-margin-top:16px}.details-card[data-progress-exercise]:focus{outline:2px solid var(--focus);outline-offset:3px}@media(max-width:420px){.bottom-nav{padding-left:4px;padding-right:4px}.bottom-nav button{font-size:11px;padding:8px 1px}.progress-group h2{font-size:19px}.progress-goal h2{font-size:21px}.progress-period{gap:7px}}
