.office-timesheets-dialog{width:min(980px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;background:var(--card,#fff);color:var(--ink);border:1px solid var(--line);border-radius:16px;overflow:auto}
.office-timesheets-dialog .office-head{position:sticky;top:0;display:flex;justify-content:space-between;align-items:flex-start;gap:14px;height:auto;padding:22px;background:var(--card,#fff);border-bottom:1px solid var(--line);z-index:2}
.office-head h2{margin:5px 0;font-size:23px}.office-head p{margin:0;color:var(--muted);font-size:12px}.office-body{padding:20px}.office-body p{font-size:13px;line-height:1.5}.office-filters{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px}.office-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.office-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;margin:10px 0;border:1px solid var(--line);border-radius:10px;background:var(--card,#fff)}.office-entry>div{min-width:0}.office-entry p{margin:5px 0;overflow-wrap:anywhere}.office-entry strong{overflow-wrap:anywhere}.office-entry small{display:block;color:var(--muted);margin:4px 0}.office-new{display:inline-block;margin-left:10px;padding:3px 7px;border-radius:20px;background:#fff0df;color:#9e7e16;font-size:10px;font-weight:700}.office-pending-entry{border:1px solid #e8ba74;background:var(--accent-soft,#fff7eb);padding:14px;margin:10px 0;border-radius:10px;overflow-wrap:anywhere}.office-pending-entry button{margin:4px}.office-empty{padding:30px;text-align:center;color:var(--muted)}.office-send-status{border-left:3px solid #398575;background:var(--accent-soft,#eef8f3);padding:12px;margin:12px 0;line-height:1.5;font-size:13px;white-space:pre-wrap}.office-send-status:empty{display:none}.office-send-status.office-error{border-color:#b56d25}.office-timesheets-dialog button,#timesheetOfficeButton{min-height:44px;white-space:normal}.timesheet-submit{flex-wrap:wrap}.timesheet-submit #tsOfficeStatus{flex-basis:100%}
@media(max-width:600px){.office-timesheets-dialog .office-head,.office-body{padding:16px}.office-filters{grid-template-columns:1fr}.office-entry{align-items:stretch;flex-direction:column}.office-actions>button{width:100%}.office-pending-entry button{display:block;width:100%;margin:7px 0}.office-head h2{font-size:20px}.timesheet-submit>button{width:100%}}

.office-entry-controls{display:flex;flex-direction:column;gap:12px;flex-shrink:0}.office-status-checks{display:flex;gap:14px;flex-wrap:wrap}.office-status-check{display:flex;align-items:center;gap:7px;min-height:44px;cursor:pointer;font-size:13px;font-weight:600}.office-status-check input[type=checkbox]{width:21px;height:21px;min-height:21px;margin:0;accent-color:#287c64;flex:none}.office-entry.office-billed{border-color:#5b9d88}.office-billed .office-status-check:last-child{color:#287c64}@media(max-width:600px){.office-entry-controls{width:100%}.office-status-checks{justify-content:space-between}}
