.japan-routine{--jh-paper:var(--paper);--jh-ink:var(--ink);--jh-muted:var(--muted);--jh-card:var(--card);--jh-inset:var(--card2);--jh-rust:#A5451F;--jh-accent:var(--accent-bg);--jh-line:var(--line-soft);--jh-green:var(--done);--jh-green-bg:var(--done-bg);font-family:'Instrument Sans',system-ui,sans-serif;color:var(--ink);width:100%;font-size:14px;line-height:1.5;}
.japan-routine *{box-sizing:border-box}
.japan-routine [hidden]{display:none!important}
.japan-routine button,.japan-routine input{font:inherit}
.japan-routine button{cursor:pointer}
.japan-routine p,.japan-routine h1,.japan-routine h2,.japan-routine h3{margin:0}
.japan-routine .jh-mono{font-family:'IBM Plex Mono',monospace;font-variant-numeric:tabular-nums}
.japan-routine .jh-eyebrow{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--jh-muted);margin-bottom:4px}
.japan-routine .jh-workout{background:var(--jh-card);border:1px solid var(--jh-line);border-radius:18px;overflow:hidden;box-shadow:0 4px 16px light-dark(rgba(60,45,30,.08),rgba(0,0,0,.12))}
.japan-routine .jh-cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 16px 13px;border-bottom:1px solid var(--jh-line)}
.japan-routine h2{font-family:'Source Serif 4',Georgia,serif;font-size:21px;font-weight:700;line-height:1.2}
.japan-routine .jh-tag{background:var(--jh-accent);color:var(--jh-ink);font-family:'IBM Plex Mono',monospace;font-size:11px;padding:5px 9px;border-radius:9px;white-space:nowrap}
.japan-routine .jh-intro{padding:13px 16px;border-bottom:1px solid var(--jh-line)}
.japan-routine .jh-traits{display:flex;gap:12px;flex-wrap:wrap;color:var(--jh-muted);font-size:12px;margin-bottom:8px}
.japan-routine .jh-traits span{display:inline-flex;gap:5px;align-items:center}
.japan-routine .jh-traits svg{width:14px;height:14px}
.japan-routine .jh-intro p{font-size:13px}
.japan-routine .jh-start{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;background:var(--jh-rust);color:var(--jh-card);border:0;border-radius:12px;padding:12px 16px;font-weight:600;min-height:46px;margin-top:13px}
.japan-routine .jh-start svg{width:16px;height:16px}
.japan-routine .jh-phase{border-bottom:1px solid var(--jh-line)}
.japan-routine summary{cursor:pointer;list-style:none}
.japan-routine summary::-webkit-details-marker{display:none}
.japan-routine .jh-phase>summary{display:flex;align-items:center;gap:10px;padding:13px 16px;font-weight:600;min-height:52px}
.japan-routine .jh-phase>summary .jh-time{margin-left:auto;color:var(--jh-muted);font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:400}
.japan-routine .jh-phase>summary>svg{color:var(--jh-muted);width:16px;height:16px}
.japan-routine .jh-phasebody{padding:0 16px 14px;font-size:13px}
.japan-routine .jh-timedline{display:grid;grid-template-columns:45px 1fr;gap:10px;padding:6px 0}
.japan-routine .jh-timedline span:first-child{font-family:'IBM Plex Mono',monospace;color:var(--jh-muted);font-size:12px;padding-top:1px}
.japan-routine .jh-circuithead{padding:14px 16px 11px;background:var(--jh-inset)}
.japan-routine .jh-circuitlabel{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600}
.japan-routine .jh-circuitlabel>span:last-child{font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:400;color:var(--jh-muted)}
.japan-routine .jh-circuithead p{font-size:12px;color:var(--jh-muted);margin-top:5px}
.japan-routine .jh-ex{border-bottom:1px solid var(--jh-line)}
.japan-routine .jh-exsummary{display:grid;grid-template-columns:22px minmax(0,1fr) 78px 17px;gap:9px;align-items:center;padding:12px 16px;min-height:68px}
.japan-routine .jh-order{font-family:'IBM Plex Mono',monospace;font-size:11px;color:var(--jh-muted)}
.japan-routine .jh-exname{font-weight:500;font-size:14px;line-height:1.35}
.japan-routine .jh-exname small{display:block;font-size:11px;font-weight:400;color:var(--jh-muted);margin-top:3px}
.japan-routine .jh-rx{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:44px;background:var(--jh-inset);border:1px solid var(--jh-line);border-radius:9px;font-family:'IBM Plex Mono',monospace;font-size:12px;line-height:1.35;white-space:nowrap}
.japan-routine .jh-rx small{font-size:10px;color:var(--jh-muted)}
.japan-routine .jh-exsummary>svg{width:16px;height:16px;color:var(--jh-muted)}
.japan-routine .jh-detail{padding:0 16px 15px 47px;font-size:13px}
.japan-routine .jh-detail ol,.japan-routine .jh-sessionsteps{padding-left:18px;margin:3px 0 10px}
.japan-routine .jh-detail li,.japan-routine .jh-sessionsteps li{margin-bottom:6px;padding-left:2px}
.japan-routine .jh-cue{color:var(--jh-muted);margin-bottom:12px!important}
.japan-routine .jh-checks{display:flex;gap:10px;flex-wrap:wrap}
.japan-routine .jh-check{display:flex;gap:8px;align-items:center;border:1px solid var(--jh-line);background:var(--jh-inset);padding:9px 12px;border-radius:9px;cursor:pointer;min-height:44px;font-size:12px}
.japan-routine .jh-check input{accent-color:var(--jh-green);width:17px;height:17px;margin:0}
.japan-routine .jh-variant{display:block;font-size:12px;color:var(--jh-muted);margin-bottom:13px}
.japan-routine .jh-variant select{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid var(--jh-line);border-radius:9px;background:var(--jh-inset);color:var(--jh-ink);font-family:inherit;font-size:16px;min-height:44px}
.japan-routine .jh-check:has(input:checked){background:var(--jh-green-bg);color:var(--jh-green)}
.japan-routine .jh-meter{display:flex;gap:12px;align-items:center;padding:13px 16px}
.japan-routine .jh-track{height:6px;flex:1;background:var(--jh-inset);border-radius:5px;overflow:hidden}
.japan-routine .jh-fill{height:100%;width:0;background:var(--jh-green);transition:width .15s}
.japan-routine .jh-metertext{color:var(--jh-muted);font-size:11px;font-family:'IBM Plex Mono',monospace}
.japan-routine .jh-footnote{color:var(--jh-muted);font-size:12px;margin:12px 3px 2px}
.japan-routine .jh-back{display:flex;align-items:center;gap:6px;background:none;border:0;padding:8px 0;min-height:44px;color:var(--jh-rust);font-size:13px;margin-bottom:8px}
.japan-routine .jh-sessionbody{padding:18px 16px}
.japan-routine .jh-sessionbody h2{font-size:26px;margin:6px 0 10px}
.japan-routine .jh-clock{font-family:'IBM Plex Mono',monospace;font-size:56px;line-height:1.2;text-align:center;letter-spacing:-.05em;margin:20px 0 2px;font-variant-numeric:tabular-nums}
.japan-routine .jh-clocklabel{text-align:center;color:var(--jh-muted);font-size:12px;margin-bottom:18px}
.japan-routine .jh-sessionrx{font-family:'IBM Plex Mono',monospace;color:var(--jh-rust);font-size:14px;margin:4px 0 16px}
.japan-routine .jh-sessionsteps{font-size:14px;margin-bottom:16px}
.japan-routine .jh-upnext{border-top:1px solid var(--jh-line);padding-top:12px;color:var(--jh-muted);font-size:12px;margin-top:17px!important}
.japan-routine .jh-sessionbuttons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}
.japan-routine .jh-secondary{border:1px solid var(--jh-line);border-radius:11px;min-height:46px;padding:11px;background:var(--jh-inset);color:var(--jh-ink);font-weight:500}
.japan-routine .jh-sessionbuttons .jh-start{margin:0}
@media(max-width:380px){.japan-routine .jh-cardhead{padding:14px 12px}.japan-routine h2{font-size:20px}.japan-routine .jh-exsummary{grid-template-columns:18px minmax(0,1fr) 71px 16px;gap:6px;padding-left:12px;padding-right:12px}.japan-routine .jh-detail{padding-left:36px;padding-right:12px}.japan-routine .jh-exname{font-size:13px}.japan-routine .jh-tag{padding:5px 7px}}

.japan-routine .jh-preview-note{padding:10px 16px;background:var(--accent-bg);font-size:12px;color:var(--ink)}
.japan-routine summary::after{content:'⌄';color:var(--dim);font-size:16px;text-align:center}
.japan-routine details[open]>summary::after{content:'⌃'}
.japan-routine button:disabled,.japan-routine input:disabled,.japan-routine select:disabled{cursor:default;opacity:.65}
.japan-routine :focus-visible{outline:2px solid var(--selvedge);outline-offset:3px}
.japan-option{margin-top:14px;padding:15px 16px;background:var(--card);border:1px solid var(--line-soft);border-radius:18px}
.japan-option h3{font:700 20px 'Source Serif 4',Georgia,serif;margin:0 0 7px}
.japan-option p{font-size:13px;color:var(--muted);margin-bottom:12px}
.japan-option button{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--card2);color:var(--ink);font:600 14px 'Instrument Sans',sans-serif;cursor:pointer}
.japan-routine .jh-start,.japan-routine .jh-start:disabled{color:#FDFBF6}
.japan-routine .jh-logset{width:100%;margin-top:10px}
.japan-routine .jh-detail li{display:list-item;list-style:decimal;border:0}
