.ngc-calculator-figure{max-width:980px;margin:34px auto 38px;text-align:center}.ngc-calculator-figure img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:16px}.ngc-calculator-figure figcaption{margin-top:9px;color:#718096;font-size:13px}.ngc-calculator-video{max-width:980px;margin:38px auto 42px}.ngc-calculator-video h2{font-size:22px;color:#14264c;margin:0 0 9px}.ngc-calculator-video>p{color:#64748b;line-height:1.65;margin:0 0 14px}.ngc-click-video{position:relative;display:flex;min-height:150px;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:28px;border:1px solid #dce7f8;border-radius:18px;background:linear-gradient(135deg,#f2f6ff,#fbfcff)}.ngc-load-video{border:0;border-radius:11px;padding:13px 20px;background:#315efb;color:#fff;font-weight:750;cursor:pointer}.ngc-click-video>span{font-size:12px;color:#64748b}.ngc-click-video iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:14px}.ngc-calculator-video video{width:100%;height:auto;max-height:640px;border-radius:14px;background:#0f172a}@media(max-width:600px){.ngc-calculator-figure{margin:22px auto}.ngc-calculator-video{margin:28px auto}.ngc-calculator-video h2{font-size:20px}}
.ngc-calculator-video{margin:42px auto 48px}.ngc-click-video{aspect-ratio:16/9;min-height:0}.ngc-click-video iframe{display:block;width:100%;height:100%;min-height:240px;aspect-ratio:16/9;border:0;border-radius:14px}.ngc-calculator-video>p{max-width:780px}


/* NUMGRAM 1.1.2.6 — directly embedded, responsive tutorial video */
.ngc-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #dce7f8;
  border-radius: 14px;
  background: #0f172a;
}
.ngc-video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* NUMGRAM 1.1.2.9 — keep manually placed video inside the article content width */
.ngc-calculator-video{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.ngc-calculator-video *{box-sizing:border-box;max-width:100%}
.ngc-video-frame{width:100%;max-width:100%;aspect-ratio:16/9}
.ngc-video-frame iframe{width:100%;height:100%}
.ngc-calculator-video video{display:block;width:100%;max-width:100%;height:auto}
