/* v2.0.6 – Gemini-inspired layout; local CSS only, existing M-CYBER transactions. */
body[data-page=workspace]{--desk-bg:#0a0e17;--desk-panel:#111827;--desk-line:#303b4c;--desk-muted:#b0bacb;background:var(--desk-bg);color:#f3f4f6}
body[data-page=workspace] .portal-main{gap:12px;min-width:0}
body[data-page=workspace] .staff193-overview{background:#111827;border-color:#253143;padding:12px 14px;border-radius:16px;gap:9px}
body[data-page=workspace] .staff193-heading h2{font-size:19px;line-height:1.3}body[data-page=workspace] .staff193-heading small{color:#f48b96}
body[data-page=workspace] .staff193-metrics{gap:6px}body[data-page=workspace] .staff193-metrics a{min-height:42px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;background:#0f1724;border:1px solid #293448;padding:8px 10px;gap:6px}body[data-page=workspace] .staff193-metrics strong{font-size:20px}
body[data-page=workspace] .staff193-tools a,body[data-page=workspace] .staff193-tools button{border-radius:10px;box-shadow:none}
body[data-page=workspace] .staff201-layout{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:14px}
body[data-page=workspace] .staff201-main #timeline177{background:#14161b;border:1px solid #263040;border-radius:17px;padding:15px}
body[data-page=workspace] #timeline177 .section-head h2{font-size:18px}body[data-page=workspace] #timeline177 .section-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
body[data-page=workspace] .staff201-days{margin-left:auto;background:#1b1e24;padding:4px;border:1px solid #303744;border-radius:11px}
body[data-page=workspace] .staff201-main #timeline177 .scroll{background:#191b20;border-color:#2a313c;border-radius:13px}
body[data-page=workspace] .staff201-main #timeline177 .tlrow>strong{background:#191b20}body[data-page=workspace] #timeline177 .tlbooking{border-radius:6px}body[data-page=workspace] #timeline177 .tlbooking.playing{background:#d64550;border-color:#f16c76}body[data-page=workspace] #timeline177 .tlbooking.confirmed{background:#4361ee;border-color:#8292f6}
body[data-page=workspace] #timeline177 .tlbooking:focus-visible{outline:2px solid white;outline-offset:-2px}
body[data-page=workspace] .staff201-bookbar{background:#191b20;border-color:#303744;border-radius:12px;padding:12px}
body[data-page=workspace] .staff201-queue .arena200-box{background:#111827;border:1px solid #273449;border-radius:16px;padding:15px;box-shadow:none}body[data-page=workspace] .staff201-queue .arena200-title{align-items:center;gap:8px}body[data-page=workspace] .staff201-queue .arena200-title h3{font-size:16px}
body[data-page=workspace] .arena200 label,body[data-page=workspace] .staff202-contact-label{color:#b7c1d0;font-size:13px}body[data-page=workspace] .arena200 :is(input:not([type=radio]):not([type=hidden]),select){border-radius:10px;background:#111827;border-color:#38465a;min-height:44px}
body[data-page=workspace] .staff202-direct>button{background:#0756a8;border-color:#2879cf;min-height:44px}body[data-page=workspace] .staff201-queue .arena200 .staff201-ticket{background:#0756a8;border-color:#2879cf}body[data-page=workspace] .staff201-queue .arena200 .staff201-ticket:hover{background:#096bcf}
body[data-page=workspace] .staff201-queue .staff202-choice button,body[data-page=workspace] .staff201-queue .staff202-radio span{background:#141d2b;border-color:#364459;border-radius:10px}body[data-page=workspace] .staff201-queue .staff202-choice button[aria-pressed=true],body[data-page=workspace] .staff201-queue .staff202-radio input:checked+span{background:#254378;border-color:#6b93de}
body[data-page=workspace] #schedule{background:transparent;border-color:transparent;padding:4px 0}body[data-page=workspace] #schedule .quick178-grid{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}body[data-page=workspace] #schedule .quick178-machine{background:#111827;border:1px solid #37465a;padding:14px;min-height:200px;gap:9px;border-radius:16px;overflow:visible}body[data-page=workspace] #schedule .quick178-machine[data-staff193-state=free]{border-color:#17634e}body[data-page=workspace] #schedule .quick178-machine[data-staff193-state=playing]{border-color:#ac4855}body[data-page=workspace] #schedule .quick178-machine[data-staff193-state=reserved]{border-color:#a78b48}
body[data-page=workspace] #schedule .quick178-top{grid-template-columns:minmax(0,1fr) auto}body[data-page=workspace] #schedule .staff194-machine-icon{display:none}body[data-page=workspace] #schedule .quick178-top strong{font-size:18px}body[data-page=workspace] #schedule .quick178-top .pill{font-size:11px;white-space:normal}
body[data-page=workspace] #schedule .staff206-empty-machine{display:grid;place-items:center;text-align:center;min-height:82px;border:1px dashed #334155;border-radius:12px;background:#0e1624;color:#b2c1d0;padding:10px;margin:0;font-size:13px}body[data-page=workspace] #schedule .quick178-actions{margin-top:auto;display:flex;flex-wrap:wrap}body[data-page=workspace] #schedule .quick178-actions .quick178-book:not(:disabled){background:#0756a8;border:1px solid #2879cf}
body[data-page=workspace] #schedule .quick178-row{background:#0e1624;border-color:#293548}body[data-page=workspace] #schedule .quick1721-timer{background:#141e2e}
.staff206-jumps{display:none}
/* Booking dialog: same form and fields as v2.0.4, tighter visual hierarchy. */
#quick178-dialog,.staff194-dialog,.staff206-detail{background:#101724;color:#f3f4f6;border:1px solid #3a465a;border-radius:17px;box-shadow:0 20px 75px #0009;box-sizing:border-box}
#quick178-dialog{width:min(540px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:16px}#quick178-dialog::backdrop,.staff194-dialog::backdrop,.staff206-detail::backdrop{background:#03060cc9}
#quick178-dialog .quick178-head{position:static;background:transparent;border-color:#293548;align-items:center;margin-bottom:10px}#quick178-dialog .quick178-head h2{font-size:19px}#quick178-form{gap:9px}#quick178-form label{color:#c0cad8;font-size:13px}#quick178-form :is(input:not([type=radio]):not([type=hidden]),select){background:#111827;border:1px solid #3a4659;border-radius:10px;min-height:44px;font-size:16px}#quick178-form .staff204-mode span{background:#111827;border-radius:11px;padding:10px 6px}#quick178-form .staff204-mode input[value=playing]:checked+span{background:#402630;border-color:#e16070}#quick178-form .staff204-mode input[value=reserved]:checked+span{background:#202e5b;border-color:#647df1}
#quick178-form .quick178-durations button{background:#172130;border:1px solid #39475b;border-radius:9px}#quick178-form .quick178-durations button[aria-pressed=true]{background:#263c72;border-color:#7194ef;color:#fff}#quick178-form .quick178-total{background:#111b2b;border-color:#2c384b;padding:12px}#quick178-form .staff204-footer .quick178-submit{background:#c53d4e;border-color:#e46a76}#quick178-form .staff204-footer{position:sticky;bottom:-16px;z-index:2;background:#101724;padding:10px 0;border-color:#2a3647}
.staff206-detail{width:min(760px,calc(100vw - 20px));max-width:none;height:min(760px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden;margin:auto}.staff206-detail:not([open]){display:none}.staff206-detail[open]{display:flex;flex-direction:column}.staff206-detail>header,.staff206-detail>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;background:#111827;flex:none}.staff206-detail>header{border-bottom:1px solid #344054}.staff206-detail>footer{border-top:1px solid #344054;padding-bottom:max(10px,env(safe-area-inset-bottom))}.staff206-detail h2{font-size:18px;margin:3px 0}.staff206-detail header small{font-size:10px;letter-spacing:.1em;color:#f48b96}.staff206-detail button,.staff206-detail footer a{min-height:44px}.staff206-detail iframe{width:100%;flex:1;min-height:0;border:0;background:#101724}.staff206-detail iframe[hidden],.staff206-load[hidden]{display:none}.staff206-load{padding:18px;color:#b7c1d0;flex:1}
/* Embedded original application – keep all authorized forms and their CSRF fields. */
body.staff206-embedded{background:#101724!important;padding:0!important;min-width:0!important}body.staff206-embedded .portal-shell,body.staff206-embedded .public-shell{display:block!important;width:100%!important;max-width:100%!important;padding:10px!important;margin:0!important;box-sizing:border-box}body.staff206-embedded .portal-main{width:100%!important;max-width:100%!important;min-width:0!important}body.staff206-embedded :is(.portal-top,.portal-sidebar,.site-footer,.mobile1719-nav,.portal-mobile-nav,#queue161){display:none!important}body.staff206-embedded .portal-heading{padding:8px;margin:0 0 10px}body.staff206-embedded .portal-heading p{display:none}body.staff206-embedded.staff206-single .portal-heading,body.staff206-embedded.staff206-single #booking-records163>.section-head,body.staff206-embedded.staff206-single #booking-records163>.desk170-summary,body.staff206-embedded.staff206-single #booking-records163>.source1733-tabs,body.staff206-embedded.staff206-single #booking-records163>.desk1727-filter,body.staff206-embedded.staff206-single #booking-records163>.portal-filter,body.staff206-embedded.staff206-single #booking-records163>form,body.staff206-embedded.staff206-single #booking-records163>p:not([data-desk-empty]),body.staff206-embedded.staff206-single .source1733-group:not(.staff206-target-group),body.staff206-embedded.staff206-single .source1733-head{display:none!important}body.staff206-embedded.staff206-single #booking-records163,body.staff206-embedded.staff206-single .staff206-target-group{background:transparent;border:0;padding:0;margin:0;box-shadow:none}body.staff206-embedded .portal-booking:target{outline:0}body.staff206-embedded input,body.staff206-embedded select{max-width:100%}
@media(max-width:1250px){body[data-page=workspace] .staff201-layout{grid-template-columns:minmax(0,1fr)}body[data-page=workspace] .staff201-queue .arena200{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px) and (pointer:coarse) and (orientation:landscape){body[data-page=workspace].staff204-counter .staff201-layout{grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr)}body[data-page=workspace].staff204-counter .staff201-queue .arena200{grid-template-columns:1fr}}
@media(max-width:1000px){body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body[data-page=workspace] .portal-shell{padding:8px!important;max-width:100%;box-sizing:border-box}body[data-page=workspace] .staff193-overview{padding:10px;gap:8px}body[data-page=workspace] .staff193-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=workspace] .staff193-metrics a{min-height:42px;padding:7px}body[data-page=workspace] .staff193-tools>a,body[data-page=workspace] .staff193-tools button{min-height:44px;white-space:normal}body[data-page=workspace] .staff206-jumps{display:grid;grid-template-columns:1fr 1fr;gap:6px}body[data-page=workspace] .staff206-jumps a{display:grid;place-items:center;min-height:44px;text-align:center;border:1px solid #364459;background:#111827;border-radius:10px;color:#ecf1fa;text-decoration:none;font-size:13px;padding:6px;box-sizing:border-box}body[data-page=workspace] .staff201-queue .arena200{grid-template-columns:1fr}body[data-page=workspace] .staff201-main #timeline177{padding:10px}body[data-page=workspace] .staff201-days{margin:0;width:100%;box-sizing:border-box}body[data-page=workspace] #timeline177 .staff193-table-tools{display:flex;flex-wrap:wrap;gap:6px}body[data-page=workspace] #timeline177 .staff193-table-tools button{min-height:44px}body[data-page=workspace] #timeline177 .staff193-table-tools small{flex-basis:100%}body[data-page=workspace] .staff201-main #timeline177 .timeline15{min-width:var(--staff193-table-width,3200px)}body[data-page=workspace] #timeline177 .tltrack{height:52px}body[data-page=workspace] #schedule .quick178-grid{grid-template-columns:1fr}body[data-page=workspace] .staff202-choice button,body[data-page=workspace] .staff202-radio span{min-height:44px}#quick178-dialog{padding:12px}#quick178-form .staff204-footer{bottom:-12px}#quick178-form .quick178-durations{grid-template-columns:repeat(4,minmax(0,1fr))}#quick178-form .quick178-durations button{min-height:44px;padding:6px 2px;font-size:12px}.staff206-detail{width:calc(100vw - 12px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.staff206-detail header,.staff206-detail footer{padding:9px 11px}.staff206-detail h2{font-size:16px}}
@media(max-width:370px){#quick178-form .quick178-fields{grid-template-columns:1fr}#quick178-form .quick178-durations{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Customer booking: retain server lock/QR/submit flow, improve touch sizing and wrapping. */
@media(max-width:700px){body.portal-public .customer-form .booking-card,body.portal-public .customer-form .booking-summary-card{background:#151820;border-radius:14px}body.portal-public .customer-form .cyber192-days button,body.portal-public .customer-form .cyber192-hours button,body.portal-public .customer-form .cyber192-slots button{min-height:46px;border-radius:10px}body.portal-public .customer-form .mc203-mobile-next{flex-wrap:wrap}body.portal-public .customer-form .mc203-mobile-next button{flex:1 1 155px}body.portal-public .customer-form .booking-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.portal-public .customer-form .hold1735-actions{padding:10px}body.portal-public .customer-form .hold1735-status{overflow-wrap:anywhere}body.portal-public .customer-form .pay1729-required input[type=file]{width:100%;max-width:100%;box-sizing:border-box}body.portal-public .customer-form .booking-summary-card .submit-main{min-height:48px}}
