/* RE:FORM STATE THEMES — original, hard-edge, graphic realism.
   The palette changes presentation, never health logic. */
:root,[data-theme="volt"]{--acid:#dbff00;--secondary:#b59bff;--third:#fff6dc;--bg:#11120f;--surface:#1a1c17;--surface-raised:#24261f;--line:#373b2d;--line-soft:#2d3025;--muted:#b0b3a3;--subtle:#939886;--wash:#262c17;--pink:#b59bff}
[data-theme="ember"]{--acid:#ff683b;--secondary:#faff4b;--third:#ffb4e9;--bg:#16100e;--surface:#211815;--surface-raised:#30221d;--line:#4b352c;--line-soft:#38271f;--muted:#c6b3a8;--subtle:#b09a8b;--wash:#3b2116;--pink:#ffb4e9}
[data-theme="tide"]{--acid:#90f6ee;--secondary:#b4a8ff;--third:#edff72;--bg:#101517;--surface:#172125;--surface-raised:#213035;--line:#344c51;--line-soft:#273d42;--muted:#a4bfc2;--subtle:#86a6ad;--wash:#1d3539;--pink:#b4a8ff}
[data-theme="kinetic"]{--acid:#f8a2ff;--secondary:#dbff00;--third:#ff8958;--bg:#181117;--surface:#241a24;--surface-raised:#332533;--line:#50384d;--line-soft:#3d2b3b;--muted:#c3adc1;--subtle:#b095ad;--wash:#392539;--pink:#f8a2ff}
[data-theme="interval"]{--acid:#c4b2ff;--secondary:#baff54;--third:#ffb4d3;--bg:#14121b;--surface:#211d2d;--surface-raised:#30293d;--line:#463e5b;--line-soft:#352e48;--muted:#b8adce;--subtle:#9f94b6;--wash:#332846;--pink:#ffb4d3}
[data-theme="bloom"]{--acid:#f2ff62;--secondary:#ff8ad7;--third:#b5ffff;--bg:#15160e;--surface:#222519;--surface-raised:#303423;--line:#464c2e;--line-soft:#363b23;--muted:#bac0a7;--subtle:#a1aa87;--wash:#333b1d;--pink:#ff8ad7}
[data-theme="streak"]{--acid:#ffb2e9;--secondary:#d8ff31;--third:#f2e8ce;--bg:#1b1317;--surface:#2a1e24;--surface-raised:#3b2833;--line:#553c47;--line-soft:#402d36;--muted:#cbb1c1;--subtle:#b797a9;--wash:#42283a;--pink:#ffb2e9}
[data-theme="eclipse"]{--acid:#c3b0ff;--secondary:#ff9875;--third:#e4ff42;--bg:#15121b;--surface:#241d2b;--surface-raised:#33293c;--line:#4d3d58;--line-soft:#3b2d47;--muted:#c4b1ca;--subtle:#ab91b8;--wash:#352341;--pink:#ff9875}
/* Hard-edge application chrome and theme propagation */
body{background:var(--bg)}.panel,.btn,.btn-icon,.nav-item,.hero,.metrics-strip,.day-pill,.signal-card,dialog{border-radius:0}.rail{background:var(--bg)}.nav-item.active{background:var(--acid);color:var(--black)}.nav-item.active::before{background:var(--secondary);width:4px}.nav-item.active .icon{stroke-width:2}.brand-name{font-size:27px;font-weight:950;letter-spacing:-1.7px}.rail-logo{position:relative}.rail-logo img{filter:grayscale(1)}.rail-logo::after{content:'';position:absolute;inset:0;background:var(--acid);mix-blend-mode:multiply;pointer-events:none}.avatar{background:var(--secondary);color:var(--black);border-color:var(--secondary);border-radius:0}.connection i{background:var(--acid);box-shadow:none}.theme-header-button{color:var(--acid);border-color:var(--acid)}.btn:not(.secondary):not(.ghost):not(.danger):not(.pink-btn):hover{background:var(--third);color:var(--black)}.tag.lime,.chip.active,.chip:hover,.exercise-nav.active,.check-tile.done{background:var(--wash);border-color:var(--acid);color:var(--acid)}.notice:not(.warn){background:var(--surface);color:var(--muted)}.bar{background:var(--line)}.exercise-stage{background-color:var(--wash)}.exercise-stage::after{content:'';position:absolute;right:0;bottom:0;width:55px;height:55px;background:var(--secondary);clip-path:polygon(100% 0,100% 100%,0 100%);pointer-events:none}.workout-letter{color:var(--black);background:var(--acid);border-color:var(--acid);border-radius:0}.rest-timer{background:var(--acid);color:var(--black);border-color:var(--acid)}.rest-timer .timer-value,.rest-timer .timer-label,.rest-timer .btn,.rest-timer .btn-icon{color:var(--black)}.rest-timer .btn,.rest-timer .btn-icon{border-color:#1115}.rest-timer .btn:hover{background:#1111}.recovery-hero{background:var(--secondary);color:var(--black);border-radius:0}.recovery-hero .muted,.recovery-hero .eyebrow,.recovery-hero .icon{color:var(--black)}.recovery-hero .eyebrow::before{background:var(--black)}
/* Persistent current-state band */
.theme-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:25px;border:1px solid var(--line);border-left:5px solid var(--acid);min-height:62px;background:var(--surface)}.theme-strip-main{padding:10px 16px;display:flex;align-items:center;gap:13px;background:none;text-align:left;min-width:0;flex:1;min-height:58px}.theme-strip-main>span:nth-child(2){min-width:0}.theme-strip-main b{display:block;font-size:12px;letter-spacing:1px}.theme-strip-main small{display:block;font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:520px}.theme-mini-mark{background:var(--acid);color:var(--black);height:34px;width:34px;flex-shrink:0;display:grid;place-content:center}.theme-mode{font:9px var(--mono);letter-spacing:.7px;border:1px solid var(--line);padding:4px 7px;white-space:nowrap;color:var(--muted)}.theme-strip-end{display:flex;align-items:center;gap:18px;padding:0 14px}.streak-inline{display:flex;align-items:center;gap:8px;white-space:nowrap}.streak-inline .icon{color:var(--acid);width:15px}.streak-inline b{font:700 23px var(--mono)}.streak-inline small{font-size:9px;color:var(--muted);max-width:64px;white-space:normal;line-height:1.4}.theme-colors{display:flex;align-items:center;padding:9px 0 9px 10px;background:none;min-height:44px;border-left:1px solid var(--line)}.theme-colors i{width:13px;height:22px;display:block;background:var(--acid)}.theme-colors i:nth-child(2){background:var(--secondary)}.theme-colors i:nth-child(3){background:var(--third);margin-right:10px}.theme-colors .icon{width:16px;color:var(--muted)}
/* Original poster-like hero, CSS blocks + procedural dot-field, not a stock asset. */
.state-hero{display:block;min-height:380px;border:1px solid var(--line);background:var(--surface);isolation:isolate;position:relative;overflow:hidden}.state-hero::before{inset:0;background-image:radial-gradient(var(--line) .65px,transparent .9px);background-size:8px 8px;opacity:.8;z-index:-1}.state-hero::after{display:none}.hero-head{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-between;padding:10px 17px;border-bottom:1px solid var(--line);font:8px var(--mono);letter-spacing:1.1px;color:var(--muted);background:var(--bg)}.state-hero .hero-copy{width:60%;padding:25px 29px 46px;min-height:346px;position:relative;z-index:3}.hero-label{font:9px var(--mono);letter-spacing:1px;color:var(--ink);display:flex;align-items:center;gap:8px;max-width:92%}.hero-cross{display:inline-grid;place-items:center;color:var(--black);font-size:20px;background:var(--secondary);width:28px;height:28px;line-height:1}.state-hero h2{font-size:clamp(34px,3.25vw,49px);font-weight:900;line-height:1.23;letter-spacing:-1.7px;margin:20px 0 14px;position:relative}.state-hero h2 em{font-style:normal;color:var(--acid)}.state-hero .hero-copy p{font-size:12px;color:var(--muted);max-width:290px;line-height:1.8}.state-hero .hero-copy .btn{margin-top:23px;padding:12px 18px;min-width:185px;box-shadow:4px 4px 0 var(--secondary)}.hero-footnote{font:8px var(--mono);letter-spacing:.8px;margin-top:20px;color:var(--subtle)}.hero-art{position:absolute;right:0;top:34px;bottom:28px;width:45%;overflow:hidden;z-index:1}.art-primary{position:absolute;inset:20px 0 28px 3px;background:var(--acid);clip-path:polygon(17% 0,100% 0,100% 100%,0 100%,0 19%)}.art-secondary{position:absolute;left:0;bottom:0;width:58%;height:78px;background:var(--secondary);transform:skewY(-11deg);transform-origin:bottom right}.art-checker{position:absolute;right:-12px;top:0;width:48%;height:52px;background:conic-gradient(var(--black) 90deg,var(--secondary) 90deg 180deg,var(--black) 180deg 270deg,var(--secondary) 270deg) 0 0/18px 18px;transform:rotate(6deg);z-index:2}.art-orbit{position:absolute;inset:34px 19px 45px;border:1px solid #1115;border-radius:50%;transform:rotate(-18deg) scaleX(1.07)}.hero-art canvas{position:absolute;inset:26px 12px 30px 18px;width:calc(100% - 30px);height:calc(100% - 56px);mix-blend-mode:multiply;z-index:2}.art-coordinate{position:absolute;left:7px;top:65px;writing-mode:vertical-rl;font:8px var(--mono);letter-spacing:1px;z-index:3;color:var(--black)}.art-sticker{position:absolute;top:46%;left:-2px;transform:rotate(-90deg) translateX(-50%);transform-origin:top left;background:var(--third);color:var(--black);padding:6px 8px;z-index:3;border:1px solid var(--black);display:flex;gap:8px;align-items:center}.art-sticker b{font:700 11px var(--mono)}.art-sticker i{font:7px var(--mono);font-style:normal}.art-word{position:absolute;right:-5px;bottom:20px;z-index:3;font:950 clamp(29px,3.6vw,53px)/.95 var(--display);letter-spacing:-3px;color:var(--black);text-shadow:2px 2px 0 var(--third);white-space:nowrap;transform:rotate(-4deg)}.art-barcode{position:absolute;right:10px;bottom:3px;width:94px;height:11px;background:repeating-linear-gradient(90deg,var(--ink) 0 1px,transparent 1px 3px,var(--ink) 3px 6px,transparent 6px 7px,var(--ink) 7px 8px,transparent 8px 12px);opacity:.8}.hero-bottom{position:absolute;bottom:0;left:0;right:0;padding:8px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);background:var(--bg);font:8px var(--mono);letter-spacing:1px;z-index:4;color:var(--muted)}.theme-preview-label{display:none;color:var(--acid);letter-spacing:0}.theme-preview-label::before{content:'● ';font-size:7px}[data-theme-preview="true"] .theme-preview-label{display:inline}.state-hero .hero-head span:last-child{opacity:.7}
/* State-specific graphic grammar — more than a hue change. */
[data-theme="ember"] .art-primary{inset:13px 0 10px;clip-path:polygon(16% 0,100% 0,100% 100%,0 100%,0 15%)}[data-theme="ember"] .art-checker{background:repeating-linear-gradient(-65deg,var(--black) 0 6px,var(--secondary) 6px 17px);height:38px;transform:rotate(0)}[data-theme="ember"] .art-orbit{border-radius:0;transform:rotate(-10deg) scaleX(.7);border-top:0}[data-theme="ember"] .hero-art canvas{mix-blend-mode:normal}[data-theme="ember"] .art-word{transform:rotate(0);bottom:9px;text-shadow:3px 3px 0 var(--secondary)}[data-theme="ember"] .hero-cross{transform:rotate(45deg)}
[data-theme="tide"] .art-primary{clip-path:polygon(0 7%,100% 0,100% 90%,0 100%);inset:10px 0 6px}[data-theme="tide"] .art-secondary{height:94px;width:100%;transform:none;clip-path:polygon(0 35%,100% 0,100% 100%,0 100%)}[data-theme="tide"] .art-checker{height:28px;background:repeating-linear-gradient(0deg,var(--secondary) 0 3px,transparent 3px 6px);transform:none}[data-theme="tide"] .art-orbit{border-radius:0;transform:rotate(-13deg) scaleY(.6);border-left:0;border-right:0}[data-theme="tide"] .art-word{font-style:italic;font-size:42px;bottom:22px}
[data-theme="kinetic"] .art-primary{clip-path:polygon(25% 0,100% 0,100% 100%,0 100%);inset:16px -2px 10px}[data-theme="kinetic"] .art-secondary{width:100%;height:88px;transform:skewY(12deg);bottom:21%}[data-theme="kinetic"] .art-orbit{border-radius:0;transform:rotate(-18deg);border-width:2px}[data-theme="kinetic"] .art-word{transform:rotate(10deg);text-shadow:4px -3px 0 var(--secondary)}[data-theme="kinetic"] .hero-cross{transform:rotate(20deg)}
[data-theme="interval"] .art-primary{border-radius:50%;clip-path:none;inset:13px -30px 13px 5px}[data-theme="interval"] .art-secondary{height:28%;width:45%;bottom:32px;transform:rotate(20deg)}[data-theme="interval"] .art-checker{width:80%;height:25px;transform:rotate(-12deg);top:8px;background:repeating-linear-gradient(90deg,var(--secondary) 0 2px,transparent 2px 6px)}[data-theme="interval"] .art-word{transform:rotate(0);font-size:40px;bottom:23px}
[data-theme="bloom"] .art-primary{clip-path:polygon(50% 0,58% 19%,80% 4%,78% 27%,100% 24%,86% 44%,100% 60%,77% 65%,82% 90%,59% 80%,50% 100%,39% 80%,13% 92%,19% 65%,0 59%,16% 43%,0 22%,25% 27%,22% 3%,42% 19%);inset:12px -16px 16px -8px}[data-theme="bloom"] .art-checker{background:var(--secondary);width:72px;height:72px;clip-path:polygon(40% 0,60% 0,60% 40%,100% 40%,100% 60%,60% 60%,60% 100%,40% 100%,40% 60%,0 60%,0 40%,40% 40%);transform:rotate(13deg);right:8px}[data-theme="bloom"] .art-word{font-size:50px;transform:rotate(-8deg);text-shadow:3px 3px 0 var(--secondary)}
[data-theme="streak"] .art-primary{clip-path:none;inset:12px 0 12px 4px}[data-theme="streak"] .art-checker{width:100%;height:90px;transform:rotate(-10deg);top:-19px;background-size:30px 30px}[data-theme="streak"] .art-secondary{height:70px;width:100%;transform:rotate(6deg);bottom:8px}[data-theme="streak"] .art-orbit{border:3px dashed var(--black);inset:60px 45px 65px;transform:rotate(20deg)}[data-theme="streak"] .art-word{transform:rotate(3deg)}
[data-theme="eclipse"] .art-primary{clip-path:none;border-radius:50%;inset:18px -35px 35px -3px}[data-theme="eclipse"] .art-secondary{height:70%;width:50%;border-radius:50%;bottom:40px;right:0;left:auto;transform:rotate(-18deg)}[data-theme="eclipse"] .art-orbit{inset:80px -60px;border:2px solid var(--third);z-index:3;transform:rotate(-28deg)}[data-theme="eclipse"] .art-checker{height:40px;width:55%;background:repeating-linear-gradient(90deg,var(--secondary) 0 3px,var(--black) 3px 6px);transform:rotate(-7deg)}[data-theme="eclipse"] .art-word{font-size:38px;transform:rotate(-6deg)}
/* High contrast blocks; text is always ink-on-light, never inverted data semantics. */
.metrics-strip{border:0;gap:3px;background:var(--bg)}.metric{border:1px solid var(--line);padding:20px;background:var(--surface)}.metrics-strip .metric:first-child{background:var(--acid);border-color:var(--acid)}.metrics-strip .metric:nth-child(3){background:var(--secondary);border-color:var(--secondary)}.metrics-strip .metric:first-child :is(.stat-label,.stat-value,.stat-value small,.stat-foot),.metrics-strip .metric:nth-child(3) :is(.stat-label,.stat-value,.stat-value small,.stat-foot){color:var(--black)}.metrics-strip .stat-value{font-size:36px;font-weight:700;letter-spacing:-2px}.metrics-strip .stat-label{font-weight:600}.metrics-strip .stat-foot{opacity:.8}.signal-card{background:var(--secondary);color:var(--black);border:0;position:relative;overflow:hidden}.signal-card .eyebrow,.signal-card p,.signal-card .text-link,.signal-bottom{color:var(--black)}.signal-card .eyebrow::before{background:var(--black)}.signal-card h3{font-size:23px;font-weight:850;letter-spacing:-.7px}.signal-bottom{border-top-color:#1115}.signal-card .arrow-orbit{background:var(--black);color:var(--secondary);border:0;border-radius:0;transform:rotate(-10deg)}.signal-card::after{content:'';position:absolute;right:0;bottom:0;width:22px;height:22px;background:var(--bg);clip-path:polygon(100% 0,100% 100%,0 100%)}.theme-status-card{border:1px solid var(--line);padding:18px 20px;background:var(--surface)}.theme-status-card .eyebrow{font-size:9px;letter-spacing:1px}.theme-status-card .text-link{font-size:11px}.theme-status-main{display:flex;gap:17px;align-items:center;margin:8px 0 16px}.streak-big{font:950 54px/.95 var(--display);letter-spacing:-3px;color:var(--acid)}.streak-big i{font:11px var(--mono);letter-spacing:0;margin-left:3px}.theme-status-main strong{font-size:13px}.theme-status-main p{font-size:10px;color:var(--muted);line-height:1.7;margin-top:5px}.record-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.record-strip>span{display:grid;text-align:center;background:var(--bg);border:1px solid var(--line);padding:2px}.record-strip i{font-style:normal;font:17px var(--mono);color:var(--subtle)}.record-strip small{font:8px var(--mono);color:var(--subtle);margin:3px 0}.record-strip .recorded{background:var(--acid);border-color:var(--acid)}.record-strip .recorded i,.record-strip .recorded small{color:var(--black)}.appearance-preview{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:17px}.appearance-preview h2{font-size:27px;color:var(--acid);margin:14px 0 6px}.appearance-preview p{font-size:12px;color:var(--muted)}.appearance-colors{display:flex;transform:rotate(-8deg)}.appearance-colors i{width:30px;height:75px;background:var(--acid)}.appearance-colors i:nth-child(2){background:var(--secondary)}.appearance-colors i:nth-child(3){background:var(--third)}
/* Theme studio */
.theme-lab{display:grid;gap:22px}.theme-lab-cover{background:var(--acid);color:var(--black);position:relative;min-height:218px;overflow:hidden;display:flex}.theme-lab-cover>div:first-child{padding:22px 24px;width:65%;position:relative;z-index:2}.lab-kicker{font:9px var(--mono);letter-spacing:1.3px}.theme-lab-cover h3{font-size:29px;font-weight:900;letter-spacing:-1px;margin:15px 0 10px}.theme-lab-cover em{font-style:normal;background:var(--black);color:var(--acid);padding:0 4px}.theme-lab-cover p{font-size:10px}.lab-current{display:inline-block;border:1px solid #1119;font:10px var(--mono);padding:3px 6px;margin-top:15px}.lab-art{position:absolute;right:0;top:0;bottom:0;width:36%;background:var(--secondary);clip-path:polygon(20% 0,100% 0,100% 100%,0 100%)}.lab-art canvas{width:100%;height:100%;position:absolute;inset:0;opacity:.72}.lab-art>span{font:900 70px/.8 var(--display);color:var(--black);position:absolute;right:16px;bottom:14px;letter-spacing:-5px}.lab-art i{font:8px var(--mono);letter-spacing:1.2px;font-style:normal}.auto-theme-option{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:13px;color:var(--ink);margin:0;cursor:pointer;min-height:63px}.auto-theme-option:has(input:checked){border-color:var(--acid);background:var(--wash)}.auto-theme-option input{width:20px;height:20px;min-height:20px;accent-color:var(--acid);flex-shrink:0}.auto-theme-option>span{flex:1}.auto-theme-option strong{font-size:13px;display:block}.auto-theme-option small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.auto-theme-option .icon{color:var(--acid)}.theme-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;border:0;margin:0;min-width:0}.theme-picker legend{font-size:12px;color:var(--muted);margin-bottom:10px}.theme-choice{border:1px solid var(--line);margin:0;display:block;cursor:pointer;position:relative;min-width:0}.theme-choice:has(input:checked){border-color:var(--tile-accent);outline:2px solid var(--tile-accent);outline-offset:2px}.theme-choice:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:3px}.theme-choice-art{display:block;position:relative;height:74px;background:var(--tile-accent);overflow:hidden}.theme-choice-art>i{position:absolute;inset:7px 25%;background-image:radial-gradient(var(--black) 1.4px,transparent 1.8px);background-size:5px 5px;transform:rotate(-12deg);border-radius:50%}.theme-choice-art>b{position:absolute;left:7px;top:5px;font:900 23px var(--display);letter-spacing:-1px;color:var(--black)}.theme-choice-art>em{position:absolute;bottom:-6px;right:-6px;width:40%;height:25px;background:var(--tile-secondary);transform:rotate(-12deg)}.theme-choice-label{display:block;padding:9px 8px}.theme-choice-label strong{display:block;font-size:12px;color:var(--ink)}.theme-choice-label small{font-size:9px;color:var(--muted);line-height:1.5;display:block;margin-top:4px;min-height:27px}.motif-flame>i{border-radius:0;clip-path:polygon(10% 100%,0 60%,35% 66%,30% 0,55% 40%,78% 10%,100% 100%);transform:none}.motif-wave>i{border-radius:0;inset:17px 10%;transform:skewY(-12deg);background-size:6px 5px}.motif-shift>i{border-radius:0;inset:0 20%;transform:skewX(-25deg);background-size:7px 7px}.motif-orbit>i{border:2px solid var(--black);border-radius:50%;inset:7px 30%;background:none}.motif-orbit>i::after{content:'';position:absolute;inset:7px;border:1px solid var(--black);border-radius:50%}.motif-burst>i{border-radius:0;clip-path:polygon(50% 0,60% 25%,86% 6%,75% 36%,100% 50%,75% 60%,86% 95%,59% 75%,50% 100%,40% 75%,10% 94%,25% 59%,0 50%,25% 40%,7% 8%,40% 25%)}.motif-resonate>i{border-radius:0;inset:0 20%;transform:rotate(14deg);background:conic-gradient(var(--black) 90deg,var(--tile-secondary) 90deg 180deg,var(--black) 180deg 270deg,var(--tile-secondary) 270deg) 0 0/18px 18px}.motif-eclipse>i{box-shadow:10px -5px 0 var(--tile-secondary);transform:rotate(20deg)}.custom-date-settings summary{display:flex;justify-content:space-between}.custom-events{display:grid;gap:7px;margin-bottom:16px}.custom-event{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:8px}.custom-event>i{height:34px;width:6px}.custom-event>span{flex:1;min-width:0}.custom-event strong{display:block;font-size:12px;overflow-wrap:anywhere}.custom-event small{display:block;font-size:10px;color:var(--muted)}.custom-event .btn-icon{width:36px;height:36px}.event-repeat{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:22px}.lab-rules p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:12px}.lab-controls select{font-size:12px}#celebration{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);z-index:500;max-width:calc(100% - 28px);background:var(--secondary);color:var(--black);padding:15px 20px;border:1px solid var(--black);box-shadow:5px 5px 0 var(--acid);font-size:13px;pointer-events:none}#celebration[hidden]{display:none}
/* Low-frequency mechanical drift, no rapid flashing. Content itself never shakes. */
[data-motion="full"] .art-checker{animation:mechanical-drift 12s steps(2,end) infinite}[data-motion="full"][data-theme="interval"] .art-orbit{animation:orbital-breathe 7s ease-in-out infinite}[data-motion="full"][data-theme="kinetic"] .art-word{animation:print-offset 10s steps(1,end) infinite}[data-motion="full"][data-theme="eclipse"] .art-orbit{animation:planet-orbit 24s ease-in-out infinite}
@keyframes mechanical-drift{0%,70%,100%{translate:0 0}74%,78%{translate:-3px 2px}82%,86%{translate:2px -1px}}@keyframes orbital-breathe{0%,100%{scale:.93;opacity:.4}50%{scale:1.03;opacity:1}}@keyframes print-offset{0%,73%,100%{translate:0 0}74%,80%{translate:-3px 0}81%,87%{translate:2px 0}}@keyframes planet-orbit{0%,100%{rotate:0deg}50%{rotate:12deg}}
[data-motion="off"] *,[data-motion="off"] *::before,[data-motion="off"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1180px){.theme-mode{display:none}.theme-strip-main small{max-width:340px}.state-hero h2{font-size:37px}.state-hero .hero-copy{padding:25px 23px 45px}.hero-label{font-size:8px}.hero-footnote{font-size:7px}.art-word{font-size:39px}.metrics-strip .stat-value{font-size:31px}.hero-head{font-size:7px;letter-spacing:.5px}.theme-status-card{padding:16px}.theme-status-main{gap:13px}.streak-big{font-size:47px}.signal-card h3{font-size:22px}}
@media(min-width:641px) and (max-width:1024px){.state-hero .hero-copy{width:57%;padding:30px 28px 50px}.state-hero h2{font-size:45px}.state-hero .hero-copy p{max-width:260px}.hero-art{width:43%}.home-side{grid-template-columns:1fr 1fr}.home-side>.notice{grid-column:1/-1}.theme-status-card{align-self:stretch}.theme-strip-main small{max-width:310px}.art-word{font-size:44px}}
@media(max-width:640px){.brand-name{font-size:24px}.top-actions{gap:8px}.top-actions .theme-header-button{width:35px;height:36px}.top-actions .connection{display:none}.theme-strip{min-height:58px;margin-bottom:20px;gap:0;border-left-width:4px}.theme-strip-main{padding:8px 10px;gap:9px;min-height:56px}.theme-mini-mark{width:28px;height:30px}.theme-mini-mark .icon{width:17px}.theme-strip-main b{font-size:11px;letter-spacing:.4px}.theme-strip-main small{font-size:9px;max-width:165px}.theme-strip-end{padding:0 10px;gap:8px}.streak-inline{gap:4px}.streak-inline .icon{display:none}.streak-inline b{font-size:23px}.streak-inline small{font-size:8px;width:30px}.theme-colors{display:none}.state-hero{min-height:355px}.state-hero .hero-copy{width:67%;padding:24px 20px 42px;min-height:324px}.state-hero h2{font-size:35px;letter-spacing:-1.7px;margin:20px 0 14px}.state-hero .hero-copy p{font-size:11px;max-width:182px}.state-hero .hero-copy .btn{min-width:160px;min-height:44px;font-size:11px;padding:9px 12px;margin-top:20px}.hero-label{font-size:7px;letter-spacing:.3px;gap:5px}.hero-cross{width:22px;height:22px;font-size:17px}.hero-art{width:39%;top:33px;bottom:28px}.hero-art canvas{left:3px;right:0;top:40px;bottom:60px;width:calc(100% - 3px);height:calc(100% - 100px)}.art-primary{inset:20px 0 28px 0}.art-sticker{display:none}.art-coordinate{font-size:6px;left:4px;top:77px}.art-checker{width:75%;height:30px;background-size:13px 13px}.art-secondary{height:105px;width:100%}.art-word{font-size:25px;letter-spacing:-1.8px;right:0;bottom:47px;transform:rotate(-90deg) translateX(100%);transform-origin:bottom right}.hero-head{font-size:6px;padding:10px 12px;letter-spacing:.4px}.hero-head span:last-child{max-width:100px;text-align:right}.hero-footnote{font-size:6px;letter-spacing:.5px;margin-top:18px}.hero-bottom{font-size:7px;padding:8px 12px;letter-spacing:.3px}.theme-preview-label{font-size:7px}.art-barcode{width:65px;right:5px}.art-orbit{inset:40px 5px 70px}.metrics-strip .metric{padding:16px 10px}.metrics-strip .stat-value{font-size:28px;letter-spacing:-1.6px}.metrics-strip .stat-label{font-size:10px}.metrics-strip .stat-foot{font-size:9px}.signal-card h3{font-size:24px}.theme-status-main{gap:20px}.streak-big{font-size:60px}.theme-status-main strong{font-size:14px}.theme-status-main p{font-size:11px}.theme-status-card{padding:18px}.record-strip small{font-size:9px}.theme-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.theme-choice-art{height:78px}.theme-choice-label small{min-height:0}.theme-lab{gap:18px}.theme-lab-cover>div:first-child{padding:20px 16px;width:72%}.theme-lab-cover h3{font-size:23px}.theme-lab-cover p{max-width:170px}.lab-kicker{font-size:7px;letter-spacing:.6px}.lab-art{width:30%}.lab-art>span{font-size:47px;letter-spacing:-2px;right:7px}.lab-art i{font-size:6px;letter-spacing:.3px}.auto-theme-option{padding:11px}.auto-theme-option small{font-size:9px}.auto-theme-option .icon{display:none}.theme-lab .grid2{grid-template-columns:1fr}.event-repeat{padding-top:0}.lab-controls{gap:15px}.appearance-colors i{width:18px;height:58px}.appearance-preview .eyebrow{font-size:8px;letter-spacing:.5px}.appearance-preview h2{font-size:25px}.appearance-preview p{font-size:10px}#celebration{bottom:calc(85px + env(safe-area-inset-bottom));font-size:11px;padding:12px 15px;max-width:calc(100% - 32px);width:max-content}.appearance-settings .panel-head h3{font-size:13px}.appearance-settings .tag{font-size:8px}
[data-theme="tide"] .art-word,[data-theme="interval"] .art-word,[data-theme="eclipse"] .art-word{font-size:25px;transform:rotate(-90deg) translateX(100%);bottom:52px}[data-theme="kinetic"] .art-word{font-size:26px;transform:rotate(-90deg) translateX(100%);bottom:50px}[data-theme="bloom"] .art-word{font-size:33px;transform:rotate(-90deg) translateX(100%);bottom:50px}[data-theme="ember"] .art-word,[data-theme="streak"] .art-word{transform:rotate(-90deg) translateX(100%);bottom:45px}[data-theme="tide"] .art-secondary{height:75px}[data-theme="eclipse"] .art-orbit{inset:70px -20px 65px}[data-theme="interval"] .art-primary{inset:30px -30px 50px 0}[data-theme="bloom"] .art-checker{width:45px;height:45px}[data-theme="streak"] .art-orbit{inset:85px 10px 90px}}
@media(max-width:360px){.theme-strip-main small{max-width:132px}.state-hero h2{font-size:31px}.state-hero .hero-copy{padding:24px 16px 40px}.state-hero .hero-copy p{max-width:162px}.state-hero .hero-copy .btn{min-width:144px}.hero-label{font-size:6px}.metrics-strip .stat-value{font-size:25px}.hero-cross{width:19px}.theme-lab-cover h3{font-size:21px}}

/* A small state field in the training illustration; the instructional SVG stays above it. */
.exercise-theme-graphic{position:absolute;right:0;top:0;bottom:0;width:26%;background:var(--acid);opacity:.75;clip-path:polygon(35% 0,100% 0,100% 100%,0 100%);pointer-events:none}.exercise-theme-graphic canvas{width:100%;height:100%}.exercise-stage>svg{position:relative;z-index:1}.exercise-stage .stage-axis,.exercise-stage .stage-label{z-index:2;background:var(--surface);padding:3px 5px}.set-table .set-row.done{background:var(--wash)}.fuel-hero{background:var(--wash);border-color:var(--line)}.prep-callout{background:var(--secondary);color:var(--black);border-color:var(--secondary)}.prep-callout h3,.prep-callout p,.prep-callout .eyebrow,.prep-callout .text-link{color:var(--black)}.prep-callout .eyebrow::before{background:var(--black)}.prep-callout .prep-number{color:#1112}
@media(max-width:640px){.streak-inline small{width:38px;flex-shrink:0}.exercise-theme-graphic{width:23%;opacity:.65}}
