/* Owner browser feedback: semantic sign colors, shared interactive review shell.
   No document content, decision state or shared control defaults are changed. */
@layer theme {
.customer-purchase-request .diameter-tolerance-signs button[aria-label="علامت مثبت تلرانس قطر"] {
  color:var(--cs-success)!important;border:1px solid var(--cs-success)!important;
}
.customer-purchase-request .diameter-tolerance-signs button[aria-label="علامت منفی تلرانس قطر"] {
  color:var(--cs-danger)!important;border:1px solid var(--cs-danger)!important;
}
.customer-purchase-request .diameter-tolerance-signs button[aria-label="علامت مثبت تلرانس قطر"][aria-pressed="true"] {
  background:var(--cs-success)!important;color:var(--cs-surface)!important;
}
.customer-purchase-request .diameter-tolerance-signs button[aria-label="علامت منفی تلرانس قطر"][aria-pressed="true"] {
  background:var(--cs-danger)!important;color:var(--cs-surface)!important;
}
/* Both portal review and customer approval links render the native seller-review
   form. Keep its real decision controls with the document instead of an A4/fixed
   print presentation; forms remain a single shared renderer. */
.seller-review {
  display:flex!important;flex-direction:column!important;gap:12px!important;
  width:100%!important;max-width:860px!important;min-width:0!important;
  min-height:0!important;margin-inline:auto!important;padding:0!important;
}
.seller-review > h1 {order:0!important;font-size:20px!important;margin:0!important;line-height:1.8!important}
.seller-review__notice {order:1!important;margin:0!important}
.seller-review > .seller-review__guide {order:2!important;margin:0!important;padding:12px 14px!important;border-inline-start:3px solid var(--cs-accent)!important;border-radius:8px;background:var(--cs-surface);font-size:14px!important;line-height:2!important;color:var(--ink)}
.seller-review > .seller-review__actions {
  order:4!important;position:static!important;inset:auto!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:12px!important;background:var(--cs-surface)!important;
  border:1px solid var(--cs-border)!important;border-radius:8px!important;
}
.seller-review__actions > button {width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;white-space:normal!important}
.seller-review > .seller-review__document {
  order:3!important;min-width:0!important;max-width:100%!important;
  padding:12px!important;border:1px solid var(--cs-border)!important;
  border-radius:8px!important;background:var(--cs-surface)!important;overflow:auto!important;
}
.seller-review__document :is(.professional-doc,.print-sheet) {
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
  border:0!important;box-shadow:none!important;
}
body[data-ant-profile="industrial"] .seller-review__actions > button {min-height:56px!important}
}
/* Undo only the print scaler inside the interactive customer form. Issued PDF
   bytes and every staff/print preview retain their original renderer and scale. */
@layer theme {
.seller-review__document > div {height:auto!important;min-width:0!important;overflow:visible!important}
.seller-review__document > div > div {width:100%!important;min-width:0!important;transform:none!important;transform-origin:initial!important}
.seller-review__document .doc-tbl {width:100%!important;min-width:0!important;table-layout:fixed!important}
.seller-review__document .doc-tbl :is(th,td) {white-space:normal!important;overflow-wrap:anywhere!important}
}
