/* Handschrift-Notiz: Vorschau zum Korrigieren */
.note-file {
    display: inline-block;
    cursor: pointer;
}

.note-file:focus-within {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.note-state {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.note-rows {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

.note-row {
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.note-row.unsure {
    border-color: #d9a441;
    background: #fdf6e7;
}

.note-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px 34px;
    align-items: center;
    gap: 6px;
}

.note-fields input,
.note-fields select {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
}

.note-read {
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.note-row.unsure .note-read {
    color: #7a5a14;
}

.note-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

@media (max-width: 420px) {
    .note-fields {
        grid-template-columns: minmax(0, 1fr) 34px;
    }

    .note-day {
        grid-column: 1;
        grid-row: 2;
    }
}
