/* Pengurangan Angsuran PPh Pasal 25 — Kabayan
   Digunakan bersama layout artikel-editorial.
*/

.p25-article {
  --p25-blue: #0a64d8;
  --p25-blue-soft: #eef6ff;
  --p25-navy: #17324d;
  --p25-ink: #1d1d1f;
  --p25-text: #3a3a3c;
  --p25-muted: #6e6e73;
  --p25-line: #e5e5ea;
  --p25-soft: #f5f5f7;
  --p25-white: #fff;
  --p25-green: #218739;
  --p25-green-soft: #edf8ef;
  --p25-orange: #a95b00;
  --p25-orange-soft: #fff6e8;
  --p25-red: #c92a2a;
  --p25-red-soft: #fff0ef;
  color: var(--p25-text);
}

.p25-article section {
  scroll-margin-top: 92px;
}

.p25-article h2 {
  margin-top: 68px;
}

.p25-article h3 {
  letter-spacing: -0.025em;
}

.p25-callout {
  margin: 30px 0;
  padding: 22px 24px;
  border-radius: 20px;
}

.p25-callout strong {
  display: block;
  margin-bottom: 7px;
  color: var(--p25-ink);
}

.p25-callout p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

.p25-callout-blue {
  border: 1px solid #d5e7fb;
  background: var(--p25-blue-soft);
}

.p25-callout-orange {
  border: 1px solid #f1dfbd;
  background: var(--p25-orange-soft);
}

.p25-legal-grid,
.p25-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.p25-legal-card {
  display: flex;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--p25-line);
  border-radius: 20px;
  background: var(--p25-white);
}

.p25-legal-number {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--p25-blue-soft);
  color: var(--p25-blue);
  font-size: 13px;
  font-weight: 800;
}

.p25-legal-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--p25-ink);
}

.p25-legal-card p {
  margin: 0 !important;
  color: var(--p25-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

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

.p25-rule-card {
  min-height: 225px;
  padding: 23px;
  border: 1px solid var(--p25-line);
  border-radius: 22px;
  background: var(--p25-white);
}

.p25-rule-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--p25-blue-soft);
  color: var(--p25-blue);
  font-size: 11px;
  font-weight: 750;
}

.p25-rule-card strong {
  display: block;
  color: var(--p25-ink);
  font-size: 18px;
  line-height: 1.3;
}

.p25-rule-card p {
  margin: 11px 0 0 !important;
  color: var(--p25-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.p25-formula {
  margin: 27px 0;
  padding: 27px;
  border-radius: 22px;
  background: var(--p25-ink);
  color: #fff;
}

.p25-formula span {
  display: block;
  margin-bottom: 8px;
  color: #b9c9da;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.p25-formula strong {
  display: block;
  font-size: clamp(20px, 3vw, 29px);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.p25-example {
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid var(--p25-line);
  border-radius: 24px;
  background: var(--p25-white);
}

.p25-example-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--p25-line);
  background: var(--p25-soft);
}

.p25-example-head span {
  color: var(--p25-muted);
  font-size: 12px;
  font-weight: 650;
}

.p25-example-head strong {
  color: var(--p25-ink);
}

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

.p25-example-grid > div {
  padding: 20px 22px;
  border-right: 1px solid var(--p25-line);
  border-bottom: 1px solid var(--p25-line);
}

.p25-example-grid > div:nth-child(2n) {
  border-right: 0;
}

.p25-example-grid span,
.p25-test-result span {
  display: block;
  margin-bottom: 5px;
  color: var(--p25-muted);
  font-size: 12px;
}

.p25-example-grid strong {
  color: var(--p25-ink);
  font-size: 19px;
}

.p25-example > p {
  margin: 0 !important;
  padding: 22px;
  font-size: 15px !important;
  line-height: 1.62 !important;
}

.p25-compliance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.p25-compliance article {
  padding: 26px;
  border: 1px solid #d7e7f8;
  border-radius: 22px;
  background: var(--p25-blue-soft);
}

.p25-compliance span {
  display: block;
  margin-bottom: 9px;
  color: var(--p25-blue);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.p25-compliance strong {
  display: block;
  color: var(--p25-ink);
  font-size: 18px;
}

.p25-compliance p {
  margin: 10px 0 0 !important;
  color: #4d6276 !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
}

.p25-doc-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 28px 0 30px;
}

.p25-doc-columns article {
  padding: 24px;
  border: 1px solid var(--p25-line);
  border-radius: 22px;
  background: var(--p25-white);
}

.p25-doc-columns h3 {
  margin: 0 0 16px !important;
  font-size: 20px !important;
}

.p25-check-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.p25-check-list li {
  position: relative;
  margin: 0 !important;
  padding: 10px 0 10px 31px;
  border-top: 1px solid var(--p25-line);
  font-size: 14px;
  line-height: 1.5;
}

.p25-check-list li:first-child {
  border-top: 0;
}

.p25-check-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--p25-green-soft);
  color: var(--p25-green);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.p25-checklist-shell {
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--p25-line);
  border-radius: 24px;
  background: var(--p25-white);
}

.p25-checklist-head {
  padding: 22px;
  border-bottom: 1px solid var(--p25-line);
  background: var(--p25-soft);
}

.p25-checklist-label {
  display: block;
  margin-bottom: 4px;
  color: var(--p25-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.p25-checklist-head strong {
  color: var(--p25-ink);
}

.p25-progress {
  height: 8px;
  margin: 15px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #dedee3;
}

.p25-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--p25-blue);
  transition: width .25s ease;
}

.p25-check-group {
  padding: 20px 22px 8px;
  border-bottom: 1px solid var(--p25-line);
}

.p25-check-group:last-child {
  border-bottom: 0;
}

.p25-check-group h3 {
  margin: 0 0 13px !important;
  color: var(--p25-ink);
  font-size: 17px !important;
}

.p25-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #efeff2;
  cursor: pointer;
}

.p25-check-item:first-of-type {
  border-top: 0;
}

.p25-check-item input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--p25-blue);
}

.p25-check-item span {
  color: var(--p25-text);
  font-size: 14px;
  line-height: 1.5;
}

.p25-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  transition: transform .15s ease, background .15s ease;
}

.p25-button:hover {
  transform: translateY(-1px);
}

.p25-button-primary {
  border: 1px solid var(--p25-blue);
  background: var(--p25-blue);
  color: #fff;
}

.p25-button-secondary {
  border: 1px solid #cdd2d8;
  background: #fff;
  color: var(--p25-ink);
}

.p25-form-shell {
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--p25-line);
  border-radius: 26px;
  background: var(--p25-white);
  box-shadow: 0 18px 50px rgba(30, 55, 85, .06);
}

.p25-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 25px;
  border-bottom: 1px solid var(--p25-line);
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
}

.p25-form-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--p25-blue);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.p25-form-heading h3 {
  margin: 0 !important;
  font-size: 22px !important;
}

.p25-form-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--p25-blue);
  font-size: 11px;
  font-weight: 700;
}

.p25-form-section {
  padding: 24px 25px;
  border-bottom: 1px solid var(--p25-line);
}

.p25-form-section h4 {
  margin: 0 0 18px;
  color: var(--p25-ink);
  font-size: 16px;
}

.p25-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.p25-form-grid label,
.p25-textarea-label {
  display: block;
}

.p25-form-grid label > span,
.p25-textarea-label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--p25-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.p25-form-grid input,
.p25-textarea-label textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d6d6dc;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--p25-ink);
  font: inherit;
  font-size: 14px;
}

.p25-textarea-label textarea {
  resize: vertical;
  min-height: 140px;
}

.p25-form-grid input:focus,
.p25-textarea-label textarea:focus {
  border-color: var(--p25-blue);
  box-shadow: 0 0 0 3px rgba(10, 100, 216, .11);
}

.p25-form-grid small {
  display: block;
  margin-top: 5px;
  color: var(--p25-muted);
  font-size: 11px;
  line-height: 1.4;
}

.p25-test-result {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 12px;
  margin-top: 17px;
}

.p25-test-result > div {
  padding: 16px;
  border-radius: 16px;
  background: var(--p25-soft);
}

.p25-test-result strong {
  color: var(--p25-ink);
  font-size: 18px;
}

.p25-test-status {
  display: flex;
  align-items: center;
  color: var(--p25-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.p25-test-status.is-eligible {
  background: var(--p25-green-soft);
  color: var(--p25-green);
}

.p25-test-status.is-not-eligible {
  background: var(--p25-red-soft);
  color: var(--p25-red);
}

.p25-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 21px 25px;
}

.p25-summary-output {
  margin: 0 25px 25px;
  padding: 23px;
  border: 1px solid #d8e7f7;
  border-radius: 20px;
  background: #fbfdff;
}

.p25-summary-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--p25-line);
}

.p25-summary-title span {
  color: var(--p25-muted);
  font-size: 11px;
}

.p25-summary-title strong {
  display: block;
  margin-top: 3px;
  color: var(--p25-ink);
}

.p25-summary-note {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--p25-orange-soft);
  color: var(--p25-orange) !important;
  white-space: nowrap;
}

.p25-summary-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
}

.p25-summary-table th,
.p25-summary-table td {
  padding: 10px 0;
  border-bottom: 1px solid #ececf0;
  vertical-align: top;
  text-align: left;
  font-size: 13px;
}

.p25-summary-table th {
  width: 42%;
  padding-right: 15px;
  color: var(--p25-muted);
  font-weight: 550;
}

.p25-summary-table td {
  color: var(--p25-ink);
}

.p25-summary-reason {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: var(--p25-soft);
}

.p25-summary-reason span {
  display: block;
  margin-bottom: 6px;
  color: var(--p25-muted);
  font-size: 11px;
  font-weight: 700;
}

.p25-summary-reason p {
  margin: 0 !important;
  white-space: pre-wrap;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.p25-steps {
  margin: 30px 0;
}

.p25-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--p25-line);
}

.p25-step:first-child {
  border-top: 0;
}

.p25-step > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--p25-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.p25-step strong {
  display: block;
  margin: 2px 0 5px;
  color: var(--p25-ink);
  font-size: 17px;
}

.p25-step p {
  margin: 0 !important;
  color: var(--p25-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.p25-decision-card {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 28px 0;
  padding: 25px;
  border-radius: 24px;
  background: var(--p25-ink);
  color: #fff;
}

.p25-decision-number {
  flex: 0 0 auto;
  font-size: clamp(58px, 9vw, 92px);
  font-weight: 780;
  letter-spacing: -0.07em;
  line-height: .85;
}

.p25-decision-card span {
  display: block;
  color: #9fbedb;
  font-size: 16px;
  font-weight: 700;
}

.p25-decision-card strong {
  display: block;
  margin-top: 1px;
  font-size: 20px;
}

.p25-decision-card p {
  margin: 8px 0 0 !important;
  color: #d3dce5 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.p25-mistake-list {
  margin: 28px 0;
}

.p25-mistake-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--p25-line);
}

.p25-mistake-list article:first-child {
  border-top: 0;
}

.p25-mistake-list article > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--p25-orange-soft);
  color: var(--p25-orange);
  font-size: 12px;
  font-weight: 800;
}

.p25-mistake-list strong {
  display: block;
  color: var(--p25-ink);
}

.p25-mistake-list p {
  margin: 5px 0 0 !important;
  color: var(--p25-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.p25-faq {
  margin: 28px 0;
}

.p25-faq details {
  border-top: 1px solid var(--p25-line);
}

.p25-faq details:last-child {
  border-bottom: 1px solid var(--p25-line);
}

.p25-faq summary {
  padding: 18px 4px;
  cursor: pointer;
  color: var(--p25-ink);
  font-size: 16px;
  font-weight: 680;
}

.p25-faq details p {
  margin: -4px 4px 20px !important;
  color: var(--p25-muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.p25-source-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.p25-source-list article {
  padding: 19px 20px;
  border: 1px solid var(--p25-line);
  border-radius: 18px;
  background: var(--p25-white);
}

.p25-source-list strong {
  color: var(--p25-ink);
}

.p25-source-list p {
  margin: 6px 0 8px !important;
  color: var(--p25-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.p25-source-list a {
  color: var(--p25-blue);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.p25-closing {
  margin-top: 70px;
  padding: 30px;
  border-radius: 26px;
  background: var(--p25-soft);
}

.p25-closing h2 {
  margin-top: 0 !important;
}

.p25-disclaimer {
  margin-top: 26px !important;
  padding-top: 20px;
  border-top: 1px solid #dddde2;
  color: var(--p25-muted) !important;
  font-size: 13px !important;
}

@media (max-width: 760px) {
  .p25-legal-grid,
  .p25-rule-grid,
  .p25-compliance,
  .p25-doc-columns,
  .p25-form-grid {
    grid-template-columns: 1fr;
  }

  .p25-rule-card {
    min-height: 0;
  }

  .p25-example-grid {
    grid-template-columns: 1fr;
  }

  .p25-example-grid > div {
    border-right: 0;
  }

  .p25-example-head,
  .p25-form-heading,
  .p25-summary-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .p25-test-result {
    grid-template-columns: 1fr;
  }

  .p25-decision-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .p25-checklist-head,
  .p25-form-section,
  .p25-form-heading {
    padding-right: 18px;
    padding-left: 18px;
  }

  .p25-form-actions {
    padding-right: 18px;
    padding-left: 18px;
  }

  .p25-summary-output {
    margin-right: 18px;
    margin-left: 18px;
  }
}

@media print {
  .p25-button,
  .p25-progress {
    display: none !important;
  }

  .p25-article {
    color: #000;
  }

  .p25-form-shell,
  .p25-checklist-shell,
  .p25-example,
  .p25-callout,
  .p25-closing {
    break-inside: avoid;
    box-shadow: none;
  }

  .p25-summary-output[hidden] {
    display: none !important;
  }

  .p25-summary-output {
    border-color: #bbb;
    background: #fff;
  }
}


/* Embedded Kabayan interactive form */
.p25-embedded-form {
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--p25-line);
  border-radius: 24px;
  background: var(--p25-white);
}

.p25-embedded-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--p25-line);
  background: var(--p25-soft);
}

.p25-embedded-form-head strong {
  display: block;
  margin-top: 3px;
  color: var(--p25-ink);
  font-size: 18px;
}

.p25-embedded-form-head p {
  margin: 6px 0 0 !important;
  max-width: 650px;
  color: var(--p25-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.p25-embedded-form-frame {
  position: relative;
  width: 100%;
  background: #fff;
}

.p25-embedded-form-frame iframe {
  display: block;
  width: 100%;
  height: 1150px;
  min-height: 760px;
  border: 0;
  background: #fff;
}

.p25-embedded-form-note {
  margin: 0 !important;
  padding: 13px 18px 16px;
  border-top: 1px solid var(--p25-line);
  color: var(--p25-muted) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

@media (max-width: 760px) {
  .p25-embedded-form-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .p25-embedded-form-frame iframe {
    height: 1250px;
    min-height: 800px;
  }
}

/* =========================================================
   Icon sizing guard — prevents article/global SVG rules from
   expanding Kabayan inline icons.
   ========================================================= */
.p25-article .p25-icon-sprite,
.p25-article .p25-icon-sprite > svg {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.p25-article .p25-inline-icon {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  flex: 0 0 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

.p25-article .p25-inline-icon > svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex: 0 0 16px !important;
}

.p25-article .p25-inline-icon-soft {
  border-radius: 9px;
  background: var(--p25-blue-soft);
  color: var(--p25-blue);
}

.p25-article .p25-inline-icon-inverse {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  flex-basis: 36px !important;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  color: #fff;
}

.p25-article .p25-inline-icon-inverse > svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

.p25-article .p25-callout-title,
.p25-article .p25-example-label {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
}

.p25-article .p25-callout-title .p25-inline-icon {
  margin: 0 !important;
}

.p25-article .p25-source-icon {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px;
  background: var(--p25-soft);
  color: var(--p25-blue);
}

.p25-article .p25-source-icon > svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
}

.p25-article .p25-source-list article {
  position: relative;
  padding-left: 58px;
}

.p25-article .p25-decision-card {
  position: relative;
}

.p25-article .p25-decision-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px !important;
  height: 36px !important;
}

@media (max-width: 760px) {
  .p25-article .p25-decision-icon {
    position: static;
    width: 36px !important;
    height: 36px !important;
  }
}
