/* RobotSpeed free-tool styles (static plugin asset, enqueued via wp_enqueue_style).
   Scoped under .rs-tool / .rs-widget so it can't fight the client theme.
   Accent is a single variable (--rs-accent) so the tool reads as brand-neutral on any
   site (refined near-black by default) and a real client brand colour can be injected
   later via an inline style on .rs-tool without touching this file. */

.rs-tool{--rs-accent:#1d1d1f;--rs-accent-strong:#000;--rs-accent-soft:rgba(0,0,0,.05);--rs-accent-ring:rgba(0,0,0,.14);max-width:48rem;margin:2.5rem auto;padding:2.25rem 2.5rem 2.75rem;background:#ffffff;color:#1d1d1f;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:1.0625rem;line-height:1.75;border-radius:20px;border:1px solid rgba(0,0,0,.05);box-shadow:0 10px 50px rgba(0,0,0,.10)}
@media(max-width:600px){.rs-tool{padding:1.5rem 1.25rem 1.75rem;border-radius:16px;margin:1.25rem auto}}
.rs-tool *{box-sizing:border-box}
.rs-tool h1{font-size:clamp(1.9rem,4vw,2.8rem);font-weight:700;letter-spacing:-.025em;line-height:1.12;margin:0 0 1.25rem;color:#1d1d1f!important}
.rs-tool h2{font-size:1.6rem;font-weight:700;letter-spacing:-.02em;line-height:1.2;margin:2.75rem 0 1rem;color:#1d1d1f!important}
.rs-tool h3{font-size:1.18rem;font-weight:600;margin:1.75rem 0 .5rem;color:#1d1d1f!important}
.rs-tool h4{color:#1d1d1f!important}
.rs-tool p,.rs-tool li,.rs-tool strong,.rs-tool em,.rs-tool b{color:#1d1d1f!important}
.rs-tool p{margin:0 0 1.15rem}
.rs-tool ul,.rs-tool ol{margin:0 0 1.15rem 1.3rem}
.rs-tool li{margin:.35rem 0}
.rs-tool a{color:var(--rs-accent);text-decoration:underline}
.rs-tool figure{margin:2.25rem 0}
.rs-tool figure img{width:100%;height:auto;border-radius:16px;display:block}
.rs-tool figcaption{font-size:.85rem;color:#6b7280;text-align:center;margin-top:.6rem}
.rs-tool [itemtype*="FAQPage"]{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}
.rs-tool [itemtype*="Question"]{border:1px solid #ececec;border-radius:14px;padding:1.1rem 1.35rem;background:#fafafa}
.rs-tool [itemtype*="Question"] h3{margin:0 0 .45rem;font-size:1.05rem}
.rs-tool [itemtype*="Question"] p{margin:0;color:#444}
.rs-tool .cta-section{margin-top:2.5rem;padding:1.75rem;border-radius:18px;background:#f4f4f5}
.rs-tool .cta-section h2{margin-top:0}
.rs-tool-crumbs{display:flex;gap:.5rem;align-items:center;font-size:.85rem;color:#9ca3af;margin:0 0 1rem}
.rs-tool-crumbs a{color:#6b7280;text-decoration:none}
.rs-tool-crumbs a:hover{text-decoration:underline}
.rs-tool-related{margin-top:3rem;padding-top:2rem;border-top:1px solid #ececec}
.rs-tool-related h2{font-size:1.3rem;margin:0 0 1rem}
.rs-tool-related ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
@media(min-width:640px){.rs-tool-related ul{grid-template-columns:1fr 1fr}}
.rs-tool-related a{display:block;padding:.85rem 1.1rem;border:1px solid #ececec;border-radius:12px;color:#1d1d1f;text-decoration:none;font-weight:500}
.rs-tool-related a:hover{border-color:var(--rs-accent);color:var(--rs-accent)}

.rs-widget{max-width:46rem;margin:2rem auto;border:1px solid #e8e8ea;border-radius:20px;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.05);overflow:hidden}
.rs-widget__body{display:grid;grid-template-columns:1fr;gap:0}
@media(min-width:720px){.rs-widget__body{grid-template-columns:1fr 1fr}}
.rs-widget__inputs{padding:2rem;display:flex;flex-direction:column}
.rs-widget__kicker{align-self:flex-start;font-size:.75rem;font-weight:600;color:var(--rs-accent);background:var(--rs-accent-soft);padding:.28rem .7rem;border-radius:999px;margin-bottom:1.1rem}
.rs-widget__heading{margin:0 0 1.25rem;font-size:1.05rem;font-weight:700;color:#1d1d1f}
.rs-widget__field{margin-bottom:1.1rem}
.rs-widget__field label{display:block;font-size:.9rem;font-weight:600;color:#374151;margin-bottom:.4rem}
.rs-widget__field input[type=number],.rs-widget__field input[type=text],.rs-widget__field select{width:100%;height:2.7rem;border:1px solid #d8d8dc;border-radius:10px;padding:0 .85rem;font-size:1rem;color:#1d1d1f;background:#fff;outline:none}
.rs-widget__field input:focus,.rs-widget__field select:focus{border-color:var(--rs-accent);box-shadow:0 0 0 3px var(--rs-accent-ring)}
.rs-widget__range{display:flex;align-items:center;gap:.75rem}
.rs-widget__range input[type=range]{flex:1;accent-color:var(--rs-accent)}
.rs-widget__range b{min-width:3.5rem;text-align:right;font-variant-numeric:tabular-nums}
.rs-widget__hint{font-size:.8rem;color:#9ca3af;margin-top:.3rem}
.rs-widget__result{padding:2rem;background:#f7f7f8;border-left:1px solid #ececec;display:flex;flex-direction:column;gap:1.1rem;justify-content:center}
@media(max-width:719px){.rs-widget__result{border-left:0;border-top:1px solid #ececec}}
.rs-widget__result .rs-widget__heading{margin:0;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9ca3af}
.rs-widget__out{display:flex;flex-direction:column;gap:1rem}
.rs-widget__metric .v{font-size:2.1rem;font-weight:800;line-height:1.05;color:var(--rs-accent)}
.rs-widget__metric .k{font-size:.85rem;color:#4b5563;margin-top:.15rem}
.rs-widget__note{font-size:.74rem;color:#9ca3af;margin-top:.1rem}
.rs-widget a.rs-widget__cta{display:block;width:100%;margin-top:auto;padding:.95rem 1.4rem;background:var(--rs-accent);color:#fff;font-weight:700;border-radius:12px;text-decoration:none;text-align:center}
.rs-widget a.rs-widget__cta:hover{background:var(--rs-accent-strong);color:#fff}
