/* R188.5.5.6.82 — STO Workspace Window Architecture
   Workspace = compact command surface + one dispatcher feed.
   Schedule / Recovery / capacity settings = large native dialogs. */
.k-sto-r82-workspace{display:grid;gap:18px;max-width:none}.k-sto-r82-workspace svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.k-sto-r82-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:4px 0 16px;border-bottom:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-header>div:first-child{min-width:0}.k-sto-r82-header small{font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--k-muted,#667085)}.k-sto-r82-header h1{margin:4px 0 4px;font-size:clamp(24px,3vw,34px)}.k-sto-r82-header p{margin:0;color:var(--k-muted,#667085);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.k-sto-r82-header>div:last-child{display:flex;gap:8px;flex:0 0 auto}
.k-sto-r82-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid var(--k-border,#e5e7eb);border-bottom:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-kpis>span{display:grid;gap:2px;padding:12px 14px;border-right:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-kpis>span:last-child{border-right:0}.k-sto-r82-kpis b{font-size:20px}.k-sto-r82-kpis small{font-size:10px;color:var(--k-muted,#667085)}.k-sto-r82-kpis .has-alert b{color:#b42318}
.k-sto-r82-commandbar{display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:none;padding:0 0 4px}.k-sto-r82-commandbar::-webkit-scrollbar{display:none}.k-sto-r82-commandbar>a,.k-sto-r82-commandbar>button{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 13px;border:1px solid var(--k-border,#e5e7eb);border-radius:13px;background:var(--k-surface,#fff);color:inherit;text-decoration:none;white-space:nowrap;font:inherit;font-weight:800;cursor:pointer}.k-sto-r82-commandbar>button.has-alert{border-color:#fda29b;color:#b42318}.k-sto-r82-commandbar em{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#b42318;color:#fff;font-size:10px;font-style:normal;display:grid;place-items:center}
.k-sto-r82-operations{border-top:1px solid var(--k-border,#e5e7eb);padding-top:18px}.k-sto-r82-operations>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.k-sto-r82-operations>header small{font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--k-muted,#667085)}.k-sto-r82-operations>header h2{margin:3px 0 4px}.k-sto-r82-operations>header p{margin:0;color:var(--k-muted,#667085)}.k-sto-r82-operations>header>div:last-child{display:flex;gap:12px}.k-sto-r82-operations>header a{color:inherit;text-decoration:none;font-size:12px;font-weight:800}
.k-sto-r82-filter{display:flex;gap:6px;overflow-x:auto;padding:14px 0 8px;scrollbar-width:none}.k-sto-r82-filter::-webkit-scrollbar{display:none}.k-sto-r82-filter button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 11px;border:1px solid var(--k-border,#e5e7eb);border-radius:11px;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.k-sto-r82-filter button.is-active{background:#111827;border-color:#111827;color:#fff}.k-sto-r82-filter em{font-size:10px;font-style:normal;opacity:.72}
.k-sto-r82-operation-list{display:grid;border-top:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-operation{display:grid;grid-template-columns:128px minmax(260px,1fr) auto;gap:16px;align-items:center;min-height:76px;padding:12px 2px;border-bottom:1px solid var(--k-border,#e5e7eb);background:transparent}.k-sto-r82-operation.is-conflict{box-shadow:inset 3px 0 #d92d20;padding-left:12px}.k-sto-r82-operation.is-bay{background:linear-gradient(90deg,rgba(16,185,129,.035),transparent 38%)}.k-sto-r82-operation__state{display:grid;gap:3px}.k-sto-r82-operation__state small{font-size:9px;font-weight:900;letter-spacing:.07em;color:var(--k-muted,#667085)}.k-sto-r82-operation__state b{font-size:12px}.k-sto-r82-operation__state span{font-size:10px;color:var(--k-muted,#667085)}.k-sto-r82-operation__main{display:grid;gap:3px;min-width:0;color:inherit;text-decoration:none}.k-sto-r82-operation__main h3{margin:0;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.k-sto-r82-operation__main p{margin:0;color:#475467;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.k-sto-r82-operation__main small{font-size:10px;color:var(--k-muted,#667085);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.k-sto-r82-operation__actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.k-sto-r82-operation__actions .k-button{min-height:35px;padding:6px 9px;font-size:10px;gap:5px}.k-sto-r82-operation__actions svg{width:15px;height:15px}.k-sto-r82-empty{min-height:84px;display:flex;align-items:center;gap:12px;color:var(--k-muted,#667085)}.k-sto-r82-empty>svg{width:30px;height:30px}.k-sto-r82-empty>div{display:grid;gap:2px}.k-sto-r82-empty b{color:inherit}
/* Large central work windows. */
.k-sto-r82-window{width:min(1120px,calc(100vw - 32px));max-width:none;max-height:min(900px,calc(100dvh - 32px));padding:0;border:0;border-radius:22px;background:transparent;color:inherit}.k-sto-r82-window::backdrop,.k-sto-r73-picker::backdrop{background:rgba(15,23,42,.5);backdrop-filter:blur(4px)}.k-sto-r82-window__shell{display:flex;flex-direction:column;max-height:min(900px,calc(100dvh - 32px));overflow:hidden;border:1px solid var(--k-border,#e5e7eb);border-radius:22px;background:var(--k-surface,#fff);box-shadow:0 28px 80px rgba(15,23,42,.25)}.k-sto-r82-window__shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;border-bottom:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-window__shell>header small{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--k-muted,#667085)}.k-sto-r82-window__shell>header h2{margin:3px 0 0}.k-sto-r82-window__shell>header>button{width:40px;height:40px;border:0;border-radius:12px;background:var(--k-soft,#f3f4f6);display:grid;place-items:center;cursor:pointer}.k-sto-r82-window__body{overflow:auto;padding:20px 22px}.k-sto-r82-window__shell>footer{display:flex;justify-content:flex-end;padding:14px 22px 18px;border-top:1px solid var(--k-border,#e5e7eb)}
.k-sto-r82-window .k-sto-section,.k-sto-r82-window .k-sto-r73-capacity,.k-sto-r82-window .k-sto-r73-recovery,.k-sto-r82-window .k-sto-r74-command{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important}.k-sto-r82-window .k-sto-r73-recovery>details{margin-bottom:8px}.k-sto-r82-window .k-section-head{padding-top:0}.k-sto-r82-command-surface>.k-section-head h2,.k-sto-r82-window [data-sto-recovery]>.k-section-head h2{display:none}.k-sto-r82-command-surface>.k-section-head p,.k-sto-r82-window [data-sto-recovery]>.k-section-head p{margin-top:0}
/* Settings are rows, not nested cards. */
.k-sto-r82-settings{margin-top:24px;padding-top:20px;border-top:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-settings h3{margin:0 0 10px}.k-sto-r82-settings h3+div{margin-bottom:22px}.k-sto-r82-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-toggle{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:10px;text-align:left;padding:13px 4px;border:0;border-bottom:1px solid var(--k-border,#e5e7eb);background:transparent;color:inherit;cursor:pointer}.k-sto-r82-toggle:nth-child(odd){padding-right:18px}.k-sto-r82-toggle:nth-child(even){padding-left:18px;border-left:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-toggle>span{grid-row:1/3;width:26px;height:26px;border-radius:9px;background:var(--k-soft,#f3f4f6);display:grid;place-items:center}.k-sto-r82-toggle.is-active>span{background:#111827;color:#fff}.k-sto-r82-toggle small{color:var(--k-muted,#667085);margin-top:2px}.k-sto-r82-range-choice{display:flex;gap:7px}.k-sto-r82-range-choice button{min-height:38px;padding:0 13px;border:1px solid var(--k-border,#e5e7eb);border-radius:11px;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer}.k-sto-r82-range-choice button.is-active{background:#111827;border-color:#111827;color:#fff}.k-sto-r82-settings-note{display:flex;align-items:flex-start;gap:9px;padding-top:16px;border-top:1px solid var(--k-border,#e5e7eb);color:var(--k-muted,#667085)}.k-sto-r82-settings-note p{margin:0}
/* R73 assignment/incident dialogs become the same large central family. */
#k-sto-workplace .k-sto-r73-picker{width:min(1040px,calc(100vw - 32px));max-width:none;max-height:min(880px,calc(100dvh - 32px));border-radius:22px}.k-sto-r73-picker>form{max-height:min(880px,calc(100dvh - 32px))}.k-sto-r73-picker [data-sto-master-candidates],.k-sto-r73-picker [data-sto-bay-candidates],.k-sto-r73-picker [data-sto-alternative-pairs]{overflow:auto}.k-sto-r74-incident-dialog{width:min(980px,calc(100vw - 32px))!important}
@media(max-width:900px){.k-sto-r82-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.k-sto-r82-kpis>span{border-bottom:1px solid var(--k-border,#e5e7eb)}.k-sto-r82-operation{grid-template-columns:105px minmax(0,1fr)}.k-sto-r82-operation__actions{grid-column:1/-1;justify-content:flex-start;padding-left:121px}}
@media(max-width:680px){.k-sto-r82-header{align-items:stretch;flex-direction:column}.k-sto-r82-header p{white-space:normal}.k-sto-r82-header>div:last-child{display:grid;grid-template-columns:1fr 1fr}.k-sto-r82-header .k-button{justify-content:center}.k-sto-r82-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.k-sto-r82-operation{grid-template-columns:1fr;gap:7px;padding:12px 0}.k-sto-r82-operation.is-conflict{padding-left:9px}.k-sto-r82-operation__state{display:flex;align-items:center;gap:8px}.k-sto-r82-operation__state span{margin-left:auto}.k-sto-r82-operation__main p,.k-sto-r82-operation__main small{white-space:normal}.k-sto-r82-operation__actions{grid-column:1;padding-left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.k-sto-r82-operation__actions .k-button{justify-content:center}.k-sto-r82-operations>header{align-items:flex-start;flex-direction:column}.k-sto-r82-window,#k-sto-workplace .k-sto-r73-picker{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.k-sto-r82-window__shell,.k-sto-r73-picker>form{height:100dvh;max-height:100dvh;border-radius:0;border:0}.k-sto-r82-window__shell>header,.k-sto-r82-window__body,.k-sto-r82-window__shell>footer{padding-left:15px;padding-right:15px}.k-sto-r82-toggle-grid{grid-template-columns:1fr}.k-sto-r82-toggle:nth-child(n){padding-left:4px;padding-right:4px;border-left:0}.k-sto-r74-incident-dialog{width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}}
