/* Überschrift */
.ws {
    color: #fff;
}

/* Tabelle */
table.ml-table { border-collapse: collapse; width: 100%; margin: 1em 0; }
table.ml-table th, table.ml-table td { border: 1px solid #ccc; padding: 6px 10px; text-align: center; }
table.ml-table th { background: #f2f2f2; }

/* Domain-Spalte hervorheben */
td.domain-col {
    font-size: 1.2em !important;
    color: #fcd823 !important;
    text-shadow: 2px 2px 4px #000;
}

/* Erledigt-Buttons */
form.ml-form button {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 4px 8px;
    color: #000;
    border-radius: 3px;
    cursor: pointer;
}

/* Erledigte Zelle */
td.ml-done {
    background: #d4edda !important;
    color: #000 !important;
    font-weight: bold !important;
}
td.ml-done span {
    color: darkgreen !important;
    font-weight: bold !important;
    margin-left: 5px;
}

/* Reset-Button (klein, rot, dezent) */
.ml-reset-btn {
    background: transparent;
    border: none;
    color: red;
    font-weight: bold;
    cursor: pointer;
    margin-left: 6px;
    font-size: 1em;
    line-height: 1;
}
.ml-reset-btn:hover {
    color: darkred;
}

/* Inhalt des erledigten Feldes (Datum + ✓) */
.ml-done-content {
    display: inline-block;
}

/* Reset-Form neben dem Inhalt, ohne Zeilenumbruch */
.ml-reset-form {
    display: inline;
    margin-left: 6px;
}

/* Rotes "X" als Link (kein Button) */
.ml-reset-x {
    color: #c00;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    font-size: 1.05em;
    line-height: 1;
}
.ml-reset-x:hover {
    color: #900;
}

/* Filterleiste */
.ml-toolbar {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0.5em 0 0.75em;
}
.ml-toolbar label {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin: 0;
}
.ml-toolbar select,
.ml-toolbar input[type="number"],
.ml-toolbar button {
    height: 32px;
}

@media print {
    form.ml-form button { display: none; }
    .ml-toolbar { display: none; }
}