/* PBL ERP global composite-field cleanup
   Goal: one visible border per field shell. Visual only; behavior is untouched. */

html:not(.pbl-dark-preview) body .pbl-search-select > .pbl-search-select-control > .pbl-search-select-input,
html:not(.pbl-dark-preview) body #main.page .pbl-search-select > .pbl-search-select-control > .pbl-search-select-input,
html:not(.pbl-dark-preview) body .money-field > input:not([type="hidden"]),
html:not(.pbl-dark-preview) body #main.page .money-field > input:not([type="hidden"]),
html:not(.pbl-dark-preview) body div.money-input > input:not([type="hidden"]),
html:not(.pbl-dark-preview) body #main.page div.money-input > input:not([type="hidden"]),
html:not(.pbl-dark-preview) body .composer > textarea,
html:not(.pbl-dark-preview) body #main.page .composer > textarea{
  border:0!important;
  border-width:0!important;
  border-style:none!important;
  border-color:transparent!important;
  outline:0!important;
  outline-offset:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  background:transparent!important;
  border-radius:0!important;
}

html:not(.pbl-dark-preview) body .pbl-search-select > .pbl-search-select-control > .pbl-search-select-input:hover,
html:not(.pbl-dark-preview) body .pbl-search-select > .pbl-search-select-control > .pbl-search-select-input:focus,
html:not(.pbl-dark-preview) body .pbl-search-select > .pbl-search-select-control > .pbl-search-select-input:focus-visible,
html:not(.pbl-dark-preview) body .money-field > input:not([type="hidden"]):focus,
html:not(.pbl-dark-preview) body div.money-input > input:not([type="hidden"]):focus,
html:not(.pbl-dark-preview) body .composer > textarea:focus{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
}

html:not(.pbl-dark-preview) body .pbl-search-select > .pbl-search-select-control,
html:not(.pbl-dark-preview) body .money-field,
html:not(.pbl-dark-preview) body div.money-input,
html:not(.pbl-dark-preview) body .composer{
  box-shadow:none!important;
}

html:not(.pbl-dark-preview) body .pbl-search-select:focus-within > .pbl-search-select-control,
html:not(.pbl-dark-preview) body .pbl-search-select.is-open > .pbl-search-select-control,
html:not(.pbl-dark-preview) body .money-field:focus-within,
html:not(.pbl-dark-preview) body div.money-input:focus-within,
html:not(.pbl-dark-preview) body .composer:focus-within{
  outline:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
}

/* Keep intentional prefix separators, but never draw a second full field border. */
html:not(.pbl-dark-preview) body .money-field > span,
html:not(.pbl-dark-preview) body div.money-input > span{
  border-top:0!important;
  border-bottom:0!important;
  border-left:0!important;
}
