/* reyfit.app web timers. Loaded after style.css. */
[hidden]{display:none!important}
.t-page{max-width:760px;margin:0 auto;padding:0 20px}
.t-head{padding:36px 0 20px}
.t-head h1{font-size:clamp(2rem,5.5vw,3rem)}
.t-head .lead{margin-top:12px}
.t-card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:28px;padding:18px;margin:8px 0 8px;overflow:hidden}
.t-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#000;border-radius:16px;padding:4px;margin-bottom:18px}
.t-tabs a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;text-decoration:none;font-weight:600;font-size:.95rem;color:var(--muted)}
.t-tabs a[aria-current="page"]{background:var(--alt);color:var(--text)}
.t-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.t-preset{flex:1 1 0;min-height:44px;border-radius:var(--pill);border:1px solid var(--line2);background:transparent;color:var(--text);font:inherit;font-weight:600;font-size:.95rem;cursor:pointer;white-space:nowrap;padding:0 12px}
.t-preset:active{transform:scale(.97)}
.t-fields{display:grid;gap:10px}
.t-field{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--alt);border-radius:18px;padding:10px 10px 10px 18px}
.t-flabel{font-weight:600}
.t-step{display:flex;align-items:center;gap:6px}
.t-pm{width:52px;height:52px;border-radius:50%;border:0;background:#000;color:var(--text);font-size:1.6rem;line-height:1;cursor:pointer;font-family:inherit}
.t-pm:active{background:var(--line)}
.t-val{min-width:92px;text-align:center;font-size:1.5rem;font-weight:700;font-variant-numeric:tabular-nums}
.t-summary{color:var(--muted);font-size:.92rem;margin:14px 2px 0}
.t-actions{display:flex;gap:10px;margin-top:16px}
.t-actions .btn{flex:1 1 auto}
.t-actions .btn-ghost{flex:0 0 auto}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--line2);font-family:inherit;cursor:pointer}
button.btn{font-family:inherit;cursor:pointer}
/* running */
.t-run{text-align:center;padding:8px 0 4px}
.t-phase{font-size:1rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.t-clock{font-size:clamp(5.5rem,30vw,11rem);font-weight:800;line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:6px 0 4px}
.t-round{font-size:1.25rem;font-weight:600}
.t-total{color:var(--muted);font-size:.95rem;min-height:1.4em;margin-top:4px;font-variant-numeric:tabular-nums}
.t-track{height:6px;border-radius:3px;background:#000;overflow:hidden;margin:18px 0 0}
.t-bar{height:100%;width:100%;background:var(--muted);transform-origin:left;transform:scaleX(0)}
[data-phase="work"] .t-phase,[data-phase="amrap"] .t-phase,[data-phase="fortime"] .t-phase{color:var(--lime)}
[data-phase="work"] .t-bar,[data-phase="amrap"] .t-bar,[data-phase="fortime"] .t-bar{background:var(--lime)}
[data-phase="rest"] .t-phase{color:var(--warm)}
[data-phase="rest"] .t-bar{background:var(--warm)}
.t-clock.is-long{font-size:clamp(4.5rem,22vw,9rem)}
.is-paused .t-clock{opacity:.45}
.t-run-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.t-run-actions .btn{flex:1 1 0}
.t-run-actions .t-small{flex:0 0 72px}
.t-run-actions .t-big{flex:1 1 100%;min-height:72px;font-size:1.25rem}
.t-done h2:focus{outline:none}
.is-running .t-tabs{display:none}
.t-card{scroll-margin-top:76px}
/* done */
.t-done{text-align:center;padding:6px 0}
.t-done h2{font-size:1.9rem}
.t-result{font-size:1.25rem;font-weight:600;margin-top:6px;font-variant-numeric:tabular-nums}
.t-pitch{margin:22px 0 0;padding:18px;border-radius:20px;background:#000;text-align:left}
.t-pitch p{color:var(--muted);margin-top:6px}
.t-pitch .ctas{margin-top:16px}
.t-again{margin-top:14px;width:100%}
/* content */
.t-body section{padding:44px 0}
.t-body h2{font-size:clamp(1.4rem,3.4vw,1.9rem);margin-bottom:12px}
.t-body p{color:var(--muted);max-width:64ch}
.t-body p+p{margin-top:12px}
.t-body strong{color:var(--text)}
.t-body ol{color:var(--muted);padding-left:1.2em;margin:12px 0 0;max-width:64ch}
.t-body li+li{margin-top:6px}
.t-others{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;list-style:none;padding:0;margin:16px 0 0}
.t-others a{display:block;padding:16px;border-radius:18px;background:var(--card);border:1px solid var(--line);text-decoration:none;font-weight:600}
.t-others span{display:block;color:var(--muted);font-weight:400;font-size:.9rem;margin-top:2px}
.t-app{display:grid;gap:24px;align-items:center}
.t-app ul{color:var(--muted);padding-left:1.1em;margin:12px 0 0}
.t-app li+li{margin-top:6px}
.t-app li strong{color:var(--text)}
.t-app .phone{justify-self:center;width:min(240px,64vw)}
@media(min-width:760px){.t-card{padding:24px}.t-app{grid-template-columns:1.3fr .7fr}}
@media(max-width:380px){.t-tabs a{font-size:.85rem}.t-val{min-width:76px;font-size:1.3rem}.t-pm{width:46px;height:46px}}
/* benchmark WOD pages (/wod/<slug>) and the /wods index */
.t-head .eyebrow a{text-decoration:none}
.w-rx{background:var(--card);border:1px solid var(--line);border-radius:28px;padding:20px 22px;margin:0 0 16px}
.w-rx h2{font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.w-scheme{font-weight:600}
.w-moves{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}
.w-moves li{font-size:1.2rem;font-weight:700;line-height:1.3;padding-left:12px;border-left:3px solid var(--lime)}
.w-note{color:var(--muted);font-size:.92rem;margin-top:12px}
.w-list{color:var(--muted);padding-left:1.2em;margin:12px 0 0;max-width:64ch}
.w-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.t-others .w-fmt{color:var(--lime);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 4px}
.h-table{width:100%;border-collapse:collapse;font-size:.95rem}
.h-table th,.h-table td{padding:10px 6px;border-top:1px solid var(--line);text-align:left;vertical-align:top}
.h-table thead th{border-top:0;font-size:.8rem;color:var(--muted);font-weight:700}
.h-table thead th span{display:block;font-weight:400;font-size:.75rem;line-height:1.3}
.h-table tbody th{font-weight:700}
.h-table td{white-space:nowrap;color:var(--text);width:24%}
.h-n{display:inline-block;min-width:1.4em;color:var(--lime)}
.h-d{display:block;font-weight:400;color:var(--muted);font-size:.85rem}
