.mobile-setup{max-width:760px;margin:24px auto;padding:clamp(20px,4vw,40px);border:1px solid #b7cbd8;border-radius:22px;background:#fff;box-shadow:0 12px 36px #15334b18;color:#12334b}.mobile-setup h1{font-size:clamp(28px,4vw,42px);line-height:1.15}.mobile-setup p{line-height:1.65}.mobile-eyebrow{font-size:12px;letter-spacing:.16em;color:#087f83;font-weight:800}.mobile-setup label{display:grid;gap:8px;margin:20px 0;font-weight:700}.mobile-setup select{min-height:52px;max-width:100%;font:inherit}.mobile-setup .btn{margin:4px;min-height:48px}
#components-reconnect-modal{max-width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;border:2px solid #d99b16;border-radius:22px;padding:28px;background:#fff8e5;color:#27384b;font:18px/1.6 system-ui;box-shadow:0 20px 80px #06192980}#components-reconnect-modal::backdrop{background:#08192bbf;backdrop-filter:blur(4px)}#components-reconnect-modal button{min-height:52px;padding:10px 20px;margin:6px;border:1px solid #a57916;border-bottom:4px solid #8c681a;border-radius:10px;font:700 16px system-ui;color:#26394b;background:linear-gradient(#fff4ca,#edc55b)}#components-reconnect-modal button[hidden]{display:none}
.pos-shell{height:100dvh;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}.pos-topbar{padding-top:max(.25rem,env(safe-area-inset-top))}
@media(pointer:coarse){.pos-shell button,.pos-shell .btn,.pos-shell select{min-height:48px;touch-action:manipulation}.pos-shell input,.pos-shell select{font-size:16px}.pos-topbar .pos-exit,.pos-topbar .pos-lock{padding:8px 12px}.pos-main .salon-pos button{min-height:44px}}
@media(max-width:800px){
 .pos-topbar{gap:6px;padding-left:8px;padding-right:8px}.pos-topbar .product-identity{font-size:18px}.pos-topbar .screen-build-label{font-size:9px}.pos-topbar .pos-operator{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .pos-main:has(.retail-screen)>.pos-viewport,.pos-main:has(.hospitality-workspace .pos-screen) .pos-viewport{overflow:auto!important;min-height:0;overscroll-behavior:contain}
 #retail-screen,#pos-screen[data-responsive=true]{display:flex!important;flex-direction:column;gap:8px;width:100%!important;height:auto!important;min-width:0!important;min-height:100%;position:relative!important;transform:none!important;left:0!important;top:0!important;padding:8px;box-sizing:border-box}
 #retail-screen>.pos-region,#pos-screen[data-responsive=true]>.pos-region{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;min-height:56px;flex-shrink:0;overflow:visible;box-sizing:border-box}
 #retail-screen>.retail-logo,#retail-screen>.retail-clock,#pos-screen>.pos-logoregion,#pos-screen>.pos-clockregion{display:none}
 #retail-screen>.retail-header,#pos-screen>.pos-header{order:0;flex-wrap:wrap;gap:10px;padding:12px}
 #retail-screen>.retail-stripselector{order:1}#retail-screen>.retail-journal,#pos-screen>.pos-journalpanel{order:2;height:350px!important;min-height:280px;overflow:hidden}
 #retail-screen>.retail-departments,#pos-screen>.pos-stripregion,#pos-screen>.pos-deptregion{order:3}
 #retail-screen>.retail-productgrid,#pos-screen>.pos-productregion{order:4}
 #retail-screen>.retail-function,#pos-screen>.function-region{order:5}#retail-screen>.retail-tender,#pos-screen>.pos-tenderregion{order:6}#retail-screen>.retail-print{order:7}#retail-screen>.retail-alerts{order:8;flex-wrap:wrap}
 #retail-screen .retail-header .retail-parties{flex-wrap:wrap}#retail-screen .retail-identity{min-width:0;max-width:100%}#retail-screen .retail-parties{flex-wrap:wrap}#retail-screen .retail-search{flex-wrap:wrap;height:auto}#retail-screen .retail-search input{flex-basis:100%;width:100%;box-sizing:border-box}
 #retail-screen .retail-command-grid,#retail-screen .retail-products,#pos-screen .pos-slotgrid,#pos-screen .function-buttons,#pos-screen>.pos-actionbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:minmax(56px,auto)!important;gap:6px!important;width:100%!important;height:auto!important;position:relative!important;left:0!important;top:0!important;overflow:visible!important}
 #retail-screen .retail-command,#retail-screen .retail-product,#pos-screen .pos-slot,#pos-screen .pos-task{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;min-height:56px!important;box-sizing:border-box;font-size:14px!important;white-space:normal;overflow-wrap:anywhere;grid-column:auto!important;grid-row:auto!important;transform:none!important}
 #pos-screen .pos-slot-empty{min-height:0!important}#retail-screen .wholesale-document-actions{height:auto;flex-wrap:wrap}#retail-screen .retail-more,#pos-screen .functions-workspace{position:fixed!important;inset:70px 8px 8px!important;width:auto!important;height:auto!important;z-index:100!important;overflow:auto}
 #pos-screen .pos-header{display:flex;align-items:center}#pos-screen .pos-search{width:100%;max-width:100%;box-sizing:border-box}#pos-screen .pos-header-parties{max-width:100%;flex-wrap:wrap}#pos-screen .pos-header-parties button{font-size:14px;white-space:normal}
 .modal-overlay .modal,.modal-overlay .studio-dialog{min-width:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box}.pos-login{margin:12px auto;max-width:420px;width:100%;box-sizing:border-box}
}
@media(max-width:800px){#pos-screen .pos-abtn{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:auto!important;min-height:56px!important;font-size:14px!important;white-space:normal;overflow-wrap:anywhere;grid-column:auto!important;grid-row:auto!important;transform:none!important}#pos-screen>.pos-printregion{order:7}}
@media print{.mobile-setup,#components-reconnect-modal{display:none!important}.pos-shell{height:auto;padding:0}}
