/* Hallmark · Design System v9 · Scoped CSS cho Pomodoro & Flashcard SM-2 */

[data-tool="bam-gio-pomodoro"] {
  width: 100%;
}

[data-tool="bam-gio-pomodoro"] .t-pomo-timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--n-sp-3) 0;
  text-align: center;
}

[data-tool="bam-gio-pomodoro"] .t-pomo-digits {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--n-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin: var(--n-sp-3) 0;
  letter-spacing: -0.02em;
}

@media (max-width: 600px) {
  [data-tool="bam-gio-pomodoro"] .t-pomo-digits {
    font-size: 2.75rem;
  }
}

[data-tool="bam-gio-pomodoro"] .t-pomo-cycle-badge {
  font-size: var(--n-fs-xs);
  padding: 4px 12px;
  border-radius: var(--n-r-full);
  background: var(--n-paper-2);
  color: var(--n-ink);
  border: 1px solid var(--n-rule);
  font-weight: 600;
}

[data-tool="bam-gio-pomodoro"] .t-pomo-controls {
  display: flex;
  gap: var(--n-sp-2);
  justify-content: center;
  margin-top: var(--n-sp-3);
  flex-wrap: wrap;
}

[data-tool="bam-gio-pomodoro"] .t-pomo-audio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--n-sp-3);
  padding: 8px 0;
  border-bottom: 1px solid var(--n-rule-soft);
}

[data-tool="bam-gio-pomodoro"] .t-pomo-audio-label {
  font-size: var(--n-fs-sm);
  color: var(--n-ink);
  flex: 1;
}

[data-tool="bam-gio-pomodoro"] .t-pomo-audio-range {
  width: 140px;
  height: 28px;
  cursor: pointer;
  accent-color: var(--n-ink);
}

[data-tool="bam-gio-pomodoro"] .t-pomo-card-surface {
  background: var(--n-paper-2);
  border: 1px solid var(--n-rule);
  border-radius: var(--n-r-md);
  padding: var(--n-sp-4);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  margin: var(--n-sp-3) 0;
  user-select: none;
}

[data-tool="bam-gio-pomodoro"] .t-pomo-card-surface:focus-visible {
  outline: 2px solid var(--n-ink);
  outline-offset: 2px;
}

[data-tool="bam-gio-pomodoro"] .t-pomo-card-text {
  font-size: var(--n-fs-base);
  font-weight: 600;
  color: var(--n-ink);
  line-height: 1.5;
  margin-bottom: var(--n-sp-2);
}

[data-tool="bam-gio-pomodoro"] .t-pomo-card-hint {
  font-size: var(--n-fs-xs);
  color: var(--n-muted);
}

[data-tool="bam-gio-pomodoro"] .t-pomo-eval-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--n-sp-2);
  margin-top: var(--n-sp-3);
}

@media (max-width: 480px) {
  [data-tool="bam-gio-pomodoro"] .t-pomo-eval-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
