/* Interactive reference tools styling aligned with Lawn & Garden Reviews editorial tokens. */
.tool-page{padding-bottom:44px}
.tool-hero{max-width:960px;padding-block:14px 22px;border-bottom:1px solid var(--line);margin-bottom:26px}
.tool-hero h1{margin:0 0 12px}
.tool-hero p{font-size:19px;line-height:1.55;color:var(--ink);margin:0 0 14px;max-width:76ch}
.tool-jump-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.tool-jump-links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid #cbd7cd;border-radius:5px;background:#f7f9f6;color:var(--green-dark);font-size:16px;font-weight:600;text-decoration:none}
.tool-jump-links a:hover{border-color:var(--green);background:#eaf1e7;text-decoration:underline}

.tool-panel{background:#f5f7f1;border:1px solid #c7d2c5;border-radius:8px;padding:22px 24px;margin-bottom:28px}
.tool-panel h2{margin:0 0 8px;font-size:26px;line-height:1.25}
.tool-panel>p{margin:0 0 18px;font-size:17px;line-height:1.55;color:var(--ink);max-width:74ch}

.tool-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}
.tool-form-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.tool-form-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.tool-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.tool-field label,.tool-field legend{font-size:15px;font-weight:700;color:#173d31;line-height:1.35}
.tool-field input,.tool-field select{width:100%;min-height:46px;padding:9px 12px;border:1px solid #718371;border-radius:4px;background:#fff;color:#1d2621;font:400 16px/1.4 var(--sans)}
.tool-field-hint{font-size:14px;line-height:1.4;color:var(--muted)}
.tool-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:16px}
.tool-actions .button{cursor:pointer}
.tool-actions .button-light{cursor:pointer}

.tool-area-helper{margin-top:14px;padding-top:14px;border-top:1px solid #d4dfd2}
.tool-area-helper summary{font-size:16px;font-weight:600;color:var(--editorial-link);cursor:pointer;padding:6px 0}
.tool-area-helper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;margin-top:10px}

.tool-verdict{margin-top:18px;padding:18px 20px;border-radius:6px;border:1px solid #b9ccbc;background:#fff}
.tool-verdict-compatible{border-color:#286b3c;background:#f0f8f2}
.tool-verdict-conditional{border-color:#9a6b1f;background:#fdf8ec}
.tool-verdict-incompatible{border-color:#a6362c;background:#fdf3f2}
.tool-verdict-badge{display:inline-block;padding:3px 10px;border-radius:3px;font-size:13px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;margin-bottom:8px;background:#e6efe7;color:#1d512c}
.tool-verdict-compatible .tool-verdict-badge{background:#286b3c;color:#fff}
.tool-verdict-conditional .tool-verdict-badge{background:#8c5d11;color:#fff}
.tool-verdict-incompatible .tool-verdict-badge{background:#a6362c;color:#fff}
.tool-verdict h3{margin:0 0 8px;font-size:21px;line-height:1.3;color:var(--ink)}
.tool-verdict p{margin:0 0 8px;font-size:17px;line-height:1.55;color:var(--ink)}
.tool-verdict p:last-child{margin-bottom:0}

.seed-output-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.seed-stat-card{background:#fff;border:1px solid #cbd7cd;border-radius:6px;padding:16px 18px}
.seed-stat-label{display:block;font-size:14px;font-weight:600;color:var(--muted);margin-bottom:4px}
.seed-stat-value{display:block;font-size:28px;font-weight:700;line-height:1.15;color:#1d512c;margin-bottom:6px}
.seed-stat-sub{display:block;font-size:15px;line-height:1.45;color:var(--ink)}
.seed-guidance-box{margin-top:16px;padding:16px 18px;background:#fff;border:1px solid #cbd7cd;border-radius:6px}
.seed-guidance-box h3{margin:0 0 8px;font-size:19px}
.seed-guidance-box p{margin:0 0 8px;font-size:16px;line-height:1.55}
.seed-guidance-box p:last-child{margin-bottom:0}
.seed-bag-breakdown{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.seed-bag-chip{display:inline-flex;align-items:center;padding:5px 10px;border-radius:4px;background:#f1f5f1;border:1px solid #cbd7cd;font-size:14px;font-weight:600;color:#1d3b27}

.matrix-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.matrix-count{font-size:16px;font-weight:600;color:var(--ink);margin:0}
.matrix-table table{min-width:920px}
.matrix-table td,.matrix-table th{min-width:140px;max-width:290px}
.matrix-table tbody th{width:195px;background:#f7f9f6}
.matrix-platform-name{display:block;font-size:18px;font-weight:700;color:var(--ink);margin-bottom:4px}
.matrix-brand-link{display:inline-block;font-size:14px;font-weight:600;margin-top:4px}
.matrix-pill{display:inline-block;padding:2px 8px;border-radius:3px;font-size:13px;font-weight:700;margin:0 4px 4px 0}
.matrix-pill-yes{background:#e4f1e7;color:#1d512c}
.matrix-pill-warn{background:#fcf1db;color:#7a4f0a}
.matrix-pill-no{background:#fbe8e6;color:#932d24}
.matrix-tool-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:15px}
.matrix-model-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:15px}
.matrix-empty{padding:24px;text-align:center;border:1px solid var(--line);background:#f7f7f7;margin-top:12px}

.tool-warning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}
.tool-warning-card{padding:18px 20px;border:1px solid #cbd7cd;border-radius:6px;background:#fff}
.tool-warning-card h3{margin:0 0 8px;font-size:20px;color:var(--ink)}
.tool-warning-card p{margin:0;font-size:16px;line-height:1.55;color:var(--ink)}

.tool-section{margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}
.tool-section h2{margin:0 0 10px}
.tool-section>p{font-size:18px;line-height:1.55;max-width:76ch;margin:0 0 18px}

.tools-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0 32px}
.tool-hub-card{display:flex;flex-direction:column;justify-content:space-between;gap:14px;padding:22px 24px;border:1px solid #cbd7cd;border-radius:8px;background:#fff}
.tool-hub-card:hover{border-color:var(--green);background:#fbfdf9}
.tool-hub-card h2{margin:0 0 8px;font-size:24px;line-height:1.25}
.tool-hub-card h2 a{color:var(--ink);text-decoration:none}
.tool-hub-card h2 a:hover{color:var(--editorial-link);text-decoration:underline}
.tool-hub-card p{margin:0;font-size:17px;line-height:1.55;color:var(--ink)}
.tool-hub-meta{font-size:14px;font-weight:600;color:var(--green-dark);margin-bottom:6px;display:block}

.tool-related-links{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:12px;font-size:16px}
.tool-related-links a{font-weight:600}

.tool-faq details{border-bottom:1px solid var(--line);padding:14px 0}
.tool-faq summary{font-size:19px;font-weight:700;cursor:pointer;color:var(--ink);list-style:none}
.tool-faq summary::-webkit-details-marker{display:none}
.tool-faq summary::after{content:'+';float:right;font-weight:700;color:var(--green-dark)}
.tool-faq details[open] summary::after{content:'-'}
.tool-faq details p{margin:10px 0 4px;font-size:17px;line-height:1.6;max-width:76ch}

.tool-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:16px}
.tool-product-card{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:16px;border:1px solid #cbd7cd;border-radius:6px;background:#fff}
.tool-product-card.is-recommended-match{border-color:var(--green);background:#f4f9f5;box-shadow:0 0 0 1px var(--green)}
.tool-product-photo{display:flex;align-items:center;justify-content:center;height:145px;padding:10px;background:#f8faf7;border-radius:4px}
.tool-product-photo img{width:100%;height:100%;object-fit:contain}
.tool-product-card h3{margin:4px 0 6px;font-size:19px;line-height:1.25}
.tool-product-card h3 a{color:var(--ink);text-decoration:none}
.tool-product-card h3 a:hover{color:var(--editorial-link);text-decoration:underline}
.tool-product-card p{margin:0;font-size:15px;line-height:1.5;color:var(--ink)}
.tool-product-kicker{font-size:13px;font-weight:700;color:var(--green-dark)}
.tool-product-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-top:8px;border-top:1px solid var(--line)}
.tool-product-actions .amazon-link{min-height:42px;padding:8px 14px;font-size:15px}
.tool-product-actions .text-link{font-size:15px}

@media(max-width:900px){
 .tool-form-grid,.tool-form-grid-four,.seed-output-grid,.tool-area-helper-grid,.tool-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tools-hub-grid,.tool-warning-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
 .tool-panel{padding:16px}
 .tool-form-grid,.tool-form-grid-two,.tool-form-grid-four,.seed-output-grid,.tool-area-helper-grid,.tool-product-grid{grid-template-columns:1fr}
 .tool-actions{flex-direction:column;align-items:stretch}
 .tool-actions .button,.tool-actions .button-light{width:100%;justify-content:center}
 .seed-stat-value{font-size:24px}
}
