/* Presentation-only adjustments: component styles above are copied from Sovado. */
html, body { margin: 0; min-height: 0 !important; height: auto !important; overflow: hidden !important; background: #fff !important; }
body, body * { pointer-events: none !important; cursor: default !important; user-select: none !important; animation: none !important; transition: none !important; }
#feature-content { display: flow-root; width: 100%; padding: 0; }
::-webkit-scrollbar { display: none; }
/* The receipt is an excerpt of the register's right panel, not its mobile overlay. */
body.page-pos-v2 .pos-receipt-panel { position: relative !important; inset: auto !important; display: grid !important; width: 100% !important; height: auto !important; max-height: none !important; min-height: 0 !important; transform: none !important; visibility: visible !important; opacity: 1 !important; border: 0; border-radius: 0; }
body.page-pos-v2 .pos-receipt-scroll { min-height: 0; max-height: none; overflow: hidden; }
body.page-pos-v2 .pos-receipt-panel > header { position: static; }
body.page-pos-v2 .pos-cart-lines { min-height: 0; }
body.page-products .products-index-workspace { height: auto; min-height: 0; }
body.page-products .products-index-table { grid-template-rows: 58px auto; }
body.page-products .products-list { overflow: hidden; }
/* Standalone page excerpts do not reserve space for the application's navigation. */
.page-company-app .aw-workspace { margin: 0; }
.page-company-app .aw-workspace .aw-body { padding-bottom: 20px; }
.page-customers .customer-detail-panels { margin-bottom: 24px !important; }
@media (max-width: 700px) {
 body.page-products .products-index-table { grid-template-rows: auto; }
}
/* Crop to the useful panel while retaining its internal app styling. */
.page-company-app .aw-workspace .aw-body { padding: 26px; }
.page-company-app .aw-workspace .aw-body > section + section { margin-top: 26px; }
.page-company-app.page-reports .reports-v2 .reports-body { padding: 22px; }
.page-customers .customer-dossier .customer-readonly-overview { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 701px) and (max-width: 980px) {
  .page-products .product-directory-row > [data-product-cell="category"],
  .page-products .product-directory-row > [data-product-cell="code"],
  .page-products .product-directory-row > [data-product-cell="purchase"] { display: none; }
  .page-products .product-directory-row > [data-product-cell="stock"],
  .page-products .product-directory-row > [data-product-cell="sale"] { display: block; }
}
.page-products .products-directory { grid-template-rows: auto auto auto; }
.stock-detail-excerpt { display: none; padding: 22px; }
@media (max-width: 700px) {
  .stock-table-excerpt { display: none !important; }
  .stock-detail-excerpt { display: block; }
}

/* Employee page excerpt: leave navigation outside the static artboard. */
body[data-preview="team"] #feature-content { padding:28px; }

body[data-preview="sync"] #feature-content { padding:28px; }

/* Wider customer-profile excerpt keeps the app's two-column overview. */
body[data-preview="customer-profile"] #feature-content { padding:12px; }
@media(min-width:701px) {
  body[data-preview="customer-profile"] .customer-dossier .customer-readonly-overview { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Full automation overview is isolated from the compact homepage excerpt. */
body[data-preview="automation-overview"] #feature-content { padding:12px; }
