/* =====================================================
   WORK SESSIONS — cronômetro por tarefa
   ===================================================== */

/* ── Topbar timer (replaces logo while session active) ── */
.ws-topbar-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 4px 2px;
  min-width: 0;
}
.ws-topbar-timer:active { opacity: .7; }

.ws-topbar-pp,
.ws-topbar-stop {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  border: none;
  -webkit-tap-highlight-color: transparent;
  transition:opacity var(--dur-1);
}
.ws-topbar-pp {
  border: 1px solid var(--btn-32);
  background: var(--btn-10);
  color: var(--brand);
}
.ws-topbar-stop {
  border: 1px solid rgba(193,120,114,.4);
  background: rgba(193,120,114,.12);
  color: var(--late);
}
.ws-topbar-pp:active,
.ws-topbar-stop:active { opacity: .6; }

.ws-topbar-nome {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-soft);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.ws-topbar-time {
  font-family: var(--font-numeric, 'JetBrains Mono', monospace);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ── Timer swipe action button (agenda) ────────── */
.agd-act-tempo { color: var(--brand); }

/* ── Task card time indicator chip ─────────────── */
.ws-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
  white-space: nowrap;
}
.ws-card-chip.ws-card-running { color: var(--brand); }
.ws-card-chip svg { flex-shrink: 0; }

@keyframes ws-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.ws-dot { animation:ws-blink 1s step-end infinite; }

/* ── Panel content — inside #infoBody ─────────── */
.ws-panel-active {
  text-align: center;
  padding: 12px 0 18px;
}

.ws-panel-elapsed {
  font-family: var(--font-numeric, 'JetBrains Mono', monospace);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 20px;
}

.ws-btn-iniciar,
.ws-btn-parar { width: 100%; }

.ws-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  margin-top: 8px;
}

.ws-total-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.ws-total-val {
  font-family: var(--font-numeric, monospace);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ws-sessoes-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ws-sessoes-list { margin-top: 4px; }

.ws-sessao-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}
.ws-sessao-row:first-child { border-top: none; }

.ws-sessao-info { flex: 1; min-width: 0; }

.ws-sessao-date {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ws-sessao-time {
  font-size: 13px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}

.ws-sessao-dur {
  font-family: var(--font-numeric, monospace);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.ws-sessao-acts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.ws-act-btn {
  font-family: var(--font-label, inherit);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.ws-act-del {
  border-color: rgba(193,120,114,.35);
  color: var(--late);
}
.ws-act-btn:active { opacity: .6; }
