.tools-container:has(.tool-page-sitemap-validator) {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  padding-left: 28px;
  padding-right: 28px;
}
.tool-page.tool-page-sitemap-validator,
.shared-result-main.tool-page-sitemap-validator { width: 100%; max-width: 100%; min-width: 0; color: var(--tf-text); }
.sm-page, .sm-results, .sm-report, .sm-table-wrap, .sm-xml { min-width: 0; max-width: 100%; }
.tool-page-sitemap-validator [hidden] { display: none !important; }
.tool-page-sitemap-validator .tool-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "mark title back" "mark text back";
  column-gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.sm-mark {
  grid-area: mark; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; background: #2459e0; color: #fff;
}
.tool-page-sitemap-validator .tool-header h1 { grid-area: title; margin: 0; font-size: 34px; line-height: 1.1; }
.tool-page-sitemap-validator .tool-description { grid-area: text; margin: 4px 0 0; }
.tool-page-sitemap-validator .tf-back { grid-area: back; align-self: start; }
.sm-page { display: grid; gap: 20px; }
.sm-card, .sm-report {
  background: var(--tf-card); border: 1px solid var(--tf-line); border-radius: 16px; padding: 24px;
}
.sm-card h2, .sm-report h2, .sm-report h3 { margin: 0; color: var(--tf-text); }
.tool-page-sitemap-validator .sm-report h2 { font-size: 28px; line-height: 1.2; }
.sm-help, .sm-note, .sm-note-line, .sm-discovery, .sm-expiry, .sm-lead { color: var(--tf-muted); line-height: 1.5; }
.sm-label { display: block; margin: 16px 0 8px; font-size: 14px; font-weight: 650; }
.sm-entry, .sm-actions, .sm-report-head { display: flex; gap: 10px; align-items: center; }
.sm-entry .sm-input { flex: 1; min-width: 0; }
.tool-page-sitemap-validator .sm-input,
.shared-result-main.tool-page-sitemap-validator .sm-input {
  width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--tf-line);
  background: #fff; color: #182b49; padding: 0 16px; font-family: inherit; font-size: 16px;
}
.sm-submit, .sm-share, .sm-download, .sm-actions button, .sm-raw-actions button {
  border: 0; border-radius: 12px; background: #2459e0; color: #fff; min-height: 44px; padding: 0 16px;
  font: inherit; font-weight: 650; cursor: pointer;
}
.sm-example, .sm-tab { background: transparent; border: 0; color: #2459e0; font: inherit; cursor: pointer; }
.sm-example { padding: 0; text-align: left; }
.tool-page-sitemap-validator .sm-note,
.shared-result-main.tool-page-sitemap-validator .sm-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #e8f1ff; color: #1d3f91;
}
.sm-footnote { margin: 16px 0 0; color: var(--tf-muted); line-height: 1.5; }
.tool-page-sitemap-validator .sm-look {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 18px;
}
.tool-page-sitemap-validator .sm-look article {
  display: flex; gap: 12px; align-items: flex-start; min-width: 0; height: auto;
}
.tool-page-sitemap-validator .sm-look h3 { display: block; margin: 0 0 4px; font-size: 15px; line-height: 1.3; }
.tool-page-sitemap-validator .sm-look p { margin: 0; color: var(--tf-muted); font-size: 13px; line-height: 1.45; }
.sm-ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #e8efff; color: #2459e0; flex: 0 0 36px; }
.tool-page-sitemap-validator .sm-steps {
  list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px;
}
.tool-page-sitemap-validator .sm-steps li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; height: auto;
}
.tool-page-sitemap-validator .sm-steps li > span {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px;
  background: #2459e0; color: #fff; font-weight: 700;
}
.tool-page-sitemap-validator .sm-steps strong { display: block; margin: 2px 0 4px; font-size: 15px; line-height: 1.3; }
.tool-page-sitemap-validator .sm-steps li div span {
  display: block; width: auto; height: auto; margin: 0; padding: 0; border-radius: 0;
  background: none; color: var(--tf-muted); font-size: 14px; font-weight: 400; line-height: 1.45;
}
.tools-container:has(.tool-page-sitemap-validator) .sm-related-head p { margin: 8px 0 16px; color: var(--tf-muted); }
.tools-container:has(.tool-page-sitemap-validator) .sm-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tools-container:has(.tool-page-sitemap-validator) .sm-rel {
  display: flex; gap: 12px; align-items: center; min-height: 84px; height: auto; padding: 16px;
  border: 1px solid var(--tf-line); border-radius: 16px; text-decoration: none; color: inherit; background: var(--tf-card);
}
.tools-container:has(.tool-page-sitemap-validator) .sm-rel .sm-rel-icon {
  width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px; background: #eef3ff; color: #2459e0;
}
.tools-container:has(.tool-page-sitemap-validator) .sm-rel-icon.robots { background: #eef3ff; color: #2459e0; }
.tools-container:has(.tool-page-sitemap-validator) .sm-rel-icon.seo { background: #ecfdf3; color: #067647; }
.tools-container:has(.tool-page-sitemap-validator) .sm-rel-icon.audit { background: #fff7ed; color: #9a3412; }
.tools-container:has(.tool-page-sitemap-validator) .sm-rel strong,
.tools-container:has(.tool-page-sitemap-validator) .sm-rel > span:not(.sm-rel-icon),
.tools-container:has(.tool-page-sitemap-validator) .sm-rel > span span { display: block; width: auto; height: auto; }
.tools-container:has(.tool-page-sitemap-validator) .sm-rel span span { color: var(--tf-muted); font-size: 13px; line-height: 1.4; }
.sm-error { color: #b42318; }
.sm-banner { margin: 0; padding: 14px 16px; border-radius: 12px; background: #e8f1ff; color: #1d3f91; }
.sm-banner.is-bad { background: #fef3f2; color: #b42318; }
.tool-page-sitemap-validator .sm-results > .sm-sample,
.shared-result-main.tool-page-sitemap-validator .sm-results > .sm-sample {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 14px;
  border-radius: 12px; background: #e8f1ff; color: #1d3f91; border: 1px solid #d5e4ff;
}
.sm-status-ico { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: #2459e0; color: #fff; font-size: 13px; }
.sm-report-head { justify-content: space-between; margin-bottom: 18px; }
.sm-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 22px; align-items: center; }
.sm-root, .sm-root a { overflow-wrap: anywhere; }
.sm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sm-stats article { min-width: 0; }
.sm-stats strong { display: block; font-size: 28px; color: var(--tf-text); }
.sm-stats span, .sm-file .sm-child { display: block; color: var(--tf-muted); font-size: 13px; }
.sm-tabs { display: flex; gap: 22px; flex-wrap: wrap; margin: 22px 0 0; border-bottom: 1px solid var(--tf-line); }
.sm-tab { min-height: 42px; padding: 8px 2px; border-radius: 0; color: #5c6b82; font-weight: 650; }
.sm-tab.is-selected { background: transparent; color: #2459e0; box-shadow: inset 0 -2px 0 #2459e0; }
.sm-files { margin-top: 8px; }
.sm-table-wrap { overflow-x: auto; }
.sm-table { width: 100%; border-collapse: collapse; }
.tool-page-sitemap-validator .sm-table th,
.shared-result-main.tool-page-sitemap-validator .sm-table th {
  padding: 12px 14px; text-align: left; vertical-align: middle; background: #f5f7fb; color: #5c6b82;
  font-size: 13px; font-weight: 650; border-bottom: 1px solid var(--tf-line);
}
.tool-page-sitemap-validator .sm-table td,
.shared-result-main.tool-page-sitemap-validator .sm-table td { padding: 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--tf-line); overflow-wrap: anywhere; }
.tool-page-sitemap-validator .sm-table a,
.shared-result-main.tool-page-sitemap-validator .sm-table a { color: #2459e0; text-decoration: none; }
.sm-http.is-ok { color: #12b76a; font-weight: 700; }
.sm-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; background: #eef2f6; color: #3d4d66; font-size: 13px; font-weight: 650; }
.sm-pill.is-ok { background: #e8f8ef; color: #067647; }
.sm-pill.is-bad { background: #fef3f2; color: #b42318; }
.sm-files-toggle {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; margin-top: 10px; padding: 14px 16px;
  border: 0; border-radius: 12px; background: #eef4ff; color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.sm-files-toggle strong { display: block; font-size: 15px; }
.sm-files-hint { display: block; margin-top: 2px; color: var(--tf-muted); font-size: 13px; }
.sm-chevron { width: 16px; margin-top: 2px; color: #2459e0; font-weight: 700; transition: transform .15s ease; }
.sm-files-toggle[aria-expanded="true"] .sm-chevron { transform: rotate(90deg); }
.sm-file-children { margin-top: 12px; }
.sm-files-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; color: var(--tf-muted); font-size: 14px; }
.sm-file { display: block; }
.sm-findings, .sm-limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sm-findings li { padding: 12px 14px; border-radius: 12px; background: #f8fafc; }
.sm-findings li.is-error { background: #fef3f2; }
.sm-findings li.is-warning { background: #fff7ed; }
.sm-findings strong, .sm-findings em { display: block; }
.sm-xml { max-height: 280px; overflow: auto; padding: 12px; border-radius: 12px; background: #0f1728; color: #e8eefc; white-space: pre-wrap; }
.sm-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.sm-faq details { border-top: 1px solid var(--tf-line); padding: 12px 0; }
.sm-faq summary { cursor: pointer; font-weight: 650; }
.sm-url-tools { margin-bottom: 12px; }
.sm-pager { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.sm-focus:focus-visible, .sm-tab:focus-visible, .sm-submit:focus-visible, .sm-input:focus-visible, .sm-actions button:focus-visible, .sm-faq summary:focus-visible {
  outline: 2px solid #2459e0; outline-offset: 2px;
}
[data-theme="dark"] .tool-page-sitemap-validator .sm-input,
[data-theme="dark"] .shared-result-main.tool-page-sitemap-validator .sm-input { background: #070d18; color: #e8eefc; }
[data-theme="dark"] .sm-banner.is-bad, [data-theme="dark"] .sm-findings li.is-error { background: #3a1714; color: #fecdca; }
[data-theme="dark"] .sm-note, [data-theme="dark"] .sm-sample, [data-theme="dark"] .sm-banner, [data-theme="dark"] .sm-files-toggle { background: #13203a; color: #d6e4ff; }
[data-theme="dark"] .tool-page-sitemap-validator .sm-table th,
[data-theme="dark"] .shared-result-main.tool-page-sitemap-validator .sm-table th { background: #10192b; color: #9aabc4; }
[data-theme="dark"] .sm-pill.is-ok { background: #12331f; color: #86efac; }
@media (max-width: 900px) {
  .sm-hero, .sm-split, .tools-container:has(.tool-page-sitemap-validator) .sm-rel-grid, .sm-stats { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .tool-page-sitemap-validator .tool-header { grid-template-columns: auto 1fr; grid-template-areas: "mark title" "text text" "back back"; }
  .tool-page-sitemap-validator .tool-header h1 { font-size: 28px; }
}
@media (max-width: 700px) {
  .sm-entry, .sm-actions, .sm-report-head, .sm-files-foot { flex-direction: column; align-items: stretch; }
  .tool-page-sitemap-validator .sm-look { grid-template-columns: 1fr; }
  .tool-page-sitemap-validator .sm-table, .tool-page-sitemap-validator .sm-table tbody, .tool-page-sitemap-validator .sm-table tr, .tool-page-sitemap-validator .sm-table td { display: block; width: 100%; }
  .tool-page-sitemap-validator .sm-table thead { display: none; }
  .tool-page-sitemap-validator .sm-table td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--tf-muted); }
}
