/* A regular dashboard page. The shared workspace adapter owns navigation. */
.ts-workspace{
  --ts-surface:#fff;--ts-line:#d5e2ef;--ts-text:#15243b;--ts-muted:#596b82;
  --ts-control:#f2f7fd;--ts-accent:#155bb9;--ts-focus:#2b8cf0;--ts-tint:#edf5ff;
  --ts-good-bg:#e6f7ee;--ts-good-text:#167148;--ts-warn-bg:#fff1d5;--ts-warn-text:#875100;
  display:block;position:static;inset:auto;width:100%;max-width:none;min-width:0;
  height:auto;min-height:0;max-height:none;margin:0;border:0;border-radius:0;
  padding:24px 0 calc(32px + env(safe-area-inset-bottom,0px));overflow:visible;
  background:transparent;color:var(--ts-text);box-shadow:none;
  font-family:inherit;font-size:16px;line-height:1.5;color-scheme:light;overflow-wrap:anywhere;
}
.ts-workspace *{box-sizing:border-box}
.ts-workspace[hidden],.ts-workspace [hidden]{display:none!important}
.ts-workspace:focus{outline:none}
body.transfer-workspace-host>.ts-workspace{padding:24px}
.ts-workspace .ts-panel{display:block;position:static;width:100%;max-width:none;min-width:0;height:auto;max-height:none;margin:0;padding:0;border:0;background:transparent;color:inherit;box-shadow:none;overflow:visible}
.ts-workspace h1{margin:4px 0 0;font-size:30px;line-height:1.2;letter-spacing:-.025em;color:var(--ts-text)}
.ts-workspace h2{margin:0 0 18px;font-size:20px;line-height:1.3;color:var(--ts-text)}
.ts-workspace small,.ts-workspace .ts-intro,.ts-workspace .ts-history-intro p{color:var(--ts-muted)}
.ts-workspace .ts-header,.ts-workspace .ts-list-head,.ts-workspace .ts-person,.ts-workspace .ts-history-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.ts-workspace .ts-header{justify-content:flex-start;align-items:center;margin-bottom:22px}
.ts-workspace .ts-heading{flex:1;min-width:0}
.ts-workspace .ts-heading>small{display:block;font-size:11px;font-weight:700;letter-spacing:.07em;line-height:1.5;overflow-wrap:anywhere}
.ts-workspace .ts-header-actions{display:flex;align-items:center;gap:8px;flex:0 1 auto;margin-left:auto;min-width:0}
.ts-workspace .ts-intro{margin:0 0 22px;max-width:850px;font-size:14px;line-height:1.65}
.ts-workspace .ts-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start;min-width:0}
.ts-workspace .ts-form,.ts-workspace .ts-directory,.ts-workspace .ts-history{min-width:0;border:1px solid var(--ts-line);background:var(--ts-surface);border-radius:18px;padding:22px}
.ts-workspace .ts-form label,.ts-workspace .ts-range label{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;font-size:14px;font-weight:650;margin-bottom:16px}
/* Legacy supplies global control sizes; each field must fit its own grid cell. */
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace :is(input,textarea,select){display:block;box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;min-inline-size:0!important;min-height:46px;margin:0;padding:12px;border:1px solid var(--ts-line)!important;border-radius:10px;background:var(--ts-surface)!important;color:var(--ts-text)!important;-webkit-text-fill-color:var(--ts-text)!important;font-family:inherit;font-size:16px!important;line-height:1.4;box-shadow:none!important;background-image:none!important;opacity:1}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace :is(input,textarea)::placeholder{color:var(--ts-muted)!important;-webkit-text-fill-color:var(--ts-muted)!important;opacity:1}
.ts-workspace input:is([type=date],[type=time]){font-variant-numeric:tabular-nums;padding-inline:10px}
.ts-workspace input:is([type=date],[type=time])::-webkit-date-and-time-value{min-width:0;text-align:left}
.ts-workspace input:is([type=date],[type=time])::-webkit-datetime-edit{min-width:0;padding:0}
.ts-workspace input[type=date]::-webkit-calendar-picker-indicator,.ts-workspace input[type=time]::-webkit-calendar-picker-indicator{margin:0;padding:2px;opacity:1;filter:none!important}
.ts-workspace .ts-form small{display:block;font-size:12px;line-height:1.6}
.ts-workspace .ts-pin-fields,.ts-workspace .ts-time-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.ts-workspace .ts-pin-fields input{letter-spacing:3px}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:0;max-width:100%;width:auto;height:auto;margin:0;padding:11px 16px;border:1px solid var(--ts-line)!important;border-radius:12px;background:var(--ts-control)!important;background-image:none!important;color:var(--ts-text)!important;-webkit-text-fill-color:currentColor!important;font-family:inherit;font-size:14px!important;font-weight:700;line-height:1.35!important;text-align:center;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace button:disabled{opacity:.6;cursor:default}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace button:not(:disabled):hover{border-color:var(--ts-accent)!important}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace button.ts-primary,html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-header-actions button[data-temporary=register]{background:#155bb9!important;color:#fff!important;border-color:#155bb9!important;-webkit-text-fill-color:#fff!important}
.ts-workspace .ts-form .ts-primary{width:100%;margin:16px 0 12px}
.ts-workspace .ts-back{flex:0 0 auto}
.ts-workspace :is(button,input,textarea,select):focus-visible{outline:3px solid var(--ts-focus);outline-offset:2px}
.ts-workspace .ts-list-head{margin-bottom:14px;flex-wrap:wrap;gap:12px}
.ts-workspace .ts-list-head h2{margin:0;flex:1;min-width:0}
.ts-workspace .ts-list-head h2>small{font-size:14px;font-weight:500;margin-left:5px}
.ts-workspace .ts-person{padding:20px 0;border-top:1px solid var(--ts-line);align-items:flex-start}
.ts-workspace .ts-person:last-child{padding-bottom:0}
.ts-workspace .ts-person-info{flex:1;min-width:0}
.ts-workspace .ts-person-info>strong,.ts-workspace .ts-phone{display:block;overflow-wrap:anywhere}
.ts-workspace .ts-person-info>strong{font-size:17px;line-height:1.4;color:var(--ts-text)}
.ts-workspace .ts-phone{margin:5px 0 10px;color:var(--ts-muted);font-size:14px}
.ts-workspace .ts-person-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;flex:0 0 auto;min-width:0}
.ts-workspace .ts-person-actions button{min-width:138px}
.ts-workspace .ts-employment{margin:0 0 12px;color:var(--ts-muted);font-size:13px;line-height:1.6}
.ts-workspace .ts-form-note{margin:0 0 16px;color:var(--ts-muted);font-size:12px;line-height:1.6}
.ts-workspace .ts-agency-details{margin:0 0 14px;color:var(--ts-muted);font-size:14px;white-space:pre-wrap;line-height:1.6}
.ts-workspace .ts-archive-confirm{margin:0 0 22px;padding:20px;border:1px solid var(--ts-line);border-left:4px solid #b83b4b;border-radius:14px;background:var(--ts-surface)}
.ts-workspace .ts-archive-confirm h2{margin:0 0 10px;font-size:20px}
.ts-workspace .ts-archive-confirm p{margin:0 0 16px;color:var(--ts-muted);font-size:14px;line-height:1.65}
.ts-workspace .ts-archive-confirm>div{display:flex;flex-wrap:wrap;gap:10px}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace button.ts-status-switch{display:inline-flex;gap:8px;min-width:0;min-height:44px;padding:7px 10px;border-color:var(--ts-line)!important;background:var(--ts-control)!important;color:var(--ts-muted)!important;font-size:13px!important}
.ts-workspace .ts-switch-track{display:inline-flex;align-items:center;flex:0 0 34px;width:34px;height:20px;padding:3px;border-radius:20px;background:#78879a;transition:background .12s ease}
.ts-workspace .ts-switch-track>span{width:14px;height:14px;flex:0 0 14px;border-radius:50%;background:white;transform:translateX(0);transition:transform .12s ease}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace button.ts-status-switch[aria-checked="true"]{color:var(--ts-good-text)!important;background:var(--ts-good-bg)!important}
.ts-workspace .ts-status-switch[aria-checked="true"] .ts-switch-track{background:#178253}
.ts-workspace .ts-status-switch[aria-checked="true"] .ts-switch-track>span{transform:translateX(14px)}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace button.ts-danger{color:#a82b3a!important;border-color:#e7b4bb!important;background:var(--ts-surface)!important}
html[data-theme=dark] body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace button.ts-danger{color:#ffc1c8!important;border-color:#9b5562!important}
.ts-workspace .ts-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.ts-workspace .ts-badge{display:inline-block;max-width:100%;border-radius:7px;padding:5px 8px;background:var(--ts-control);color:var(--ts-muted)!important;font-size:11px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.ts-workspace .ts-badge.ts-active{background:var(--ts-good-bg);color:var(--ts-good-text)!important}
.ts-workspace .ts-badge.ts-attention{background:var(--ts-warn-bg);color:var(--ts-warn-text)!important}
.ts-workspace .ts-payroll-pending{margin:12px 0 0;padding-left:10px;border-left:3px solid #d3a34e;line-height:1.5}
.ts-workspace .ts-payroll-pending strong{display:block;font-size:12px;color:var(--ts-warn-text)}
.ts-workspace .ts-payroll-pending small{display:block;margin-top:2px;font-size:12px}
.ts-workspace .ts-error,.ts-workspace .ts-notice{margin:0 0 20px;padding:14px;border:1px solid #ebadb3;border-radius:12px;color:#a31e2e;background:#fff2f3;line-height:1.5}
.ts-workspace .ts-error:focus{outline:2px solid #b83b4b;outline-offset:2px}
.ts-workspace .ts-notice{border-color:#9acaab;background:#e5f5eb;color:#166344}
.ts-workspace .ts-empty{padding:25px 0;color:var(--ts-muted);line-height:1.6}
.ts-workspace .ts-history-intro{margin:24px 0;align-items:flex-start}
.ts-workspace .ts-history-intro>div{min-width:0}
.ts-workspace .ts-history-intro h2{margin:16px 0 3px;font-size:23px;overflow-wrap:anywhere}
.ts-workspace .ts-history-intro p{margin:0;font-size:13px}
.ts-workspace .ts-history-intro>.ts-badge{margin-top:5px}
.ts-workspace .ts-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto auto;align-items:end;gap:12px;margin:0 0 22px;min-width:0}
.ts-workspace .ts-range label{margin:0}
.ts-workspace .ts-range small{grid-column:1/-1;font-size:12px;line-height:1.5}
.ts-workspace .ts-correction{margin-bottom:22px;background:var(--ts-tint)}
.ts-workspace .ts-correction .ts-list-head{align-items:flex-start}
.ts-workspace .ts-correction h2{font-size:18px}
.ts-workspace .ts-correction .ts-checkbox{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:500}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-correction input[type=checkbox]{width:22px!important;min-width:22px!important;height:22px;min-height:22px;max-height:22px;flex:0 0 22px;padding:0;accent-color:#155bb9}
.ts-workspace .ts-correction textarea{resize:vertical;min-height:100px}
.ts-workspace .ts-correction .ts-primary{width:auto;min-width:210px}
.ts-workspace .ts-history{padding:0;overflow:visible}
.ts-workspace .ts-history>.ts-empty,.ts-workspace .ts-history>p{padding:22px}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-history table{border-collapse:collapse;min-width:0!important;width:100%!important;max-width:100%!important;margin:0;table-layout:fixed;font-size:13px;text-align:left}
.ts-workspace .ts-history th,.ts-workspace .ts-history td{min-width:0!important;padding:16px 12px;border:0;border-bottom:1px solid var(--ts-line);vertical-align:top;line-height:1.5;overflow-wrap:anywhere;white-space:normal!important;text-align:left!important}
.ts-workspace .ts-history thead{background:var(--ts-tint);color:var(--ts-muted);font-size:12px}
.ts-workspace .ts-history thead th:first-child{width:16%}
.ts-workspace .ts-history thead th:nth-child(2),.ts-workspace .ts-history thead th:nth-child(3){width:14%}
.ts-workspace .ts-history thead th:nth-child(4){width:10%}
.ts-workspace .ts-history thead th:nth-child(5){width:23%}
.ts-workspace .ts-history thead th:last-child{width:23%}
.ts-workspace .ts-history tr:last-child>*{border-bottom:0}
.ts-workspace .ts-history td small{display:block;margin-top:4px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.ts-workspace .ts-shift-status{font-weight:650}
.ts-workspace .ts-warning-text{color:var(--ts-warn-text)}
.ts-workspace .ts-request-status{color:var(--ts-accent)!important}
.ts-workspace .ts-history button{min-height:44px;padding:9px 12px;font-size:13px!important}
html[data-theme=dark] .ts-workspace{--ts-surface:#15253a;--ts-line:#334862;--ts-text:#edf5ff;--ts-muted:#adbed3;--ts-control:#243d5a;--ts-accent:#8dbfff;--ts-focus:#71b6ff;--ts-tint:#1b304a;--ts-good-bg:#153c31;--ts-good-text:#79dfab;--ts-warn-bg:#49371b;--ts-warn-text:#ffd689;color-scheme:dark}
html[data-theme=dark] .ts-workspace .ts-error{background:#44232c;color:#ffc9d1;border-color:#965765}
html[data-theme=dark] .ts-workspace .ts-notice{background:#153c31;color:#d3fce6;border-color:#3f7b61}
@media(min-width:1200px){
  .ts-workspace .ts-layout.ts-register-open{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}
  .ts-workspace .ts-register-open>.ts-directory{grid-column:1;grid-row:1}
  .ts-workspace .ts-register-open>.ts-form{grid-column:2;grid-row:1}
}
@media(min-width:768px) and (max-width:1199px){
  .ts-workspace{padding-top:22px}
  .ts-workspace .ts-form,.ts-workspace .ts-directory{padding:20px}
  .ts-workspace .ts-register-open>.ts-form{max-width:620px;width:100%}
}
@media(max-width:1199px){
  .ts-workspace .ts-range{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ts-workspace .ts-range>button{width:100%}
  html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-history :is(table,tbody,tr){display:block;min-width:0!important;width:100%!important;max-width:100%!important}
  .ts-workspace .ts-history thead{display:none}
  html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-history tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:18px 20px;border-bottom:1px solid var(--ts-line)}
  .ts-workspace .ts-history tr:last-child{border-bottom:0}
  html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-history :is(th,td){display:block;width:auto!important;max-width:100%!important;padding:0;border:0!important;min-width:0!important}
  .ts-workspace .ts-history tbody th{grid-column:1/-1;font-size:16px}
  .ts-workspace .ts-history td::before{content:attr(data-label);display:block;margin-bottom:4px;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--ts-muted);font-weight:600}
  .ts-workspace .ts-history td:last-child{grid-column:1/-1}
  .ts-workspace .ts-history td:last-child::before{display:none}
  .ts-workspace .ts-history td:last-child button{width:100%;margin-top:2px}
}
@media(max-width:767px){
  .ts-workspace{padding:16px 0 calc(112px + env(safe-area-inset-bottom,0px))}
  body.transfer-workspace-host>.ts-workspace{padding:calc(16px + env(safe-area-inset-top,0px)) 14px calc(112px + env(safe-area-inset-bottom,0px))}
  .ts-workspace h1{font-size:25px}
  .ts-workspace .ts-header{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}
  .ts-workspace .ts-heading{flex-basis:calc(100% - 110px)}
  .ts-workspace .ts-heading>small{font-size:10px;letter-spacing:.045em}
  .ts-workspace .ts-header-actions{flex-basis:100%;margin:0;flex-wrap:wrap}
  .ts-workspace .ts-header-actions button{flex:1 1 160px;width:auto}
  .ts-workspace .ts-intro{margin-bottom:18px;font-size:14px}
  .ts-workspace .ts-layout{gap:18px}
  .ts-workspace .ts-form,.ts-workspace .ts-directory{padding:17px;border-radius:15px}
  .ts-workspace .ts-person{flex-direction:column;gap:14px;padding:18px 0}
  .ts-workspace .ts-person-actions{flex-direction:row;flex-wrap:wrap;width:100%;gap:8px}
  .ts-workspace .ts-person-actions button{flex:1 1 120px;min-width:0;padding:11px 10px;font-size:14px!important}
  .ts-workspace .ts-list-head{gap:10px}
  .ts-workspace .ts-history-intro{display:block;margin:18px 0}
  .ts-workspace .ts-history-intro>.ts-badge{margin-top:12px}
  .ts-workspace .ts-history-intro h2{font-size:22px}
  .ts-workspace .ts-range{gap:12px 10px}
  .ts-workspace .ts-range input{padding-inline:8px}
  .ts-workspace .ts-correction .ts-list-head{gap:8px}
  .ts-workspace .ts-correction h2{font-size:17px}
  .ts-workspace .ts-correction .ts-primary{width:100%;min-width:0}
  html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-history tr{gap:12px 14px;padding:17px}
}
@media(max-width:379px){
  .ts-workspace .ts-range,.ts-workspace .ts-pin-fields,.ts-workspace .ts-time-fields{grid-template-columns:minmax(0,1fr)}
  .ts-workspace .ts-header .ts-back{padding-inline:11px}
}

/* Country selection remains separate from store context and payroll cohort. */
.ts-workspace .ts-country-switch{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:5px;border:1px solid var(--ts-line);border-radius:12px;background:var(--ts-surface);width:fit-content;max-width:100%}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-country-switch button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:112px;padding:9px 16px;border:1px solid transparent!important;border-radius:9px;background:transparent!important;color:var(--ts-text)!important;font:inherit;font-weight:700}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-country-switch button[aria-pressed="true"]{background:#1261cf!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#1261cf!important}
.ts-workspace .ts-country-switch button:focus-visible{outline:3px solid #73b5ff;outline-offset:2px}
@media(max-width:600px){.ts-workspace .ts-country-switch{width:100%}html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-country-switch button{flex:1;min-width:0}}

/* Weekly attendance controls stay within each responsive workspace. */
.ts-workspace .ts-range{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.ts-workspace .ts-range>strong{grid-column:1/-1}
.ts-workspace .ts-hours-preview{padding:12px;border:1px solid var(--ts-line);border-radius:10px;background:var(--ts-surface);line-height:1.6}

/* Compact directory columns; filters and scope stay local to this workspace. */
.ts-workspace .ts-directory-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin:18px 0 8px}
.ts-workspace .ts-directory-filters label{display:grid;gap:6px;margin:0;min-width:0;font-size:12px;font-weight:650}
.ts-workspace .ts-directory-search{grid-column:span 2}
.ts-workspace .ts-directory-filters>button{grid-column:span 2}
.ts-workspace .ts-filter-feedback{margin:8px 0 14px;color:var(--ts-warn-text);font-size:13px;line-height:1.5;min-height:0}
.ts-workspace .ts-directory-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior-inline:contain;border:1px solid var(--ts-line);border-radius:12px}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace .ts-employee-table{width:100%!important;min-width:1080px!important;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left;font-size:13px;margin:0}
.ts-workspace .ts-employee-table th,.ts-workspace .ts-employee-table td{padding:15px 12px;border:0;border-bottom:1px solid var(--ts-line);vertical-align:middle;line-height:1.5;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important}
.ts-workspace .ts-employee-table thead{background:var(--ts-tint);color:var(--ts-muted);font-size:11px}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-employee-table thead button.ts-sort-header{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-width:0;min-height:44px;padding:3px 0!important;margin:0;border:0!important;border-radius:4px!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font-size:inherit!important;font-weight:inherit!important;text-align:left!important;letter-spacing:inherit;text-transform:inherit;cursor:pointer}
.ts-workspace .ts-sort-label{min-width:0;overflow-wrap:normal}
.ts-workspace .ts-sort-indicator{flex-shrink:0;font-size:15px;line-height:1}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-employee-table thead button.ts-sort-header[data-sort-active="true"]{color:var(--ts-accent)!important}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace.ts-workspace .ts-employee-table thead button.ts-sort-header:focus-visible{outline:3px solid var(--ts-focus);outline-offset:3px}
.ts-workspace .ts-employee-table thead th:first-child{width:18%}
.ts-workspace .ts-employee-table thead th:nth-child(2){width:9%}
.ts-workspace .ts-employee-table thead th:nth-child(3){width:9%}
.ts-workspace .ts-employee-table thead th:nth-child(4){width:13%}
.ts-workspace .ts-employee-table thead th:nth-child(5){width:16%}
.ts-workspace .ts-employee-table thead th:nth-child(6){width:21%}
.ts-workspace .ts-employee-table thead th:last-child{width:14%}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace .ts-employee-table button.ts-status-switch{min-width:116px;white-space:nowrap;overflow-wrap:normal}
.ts-workspace .ts-employee-table .ts-status-switch>span{flex-shrink:0;white-space:nowrap}
.ts-workspace .ts-employee-table tbody th{font-size:14px;font-weight:650}
.ts-workspace .ts-employee-table tbody th small,.ts-workspace .ts-employee-table td small{display:block;font-size:11px;font-weight:400;margin-top:3px;line-height:1.5}
.ts-workspace .ts-employee-table .ts-badges{margin-top:7px}
.ts-workspace .ts-employee-table tr:last-child>*{border-bottom:0}
.ts-workspace .ts-directory-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace .ts-directory-actions button{width:100%;min-height:38px;padding:7px 8px;font-size:11px!important;border-radius:8px}
.ts-workspace .ts-contact{display:grid;gap:7px;justify-items:start}
.ts-workspace .ts-whatsapp{display:inline-flex;gap:6px;align-items:center;min-height:36px;padding:5px 8px;border:1px solid var(--ts-line);border-radius:8px;background:var(--ts-good-bg);color:var(--ts-good-text)!important;text-decoration:none;font-size:11px;font-weight:650}
.ts-workspace .ts-whatsapp>span:first-child{font-size:9px;font-weight:800;border:1px solid currentColor;border-radius:50%;width:22px;height:22px;display:grid;place-items:center}
.ts-workspace .ts-whatsapp:focus-visible{outline:3px solid var(--ts-focus);outline-offset:2px}
.ts-workspace .ts-schedule-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ts-workspace .ts-schedule-range{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end;margin-bottom:18px}
.ts-workspace .ts-schedule-range-week{grid-template-columns:minmax(95px,.7fr) minmax(85px,.6fr) minmax(120px,.9fr) minmax(290px,2fr) auto}
.ts-workspace .ts-schedule-range label{display:grid;gap:6px;margin:0;min-width:0;font-size:13px;font-weight:650}
.ts-workspace .ts-schedule-range>small{grid-column:1/-1;font-size:12px;color:var(--ts-muted)}
.ts-workspace .ts-schedule-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin:0 0 20px}
.ts-workspace .ts-schedule-summary>span{display:grid;gap:5px;padding:17px;border:1px solid var(--ts-line);border-radius:12px;background:var(--ts-surface);min-width:0}
.ts-workspace .ts-schedule-summary small{color:var(--ts-muted);font-size:12px}
.ts-workspace .ts-schedule-summary strong{font-size:17px}
.ts-workspace .ts-assigned-schedule{border:1px solid var(--ts-line);border-radius:12px;overflow:hidden;background:var(--ts-surface)}
.ts-workspace .ts-assigned-schedule>p{padding:18px;margin:0;line-height:1.6}
html body #temporaryStaffWorkspace#temporaryStaffWorkspace .ts-assigned-schedule table{width:100%!important;min-width:0!important;border-collapse:collapse;table-layout:fixed;font-size:13px;text-align:left;margin:0}
.ts-workspace .ts-assigned-schedule th,.ts-workspace .ts-assigned-schedule td{padding:15px 14px;text-align:left!important;border:0;border-bottom:1px solid var(--ts-line);white-space:normal!important;overflow-wrap:anywhere;vertical-align:top;line-height:1.6}
.ts-workspace .ts-assigned-schedule thead{background:var(--ts-tint);color:var(--ts-muted);font-size:12px}
.ts-workspace .ts-assigned-schedule th:first-child{width:18%}
.ts-workspace .ts-assigned-schedule th:nth-child(2){width:29%}
.ts-workspace .ts-assigned-schedule th:nth-child(3){width:26%}
.ts-workspace .ts-assigned-schedule th:nth-child(4){width:12%}
.ts-workspace .ts-assigned-schedule th:last-child{width:15%}
.ts-workspace .ts-assigned-schedule td small{display:block;font-size:11px;color:var(--ts-muted);margin-top:4px}
.ts-workspace .ts-assigned-schedule tr:last-child>*{border-bottom:0}
@media(max-width:1199px){
 .ts-workspace .ts-directory-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ts-workspace .ts-directory-filters>button{grid-column:1/-1}
 .ts-workspace .ts-schedule-range-week{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ts-workspace .ts-schedule-range-week .ts-schedule-week{grid-column:span 2}
 .ts-workspace .ts-employee-table tr>:first-child{position:sticky;left:0;background:var(--ts-surface);z-index:1;box-shadow:1px 0 var(--ts-line)}
 .ts-workspace .ts-employee-table thead tr>:first-child{background:var(--ts-tint)}
}
@media(max-width:767px){
 .ts-workspace .ts-directory-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
 .ts-workspace .ts-directory-filters :is(input,select),.ts-workspace .ts-schedule-range :is(input,select){font-size:16px!important}
 .ts-workspace .ts-directory-filters>button{align-self:stretch}
 html body #temporaryStaffWorkspace#temporaryStaffWorkspace .ts-employee-table{min-width:1000px!important}
 .ts-workspace .ts-employee-table thead th:first-child{width:145px}
 .ts-workspace .ts-employee-table th,.ts-workspace .ts-employee-table td{padding:12px 10px}
 .ts-workspace .ts-assigned-heading{display:grid;gap:14px}
 .ts-workspace .ts-schedule-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .ts-workspace .ts-schedule-range{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ts-workspace .ts-schedule-range-week .ts-schedule-week{grid-column:1/-1}
 .ts-workspace .ts-schedule-range-week .ts-schedule-month,.ts-workspace .ts-schedule-range-week>button{grid-column:1/-1}
 .ts-workspace .ts-schedule-range>button{width:100%}
 .ts-workspace .ts-schedule-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ts-workspace .ts-schedule-summary>span:first-child{grid-column:1/-1}
 html body #temporaryStaffWorkspace#temporaryStaffWorkspace .ts-assigned-schedule :is(table,tbody){display:block}
 .ts-workspace .ts-assigned-schedule thead{display:none}
 .ts-workspace .ts-assigned-schedule tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:17px;border-bottom:1px solid var(--ts-line)}
 .ts-workspace .ts-assigned-schedule :is(td,th){display:block;width:auto!important;padding:0;border:0;min-width:0}
 .ts-workspace .ts-assigned-schedule tbody th{grid-column:1/-1;font-size:15px}
 .ts-workspace .ts-assigned-schedule td:before{content:attr(data-label);display:block;font-size:10px;text-transform:uppercase;color:var(--ts-muted);letter-spacing:.04em;margin-bottom:3px}
 .ts-workspace .ts-assigned-schedule td:nth-child(2){grid-column:1/-1}
}
