/* Gerador de link de WhatsApp: usa as variaveis e a tipografia do tema. */
.tool-main{padding-block:35px 90px}
.tool-main [hidden]{display:none!important}
.tool-main .listing-hero{margin-bottom:28px}
.tool-card{max-width:900px;margin:0 auto 56px;background:var(--surface);border:1px solid var(--line);border-radius:var(--round);padding:clamp(20px,4vw,38px);box-shadow:0 4px 16px rgba(25,57,61,.045)}
.tool-form label,.tool-result label{display:block;font-weight:700;font-size:15px;margin:0 0 6px}
.tool-optional{font-weight:500;color:var(--muted)}
.tool-form input[type=text],.tool-form input[type=tel],.tool-form textarea,.tool-result input[type=text]{width:100%;font:inherit;font-size:17px;color:var(--ink);background:#fff;border:1.5px solid #8ea4a3;border-radius:10px;padding:12px 14px;min-height:48px}
.tool-form textarea{resize:vertical;min-height:112px;line-height:1.5}
.tool-form input:focus,.tool-form textarea:focus,.tool-result input:focus{border-color:var(--teal)}
.tool-form input[aria-invalid=true]{border-color:#b42318}
textarea:focus-visible{outline:3px solid #68cfc1;outline-offset:3px}
.tool-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;margin-bottom:18px}
.tool-field{margin-bottom:18px}.tool-row .tool-field{margin-bottom:0}
.tool-help{margin:6px 0 0;font-size:13px;color:var(--muted);line-height:1.45}
.tool-error{margin:8px 0 0;font-size:14px;font-weight:650;color:#b42318}
.tool-meta{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.tool-count{margin:6px 0 0;font-size:13px;color:var(--muted);white-space:nowrap}.tool-count.is-over{color:#b42318;font-weight:700}
.tool-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 22px}.tool-chips__label{font-size:13px;color:var(--muted);font-weight:650;margin-right:2px}
.chip{font:inherit;font-size:14px;font-weight:600;color:var(--teal-dark);background:#eaf6f2;border:1px solid #cfe5df;border-radius:999px;padding:8px 14px;min-height:44px;cursor:pointer}
.chip:hover{background:#dcf0ea}
.tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:16px;font-weight:750;min-height:48px;padding:0 20px;border-radius:10px;border:1.5px solid var(--teal);cursor:pointer;text-decoration:none;line-height:1.2}
.btn--primary{background:var(--teal);color:#fff}.btn--primary:hover{background:var(--teal-dark);color:#fff}
.btn--ghost{background:#fff;color:var(--teal-dark)}.btn--ghost:hover{background:#eaf6f2;color:var(--teal-dark)}
.btn:disabled{opacity:.5;cursor:not-allowed}
.tool-note{margin:12px 0 0;font-size:14px;color:#41596c;line-height:1.5}.tool-note:empty{display:none}.tool-note.is-warn{color:#8a4b00;font-weight:600}
.tool-result{margin-top:30px;padding-top:26px;border-top:1px solid var(--line)}
.tool-result__title{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin:0 0 18px;overflow-wrap:anywhere}
.tool-result__grid{display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:30px;align-items:start}
.tool-result__link .tool-actions{margin-top:12px}
.tool-result__qr{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.tool-result__qr canvas{display:block;width:100%;max-width:296px;aspect-ratio:1;height:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
.tool-result__qr .tool-actions .btn{flex:1 1 auto;font-size:15px;padding:0 14px}
.tool-result__qr .tool-note{margin:0}
.tool-main .listing-hero .eyebrow{position:relative;z-index:1}
.tool-check{min-height:44px;cursor:pointer;display:flex!important;align-items:center;gap:9px;font-weight:600!important;font-size:14px!important;margin:0!important}
.tool-check input{width:24px;height:24px;flex:none;margin:0;accent-color:var(--teal);cursor:pointer}
.tool-privacy{margin:26px 0 0;padding:13px 16px;background:#ecf7f3;border-left:4px solid var(--teal);border-radius:0 10px 10px 0;font-size:14px;line-height:1.55}
.tool-text{max-width:780px;margin:0 auto}
.tool-text .article-content table{width:100%;border-collapse:collapse;font-size:16px;margin:0 0 24px}
.tool-text .article-content th,.tool-text .article-content td{border:1px solid var(--line);padding:9px 12px;text-align:left;vertical-align:top}
.tool-text .article-content th{background:#eaf6f2}
.tool-text .article-content code{background:#eef4f3;padding:1px 6px;border-radius:5px;font-size:.92em;overflow-wrap:anywhere}
@media(max-width:700px){
 .tool-main{padding-block:14px 65px}
 .tool-main .listing-hero{padding:24px 22px;margin-bottom:16px}
 .tool-main .listing-hero h1{font-size:30px}
 .tool-main .listing-hero>p:last-child{margin-top:12px;font-size:15.5px;line-height:1.55}
 .tool-card{margin-bottom:36px}
 .tool-row{grid-template-columns:96px minmax(0,1fr);gap:12px}
 .tool-result__grid{grid-template-columns:1fr}
 .tool-result__qr{align-items:center}.tool-result__qr .tool-actions{width:100%}
 .tool-actions .btn{flex:1 1 100%}
 .tool-meta{flex-direction:column;gap:0}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
