:root{--sta-green:#0b5d3c;--sta-soft:#eef8f1;--sta-blue:#0b5cc8;--sta-orange:#c96a00;--sta-red:#c23838;--sta-border:#e6e9ee}body{background:#f7f8f9}.sta-app,.sta-card,.sta-login-card{max-width:840px;margin:20px auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111}.sta-app{padding-bottom:120px}.sta-header{background:var(--sta-green);color:#fff;border-radius:18px 18px 0 0;padding:18px;display:flex;justify-content:space-between;align-items:center}.sta-title{font-size:24px;font-weight:800}.sta-subtitle{opacity:.9;font-size:13px;margin-top:2px}.sta-user{font-size:14px;font-weight:700}.sta-toolbar{background:#fff;padding:14px;border:1px solid var(--sta-border);border-top:0;display:flex;flex-direction:column;gap:9px}.sta-toolbar input{width:100%;box-sizing:border-box;border:1px solid #ccd2d8;border-radius:12px;padding:13px 14px;font-size:16px}.sta-toolbar-actions{display:flex;align-items:center;gap:10px}.sta-outline,.sta-nav{border:1px solid #bfc8cf;background:#fff;border-radius:9px;padding:8px 12px;font-weight:700;cursor:pointer}.sta-saved{font-size:13px;color:#2b7d4f}.sta-category{margin:12px 0;background:#fff;border:1px solid var(--sta-border);border-radius:14px;overflow:hidden}.sta-cat-head,.sta-sub-head{width:100%;background:#fff;border:0;display:flex;align-items:center;justify-content:space-between;padding:15px 16px;font-size:18px;font-weight:800;cursor:pointer}.sta-cat-head{font-size:22px}.sta-sub-head{font-size:17px;border-top:1px solid var(--sta-border);background:#fbfcfd}.sta-head-right{display:flex;align-items:center;gap:8px}.sta-progress{font-size:11px;background:#eef6ef;padding:4px 7px;border-radius:999px;color:#2b7d4f}.sta-cat-check{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:900;background:#fff3e5;color:var(--sta-orange);border:1px solid #ffc77a}.sta-cat-check.done{background:#e9f7ee;color:#1f814a;border-color:#9fdbb5}.sta-chevron{font-size:18px;transition:.15s}.open .sta-chevron{transform:rotate(180deg)}.sta-cat-body{display:block}.sta-sub-body{border-top:1px solid var(--sta-border)}.sta-grid-head,.sta-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:8px;align-items:center;padding:10px 12px}.sta-grid-head{font-size:11px;font-weight:800;color:#555;background:#fafbfc}.sta-row{border-top:1px solid #f0f2f4;position:relative}.sta-row.complete{background:#f6fff8}.sta-row.skipped{background:#f7f7f7;opacity:.82}.sta-row.focused{outline:2px solid #86c6a2;outline-offset:-2px}.sta-product{display:flex;align-items:center;gap:9px;min-width:0}.sta-product strong{display:block;font-size:14px;line-height:1.15}.sta-product small{display:block;color:#7a8188;font-size:11px;margin-top:2px}.sta-thumb{width:34px;height:34px;border-radius:9px;background:#fff;border:1px solid var(--sta-border);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none}.sta-thumb img{width:100%;height:100%;object-fit:cover}.sta-thumb span{font-weight:800;color:#777}.sta-status-icon{margin-left:auto;width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;background:#fff3e5;color:var(--sta-orange);border:1px solid #ffc77a}.sta-row.complete .sta-status-icon{background:#e9f7ee;color:#1f814a;border-color:#9fdbb5}.sta-row.skipped .sta-status-icon{background:#ececec;color:#666;border-color:#ccc}.sta-select{width:100%;box-sizing:border-box;border:1px solid #d3d8de;border-radius:9px;padding:10px 7px;background:#fff;font-size:13px}.sta-in{color:var(--sta-blue)}.sta-out{color:#1e7b47}.sta-needed{color:#9a5b00}.sta-na{color:#999;text-align:center}.sta-row-actions{grid-column:1/-1;display:flex;justify-content:flex-end;margin-top:-2px}.sta-row.skipped .sta-row-skip{background:#e9f7ee;border-color:#9fdbb5;color:#1f814a;font-weight:800}.sta-row.skipped .sta-row-skip::before{content:'✓ ';}.sta-row-skip{border:1px solid #ccd2d8;background:#fff;border-radius:8px;padding:5px 8px;font-size:11px;cursor:pointer}.sta-bottom{position:sticky;bottom:0;background:rgba(11,93,60,.97);padding:12px 10px;border-radius:14px 14px 0 0;display:flex;align-items:center;gap:8px;margin-top:12px}.sta-submit{flex:1;background:#fff;color:#111;border:0;border-radius:10px;padding:13px;font-weight:800;font-size:14px;cursor:pointer}.sta-nav.primary{background:#dff3e6;border-color:#b1ddb9;color:#125f36}.sta-login-message,.sta-empty,.sta-card,.sta-login-card{background:#fff;border:1px solid var(--sta-border);border-radius:14px;padding:24px}.sta-login-card{max-width:440px}.sta-btn{display:inline-block;padding:10px 18px;border-radius:9px;background:var(--sta-green);color:#fff;text-decoration:none;border:0;cursor:pointer;margin-right:8px}.sta-btn.secondary{background:#fff;color:#111;border:1px solid #c9ced3}.sta-front-dashboard .sta-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.sta-front-dashboard .sta-kpis>div{background:#f8faf9;border:1px solid var(--sta-border);padding:15px;border-radius:12px}.sta-front-dashboard .sta-kpis strong{display:block;font-size:24px}.sta-front-dashboard .sta-kpis span{font-size:12px;color:#697178}.sta-progress-bar{height:10px;border-radius:99px;background:#e9ecef;overflow:hidden;margin:10px 0 18px}.sta-progress-bar span{display:block;height:100%;background:#1c8f4c}.sta-front-table{width:100%;border-collapse:collapse}.sta-front-table th,.sta-front-table td{border:1px solid #e2e5e8;padding:9px;text-align:left}.sta-front-table th{background:#f6f7f8}.sta-supplier-card{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--sta-border)}.sta-supplier-card small{display:block;color:#6a7178;margin-top:2px}.sta-modal{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;align-items:center;justify-content:center;padding:18px;z-index:999999}.sta-modal.show{display:flex}.sta-modal-card{width:min(720px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:18px}.sta-modal-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.sta-modal-head h2{margin:0 0 4px}.sta-modal-head p{margin:0;color:#6d747b;font-size:13px}.sta-close{border:0;background:#f0f1f2;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer}.sta-review-cat{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #e2e6ea;border-radius:12px;padding:12px;margin:10px 0}.sta-review-cat small{display:block;color:#737a80;margin-top:2px}.sta-review-actions{display:flex;gap:6px;align-items:center}.sta-review-actions button{border:1px solid #cbd2d7;background:#fff;padding:7px 9px;border-radius:8px;cursor:pointer;font-weight:700}.sta-review-actions .sta-review-skip-cat{color:#9b5b00}.sta-review-summary{margin-top:10px;padding:10px;border-radius:10px;background:#f6f8f7;color:#3d454b;text-align:center;font-weight:700}
@media(max-width:700px){.sta-app{margin:0 auto}.sta-title{font-size:21px}.sta-grid-head,.sta-row{grid-template-columns:1.55fr .95fr .95fr .95fr;gap:5px;padding:9px 8px}.sta-grid-head{font-size:9px}.sta-row{padding:9px 8px}.sta-select{font-size:12px;padding:8px 5px}.sta-product strong{font-size:12px}.sta-thumb{width:30px;height:30px}.sta-cat-head{font-size:20px}.sta-sub-head{font-size:16px}.sta-bottom{flex-wrap:wrap}.sta-nav{flex:1}.sta-submit{order:3;flex-basis:100%}.sta-front-dashboard .sta-kpis{grid-template-columns:repeat(2,1fr)}.sta-review-cat{flex-direction:column;align-items:flex-start}.sta-review-actions{width:100%;justify-content:flex-end}}

.sta-start-card{max-width:520px;margin:40px auto;padding:32px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 8px 28px rgba(0,0,0,.06);text-align:center}
.sta-start-card h2{margin:10px 0 8px;font-size:28px}.sta-start-card p{color:#64748b;line-height:1.6}.sta-start-card label{display:block;text-align:left;margin:22px 0 14px}.sta-start-card input{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:13px 14px;border:1px solid #cbd5e1;border-radius:10px;font-size:16px}.sta-start-icon{font-size:38px}.sta-start-card .sta-btn{display:block;width:100%;margin-top:12px}.sta-error{margin-top:12px;color:#b91c1c}.sta-change-person{margin-left:8px;border:1px solid #cbd5e1;background:#fff;border-radius:7px;padding:5px 8px;cursor:pointer}

/* Direct products in top-level categories are visible without a subcategory header. */
.sta-sub-body.sta-direct{display:block;}


/* v0.7.0 — mobile-first Product Manager */
.sta-pm-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.sta-mobile-product-list{display:flex;flex-direction:column;gap:10px}
.sta-mobile-product-card{
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:12px;
  background:#fff;
  border:1px solid #e1e7ea;
  border-radius:14px;
  box-shadow:0 2px 8px rgba(20,30,40,.05);
}
.sta-product-select{display:flex;align-items:flex-start;justify-content:center}
.sta-product-select input{width:20px;height:20px}
.sta-mobile-product-main{min-width:0}
.sta-mobile-product-name{font-size:16px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.sta-mobile-product-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}
.sta-mobile-product-meta span{font-size:12px;color:#68727c;background:#f5f7f8;border-radius:999px;padding:4px 8px}
.sta-mobile-product-actions{display:flex;align-items:center;gap:8px;flex-direction:column}
.sta-edit-product{white-space:nowrap;text-decoration:none}
.sta-toggle-link{display:flex;align-items:center;gap:6px;text-decoration:none;min-height:40px;white-space:nowrap}
.sta-switch{
  width:44px;height:26px;border-radius:999px;display:inline-flex;align-items:center;
  padding:3px;box-sizing:border-box;transition:.15s ease;position:relative;border:1px solid #b8c2ca;
}
.sta-switch .sta-switch-knob{
  width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);display:block;transition:.15s ease;
}
.sta-switch.is-on{background:#0b8f62;border-color:#0b8f62;justify-content:flex-end}
.sta-switch.is-off{background:#d7dde2;border-color:#c2c9cf;justify-content:flex-start}
.sta-toggle-label{font-size:12px;font-weight:800;color:#30404c}
@media (max-width:700px){
  .sta-product-manager{padding:14px!important}
  .sta-product-manager .sta-pm-box{padding:12px!important}
  .sta-mobile-product-card{grid-template-columns:24px minmax(0,1fr);align-items:start}
  .sta-mobile-product-actions{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding-top:4px}
  .sta-mobile-product-meta{gap:6px}
  .sta-product-manager input[type="text"], .sta-product-manager input[type="number"],
  .sta-product-manager select, .sta-product-manager textarea{font-size:16px!important}
  .sta-product-manager .sta-btn,.sta-product-manager .sta-outline{min-height:42px}
}
@media (min-width:701px){
  .sta-mobile-product-list{display:none}
}
@media (max-width:700px){
  .sta-product-manager table{display:none!important}
}

/* v0.7.1: frontend product manager has edit + toggle only */
.sta-product-manager .sta-pm-actions,.sta-product-manager .sta-pm-check,.sta-product-manager .sta-product-select{display:none!important;}

/* v0.7.2 — frontend bulk product activation controls */
.sta-pm-bulk-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 16px}
.sta-pm-bulk-form{margin:0}
.sta-bulk-toggle{
  display:inline-flex;align-items:center;gap:8px;border:1px solid #c8d1d8;background:#fff;
  border-radius:10px;padding:9px 13px;min-height:44px;font-weight:800;cursor:pointer;
}
.sta-bulk-toggle.activate-all{border-color:#0b8f62;color:#0b6f4e}
.sta-bulk-toggle.deactivate-all{border-color:#b8c1c8;color:#46525c}
.sta-bulk-toggle .sta-switch{pointer-events:none}
@media(max-width:700px){
  .sta-pm-bulk-actions{display:grid;grid-template-columns:1fr 1fr}
  .sta-pm-bulk-form,.sta-bulk-toggle{width:100%}
  .sta-bulk-toggle{justify-content:center;font-size:14px}
}

/* v0.7.3 — selected product activation controls */
.sta-product-manager .sta-product-select{display:flex!important;align-items:flex-start;justify-content:center}
.sta-product-manager .sta-pm-check{display:block!important;width:20px;height:20px;margin:4px 0}
.sta-pm-selection-form{margin:0}
.sta-bulk-toggle{border:1px solid #c8d1d8;background:#fff;border-radius:10px;padding:9px 12px;min-height:42px;font-weight:800;cursor:pointer}
.sta-bulk-toggle.activate-selected{border-color:#0b8f62;color:#0b6f4e}
.sta-bulk-toggle.deactivate-selected{border-color:#b8c1c8;color:#46525c}
.sta-bulk-toggle.select-all{border-color:#8a9aa7}
@media(max-width:700px){
  .sta-pm-bulk-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .sta-bulk-toggle{width:100%;font-size:13px}
}

/* v0.7.5 — visible processing/success state for Skip Category */
.sta-review-skip-cat.is-processing{opacity:.7;cursor:wait;min-width:125px}
.sta-review-skip-cat.is-success{background:#e9f7ee!important;border-color:#9fdbb5!important;color:#1f814a!important;font-weight:800;min-width:125px}
.sta-review-cat.is-skipped{border-color:#9fdbb5;background:#fbfffc}

/* v0.7.6 — category restore action */
.sta-review-skip-cat[data-action="restore"]{border-color:#6b8cff;color:#3756b5;background:#f6f8ff}
.sta-review-skip-cat[data-action="restore"].is-success{background:#e9f7ee;border-color:#9fdbb5;color:#1f814a}

/* v0.7.7 — skip/restore confirmation UI uses native mobile-friendly confirm dialog */

/* =========================================================
 * v0.8.0 — COMPACT MOBILE STOCKTAKE CARDS
 * Product name on top; compact controls below.
 * ========================================================= */
.sta-row{
  display:block!important;
  padding:7px 9px!important;
  border-top:1px solid #edf0f2;
}
.sta-product{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0;
  margin:0 0 6px!important;
}
.sta-thumb{
  width:30px!important;
  height:30px!important;
  border-radius:8px!important;
}
.sta-product-title{
  min-width:0;
  flex:1;
}
.sta-product-title strong{
  display:block!important;
  font-size:14px!important;
  line-height:1.05!important;
  font-weight:800!important;
  text-transform:capitalize;
  overflow-wrap:anywhere;
}
.sta-product-title small{
  display:block!important;
  margin-top:2px!important;
  font-size:10px!important;
  line-height:1!important;
  color:#747c83!important;
  text-transform:capitalize;
}
.sta-status-icon{
  margin-left:auto!important;
  flex:none!important;
  width:20px!important;
  height:20px!important;
}
.sta-fields{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:5px!important;
  width:100%!important;
}
.sta-field{
  min-width:0;
}
.sta-field-label{
  display:block;
  font-size:9px;
  line-height:1;
  font-weight:900;
  margin:0 0 3px 2px;
  letter-spacing:.03em;
  color:#4c555d;
  text-transform:uppercase;
}
.sta-select{
  min-height:36px!important;
  height:36px!important;
  padding:5px 5px!important;
  border-radius:8px!important;
  font-size:13px!important;
  line-height:1.1!important;
}
.sta-row-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  margin:5px 0 0!important;
}
.sta-row-skip{
  min-height:28px!important;
  padding:4px 8px!important;
  border-radius:7px!important;
  font-size:10px!important;
  line-height:1!important;
}
.sta-na{
  display:flex;
  min-height:36px;
  height:36px;
  align-items:center;
  justify-content:center;
  border:1px solid #d3d8de;
  border-radius:8px;
  background:#fff;
}
@media (min-width:701px){
  .sta-row{
    max-width:100%;
  }
  .sta-fields{
    max-width:620px;
  }
  .sta-row-actions{
    margin-top:4px!important;
  }
}
@media (max-width:700px){
  .sta-row{
    padding:6px 7px!important;
  }
  .sta-product{
    margin-bottom:5px!important;
  }
  .sta-product-title strong{
    font-size:13px!important;
  }
  .sta-fields{
    gap:4px!important;
  }
  .sta-field-label{
    font-size:8px!important;
    margin-bottom:2px!important;
  }
  .sta-select{
    min-height:34px!important;
    height:34px!important;
    padding:4px 4px!important;
    font-size:13px!important;
  }
  .sta-row-actions{
    margin-top:4px!important;
  }
}

/* v0.8.1 — submit success popup + active products printable report */
.sta-submit-success-modal{z-index:100001}
.sta-submit-success-card{width:min(420px,calc(100vw - 32px));background:#fff;border-radius:18px;padding:28px 22px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.sta-submit-success-icon{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;background:#e9f7ee;color:#1f814a;border:1px solid #9fdbb5;font-size:28px;font-weight:900}
.sta-submit-success-card h2{margin:0 0 8px;font-size:24px}
.sta-submit-success-card p{margin:0 0 18px;color:#555;font-size:14px}
.sta-active-products-report{margin-top:18px}
.sta-active-report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.sta-active-report-toolbar h2{margin:0 0 4px}
.sta-active-report-toolbar p{margin:0;color:#666;font-size:13px}
.sta-print-report{background:#fff;color:#111;max-width:900px;margin:0 auto}
.sta-active-report-header{border-bottom:2px solid #111;padding-bottom:12px;margin-bottom:18px}
.sta-active-report-header h1{font-size:25px;margin:0 0 4px}
.sta-active-report-header h2{font-size:18px;margin:0 0 7px}
.sta-active-report-header p{font-size:11px;margin:0;color:#555}
.sta-print-category{page-break-before:always;break-before:page;margin-bottom:20px}
.sta-print-category:first-child{page-break-before:auto;break-before:auto}
.sta-print-category h1{font-size:22px;margin:0 0 12px;padding:7px 0;border-bottom:2px solid #111}
.sta-print-category h2{font-size:16px;margin:10px 0 7px;padding:4px 0;border-bottom:1px solid #777}
.sta-print-category table{width:100%;border-collapse:collapse;margin:0 0 14px}
.sta-print-category th,.sta-print-category td{border:1px solid #222;padding:6px 7px;text-align:left}
.sta-print-category th{background:#f1f1f1}
.sta-active-report-footer{border-top:1px solid #aaa;padding-top:7px;margin-top:16px;color:#555;font-size:10px}
@media print{
  .no-print,.sta-active-report-toolbar,.sta-front-dashboard,.sta-card:not(.sta-active-products-report),.site-header,.site-footer,header,nav,footer{display:none!important}
  .sta-active-products-report{display:block!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;max-width:none!important}
  .sta-print-report{max-width:none!important}
  .sta-print-category{break-before:page}
  .sta-print-category:first-child{break-before:auto}
}

/* v0.8.2: two-column active-product print sheet */
.sta-two-col-products{width:100%;border-collapse:collapse;table-layout:fixed;margin:0 0 12px;font-size:8px}
.sta-two-col-products th,.sta-two-col-products td{border:1px solid #777;padding:4px;line-height:1.15;vertical-align:middle}
.sta-two-col-products th{background:#d9d9d9;font-weight:800;text-align:center}
.sta-two-col-products th:nth-child(1),.sta-two-col-products th:nth-child(5){width:30%;text-align:left}
.sta-two-col-products th:nth-child(2),.sta-two-col-products th:nth-child(3),.sta-two-col-products th:nth-child(4),
.sta-two-col-products th:nth-child(6),.sta-two-col-products th:nth-child(7),.sta-two-col-products th:nth-child(8){width:6.666%}
.sta-two-col-products td:nth-child(2),.sta-two-col-products td:nth-child(3),.sta-two-col-products td:nth-child(4),
.sta-two-col-products td:nth-child(6),.sta-two-col-products td:nth-child(7),.sta-two-col-products td:nth-child(8){text-align:center}
.sta-two-col-products tbody tr:nth-child(even) td{background:#f2f2f2}
@media print{
 @page{size:A4 portrait;margin:9mm}
 .sta-active-products-report,.sta-print-report{width:100%!important;max-width:none!important}
 .sta-print-category{page-break-before:auto!important;break-before:auto!important}
 .sta-print-category h1,.sta-print-category h2{page-break-after:avoid;break-after:avoid}
 .sta-two-col-products tr{page-break-inside:avoid;break-inside:avoid}
}

/* v0.8.3 PRINT FIX — prevent product-name overlap */
.sta-active-products-report .sta-two-col-products{
  width:100% !important;
  table-layout:fixed !important;
  border-collapse:collapse !important;
  height:auto !important;
}
.sta-active-products-report .sta-two-col-products th,
.sta-active-products-report .sta-two-col-products td{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
  hyphens:auto !important;
  line-height:1.25 !important;
  vertical-align:middle !important;
  box-sizing:border-box !important;
}
.sta-active-products-report .sta-two-col-products td:nth-child(1),
.sta-active-products-report .sta-two-col-products td:nth-child(5){
  text-align:left !important;
  font-weight:500 !important;
}
.sta-active-products-report .sta-two-col-products th:nth-child(1),
.sta-active-products-report .sta-two-col-products th:nth-child(5){
  width:30% !important;
}
.sta-active-products-report .sta-two-col-products th:nth-child(2),
.sta-active-products-report .sta-two-col-products th:nth-child(3),
.sta-active-products-report .sta-two-col-products th:nth-child(4),
.sta-active-products-report .sta-two-col-products th:nth-child(6),
.sta-active-products-report .sta-two-col-products th:nth-child(7),
.sta-active-products-report .sta-two-col-products th:nth-child(8){
  width:6.666% !important;
}
@media print{
  .sta-active-products-report .sta-two-col-products{
    font-size:7.4pt !important;
  }
  .sta-active-products-report .sta-two-col-products th,
  .sta-active-products-report .sta-two-col-products td{
    padding:2.5px 3px !important;
    line-height:1.25 !important;
  }
  .sta-active-products-report .sta-two-col-products tr{
    height:auto !important;
    min-height:0 !important;
    page-break-inside:avoid !important;
    break-inside:avoid !important;
  }
  .sta-active-products-report .sta-print-category h1,
  .sta-active-products-report .sta-print-category h2{
    page-break-after:avoid !important;
    break-after:avoid !important;
  }
}

/* v0.8.5 AI product images */
.sta-ai-image-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 12px}.sta-ai-image-progress{font-size:13px;color:#555}.sta-mobile-product-image{width:42px;height:42px;border:1px solid #ddd;border-radius:8px;overflow:hidden;flex:0 0 42px;display:flex;align-items:center;justify-content:center;background:#f7f7f7;font-weight:700}.sta-mobile-product-image img{width:100%;height:100%;object-fit:cover;display:block}.sta-mobile-product-main{display:flex;align-items:center;gap:9px;min-width:0}.sta-mobile-product-main .sta-mobile-product-name{min-width:0}.sta-ai-generate-product{cursor:pointer}@media(max-width:600px){.sta-ai-generate-product{font-size:11px!important;padding:6px 8px!important}}
