.jp-wert {
  --navy:#06273A;
  --navy-soft:#0E3A55;
  --gold:#BD8F13;
  --gold-soft:#D2A52E;
  --line:#E4EAEE;
  --wash:#F2F5F7;
  --blue:#F2F4F8;
  --muted:#888;
  --serif:'Source Serif 4',Georgia,'Times New Roman',serif;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color: #444;
  font-size: 16px;
  line-height: 1.62;
}

.jp-wert * {
  box-sizing: border-box;
}

.jp-wert a {
  text-decoration: none;
}

.jp-wert [hidden] {
  display: none !important;
}

.jp-wert .ic {
  display: inline-flex;
  flex: 0 0 auto;
}

.jp-wert .ic svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jp-wert .jp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  padding: 16px 32px;
  line-height: 1.3;
  transition: background 0.14s, color 0.14s;
}

.jp-wert .jp-btn--primary {
  background: var(--navy);
  color: #fff;
}

.jp-wert .jp-btn--primary:hover {
  background: var(--navy-soft);
  color: #fff;
}

.jp-wert .jp-btn--premium {
  background: var(--gold);
  color: #fff;
}

.jp-wert .jp-btn--premium:hover {
  background: var(--gold-soft);
  color: #fff;
}

.jp-wert__card {
  background: #fff;
  color: #444;
  border-radius: 4px;
  border: 1px solid var(--wp--preset--color--primary-deep);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  justify-self: start;
}

.jp-wert__cardhead {
  padding: 22px 32px;
  background: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.jp-wert__cardhead span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.jp-wert__cardhead .ic {
  width: 18px;
  height: 18px;
  color: var(--gold-soft);
}

.jp-wert__cardhead em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.jp-wert__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 14px 16px;
  margin: 0 32px 28px;
  background: var(--blue);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.jp-wert__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jp-wert__trust .ic {
  width: 14px;
  height: 14px;
}

.jp-wert__cardhead {
  display: block !important;
  padding: 22px 40px !important;
  border-bottom: 0 !important;
}

.jp-wert__cardtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.jp-wert__bar {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-top: 16px;
}

.jp-wert__bar div {
  height: 1px;
  width: 33.333%;
  background: var(--gold-soft);
  transition: width 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.jp-wert__hf {
  padding: 28px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
}

.jp-wert__step {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.jp-wert__q {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
  color: var(--navy);
  text-wrap: balance;
}

.jp-wert__qi {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 4px;
  background: var(--blue);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jp-wert__qi .ic {
  width: 20px;
  height: 20px;
}

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

.jp-wert .jp-wert__tile {
  min-height: 96px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--blue);
  color: var(--navy);
  transition: border-color 0.24s, background 0.24s, color 0.24s, box-shadow 0.24s;
}

.jp-wert .jp-wert__tile:hover, .jp-wert .jp-wert__tile:focus-visible {
  border-color: var(--navy);
  background: var(--blue);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(6, 39, 58, 0.1);
}

.jp-wert .jp-wert__tile.is-on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.jp-wert__tile .ic {
  width: 24px;
  height: 24px;
}

.jp-wert__g2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jp-wert__f {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.jp-wert__f > span:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.jp-wert__f b {
  color: var(--gold);
  margin-left: 2px;
}

.jp-wert__f input, .jp-wert__f select {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid #CBD5DC;
  border-radius: 2px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: #222;
  box-shadow: none;
  outline: 0;
  transition: border-color 0.2s;
}

.jp-wert__f input:focus, .jp-wert__f select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(189, 143, 19, 0.25);
}

.jp-wert__f input.is-bad {
  border-color: #A83A33;
}

.jp-wert__sel {
  position: relative;
  display: block;
}

.jp-wert__sel select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.jp-wert__sel .ic {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  color: var(--navy);
  pointer-events: none;
}

.jp-wert__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
  color: #444;
  cursor: pointer;
  margin: 0;
}

.jp-wert__check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--navy);
}

.jp-wert__check a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 2px;
}

.jp-wert__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.jp-wert .jp-btn--ghost {
  background: transparent;
  color: var(--navy);
}

.jp-wert .jp-btn--ghost:hover {
  background: var(--wash);
  color: var(--navy);
}

.jp-wert .jp-btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.jp-wert__err {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #A83A33;
}

.jp-wert__done {
  align-items: center;
  text-align: center;
  padding: 12px 0 4px;
  gap: 12px;
}

.jp-wert__done p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

.jp-wert__doneic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jp-wert__doneic .ic {
  width: 30px;
  height: 30px;
}

.jp-wert p.jp-wert__donet {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
}

.jp-wert .jp-wert__trust {
  margin: 4px 0 0;
}

.jp-wert__calc {
  margin: -6px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.jp-wert__calc a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.jp-wert__calc a:hover {
  color: var(--gold);
}

@media (max-width: 720px) {
  .jp-wert__hf {
    padding: 24px 20px 28px;
  }
}
.jp-wert__cardhead {
  padding: 18px 20px !important;
}

.jp-wert__q {
  font-size: 21px;
}

.jp-wert__g2 {
  grid-template-columns: 1fr;
}

.jp-wert__nav .jp-btn {
  padding: 14px 20px;
}

.jp-wert__cardhead {
  padding: 18px 20px;
}

.jp-wert__trust {
  margin: 0 20px 20px;
}

.jp-wert .jp-btn {
  white-space: normal;
  text-align: center;
}

.jp-wert__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}