/* PAYATE Text to Speech — scoped under #tts. */
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}
#tts{--accent:#1d64d8;max-width:820px;margin:0 auto;padding:18px 16px 40px}
#tts h1,#tts h2{font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}

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

#tts .ts-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}
#tts .ts-lbl{display:block;font-size:12.5px;font-weight:600;color:#5a6b83;margin:0 0 6px}
#tts textarea{width:100%;box-sizing:border-box;border:1px solid #d7deea;border-radius:10px;padding:13px 15px;font-size:15px;line-height:1.7;color:#14233c;background:#fbfcfe;font-family:inherit;resize:vertical;min-height:120px}
#tts textarea:focus{outline:none;border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(29,100,216,.12)}

#tts .ts-rows{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
#tts .ts-field--wide{grid-column:1 / -1}
@media (max-width:560px){#tts .ts-rows{grid-template-columns:1fr}}
#tts .ts-field{display:flex;flex-direction:column;gap:7px;font-size:12.5px;font-weight:600;color:#5a6b83}
#tts .ts-field output{font-family:ui-monospace,Menlo,Consolas,monospace;color:var(--accent);font-weight:700}
#tts select{font-family:inherit;font-size:14px;color:#14233c;background:#fbfcfe;border:1px solid #d7deea;border-radius:9px;padding:11px 12px}
#tts select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(29,100,216,.12)}
#tts input[type=range]{width:100%;accent-color:var(--accent);margin:4px 0}

#tts .ts-controls{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}
#tts .ts-btn{flex:1;min-width:120px;font-family:inherit;font-size:15px;font-weight:600;padding:13px 18px;border-radius:11px;border:1px solid #d7deea;background:#fbfcfe;color:#14233c;cursor:pointer;transition:.15s}
#tts .ts-btn:hover:not(:disabled){border-color:var(--accent);background:#f2f7ff}
#tts .ts-btn:disabled{opacity:.45;cursor:not-allowed}
#tts .ts-btn--go{background:var(--accent);border-color:var(--accent);color:#fff}
#tts .ts-btn--go:hover:not(:disabled){background:#1857bd;border-color:#1857bd}
#tts .ts-btn--ghost{color:#b23b4e}
#tts .ts-btn--ghost:hover:not(:disabled){border-color:#d46172;background:#fdf2f4}
#tts .ts-note{margin:12px 0 0;font-size:12.5px;color:#5a6b83;min-height:16px}

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

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