.engine-quote-wrap { margin-top: .75rem; }

/* blokada scrolla bez bootstrap/backdrop */
.engine-quote-scroll-lock { overflow: hidden !important; }

/* overlay + modal */
.engine-quote-overlay[hidden] { display: none !important; }

.engine-quote-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity 120ms ease;
}

.engine-quote-overlay.is-open { opacity: 1; }

.engine-quote-modal {
  width: min(720px, 100%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.engine-quote-header,
.engine-quote-footer {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.engine-quote-footer {
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 0;
  justify-content: flex-end;
}

.engine-quote-body { padding: 16px; }

.engine-quote-title { margin: 0; font-size: 1.1rem; }

.engine-quote-close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
}