.staff-header{background:var(--deep);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:24px max(22px,calc((100% - 1000px)/2));gap:16px}.staff-header .brand{margin:0;padding:0}.staff-admin-link{font-size:12px;color:#d8e6c7;text-decoration:none}.staff-main{max-width:1000px;margin:40px auto;padding:0 24px;min-height:65vh}.staff-login{max-width:460px;margin:70px auto;padding:32px}.staff-login h1{font-size:28px}.staff-login label{display:block;margin-bottom:8px}.staff-login input{width:100%;margin-bottom:18px}.staff-login .button{width:100%;margin-top:10px}.staff-greeting,.staff-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:26px}.staff-greeting h1{margin-top:6px}.staff-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px;align-items:start}.staff-box{padding:26px}.staff-form{display:grid;gap:18px}.staff-form .field{width:100%}.staff-form input,.staff-form select,.staff-form textarea{width:100%}.staff-report-list{display:grid;gap:12px;list-style:none;padding:0;margin:20px 0 0}.staff-report-list li{padding:16px;border:1px solid var(--line);border-radius:10px}.staff-report-row{display:flex;gap:16px;justify-content:space-between;align-items:center}.staff-report-row p{margin:5px 0}.staff-required{background:#eaf0df;border:1px solid #d8e2cc;border-radius:12px;padding:20px;margin-bottom:24px}.staff-required p{margin:0}.staff-required strong{display:block;margin-bottom:8px}.staff-upload{padding:24px;border:2px dashed #b4c9ab;border-radius:12px;background:#f8faf3;margin:20px 0}.staff-upload input{display:block;width:100%;margin:12px 0}.staff-upload .button{margin-top:12px}.staff-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.staff-photo{min-width:0;padding:10px}.staff-photo img{width:100%;height:180px;object-fit:cover;border-radius:7px;background:#e6e9df}.staff-photo figcaption{font-size:12px;overflow-wrap:anywhere;padding:8px 0}.staff-photo figure{margin:0}.staff-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.staff-revision{max-width:600px;margin-top:26px}.staff-issues{padding:20px 20px 20px 40px;line-height:1.6}.staff-issues li{margin-bottom:8px;overflow-wrap:anywhere}.staff-footer{max-width:1000px;margin:40px auto;padding:20px 24px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.staff-alert{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:var(--deep);color:#fff;border-radius:10px;padding:15px 22px;max-width:calc(100% - 30px);z-index:50;box-shadow:var(--shadow)}.staff-alert.error{background:#8f382c}.staff-busy{opacity:.65;pointer-events:none}.staff-demo{padding:12px 16px;border-radius:8px;background:#fff2d6;color:#76501a;margin-bottom:24px}.staff-access-card{margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:10px}.staff-access-card input{width:100%;font-family:Consolas,monospace}.staff-key-value{overflow-wrap:anywhere}.employee-counter-list{display:grid;gap:10px;border:0;padding:0;margin:0}.employee-counter-list label{display:flex;gap:10px;align-items:center}.employee-counter-list input{width:auto}.employee-edit-form{display:grid;gap:16px}
@media(max-width:640px){.staff-header{padding:20px 16px}.staff-header .brand strong{font-size:11px}.staff-header .brand small{font-size:9px}.staff-admin-link{font-size:11px}.staff-main{margin:26px auto;padding:0 16px}.staff-login{margin:35px auto;padding:24px}.staff-columns{grid-template-columns:1fr}.staff-greeting h1,.staff-report-head h1{font-size:25px}.staff-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-photo img{height:170px}.staff-box{padding:20px}.staff-greeting{flex-wrap:wrap}.staff-upload{padding:18px}.staff-actions .button{flex:1;min-width:150px}.staff-report-head{display:block}}

.staff-preview{min-width:0;margin-bottom:24px}.staff-preview-section{margin:18px 0;border:1px solid var(--line);border-radius:10px;overflow:hidden}.staff-preview-section summary{cursor:pointer;padding:16px;font-weight:700;min-height:48px}.staff-preview-section>p{padding:16px}.staff-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.staff-preview-table{width:100%;border-collapse:collapse;font-size:14px}.staff-preview-table th,.staff-preview-table td{padding:12px;vertical-align:top;text-align:left;border-bottom:1px solid var(--line)}.staff-preview-table th[scope=row]{min-width:145px;max-width:220px;overflow-wrap:anywhere}.staff-preview-table thead{background:#eaf0df}.staff-preview-table input,.staff-preview-table select{display:block;width:140px;margin:0 0 6px}.staff-preview-table small,.staff-preview-table a{display:block;font-size:12px;margin-top:6px;font-weight:400}.staff-preview-table a{min-height:32px;line-height:32px}.staff-preview-table tr:focus-within{background:#f4f8ee}.staff-preview-consent{display:flex;align-items:center;gap:12px;margin:22px 0;font-size:15px}.staff-preview-consent input{width:24px;height:24px;flex-shrink:0;accent-color:var(--green)}.staff-preview textarea{width:100%}.staff-preview>.button{min-width:200px}.staff-preview .field{margin-top:24px}.staff-preview-table td:has(select[aria-label^="Checklist"]){min-width:160px}
@media(max-width:640px){.staff-preview{padding:16px}.staff-preview>.button{width:100%;min-width:0}.staff-preview-table th,.staff-preview-table td{padding:10px}.staff-preview-table th[scope=row]{min-width:120px}.staff-preview-table input,.staff-preview-table select{width:120px}.staff-preview-section summary{font-size:15px}}
.staff-table-scroll{max-height:65vh;overflow:auto}.staff-preview-table thead th{position:sticky;top:0;z-index:2;background:#eaf0df}.staff-preview-table th[scope=row]{position:sticky;left:0;z-index:1;background:#fff}.staff-preview-table thead th:first-child{left:0;z-index:3}
.staff-issue-intro{font-weight:600;margin:8px 0}.staff-issue-group{border:1px solid var(--line);border-radius:10px;margin:8px 0;overflow:hidden}.staff-issue-group>summary,.staff-issue-notes>summary{cursor:pointer;min-height:48px;padding:12px;overflow-wrap:anywhere}.staff-issue-group>summary{background:#faf8ef}.staff-issue-count{display:inline-block;margin-left:8px;padding:0 8px;border-radius:20px;background:#eee5cc;font-weight:700;font-variant-numeric:tabular-nums}.staff-issue-items{padding:0 16px 0 32px;margin:8px 0 16px;max-height:45vh;overflow:auto}.staff-issue-items li{margin:12px 0;overflow-wrap:anywhere}.staff-issue-items strong,.staff-issue-items span{display:block}.staff-issue-items span{font-size:14px;color:var(--muted)}.staff-issue-notes{margin-top:16px;border-top:1px solid var(--line)}.staff-issue-notes>summary{color:var(--muted)}.staff-issue-notes .staff-issue-group>summary{background:#f5f7f2}.staff-issue-summary summary:focus-visible{outline:3px solid var(--green);outline-offset:-3px}
/* Staff use phones throughout a shift: readable fields and generous touch targets. */
.staff-retake{padding:14px;border:1px solid var(--line);border-radius:10px;background:#f5f7f2;margin:16px 0}.staff-retake p{margin:0 0 12px}
.staff-page{font-size:16px;line-height:1.5;--muted:#59685e}
.staff-page .button{min-height:48px;font-size:15px;padding:12px 16px}
.staff-page input:not([type=checkbox]):not([type=file]),.staff-page select,.staff-page textarea{font-size:16px;min-height:48px;min-width:0}
.staff-page .field>label,.staff-page .staff-login label{font-size:14px;color:var(--ink)}
.staff-page .microcopy{font-size:13px!important;color:#58664f!important}
.staff-page .eyebrow{font-size:12px;letter-spacing:1px}
.staff-page .badge{font-size:12px;padding:7px 9px}
.staff-page h1,.staff-page h2,.staff-report-row strong{overflow-wrap:anywhere}
.staff-header .brand{min-width:0}.staff-header .brand-mark{flex-shrink:0}
.staff-admin-link{min-height:44px;display:flex;align-items:center}
.staff-columns>.panel+.panel,.staff-gallery>.panel+.panel{margin-top:0}
.staff-form .field{margin-bottom:0}.staff-report-row>div{min-width:0}
.staff-report-row>.button{flex-shrink:0}
.staff-login .staff-show-key{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:-8px}
.staff-login .staff-show-key input{width:20px;height:20px;margin:0;accent-color:var(--green)}
.staff-network{margin:0;padding:14px 20px;background:#fff0cc;color:#69450f;font-size:14px}
.staff-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px;font-size:13px;color:#58684f}
.staff-steps li{padding:10px;border-bottom:3px solid #d8dfce}
.staff-steps [aria-current=step]{color:var(--deep);font-weight:700;border-color:var(--green);background:#eaf0df;border-radius:6px 6px 0 0}
.staff-pickers{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 12px}
.staff-pickers label{position:relative;cursor:pointer;text-align:center}
.staff-pickers label:focus-within{outline:3px solid #78945e;outline-offset:3px}
.staff-upload .staff-pickers input{position:absolute;width:1px;height:1px;margin:0;padding:0}
.staff-upload .staff-pickers .button{margin:0}
.staff-upload-summary{font-size:14px;margin:14px 0}
.staff-upload progress{display:block;width:100%;height:12px;accent-color:var(--green)}
.staff-upload progress[hidden]{display:none}
.staff-progress-text{font-size:14px;margin:10px 0}
.staff-photo-name{font-size:12px;overflow-wrap:anywhere;margin:8px 0}
.staff-photo .button{width:100%;font-size:13px;padding:10px 6px}
.staff-photo img{aspect-ratio:3/4;height:auto;max-height:240px}
.staff-pending:empty{display:none}
.staff-submit-bar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 4px 24px #163d3020;margin:24px 0}
.staff-submit-bar p{margin:0;font-weight:600;font-size:15px}
.staff-submit-bar small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.staff-busy{opacity:1;cursor:progress}.staff-busy .button{opacity:.6}
.staff-alert{bottom:calc(100px + env(safe-area-inset-bottom));width:max-content;font-size:14px}
.staff-footer{font-size:13px}
@media(max-width:760px){
  .staff-columns{grid-template-columns:minmax(0,1fr)}
  .staff-main{margin:24px auto;padding:0 max(16px,env(safe-area-inset-left)) 0 max(16px,env(safe-area-inset-right))}
  .staff-header{padding:16px max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left))}
  .staff-login{margin:24px auto;padding:24px 20px}
  .staff-login h1{font-size:26px}
  .staff-greeting h1,.staff-report-head h1{font-size:26px;letter-spacing:-.6px}
  .staff-greeting{gap:8px}.staff-greeting>div{flex:1;min-width:180px}
  .staff-box{padding:20px}.staff-required{padding:16px}
  .staff-upload{padding:16px;margin:18px 0}
  .staff-upload>button{width:100%}
  .staff-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .staff-photo{padding:8px}.staff-photo img{height:auto}
  .staff-actions{gap:8px}.staff-actions .button{min-width:0;font-size:14px}
  .staff-steps{font-size:12px;gap:4px}.staff-steps li{padding:8px 5px}
  .staff-submit-bar{bottom:0;border-radius:12px 12px 0 0;padding:12px 12px calc(12px + env(safe-area-inset-bottom));gap:10px}
  .staff-submit-bar .button{flex-shrink:0}.staff-submit-bar small{max-width:140px}
  .staff-footer{padding-bottom:calc(20px + env(safe-area-inset-bottom));margin:24px auto}
}
@media(max-width:360px){.staff-admin-link{max-width:75px;line-height:1.5}.staff-pickers{grid-template-columns:1fr}.staff-report-row{gap:8px}.staff-submit-bar{flex-wrap:wrap}.staff-submit-bar .button{flex:1}.staff-submit-bar small{max-width:none}}
