/* Gemeinsame v0-Klassen. Keine Farben, Abstände oder Klickflächen. */
.text-small {font-family:var(--v0-font-family);font-size:var(--v0-font-size-small);line-height:var(--v0-line-height-small);}
.text-standard {font-family:var(--v0-font-family);font-size:var(--v0-font-size-standard);line-height:var(--v0-line-height-standard);}
.text-tight {font-family:var(--v0-font-family);font-size:var(--v0-font-size-standard);line-height:var(--v0-line-height-small);}
.title-standard {font-family:var(--v0-font-family);font-size:var(--v0-font-size-title);line-height:var(--v0-line-height-standard);}
.title-card {font-family:var(--v0-font-family);font-size:var(--v0-font-size-title);line-height:var(--v0-line-height-card);}
.weight-regular {font-weight:var(--v0-weight-regular);}
.weight-bold {font-weight:var(--v0-weight-bold);}
.weight-heavy {font-weight:var(--v0-weight-heavy);}
.weight-black {font-weight:var(--v0-weight-black);}
.radius-card {border-radius:var(--v0-radius-card);}
.radius-control {border-radius:var(--v0-radius-control);}
.radius-day {border-radius:var(--v0-radius-streak-day);}
:root .topbar h2,:root .brand {font-family:var(--v0-font-family);font-size:var(--v0-font-size-title);line-height:var(--v0-line-height-standard);}
:root .breadcrumb,:root .nav-label,:root .tagline {font-size:var(--v0-font-size-small);line-height:var(--v0-line-height-small);}
:root .nav-link {font-size:var(--v0-font-size-standard);line-height:var(--v0-line-height-standard);}
:root .role-switch button,:root .avatar {font-size:var(--v0-font-size-standard);line-height:var(--v0-line-height-small);}
:root .card,:root .modal,:root .sheet {border-radius:var(--v0-radius-card);}
:root .form-control,:root .control {border-radius:var(--v0-radius-control);}
:root .streak-day span {border-radius:var(--v0-radius-streak-day);}
:root .dashboard-v2 .card h2,:root .dashboard-v2 .card h3 {font-size:var(--v0-font-size-title);line-height:var(--v0-line-height-card);}
:root .dashboard-v2 .card p,:root .dashboard-v2 .form-control,:root .dashboard-v2 .streak-day small,:root .dashboard-v2 .streak-day span {font-size:var(--v0-font-size-standard);line-height:var(--v0-line-height-standard);}

/* Bestätigte Kopf-/Navigationsrollen; vorhandene Stärken bleiben erhalten. */
:root .brand-word {font-family:var(--v0-font-family);font-size:var(--v0-font-size-title);line-height:var(--v0-line-height-standard);}
:root .account-view-switch button {font-family:var(--v0-font-family);font-size:var(--v0-font-size-standard);line-height:var(--v0-line-height-small);}
/* Dieselbe Lernrhythmus-Komponente verwendet auch außerhalb des Dashboards die bestätigte Textrolle. */
:root .streak-day small,:root .streak-day span,:root .streak-unit,:root .study-progress-label,:root .study-progress-label strong {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-regular);
}
/* Normale Eingaben erben keine abweichende Beschriftungsgröße. */
:root .form-control,:root .control {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-regular);
}
/* Bestätigte Rollen gelten auch dann, wenn alte Seiten andere Selektornamen verwenden. */
:root body {letter-spacing:var(--v0-letter-spacing);}
:root .eyebrow {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-small);
  line-height:var(--v0-line-height-small);
  font-weight:var(--v0-weight-black);
  letter-spacing:var(--v0-letter-spacing-eyebrow);
}
/* Checkbox-Beschriftungen verwenden dieselbe normale Textrolle wie im Dashboard. */
:root body label:has(> input[type=checkbox]) {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-regular);
}

/* Semantische Rollen: Größe und Zeilenhöhe bleiben die vorhandenen Pakete. */
.weight-semibold {font-weight:var(--v0-weight-semibold);}
.field-label,
:root .form-label:not(:has(input[type=checkbox])),
:root .field > span:first-child,
:root .field > label,
:root .ux-editor-field,
:root .booking-search > label,
:root .admin-status-filters > label,
:root .booking-filter-group > legend,
:root .fields > label,
:root .date-labels > span,
:root .ux-challenge-filters > label,
:root .editor .label {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-semibold);
}
.content-heading,
:root .editor summary,
:root .editor .section-title,
:root .ux-editor-settings > summary,
:root .ux-editor-answers > legend,
:root .task-preview h4 {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-semibold);
}
.metadata,
:root .task .meta,
:root .reference-task .meta,
:root .ux-draft-card .ux-author-meta,
:root .booking-code,
:root .admin-trainer {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-regular);
}
.preview-content,
:root .live-math,
:root .preview-box p,
:root .task-preview p {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-regular);
}
/* Einzeilige Eingaben: gemeinsamer Kursfilter-Standard. Kein Button-/Textarea-Selektor. */
:root .task .field input:not([type=checkbox]):not([type=file]),
:root .task .field select,
:root .ux-inline-editor input.form-control,
:root .ux-inline-editor select.form-control,
html body :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input[type=tel],input[type=url],input[type=date],input[type=time],input[type=datetime-local],select):not([hidden]) {
  box-sizing:border-box;
  height:var(--v0-control-height);
  min-height:var(--v0-control-height);
  border:var(--v0-border-input);
  border-radius:var(--v0-radius-control);
  padding:var(--v0-padding-input);
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-regular);
}
:root .task .field select,:root .ux-inline-editor select.form-control,html body select {padding:var(--v0-padding-select);}
/* Echte Checkboxen erhalten Tastatur, Formwerte, disabled und indeterminate. */
html body input[type=checkbox] {
  appearance:none;
  box-sizing:border-box;
  width:var(--v0-checkbox-size);
  height:var(--v0-checkbox-size);
  min-width:var(--v0-checkbox-size);
  min-height:var(--v0-checkbox-size);
  padding:0;
  margin:0;
  flex:none;
  vertical-align:middle;
  border:var(--v0-border-input);
  border-radius:var(--v0-radius-checkbox);
  background-color:var(--v0-color-surface);
  background-position:center;
  background-repeat:no-repeat;
  background-size:100% 100%;
  cursor:pointer;
}
html body input[type=checkbox]:checked {
  background-color:var(--v0-color-primary);
  border-color:var(--v0-color-primary);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 19'%3E%3Cpath d='m4 9 4 4 7-8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html body input[type=checkbox]:indeterminate {
  background-color:var(--v0-color-primary);
  border-color:var(--v0-color-primary);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 19'%3E%3Cpath d='M4 9.5h11' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
html body input[type=checkbox]:disabled {cursor:default;opacity:.5;}
@media(forced-colors:active) {
  html body input[type=checkbox] {appearance:auto;background-image:none;}
}
.correct-answer-note {
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-small);
  line-height:var(--v0-line-height-small);
  font-weight:var(--v0-weight-regular);
}
.correct-answer-note,.correct-answer-note > span {color:var(--v0-color-success);}
:root .ux-author-task.is-editing {border-color:var(--v0-color-primary);box-shadow:none;}

/* Verbindlicher Beschriftungsabstand wie Musterlösung → Eingabefeld. */
:root :is(.field,.ux-editor-field,.billing-field,.booking-search,.room-search,.admin-status-filters > label,.ux-challenge-filters > label),
:root .task .editor .field {gap:var(--v0-space-field-label);}
:root .form-label:not(:has(input[type=checkbox])) {margin-bottom:var(--v0-space-field-label);}
:root .task-preview h4 {margin-bottom:var(--v0-space-field-label);}
:root .booking-search {display:grid;}
:root .booking-search > label {margin:0;}
:root .booking-filter-group > legend {margin-bottom:var(--v0-space-field-label);}
:root .room-filter-label {margin-bottom:var(--v0-space-field-label);}

/* Bestätigte Raum-Navigation, dieselbe Textrolle wie in der App-Navigation. */
:root .lf-link {font-family:var(--v0-font-family);font-size:var(--v0-font-size-standard);line-height:var(--v0-line-height-standard);height:auto;white-space:normal;}
/* Bei Suchfeldern mit Icon bildet der äußere Rahmen das 36px-Control. */
html:root body :is(.search-box,.lf-library-search) {
  box-sizing:border-box;
  height:var(--v0-control-height);
  min-height:var(--v0-control-height);
  padding:0 10px;
  border:var(--v0-border-input);
  border-radius:var(--v0-radius-control);
}
html:root body :is(.search-box,.lf-library-search) input {
  box-sizing:border-box;
  height:100%;min-height:0;
  padding:0;border:0;border-radius:0;
  font-family:var(--v0-font-family);
  font-size:var(--v0-font-size-standard);
  line-height:var(--v0-line-height-standard);
  font-weight:var(--v0-weight-regular);
}

/* Shared normal-weight entry hints, including rich text and the library iframe. */
textarea::placeholder, input::placeholder, .rich-editor-shell .ql-editor.ql-blank::before { color:var(--v0-color-muted); opacity:1; font-family:var(--v0-font-family); font-size:var(--v0-font-size-standard); line-height:var(--v0-line-height-standard); font-weight:var(--v0-weight-regular); font-style:inherit; }
