:root{--bg:#0f1115;--card:#1a1d23;--surface:#262a32;--line:#262a32;--text:#f2f2f2;--muted:#8a8f99;--accent:#c6ff3d;--on-accent:#111;--tip-bg:#1f2a12;--tip-line:#3f5a14;--danger:#ff6b6b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,sans-serif;font-size:15px}#app{flex-direction:column;min-height:100dvh;display:flex}.screen{padding:calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 84px);flex-direction:column;flex:1;gap:12px;width:100%;max-width:560px;margin:0 auto;display:flex}h1,.h1{margin:0;font-size:26px;font-weight:700}h2{margin:0;font-size:19px;font-weight:700}.muted{color:var(--muted);font-size:13px}.accent{color:var(--accent)}.big{font-size:26px;font-weight:700}.row{justify-content:space-between;align-items:center;gap:8px;display:flex}.stack{flex-direction:column;gap:8px;display:flex}.card{background:var(--card);border-radius:14px;padding:14px}.tip{background:var(--tip-bg);border:1px solid var(--tip-line);border-radius:12px;padding:11px 13px}.banner{background:var(--tip-bg);border-radius:12px;padding:10px 13px}button{font:inherit;color:inherit;cursor:pointer}.btn,.btn2{text-align:center;border:0;border-radius:14px;width:100%;padding:14px;font-weight:700}.btn{background:var(--accent);color:var(--on-accent)}.btn2{background:var(--surface);color:var(--text);font-weight:600}.btn:disabled,.btn2:disabled{opacity:.45;cursor:default}.link{color:var(--muted);background:0 0;border:0;padding:6px 0;text-decoration:underline}.icon-btn{background:var(--surface);border:0;border-radius:50%;width:38px;height:38px;font-size:18px}.danger{color:var(--danger)}label.field{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;display:flex}input,select{font:inherit;color:var(--text);background:var(--surface);border:1px solid #0000;border-radius:12px;width:100%;padding:12px;font-size:16px}input:focus,select:focus{border-color:var(--accent);outline:none}input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0}.check-line{color:var(--text);align-items:flex-start;gap:10px;font-size:13px;display:flex}.grid2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.error{color:var(--danger);font-size:13px}.segmented{background:var(--surface);border-radius:12px;padding:3px;display:flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:10px;flex:1;padding:9px;font-weight:600}.segmented button[aria-selected=true]{background:var(--card);color:var(--text)}.tabbar{-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:8px 0 calc(env(safe-area-inset-bottom) + 8px);z-index:10;background:#0f1115f0;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar button{color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;min-width:64px;font-size:11px;display:flex}.tabbar button svg{width:22px;height:22px}.tabbar button[aria-selected=true]{color:var(--accent);font-weight:600}.sheet{background:var(--bg);z-index:20;position:fixed;inset:0;overflow-y:auto}.bar{background:#2a2e36;border-radius:4px;height:7px;margin-top:6px;overflow:hidden}.bar>div{background:var(--accent);border-radius:4px;height:100%}.stepper{align-items:stretch;gap:6px;display:flex}.stepper button{background:var(--surface);border:0;border-radius:12px;flex-shrink:0;width:44px;font-size:20px}.stepper input{text-align:center;min-width:0;padding:10px 4px}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{background:var(--surface);border:0;border-radius:20px;padding:7px 13px;font-size:13px}.chip.sel{background:var(--accent);color:var(--on-accent);font-weight:600}.set-done{color:var(--muted);border-bottom:1px solid var(--line);padding:4px 0}.ex-image{aspect-ratio:16/10;background:#fff;border-radius:14px;position:relative;overflow:hidden}.ex-image img{object-fit:contain;width:100%;height:100%;display:block}.ex-picto{background:var(--card);width:100%;height:100%;color:var(--muted);justify-content:center;align-items:center;font-weight:600;display:flex}.ex-photo-btn{color:var(--text);cursor:pointer;background:#0f1115cc;border-radius:20px;padding:6px 10px;font-size:12px;position:absolute;bottom:8px;right:8px}.dots{gap:5px;margin-top:8px;display:flex}.dots span{background:#2a2e36;border-radius:5px;width:18px;height:18px}.dots span.p{background:#4a5a24}.dots span.f{background:var(--accent)}.meal{border-bottom:1px solid var(--line);cursor:pointer;align-items:flex-start;gap:10px;padding:10px 0;display:flex}.meal:last-child{border-bottom:0}.meal-time{width:42px;color:var(--muted);flex-shrink:0;padding-top:2px;font-size:13px}.meal input[type=checkbox]{border-radius:50%;margin-top:0}.dialog{z-index:30;padding:16px 16px calc(env(safe-area-inset-bottom) + 16px);background:#0009;align-items:flex-end;display:flex;position:fixed;inset:0}.dialog>.card{width:100%;max-width:560px;margin:0 auto}.picker{border-radius:10px;width:auto;padding:6px 10px;font-size:13px}.footer{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:14px;padding:16px 0 4px;font-size:12px;display:flex}.footer a{color:var(--muted)}.add-machine{color:var(--accent);font-weight:600}.days{grid-template-columns:repeat(6,1fr);gap:8px;display:grid}.day{background:var(--surface);border:0;border-radius:12px;padding:16px 0;font-size:20px;font-weight:700}.day.sel{background:var(--accent);color:var(--on-accent)}.machine-group{border:0;flex-direction:column;gap:6px;margin:4px 0;padding:0;display:flex}.machine-group legend{font-size:17px;font-weight:700}.machine-grid{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.machine{background:var(--card);cursor:pointer;border:2px solid #0000;border-radius:12px;flex-direction:column;gap:4px;padding:6px;font-size:12px;display:flex;position:relative}.machine.sel{border-color:var(--accent)}.machine img{aspect-ratio:4/3;object-fit:contain;background:#fff;border-radius:8px;width:100%}.machine input{position:absolute;top:10px;right:10px}.sticky-cta{bottom:calc(env(safe-area-inset-bottom) + 8px);position:sticky}.choice{background:var(--card);border:2px solid var(--surface);text-align:left;border-radius:14px;flex-direction:column;gap:4px;padding:14px;display:flex}.slot-row{border-bottom:1px solid var(--line);flex-direction:column;gap:6px;padding-bottom:8px;display:flex}.slot-name{font-weight:600}.welcome{gap:22px}.hero{text-align:center;flex-direction:column;align-items:center;gap:6px;padding-top:6vh;display:flex}.hero-logo{border-radius:18px;box-shadow:0 8px 30px #c6ff3d40}.hero h1{letter-spacing:-.5px;font-size:40px}.hero-kanji{color:var(--accent);letter-spacing:4px;margin:0;font-size:20px}.hero-tag{color:var(--muted);margin:4px 0 0;line-height:1.5}.features{flex-direction:column;gap:10px;display:flex}.feature{background:var(--card);border-radius:14px;align-items:flex-start;gap:12px;padding:14px;display:flex}.feature-icon{font-size:24px}.feature h3{margin:0 0 2px;font-size:15px}.feature p{margin:0}.google{color:#1f1f1f;background:#fff;justify-content:center;align-items:center;gap:10px;display:flex}.divider{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.divider:before,.divider:after{content:"";background:var(--line);flex:1;height:1px}.install-steps{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.share-icon{border:1px solid var(--muted);border-radius:4px;padding:0 4px;font-size:12px;display:inline-block}html,body{overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea{-webkit-user-select:text;user-select:text}body{font-feature-settings:"tnum";letter-spacing:-.01em}.screen{gap:14px;min-height:100dvh}.large-title{letter-spacing:-.03em;margin:0;font-size:32px;font-weight:800;line-height:1.1}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:600}.card{border-radius:18px;padding:16px}.card-title{font-size:17px;font-weight:700}.grow{flex:1}.center{text-align:center;align-self:center}.accent-text{color:var(--accent)}.section-title{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-top:4px;font-size:13px;font-weight:600}button,.machine,.slot-card{transition:transform .12s,opacity .12s,background-color .15s}button:active:not(:disabled){opacity:.85;transform:scale(.97)}.btn,.btn2{border-radius:14px;min-height:50px;font-size:16px}.icon-btn{width:40px;height:40px;font-size:18px}.text-btn{color:var(--muted);background:0 0;border:0;padding:8px 2px;font-size:16px;font-weight:700}.footer{margin-top:auto;padding-top:18px}.ring{width:60px;height:60px;color:var(--text);flex-shrink:0}.week-days{justify-content:space-between;margin-top:14px;display:flex}.week-day{color:var(--muted);flex-direction:column;align-items:center;gap:5px;font-size:11px;font-weight:600;display:flex}.week-dot{background:var(--surface);border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;font-size:13px;font-weight:800;display:flex}.week-dot.done{background:var(--accent);color:var(--on-accent)}.week-dot.today{box-shadow:0 0 0 2px var(--accent)}.thumbs{gap:8px;display:flex}.thumbs img,.thumb-more{object-fit:contain;background:#fff;border-radius:12px;width:48px;height:48px}.thumb-more{background:var(--surface);color:var(--muted);justify-content:center;align-items:center;font-size:13px;font-weight:700;display:flex}.chips-scroll{scrollbar-width:none;gap:8px;margin:0 -16px;padding:0 16px 2px;display:flex;overflow-x:auto}.chips-scroll::-webkit-scrollbar{display:none}.pill{background:var(--surface);color:var(--text);border:0;border-radius:999px;flex-shrink:0;padding:9px 16px;font-size:14px;font-weight:600}.pill.on{background:var(--text);color:var(--bg)}.slot-list{flex-direction:column;gap:8px;display:flex}.slot-card{background:var(--card);touch-action:pan-y;border-radius:16px;align-items:center;gap:12px;min-height:58px;padding:8px 6px 8px 8px;display:flex}.slot-card.dragging{z-index:5;background:var(--surface);transition:none;position:relative;box-shadow:0 12px 28px #00000080}.slot-img{object-fit:contain;background:#fff;border-radius:11px;flex-shrink:0;width:48px;height:48px}.slot-text{flex:1;min-width:0}.slot-title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:600;overflow:hidden}.slot-more{color:var(--muted);background:0 0;border:0;width:40px;height:44px;font-size:22px}.slot-grip{color:#5d6069;letter-spacing:-3px;touch-action:none;cursor:grab;justify-content:center;align-items:center;width:34px;height:44px;font-size:18px;display:flex}.sheet-backdrop{z-index:40;background:#0000008c;align-items:flex-end;animation:.18s fade;display:flex;position:fixed;inset:0}.sheet-panel{background:var(--card);width:100%;max-width:560px;max-height:88dvh;padding:8px 16px calc(env(safe-area-inset-bottom) + 18px);border-radius:22px 22px 0 0;flex-direction:column;gap:12px;margin:0 auto;animation:.24s cubic-bezier(.2,.9,.3,1) rise;display:flex;overflow-y:auto}.sheet-grabber{background:#3a3d45;border-radius:3px;align-self:center;width:38px;height:5px;margin-bottom:4px}.sheet-body{flex-direction:column;gap:10px;display:flex}@keyframes rise{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}.action-list{background:var(--surface);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.action-list button{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;padding:15px 14px;font-size:16px}.action-list button:last-child{border-bottom:0}.machine-row{background:var(--surface);text-align:left;border:0;border-radius:14px;align-items:center;gap:12px;padding:8px;font-size:15px;font-weight:600;display:flex}.machine-row img{object-fit:contain;background:#fff;border-radius:10px;width:46px;height:46px}.guide-step{align-items:flex-start;gap:12px;display:flex}.guide-num{background:var(--accent);width:28px;height:28px;color:var(--on-accent);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:flex}.workout{padding-bottom:calc(env(safe-area-inset-bottom) + 140px)}.ex-title{letter-spacing:-.02em;font-size:22px}.ex-image{aspect-ratio:auto;height:150px}.sets{border-collapse:separate;border-spacing:0 6px;width:100%;font-size:15px}.sets th{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;padding:0 2px;font-size:11px;font-weight:600}.sets td{text-align:center;padding:6px 2px}.sets tr.current td{background:#c6ff3d14}.sets tr.current td:first-child{border-radius:12px 0 0 12px}.sets tr.current td:last-child{border-radius:0 12px 12px 0}.sets tr.done td{color:var(--muted)}.sets tr.todo td{color:#5d6069}.cell{text-align:center;width:64px;color:var(--accent);background:var(--surface);padding:8px 4px;font-weight:700}.ok{background:var(--surface);width:40px;height:40px;color:var(--text);border:0;border-radius:12px;justify-content:center;align-items:center;font-size:18px;font-weight:800;display:inline-flex}button.ok{background:var(--accent);color:var(--on-accent)}.ok.done{color:var(--accent);background:#c6ff3d40}.feel{flex-direction:column;align-items:center;gap:6px;display:flex}.nav-links{flex-wrap:wrap}.rest-bar{left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom) + 72px);z-index:9;background:var(--surface);border-radius:16px;align-items:center;gap:12px;max-width:536px;margin:0 auto;padding:12px 14px;font-weight:700;display:flex;position:fixed;box-shadow:0 8px 24px #00000073}.rest-bar.done{color:var(--accent);justify-content:center}.rest-progress{background:#3a3d45;border-radius:3px;flex:1;height:6px;overflow:hidden}.rest-progress>div{background:var(--accent);height:100%;transition:width 1s linear}.choice{gap:8px}.badge{background:var(--accent);color:var(--on-accent);letter-spacing:.04em;border-radius:6px;padding:2px 7px;font-size:11px;font-weight:800}.week-grid{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.wd{color:var(--muted);text-align:center;font-size:10px;font-weight:600}.wb{background:var(--surface);color:#fff;border-radius:7px;justify-content:center;align-items:center;height:26px;font-size:10px;font-weight:800;display:flex}.c-up{background:#3b6cff}.c-low{background:var(--accent);color:var(--on-accent)}.c-push{background:#ff7a59}.c-arm{background:#b16cff}.c-full{background:#22b8a0}.ios-mock{background:#1c1c1e;border-radius:16px;flex-direction:column;justify-content:flex-end;min-height:190px;padding:10px;display:flex}.ios-page{color:#555;background:linear-gradient(#17191e,#0b0c0f);border-radius:10px;flex:1;justify-content:center;align-items:center;min-height:110px;margin-bottom:8px;font-size:12px;display:flex}.ios-bar{color:#ddd;background:#2c2c2e;border-radius:14px;align-items:center;gap:8px;padding:9px 12px;font-size:13px;display:flex}.ios-url{text-align:center;flex:1}.ios-menu,.ios-sheet{background:#2c2c2e;border-radius:13px;font-size:14px;overflow:hidden}.ios-menu>div,.ios-sheet>div{border-bottom:1px solid #3a3a3c;padding:11px 13px}.ios-menu>div:last-child,.ios-sheet>div:last-child{border-bottom:0}.ios-apps{gap:10px;display:flex}.ios-apps span{background:#48484a;border-radius:9px;width:34px;height:34px}.ios-switch{background:#34c759;border-radius:11px;width:36px;height:22px;display:inline-block}.ios-add{text-align:center;color:#0a84ff;font-weight:700}.ios-hit{color:var(--accent);border-radius:10px;font-weight:700;animation:1.4s ease-in-out infinite hit}@keyframes hit{50%{box-shadow:inset 0 0 0 2px var(--accent);background:#c6ff3d1f}}.dots{justify-content:center;gap:6px;display:flex}.dots span{background:#3a3d45;border-radius:4px;width:7px;height:7px;transition:width .2s}.dots span.on{background:var(--accent);width:20px}.welcome{padding-top:calc(env(safe-area-inset-top) + 36px)}.brand{align-items:center;gap:12px;display:flex}.brand img{border-radius:12px}.brand-kanji{color:var(--accent);font-size:13px;font-weight:600}.lead{margin:4px 0;font-size:19px;font-weight:500;line-height:1.4}.preview h3{margin:0;font-size:15px}.preview{flex-direction:column;gap:10px;display:flex}.preview-row{align-items:center;gap:12px;display:flex}.preview-row img{object-fit:contain;background:#fff;border-radius:12px;width:52px;height:52px}.preview-name{font-weight:700}.checks{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.checks li{color:var(--text);padding-left:28px;position:relative}.checks li:before{content:"✓";width:20px;height:20px;color:var(--accent);background:#c6ff3d26;border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:flex;position:absolute;left:0}
