.fa-dialog {
  width: min(92vw, 435px);
  max-height: min(90dvh, 760px);
  overflow: auto;
  color: #202126;
  background: #fff;
  padding: 0;
  border: 1px solid #dadde3;
  border-radius: 13px;
  box-shadow: 0 18px 80px rgba(16, 24, 39, .24);
  font: inherit;
}
.fa-dialog::backdrop { background: rgba(12, 17, 24, .57); }
.fa-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid #dce2ea; padding: 19px 23px;
}
.fa-heading h2 { margin: 0; font-size: 1.45rem; }
.fa-close {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid #ccd2d8; background: #fff; border-radius: 50%;
  color: #202126; font: 28px/1 Arial, sans-serif; cursor: pointer;
}
.fa-body { padding: 22px 23px 24px; display: grid; gap: 12px; }
.fa-body p { margin: 0 0 4px; line-height: 1.5; overflow-wrap: anywhere; }
.fa-button, .fa-text { font: inherit; cursor: pointer; }
.fa-button {
  display: block; width: 100%; min-height: 44px; box-sizing: border-box; padding: 11px 16px;
  text-decoration: none; text-align: center; border: 1px solid #b7c3d0; border-radius: 5px;
  background: #fff; color: #17283f; font-weight: 650;
}
.fa-button.fa-primary { background: #1559bc; border-color: #1559bc; color: white; }
.fa-button:hover { border-color: #195bb6; }
.fa-button.fa-primary:hover { background: #104a9d; }
.fa-text { justify-self: start; border: 0; background: transparent; color: #144f9c; padding: 7px 0; text-decoration: underline; }
.fa-form { display: grid; gap: 14px; }
.fa-form label { display: grid; gap: 6px; font-weight: 600; }
.fa-form input { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; min-height: 44px; border: 1px solid #9daab9; border-radius: 4px; background: #fff; color: #17283f; }
.fa-body .fa-note { padding: 10px 12px; background: #edf3fa; border-left: 3px solid #3070bc; font-size: .87rem; }
.fa-note:empty, .fa-button[hidden] { display: none; }
.fa-orders { display: grid; gap: 9px; }
.fa-orders:empty { display: none; }
.fa-order { border: 1px solid #d3dbe4; border-radius: 6px; padding: 10px 12px; min-width: 0; }
.fa-order summary { cursor: pointer; }
.fa-order summary span { display: block; margin: 2px 0 0 1.2em; }
.fa-order p, .fa-order a { font-size: .9rem; margin-top: 7px; overflow-wrap: anywhere; }
.fa-dialog :focus-visible { outline: 3px solid #156fcf; outline-offset: 3px; }
