.wt-timer-display[data-astro-cid-pcfpetso] {
  text-align: center;
  font-size: 3.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  margin: 10px 0 18px;
  letter-spacing: 2px;
}

.wt-timer-display[data-astro-cid-pcfpetso].wt-flash {
  animation: .6s ease-in-out 3 wt-pulse;
}

@keyframes wt-pulse {
  0%, 100% {
    color: var(--primary);
    transform: scale(1);
  }

  50% {
    color: var(--destructive);
    transform: scale(1.08);
  }
}

.wt-presets[data-astro-cid-pcfpetso] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.wt-preset[data-astro-cid-pcfpetso] {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: .9rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
}

.wt-preset[data-astro-cid-pcfpetso]:hover {
  border-color: var(--primary);
}

.wt-preset[data-astro-cid-pcfpetso].active {
  border-color: var(--primary);
  background: var(--accent-bg);
  color: var(--primary);
  font-weight: 600;
}

.wt-custom[data-astro-cid-pcfpetso] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .9rem;
  color: var(--subtext);
}

.wt-custom[data-astro-cid-pcfpetso] input[data-astro-cid-pcfpetso] {
  width: 80px;
  text-align: center;
}

.wt-controls[data-astro-cid-pcfpetso] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.wt-done[data-astro-cid-pcfpetso] {
  text-align: center;
  margin-top: 14px;
  font-weight: 700;
  color: var(--success);
}

.wt-log[data-astro-cid-pcfpetso] h2[data-astro-cid-pcfpetso] {
  margin-top: 4px;
}

.wt-fields[data-astro-cid-pcfpetso] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.wt-field[data-astro-cid-pcfpetso] label[data-astro-cid-pcfpetso] {
  display: block;
  font-size: .85rem;
  color: var(--subtext);
  margin-bottom: 6px;
}

.wt-field[data-astro-cid-pcfpetso] input[data-astro-cid-pcfpetso] {
  width: 100%;
}

.wt-add-btn[data-astro-cid-pcfpetso] {
  width: 100%;
  height: 44px;
  font-size: 1rem;
  margin-bottom: 18px;
}

.wt-summary[data-astro-cid-pcfpetso] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.wt-summary[data-astro-cid-pcfpetso] > div[data-astro-cid-pcfpetso] {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.wt-summary[data-astro-cid-pcfpetso] span[data-astro-cid-pcfpetso] {
  display: block;
  font-size: .82rem;
  color: var(--subtext);
  margin-bottom: 6px;
}

.wt-summary[data-astro-cid-pcfpetso] strong[data-astro-cid-pcfpetso] {
  font-size: 1.15rem;
  color: var(--primary);
}

.wt-empty[data-astro-cid-pcfpetso] {
  color: var(--subtext);
  font-size: .9rem;
  text-align: center;
  padding: 10px 0;
}

.wt-table-wrap[data-astro-cid-pcfpetso] {
  overflow-x: auto;
  margin-bottom: 14px;
}

.wt-table[data-astro-cid-pcfpetso] {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.wt-table[data-astro-cid-pcfpetso] th[data-astro-cid-pcfpetso], .wt-table[data-astro-cid-pcfpetso] td[data-astro-cid-pcfpetso] {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  white-space: nowrap;
}

.wt-table[data-astro-cid-pcfpetso] th[data-astro-cid-pcfpetso] {
  color: var(--subtext);
  font-weight: 600;
  font-size: .8rem;
}

.wt-table[data-astro-cid-pcfpetso] td[data-astro-cid-pcfpetso].wt-exercise-cell {
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

.wt-del-btn[data-astro-cid-pcfpetso] {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--subtext);
  cursor: pointer;
  font-size: .9rem;
  line-height: 1;
}

.wt-del-btn[data-astro-cid-pcfpetso]:hover {
  border-color: var(--destructive);
  color: var(--destructive);
}

.wt-clear-btn[data-astro-cid-pcfpetso] {
  display: block;
  margin: 0 auto;
}

.wt-clear-btn[data-astro-cid-pcfpetso]:hover {
  border-color: var(--destructive);
  color: var(--destructive);
}
