dialog[data-luno-dialog] {
  padding: 0;
  overflow: hidden;
  max-height: min(90vh, calc(100dvh - 24px));
}
dialog[data-luno-dialog][open] { display: flex; flex-direction: column; }
.luno-dialog-bar {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding: 8px 12px 0;
  background: inherit;
  z-index: 5;
}
.luno-dialog-body { min-height: 0; overflow: auto; overscroll-behavior: contain; }
dialog .luno-dialog-close {
  float: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: inherit;
  color: inherit;
  font: 30px/1 Arial, sans-serif;
  cursor: pointer;
}
dialog .luno-dialog-close:hover { background: #80808015; }
dialog .luno-dialog-close:focus-visible { outline: 2px solid #4b36ff; outline-offset: -2px; }
dialog .luno-dialog-close:disabled { opacity: .4; cursor: wait; }
