.shift-S{color:#1d4ed8;background:#eff6ff}.shift-OFF{color:#64748b;background:#f1f5f9}.shift-NONE{color:#94a3b8;background:#f8fafc}.person-heading,.person-cell{position:sticky;left:0;z-index:2;width:130px;padding-left:12px;background:#fff;text-align:left}.person-heading{z-index:3;background:#f8fafc}.person-cell b,.person-cell small{display:block}.person-cell small{color:var(--soft);font-size:10px}.workforce-matrix table{min-width:1080px}.filter-tabs{display:flex;gap:6px}.filter-tabs button{height:34px;padding:0 14px;border:1px solid var(--border);border-radius:7px;color:var(--muted);background:#fff}.filter-tabs button.active{color:#fff;border-color:var(--blue);background:var(--blue)}.workforce-tools{display:flex;align-items:center;justify-content:space-between}.workforce-tools form{display:flex;gap:6px}.workforce-tools input{width:220px}.workforce-tools :is(input,button){height:36px;border:1px solid var(--border);border-radius:7px;background:#fff}.workforce-tools form button{padding:0 14px}.workforce-table{overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#fff}.workforce-table table{min-width:100%;table-layout:auto}.workforce-table th{padding:0 12px;background:#f8fafc;text-align:left}.workforce-table td{padding:0 12px;text-align:left;font-size:12px}.row-action{padding:7px 10px;border:1px solid var(--border);border-radius:6px;background:#fff}.row-action.account-action{color:#1d4ed8;border-color:#bfdbfe;background:#eff6ff;font-weight:700}.work-status{padding:5px 7px;border-radius:6px;color:var(--muted);background:#f1f5f9}.empty-row{height:100px!important;color:var(--soft)}.change-form{display:grid;padding:16px 20px;grid-template-columns:1fr 90px 160px 64px;align-items:center;gap:10px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff}.change-form>div span{display:block;color:var(--muted);font-size:11px}.change-form :is(select,input,button){height:36px;border:1px solid var(--border);border-radius:7px;background:#fff}.change-form button{color:#fff;border-color:var(--blue);background:var(--blue)}.change-form p{grid-column:1/-1;margin:0;color:#b91c1c;font-size:12px}.change-form ol{grid-column:1/-1;margin:0;padding-left:18px;color:var(--muted);font-size:11px}.worker-account-form{grid-template-columns:minmax(150px,.8fr) minmax(170px,1fr) minmax(210px,1.2fr) minmax(180px,1fr) auto}.worker-account-form label{display:grid;gap:4px;color:#475569;font-size:11px;font-weight:700}.worker-account-form label input{width:100%;padding:0 10px;color:#0f172a;font-size:13px;font-weight:500}.worker-account-form label small{color:#64748b;font-size:10px;font-weight:400}.worker-account-form dl,.worker-account-existing dl{display:flex;margin:0;gap:18px}.worker-account-form dl div,.worker-account-existing dl div{display:grid;gap:3px}.worker-account-form dt,.worker-account-existing dt{color:#64748b;font-size:10px}.worker-account-form dd,.worker-account-existing dd{margin:0;color:#0f172a;font-size:12px;font-weight:700}.worker-account-actions{display:flex!important;gap:6px}.worker-account-actions button{padding:0 12px}.worker-account-actions [data-worker-account-cancel],.worker-account-existing [data-worker-account-cancel]{color:#475569;border-color:#cbd5e1;background:#fff}.worker-account-existing{grid-template-columns:minmax(180px,1fr) minmax(300px,2fr) 64px}.worker-account-existing>button{padding:0 10px}@media(max-width:1100px){.worker-account-form{grid-template-columns:1fr 1fr}.worker-account-form .worker-account-heading,.worker-account-form p{grid-column:1/-1}.worker-account-form dl{grid-column:1/-1}}@media(max-width:800px){.workforce-tools{display:grid;gap:10px}.change-form,.worker-account-form,.worker-account-existing{grid-template-columns:1fr}.change-form p,.change-form ol,.worker-account-form .worker-account-heading{grid-column:1}.worker-account-form dl,.worker-account-existing dl{flex-wrap:wrap}}
.work-type-cell small{display:block;margin-top:4px;color:#64748b;font-size:11px;white-space:nowrap}
@media(max-width:800px){
  .worker-registration-page{width:100%;min-height:100dvh;height:auto;padding:0 16px calc(76px + var(--mobile-safe-bottom))!important;gap:0!important;overflow-x:hidden;background:#f1f5f9}
  .worker-registration-page>header{position:sticky;z-index:20;top:0;display:flex;height:calc(44px + var(--mobile-safe-top));min-height:calc(44px + var(--mobile-safe-top));margin:0 -16px 8px;padding:var(--mobile-safe-top) 16px 0;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;border-bottom:1px solid #e2e8f0;background:#fff}
  .worker-registration-page>header:before{width:20px;margin-right:8px;color:#0f172a;content:"←";font-size:20px;line-height:1;text-align:center}.worker-registration-page>header .breadcrumb,.worker-registration-page>header .title-row p{display:none}.worker-registration-page>header .title-row{display:block}.worker-registration-page>header .title-row h1{font-size:15px!important;line-height:20px!important}
  .worker-registration-columns{display:grid;gap:0}.worker-registration-column{display:contents}.worker-registration-card{margin:0;padding:5px 0 0;gap:8px;border:0;border-radius:0;background:transparent;box-shadow:none}.worker-registration-card:not(.orange){display:contents}.worker-registration-card>h2{display:none}.worker-registration-card.orange>h2{display:flex;margin:5px 0 0;gap:3px;color:#475569;font-size:12px;line-height:16px}.worker-registration-card.orange>h2:before{display:none}
  .worker-registration-card>label,.shift-registration-fields label{display:grid;margin:0 0 7px;gap:4px;color:#475569;font-size:12px;line-height:16px;font-weight:700}.registration-field-label{display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap}.worker-registration-card label>small{display:none}.worker-registration-card :is(input,select){height:40px;padding:0 11px;border:1px solid #d8e0ea;border-radius:8px;color:#0f172a;background:#fff;font-size:13px}.worker-registration-card :is(input,select)::placeholder{color:#9aabc1}.registration-fixed-role{display:none!important}
  .initial-work-type{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.initial-work-type label{min-width:0}.initial-work-type span{position:relative;min-height:72px;padding:10px 28px 9px 11px;gap:5px;border-radius:10px}.initial-work-type label:first-child span{border-color:#bfdbfe;background:#f3f7ff}.initial-work-type label:last-child span{border-color:#fed7aa;background:#fff8f1}.initial-work-type b{font-size:13px;line-height:18px}.initial-work-type small{color:#64748b;font-size:9px;line-height:13px}.initial-work-type input:checked+span{border-width:2px;box-shadow:0 0 0 1px rgba(37,99,235,.04)}.initial-work-type label:first-child input:checked+span{border-color:#2563eb;background:#eaf2ff}.initial-work-type label:last-child input:checked+span{border-color:#ea580c;background:#fff0e5}.initial-work-type label:last-child input:checked+span b{color:#c2410c}.initial-work-type input:checked+span:after{position:absolute;top:8px;right:9px;display:grid;width:17px;height:17px;place-items:center;border-radius:50%;color:#fff;background:#2563eb;content:"✓";font-size:11px;font-weight:900}.initial-work-type label:last-child input:checked+span:after{background:#ea580c}
  .initial-work-detail{min-height:0;margin:0;padding:9px 11px;border-radius:8px;color:#64748b;background:#eff6ff;font-size:10px;line-height:15px}.initial-work-detail>p{margin:0;text-align:left}.training-detail,.shift-detail{gap:3px}.training-detail header,.shift-detail header{gap:8px}.training-detail header b,.shift-detail header b{font-size:10px}.training-detail header span,.shift-detail header span{padding:1px 5px;font-size:8px}.training-detail p,.shift-detail p{font-size:10px;line-height:14px}
  .shift-registration-fields{grid-template-columns:1fr 1fr;gap:8px}.shift-registration-fields label{margin-bottom:0;font-size:10px}.shift-registration-fields :is(input,select){height:38px;font-size:11px}.worker-registration-error{min-height:14px;margin:4px 0 0;font-size:10px;line-height:14px}
  .worker-registration-actions{position:fixed;z-index:60;right:0;bottom:0;left:0;display:grid;margin:0;padding:14px 16px calc(14px + var(--mobile-safe-bottom));grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #e2e8f0;background:#fff}.worker-registration-actions button{width:100%;height:42px;padding:0;border:0;border-radius:8px;color:#475569;background:#f1f5f9;font-size:13px;font-weight:800}.worker-registration-actions button[type=submit]{border-color:#2563eb;color:#fff;background:#2563eb}
}
