/* PAYATE IBAN tool — scoped under #ibn. System font body (zero webfont CLS),
   Poppins headings with metrics-matched fallback. */
@font-face{font-family:"PoppinsFB";src:local("Segoe UI Semibold"),local("Segoe UI"),local("Roboto Medium"),local("Roboto"),local("Helvetica Neue"),local("Arial");size-adjust:107%;ascent-override:98%;descent-override:32.7%;line-gap-override:0%}

body{margin:0;background:#f4f7fb;color:#14233c;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased}

#ibn{max-width:900px;margin:0 auto;padding:22px 16px 40px}
#ibn h1,#ibn h2{font-family:Poppins,"PoppinsFB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}

#ibn .ib-hero{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:24px;
  box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:18px}
#ibn .ib-hero h1{margin:0 0 8px;font-size:25px;line-height:1.2;color:#0f1b2d;font-weight:700}
#ibn .ib-hero p{margin:0;font-size:14px;line-height:1.7;color:#4a5b73;max-width:680px}

#ibn .ib-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
@media (max-width:640px){#ibn .ib-cols{grid-template-columns:1fr}}

#ibn .ib-card{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:18px 18px 20px;
  box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#ibn .ib-card h2{margin:0 0 12px;font-size:17px;color:#0f1b2d}
#ibn label{display:block;font-size:12.5px;font-weight:600;color:#5a6b83;margin:10px 0 5px}
#ibn input[type=text],#ibn input[type=number],#ibn select,#ibn textarea{
  width:100%;box-sizing:border-box;border:1px solid #d7deea;border-radius:9px;padding:10px 12px;
  font-size:14px;color:#14233c;background:#fbfcfe;font-family:inherit}
#ibn input:focus,#ibn select:focus,#ibn textarea:focus{outline:none;border-color:#1d64d8;background:#fff;
  box-shadow:0 0 0 3px rgba(29,100,216,.12)}
#ibn textarea{resize:vertical;min-height:120px}
#ibn button{margin-top:12px;background:#1d64d8;color:#fff;border:0;border-radius:9px;
  padding:10px 20px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s}
#ibn button:hover{background:#1550b4}

/* single result */
#ibn .ib-res{margin-top:14px;border-radius:11px;padding:13px 15px;border:1px solid}
#ibn .ib-res.ok{background:#eafaf1;border-color:#bfe8cf}
#ibn .ib-res.bad{background:#fdecec;border-color:#f4c7c7}
#ibn .ib-badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;
  padding:3px 9px;border-radius:20px;color:#fff}
#ibn .ib-res.ok .ib-badge{background:#17b26a}
#ibn .ib-res.bad .ib-badge{background:#e04545}
#ibn .ib-num{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px;
  font-weight:600;letter-spacing:.5px;margin:9px 0 4px;color:#0f1b2d;word-break:break-all}
#ibn .ib-meta{font-size:12.5px;color:#4a5b73}

/* generate output */
#ibn .ib-out{margin-top:14px;background:#f7f9fc;border:1px solid #e6ecf5;border-radius:10px;padding:10px 12px}
#ibn .ib-line{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;
  color:#0f1b2d;padding:5px 0;border-bottom:1px dashed #e6ecf5;letter-spacing:.4px;word-break:break-all}
#ibn .ib-line:last-child{border-bottom:0}

/* bulk rows */
#ibn .ib-bulk{margin-top:14px}
#ibn .ib-row{display:flex;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid #eef2f8}
#ibn .ib-row:last-child{border-bottom:0}
#ibn .ib-dot{width:9px;height:9px;border-radius:50%;flex:none}
#ibn .ib-row.ok .ib-dot{background:#17b26a}
#ibn .ib-row.bad .ib-dot{background:#e04545}
#ibn .ib-rn{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;
  color:#0f1b2d;flex:1;word-break:break-all}
#ibn .ib-rr{font-size:12px;color:#7c8aa4;flex:none}

/* FAQ */
#ibn .ib-faq{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:20px 22px;
  box-shadow:0 1px 2px rgba(15,27,45,.05)}
#ibn .ib-faq h2{margin:0 0 10px;font-size:19px;color:#0f1b2d}
#ibn .ib-faq details{border-top:1px solid #eef2f8;padding:2px 0}
#ibn .ib-faq details:first-of-type{border-top:0}
#ibn .ib-faq summary{cursor:pointer;list-style:none;padding:12px 26px 12px 2px;position:relative;
  font-weight:600;font-size:14.5px;color:#14233c}
#ibn .ib-faq summary::-webkit-details-marker{display:none}
#ibn .ib-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);
  font-size:18px;color:#7c8aa4}
#ibn .ib-faq details[open] summary::after{content:"\2212"}
#ibn .ib-faq details p{margin:0 2px 12px;font-size:13.5px;line-height:1.7;color:#4a5b73}
#ibn .ib-faq code{background:#eef2f8;padding:1px 5px;border-radius:4px;font-size:12.5px}

/* Shared "More PAYATE tools" related section */
.pyt-rel{max-width:900px;margin:16px auto;padding:20px 22px;background:#fff;border:1px solid #e6ecf5;border-radius:14px;box-shadow:0 1px 2px rgba(15,27,45,.05);font-family:Poppins,"PoppinsFB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#14233c}
.pyt-rel h2{margin:0 0 12px;font-size:18px;color:#0f1b2d}
.pyt-rel .prg{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.pyt-rel a{display:block;text-decoration:none;border:1px solid #e6ecf5;border-radius:10px;padding:12px 14px;background:#fbfcfe;transition:border-color .15s,background .15s}
.pyt-rel a:hover{border-color:#1d64d8;background:#f2f7ff}
.pyt-rel .prt{display:block;font-weight:600;font-size:14px;color:#14233c;margin-bottom:2px}
.pyt-rel .prd{display:block;font-size:12px;line-height:1.4;color:#7c8aa4}
