.staff-clocking-root {
    width: 100%;
    max-width: 1200px;
    margin: 12px auto;
    padding: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
}

.staff-clocking-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.staff-clocking-controls label {
    font-weight: 600;
}

.staff-clocking-controls input[type="date"] {
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.staff-clocking-status {
    font-weight: 600;
    margin-left: 6px;
}

.staff-clocking-status.is-error {
    color: #b00020;
}

.staff-clocking-summary,
.staff-clocking-timesheet-results,
.staff-clocking-drafts {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    background: #fafafa;
}

.staff-clocking-drafts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.staff-draft-card {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
}

.staff-draft-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.staff-draft-body {
    width: 100%;
    min-height: 140px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
}

.staff-draft-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.staff-clocking-result-counts {
    margin-bottom: 8px;
    font-weight: 600;
}

.staff-clocking-error {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #f5c6cb;
    background: #fff0f0;
    color: #900;
    border-radius: 4px;
}

.staff-clocking-table td,
.staff-clocking-table th {
    vertical-align: top;
}

@media (max-width: 900px) {
    .staff-clocking-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .staff-clocking-controls .btn {
        width: 100%;
    }

    .staff-clocking-status {
        margin-left: 0;
    }

    .staff-clocking-drafts-header,
    .staff-draft-header,
    .staff-draft-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
