:root {
  --fq-lime: #a3c125;
  --fq-teal: #275260;
  --fq-teal-dark: #183b46;
  --fq-text: #24373e;
  --fq-muted: #6d7e84;
  --fq-border: #d9e2e4;
  --fq-bg: #f6f8f8;
  --fq-error: #b42318;
}

.fq-quote-entry,
.fq-quote-entry * {
  box-sizing: border-box;
}

.fq-quote-entry {
  clear: both;
  display: block;
  margin: 12px 0 20px;
  max-width: 100%;
  width: 100%;
}

.fq-inline-card {
  background: #fff;
  border: 1px solid var(--fq-border);
  border-radius: 12px;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}

.fq-form {
  margin: 0;
  padding: 15px 16px 16px;
}

.fq-fields {
  display: grid;
  gap: 12px 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fq-field {
  grid-column: 1 / -1;
  margin: 0 !important;
  max-width: 100%;
  min-width: 0;
  text-align: left !important;
  width: 100%;
}

.fq-field--width {
  grid-column: 1;
}

.fq-field--height {
  grid-column: 2;
}

.fq-field[hidden],
.fq-preview[hidden] {
  display: none !important;
}

.fq-label {
  color: var(--fq-text) !important;
  display: block !important;
  float: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  text-align: left !important;
  width: auto !important;
}

.fq-required {
  color: var(--fq-lime);
  font-size: 14px;
  margin-left: 2px;
}

.fq-input-wrap {
  position: relative;
}

.fq-input,
.fq-select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--fq-border);
  border-radius: 8px;
  color: var(--fq-text);
  display: block;
  float: none;
  font-family: inherit;
  font-size: 16px !important;
  line-height: 1.25;
  margin: 0 !important;
  max-width: 100%;
  min-height: 46px;
  outline: 0;
  padding: 10px 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100% !important;
}

.fq-input:focus,
.fq-select:focus {
  border-color: var(--fq-lime);
  box-shadow: 0 0 0 3px rgba(163, 193, 37, .14);
}

.fq-input.is-invalid,
.fq-select.is-invalid,
.fq-field.has-error .fq-file-control {
  border-color: var(--fq-error);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .08);
}

.fq-select {
  background-image: linear-gradient(45deg, transparent 50%, #6b7c82 50%), linear-gradient(135deg, #6b7c82 50%, transparent 50%);
  background-position: calc(100% - 17px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 36px;
}

.fq-textarea {
  min-height: 78px;
  resize: vertical;
}

.fq-unit {
  align-items: center;
  color: var(--fq-muted);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  height: 100%;
  padding: 0 11px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.fq-input-wrap .fq-input[type="number"] {
  padding-right: 42px;
}

.fq-help {
  color: var(--fq-muted) !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
  margin: 4px 0 0 !important;
  text-align: left !important;
}

.fq-dimension-note {
  color: var(--fq-teal) !important;
  grid-column: 1 / -1;
}

.fq-choice-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fq-choice-card {
  cursor: pointer;
  margin: 0 !important;
  min-width: 0;
  position: relative;
}

.fq-choice-card input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.fq-choice-card span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--fq-border);
  border-radius: 8px;
  color: var(--fq-text);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.fq-choice-card input:checked + span {
  background: rgba(163, 193, 37, .09);
  border-color: var(--fq-lime);
  box-shadow: inset 0 0 0 1px var(--fq-lime);
  color: var(--fq-teal-dark);
}

.fq-choice-card input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(163, 193, 37, .18);
}

.fq-checkbox-list {
  display: grid;
  gap: 6px;
}

.fq-checkbox-row {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: 0 !important;
  min-height: 40px;
  position: relative;
}

.fq-checkbox-row input {
  opacity: 0;
  position: absolute;
}

.fq-checkmark {
  background: #fff;
  border: 1px solid var(--fq-border);
  border-radius: 5px;
  flex: 0 0 22px;
  height: 22px;
  position: relative;
}

.fq-checkbox-row input:checked + .fq-checkmark {
  background: var(--fq-teal);
  border-color: var(--fq-teal);
}

.fq-checkbox-row input:checked + .fq-checkmark:after {
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  height: 10px;
  left: 7px;
  position: absolute;
  top: 3px;
  transform: rotate(45deg);
  width: 6px;
}

.fq-file-control {
  align-items: center;
  background: var(--fq-bg);
  border: 1px dashed #b8c8cc;
  border-radius: 9px;
  cursor: pointer;
  display: flex !important;
  float: none !important;
  gap: 10px;
  margin: 0 !important;
  min-height: 64px;
  padding: 9px 10px !important;
  text-align: left !important;
  width: 100% !important;
}

.fq-file-control:hover {
  border-color: var(--fq-lime);
}

.fq-file-control input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.fq-file-icon {
  align-items: center;
  background: var(--fq-teal);
  border-radius: 8px;
  color: #fff;
  display: flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
}

.fq-file-icon svg {
  height: 19px;
  width: 19px;
}

.fq-file-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fq-file-copy strong {
  color: var(--fq-teal);
  font-size: 12px;
}

.fq-file-copy small {
  color: var(--fq-muted);
  font-size: 10px;
  line-height: 1.3;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.fq-image-variants {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(var(--fq-variant-columns, 4), minmax(0, 1fr));
}

.fq-image-card {
  background: #fff;
  border: 1px solid var(--fq-border);
  border-radius: 9px;
  cursor: pointer;
  display: block;
  margin: 0 !important;
  overflow: hidden;
  position: relative;
}

.fq-image-card > input {
  opacity: 0;
  position: absolute;
}

.fq-image-card:has(input:checked) {
  border-color: var(--fq-lime);
  box-shadow: 0 0 0 2px rgba(163, 193, 37, .2);
}

.fq-image-ratio {
  aspect-ratio: 4 / 3;
  background: var(--fq-bg);
  display: block;
  overflow: hidden;
  width: 100%;
}

.fq-image-ratio img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.fq-image-placeholder {
  background: linear-gradient(135deg, #eef3f3, #dce7e8);
  display: block;
  height: 100%;
}

.fq-image-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50px;
  padding: 9px 7px 10px;
  text-align: center;
}

.fq-image-copy strong {
  color: var(--fq-text);
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  width: 100%;
}

.fq-image-copy small {
  color: var(--fq-muted);
  display: block;
  font-size: 10px;
  line-height: 1.3;
  margin-top: 3px;
  text-align: center;
  width: 100%;
}

.fq-color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fq-color-option {
  align-items: center;
  background: #fff;
  border: 1px solid var(--fq-border);
  border-radius: 8px;
  cursor: pointer;
  display: flex !important;
  float: none !important;
  font-size: 11px;
  gap: 6px;
  margin: 0 !important;
  min-height: 42px;
  padding: 6px 8px !important;
  position: relative;
  text-align: left !important;
  width: auto !important;
}

.fq-color-option > input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.fq-color-option:has(input[type="radio"]:checked) {
  border-color: var(--fq-lime);
  box-shadow: 0 0 0 2px rgba(163, 193, 37, .18);
}

.fq-color-swatch {
  background: var(--fq-swatch);
  border: 1px solid rgba(0, 0, 0, .13);
  border-radius: 50%;
  height: 23px;
  width: 23px;
}

.fq-color-option--custom input[type="color"] {
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 25px;
  padding: 0;
  width: 25px;
}

.fq-info-box {
  background: rgba(39, 82, 96, .05);
  border-left: 3px solid var(--fq-lime);
  border-radius: 8px;
  color: var(--fq-text);
  padding: 10px 12px;
}

.fq-info-box strong {
  color: var(--fq-teal);
  display: block;
  font-size: 12px;
}

.fq-info-box p {
  font-size: 11px;
  line-height: 1.4;
  margin: 3px 0 0;
}

.fq-preview {
  background: var(--fq-bg);
  border: 1px solid var(--fq-border);
  border-radius: 8px;
  margin-top: 7px;
  overflow: hidden;
  padding: 7px 10px 8px;
  text-align: left;
}

.fq-preview > span {
  color: var(--fq-muted);
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.fq-preview [data-fq-preview] {
  color: var(--fq-teal);
  font-size: 21px;
  line-height: 1.15;
  min-height: 24px;
  overflow-wrap: anywhere;
  padding: 0;
}

.fq-preview small {
  color: var(--fq-muted);
  display: block;
  font-size: 9.5px;
  line-height: 1.2;
  margin-top: 3px;
}

.fq-customer-section {
  border-top: 1px solid var(--fq-border);
  margin-top: 15px;
  padding-top: 13px;
}

.fq-customer-section h3 {
  color: var(--fq-teal);
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 10px;
  text-align: left;
}

.fq-customer-grid {
  display: grid;
  gap: 11px 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fq-customer-grid .fq-field {
  grid-column: auto;
}

.fq-customer-grid .fq-customer-address {
  grid-column: 1 / -1;
}

.fq-field-error {
  color: var(--fq-error);
  font-size: 10px;
  line-height: 1.3;
  margin-top: 3px;
  min-height: 0;
}

.fq-field-error:empty {
  display: none;
}

.fq-form-message {
  border-radius: 8px;
  display: none;
  font-size: 12px;
  line-height: 1.4;
  margin-top: 12px;
  padding: 10px 12px;
}

.fq-form-message.is-error {
  background: #fef3f2;
  color: var(--fq-error);
  display: block;
}

.fq-form-message.is-success {
  background: rgba(163, 193, 37, .12);
  color: var(--fq-teal-dark);
  display: block;
}

.fq-submit-button {
  align-items: center;
  background: var(--fq-lime);
  border: 0;
  border-radius: 8px;
  color: #1d343c;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  margin-top: 13px;
  min-height: 48px;
  padding: 11px 16px;
  transition: filter .15s ease, transform .15s ease;
  width: 100%;
}

.fq-submit-button:hover,
.fq-submit-button:focus {
  color: #1d343c;
  filter: brightness(.96);
  outline: 0;
  transform: translateY(-1px);
}

.fq-submit-button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.fq-loader {
  animation: fq-spin .7s linear infinite;
  border: 2px solid rgba(39, 82, 96, .25);
  border-radius: 50%;
  border-top-color: var(--fq-teal);
  display: none;
  height: 16px;
  width: 16px;
}

.fq-submit-button.is-loading .fq-loader {
  display: inline-block;
}

.fq-honeypot {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.pac-container {
  border: 0;
  border-radius: 9px;
  box-shadow: 0 12px 35px rgba(39, 82, 96, .2);
  font-family: inherit;
  z-index: 10100 !important;
}

.pac-item {
  cursor: pointer;
  font-size: 12px;
  min-height: 40px;
  padding: 7px 10px;
}

@keyframes fq-spin {
  to { transform: rotate(360deg); }
}



/* V1.0.7 — configurable visual-variant columns and locked automatic text dimension. */
.fq-input.fq-input--calculated,
.fq-input[readonly].fq-input--calculated {
  background: #f3f6f6 !important;
  border-style: dashed !important;
  color: var(--fq-teal) !important;
  cursor: not-allowed;
  font-weight: 700;
}

/* V1.0.6 — four visual variants per row and centered, readable labels. */
.fq-image-card {
  min-width: 0;
}

@media (min-width: 521px) and (max-width: 760px) {
  .fq-image-variants {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .fq-form {
    padding: 12px;
  }

  .fq-fields {
    gap: 11px 8px;
  }

  .fq-customer-grid {
    grid-template-columns: 1fr;
  }

  .fq-customer-grid .fq-customer-address {
    grid-column: auto;
  }

  .fq-image-variants {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .fq-field--width,
  .fq-field--height {
    grid-column: 1 / -1;
  }

  .fq-image-variants {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fq-submit-button,
  .fq-choice-card span {
    transition: none;
  }
}

/* V1.0.5 — conditions, compact live preview and styled font selector. */
.fq-inline-card {
  overflow: visible;
}

.fq-field.fq-condition-hidden,
.fq-field[aria-hidden="true"] {
  display: none !important;
}

.fq-font-picker {
  max-width: 100%;
  position: relative;
  width: 100%;
  z-index: 8;
}

.fq-font-toggle {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid var(--fq-border);
  border-radius: 8px;
  color: var(--fq-text);
  cursor: pointer;
  display: flex;
  font-size: 16px;
  justify-content: space-between;
  line-height: 1.25;
  margin: 0;
  min-height: 46px;
  padding: 9px 38px 9px 12px;
  position: relative;
  text-align: left;
  width: 100%;
}

.fq-font-toggle:hover,
.fq-font-toggle:focus,
.fq-font-picker.is-open .fq-font-toggle {
  border-color: var(--fq-lime);
  box-shadow: 0 0 0 3px rgba(163, 193, 37, .14);
  outline: 0;
}

.fq-font-toggle.is-invalid {
  border-color: var(--fq-error);
}

.fq-font-chevron {
  border-bottom: 2px solid #6b7c82;
  border-right: 2px solid #6b7c82;
  height: 7px;
  position: absolute;
  right: 15px;
  top: 17px;
  transform: rotate(45deg);
  transition: transform .15s ease;
  width: 7px;
}

.fq-font-picker.is-open .fq-font-chevron {
  top: 20px;
  transform: rotate(225deg);
}

.fq-font-menu {
  background: #fff;
  border: 1px solid var(--fq-border);
  border-radius: 9px;
  box-shadow: 0 14px 34px rgba(39, 82, 96, .18);
  left: 0;
  margin-top: 5px;
  max-height: 235px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 5px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 10020;
}

.fq-font-menu[hidden] {
  display: none !important;
}

.fq-font-option {
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 7px;
  color: var(--fq-text);
  cursor: pointer;
  display: block;
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
  min-height: 42px;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}

.fq-font-option:hover,
.fq-font-option:focus,
.fq-font-option.is-selected {
  background: rgba(163, 193, 37, .11);
  color: var(--fq-teal-dark);
  outline: 0;
}

.fq-font-option.is-selected {
  box-shadow: inset 3px 0 0 var(--fq-lime);
}

.fq-font-native {
  border: 0 !important;
  height: 1px !important;
  left: -9999px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 1px !important;
}

.fq-preview [data-fq-preview].is-placeholder {
  opacity: .55;
}

.fq-preview--inline {
  margin-top: 6px;
  padding: 6px 9px 7px;
}

.fq-preview--inline [data-fq-preview] {
  font-size: 18px;
  min-height: 20px;
}

@media (max-width: 520px) {
  .fq-font-menu {
    max-height: 210px;
  }
}

/* V1.0.8 — conversion banner, stable visual variants and selectable dark theme. */
.fq-conversion-banner {
  align-items: center;
  background: linear-gradient(135deg, rgba(39, 82, 96, .07), rgba(163, 193, 37, .10));
  border: 1px solid rgba(39, 82, 96, .12);
  border-left: 4px solid var(--fq-lime);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  margin: 0 0 14px;
  min-height: 62px;
  padding: 10px 11px;
}

.fq-conversion-icon,
.fq-conversion-check {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex: none;
  justify-content: center;
}

.fq-conversion-icon {
  background: var(--fq-lime);
  color: var(--fq-teal-dark);
  height: 34px;
  width: 34px;
}

.fq-conversion-check {
  background: var(--fq-teal);
  color: #fff;
  height: 26px;
  width: 26px;
}

.fq-conversion-icon svg {
  height: 17px;
  width: 17px;
}

.fq-conversion-check svg {
  height: 16px;
  width: 16px;
}

.fq-conversion-copy {
  display: block;
  min-width: 0;
}

.fq-conversion-copy strong {
  color: var(--fq-teal-dark);
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.fq-conversion-copy small {
  color: var(--fq-muted);
  display: block;
  font-size: 10.5px;
  line-height: 1.35;
  margin-top: 2px;
}

/* Keep the grid and every image absolutely stable when a variant is selected. */
.fq-image-variants {
  align-items: stretch;
  grid-auto-flow: row;
  width: 100%;
}

.fq-image-card,
.fq-image-card:hover,
.fq-image-card:focus,
.fq-image-card:active,
.fq-image-card.is-selected,
.fq-image-card:has(input:checked) {
  box-sizing: border-box !important;
  float: none !important;
  left: auto !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
}

.fq-image-card {
  contain: layout paint;
  display: grid !important;
  grid-template-rows: auto minmax(46px, auto);
  overflow: hidden;
}

.fq-image-card.is-selected,
.fq-image-card:has(input:checked) {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 2px solid var(--fq-lime);
  outline-offset: -2px;
}

.fq-variant-control {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.fq-variant-control input {
  height: 1px !important;
  margin: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  position: static !important;
  width: 1px !important;
}

.fq-image-ratio {
  aspect-ratio: 1 / 1;
  flex: none !important;
  height: auto !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  position: relative;
  transform: none !important;
  width: 100% !important;
}

.fq-image-ratio img {
  display: block !important;
  height: 100% !important;
  left: auto !important;
  margin: 0 !important;
  max-height: none !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  position: static !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
}

.fq-image-copy {
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
}

.fq-image-copy strong {
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

/* Stronger action button without making the form visually heavy. */
.fq-submit-button {
  background: linear-gradient(135deg, var(--fq-teal), var(--fq-teal-dark));
  border: 1px solid rgba(24, 59, 70, .18);
  border-radius: 10px;
  box-shadow: 0 9px 20px rgba(39, 82, 96, .20);
  color: #fff;
  font-size: 15px;
  min-height: 56px;
  padding: 12px 16px;
}

.fq-submit-button:hover,
.fq-submit-button:focus {
  box-shadow: 0 11px 24px rgba(39, 82, 96, .26);
  color: #fff;
  filter: none;
}

.fq-submit-arrow {
  align-items: center;
  background: var(--fq-lime);
  border-radius: 50%;
  color: var(--fq-teal-dark);
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  margin-left: 4px;
  transition: transform .15s ease;
  width: 28px;
}

.fq-submit-arrow svg {
  height: 16px;
  width: 16px;
}

.fq-submit-button:hover .fq-submit-arrow,
.fq-submit-button:focus .fq-submit-arrow {
  transform: translateX(2px);
}

.fq-submit-button.is-loading .fq-submit-arrow {
  display: none;
}

/* Dark premium mode — selected per form in the back office. */
.fq-theme--dark {
  --fq-text: #ffffff;
  --fq-muted: #d5e2e5;
  --fq-border: rgba(255, 255, 255, .20);
  --fq-bg: rgba(255, 255, 255, .08);
}

.fq-theme--dark .fq-inline-card {
  background: linear-gradient(145deg, #2b5c6a 0%, #1d4652 58%, #183b46 100%);
  border-color: rgba(255, 255, 255, .13);
  box-shadow: 0 14px 32px rgba(24, 59, 70, .24);
}

.fq-theme--dark .fq-form {
  color: #fff;
}

.fq-theme--dark .fq-conversion-banner {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .14);
  border-left-color: var(--fq-lime);
}

.fq-theme--dark .fq-conversion-copy strong,
.fq-theme--dark .fq-label,
.fq-theme--dark .fq-customer-section h3 {
  color: #fff !important;
}

.fq-theme--dark .fq-conversion-copy small,
.fq-theme--dark .fq-help,
.fq-theme--dark .fq-preview > span,
.fq-theme--dark .fq-preview small {
  color: #d5e2e5 !important;
}

.fq-theme--dark .fq-conversion-check {
  background: rgba(255, 255, 255, .14);
  color: var(--fq-lime);
}

.fq-theme--dark .fq-input,
.fq-theme--dark .fq-select,
.fq-theme--dark .fq-font-toggle,
.fq-theme--dark .fq-choice-card span,
.fq-theme--dark .fq-color-option,
.fq-theme--dark .fq-image-card,
.fq-theme--dark .fq-font-menu,
.fq-theme--dark .fq-font-option {
  background: rgba(255, 255, 255, .97);
  border-color: rgba(255, 255, 255, .32);
  color: #183b46;
}

.fq-theme--dark .fq-file-control,
.fq-theme--dark .fq-preview,
.fq-theme--dark .fq-info-box {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}

.fq-theme--dark .fq-file-copy strong,
.fq-theme--dark .fq-info-box strong,
.fq-theme--dark .fq-preview [data-fq-preview],
.fq-theme--dark .fq-dimension-note {
  color: var(--fq-lime) !important;
}

.fq-theme--dark .fq-file-copy small,
.fq-theme--dark .fq-info-box p {
  color: #d5e2e5;
}

.fq-theme--dark .fq-customer-section {
  border-top-color: rgba(255, 255, 255, .17);
}

.fq-theme--dark .fq-image-ratio {
  background: #f6f8f8;
}

.fq-theme--dark .fq-image-copy strong {
  color: #183b46;
}

.fq-theme--dark .fq-image-copy small {
  color: #65777d;
}

.fq-theme--dark .fq-choice-card input:checked + span {
  background: rgba(163, 193, 37, .14);
  color: #183b46;
}

.fq-theme--dark .fq-input.fq-input--calculated,
.fq-theme--dark .fq-input[readonly].fq-input--calculated {
  background: rgba(255, 255, 255, .86) !important;
  color: #275260 !important;
}

.fq-theme--dark .fq-submit-button {
  background: var(--fq-lime);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  color: #183b46;
}

.fq-theme--dark .fq-submit-button:hover,
.fq-theme--dark .fq-submit-button:focus {
  color: #183b46;
  filter: brightness(1.03);
}

.fq-theme--dark .fq-submit-arrow {
  background: #183b46;
  color: #fff;
}

.fq-theme--dark .fq-loader {
  border-color: rgba(24, 59, 70, .25);
  border-top-color: #183b46;
}

@media (max-width: 520px) {
  .fq-conversion-banner {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 58px;
    padding: 9px 10px;
  }

  .fq-conversion-check {
    display: none;
  }

  .fq-conversion-copy strong {
    font-size: 13px;
  }

  .fq-submit-button {
    font-size: 14px;
    min-height: 54px;
  }
}

/* V1.0.9 — visible selection border without changing card or image dimensions. */
.fq-image-card {
  isolation: isolate;
}

.fq-image-card::after {
  border: 0 solid transparent;
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: border-color .15s ease, box-shadow .15s ease;
  z-index: 6;
}

.fq-image-card.is-selected,
.fq-image-card:has(input[type="radio"]:checked) {
  border-color: var(--fq-lime) !important;
  outline: 0 !important;
}

.fq-image-card.is-selected::after,
.fq-image-card:has(input[type="radio"]:checked)::after {
  border-color: var(--fq-lime);
  border-width: 2px;
  box-shadow: none;
}

.fq-theme--dark .fq-image-card.is-selected::after,
.fq-theme--dark .fq-image-card:has(input[type="radio"]:checked)::after {
  box-shadow: 0 0 0 1px rgba(163, 193, 37, .16);
}
