/* iba-1729-ms.css - 18.0.0 patch 129 (martin): Material Stock table, simple and clean, fast to scroll.
   No shadows, blur, gradients or animations on rows; hover is plain CSS (the old JS hover bar is gone). */
@layer iba-ui {
  /* header: solid, quiet, stays on top */
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table thead th { position: sticky !important; top: 0 !important; z-index: 3 !important; background: #0E1116 !important; background-image: none !important; color: #8aa0b4 !important; -webkit-text-fill-color: #8aa0b4 !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .07em !important; text-transform: uppercase !important; padding: 12px 12px !important; border: 0 !important; border-bottom: 1px solid rgba(227,201,138,.28) !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  /* rows: thin lines, no effects */
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table tbody tr.ms-parent-row, html body #wd-material-stock#wd-material-stock #ms-table#ms-table tbody tr.ms-parent-row > td { background: transparent !important; background-image: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transition: none !important; animation: none !important; filter: none !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table tbody tr.ms-parent-row > td { padding: 10px 12px !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.06) !important; vertical-align: middle !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table tbody tr.ms-parent-row:nth-of-type(4n+1) > td { background: rgba(255,255,255,.018) !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table tbody tr.ms-parent-row:hover > td { background: rgba(227,201,138,.07) !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table tbody tr.ms-parent-row.ms-open > td { background: rgba(227,201,138,.1) !important; border-bottom-color: transparent !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table tbody tr.stock-child-row > td { background: rgba(227,201,138,.04) !important; border-bottom: 1px solid rgba(227,201,138,.2) !important; box-shadow: none !important; }
  /* gold edge on the row under the mouse and on the opened row */
  html body #wd-material-stock#wd-material-stock#wd-material-stock #ms-table#ms-table#ms-table#ms-table#ms-table tbody tr.ms-parent-row:hover > td:first-child { background: linear-gradient(90deg, #d4af37 0 3px, rgba(227,201,138,.07) 3px) !important; }
  html body #wd-material-stock#wd-material-stock#wd-material-stock #ms-table#ms-table#ms-table#ms-table#ms-table tbody tr.ms-parent-row.ms-open > td:first-child { background: linear-gradient(90deg, #d4af37 0 3px, rgba(227,201,138,.1) 3px) !important; }
  /* text */
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-product-code { font-family: Consolas, 'JetBrains Mono', monospace !important; font-size: 13.5px !important; font-weight: 700 !important; color: #E3C98A !important; -webkit-text-fill-color: #E3C98A !important; letter-spacing: .02em !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-product-title strong { font-size: 14px !important; font-weight: 600 !important; color: #eef3f8 !important; -webkit-text-fill-color: #eef3f8 !important; line-height: 1.35 !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-family-badge { display: inline-block !important; padding: 3px 10px !important; border-radius: 999px !important; background: rgba(47,211,194,.1) !important; border: 1px solid rgba(47,211,194,.22) !important; color: #7FE3D6 !important; -webkit-text-fill-color: #7FE3D6 !important; font-size: 12px !important; font-weight: 600 !important; box-shadow: none !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-relation-text { font-size: 13px !important; color: #a9b9c8 !important; -webkit-text-fill-color: #a9b9c8 !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-stock-pill { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; font-size: 15px !important; font-weight: 700 !important; color: #eef3f8 !important; -webkit-text-fill-color: #eef3f8 !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-total-num { font-size: 15px !important; font-weight: 800 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-transit-pill { background: rgba(96,165,250,.12) !important; border: 1px solid rgba(96,165,250,.3) !important; color: #93c5fd !important; -webkit-text-fill-color: #93c5fd !important; border-radius: 999px !important; padding: 2px 9px !important; box-shadow: none !important; }
  /* buttons: small and quiet, colour only on Delete */
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-expand-btn { width: 28px !important; height: 28px !important; min-width: 28px !important; padding: 0 !important; border-radius: 8px !important; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #E3C98A !important; box-shadow: none !important; font-weight: 700 !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-row-actions { gap: 6px !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-row-action-btn { height: 30px !important; padding: 0 12px !important; border-radius: 8px !important; background: rgba(255,255,255,.04) !important; background-image: none !important; border: 1px solid rgba(255,255,255,.14) !important; color: #dbe4ec !important; -webkit-text-fill-color: #dbe4ec !important; font-size: 12.5px !important; font-weight: 600 !important; box-shadow: none !important; transition: none !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-row-action-btn:hover { background: rgba(255,255,255,.1) !important; border-color: rgba(227,201,138,.45) !important; }
  html body #wd-material-stock#wd-material-stock #ms-table#ms-table .ms-row-action-btn.ms-delete-btn { color: #fca5a5 !important; -webkit-text-fill-color: #fca5a5 !important; border-color: rgba(248,113,113,.35) !important; background: rgba(248,113,113,.06) !important; }
  html body #wd-material-stock .ms-row-frost { display: none !important; }
}
