/* placement.css – 03.12.2026: Einstufungstest (/einstufungstest, placement.js). Basis: welle.css */
.pl-card{background:#fff;border:1px solid #B0B0B8;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:16px;max-width:720px;margin:0 auto 24px}
.pl-field{display:flex;flex-direction:column;gap:8px}
.pl-lbl{font-size:14px;font-weight:700;color:#334155}
.pl-hint{font-size:13px;color:#4A5568}
.pl-chips{display:flex;flex-wrap:wrap;gap:8px}
.pl-chip{min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid #B0B0B8;background:#fff;color:#0B1E3F;font:600 15px Inter,sans-serif;cursor:pointer}
.pl-chip.on{background:#1E6FE8;border-color:#1E6FE8;color:#fff}
.pl-lens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pl-len{min-height:68px;padding:10px 14px;border-radius:14px;border:1px solid #B0B0B8;background:#fff;color:#0B1E3F;text-align:start;font-family:Inter,sans-serif;cursor:pointer;display:flex;flex-direction:column;gap:2px}
.pl-len b{font-size:16px}.pl-len small{font-size:13px;color:#4A5568}
.pl-len.on{background:#EAF2FF;border:2px solid #1E6FE8}
.pl-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px;border-radius:14px;background:#F4F7FC}
.pl-parts div{display:flex;flex-direction:column;gap:2px}.pl-parts b{font-size:14px}.pl-parts small{font-size:12.5px;color:#4A5568}
.pl-go{min-height:52px;border:0;border-radius:14px;background:#17C3B2;color:#0B1E3F;font:600 18px Fredoka,Inter,sans-serif;cursor:pointer;padding:10px 18px;text-align:center;text-decoration:none;display:flex;align-items:center;justify-content:center}
.pl-go:hover{background:#3BEAD6;color:#0B1E3F}
.pl-go:disabled{background:#DCE3EF;color:#4A5568;cursor:default}
.pl-note{margin:0;font-size:13px;color:#4A5568;text-align:center}
.pl-load,.pl-err{margin:0;font-size:16px;text-align:center}.pl-err{color:#9B1C1C}
.pl-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pl-steps{display:flex;gap:6px;flex:1;min-width:0}
.pl-steps span{flex:1;text-align:center;padding:6px 4px;border-radius:8px;font-size:12.5px;font-weight:700;background:#fff;color:#4A5568;border:1px solid #B0B0B8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-steps span.done{background:#DDF5E8;color:#14532D;border-color:#8FD3AE}
.pl-steps span.on{background:#1E6FE8;color:#fff;border-color:#1E6FE8}
.pl-stop{min-height:40px;padding:6px 12px;border-radius:999px;border:1px solid #B0B0B8;background:#fff;color:#334155;font:600 13px Inter,sans-serif;cursor:pointer}
.pl-bar{height:8px;border-radius:4px;background:#DCE3EF;overflow:hidden}
.pl-bar i{display:block;height:100%;background:#17C3B2;border-radius:4px;transition:width .3s}
.pl-count{margin:-8px 0 0;font-size:13px;color:#4A5568}
.pl-q{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid #B0B0B8;border-radius:16px}
.pl-head{font-size:12.5px;font-weight:700;color:#1E6FE8;text-transform:uppercase;letter-spacing:.03em}
.pl-prompt{margin:0;font:600 22px/1.4 Fredoka,Inter,sans-serif;color:#0B1E3F}
.pl-word{font-size:32px;text-align:center}
.pl-text{padding:14px;border-radius:12px;background:#F4F7FC;font-size:16px;line-height:1.6;color:#1F2937;max-height:320px;max-height:45dvh;overflow-y:auto;text-align:left;direction:ltr}
.pl-gap{font-size:20px;text-align:left}
.pl-blank{display:inline-block;margin:0 4px;color:#1E6FE8;font-weight:700}
.pl-audio{display:flex;align-items:center;gap:12px}
.pl-play{width:60px;height:60px;border-radius:50%;border:0;background:#1E6FE8;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.pl-play:disabled{background:#B0B0B8;cursor:default}
.pl-plays{font-size:14px;color:#4A5568}
.pl-opts{display:flex;flex-direction:column;gap:8px}
.pl-opt{min-height:52px;padding:10px 16px;border-radius:14px;border:1px solid #B0B0B8;background:#fff;color:#0B1E3F;font:500 17px Inter,sans-serif;text-align:start;cursor:pointer}
.pl-opt:hover{border-color:#1E6FE8}
.pl-opt.on{background:#EAF2FF;border:2px solid #1E6FE8}
.pl-dunno{background:#F4F7FC;border-style:dashed;border-color:#8A94A6;color:#4A5568}
.pl-big{background:#0B1E3F;color:#fff;border-radius:18px;padding:22px 16px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.pl-big span{font-size:14px;color:#C8D4EE}
.pl-big b{font:700 72px/1 Fredoka,Inter,sans-serif;color:#3BEAD6}
.pl-h2{margin:0;font:600 22px Fredoka,Inter,sans-serif}
.pl-skills{display:flex;flex-direction:column;gap:14px}
.pl-skill{display:flex;flex-direction:column;gap:6px}
.pl-sk{display:flex;justify-content:space-between;font-size:15px}
.pl-skv{color:#1E6FE8}
.pl-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
.pl-cells span{text-align:center;padding:4px 0;border-radius:6px;font-size:12px;font-weight:700;background:#E6EBF3;color:#4A5568}
.pl-cells span.on{background:#1E6FE8;color:#fff}
.pl-rec{background:#FFF7E6;border:1px solid #E0B455;border-radius:16px;padding:14px 16px}
.pl-rec p{margin:6px 0 0;font-size:15px;line-height:1.5;color:#3A2A05}
.pl-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pl-sec{min-height:48px;padding:8px 12px;border-radius:12px;border:1px solid #B0B0B8;background:#fff;color:#0B1E3F;font-weight:600;font-size:15px;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}
.pl-sec:hover{border-color:#1E6FE8;color:#0B1E3F}
.pl-again{min-height:44px;border:0;background:transparent;color:#1E6FE8;font:600 15px Inter,sans-serif;cursor:pointer}
@media (max-width:600px){
  .pl-card{padding:16px;border-radius:16px}
  .pl-parts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pl-lens,.pl-two{grid-template-columns:1fr}
  .pl-steps span{font-size:11.5px}
  .pl-word{font-size:28px}
}
/* Nachtmodus (html.wl-night, wie die übrigen Seiten) */
html.wl-night .pl-card,html.wl-night .pl-len,html.wl-night .pl-chip,html.wl-night .pl-opt,html.wl-night .pl-stop,html.wl-night .pl-sec,html.wl-night .pl-steps span{background:#13213B;border-color:#5A6A8B;color:#EEF2FF}
html.wl-night .pl-q{border-color:#5A6A8B}
html.wl-night .pl-parts,html.wl-night .pl-text,html.wl-night .pl-dunno{background:#0F1B33;color:#EEF2FF}
html.wl-night .pl-lbl,html.wl-night .pl-hint,html.wl-night .pl-note,html.wl-night .pl-count,html.wl-night .pl-plays,html.wl-night .pl-parts small,html.wl-night .pl-len small{color:#C8D4EE}
html.wl-night .pl-prompt,html.wl-night .pl-h2{color:#fff}
html.wl-night .pl-head,html.wl-night .pl-skv,html.wl-night .pl-blank,html.wl-night .pl-again{color:#8FB8FF}
html.wl-night .pl-len.on,html.wl-night .pl-opt.on{background:#16305C;border-color:#7FB0FF}
html.wl-night .pl-chip.on,html.wl-night .pl-steps span.on{background:#5C9BFF;border-color:#5C9BFF;color:#0B1E3F}
html.wl-night .pl-steps span.done{background:#14432C;border-color:#2F7A53;color:#BDF2D4}
html.wl-night .pl-bar,html.wl-night .pl-cells span{background:#2A3A5B;color:#C8D4EE}
html.wl-night .pl-cells span.on{background:#5C9BFF;color:#0B1E3F}
html.wl-night .pl-rec{background:#2A230F;border-color:#7A6430}
html.wl-night .pl-rec p,html.wl-night .pl-rec b{color:#F7E7C2}
html.wl-night .pl-go:disabled{background:#2A3A5B;color:#C8D4EE}
/* während des Tests ist der Kopfbereich ausgeblendet: Karte nicht unter die Kopfleiste schieben */
.wl-hero[hidden] + .wl-main{margin-top:24px}
/* 03.12.2026: Pinyin-Schalter im HSK-Wortschatz */
.pl-pyt{align-self:flex-end;display:inline-flex;align-items:center;gap:6px;min-height:36px;font-size:14px;font-weight:600;color:#334155;cursor:pointer}
.pl-pyt input{width:18px;height:18px}
.pl-py{margin:-6px 0 0;text-align:center;font-size:18px;color:#1E6FE8;font-weight:600}
.pl-pym{font-size:12px;color:#4A5568;font-weight:600}
.pl-pyb{margin-top:4px;padding:2px 10px;border-radius:999px;background:#16305C;color:#C8D4EE;font-size:12.5px}
html.wl-night .pl-pyt{color:#C8D4EE}
html.wl-night .pl-py{color:#8FB8FF}
html.wl-night .pl-pym{color:#C8D4EE}
@media (max-width:600px){
  .pl-steps{order:2;flex-basis:100%}
  .pl-stop{margin-inline-start:auto}
  .pl-steps span{overflow:visible;text-overflow:clip;font-size:11px;padding:6px 2px}
}
/* 04.12.2026: Fehler-Übersicht, Klassen-Aufgabe */
.pl-errs{border:1px solid #B0B0B8;border-radius:16px;padding:0 14px}
.pl-errs summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:700;font-size:15px;color:#0B1E3F}
.pl-errs ol{margin:0 0 12px;padding-inline-start:22px;display:flex;flex-direction:column;gap:12px}
.pl-errs li{display:flex;flex-direction:column;gap:2px;font-size:14.5px;line-height:1.45}
.pl-ek{font-size:11.5px;font-weight:700;color:#1E6FE8;text-transform:uppercase;letter-spacing:.03em}
.pl-et{color:#4A5568;font-style:italic}
.pl-ep{font-weight:600;color:#0B1E3F}
.pl-eno{color:#9B1C1C}.pl-eno s{text-decoration-thickness:2px}
.pl-eok{color:#14532D}
.pl-noerr{margin:0;padding:12px 14px;border-radius:14px;background:#DDF5E8;color:#14532D;font-weight:600}
.pl-clsb{margin:0;padding:10px 14px;border-radius:12px;background:#EAF2FF;border:1px solid #1E6FE8;color:#0B1E3F;font-weight:600;font-size:14.5px}
.pl-cls{margin:0;padding:10px 14px;border-radius:12px;background:#F4F7FC;color:#334155;font-size:14.5px}
.pl-cls.pl-cls-ok{background:#DDF5E8;color:#14532D;font-weight:600}
html.wl-night .pl-errs{border-color:#5A6A8B}
html.wl-night .pl-errs summary,html.wl-night .pl-ep{color:#EEF2FF}
html.wl-night .pl-ek{color:#8FB8FF}
html.wl-night .pl-et{color:#C8D4EE}
html.wl-night .pl-eno{color:#FF9A9E}
html.wl-night .pl-eok{color:#9BE7BD}
html.wl-night .pl-noerr,html.wl-night .pl-cls.pl-cls-ok{background:#14432C;color:#BDF2D4}
html.wl-night .pl-clsb{background:#16305C;border-color:#7FB0FF;color:#EEF2FF}
html.wl-night .pl-cls{background:#0F1B33;color:#C8D4EE}
