.cnc-contact.cgs-drawing-band {
  min-height: 420px;
  padding: 30px;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 26px;
  align-items: center;
}

.cgs-drawing-band .cnc-contact__intro h2 { margin-bottom: 12px; }
.cgs-drawing-band .cnc-contact__intro p { margin-bottom: 12px; }

.cgs-drawing-engine {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe2eb;
  border-radius: 12px;
  color: #263240;
  background: #fff;
}

.cgs-drawing-engine__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 174px;
  overflow: hidden;
  border: 1px dashed #9aacc2;
  border-radius: 8px;
  background-color: #edf3f8;
  background-image: linear-gradient(#dce7f0 1px, transparent 1px), linear-gradient(90deg, #dce7f0 1px, transparent 1px);
  background-size: 20px 20px;
  cursor: pointer;
}

.cgs-drawing-engine__stage:focus-visible,
.cgs-drawing-engine__stage.is-dragging { outline: 3px solid #ef4942; outline-offset: 2px; }
.cgs-drawing-engine__placeholder { position: relative; width: 100%; height: 100%; color: #49627c; }
.cgs-drawing-engine__placeholder svg { display: block; width: 100%; height: 100%; padding: 8px 18px 14px; }
.cgs-drawing-engine__stage-label,
.cgs-drawing-engine__placeholder-note {
  position: absolute;
  left: 12px;
  z-index: 1;
  padding: 3px 6px;
  border-radius: 3px;
  color: #223c58;
  background: rgb(255 255 255 / 86%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.cgs-drawing-engine__stage-label { top: 10px; }
.cgs-drawing-engine__placeholder-note { bottom: 10px; letter-spacing: 0; }
.cgs-drawing-engine__image,
.cgs-drawing-engine__pdf { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #fff; }
.cgs-drawing-engine [hidden] { display: none !important; }
.cgs-drawing-engine__file { display: grid; gap: 5px; max-width: 100%; padding: 12px; text-align: center; }
.cgs-drawing-engine__file strong { overflow-wrap: anywhere; font-size: 13px; }
.cgs-drawing-engine__file span:last-child { font-size: 11px; }
.cgs-drawing-engine__file-icon { color: #416182; font-size: 36px; }

.cgs-drawing-engine__actions { padding: 13px 2px 0; }
.cgs-drawing-engine__kicker { color: #e44942; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.cnc-contact .cgs-drawing-engine__actions h3 { margin: 2px 0 4px; color: #25313d; font-size: 18px; line-height: 1.25; }
.cgs-drawing-engine__actions p { margin: 0; color: #52616f; font-size: 12px; line-height: 1.45; }
.cgs-drawing-engine__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.cgs-drawing-engine__buttons .button,
.cgs-drawing-engine__continue { min-height: 38px; margin: 0; padding: 8px 13px; border-radius: 20px; font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.cgs-drawing-engine__continue { border: 1px solid #cbd5df; color: #25313d; background: #fff; }
.cgs-drawing-engine__continue:hover { border-color: #ef4942; color: #c9332d; }
.cgs-drawing-engine__buttons input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cgs-drawing-engine__status { margin-top: 8px !important; font-size: 11px !important; overflow-wrap: anywhere; }
.cgs-drawing-engine__details { margin-top: 10px; border-top: 1px solid #e5e9ee; }
.cgs-drawing-engine__details summary { padding: 8px 2px 0; color: #334b63; font-size: 12px; font-weight: 700; cursor: pointer; }
.cgs-drawing-engine__details .wpcf7 { margin-top: 12px; }
.cgs-drawing-engine__details .cnc-contact-form { padding: 12px 4px; }
.cgs-drawing-engine__details .cnc-contact-form h3 { color: #25313d; }
.cgs-drawing-engine__details .cnc-contact-form input,
.cgs-drawing-engine__details .cnc-contact-form textarea { max-width: 100%; }

@media (max-width: 900px) {
  .cnc-contact.cgs-drawing-band { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 24px; }
  .cgs-drawing-engine__stage { height: 210px; }
}

@media (max-width: 480px) {
  .cnc-contact.cgs-drawing-band { padding: 18px; }
  .cgs-drawing-engine { padding: 10px; }
  .cgs-drawing-engine__stage { height: 180px; }
}
