  #cps-calc, #cps-calc * { box-sizing: border-box; }
  #cps-calc {
    --pink: #00838F;
    --pink-dark: #00636C;
    --pink-soft: #E0F4F6;
    --green: #16A34A;
    --green-soft: #EAF7EF;
    --ink: #1A1D29;
    --muted: #8A8F98;
    --line: #ECEBEF;
    --bg: #FAFAFA;

    font-family: 'Montserrat', sans-serif;
    color: var(--ink);
    background: var(--bg);
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 56px;
    -webkit-font-smoothing: antialiased;
  }
  #cps-calc h1, #cps-calc h2, #cps-calc h3, #cps-calc .cps-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    letter-spacing: 0.2px;
  }

  /* ---------- Header ---------- */
  #cps-calc .cps-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
  }
  #cps-calc .cps-header img { display: block; height: 26px; width: auto; }
  #cps-calc .cps-header .cps-logo-accurate img { height: 26px; }

  /* ---------- Title block ---------- */
  #cps-calc .cps-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--pink);
    border: 1px solid var(--pink);
    background: var(--pink-soft);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 14px;
  }
  #cps-calc h1.cps-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.2;
  }
  #cps-calc .cps-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 32px;
  }
  #cps-calc .cps-meta strong { color: var(--ink); font-weight: 600; }
  #cps-calc .cps-meta input[type="text"] {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border: none;
    border-bottom: 1px dashed #C9CAD1;
    background: transparent;
    padding: 2px 2px 4px;
    min-width: 220px;
    color: var(--ink);
    outline: none;
  }
  #cps-calc .cps-meta input[type="text"]:focus { border-bottom-color: var(--pink); }

  /* ---------- Info grid: Kepada Yth / Penawaran (modern, label di atas input) ---------- */
  #cps-calc .cps-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }
  #cps-calc .cps-info-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
  }
  #cps-calc .cps-info-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: var(--muted);
  }
  #cps-calc .cps-info-field {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 7px;
  }
  #cps-calc .cps-field-error {
    flex: 0 0 100%;
    display: none;
    margin: -3px 0 0 118px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #E24C6B;
  }
  #cps-calc .cps-field-error.show { display: block; }
  #cps-calc .cps-info-field:last-child { margin-bottom: 0; }
  #cps-calc .cps-info-field label {
    flex: 0 0 108px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0;
  }
  #cps-calc .cps-info-field label .req { color: #E02424; }
  #cps-calc .cps-info-field input {
    display: block;
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    border-bottom: 1.5px solid var(--line);
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    padding: 3px 0 4px;
    background: transparent;
    outline: none;
    transition: border-color .15s ease;
  }
  #cps-calc .cps-info-field input:focus { border-bottom-color: var(--pink); }
  #cps-calc .cps-info-field input.cps-invalid { border-bottom-color: #E24C6B; }
  #cps-calc .cps-info-field input::placeholder {
    color: var(--muted);
    opacity: 0.6;
    font-size: 11.5px;
    font-weight: 500;
  }
  #cps-calc .cps-info-field strong {
    display: block;
    flex: 1;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    padding: 3px 0 4px;
    border-bottom: 1.5px solid transparent;
  }
  @media (max-width: 640px) {
    #cps-calc .cps-info-grid { grid-template-columns: 1fr; }
    #cps-calc .cps-info-field { flex-wrap: wrap; }
    #cps-calc .cps-info-field label { flex: 0 0 100%; margin-bottom: 3px; }
    #cps-calc .cps-info-field input,
    #cps-calc .cps-info-field strong { flex: 1 1 100%; }
  }

  /* ---------- Layout ---------- */
  #cps-calc .cps-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 28px;
    align-items: start;
  }
  @media (max-width: 860px) {
    #cps-calc .cps-grid { grid-template-columns: 1fr; }
  }

  /* ---------- Product / qty-addon cards ---------- */
  #cps-calc .cps-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  #cps-calc .cps-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #cps-calc .cps-icon svg { width: 20px; height: 20px; }
  #cps-calc .cps-card-body { flex: 1; min-width: 0; }
  #cps-calc .cps-card-body .cps-name { font-size: 15px; font-weight: 600; margin: 0 0 1px; }
  #cps-calc .cps-card-body .cps-desc { font-size: 12px; color: var(--muted); margin: 0 0 3px; }
  #cps-calc .cps-card-body .cps-price { font-size: 15px; font-weight: 700; color: var(--pink); }

  #cps-calc .cps-stepper {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
  }
  #cps-calc .cps-stepper button {
    width: 30px;
    height: 30px;
    border: none;
    background: #fff;
    color: var(--ink);
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
  }
  #cps-calc .cps-stepper button:hover { background: var(--pink-soft); color: var(--pink); }
  #cps-calc .cps-stepper span {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
  }
  #cps-calc .cps-stepper-sm { flex: 0 0 auto; }
  #cps-calc .cps-stepper-sm button { width: 24px; height: 24px; font-size: 14px; }
  #cps-calc .cps-stepper-sm span { width: 26px; font-size: 12px; }

  /* Database & Tambah Outlet/Cabang digabung dalam 1 kotak, dipisah garis tipis */
  #cps-calc .cps-card-group { display: block; padding: 0; gap: 0; }
  #cps-calc .cps-card-row-pair { display: flex; align-items: stretch; }
  #cps-calc .cps-card-row { flex: 1 1 0; min-width: 0; }
  #cps-calc .cps-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }
  #cps-calc .cps-card-divider { height: 1px; background: var(--line); margin: 0 16px; }
  #cps-calc .cps-card-divider-vert { width: 1px; align-self: stretch; background: var(--line); margin: 14px 0; }

  /* ---------- Add-ons ---------- */
  #cps-calc .cps-section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 24px 0 12px;
  }
  #cps-calc .cps-addon {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color .15s ease;
  }
  #cps-calc .cps-addon:hover { border-color: #DCD9E0; }
  #cps-calc .cps-addon.checked { border-color: var(--pink); background: var(--pink-soft); }
  #cps-calc .cps-addon input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--pink);
    flex: 0 0 auto;
    cursor: pointer;
  }
  #cps-calc .cps-addon-body { flex: 1; min-width: 0; }
  #cps-calc .cps-addon-body .cps-name { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
  #cps-calc .cps-addon-body .cps-desc { font-size: 13px; color: var(--muted); margin: 0; }
  #cps-calc .cps-addon-price {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 700;
    color: var(--pink);
    white-space: nowrap;
  }
  /* qty-style addon reuses .cps-card but slightly tighter margin inside addon section */
  #cps-calc .cps-addon-qty.cps-card { margin-bottom: 8px; }
  /* variant without the icon square (Extra User, Multi Branch) */
  #cps-calc .cps-card-no-icon { padding: 14px 20px; }

  /* ---------- Add-on Fitur dropdown (multi-select) ---------- */
  /* ---------- Add-on Fitur inline (menyatu dalam kartu Database & Extra User) ---------- */
  #cps-calc .cps-addon-inline { padding: 14px 16px 16px; }
  #cps-calc .cps-addon-inline-tight { padding-top: 4px; }
  #cps-calc .cps-addon-box-title { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
  #cps-calc .cps-addon-inline .cps-addon-selected-card,
  #cps-calc .cps-addon-inline .cps-addon-selected-chip { margin-bottom: 8px; }
  #cps-calc .cps-addon-inline .cps-addon-selected-card:last-child,
  #cps-calc .cps-addon-inline .cps-addon-selected-chip:last-child { margin-bottom: 0; }

  #cps-calc .cps-addon-dropdown { position: relative; margin-bottom: 10px; }
  #cps-calc .cps-addon-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    transition: border-color .15s ease;
  }
  #cps-calc .cps-addon-dropdown-toggle:hover { border-color: #DCD9E0; }
  #cps-calc #cps-addon-dropdown-label { font-size: 12px; }
  #cps-calc .cps-addon-dropdown.open .cps-addon-dropdown-toggle { border-color: var(--pink); }
  #cps-calc .cps-addon-dropdown-toggle .cps-chevron { width: 18px; height: 18px; color: var(--muted); transition: transform .15s ease; flex: 0 0 auto; }
  #cps-calc .cps-addon-dropdown.open .cps-chevron { transform: rotate(180deg); color: var(--pink); }
  #cps-calc .cps-addon-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(20,20,30,.10);
    padding: 8px;
    z-index: 30;
  }
  #cps-calc .cps-addon-dropdown.open .cps-addon-dropdown-panel { display: block; }
  #cps-calc .cps-addon-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
  }
  #cps-calc .cps-addon-dropdown-item:hover { background: var(--bg); }
  #cps-calc .cps-addon-dropdown-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--pink); flex: 0 0 auto; cursor: pointer; }
  #cps-calc .cps-addon-dropdown-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); }
  #cps-calc .cps-addon-dropdown-price { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

  /* item add-on "Segera Hadir" (belum ada harga / masih beta) */
  #cps-calc .cps-addon-dropdown-divider { height: 1px; background: var(--line); margin: 6px 6px; }
  #cps-calc .cps-addon-dropdown-soon-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 6px 10px 4px;
  }
  #cps-calc .cps-addon-dropdown-item-soon {
    cursor: default;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
  }
  #cps-calc .cps-addon-dropdown-item-soon:hover { background: transparent; }
  #cps-calc .cps-addon-dropdown-icon-soon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--muted);
  }
  #cps-calc .cps-addon-dropdown-name-soon { color: var(--muted); font-weight: 600; }
  #cps-calc .cps-badge-soon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    border-radius: 999px;
    padding: 5px 11px;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 131, 143, 0.25);
  }

  /* ---------- Hardware (Opsional) — kartu tersendiri per produk terpilih: bisa ditambah, dikurangi, atau dihapus ---------- */
  #cps-calc .cps-hw-selected-list:empty { margin: 0; }
  #cps-calc .cps-hw-selected-list { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
  #cps-calc .cps-hw-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--pink-soft);
    border: 1px solid var(--pink);
    border-radius: 12px;
    padding: 10px 44px 10px 14px;
    position: relative;
  }
  #cps-calc .cps-hw-item-body { flex: 1; min-width: 0; }
  #cps-calc .cps-hw-item-body .cps-name { font-size: 13.5px; font-weight: 600; color: var(--ink); margin: 0 0 1px; line-height: 1.3; }
  #cps-calc .cps-hw-item-body .cps-desc { font-size: 11px; color: var(--muted); margin: 0; }
  #cps-calc .cps-hw-item .cps-addon-price { font-size: 13.5px; font-weight: 700; color: var(--pink); white-space: nowrap; flex: 0 0 auto; }
  #cps-calc .cps-hw-item .cps-addon-remove { position: absolute; top: 8px; right: 10px; }
  @media (max-width: 480px) {
    #cps-calc .cps-hw-item { flex-wrap: wrap; padding-right: 44px; }
    #cps-calc .cps-hw-item-body { flex: 1 1 100%; }
    #cps-calc .cps-hw-item .cps-addon-price { flex: 1 1 auto; text-align: right; }
  }

  /* item add-on yang sudah dipilih, tampil di bawah dropdown */
  #cps-calc .cps-addon-selected-chip {
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--pink-soft);
    border: 1px solid var(--pink);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
  }
  #cps-calc .cps-addon-selected-chip .cps-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink); margin: 0; }
  #cps-calc .cps-addon-selected-chip .cps-addon-price { font-size: 14px; font-weight: 700; color: var(--pink); white-space: nowrap; }
  #cps-calc .cps-addon-selected-card { display: none; position: relative; padding-right: 46px; border-color: var(--pink); background: var(--pink-soft); }
  #cps-calc .cps-addon-remove {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    flex: 0 0 auto;
  }
  #cps-calc .cps-addon-remove:hover { color: var(--pink); }
  #cps-calc .cps-addon-selected-card .cps-addon-remove { position: absolute; top: 10px; right: 12px; }

  /* ---------- Summary panel ---------- */
  #cps-calc .cps-summary {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 24px;
    position: sticky;
    top: 20px;
  }
  #cps-calc .cps-summary h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 18px;
  }
  #cps-calc .cps-section-title {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--ink);
    margin: 0 0 18px;
  }
  #cps-calc .cps-section-title-inline {
    padding: 26px 20px 0;
    margin: 0 0 13px;
  }
  #cps-calc .cps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    gap: 10px;
  }
  #cps-calc .cps-row .cps-row-label { color: var(--ink); }
  #cps-calc .cps-row .cps-row-value { font-weight: 600; white-space: nowrap; }
  #cps-calc .cps-row .cps-row-value.dash { color: var(--muted); font-weight: 400; }
  #cps-calc .cps-summary .cps-row { font-size: 13px; }
  #cps-calc #cps-sum-training:not(.dash) { color: #2563EB; font-size: 12px; }

  #cps-calc .cps-totals { margin-top: 8px; }
  #cps-calc .cps-totals .cps-row { border-bottom: none; padding: 7px 0; justify-content: flex-start; gap: 14px; }
  #cps-calc .cps-totals .cps-row-label { font-weight: 600; text-align: right; width: 260px; flex: 0 0 260px; }
  #cps-calc .cps-totals .cps-row-value { flex: 1 1 auto; text-align: right; }

  #cps-calc .cps-total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  #cps-calc .cps-total-final .cps-total-label {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
  }
  #cps-calc .cps-total-final .cps-total-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--pink);
  }
  #cps-calc .cps-note {
    font-size: 12px;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
  }

  /* ---------- Kode Voucher / Promo ---------- */
  #cps-calc .cps-voucher-box {
    background: var(--bg);
    border: 1px dashed #C9CAD1;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 10px 0 4px;
    transition: background .25s ease, border-color .25s ease;
  }
  #cps-calc .cps-voucher-box.claimed {
    background: var(--green-soft);
    border: 1px solid #BFE5CC;
  }
  #cps-calc .cps-voucher-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 7px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  #cps-calc .cps-voucher-box.claimed .cps-voucher-title { color: #157347; }
  #cps-calc .cps-voucher-row {
    display: flex;
    gap: 6px;
  }
  #cps-calc .cps-voucher-row input {
    flex: 1;
    min-width: 0;
    height: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0 10px;
    outline: none;
    text-transform: uppercase;
  }
  #cps-calc .cps-voucher-row input::placeholder { text-transform: none; color: var(--muted); font-weight: 500; }
  #cps-calc .cps-voucher-row input:focus { border-color: var(--pink); }
  #cps-calc .cps-voucher-row button {
    flex: 0 0 auto;
    height: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
    background: var(--pink);
    border: none;
    border-radius: 7px;
    padding: 0 13px;
    cursor: pointer;
  }
  #cps-calc .cps-voucher-row button:hover { background: var(--pink-dark); }
  #cps-calc .cps-voucher-box.claimed .cps-voucher-row { display: none; }
  #cps-calc .cps-voucher-msg { font-size: 10.5px; margin-top: 6px; line-height: 1.4; display: none; }
  #cps-calc .cps-voucher-msg.success { color: #157347; display: block; font-weight: 600; }
  #cps-calc .cps-voucher-msg.error { color: #E24C6B; display: block; }
  #cps-calc .cps-voucher-benefits { margin-top: 8px; display: none; }
  #cps-calc .cps-voucher-benefits.show { display: block; }
  #cps-calc .cps-voucher-benefits-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #157347;
    margin: 0 0 5px;
  }
  #cps-calc .cps-voucher-benefits ul { list-style: none; margin: 0; padding: 0; }
  #cps-calc .cps-voucher-benefits li {
    font-size: 11.5px;
    color: var(--ink);
    line-height: 1.45;
    padding: 3px 0 3px 18px;
    position: relative;
  }
  #cps-calc .cps-voucher-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--green);
    font-weight: 700;
  }
  #cps-calc .cps-voucher-change {
    display: inline-block;
    margin-top: 8px;
    background: none;
    border: none;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    color: #157347;
    text-decoration: underline;
    cursor: pointer;
  }
  #cps-calc .cps-voucher-change:hover { color: #0f5c37; }

  #cps-calc .cps-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    border: 1px solid transparent;
    margin-bottom: 12px;
  }
  /* ---------- Pelatihan (kotak terpisah, total sendiri, 1 klik = 4 pilihan) ---------- */
  #cps-calc .cps-training-select-wrap { position: relative; }
  #cps-calc .cps-training-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 38px 12px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    outline: none;
  }
  #cps-calc .cps-training-select:focus { border-color: var(--pink); }
  #cps-calc .cps-training-select-wrap::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
  }
  #cps-calc .cps-training-note { font-size: 11px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }

  /* ---------- Estimasi Biaya Tahun ke-2 (Collapsible) ---------- */
  #cps-calc .cps-year2-box {
    background: #F4F7FB;
    border: 1px solid #DCE3EE;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
  }
  #cps-calc .cps-year2-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 16px 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
  }
  #cps-calc .cps-year2-header:hover { background: rgba(27,58,92,0.04); }
  #cps-calc .cps-year2-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 2px;
  }
  #cps-calc .cps-year2-subtitle {
    font-size: 10.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
  }
  #cps-calc .cps-year2-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  #cps-calc .cps-year2-mini {
    font-size: 13px;
    font-weight: 700;
    color: #1B3A5C;
    white-space: nowrap;
  }
  #cps-calc .cps-year2-chevron {
    transition: transform .25s ease;
    flex-shrink: 0;
  }
  #cps-calc .cps-year2-box.open .cps-year2-chevron { transform: rotate(180deg); }

  #cps-calc .cps-year2-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  #cps-calc .cps-year2-box.open .cps-year2-body { max-height: 600px; }
  #cps-calc .cps-year2-body-inner {
    padding: 0 20px 18px;
    border-top: 1px solid #DCE3EE;
    padding-top: 14px;
  }
  #cps-calc .cps-year2-note {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 12px;
  }
  #cps-calc .cps-year2-note-title { font-weight: 600; margin: 0 0 4px; color: var(--muted); }
  #cps-calc .cps-year2-note-list { margin: 0; padding-left: 16px; }
  #cps-calc .cps-year2-note-list li { margin: 0 0 4px; }
  #cps-calc .cps-year2-note-list li:last-child { margin-bottom: 0; }
  #cps-calc .cps-year2-box .cps-row { border-bottom-color: #DCE3EE; font-size: 13px; }
  #cps-calc .cps-year2-box .cps-row.cps-year2-hidden { display: none; }
  #cps-calc .cps-year2-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #DCE3EE;
    font-size: 14px;
    font-weight: 700;
  }
  #cps-calc .cps-year2-total span:last-child { color: #1B3A5C; font-size: 17px; }

  /* ---------- Input Biaya Lain-lain di dalam ringkasan ---------- */
  #cps-calc .cps-row-value input {
    width: 60px;
    text-align: right;
    border: none;
    border-bottom: 1px dashed #C9CAD1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    background: transparent;
    outline: none;
    padding: 2px 0;
  }
  #cps-calc .cps-row-value input:focus { border-bottom-color: var(--pink); }

  #cps-calc .cps-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
  #cps-calc .cps-btn-primary { background: var(--pink); color: #fff; }
  #cps-calc .cps-btn-primary:hover { background: var(--pink-dark); }
  #cps-calc .cps-btn-outline {
    background: #fff;
    color: var(--green);
    border-color: var(--green);
    margin-bottom: 0;
  }
  #cps-calc .cps-btn-outline:hover { background: #F0FBF4; }

  /* =========================================================
     RESPONSIVE: tablet & handphone
     ========================================================= */
  @media (max-width: 860px) {
    #cps-calc .cps-summary { position: static; top: auto; }
  }

  @media (max-width: 600px) {
    #cps-calc { padding: 22px 14px 44px; }

    /* header logo mengecil & tetap sejajar rapi */
    #cps-calc .cps-header { padding-bottom: 14px; margin-bottom: 20px; gap: 8px 16px; }
    #cps-calc .cps-header img,
    #cps-calc .cps-header .cps-logo-accurate img { height: 18px; }

    #cps-calc .cps-badge { font-size: 10px; padding: 5px 12px; margin-bottom: 10px; }
    #cps-calc h1.cps-title { font-size: 22px; margin-bottom: 16px; line-height: 1.25; }

    /* Kepada Yth / Penawaran */
    #cps-calc .cps-info-grid { gap: 10px; margin-bottom: 16px; }
    #cps-calc .cps-info-box { padding: 12px 14px; border-radius: 12px; }

    /* kartu produk: baris bisa "patah" rapi, bukan berdesakan */
    #cps-calc .cps-card {
      flex-wrap: wrap;
      padding: 16px;
      gap: 12px;
      row-gap: 12px;
    }
    #cps-calc .cps-card-group { display: block; padding: 0; gap: 0; }
    #cps-calc .cps-card-row-pair { display: block; }
    #cps-calc .cps-card-divider-vert { display: none; }
    #cps-calc .cps-card-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      row-gap: 12px;
      padding: 16px;
    }
    #cps-calc .cps-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; }
    #cps-calc .cps-icon svg { width: 20px; height: 20px; }
    #cps-calc .cps-card-body { flex: 1 1 140px; }
    #cps-calc .cps-card-body .cps-name { font-size: 15px; }
    #cps-calc .cps-card-body .cps-price { font-size: 15px; }
    #cps-calc .cps-stepper { margin-left: auto; }
    #cps-calc .cps-card-no-icon { padding: 14px 16px; }

    /* add-on: harga pindah ke bawah nama bila sempit, tetap rapi kanan */
    #cps-calc .cps-addon { flex-wrap: wrap; padding: 13px 16px; row-gap: 6px; }
    #cps-calc .cps-addon-body { flex: 1 1 140px; }
    #cps-calc .cps-addon-price { margin-left: auto; font-size: 14px; }
    #cps-calc .cps-section-label { font-size: 12.5px; margin: 20px 0 10px; }

    /* pelatihan */
    #cps-calc .cps-addon-inline { padding: 16px; }
    #cps-calc .cps-training-select { font-size: 13.5px; padding: 11px 34px 11px 12px; }

    /* ringkasan pembelian */
    #cps-calc .cps-summary { padding: 20px 16px; border-radius: 14px; }
    #cps-calc .cps-summary h2 { font-size: 17px; margin-bottom: 14px; }
    #cps-calc .cps-section-title { font-size: 17px; margin-bottom: 14px; }
    #cps-calc .cps-section-title-inline { padding: 20px 16px 0; margin-bottom: 6px; }
    #cps-calc .cps-row { font-size: 13px; padding: 8px 0; gap: 6px; }
    #cps-calc .cps-row-value input { width: 60px; font-size: 13px; }
    #cps-calc .cps-total-final .cps-total-label { font-size: 16px; }
    #cps-calc .cps-total-final .cps-total-value { font-size: 20px; }
    #cps-calc .cps-note { font-size: 11px; margin-bottom: 16px; }

    /* tombol aksi tetap besar & mudah disentuh */
    #cps-calc .cps-btn { font-size: 12.5px; padding: 13px 14px; }

    /* perbaikan: label Subtotal/PPN/Biaya Lain-lain di ringkasan dipatok 260px
       di desktop -- di layar sempit ini bikin baris meluber keluar & terpotong.
       Di HP, label & nilai dibuat fleksibel mengikuti lebar layar. */
    #cps-calc .cps-totals .cps-row { flex-wrap: wrap; }
    #cps-calc .cps-totals .cps-row-label { width: auto; flex: 1 1 auto; text-align: left; }
    #cps-calc .cps-totals .cps-row-value { flex: 0 1 auto; text-align: right; }

    /* perbaikan: pesan error field punya indentasi kiri 118px (mengikuti lebar
       label di desktop). Di HP labelnya sudah full-width di atas input, jadi
       indentasi ini dihapus supaya teks error tidak terpotong di kanan. */
    #cps-calc .cps-field-error { margin-left: 0; }
  }

  @media (max-width: 380px) {
    #cps-calc .cps-icon { display: none; }
    #cps-calc .cps-card-no-icon { padding: 13px 14px; }
  }
