.workforce-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.workforce-actions button{padding:10px;border:1px solid #d5deed;border-radius:10px;background:white;color:#175cff;cursor:pointer}.modal.workforce-modal{max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box}.workforce-form{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}.workforce-form label{display:block;min-width:0;line-height:1.6}.workforce-form p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.workforce-form button.primary{position:sticky;bottom:0;z-index:2}.workforce-commission-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.workforce-modal button:disabled{opacity:.5;cursor:not-allowed}
.employee-insights-modal .workforce-time-edit{
  display:flex;align-items:center;justify-content:center;gap:7px;
  width:max-content;min-height:36px;max-width:100%;margin:8px 0 0;padding:7px 12px;
  border:1px solid #cfddff;border-radius:10px;background:#eff5ff;color:#215be5;
  font:inherit;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap;
  box-shadow:0 1px 2px #173b7210;cursor:pointer;
  transition:background .15s,border-color .15s,box-shadow .15s;
}
.employee-insights-modal .workforce-time-edit svg{
  width:17px;height:17px;flex:none;fill:none;stroke:currentColor;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
.employee-insights-modal .workforce-time-edit:hover{background:#e1ecff;border-color:#8eaffb;box-shadow:0 2px 5px #215be518}
.employee-insights-modal .workforce-time-edit:focus-visible{outline:3px solid #91b6ff;outline-offset:3px}
.employee-insights-modal .workforce-time-edit:active{background:#d4e3ff}
@media(pointer:coarse){.employee-insights-modal .workforce-time-edit{min-height:44px;padding:10px 14px}}
@media(prefers-reduced-motion:reduce){.employee-insights-modal .workforce-time-edit{transition:none}}
.late-balance-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.late-balance-summary section{padding:14px;border:1px solid #d9e5ff;border-radius:14px;background:#f1f6ff;color:#294872}
.late-balance-summary span{display:block;font-size:12px;line-height:1.6}
.late-balance-summary strong{display:block;font-size:28px;color:#215be5}
.late-balance-summary small{font-size:13px}
.late-balance-history h3{font-size:15px;margin:0}
.late-balance-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #e7edf6;font-size:13px}
.late-balance-row small{display:block;color:#69768c;line-height:1.7}
.late-balance-row b{color:#ba5b16;background:#fff5e9;border-radius:8px;padding:6px 9px}
.late-balance-empty{padding:12px;border-radius:10px;background:#f4f6f9;color:#526179}
@media(max-width:380px){.late-balance-summary{grid-template-columns:1fr}}
#lateSettlement .settlement-actions{position:static;padding:18px 0 0;border-top:1px solid #e3eaf5;background:#fff;display:grid;gap:10px}
#lateSettlement .settlement-actions p{margin:0;color:#6a7890;font-size:12px}
#lateSettlement .settlement-actions button.primary{position:static;inset:auto;width:100%;min-height:48px;margin:0;box-shadow:none;transform:none}
#lateSettlement .settlement-actions button:disabled{opacity:1;background:#e6ecf5;color:#7b899f;cursor:not-allowed}
#lateSettlement .settlement-date-label{margin:0;font-weight:700}
#lateSettlement .settlement-date-control{position:relative;min-width:0;display:flex;align-items:center}
#lateSettlement .settlement-date-control svg{position:absolute;left:15px;width:22px;height:22px;fill:none;stroke:#2463e9;stroke-width:1.7;stroke-linecap:round;pointer-events:none}
#lateSettlement .settlement-date-control select{appearance:none;-webkit-appearance:none;display:block;width:100%;height:auto;min-height:56px;box-sizing:border-box;padding:14px 40px 14px 48px;margin:0;border:1px solid #ccdaf1;border-radius:13px;background:#f7faff;color:#18365d;font:inherit;font-size:16px;line-height:1.5;cursor:pointer;text-overflow:ellipsis}
#lateSettlement .settlement-date-control select:focus-visible{outline:3px solid #a7c7ff;outline-offset:2px;border-color:#3878ee}
#lateSettlement .settlement-date-control select:disabled{color:#78869a;background:#f1f4f8;cursor:not-allowed}
#lateSettlement .settlement-date-control>span{position:absolute;right:16px;color:#52719c;pointer-events:none}
#lateSettlement .settlement-selected{margin:0;padding:10px 12px;border-radius:10px;background:#eef5ff;color:#365b8f}
#lateSettlement #settlementPreview{padding:14px;border-radius:12px;background:#f6f8fb;line-height:1.7}
.profile-late-summary{margin:16px 0}.profile-late-summary>p{grid-column:1/-1;margin:0;color:#65748d;font-size:12px;line-height:1.6}
.late-settlement-status{margin-top:8px;padding:7px 9px;border-radius:8px;background:#fff4e7;color:#a96118;font-size:12px;line-height:1.6;white-space:normal;min-width:140px}
.late-settlement-status.settled{background:#e9f8f0;color:#177451}.late-settlement-status.pending{background:#f0f3f7;color:#64748b}
.app-confirm-layer{z-index:10000!important}.app-confirm-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.app-confirm-actions{display:flex;gap:12px;justify-content:flex-end}.app-confirm-actions button{min-height:46px;padding:10px 20px;border-radius:10px;border:1px solid #d7e1ef;font:inherit;cursor:pointer}.app-confirm-actions [data-answer=no]{background:#f3f6fa;color:#314664}
.ot-time-edit-button{display:block;margin-top:8px;min-height:40px;white-space:normal}
#otTimeEditForm .primary{position:static}
