.seo-tool { max-width: 100%; min-width: 0; }
.seo-tool [hidden] { display: none !important; }
.seo-tool-intro { font-size: 17px; line-height: 1.6; }
.seo-tool-privacy, .seo-tool-note { color: var(--muted, #64748b); font-size: 13px; line-height: 1.6; }
.seo-tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.seo-tool-fields label, .seo-output-label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; min-width: 0; }
.seo-field-wide { grid-column: 1 / -1; }
.seo-tool input, .seo-tool textarea, .seo-tool select { width: 100%; box-sizing: border-box; border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; background: #fff; color: #172033; font: inherit; }
.seo-tool textarea { resize: vertical; font-weight: 400; line-height: 1.55; }
.seo-tool input:focus, .seo-tool textarea:focus, .seo-tool select:focus { outline: 2px solid #0f766e; outline-offset: 2px; }
.seo-tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.seo-upload { display: block; margin-top: 16px; font-size: 14px; }
.seo-tool-results { margin-top: 20px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.seo-tool-results [data-summary] { font-weight: 600; margin-bottom: 16px; }
.seo-table-wrap { max-height: 480px; overflow: auto; margin-bottom: 20px; }
.seo-tool table { border-collapse: collapse; width: 100%; font-size: 13px; text-align: left; }
.seo-tool th { background: #f1f5f9; position: sticky; top: 0; }
.seo-tool td, .seo-tool th { padding: 10px; border: 1px solid #e2e8f0; overflow-wrap: anywhere; min-width: 100px; max-width: 500px; }
.seo-tool [data-output] { font-family: Consolas, monospace; font-size: 13px; }
.seo-social-preview { max-width: 500px; padding: 22px; margin-bottom: 20px; border: 1px solid #cbd5e1; border-radius: 12px; overflow-wrap: anywhere; }
.seo-social-preview strong { display: block; font-size: 20px; }
.seo-checklist { display: grid; gap: 12px; margin-bottom: 20px; }
.seo-checklist label { display: flex; align-items: start; gap: 10px; font-size: 14px; }
.seo-checklist input { width: 18px; flex-shrink: 0; }
@media (max-width: 640px) { .seo-tool-fields { grid-template-columns: 1fr; } .seo-tool-actions .button { flex: 1 1 auto; } }
