.product-fast-head { align-items: flex-start; gap: 18px; }
.product-fast-head h3, .product-fast-head p, .product-fast-head small { margin: 0; }
.product-fast-head small { display: block; margin-top: 4px; color: #607068; }
.product-fast-eyebrow { color: #078348; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.product-fast-base { display: grid; justify-items: end; gap: 4px; text-align: right; }
.product-fast-base span { color: #66736d; font-size: 11px; }
.search-panel .field-row { grid-template-columns: minmax(320px, 2fr) minmax(190px, .8fr) minmax(100px, .35fr); }
.product-search-status { margin: 10px 0 2px; color: #506159; font-size: 12px; font-weight: 700; }
#calculator #productResults { display: grid; grid-auto-flow: row; grid-auto-rows: max-content; align-content: start; gap: 9px; height: auto; max-height: calc(100vh - 300px); margin-top: 8px; padding: 8px; overflow-x: hidden; overflow-y: auto; }
#calculator #productResults .result-item.product-fast-card { position: relative; display: grid; grid-template-columns: 52px minmax(210px, 1.2fr) minmax(240px, .9fr) minmax(125px, .35fr); grid-auto-rows: auto; gap: 12px; align-items: center; width: 100%; min-width: 0; min-height: 88px; height: auto; margin: 0; padding: 11px 12px; overflow: visible; border: 1px solid #dce4df; border-radius: 11px; background: #fff; cursor: default; box-sizing: border-box; isolation: isolate; }
#calculator #productResults .result-item.product-fast-card > * { min-width: 0; max-width: 100%; }
#productResults .result-item.product-fast-card:hover, #productResults .result-item.product-fast-card.active { border-color: #74b991; box-shadow: 0 3px 12px rgba(18, 91, 55, .09); }
.product-fast-identity { min-width: 0; }
.product-fast-identity strong, .product-fast-identity span, .product-fast-identity small { display: block; }
.product-fast-identity strong { overflow: hidden; color: #17221c; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.product-fast-identity span { margin-top: 3px; color: #26372e; font-size: 12px; }
.product-fast-identity small { margin-top: 4px; color: #6a756f; font-size: 10px; }
.product-fast-card .product-company-summary { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: stretch; width: 100%; height: auto; margin: 0; }
.product-fast-card .company-price-stock { position: static; min-width: 0; height: auto; }
.product-fast-actions { display: grid; gap: 6px; min-width: 130px; }
.product-fast-actions button { min-height: 34px; padding: 7px 10px; white-space: nowrap; }
.product-fast-actions .product-open-order { background: #078348; border-color: #078348; color: #fff; }
.product-fast-availability { display: inline-flex !important; width: max-content; margin-top: 6px !important; padding: 3px 7px; border-radius: 999px; font-weight: 800; }
.product-fast-availability.available { color: #086b3c; background: #e8f7ee; }
.product-fast-availability.low { color: #875700; background: #fff4d2; }
.product-fast-availability.empty { color: #b02b21; background: #ffedea; }
.product-fast-availability.pending { color: #5f6a64; background: #eef1ef; }
@media (max-width: 1100px) {
  #calculator #productResults .result-item.product-fast-card { grid-template-columns: 48px minmax(190px, 1fr) minmax(230px, 1fr); }
  .product-fast-actions { grid-column: 2 / -1; grid-template-columns: repeat(2, minmax(120px, 1fr)); width: 100%; }
}
@media (max-width: 880px) {
  #calculator #productResults .result-item.product-fast-card { grid-template-columns: 48px minmax(0, 1fr); }
  .product-fast-card .product-company-summary, .product-fast-actions { grid-column: 2; }
}
@media (max-width: 760px) {
  .search-panel .field-row, #calculator #productResults .result-item.product-fast-card { grid-template-columns: 1fr; }
  .product-fast-head { flex-direction: column; }
  .product-fast-base { justify-items: start; text-align: left; }
  #productResults .product-thumb { justify-self: start; }
  .product-fast-card .product-company-summary, .product-fast-actions { grid-column: 1; }
}

/* V257 · Produtos e prova real confiável */
#products .settings-actions { align-items: end; }
.product-audit-workflow, .product-integrity-panel { margin: 12px 0; border: 1px solid #d9e4dd; border-radius: 12px; background: #fbfdfc; }
.product-audit-workflow { padding: 12px 14px; }
.product-audit-workflow-head, .product-integrity-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-audit-workflow-head strong, .product-audit-workflow-head small, .product-integrity-panel header strong, .product-integrity-panel header small { display: block; }
.product-audit-workflow-head small, .product-integrity-panel header small { margin-top: 3px; color: #68756e; font-size: 10px; }
.product-audit-workflow-head > span, .product-integrity-panel header > span { color: #486157; font-size: 10px; font-weight: 800; }
.product-audit-workflow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 10px 0 0; padding: 0; list-style: none; }
.product-audit-workflow li { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 10px; border: 1px solid #e0e8e3; border-radius: 9px; background: #fff; }
.product-audit-workflow li > span { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #fff; background: #078348; font-size: 11px; font-weight: 900; }
.product-audit-workflow li strong, .product-audit-workflow li small { display: block; }
.product-audit-workflow li small { margin-top: 2px; color: #69756f; font-size: 9px; }
.product-integrity-panel { padding: 0; overflow: hidden; }
.product-integrity-panel > header { padding: 11px 14px; border-bottom: 1px solid #e1e8e4; background: #f3f8f5; }
.product-integrity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-integrity-grid article { min-width: 0; padding: 11px 14px; border-right: 1px solid #e5ebe7; }
.product-integrity-grid article:last-child { border-right: 0; }
.product-integrity-grid span, .product-integrity-grid strong, .product-integrity-grid small { display: block; }
.product-integrity-grid span { color: #617068; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.product-integrity-grid strong { margin-top: 5px; color: #14241b; font-size: 12px; line-height: 1.35; }
.product-integrity-grid .integrity-company-value { display: block; font-weight: 900; white-space: nowrap; }
.product-integrity-grid .integrity-company-value.xbr { color: #d85f00; }
.product-integrity-grid .integrity-company-value.xr { color: #175dcc; }
.product-integrity-grid .integrity-company-separator { display: none; }
.product-integrity-grid small { margin-top: 3px; color: #718078; font-size: 9px; }
.audit-priority-queue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-top: 1px solid #e3e9e5; background: #e3e9e5; }
.audit-priority-queue button { display: block; min-width: 0; padding: 9px 14px; border: 0; border-radius: 0; text-align: left; background: #fff; color: #25352c; }
.audit-priority-queue button:hover { background: #fff8ed; }
.audit-priority-queue span, .audit-priority-queue strong { display: block; }
.audit-priority-queue span { color: #bd6500; font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.audit-priority-queue strong { margin-top: 3px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.audit-kpi-action { cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.audit-kpi-action:hover, .audit-kpi-action:focus-visible { border-color: #63ac82; box-shadow: 0 4px 14px rgba(7, 131, 72, .1); outline: none; transform: translateY(-1px); }
.audit-id-head, .audit-product-id { white-space: nowrap; }
.audit-product-id { color: #44574d; font-size: 9px; font-variant-numeric: tabular-nums; }
.audit-not-calculable { color: #9a5a00 !important; background: #fff4dc !important; font-size: 9px; font-weight: 800; white-space: nowrap; }
#products .table-wrap { max-height: calc(100vh - 180px); border: 1px solid #e0e6e2; border-radius: 9px; }
#products .table-wrap thead th { position: sticky; top: 0; z-index: 3; box-shadow: 0 1px 0 #dce4df; }
#products #productRows tr { cursor: pointer; }
#products #productRows tr:hover td { filter: brightness(.985); }
@media (max-width: 1100px) {
  .product-integrity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-integrity-grid article:nth-child(2) { border-right: 0; }
  .product-integrity-grid article:nth-child(-n+2) { border-bottom: 1px solid #e5ebe7; }
}
@media (max-width: 760px) {
  .product-audit-workflow-head, .product-integrity-panel > header { align-items: flex-start; flex-direction: column; }
  .product-audit-workflow ol, .audit-priority-queue { grid-template-columns: 1fr; }
  .product-integrity-grid { grid-template-columns: 1fr; }
  .product-integrity-grid article { border-right: 0; border-bottom: 1px solid #e5ebe7; }
}
