.vectorisation-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
}
.vectorisation-title-row > h1 { margin: 0; }
#whyVectorizeButton {
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .55rem .85rem;
  border: 1px solid #2563a6;
  border-radius: .55rem;
  background: #eff6ff;
  color: #17477d;
  cursor: pointer;
  white-space: normal;
  width: auto;
}
#whyVectorizeButton:hover { background: #dbeafe; }
#whyVectorizeDialog {
  box-sizing: border-box;
  width: min(1200px, 95vw);
  max-width: 95vw;
  max-height: 94vh;
  margin: auto;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: .8rem;
  background: #fff;
  color: #172033;
  overflow: auto;
  box-shadow: 0 16px 64px #0005;
}
#whyVectorizeDialog:not([open]) { display: none; }
#whyVectorizeDialog::backdrop { background: #0f172a99; }
#whyVectorizeDialog .why-vectorize-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 .75rem;
}
#whyVectorizeDialog h2 { font-size: clamp(1rem, 2.5vw, 1.4rem); margin: 0; }
#whyVectorizeClose {
  flex: none;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #172033;
  font: inherit;
  font-size: 1.35rem;
  border-radius: .45rem;
  padding: .25rem .65rem;
  cursor: pointer;
}
#whyVectorizeDialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 79vh;
  object-fit: contain;
  margin: 0 auto;
}
#whyVectorizeButton:focus-visible, #whyVectorizeClose:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

#whyVectorizeDialog .why-vectorize-explanation { line-height: 1.55; margin: 0 0 1rem; font-size: 1rem; }
#whyVectorizeDialog .why-vectorize-explanation p { margin: 0 0 .65rem; }
#whyVectorizeDialog img { max-height: none; }
