/* v0.13e_1 · Komponente Tabellen. style.css bleibt eingefroren. Hier noch keine Layoutregeln. */

/* A_028_1 · Seite Besatzübersicht: Tabellenregeln modular aus Tabellen-Komponente.
   Spaltenbreiten entsprechen dem vorhandenen Stand aus style.css; style.css bleibt unverändert. */
.seite-besatzuebersicht .livestock-overview-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

.seite-besatzuebersicht .livestock-overview-table th,
.seite-besatzuebersicht .livestock-overview-table td {
    border: 1px solid var(--border, #d5dde7);
    padding: 9px 10px;
    vertical-align: middle;
    background: var(--surface, #fff);
}

.seite-besatzuebersicht .livestock-overview-table thead th {
    background: var(--soft, #f6f8fb);
    font-weight: 800;
    text-align: left;
}

.seite-besatzuebersicht .livestock-overview-table th button {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.seite-besatzuebersicht .livestock-overview-table .number-cell {
    text-align: right;
    white-space: nowrap;
}

.seite-besatzuebersicht .livestock-overview-table.livestock-overview-table-v009h {
    width: 100%;
    min-width: 940px;
    table-layout: fixed;
    border-collapse: collapse;
}

.seite-besatzuebersicht .livestock-overview-table-v009h col.livestock-col-b-id { width: 5.5%; }
.seite-besatzuebersicht .livestock-overview-table-v009h col.livestock-col-tiergruppe { width: 13.5%; }
.seite-besatzuebersicht .livestock-overview-table-v009h col.livestock-col-scientific { width: 28%; }
.seite-besatzuebersicht .livestock-overview-table-v009h col.livestock-col-anzahl { width: 7.5%; }
.seite-besatzuebersicht .livestock-overview-table-v009h col.livestock-col-groesse { width: 7.5%; }
.seite-besatzuebersicht .livestock-overview-table-v009h col.livestock-col-besitz { width: 12%; }
.seite-besatzuebersicht .livestock-overview-table-v009h col.livestock-col-alter { width: 19%; }
.seite-besatzuebersicht .livestock-overview-table-v009h col.livestock-col-status { width: 7%; }

.seite-besatzuebersicht .livestock-overview-table-v009h th,
.seite-besatzuebersicht .livestock-overview-table-v009h td {
    box-sizing: border-box;
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.seite-besatzuebersicht .livestock-overview-table-v009h th button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.15;
}

.seite-besatzuebersicht .livestock-overview-table-v009h th.number-cell button,
.seite-besatzuebersicht .livestock-overview-table-v009h td.number-cell {
    text-align: right;
}

.seite-besatzuebersicht .livestock-overview-table-v009h th.livestock-col-b-id,
.seite-besatzuebersicht .livestock-overview-table-v009h td.livestock-col-b-id {
    width: auto;
    min-width: 0;
    max-width: none;
}

.seite-besatzuebersicht .livestock-overview-table-v009h td.livestock-col-b-id .aquarium-sequence-number-v009e {
    width: auto;
    min-width: 2ch;
}

.seite-besatzuebersicht .livestock-overview-table-v009h .livestock-overview-group-separator td {
    height: 8px;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-top: 2px solid #d4e3ec;
    background: #f8fbfd;
    line-height: 0;
}

.seite-besatzuebersicht .livestock-overview-table-v009i .livestock-overview-group-separator {
    display: none !important;
}

.seite-besatzuebersicht .livestock-overview-table-v009i tbody tr {
    border-top: 0;
}

.seite-besatzuebersicht .livestock-overview-v011b .livestock-overview-table-v009h td.livestock-col-alter,
.seite-besatzuebersicht .livestock-overview-v011b .livestock-overview-table-v009h th.livestock-col-alter,
.seite-besatzuebersicht .livestock-overview-v011b .livestock-overview-table-v009h td.livestock-col-status,
.seite-besatzuebersicht .livestock-overview-v011b .livestock-overview-table-v009h th.livestock-col-status {
    white-space: nowrap;
}

.seite-besatzuebersicht .livestock-overview-v011c .livestock-overview-table-v009h td.livestock-col-alter {
    text-align: right;
    white-space: nowrap;
}

.seite-besatzuebersicht .livestock-overview-v011c .livestock-overview-table-v009h th.livestock-col-alter button {
    text-align: right;
}

.seite-besatzuebersicht .livestock-overview-v011c .livestock-overview-table-v009h th.livestock-col-aquarium-id button,
.seite-besatzuebersicht .livestock-overview-v011c .livestock-overview-table-v009h td.livestock-col-aquarium-id,
.seite-besatzuebersicht .livestock-overview-v011c .livestock-overview-table-v009h th.livestock-col-return-v011a,
.seite-besatzuebersicht .livestock-overview-v011c .livestock-overview-table-v009h td.livestock-col-return-v011a {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h {
    table-layout: fixed;
    min-width: 1040px;
}

.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-b-id { width: 5%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-aquarium-id { width: 7%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-tiergruppe { width: 12%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-scientific { width: 24%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-anzahl { width: 6%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-groesse { width: 10%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-besitz { width: 12%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-alter { width: 17%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h col.livestock-col-status { width: 7%; }

.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-b-id { width: 5%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-aquarium-id { width: 7%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-tiergruppe { width: 12%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-scientific { width: 26%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-groesse { width: 8%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-besitz { width: 12%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-alter { width: 15%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-status { width: 9%; }
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-departure-table-v011b col.livestock-col-return-v011a { width: 6%; min-width: 82px; }

.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h th,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h td {
    overflow-wrap: normal;
    word-break: normal;
}

.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h th.livestock-col-groesse,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h td.livestock-col-groesse,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h th.livestock-col-besitz,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h td.livestock-col-besitz,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h th.livestock-col-status,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h td.livestock-col-status,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h th.livestock-col-return-v011a,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h td.livestock-col-return-v011a {
    white-space: nowrap;
}

.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h th.livestock-col-return-v011a,
.seite-besatzuebersicht .livestock-overview-v011e .livestock-overview-table-v009h td.livestock-col-return-v011a {
    min-width: 82px;
    text-align: center;
}

.seite-besatzuebersicht .livestock-overview-v011g .livestock-overview-table-v009h col.livestock-col-aquarium-id,
.seite-besatzuebersicht .livestock-overview-v011g .livestock-overview-table-v009h th.livestock-col-aquarium-id,
.seite-besatzuebersicht .livestock-overview-v011g .livestock-overview-table-v009h td.livestock-col-aquarium-id {
    display: none !important;
}

/* A_028_2 · Seite Besatz ändern: Tabellenregeln modular aus Tabellen-Komponente.
   Vorhandene Breiten bleiben erhalten; style.css bleibt unverändert. */
.seite-besatz-aendern .livestock-edit-position-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: 1rem;
}

.seite-besatz-aendern .livestock-edit-position-table th,
.seite-besatz-aendern .livestock-edit-position-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.seite-besatz-aendern .livestock-edit-position-table th {
    width: 11%;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}

.seite-besatz-aendern .livestock-edit-position-table td {
    width: 22%;
}

.seite-besatz-aendern .livestock-edit-position-table th:nth-child(3),
.seite-besatz-aendern .livestock-edit-position-table td:nth-child(4),
.seite-besatz-aendern .livestock-edit-position-table th:nth-child(5),
.seite-besatz-aendern .livestock-edit-position-table td:nth-child(6) {
    border-left: 1px solid var(--border);
}

@media (max-width: 900px) {
    .seite-besatz-aendern .livestock-edit-position-table {
        table-layout: auto;
        min-width: 900px;
    }

    .seite-besatz-aendern .livestock-edit-position-form {
        overflow-x: auto;
    }
}


/* A_028_3 · Seite Bestandsauswertung unter Besatz: Tabellenregeln modular abgesichert.
   Vorhandene Breiten bleiben seitenbezogen; style.css bleibt unverändert. */
.seite-bestandsauswertung main.container table {
    max-width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
}

.seite-bestandsauswertung main.container th,
.seite-bestandsauswertung main.container td {
    box-sizing: border-box;
}

/* A_028_4 · Seite Besatz-Becken-Übersicht: Tabellenregeln modular aus Tabellen-Komponente.
   Vorhandene Breiten entsprechen dem bisherigen Stand aus style.css; style.css bleibt unverändert. */
.seite-besatz-becken-uebersicht .livestock-aquarium-overview-page .table-wrap {
    margin-top: 18px;
}

.seite-besatz-becken-uebersicht .livestock-aquarium-overview-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    box-sizing: border-box;
}

.seite-besatz-becken-uebersicht .livestock-aquarium-overview-table th,
.seite-besatz-becken-uebersicht .livestock-aquarium-overview-table td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    vertical-align: middle;
    background: var(--surface);
    box-sizing: border-box;
}

.seite-besatz-becken-uebersicht .livestock-aquarium-overview-table thead th,
.seite-besatz-becken-uebersicht .livestock-aquarium-overview-table tfoot th,
.seite-besatz-becken-uebersicht .livestock-aquarium-overview-table tfoot td,
.seite-besatz-becken-uebersicht .livestock-overview-volume-row th,
.seite-besatz-becken-uebersicht .livestock-overview-volume-row td {
    background: var(--soft);
    font-weight: 700;
}

.seite-besatz-becken-uebersicht .livestock-overview-group-column {
    min-width: 260px;
    text-align: left;
}

.seite-besatz-becken-uebersicht .livestock-aquarium-overview-table .number-cell {
    text-align: center;
    white-space: nowrap;
}



/* A_032_0 · Seite Wunschbesatz: Tabellenregeln modular abgesichert.
   Vorhandene Breiten bleiben seitenbezogen; style.css bleibt unverändert. */
.seite-wunschbesatz main.container table {
    max-width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
}

.seite-wunschbesatz main.container th,
.seite-wunschbesatz main.container td {
    box-sizing: border-box;
}

/* A_033_0 · Seite Besatz-Suche: Tabellenregeln modular abgesichert.
   Vorhandene Breiten bleiben seitenbezogen; style.css bleibt unverändert. */
.seite-besatz-suche main.container table {
    max-width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
}

.seite-besatz-suche main.container th,
.seite-besatz-suche main.container td {
    box-sizing: border-box;
}

/* A_034_0 · Seite Zuchtliste: Tabellenregeln modular abgesichert.
   Vorhandene Breiten bleiben seitenbezogen; style.css bleibt unverändert. */
.seite-zuchtliste main.container table {
    max-width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
}

.seite-zuchtliste main.container th,
.seite-zuchtliste main.container td {
    box-sizing: border-box;
}



/* A_035_0 · Seite Futterübersicht: Tabellenregeln modular abgesichert.
   Vorhandene Breiten bleiben seitenbezogen; style.css bleibt unverändert. */
.seite-futteruebersicht main.container table {
    max-width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
}

.seite-futteruebersicht main.container th,
.seite-futteruebersicht main.container td {
    box-sizing: border-box;
}

/* A_051_33 · Seite Mein Tagebuch: Tabellenregeln modular aus Tabellen-Komponente.
   Spaltenbreiten in px nach Vorgabe: normale Ansicht und schmale Ansicht getrennt;
   Spalte Informationen nutzt die Restbreite. style.css bleibt unverändert. */
.seite-mein-tagebuch .diary-page .diary-table-wrap {
    overflow-x: auto;
    max-width: 100%;
}

.seite-mein-tagebuch .diary-page .diary-table {
    border-collapse: collapse;
    box-sizing: border-box;
}

.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r,
.seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d {
    width: 100%;
    table-layout: fixed;
}

.seite-mein-tagebuch .diary-page .diary-table th,
.seite-mein-tagebuch .diary-page .diary-table td {
    box-sizing: border-box;
    border: 1px solid var(--datatable-line, #d8e0ea);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    vertical-align: top;
}


.seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-beckenname {
    width: 130px;
}

.seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-datum {
    width: 90px;
}

.seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-thema {
    width: 120px;
}

.seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-art_des_eintrages {
    width: 130px;
}

.seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-aktion {
    width: 130px;
}

.seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-informationen {
    width: auto;
}

.seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d th.diary-col-beckenname,
.seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d td.diary-col-beckenname {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d td.diary-col-beckenname .aquarium-table-name {
    white-space: normal;
    overflow-wrap: anywhere;
}

.seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d th.diary-col-datum,
.seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d td.diary-col-datum {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    white-space: nowrap;
    text-align: center;
}

.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r th.diary-col-thema,
.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r td.diary-col-thema {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r th.diary-col-art_des_eintrages,
.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r td.diary-col-art_des_eintrages {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}

.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r th.diary-col-aktion,
.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r td.diary-col-aktion {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
}

.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r th.diary-col-informationen,
.seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r td.diary-col-informationen {
    width: auto;
    min-width: 0;
    max-width: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 720px) {
    .seite-mein-tagebuch .diary-page .diary-table-wrap {
        overflow-x: auto;
    }

    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r,
    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
    }

    .seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-beckenname {
        width: 90px;
    }

    .seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-datum {
        width: 55px;
    }

    .seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-thema {
        width: 80px;
    }

    .seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-art_des_eintrages {
        width: 90px;
    }

    .seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-aktion {
        width: 90px;
    }

    .seite-mein-tagebuch .diary-page .diary-table col.diary-colgroup-informationen {
        width: auto;
    }

    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d th.diary-col-beckenname,
    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d td.diary-col-beckenname {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
    }

    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d th.diary-col-datum,
    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v009d td.diary-col-datum {
        width: 55px;
        min-width: 55px;
        max-width: 55px;
    }

    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r th.diary-col-thema,
    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r td.diary-col-thema {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
    }

    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r th.diary-col-art_des_eintrages,
    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r td.diary-col-art_des_eintrages {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
    }

    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r th.diary-col-aktion,
    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r td.diary-col-aktion {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
    }

    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r th.diary-col-informationen,
    .seite-mein-tagebuch .diary-page .diary-table.diary-table-v008r td.diary-col-informationen {
        width: auto;
        min-width: 0;
        max-width: none;
    }
}

.seite-mein-tagebuch .diary-table .diary-col-art_des_eintrages .diary-scientific-wrap-v011g {
    display: inline-block;
    line-height: 1.15;
}



.seite-mein-tagebuch .diary-page .diary-date-header-v05133,
.seite-mein-tagebuch .diary-page .diary-date-value-v05133,
.seite-mein-tagebuch .diary-page .diary-main-topic-value-v05133 {
    display: inline-block;
    line-height: 1.15;
}

.seite-mein-tagebuch .diary-page .diary-date-header-v05133,
.seite-mein-tagebuch .diary-page .diary-date-value-v05133 {
    text-align: center;
    white-space: nowrap;
}

/* A_051_36 · Mein Tagebuch: harte Buchstabenumbrüche in gezielt getrennten Haupt-Thema-Werten verhindern. */
.seite-mein-tagebuch .diary-page .diary-main-topic-value-v05133 {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
}
