
  .vp-planner {
    --purple: #453685;
    --purple-dark: #30245f;
    --lavender: #f5f3fb;
    --ink: #201a3c;
    --gray: #6b6680;
    --green: #2f9e64;

    font-family: 'Roboto', sans-serif;
    background: #fff;
    padding: 24px;
    box-sizing: border-box;
  }
  .vp-planner * { box-sizing: border-box; }

  .vp-planner__inner {
    max-width: 880px;
    margin: 0 auto;
  }

  .vp-step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  .vp-step-title {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 16.5px;
    color: var(--ink);
  }

  .vp-toprow {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .vp-panel {
    background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
    border: 1px solid #e7e2f2;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 16px 36px rgba(69,54,133,.07);
  }

  .vp-field {
    margin-bottom: 20px;
  }
  .vp-field:last-child { margin-bottom: 0; }

  .vp-field label {
    display: block;
    font-weight: 500;
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 8px;
  }

  .vp-field input[type="number"] {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    padding: 12px 14px;
    border: 1.5px solid #e0dced;
    border-radius: 11px;
    color: var(--ink);
    outline: none;
    background: #fff;
    transition: border-color .15s ease;
  }
  .vp-field input[type="number"]:focus {
    border-color: var(--purple);
  }

  .vp-field-note {
    font-size: 11.5px;
    color: var(--gray);
    line-height: 1.4;
    margin-top: 8px;
  }

  .vp-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .vp-slider-value {
    font-family: 'Kanit', sans-serif;
    font-weight: 800;
    font-size: 30px;
    color: var(--purple);
    line-height: 1;
  }

  input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e7e2f2;
    outline: none;
    margin: 10px 0 4px;
    cursor: pointer;
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--purple);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(69,54,133,.35);
    cursor: pointer;
    transform: rotate(45deg);
  }
  input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--purple);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(69,54,133,.35);
    cursor: pointer;
    transform: rotate(45deg);
  }
  input[type="range"]:focus-visible::-webkit-slider-thumb {
    outline: 2.5px solid var(--purple);
    outline-offset: 3px;
  }

  .vp-slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: var(--gray);
    margin-bottom: 4px;
  }

  .vp-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--lavender) 0%, #ece7f8 100%);
  }

  .vp-result__mascot {
    width: 56px;
    height: auto;
    margin-bottom: 10px;
  }

  .vp-result__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 8px;
  }

  .vp-result__number {
    font-family: 'Kanit', sans-serif;
    font-weight: 800;
    font-size: 58px;
    color: var(--ink);
    line-height: 1;
  }

  .vp-result__sub {
    font-size: 14px;
    color: var(--gray);
    margin-top: 10px;
  }

  .vp-step-hint {
    font-size: 13px;
    color: var(--gray);
    margin: -8px 0 16px;
  }

  .vp-unified-card {
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
  }

  .vp-formula-card {
    text-align: center;
    padding: 30px 28px;
  }

  .vp-formula-card .vp-step-label {
    justify-content: center;
    margin-bottom: 22px;
  }

  .vp-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
  }

  .vp-formula__chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 96px;
  }

  .vp-formula__chip-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--lavender);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .vp-formula__chip-icon svg {
    width: 22px;
    height: 22px;
  }

  .vp-formula__chip-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
  }

  .vp-formula__op {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #c9c2df;
    flex-shrink: 0;
  }
  .vp-formula__op--eq {
    color: var(--purple);
  }

  .vp-formula__result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e4f5eb 0%, #d5efe0 100%);
    border-radius: 18px;
    padding: 18px 26px;
  }

  .vp-formula__result-number {
    font-family: 'Kanit', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: var(--green);
    line-height: 1;
  }

  .vp-formula__result-label {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink);
    margin-top: 5px;
  }

  .vp-formula__note {
    font-size: 11.5px;
    color: var(--gray);
    line-height: 1.5;
    max-width: 520px;
    margin: 0 auto;
  }

  .vp-unified-cta {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .vp-unified-cta__text {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: #fff;
    margin: 0;
  }
  .vp-unified-cta__btn {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 26px;
    border-radius: 999px;
    background: #fff;
    color: var(--purple);
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s ease;
  }
  .vp-unified-cta__btn:hover {
    transform: translateY(-1px);
  }
  .vp-unified-cta__btn:focus-visible {
    outline: 2.5px solid #fff;
    outline-offset: 2px;
  }

  .vp-planner__disclaimer {
    max-width: 880px;
    margin: 18px auto 0;
    font-size: 12px;
    color: var(--gray);
    line-height: 1.5;
    text-align: center;
  }

  @media (max-width: 720px) {
    .vp-toprow { grid-template-columns: 1fr; }
  }
  @media (max-width: 480px) {
    .vp-planner { padding: 32px 16px; }
    .vp-panel { padding: 20px; }
    .vp-result__number { font-size: 44px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .vp-unified-cta__btn {
      transition: none;
    }
  }
