/* Staff workspace only: compact dark controls, no vertical stretching. */
body[data-page=workspace] .portal-main{gap:10px;align-content:start;min-width:0}
body[data-page=workspace] .portal-heading{padding:9px 12px;margin:0;background:#151820;border:1px solid #303644;box-shadow:none;border-radius:12px}
body[data-page=workspace] .portal-heading h1{font-size:20px;line-height:1.3;margin:0}
body[data-page=workspace] .portal-heading span{padding:0;background:none;font-size:11px}
body[data-page=workspace] .portal-heading p{display:none}
.workspace1761-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.workspace1761-tools a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:6px 12px;box-sizing:border-box;background:#253448;border:1px solid #37475d;color:#eef2f6;border-radius:8px;text-decoration:none;font-size:13px;font-weight:700;flex:0 0 auto}
body[data-page=workspace] .portal-main>.panel{margin:0;padding:12px;border-radius:12px;box-shadow:none;background:#151820;border:1px solid #303644;overflow:visible;min-width:0}
body[data-page=workspace] #schedule .section-head{margin:0 0 8px;gap:4px}
body[data-page=workspace] #schedule .section-head h2{font-size:18px;margin:0}
body[data-page=workspace] #schedule .portal-filter{padding:0;border:0;background:none;margin:0 0 10px;display:flex;flex-wrap:wrap;gap:6px;align-items:end}
body[data-page=workspace] #schedule .portal-filter label{flex:0 1 180px;min-width:0;gap:3px;font-size:12px}
body[data-page=workspace] #schedule .portal-filter input{padding:6px 9px;min-height:40px;width:100%;box-sizing:border-box}
body[data-page=workspace] #schedule .portal-filter button{min-height:40px;width:auto;padding:6px 14px}
body[data-page=workspace] #schedule .zone1740-title{margin:10px 0 6px;font-size:14px}
body[data-page=workspace] #schedule .quick178-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:8px;align-items:start;margin:0}
body[data-page=workspace] #schedule .quick178-machine{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:7px;padding:10px;margin:0;border-radius:10px;background:#202530;box-shadow:none;min-width:0;height:auto;min-height:0}
body[data-page=workspace] #schedule .quick178-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px;min-height:0;margin:0}
body[data-page=workspace] #schedule .quick178-top strong{font-size:17px;line-height:1.2}
body[data-page=workspace] #schedule .pill{padding:4px 7px;line-height:1.3;font-size:11px;max-width:100%;white-space:normal}
body[data-page=workspace] #schedule .quick178-meta{display:flex;justify-content:flex-start;gap:3px 9px;flex-wrap:wrap;font-size:11px;align-items:start;margin:0}
body[data-page=workspace] #schedule .quick178-meta small{font-size:11px;line-height:1.4}
body[data-page=workspace] #schedule .quick178-rows{display:grid;align-content:start;gap:6px;flex:0 0 auto;margin:0;min-height:0}
body[data-page=workspace] #schedule .quick178-row{background:#12161e;border:1px solid #303846;box-shadow:none;padding:8px;border-radius:8px;gap:4px;min-width:0;justify-items:stretch;align-content:start}
body[data-page=workspace] #schedule .quick178-row>.pill{justify-self:start}
body[data-page=workspace] #schedule .quick178-name{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
body[data-page=workspace] #schedule .quick178-row small{font-size:12px;line-height:1.4}
body[data-page=workspace] #schedule .quick1721-timer{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 0;margin:0;background:none;border:0;min-height:0}
body[data-page=workspace] #schedule .timer{font-size:22px;line-height:1.2;margin:0}
body[data-page=workspace] #schedule form{margin:0;min-width:0}
body[data-page=workspace] #schedule .timer1749-panel{gap:5px;padding:0;margin:0}
body[data-page=workspace] #schedule .timer1749-buttons,body[data-page=workspace] #schedule .quick178-inline-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:5px;margin:0}
body[data-page=workspace] #schedule .timer1749-buttons form,body[data-page=workspace] #schedule .quick178-inline-actions form{flex:1 1 92px;min-width:0}
body[data-page=workspace] #schedule .quick178-inline-actions>a{flex:1 1 92px}
body[data-page=workspace] #schedule .quick178-row button,body[data-page=workspace] #schedule .quick178-row a.secondary{box-sizing:border-box;width:100%;min-height:40px;line-height:1.25;padding:6px 8px;font-size:13px;border-radius:8px;overflow-wrap:normal;white-space:normal}
body[data-page=workspace] #schedule .quick178-row details,body[data-page=workspace] #schedule .workspace1761-more{border:1px solid #37404e;border-radius:8px;background:#151820;margin:0;padding:0;min-width:0}
body[data-page=workspace] #schedule details>summary{padding:7px 9px;margin:0;min-height:40px;box-sizing:border-box;font-size:13px;line-height:1.35;display:flex;align-items:center;justify-content:flex-start;gap:6px;background:transparent;border:0;border-radius:8px;cursor:pointer}
body[data-page=workspace] #schedule details>summary::before{content:'▸';color:#aeb9c7}
body[data-page=workspace] #schedule details[open]>summary::before{content:'▾'}
body[data-page=workspace] #schedule details>*:not(summary){margin:5px 7px 7px;min-width:0}
body[data-page=workspace] #schedule .workspace1761-more[open]>.quick178-row{margin:5px}
body[data-page=workspace] #schedule .extend1721>summary{background:#214354;color:#e6f5ff;justify-content:center}
body[data-page=workspace] #schedule .workspace1761-finish button{color:#ff9ca7;background:#2b2029;border:1px solid #744150}
body[data-page=workspace] #schedule .workspace1761-cancel{color:#ff9ca7}
body[data-page=workspace] #schedule .quick178-actions{display:flex;margin:0;gap:6px}
body[data-page=workspace] #schedule .quick178-book{width:100%;min-height:40px;padding:7px 8px;flex:1 1 auto;box-sizing:border-box;font-size:13px;border-radius:8px}
body[data-page=workspace] #schedule .quick178-row input:not([type=checkbox]):not([type=hidden]),body[data-page=workspace] #schedule .quick178-row select{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:6px 8px}
body[data-page=workspace] #schedule .quick178-row label{font-size:12px;gap:3px}
body[data-page=workspace] #schedule .quick178-row .check{flex-direction:row;align-items:center}
body[data-page=workspace] #schedule .extend1721-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
body[data-page=workspace] #schedule .extend-preview173{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;padding:6px}
body[data-page=workspace] #queue161 .section-head{margin:0 0 5px}
body[data-page=workspace] #queue161 .section-head h2{font-size:17px;margin:0}
body[data-page=workspace] #queue161 .queue-fold1722,body[data-page=workspace] #queue161 .queue-sound{width:auto;min-height:40px;font-size:12px;padding:6px 10px}
body[data-page=workspace] #queue161 [hidden]{display:none!important}
@media(max-width:600px){body[data-page=workspace] .portal-main{gap:8px}body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:minmax(0,1fr)}body[data-page=workspace] .portal-main>.panel{padding:9px} .workspace1761-tools a{flex:1 1 calc(33.33% - 6px);font-size:12px;padding:5px 4px;min-height:40px}body[data-page=workspace] #schedule .portal-filter label{flex:1 1 150px}body[data-page=workspace] #schedule .portal-filter button{flex:0 0 auto}}

/* v1.7.62: restore timeline on the compact staff workspace. */
body[data-page=workspace] #timeline177 .section-head{margin:0 0 8px;gap:6px;align-items:center}
body[data-page=workspace] #timeline177 .section-head h2{font-size:18px;margin:0}
body[data-page=workspace] #timeline177 .timeline1762-full{width:auto;min-height:36px;padding:5px 10px;font-size:12px;border-radius:8px}
body[data-page=workspace] #timeline177 .scroll{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain}
body[data-page=workspace] #timeline177 .timeline15{min-width:1800px;padding:6px 4px}
body[data-page=workspace] #timeline177 .tlrow{margin:5px 0}
body[data-page=workspace] #timeline177 .tltrack{height:46px}
body[data-page=workspace] #timeline177 .tlbooking{top:3px;height:40px}
body[data-page=workspace] #timeline177 .tlslot{min-height:0;box-sizing:border-box}
body[data-page=workspace] #timeline177>p.small{margin:8px 0 0}

/* 1.7.65: prioritize staff-only customer name, preserve actual booking slot geometry. */
.quick178-row .quick1765-customer{font-size:14px;font-weight:800;line-height:1.35;color:#eef4ff;white-space:normal;overflow-wrap:anywhere}.quick178-live-name{padding:5px 8px;margin:4px 0;font-size:12px;color:#d2e4ff;overflow-wrap:anywhere}#timeline177 .named177 .timeline1765-customer{font-size:12px;font-weight:800;line-height:1.25;text-align:left;letter-spacing:0}#timeline177 .named177:focus-visible{outline:2px solid #fff;outline-offset:-2px}
