/* Reuse the real plugin's template wireframes and editor actions. The launcher
   changes only the presentation on mobile; desktop plugin menus are untouched. */
@media(max-width:700px) {
  .lw-context-menu.lw-mobile-product-templates {
    position:fixed !important; z-index:220; box-sizing:border-box;
    right:auto; min-width:0; max-width:none;
    max-height:calc(var(--lw-visible-height,100dvh) - 24px - var(--lw-safe-top,env(safe-area-inset-top)) - var(--lw-safe-bottom,env(safe-area-inset-bottom)));
    padding:14px; border:1px solid color-mix(in srgb,var(--lw-ink,#161616) 7%,transparent);
    border-radius:26px; background:var(--lw-panel,#fff); color:var(--lw-ink,#161616);
    box-shadow:0 12px 45px rgb(20 30 40 / 10%); overflow-y:auto; overscroll-behavior:contain;
  }
  .lw-context-menu.lw-mobile-product-templates[hidden] { display:none !important; }
  .lw-mobile-product-templates > button:first-child { min-height:40px; padding:7px 10px; border:0; border-radius:20px; background:transparent; color:var(--lw-muted,#72777c); }
  .lw-mobile-product-templates > h3 { margin:8px 10px 18px; color:inherit; font:600 22px/1.2 var(--lw-sans,system-ui,sans-serif); letter-spacing:-.035em; }
  .lw-mobile-product-templates .lw-context-templates { margin:0 0 22px; padding:10px; border:0; border-radius:18px; background:var(--lw-paper,#f7f7f5); }
  .lw-mobile-product-templates .lw-context-templates-head { gap:5px; flex-wrap:wrap; }
  .lw-mobile-product-templates .lw-context-templates-head button { min-height:38px; padding:7px 10px; border-radius:20px; background:var(--lw-panel,#fff); color:inherit; }
  .lw-mobile-product-templates .lw-context-template-track { padding:4px 1px 10px; }
  .lw-mobile-product-templates .lw-context-template-track .lw-context-template-card { min-height:44px; border:0; text-align:left; }
  .lw-mobile-product-templates .lw-context-documents { margin:0 8px 8px; }
  .lw-mobile-product-templates .lw-context-documents > button { min-height:44px; padding:10px 0; border:0; border-radius:0; background:transparent; color:inherit; text-align:left; }
  .lw-mobile-product-templates .lw-context-status { margin:10px 8px 2px; font-size:12px; color:var(--lw-muted,#72777c); }
  .lw-mobile-product-templates button:focus-visible { outline:2px solid var(--lw-muted,#72777c); outline-offset:2px; }
}
