/* Lehrer-Bereich: kompakter, informationsdichter als die Kinder-Ansicht; gleiche dunkle Logic-Optik. */
body.t { font-size: 15px; }
.t-auth { max-width: 420px; margin: 12vh auto; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.t-auth input, .t-card input:not([type=checkbox]):not([type=color]) { font: inherit; min-height: 40px; border: 1px solid var(--line2); border-radius: 7px; padding: 0 12px; background: var(--bg); color: var(--ink); }
.t-auth form { display: flex; gap: 10px; justify-content: center; }
.t-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; background: linear-gradient(#3a3a3d, #2c2c2f); border-bottom: 1px solid #111; box-shadow: inset 0 -3px 0 #2f8f4a; }
.t-top h1 { font-size: 19px; margin: 0; font-weight: 600; }
.t-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin: 16px auto; max-width: 1100px; }
.t-card h2 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.row { display: flex; gap: 10px; align-items: center; margin-top: 10px; } .row.wrap { flex-wrap: wrap; }
.check { display: flex; gap: 6px; align-items: center; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; color: var(--ink); }
.howto { margin: 0 0 12px; padding-left: 22px; color: var(--muted); line-height: 1.6; }
.howto strong { color: var(--ink); }

.switch-card { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.kill { border: 0; border-radius: 10px; padding: 16px 26px; font-size: 19px; font-weight: 700; color: #fff; background: #a3332d; min-width: 330px; }
.kill[aria-pressed="true"] { background: #2f8f4a; }

.class { border: 1px solid var(--line2); border-radius: 9px; padding: 12px; margin-top: 14px; background: var(--bg2); }
.class-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.class-head h3 { margin: 0; font-size: 19px; flex: 1; }
.toggle { border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 700; color: #fff; background: #5a5a5f; }
.toggle.on { background: #2f8f4a; }
.btn:disabled { opacity: .4; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
.animal { font-size: 24px; }
.kid { display: inline-flex; gap: 2px; align-items: center; background: var(--panel2); border-radius: 6px; padding: 2px 4px 2px 8px; margin: 2px; font-family: ui-monospace, Menlo, monospace; }
.kid button { border: 0; background: transparent; min-width: 30px; min-height: 30px; }
.kid select { min-height: 30px; }
.stats { font-size: 13px; color: var(--muted); }
.danger-zone { border-color: #6b2a26; }

/* Notenfarben */
.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.color-pick { display: grid; gap: 4px; justify-items: center; }
.swatch { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; font-size: 20px; font-weight: 700; border: 1px solid rgba(0,0,0,.4); }
.color-pick input { width: 52px; height: 30px; border: 0; padding: 0; background: transparent; }

/* Zugangskarten zum Ausdrucken (hell – Papier) */
.print-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8mm; padding: 10mm; background: #fff; color: #111; }
.code-card { border: 2px dashed #999; border-radius: 6mm; padding: 6mm; text-align: center; break-inside: avoid; }
.code-card .a { font-size: 34px; } .code-card .c { font-size: 30px; font-weight: 900; letter-spacing: 4px; font-family: ui-monospace, Menlo, monospace; }
.code-card .s { font-size: 13px; color: #555; }
@media print {
  html, body { background: #fff !important; }
  body.printing #main { display: none !important; }
  body.printing .print-cards { display: grid !important; }
  .no-print { display: none !important; }
}
