.ll-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 12, 8, 0.72);
  backdrop-filter: blur(8px);
}

.ll-dialog-backdrop[hidden] { display: none; }

.ll-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 40px;
  border-radius: 16px;
  background: var(--paper, #fbf8f0);
  color: var(--ink, #132019);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.35);
}

.ll-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line, rgba(19, 32, 25, 0.16));
  border-radius: 999px;
  background: transparent;
  color: var(--ink, #132019);
  cursor: pointer;
  font-size: 22px;
}

.ll-dialog h2 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.ll-dialog > p { margin: 0 0 26px; color: #667068; }
.ll-form { display: grid; gap: 14px; }
.ll-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }

.ll-form input,
.ll-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line, rgba(19, 32, 25, 0.16));
  border-radius: 8px;
  background: white;
  color: var(--ink, #132019);
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
}

.ll-form textarea { min-height: 110px; resize: vertical; }

.ll-form .ll-button {
  min-height: 52px;
  margin-top: 5px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--forest, #172820);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

body.ll-dialog-open { overflow: hidden; }

@media (max-width: 620px) {
  .ll-dialog-backdrop { align-items: start; padding: 12px; overflow-y: auto; }
  .ll-dialog { max-height: none; margin: 12px 0; padding: 34px 24px 26px; }
  .ll-dialog h2 { padding-right: 34px; font-size: 34px; }
}
