/* PAYATE ROI Calculator — scoped under #roi. Matches the house style. */
@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}
#roi{--acc:#17b26a;--acc2:#0f8f52;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;max-width:760px;margin:0 auto;padding:22px 16px 40px}
#roi h1,#roi h2{font-family:Poppins,"PoppinsFB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}

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

#roi .roi-card{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:18px 20px 20px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#roi .roi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px 16px}
#roi label{display:block;font-size:12.5px;font-weight:600;color:#5a6b83;margin:0 0 6px}
#roi label span{font-weight:500;color:#8595ab}
#roi input[type=number],#roi select{width:100%;box-sizing:border-box;border:1px solid #d7deea;border-radius:10px;padding:12px 14px;font-size:15px;color:#14233c;background:#fbfcfe;font-family:var(--mono)}
#roi select{font-family:inherit;cursor:pointer}
#roi input:focus,#roi select:focus{outline:none;border-color:var(--acc);background:#fff;box-shadow:0 0 0 3px rgba(23,178,106,.14)}
#roi .roi-termrow{display:flex;gap:8px}
#roi .roi-termrow input{flex:1}
#roi .roi-termrow select{width:auto;min-width:92px}
#roi .roi-err{margin:14px 0 0;background:#fdecec;border:1px solid #f4c7c7;color:#b42020;border-radius:10px;padding:10px 14px;font-size:13px}

#roi .roi-out{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:18px;transition:opacity .15s}
#roi .roi-result{background:#f6f9fc;border:1px solid #e6ecf5;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
#roi .roi-main{background:#eafaf1;border-color:#bfead2}
#roi .roi-rlbl{font-size:12px;font-weight:600;color:#5a6b83}
#roi .roi-rval{font-size:22px;font-weight:700;color:#0f1b2d;font-family:var(--mono)}
#roi .roi-main .roi-rval{font-size:26px}
#roi .roi-rval.pos{color:#0f8f52}
#roi .roi-rval.neg{color:#c0362c}
#roi .roi-summary{margin:14px 2px 0;font-size:13px;line-height:1.6;color:#4a5b73}

#roi .roi-info{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:18px 22px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#roi .roi-info h2{margin:0 0 10px;font-size:17px;color:#0f1b2d}
#roi .roi-info p{margin:0;font-size:13.5px;line-height:1.8;color:#4a5b73}

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

/* Shared More PAYATE tools related section */
.pyt-rel{max-width:760px;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:var(--acc);background:#eafaf1}
.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:#5a6782}

/* dark mode (site-wide theme) */
:root[data-theme="dark"] body{background:#0b1120;color:#c7d2e0}
:root[data-theme="dark"] #roi .roi-hero,:root[data-theme="dark"] #roi .roi-card,:root[data-theme="dark"] #roi .roi-info,:root[data-theme="dark"] #roi .roi-faq,:root[data-theme="dark"] .pyt-rel{background:#141c2b;border-color:#273246}
:root[data-theme="dark"] #roi .roi-hero h1,:root[data-theme="dark"] #roi .roi-info h2,:root[data-theme="dark"] #roi .roi-faq h2,:root[data-theme="dark"] .pyt-rel h2,:root[data-theme="dark"] #roi .roi-rval,:root[data-theme="dark"] .pyt-rel .prt{color:#e8edf5}
:root[data-theme="dark"] #roi .roi-hero p,:root[data-theme="dark"] #roi .roi-info p,:root[data-theme="dark"] #roi .roi-faq details p,:root[data-theme="dark"] #roi .roi-summary{color:#aab6c6}
:root[data-theme="dark"] #roi input[type=number],:root[data-theme="dark"] #roi select{background:#0f1724;border-color:#273246;color:#e8edf5}
:root[data-theme="dark"] #roi .roi-result{background:#0f1724;border-color:#273246}
:root[data-theme="dark"] #roi .roi-main{background:#0e2a1b;border-color:#1c5236}
:root[data-theme="dark"] #roi .roi-rval.pos{color:#4ade80}
:root[data-theme="dark"] #roi .roi-rval.neg{color:#f87171}
:root[data-theme="dark"] #roi .roi-faq code,:root[data-theme="dark"] #roi .roi-info code{background:#0b1120;color:#e8edf5}
:root[data-theme="dark"] .pyt-rel a{background:#0f1724;border-color:#273246}
:root[data-theme="dark"] #roi .roi-faq summary{color:#e8edf5}
:root[data-theme="dark"] #roi .roi-faq details,:root[data-theme="dark"] #roi .roi-faq details:first-of-type{border-color:#273246}
