  /* -- GST Verification API � page-specific (built on css tokens) ---------- */
  .api-endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 30px; padding: 16px 18px; background: var(--ink); border-radius: 12px; box-shadow: var(--shadow-md); }
  .api-endpoint .verb { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #fff; background: var(--green-strong); padding: 6px 11px; border-radius: 7px; }
  .api-endpoint .path { font-family: var(--f-mono); font-size: 14px; color: #C7D3F5; }
  .api-endpoint .path .v { color: #7E9BFF; }
  .api-endpoint .copy { margin-left: auto; font-family: var(--f-mono); font-size: 11.5px; color: var(--d-muted); border: 1px solid rgba(255,255,255,.14); border-radius: 7px; padding: 6px 11px; transition: color .15s, border-color .15s; }
  .api-endpoint .copy:hover { color: #fff; border-color: rgba(255,255,255,.4); }

  .api-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .api-spec { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
  .api-spec .k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .api-spec .v { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 6px; letter-spacing: -.01em; }
  .api-spec .v.ok { color: var(--green-strong); }

  /* Params / fields table */
  .api-table { height: 100%; width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
  .api-table thead th { text-align: left; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 14px 20px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
  .api-table tbody td { padding: 16px 20px; border-bottom: 1px solid var(--line-2); vertical-align: top; font-size: 14px; color: var(--body); line-height: 1.5; }
  .api-table tbody tr:last-child td { border-bottom: none; }
  .api-table .fname { font-family: var(--f-mono); font-size: 13px; font-weight: 600; color: var(--ink); }
  .api-table .ftype { font-family: var(--f-mono); font-size: 12px; color: var(--acc); }
  .api-table .req { font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #B23A2B; background: #FDEAEA; padding: 2px 7px; border-radius: 5px; margin-left: 8px; vertical-align: middle; }
  .api-table .opt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); padding: 2px 7px; border-radius: 5px; margin-left: 8px; vertical-align: middle; }

  .api-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
  .api-codeblock { display: flex; flex-direction: column; height: 100%; background: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
  .api-codeblock .bar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
  .api-codeblock .bar .title { font-family: var(--f-mono); font-size: 12px; color: var(--d-muted); }
  .api-codeblock .bar .tag { margin-left: auto; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; padding: 4px 9px; border-radius: 20px; }
  .api-codeblock .bar .tag.req { color: #7E9BFF; background: rgba(126,155,255,.14); }
  .api-codeblock .bar .tag.res { color: var(--green); background: rgba(54,169,104,.14); }
  .api-codeblock pre { margin: 0; padding: 20px; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.7; color: #C7D3F5; overflow-x: auto; }
  .api-codeblock .c-method { color: #7E9BFF; font-weight: 600; }
  .api-codeblock .c-key { color: #8FE3C2; }
  .api-codeblock .c-str { color: #E7C893; }
  .api-codeblock .c-num { color: #C9A0FF; }
  .api-codeblock .c-bool { color: #7E9BFF; }
  .api-codeblock .c-com { color: #5E6C99; }
  .api-codeblock .c-punc { color: #6E7BA8; }

  /* Status / error rows */
  .api-status { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
  .api-status-row { display: flex; align-items: center; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--line-2); }
  .api-status-row:last-child { border-bottom: none; }
  .api-status-row .code { font-family: var(--f-mono); font-size: 13px; font-weight: 600; width: 64px; flex-shrink: 0; }
  .api-status-row .code.s2 { color: var(--green-strong); }
  .api-status-row .code.s4 { color: #B23A2B; }
  .api-status-row .label { font-size: 14px; color: var(--body); }
  .api-status-row .label b { color: var(--ink); font-weight: 600; }

  @media (max-width: 1080px) { .api-specs { grid-template-columns: repeat(2, 1fr); } .api-twocol { grid-template-columns: 1fr; } }
  @media (max-width: 620px) { .api-specs { grid-template-columns: 1fr; } .api-table thead { display: none; } .api-table tbody td { display: block; padding: 6px 18px; border: none; } .api-table tbody tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); } }

  /* -- Live GSTIN verification simulator (hero, right column) --------------- */
  .gstsim { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
  .gstsim-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
  .gstsim-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--acc-strong); }
  .gstsim-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-strong); animation: gsPulse 1.8s infinite; }
  @keyframes gsPulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--green-strong) 55%,transparent);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }
  .gstsim-replay { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); cursor: pointer; user-select: none; padding: 4px 9px; border-radius: 7px; transition: background .15s, color .15s; }
  .gstsim-replay:hover { background: var(--surface); color: var(--ink); }

  .gstsim-stage { display: grid; grid-template-columns: 1fr; padding: 22px 22px 24px; position: relative; }
  .gstsim-steplabel { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
  .gstsim-steplabel .num { width: 19px; height: 19px; border-radius: 50%; background: var(--acc-tint); color: var(--acc-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }

  .gstsim-field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
  .gstsim-input { display: flex; align-items: center; min-height: 52px; padding: 0 15px; background: #fff; border: 1.5px solid var(--line); border-radius: 11px; font-family: var(--f-mono); font-size: 17px; letter-spacing: .04em; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
  .gstsim.is-typing .gstsim-input { border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 13%, transparent); }
  .gstsim-caret { display: inline-block; width: 2px; height: 21px; margin-left: 2px; background: var(--acc); opacity: 0; }
  .gstsim.is-typing .gstsim-caret { animation: gsBlink .9s steps(1) infinite; }
  @keyframes gsBlink { 0%,50%{opacity:1;} 51%,100%{opacity:0;} }

  .gstsim-btn { width: 100%; margin-top: 15px; padding: 13px; border: none; border-radius: 11px; background: var(--acc); color: #fff; font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .15s, transform .1s, opacity .25s; }
  .gstsim-btn:hover { background: var(--acc-strong); }
  .gstsim-btn.is-press { transform: scale(.97); background: var(--acc-strong); }
  .gstsim-btn.is-loading { opacity: .55; pointer-events: none; }

  .gstsim-flow { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; background: rgba(255,255,255,0.7); backdrop-filter: blur(2px); border-radius: 0 0 18px 18px; }
  .gstsim.is-checking .gstsim-flow { opacity: 1; pointer-events: auto; }
  .gstsim.is-done .gstsim-flow { opacity: 0; pointer-events: none; }
  .gstsim-flowbadge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 10px 18px; font-family: var(--f-mono); font-size: 12px; color: var(--body); box-shadow: var(--shadow-md); white-space: nowrap; }
  .gstsim.is-done .gstsim-flowbadge { color: var(--green-strong); border-color: color-mix(in srgb,var(--green-strong) 35%,var(--line)); }
  .gstsim-spin { width: 15px; height: 15px; border-radius: 50%; border: 2.5px solid color-mix(in srgb,var(--acc) 28%,transparent); border-top-color: var(--acc); animation: gsSpin .7s linear infinite; }
  .gstsim.is-done .gstsim-spin { display: none; }
  @keyframes gsSpin { to { transform: rotate(360deg); } }

  .gstsim-out { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; z-index: 2; }
  .gstsim.is-done .gstsim-out { opacity: 1; transform: none; pointer-events: auto; }
  .gstsim-phase1 { grid-area: 1 / 1; transition: opacity .35s ease, transform .35s ease; z-index: 1; }
  .gstsim.is-done .gstsim-phase1 { opacity: 0; transform: translateY(-8px); pointer-events: none; }
  .gstsim-statusrow { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: var(--green-tint); margin-bottom: 14px; }
  .gstsim-check { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--green-strong); color: #fff; display: flex; align-items: center; justify-content: center; }
  .gstsim-check svg { width: 16px; height: 16px; }
  .gstsim-statusrow b { display: block; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; color: var(--green-strong); }
  .gstsim-statusrow .sub { display: block; font-size: 12px; color: var(--body); margin-top: 1px; }
  .gstsim-statusrow .gstsim-time { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--muted); white-space: nowrap; }

  .gstsim-tbl { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .gstsim-trow { display: flex; align-items: baseline; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateY(6px); }
  .gstsim-trow:last-child { border-bottom: none; }
  .gstsim.is-done .gstsim-trow { animation: gsRowIn .42s ease forwards; }
  .gstsim.is-done .gstsim-trow:nth-child(1){animation-delay:.05s}
  .gstsim.is-done .gstsim-trow:nth-child(2){animation-delay:.11s}
  .gstsim.is-done .gstsim-trow:nth-child(3){animation-delay:.17s}
  .gstsim.is-done .gstsim-trow:nth-child(4){animation-delay:.23s}
  .gstsim.is-done .gstsim-trow:nth-child(5){animation-delay:.29s}
  .gstsim.is-done .gstsim-trow:nth-child(6){animation-delay:.35s}
  .gstsim.is-done .gstsim-trow:nth-child(7){animation-delay:.41s}
  @keyframes gsRowIn { to { opacity: 1; transform: none; } }
  .gstsim-trow .k { flex: 0 0 36%; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .gstsim-trow .v { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: right; line-height: 1.35; }
  .gstsim-trow .v.ok { color: var(--green-strong); display: inline-flex; align-items: center; gap: 5px; justify-content: flex-end; }
  .gstsim-trow .v.ok svg { width: 13px; height: 13px; }

  @media (prefers-reduced-motion: reduce) {
    .gstsim-dot, .gstsim-caret, .gstsim-spin { animation: none; }
    .gstsim.is-done .gstsim-trow { animation: none; opacity: 1; transform: none; }
  }