#up-form {
  --glf-ink: #171719;
  --glf-red: #d3323a;
  --glf-forest: #004925;
  --glf-warm: #f7f5ef;
  --glf-white: #ffffff;
  --glf-line: #c9c6bf;
  --glf-muted: #625f59;
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-block-start: max(clamp(14px, 4vw, 24px), env(safe-area-inset-top, 0px));
  padding-block-end: max(clamp(14px, 4vw, 24px), env(safe-area-inset-bottom, 0px));
  padding-inline-start: max(clamp(10px, 4vw, 18px), env(safe-area-inset-left, 0px));
  padding-inline-end: max(clamp(10px, 4vw, 18px), env(safe-area-inset-right, 0px));
  color: var(--glf-ink);
  background: var(--glf-warm);
  container-name: glf-form;
  container-type: inline-size;
  font-family: Barlow, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

#up-form:not(.glf-embedded) {
  min-block-size: 100vh;
  min-block-size: 100svh;
  min-block-size: 100dvh;
}

#up-form *,
#up-form *::before,
#up-form *::after {
  box-sizing: inherit;
}

#up-form h1,
#up-form h2,
#up-form h3,
#up-form h4 {
  margin: 0 0 12px;
  color: var(--glf-ink);
  font-family: Barlow, Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

#up-form h2 {
  font-size: clamp(30px, 5vw, 48px);
}

#up-form h3 {
  font-size: clamp(25px, 3.5vw, 34px);
}

#up-form .glf-native-intro[hidden] {
  display: none !important;
}

#up-form p,
#up-form label,
#up-form legend,
#up-form input,
#up-form select,
#up-form textarea,
#up-form button {
  font-family: inherit;
}

#up-form label,
#up-form legend {
  color: var(--glf-ink);
  font-weight: 600;
}

#up-form button,
#up-form input,
#up-form select,
#up-form textarea,
#up-form summary,
#up-form [role="button"] {
  scroll-margin-block-start: max(16px, env(safe-area-inset-top, 0px));
  scroll-margin-block-end: max(16px, env(safe-area-inset-bottom, 0px));
}

#up-form .form-group {
  margin: 0 0 22px;
  min-width: 0;
}

#up-form input[type="text"],
#up-form input[type="email"],
#up-form input[type="tel"],
#up-form input[type="number"],
#up-form input[type="date"],
#up-form select,
#up-form textarea {
  box-sizing: border-box !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--glf-ink);
  background: var(--glf-white);
  border: 2px solid var(--glf-ink);
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
  transition: border-color 120ms ease, outline-color 120ms ease;
}

/* Låt native-select växa med textzoom. En fast kontrollhöjd kan klippa alternativtext. */
#up-form select {
  height: auto !important;
  min-block-size: 56px;
  padding-block: 14px;
  padding-inline-start: 14px;
  padding-inline-end: 44px;
  line-height: 1.25;
}

#up-form textarea {
  min-height: 120px;
  resize: vertical;
}

#up-form .iti {
  width: 100%;
  min-width: 0;
}

#up-form img,
#up-form iframe {
  max-width: 100%;
}

#up-form .iti input.form-control {
  padding-left: 62px !important;
}

#up-form input:focus,
#up-form select:focus,
#up-form textarea:focus,
#up-form button:focus-visible,
#up-form a:focus-visible {
  outline: 3px solid var(--glf-red);
  outline-offset: 2px;
}

#up-form input[type="checkbox"],
#up-form input[type="radio"] {
  accent-color: var(--glf-red);
}

#up-form a {
  color: var(--glf-red);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#up-form button,
#up-form input[type="submit"] {
  min-height: 50px;
  padding: 12px 22px;
  color: var(--glf-white);
  background: var(--glf-red);
  border: 2px solid var(--glf-red);
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

#up-form button:hover,
#up-form input[type="submit"]:hover {
  color: var(--glf-white);
  background: var(--glf-ink);
  border-color: var(--glf-ink);
}

#up-form .glf-prefill-banner {
  margin: 0 0 26px;
  padding: 16px 14px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  color: var(--glf-ink);
  background: var(--glf-white);
  border: 2px solid var(--glf-ink);
  border-top: 5px solid var(--glf-red);
  border-radius: 0;
}

#up-form .glf-prefill-banner p {
  margin: 0;
}

#up-form .glf-prefill-eyebrow {
  color: var(--glf-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#up-form .glf-prefill-copy,
#up-form .glf-selected-product-copy {
  min-width: 0;
}

#up-form .glf-prefill-title {
  margin-top: 3px !important;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#up-form .glf-prefill-meta {
  margin-top: 3px !important;
  color: var(--glf-muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

#up-form .glf-prefill-remove {
  width: 100%;
  min-height: 44px;
  padding: 9px 15px;
  flex: 0 0 auto;
  color: var(--glf-ink);
  background: transparent;
  border-color: var(--glf-ink);
  font-weight: 600;
}

#up-form .glf-prefill-actions,
#up-form .glf-selected-product-actions {
  width: 100%;
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}

#up-form .glf-prefill-change,
#up-form .glf-selected-product-change,
#up-form .glf-review-edit {
  min-height: 44px;
  padding: 9px 2px;
  color: var(--glf-red);
  background: transparent;
  border: 0;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#up-form .glf-prefill-change,
#up-form .glf-selected-product-change {
  width: 100%;
  text-align: center;
}

#up-form .glf-prefill-change:hover,
#up-form .glf-selected-product-change:hover,
#up-form .glf-review-edit:hover {
  color: var(--glf-ink);
  background: transparent;
  border-color: transparent;
}

#up-form .glf-prefill-remove:hover {
  color: var(--glf-white);
  background: var(--glf-ink);
}

#up-form .glf-progress {
  margin: 20px 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  list-style: none;
}

#up-form .glf-progress li {
  min-width: 0;
  min-height: 48px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--glf-muted);
  background: #e7e3dc;
  border-top: 4px solid transparent;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

#up-form .glf-progress li::before {
  content: attr(data-number);
  width: 24px;
  height: 24px;
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  color: var(--glf-white);
  background: var(--glf-muted);
  font-weight: 800;
}

#up-form .glf-progress li[aria-current="step"] {
  color: var(--glf-ink);
  background: var(--glf-white);
  border-top-color: var(--glf-red);
}

#up-form .glf-progress li[aria-current="step"]::before,
#up-form .glf-progress li.is-complete::before {
  background: var(--glf-red);
}

#up-form .glf-progress li.is-complete {
  cursor: pointer;
}

#up-form .glf-progress li.is-complete:hover {
  color: var(--glf-ink);
  background: #ddd8cf;
}

#up-form .glf-step {
  padding: 20px 12px;
  background: var(--glf-white);
  border-top: 5px solid var(--glf-red);
}

.glf-step[hidden] {
  display: none !important;
}

#up-form .glf-step-head {
  margin-bottom: 22px;
}

#up-form .glf-step-head h3:focus {
  outline: none;
}

#up-form .glf-eyebrow {
  margin: 0 0 8px;
  color: var(--glf-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#up-form .glf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

#up-form .glf-grid > * {
  min-width: 0;
}

#up-form .glf-grid .glf-wide {
  grid-column: 1 / -1;
}

#up-form .glf-product-row {
  margin: 0 0 24px;
  padding: 16px 14px;
  background: var(--glf-warm);
  border: 1px solid var(--glf-line);
  border-top: 4px solid var(--glf-forest);
  border-radius: 0;
}

#up-form .glf-product-row-head {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

#up-form .glf-product-row-head h4 {
  margin: 0;
  font-size: 22px;
}

#up-form .glf-product-row-head p {
  margin: 5px 0 0;
  color: var(--glf-muted);
  font-size: 14px;
}

#up-form .glf-category-quick {
  margin: 0 0 8px;
  padding: 0;
  background: transparent;
  border: 0;
}

#up-form .glf-category-quick-head {
  margin-bottom: 16px;
}

#up-form .glf-category-quick-head h5 {
  display: none;
}

#up-form .glf-category-quick-head p {
  margin: 0;
  color: var(--glf-muted);
  font-size: 15px;
}

#up-form .glf-manual-product-note {
  margin: 12px 0 0;
  color: var(--glf-muted);
  font-size: 14px;
  font-weight: 600;
}

#up-form .glf-category-quick-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

#up-form .glf-category-fields-host {
  display: contents;
}

#up-form .glf-category-fields-host[hidden] {
  display: none;
}

#up-form .glf-synthetic-group,
#up-form .glf-exact-quantity-slot .form-group,
#up-form .glf-quick-description-slot .form-group {
  margin: 0;
}

#up-form .glf-synthetic-group label {
  display: block;
  margin: 0 0 6px;
}

#up-form .glf-exact-quantity-slot,
#up-form .glf-quick-description-slot {
  padding-top: 2px;
}

#up-form .glf-quick-description-slot textarea {
  min-height: 92px;
}

#up-form .glf-product-details {
  margin-top: 2px;
}

#up-form .glf-product-details summary {
  min-height: 50px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--glf-ink);
  background: var(--glf-white);
  border: 1px solid var(--glf-line);
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

#up-form .glf-product-details summary::-webkit-details-marker {
  display: none;
}

#up-form .glf-product-details summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  color: var(--glf-white);
  background: var(--glf-forest);
  font-size: 20px;
  line-height: 1;
}

#up-form .glf-product-details[open] summary::after {
  content: "−";
}

#up-form .glf-product-details summary:hover,
#up-form .glf-product-details summary:focus-visible {
  border-color: var(--glf-red);
}

#up-form .glf-details-meta {
  margin-left: auto;
  color: var(--glf-muted);
  font-size: 13px;
  font-weight: 500;
}

#up-form .glf-product-details-grid {
  padding: 18px 18px 0;
  background: var(--glf-white);
  border: 1px solid var(--glf-line);
  border-top: 0;
}

#up-form .glf-more-details summary {
  border-top: 3px solid var(--glf-forest);
}

#up-form .glf-optional-contact {
  margin: 4px 0 24px;
}

#up-form .glf-optional-contact h4 {
  margin: 0 0 14px;
  color: var(--glf-ink);
  font-size: 18px;
}

#up-form .glf-request-details {
  margin: 0 0 24px;
}

#up-form .glf-request-details summary {
  border-top: 5px solid var(--glf-forest);
}

#up-form .glf-request-details-body {
  padding: 18px 18px 0;
  background: var(--glf-white);
  border: 1px solid var(--glf-line);
  border-top: 0;
}

#up-form .glf-field-help {
  margin: 2px 0 8px;
  color: var(--glf-muted);
  font-size: 14px;
}

#up-form .glf-choice-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

#up-form .glf-choice-group > br {
  display: none;
}

#up-form .glf-choice-group > label:first-child {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

#up-form .glf-choice-group > label:not(:first-child) {
  min-height: 52px;
  margin: 0 !important;
  padding: 12px 14px;
  display: flex !important;
  align-items: center;
  gap: 9px;
  color: var(--glf-ink);
  background: var(--glf-white);
  border: 1px solid var(--glf-line);
  font-weight: 600 !important;
  cursor: pointer;
}

#up-form .glf-choice-group > label:not(:first-child):hover {
  border-color: var(--glf-red);
}

#up-form .glf-choice-group > label:not(:first-child):has(input:checked) {
  background: #fff4f4;
  border-color: var(--glf-red);
  box-shadow: inset 4px 0 0 var(--glf-red);
}

#up-form .glf-seller-choice {
  margin: 0 0 24px;
  grid-template-columns: minmax(0, 1fr);
}

#up-form .glf-seller-choice > label:not(:first-child) {
  min-height: 92px;
  align-items: flex-start;
  border: 2px solid var(--glf-ink);
  border-radius: 0;
  line-height: 1.35;
}

#up-form .glf-privacy {
  grid-template-columns: 1fr;
}

#up-form .glf-remove,
#up-form .glf-secondary {
  min-height: 44px;
  padding: 9px 15px;
  color: var(--glf-ink);
  background: transparent;
  border-color: var(--glf-ink);
  font-weight: 600;
}

#up-form .glf-remove:hover,
#up-form .glf-secondary:hover {
  color: var(--glf-white);
  background: var(--glf-ink);
}

#up-form .glf-add-row {
  margin-bottom: 24px;
  min-height: 44px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--glf-forest);
  background: transparent;
  border: 1px solid var(--glf-forest);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

#up-form .glf-add-row::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
}

#up-form .glf-add-row:hover {
  color: var(--glf-white);
  background: var(--glf-forest);
  border-color: var(--glf-forest);
}

#up-form .glf-error-summary {
  margin: 0 0 22px;
  padding: 14px 16px;
  color: var(--glf-ink);
  background: #fff2f2;
  border-left: 5px solid var(--glf-red);
  font-weight: 600;
}

#up-form .glf-nav {
  margin-top: 30px;
  padding-top: 22px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--glf-line);
}

#up-form .glf-nav .glf-next {
  width: 100%;
  margin-left: 0;
}

#up-form .glf-review {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: var(--glf-warm);
  border: 2px solid var(--glf-ink);
  border-left: 5px solid var(--glf-forest);
  border-radius: 0;
}

#up-form .glf-review-section {
  padding: 12px 0;
  border-bottom: 1px solid var(--glf-line);
}

#up-form .glf-review-section:first-child {
  padding-top: 0;
}

#up-form .glf-review-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#up-form .glf-review-head,
#up-form .glf-review-product-head {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

#up-form .glf-review-section h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

#up-form .glf-review dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  font-size: 14px;
}

#up-form .glf-review dt {
  margin-top: 6px;
  color: var(--glf-muted);
  font-weight: 600;
}

#up-form .glf-review dd {
  margin: 0;
  overflow-wrap: anywhere;
}

#up-form .glf-review-products,
#up-form .glf-review-product-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

#up-form .glf-review-product,
#up-form .glf-review-product-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--glf-line);
}

#up-form .glf-review-product:first-child,
#up-form .glf-review-product-item:first-child {
  padding-top: 0;
}

#up-form .glf-review-product:last-child,
#up-form .glf-review-product-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#up-form .glf-review-product p,
#up-form .glf-review-product-item p {
  margin: 2px 0 0;
  color: var(--glf-muted);
  font-size: 14px;
}

#up-form .glf-native-submit {
  width: 100%;
  margin: 0;
}

#up-form .glf-native-submit input[type="submit"],
#up-form .glf-native-submit button {
  width: 100%;
}

/* Basen är enkelkolumn. Från 600px utnyttjas bredden selektivt. */
@media (min-width: 600px) {
  #up-form .glf-prefill-banner {
    align-items: center;
    flex-direction: row;
  }

  #up-form .glf-prefill-remove {
    width: auto;
  }

  #up-form .glf-prefill-actions,
  #up-form .glf-selected-product-actions {
    width: auto;
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  #up-form .glf-prefill-change,
  #up-form .glf-selected-product-change {
    width: auto;
    text-align: left;
  }

  #up-form .glf-grid,
  #up-form .glf-category-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #up-form .glf-product-row-head,
  #up-form .glf-review-head,
  #up-form .glf-review-product-head {
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  #up-form .glf-review dl {
    grid-template-columns: minmax(96px, 0.45fr) minmax(0, 1.55fr);
    gap: 4px 14px;
  }

  #up-form .glf-review dt {
    margin-top: 0;
  }

  #up-form .glf-nav {
    align-items: center;
    flex-direction: row;
  }

  #up-form .glf-nav .glf-next {
    width: auto;
    margin-left: auto;
  }

  #up-form .glf-native-submit {
    width: auto;
    margin-left: auto;
  }

  #up-form .glf-native-submit input[type="submit"],
  #up-form .glf-native-submit button {
    width: auto;
  }
}

/* Kompakt Fold/tablet: exempelvis 616px stående och 657px liggande. */
@media (min-width: 600px) and (max-width: 767px) {
  #up-form {
    padding-block-start: max(20px, env(safe-area-inset-top, 0px));
    padding-block-end: max(20px, env(safe-area-inset-bottom, 0px));
    padding-inline-start: max(20px, env(safe-area-inset-left, 0px));
    padding-inline-end: max(20px, env(safe-area-inset-right, 0px));
  }

  #up-form .glf-progress {
    margin: 24px 0 28px;
  }

  #up-form .glf-progress li {
    min-height: 52px;
    padding: 8px 10px;
    font-size: 14px;
  }

  #up-form .glf-step {
    padding: 22px 20px;
  }

  #up-form .glf-step-head {
    margin-bottom: 24px;
  }

  #up-form .glf-grid {
    column-gap: 18px;
  }

  #up-form .glf-product-row {
    padding: 18px 16px;
  }
}

/* Utfälld tablet. 816px är fortfarande tablet, även i liggande läge. */
@media (min-width: 768px) and (max-width: 1023px) {
  #up-form {
    padding-block-start: max(28px, env(safe-area-inset-top, 0px));
    padding-block-end: max(28px, env(safe-area-inset-bottom, 0px));
    padding-inline-start: max(28px, env(safe-area-inset-left, 0px));
    padding-inline-end: max(28px, env(safe-area-inset-right, 0px));
  }

  #up-form .glf-progress {
    margin: 26px 0 30px;
  }

  #up-form .glf-progress li {
    min-height: 54px;
    padding: 9px 12px;
    justify-content: flex-start;
    font-size: 14px;
  }

  #up-form .glf-progress li::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  #up-form .glf-step {
    padding: clamp(24px, 3.2vw, 30px);
  }

  #up-form .glf-step-head {
    margin-bottom: 26px;
  }

  #up-form .glf-grid {
    column-gap: 20px;
  }

  #up-form .glf-product-row {
    padding: 20px 18px;
  }
}

/* Full desktop aktiveras först när CSS-viewporten är minst 1024px. */
@media (min-width: 1024px) {
  #up-form {
    padding-block-start: max(clamp(36px, 4vw, 52px), env(safe-area-inset-top, 0px));
    padding-block-end: max(clamp(36px, 4vw, 52px), env(safe-area-inset-bottom, 0px));
    padding-inline-start: max(clamp(36px, 4vw, 52px), env(safe-area-inset-left, 0px));
    padding-inline-end: max(clamp(36px, 4vw, 52px), env(safe-area-inset-right, 0px));
  }

  #up-form .glf-progress {
    margin: 30px 0 34px;
  }

  #up-form .glf-progress li {
    min-height: 58px;
    padding: 10px 12px;
    justify-content: flex-start;
    gap: 9px;
    font-size: 14px;
  }

  #up-form .glf-progress li::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  #up-form .glf-step {
    padding: clamp(30px, 4vw, 42px);
  }

  #up-form .glf-step-head {
    margin-bottom: 28px;
  }

  #up-form .glf-grid {
    column-gap: 22px;
  }

  #up-form .glf-product-row {
    padding: 20px;
  }
}

/* Om formuläret placeras i en smalare container än viewporten vinner innehållets bredd. */
@container glf-form (max-width: 559px) {
  #up-form .glf-grid,
  #up-form .glf-category-quick-grid,
  #up-form .glf-review dl {
    grid-template-columns: minmax(0, 1fr);
  }

  #up-form .glf-prefill-banner,
  #up-form .glf-product-row-head,
  #up-form .glf-review-head,
  #up-form .glf-review-product-head,
  #up-form .glf-nav {
    align-items: stretch;
    flex-direction: column;
  }

  #up-form .glf-prefill-actions,
  #up-form .glf-selected-product-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  #up-form .glf-prefill-remove,
  #up-form .glf-prefill-change,
  #up-form .glf-selected-product-change,
  #up-form .glf-nav .glf-next,
  #up-form .glf-native-submit,
  #up-form .glf-native-submit input[type="submit"],
  #up-form .glf-native-submit button {
    width: 100%;
    margin-left: 0;
  }
}

/* Kort viewport: rotation, webbläsarrad eller tangentbord får bara minska luft, aldrig träffytor. */
@media (max-height: 499px) {
  #up-form {
    padding-block-start: max(8px, env(safe-area-inset-top, 0px));
    padding-block-end: max(8px, env(safe-area-inset-bottom, 0px));
  }

  #up-form .glf-prefill-banner {
    margin-bottom: 14px;
    padding-block: 12px;
  }

  #up-form .glf-progress {
    margin: 12px 0 14px;
  }

  #up-form .glf-progress li {
    min-height: 44px;
    padding-block: 6px;
  }

  #up-form .glf-step {
    padding-block: 14px;
  }

  #up-form .glf-step-head {
    margin-bottom: 14px;
  }

  #up-form .form-group {
    margin-bottom: 14px;
  }

  #up-form .glf-product-row {
    margin-bottom: 14px;
    padding-block: 14px;
  }

  #up-form .glf-category-quick-head {
    margin-bottom: 10px;
  }

  #up-form .glf-quick-description-slot textarea {
    min-height: 72px;
  }

  #up-form .glf-add-row,
  #up-form .glf-review,
  #up-form .glf-optional-contact,
  #up-form .glf-product-details {
    margin-bottom: 14px;
  }

  #up-form .glf-product-details summary {
    min-height: 44px;
    padding-block: 8px;
  }

  #up-form .glf-product-details-grid,
  #up-form .glf-request-details-body {
    padding-top: 12px;
  }

  #up-form .glf-nav {
    margin-top: 18px;
    padding-top: 14px;
  }
}

/* Parentens visualViewport kan aktivera samma kompakta läge i den höjdanpassade iframen. */
#up-form.glf-short-viewport {
  padding-block-start: max(8px, env(safe-area-inset-top, 0px));
  padding-block-end: max(8px, env(safe-area-inset-bottom, 0px));
}

#up-form.glf-short-viewport .glf-prefill-banner,
#up-form.glf-short-viewport .glf-product-row,
#up-form.glf-short-viewport .glf-add-row,
#up-form.glf-short-viewport .glf-review,
#up-form.glf-short-viewport .glf-optional-contact {
  margin-bottom: 14px;
}

#up-form.glf-short-viewport .glf-progress {
  margin: 12px 0 14px;
}

#up-form.glf-short-viewport .glf-step {
  padding-block: 14px;
}

#up-form.glf-short-viewport .glf-step-head {
  margin-bottom: 14px;
}

#up-form.glf-short-viewport .form-group {
  margin-bottom: 14px;
}

#up-form.glf-short-viewport .glf-nav {
  margin-top: 18px;
  padding-top: 14px;
}

#up-form.glf-short-viewport .glf-category-quick-head {
  margin-bottom: 10px;
}

#up-form.glf-short-viewport .glf-quick-description-slot textarea {
  min-height: 72px;
}

#up-form.glf-short-viewport .glf-product-details summary {
  min-height: 44px;
  padding-block: 8px;
}

#up-form.glf-short-viewport .glf-product-details-grid,
#up-form.glf-short-viewport .glf-request-details-body {
  padding-top: 12px;
}

#up-form .iti__country-list {
  max-width: min(360px, calc(100vw - 24px));
  white-space: normal;
}

#up-form .glf-privacy-placeholder {
  display: block;
  margin-top: 6px;
  color: #725c19;
  font-size: 0.875em;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* GLF Upsales Lucide icon refinement. Append to assets/upsales-form.css.
 * Decorative official lucide-static 1.46.0 geometry. Visible labels remain unchanged.
 * No JS, network calls, form submission changes, or cache operations.
 */
@supports ((mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000))) {
  #up-form.glf-enhanced .glf-add-row::before,
  #up-form.glf-enhanced .glf-product-details > summary::after,
  #up-form[data-glf-submit-state="succeeded"] + #up-form-thanks::before {
    content: "";
    display: block;
    background: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  #up-form.glf-enhanced .glf-add-row::before {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12%205v14%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M12%205v14%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
  }
  #up-form.glf-enhanced .glf-product-details > summary::after {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: var(--glf-forest, #073f2f);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
    transform: rotate(0deg);
    transition: transform 160ms ease;
  }
  #up-form.glf-enhanced .glf-product-details[open] > summary::after {
    content: "";
    transform: rotate(180deg);
  }
  #up-form[data-glf-submit-state="succeeded"] + #up-form-thanks::before {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    color: var(--glf-forest, #073f2f);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%3E%3C%2Fcircle%3E%3Cpath%20d%3D%22m16%209-5.5%205.5L8%2012%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%3E%3C%2Fcircle%3E%3Cpath%20d%3D%22m16%209-5.5%205.5L8%2012%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
  }
  @media (prefers-reduced-motion: reduce) {
    #up-form.glf-enhanced .glf-product-details > summary::after { transition: none; }
  }
  @media (forced-colors: active) {
    #up-form.glf-enhanced .glf-add-row::before,
    #up-form.glf-enhanced .glf-product-details > summary::after,
    #up-form[data-glf-submit-state="succeeded"] + #up-form-thanks::before {
      forced-color-adjust: none;
      background: CanvasText;
    }
  }
}

/*
ISC License

Copyright (c) 2026 Lucide Icons and Contributors

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

---

The following Lucide icons are derived from the Feather project:

airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out

The MIT License (MIT) (for the icons listed above)

Copyright (c) 2013-present Cole Bemis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/


/* GLF Native Theme 1.1.0. Additive: the light form and all layout rules stay intact. */
@media screen {
  html[data-glf-color-theme="dark"] {
    color-scheme: dark;
    --glf-ink: #f0eee4;
    --glf-red: #ff9c8f;
    --glf-forest: #bfd2b2;
    --glf-warm: #111a15;
    --glf-white: #18241d;
    --glf-line: #627768;
    --glf-muted: #adbcad;
    background: #111a15;
    color: #d4dace;
  }
  html[data-glf-color-theme="dark"] body,
  html[data-glf-color-theme="dark"] .template-scoped-style,
  html[data-glf-color-theme="dark"] .up-form-wrapper {
    background-color: #111a15 !important;
    color: #d4dace;
  }
  html[data-glf-color-theme="dark"] #up-form {
    --glf-ink: #f0eee4;
    --glf-red: #ff9c8f;
    --glf-forest: #bfd2b2;
    --glf-warm: #111a15;
    --glf-white: #18241d;
    --glf-line: #627768;
    --glf-muted: #adbcad;
  }
  html[data-glf-color-theme="dark"] :is(#up-form, #up-form-thanks, #up-form-thanks-on-demand, #up-event-canceled, #up-form-event-full, #up-event-passed) {
    background-color: #111a15 !important;
    color: #d4dace;
  }
  html[data-glf-color-theme="dark"] :is(#up-form, #up-form-thanks, #up-form-thanks-on-demand) :is(h1,h2,h3,h4,p,label,legend) { color: #f0eee4; }
  html[data-glf-color-theme="dark"] #up-form :is(input,select,textarea)::placeholder { color: #adbcad; opacity: 1; }
  html[data-glf-color-theme="dark"] #up-form :is(input,select,textarea):disabled { color: #adbcad; opacity: .8; }
  html[data-glf-color-theme="dark"] #up-form .glf-progress li { background-color: #213127; }
  html[data-glf-color-theme="dark"] #up-form .glf-progress li[aria-current="step"] { background-color: #18241d; }
  html[data-glf-color-theme="dark"] #up-form .glf-progress li.is-complete:hover { background-color: #304637; }
  html[data-glf-color-theme="dark"] #up-form .glf-choice-group > label:not(:first-child):has(input:checked) { background: #392c29; }
  html[data-glf-color-theme="dark"] #up-form .glf-error-summary { background: #392c29; }
  html[data-glf-color-theme="dark"] #up-form .glf-privacy-placeholder { color: #e3c987; }
  html[data-glf-color-theme="dark"] #up-form :is(#failedId,#up-email-warning) { color: #ff9c8f !important; }
  html[data-glf-color-theme="dark"] #up-form .error-message { background: #8f252b; }
  html[data-glf-color-theme="dark"] #up-form .error-body { color: #fff !important; }
  html[data-glf-color-theme="dark"] #up-form .top-carot { border-bottom-color: #8f252b; }
  html[data-glf-color-theme="dark"] #up-form .up-company-search__menu,
  html[data-glf-color-theme="dark"] .iti__country-list,
  html[data-glf-color-theme="dark"] .iti__dropdown-content { background: #213127; color: #f0eee4; border-color: #627768; }
  html[data-glf-color-theme="dark"] #up-form .up-company-search__menu li { color: #f0eee4; }
  html[data-glf-color-theme="dark"] #up-form .up-company-search__menu li span,
  html[data-glf-color-theme="dark"] .iti__dial-code { color: #adbcad; }
  html[data-glf-color-theme="dark"] #up-form .up-company-search__menu li:is(.is-highlighted,:hover),
  html[data-glf-color-theme="dark"] .iti__country.iti__highlight { background: #304637; color: #f0eee4; }
  html[data-glf-color-theme="dark"] .iti__arrow { border-top-color: #f0eee4; }
  html[data-glf-color-theme="dark"] .iti__arrow--up { border-top-color: transparent; border-bottom-color: #f0eee4; }
  html[data-glf-color-theme="dark"] .iti__selected-country-primary:hover { background: #304637; }
}
