/* PAYATE Typing Speed Test — scoped under #ttt. */
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}
#ttt{--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--accent:#1d64d8;max-width:820px;margin:0 auto;padding:18px 16px 40px}
#ttt h1,#ttt h2{font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}

#ttt .tt-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}
#ttt .tt-hero h1{margin:0 0 8px;font-size:25px;line-height:1.2;color:#0f1b2d;font-weight:700}
#ttt .tt-hero p{margin:0;font-size:14px;line-height:1.7;color:#4a5b73;max-width:700px}

#ttt .tt-card{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:20px;box-shadow:0 1px 2px rgba(15,27,45,.05);margin-bottom:16px}
#ttt .tt-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
#ttt .tt-stat{background:#fbfcfe;border:1px solid #e6ecf5;border-radius:12px;padding:14px 10px;text-align:center}
#ttt .tt-num{display:block;font-family:Poppins,system-ui,sans-serif;font-size:30px;font-weight:700;line-height:1;color:var(--accent);font-variant-numeric:tabular-nums}
#ttt .tt-num small{font-size:16px;font-weight:600;color:#8695ad}
#ttt .tt-lab{display:block;margin-top:6px;font-size:11.5px;font-weight:600;color:#5a6b83;letter-spacing:.04em}

#ttt .tt-passage{font-size:19px;line-height:2;color:#8695ad;letter-spacing:.2px;padding:16px 18px;border-radius:12px;background:#fbfcfe;border:1px solid #eef2f8;user-select:none;word-break:break-word}
#ttt .tt-passage span{border-radius:3px}
#ttt .tt-passage span.ok{color:#17885a}
#ttt .tt-passage span.bad{color:#d4573f;background:#fcecea}
#ttt .tt-passage span.cur{background:#dcebff;box-shadow:inset 0 -2px 0 var(--accent);color:#0f1b2d}

#ttt .tt-input{width:100%;box-sizing:border-box;margin-top:14px;border:1px solid #d7deea;border-radius:10px;padding:13px 15px;font-size:17px;line-height:1.6;color:#14233c;background:#fff;font-family:inherit;resize:none}
#ttt .tt-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(29,100,216,.12)}
#ttt .tt-input:disabled{background:#f4f7fb;color:#8695ad}

#ttt .tt-result{margin-top:16px;background:#eef3fe;border:1px solid #cfe0fb;border-radius:14px;padding:16px 20px;text-align:center}
#ttt .tt-result-lab{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#2b63c7}
#ttt .tt-result-main{font-family:Poppins,system-ui,sans-serif;font-size:24px;color:#0f1b2d;margin:4px 0}
#ttt .tt-result-main b{color:var(--accent)}
#ttt .tt-result-sub{font-size:13px;color:#4a5b73}

#ttt .tt-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
#ttt .tt-btn{flex:1;min-width:130px;font-family:inherit;font-size:15px;font-weight:600;padding:12px 18px;border-radius:11px;border:1px solid #d7deea;background:#fbfcfe;color:#14233c;cursor:pointer;transition:.15s}
#ttt .tt-btn:hover{border-color:var(--accent);background:#f2f7ff}
#ttt .tt-btn--primary{background:var(--accent);border-color:var(--accent);color:#fff}
#ttt .tt-btn--primary:hover{background:#1857bd;border-color:#1857bd}

#ttt .tt-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}
#ttt .tt-info h2{margin:0 0 10px;font-size:17px;color:#0f1b2d}
#ttt .tt-info ol{margin:0 0 10px;padding-left:20px}
#ttt .tt-info li{font-size:13.5px;line-height:1.8;color:#4a5b73}
#ttt .tt-info p{margin:0;font-size:13.5px;line-height:1.8;color:#4a5b73}

#ttt .tt-faq{background:#fff;border:1px solid #e6ecf5;border-radius:16px;padding:20px 22px;box-shadow:0 1px 2px rgba(15,27,45,.05)}
#ttt .tt-faq h2{margin:0 0 10px;font-size:19px;color:#0f1b2d}
#ttt .tt-faq details{border-top:1px solid #eef2f8;padding:2px 0}
#ttt .tt-faq details:first-of-type{border-top:0}
#ttt .tt-faq summary{cursor:pointer;list-style:none;padding:12px 26px 12px 2px;position:relative;font-weight:600;font-size:14.5px;color:#14233c}
#ttt .tt-faq summary::-webkit-details-marker{display:none}
#ttt .tt-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:18px;color:#5a6782}
#ttt .tt-faq details[open] summary::after{content:"\2212"}
#ttt .tt-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,-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}
