/* Shared compact mobile and desktop operation, scoped away from public booking and Super Admin. */
.mobile162{--m162-orange:#ff7a10;--m162-border:#284657;--m162-card:var(--panel,#102535)}
.mobile162 .sidebar{display:none!important}
.mobile162 .shell{display:block!important;min-height:100dvh}
.mobile162 .main{min-width:0;margin:0!important;padding-bottom:100px}
.mobile162 .topbar{position:sticky;top:0;z-index:12;min-height:62px;padding:12px 20px;gap:12px}
.mobile162 .topbar small{display:none}
.mobile162 .workspace{max-width:1000px;margin:auto;padding:24px 20px}
.mobile162 .workspace h1{font-size:30px;margin:4px 0 8px}
.mobile162 .workspace h2{font-size:21px;margin:8px 0 12px}
.mobile162 button,.mobile162 input,.mobile162 select,#modal:has([data-mobile-form]) button,#modal:has([data-mobile-form]) input,#modal:has([data-mobile-form]) select{min-height:48px;font-size:16px}
.m162-heading{margin-bottom:20px}
.m162-chips{display:flex;gap:8px;overflow:auto;padding:4px 0 16px;scrollbar-width:thin}
.m162-chips button{flex:none}
.m162-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;border-radius:12px;text-decoration:none;font-weight:700;cursor:pointer}
.m162-quick{display:flex;gap:12px;margin:16px 0;flex-wrap:wrap}
.m162-quick>*{flex:1;min-width:150px}
.m162-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
.m162-metrics .panel{padding:16px;margin:0;font-size:14px}
.m162-metrics strong{display:block;font-size:25px;color:var(--m162-orange);margin-top:8px;font-variant-numeric:tabular-nums}
.m162-card{background:var(--m162-card);border:1px solid var(--m162-border);padding:18px;border-radius:16px;margin-bottom:12px}
.m162-highlight{border:2px solid var(--m162-orange)!important}
.m162-card-head{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}
.m162-card-head>strong{font-size:21px}
.m162-card-head>div{flex:1;min-width:120px}
.m162-card-head h2{margin:0!important}
.m162-card p{margin:6px 0 12px;line-height:1.5}
.m162-card .badge{font-size:12px;padding:6px 9px;white-space:normal}
.m162-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.m162-card-actions>button:first-child{flex:1}
.m162-bottom{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:var(--bg,#071321);border-top:1px solid var(--m162-border);padding:8px 10px calc(8px + env(safe-area-inset-bottom));z-index:20}
.m162-bottom button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;border:0;background:transparent;min-height:58px;font-size:13px!important;padding:4px;color:inherit;border-radius:10px}
.m162-bottom button span{font-size:22px;line-height:1}
.m162-bottom button.active{background:rgba(255,122,16,.12);color:var(--m162-orange)}
.m162-form{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;align-items:end}
.m162-form>label{flex:1;min-width:140px}
.m162-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m162-menu-item{min-height:60px;text-align:left;padding:16px!important;font-size:16px!important;border-radius:12px}
.m162-line{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--m162-border);padding:14px 0}
.m162-line p{margin:5px 0;font-size:14px}
.m162-line>div{min-width:0}
.m162-service-list{display:grid;gap:10px;margin:12px 0 20px}
.m162-service-list label{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--m162-border);border-radius:12px;cursor:pointer}
.m162-service-list input{width:22px!important;min-height:22px!important;height:22px;flex:none;accent-color:#ff7a10}
.m162-service-list small{display:block;margin-top:5px}
.m162-service-list label:has(input:checked){border-color:#ff7a10;background:rgba(255,122,16,.08)}
.m162-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}
.m162-button.selected{border-color:#ff7a10;background:rgba(255,122,16,.14)}
.m162-success{border-color:#13b77a!important}
.m162-detail-actions{display:grid;gap:10px}
.m162-pay-methods{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.m162-pay-methods label{position:relative;flex:1;min-width:95px;padding:14px;border:1px solid #284657;border-radius:12px;cursor:pointer;text-align:center}
.m162-pay-methods input{min-height:20px!important;width:20px;accent-color:#ff7a10;display:block;margin:0 auto 8px}
.m162-pay-methods label:has(input:checked){border-color:#ff7a10}
#modal:has([data-mobile-form]){width:min(540px,calc(100vw - 24px));max-width:540px;max-height:92dvh;border-radius:18px;padding:22px}
#modal:has([data-mobile-form]) label{margin-bottom:12px}
#modal:has([data-mobile-form]) .wide{width:100%;margin-top:10px}
#modal:has([data-mobile-form]) .error{white-space:normal;line-height:1.5}
.mobile162 details summary{cursor:pointer;min-height:40px;font-weight:700}
@media(max-width:600px){.mobile162 .workspace{padding:18px 14px}.mobile162 .topbar{padding:10px 14px}.m162-menu{grid-template-columns:1fr}.m162-card{padding:16px}.m162-card-head .badge{max-width:130px}.mobile162 .grid{grid-template-columns:1fr 1fr!important}.mobile162 .toolbar{flex-direction:column;align-items:stretch}.mobile162 .pagehead{display:block}.mobile162 .pagehead .actions{margin-top:12px}.mobile162 .two{grid-template-columns:1fr}.mobile162 .panel{overflow-wrap:anywhere}.m162-line{flex-wrap:wrap}.mobile162 .tablewrap{max-width:100%;overflow:auto}}
@media print{.m162-bottom,.mobile162 .topbar{display:none!important}.mobile162 .main{padding-bottom:0}}

.mobile162 ~ #toast{bottom:100px;z-index:50}
.m162-client-matches{display:grid;gap:6px;margin-bottom:10px}

.m162-bottom svg{width:24px;height:24px;display:block}

.mobile162 .tablewrap td:last-child{white-space:nowrap;overflow-wrap:normal}

/* Five owner shortcuts, with the counter sale immediately after Cash. */
.m162-bottom.m162-five{gap:2px;padding-left:6px;padding-right:6px}
.m162-bottom.m162-five button{font-size:12px!important;padding:4px 2px;min-width:0;line-height:1.15}
