button[data-perp-buy-disabled] {
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  padding: 10px 12px;
  font: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}
button[data-perp-buy-disabled]:disabled {
  color: #eee;
  background: #303030;
  border: 2px dashed #aaa;
  opacity: 1;
  cursor: not-allowed;
}
button[data-perp-buy-disabled]:focus-visible {
  outline: 3px solid #ffda66;
  outline-offset: 2px;
}
.perp-buy-disabled-reason {
  display: block;
  max-width: 100%;
  margin-block: 6px 12px;
  color: #eee;
  background: #171717;
  overflow-wrap: anywhere;
}
@media (max-width: 390px) {
  button[data-perp-buy-disabled] { width: 100%; }
}
@media (forced-colors: active) {
  button[data-perp-buy-disabled]:disabled { color: GrayText; border-color: GrayText; }
  button[data-perp-buy-disabled]:focus-visible { outline-color: Highlight; }
  .perp-buy-disabled-reason { color: CanvasText; background: Canvas; }
}
