/* Spec 11: a quiet, responsive work surface. No external fonts or assets. */
.wf-shell{max-width:1440px;margin:0 auto;color:#203044}.wf-hero{display:flex;align-items:center;gap:18px;padding:28px 30px;background:linear-gradient(110deg,#f0f7f5,#f7fafc);border:1px solid #dce9e5;border-radius:20px;margin-bottom:20px}.wf-hero h2{font-size:29px;line-height:1.25;margin:4px 0 8px;color:#153e36}.wf-hero p{margin:0;color:#58706b}.wf-hero .wf-eyebrow{font-size:11px;font-weight:700;letter-spacing:.6px;color:#528477}.wf-hero>button{margin-inline-start:auto;flex-shrink:0}.wf-hero-icon{width:64px;height:64px;border-radius:20px;background:#d9ebe5;color:#30705e;display:grid;place-items:center;flex-shrink:0}.wf-hero-icon svg{width:33px;height:33px}.wf-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.wf-nav{display:flex;gap:4px;background:#f0f3f5;padding:5px;border-radius:12px;flex-wrap:wrap}.wf-nav button{border:0;border-radius:9px;padding:10px 17px;background:transparent;color:#617080;font:inherit;font-weight:600;cursor:pointer}.wf-nav button.active{background:white;color:#236450;box-shadow:0 2px 6px #20304410}.wf-person-filter{display:flex;align-items:center;gap:8px;font-size:12px;color:#66788b}.wf-person-filter select,.wf-task-actions select{background:white;border:1px solid #dbe3e8;border-radius:9px;padding:9px;max-width:100%;font:inherit;color:#203044}.wf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.wf-stat{display:grid;grid-template-columns:42px 1fr;gap:5px 13px;align-items:center;text-align:right;padding:20px;background:white;border:1px solid #e3e9ed;border-radius:15px;cursor:pointer;color:#263d4e;font:inherit}.wf-stat-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#edf5f1;color:#4a7b69;flex-shrink:0}.wf-stat-icon svg{width:21px;height:21px}.wf-stat .wf-stat-icon{grid-row:span 2}.wf-stat b{font-size:27px;line-height:1.1}.wf-stat>span:last-child{font-size:12px;color:#657989}.wf-today-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.wf-panel{border:1px solid #e1e8ed;background:white;border-radius:16px;padding:23px;min-width:0}.wf-panel h3,.wf-sectionhead h3{font-size:17px;margin:0 0 15px;color:#274139}.wf-line{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid #edf1f4;align-items:center;min-width:0}.wf-line>div{min-width:0;flex:1}.wf-line b{display:block;font-size:14px;overflow-wrap:anywhere}.wf-line small,.wf-person small,.wf-update small{display:block;color:#718291;font-size:11px;margin-top:5px}.wf-line p{font-size:13px;color:#5a6d7b;margin:6px 0}.wf-clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.wf-pill{font-size:11px;background:#f0f5f3;color:#507267;padding:5px 9px;border-radius:7px;flex-shrink:0}.wf-dot{width:8px;height:8px;border-radius:50%;background:#76a58f;flex-shrink:0}.wf-dot.late{background:#c68d5b}.wf-avatar{height:34px;width:34px;display:grid;place-items:center;flex-shrink:0;background:#edf1f6;color:#57718d;border-radius:50%;font-size:14px;font-weight:700}.wf-avatar.large{height:48px;width:48px;font-size:21px;background:#eaf4ef;color:#497b65}.wf-empty{text-align:center;padding:33px 10px;color:#8a9ba8;font-size:13px}.wf-empty svg{width:29px;height:29px;opacity:.45}.wf-warning{padding:12px 16px;background:#fcf8ee;border:1px solid #eee3c6;color:#88703e;font-size:12px;line-height:1.7;border-radius:11px;margin-top:20px}.wf-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:20px 2px;font-size:10px;color:#8a99a4}.wf-footer b{font-weight:500}.wf-sectionhead{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.wf-sectionhead h3{margin-bottom:5px}.wf-sectionhead .hint{margin:0;max-width:700px}.wf-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.wf-person{background:white;border:1px solid #e0e8ec;border-radius:16px;padding:22px;display:grid;grid-template-columns:48px 1fr;gap:15px;align-content:start;min-width:0}.wf-person h3{font-size:16px;margin:0 0 6px;overflow-wrap:anywhere}.wf-person p{font-size:12px;color:#688173;margin:0}.wf-person dl{grid-column:1/-1;margin:0;font-size:12px;padding-top:8px}.wf-person dl>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #eff2f5}.wf-person dt{color:#7c8c98}.wf-person dd{margin:0;text-align:end;overflow-wrap:anywhere}.wf-person>button{grid-column:1/-1}.wf-list{display:grid;gap:12px}.wf-task,.wf-doc{display:flex;align-items:center;gap:18px;border:1px solid #e0e8ec;background:white;border-radius:13px;padding:20px}.wf-task.done{opacity:.65}.wf-task-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid #dbe6e0;border-radius:8px;flex-shrink:0;color:#78998b}.wf-task-mark svg{width:15px;height:15px}.wf-task-text{flex:1;min-width:0;overflow-wrap:anywhere}.wf-task-text b,.wf-doc b{font-size:14px}.wf-task-text p{white-space:pre-wrap;margin:7px 0;font-size:12px;color:#6d7e8b}.wf-task-text small{font-size:11px;color:#8b99a5}.wf-task-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wf-task-actions button{font-size:11px;padding:9px}.wf-doc>div:not(.wf-task-actions){flex:1;min-width:0}.wf-doc p{font-size:12px;color:#708278;margin:7px 0 0}.wf-updates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wf-update{border:1px solid #e0e8ec;border-radius:15px;background:white;padding:22px;min-width:0}.wf-update header{display:flex;align-items:center;gap:12px}.wf-update header>div{flex:1;min-width:0}.wf-update header b{font-size:13px}.wf-pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px}.wf-document{max-height:42vh;overflow:auto;background:#fafbf9;border:1px solid #e4ebe4;white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;border-radius:10px;font-size:14px;line-height:1.9}.wf-signed{color:#397153;background:#eff8f0;padding:14px;border-radius:9px;font-size:12px}.wf-versionlinks{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px}.wf-attendance-grid{display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1.4fr);gap:20px}.wf-attendance-grid form label{display:grid;gap:8px;font-size:12px;color:#64798b}.wf-attendance-grid input{border:1px solid #dce4e9;border-radius:9px;padding:10px;font:inherit;max-width:100%;min-width:0;background:white}.wf-attendance-grid .check{display:flex;align-items:start;margin:15px 0;line-height:1.8;font-size:12px}.wf-attendance-grid .check input{margin-top:5px;flex-shrink:0}.wf-attendance-grid .primary{margin-top:15px}.wf-reportform{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.wf-reportform label{flex:1;min-width:125px}.wf-report-total{display:flex;align-items:baseline;gap:10px;padding:22px 0 7px}.wf-report-total b{font-size:27px;color:#386951}.wf-report-total span{font-size:11px;color:#7e909d}.wf-report-row{display:grid;grid-template-columns:1fr auto;gap:6px 12px;border-top:1px solid #edf1f4;padding:14px 0;font-size:12px}.wf-report-row>span:nth-of-type(1){grid-column:1;grid-row:2;color:#82929e;font-size:11px}.wf-report-row>span:nth-of-type(2){grid-column:2;grid-row:1/3;align-self:center}.wf-report-row small{grid-column:1/-1;color:#8494a0;overflow-wrap:anywhere}.wf-export{display:inline-block;margin-top:15px;text-decoration:none}.wf-shell button:focus-visible,.wf-shell select:focus-visible{outline:3px solid #9fc4b6;outline-offset:2px}.wf-shell button:disabled{cursor:not-allowed;opacity:.5}.wf-shell button:hover:not(:disabled){filter:brightness(.98)}
@media(max-width:1100px){.wf-people{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-today-grid,.wf-attendance-grid{grid-template-columns:1fr}.wf-hero{padding:22px}.wf-stat{padding:17px}.wf-updates{grid-template-columns:1fr}}
@media(max-width:550px){.wf-hero{gap:12px;padding:19px 15px;border-radius:15px;align-items:flex-start;flex-wrap:wrap}.wf-hero h2{font-size:25px}.wf-hero-icon{height:42px;width:42px;border-radius:13px}.wf-hero-icon svg{height:24px;width:24px}.wf-hero>div:nth-child(2){flex:1;min-width:170px}.wf-hero>button{font-size:11px;padding:8px 14px}.wf-hero p{font-size:11px;line-height:1.7}.wf-nav{gap:2px;width:100%}.wf-nav button{flex:1;padding:9px;font-size:11px;white-space:nowrap}.wf-person-filter{width:100%}.wf-person-filter select{flex:1;min-width:0}.wf-stats{gap:9px}.wf-stat{padding:14px 11px;gap:5px 9px;grid-template-columns:31px 1fr}.wf-stat-icon{width:31px;height:31px;border-radius:10px}.wf-stat b{font-size:24px}.wf-stat>span:last-child{font-size:10px}.wf-panel{padding:17px}.wf-people{grid-template-columns:1fr}.wf-task,.wf-doc{gap:12px;padding:16px;flex-wrap:wrap}.wf-task-text{min-width:170px}.wf-task-actions{margin-inline-start:auto}.wf-doc .wf-task-actions{width:100%;justify-content:flex-end}.wf-sectionhead{align-items:start;flex-wrap:wrap}.wf-sectionhead .primary{font-size:12px}.wf-update{padding:17px}.wf-footer{line-height:1.7}.wf-warning{padding:11px 13px;font-size:11px}.wf-reportform{gap:8px}.wf-reportform label{min-width:110px}.wf-report-row{grid-template-columns:1fr}.wf-report-row>span:nth-of-type(2){grid-column:1;grid-row:3}.wf-document{padding:14px}}

.wf-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.sideitem[data-tab=workforce] .sideicon svg{width:18px;height:18px;display:block}
@media(max-width:760px){.workforce-open #tabs{display:none}}

.wf-person-summary{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:7px;font-size:10px;color:#6d8277}.wf-person-summary span{background:#f3f7f4;border-radius:7px;padding:8px;line-height:1.6}

.wf-work-consent .wf-panel{max-width:740px;margin:0 auto}.wf-work-consent .check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8;margin:20px 0}.wf-work-consent .check input{margin-top:5px;width:17px;height:17px;flex-shrink:0}.wf-consent-actions{display:flex;justify-content:flex-start;margin-top:18px}

.wf-save-confirm{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #dce5e1;border-radius:20px;background:#fff;color:#203044;box-shadow:0 20px 80px #102f2440;direction:rtl;text-align:right}.wf-save-confirm::backdrop{background:#15292270}.wf-save-confirm h3{margin:14px 0 10px;font-size:25px;color:#1f4036}.wf-save-confirm>p{line-height:1.8;font-size:14px;color:#5b6d67}.wf-confirm-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff3d9;color:#8c651e}.wf-confirm-icon svg{width:24px;height:24px}.wf-confirm-preview{margin:20px 0;padding:16px;background:#f7f9f8;border:1px solid #e3eae6;border-radius:12px;max-height:220px;overflow:auto}.wf-confirm-preview small{font-size:11px;color:#72867d}.wf-confirm-preview p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:10px 0;font-size:14px}.wf-confirm-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.wf-confirm-actions button{font:inherit;min-height:44px;border-radius:10px;padding:10px 15px;border:1px solid #dce5e1;cursor:pointer}.wf-confirm-actions .ghost{background:#fff;color:#536b60}.wf-confirm-actions .primary{background:#167765;color:#fff;border-color:#167765}.wf-retention{font-size:12px;line-height:1.8;color:#3c6656;background:#eff7f2;border:1px solid #dbe9df;border-radius:12px;padding:14px 17px}@media(max-width:550px){.wf-save-confirm{padding:22px}.wf-save-confirm h3{font-size:23px}.wf-confirm-actions{flex-direction:column-reverse}.wf-confirm-actions button{width:100%}}
.wf-native{background:#f7f9fb;color:#203044;color-scheme:light;padding:18px;border-radius:16px;direction:rtl;text-align:right;isolation:isolate}.wf-native .hint{font-size:12px;line-height:1.7;color:#798a97}.wf-native .ghost,.wf-native .primary{font:inherit;font-size:12px;padding:10px 15px;border:1px solid #dce6e0;border-radius:9px;cursor:pointer;background:white;color:#426657}.wf-native .primary{background:#367b60;color:white;border-color:#367b60}.wf-native input,.wf-native textarea,.wf-native select{box-sizing:border-box;color:#203044;background:white;border:1px solid #d8e2df;border-radius:8px;padding:9px;font:inherit;min-width:0;max-width:100%}.wf-native dialog{width:min(600px,calc(100% - 32px));max-height:85vh;overflow:auto;box-sizing:border-box;border:1px solid #dbe4df;border-radius:16px;padding:22px;background:white;color:#203044;box-shadow:0 18px 70px #14291f40}.wf-native dialog::backdrop{background:#14291f65}.wf-native dialog h3{margin:0 0 20px;font-size:18px}.wf-native #cardForm{display:grid;gap:15px}.wf-native #cardForm label:not(.check){display:grid;gap:7px;font-size:12px}.wf-native #cardForm .row{display:flex;gap:12px}.wf-native #cardForm .row>label{flex:1;min-width:0}.wf-native .dlg-actions{display:flex;gap:9px;justify-content:flex-end}.wf-native .dlg-actions button{font:inherit;font-size:12px;border:1px solid #dbe4df;border-radius:9px;padding:10px 15px;cursor:pointer}.wf-native #cardMsg{color:#ad4b4b;font-size:12px;margin:0}.wf-native #wfToast{font-size:12px;color:#507c64}.wf-native .check{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.7}.wf-native .check input{width:17px;height:17px;flex-shrink:0}.wf-native .wf-footer{line-height:1.8}.wf-native .wf-nav{box-sizing:border-box}.wf-native .wf-nav button{font-size:12px;padding:9px 12px}@media(max-width:550px){.wf-native{padding:11px;margin:0 -7px}.wf-native .wf-hero{padding:15px 11px}.wf-native .wf-hero>div:nth-child(2){min-width:150px}.wf-native .wf-nav button{font-size:10px;padding:8px 6px}.wf-native .wf-task-text{min-width:140px}.wf-native .wf-panel{padding:14px}.wf-native .wf-stat{padding:12px 9px;grid-template-columns:25px 1fr;gap:6px}.wf-native .wf-stat-icon{width:25px;height:25px}.wf-native .wf-stat>span:last-child{font-size:9px}}

.wf-native{scroll-margin-top:160px}
