/* Preserve the desktop parts table; only adapt the surrounding layout. */
body.mobile-parts-guest {
  margin: 0;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 100dvh;
  overflow: auto;
  zoom: 1;
}
.mobile-parts-guest .app { display: block; overflow: visible; }
.mobile-parts-guest [hidden] { display: none !important; }
.mobile-parts-guest .app > .canvas,
.mobile-parts-guest .app > .panel:not(#leftPanel),
.mobile-parts-guest #leftPanel > :not(.accordion-section:first-child),
.mobile-parts-guest #cadJsonImportBtn,
.mobile-parts-guest [data-click="triggerAdvancedImport()"],
.mobile-parts-guest #grainBundleActions,
.mobile-parts-guest #operatorDrawer,
.mobile-parts-guest #operatorDrawerToggle,
.mobile-parts-guest #loadingScreen { display: none !important; }
.mobile-parts-guest #leftPanel {
  width: 100%;
  box-sizing: border-box;
  border-right: 0;
  padding: 10px;
  overflow: visible;
}
.mobile-parts-guest .topbar { box-sizing: border-box; gap: 6px; }
.mobile-parts-guest .topbar-left { gap: 6px; }
.mobile-parts-guest #authStatus { font-size: 11px; }
.mobile-parts-guest #partsScrollWrap { overflow-x: auto; overscroll-behavior-x: contain; }
.mobile-parts-guest #partsTable { min-width: 550px; }
.mobile-parts-guest .parts-actions-inline { grid-template-columns: minmax(0, 1fr); }
.mobile-parts-guest .parts-actions-inline > button { width: 100%; margin: 4px 0; min-height: 0; }
.mobile-parts-guest #partsEdgeDeductionSettingsBtn { left: auto !important; right: 34px; }
.mobile-parts-guest .parts-job-name-input { max-width: calc(100vw - 130px); }
.mobile-parts-guest .legal-footer { position: static; flex-wrap: wrap; transform: none; width: auto; max-width: 100%; box-sizing: border-box; }
.mobile-parts-guest .part-edge-banding-backdrop { padding: 8px; }
.mobile-parts-guest .part-edge-banding-modal {
  box-sizing: border-box;
  width: 100%;
  max-height: calc(100dvh - 16px);
  overflow: auto;
}
.mobile-parts-guest .part-edge-banding-body { grid-template-columns: minmax(0,1fr); }
.mobile-parts-guest .part-edge-banding-preview { max-height: 230px; touch-action: manipulation; }
.mobile-parts-guest .peb-edge-hit { stroke-width: 30px; }
.mobile-parts-guest .modal { max-width: calc(100vw - 20px); max-height: 90dvh; overflow: auto; }
