body {
    padding: 1rem;
}

nav {
    display: flex;
    gap: 1rem;
    padding-bottom: 0.25rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #00000040;
}

nav form {
    margin: 0 0 0 auto;
}

body>form {
    margin: 1rem 0;
}

*:has(>*:required)::after {
    content: "*";
}

table {
    /* table-layout: fixed; */
    table-layout: auto;
    border-collapse: collapse;
    width: 100%;
    margin: 1rem 0;
}

td {
    border: 1px solid #00000040;
    border-bottom: none;
    padding: 4px 6px;
    text-wrap: nowrap;
    vertical-align: baseline;
}

.timesheets td:nth-child(4):empty,
.timesheets td:nth-child(5):empty {
    background: #FF666610;
}

.timesheets td:nth-child(4),
.timesheets td:nth-child(5) {
    text-align: right;
}

tr:last-child td {
    border-bottom: 1px solid #00000040;
}

tr:nth-child(2n of :not(.hidden)) {
    background: #66666610;
}

.timesheets tr:hover td {
    background: #6666FF10;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.multiline {
    white-space: pre-line;
}

.hidden {
    display: none;
}

button.delete {
    color: #990000;
}

button.delete:disabled {
    color: #99000050;
}
