/* v1.2.0-fix409 — product editor modal width correction and visual polish.
   Visual-only. No save/API/relation/checkbox/store/allergen behavior changes. fix406/fix407/fix408 remain unchanged. */

/* The editor is also a generic .sheet; restore the intended fix290 desktop width instead of inheriting .sheet max-width:620px. */
.store-admin-body .company-menu-fix290-editor-sheet{
  width:min(1040px,calc(100vw - 32px));
  max-width:1040px;
}

/* With the real editor width restored, keep allergen labels readable instead of forcing character-by-character wrapping. */
.store-admin-body .company-menu-fix290-editor-sheet .company-menu-fix291-allergens>article>div>b{
  overflow-wrap:normal;
  word-break:normal;
}

/* Keep the store section clearly grouped, but remove the heavy provisional emphasis from fix408. */
.store-admin-body .company-menu-fix290-editor-sheet .company-menu-fix290-form-section:has(>.company-menu-fix290-application){
  border:1px solid #b9d7c3;
  background:#f7fbf8;
  box-shadow:none;
}
.store-admin-body .company-menu-fix290-editor-sheet .company-menu-fix290-form-section:has(>.company-menu-fix290-application)>.company-menu-fix290-application{
  border-color:#c9ded0;
  box-shadow:inset 3px 0 0 #176b3a;
}
.store-admin-body .company-menu-fix290-editor-sheet .company-menu-fix290-application-radios>label:has(input:checked){
  border-color:#79aa8b;
  background:#eef8f1;
  box-shadow:none;
}

@media(max-width:720px){
  .store-admin-body .company-menu-fix290-editor-sheet{
    width:100%;
    max-width:none;
  }
}
