textarea{font:inherit;background:#222620;border:1px solid #394035;border-radius:10px;padding:12px;color:var(--text);resize:vertical;min-height:96px;width:100%}textarea:focus{outline:1px solid var(--lime)}.muted,.helper{color:var(--muted)}.helper{font-size:12px;line-height:1.6;margin:12px 0}.quick-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 24px}.quick-tools .ghost{font-size:12px}.quick-tools #connectionStatus{margin-left:auto;color:var(--muted);font-size:11px}.quick-tools #connectionStatus.warning{color:#eac979}.row-edit{background:none;color:var(--lime);font-size:18px;margin-right:8px;padding:5px}.table td:last-child{white-space:nowrap}.workout-note{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.workout-note h2{margin-bottom:18px}.workout-note label{margin-top:12px}.workout-note select{width:100%;font-size:12px}.workout-note button{margin-top:10px}.record-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.record{border:1px solid var(--line);padding:18px;border-radius:11px;background:#20251d;display:flex;flex-direction:column;gap:12px}.record small,.record span{font-size:11px;color:var(--muted)}.record b{font-size:25px;color:var(--lime);letter-spacing:-.7px}#recordsCard,#queueCard,#plansView{margin-top:22px}.history-detail{border-top:1px solid var(--line);padding:3px 0 12px}.history-detail summary{list-style:none;display:flex;gap:14px;align-items:center;cursor:pointer;padding:17px 0}.history-detail summary::-webkit-details-marker{display:none}.history-detail summary>div:first-child{flex:1}.history-detail summary b{font-size:13px}.history-detail summary small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.history-numbers{text-align:right;color:var(--lime);font-size:12px}.history-detail .table{margin-bottom:16px}.exercise-row-label{font-size:11px!important;padding-top:18px!important;color:var(--muted)}.saved-note{background:#242c1f;border-radius:8px;padding:13px;font-size:12px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.saved-note b{color:var(--lime);display:block;margin-bottom:6px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.plan-card{padding:20px;border:1px solid var(--line);border-radius:12px;background:#20251d;display:flex;flex-direction:column}.plan-card h3{font-size:19px}.plan-card>div:first-of-type{flex:1}.plan-card p{border-top:1px solid var(--line);padding:13px 0;font-size:12px;margin-top:10px}.plan-card p b{color:var(--text);display:block;margin-bottom:7px}.plan-card span{font-size:11px}.plan-card .tools{margin:10px 0 0;gap:7px}.plan-card .tools button{font-size:11px;padding:10px}.queue-row{display:grid;grid-template-columns:minmax(100px,1.5fr) 1fr 1fr auto 20px;gap:12px;align-items:end;border-top:1px solid var(--line);padding:16px 0}.queue-row>div{align-self:center}.queue-row b{display:block;font-size:13px}.queue-row small{color:var(--muted);font-size:11px;display:block;margin-top:6px}.queue-row label{margin:0}.queue-row input{width:100%;margin-top:8px}.queue-row .primary{height:43px;font-size:12px}.queue-row .remove{height:43px}.large-modal{max-width:760px}.plan-editor-row{display:grid;grid-template-columns:2fr repeat(3,1fr) 20px;align-items:end;gap:9px;padding:18px 0;border-bottom:1px solid var(--line);margin-bottom:18px}.plan-editor-row select,.plan-editor-row input{width:100%;margin:8px 0 0;padding:10px;font-size:12px}.plan-editor-row label{margin:0}.plan-editor-row button{height:39px}.settings-section{border-bottom:1px solid var(--line);padding:24px 0}.settings-section:first-of-type{padding-top:24px}.settings-section h3{font-size:18px;margin-bottom:18px}.settings-section input,.settings-section select{width:100%}.settings-section form>input{display:block;margin-bottom:14px}.settings-section button{margin-top:6px}.check-label{display:flex;align-items:center;gap:10px;margin:18px 0 0;font-size:12px}.check-label input{width:17px;height:17px;accent-color:var(--lime)}.recovery-code{display:block;background:#11170d;border:1px solid #51643a;color:var(--lime);padding:16px;overflow-wrap:anywhere;border-radius:8px;margin:12px 0;font-size:14px;user-select:all}.text-button{background:none;color:var(--lime);font-size:12px;padding:14px 0 0}.rest-widget{position:fixed;bottom:22px;right:24px;z-index:15;background:#28341d;border:1px solid #657e43;box-shadow:0 12px 50px #0009;border-radius:13px;padding:15px;display:flex;align-items:center;gap:13px}.rest-widget small{display:block;color:#c2ccba;font-size:10px;max-width:160px}.rest-widget b{display:block;font-size:29px;color:var(--lime);font-variant-numeric:tabular-nums;margin-top:4px}.rest-widget .ghost{background:#1e2916;border-color:#4b5d35;font-size:11px}#accountView{max-width:780px}.modal p{line-height:1.6}.nav{gap:8px}.modal input:focus-visible,.modal select:focus-visible,.modal textarea:focus-visible{outline:1px solid var(--lime)}
@media(max-width:1100px){.record-grid{grid-template-columns:repeat(2,1fr)}.plan-grid{grid-template-columns:1fr 1fr}.queue-row{grid-template-columns:minmax(90px,1.2fr) 1fr 1fr auto 18px;gap:8px}.queue-row .primary{padding:10px}}
@media(max-width:580px){.nav{grid-template-columns:repeat(5,1fr)}.nav button{font-size:8px}.quick-tools{gap:7px;margin-bottom:19px}.quick-tools .ghost{font-size:10px;padding:9px}.quick-tools #connectionStatus{width:100%;margin:2px 0 0;font-size:10px}.record-grid{gap:9px}.record{padding:13px}.record b{font-size:22px}.record small,.record span{font-size:10px}.plan-grid{grid-template-columns:1fr}.queue-row{grid-template-columns:1fr 1fr auto 20px;gap:8px}.queue-row>div{grid-column:1/-1}.queue-row input{padding:10px}.queue-row .primary{font-size:10px}.plan-editor-row{grid-template-columns:repeat(3,1fr) 20px;gap:8px}.plan-editor-row .exercise-label{grid-column:1/-1}.rest-widget{bottom:79px;left:16px;right:16px;padding:12px;gap:10px}.rest-widget>div{margin-right:auto}.rest-widget b{font-size:25px}.rest-widget small{font-size:9px}.history-numbers{font-size:10px}.history-detail summary small{font-size:10px}.settings-section .fields{grid-template-columns:1fr 1fr}.settings-section .fields>div:first-child{grid-column:auto}#plansView>.card-head{align-items:flex-start}#plansView>.card-head .primary{font-size:10px;padding:10px}.record-grid .record b{overflow-wrap:anywhere}.workout-note select{font-size:11px}}

.activity-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:max-content;padding:6px 9px;border:1px solid #39472c;border-radius:20px;background:#20291a;color:#d1f875;font-size:10px;font-weight:500;letter-spacing:0;white-space:nowrap;font-variant-numeric:tabular-nums}.activity-badge i{width:5px;height:5px;flex:none;background:#d1f875;border-radius:50%;box-shadow:0 0 7px #d1f87544}.side .caption{margin-bottom:13px}.side>.activity-badge{margin:0 0 29px 39px}.activity-header{display:none}.activity-badge.is-quiet{color:#9aa28e;border-color:#30372b;background:#1d221a}.activity-badge.is-quiet i{background:#7b8770;box-shadow:none}.topbar .activity-badge span{font-size:inherit;color:inherit}
@media(min-width:581px) and (max-width:820px){.side>.activity-badge{margin:15px auto 0;padding:6px 4px;font-size:9px;gap:3px}.side>.activity-badge .activity-word{display:none}.side .nav{margin-top:25px}}
@media(max-width:580px){.side>.activity-badge{display:none}.activity-header{display:flex;margin-left:auto}.activity-header .activity-badge{padding:5px 7px;font-size:9px;gap:4px}.topbar .top-actions .tag{display:none}.topbar{gap:10px}.topbar .top-actions{margin-left:0}.mobile-brand{font-size:21px}}

/* Appearance is saved on the device; the original dark palette is the default. */
.topbar{column-gap:18px}.theme-toggle{display:flex;gap:3px;align-items:center;padding:3px;border:1px solid var(--line);border-radius:9px;background:#191e16;flex-shrink:0}.theme-toggle button{display:flex;align-items:center;justify-content:center;gap:6px;background:transparent;color:var(--muted);border:0;border-radius:6px;padding:8px 10px;font-size:11px;white-space:nowrap}.theme-toggle button[aria-pressed=true]{background:#303d25;color:var(--lime)}.theme-toggle svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.topbar .theme-toggle .theme-label{font:inherit;color:inherit}.topbar>.topbar-label{flex:1}.theme-toggle button:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
:root[data-theme=light]{--bg:#f3f7fc;--panel:#fff;--line:#dce6f2;--muted:#5b7597;--text:#142744;--lime:#2563eb;--logo-ink:#fff;color-scheme:light}
:root[data-theme=light] body{background:var(--bg);color:var(--text)}
:root[data-theme=light] .side,:root[data-theme=light] .topbar{background:#fff;border-color:var(--line)}
:root[data-theme=light] .brand{color:#10213c}
:root[data-theme=light] #emblem path[stroke]{stroke:#fff}
:root[data-theme=light] .nav button{color:#526d90}
:root[data-theme=light] .nav button.active{background:#e6efff;color:#1d5ce0}
:root[data-theme=light] .card,:root[data-theme=light] .stat{background:#fff;box-shadow:0 2px 8px #2158a003}
:root[data-theme=light] .note,:root[data-theme=light] .guest-banner{border-color:#cee0ff;background:linear-gradient(120deg,#edf5ff,#e5efff)}
:root[data-theme=light] .profile .avatar{background:#e6efff;color:#2563eb}
:root[data-theme=light] .tag{color:#2563eb;border-color:#c8dbfc;background:#f8fbff}
:root[data-theme=light] .primary{background:#2563eb;color:#fff}
:root[data-theme=light] .ghost{background:#fff;border-color:#d4e1f3;color:#233d60}
:root[data-theme=light] input,:root[data-theme=light] select,:root[data-theme=light] textarea{background:#fff;border-color:#d3dfed;color:#142744;color-scheme:light}
:root[data-theme=light] input::placeholder,:root[data-theme=light] textarea::placeholder{color:#8193ab}
:root[data-theme=light] .exercise-tabs button{background:#f8fbff;border-color:#dae5f4;color:#526d90}
:root[data-theme=light] .exercise-tabs button.selected{background:#eaf2ff;border-color:#2563eb;color:#1d5ce0}
:root[data-theme=light] .exercise-art{background:radial-gradient(ellipse,#dceaff,#edf5ff);color:#2563eb}
:root[data-theme=light] .pill{background:#edf4ff;color:#2563eb}
:root[data-theme=light] .segmented{background:#f1f6fd;border:1px solid #dce6f2}
:root[data-theme=light] .segmented button{color:#5b7597}
:root[data-theme=light] .segmented button.on{background:#2563eb;color:#fff}
:root[data-theme=light] .week-day strong{border-color:#dce6f2;color:#61738d}
:root[data-theme=light] .week-day strong.trained{background:#edf4ff;border-color:#bad2fa;color:#2563eb}
:root[data-theme=light] .week-day strong.today{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb0a}
:root[data-theme=light] .record,:root[data-theme=light] .plan-card{background:#f8fbff;border-color:#dce6f2}
:root[data-theme=light] .saved-note{background:#edf4ff;color:#425d80}
:root[data-theme=light] .activity-badge,:root[data-theme=light] .activity-badge.is-quiet{color:#2563eb;background:#eef5ff;border-color:#d3e4ff}
:root[data-theme=light] .activity-badge i,:root[data-theme=light] .activity-badge.is-quiet i{background:#2563eb;box-shadow:0 0 6px #2563eb15}
:root[data-theme=light] .theme-toggle{background:#f4f8ff;border-color:#d2e1f7}
:root[data-theme=light] .theme-toggle button{color:#3a5273}
:root[data-theme=light] .theme-toggle button[aria-pressed=true]{background:#2563eb;color:#fff}
:root[data-theme=light] .overlay{background:#1023443d}
:root[data-theme=light] .modal{background:#fff;border-color:#d3e1f4;box-shadow:0 25px 90px #16356026}
:root[data-theme=light] .auth-tabs{background:#f2f7ff;border-color:#dce6f2}
:root[data-theme=light] .auth-tabs button.active{background:#dfeaff;color:#1d5ce0}
:root[data-theme=light] .toast{background:#2563eb;color:#fff;box-shadow:0 8px 30px #164a9e26}
:root[data-theme=light] .rest-widget{background:#eaf3ff;border-color:#9cbeef;box-shadow:0 10px 35px #17477e20}
:root[data-theme=light] .rest-widget small{color:#4c6889}
:root[data-theme=light] .rest-widget .ghost{background:#fff;border-color:#c2d6f4;color:#234a80}
:root[data-theme=light] .recovery-code{background:#eef5ff;border-color:#9bbcf1;color:#194fb7}
:root[data-theme=light] .quick-tools #connectionStatus.warning{color:#8b5a00}
:root[data-theme=light] .sync-status.error,:root[data-theme=light] #authError{color:#b83724!important}
:root[data-theme=light] #chart path[stroke]{stroke:#2563eb}
:root[data-theme=light] #chart circle{fill:#2563eb;stroke:#fff}
:root[data-theme=light] #chart stop{stop-color:#2563eb}
:root[data-theme=light] #chart line{stroke:#dce6f2}
:root[data-theme=light] #chart text{fill:#5b7597}
:root[data-theme=light] .remove{color:#6c809a}
:root[data-theme=light] footer{color:#7185a0}
@media(min-width:821px) and (max-width:1100px){.topbar>.topbar-label{font-size:11px}.topbar{gap:12px}.theme-toggle button{padding:7px 8px;font-size:10px}}
@media(min-width:581px) and (max-width:820px){.topbar{gap:10px}.topbar>.topbar-label{font-size:11px}.top-actions{gap:8px}.topbar .tag{display:none}.theme-toggle button{padding:7px 8px;font-size:10px}}
@media(max-width:580px){.topbar{column-gap:10px;flex-wrap:wrap;height:auto;min-height:61px;padding-top:12px;padding-bottom:10px;row-gap:10px}.theme-toggle{order:4;flex-basis:100%;justify-content:center;padding:3px}.theme-toggle button{flex:1;padding:6px 10px;font-size:10px}.theme-toggle svg{width:14px;height:14px}.topbar>.topbar-label{flex:none}}

/* Public welcome: real HTML copy remains readable by search engines. */
.heading #pageTitle{font-size:32px;letter-spacing:-1px;margin:8px 0}.guest-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(230px,1fr);gap:14px;align-items:center;padding:38px 34px;border:1px solid #39482c;border-radius:20px;margin-bottom:28px;background:radial-gradient(ellipse at 90% 70%,#719a1720,transparent 60%),linear-gradient(120deg,#192016,#121711);overflow:hidden}.hero-copy{position:relative;z-index:1}.guest-hero h1{font-size:clamp(30px,3.2vw,49px);font-weight:800;line-height:1.12;letter-spacing:-1.8px;margin:0 0 20px}.guest-hero h1 span{color:var(--lime)}.hero-copy>p{font-size:16px;max-width:560px;line-height:1.55}.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:25px}.hero-actions .primary,.hero-secondary{padding:16px 23px;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.hero-secondary{border:1px solid #7a9453;color:var(--text);background:#11171060}.hero-benefits{list-style:none;display:flex;flex-wrap:wrap;gap:12px 20px;padding:0;margin:25px 0 0;font-size:12px;color:var(--text)}.hero-benefits li{display:flex;gap:7px;align-items:center}.hero-benefits li:before{content:'✓';display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--lime);color:var(--bg);font-weight:800}.hero-visual{align-self:stretch;min-height:260px;position:relative;color:var(--lime)}.hero-visual>svg{position:absolute;width:100%;bottom:0;left:0;overflow:visible}.hero-grid{fill:none;stroke:currentColor;stroke-width:.5;opacity:.12}.hero-record{position:relative;z-index:1;margin:0 8px 0 auto;border:1px solid #526936;background:#1a2419b3;border-radius:12px;padding:16px;width:190px}.hero-record small{display:block;font-size:11px;color:var(--muted);margin-bottom:10px}.hero-record b{display:block;font-size:14px;color:var(--text)}.hero-record strong{display:block;font-size:28px;letter-spacing:-1px;margin-top:7px;color:var(--text)}.hero-record em{font-style:normal;color:var(--lime)}.hero-record strong span{font-size:16px}.examples-heading{display:none;scroll-margin-top:24px;margin-bottom:23px}.examples-heading h2{font-size:26px;letter-spacing:-.7px;margin:0 0 8px}.examples-heading p{font-size:13px}.guest-overview .examples-heading{display:block}.guest-overview .content>.heading{display:none}body:not(.guest-overview) .guest-hero{display:none}.guest-overview .quick-tools{margin-bottom:20px}footer a{color:var(--muted);margin-left:12px}footer a:hover{color:var(--lime)}
:root[data-theme=light] .guest-hero{border-color:#cbdcf6;background:radial-gradient(ellipse at 90% 80%,#2563eb12,transparent 60%),linear-gradient(120deg,#f3f8ff,#e7f0ff)}:root[data-theme=light] .hero-record{background:#ffffffcc;border-color:#c6d9f7}:root[data-theme=light] .hero-secondary{background:#ffffff99;color:#233d60;border-color:#9ebded}:root[data-theme=light] .hero-benefits li:before{color:#fff}
@media(max-width:1100px){.guest-hero{padding:28px 24px;grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr)}.guest-hero h1{font-size:34px;letter-spacing:-1px}.hero-copy>p{font-size:14px}.hero-actions{gap:10px}.hero-actions .primary,.hero-secondary{font-size:12px;padding:14px 18px}.hero-benefits{gap:10px 12px;font-size:11px}.heading #pageTitle{font-size:28px}}
@media(max-width:820px){.guest-hero{grid-template-columns:1fr}.hero-visual{display:none}.guest-hero h1{font-size:36px}.hero-copy>p{max-width:560px}}
@media(max-width:580px){.guest-hero{padding:26px 20px;margin-bottom:25px;border-radius:15px}.guest-hero h1{font-size:32px;line-height:1.13;letter-spacing:-1px;margin-bottom:16px}.hero-copy>p{font-size:13px}.hero-actions{display:grid;grid-template-columns:1fr;margin-top:21px;gap:10px}.hero-actions .primary,.hero-secondary{font-size:13px;width:100%;padding:14px}.hero-benefits{gap:11px 15px;margin-top:20px;font-size:10px}.hero-benefits li{gap:5px}.hero-benefits li:before{width:17px;height:17px}.examples-heading h2{font-size:23px}.examples-heading p{font-size:12px}.heading #pageTitle{font-size:25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
