/* Staff workspace redesign — no timeline selectors, no customer theme changes. */
body[data-page=workspace] .portal-main>.portal-heading{display:none}
body[data-page=workspace] .staff193-overview{padding:18px;gap:14px;border-radius:14px;background:#19191e}
.staff193-heading h2{font-size:clamp(21px,2vw,28px);line-height:1.25}.staff193-metrics a{padding:12px 14px;min-height:78px;justify-content:center}.staff193-metrics strong{font-size:clamp(24px,3vw,32px)}.staff193-tools{grid-template-columns:repeat(6,minmax(0,1fr))}.staff193-tools a{min-height:46px;white-space:normal;padding:8px 5px}
.staff194-attention{display:grid;gap:7px;background:#32242a;border:1px solid #69414a;border-radius:9px;padding:10px}.staff194-attention[hidden]{display:none}.staff194-attention>strong{font-size:13px;color:#ffc9d1}.staff194-attention [data-staff194-alert-list]{display:flex;flex-wrap:wrap;gap:6px}.staff194-attention button{background:#493720;color:#ffe2ac;border:1px solid #8a6941;min-height:40px;padding:6px 10px;font-size:13px}.staff194-attention button[data-level=urgent],.staff194-attention button[data-level=ended]{background:#6a2736;color:#fff;border-color:#a94d5c}
body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:10px;align-items:stretch}
body[data-page=workspace] #schedule .quick178-machine{border-radius:12px;gap:10px;padding:12px;min-height:220px;height:100%;box-sizing:border-box;justify-content:flex-start;overflow:visible}
body[data-page=workspace] #schedule .quick178-top{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:38px}.staff194-machine-icon{display:grid;place-items:center;background:#323238;border-radius:9px;width:38px;height:38px;color:#f5b9c0}.staff194-machine-icon svg{width:24px;height:24px}body[data-page=workspace] #schedule .quick178-top strong{font-size:20px;white-space:nowrap}body[data-page=workspace] #schedule .quick178-meta{gap:5px 9px;min-height:34px}body[data-page=workspace] #schedule .quick178-meta small{color:#c4c4cb;font-size:12px}body[data-page=workspace] #schedule .quick178-actions{margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}body[data-page=workspace] #schedule .quick178-actions .quick178-book{background:#a91d32;color:#fff;min-height:42px}body[data-page=workspace] #schedule .quick178-actions .quick178-book:disabled{background:#33333a;color:#c1c1c8;border-color:#55555b}body[data-page=workspace] #schedule .quick178-actions .maintenance1763-link{min-height:42px;padding:8px;font-size:12px}body[data-page=workspace] #schedule .quick178-actions .staff194-full-link{grid-column:1/-1}body[data-page=workspace] #schedule .staff194-full-link[hidden],.staff194-controls[hidden]{display:none!important}
body[data-page=workspace] #schedule .quick178-row{gap:7px;padding:10px;background:#151519}body[data-page=workspace] #schedule .quick178-row .quick178-name{font-size:15px;white-space:normal}body[data-page=workspace] #schedule .quick1721-timer{display:grid;grid-template-columns:1fr auto;align-items:center;padding:10px;gap:4px;background:#292930}body[data-page=workspace] #schedule .quick1721-timer .timer{font-size:clamp(25px,2.8vw,34px);line-height:1.05}body[data-page=workspace] #schedule .staff193-timer-note{grid-column:1/-1;text-align:right}
body[data-page=workspace] #schedule .staff194-actionbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body[data-page=workspace] #schedule .staff194-actionbar>button:last-child{grid-column:1/-1}body[data-page=workspace] #schedule .staff194-actionbar button{min-height:42px;font-size:13px}body[data-page=workspace] #schedule .staff194-primary{background:#a91d32;color:#fff;border:1px solid #da5264}body[data-page=workspace] #schedule .staff194-actionbar form{margin:0}
.staff194-dialog{color:#f4f4f5;background:#1d1d22;border:1px solid #53535c;border-radius:14px;max-width:min(560px,calc(100vw - 28px));width:560px;max-height:85vh;max-height:85dvh;padding:0;overflow:auto;box-shadow:0 18px 70px #000a}.staff194-dialog::backdrop{background:#000b}.staff194-dialog>header{position:sticky;top:0;z-index:2;background:#222228;display:flex;gap:12px;justify-content:space-between;align-items:flex-start;padding:16px;border-bottom:1px solid #3e3e46}.staff194-dialog>header h2{font-size:21px;margin:3px 0}.staff194-dialog>header p{font-size:13px;color:#d0d0d7;margin:5px 0;overflow-wrap:anywhere}.staff194-dialog>header small{color:#fba7b3}.staff194-dialog>header button{min-width:72px;min-height:44px}.staff194-dialog [data-staff194-content]{padding:14px;display:grid;gap:10px}.staff194-dialog .staff194-controls{display:grid;gap:10px}.staff194-dialog details{padding:0;border:1px solid #484850;background:#26262c;border-radius:9px;margin:0}.staff194-dialog details>summary{padding:12px;font-size:15px;cursor:pointer;font-weight:700;color:#f4f4f5;min-height:44px;box-sizing:border-box}.staff194-dialog details>form,.staff194-dialog details>p{margin:0;padding:12px}.staff194-dialog form{display:grid;gap:9px}.staff194-dialog label{font-size:14px}.staff194-dialog select,.staff194-dialog input:not([type=hidden]):not([type=checkbox]):not([type=radio]){min-height:44px;font-size:16px}.staff194-dialog button,.staff194-dialog a.secondary{min-height:44px}.staff194-dialog .workspace1761-finish button{border:1px solid #b75461;color:#ffc0c9;background:#542630}.staff194-dialog footer{padding:0 14px 14px}.staff194-dialog footer a{display:flex;justify-content:center;align-items:center}.staff194-dialog .extend1721-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.staff194-dialog .extend1721-presets button[aria-pressed=true]{background:#a91d32;color:white}.staff194-dialog .extend-preview173{background:#141418;border-radius:9px;padding:12px}.staff194-dialog .extend-preview173 strong{font-size:19px}
.staff194-quick .staff194-method-native{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.staff194-quick .staff193-method>strong{grid-column:1/-1;font-size:13px}.staff194-quick .staff193-method button{min-height:46px}.staff194-quick .quick178-durations button{min-height:44px}.staff194-quick .quick178-total{border:1px solid #4a4a52;border-radius:10px;padding:12px}.staff194-quick .quick178-submit{min-height:48px;background:#a91d32;color:#fff}.staff194-quick .quick178-submit:disabled{opacity:.55}
@media(max-width:1100px){.staff193-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body[data-page=workspace] .staff193-overview{padding:12px}.staff193-tools{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:1fr}.staff194-dialog .extend1721-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1366px) and (any-pointer:coarse){body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=workspace] #schedule .staff194-actionbar button,body[data-page=workspace] #schedule .quick178-actions a{min-height:46px}.staff194-dialog{max-height:80dvh}.staff193-tools a{min-height:48px}}
@media(min-width:1100px) and (max-width:1366px) and (any-pointer:coarse){body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{.staff194-attention,.staff194-actionbar,.staff194-dialog{display:none!important}}
/* Prevent wide timeline content from expanding the workspace grid on tablets. */
body[data-page=workspace] .portal-main{grid-template-columns:minmax(0,1fr)}
body[data-page=workspace] #schedule{min-width:0;max-width:100%;box-sizing:border-box}
@media (max-width:1366px) and (any-pointer:coarse){body[data-page=workspace] #timeline177{min-width:0;max-width:100%}body[data-page=workspace] #timeline177 .scroll{width:100%;min-width:0;box-sizing:border-box}}
