.home-workspace{--home-edge:#cbd4c9;--home-muted:#576454;--home-wash:#edf2eb;--home-alert:#a82828;--home-warn:#805614;color:var(--ink);letter-spacing:0}
html[data-theme=dark] .home-workspace{--home-edge:#40503c;--home-muted:#b3bfae;--home-wash:#20291e;--home-alert:#ffadad;--home-warn:#edc480}
.home-workspace button,.home-workspace input,.home-workspace select{font:inherit;color:inherit;letter-spacing:0}
.home-workspace button{cursor:pointer}
.home-workspace button:disabled{opacity:.4;cursor:not-allowed}
.home-workspace :is(button,input,select):focus-visible{outline:2px solid var(--green-dark);outline-offset:2px}
.home-workspace svg{width:16px;height:16px;flex:none;stroke-width:1.7}
.home-workspace header{min-height:0;height:auto;margin:0;border:0;flex-direction:row}
.home-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:48px;padding:6px 0 10px;border-bottom:1px solid var(--home-edge)}
.home-visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-queue>.home-queue-tabs{padding-top:8px}
.home-toolbar .home-search{max-width:240px;margin-left:4px}
.home-toolbar .home-search input{width:100%}
.home-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.home-scope{font-size:12px;line-height:1.4;max-width:28ch;overflow-wrap:anywhere}
@media(max-width:700px){.home-toolbar>.home-scope{grid-column:1/-1;grid-row:1}.home-toolbar>.home-controls{grid-row:2}.home-workspace .home-toolbar>.home-search,.home-workspace .home-toolbar>.home-icon{grid-row:3}.home-workspace .home-toolbar #work-state.home-load-error{grid-row:4}}
.home-controls label{display:flex;gap:8px;align-items:center;color:var(--home-muted);font-size:12px}
.home-workspace select,.home-workspace input{background:var(--paper);border:1px solid var(--home-edge);border-radius:4px;min-height:32px;padding:5px 8px;min-width:0}
.home-toolbar #work-state{margin-left:auto;color:var(--home-muted);font-size:12px;max-width:36ch;overflow-wrap:anywhere}
.home-workspace .home-toolbar #work-state.home-load-error{display:block;flex-basis:100%;max-width:none;margin:0;color:var(--home-alert)}
.home-workspace .home-icon{width:32px;height:32px;padding:7px;border:1px solid var(--home-edge);border-radius:4px;background:var(--paper);display:inline-flex;justify-content:center;align-items:center;flex:none}
.home-workspace .home-icon:hover:not(:disabled){background:var(--home-wash)}
.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:24px;align-items:start}
.home-queue,.home-layout aside{min-width:0}
.home-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:18px 0 12px}
.home-section-heading h2{font-size:18px;line-height:1.3;margin:0}
.home-section-heading>span{color:var(--home-muted);font-size:12px}
.home-queue-tabs{display:flex;gap:4px;border-bottom:1px solid var(--home-edge);flex-wrap:wrap;padding-bottom:8px}
.home-queue-tabs button{display:inline-flex;align-items:center;gap:6px;border:1px solid transparent;border-radius:4px;background:transparent;padding:7px 8px;min-height:34px;font-size:13px}
.home-queue-tabs button:hover{background:var(--home-wash)}
.home-queue-tabs button[aria-pressed=true]{background:var(--home-wash);border-color:var(--home-edge);font-weight:700}
.home-queue-tabs button>span{font-size:12px;font-variant-numeric:tabular-nums;color:var(--home-muted)}
.home-queue-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.home-queue-tools>b{font-size:12px;color:var(--home-muted)}
.home-search{display:flex;align-items:center;gap:7px;max-width:48%;color:var(--home-muted)}
.home-search input{width:230px;font-size:13px}
.home-workspace #work-content{display:block;min-height:224px;background:var(--paper);border-top:1px solid var(--home-edge)}
.home-row{display:grid;grid-template-columns:20px minmax(0,1fr) minmax(126px,155px) 32px;align-items:center;gap:12px;min-height:64px;padding:10px;border-bottom:1px solid var(--home-edge)}
.home-row:hover{background:var(--home-wash)}
.home-row-kind{color:var(--home-muted);align-self:start;padding-top:3px}
.home-row-main{min-width:0;display:grid;gap:4px}
.home-record{display:block;text-align:left;font-size:14px;font-weight:650;line-height:1.4;border:0;background:none;padding:0;overflow-wrap:anywhere}
.home-record:hover{text-decoration:underline;text-underline-offset:3px}
.home-row-meta{font-size:12px;color:var(--home-muted);line-height:1.4;overflow-wrap:anywhere}
.home-row-state{display:grid;gap:5px;font-size:12px;line-height:1.4;font-variant-numeric:tabular-nums;color:var(--home-muted);justify-items:start}
.home-status{font-weight:600;color:var(--home-muted)}
.home-status.is-late{color:var(--home-alert)}
.home-status.is-warn{color:var(--home-warn)}
.home-error-detail{color:var(--home-alert)}
#home-queue-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;font-size:12px;color:var(--home-muted)}
#home-queue-footer>div{display:flex;gap:6px}
.home-empty{padding:48px 16px;text-align:center;color:var(--home-muted)}
.home-empty>svg{width:26px;height:26px;color:var(--green-dark)}
.home-empty h3{font-size:16px;color:var(--ink);margin:12px 0 6px}
.home-empty p{font-size:13px;margin:0;line-height:1.5}
#home-overview{padding:0;margin-bottom:14px;border-bottom:1px solid var(--home-edge)}
.home-overview-pending{min-height:302px}
.home-overview-placeholder{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:64px 0 48px}
.home-overview-placeholder>span{height:104px;background:var(--home-wash);border-radius:4px}
@media(max-width:850px){.home-overview-pending{min-height:480px}.home-overview-placeholder{grid-template-columns:1fr 1fr}}
#home-insights{border-left:1px solid var(--home-edge);padding-left:20px}
.home-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}
.home-overview-heading h2{font-size:16px;margin:0;line-height:1.3}
.home-overview-heading>span{font-size:12px;color:var(--home-muted);text-align:right}
.home-workspace #overview-workspace{padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.home-context{display:grid;grid-template-columns:repeat(2,minmax(0,240px)) minmax(150px,180px) 32px;gap:8px;align-items:end;padding-bottom:12px}
.home-context label{display:grid;gap:4px;color:var(--home-muted);font-size:12px}
.home-context select,.home-context input{width:100%;font-size:13px;color:var(--ink)}
.home-workspace .home-context .home-icon{border:1px solid var(--home-edge);background:var(--paper);padding:7px}
.home-capacity-stats,.home-overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.home-capacity-stats{border:1px solid var(--home-edge);border-radius:6px;background:var(--paper);overflow:hidden}
.home-capacity-stats:empty,.home-overview-stats:empty{display:none}
.home-capacity-stats>.home-measure{padding:12px 14px;border-right:1px solid var(--home-edge);min-height:104px}
.home-capacity-stats>.home-measure:last-child{border-right:0}
.home-overview-stats{padding:10px 0}
.home-overview-stats>.home-measure{padding:0 14px;border-right:1px solid var(--home-edge)}
.home-overview-stats>.home-measure:first-child{padding-left:0}
.home-overview-stats>.home-measure:last-child{border-right:0}
.home-capacity-stats .home-measure>button{font-size:20px}
.home-overview-stats .home-measure>button{font-size:16px}
.home-measure{min-width:0;display:grid;align-content:start;gap:5px}
.home-measure>span{font-size:12px;color:var(--home-muted)}
.home-measure>button,.home-forecast>button{font-size:18px;font-weight:700}
.home-measure small,.home-footnote{font-size:12px;line-height:1.5;color:var(--home-muted);margin:0}
.home-workspace [data-infra]{display:inline-flex;align-items:center;gap:4px;border:0;background:none;padding:0;text-align:left;overflow-wrap:anywhere}
.home-workspace [data-infra]:hover{text-decoration:underline;text-underline-offset:3px}
.home-workspace [data-infra]>svg{width:13px;height:13px}
.home-summary-section{border-bottom:1px solid var(--home-edge);padding:18px 0}
.home-summary-section>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.home-summary-section h3{font-size:14px;margin:0}
.home-summary-section>header>button,.home-summary-section>header>span{font-size:12px;color:var(--home-muted)}
.home-summary-section dl{display:grid;gap:10px;margin:0;font-size:13px}
.home-summary-section dl>div{display:flex;justify-content:space-between;gap:12px}
.home-summary-section dt{color:var(--home-muted)}
.home-summary-section dd{margin:0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.home-summary-section input[type=month]{max-width:155px;font-size:12px;min-height:30px}
.home-forecast{display:block;margin:6px 0}
.home-funnel{margin-top:14px;display:grid;gap:9px;font-size:12px}
.home-funnel>div{display:grid;grid-template-columns:minmax(0,1fr) 20px 90px;gap:8px;align-items:start;font-variant-numeric:tabular-nums}
.home-funnel>div>span:first-child{color:var(--home-muted);overflow-wrap:anywhere}
.home-funnel>div>span:last-child{text-align:right}
.home-risk{display:grid;gap:4px;padding:8px 0}
.home-risk>button{font-size:13px;font-weight:600}
.home-risk small{font-size:12px;line-height:1.4;color:var(--home-alert)}
.home-risk .home-risk-owner{color:var(--home-muted)}
#overview-workspace>.home-footnote{padding:12px 0}
.home-health{padding:8px 12px}
.home-health>div{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--home-edge);font-size:13px}
.home-health>div>span{color:var(--home-muted)}
.home-health>button{margin:16px 0;display:flex;gap:8px;align-items:center}
#home-ai .ai-auto-dashboard{margin:20px 0 0;padding:16px 0;border:0;border-top:1px solid var(--home-edge);border-radius:0;background:none;box-shadow:none}
#home-ai .ai-auto-header h3{font-size:14px}
#home-ai .ai-auto-header p{font-size:12px}
.home-workspace:has(#home-insights[hidden]) .home-layout{grid-template-columns:minmax(0,1fr)}
@media(max-width:1100px){.home-layout{grid-template-columns:minmax(0,1fr) 292px;gap:18px}.home-row{grid-template-columns:minmax(0,1fr) 126px 32px;gap:8px}.home-row-kind{display:none}#home-insights{padding-left:16px}.home-section-heading>span{max-width:23ch;text-align:right}.home-toolbar #work-state{display:none}.home-toolbar .home-search{flex:1;max-width:210px}}
@media(max-width:850px){.home-layout{grid-template-columns:minmax(0,1fr)}#home-insights{border-left:0;padding-left:0}.home-capacity-stats,.home-overview-stats{grid-template-columns:1fr 1fr}.home-capacity-stats>.home-measure:nth-child(2){border-right:0}.home-capacity-stats>.home-measure:nth-child(n+3){border-top:1px solid var(--home-edge)}.home-overview-stats{gap:12px 0}.home-overview-stats>.home-measure:nth-child(2n){border-right:0}.home-overview-stats>.home-measure:nth-child(2n+1){padding-left:0}.home-context{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.home-context>.home-icon{justify-self:end}.home-toolbar .home-search{order:3;flex:1 0 100%;max-width:none;margin:0}.home-toolbar>.home-icon{margin-left:auto}}
@media(max-width:700px){.home-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:8px;align-items:end}.home-controls{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.home-controls label{display:grid;gap:4px}.home-controls select{width:100%}.home-toolbar .home-search{grid-column:1;grid-row:2;min-width:0;width:100%}.home-toolbar>.home-icon{grid-column:2;grid-row:2;margin:0}.home-toolbar #work-state.home-load-error{grid-column:1/-1;grid-row:3}}
@media(max-width:520px){.home-controls select{font-size:12px}.home-section-heading{padding-top:14px}.home-section-heading h2{font-size:17px}.home-section-heading>span{font-size:11px}.home-queue-tabs button{font-size:12px;padding:6px}.home-search input{width:100%}.home-row{grid-template-columns:minmax(0,1fr) 30px;gap:6px 10px;padding:12px 8px}.home-row-main{grid-row:1}.home-row>.home-icon{grid-column:2;grid-row:1/3}.home-row-state{grid-column:1;display:flex;flex-wrap:wrap;gap:10px;font-size:11px}.home-record{font-size:13px}.home-health>div{display:grid;gap:6px}.home-overview-heading{align-items:start;padding:5px 0}.home-overview-heading>span{max-width:22ch}.home-capacity-stats>.home-measure{padding:10px;min-height:108px}.home-capacity-stats .home-measure>button{font-size:18px}}
