.install-app-button{font:600 14px system-ui!important;min-height:44px!important;padding:10px 14px!important;border-radius:9px!important;white-space:nowrap;cursor:pointer}.serviceview header .install-app-button{font-size:13px!important;border:1px solid #ffffff55!important;margin-left:8px}body{padding-bottom:env(safe-area-inset-bottom)}html{scroll-padding-bottom:20px}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}input,select,textarea{font-size:16px}button:focus-visible,a:focus-visible{outline:3px solid #b19147;outline-offset:3px}
@media(display-mode:standalone){.install-app-button{display:none!important}body{overscroll-behavior-y:none}.serviceview header{padding-top:max(4px,env(safe-area-inset-top));height:auto;min-height:48px}.serviceview .shell{height:100dvh}main{padding-bottom:max(16px,env(safe-area-inset-bottom))}.serviceview main{padding-bottom:0}.shell aside{padding-left:max(8px,env(safe-area-inset-left))}}
@media(min-width:761px) and (max-width:1180px){.mobileviews{display:flex;gap:8px;background:white;padding:8px 12px;flex-shrink:0}.mobileviews button{flex:1;min-height:44px;font-size:15px}.serviceworkspace[data-mobile-view=list],.serviceworkspace[data-mobile-view=plan]{grid-template-columns:minmax(0,1fr)}.serviceworkspace[data-mobile-view=list] .servicefloor{display:none}.serviceworkspace[data-mobile-view=plan] .servicelist{display:none}.serviceworkspace[data-mobile-view=both]{grid-template-columns:minmax(320px,44%) minmax(0,1fr)}.serviceview .reservationrow{grid-template-columns:48px minmax(0,1fr) 112px;min-height:132px;gap:8px}.serviceview .clientname{font-size:16px;min-height:44px}.serviceview .statusselect{min-height:44px;font-size:14px;width:100%;max-width:none}.serviceview .table-badge{font-size:21px;min-height:44px}.servicefilters button{min-height:44px;font-size:14px}.floorcontrols button{min-height:44px;font-size:14px;padding:10px}.atlabel{font-size:14px}.floorcontrols input{font-size:16px;min-height:44px}.servicebar button,.servicebar input,.servicebar select{min-height:44px;font-size:16px}.servicebar #search{width:150px}.serviceview .shell{grid-template-columns:56px minmax(0,1fr)}.serviceview .shell.menuhidden{grid-template-columns:1fr}.serviceview header{min-height:48px;height:auto;flex-wrap:wrap}.serviceview header #logout{min-height:44px;font-size:14px}.floorlegend{font-size:13px}.floorlegend small{font-size:12px}.layoutpalette button{font-size:14px;min-height:44px}.planzoomtools button{min-height:44px;font-size:14px}.inspector button{min-height:44px;font-size:15px}.inspector .field{font-size:14px}dialog{max-width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);font-size:16px}.formgrid{gap:16px}.formgrid .field{font-size:14px}}
@media(min-width:900px) and (max-width:1180px) and (orientation:landscape){.editorgrid{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.editorviewport{height:calc(100dvh - 280px);min-height:330px}.editorgrid>.card{min-width:0}.shell{grid-template-columns:190px minmax(0,1fr)}main{padding:20px}.shell.menuhidden{grid-template-columns:1fr}}
@media(min-width:600px) and (max-width:899px){.shell{grid-template-columns:160px minmax(0,1fr)}main{padding:18px}.shell.menuhidden{grid-template-columns:1fr}.editorviewport{height:52dvh;min-height:340px}.editorgrid{grid-template-columns:minmax(0,1fr)}.inspector{margin-top:0}.inspector form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.inspector form>.field:first-child{grid-column:1/-1}.inspector form button{width:100%}header{flex-wrap:wrap;gap:10px}.layoutpalette button{min-height:44px;font-size:14px}}
@media(pointer:coarse){button,select,input[type=date],input[type=time],a.button{min-height:44px}.clientname{min-height:44px!important}.planzoomtools{gap:6px}.planzoomtools button{min-height:44px;min-width:40px}.inspector input,.inspector select{min-height:46px}.table-badge{min-height:44px}}
@media(max-width:760px){.serviceview header{flex-wrap:wrap;height:auto;min-height:48px}.serviceview header .install-app-button{font-size:12px!important;min-height:40px!important}.serviceview .install-app-button{margin-left:0!important}.serviceview header #logout{min-height:40px}#syncstatus:not(.syncerror){top:auto;bottom:calc(8px + env(safe-area-inset-bottom));right:8px;max-width:230px;pointer-events:none}.inspector form{display:block}.editorviewport{min-height:320px;max-height:60dvh}.planzoomtools{flex-wrap:wrap;max-width:calc(100% - 16px)}.planzoomtools button{font-size:14px;min-height:44px}}

#syncstatus:not(.syncerror){top:auto;bottom:calc(8px + env(safe-area-inset-bottom));right:8px;max-width:260px;pointer-events:none}
