/* === Studientext-Kasten (oberer Teil) === */
#ls-box{
  max-width:560px; margin:1.2em auto; padding:22px 26px;
  background:#f5f8ff; border:1px solid #d8e2f5; border-left:5px solid #4f46e5;
  border-radius:10px; line-height:1.6; color:#1e293b;
}
#ls-box p{font-weight:400; font-size:0.97em; margin:0 0 12px;}
#ls-box p:last-child{margin-bottom:0;}
#ls-box ul{list-style:none; padding:0; margin:0 0 14px;}
#ls-box li{padding:6px 0 6px 26px; position:relative; font-size:0.95em; border-bottom:1px dashed #d8e2f5;}
#ls-box li:last-child{border-bottom:0;}
#ls-box li::before{content:"●"; color:#4f46e5; position:absolute; left:6px; top:6px; font-size:0.7em;}

/* === Bereitschafts-Hinweis (unterer Teil) === */
#ls-ready{
  max-width:560px; margin:0.4em auto 0.2em; padding:14px 18px;
  background:#f5f8ff; border:1px solid #d8e2f5; border-left:5px solid #4f46e5;
  border-radius:10px; line-height:1.6; color:#1e293b;
  font-weight:400; font-size:0.97em;
}
#ls-ready strong{color:#4f46e5;}
/* Grundzustand – alle Button-Radio-Varianten */
.btn-check + .btn,
.answer-item label.btn,
.button-list-options label {
  white-space: nowrap !important;
  width: auto !important;
  max-width: none !important;
  padding: 10px 22px !important;
  border: 1px solid #4f46e5 !important;
  border-radius: 8px !important;
  color: #4f46e5 !important;
  font-weight: 600 !important;
  background: #fff !important;
}

/* Gefüllt beim Anklicken */
.btn-check:checked + .btn,
.answer-item input:checked + label.btn,
.button-list-options input:checked + label {
  background: #4f46e5 !important;
  color: #fff !important;
  border-color: #4f46e5 !important;
}

/* === Button "Ich bin bereit" (Fruity Twentythree / Bootstrap 5) === */
.btn-check + .btn.btn-outline-secondary{
  white-space:nowrap !important;
  padding:10px 22px !important;
  border:1px solid #4f46e5 !important;
  border-radius:8px !important;
  color:#4f46e5 !important;
  font-weight:600 !important;
  background:#fff !important;
}
.btn-check:checked + .btn.btn-outline-secondary{
  background:#4f46e5 !important;
  color:#fff !important;
  border-color:#4f46e5 !important;
}
.btn-check:focus-visible + .btn.btn-outline-secondary{
  outline:2px solid #4f46e5;
  outline-offset:2px;
}
.group-title { display: none; }
.asterisk { display: none; }
/* Zeilenfärbung für Matrixfragen */
.subquestion-list tbody tr:nth-child(even) td,
.array-flexible tbody tr:nth-child(even) td {
    background-color: #e2e2e2;
}
.array-flexible tbody tr td {
    border-bottom: 1px solid #cccccc;
}
table {
    border-collapse: collapse;
}
table th,
table td {
    border: 2px solid #b9b9cc;
}
