/* Shared select presentation. Pages own control widths; the component owns its states. */
*{
  scrollbar-width:thin;
  scrollbar-color:rgba(152,162,179,.72) rgba(244,245,243,.9);
}
*::-webkit-scrollbar{
  width:10px;
  height:10px;
}
*::-webkit-scrollbar-track{
  background:#f4f5f3;
  border-radius:999px;
}
*::-webkit-scrollbar-thumb{
  min-height:38px;
  border:2px solid #f4f5f3;
  border-radius:999px;
  background:#c7ccd3;
  box-shadow:none;
}
*::-webkit-scrollbar-thumb:hover{
  background:#aeb5bf;
}
.lhx-select{
  position:relative!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
.lhx-select select.form-select{
  display:none!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  pointer-events:none!important;
  appearance:none!important;
}
.lhx-select-button{
  width:100%!important;
  height:var(--workbench-control-height,34px)!important;
  min-height:var(--workbench-control-height,34px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:0 11px!important;
  border-radius:10px!important;
  border:1px solid rgba(214,222,233,.86)!important;
  background:rgba(255,255,255,.72)!important;
  color:#253044!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.25!important;
  text-align:left!important;
  box-shadow:none!important;
  outline:none!important;
  cursor:pointer!important;
  transition:background 150ms ease,border-color 150ms ease,box-shadow 150ms ease,color 150ms ease!important;
}
.lhx-select-button:hover:not(:disabled){
  border-color:rgba(186,199,216,.9)!important;
  background:#fff!important;
}
.lhx-select.is-open .lhx-select-button,
.lhx-select-button:focus-visible{
  outline:none!important;
  border-color:rgba(215,19,42,.18)!important;
  box-shadow:0 0 0 2px rgba(215,19,42,.045)!important;
}
.lhx-select-button:disabled{
  background:var(--lh-surface-soft,#f7f9fc)!important;
  color:var(--lh-text-muted,#8b95a6)!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
}
.lhx-select-label{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.lhx-select-caret{
  width:8px!important;
  height:8px!important;
  flex:0 0 auto!important;
  border-right:1.5px solid currentColor!important;
  border-bottom:1.5px solid currentColor!important;
  transform:rotate(45deg) translateY(-2px)!important;
  opacity:.7!important;
}
.lhx-select.is-open .lhx-select-caret{
  transform:rotate(225deg) translate(-2px,-1px)!important;
}
.lhx-select-portal{
  position:fixed!important;
  left:0;
  top:0;
  width:240px;
  max-height:280px;
  z-index:2147483600!important;
  display:none;
  overflow:auto!important;
  padding:6px!important;
  border-radius:12px!important;
  border:1px solid rgba(214,220,229,.96)!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 14px 32px rgba(23,31,45,.105)!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin;
  scrollbar-color:rgba(152,162,179,.72) rgba(244,245,243,.9);
}
.lhx-select-portal.is-open{
  display:block!important;
}
.lhx-select-portal::-webkit-scrollbar{
  width:9px;
}
.lhx-select-portal::-webkit-scrollbar-track{
  margin:8px 0;
  background:#f4f5f3;
  border-radius:999px;
}
.lhx-select-portal::-webkit-scrollbar-thumb{
  border:2px solid #f4f5f3;
  border-radius:999px;
  background:#c7ccd3;
}
.lhx-select-option{
  width:100%!important;
  min-height:32px!important;
  display:flex!important;
  align-items:center!important;
  padding:7px 9px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#2f3a4c!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:520!important;
  text-align:left!important;
  cursor:pointer!important;
  box-shadow:none!important;
  transition:background 140ms ease,color 140ms ease!important;
}
.lhx-select-option:hover:not(:disabled):not(.is-active),
.lhx-select-option:focus-visible:not(:disabled):not(.is-active){
  background:rgba(215,19,42,.035)!important;
  color:#263145!important;
  outline:none!important;
}
.lhx-select-option.is-active{
  background:linear-gradient(135deg,rgba(215,19,42,.055),rgba(255,255,255,.96))!important;
  color:#a70f20!important;
  font-weight:570!important;
  outline:none!important;
}
.lhx-select-option[disabled]{
  cursor:not-allowed!important;
  opacity:.44!important;
  background:transparent!important;
  color:#8b95a6!important;
}
.lhx-option-copy{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;}
.lhx-option-meta{display:block;margin-top:3px;color:var(--workbench-muted,#7d8796);font-size:12px;font-weight:430;}
#stockProcess .v65-submit .btn,
#stockProcess .v64-submit .btn,
#stockProcess .v67-submit .btn,
#stockProcess button[onclick*="submitStockProcess"]{
  background:var(--lh-brand,#ed0c1d)!important;
  color:#fff!important;
  border:1px solid transparent!important;
  border-radius:var(--lh-radius-md,8px)!important;
  box-shadow:none!important;
}
#stockProcess .v65-submit .btn:hover,
#stockProcess .v64-submit .btn:hover,
#stockProcess .v67-submit .btn:hover,
#stockProcess button[onclick*="submitStockProcess"]:hover{
  background:var(--lh-brand-hover,#d20a18)!important;
  filter:none!important;
  transform:none!important;
}
#stockin .form-card,
#stockProcess .form-card,
#fbo .form-card,
#sale .form-card{
  border-radius:var(--lh-radius-xl,14px)!important;
  overflow:hidden!important;
  background-clip:padding-box!important;
}
#stockin .form-card>.form-grid,
#stockProcess .form-card>.form-grid,
#fbo .form-card>.form-grid,
#sale .form-card>.form-grid{
  border-radius:inherit!important;
  background-clip:padding-box!important;
}
.form-card .form-card,
.home-panel .home-panel,
.content-card .content-card,
.table-wrapper .table-wrapper{
  box-shadow:none!important;
  background:var(--lh-surface-soft,#f4f5f3)!important;
  border-color:var(--lh-border,#e5e7eb)!important;
}
