/* ============================================================
   Study Timer — tool-specific styles
   ============================================================ */

.panel-title { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin: 0 0 0.7rem; }
.field-label { display: block; font-size: 0.8rem; font-weight: 800; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 0.35rem; }
.btn-small { padding: 0.35rem 0.7rem; font-size: 0.82rem; }

.st-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; align-items: start; margin: 1rem 0; }

/* ---- Mode chips ---- */
.st-mode-row { display: flex; gap: 0.4rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }
.st-mode-chip {
  font: inherit; font-size: 0.88rem; font-weight: 800; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 0.36rem 0.85rem;
}
.st-mode-chip[aria-selected="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-strong); }

/* ---- Dial ---- */
.st-dial-wrap { position: relative; width: min(300px, 78vw); margin: 0 auto 1rem; }
.st-dial { width: 100%; height: auto; transform: rotate(-90deg); }
.st-dial-track { fill: none; stroke: var(--line); stroke-width: 14; }
.st-dial-progress {
  fill: none; stroke: var(--brand); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 603; stroke-dashoffset: 0; transition: stroke-dashoffset 0.35s linear, stroke 0.3s ease;
}
.st-dial-progress.break-mode { stroke: #f59e0b; }
.st-dial-center { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 0.15rem; }
.st-phase { margin: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 800; }
.st-clock { margin: 0; font-size: 3.4rem; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.st-round-count { margin: 0; font-size: 0.76rem; color: var(--muted); font-weight: 700; }

.st-controls { display: flex; gap: 0.6rem; justify-content: center; }
.st-btn-main { min-width: 120px; font-size: 1.05rem; }

/* ---- Stats ---- */
.st-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.st-stat-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.6rem 0.4rem; text-align: center; background: #fffdf6; }
.st-stat-num { display: block; font-size: 1.6rem; font-weight: 900; color: var(--brand-strong); font-variant-numeric: tabular-nums; }
.st-stat-label { font-size: 0.66rem; color: var(--muted); line-height: 1.3; display: block; }

.st-length-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.st-stepper { display: flex; align-items: center; gap: 0.35rem; }
.st-step-btn { font: inherit; font-size: 1.1rem; font-weight: 800; cursor: pointer; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm); width: 34px; height: 34px; }
.st-step-btn:hover { border-color: var(--brand); }
.st-length-input { width: 64px; text-align: center; font: inherit; font-weight: 800; padding: 0.3rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-variant-numeric: tabular-nums; }

.st-tips { padding-left: 1.15rem; margin: 0 0 0.75rem; line-height: 1.55; font-size: 0.84rem; }
.st-tips li { margin-bottom: 0.35rem; }

@media (max-width: 980px) { .st-layout { grid-template-columns: 1fr; } }
