/* Regular */
@font-face {
    font-family: "B612 Mono";
    src: url("../../fonts/B612Mono-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

/* Italic */
@font-face {
    font-family: "B612 Mono";
    src: url("../../fonts/B612Mono-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

/* Bold */
@font-face {
    font-family: "B612 Mono";
    src: url("../../fonts/B612Mono-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

/* Bold Italic */
@font-face {
    font-family: "B612 Mono";
    src: url("../../fonts/B612Mono-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
}

:root {
  --atlantis-blue: #84b1d8dd;
  --atlantis-blue-hover: #84b1d8ee;
  --atlantis-blue-selected: #84b1d8ff;
  --atlantis-blue-trans: #84b1d82e;
  --atlantis-blue-opaque: #84b1d8;
  --atlantis-blue-text: #5283c3;
  --atlantis-anthracite: #343846;
  --atlantis-std-border: 2px solid #e5e4e7;
  --atlantis-row-hover: lightsteelblue;
  --atlantis-row-selected: #e5e4e7;
  --atlantis-lightgrey: #e5e4e7;
  --atlantis-darkgrey: #bdbebf;
  --atlantis-red: #d8848bdd;
  --atlantis-red-trans: #d8848b2e;
  /* Textfähige Variante von --atlantis-red: dieselbe Hue, aber dunkel genug für
     Fließtext auf Weiß (--atlantis-red erreicht als Textfarbe keinen ausreichenden
     Kontrast). Für Warnhinweise in Formularen. */
  --atlantis-red-text: #a33f48;

  /* ST11a (WS-B.3, AK1/AK12): kuratiertes 8-Hue-Subset für deterministische
     Avatar-/Sender-Header-Farben. Hex-Definitionen sind hier (Token-Layer)
     konvention­skonform; alle Komponenten-CSS-Selektoren nutzen ausschließ-
     lich var(--avatarHueN). Subjekt zu UI-Experten-Review in T2-6. */
  --avatarHue1: #5283c3;
  --avatarHue2: #4a8c7a;
  --avatarHue3: #c97a30;
  --avatarHue4: #6b8e23;
  --avatarHue5: #8e6bbf;
  --avatarHue6: #c44569;
  --avatarHue7: #3a5a7c;
  --avatarHue8: #5a5a5a;
  --atlantis-ampel-gelb: #f5b50a;
  --atlantis-ampel-rot: #d12229;

  /* Desk #2739 (Notfall-/Evakuierungsansicht): Die Ampel-Reihe hatte bisher kein Gruen,
     die Notfallansicht braucht aber "anwesend" als eigene Statusfarbe. Hex-Definitionen
     im Token-Layer sind konventionskonform (siehe ST11a-Kommentar oben); alle
     Komponenten-Selektoren in emergency.css nutzen ausschliesslich var(--atlantis-*).
     Die -trans-Variante folgt dem Muster von --atlantis-red-trans. */
  --atlantis-ampel-gruen: #2e7d32;
  --atlantis-ampel-gruen-trans: #2e7d322e;
}

html {
    font-size: 14px;
    line-height: 1.8rem;
    color: grey;
}

body {
    margin: 0;
    background: #FFF;
    min-height: 100vh;
    font-family: arial;
    position: relative;
}
body:has(#fixedPageContainer) {
    height: 100vh;
    overflow: hidden;
}
body.isMobile {
    padding: 0;
    margin: 0;
    width: 100vw;
}

input, select, textarea, button, .inputLike, .inputLikeWithoutBorder {
    border: var(--atlantis-std-border);
    border-radius: 1rem;
    padding: 5px 1rem;
    font-size: 1.2rem;
    line-height: 2.4rem;
    color: grey;
    box-sizing: border-box;
}
input:focus, select:focus, textarea:focus, li:focus {
    outline: none; /* Standard-Fokusindikator weg */
    border: 2px solid var(--atlantis-darkgrey);
}

input::placeholder, select::placeholder, textarea::placeholder {
    color: var(--atlantis-lightgrey);
    opacity: 1; /* optional, sonst haben manche Browser default 0.5 */
}

.inputLikeWithoutBorder {
    border: 2px solid transparent;
}

input:-webkit-autofill {
    -webkit-text-fill-color: grey; /* überschreibt Autofill-Farbe */
    box-shadow: 0 0 0 1000px white inset; /* überschreibt Autofill-Hintergrund */
}

/* Passwort einblenden (passwordReveal.js): rechts im Feld bleibt Platz für das Auge — an jedem
   Passwortfeld von Anfang an, damit ein Feld ohne feste Breite beim ersten Zeichen nicht breiter wird.
   .pwRevealField hält den Platz, solange das Passwort als Klartext (type=text) zu sehen ist. */
input[type="password"],
input.pwRevealField {
    padding-right: 2.75rem;
}
body.isMobile input[type="password"],
body.isMobile input.pwRevealField {
    padding-right: 3.5rem;
}
/* Die Admin-Felder haben eine feste Breite (wachsen also nicht) und zeigen bei 1024px ohnehin nur
   wenige Zeichen: dort den Platz erst reservieren, wenn das Auge entsteht. */
input.adminSettingsInput[type="password"]:not(.pwRevealField) {
    padding-right: 1rem;
}
/* Edges eigenes Auge — sonst stehen zwei im Feld */
input::-ms-reveal {
    display: none;
}
/* Das Auge steht im Fluss direkt hinter dem Feld; der negative Rand hebt seine Breite auf, Höhe und Lage
   gleicht pwRevealPlace() an das Feld an. */
.pwRevealToggle {
    position: relative;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    width: 2.5rem;
    margin-left: -2.5rem;
    border-radius: 1rem;
    background: url(../images/2025/eye.svg) center / 1.5rem no-repeat;
    cursor: pointer;
    /* Mobil legte das Antippen ein eckiges Highlight über den runden Feldrand */
    -webkit-tap-highlight-color: transparent;
}
/* Touch-Ziel mindestens 44px breit */
body.isMobile .pwRevealToggle {
    width: 3.25rem;
    margin-left: -3.25rem;
}
.pwRevealToggle.isShown {
    background-image: url(../images/2025/eye_closed.svg);
}
.pwRevealToggle[hidden] {
    display: none;
}
/* --atlantis-darkgrey (Fokusrand der Felder) erreicht auf Weiß nur 1,9:1 */
.pwRevealToggle:focus-visible {
    outline: 2px solid var(--atlantis-blue-text);
    outline-offset: -2px;
}

input.inputRowInline {
    border: 0;
    height: 2.4rem;
}

select.selectRowInline {
    height: 2.4rem;
    padding: 0 2rem 0 0.5rem;
    margin: 0.25rem 0;
    border: 0;
}

select, textarea, button {
    appearance: none;
    -webkit-appearance: none; /* für Safari */
    -moz-appearance: none;    /* für Firefox */
}

textarea{
    resize: none;
}

select:not([multiple]) {
    /* CSS-Dreieck als eingebettetes SVG */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'><polyline points='6 9 12 15 18 9' fill='none' stroke='%23888' stroke-width='2'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.25rem;
    padding-right: calc(1rem + 1rem);
    text-overflow: ellipsis;
    white-space: nowrap;
}

select:disabled {
    color: #888;
    background-color: #f5f5f5;
    border-color: #ddd;
    background-image: none; /* Hide arrow */
    cursor: auto;
}

select, button, a {
    cursor: pointer;
}

button:disabled {
    cursor: auto;
    background: var(--atlantis-darkgrey);
    border: 2px solid var(--atlantis-darkgrey);
}

#modalDialogBackground,
#modalLoadingOverlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.3);
}
#modalLoadingOverlay {
    z-index: 999999 !important;
}

#deselect_button{
    float: right;
}

table {
    border-collapse: collapse;
}

th {
    text-align: left;
    line-height: 2.5rem;
}

td {
    line-height: 2.5rem;
}

/* Hinweis- und Ja/Nein-Dialoge (promptAlertBox, promptConfirmBox, swaxSessionExpired in global.js):
   der Text steht in einer Tabelle und erbte sonst die 2.5rem oben -- 35 px Zeilenabstand bei
   15 px Schrift. vertical-align fuer beide Zellen: nur so steht das Warnsymbol neben der ersten
   Zeile -- haengt es allein oben, sinkt einzeiliger Text wegen des Symbol-Margins unter das Symbol. */
.alertBox td {
    line-height: 1.5;
    vertical-align: top;
}

.sorting_asc {
    background: url('../images/sort_asc.png') no-repeat center right;
    padding-right: 1rem;
}

.sorting_desc {
    background: url('../images/sort_desc.png') no-repeat center right;
    padding-right: 1rem;
}

.sorting_no {
    background: no-repeat center right;
    padding-right: 1rem;

}

.sorting {
    background: url('../images/sort_both.png') no-repeat center right;
    padding-right: 1rem;

}
.sorting .bezeichnung10 {width: 100px;}

.sorting_disabled {
    background-color: white;
}

.sorting_asc_disabled {
    background: url('../images/sort_asc_disabled.png') no-repeat center right;
}

.sorting_desc_disabled {
    background: url('../images/sort_desc_disabled.png') no-repeat center right;
}

/* TableDesign */
.textbausteinDialog thead tr,
.notenerfassung thead tr,
#textbausteinDialog thead tr,
#zeugnisFormularDialog thead tr,
#notenerfassungZeugnissTable thead tr,
#fileTable thead tr,
#nok_bem_table_wrapper thead tr,
#nok_aust_table_wrapper thead tr,
#nok_zusatz_table_wrapper thead tr,
#nok_fach_table_wrapper thead tr,
#admin_anmeld_var_table_wrapper thead tr,
#translationTable_wrapper thead tr,
#admin_anmeld_form_reiter_table_wrapper thead tr,
#admin_anmeld_form_feld_table_wrapper thead tr,
#documentTable thead tr,
#documentUploadTable thead tr,
#aswPreviewTable thead tr,
#webFormTable thead tr,
#webFormFieldTable thead tr,
#notenSystemSuggestionsTable thead tr,
.abwesenheitInfoEntryTable thead tr,
.notenerkopf thead tr,
#translationTable thead tr,
#adminInfoScreenCardTable thead tr,
#wdvlTable thead tr {
    height: 2rem;
    background-color: #DDDDDD;
}

body:not(.isMobile) #notenerfassungZeugnissTable_wrapper .DTFC_LeftBodyWrapper .rowBackgroundHover td,
body:not(.isMobile) .rowBackgroundHover tbody tr:hover,
body:not(.isMobile) .notenerkopf tbody tr:hover,
body:not(.isMobile) table.abwesenheiten tr:hover,
body:not(.isMobile) table.abwBemRowHighlight tr:hover,
body:not(.isMobile) #noten-einzel tbody tr:hover,
body:not(.isMobile) #noten-zeugnis tbody tr:hover,
body:not(.isMobile) .notenZeugnisInfoTable tbody tr:hover,
body:not(.isMobile) #translationTable_wrapper tbody tr:hover,
body:not(.isMobile) #documentTable tbody tr:hover,
body:not(.isMobile) #documentUploadTable tbody tr:hover,
body:not(.isMobile) #aswPreviewTable tbody tr:hover,
body:not(.isMobile) #webFormTable tbody tr:hover,
body:not(.isMobile) #webFormFieldTable tbody tr:hover,
body:not(.isMobile) #notenSystemSuggestionsTable tbody tr:hover,
body:not(.isMobile) #translationTable tbody tr:hover,
body:not(.isMobile) #textbausteinUnterrichtsstoffDialogDT tbody tr:hover {
    background-color: #E2E2E2;
}

.textbausteinDialog .selected_DataTableRow,
#fileTable .selected_DataTableRow,
#adminInfoScreenCardTable .selected_DataTableRow,
#admin_anmeld_var_table .selected_DataTableRow,
#admin_anmeld_form_reiter_table .selected_DataTableRow,
#admin_anmeld_form_feld_table .selected_DataTableRow,
#webFormTable .selected_DataTableRow,
#suchergebnis .selected_DataTableRow,
.listTable .selected_DataTableRow,
#webFormFieldTable .selected_DataTableRow,
#subjectSelectTableNOEE .selected_DataTableRow,
#classSelectTableNOEE .selected_DataTableRow,
#classSelectTable .selected_DataTableRow,
#combiClassSelectTable .selected_DataTableRow,
#courseSelectTable .selected_DataTableRow,
#notenerfassung_Zeugnistyp .selected_DataTableRow,
#notenerfassung_Fach .selected_DataTableRow,
#notenkopf_Zeugnistyp .selected_DataTableRow,
#abwesenheitPU_grund .selected_DataTableRow,
#abwesenheitPU_block .selected_DataTableRow,
#zeugnisFormularDialogDT .selected_DataTableRow,
#facharbeitBetriebDialogDT .selected_DataTableRow,
#wdvlTable .selected_DataTableRow,
#schoolSelectTable .selected_DataTableRow {
    background-color: var(--atlantis-lightgrey);
}

/* Fachfarben-Hintergrund bei ausgewählten Zeilen überschreiben (Kind-Elemente überdecken sonst den TR-Hintergrund) */
#courseSelectTable .selected_DataTableRow .fachfarbe,
#courseSelectTable .selected_DataTableRow td.fachfarbe,
#notenerfassung_Fach .selected_DataTableRow .fachfarbe,
#notenerfassung_Fach .selected_DataTableRow td.fachfarbe,
#subjectSelectTableNOEE .selected_DataTableRow .fachfarbe,
#subjectSelectTableNOEE .selected_DataTableRow td.fachfarbe {
    background-color: var(--atlantis-lightgrey);
    font-weight: bold;
}

.tableDesign td, .tableDesign th, .tableDesign1column td, .tableDesign1column th {
    /*border-right: 1px solid #C8CACC;*/
    white-space: nowrap;
    padding: 0 0.5rem;
}
.tableDesign td.sorting_asc, .tableDesign td.sorting_desc, .tableDesign td.sorting_no, .tableDesign td.sorting, .tableDesign td.sorting_disabled, .tableDesign td.sorting_asc_disabled, .tableDesign td.sorting_desc_disabled,
.tableDesign th.sorting_asc, .tableDesign th.sorting_desc, .tableDesign th.sorting_no, .tableDesign th.sorting, .tableDesign th.sorting_disabled, .tableDesign th.sorting_asc_disabled, .tableDesign th.sorting_desc_disabled,
.tableDesign1column td.sorting_asc, .tableDesign1column td.sorting_desc, .tableDesign1column td.sorting_no, .tableDesign1column td.sorting, .tableDesign1column td.sorting_disabled, .tableDesign1column td.sorting_asc_disabled, .tableDesign1column td.sorting_desc_disabled,
.tableDesign1column th.sorting_asc, .tableDesign1column th.sorting_desc, .tableDesign1column th.sorting_no, .tableDesign1column th.sorting, .tableDesign1column th.sorting_disabled, .tableDesign1column th.sorting_asc_disabled, .tableDesign1column th.sorting_desc_disabled  {
    padding: 0 1rem 0 10px;
}

.tableDesign td:first-child, .tableDesign th:first-child, .tableDesign1column td:first-child, .tableDesign1column th:first-child,
.searchResultTable td:first-child {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}
.tableDesign td:last-child, .tableDesign th:last-child, .tableDesign1column td:last-child, .tableDesign1column th:last-child,
.searchResultTable td:last-child {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.tableDesign td:last-of-type, .tableDesign th:last-of-type {
    border-right: 0;
}

.tableDesign, .tableDesign1column {
    border-spacing: 0;
}

.fileDownloadLink {
    color: var(--atlantis-blue-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.fileDownloadLink:hover {
    text-decoration: underline;
}

.fileDownloadIcon {
    width: 1rem;
    height: 1rem;
    transform: rotate(90deg);
}

.selectedRowBlue {
    background-color: var(--atlantis-blue);
    color: white;
}

.tableRowHeight td {
    padding-top: 6px;
    padding-bottom: 4px;
}

.trHidden {
    display: none;
}

.dataTables_filter input {
    margin-left: 1rem;
}

.dataTables_scroll {
    margin-top: 1rem;
}

#genericFilteredSelectionContainer th, #genericFilteredSelectionContainer td {
    border-right: unset;
}

/* adjustment for dataTables with fixedColumns */
#notenkopf .DTFC_LeftBodyLiner table,
#bemerkungen .DTFC_LeftBodyLiner table,
#schulen_satz .DTFC_LeftBodyLiner table,
#zusatzabschluss .DTFC_LeftBodyLiner table,
#facharbeiten .DTFC_LeftBodyLiner table {
    width: 99% !important;
    border-right: 1px solid #C8CACC;
}

.lupe_input, .hasDatepicker  {
    padding-right: calc(1rem + 2rem);
    text-overflow: ellipsis;
    white-space: nowrap;
}

#ta_text_vorschau, #ta_text_vorschau_ut, #ta_text_vorschau_ha {
    width: 100%;
    line-height: 1.8rem;
    height: 4.7rem;
    resize: none;
}

/*.dataTables_scrollHeadInner, .dataTables_scrollHeadInner table {
    width: 100%;
}*/

#left {
    width: 200px;
    height: calc(100vh - 90px - 1vh);
    margin-left: 1vw;
    float: left;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}
#container100w #left {
    width:250px;
}
#page_auswertungen #container100w #left,
#page_auswertungenAtlLists #container100w #left {
    width: 320px;
}
body.isMobile #head {
    position: sticky;
    top: 0;
    z-index: 200;
    background: white;
    box-shadow: 0 -4px 0 4px white;
}
body.isMobile #left {
    float: unset;
    width: calc(100% - 0.5rem) !important;
    margin-top: unset;
    margin-left: unset;
    position: fixed;
    top: var(--mobile-panel-top, 115px);
    left: -100%;
    height: calc(100vh - var(--mobile-panel-top, 115px) - 0.5rem);
    z-index: 100;
    background: white;
    overflow: hidden;
    transition: left 0.25s ease;
    padding: 0.25rem;
}
body.isMobile #left.pupilListExpanded {
    left: 0;
}

#pupilListToggle {
    display: none;
}
#pupilListToggleRow {
    display: none;
}
body.isMobile #pupilListToggleRow {
    position: sticky;
    top: var(--mobile-header-height, 80px);
    padding-bottom: 0.25rem;
    z-index: 101;
    width: 100%;
    height: 2.5rem;
    background-color: white;
    border-bottom: 1px solid var(--atlantis-darkgrey);
}
body.isMobile #pupilListToggle {
    width: fit-content;
    margin: 0 0.5rem;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0 1rem;
    box-sizing: border-box;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    background-color: var(--atlantis-lightgrey);
}
body.isMobile #pupilListToggle.pupilListExpanded {
    width: calc(100% - 1rem);
    justify-content: space-between;
}
#pupilListToggleIcon {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.4rem 0.55rem 0.4rem 0;
    border-color: transparent var(--atlantis-anthracite) transparent transparent;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
#pupilListToggle.pupilListExpanded #pupilListToggleIcon {
    transform: rotate(-90deg);
}

#left select, #left input:not([type='checkbox']) {
    width: 100%;
}

.ui-datepicker-trigger,
.lupe, .printIcon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.printIcon {
    height: 16px;
}

td:has(> .printIcon) {
    position: relative;
}

#outerMain {
    margin-left: calc(250px + 2vw);
    padding-left: 5px;
    min-width: 600px;
    min-height: 480px;
}
#page_auswertungen #outerMain {
    margin-left: calc(1vw + 320px + 1rem);
}
body.isMobile #outerMain {
    margin-left: unset;
    padding-left: unset;
    min-width: unset;
}
body.isMobile #fixedPupilList {
    padding: 0.5rem;
    box-sizing: border-box;
}
body.isMobile #pupilTabs {
    position: sticky;
    top: var(--mobile-panel-top, 115px);
    z-index: 50;
    background: white;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body.isMobile #pupilTabs::-webkit-scrollbar {
    display: none;
}
body.isMobile #pupilTabs li {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Force visible scrollbars on macOS/iOS, where overlay scrollbars are hidden
   by default and users can't tell a container is scrollable. body.showMacScollbars
   is set server-side when the User-Agent contains "Macintosh" (incl. iPadOS
   Safari in desktop mode). Restored after being dropped together with the old
   styles.css during the 2026 redesign. Apple-only: no effect on Windows/Android. */
body.showMacScollbars ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 0.375rem;
    height: 0.375rem;
}
body.showMacScollbars ::-webkit-scrollbar-thumb {
    border-radius: 0.375rem;
    background-color: rgba(0, 0, 0, 0.5);
}

#fixedPupilList.isFexedScrollElement {
    height: calc(100% - 1rem) !important;
}

#pupilTabs {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: white;
    z-index: 9;
    padding-left: 0;
}

.customDialogBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #00000016;
}

.customDialogBackground .dialogWindow {
    background-color: white;
    padding: 1rem;
    border: var(--atlantis-std-border);
    border-radius: 1rem;
    box-sizing: border-box;
}

.customDialogBackground .dialogHeader {
    height: 4rem;
    line-height: 1rem;
}

.customDialogBackground .dialogScrollable {
    height: calc(90vh - 2rem - 4rem);
}

.searchResultTable {
    width: 100%;
}

.searchResultTable tr.selected {
    background-color: var(--atlantis-lightgrey);
}

.searchResultTable td {
    padding: 0rem 1rem;
    line-height: 3rem;
    font-size: 1.2rem;
}

.italic {
    font-style: italic;
}

.textBlue {
    color: var(--atlantis-blue-text);
}

.columnWith10px {
    width: 10px;
}

.opacityZero {
    opacity: 0;
}

#toTopButton {
    position: fixed;
    right: 30px;
    bottom: 30px;
    cursor: pointer;
}

#saveSuccessfulBar {
    position: fixed;
    top: 0;
    right: 20px;
    width: 250px;
    height: 100vh;
    pointer-events: none;
}

.saveSuccessfulElement {
    position: absolute;
    top: -10vh;
    right: 0;
    width: 100%;
    height: 5vh;
    padding: 1vh;
    padding-right: 70px;
    z-index: 10000;
    transition-duration: 0.5s;
    background-color: white;
    border: var(--atlantis-std-border);
    background-image: url(../images/2025/check.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

#modalCursorWaitOverlay {
    cursor: wait;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
}

.icn-spinner {
  animation: spin-animation 0.90s infinite;
  display: inline-block;
}
@keyframes spin-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

.widthWrapContent {
    width: 1%;
}

div.swhTooltip {
    height: auto;
    width: auto;
    max-width: 50%;
    position: fixed;
    border: 0;
    font-family: Verdana,Arial,sans-serif;
    font-size: 1rem;
    border: 1px solid var(--atlantis-anthracite);
    z-index: 10000;
    border-radius: 1rem;
}

div.swhTooltipTitlebar {
    background: var(--atlantis-anthracite);
    font-weight: bold;
    color: white;
    line-height: 2.5rem;
    padding: 0rem 1rem 0rem 1rem;
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
}

div.swhTooltipContent {
    position: relative;
    overflow: auto;
    padding: 1rem 1rem 1rem 1rem;
    background: white;
    line-height: 1.5rem;
    min-height: 2rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

div.swhTooltipContentLONG {
    max-height: none !important;
}

div.swhTooltipProgress {
    background: white;
    position: relative;
    text-align: center;
}

div.swhTooltipFooter {
    padding: 0rem 1rem 0rem 1rem;
    background: white;
    position: relative;
}

div.swhTooltipCorner {
    background: url(../images/icons/tooltip_corner.png) no-repeat;
    display: block;
    margin-top: 1px;
    height: 16px;
    position: absolute;
    width: 16px;
    z-index: -1;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border: 1px solid var(--atlantis-anthracite);
}

div.swhTooltipCornerLeft {
    left: -8px;
}

div.swhTooltipCornerRight {
    right: -8px;
}

div.swhTooltipCornerTop {
    top: -11px;
    left: 1rem;
}

div.swhTooltipCornerBottom {
    bottom: -8px;
    left: 1rem;
}

td.swhTooltip_NEI_labelTd {
    font-weight: bold;
}

td.swhTooltip_NEI_valueTd {
    padding-left: 20px;
}

.dialogWindow {
    background-color: white;
    border: 1px solid var(--atlantis-anthracite);
    border-radius: 1rem;
}

.dialogWindow .dialogWindowTitle {
    padding: 1rem;
    background-color: var(--atlantis-anthracite);
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

.dialogWindow .dialogWindowTitle .dialogWindowTitleText {
    margin-right: 3rem;
}

.dialogWindow .dialogWindowTitle img {
    border: 1px solid transparent;
}
.dialogWindow .dialogWindowTitle img:hover {
    border: 1px solid white;
    border-radius: 50%;
}

.dialogWindow .dialogScrollable {
    padding: 0.5rem 1rem;
}

.dialogWindow .dialogWindowFooter {
    padding: 0rem 1rem 1rem 1rem;
}

.heightFillAvailable {
    height: -webkit-fill-available;
    height: -moz-available;
}

.loadmask {
    z-index: 100;
    position: absolute;
    top:0;
    left:0;
    -moz-opacity: 0.5;
    opacity: .50;
    filter: alpha(opacity=50);
    background-color: #CCC;
    width: 100%;
    height: 100%;
    zoom: 1;
}
.loadmask-msg {
    z-index: 20001;
    position: absolute;
    border: 2px solid var(--atlantis-anthracite);
    border-radius: 1rem;
    background: white;
    padding: 1rem;
}
.loadmask-msg div {
    padding-left: 2rem;
    background: white url('../images/loading.gif') no-repeat 2px 50%;
    background-size: 1.25rem auto;
    cursor: wait;
}

#fixedPageContainer {
    height: calc(100vh - 80px);
    box-sizing: border-box;
    padding: 1vh 1vw;
    overflow: hidden;
}

#suchergebnisScroller {
    overflow-y: auto;
    flex-grow: 1;
    min-height: 0;
    margin: 1rem 0 0.5rem 0;
}

#suchergebnis {
    width: 100%;
    table-layout: fixed;
}

#suchergebnisCount {
    font-size: 0.8rem;
    line-height: 1;
    text-align: right;
}

.pupil_ausgetreten{
    text-decoration: line-through;
    color: var(--atlantis-darkgrey);
}

.pupil_not_active{
    color: var(--atlantis-darkgrey);
}

.letzteZelleBreiter td:last-child,
.letzteZelleBreiter th:last-child{
    width:150px;
    margin:0;
    padding:0;
    height:22px;
    text-align:left;

}

.ersteZeileWeiss tr:first-child th{
    background:white;

}
.ersteZelleWeiss th:first-child {
    background:white;
    text-align:left;
    /*width:100px;*/
    margin:0;
    padding:0;
    height:22px;
}

.breitereZellen th, .breitereZellen td:not(:first-child){text-align:center;}
.breitereZellen td.name,.breitereZellen th.name {width: 200px; white-space: nowrap}

.breitereZellen td,
.breitereZellen th{border:1px solid ;width: 32px;white-space: normal;}

.breitereZellen input,
.breitereZellen td {
    margin:0;
    padding:0;

}

div.infoIcon {
    height: 16px;
    width: 16px;
    background: url(../images/icons/icon_info.png) no-repeat;
}

body:not(.isMobile) div.infoIcon:hover {
    background: url(../images/icons/icon_info_highlight.png) no-repeat;
}

.adminInfoIcon {
    display: inline-block;
    margin-bottom: -3px;
    margin-left: 5px;
    height: 14px;
    width: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../images/icons/icon_info.png);
    cursor: pointer;
}

body:not(.isMobile) .adminInfoIcon:hover {
    background-image: url(../images/icons/icon_info_highlight.png);
}

#classSelectTable,
#courseSelectTable,
#notenerfassung_Zeugnistyp,
#notenerfassung_Fach {
    width: 100%;
}

.datepicker_abwesenheit{
    position: absolute;
    left: 360px;
    top: 145px;
    z-index: 2;
}

.dayChangerIcons {
    font-size: 3rem;
    font-weight: 600;
    width: 5vw;
    text-align: center;
    margin-top: -0.2rem;
}
.dayChangerIcons:hover {
    font-weight: 300;
}

.colorRed {
    color: red;
}

/* Legacy block for Atlantis < V4.26.01 canteen settings — visually subdued. */
.legacyCanteenBlock {
    color: var(--atlantis-darkgrey);
}

.legacyCanteenBlockHint {
    font-size: 0.75rem;
    color: var(--atlantis-darkgrey);
    margin-top: 0.25rem;
}

/* Hinweisbanner ueber dem Anmeldeformular (kein Javascript, nicht unterstuetzter Browser).
   Loest die frueheren Inline-Styles mit fester Breite und 20px-Schrift ab. */
.atlNoticeBanner {
    max-width: 36rem;
    margin: 1rem auto;
    padding: 0.75rem 1rem;
    border: 2px solid var(--atlantis-red);
    border-radius: 1rem;
    background: var(--atlantis-red-trans);
    color: var(--atlantis-red-text);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

body.isMobile .atlNoticeBanner {
    margin: 0.75rem;
}

/* === Upload-Fortschritt „Bullauge" (fileUpload.js) === */
/* App-weite Komponente, gezeichnet von createUploadProgress() in fileUpload.js (Task 2026-10-27_upload-in-stuecken).
   Modul-Anker: jeder Selektor beginnt mit .uplProgress bzw. .uplProgressBackdrop (Klassen gibt es sonst nirgends).
   Mobil nur ueber body.isMobile, kein @media, kein !important; ab 3px rem. Animiert werden nur transform und
   opacity. Bewegung reduzieren: Klasse .uplProgressCalm (setzt das JS aus prefers-reduced-motion). */

.uplProgress {
    --upl-size: 4rem;
    --upl-water: var(--atlantis-blue-text);
    --upl-water-back: var(--atlantis-blue-opaque);
    --upl-track: var(--atlantis-lightgrey);
    --upl-orbit: var(--atlantis-blue-text);
    position: relative;
    box-sizing: border-box;
    color: var(--atlantis-anthracite);
    font-family: arial, sans-serif;
    font-size: 1rem;
    line-height: 1.35;
    text-align: left;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.uplProgress.uplProgressShown {
    opacity: 1;
}
.uplProgress *,
.uplProgress *::before,
.uplProgress *::after {
    box-sizing: border-box;
}

/* ------------------------------------------------------------------ Messgeraet: Bullauge mit Wasser */

.uplProgress .uplProgressGauge {
    position: relative;
    flex: 0 0 auto;
    width: var(--upl-size);
    height: var(--upl-size);
}

/* Das Gefaess: runde Rinne, in der das Wasser steigt. isolation: Safari clippt transformierte Kinder sonst
   nicht an den runden Ecken. */
.uplProgress .uplProgressVessel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
    background-color: var(--upl-track);
    isolation: isolate;
}

/* Wasserstand = translateY (0 % voll, 100 % leer); das JS setzt nur transform. */
.uplProgress .uplProgressWater {
    position: absolute;
    inset: 0;
    transform: translateY(100%);
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

/* Eine Welle = Wellenband (SVG, zwei Perioden je Gefaessbreite) + Wasserkoerper darunter. 200 % breit,
   wandert um -50 % und setzt nahtlos wieder an. Die Mittellinie der Welle liegt auf dem Wasserstand. */
.uplProgress .uplProgressWave {
    position: absolute;
    left: 0;
    top: calc(var(--upl-size) * -0.08);
    width: 200%;
    color: var(--upl-water);
    animation: uplProgressDrift 3.2s linear infinite;
}
.uplProgress .uplProgressWave svg {
    display: block;
    width: 100%;
    height: calc(var(--upl-size) * 0.16);
    fill: currentColor;
}
.uplProgress .uplProgressWave::after {
    content: "";
    display: block;
    width: 100%;
    height: calc(var(--upl-size) * 1.1);
    margin-top: -1px;
    background-color: currentColor;
}
.uplProgress .uplProgressWaveBack {
    top: calc(var(--upl-size) * -0.12);
    color: var(--upl-water-back);
    animation-duration: 5.4s;
    animation-direction: reverse;
}

@keyframes uplProgressDrift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Der Kern: weisse Scheibe ("Glas" des Bullauges) mit Prozent bzw. Symbol -- Text steht immer auf Weiss. */
.uplProgress .uplProgressCore {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 1px 2px color-mix(in srgb, var(--atlantis-anthracite) 30%, transparent);
}

.uplProgress .uplProgressPercent,
.uplProgress .uplProgressIcon {
    position: absolute;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.uplProgress .uplProgressPercent {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: max(0.8rem, calc(var(--upl-size) * 0.2));
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: var(--atlantis-anthracite);
}
.uplProgress .uplProgressIcon {
    inset: 26%;
    width: 48%;
    height: 48%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}
.uplProgress .uplProgressIconArrow {
    color: var(--atlantis-blue-text);
}
.uplProgress .uplProgressIconRetry,
.uplProgress .uplProgressIconOffline {
    color: var(--atlantis-anthracite);
}
.uplProgress .uplProgressIconCheck {
    color: var(--atlantis-ampel-gruen);
    stroke-width: 3;
}
.uplProgress .uplProgressIconAlert {
    color: var(--atlantis-red-text);
    stroke-width: 3;
}
.uplProgress .uplProgressIconArrow .uplProgressBob {
    transform-box: fill-box;
    animation: uplProgressBob 1.4s ease-in-out infinite;
    animation-play-state: paused;
}

@keyframes uplProgressBob {
    0%, 100% {
        transform: translateY(8%);
    }
    50% {
        transform: translateY(-8%);
    }
}

/* Drei Punkte "Server arbeitet" */
.uplProgress .uplProgressDots {
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9%;
}
.uplProgress .uplProgressDots span {
    width: 12%;
    height: 12%;
    border-radius: 50%;
    background-color: var(--atlantis-blue-text);
    animation: uplProgressDot 1.2s ease-in-out infinite;
    animation-play-state: paused;
}
.uplProgress .uplProgressDots span:nth-child(2) {
    animation-delay: 0.15s;
}
.uplProgress .uplProgressDots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes uplProgressDot {
    0%, 70%, 100% {
        opacity: 0.35;
        transform: scale(0.8);
    }
    35% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Welches Element der Kern zeigt */
.uplProgress[data-state="prepare"] .uplProgressIconArrow,
.uplProgress[data-state="upload"] .uplProgressPercent,
.uplProgress[data-state="retry"]:not([data-offline="1"]) .uplProgressIconRetry,
.uplProgress[data-state="retry"][data-offline="1"] .uplProgressIconOffline,
.uplProgress[data-state="process"] .uplProgressDots,
.uplProgress[data-state="done"] .uplProgressIconCheck,
.uplProgress[data-state="error"] .uplProgressIconAlert {
    opacity: 1;
    transform: scale(1);
}
/* Pfeil und Punkte laufen nur, solange ihr Symbol zu sehen ist (sonst unsichtbar weiter, wie die Umlaufbahn) */
.uplProgress[data-state="prepare"] .uplProgressIconArrow .uplProgressBob,
.uplProgress[data-state="process"] .uplProgressDots span {
    animation-play-state: running;
}

/* Umlaufbahn: duenner Bogen um das Bullauge, wenn die Dauer unbestimmt ist (Vorbereiten, Verarbeiten,
   Warten auf die Verbindung). */
.uplProgress .uplProgressOrbit {
    position: absolute;
    inset: calc(var(--upl-size) * -0.08);
    border: 2px solid transparent;
    border-top-color: var(--upl-orbit);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: uplProgressSpin 1.1s linear infinite;
    animation-play-state: paused;
}
.uplProgress[data-state="prepare"] .uplProgressOrbit,
.uplProgress[data-state="process"] .uplProgressOrbit,
.uplProgress[data-state="retry"] .uplProgressOrbit {
    opacity: 1;
    animation-play-state: running;
}
.uplProgress[data-state="retry"] .uplProgressOrbit {
    border-top-color: var(--atlantis-anthracite);
    animation-duration: 2.6s;
}

@keyframes uplProgressSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Unterbrochen: Wasser haelt den Atem an (Wellen stehen, Wasser pulsiert leise). Verarbeiten und fertig: das
   Gefaess ist voll, die Wellen liegen ausserhalb und stehen ebenfalls. */
.uplProgress[data-state="retry"] .uplProgressWave,
.uplProgress[data-state="process"] .uplProgressWave,
.uplProgress[data-state="done"] .uplProgressWave {
    animation-play-state: paused;
}
.uplProgress[data-state="retry"] .uplProgressWater {
    animation: uplProgressBreathe 2.4s ease-in-out infinite;
}

@keyframes uplProgressBreathe {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.45;
    }
}

/* Fertig: Kern federt einmal, eine Welle laeuft wie ein Tropfen nach aussen. */
.uplProgress .uplProgressRipple {
    position: absolute;
    inset: 0;
    border: 2px solid var(--upl-water);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}
.uplProgress[data-state="done"] .uplProgressRipple {
    animation: uplProgressRipple 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s 1 both;
}
.uplProgress[data-state="done"] .uplProgressCore {
    animation: uplProgressPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1;
}

@keyframes uplProgressRipple {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

@keyframes uplProgressPop {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

/* Fehler: Wasser wird rot und steht still. */
.uplProgress[data-state="error"] {
    --upl-water: var(--atlantis-red-text);
    --upl-water-back: var(--atlantis-red);
}
.uplProgress[data-state="error"] .uplProgressWave {
    animation-play-state: paused;
}
/* Ohne gespeicherten Stand kein roter Wellenkamm am Boden des leeren Bullauges */
.uplProgress.uplProgressEmpty[data-state="error"] .uplProgressWater {
    visibility: hidden;
}

/* ------------------------------------------------------------------ Texte und Knoepfe */

.uplProgress .uplProgressText {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.uplProgress .uplProgressTitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--atlantis-anthracite);
}
.uplProgress[data-state="error"] .uplProgressTitle {
    color: var(--atlantis-red-text);
}
.uplProgress .uplProgressFile {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.uplProgress .uplProgressDetail {
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    color: color-mix(in srgb, var(--atlantis-anthracite) 85%, white);
    white-space: pre-line;
    text-wrap: pretty;
}
/* Grosse Schrift bzw. Zoom: lange Woerter brechen um statt aus der Karte zu laufen (ohne Silbentrennung, die
   trennte schon bei normaler Schrift) */
.uplProgress .uplProgressTitle,
.uplProgress .uplProgressDetail {
    overflow-wrap: anywhere;
}
.uplProgress .uplProgressFile:empty,
.uplProgress .uplProgressDetail:empty {
    display: none;
}
/* Ansage fuer Screenreader (Zustandswechsel, im Fehler mit dem Grund): unsichtbar, aber vorgelesen */
.uplProgress .uplProgressLive {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.uplProgress .uplProgressActions {
    display: none;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.uplProgress[data-state="error"] .uplProgressActions {
    display: flex;
}
.uplProgress .uplProgressActions .ui_like_button {
    min-width: 8rem;
}
/* Tastatur-Fokus sichtbar (app-weit nimmt button:focus den Umriss weg, die Karte setzt den Fokus selbst) */
.uplProgress .uplProgressActions .ui_like_button:focus-visible {
    outline: 2px solid var(--atlantis-anthracite);
    outline-offset: 2px;
}

/* ------------------------------------------------------------------ (a) blockierend ueber der Seite */

/* Ueber #head (200), customDialog (10) und jQuery-UI-Dialogen, unter #modalLoadingOverlay (999999). Die Karte
   steht ueber margin: auto mittig; ist sie hoeher als der sichtbare Ausschnitt (grosse Schrift, Zoom), wird die
   Margin 0, die Ebene scrollt und der Anfang der Karte bleibt erreichbar. */
.uplProgressBackdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem;
    background-color: color-mix(in srgb, var(--atlantis-anthracite) 30%, transparent);
    cursor: wait;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.uplProgressBackdrop.uplProgressShown {
    opacity: 1;
}
.uplProgressBackdrop[data-state="error"] {
    cursor: default;
}
/* "Hochgeladen" steht noch kurz da, die Seite ist aber schon wieder bedienbar. */
.uplProgressBackdrop[data-state="done"] {
    cursor: default;
    pointer-events: none;
}
.uplProgress[data-variant="overlay"] {
    --upl-size: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 24rem;
    max-width: 100%;
    margin: auto 0;
    padding: 2rem 1.5rem 1.5rem;
    border: 1px solid var(--atlantis-anthracite);
    border-radius: 1rem;
    background-color: white;
    text-align: center;
    opacity: 1;
    transform: translateY(0.75rem);
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.uplProgressBackdrop.uplProgressShown .uplProgress[data-variant="overlay"] {
    transform: translateY(0);
}
.uplProgress[data-variant="overlay"] .uplProgressText {
    align-items: center;
    width: 100%;
}
.uplProgress[data-variant="overlay"] .uplProgressActions {
    justify-content: center;
    width: 100%;
    margin-top: -0.25rem;
}
.uplProgress[data-variant="overlay"]:focus {
    outline: none;
}

/* ------------------------------------------------------------------ (b) eingebettet in Dialog/Formular */

.uplProgress[data-variant="inline"] {
    --upl-size: 4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background-color: var(--atlantis-blue-trans);
}
.uplProgress[data-variant="inline"][data-state="error"] {
    background-color: var(--atlantis-red-trans);
}
/* Text neben dem Bullauge; bei grosser Schrift darunter */
.uplProgress[data-variant="inline"] .uplProgressText {
    flex: 1 1 10rem;
}

/* ------------------------------------------------------------------ (c) kompakt in der Chat-Blase */

/* Ueber dem Vorschaubild: abgedunkeltes Bild, Bullauge mittig. */
.uplProgress[data-variant="compact"] {
    --upl-size: 4rem;
    --upl-track: color-mix(in srgb, white 70%, transparent);
    --upl-orbit: white;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: color-mix(in srgb, var(--atlantis-anthracite) 35%, transparent);
    border-radius: inherit;
}
.uplProgress[data-variant="compact"] .uplProgressText {
    display: none;
}
.uplProgress[data-variant="compact"][data-state="done"] {
    background-color: transparent;
}

/* Mini: Ring um das Dokument-Symbol der Datei-Karte. Ohne Kern (das Symbol bleibt sichtbar), die Maske laesst
   nur die Rinne stehen. Weisses Wasser auf der Karte der eigenen Blase (5,0:1). */
.uplProgress[data-variant="mini"] {
    --upl-size: 3rem;
    --upl-water: white;
    --upl-water-back: color-mix(in srgb, white 55%, transparent);
    --upl-track: color-mix(in srgb, white 20%, transparent);
    --upl-orbit: white;
    position: absolute;
    top: calc(50% - 1.5rem);
    left: 0.25rem;
    background-color: transparent;
}
.uplProgress[data-variant="mini"] .uplProgressVessel {
    -webkit-mask-image: radial-gradient(circle closest-side, transparent 73%, black 75%);
    mask-image: radial-gradient(circle closest-side, transparent 73%, black 75%);
}
.uplProgress[data-variant="mini"] .uplProgressCore,
.uplProgress[data-variant="mini"] .uplProgressText {
    display: none;
}
/* Unterbrochen bleibt die Umlaufbahn weiss -- Anthrazit hat auf der Karte der eigenen Blase nur 2,3:1; den Zustand
   nennt die Kartenzeile (mailbox.js) */
.uplProgress[data-variant="mini"][data-state="retry"] .uplProgressOrbit {
    border-top-color: var(--upl-orbit);
}

/* ------------------------------------------------------------------ Mobil */

/* Blockierend: als Leiste am unteren Rand (Daumenbereich, margin-top: auto), Bullauge links, Text rechts; im
   Querformat nicht ueber die volle Breite. */
body.isMobile .uplProgressBackdrop {
    padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
}
body.isMobile .uplProgress[data-variant="overlay"] {
    --upl-size: 4.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    max-width: 36rem;
    margin: auto 0 0;
    padding: 1.25rem 1rem;
    text-align: left;
    transform: translateY(1.5rem);
}
/* Text neben dem Bullauge; bei grosser Schrift darunter */
body.isMobile .uplProgress[data-variant="overlay"] .uplProgressText {
    flex: 1 1 10rem;
    align-items: flex-start;
}
body.isMobile .uplProgress .uplProgressDetail {
    font-size: 1rem;
}
/* Knoepfe mobil ueber die ganze Breite der Leiste, gleich breit; bei grosser Schrift untereinander */
body.isMobile .uplProgress[data-variant="overlay"] .uplProgressActions {
    margin-top: 0.25rem;
}
body.isMobile .uplProgress[data-variant="overlay"] .uplProgressActions .ui_like_button {
    flex: 1 1 9rem;
    min-width: 0;
}
/* Touch-Ziele mindestens 44 px */
body.isMobile .uplProgress .uplProgressActions .ui_like_button {
    min-height: 3.15rem;
}
body.isMobile .uplProgress[data-variant="inline"] {
    --upl-size: 3.75rem;
    gap: 0.75rem;
    padding: 0.75rem;
}

/* ------------------------------------------------------------------ Bewegung reduzieren */

.uplProgress.uplProgressCalm .uplProgressWave,
.uplProgress.uplProgressCalm .uplProgressDots span,
.uplProgress.uplProgressCalm .uplProgressBob,
.uplProgress.uplProgressCalm .uplProgressOrbit,
.uplProgress.uplProgressCalm[data-state="retry"] .uplProgressWater,
.uplProgress.uplProgressCalm[data-state="done"] .uplProgressRipple,
.uplProgress.uplProgressCalm[data-state="done"] .uplProgressCore {
    animation: none;
}
.uplProgress.uplProgressCalm .uplProgressWater,
.uplProgress.uplProgressCalm .uplProgressPercent,
.uplProgress.uplProgressCalm .uplProgressIcon {
    transition: none;
}
/* Ohne Drehung: unbestimmte Dauer als ruhender, gestrichelter Kreis */
.uplProgress.uplProgressCalm .uplProgressOrbit {
    border: 2px dashed var(--upl-orbit);
}
.uplProgress.uplProgressCalm[data-state="retry"] .uplProgressOrbit {
    border-color: var(--atlantis-anthracite);
}
.uplProgress.uplProgressCalm[data-variant="mini"][data-state="retry"] .uplProgressOrbit {
    border-color: var(--upl-orbit);
}
.uplProgress.uplProgressCalm[data-state="retry"] .uplProgressWater {
    opacity: 0.55;
}
/* Die Karte blendet nur ein, ohne hineinzugleiten */
.uplProgressBackdrop .uplProgress.uplProgressCalm[data-variant="overlay"] {
    transform: none;
    transition: none;
}

/* === Ende Upload-Fortschritt === */
