.timesheets-page { max-width: 1680px; margin: 0 auto; }
.timesheets-header, .timesheet-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.timesheets-header { margin-bottom: 18px; }
.timesheets-header h2 { margin-top: 4px; font-size: 23px; }
.timesheets-header p, .timesheet-toolbar p { margin-top: 5px; color: var(--text-muted); font-size: 11px; }
.timesheets-eyebrow { color: var(--primary); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.timesheets-user { display: flex; min-width: 180px; flex-direction: column; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); padding: 10px 13px; }
.timesheets-user span { color: var(--text-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.timesheets-user strong { margin-top: 4px; font-size: 11px; }
.timesheet-metrics { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.timesheet-metrics article { padding: 18px; border-right: 1px solid var(--border); }
.timesheet-metrics article:last-child { border-right: 0; }
.timesheet-metrics span { color: var(--text-muted); font-size: 9px; font-weight: 700; }
.timesheet-metrics strong { display: block; margin-top: 7px; font-size: 21px; }
.timesheet-register { margin-top: 16px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.timesheet-toolbar { padding: 16px 18px; border-bottom: 1px solid var(--border); }
.timesheet-toolbar h3 { font-size: 14px; }
.timesheet-bulk-actions { display: flex; align-items: center; gap: 9px; padding: 10px 18px; border-bottom: 1px solid var(--border); background: var(--surface-muted); }
.timesheet-bulk-actions strong { margin-right: auto; font-size: 10px; }
.timesheet-bulk-actions label { display: flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 9px; font-weight: 700; }
.timesheet-bulk-actions select { min-height: 34px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); padding: 0 9px; color: var(--text); font: inherit; font-size: 9px; }
.timesheet-action:disabled { opacity: .45; cursor: not-allowed; }
.timesheet-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.timesheet-filters button { border: 1px solid var(--border); border-radius: 7px; background: var(--surface); padding: 7px 10px; color: var(--text-muted); font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.timesheet-filters button.active { border-color: var(--primary); background: var(--primary-subtle); color: var(--primary); }
.timesheet-table-wrap { overflow-x: auto; }
.timesheet-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.timesheet-table th { background: var(--surface-muted); padding: 10px 12px; color: var(--text-muted); font-size: 8px; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.timesheet-table td { padding: 12px; border-top: 1px solid var(--border); white-space: nowrap; }
.timesheet-table .timesheet-select-cell { width: 38px; padding-right: 4px; text-align: center; }
.timesheet-select-cell input { accent-color: var(--primary); cursor: pointer; }
.timesheet-table tbody tr { cursor: pointer; }
.timesheet-table tbody tr:hover { background: var(--surface-muted); }
.timesheet-table tbody tr:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.timesheet-status { display: inline-flex; border-radius: 999px; padding: 5px 8px; background: #eef2f6; font-size: 8px; font-weight: 800; }
.status-pm-approved { background: #fff3d6; color: #8b5c00; }
.status-ts-approved { background: #e7f1ff; color: #175ea8; }
.status-sent { background: #e4f7eb; color: #18733b; }
.timesheet-action { border: 1px solid var(--primary); border-radius: 7px; background: var(--surface); padding: 7px 10px; color: var(--primary); font: inherit; font-size: 9px; font-weight: 800; cursor: pointer; }
.timesheet-action.primary { background: var(--primary); color: #fff; }
.timesheet-complete { color: #18733b; font-size: 9px; font-weight: 800; }
.timesheet-no-action { color: var(--text-subtle); font-size: 9px; font-weight: 700; }
.timesheet-empty { padding: 44px 18px; color: var(--text-muted); font-size: 11px; text-align: center; }
.timesheet-dialog { position: fixed; inset: 0; width: min(620px, calc(100% - 32px)); max-height: calc(100% - 40px); margin: auto; border: 0; border-radius: 12px; background: var(--surface); padding: 0; color: var(--text); box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.timesheet-dialog::backdrop { background: rgba(15,23,32,.5); }
.timesheet-dialog-header, .timesheet-dialog-actions { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.timesheet-dialog-header { border-bottom: 1px solid var(--border); }
.timesheet-dialog-header span, .timesheet-dialog-detail > span { color: var(--text-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.timesheet-dialog-header h2 { margin-top: 4px; font-size: 17px; }
.timesheet-dialog-header button { border: 0; background: transparent; color: var(--text-muted); cursor: pointer; font-size: 22px; }
.timesheet-dialog-body { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 18px; }
.timesheet-dialog-detail { border: 1px solid var(--border); border-radius: 8px; background: var(--surface-muted); padding: 11px; }
.timesheet-dialog-detail.wide { grid-column: 1 / -1; }
.timesheet-dialog-detail > div { margin-top: 6px; font-size: 10px; }
.timesheet-dialog-actions { justify-content: flex-end; border-top: 1px solid var(--border); }
.timesheet-toast { position: fixed; right: 24px; bottom: 24px; z-index: 130; border-radius: 9px; background: #18251f; padding: 12px 16px; color: #fff; font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: 180ms ease; }
.timesheet-toast.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) { .timesheet-metrics { grid-template-columns: repeat(2, 1fr); } .timesheet-metrics article:nth-child(2) { border-right: 0; } .timesheet-metrics article:nth-child(n+3) { border-top: 1px solid var(--border); } .timesheet-toolbar, .timesheets-header { align-items: stretch; flex-direction: column; } }
