/* Noten-Punkte-Rechner (0–15 ⇄ 1,0–6,0) */
.pn-widget * { box-sizing: border-box; }
.pn-widget   { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; }

.pn-box {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
}

.pn-title { margin: 0 0 4px; font-size: 20px; }
.pn-sub   { margin: 0 0 14px; color: #555; font-size: 14px; }

.pn-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.pn-field { display: flex; flex-direction: column; gap: 6px; }
.pn-label { font-weight: 600; color: #333; }

.pn-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-size: 15px;
  background: #fff;
  color: #111;
}
.pn-input:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74,144,226,.15);
  outline: none;
}

.pn-swap {
  font-size: 20px;
  line-height: 1;
  padding: 0 6px 8px;
  color: #777;
}

.pn-hint { margin: 4px 0 12px; color: #555; font-size: 14px; }

.pn-table-wrap { margin-top: 8px; }
.pn-table-title { margin: 0 0 8px; font-size: 16px; }

.pn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pn-table th, .pn-table td {
  padding: 8px 10px;
  border: 1px solid #eee;
  text-align: left;
}
.pn-table thead th {
  background: #f7f9fc;
  font-weight: 700;
  color: #333;
}

@media (max-width: 680px) {
  .pn-grid { grid-template-columns: 1fr; }
  .pn-swap { display: none; }
}
