:root {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #182b36;
  background: #f3f5f2;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1100px;
  margin: auto;
  padding: 30px 28px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #d5ddd6;
  padding-bottom: 25px;
}
header a {
  color: #182b36;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 1px;
}
header a span {
  font-weight: 400;
}
.badge {
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
  border: 1px solid #bdcabf;
  border-radius: 30px;
  padding: 9px 12px;
}
.intro {
  padding: 42px 0 25px;
  max-width: 650px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #44694b;
  font-weight: 750;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -2px;
  line-height: 1.08;
  margin: 15px 0 20px;
}
p {
  line-height: 1.65;
}
.intro > p:last-child {
  color: #586b73;
  max-width: 550px;
}
.layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}
.card {
  border: 1px solid #d5ddd6;
  border-radius: 16px;
  background: #fff;
  padding: 26px;
}
h2 {
  font-size: 16px;
  margin: 0 0 24px;
}
.upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 1px dashed #8caa92;
  border-radius: 12px;
  background: #f8fbf5;
  cursor: pointer;
}
.upload span:not(.upload-icon) {
  font-size: 12px;
  color: #58715f;
}
.upload-icon {
  font-size: 30px;
  color: #497b50;
}
.upload input {
  max-width: 100%;
  font-size: 12px;
}
.muted {
  font-size: 12px;
  color: #607079;
}
.settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.settings label {
  font-size: 12px;
  font-weight: 650;
}
input[type="number"] {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid #c7d2cb;
  border-radius: 7px;
  margin-top: 8px;
  font: inherit;
  font-size: 15px;
}
summary {
  font-size: 13px;
  cursor: pointer;
  color: #416548;
}
details {
  border-top: 1px solid #e0e7e2;
  padding-top: 18px;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
button {
  border: 0;
  background: #214d35;
  color: white;
  border-radius: 8px;
  padding: 14px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
button[type="submit"] {
  flex: 1;
  display: flex;
  justify-content: space-between;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary,
#cancel {
  background: #edf3ed;
  color: #214d35;
}
#status {
  font-size: 12px;
  margin-bottom: 0;
  color: #416548;
}
#status.error {
  color: #a52b28;
}
.result {
  display: flex;
  flex-direction: column;
}
.placeholder {
  border: 1px solid #dce4dd;
  border-radius: 8px;
  padding: 22px 10px;
  text-align: center;
  font-size: 13px;
  color: #4c7154;
  margin-top: 35px;
}
#empty > p {
  font-size: 13px;
  color: #607079;
  text-align: center;
}
.price {
  font-size: 64px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -3px;
  margin: 15px 0;
}
.result aside {
  margin-top: auto;
  padding: 20px 0 0;
  color: #6c6846;
  font-size: 12px;
}
.result aside p {
  margin-bottom: 0;
}
.result aside strong {
  font-size: 13px;
}
dl {
  margin: 24px 0;
}
dl > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #e2e7e3;
  padding: 14px 0;
  font-size: 13px;
}
dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
}
footer {
  font-size: 12px;
  color: #67786d;
  margin: 24px 0;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #94b985;
  outline-offset: 3px;
}
@media (max-width: 680px) {
  main {
    padding: 20px 16px;
  }
  header {
    flex-wrap: wrap;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
  .intro {
    padding-top: 26px;
  }
  .result aside {
    margin-top: 28px;
  }
  h1 {
    letter-spacing: -1px;
  }
}

/* Colors and logo matched to mindvisiongraphics.com, September 26, 2026. */
:root {
  color: #111827;
  background: #f4f7fc;
}
header {
  background: #020407;
  border: 0;
  border-radius: 12px;
  padding: 20px 26px;
  box-shadow: 0 8px 26px #07111f12;
}
header .brand {
  display: block;
  line-height: 0;
}
header .brand img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}
.badge {
  color: #dce9ff;
  border-color: #31415d;
  background: #101b2d;
}
.intro {
  max-width: none;
  padding: 36px 0 25px;
}
.eyebrow {
  color: #0655f6;
}
.brand-blue {
  color: #0655f6;
}
.intro > p:last-child {
  color: #606876;
}
.card {
  border-color: #dce3ef;
  box-shadow: 0 10px 28px #11182708;
  border-top: 4px solid #0655f6;
}
.card.result {
  border-top-color: #ed2b70;
}
.upload {
  background: linear-gradient(135deg, #edf4ff, #f8fbff);
  border-color: #9bbcf9;
}
.upload-icon {
  color: #0655f6;
}
.upload span:not(.upload-icon) {
  color: #526783;
}
.muted,
#empty > p {
  color: #606876;
}
input[type="number"] {
  border-color: #cad5e5;
  color: #111827;
  background: #fff;
}
summary {
  color: #0655f6;
}
details,
dl > div {
  border-color: #e2e8f2;
}
button {
  background: #0655f6;
  box-shadow: 0 5px 14px #0655f624;
}
button:hover:not(:disabled) {
  background: #0346d0;
}
.secondary,
#cancel {
  background: #eaf1ff;
  color: #0646bf;
  box-shadow: none;
}
.secondary:hover:not(:disabled),
#cancel:hover {
  background: #dce9ff;
}
#status {
  color: #425570;
}
#status.error {
  color: #b42338;
}
.placeholder {
  background: #f8fbff;
  border-color: #cddcf2;
  color: #425d83;
}
.price {
  color: #0655f6;
}
.result aside {
  border-left: 3px solid #72b91a;
  background: #f5f9f1;
  padding: 14px 16px;
  margin-top: 24px;
  border-radius: 0 8px 8px 0;
  color: #4c5c3e;
}
footer {
  color: #606876;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #0655f6, #ed2b70, #72b91a, #19bfe6) 1;
  padding-top: 18px;
}
button:focus-visible,
input:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid #19bfe6;
  outline-offset: 3px;
}
@media (max-width: 680px) {
  header {
    padding: 18px;
    gap: 16px;
  }
  header .brand img {
    width: 220px;
    height: auto;
    max-height: 60px;
  }
  .badge {
    font-size: 9px;
  }
  .intro {
    padding-top: 26px;
  }
}

#preview {
  border-bottom: 1px solid #e2e8f2;
  padding-bottom: 14px;
  margin-bottom: 22px;
}
#preview-name {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
#preview-stage {
  height: 280px;
  border: 1px solid #d5e2f5;
  border-radius: 10px;
  overflow: hidden;
  touch-action: none;
}
#preview-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#preview-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
#preview-controls button {
  padding: 9px 12px;
  min-height: 40px;
  min-width: 40px;
  background: #eaf1ff;
  color: #0646bf;
  box-shadow: none;
  font-size: 12px;
}
#preview-controls button:hover {
  background: #dce9ff;
}
#preview-status,
#preview-info {
  font-size: 11px;
  line-height: 1.6;
  color: #526783;
  margin: 10px 0 0;
}
#preview-info {
  font-weight: 650;
}
.result:has(#preview:not([hidden])) #empty {
  display: none;
}
@media (max-width: 680px) {
  #preview-stage {
    height: 250px;
  }
}

/* Embroidery form adaptations to the shared MindVision quote theme. */
.shell {
  max-width: 1100px;
  margin: auto;
  padding: 30px 28px;
}
main {
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: start;
}
.card {
  margin-bottom: 22px;
}
h2 span {
  margin-right: 12px;
}
.card > p {
  font-size: 13px;
  color: #606876;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin: 12px 0;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
select {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid #cad5e5;
  border-radius: 7px;
  margin-top: 8px;
  font: inherit;
  font-size: 15px;
  color: #111827;
  background: #fff;
}
input,
select {
  min-width: 0;
}
input:disabled,
input[readonly] {
  background: #f3f5f9;
  color: #606876;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
}
.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0655f6;
}
.hint {
  font-size: 12px !important;
  color: #606876 !important;
  line-height: 1.65;
}
.upload {
  text-align: center;
}
.upload strong {
  font-size: 16px;
}
.upload small {
  font-size: 12px;
  color: #526783;
  font-weight: 400;
}
.upload:focus-within {
  outline: 3px solid #19bfe6;
  outline-offset: 3px;
}
.quiet {
  background: #eaf1ff;
  color: #0646bf;
  box-shadow: none;
  padding: 9px 12px;
  font-size: 12px;
}
.quiet:hover:not(:disabled) {
  background: #dce9ff;
}
#status {
  overflow-wrap: anywhere;
}
#preview {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  background: repeating-conic-gradient(#f1f1f4 0% 25%, white 0% 50%) 0/16px 16px;
  border: 1px solid #d5e2f5;
  border-radius: 10px;
  margin-top: 18px;
  padding: 0;
}
#swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.swatch {
  width: 32px;
  height: 32px;
  border: 1px solid #0002;
  border-radius: 50%;
}
main > aside {
  position: sticky;
  top: 24px;
}
.result .eyebrow {
  margin-top: 0;
}
.result h2 {
  margin-top: 20px;
}
.big {
  font-size: 64px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -3px;
  margin: 15px 0;
  color: #0655f6;
}
hr {
  border: 0;
  border-top: 1px solid #e2e8f2;
  margin: 24px 0;
  width: 100%;
}
.total {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e2e8f2;
}
.total span {
  font-size: 13px;
}
.total strong {
  font-size: 32px;
  color: #0655f6;
  overflow-wrap: anywhere;
}
.result button {
  width: 100%;
  margin: 16px 0 5px;
}
.result > .hint {
  border-left: 3px solid #72b91a;
  background: #f5f9f1;
  padding: 14px 16px;
  margin-top: 24px;
  border-radius: 0 8px 8px 0;
  color: #4c5c3e !important;
}
#validation {
  color: #b42338;
}
#perItem,
.privacy {
  font-size: 12px;
  color: #606876;
}
.privacy {
  text-align: center;
}
details {
  margin-top: 18px;
}
.badge {
  white-space: nowrap;
}
button:disabled {
  cursor: default;
}
select:focus-visible {
  outline: 3px solid #19bfe6;
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .shell {
    padding: 20px 16px;
  }
  main {
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }
  main > aside {
    position: static;
  }
  .big {
    font-size: 52px;
  }
  .total strong {
    font-size: 28px;
  }
}
@media print {
  body {
    background: white;
  }
  .shell {
    padding: 0;
  }
  header {
    print-color-adjust: exact;
  }
  main {
    display: block;
  }
  form,
  .privacy,
  button,
  footer {
    display: none !important;
  }
  main > aside {
    position: static;
  }
  .card {
    box-shadow: none;
  }
  .result {
    break-inside: avoid;
  }
  .intro {
    padding: 20px 0;
  }
  h1 {
    font-size: 32px;
  }
}
.swatch {
  position: relative;
  padding: 0;
  min-width: 38px;
  width: 38px;
  height: 38px;
  border: 2px solid #cad5e5;
  border-radius: 50%;
  box-shadow: none;
  margin: 3px;
  color: white;
  text-shadow:
    0 1px 3px #000,
    0 -1px 3px #000;
  font-size: 28px;
  line-height: 32px;
}
.swatch:hover:not(:disabled) {
  background-color: initial;
  outline: 2px solid #0655f6;
  outline-offset: 2px;
}
.swatch[aria-pressed="false"] {
  opacity: 0.45;
  border-style: dashed;
}
#restoreColors {
  margin-bottom: 14px;
}
.contact {
  display: block;
  background: #0655f6;
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
}
.contact:hover {
  background: #0346d0;
}
.result #print {
  background: #eaf1ff;
  color: #0646bf;
  box-shadow: none;
}
.total strong {
  font-size: clamp(20px, 2.5vw, 32px);
}
@media print {
  .contact {
    display: none;
  }
}
.rates {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 16px;
}
.rates th,
.rates td {
  text-align: left;
  padding: 9px 0;
  border-bottom: 1px solid #e2e8f2;
}
.rates th:last-child,
.rates td:last-child {
  text-align: right;
}
.thread-chip {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid #999;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 8px;
}
#machineInfo p {
  font-size: 12px;
}
#preview[alt="Embroidery stitch-path preview"] {
  max-height: 420px;
}

.artwork-download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}

.artwork-download-actions button {
  max-width: 100%;
  margin: 0;
}
