[hidden]{display:none!important}
.phase-placeholder .button{margin-top:14px}
.heading-copy{margin:7px 0 0;color:var(--muted)}
.heading-actions{display:flex;align-items:center;gap:12px}
.shell.timesheet-page{width:min(1780px,calc(100% - 30px))}
.timesheet-summary{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:12px;margin-bottom:16px}
.timesheet-summary>div{display:flex;flex-direction:column;gap:6px;padding:15px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(29,41,53,.05)}
.timesheet-summary span{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.timesheet-summary strong{font-size:20px}
.timesheet-summary .total-primary{background:#edf5df;border-color:#c8dda0}
.ocr-upload-panel{display:grid;grid-template-columns:minmax(280px,1fr) minmax(420px,.9fr);gap:28px;align-items:end;margin-bottom:16px;padding:19px 22px;border-left:5px solid var(--green)}
.ocr-upload-panel h2{margin:0 0 5px;font-size:21px}.ocr-upload-panel p:not(.eyebrow){margin:0;color:var(--muted);font-size:13px}.ocr-upload-panel form{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.ocr-upload-panel input{padding:8px}
.ocr-history{display:flex;align-items:stretch;gap:9px;margin:0 0 16px;overflow-x:auto}.ocr-history>strong{display:flex;align-items:center;color:var(--muted);font-size:12px;text-transform:uppercase}.ocr-history a{display:flex;min-width:190px;flex-direction:column;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink)}.ocr-history a:hover{text-decoration:none;border-color:#b6cb85}.ocr-history small{margin-top:2px}
.ocr-preview-layout{display:grid;grid-template-columns:minmax(300px,410px) minmax(0,1fr);gap:22px;align-items:start}.ocr-source-panel{position:sticky;top:20px;padding:20px}.ocr-source-panel h2{font-size:19px}.ocr-image-link{display:block;margin-bottom:16px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#f5f7f5}.ocr-image-link img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}.hash-value{overflow-wrap:anywhere;font-size:11px}.ocr-preview-main{min-width:0}.ocr-results-panel{padding:0;overflow:hidden}.ocr-results-heading{margin:0;padding:20px}.ocr-results-heading p{margin:5px 0 0;color:var(--muted);font-size:13px}.ocr-table{min-width:960px}.ocr-table td,.ocr-table th{padding:12px 14px}.ocr-table tr.ocr-needs-review{background:#fff9ec}.ocr-row-warning{display:block;margin-top:3px;color:#8a5a00}.confidence{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:12px;font-weight:800}.confidence.good{background:#e8f2d4;color:#4c6e16}.confidence.low{background:#fff0d0;color:#865900}.ocr-warning-box{margin-bottom:16px;padding:14px 18px;border:1px solid #ead29d;border-radius:10px;background:#fff9ec;color:#684a0a}.ocr-warning-box ul{margin:8px 0 0;padding-left:20px}
.timesheet-summary-error{display:flex;flex-direction:column;gap:4px}
.timesheet-pdf-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;padding:18px 22px;border-left:5px solid var(--green)}
.timesheet-pdf-panel h2{margin:0 0 5px;font-size:21px}
.timesheet-pdf-panel p:not(.eyebrow){margin:0;color:var(--muted);font-size:13px}
.timesheet-pdf-controls{display:flex;align-items:center;gap:14px}
.timesheet-pdf-option{display:flex;align-items:center;gap:7px;margin:0;color:var(--ink);font-size:13px;font-weight:700;white-space:nowrap}
.timesheet-pdf-option input{width:auto;margin:0}
.ocr-corrections{display:flex;gap:8px}.ocr-corrections label{display:flex;flex-direction:row;align-items:center;gap:3px;font-size:11px}.ocr-corrections input{width:auto}
.timesheet-panel{padding:0;overflow:hidden}
.timesheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-bottom:1px solid var(--line)}
.timesheet-toolbar p{margin:3px 0 0;color:var(--muted);font-size:13px}
.legend{display:flex;gap:14px;color:var(--muted);font-size:12px}
.legend span{display:flex;align-items:center;gap:6px}
.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.legend-dot.incomplete{background:#d9dee1}
.legend-dot.balanced{background:var(--green)}
.legend-dot.review{background:#e4a11b}
.timesheet-scroll{overflow:auto}
.timesheet-table{min-width:1370px;font-variant-numeric:tabular-nums}
.timesheet-table th{position:sticky;top:0;z-index:2;padding:10px 8px;background:#f2f6ef}
.timesheet-table td{padding:7px}
.timesheet-table .week-break td{border-top:7px solid #eef3ec}
.timesheet-table tr.is-incomplete{background:#fafbfb}
.timesheet-table tr.is-balanced{box-shadow:inset 4px 0 0 var(--green)}
.timesheet-table tr.is-ocr-review{box-shadow:inset 4px 0 0 #e4a11b;background:#fff9ec}
.timesheet-table tr.has-error{background:#fff5f5}
.timesheet-table input,.timesheet-table select{padding:7px;border-radius:6px;font-size:13px}
.timesheet-table select{min-width:92px}
.timesheet-table .clock-input{width:105px}
.date-cell{width:70px}
.day-cell{width:55px;color:var(--muted)}
.duration-cell{width:88px;text-align:center;font-weight:750}
.corrected-cell{width:150px}
.duration-input{width:83px!important}
.correction-toggles{display:flex;gap:7px;margin-top:5px}
.correction-toggles label{display:flex;flex-direction:row;align-items:center;gap:3px;font-size:10px;color:var(--muted)}
.correction-toggles input{width:auto}
.decimal-cell{width:120px}
.decimal-cell>div{display:flex;gap:4px}
.decimal-input{width:76px!important}
.row-recalculate{border:1px solid #cdd7dc;border-radius:6px;background:#fff;color:var(--green-dark);cursor:pointer;font-weight:800}
.comment-cell{min-width:250px}
.comment-input{min-width:230px}
.input-error{border-color:var(--danger)!important;box-shadow:0 0 0 2px rgba(165,42,42,.08)}
.row-error{display:block;max-width:300px;margin-top:4px;color:var(--danger);line-height:1.25}
.timesheet-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border-top:1px solid var(--line);background:#fbfcfb}
.timesheet-actions p{margin:0;color:var(--muted);font-size:13px}
.timesheet-actions p strong{color:var(--ink)}
.timesheet-actions .inline-actions{margin-top:0}
@media(max-width:1000px){.ocr-preview-layout{grid-template-columns:1fr}.ocr-source-panel{position:static}.ocr-image-link img{max-height:360px}.ocr-upload-panel{grid-template-columns:1fr}}
@media(max-width:900px){.timesheet-summary{grid-template-columns:1fr 1fr}.heading-actions{align-items:flex-end;flex-direction:column}.timesheet-toolbar,.timesheet-actions,.timesheet-pdf-panel{align-items:stretch;flex-direction:column}.timesheet-pdf-controls{align-items:stretch;flex-direction:column}.timesheet-pdf-option{white-space:normal}.legend{flex-wrap:wrap}.ocr-upload-panel form{grid-template-columns:1fr}}
@media(max-width:520px){.timesheet-summary{grid-template-columns:1fr}.timesheet-heading{align-items:stretch}.heading-actions{align-items:stretch}}
