/* common/css/permutation-test.css */
.pt-shell {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 860px) {
  .pt-shell { grid-template-columns: 1fr; }
}

.pt-field { margin-top: 12px; }
.pt-field:first-child { margin-top: 0; }

.pt-textarea {
  width: 100%;
  min-height: 110px;
}

.pt-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

.pt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pt-banner {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
}
.pt-banner--error {
  border-color: #e0b4b4;
  background: #fff6f6;
}
.pt-banner--warn {
  border-color: #f2e2a0;
  background: #fffbed;
}

.pt-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
}
.pt-pill {
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
}

.pt-chart-wrap {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
}
.pt-chart {
  width: 100%;
  height: 240px;
  display: block;
}

.pt-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.pt-table th,
.pt-table td {
  border-bottom: 1px solid #eee;
  padding: 6px 8px;
  text-align: left;
}

@media print {
  header, nav, .lang-switch { display: none !important; }
  .ad-slot, #comments { display: none !important; }
}

