.wd-heading{display:flex;gap:20px;justify-content:space-between;align-items:start;margin:20px 0}.wd-heading p{color:#496579;max-width:760px}.wd-status{padding:10px 14px;background:#fff6e4;color:#734509;border-radius:8px;font-size:12px;font-weight:700}.wd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.wd-metrics article{background:#f4f9f9;border:1px solid #d2e3e5;border-top:3px solid #07877f;border-radius:10px;padding:18px}.wd-metrics strong{display:block;font-size:27px;font-variant-numeric:tabular-nums;margin:10px 0}.wd-metrics small{color:#496579}.wd-ledger td{vertical-align:top}.wd-ledger button{min-height:44px}.wd-detail{padding:20px;background:#f1f8f7;line-height:1.65}.wd-detail h4{margin:12px 0 8px}.wd-detail ol{margin:0;padding-left:22px}.wd-detail pre{white-space:pre-wrap;background:#fff;border:1px solid #d7e4e4;border-radius:6px;padding:12px}.wd-rules{margin:24px 0;border-top:1px solid #d8e3e4;padding-top:18px}.wd-rules summary{font-weight:700;cursor:pointer}.wd-rules p{font-size:13px;color:#496579;line-height:1.7}#wdRows tr{animation:wd-reveal .18s ease-out}@keyframes wd-reveal{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:none}}@media(max-width:700px){.wd-metrics{grid-template-columns:1fr 1fr}.wd-heading{display:block}.wd-status{display:block}.wd-metrics strong{font-size:22px}}@media(prefers-reduced-motion:reduce){#wdRows tr{animation:none}}@media print{.wd-ledger td:last-child,.wd-ledger th:last-child,#wdFilter,.wd-rules,.ck-export,.ck-pagination{display:none}.wd-detail{break-inside:avoid}.wd-metrics{grid-template-columns:repeat(4,1fr)}}
.wd-detail li,.wd-detail pre{overflow-wrap:anywhere}
.wd-pending{display:block;color:#734509;font-size:12px;line-height:1.45;margin-top:4px}.wd-calculated{color:#496579;font-size:12px}.wd-detail .wd-sequence{list-style:none;padding:0;display:grid;gap:8px}.wd-sequence li{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(130px,1fr);gap:8px 14px;padding:10px 12px;background:#fff;border:1px solid #d7e4e4;border-radius:6px}.wd-sequence time{font-variant-numeric:tabular-nums}.wd-sequence .wd-pending{margin:0}.wd-metrics strong{overflow-wrap:anywhere}
@media(max-width:700px){.wd-sequence li{grid-template-columns:1fr;gap:2px}.wd-metrics strong{font-size:20px}}
@media(max-width:700px){#clockWorkdays .ck-table-scroll{container-type:inline-size}.wd-detail{box-sizing:border-box;width:calc(100cqi - 32px);max-width:calc(100cqi - 32px);padding:14px}.wd-detail pre{min-width:0;max-width:100%;box-sizing:border-box}.wd-detail li{min-width:0}}

/* Evidence review: counts describe the complete applied scope, never one visible page. */
.wd-review{border:1px solid #cadfdf;border-radius:12px;padding:18px;margin:18px 0;background:#f6faf9;min-width:0}.wd-review[hidden]{display:none!important}.wd-review h4{font-size:17px;margin:0 0 8px}.wd-review .ck-note{margin:8px 0 16px;max-width:90ch;line-height:1.6}.wd-review-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.wd-review-cause{display:flex;flex-direction:column;gap:6px;min-width:0;min-height:90px;border:1px solid #bfd6d4;border-radius:9px;padding:12px 14px;background:white;color:#123d49;text-align:left;font:inherit;cursor:pointer}.wd-review-cause strong{font-size:23px;font-variant-numeric:tabular-nums}.wd-review-cause span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.wd-review-cause[aria-pressed=true]{border:2px solid #097d72;background:#e8f5f1;padding:11px 13px}.wd-review-cause:hover{background:#eef7f4}.wd-review-cause:focus-visible{outline:3px solid #b27a24;outline-offset:3px}.wd-review-cause:disabled{opacity:.6;cursor:wait}
.wd-review-guidance{border-left:4px solid #bb8525;background:#fff9ed;padding:12px 16px;margin:18px 0;border-radius:6px}.wd-review-guidance p{margin:8px 0;overflow-wrap:anywhere}.wd-review-guidance small{display:block;color:#594721;line-height:1.5}#wdCauseField[hidden]{display:none!important}
@media(max-width:800px){.wd-review-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){.wd-review{padding:12px}.wd-review-cause{padding:10px;min-height:94px}.wd-review-cause[aria-pressed=true]{padding:9px}}@media print{.wd-review-counts{display:none}.wd-review{background:none;border:0;padding:0}}

/* Exact agent context keeps the existing controls and evidence in one workspace. */
#wdPersonScope{margin:16px 0;border-inline-start:4px solid var(--ck-teal,#087f77);background:#f3faf8;scroll-margin-top:110px}#wdPersonScope h3{font-size:18px;line-height:1.4;overflow-wrap:anywhere}#wdPersonScope p{max-width:82ch}#wdPersonBack{margin-top:6px}
