/* Панель генератора печатных заданий (zadaniya-po-chasam, tokens-only) */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.panel-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.panel-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quiz-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.toggle-lbl {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.btn {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  text-decoration: none;
}

.btn:hover,
.btn:focus-visible,
.btn:active {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inv);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--primary-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-download {
  width: fit-content;
  min-width: 200px;
  margin-inline: auto;
  justify-content: center;
}

.print-panel {
  gap: var(--space-3);
}

.print-panel-note {
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: 1.45;
}

.print-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 48px;
}

.print-select {
  min-width: 92px;
  min-height: 44px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  color: var(--text);
  padding: 0 var(--space-3);
  font: inherit;
  font-weight: 800;
}

.print-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 700;
}

.print-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.print-panel-status {
  min-height: 1.35em;
  color: var(--text-muted);
  font-size: var(--text-xs);
  line-height: 1.35;
  text-align: center;
}
