.seo-editor { scroll-margin-top: 100px; }
.seo-editor > .field, .seo-editor > .field-grid { margin-top: 1.1rem; }
.seo-editor .panel-heading { align-items: start; gap: 1rem; }
.seo-editor .panel-heading > a { white-space: nowrap; font-size: .8rem; }
.seo-snippet { margin-top: 1.3rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); overflow-wrap: anywhere; }
.seo-snippet > * { display: block; }
.seo-snippet strong, .seo-search-title { color: var(--forest); font-size: 1.08rem; line-height: 1.5; }
.seo-snippet p { margin: .35rem 0 .6rem; font-size: .88rem; }
.seo-snippet small { color: var(--muted); font-size: .73rem; }
.seo-geo-heading { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.geo-list-editor { margin-top: 1.5rem; }
.geo-list-editor h4 { margin: 0; }
.geo-edit-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: start; gap: .7rem; margin-bottom: .8rem; padding: .9rem; border: 1px solid var(--line); border-radius: 8px; }
.geo-edit-row > button { margin-top: 1.5rem; }
.seo-note { color: var(--muted); line-height: 1.8; font-size: .8rem; padding: 1rem 0; }
.seo-stats .stat-card { min-height: 120px; border-radius: 8px; }
.seo-discovery-links { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.2rem; font-size: .85rem; color: var(--forest); }
.seo-filter { grid-template-columns: minmax(180px,1fr) 190px auto auto; }
.seo-table td:first-child { width: 40%; min-width: 250px; }
.seo-search-title { margin: .7rem 0 .25rem; font-weight: 600; }
.seo-search-description { margin: 0; color: var(--muted); line-height: 1.7; }
.seo-status { display: inline-block; padding: .25rem .5rem; margin-bottom: .4rem; border-radius: 5px; background: var(--paper-deep); }
.seo-status.is-ready { color: var(--forest); background: var(--lime); }
.seo-table details { margin-top: .65rem; }
.seo-suggestions { padding-left: 1rem; line-height: 1.8; }
.seo-url { overflow-wrap: anywhere; max-width: 240px; }
.article-geo-summary { margin-bottom: 1.6rem; padding: 1rem 1.3rem; border-left: 3px solid var(--lime-deep); background: var(--paper-deep); border-radius: 0 8px 8px 0; }
.article-geo-summary h2 { margin-top: 0 !important; }
.article-geo-text { white-space: pre-line; }
.article-geo-faqs h3 { font-size: 1.1em; }
.article-geo-sources a { overflow-wrap: anywhere; }
@media(max-width: 700px) {
  .geo-edit-row, .seo-filter { grid-template-columns: minmax(0,1fr); }
  .geo-edit-row > button { margin-top: 0; justify-self: start; }
  .seo-editor .panel-heading { flex-direction: column; }
}
