/* GT500 design downloads and the manufacturing-file preview. */
.gt500-page .download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.gt500-page .download-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 12px 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.gt500-page .download-actions .laser-batch-button {
  grid-column: 1 / -1;
}
.laser-note {
  margin: 10px 0;
  color: #607084;
  font-size: 13px;
  line-height: 1.6;
}
.gt500-page .actions > .laser-note {
  margin: 0;
}
.laser-dialog {
  box-sizing: border-box;
  width: min(680px, calc(100vw - 32px));
  max-width: 680px;
  max-height: 90vh;
  max-height: 90dvh;
  margin: auto;
  padding: 28px;
  overflow: auto;
  border: 1px solid #cbd8e3;
  border-radius: 12px;
  background: #fff;
  color: #0b1b2b;
  box-shadow: 0 24px 80px rgb(3 27 52 / 28%);
  font-family: Manrope, Arial, sans-serif;
}
.laser-dialog::backdrop {
  background: rgb(3 18 34 / 72%);
}
.laser-dialog h2 {
  margin: 0 0 16px;
  color: #031b34;
  font-size: clamp(23px, 4vw, 30px);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.laser-dialog p {
  line-height: 1.6;
}
.laser-dialog .laser-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  max-height: 48vh;
  max-height: 48dvh;
  margin: 16px 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid #dbe4ec;
  border-radius: 6px;
  background: #f4f8fb;
}
.laser-preview :is(svg, img, canvas) {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 40vh;
  max-height: 40dvh;
  object-fit: contain;
}
.laser-preview svg {
  width: min(100%, 280px);
}
.laser-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 18px;
}
.laser-dialog :is(.btn, .laser-package-button, .laser-close) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid #a9bdce;
  border-radius: 4px;
  background: #fff;
  color: #123b5a;
  font: 700 14px/1.4 Manrope, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.laser-downloads :is(.btn, button, a[download]) {
  width: 100%;
}
.laser-dialog .laser-package-button {
  grid-column: 1 / -1;
  width: 100%;
  border-color: #0676d8;
  background: #0676d8;
  color: #fff;
}
.laser-dialog .laser-close {
  display: flex;
  width: fit-content;
  margin: 0 0 14px auto;
}
.laser-dialog :is(.btn, .laser-close):hover {
  border-color: #0676d8;
  background: #eef5fa;
}
.laser-dialog .laser-package-button:hover {
  background: #0565ba;
}
.laser-dialog :is(button, a):focus-visible,
.download-actions button:focus-visible {
  outline: 3px solid #12b8ff;
  outline-offset: 3px;
}
.laser-dialog button:disabled,
.download-actions button:disabled {
  opacity: .55;
  cursor: wait;
}
.laser-status {
  margin: 12px 0;
  color: #123b5a;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.laser-status:empty {
  display: none;
}
.laser-dialog [hidden] {
  display: none !important;
}
.laser-batch-form {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 16px 0;
}
.laser-batch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}
.laser-batch-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #123b5a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.laser-batch-form :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #a9bdce;
  border-radius: 4px;
  background: #fff;
  color: #0b1b2b;
  font: 400 16px/1.5 Manrope, Arial, sans-serif;
}
.laser-batch-form textarea {
  min-height: 112px;
  resize: vertical;
}
.laser-batch-form .laser-batch-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.laser-batch-check input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  min-height: 20px;
  height: 20px;
  padding: 0;
  accent-color: #0676d8;
}
.laser-batch-cancel {
  margin-bottom: 12px;
}
.laser-dialog details summary {
  cursor: pointer;
  font-weight: 700;
}
.laser-batch-form :is(input, select, textarea):focus-visible {
  outline: 3px solid #12b8ff;
  outline-offset: 2px;
}
.laser-batch-summary {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #dbe4ec;
  border-radius: 6px;
  background: #f4f8fb;
  color: #123b5a;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.laser-batch-progress {
  display: block;
  width: 100%;
  height: 12px;
  margin: 14px 0;
  accent-color: #0676d8;
}
.laser-dialog .laser-batch-cancel {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #a9bdce;
  border-radius: 4px;
  background: #fff;
  color: #123b5a;
  font: 600 14px/1.4 Manrope, Arial, sans-serif;
  cursor: pointer;
}
.laser-dialog .laser-batch-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 180px;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid #dbe4ec;
  border-radius: 6px;
  background: #f4f8fb;
}
.laser-batch-preview :is(svg, img, canvas) {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 36vh;
  max-height: 36dvh;
  object-fit: contain;
}
@media (max-width: 560px) {
  .laser-dialog {
    width: calc(100vw - 24px);
    padding: 20px;
  }
  .laser-downloads {
    grid-template-columns: minmax(0, 1fr);
  }
  .laser-dialog .laser-preview {
    padding: 10px;
  }
  .laser-batch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 420px) {
  .gt500-page .download-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media print {
  .laser-dialog,
  .download-actions,
  .laser-note,
  .laser-status {
    display: none !important;
  }
}
