/* R792: stable viewports, readable forms and canvas-first phone layouts. */
html { scrollbar-gutter: stable; }
body { min-width: 0; }
.member-auth-dialog[open] { max-width:520px!important; width:calc(100% - 24px)!important; color-scheme:light; color:#123d34; }
.member-auth-shell, .member-auth-shell * { box-sizing:border-box; }
.member-auth-shell input:not([type=checkbox]):not([type=radio]),
.member-auth-shell textarea, .member-auth-shell select {
  color:#123d34!important; -webkit-text-fill-color:#123d34!important;
  background-color:#fff!important; caret-color:#123d34!important; opacity:1!important;
  font-size:16px; line-height:1.5; min-width:0; color-scheme:light;
}
.member-auth-shell input::placeholder { color:#65736d!important; -webkit-text-fill-color:#65736d!important; opacity:1; }
.member-auth-shell input:autofill { color:#123d34!important; -webkit-text-fill-color:#123d34!important; box-shadow:0 0 0 1000px #fff inset!important; }
.member-auth-shell input:-webkit-autofill { -webkit-text-fill-color:#123d34!important; box-shadow:0 0 0 1000px #fff inset!important; }
.member-auth-shell [hidden], .savori-voice-root [hidden] { display:none!important; }
.member-auth-shell .dialog-close { min-width:44px!important; width:44px!important; height:44px!important; min-height:0!important; max-height:44px!important; padding:0!important; inset:12px 12px auto auto!important; margin:0!important; }
.member-auth-shell .auth-check { grid-template-columns:none; }
.savorip-global-back:disabled, .r791-collection-return button:disabled { opacity:.5; cursor:default; }
.savori-voice-panel, .savori-voice-start, dialog[open] { overscroll-behavior:contain; }
.savori-voice-panel { max-height:calc(100dvh - 24px)!important; overflow-y:auto!important; }
.savori-voice-launch { touch-action:none!important; user-select:none; -webkit-user-select:none; cursor:grab; }
.savori-voice-launch.is-dragging { cursor:grabbing; transition:none!important; }
.savori-voice-launch[data-movable] { position:fixed!important; left:var(--mascot-x)!important; top:var(--mascot-y)!important; right:auto!important; bottom:auto!important; transform:none!important; margin:0!important; }
.savori-voice-launch img, .savori-voice-launch video { pointer-events:none; -webkit-user-drag:none; }
.store-studio-workbench > *, .studio-stage-column, .studio-product-dock, .studio-inspector { min-width:0; }
#storeStudioCanvas, .af-preview-wrap, .product-canvas-wrap { scroll-margin-top:100px; }
.studio-object, .scene-panel { touch-action:none; }
@media(max-width:720px) {
  .store-studio-workbench { display:flex!important; flex-direction:column!important; gap:12px!important; }
  .studio-stage-column { order:0!important; width:100%!important; }
  .studio-product-dock { order:1!important; width:100%!important; }
  .studio-inspector { order:2!important; width:100%!important; }
  .store-step-intro, .store-studio-heading { margin-block:8px!important; }
  #storeBuilderApp [data-store-panel=showroom] > p { font-size:12px; line-height:1.5; margin:6px 0; }
  .studio-stage-toolbar { flex-wrap:wrap; gap:6px!important; padding:8px!important; }
  .studio-stage-toolbar button { min-height:40px; font-size:12px; }
  #storeStudioCanvas { width:100%!important; min-width:0!important; }
  .studio-scene-picker { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; }
  #studioProductTray { max-height:260px; overflow-y:auto; overscroll-behavior:contain; }
  .member-auth-shell { padding:24px 18px!important; }
  .member-auth-shell h2 { padding-right:36px; font-size:25px; }
  dialog[open] { max-height:calc(100dvh - 16px)!important; }
  .app-main, .workspace-main, .workspace-view, .store-builder-app { min-width:0; max-width:100%; box-sizing:border-box; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto!important; } }
