.jb-credit-clip,
.jb-credit-clip * {
  box-sizing: border-box;
}

.jb-credit-clip {
  width: 100%;
  color: #172033;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jb-credit-clip[hidden],
.jb-credit-clip [hidden] {
  display: none !important;
}

.jb-credit-clip-remote {
  width: 100%;
  overflow: hidden;
}

.jb-credit-clip iframe[data-jbcc-iframe] {
  width: 100%;
  max-width: 100%;
  border: 0;
  display: block;
  overflow: hidden;
}

.jbcc-remote-loader {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: #596273;
  background: #f6f8fb;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  font-weight: 600;
}

.jb-credit-clip-fallback {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  background: none;
  border: none;
  border-radius: 8px;
}

.jbcc-form {
  display: grid;
  gap: 18px;
}

.jbcc-panel {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #dbe4ef;
  border-radius: 7px;
}

.jbcc-alert {
  display: grid;
  gap: 5px;
  border-color: #f1c56d;
  background: #fff9ec;
}

.jbcc-alert strong {
  color: #172033;
  font-size: 1rem;
  font-weight: 600;
}

.jbcc-alert span {
  color: #6c7484;
  font-size: 0.92rem;
}

.jbcc-static-fallback {
  display: grid;
  gap: 18px;
}

.jbcc-grid {
  display: grid;
  gap: 14px;
}

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

.jbcc-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jbcc-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jbcc-span-2 {
  grid-column: span 2;
}

.jbcc-static-fallback label {
  display: grid;
  gap: 7px;
  color: #3e4654;
  font-size: 0.84rem;
  font-weight: 600;
}

.jbcc-static-fallback input,
.jbcc-static-fallback select {
  min-height: 52px;
  width: 100%;
  padding: 12px 14px;
  color: #111827;
  background: #ffffff;
  border: 1px solid #cfd8e6;
  border-radius: 5px;
  font: inherit;
  font-weight: 500;
}

.jbcc-static-fallback input:focus,
.jbcc-static-fallback select:focus {
  outline: 2px solid rgba(241, 181, 74, 0.35);
  border-color: #e8aa35;
}

.jbcc-result {
  display: grid;
  align-content: center;
  min-height: 52px;
  padding: 12px 14px;
  background: #294563;
  color: #ffffff;
  border-radius: 5px;
}

.jbcc-result span {
  color: #dbe7f4;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.jbcc-result strong {
  margin-top: 2px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
}

.jbcc-section-title {
  padding-top: 6px;
  color: #172033;
  font-size: 1.05rem;
  font-weight: 600;
}

.jbcc-consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px !important;
}

.jbcc-consent input {
  width: 18px;
  min-height: 18px;
}

.jbcc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.jbcc-submit {
  min-height: 50px;
  padding: 0 22px;
  color: #172033;
  background: #f1b54a;
  border: 1px solid #e0a437;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.jbcc-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.jbcc-status {
  color: #596273;
  font-weight: 600;
}

.jbcc-simulator-hero {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 0 22px;
  text-align: center;
}

.jbcc-simulator-hero p {
  margin: 0;
  color: #8a92a2;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jbcc-simulator-hero h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0;
}

.jbcc-simulator-hero span {
  color: #8a92a2;
  font-size: 1.03rem;
  font-weight: 600;
}

.jbcc-credit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.08fr) minmax(290px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.jbcc-credit-panel,
.jbcc-credit-summary,
.jbcc-guided-main,
.jbcc-guided-summary,
.jbcc-guided-stepper,
.jbcc-flow-stepper {
  background: #ffffff;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
}

.jbcc-credit-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px 24px;
}

.jbcc-credit-panel h3,
.jbcc-credit-summary h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe6f0;
  color: #333333;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 600;
}

.jbcc-credit-panel h3 span,
.jbcc-credit-summary h3 span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  background: #f4b24b;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
}

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

.jbcc-category-grid button {
  min-width: 0;
  min-height: 50px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 10px;
  color: #3f3f3f;
  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 7px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.jbcc-category-grid button i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #5f6673;
  background: #f4f6f9;
  border-radius: 9px;
  font-style: normal;
}

.jbcc-category-grid button i svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jbcc-category-label {
  min-width: 0;
  display: block;
  color: inherit;
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
}

.jbcc-category-grid button.active {
  color: #ffffff;
  background: #f4b24b;
  border-color: #f4b24b;
}

.jbcc-category-grid button.active i {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.jbcc-selected-product {
  display: grid;
  gap: 6px;
  min-height: 72px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid #dfe6f0;
  border-radius: 6px;
  background: #fbfcff;
}

.jbcc-selected-product span {
  color: #8a92a2;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
}

.jbcc-selected-product strong {
  color: #172033;
  font-size: 1rem;
  font-weight: 600;
}

.jbcc-duration-title {
  margin: 2px 0 -4px;
  color: #333333;
  font-size: 1.12rem;
  font-weight: 600;
}

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

.jbcc-duration-grid button {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 12px;
  color: #4b5565;
  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
}

.jbcc-duration-grid button strong {
  font-size: 1.08rem;
  font-weight: 600;
}

.jbcc-duration-grid button span {
  color: #707786;
  font-size: 0.92rem;
  font-weight: 600;
}

.jbcc-duration-grid button.active {
  color: #ffffff;
  background: #f4b24b;
  border-color: #f4b24b;
}

.jbcc-duration-grid button.active span {
  color: #fff3df;
}

.jbcc-credit-summary {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 26px 24px;
  color: #ffffff;
  background: #294563;
  border-color: #294563;
}

.jbcc-credit-summary h3 {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.jbcc-credit-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.jbcc-credit-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.jbcc-credit-summary dt,
.jbcc-credit-summary dd {
  margin: 0;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.2;
  font-weight: 600;
}

.jbcc-credit-summary dd {
  text-align: right;
}

.jbcc-monthly-box {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.jbcc-monthly-box span {
  color: #ffffff;
  font-weight: 600;
}

.jbcc-monthly-box strong {
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 600;
  white-space: pre-line;
  text-align: center;
}

.jbcc-primary,
.jbcc-secondary,
.jbcc-add-row,
.jbcc-credit-row-header button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
}

.jbcc-primary {
  color: #ffffff;
  background: #f4b24b;
  border: 1px solid #f4b24b;
}

.jbcc-primary:disabled {
  cursor: wait;
  opacity: 0.72;
}

.jbcc-secondary,
.jbcc-add-row,
.jbcc-credit-row-header button {
  color: #294563;
  background: #ffffff;
  border: 1px solid #d9e0ec;
}

.jbcc-start-button {
  width: 100%;
  min-height: 56px;
  margin-top: auto;
  font-size: 1.05rem;
}

.jbcc-flow-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  margin-bottom: 18px;
}

.jbcc-flow-step {
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 10px 12px;
  color: #6b7280;
  background: #fbfcff;
  border: 1px solid #dfe6f0;
  border-radius: 7px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.jbcc-flow-step span {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #6b7280;
  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
}

.jbcc-flow-step strong,
.jbcc-flow-step small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jbcc-flow-step strong {
  color: #172033;
  font-size: 0.9rem;
  line-height: 1.1;
  font-weight: 600;
}

.jbcc-flow-step small {
  color: #7a8291;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 600;
}

.jbcc-flow-step.active,
.jbcc-flow-step.done {
  border-color: #f4b24b;
}

.jbcc-flow-step.active {
  background: #fff8eb;
}

.jbcc-flow-step.active span,
.jbcc-flow-step.done span {
  color: #ffffff;
  background: #f4b24b;
  border-color: #f4b24b;
}

.jbcc-flow-step:disabled {
  cursor: default;
  opacity: 0.62;
}

.jbcc-guided-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.jbcc-guided-top .jbcc-flow-stepper {
  margin-bottom: 0;
}

.jbcc-guided-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
}

.jbcc-guided-summary div {
  min-height: 42px;
  display: grid;
  align-content: center;
  gap: 10px;
  border-left: 1px solid #edf1f6;
  padding: 9px 13px;
}

.jbcc-guided-summary div:first-child {
  border-left: 0;
}

.jbcc-guided-summary span,
.jbcc-guided-summary strong {
  color: #172033;
  font-size: 0.82rem;
  line-height: 1.2;
}

.jbcc-guided-summary span {
  font-weight: 500;
}

.jbcc-guided-summary strong {
  font-weight: 600;
}

.jbcc-guided-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.jbcc-guided-step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  color: #6b7280;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.jbcc-guided-step span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #6b7280;
  border: 1px solid #dce3ed;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
}

.jbcc-guided-step strong {
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.15;
  font-weight: 600;
}

.jbcc-guided-step.active,
.jbcc-guided-step.done {
  color: #d99420;
}

.jbcc-guided-step.active span,
.jbcc-guided-step.done span {
  color: #ffffff;
  background: #f4b24b;
  border-color: #f4b24b;
}

.jbcc-guided-main {
  padding: 20px 24px 24px;
}

.jbcc-progress {
  height: 6px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #e9edf3;
  border-radius: 999px;
}

.jbcc-progress span {
  display: block;
  height: 100%;
  background: #f4b24b;
}

.jbcc-form-header {
  display: grid;
  gap: 3px;
  margin-bottom: 20px;
}

.jbcc-form-header p {
  margin: 0;
  color: #7a8291;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.jbcc-form-header h2 {
  margin: 0;
  color: #244866;
  font-size: 1.55rem;
  line-height: 1.12;
  font-weight: 600;
}

.jbcc-step-fields,
.jbcc-guided-card,
.jbcc-card-block {
  display: grid;
  gap: 18px;
}

.jbcc-card-required {
  color: #6d7687;
  font-size: 0.78rem;
  font-weight: 600;
}

.jbcc-card-block {
  border-top: 1px solid #edf1f6;
  padding-top: 22px;
}

.jbcc-card-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.jbcc-card-block h3 {
  margin: 0;
  color: #3f3f3f;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 600;
}

.jbcc-card-block p {
  margin: 0 0 -4px;
  color: #7a8291;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.jbcc-public-field-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px 14px;
}

.jbcc-public-field {
  position: relative;
  display: grid;
  gap: 8px;
  color: #343a40;
  font-size: 14px;
  font-weight: 600;
}

.jbcc-public-field-label {
  color: #464646;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 600;
}

.jbcc-public-field.floating .jbcc-public-field-label {
  position: absolute;
  top: 10px;
  left: 16px;
  z-index: 1;
  max-width: calc(100% - 54px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jbcc-public-field input,
.jbcc-public-field select,
.jbcc-public-field textarea {
  min-height: 55px;
  width: 100%;
  border: 1px solid #b0b0b0;
  border-radius: 3px;
  padding: 20px 40px 5px 15px;
  color: #000000;
  background-color: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 400;
}

.jbcc-public-field textarea {
  min-height: 92px;
  resize: vertical;
}

.jbcc-public-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='11' viewBox='0 0 18 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L9 9L16 2' stroke='%23151515' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 12px 11px;
  padding-right: 62px;
}

.jbcc-public-field input[type="date"] {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4.75' y='5.75' width='14.5' height='14.5' rx='1.4' stroke='%23000000' stroke-width='1.9'/%3E%3Cpath d='M8 3.75V7.25M16 3.75V7.25M5 9.25H19' stroke='%23000000' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  padding-right: 66px;
}

.jbcc-public-field.is-plain-select select {
  padding-top: 0;
  padding-bottom: 0;
}

.jbcc-public-field input:focus,
.jbcc-public-field select:focus,
.jbcc-public-field textarea:focus {
  outline: 0;
  border-color: #f4b24b;
  box-shadow: 0 0 0 3px rgba(244, 178, 75, 0.18);
}

.jbcc-public-field.is-invalid input,
.jbcc-public-field.is-invalid select,
.jbcc-public-field.is-invalid textarea,
.jbcc-public-checkbox.is-invalid,
.jbcc-privacy-consent.is-invalid {
  border-color: #c2410c;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12);
}

.jbcc-required-mark {
  margin-left: 2px;
  color: #c2410c;
}

.jbcc-public-checkbox,
.jbcc-privacy-consent {
  display: flex;
  grid-column: span 12;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #343a40;
  font-size: 0.9rem;
  font-weight: 600;
}

.jbcc-public-checkbox input,
.jbcc-privacy-consent input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
}

.jbcc-borrower-choice {
  display: grid;
  gap: 10px;
  margin: 0 0 4px;
}

.jbcc-borrower-choice p {
  margin: 0;
  color: #3f3f3f;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 600;
}

.jbcc-borrower-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jbcc-borrower-options button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dde2ec;
  border-radius: 8px;
  background: #ffffff;
  color: #3f3f3f;
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
}

.jbcc-borrower-options button.active {
  border-color: #f4b24b;
  background: #f4b24b;
  color: #ffffff;
}

.jbcc-applicant-heading {
  margin-top: 4px;
  color: #244866;
  font-size: 0.95rem;
  font-weight: 600;
}

.jbcc-credit-row {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: #fbfcff;
  border: 1px solid #dfe6f0;
  border-radius: 6px;
}

.jbcc-credit-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jbcc-add-row {
  width: fit-content;
}

.jbcc-form-error {
  margin-top: 16px;
  padding: 12px 14px;
  color: #8a3417;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.jbcc-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 18px;
}

.jbcc-confirmation {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 52px 18px;
  color: #2f4a68;
  background: #ffffff;
}

.jbcc-confirmation-inner {
  width: min(100%, 720px);
  text-align: center;
}

.jbcc-confirmation-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.jbcc-confirmation-brand span {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 999px;
  background: conic-gradient(from 20deg, #7bc96f, #f0c94a, #ef7f32, #5576d8, #7bc96f);
  box-shadow: 0 16px 45px rgba(47, 74, 104, 0.16);
}

.jbcc-confirmation-brand svg {
  width: 44px;
  height: 44px;
  stroke: #ffffff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jbcc-confirmation h1 {
  margin: 0;
  color: #2f4a68;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0;
}

.jbcc-confirmation-accent {
  width: 105px;
  height: 5px;
  margin: 20px auto 24px;
  border-radius: 999px;
  background: #f28a32;
}

.jbcc-confirmation-lead {
  margin: 0 0 18px;
  color: #3f3f3f;
  font-size: 1.15rem;
  line-height: 1.5;
  font-weight: 500;
}

.jbcc-confirmation-text {
  margin: 0 auto;
  max-width: 760px;
  color: #3f3f3f;
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 400;
}

.jbcc-confirmation-text strong,
.jbcc-confirmation-tip strong {
  font-weight: 600;
}

.jbcc-confirmation-tip {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  margin: 34px auto 0;
  padding: 24px 28px;
  max-width: 760px;
  text-align: left;
  color: #2f4a68;
  background: #fff7ef;
  border-left: 6px solid #f28a32;
  border-radius: 8px;
}

.jbcc-confirmation-tip svg {
  width: 26px;
  height: 26px;
  margin-top: 2px;
  stroke: #f2a23a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jbcc-confirmation-tip p {
  margin: 0;
  color: #3f3f3f;
  font-size: 1rem;
  line-height: 1.55;
}

.jbcc-runtime-error {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
}

.jbcc-runtime-error strong {
  font-size: 1rem;
  font-weight: 600;
}

.jbcc-runtime-error span,
.jbcc-runtime-error small {
  color: #9a3412;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 1080px) {
  .jbcc-credit-layout,
  .jbcc-guided-top {
    grid-template-columns: 1fr;
  }

  .jbcc-flow-stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jbcc-guided-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jbcc-guided-summary div {
    border-left: 0;
    border-top: 1px solid #edf1f6;
  }

  .jbcc-guided-summary div:first-child {
    border-top: 0;
  }

  .jbcc-guided-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .jb-credit-clip-fallback {
    padding: 14px;
  }

  .jbcc-simulator-hero h2 {
    font-size: 2rem;
  }

  .jbcc-credit-panel,
  .jbcc-credit-summary,
  .jbcc-guided-main {
    padding: 18px;
  }

  .jbcc-category-grid,
  .jbcc-duration-grid,
  .jbcc-flow-stepper,
  .jbcc-guided-summary,
  .jbcc-guided-stepper,
  .jbcc-grid-2,
  .jbcc-grid-3,
  .jbcc-grid-4 {
    grid-template-columns: 1fr;
  }

  .jbcc-span-2 {
    grid-column: auto;
  }

  .jbcc-public-field,
  .jbcc-public-field[style],
  .jbcc-public-checkbox,
  .jbcc-public-checkbox[style] {
    grid-column: span 12 !important;
  }

  .jbcc-credit-summary dl div,
  .jbcc-guided-summary div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .jbcc-credit-summary dd,
  .jbcc-guided-summary strong {
    text-align: left;
  }

  .jbcc-form-actions {
    flex-direction: column-reverse;
  }

  .jbcc-primary,
  .jbcc-secondary {
    width: 100%;
  }
}

.jb-credit-clip-documents-error,
.jb-credit-clip-documents-redirect {
  max-width: 560px;
  margin: 24px auto;
  padding: 18px 20px;
  border: 1px solid #dbe2ef;
  border-radius: 6px;
  background: #ffffff;
  color: #172033;
  font-size: 15px;
  line-height: 1.45;
}

.jb-credit-clip-documents-error {
  border-color: #f2b8ad;
  background: #fff4f2;
  color: #9f351f;
}
