nav a {
  color: white;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
input {
  font: inherit;
  min-height: 46px;
  padding: 0.6rem;
  border: 1px solid var(--auc-kontur);
  max-width: 100%;
  width: 100%;
}
input[type="checkbox"] {
  min-height: 24px;
  width: 24px;
  vertical-align: middle;
  margin-right: 0.5rem;
}
fieldset {
  border: 1px solid var(--c-border);
  padding: 1rem;
  margin: 1rem 0;
}
legend {
  font-weight: bold;
  color: var(--auc-navy);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.login {
  max-width: 520px;
  margin: 1rem auto;
}
.timer {
  font: 700 1.6rem var(--font-heading);
  font-variant-numeric: tabular-nums;
  padding: 0.6rem 1rem;
  border: 2px solid var(--auc-blau);
  background: white;
}
.timer.urgent {
  border-color: #a43822;
  color: #842f21;
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.qr-card {
  background: white;
  border: 1px solid var(--c-border);
  padding: 1rem;
  break-inside: avoid;
}
.qr-card img {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: auto;
}
.qr-card a {
  overflow-wrap: anywhere;
  font-size: 0.8rem;
}
.dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.bar-chart {
  display: grid;
  gap: 1rem;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.bar-track {
  background: #e5edf3;
  height: 16px;
}
.bar-fill {
  height: 100%;
  background: var(--auc-blau);
  min-width: 0;
}
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
.downloads a {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 1px solid var(--auc-kontur);
  text-decoration: none;
  background: white;
  color: var(--auc-navy);
  font-weight: bold;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}
.check-grid label {
  margin: 0.2rem;
}
.tag {
  font-size: 0.85rem;
  padding: 0.2rem 0.5rem;
  background: #edf3f7;
}
#notice:not(:empty) {
  max-width: 1096px;
  margin: 1rem auto 0;
  padding: 1rem;
  background: #fff0ed;
  border-left: 3px solid #842f21;
}
.text-link {
  font: inherit;
  border: 0;
  text-decoration: underline;
  background: none;
}
.attempt-result {
  border-top: 3px solid var(--auc-cyan);
}
.badge-success {
  color: #206338;
}
.long {
  overflow-wrap: anywhere;
}
.time-curve {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 150px;
  padding-top: 15px;
  border-bottom: 1px solid var(--c-border);
}
.curve-column {
  flex: 1;
  background: var(--auc-blau);
  position: relative;
  min-width: 4px;
}
.curve-column span {
  position: absolute;
  bottom: 100%;
  font-size: 0.75rem;
  left: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 740px) {
  .form-grid,
  .chart-grid {
    grid-template-columns: 1fr;
  }
  .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timer {
    font-size: 1.3rem;
  }
  .dashboard .card {
    padding: 0.8rem;
  }
  .dashboard .metric {
    font-size: 2rem;
  }
}
@media print {
  body.print-codes main > *:not(#codes) {
    display: none;
  }
  #codes {
    display: block !important;
  }
  .qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .qr-card a {
    font-size: 8pt;
  }
  #notice {
    display: none;
  }
}
