.simple-page{width:100%;max-width:100%;min-width:0;overflow-x:hidden}.simple-page-container{width:100%;max-width:var(--page-max-width);min-width:0;margin:0 auto;padding:24px var(--page-padding-x) 32px;box-sizing:border-box;overflow-x:hidden}.simple-page-header{margin-bottom:20px}.simple-page-eyebrow{margin:0 0 8px;color:var(--color-accent);font-size:.9rem;font-weight:var(--font-weight-semibold);letter-spacing:.02em;text-transform:uppercase}.simple-page-title{margin:0 0 10px;font-size:2rem;line-height:1.08;letter-spacing:-.03em;color:var(--color-text)}.simple-page-subtitle,.simple-page-description{margin:0;color:var(--color-text-soft);font-size:1rem;line-height:1.55}.simple-page-card{width:100%;max-width:100%;min-width:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:0;box-sizing:border-box}.simple-page-card+.simple-page-card,.simple-page-container form{margin-top:18px}.simple-page-card-compact{border-radius:14px}.simple-page-card-body{padding:18px 16px}.simple-page-card-body-compact{padding:14px 16px}.simple-page-card-title{margin:0 0 8px;color:var(--color-text);font-size:1.15rem;font-weight:var(--font-weight-semibold);line-height:1.3}.simple-page-card-text{margin:0;color:var(--color-text-soft);line-height:1.55}.simple-page-field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.simple-page-label{font-weight:var(--font-weight-semibold);color:var(--color-text)}.simple-page-input,.simple-page-textarea,.simple-page-select{width:100%;border:1px solid var(--color-border);border-radius:12px;background:var(--color-bg-elevated);color:var(--color-text);font:inherit;transition:border-color .14s ease,background-color .14s ease,box-shadow .14s ease}.simple-page-input,.simple-page-select{min-height:48px;padding:0 14px}.simple-page-textarea{min-height:110px;resize:vertical;padding:.85rem .95rem}.simple-page-input:hover,.simple-page-textarea:hover,.simple-page-select:hover{border-color:var(--color-border-strong)}.simple-page-input:focus,.simple-page-textarea:focus,.simple-page-select:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-soft)}.simple-page-help{margin:-2px 0 0;color:var(--color-text-muted);font-size:.95rem}.simple-page-error{margin:0 0 16px;color:#ff8b8b;font-weight:var(--font-weight-semibold)}.simple-page-actions{display:flex;gap:12px;flex-wrap:wrap}.simple-page-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:12px;border:1px solid var(--color-border);font:inherit;font-weight:var(--font-weight-semibold);cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease;box-sizing:border-box}.simple-page-btn-primary{background:var(--color-accent);color:#f8fbff;border-color:transparent}.simple-page-btn-primary:hover{background:var(--color-accent-hover)}.simple-page-btn-secondary{background:var(--color-bg-elevated);color:var(--color-text)}.simple-page-btn-secondary:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.simple-page-btn:active{transform:translateY(1px)}.simple-page-inline-confirm{margin:10px 0 14px;padding:12px 14px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-bg-elevated)}.simple-page-inline-confirm-title{margin:0 0 4px;font-size:.98rem;font-weight:var(--font-weight-bold);color:var(--color-text);line-height:1.35}.simple-page-inline-confirm-text{margin:0;color:var(--color-text-soft);line-height:1.45}.simple-page-inline-confirm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.simple-page-status-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:8px}.simple-page-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:12px;font-size:.95rem;font-weight:var(--font-weight-bold);white-space:nowrap;border:1px solid transparent}.simple-page-status-badge-active{background:#22c55e24;color:#86efac;border-color:#22c55e3d}.simple-page-status-badge-inactive{background:var(--color-bg-elevated);color:var(--color-text-soft);border-color:var(--color-border)}.simple-page-status-row+.simple-page-help{margin-top:0;margin-bottom:0;line-height:1.4}.simple-page-linked-list{display:grid;gap:10px}.simple-page-linked-list-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-bg-elevated)}.simple-page-linked-list-item-main{min-width:0;flex:1}.simple-page-linked-list-item-title{margin:0 0 4px;font-weight:var(--font-weight-bold);color:var(--color-text)}.simple-page-linked-list-item-meta{margin:0;color:var(--color-text-soft);font-size:.95rem}.simple-page-back-row{margin-bottom:6px}.simple-page-section-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.simple-page-empty-block{display:grid;gap:12px}.simple-page-home-routines{display:grid;gap:12px;width:100%;min-width:0}.simple-page-home-routine-item{width:100%;max-width:100%;min-width:0;padding:14px 16px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-bg-elevated);box-sizing:border-box}.simple-page-home-routine-top{width:100%;min-width:0}.simple-page-routines-top{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title action" "subtext subtext";column-gap:12px;row-gap:8px;margin-bottom:14px;align-items:start}.simple-page-routines-title{grid-area:title;margin:0}.simple-page-routines-heading{min-width:0;flex:1}.simple-page-routines-subtext{grid-area:subtext;margin:0}.simple-page-routines-view-all-btn{grid-area:action;flex-shrink:0;align-self:start;min-height:40px;padding:0 16px;white-space:nowrap;line-height:1;margin-top:-5px}.simple-page-home-routine-main{min-width:0;flex:1}.simple-page-home-routine-header-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}.simple-page-home-routine-title{margin:0;color:var(--color-text);font-size:1rem;font-weight:var(--font-weight-semibold);line-height:1.25;min-width:0;word-break:break-word}.simple-page-home-routine-actions{flex-shrink:0;display:flex;align-items:center;justify-content:flex-end}.home-routine-action-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:10px;font:inherit;font-weight:600;white-space:nowrap;cursor:pointer;border:1px solid transparent;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease}.home-routine-action-btn-primary{background:var(--color-accent);color:#f8fbff}.home-routine-action-btn-secondary:hover{border-color:#3b82f652;background:#3b82f633;color:#eff6ff}.simple-page-preferences-grid{display:grid;grid-template-columns:repeat(2,minmax(0,max-content));gap:12px;margin-top:14px}.simple-page-preferences-grid .simple-page-btn{min-width:140px}.simple-page-section-top-stack-mobile{gap:12px}.simple-page-unit-toggle{display:inline-flex;align-items:center;padding:4px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-bg-elevated);gap:4px}.simple-page-unit-toggle-btn{min-height:40px;min-width:64px;padding:0 14px;border:none;border-radius:10px;background:transparent;color:var(--color-text-soft);font:inherit;font-weight:var(--font-weight-semibold);cursor:pointer}.simple-page-unit-toggle-btn-active{background:var(--color-accent);color:#f8fbff}.simple-page-settings-grid{display:grid;gap:14px;margin-top:16px}.simple-page-settings-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--color-border)}.simple-page-settings-item:first-child{border-top:none;padding-top:0}.simple-page-settings-item:last-child{padding-bottom:0}.simple-page-settings-item-text{min-width:0}.simple-page-settings-item-title{margin:0 0 4px;font-size:1rem;line-height:1.3;color:var(--color-text)}.simple-page-settings-item-description{margin:0;color:var(--color-text-soft);line-height:1.5}.simple-page-routine-filters{display:flex;gap:8px;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:2px 0 4px;margin:16px 0 14px;scrollbar-width:none;box-sizing:border-box}.simple-page-routine-filters::-webkit-scrollbar{display:none}.simple-page-routine-filter-chip{flex:0 0 auto;min-height:36px;padding:0 14px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-bg-elevated);color:var(--color-text-soft);font:inherit;font-weight:var(--font-weight-semibold);cursor:pointer;white-space:nowrap}.simple-page-routine-filter-chip-active{background:var(--color-accent);border-color:transparent;color:#f8fbff}.simple-page-hero-card-compact{margin-bottom:18px}.simple-page-title-compact{margin-bottom:6px;font-size:1.85rem;line-height:1.05}.simple-page-context-line{margin:0;color:var(--color-text-soft);line-height:1.45}.simple-page-context-line strong{color:var(--color-text)}.simple-page-context-chip-row{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}.simple-page-context-chip-label{color:var(--color-text-muted);font-size:.84rem;font-weight:var(--font-weight-semibold);letter-spacing:.04em;text-transform:uppercase}.simple-page-context-chip-value{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:#3b82f61a;border:1px solid rgba(59,130,246,.18);color:#cfe3ff;font-size:.92rem;font-weight:var(--font-weight-semibold)}.simple-page-textarea-compact{min-height:48px;resize:none;overflow:hidden}.simple-page-variants-section-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.simple-page-variants-count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 8px;border-radius:999px;border:1px solid var(--color-border);background:var(--color-bg-elevated);color:var(--color-text-soft);font-size:.84rem;font-weight:var(--font-weight-semibold)}.simple-page-variant-list{display:grid;gap:10px}.simple-page-variant-list-item{padding:14px 16px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-bg-elevated)}.simple-page-variant-list-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.simple-page-variant-list-item-main{min-width:0;flex:1}.simple-page-variant-list-item-title{margin:0 0 4px;color:var(--color-text);font-weight:var(--font-weight-bold);line-height:1.3;word-break:break-word}.simple-page-variant-list-item-meta{margin:0;color:var(--color-text-soft);font-size:.95rem}.simple-page-variant-edit-btn{min-height:36px;padding:0 12px;flex-shrink:0;align-self:flex-start;border-color:#3b82f62e;color:#cfe3ff}.simple-page-variant-edit-btn:hover{border-color:#3b82f647;background:#3b82f614}.simple-page-active-workout-card{border-color:#3b82f62e}.simple-page-active-workout-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.simple-page-active-workout-kicker{margin:0 0 6px;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--color-accent)}.simple-page-home-routine-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.simple-page-home-routine-actions{flex-shrink:0}.home-routine-action-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border:1px solid rgba(148,163,184,.16);border-radius:10px;background:#ffffff0a;color:var(--color-text);font:inherit;font-weight:600;white-space:nowrap;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease}.home-routine-action-btn:hover{background:#ffffff12;border-color:#94a3b83d}.home-routine-action-btn:active{transform:translateY(1px)}.home-routine-action-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f62e}.home-routine-action-btn-primary{border-color:transparent;background:var(--color-accent);color:#f8fbff}.home-routine-action-btn-primary:hover{background:var(--color-accent-hover)}.home-routine-action-btn-secondary{border-color:#3b82f63d;background:#3b82f624;color:#dbeafe}.home-routine-action-btn-secondary:hover{border-color:#3b82f657;background:#3b82f633;color:#eff6ff}.home-routine-action-btn-neutral{border-color:#94a3b829;background:#ffffff0a;color:var(--color-text)}.home-routine-action-btn-neutral:hover{background:#ffffff12;border-color:#94a3b83d}@media(max-width:640px){.simple-page-active-workout-top{flex-direction:column;align-items:stretch}.simple-page-home-routine-header-row{align-items:center;gap:10px}.simple-page-home-routine-actions{justify-content:flex-end}.home-routine-action-btn{min-height:34px;padding:0 11px;font-size:.92rem;width:auto}}@media(max-width:640px){.simple-page-variant-list-item-top{gap:10px}.simple-page-variant-edit-btn{min-height:34px;padding:0 11px}}@media(max-width:640px){.simple-page-container{padding:18px var(--page-padding-x) 28px}.simple-page-title{font-size:1.7rem}.simple-page-title-compact{font-size:1.65rem}.simple-page-card-body{padding:16px 14px}.simple-page-card-body-compact{padding:12px 14px}.simple-page-linked-list-item{flex-direction:column;align-items:flex-start}.simple-page-routines-top{grid-template-columns:minmax(0,1fr) auto;align-items:start}.simple-page-routines-view-all-btn{min-height:40px;padding:0 14px}.simple-page-home-routine-header-row{align-items:flex-start;gap:10px}.simple-page-home-routine-actions{justify-content:flex-end}.simple-page-preferences-grid{grid-template-columns:1fr 1fr}.simple-page-preferences-grid .simple-page-btn{min-width:0;width:100%}.simple-page-settings-item{flex-direction:column;align-items:stretch}.simple-page-settings-item .simple-page-btn{width:100%;justify-content:center}.simple-page-unit-toggle{width:100%}.simple-page-unit-toggle-btn{flex:1}.simple-page-section-top-stack-mobile{flex-direction:column;align-items:stretch}.simple-page-section-top-stack-mobile .simple-page-btn{width:100%;justify-content:center}}.routines-page{width:100%}.routines-page-container{max-width:var(--page-max-width);margin:0 auto;padding:20px var(--page-padding-x) 32px}.routines-page-header{margin-bottom:20px}.routines-page-header-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.routines-page-title{margin:0;font-size:1.9rem;line-height:1.05;letter-spacing:-.03em;color:var(--color-text)}.routines-page-subtitle{margin:0;max-width:620px;color:var(--color-text-soft);font-size:1rem;line-height:1.5}.routines-page-create-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;border:1px solid transparent;background:var(--color-accent);color:#f8fbff;text-decoration:none;font-weight:var(--font-weight-semibold);white-space:nowrap;flex-shrink:0;transition:background-color .14s ease,transform .12s ease,box-shadow .14s ease}.routines-page-create-btn:hover{background:var(--color-accent-hover)}.routines-page-create-btn:active{transform:translateY(1px)}.routines-page-list{display:grid;gap:16px}.routines-page-card{padding:16px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease}.routines-page-card-clickable{cursor:pointer}.routines-page-card-clickable:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.routines-page-card-clickable:focus-visible{border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-soft)}.routines-page-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.routines-page-card-title-wrap{min-width:0;flex:1}.routines-page-card-title{margin:0 0 8px;font-size:1.35rem;line-height:1.2;font-weight:var(--font-weight-semibold);color:var(--color-text);word-break:break-word}.routines-page-card-day{margin:0;color:var(--color-text-soft);font-size:.98rem;font-weight:var(--font-weight-semibold)}.routines-page-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;flex-shrink:0}.routines-page-card-icon-btn,.routines-page-card-edit{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:10px;border:1px solid var(--color-border);background:var(--color-bg-elevated);color:var(--color-text);text-decoration:none;font-weight:var(--font-weight-semibold);font-size:.95rem;white-space:nowrap;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.routines-page-card-icon-btn{min-width:34px;padding:0;cursor:pointer}.routines-page-card-icon-btn:hover,.routines-page-card-edit:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.routines-page-card-content{display:block}.routines-page-card-description{margin:0;color:var(--color-text-soft);line-height:1.55}.routines-page-empty-state{padding:20px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.routines-page-empty-title{margin:0 0 6px;color:var(--color-text);font-size:1.05rem;font-weight:var(--font-weight-semibold)}.routines-page-empty-text{margin:0 0 14px;color:var(--color-text-soft);line-height:1.5}.routines-page-empty-cta{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:10px;background:var(--color-accent);color:#f8fbff;font-weight:var(--font-weight-semibold);text-decoration:none;transition:background-color .14s ease}.routines-page-empty-cta:hover{background:var(--color-accent-hover)}@media(max-width:640px){.routines-page-container{padding-top:16px;padding-bottom:28px}.routines-page-header-top{align-items:center}.routines-page-title{font-size:1.7rem}.routines-page-subtitle{font-size:.98rem}.routines-page-create-btn{min-height:40px;padding:0 14px}.routines-page-card{padding:14px}.routines-page-card-top{align-items:flex-start;gap:12px}.routines-page-card-title{font-size:1.2rem}.routines-page-card-actions{gap:6px}.routines-page-card-icon-btn,.routines-page-card-edit{min-height:32px;font-size:.92rem}.routines-page-card-icon-btn{min-width:32px}}.routine-detail-page{width:100%}.routine-detail-container{max-width:var(--page-max-width);margin:0 auto;padding:var(--page-padding-y) var(--page-padding-x) 32px}.routine-detail-header{margin-bottom:18px}.routine-detail-back-row{margin-bottom:10px}.routine-detail-header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.routine-detail-title-wrap{min-width:0;flex:1}.routine-detail-title{margin:0 0 8px;font-size:1.75rem;line-height:1.1;letter-spacing:-.02em;color:var(--color-text)}.routine-detail-description{margin:0;color:var(--color-text-soft);font-size:.98rem;line-height:1.5}.routine-detail-list{display:grid;gap:14px}.routine-detail-empty-state{padding:20px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.routine-detail-empty-title{margin:0 0 6px;color:var(--color-text);font-size:1.05rem;font-weight:var(--font-weight-semibold)}.routine-detail-empty-text{margin:0;color:var(--color-text-soft);line-height:1.5}.routine-exercise-card{padding:16px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.routine-exercise-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;flex-wrap:wrap}.routine-exercise-title{margin:0;min-width:0;flex:1;word-break:break-word;font-size:1.12rem;line-height:1.25;font-weight:var(--font-weight-semibold);color:var(--color-text)}.routine-exercise-history-link{color:var(--color-accent);text-decoration:none;font-weight:var(--font-weight-semibold);white-space:nowrap;flex-shrink:0;transition:color .14s ease}.routine-exercise-history-link:hover{color:#60a5fa}.routine-exercise-target{margin:0 0 10px;color:var(--color-text);line-height:1.5}.routine-exercise-note{margin:0 0 10px;color:var(--color-text-soft);line-height:1.5}.routine-exercise-latest-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}.routine-exercise-latest{margin:0;color:var(--color-text);font-weight:var(--font-weight-medium)}.routine-exercise-latest-date{margin:0;color:var(--color-text-muted);font-size:.92rem;white-space:nowrap}.routine-exercise-title-wrap{min-width:0}.routine-exercise-title{margin:0;font-size:1.25rem;line-height:1.2}.routine-exercise-title-separator{color:#ffffff80}.routine-exercise-variant-inline{color:#ffffffb8;font-weight:500}.routine-detail-add-exercise-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:10px;border:1px solid rgba(59,130,246,.22);background:#3b82f614;color:#cfe3ff;text-decoration:none;font-weight:var(--font-weight-semibold);white-space:nowrap;flex-shrink:0;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.routine-detail-add-exercise-btn:hover{background:#3b82f61f;border-color:#3b82f64d;color:#e0edff}.routine-detail-workout-cta{display:grid;gap:8px;margin:0 0 16px}.routine-detail-start-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid transparent;border-radius:10px;background:var(--color-accent);color:#f8fbff;font-weight:var(--font-weight-semibold);font-size:.98rem;line-height:1;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease,box-shadow .14s ease}.routine-detail-start-btn:hover{background:var(--color-accent-hover)}.routine-detail-start-btn:active{transform:translateY(1px)}.routine-detail-start-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f633}.routine-detail-workout-note{margin:0;color:var(--color-text-soft);font-size:.92rem;line-height:1.45}@media(max-width:640px){.routine-detail-start-btn{width:100%;min-height:40px;font-size:.95rem}}@media(max-width:640px){.routine-detail-container{padding-top:18px;padding-bottom:28px}.routine-detail-title{font-size:1.55rem}.routine-exercise-card{padding:14px}.routine-exercise-title{font-size:1.05rem}.routine-exercise-card-top{align-items:flex-start}.routine-exercise-history-link{font-size:.94rem}.routine-exercise-latest-row{align-items:flex-start}.routine-detail-add-exercise-btn{min-height:38px;padding:0 12px;font-size:.92rem}}.exercises-page{width:100%}.exercises-page-container{max-width:860px;margin:0 auto;padding:20px var(--page-padding-x) 32px}.exercises-page-header{margin-bottom:18px}.exercises-page-header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:10px}.exercises-page-title{margin:0;font-size:1.8rem;line-height:1.08;letter-spacing:-.03em;color:var(--color-text)}.exercises-page-description{margin:0;color:var(--color-text-soft);line-height:1.55;max-width:100%}.exercises-page-create-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;border:1px solid transparent;background:var(--color-accent);color:#f8fbff;text-decoration:none;font-weight:var(--font-weight-semibold);white-space:nowrap;flex-shrink:0;transition:background-color .15s ease,transform .12s ease}.exercises-page-create-btn:hover{background:var(--color-accent-hover)}.exercises-page-create-btn:active{transform:translateY(1px)}.exercises-page-filters{display:grid;gap:12px;margin-bottom:22px;padding:16px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.exercises-page-filter-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(140px,.65fr);gap:12px;align-items:end}.exercises-page-filter-field{display:flex;flex-direction:column;gap:6px}.exercises-page-filter-field-search{min-width:0}.exercises-page-filter-input-wrap{position:relative}.exercises-page-filter-input-search{padding-right:44px}.exercises-page-filter-clear-btn{position:absolute;top:50%;right:12px;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;border-radius:999px;background:transparent;color:var(--color-text-muted);font:inherit;font-size:1rem;line-height:1;cursor:pointer;transition:background-color .15s ease,color .15s ease}.exercises-page-filter-clear-btn:hover{background:var(--color-surface-hover);color:var(--color-text)}.exercises-page-filter-clear-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--color-accent-soft)}.exercises-page-filter-label{font-weight:var(--font-weight-semibold);color:var(--color-text-soft)}.exercises-page-filter-input,.exercises-page-filter-select{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-bg-elevated);color:var(--color-text);font:inherit;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.exercises-page-filter-select-wrap{position:relative}.exercises-page-filter-select-wrap:after{content:"▾";position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--color-text-muted);pointer-events:none;font-size:.9rem}.exercises-page-filter-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:36px}.exercises-page-filter-input:hover,.exercises-page-filter-select:hover{border-color:var(--color-border-strong)}.exercises-page-filter-input:focus,.exercises-page-filter-select:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-soft)}.exercises-page-filter-checkbox{display:inline-flex;align-items:center;gap:10px;min-height:44px;width:100%;color:var(--color-text);font-weight:var(--font-weight-semibold);white-space:nowrap;align-self:end;justify-content:flex-start;padding:0 2px}.exercises-page-filter-checkbox input{width:16px;height:16px;accent-color:var(--color-accent)}.exercises-page-empty-state{padding:18px;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.exercises-page-empty-title{margin:0 0 6px;font-size:1.08rem;line-height:1.3;color:var(--color-text)}.exercises-page-empty-text{margin:0;color:var(--color-text-soft);line-height:1.55}.exercises-page-groups{display:grid;gap:16px}.exercises-page-group{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px 18px 16px}.exercises-page-group-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.exercises-page-group-title-wrap{min-width:0;flex:1}.exercises-page-group-actions{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.exercises-page-group-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border-radius:10px;border:1px solid var(--color-border);background:transparent;color:var(--color-text-soft);text-decoration:none;font-weight:var(--font-weight-semibold);font-size:.88rem;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.exercises-page-group-btn:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong);color:var(--color-text)}.exercises-page-group-btn-primary{border-color:#3b82f638;background:#3b82f61f;color:var(--color-accent)}.exercises-page-group-btn-primary:hover{background:#3b82f62e;border-color:#3b82f647;color:#7db6ff}.exercises-page-group-meta{display:grid;gap:6px;margin-bottom:14px}.exercises-page-group-detail{margin:0;color:var(--color-text-soft);line-height:1.5}.exercises-page-group-detail strong{color:var(--color-text)}.exercises-page-variants-header{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:14px 0 10px;padding-top:12px;border-top:1px solid var(--color-border)}.exercises-page-variants-label{display:inline-flex;align-items:center;gap:8px;font-size:.84rem;font-weight:var(--font-weight-semibold);letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted)}.exercises-page-variants-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:transparent;border:1px solid var(--color-border);color:var(--color-text-soft);font-size:.78rem;font-weight:var(--font-weight-semibold)}.exercises-page-empty-variants{border:1px dashed var(--color-border-strong);border-radius:14px;padding:14px 16px;background:var(--color-bg-elevated)}.exercises-page-empty-variants-text{margin:0 0 8px;color:var(--color-text-soft)}.exercises-page-empty-variants-link{color:var(--color-accent);font-weight:var(--font-weight-semibold);text-decoration:none}.exercises-page-empty-variants-link:hover{color:#60a5fa}.exercises-page-variants{display:grid;gap:10px}.exercises-page-variant-card{padding:14px 16px;background:#ffffff05;border:1px solid var(--color-border);border-radius:14px}.exercises-page-variant-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.exercises-page-variant-title-wrap{min-width:0;flex:1}.exercises-page-variant-title{margin:0;font-size:1.02rem;line-height:1.25;color:var(--color-text);word-break:break-word;overflow-wrap:anywhere}.exercises-page-variant-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.exercises-page-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--color-surface-hover);color:var(--color-text-soft);font-size:.84rem;font-weight:var(--font-weight-semibold);border:1px solid var(--color-border)}.exercises-page-badge-inactive{background:#ef44441a;color:#ff9b9b;border:1px solid rgba(239,68,68,.22)}.exercises-page-variant-actions{display:inline-flex;align-items:center;gap:14px;flex-shrink:0;white-space:nowrap}.exercises-page-variant-link{color:var(--color-accent);text-decoration:none;font-weight:var(--font-weight-semibold);font-size:.92rem;white-space:nowrap;transition:color .15s ease}.exercises-page-variant-link:hover{color:#60a5fa}.exercises-page-variant-info{display:grid;gap:6px;margin-bottom:10px}.exercises-page-variant-detail{margin:0;color:var(--color-text-soft);line-height:1.5}.exercises-page-variant-detail strong{color:var(--color-text)}.exercises-page-variant-latest{margin:0 0 6px;color:var(--color-text-soft);line-height:1.5}.exercises-page-variant-latest strong{color:var(--color-text)}.exercises-page-variant-meta{margin:0;color:var(--color-text-muted);font-size:.92rem}.exercises-page-group-kicker{margin:0 0 6px;font-size:.78rem;line-height:1;letter-spacing:.08em;text-transform:uppercase;font-weight:var(--font-weight-semibold);color:var(--color-text-muted)}.exercises-page-group-title{margin:0;font-size:1.28rem;line-height:1.15;color:var(--color-text);word-break:break-word;overflow-wrap:anywhere}.exercises-page-variants-header{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:14px 0 10px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}.exercises-page-variant-card{padding:13px 15px;background:#080e18b8;border:1px solid rgba(255,255,255,.06);border-radius:14px}.exercises-page-variant-title{margin:0;font-size:.98rem;line-height:1.25;color:var(--color-text);word-break:break-word;overflow-wrap:anywhere}.exercises-page-variant-detail,.exercises-page-variant-latest{color:#ffffffc7}.exercises-page-variant-meta{margin:0;color:#ffffff7a;font-size:.9rem}@media(max-width:640px){.exercises-page-container{padding:18px var(--page-padding-x) 28px}.exercises-page-header-top{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px}.exercises-page-title{font-size:1.6rem}.exercises-page-create-btn{width:auto;min-height:40px;padding:0 14px;align-self:flex-start;flex-shrink:0}.exercises-page-filter-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.exercises-page-filter-checkbox{min-height:44px;width:auto;padding-bottom:2px;align-self:end;justify-content:flex-start}.exercises-page-group{padding:16px}.exercises-page-group-top{align-items:flex-start}.exercises-page-group-title{font-size:1.18rem;line-height:1.12}.exercises-page-group-actions{gap:6px}.exercises-page-group-btn{min-height:30px;padding:0 9px;font-size:.82rem}.exercises-page-variants-header{margin-top:12px}.exercises-page-variant-card{padding:14px}.exercises-page-variant-top{align-items:flex-start;gap:10px}.exercises-page-variant-title{font-size:1rem}.exercises-page-variant-actions{gap:12px}.exercises-page-variant-link{font-size:.88rem}}.history-page{width:100%}.history-page-container{max-width:860px;margin:0 auto;padding:20px var(--page-padding-x) 32px}.history-page-header{margin-bottom:20px}.history-page-title{margin:0 0 8px;font-size:1.8rem;line-height:1.08;letter-spacing:-.03em;color:var(--color-text)}.history-page-description{margin:0;color:var(--color-text-soft);line-height:1.55}.history-page-controls{display:grid;gap:12px;margin:0 0 18px}.history-page-search-wrap{width:100%;position:relative}.history-page-search-input-with-clear{padding-right:44px}.history-page-search-clear-btn{position:absolute;top:50%;right:12px;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;border-radius:999px;background:transparent;color:var(--color-text-soft);font:inherit;font-size:1rem;line-height:1;cursor:pointer;transition:background-color .15s ease,color .15s ease}.history-page-search-clear-btn:hover{background:var(--color-surface-hover);color:var(--color-text)}.history-page-search-clear-btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--color-accent-soft)}.history-page-search-input{width:100%;min-height:44px;padding:0 14px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-bg-elevated);color:var(--color-text);font:inherit;box-sizing:border-box;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.history-page-search-input:hover{border-color:var(--color-border-strong)}.history-page-search-input:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-soft)}.history-page-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.history-page-filters::-webkit-scrollbar{display:none}.history-page-filter-chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-bg-elevated);color:var(--color-text-soft);font:inherit;font-weight:var(--font-weight-semibold);cursor:pointer;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.history-page-filter-chip:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong);color:var(--color-text)}.history-page-filter-chip-active{background:var(--color-accent);border-color:transparent;color:#f8fbff}.history-page-empty-state{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px}.history-page-empty-title{margin:0 0 6px;font-size:1.08rem;line-height:1.3;color:var(--color-text)}.history-page-empty-text{margin:0;color:var(--color-text-soft);line-height:1.55}.history-page-groups{display:grid;gap:22px}.history-page-group{display:grid;gap:12px}.history-page-group-title{margin:0;font-size:1.2rem;line-height:1.2;color:var(--color-text)}.history-page-group-list{display:grid;gap:12px}.history-page-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px 18px 16px}.history-page-card-header{display:grid;gap:8px;margin-bottom:12px}.history-page-card-header-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.history-page-card-info{min-width:0}.history-page-card-title{margin:0 0 4px;font-size:1.08rem;line-height:1.22;color:var(--color-text);word-break:normal;overflow-wrap:break-word}.history-page-card-routine{margin:0;color:var(--color-text-soft);font-weight:var(--font-weight-semibold)}.history-page-card-meta{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}.history-page-card-meta-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#3b82f61a;border:1px solid rgba(59,130,246,.16);color:#bfdbfe;font-size:.84rem;font-weight:var(--font-weight-semibold);line-height:1;white-space:nowrap}.history-page-session-exercises{display:grid;gap:10px}.history-page-session-exercise{padding:12px 14px;border:1px solid var(--color-border);border-radius:14px;background:#ffffff05}.history-page-session-exercise-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:6px}.history-page-session-exercise-title{margin:0;font-size:.97rem;line-height:1.35;color:var(--color-text)}.history-page-card-performance{margin:0;color:var(--color-text-soft);line-height:1.5}.history-page-card-performance strong{color:var(--color-text)}.history-page-card-notes{margin:8px 0 0;color:var(--color-text-soft);line-height:1.5}.history-page-card-notes strong{color:var(--color-text)}.history-page-card-title-variant{color:#ffffffb3;font-weight:500}.history-page-card-header-side{display:grid;gap:8px;justify-items:end;align-content:start}.history-page-delete-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;margin-top:2px;border:1px solid rgba(239,68,68,.2);border-radius:9px;background:#ef444414;color:#ff9b9b;font-family:Arial,sans-serif;font-size:15px;font-weight:600;line-height:1;cursor:pointer;flex-shrink:0;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.history-page-delete-icon:hover{background:#ef444424;border-color:#ef444457;color:#ffb4b4}.history-page-card-header-top-actions{display:flex;justify-content:flex-end;width:100%}.history-page-delete-confirm{margin:0 0 12px;padding:10px 12px;border:1px solid rgba(239,68,68,.18);border-radius:12px;background:#ef444412}.history-page-delete-text{margin:0 0 3px;color:#ffb4b4;font-weight:700;line-height:1.3}.history-page-delete-subtext{margin:0 0 8px;color:#f1b0b0;line-height:1.4}.history-page-delete-actions{display:flex;gap:8px;flex-wrap:wrap}.history-page-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:9px;font:inherit;font-weight:600;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.history-page-btn-secondary{border:1px solid var(--color-border);background:var(--color-bg-elevated);color:var(--color-text)}.history-page-btn-secondary:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.history-page-btn-danger{border:1px solid rgba(239,68,68,.22);background:#ef44441a;color:#ff9b9b}.history-page-btn-danger:hover{background:#ef444429;border-color:#ef444457}@media(max-width:640px){.history-page-container{padding:18px var(--page-padding-x) 28px}.history-page-title{font-size:1.6rem}.history-page-group-title{font-size:1.08rem}.history-page-card{padding:16px}.history-page-session-exercise{padding:12px}.history-page-card-meta-chip{min-height:26px;padding:0 9px;font-size:.8rem}}.variant-history-page{width:100%}.variant-history-container{max-width:860px;margin:0 auto;padding:20px var(--page-padding-x) 32px}.variant-history-header{margin-bottom:20px}.variant-history-back-row{margin-bottom:10px}.variant-history-title{margin:0 0 6px;font-size:1.8rem;line-height:1.08;letter-spacing:-.03em;color:var(--color-text);word-break:break-word}.variant-history-subtitle{margin:0 0 8px;color:var(--color-text-soft);font-weight:var(--font-weight-semibold)}.variant-history-meta{margin:0;color:var(--color-text-muted)}.variant-history-list{display:grid;gap:14px}.variant-history-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px 18px 16px}.variant-history-card-title{margin:0 0 6px;font-size:1.18rem;line-height:1.25;color:var(--color-text)}.variant-history-card-text{margin:0;color:var(--color-text-soft);line-height:1.55}.variant-history-log-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}.variant-history-log-info{min-width:0;flex:1}.variant-history-routine{margin:0;color:var(--color-text-soft);font-weight:var(--font-weight-semibold)}.variant-history-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.variant-history-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:10px;font-weight:var(--font-weight-semibold);font-size:.94rem;cursor:pointer;white-space:nowrap;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .12s ease}.variant-history-btn:active{transform:translateY(1px)}.variant-history-btn-secondary{border:1px solid var(--color-border);background:var(--color-bg-elevated);color:var(--color-text)}.variant-history-btn-secondary:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.variant-history-btn-danger{border:1px solid rgba(239,68,68,.22);background:#ef44441a;color:#ff9b9b}.variant-history-btn-danger:hover{background:#ef444429;border-color:#ef444457}.variant-history-btn-link{text-decoration:none}.variant-history-delete-confirm-inline{margin:0 0 14px;padding:12px 14px;border:1px solid rgba(239,68,68,.2);border-radius:14px;background:#ef444414}.variant-history-delete-text{margin:0 0 4px;color:#ffb4b4;font-weight:var(--font-weight-bold)}.variant-history-delete-subtext{margin:0 0 10px;color:#f1b0b0;line-height:1.45}.variant-history-delete-actions{display:flex;gap:8px;flex-wrap:wrap}.variant-history-sets{display:grid;gap:10px}.variant-history-set-line{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:baseline}.variant-history-set-index{font-weight:var(--font-weight-bold);color:var(--color-text)}.variant-history-set-value{color:var(--color-text-soft)}.variant-history-notes{margin:14px 0 0;color:var(--color-text-soft);line-height:1.5}.variant-history-notes strong{color:var(--color-text)}.variant-history-title-separator{color:#ffffff80}.variant-history-title-variant{color:#ffffffb8;font-weight:500}.variant-history-delete-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:1px solid rgba(239,68,68,.22);border-radius:10px;background:#ef444414;color:#ff9b9b;font-family:Arial,sans-serif;font-size:16px;font-weight:600;line-height:1;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.variant-history-delete-icon:hover{background:#ef444424;border-color:#ef444457;color:#ffb4b4}@media(max-width:640px){.variant-history-container{padding:18px var(--page-padding-x) 28px}.variant-history-title{font-size:1.6rem}.variant-history-card{padding:16px}.variant-history-card-title{font-size:1.08rem}.variant-history-actions{justify-content:flex-end;width:auto;margin-left:auto}.variant-history-set-line{grid-template-columns:60px 1fr;gap:8px}}.routine-form-page{width:100%}.routine-form-container{max-width:860px;margin:0 auto;padding:20px var(--page-padding-x) 32px}.routine-form-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px 18px 16px;margin-bottom:16px}.routine-form-title{margin:0 0 8px;font-size:1.8rem;line-height:1.08;letter-spacing:-.03em;color:var(--color-text)}.routine-form-subtitle{margin:0;color:var(--color-text-soft);line-height:1.55}.routine-form-section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:14px}.routine-form-section-title{margin:0;font-size:1.08rem;line-height:1.3;color:var(--color-text)}.routine-form-field{margin-bottom:16px}.routine-form-field-compact{margin-bottom:12px}.routine-form-label{display:inline-block;margin-bottom:6px;color:var(--color-text-soft);font-weight:var(--font-weight-semibold)}.routine-form-input,.routine-form-textarea,.routine-form-select,.routine-form-prescription-input{width:100%;border:1px solid var(--color-border);border-radius:12px;background:var(--color-bg-elevated);color:var(--color-text);padding:.85rem .95rem;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease;box-sizing:border-box}.routine-form-select{min-height:48px}.routine-form-textarea{min-height:96px;resize:vertical}.routine-form-input:hover,.routine-form-textarea:hover,.routine-form-select:hover,.routine-form-prescription-input:hover{border-color:var(--color-border-strong)}.routine-form-input:focus,.routine-form-textarea:focus,.routine-form-select:focus,.routine-form-prescription-input:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-soft)}.routine-form-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}.routine-form-actions-top,.routine-form-actions-end{justify-content:flex-end}.routine-form-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;font-weight:var(--font-weight-semibold);cursor:pointer;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .12s ease}.routine-form-btn:active{transform:translateY(1px)}.routine-form-btn-primary{border:1px solid transparent;background:var(--color-accent);color:#f8fbff}.routine-form-btn-primary:hover{background:var(--color-accent-hover)}.routine-form-btn-secondary{border:1px solid var(--color-border);background:var(--color-bg-elevated);color:var(--color-text)}.routine-form-btn-secondary:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.routine-form-btn-danger{border:1px solid rgba(239,68,68,.22);background:var(--color-danger-soft);color:#ffb4b4}.routine-form-btn-danger:hover{border-color:#ef44445c;background:#ef444433}.routine-form-btn-danger-soft{background:#ef44441a;color:#ff9b9b;border:1px solid rgba(239,68,68,.2)}.routine-form-btn-danger-soft:hover{background:#ef444429;border-color:#ef444457}.routine-form-routine-error{margin:0;color:#ff9b9b;font-weight:var(--font-weight-semibold)}.routine-form-delete-confirm{margin-top:16px;padding:14px;border:1px solid rgba(239,68,68,.22);border-radius:14px;background:#ef444414}.routine-form-delete-text{margin:0 0 6px;color:#ffb4b4;font-weight:var(--font-weight-bold)}.routine-form-delete-subtext{margin:0 0 12px;color:#f3b3b3;line-height:1.5}.routine-form-delete-actions{display:flex;gap:10px;flex-wrap:wrap}.routine-form-list{display:grid;gap:12px}.routine-form-list-item{padding:16px;border:1px solid var(--color-border);border-radius:14px;background:var(--color-bg-elevated)}.routine-form-list-item-content{min-width:0}.routine-form-list-item-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.routine-form-list-item-title-wrap{min-width:0;flex:1}.routine-form-list-item-title{margin:0;font-size:1rem;line-height:1.2;color:var(--color-text);word-break:break-word}.routine-form-list-item-order-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.routine-form-list-item-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px;padding-top:2px}.routine-form-inline-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.routine-form-inline-row .routine-form-field{flex:1;min-width:220px;margin-bottom:0}.routine-form-prescription-grid{display:grid;grid-template-columns:1fr 1.4fr 1fr 1fr;gap:10px;margin-top:6px;margin-bottom:12px}.routine-form-prescription-field{display:flex;flex-direction:column;gap:6px}.routine-form-prescription-field-span-2{min-width:0}.routine-form-prescription-label{font-size:.9rem;font-weight:var(--font-weight-semibold);color:var(--color-text-muted)}.routine-form-reps-row{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}.routine-form-reps-separator{font-size:.9rem;color:var(--color-text-muted);font-weight:var(--font-weight-semibold)}.routine-form-prescription-notes{margin-top:8px;margin-bottom:18px}.routine-form-prescription-actions{display:flex;gap:10px;flex-wrap:wrap}.routine-form-prescription-actions-top{flex-shrink:0;justify-content:flex-end}.routine-form-prescription-error{margin-top:10px;margin-bottom:0;color:#ff9b9b;font-weight:var(--font-weight-semibold)}.routine-form-prescription-success{margin:0;color:#86efac;font-weight:var(--font-weight-semibold);font-size:.95rem}.routine-form-prescription-success-footer{margin-top:10px;text-align:right}.routine-form-btn-icon{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0;border-radius:10px;border:1px solid var(--color-border);background:var(--color-bg-elevated);color:var(--color-text);font-size:18px;line-height:1;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.routine-form-btn-icon:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.routine-form-btn-icon-subtle{background:var(--color-bg-elevated);color:var(--color-text);border:1px solid var(--color-border)}.routine-form-btn-icon-subtle:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.routine-form-inline-confirm{margin-top:12px;margin-bottom:14px;padding:12px 14px;border:1px solid rgba(239,68,68,.2);border-radius:14px;background:#ef444414}.routine-form-inline-confirm-title{margin:0 0 4px;font-size:15px;font-weight:var(--font-weight-bold);line-height:1.35;color:#ffb4b4}.routine-form-inline-confirm-text{margin:0;font-size:14px;line-height:1.45;color:#f1b0b0}.routine-form-inline-confirm-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.routine-form-inline-confirm-actions .routine-form-btn{min-height:40px;padding:0 16px}.routine-form-bottom-save{margin-top:2px}.routine-form-back-row{margin-bottom:10px}.routine-form-search-results{display:flex;flex-direction:column;gap:8px;margin-top:8px}.routine-form-search-result{width:100%;min-height:48px;padding:0 14px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#ffffff08;color:#fff;font:inherit;text-align:left;cursor:pointer}.routine-form-search-result:active{transform:scale(.995)}.routine-form-helper-text{margin:8px 0 0;font-size:14px;color:#ffffffa3}.routine-form-prescription-grid-compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.routine-form-notes-toggle-row{margin-top:12px}.routine-form-notes-toggle{padding:0;border:none;background:transparent;color:#6ea8ff;font:inherit;font-weight:600;cursor:pointer}.routine-form-prescription-notes-compact{margin-top:10px}.routine-form-textarea-compact{min-height:84px;resize:vertical}.routine-form-prescription-stack{display:flex;flex-direction:column;gap:12px}.routine-form-prescription-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.routine-form-card-highlight{border-color:#3b82f661;box-shadow:0 0 0 2px #3b82f624,var(--shadow-sm)}@media(max-width:560px){.routine-form-prescription-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:920px){.routine-form-prescription-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.routine-form-container{padding:18px var(--page-padding-x) 28px}.routine-form-card{padding:16px}.routine-form-title{font-size:1.6rem}.routine-form-section-header{flex-direction:column;align-items:stretch}.routine-form-actions-top{justify-content:flex-start}.routine-form-list-item-header{align-items:flex-start}.routine-form-prescription-actions-top{justify-content:flex-end;width:100%}.routine-form-prescription-grid{grid-template-columns:1fr}.routine-form-prescription-field-span-2{grid-column:auto}.routine-form-list-item-footer{justify-content:flex-end}.routine-form-prescription-success-footer{text-align:right}.routine-form-actions-end{justify-content:flex-end}.routine-form-bottom-save .routine-form-btn{min-width:132px}}.import-export-page{padding:20px 16px 96px;max-width:720px;margin:0 auto}.import-export-page-header{margin:12px 0 20px}.import-export-page-header h1{margin:0 0 8px;font-size:28px;line-height:1.1}.import-export-page-header p{margin:0;color:#ffffffb3}.import-export-card{background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px;margin-bottom:16px}.import-export-card h2{margin:0 0 8px;font-size:18px}.import-export-card p{margin:0 0 14px;color:#ffffffb8;line-height:1.5}.import-export-file-label{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:12px;background:#2f6fed;color:#fff;font-weight:600;cursor:pointer}.import-export-file-label input{display:none}.import-export-button{min-height:44px;border:none;border-radius:12px;padding:0 14px;background:#2f6fed;color:#fff;font:inherit;font-weight:600;cursor:pointer}.import-export-message{margin:16px 0 0;padding:12px 14px;border-radius:12px;font-size:14px}.import-export-message.success{background:#46ba6224;border:1px solid rgba(70,186,98,.28);color:#9ee2ae}.import-export-message.error{background:#ff5a5a24;border:1px solid rgba(255,90,90,.28);color:#ffb3b3}.import-export-button-secondary{background:#3b82f614;border:1px solid rgba(59,130,246,.22);color:#cfe3ff}.import-export-button-secondary:hover{background:#3b82f61f;border-color:#3b82f64d}.import-export-help{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}.import-export-help-title{margin:0 0 10px;font-weight:700;color:#fff}.import-export-help-list{margin:0;padding-left:18px;color:#ffffffb8;line-height:1.55}.import-export-help-list li+li{margin-top:6px}.import-export-card .import-export-message-inline{margin:14px 0 0}.active-workout-page{width:100%;min-width:0}.active-workout-container{width:100%;max-width:var(--page-max-width);margin:0 auto;padding:92px var(--page-padding-x) 28px}.active-workout-header{position:fixed;top:0;left:0;right:0;z-index:80;margin:0;padding:10px 0 0;background:#030a14f0;border-bottom:1px solid rgba(148,163,184,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.active-workout-header-inner{width:100%;max-width:var(--page-max-width);margin:0 auto;padding:0 var(--page-padding-x)}.active-workout-header-compact,.active-workout-header-inner.active-workout-header-compact{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-height:64px}.active-workout-header-main{min-width:0;flex:1}.active-workout-title{margin:0;font-size:1.45rem;line-height:1.1;letter-spacing:-.03em;color:var(--color-text)}.active-workout-timer,.active-workout-meta{margin:4px 0 0;color:var(--color-text-soft);font-size:.95rem}.active-workout-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.active-workout-header-actions .button-secondary,.active-workout-header-actions .button-primary{min-height:42px;padding:0 14px}.active-workout-back-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid rgba(148,163,184,.12);border-radius:14px;background:#ffffff0a;color:var(--color-text);font-size:1.35rem;font-weight:600;line-height:1;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease}.active-workout-back-btn:hover{background:#ffffff12;border-color:#94a3b833;color:#fff}.active-workout-back-btn:active{transform:translateY(1px)}.active-workout-back-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f62e}.active-workout-finish-btn{min-width:92px}.active-workout-list{display:grid;gap:14px}.active-workout-card{overflow:hidden}.active-workout-card-top{padding:14px 16px 0}.active-workout-card-heading-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.active-workout-card-heading-main{min-width:0;flex:1}.active-workout-title-row{display:flex;align-items:center;gap:8px;min-width:0}.active-workout-exercise-title{margin:0;min-width:0;flex:1;color:var(--color-text);font-size:1.1rem;line-height:1.25;font-weight:var(--font-weight-bold)}.active-workout-exercise-variant-wrap{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;margin-left:5px}.active-workout-exercise-variant{display:inline;color:#6ea8ff}.active-workout-prescription{margin:6px 0 0;color:var(--color-text-soft);line-height:1.4}.active-workout-notes-toggle{margin-top:8px;padding:0;border:none;background:transparent;color:#60a5fae0;font:inherit;font-weight:var(--font-weight-medium);text-align:left;cursor:pointer}.active-workout-notes-toggle:hover{color:#93c5fd}.active-workout-notes-toggle:focus,.active-workout-notes-toggle:active,.active-workout-notes-toggle:focus-visible{color:#93c5fd;outline:none;box-shadow:none}.active-workout-notes{width:100%;margin-top:10px;box-sizing:border-box}.active-workout-notes .textarea{min-height:42px;height:42px;resize:none;overflow:hidden;margin-top:6px;padding-top:10px;padding-bottom:10px;line-height:1.35}.active-workout-swap-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid rgba(59,130,246,.18);border-radius:999px;background:#3b82f614;color:#60a5fa;font-size:.95rem;line-height:1;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease;flex-shrink:0}.active-workout-swap-btn:hover{background:#3b82f624;border-color:#3b82f647;color:#93c5fd}.active-workout-swap-btn:active{transform:translateY(1px)}.active-workout-swap-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f62e}.active-workout-swap-panel{margin-top:10px;padding:10px 12px;border:1px solid rgba(59,130,246,.12);border-radius:12px;background:#0b19308c}.active-workout-swap-label{margin:0 0 8px;font-size:.82rem;color:var(--color-text-soft)}.active-workout-swap-options{display:flex;flex-wrap:wrap;gap:8px}.active-workout-swap-option{min-height:32px;padding:0 12px;border:1px solid rgba(59,130,246,.14);border-radius:999px;background:#ffffff05;color:var(--color-text);font:inherit;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.active-workout-swap-option:hover{background:#3b82f614;border-color:#3b82f63d}.active-workout-swap-option-active{background:#3b82f624;border-color:#3b82f64d;color:#93c5fd}.active-workout-table-wrap{padding:14px 8px 0}.active-workout-table{width:100%;border-collapse:separate;border-spacing:0 8px;table-layout:fixed}.active-workout-col-set{width:13%}.active-workout-col-previous{width:27%}.active-workout-col-weight,.active-workout-col-reps{width:24%}.active-workout-col-check{width:12%}.active-workout-previous-cell{height:56px;padding:0 4px;color:var(--color-text-soft);font-size:.8rem;font-weight:var(--font-weight-medium);white-space:nowrap;text-align:center;opacity:.95}.active-workout-set-row.is-completed .active-workout-previous-cell{color:#f6fff1}.active-workout-table th{padding:0 6px 6px;text-align:center;color:var(--color-text-muted);font-size:.76rem;font-weight:var(--font-weight-semibold);letter-spacing:.05em;text-transform:uppercase}.active-workout-table td{padding:0;vertical-align:middle;text-align:center;border-top:none}.active-workout-set-row td{background:transparent;height:56px;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.active-workout-set-row td:first-child{border-top-left-radius:14px;border-bottom-left-radius:14px}.active-workout-set-row td:last-child{border-top-right-radius:14px;border-bottom-right-radius:14px}.active-workout-set-row.is-completed td{background:#45991b8f}.active-workout-set-row.is-completed .active-workout-set-number,.active-workout-set-row.is-completed td{color:#f6fff1}.active-workout-set-row.is-completed .input{background:#0d14102e;border-color:#ffffff14;color:#f6fff1;box-shadow:none;border-radius:12px}.active-workout-set-number{display:flex;align-items:center;justify-content:center;height:56px;color:var(--color-text);font-weight:var(--font-weight-bold);font-size:1.05rem;text-align:center}.active-workout-cell-input{text-align:center;padding:0 6px}.active-workout-cell-input .input{width:100%;max-width:84px;min-height:44px;padding-left:14px;padding-right:10px;text-align:center;margin:0 auto;border-radius:14px;font-weight:var(--font-weight-semibold)}.active-workout-cell-input .input:focus{padding-left:16px;padding-right:8px}.active-workout-check-cell{text-align:center;padding:0 6px}.active-workout-check-header{text-align:center}.active-workout-check-header span{display:inline-flex;align-items:center;justify-content:center;width:100%;color:var(--color-text-muted)}.active-workout-check-btn{width:46px;height:46px;padding:0;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#ffffff0a;color:#ffffff42;font-size:1.15rem;font-weight:800;line-height:1;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease,box-shadow .14s ease;-webkit-tap-highlight-color:transparent}.active-workout-check-btn:hover{background:#ffffff12;border-color:#ffffff1f;color:#ffffff57}.active-workout-check-btn:active{transform:translateY(1px)}.active-workout-check-btn.is-completed{background:#56d87e2e;border-color:#a7f3b533;color:#ecfdf3;box-shadow:inset 0 0 0 1px #ffffff0a}.active-workout-set-row.is-completed .active-workout-check-btn{background:#289f4752;border-color:#c8ffd729;color:#f2fff5;box-shadow:none}.active-workout-card-footer{display:grid;gap:10px;padding:14px 16px 16px}.active-workout-card-footer-with-secondary{grid-template-columns:1fr}.active-workout-add-set-btn{width:100%;justify-content:center}.active-workout-remove-set-btn{width:100%;min-height:40px;border:1px solid rgba(239,68,68,.16);border-radius:14px;background:#ef44440f;color:#fca5a5;font:inherit;font-weight:600;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease}.active-workout-remove-set-btn:hover{background:#ef44441a;border-color:#ef44443d;color:#fecaca}.active-workout-remove-set-btn:active{transform:translateY(1px)}.active-workout-remove-set-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #ef444424}.active-workout-empty{padding:22px 18px;text-align:center;color:var(--color-text-soft)}.active-workout-global-actions{display:grid;gap:12px;margin-top:20px;padding-bottom:24px}.active-workout-add-exercise-btn{width:100%}.active-workout-discard-btn{width:100%;min-height:44px;padding:0 14px;border:1px solid rgba(239,68,68,.22);border-radius:14px;background:#ef44441a;color:#ff9b9b;font:inherit;font-weight:700;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .12s ease}.active-workout-discard-btn:hover{background:#ef444429;border-color:#ef444457;color:#ffb4b4}.active-workout-discard-btn:active{transform:translateY(1px)}.active-workout-discard-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #ef444424}.active-workout-add-exercise-panel{display:grid;gap:10px;padding:14px;border:1px solid rgba(148,163,184,.12);border-radius:16px;background:#ffffff05}.active-workout-add-exercise-label{font-size:.92rem;font-weight:600;color:var(--color-text)}.active-workout-add-exercise-input-wrap{position:relative;width:100%}.active-workout-add-exercise-input{width:100%;padding-right:42px}.active-workout-add-exercise-results{display:grid;gap:8px}.active-workout-add-exercise-result{width:100%;min-height:42px;padding:0 14px;border:1px solid rgba(59,130,246,.12);border-radius:12px;background:#ffffff05;color:var(--color-text);font:inherit;text-align:left;cursor:pointer;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.active-workout-add-exercise-result:hover{background:#3b82f614;border-color:#3b82f638}.active-workout-add-exercise-empty{margin:0;color:var(--color-text-soft);font-size:.94rem}.active-workout-add-exercise-clear-btn{position:absolute;top:50%;right:10px;transform:translateY(-50%);width:24px;height:24px;border:none;border-radius:999px;background:#ffffff0f;color:var(--color-text-soft);font:inherit;font-size:1rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .14s ease,color .14s ease}.active-workout-add-exercise-clear-btn:hover{background:#ffffff1a;color:var(--color-text)}.active-workout-add-exercise-clear-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f62e}.active-workout-finish-overlay{position:fixed;inset:0;z-index:120;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:#02060e99;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.active-workout-finish-sheet{width:100%;max-width:520px;padding:18px;border:1px solid rgba(148,163,184,.12);border-radius:20px;background:#07101ef5;box-shadow:0 20px 60px #00000059}.active-workout-finish-sheet-eyebrow{margin:0 0 8px;color:#93c5fd;font-size:.84rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.active-workout-finish-sheet-title{margin:0 0 12px;color:var(--color-text);font-size:1.2rem;line-height:1.2}.active-workout-finish-sheet-stats{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.active-workout-finish-stat-chip{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:#3b82f61a;border:1px solid rgba(59,130,246,.16);color:#bfdbfe;font-size:.84rem;font-weight:600}.active-workout-finish-sheet-text{margin:0 0 16px;color:var(--color-text-soft);line-height:1.5}.active-workout-finish-sheet-actions{display:grid;gap:10px}.active-workout-finish-confirm-btn,.active-workout-finish-cancel-btn{width:100%}.active-workout-finish-warning{margin:0 0 16px;padding:12px 14px;border:1px solid rgba(245,158,11,.22);border-radius:14px;background:#f59e0b14}.active-workout-finish-warning-title{margin:0 0 6px;color:#fcd34d;font-size:.92rem;font-weight:700}.active-workout-finish-warning-list{display:grid;gap:4px}.active-workout-finish-warning-item{margin:0;color:#fde68a;line-height:1.45}.active-workout-finish-ok{margin:0 0 16px;padding:12px 14px;border:1px solid rgba(34,197,94,.18);border-radius:14px;background:#22c55e14;color:#bbf7d0;line-height:1.45}.active-workout-discard-sheet{border:1px solid rgba(239,68,68,.14)}.active-workout-discard-sheet-eyebrow{margin:0 0 8px;color:#fca5a5;font-size:.84rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.active-workout-discard-note{margin:-6px 0 16px;color:#fca5a5;line-height:1.45;font-size:.94rem}.active-workout-discard-confirm-btn{width:100%;min-height:44px;padding:0 14px;border:1px solid rgba(239,68,68,.22);border-radius:14px;background:#ef44441f;color:#ffb4b4;font:inherit;font-weight:700;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .12s ease}.active-workout-discard-confirm-btn:hover{background:#ef44442e;border-color:#ef444457;color:#ffc4c4}.active-workout-discard-confirm-btn:active{transform:translateY(1px)}.active-workout-discard-confirm-btn:focus-visible{outline:none;box-shadow:0 0 0 3px #ef444424}.active-workout-swap-option-add{border-style:dashed;color:var(--color-accent)}.active-workout-exercise-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.active-workout-exercise-header-main{min-width:0}.active-workout-notes-link{margin-top:8px;padding:0;border:none;background:transparent;color:var(--color-text-soft);font:inherit;font-weight:var(--font-weight-medium);cursor:pointer}.active-workout-notes-link:hover{color:var(--color-text)}.active-workout-delete-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;margin:0;border:1px solid rgba(239,68,68,.2);border-radius:9px;background:#ef444414;color:#ff9b9b;font-family:Arial,sans-serif;font-size:13px;font-weight:700;line-height:1;cursor:pointer;flex-shrink:0;transform:translate(.5px,1px)}.active-workout-delete-icon:hover{background:#ef444424;border-color:#ef444452;color:#ffc2c2}.active-workout-delete-confirm{margin:10px 0 0;padding:10px 12px;border:1px solid rgba(239,68,68,.18);border-radius:12px;background:#ef444412}.active-workout-delete-text{margin:0 0 3px;color:#ffb4b4;font-weight:700;line-height:1.3}.active-workout-delete-subtext{margin:0 0 8px;color:#f1b0b0;line-height:1.4}.active-workout-delete-actions{display:flex;gap:8px;flex-wrap:wrap}.active-workout-btn{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:9px;font:inherit;font-weight:600;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.active-workout-btn-danger{border:1px solid rgba(239,68,68,.22);background:#ef44441f;color:#ffb4b4}.active-workout-btn-secondary{border:1px solid var(--color-border);background:var(--color-surface-2);color:var(--color-text)}@media(max-width:640px){.active-workout-container{padding:88px var(--page-padding-x) 24px}.active-workout-header{padding-top:8px}.active-workout-header-inner{padding:0 var(--page-padding-x)}.active-workout-header-compact,.active-workout-header-inner.active-workout-header-compact{grid-template-columns:44px 1fr auto;gap:10px}.active-workout-title{font-size:1.28rem}.active-workout-table{border-spacing:0 6px}.active-workout-table th{font-size:.72rem;padding:0 4px 6px}.active-workout-cell-input .input{max-width:72px;min-height:42px;padding-left:12px;padding-right:8px}.active-workout-cell-input .input:focus{padding-left:14px;padding-right:6px}.active-workout-check-btn{width:42px;height:42px;border-radius:12px}.active-workout-set-row td{height:52px}.active-workout-col-set{width:12%}.active-workout-col-previous{width:26%}.active-workout-col-weight,.active-workout-col-reps{width:24%}.active-workout-col-check{width:12%}.active-workout-previous-cell{font-size:.8rem;padding:0 4px}}@media(min-width:641px){.active-workout-finish-overlay{align-items:center}.active-workout-finish-sheet-actions{grid-template-columns:1fr 1fr}}.app-shell{min-height:100vh;background:var(--color-bg);color:var(--color-text);overflow-x:hidden}.app-shell-main{width:100%;min-height:100vh;padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))}.app-shell-nav{position:fixed;right:0;bottom:0;left:0;z-index:100;border-top:1px solid var(--color-border);background:#0b0f14eb;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.app-shell-nav-inner{width:100%;max-width:var(--page-max-width);margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px max(var(--page-padding-x),env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(var(--page-padding-x),env(safe-area-inset-left,0px))}.app-shell-nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:48px;padding:0 8px;border-radius:999px;border:1px solid transparent;color:var(--color-text-soft);text-decoration:none;font-size:.82rem;font-weight:600;white-space:nowrap;transition:background-color .14s ease,color .14s ease,border-color .14s ease}.app-shell-nav-link:hover{background:var(--color-surface-hover);color:var(--color-text)}.app-shell-nav-link.active{background:#3b82f60f;color:#f3f7ff;border:1px solid rgba(96,165,250,.14)}.app-shell-nav-link.active .app-shell-nav-icon{transform:translateY(-.5px)}.app-shell-nav-icon{width:18px;height:18px;flex-shrink:0}@media(min-width:768px){.app-shell-main{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}.app-shell-nav-inner{padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.app-shell-nav-link{min-height:52px;font-size:.88rem}.app-shell-nav-icon{width:19px;height:19px}}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color-scheme:dark;--color-bg: #0b0f14;--color-bg-elevated: #10161d;--color-surface: #121923;--color-surface-hover: #17202b;--color-border: #1e2936;--color-border-strong: #2a3646;--color-text: #e6edf5;--color-text-soft: #a9b4c2;--color-text-muted: #7d8998;--color-accent: #3b82f6;--color-accent-hover: #2563eb;--color-accent-soft: rgba(59, 130, 246, .14);--color-accent-ring: rgba(59, 130, 246, .35);--color-danger: #ef4444;--color-danger-hover: #dc2626;--color-danger-soft: rgba(239, 68, 68, .14);--color-success: #22c55e;--color-warning: #f59e0b;--font-family-base: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-size-body: 15px;--line-height-body: 1.5;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--radius-sm: 10px;--radius-md: 12px;--radius-lg: 16px;--radius-pill: 999px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-7: 32px;--page-max-width: 760px;--page-padding-x: 16px;--page-padding-y: 20px;--tap-size: 44px;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .22);--shadow-md: 0 10px 24px rgba(0, 0, 0, .22);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}*:before,*:after{box-sizing:border-box}html,body{max-width:100%}html{color-scheme:dark;background:var(--color-bg);min-height:100%;overscroll-behavior-y:none;overscroll-behavior-x:none}body{margin:0;min-width:320px;min-height:100%;background:var(--color-bg);color:var(--color-text);font-family:var(--font-family-base);font-size:var(--font-size-body);line-height:var(--line-height-body);overflow-x:hidden;overscroll-behavior-y:none;overscroll-behavior-x:none}#root{min-height:100vh;background:var(--color-bg)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{color:inherit}img,svg{display:block;max-width:100%}h1,h2,h3,h4,p{margin-top:0}p:last-child{margin-bottom:0}ul,ol{margin-top:0;padding-left:1.25rem}::selection{background:var(--color-accent-soft);color:var(--color-text)}:focus{outline:none}:focus-visible{outline:2px solid var(--color-accent-ring);outline-offset:2px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--color-accent-ring);outline-offset:2px}::placeholder{color:var(--color-text-muted)}.page-container{width:100%;max-width:var(--page-max-width);margin:0 auto;padding:var(--page-padding-y) var(--page-padding-x)}.page-title{margin-bottom:var(--space-2);font-size:1.5rem;line-height:1.2;font-weight:var(--font-weight-bold);letter-spacing:-.02em;color:var(--color-text)}.page-subtitle{margin-bottom:var(--space-5);color:var(--color-text-soft);font-size:.95rem}.surface-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.section-card{padding:var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.field-label{display:block;margin-bottom:var(--space-2);color:var(--color-text-soft);font-size:.9rem;font-weight:var(--font-weight-medium)}.input,.textarea,.select{width:100%;min-height:var(--tap-size);padding:12px 14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-bg-elevated);color:var(--color-text);transition:border-color .14s ease,background-color .14s ease,box-shadow .14s ease}.textarea{min-height:120px;resize:vertical}.input:hover,.textarea:hover,.select:hover{border-color:var(--color-border-strong)}.input:focus,.textarea:focus,.select:focus{border-color:var(--color-accent);box-shadow:0 0 0 3px var(--color-accent-soft)}.button-reset{border:none;background:none;padding:0;font:inherit;color:inherit;cursor:pointer}.button-primary,.button-secondary,.button-ghost,.button-danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--tap-size);padding:0 16px;border-radius:var(--radius-md);border:1px solid transparent;font-weight:var(--font-weight-semibold);transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .12s ease,box-shadow .14s ease;cursor:pointer}.button-primary{background:var(--color-accent);color:#f8fbff}.button-primary:hover{background:var(--color-accent-hover)}.button-secondary{background:var(--color-surface);border-color:var(--color-border);color:var(--color-text)}.button-secondary:hover{background:var(--color-surface-hover);border-color:var(--color-border-strong)}.button-ghost{background:transparent;color:var(--color-text-soft)}.button-ghost:hover{background:var(--color-surface-hover);color:var(--color-text)}.button-danger{background:transparent;border-color:transparent;color:var(--color-danger)}.button-danger:hover{background:var(--color-danger-soft);color:#ffb4b4}.button-primary:active,.button-secondary:active,.button-ghost:active,.button-danger:active{transform:translateY(1px)}.button-primary:disabled,.button-secondary:disabled,.button-ghost:disabled,.button-danger:disabled{opacity:.5;cursor:not-allowed;transform:none}.page-back-button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0;border:none;background:transparent;color:var(--color-text-soft);font:inherit;font-weight:var(--font-weight-semibold);cursor:pointer;transition:color .14s ease}.page-back-button:hover{color:var(--color-text)}.page-back-button-arrow{position:relative;font-size:1rem;line-height:1;top:-2px}.text-muted{color:var(--color-text-muted)}.text-soft{color:var(--color-text-soft)}.text-danger{color:var(--color-danger)}.link-accent{color:var(--color-accent)}.link-accent:hover{color:#60a5fa}.divider{height:1px;border:0;background:var(--color-border);margin:var(--space-4) 0}
