/* Gigi Music School 1.77 - Uebungswoche */
.ub-huelle { display: none; position: fixed; inset: 0; z-index: 10040; background: rgba(2,6,23,.65); align-items: flex-start; justify-content: center; padding: 3vh 12px; overflow: auto; }
.ub-huelle.an { display: flex; }
.ub-fenster { background: #1e293b; border: 1px solid #334155; border-radius: 16px; width: min(1100px, 100%); padding: 16px 20px 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
#ubSchueler .ub-fenster { width: min(640px, 100%); }
.ub-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ub-kopf h3 { margin: 0; }
.ub-zu { background: none; border: 0; color: inherit; font-size: 20px; cursor: pointer; }
.ub-hinweis { font-size: 13px; color: #cbd5e1; background: rgba(37,99,235,.1); border: 1px solid rgba(37,99,235,.35); border-radius: 10px; padding: 9px 12px; margin-bottom: 12px; }
.ub-neu { border: 1px solid #334155; border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; }
.ub-neu summary { cursor: pointer; font-weight: 700; }
.ub-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ub-form label, .ub-nach label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: #cbd5e1; flex: 1; }
.ub-zeile { display: flex; flex-wrap: wrap; gap: 10px; }
.ub-zeile label { min-width: 170px; }
.ub-meldung { font-size: 13px; color: #fcd34d; }
.ub-fehler { color: #f87171; }
.ub-karte { border: 1px solid #334155; border-radius: 12px; margin-bottom: 10px; background: rgba(15,23,42,.35); }
.ub-karte > summary { cursor: pointer; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ub-titel { font-weight: 700; font-size: 15px; margin-right: 4px; }
.ub-klasse { color: #93c5fd; font-size: 13px; }
.ub-chip { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(51,65,85,.8); white-space: nowrap; }
.ub-chip.neu { background: #b45309; color: #fff; }
.ub-chip.grau { opacity: .65; }
.ub-karte-inhalt { padding: 0 12px 12px; }
.ub-aufgabe { white-space: pre-wrap; margin: 4px 0 6px; }
.ub-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.ub-tabelle th, .ub-tabelle td { border-bottom: 1px solid #334155; padding: 7px 6px; text-align: left; vertical-align: top; }
.ub-tabelle th { color: #94a3b8; font-weight: 600; }
.ub-fehlt td { opacity: .6; }
.ub-notiz { max-width: 220px; white-space: pre-wrap; }
.ub-fb { width: 100%; min-width: 180px; font-size: 13px; }
.ub-player { width: 100%; max-width: 360px; margin-top: 4px; }
video.ub-player { max-height: 240px; background: #000; border-radius: 8px; }
.ub-knoepfe, .ub-rec-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ub-loeschen { margin-left: auto; }
.ub-neu-t { color: #fbbf24; }
.ub-zahl { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: #b45309; color: #fff; font-size: 12px; text-align: center; }
.ub-namen { display: flex; flex-wrap: wrap; gap: 8px; }
.ub-ich { margin: 0 0 10px; }
.ub-aufgabe-box { border: 1px solid #334155; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.ub-aufgabe-box.aktuell { border-color: #2563eb; background: rgba(37,99,235,.08); }
.ub-a-kopf { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ub-status { margin-top: 8px; color: #86efac; }
.ub-feedback { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); }
.ub-feedback p { margin: 4px 0 0; white-space: pre-wrap; }
.ub-laeuft { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; }
.ub-punkt { width: 12px; height: 12px; border-radius: 50%; background: #ef4444; animation: ubBlink 1s infinite; }
@keyframes ubBlink { 50% { opacity: .2; } }
.ub-vorschau { width: 100%; max-height: 220px; border-radius: 8px; background: #000; }
.ub-nach { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ub-fortschritt { height: 6px; border-radius: 3px; background: #334155; overflow: hidden; }
.ub-fortschritt span { display: block; height: 100%; width: 0; background: #22c55e; transition: width .2s; }
.ub-vw-kopf { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.ub-kachel { background: rgba(15,23,42,.6); border: 1px solid #334155; border-radius: 10px; padding: 8px 12px; min-width: 110px; }
.ub-kachel b { display: block; font-size: 20px; }
.ub-kachel span { font-size: 12px; color: #94a3b8; }
.ub-frist { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.ub-frist input { width: 90px; }
#ubSuche { width: 100%; max-width: 420px; margin-bottom: 10px; }
#schuleLehrerModal .ck-modal:has(#ubSeite.an) { max-width: 1320px !important; width: 97vw; }
@media (max-width: 720px) {
  .ub-tabelle thead { display: none; }
  .ub-tabelle tr { display: block; border-bottom: 1px solid #334155; padding: 6px 0; }
  .ub-tabelle td { display: block; border: 0; padding: 3px 0; }
}
body.day-mode .ub-fenster, body.day-mode .ub-karte { background: #fff; border-color: #cbd5e1; }
/* 1.77.1 Schuelerausweis */
.ub-kennung { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .08em; padding: 1px 6px; border-radius: 6px; background: rgba(51,65,85,.9); color: #e2e8f0; font-weight: 700; white-space: nowrap; }
.ub-ausweis .ub-hinweis { margin-top: 10px; }
.ub-pin { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ub-pin-feld { font-size: 30px; letter-spacing: .5em; text-align: center; width: 190px; padding: 10px 6px 10px 18px; }
.ub-merken { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.ub-kartenraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.ub-ausweiskarte { background: #fff; color: #0f172a; border: 1.5px dashed #64748b; border-radius: 12px; padding: 12px 14px; break-inside: avoid; page-break-inside: avoid; }
.ub-ak-kopf { font-size: 11px; color: #475569; text-transform: uppercase; letter-spacing: .05em; }
.ub-ak-name { font-size: 20px; font-weight: 800; margin: 4px 0 2px; }
.ub-ak-zeile { font-size: 13px; color: #334155; }
.ub-ak-werte { display: flex; gap: 18px; margin: 8px 0; }
.ub-ak-werte span { display: block; font-size: 11px; color: #64748b; }
.ub-ak-werte b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 22px; letter-spacing: .12em; }
.ub-ak-fuss { font-size: 11px; color: #475569; border-top: 1px solid #e2e8f0; padding-top: 6px; }
#ubDruck { display: none; }
@media print {
  body.ub-drucken > *:not(#ubDruck) { display: none !important; }
  body.ub-drucken #ubDruck { display: block !important; }
  body.ub-drucken { background: #fff !important; }
  body.ub-drucken .ub-kartenraster { grid-template-columns: 1fr 1fr; gap: 6mm; }
}
#ubAusweisFenster { z-index: 10080; }
.ck-schueler .ub-kennung { margin-left: 6px; }
.ck-schueler .aw-stand { font-size: 12px; color: #94a3b8; white-space: nowrap; }
.ck-schueler .reihe { flex-wrap: wrap; row-gap: 4px; }
.ck-schueler .reihe > span:first-child { flex: 1 1 140px; min-width: 0; }
.ck-schueler .reihe .btn { white-space: nowrap; }
.ub-datei-knopf { cursor: pointer; }
.ub-klein { font-size: 13px; margin: 8px 0 0; }
.ub-link { color: #93c5fd; text-decoration: underline; cursor: pointer; }
/* 1.79 Erinnerung per E-Mail */
.ub-mail{margin:10px 0}
.ub-mail-zeile{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin:6px 0}
.ub-mail-zeile .song-input{flex:1 1 220px;min-width:0;max-width:420px}
