.person-timesheet-picker{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:22px;margin-bottom:22px;padding:22px 24px;display:flex}.person-timesheet-picker>div:first-child{align-items:center;gap:14px;display:flex}.person-timesheet-icon{color:#365268;background:#eef3dc;border-radius:14px;flex-shrink:0;place-items:center;width:46px;height:46px;display:grid}.person-timesheet-picker h2{font-size:var(--fs-text-section);margin:0 0 5px}.person-timesheet-picker p{color:#536d7b;font-size:var(--fs-text-control);margin:0}.person-timesheet-select{flex:1;min-width:260px;max-width:560px}.person-timesheet-select label,.person-history-controls label>span{font-size:var(--fs-text-small);margin-bottom:7px;font-weight:700;display:block}.person-timesheet-select>div{gap:10px;display:flex}.person-timesheet-select select,.person-history-controls select,.person-history-controls input{color:#234859;font:inherit;background:#fff;border:1px solid #b8cad3;border-radius:10px;width:100%;min-width:0;min-height:44px;padding:11px 12px}.person-timesheet-select button{white-space:nowrap}.person-timesheet-dialog{color:#24495c;background:#f5f8fa;border:1px solid #bbccd5;border-radius:22px;width:min(980px,100vw - 32px);max-width:none;max-height:calc(100dvh - 36px);margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 90px #102e4566}.person-timesheet-dialog[open]{flex-direction:column;display:flex}.person-timesheet-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#102a3b99}.person-history-heading{background:#fff;border-bottom:1px solid #d9e3e8;flex-shrink:0;justify-content:space-between;gap:20px;padding:24px 28px 18px;display:flex}.person-history-heading h2{margin:5px 0;font-size:1.6rem}.person-history-heading p{font-size:var(--fs-text-control);color:#5b7381;margin:0}.person-history-controls{border-bottom:1px solid #d9e3e8;flex-wrap:wrap;flex-shrink:0;align-items:end;gap:12px;padding:16px 28px;display:flex}.person-history-controls label:first-child{flex:1;min-width:180px}.person-history-controls label:nth-child(2){width:185px}.person-history-controls button{min-height:44px}.person-history-body{overscroll-behavior:contain;min-height:0;padding:20px 28px;overflow:auto}.person-history-range{justify-content:space-between;align-items:center;gap:10px;margin:20px 0 16px;display:flex}.person-history-range>span{font-size:var(--fs-text-small);text-align:center;font-weight:650}.person-history-week{background:#fff;border:1px solid #cad8df;border-radius:16px;margin:14px 0;overflow:hidden}.person-history-week>header{padding:19px 20px}.person-history-week-title{align-items:flex-start;gap:10px;display:flex}.person-history-week h3{font-size:var(--fs-text-body);margin:0 0 6px}.person-history-week-title p{font-size:var(--fs-text-small);color:#5c7380;margin:0}.person-history-totals{flex-wrap:wrap;gap:32px;margin-top:18px;display:flex}.person-history-totals>div{gap:6px;display:grid}.person-history-totals span{font-size:var(--fs-text-small);color:#5c7380}.person-history-totals strong{font-size:var(--fs-text-section);font-variant-numeric:tabular-nums}.person-history-totals strong small{font-size:var(--fs-text-small);font-weight:500}.person-history-week-actions{background:#f9fbfc;border-top:1px solid #e2eaee;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;display:flex}.person-history-week-actions .staff-payment-status{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.person-history-shifts{background:#edf2f5;padding:16px}.person-history-shifts .attendance-session{margin-bottom:14px}.person-history-shifts .attendance-session:last-child{margin-bottom:0}.person-history-footer{background:#fff;border-top:1px solid #d9e3e8;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:16px 28px;display:flex}.person-history-footer>span{font-size:var(--fs-text-small);color:#58707e;align-items:center;gap:8px;display:flex}.person-history-footer button{white-space:nowrap}.timesheet-bank{background:#ecf3f7;border:1px solid #bdced7;border-radius:14px;padding:16px 18px}.timesheet-bank-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.timesheet-bank-heading strong{font-size:var(--fs-text-control);align-items:center;gap:8px;display:flex}.timesheet-bank p{font-size:var(--fs-text-small);color:#536e7e;margin:6px 0 0}.timesheet-bank-heading button{white-space:nowrap}.timesheet-bank-values{border-top:1px solid #c9d9e2;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 0;padding-top:16px;display:grid}.timesheet-bank-values dt{font-size:var(--fs-text-small);color:#536e7e;margin-bottom:5px}.timesheet-bank-values dd{font-weight:700;font-size:var(--fs-text-body);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:0}@media (width<=640px){.person-timesheet-picker{gap:18px;padding:18px}.person-timesheet-select{flex-basis:100%;width:100%;min-width:0;max-width:none}.person-timesheet-select>div{flex-direction:column}.person-timesheet-dialog{border-radius:16px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.person-history-heading{padding:18px 16px 14px}.person-history-heading h2{font-size:var(--fs-text-subtitle)}.person-history-heading p{font-size:var(--fs-text-small)}.person-history-controls{gap:10px;padding:12px 16px}.person-history-controls label:first-child{flex-basis:100%}.person-history-controls label:nth-child(2){flex:1;min-width:140px}.person-history-controls select,.person-history-controls input{font-size:var(--fs-text-body)}.person-history-body{padding:14px 12px}.person-history-range>span{font-size:var(--fs-text-small)}.person-history-range button{font-size:var(--fs-text-small);gap:1px;padding:9px 8px}.person-history-week>header{padding:16px}.person-history-totals{gap:18px}.person-history-week-actions{padding:12px 16px}.person-history-shifts{padding:10px}.person-history-footer{flex-wrap:wrap;padding:12px 16px}.person-history-footer>span{max-width:200px}.timesheet-bank-heading{flex-direction:column;align-items:flex-start}.timesheet-bank-heading button{justify-content:center;width:100%}.timesheet-bank-values{grid-template-columns:1fr}.timesheet-bank{padding:14px}.person-history-week-actions>.secondary-button{justify-content:center;width:100%}}@media print{.timesheet-bank{display:none!important}}@media (width<=640px){.person-history-controls label:nth-child(2){min-width:180px}.person-history-controls>button[aria-label="Refresh person history"]{display:none}.person-history-controls>button[aria-label="Latest recorded hours"]{padding-inline:10px}.person-history-heading p{max-width:30ch}}@media (width<=640px) and (height<=720px){.person-history-heading{padding:14px 16px}.person-history-heading .eyebrow,.person-history-heading p,.person-history-footer>span{display:none}.person-history-heading h2{font-size:var(--fs-text-lead);margin:0;line-height:1.3}.person-history-footer{justify-content:flex-end;padding:10px 16px}.person-history-controls{padding:10px 16px}.person-history-controls label>span{margin-bottom:5px}.person-history-body{padding-top:12px}}.person-timesheet-dialog{box-sizing:border-box;height:min(900px,100dvh - 36px)}.person-history-heading{align-items:center;gap:12px;padding:14px 24px}.person-history-heading h2{font-size:var(--fs-text-section);overflow-wrap:anywhere;min-width:0;margin:0;line-height:1.35}.person-history-heading>.icon-button{flex-shrink:0;min-width:44px;min-height:44px}.person-history-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;overflow-y:auto}.person-history-intro{padding:20px 28px 0}.person-history-intro p{color:#5b7381;font-size:var(--fs-text-control);margin:7px 0 0;line-height:1.5}.person-history-body{min-height:auto;overflow:visible}@media (width<=640px){.person-timesheet-dialog{height:calc(100dvh - 16px)}.person-history-heading{padding:10px 16px}.person-history-heading h2{font-size:var(--fs-text-section)}.person-history-scroll{scrollbar-gutter:auto}.person-history-intro{padding:18px 16px 0}.person-history-footer>span{flex:1;min-width:150px;max-width:none;display:flex}}.attendance-breaks{color:#315568;font-size:var(--fs-text-small);background:#f4f8fa;border:1px solid #c9dbe2;border-radius:12px;margin:14px 0;padding:14px 16px}.attendance-breaks summary{cursor:pointer;font-weight:700;line-height:1.5}.attendance-breaks summary:focus-visible{outline-offset:3px;outline:3px solid #137dca}.attendance-breaks p{color:#5b7381;margin:10px 0;line-height:1.5}.attendance-breaks ul{gap:8px;margin:10px 0 0;padding:0;list-style:none;display:grid}.attendance-breaks li{font-variant-numeric:tabular-nums;justify-content:space-between;gap:14px;line-height:1.5;display:flex}.attendance-breaks li strong{white-space:nowrap}
