/* Unified booking modal; existing timeline, customer mobile UI and payments retained. */
#quick178-dialog{width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:18px;background:#141820;border:1px solid #3b414e;border-radius:16px;box-sizing:border-box}
#quick178-dialog .quick178-head{border-bottom:1px solid #343945;padding-bottom:12px;margin-bottom:10px}
#quick178-dialog .quick178-head small{color:#fa7181;font-weight:750;letter-spacing:.08em}
#quick178-dialog .quick178-head h2{font-size:19px;line-height:1.35;margin:3px 0}
#quick178-form{display:grid;gap:10px}#quick178-form label{min-width:0}#quick178-form .quick178-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#quick178-form :is(input,select){width:100%;min-width:0;box-sizing:border-box}#quick178-form .staff204-pads small,.staff201-queue .staff204-pads small{font-size:10px;display:block;line-height:1.4;color:#aeb4bf;margin-top:3px}
.staff204-mode{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}.staff204-mode legend{padding:0;margin-bottom:5px;color:#c1c5cf;font-size:12px}.staff204-mode label{position:relative;display:block;margin:0;cursor:pointer}.staff204-mode input{position:absolute;opacity:0;inset:0;cursor:pointer}.staff204-mode span{display:grid;gap:2px;text-align:center;border:1px solid #3c4453;border-radius:10px;padding:9px 4px;background:#1a202c;color:#8da8ff;font-size:13px}.staff204-mode input[value=playing]+span{color:#ff8795}.staff204-mode input[value=playing]:checked+span{background:#49252e;border-color:#db5060}.staff204-mode input[value=reserved]:checked+span{background:#24345d;border-color:#637fec}.staff204-mode input:focus-visible+span{outline:2px solid #fff;outline-offset:2px}.staff204-mode small{font-size:10px;color:#c3c6ce}
#quick178-form [data-staff204-time]{margin-top:4px;font-size:12px}#quick178-form .quick178-total{border:1px solid #343b49;background:#1c2330;padding:10px;border-radius:10px}#quick178-form [data-q-price]{color:#43d59a}#quick178-form [data-q-end]{font-size:15px}
.staff204-footer{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid #363b45;padding-top:10px}.staff204-footer button{min-height:44px}.staff204-footer .quick178-submit{flex:1;margin:0;background:#b92c41}
body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}body[data-page=workspace] #schedule .quick178-machine{min-width:0;overflow:hidden;border-radius:14px}body[data-page=workspace] #schedule .quick178-machine.state-free{border-color:#215643}body[data-page=workspace] #schedule .quick178-actions{display:flex;flex-wrap:wrap}body[data-page=workspace] #schedule .quick178-book{flex:1 1 100%;text-align:center;min-height:40px}
@media(max-width:1050px){body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:530px){body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:1fr}#quick178-dialog{padding:12px}#quick178-form .quick178-fields{gap:6px}.staff204-mode span{font-size:12px}#quick178-form .quick178-durations{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(pointer:coarse){#quick178-form :is(select,button),.staff204-mode span{min-height:44px}#quick178-form .staff204-footer button{min-height:48px}}
body[data-page=workspace] .staff204-focus{font-size:12px;min-height:35px;padding:6px 10px}body[data-page=workspace].staff204-counter .portal-sidebar{display:none!important}body[data-page=workspace].staff204-counter .portal-shell{display:block!important;max-width:100%;width:100%;box-sizing:border-box;padding:10px}body[data-page=workspace].staff204-counter .portal-main{width:100%;max-width:100%;min-width:0}body[data-page=workspace].staff204-counter .staff204-focus{background:#9f2439;color:#fff}
