/* PAYATE Tip Calculator — scoped under #tip. */
@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}
#tip{--accent:#f59e0b;--accent-dk:#d4880a;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;max-width:820px;margin:0 auto;padding:18px 16px 40px}
#tip h1,#tip h2{font-family:Poppins,"PoppinsFB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
#tip code{background:#eef2f8;padding:1px 5px;border-radius:4px;font-size:.9em;font-family:var(--mono)}
#tip .tip-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}
#tip .tip-hero h1{margin:0 0 8px;font-size:25px;line-height:1.2;color:#0f1b2d;font-weight:700}
#tip .tip-hero p{margin:0;font-size:14px;line-height:1.7;color:#4a5b73;max-width:700px}
#tip .tip-card{background:#fff;border:1px solid #e6ecf5;border-radius:14px;padding:18px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#tip .tip-row{margin-bottom:18px}
#tip label{display:block;font-size:12.5px;font-weight:600;color:#5a6b83;margin:0 0 8px}
#tip input[type=number]{width:100%;box-sizing:border-box;border:1px solid #d7deea;border-radius:10px;padding:12px 14px;font-size:16px;color:#14233c;background:#fbfcfe;font-family:var(--mono)}
#tip input[type=number]:focus{outline:none;border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(245,158,11,.14)}
#tip .tip-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
#tip .tip-preset{border:1px solid #e3d3ad;background:#fff;color:#8a6a15;border-radius:10px;padding:9px 16px;font-size:13.5px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
#tip .tip-preset:hover{background:#fdf6e7;border-color:var(--accent)}
#tip .tip-preset.on{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 1px 2px rgba(180,120,10,.2)}
#tip .tip-pctrow{display:flex;align-items:center;gap:16px}
#tip input[type=range]{flex:1;-webkit-appearance:none;appearance:none;height:6px;border-radius:5px;background:linear-gradient(90deg,#fde8bf,#f7c45c);outline:none;cursor:pointer}
#tip input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;background:var(--accent);border:3px solid #fff;box-shadow:0 1px 3px rgba(15,27,45,.25);cursor:pointer}
#tip input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--accent);border:3px solid #fff;box-shadow:0 1px 3px rgba(15,27,45,.25);cursor:pointer}
#tip .tip-pctnum{display:flex;align-items:center;gap:6px;flex:0 0 auto}
#tip .tip-pctnum input{width:84px;text-align:right}
#tip .tip-pctnum span{font-size:14px;font-weight:600;color:#5a6b83}
#tip .tip-stepper{display:flex;align-items:center;gap:10px;max-width:220px}
#tip .tip-step{width:44px;height:44px;flex:0 0 auto;border:1px solid #d7deea;background:#fbfcfe;color:#3d4d63;border-radius:10px;font-size:20px;font-weight:600;line-height:1;cursor:pointer;transition:background .15s,border-color .15s}
#tip .tip-step:hover{background:#fdf6e7;border-color:var(--accent);color:var(--accent-dk)}
#tip .tip-stepper input{text-align:center}
#tip .tip-toggle label{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#3d4d63;cursor:pointer;margin:0}
#tip .tip-toggle input{width:16px;height:16px;accent-color:var(--accent);cursor:pointer}
#tip .tip-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:4px}
#tip .tip-res{background:#fdf6e7;border:1px solid #f1e2bd;border-radius:12px;padding:14px 16px;text-align:center}
#tip .tip-res:first-child,#tip .tip-res:nth-child(2){background:#0f1b2d;border-color:#0f1b2d}
#tip .tip-res:first-child .tip-reslbl,#tip .tip-res:nth-child(2) .tip-reslbl{color:#9fb0c9}
#tip .tip-res:first-child .tip-resval,#tip .tip-res:nth-child(2) .tip-resval{color:#fff}
#tip .tip-res:nth-child(2) .tip-resval{color:var(--accent)}
#tip .tip-reslbl{display:block;font-size:12px;font-weight:600;color:#8a6a15;margin-bottom:6px;text-transform:uppercase;letter-spacing:.03em}
#tip .tip-resval{display:block;font-size:24px;font-weight:700;color:#0f1b2d;font-family:var(--mono)}
#tip .tip-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}
#tip .tip-info h2{margin:0 0 10px;font-size:17px;color:#0f1b2d}
#tip .tip-info ol{margin:0 0 10px;padding-left:20px}
#tip .tip-info li{font-size:13.5px;line-height:1.8;color:#4a5b73}
#tip .tip-info p{margin:0;font-size:13.5px;line-height:1.8;color:#4a5b73}
#tip .tip-faq{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:20px 22px;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#tip .tip-faq h2{margin:0 0 10px;font-size:19px;color:#0f1b2d}
#tip .tip-faq details{border-top:1px solid #eef2f8;padding:2px 0}
#tip .tip-faq details:first-of-type{border-top:0}
#tip .tip-faq summary{cursor:pointer;list-style:none;padding:12px 26px 12px 2px;position:relative;font-weight:600;font-size:14.5px;color:#14233c}
#tip .tip-faq summary::-webkit-details-marker{display:none}
#tip .tip-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:18px;color:#5a6782}
#tip .tip-faq details[open] summary::after{content:"\2212"}
#tip .tip-faq details p{margin:0 2px 12px;font-size:13.5px;line-height:1.7;color:#4a5b73}
/* Shared More PAYATE tools related section */
.pyt-rel{max-width:820px;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:#5a6782}
