.ltx-dialog {
  --ltx-ink: #20372e;
  --ltx-muted: #4a5b50;
  --ltx-rule: #b9c5b8;
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(558px, calc(100% - 32px));
  max-width: none;
  max-height: min(90dvh, 810px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  border: 1px solid #bec9b8;
  border-radius: 7px;
  background: #f8f8f0;
  color: var(--ltx-ink);
  box-shadow: 0 28px 100px #091c1960;
  font: 400 15px/1.5 "DM Sans", "DM Sans Local", system-ui, sans-serif;
  text-align: left;
  color-scheme: light;
}
.ltx-dialog:not([open]), .ltx-dialog [hidden] { display: none !important; }
.ltx-dialog::backdrop { background: rgb(9 24 20 / 67%); }
html:has(.ltx-dialog[open]) { overflow: hidden; }
.ltx-card { position: relative; padding: clamp(23px, 5vw, 37px); }
.ltx-dialog *, .ltx-dialog *::before, .ltx-dialog *::after { box-sizing: border-box; }
.ltx-heading { padding-right: 34px; }
.ltx-heading h2 { margin: 0 0 8px; font: 400 clamp(37px, 5.5vw, 49px)/1.05 "Instrument Serif", Georgia, serif; letter-spacing: -.035em; color: var(--ltx-ink); }
.ltx-heading p, .ltx-ready p { margin: 0; color: var(--ltx-muted); font-size: 15px; line-height: 1.45; }
.ltx-close {
  position: absolute; top: 18px; right: 17px; display: grid; place-items: center;
  width: 42px; height: 42px; min-height: 0; padding: 0;
  background: transparent; color: var(--ltx-ink); border: 1px solid transparent; border-radius: 50%;
  font: 300 30px/1 system-ui, sans-serif; cursor: pointer;
}
.ltx-close:hover { border-color: var(--ltx-rule); }
.ltx-summary { display: flex; align-items: center; gap: 16px; padding: 13px 0; margin: 18px 0; border-block: 1px solid var(--ltx-rule); }
.ltx-summary img { width: 102px; height: 66px; flex: 0 0 102px; object-fit: contain; background: #e4e9df; border-radius: 3px; }
.ltx-summary strong, .ltx-summary span { display: block; }
.ltx-summary strong { font-size: 15px; font-weight: 650; margin: 0 0 2px; }
.ltx-summary span { font-size: 13px; line-height: 1.45; color: var(--ltx-muted); }
.ltx-form label { display: block; font-size: 13px; font-weight: 650; margin: 0 0 5px; color: var(--ltx-ink); }
.ltx-form input {
  width: 100%; min-width: 0; min-height: 46px; border: 1px solid #889b8a; border-radius: 3px;
  background: #fffef8; padding: 9px 11px; color: var(--ltx-ink); font: inherit; line-height: 1.35;
}
.ltx-dialog :focus-visible { outline: 2px solid #335d3d; outline-offset: 3px; }
.ltx-form input[aria-invalid="true"] { border-color: #953e2d; }
.ltx-pair { display: grid; grid-template-columns: .91fr 1.13fr; gap: 14px; margin-top: 13px; }
.ltx-pair > div { min-width: 0; }
.ltx-privacy { margin: 15px 0 18px; color: var(--ltx-muted); font-size: 12.5px; line-height: 1.55; }
.ltx-privacy a { color: #2f593e; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ltx-action {
  width: 100%; min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid #254f36; border-radius: 4px; padding: 11px 16px; background: #294f39; color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 620; line-height: 1.3; cursor: pointer;
}
.ltx-action span { font: 400 20px/1 system-ui, sans-serif; }
.ltx-action:hover { background: #183d2b; }
.ltx-action:disabled { opacity: .7; cursor: progress; }
.ltx-ready p { margin: 15px 0 18px; font-size: 14px; }
.ltx-status { margin: 12px 0 0; color: var(--ltx-muted); font-size: 13px; line-height: 1.45; }
.ltx-status:empty { margin: 0; }
.ltx-status[data-error] { color: #822d24; }
@media (max-width: 480px) {
  .ltx-dialog { width: calc(100% - 22px); max-height: 94dvh; }
  .ltx-card { padding: 23px 19px; }
  .ltx-close { top: 13px; right: 10px; }
  .ltx-pair { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
  .ltx-form input { font-size: 16px; }
  .ltx-summary { margin: 13px 0; padding: 9px 0; gap: 11px; }
  .ltx-summary img { width: 81px; height: 52px; flex-basis: 81px; }
  .ltx-privacy { margin: 12px 0 15px; }
}
