/* Isolated workday tools: touch-friendly controls and no changes to reference layouts. */
#workforce{margin:24px 0 36px;padding:24px;border:1px solid #c4d3b8;border-radius:12px;background:#f7faf4;scroll-margin-top:16px}
#workforce .wf-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
#workforce h2{font-size:1.6rem;margin:8px 0}#workforce h3{font-size:1.15rem;margin:12px 0}#workforce h4{font-size:1rem;margin:0;overflow-wrap:anywhere}
#workforce p{line-height:1.5}#workforce .wf-help{font-size:.82rem;color:#526249;line-height:1.55}#workforce .wf-header>div>p{font-size:.9rem;color:#526249}
#workforce button{min-height:44px;border:1px solid #b8c7ad;border-radius:6px;background:#fff;padding:10px 15px;color:#263c20;font:inherit;line-height:1.3}
#workforce button.primary-button{background:#b8f33b;border-color:#8ebd28;font-weight:700}#workforce button:disabled{opacity:.55;cursor:wait}
#workforce button:focus-visible,#workforce input:focus-visible,#workforce select:focus-visible,#workforce textarea:focus-visible{outline:3px solid #4e8210;outline-offset:3px}
#workforce .wf-actions{display:flex;flex-wrap:wrap;gap:8px}#workforce label{display:flex;flex-direction:column;gap:7px;font-size:.88rem;font-weight:700;min-width:0}
#workforce input,#workforce select,#workforce textarea{box-sizing:border-box;min-height:46px;max-width:100%;width:100%;font:inherit;font-size:16px;border:1px solid #aebda4;border-radius:6px;padding:10px;background:#fff;color:#202725}
#workforce .wf-clock{background:#e8f2df;border:1px solid #c5d7b6;border-radius:10px;padding:20px;margin:16px 0 24px}
#workforce .wf-clock-state{display:block;font-size:1.55rem}#workforce .wf-clock form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}#workforce .wf-clock form label{flex:1 1 220px}#workforce .wf-clock form button{flex:0 0 auto;min-height:46px}
#workforce .wf-filters,#workforce .wf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#workforce .wf-filters{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
#workforce .wf-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;margin:12px 0 28px}
#workforce .wf-card{background:#fff;padding:18px;border:1px solid #d4dfcc;border-radius:8px;min-width:0}#workforce .wf-card p{font-size:.9rem;margin:10px 0;overflow-wrap:anywhere}#workforce .wf-note{white-space:pre-wrap}
#workforce .wf-pill{font-size:.75rem;font-weight:700;background:#edf2e8;color:#3e5b2f;padding:6px 9px;border-radius:20px;white-space:nowrap}#workforce .wf-cancelled{background:#f1f2ef}#workforce .wf-cancelled .wf-pill{color:#714734;background:#f4e8dc}
#workforce .wf-empty{padding:20px;background:#fff;border:1px dashed #c8d5be;border-radius:8px;color:#526249}#workforce #wf-message{font-size:.9rem;font-weight:600;min-height:1.4em}#workforce #wf-editor-error{color:#a42615}
#workforce dialog{width:min(640px,calc(100% - 24px));max-height:90dvh;border:1px solid #c5d0bd;border-radius:12px;padding:24px;overflow:auto;color:#202725}#workforce dialog::backdrop{background:#122010aa}#workforce dialog label{margin:16px 0}#workforce dialog .wf-form-grid label{margin-bottom:0}
@media(max-width:700px){#workforce{padding:16px;margin-left:-8px;margin-right:-8px}#workforce .wf-form-grid{grid-template-columns:1fr}#workforce .wf-clock{padding:16px}#workforce .wf-clock form button{width:100%}#workforce dialog{padding:18px}#workforce .wf-card{padding:16px}#workforce .wf-filters{grid-template-columns:1fr 1fr}#workforce .wf-filters label:last-child:nth-child(3){grid-column:1/-1}}
