/* Workbench presentation only. Business facts are supplied by the application projection. */
.workbench{max-width:1240px;margin:0 auto;min-width:0}
.wb-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:0 0 24px}
.wb-heading h1{font-size:28px;font-weight:500;letter-spacing:-.04em;line-height:1.4;margin:4px 0 7px}
.wb-heading p{margin:0;color:var(--muted);font-size:14px}
.wb-heading .wb-eyebrow{font-size:12px;letter-spacing:.03em;color:var(--muted)}
.wb-heading>.button{flex-shrink:0;margin-top:20px}
.wb-alert{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;background:#fff9ef;border:1px solid #eadcc4;border-radius:8px;margin-bottom:16px;font-size:14px}
.wb-alert>span{display:grid;gap:4px;min-width:0}.wb-alert>span>span{color:#755627;overflow-wrap:anywhere}.wb-alert .button{flex-shrink:0;background:transparent}
.wb-attention{display:flex;flex-direction:column;gap:0;border:1px solid #e6d9c4;background:#fffdf8;border-radius:8px;margin-bottom:20px;font-size:13px;color:#755627}
.wb-attention details>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;list-style:none}.wb-attention details>summary>span{white-space:nowrap;color:var(--muted)}
.wb-attention ul{list-style:none;padding:0 20px 16px;margin:0}.wb-attention li+li{margin-top:10px}.wb-attention li a{display:flex;gap:12px;flex-wrap:wrap}.wb-attention li span{color:var(--muted)}
.wb-exceptions{display:flex;justify-content:space-between;gap:12px;padding:12px 20px;min-height:44px}.wb-exceptions+*,.wb-attention details+.wb-exceptions{border-top:1px solid #e6d9c4}.wb-exceptions span{color:var(--muted)}
.wb-queue{border:1px solid var(--line);border-radius:10px;background:var(--ground);overflow:visible}
.wb-queue-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px 12px}
.work-main .wb-queue h2,.work-main .wb-pool h2{font-size:17px;font-weight:500;margin:0}
.wb-help{position:relative;flex-shrink:0}.wb-help>summary{padding:0;display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;list-style:none;color:var(--muted)}
.wb-help summary::-webkit-details-marker{display:none}.wb-help>summary>span{display:grid;place-items:center;border:1px solid var(--control-line);border-radius:50%;width:22px;height:22px;font-size:13px}
.wb-help>div{position:absolute;right:0;top:46px;width:320px;max-width:calc(100vw - 52px);padding:20px;background:var(--ground);border:1px solid var(--control-line);border-radius:8px;box-shadow:0 8px 24px #20232216;z-index:5;font-size:14px}.wb-help p{color:var(--muted);margin:10px 0 0}
.wb-filters{display:flex;flex-wrap:wrap;gap:8px;padding:0 24px 16px;border-bottom:1px solid var(--line)}
.wb-filter{display:inline-flex;gap:8px;align-items:center;background:transparent;border:1px solid transparent;color:var(--muted);padding:8px 12px;font-size:14px;min-height:44px}
.wb-filter strong{font-family:Geist,"Noto Sans SC",sans-serif;font-size:13px;font-weight:500;color:inherit;background:#edf0eb;padding:0 6px;border-radius:4px;min-width:23px;text-align:center}
.wb-filter[aria-pressed=true]{background:#edf2eb;border-color:#dce4d9;color:var(--ink)}.wb-filter[aria-pressed=true] strong{background:#dde7d8}
.wb-filter:hover{background:var(--surface);border-color:var(--line);color:var(--ink)}
.wb-view-status{margin:0;padding:12px 24px 0;color:var(--muted);font-size:12px}
.wb-record-list{padding:0 24px}.wb-record{padding:16px 0;border-bottom:1px solid var(--line)}.wb-record:last-child{border-bottom:0}.workbench [hidden]{display:none!important}
.wb-record-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.wb-record-number{font-family:Geist,"Noto Sans SC",sans-serif;font-size:14px;font-weight:600;letter-spacing:.025em}.wb-record-number:hover{text-decoration:underline;text-underline-offset:4px}
.wb-record-tags{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.wb-badge{display:inline-flex;align-items:center;padding:3px 8px;background:#f0f2ee;border-radius:4px;font-size:12px;font-weight:400;color:#4f5b4a;white-space:nowrap}.wb-badge.is-warning{background:#fff3df;color:#86590e}
.wb-materials{margin:6px 0 14px;max-width:75ch;font-size:13px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.wb-materials>span{white-space:nowrap}
.wb-record-decision{display:flex;justify-content:space-between;align-items:center;gap:24px}.wb-record-decision>div{min-width:0}.wb-record-decision strong{font-size:17px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.wb-record-decision p{font-size:13px;line-height:1.65;color:var(--muted);margin:5px 0 0;max-width:72ch}.wb-record-decision .button{flex-shrink:0;gap:18px;min-width:116px}
.wb-record-tail{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;margin-top:0}
.wb-record-foot{font-size:12px;color:var(--muted);min-width:0}.wb-record-foot>p{display:flex;gap:4px 16px;flex-wrap:wrap;margin:0}.wb-record-foot>p>span{white-space:nowrap}
.wb-key-facts{display:flex;flex-wrap:wrap;gap:6px 20px;margin:5px 0 0;padding:0;list-style:none;font-size:13px;line-height:1.6}.wb-key-facts li{display:flex;flex-wrap:wrap;gap:4px 10px;min-width:0}.wb-key-facts li>span{color:var(--muted)}.wb-key-facts strong{font-size:13px;font-weight:500;color:#52664a;overflow-wrap:anywhere}
.wb-record-progress{min-width:0}.wb-record-progress>summary{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;padding:6px 0 6px 8px;font-size:12px;color:var(--muted);list-style:none}.wb-record-progress summary::-webkit-details-marker{display:none}.wb-record-progress>summary>span:last-child{font-size:16px;width:16px;text-align:center}.wb-record-progress[open]{grid-column:1/-1}.wb-record-progress[open]>summary{justify-content:flex-start;padding-left:0}.wb-record-progress[open]>summary>span:last-child{transform:rotate(45deg)}.wb-record-progress .wb-metrics{padding:10px 12px;background:var(--surface);border-radius:5px;font-size:13px;gap:8px 24px}.wb-record-progress .wb-metrics>div{gap:12px}
.wb-metrics{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;flex-shrink:0;font-size:12px}.wb-metrics>div{display:flex;gap:8px}.wb-metrics dt,.wb-metrics dd{margin:0}.wb-metrics dd{color:var(--ink);font-variant-numeric:tabular-nums}
.wb-quote-current{display:flex;flex-wrap:wrap;gap:4px 12px;margin:14px 0 0;padding:10px 12px;background:#f4f6f1;border-radius:5px;font-size:13px}.wb-quote-current>strong{font-weight:500}.wb-quote-current>span{color:var(--muted)}
.wb-empty{text-align:center;padding:36px 24px 44px}.wb-empty svg{stroke:#8c9786;stroke-width:1.5;fill:none;margin-bottom:10px}.work-main .wb-empty h3{font-size:18px;font-weight:500;margin:0 0 8px}.wb-empty p{font-size:14px;max-width:34em;margin:0 auto 20px;color:var(--muted)}.wb-empty>div{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}.wb-text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.wb-pool{margin-top:24px;border:1px solid var(--line);background:var(--ground);border-radius:8px;padding:20px 24px}.wb-secondary-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:10px}.wb-secondary-head p{font-size:13px;color:var(--muted);margin:5px 0 0}.wb-secondary-head>a{font-size:13px;flex-shrink:0}.wb-pool-record{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0;border-top:1px solid var(--line)}.work-main .wb-pool-record h3{font-size:15px;font-weight:500;margin:0 0 5px}.wb-pool-record p{margin:3px 0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.wb-pool-record button{flex-shrink:0}
.wb-secondary{margin-top:20px;background:var(--ground);border:1px solid var(--line);border-radius:8px}.wb-secondary>summary{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 24px;font-size:14px}.wb-secondary>summary>span:last-child{font-size:12px;color:var(--muted)}.wb-secondary-body{padding:0 24px 20px}.wb-secondary-body>section+section{margin-top:20px}.work-main .wb-secondary h2{font-size:14px;font-weight:500;margin:12px 0}.wb-task-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:14px;margin:0}.wb-task-summary>strong{font-weight:500}.wb-task-summary>a{margin-left:auto;font-size:13px}.wb-definition{font-size:12px;color:var(--muted);margin:8px 0 20px}
.wb-history,.wb-events{padding:0;margin:0;list-style:none}.wb-history li a{display:flex;align-items:center;gap:14px;min-height:44px;padding:10px 0;font-size:13px;border-bottom:1px solid var(--line)}.wb-history li:last-child a{border-bottom:0}.wb-history li strong{font-size:13px;font-weight:500}.wb-history li a>span:not(.wb-badge){min-width:0;color:var(--muted);overflow-wrap:anywhere}.wb-history .wb-badge{margin-left:auto;flex-shrink:0}.wb-events li{display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;font-size:13px;padding:8px 0}.wb-events time{font-size:12px;color:var(--muted)}.wb-events a span{display:block;font-size:12px;color:var(--muted)}
.wb-service-note{margin-top:16px;font-size:13px;color:var(--muted)}.wb-service-note summary{font-size:13px;min-height:44px}.wb-service-note p{max-width:80ch;margin:0 0 16px}
@media(max-width:1100px){.wb-metrics{flex-shrink:1}}
@media(max-width:640px){.wb-heading{gap:16px;flex-wrap:wrap;margin-bottom:20px}.wb-heading h1{font-size:26px}.wb-heading>.button{margin-top:0}.wb-heading>div{width:100%}.wb-heading>p{font-size:13px}.wb-alert{padding:14px 16px;flex-wrap:wrap;gap:12px}.wb-alert .button{width:100%}.wb-attention details>summary,.wb-exceptions{padding:12px 16px;align-items:flex-start}.wb-attention details>summary>span,.wb-exceptions>span{white-space:normal;font-size:12px}.wb-queue-heading{padding:16px 16px 8px}.wb-filters{padding:0 12px 12px;gap:4px}.wb-filter{padding:8px 10px;font-size:13px;gap:6px}.wb-view-status{padding:12px 16px 0}.wb-record-list{padding:0 16px}.wb-record{padding:18px 0}.wb-record-head{align-items:flex-start;gap:8px}.wb-record-tags{gap:4px}.wb-record-number{font-size:13px}.wb-materials{font-size:13px;margin-bottom:12px}.wb-record-decision{flex-direction:column;align-items:stretch;gap:14px}.wb-record-decision strong{font-size:17px}.wb-record-decision .button{min-width:0;width:100%;justify-content:space-between}.wb-record-tail{gap:6px 12px;margin-top:10px}.wb-record-foot>p{gap:3px 12px}.wb-record-progress .wb-metrics{flex-direction:column;gap:8px}.wb-record-progress .wb-metrics>div{justify-content:space-between}.wb-metrics{gap:6px 14px}.wb-metrics>div{gap:6px}.wb-quote-current{font-size:13px}.wb-empty{padding:28px 16px 32px}.wb-empty>div{flex-direction:column;gap:8px}.wb-empty .button{width:100%;justify-content:center}.wb-pool{padding:16px}.wb-secondary-head{align-items:flex-start;gap:12px}.wb-pool-record{flex-direction:column;align-items:stretch;gap:12px}.wb-pool-record button{width:100%}.wb-secondary>summary{padding:14px 16px;gap:12px}.wb-secondary-body{padding:0 16px 16px}.wb-task-summary>a{margin-left:0}.wb-history li a{flex-wrap:wrap;gap:4px 10px}.wb-history li a>span:not(.wb-badge){width:100%;order:3}.wb-events li{grid-template-columns:1fr;gap:2px}.wb-help>div{right:-2px;max-width:calc(100vw - 70px)}}
@media(prefers-reduced-motion:reduce){.workbench *{scroll-behavior:auto}}
