/* ==========================================================================
   Coalesce Vendor Portal — front-end form
   Every rule is scoped under .cvp-root and every class is cvp- prefixed, so
   the form cannot leak styles into the theme and the theme cannot bleed in.
   Mobile-first. Breakpoints: 640px, 700px.
   ========================================================================== */

.cvp-root {
  --cvp-navy:        #3c4a63;
  --cvp-navy-dark:   #2f3b50;
  --cvp-navy-soft:   #8792a8;
  --cvp-teal:        #35bd94;
  --cvp-teal-dark:   #2aa17e;
  --cvp-bg:          #eef0f4;
  --cvp-card:        #ffffff;
  --cvp-text:        #1f2733;
  --cvp-muted:       #6b7688;
  --cvp-border:      #d7dce4;
  --cvp-border-soft: #e6eaf0;
  --cvp-danger:      #dc3545;
  --cvp-danger-bg:   #fdeced;

  --cvp-radius:      10px;
  --cvp-radius-lg:   14px;
  --cvp-shadow:      0 1px 2px rgba(31, 39, 51, .04), 0 8px 28px rgba(31, 39, 51, .07);
  --cvp-focus:       0 0 0 3px rgba(60, 74, 99, .18);

  max-width: 820px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cvp-text);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.cvp-root *,
.cvp-root *::before,
.cvp-root *::after { box-sizing: border-box; }

/* The wizard hides steps and branches with the hidden attribute. A theme that
   sets display on any of these selectors would otherwise reveal them all. */
.cvp-root [hidden] { display: none !important; }

/* ---------- Header ------------------------------------------------------- */
.cvp-root .cvp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  background: var(--cvp-navy);
  color: #fff;
  border-radius: var(--cvp-radius);
}
.cvp-root .cvp-brand { display: flex; align-items: center; gap: 10px; }
.cvp-root .cvp-brand-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--cvp-teal);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}
.cvp-root .cvp-brand-name { font-weight: 600; letter-spacing: .2px; }
.cvp-root .cvp-header-tag {
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

/* ---------- Card --------------------------------------------------------- */
.cvp-root .cvp-card {
  background: var(--cvp-card);
  border-radius: var(--cvp-radius-lg);
  box-shadow: var(--cvp-shadow);
  overflow: hidden;
}
.cvp-root .cvp-card-head {
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--cvp-border-soft);
  text-align: center;
}
.cvp-root .cvp-title {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.2px;
  color: var(--cvp-text);
}
.cvp-root .cvp-card-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--cvp-muted);
}
.cvp-root .cvp-req { color: var(--cvp-danger); }

/* ---------- Stepper ------------------------------------------------------ */
.cvp-root .cvp-stepper { padding: 20px 18px 4px; }
.cvp-root .cvp-stepper[hidden] { display: none; }

.cvp-root .cvp-stepper-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cvp-root .cvp-stepper-list li { margin: 0; }

.cvp-root .cvp-stepper-mobile { display: block; }
.cvp-root .cvp-progress-track {
  height: 6px;
  border-radius: 99px;
  background: var(--cvp-border-soft);
  overflow: hidden;
}
.cvp-root .cvp-progress-fill {
  height: 100%;
  width: 25%;
  border-radius: 99px;
  background: var(--cvp-navy);
  transition: width .28s ease;
}
.cvp-root .cvp-stepper-mobile-label {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--cvp-muted);
}
.cvp-root .cvp-stepper-mobile-label [data-mobile-name] {
  color: var(--cvp-text);
  font-weight: 600;
}

@media (min-width: 700px) {
  .cvp-root .cvp-stepper-mobile { display: none; }
  .cvp-root .cvp-stepper-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .cvp-root .cvp-step {
    position: relative;
    text-align: center;
    padding: 0 4px;
    list-style: none;
  }
  .cvp-root .cvp-step::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--cvp-border);
    z-index: 0;
  }
  .cvp-root .cvp-step:first-child::before { display: none; }
  .cvp-root .cvp-step.is-done::before,
  .cvp-root .cvp-step.is-active::before { background: var(--cvp-navy); }

  .cvp-root .cvp-step-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--cvp-navy-soft);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: background .2s ease, box-shadow .2s ease;
  }
  .cvp-root .cvp-step.is-done .cvp-step-dot { background: var(--cvp-navy); }
  .cvp-root .cvp-step.is-active .cvp-step-dot {
    background: var(--cvp-navy);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--cvp-navy);
  }
  .cvp-root .cvp-step-label {
    display: block;
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--cvp-navy-soft);
    max-width: 150px;
    margin: 0 auto;
  }
  .cvp-root .cvp-step.is-active .cvp-step-label,
  .cvp-root .cvp-step.is-done .cvp-step-label { color: var(--cvp-text); font-weight: 500; }
}

/* ---------- Form layout -------------------------------------------------- */
.cvp-root .cvp-form { padding: 8px 18px 22px; margin: 0; }
.cvp-root .cvp-form[hidden] { display: none; }

.cvp-root .cvp-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cvp-root .cvp-fieldset[hidden] { display: none; }

.cvp-root .cvp-field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.cvp-root .cvp-field[hidden] { display: none; }

.cvp-root .cvp-field > label,
.cvp-root .cvp-field > legend {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 7px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--cvp-text);
  text-transform: none;
  letter-spacing: 0;
}

.cvp-root .cvp-field-row { display: grid; gap: 0; }
@media (min-width: 640px) {
  .cvp-root .cvp-field-row { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}

.cvp-root .cvp-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--cvp-muted); }

.cvp-root .cvp-err {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--cvp-danger);
  display: none;
}
.cvp-root .cvp-err.is-shown { display: block; }

/* ---------- Inputs ------------------------------------------------------- */
.cvp-root input[type="text"],
.cvp-root input[type="tel"],
.cvp-root input[type="email"],
.cvp-root textarea,
.cvp-root select {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--cvp-text);
  background-color: #fff;
  border: 1px solid var(--cvp-border);
  border-radius: var(--cvp-radius);
  padding: 11px 13px;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.cvp-root textarea { resize: vertical; min-height: 88px; }

.cvp-root input::placeholder,
.cvp-root textarea::placeholder { color: #a8b1c0; opacity: 1; }

.cvp-root input:focus,
.cvp-root textarea:focus,
.cvp-root select:focus {
  outline: none;
  border-color: var(--cvp-navy);
  box-shadow: var(--cvp-focus);
}

.cvp-root select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%236b7688' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
  cursor: pointer;
}

.cvp-root .is-invalid,
.cvp-root .is-invalid:focus {
  border-color: var(--cvp-danger) !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, .14) !important;
}

/* ---------- Phone + suffix groups ---------------------------------------- */
.cvp-root .cvp-phone-group { display: flex; gap: 8px; }
.cvp-root .cvp-phone-group .cvp-dial {
  flex: 0 0 116px;
  width: 116px;
  padding-right: 30px;
  background-position: right 9px center;
  font-size: 14px;
}
.cvp-root .cvp-phone-group input { flex: 1 1 auto; min-width: 0; }

.cvp-root .cvp-suffix-group { display: flex; align-items: center; gap: 10px; }
.cvp-root .cvp-suffix-group input { flex: 1 1 auto; min-width: 0; }
.cvp-root .cvp-suffix {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--cvp-muted);
  letter-spacing: .5px;
}

/* ---------- Checkbox / radio --------------------------------------------- */
.cvp-root .cvp-checkbox,
.cvp-root .cvp-radio {
  /* Contains the visually hidden input, so it cannot escape to the top-left
     of the page and drag focus/scroll with it. */
  position: relative;
  /* !important because themes keep resetting label display to block, which
     drops the box onto its own line and leaves the text unaligned under it. */
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 2px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--cvp-text);
  user-select: none;
}
/* The real control is stretched invisibly across the whole row rather than
   collapsed to 0x0. A click then lands on the input itself and never depends on
   the browser forwarding it from the label — which is what stopped these ticking
   at all under some themes. */
.cvp-root .cvp-checkbox > input,
.cvp-root .cvp-radio > input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.cvp-root .cvp-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}
.cvp-root .cvp-box {
  /* inline-block, not the default inline: an inline span ignores width and
     height, so if a theme overrides the flex on the label the box collapses to
     a 1px sliver and there is nothing left to tick. */
  display: inline-block;
  flex: 0 0 auto;
  width: 19px; height: 19px;
  margin-top: 1px;
  border: 1.5px solid var(--cvp-border);
  border-radius: 5px;
  background: #fff;
  position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.cvp-root .cvp-box::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 4px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .15s ease;
}
/* Two ways to paint the tick: the native :checked sibling rule, and an .is-on
   class set from JS. Either alone is enough, so a theme that breaks the sibling
   relationship cannot leave the box looking permanently empty. */
.cvp-root .cvp-checkbox input:checked + .cvp-box,
.cvp-root .cvp-checkbox.is-on .cvp-box { background: var(--cvp-teal); border-color: var(--cvp-teal); }
.cvp-root .cvp-checkbox input:checked + .cvp-box::after,
.cvp-root .cvp-checkbox.is-on .cvp-box::after { transform: rotate(45deg) scale(1); }
.cvp-root .cvp-checkbox input:focus-visible + .cvp-box,
.cvp-root .cvp-radio input:focus-visible + .cvp-dot { box-shadow: var(--cvp-focus); }

/* The document choice is a set of selectable cards, so the picked one is
   obvious at a glance rather than resting on a 7px dot. */
.cvp-root .cvp-radio-field .cvp-radio {
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 13px 15px;
  border: 1.5px solid var(--cvp-border);
  border-radius: var(--cvp-radius);
  background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.cvp-root .cvp-radio-field .cvp-radio:hover { border-color: var(--cvp-navy-soft); }
.cvp-root .cvp-radio-field .cvp-radio.is-on {
  border-color: var(--cvp-teal);
  background: rgba(53, 189, 148, .08);
  box-shadow: 0 0 0 1px var(--cvp-teal);
}
.cvp-root .cvp-radio-text { display: block; }
.cvp-root .cvp-radio-text strong {
  display: block;
  font-weight: 600;
  color: var(--cvp-text);
}
.cvp-root .cvp-radio-text small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--cvp-muted);
}
.cvp-root .cvp-radio-field .cvp-radio.is-on .cvp-radio-text strong { color: var(--cvp-teal-dark); }

/* Belt and braces on the inner dot: the JS class drives the card, but the
   native :checked state should still paint it if the class ever goes missing. */
.cvp-root .cvp-radio.is-on .cvp-dot { border-color: var(--cvp-teal); }
.cvp-root .cvp-radio.is-on .cvp-dot::after { transform: scale(1); }
.cvp-root .cvp-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 19px; height: 19px;
  margin-top: 1px;
  border: 1.5px solid var(--cvp-border);
  border-radius: 50%;
  background: #fff;
  position: relative;
  transition: border-color .15s ease;
}
.cvp-root .cvp-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--cvp-teal);
  transform: scale(0);
  transition: transform .15s ease;
}
.cvp-root .cvp-radio input:checked + .cvp-dot { border-color: var(--cvp-teal); }
.cvp-root .cvp-radio input:checked + .cvp-dot::after { transform: scale(1); }

/* ---------- Service chips ------------------------------------------------ */
.cvp-root .cvp-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.cvp-root .cvp-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--cvp-border);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 400;
  color: var(--cvp-text);
  background: #fff;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.cvp-root .cvp-tick {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--cvp-border);
  display: grid;
  place-items: center;
  font-size: 9px;
  line-height: 1;
  color: transparent;
  transition: all .15s ease;
}
.cvp-root .cvp-chip:hover { border-color: var(--cvp-navy-soft); }
.cvp-root .cvp-chip.is-on {
  background: rgba(53, 189, 148, .1);
  border-color: var(--cvp-teal);
  color: var(--cvp-teal-dark);
  font-weight: 500;
}
.cvp-root .cvp-chip.is-on .cvp-tick { background: var(--cvp-teal); border-color: var(--cvp-teal); color: #fff; }
.cvp-root .cvp-chip:focus-within { box-shadow: var(--cvp-focus); }

/* Once the cap is reached the remaining chips are visibly out of reach. */
.cvp-root .cvp-chip.is-locked {
  opacity: .45;
  cursor: not-allowed;
  background: #f7f8fa;
}
.cvp-root .cvp-chip.is-locked:hover { border-color: var(--cvp-border); }

.cvp-root .cvp-chips-count {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--cvp-muted);
}
.cvp-root .cvp-chips-count.is-full { color: var(--cvp-teal-dark); font-weight: 500; }

/* ---------- "Others" entries -------------------------------------------- */
.cvp-root .cvp-other { margin-top: 18px; }

.cvp-root .cvp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.cvp-root .cvp-tags:empty { margin: 0; }

.cvp-root .cvp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 8px 6px 13px;
  border-radius: 99px;
  background: rgba(60, 74, 99, .08);
  color: var(--cvp-text);
  font-size: 13.5px;
  line-height: 1.4;
}
.cvp-root .cvp-tag-x {
  display: grid;
  place-items: center;
  width: 19px; height: 19px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(60, 74, 99, .16);
  color: var(--cvp-navy);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cvp-root .cvp-tag-x:hover { background: var(--cvp-danger); color: #fff; }

.cvp-root .cvp-tag-add { display: flex; gap: 8px; }
.cvp-root .cvp-tag-add input { flex: 1 1 auto; min-width: 0; }
.cvp-root .cvp-tag-btn {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 0 20px;
  border: 0;
  border-radius: var(--cvp-radius);
  background: var(--cvp-navy);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}
.cvp-root .cvp-tag-btn:hover { background: var(--cvp-navy-dark); }
.cvp-root .cvp-tag-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- File upload -------------------------------------------------- */
.cvp-root .cvp-file-drop {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1.5px dashed var(--cvp-border);
  border-radius: var(--cvp-radius);
  padding: 15px 14px;
  background: #fbfcfd;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.cvp-root .cvp-file-drop:hover { border-color: var(--cvp-navy-soft); background: #f7f9fb; }
.cvp-root .cvp-file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.cvp-root .cvp-file-name {
  font-size: 14px;
  color: var(--cvp-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.cvp-root .cvp-file-drop.has-file {
  border-style: solid;
  border-color: var(--cvp-teal);
  background: rgba(53, 189, 148, .06);
}
.cvp-root .cvp-file-drop.has-file .cvp-file-name { color: var(--cvp-teal-dark); font-weight: 500; }
.cvp-root .cvp-file-icon { flex: 0 0 auto; color: var(--cvp-muted); font-size: 16px; }
.cvp-root .cvp-file-drop.is-invalid { border-color: var(--cvp-danger) !important; background: var(--cvp-danger-bg); }

/* Above the file input, which covers the whole drop zone. Without the higher
   stacking order the click would fall through and reopen the file dialog. */
.cvp-root .cvp-file-clear {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 39, 51, .08);
  color: var(--cvp-muted);
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cvp-root .cvp-file-clear:hover { background: var(--cvp-danger); color: #fff; }
.cvp-root .cvp-file-clear:focus-visible { outline: none; box-shadow: var(--cvp-focus); }
.cvp-root .cvp-file-clear[hidden] { display: none; }

/* ---------- Branches ----------------------------------------------------- */
.cvp-root .cvp-branch {
  border-top: 1px solid var(--cvp-border-soft);
  padding-top: 20px;
  margin-top: 4px;
}
.cvp-root .cvp-branch[hidden] { display: none; }
.cvp-root .cvp-branch-title {
  margin: 0 0 16px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--cvp-text);
}

/* ---------- Form-level error --------------------------------------------- */
.cvp-root .cvp-form-error {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-radius: var(--cvp-radius);
  background: var(--cvp-danger-bg);
  border: 1px solid #f5c2c7;
  color: #a52834;
  font-size: 13.5px;
}
.cvp-root .cvp-form-error[hidden] { display: none; }

/* ---------- Actions ------------------------------------------------------ */
.cvp-root .cvp-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.cvp-root .cvp-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
  border: 0;
  border-radius: 99px;
  padding: 11px 34px;
  min-width: 118px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  transition: background .15s ease, transform .05s ease, opacity .15s ease;
}
.cvp-root .cvp-btn:active { transform: translateY(1px); }
.cvp-root .cvp-btn:focus-visible { outline: none; box-shadow: var(--cvp-focus); }
.cvp-root .cvp-btn[hidden] { display: none; }

.cvp-root .cvp-btn-primary,
.cvp-root .cvp-btn-ghost { background: var(--cvp-navy); color: #fff; }
.cvp-root .cvp-btn-primary:hover,
.cvp-root .cvp-btn-ghost:hover { background: var(--cvp-navy-dark); color: #fff; }
.cvp-root .cvp-btn-submit { background: var(--cvp-teal); color: #fff; }
.cvp-root .cvp-btn-submit:hover { background: var(--cvp-teal-dark); color: #fff; }
.cvp-root .cvp-btn:disabled { opacity: .6; cursor: not-allowed; }

.cvp-root .cvp-spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cvp-spin .7s linear infinite;
}
.cvp-root .cvp-btn.is-busy .cvp-spinner { display: inline-block; }
@keyframes cvp-spin { to { transform: rotate(360deg); } }

.cvp-root .cvp-page-count {
  margin: 16px 0 0;
  text-align: right;
  font-size: 13px;
  color: var(--cvp-muted);
}

/* ---------- Success ------------------------------------------------------ */
.cvp-root .cvp-success { padding: 44px 22px 48px; text-align: center; }
.cvp-root .cvp-success[hidden] { display: none; }
.cvp-root .cvp-success-mark {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(53, 189, 148, .14);
  color: var(--cvp-teal-dark);
  display: grid;
  place-items: center;
  font-size: 28px;
}
.cvp-root .cvp-success h2 { margin: 0 0 8px; padding: 0; font-size: 21px; color: var(--cvp-text); }
.cvp-root .cvp-success p { margin: 0 auto 14px; max-width: 460px; color: var(--cvp-muted); font-size: 14.5px; }
.cvp-root .cvp-ref {
  display: inline-block;
  margin: 10px auto 18px;
  padding: 12px 26px;
  border-radius: var(--cvp-radius);
  background: var(--cvp-bg);
  color: var(--cvp-muted);
  font-size: 12.5px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.cvp-root .cvp-ref strong {
  display: inline-block;
  margin-top: 4px;
  font-size: 17px;
  letter-spacing: .5px;
  color: var(--cvp-text);
  text-transform: none;
}
.cvp-root .cvp-success-note { font-size: 13px; }

/* ---------- Footer ------------------------------------------------------- */
.cvp-root .cvp-footer-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--cvp-muted);
}
.cvp-root .cvp-footer-note a { color: var(--cvp-navy); }

/* ---------- Sample data toolbar (admin only) ----------------------------- */
.cvp-root .cvp-demo {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px dashed #c3a253;
  border-radius: var(--cvp-radius);
  background: #fdf8ea;
}
.cvp-root .cvp-demo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cvp-root .cvp-demo-tag {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 3px;
  background: #c3a253;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.cvp-root .cvp-demo-select {
  flex: 1 1 220px;
  width: auto;
  min-width: 0;
  padding: 7px 30px 7px 10px;
  font-size: 13px;
  background-position: right 9px center;
  border-color: #e0d3ae;
}
.cvp-root .cvp-demo-btn {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: #8a6d1f;
  color: #fff;
  cursor: pointer;
  transition: background .15s ease;
}
.cvp-root .cvp-demo-btn:hover { background: #6f5717; }
.cvp-root .cvp-demo-btn-ghost {
  background: transparent;
  color: #8a6d1f;
  box-shadow: inset 0 0 0 1px #d8c493;
}
.cvp-root .cvp-demo-btn-ghost:hover { background: #f6ecd4; }
.cvp-root .cvp-demo-msg {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #6f5717;
}
.cvp-root .cvp-demo-msg[hidden] { display: none; }
.cvp-root .cvp-demo-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #9a8354;
}

/* ---------- Bulk import panel (admin only) ------------------------------- */
.cvp-root .cvp-import {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ddc89a;
}
.cvp-root .cvp-import-title {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #6f5717;
}
.cvp-root .cvp-import-hint {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #9a8354;
}
.cvp-root .cvp-import-hint a { color: #6f5717; }

.cvp-root .cvp-import-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cvp-root .cvp-import-row input[type="file"] {
  flex: 1 1 200px;
  min-width: 0;
  font-size: 12.5px;
  padding: 6px;
  border: 1px solid #e0d3ae;
  border-radius: 6px;
  background: #fff;
}

.cvp-root .cvp-import-out {
  margin-top: 12px;
  padding: 10px 12px;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e8dcc0;
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.55;
}
.cvp-root .cvp-import-out[hidden] { display: none; }
.cvp-root .cvp-import-sum { margin: 0 0 6px; color: var(--cvp-text); }
.cvp-root .cvp-import-queued {
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: #f3f6fb;
  color: var(--cvp-navy);
}
.cvp-root .cvp-import-queued .cvp-demo-btn { margin-left: 6px; }
.cvp-root .cvp-import-bad  { color: var(--cvp-danger); }
.cvp-root .cvp-import-warn { color: #8a6d1f; }

.cvp-root .cvp-import-list {
  margin: 6px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
}
.cvp-root .cvp-import-list li {
  padding: 4px 0;
  border-top: 1px solid #f2ece0;
  word-break: break-word;
}

/* ---------- Honeypot ----------------------------------------------------- */
.cvp-root .cvp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Larger screens ----------------------------------------------- */
@media (min-width: 700px) {
  .cvp-root .cvp-card-head { padding: 30px 34px 22px; }
  .cvp-root .cvp-title { font-size: 26px; }
  .cvp-root .cvp-stepper { padding: 28px 34px 6px; }
  .cvp-root .cvp-form { padding: 22px 34px 30px; }
  .cvp-root .cvp-success { padding: 60px 34px 64px; }
}

/* ---------- Motion preference -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cvp-root *,
  .cvp-root *::before,
  .cvp-root *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ==========================================================================
   Coalesce Vendor Portal — admin screens
   ========================================================================== */

.cvp-wrap .cvp-notice {
  background: #fff;
  border: 1px solid #dcdcde;
  border-left: 4px solid #2271b1;
  padding: 10px 14px;
  margin: 16px 0;
}
.cvp-wrap .cvp-notice p { margin: .4em 0; }

.cvp-wrap .search-form { margin: 6px 0 12px; }
.cvp-wrap .cvp-muted { color: #646970; font-size: 12px; }

/* ---------- List --------------------------------------------------------- */
.cvp-table td { vertical-align: top; }
.cvp-table code { font-size: 12px; }

.cvp-status {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}
.cvp-status-pending      { background: #fdf6e3; color: #8a6d1f; }
.cvp-status-under_review { background: #e7f2fb; color: #1c5d99; }
.cvp-status-approved     { background: #e6f6f0; color: #1c7c5c; }
.cvp-status-rejected     { background: #fdeced; color: #a52834; }
.cvp-status-blacklisted  { background: #2f3b50; color: #fff; }

.cvp-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.cvp-badge-ok   { background: #e6f6f0; color: #1c7c5c; }
.cvp-badge-warn { background: #fdf6e3; color: #8a6d1f; }
.cvp-badge-bad  { background: #fdeced; color: #a52834; }

.cvp-sheet-err {
  margin-top: 3px;
  max-width: 190px;
  word-break: break-word;
  line-height: 1.4;
}

/* ---------- Clear all ---------------------------------------------------- */
.cvp-wrap .cvp-clear-toggle { color: #a52834; border-color: #e2b4b9; }
.cvp-wrap .cvp-clear-toggle:hover { color: #fff; background: #a52834; border-color: #a52834; }

.cvp-danger-zone {
  margin: 16px 0;
  padding: 14px 18px 18px;
  background: #fff;
  border: 1px solid #f0c2c6;
  border-left: 4px solid #a52834;
  border-radius: 4px;
}
.cvp-danger-zone[hidden] { display: none; }
.cvp-danger-zone h2 { margin: 0 0 6px; font-size: 14px; color: #a52834; }
.cvp-danger-zone p { margin: 0 0 12px; max-width: 70ch; }

.cvp-clear-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cvp-clear-form label { font-weight: 500; }

.cvp-test-form { margin-top: -10px; }

/* ---------- Detail ------------------------------------------------------- */
.cvp-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
  align-items: start;
}
@media (min-width: 1100px) {
  .cvp-detail { grid-template-columns: minmax(0, 1fr) 340px; }
}

.cvp-panel {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  padding: 14px 18px 18px;
  margin-bottom: 18px;
}
.cvp-panel h2 {
  margin: 0 0 10px;
  padding: 0 0 8px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f1;
}
.cvp-panel-danger { border-color: #f0c2c6; }
.cvp-panel-danger h2 { color: #a52834; }

.cvp-kv { width: 100%; border-collapse: collapse; }
.cvp-kv th {
  width: 190px;
  text-align: left;
  vertical-align: top;
  padding: 7px 12px 7px 0;
  font-weight: 500;
  color: #646970;
  font-size: 13px;
}
.cvp-kv td {
  padding: 7px 0;
  vertical-align: top;
  word-break: break-word;
}

.cvp-docs { margin: 0; padding: 0; list-style: none; }
.cvp-docs li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}
.cvp-docs li:last-child { border-bottom: 0; }
.cvp-docs a { font-weight: 500; }

.cvp-meta {
  padding: 10px 12px;
  background: #f6f7f7;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.7;
}
