.awft-tool,
.awft-tool * { box-sizing: border-box; }
.awft-tool {
  --awft-blue: var(--aw-blue, #2563eb);
  --awft-navy: var(--aw-navy, #12304a);
  --awft-text: var(--aw-text, #1f2937);
  --awft-muted: var(--aw-muted, #667085);
  --awft-border: var(--aw-border, #e5e7eb);
  --awft-soft: var(--aw-bg-soft, #f5f8fc);
  color: var(--awft-text);
  width: 100%;
  max-width: 1156px;
  margin: 0 auto;
}
.awft-tool__head { margin-bottom: 28px; }
.awft-tool__eyebrow,
.awft-result-head__label,
.awft-section-title > p {
  margin: 0 0 8px;
  color: var(--awft-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}
.awft-tool__title { margin: 0 0 12px !important; color: var(--awft-navy) !important; font-size: clamp(28px,3vw,38px) !important; line-height: 1.4 !important; }
.awft-tool__lead { max-width: 780px; margin: 0 !important; color: var(--awft-muted); font-size: 15px; line-height: 1.9; }
.awft-search { padding: 24px; border: 1px solid var(--awft-border); border-radius: 10px; background: #fff; box-shadow: 0 12px 32px rgba(18,48,74,.05); }
.awft-search__label { display:block; margin-bottom: 8px; color: var(--awft-navy); font-size: 14px; font-weight: 700; }
.awft-search__row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap: 10px; }
.awft-search__input { width:100%; min-height:50px; padding: 10px 14px; border:1px solid #cfd6df; border-radius:7px; background:#fff; color:var(--awft-text); outline:none; transition:.15s ease; }
.awft-search__input:focus { border-color:var(--awft-blue); box-shadow:0 0 0 3px rgba(37,99,235,.10); }
.awft-search__button { min-height:50px; padding:10px 22px; border:1px solid var(--awft-blue); border-radius:7px; background:var(--awft-blue); color:#fff; font-weight:700; cursor:pointer; transition:.15s ease; white-space:nowrap; }
.awft-search__button:hover { filter:brightness(.94); }
.awft-search__button:disabled { opacity:.6; cursor:wait; }
.awft-honeypot { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }
.awft-usage { display:flex; align-items:center; gap:9px; flex-wrap:wrap; margin-top:12px; color:var(--awft-muted); font-size:12px; }
.awft-usage strong { color:var(--awft-navy); font-size:13px; }
.awft-usage small { margin-left:auto; color:#8a94a3; }
.awft-status { min-height:0; margin-top:14px; }
.awft-status.is-loading { padding:13px 15px; border:1px solid #dbe7ff; border-radius:7px; background:#f5f8ff; color:#35527a; font-size:13px; }
.awft-status.is-error { padding:13px 15px; border:1px solid #fecaca; border-radius:7px; background:#fff7f7; color:#991b1b; font-size:13px; }
.awft-results { margin-top:28px; }
.awft-result-block { padding-top:4px; }
.awft-result-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding-bottom:15px; border-bottom:1px solid var(--awft-border); }
.awft-result-head h3 { margin:0 !important; color:var(--awft-navy) !important; font-size:clamp(21px,2.4vw,28px) !important; line-height:1.45 !important; }
.awft-result-meta { display:flex; align-items:flex-end; flex-direction:column; gap:2px; white-space:nowrap; }
.awft-result-meta strong { color:var(--awft-blue); font-size:22px; }
.awft-result-meta span { color:var(--awft-muted); font-size:11px; }
.awft-message { margin:16px 0; padding:13px 15px; border-radius:7px; font-size:13px; line-height:1.7; }
.awft-message--soft { border:1px solid #dbe7ff; background:#f6f9ff; color:#35527a; }
.awft-message--info { border:1px solid var(--awft-border); background:var(--awft-soft); color:#4b5563; }
.awft-message-link { margin:10px 0 0; font-size:13px; }
.awft-actions { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:18px 0 12px; }
.awft-check-all { display:inline-flex; align-items:center; gap:7px; color:var(--awft-navy); font-size:13px; font-weight:700; }
.awft-actions__buttons { display:flex; gap:8px; }
.awft-subbutton { padding:7px 12px; border:1px solid #cfd6df; border-radius:6px; background:#fff; color:var(--awft-navy); font-size:12px; font-weight:700; cursor:pointer; }
.awft-subbutton:hover { border-color:var(--awft-blue); color:var(--awft-blue); }
.awft-suggestion-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border:1px solid var(--awft-border); border-radius:8px; overflow:hidden; background:#fff; }
.awft-suggestion-item { display:flex; align-items:flex-start; gap:10px; min-width:0; padding:12px 14px; border-bottom:1px solid #eef1f5; font-size:14px; line-height:1.6; cursor:pointer; }
.awft-suggestion-item:nth-child(odd) { border-right:1px solid #eef1f5; }
.awft-suggestion-item:hover { background:#f8fbff; }
.awft-suggestion-item input { flex:0 0 auto; margin-top:5px; }
.awft-suggestion-item span { min-width:0; overflow-wrap:anywhere; }
.awft-related-groups,
.awft-related-dictionaries,
.awft-popular { margin-top:38px; }
.awft-section-title { margin-bottom:14px; }
.awft-section-title h3 { margin:0 !important; color:var(--awft-navy) !important; font-size:22px !important; line-height:1.5 !important; }
.awft-group-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.awft-group-card { padding:16px 18px; border:1px solid var(--awft-border); border-radius:8px; background:#fff; }
.awft-group-card h4 { margin:0 0 8px; color:var(--awft-navy); font-size:15px; }
.awft-group-card ul { margin:0 !important; padding-left:18px; color:#4b5563; font-size:13px; }
.awft-group-card li { margin:3px 0; }
.awft-related-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.awft-related-links a { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:11px 13px; border:1px solid var(--awft-border); border-radius:7px; background:#fff; color:var(--awft-navy); font-size:13px; font-weight:700; text-decoration:none; }
.awft-related-links a:hover { border-color:#bfd0f8; background:#f8fbff; color:var(--awft-blue); text-decoration:none; }
.awft-related-links small { color:var(--awft-muted); font-size:11px; font-weight:500; white-space:nowrap; }
.awft-source-note { margin:24px 0 0 !important; color:#98a2b3; font-size:11px; }
.awft-result-block > .aw-common-cta,
.awft-result-block > [class*="cta"] { margin-top:38px; }


/* Recent searches on suggest tool */
.awft-suggest__main {
  margin-top: 0;
}
.awft-recent {
  margin-top: 0;
}
.awft-recent-wrap:empty { display: none; }
.awft-recent h2 {
  margin: 0 0 22px !important;
  color: var(--awft-navy) !important;
  font-size: 22px !important;
  line-height: 1.5 !important;
}
.awft-recent__queries {
  display: grid;
  gap: 28px;
}
.awft-recent-query {
  margin: 0;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--awft-border);
}
.awft-recent-query:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.awft-recent-query h3 {
  margin: 0 0 12px !important;
  color: var(--awft-navy) !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
}
.awft-recent-query__suggestions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 18px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.awft-recent-query__suggestions li {
  position: relative;
  min-width: 0;
  margin: 0 !important;
  padding: 5px 0 5px 13px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.awft-recent-query__suggestions li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--awft-blue);
}
.awft-recent__action {
  margin-top: 30px;
  text-align: center;
}
.awft-dictionary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 46px;
  padding: 10px 34px;
  border: 1px solid var(--awft-blue);
  border-radius: 7px;
  background: #fff;
  color: var(--awft-blue) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  transition: .15s ease;
}
.awft-dictionary-button:hover {
  background: var(--awft-blue);
  color: #fff !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .awft-recent-query__suggestions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .awft-search { padding:18px; }
  .awft-search__row { grid-template-columns:1fr; }
  .awft-search__button { width:100%; }
  .awft-usage { align-items:flex-start; }
  .awft-usage small { width:100%; margin-left:0; }
  .awft-result-head { align-items:flex-start; flex-direction:column; gap:8px; }
  .awft-result-meta { align-items:flex-start; }
  .awft-actions { align-items:flex-start; flex-direction:column; }
  .awft-actions__buttons { width:100%; }
  .awft-subbutton { flex:1; }
  .awft-suggestion-list,
  .awft-group-grid,
  .awft-related-links,
  .awft-recent-query__suggestions { grid-template-columns:1fr; }
  .awft-suggestion-item:nth-child(odd) { border-right:0; }
  .awft-dictionary-button {
    width: 100%;
    min-width: 0;
    max-width: 360px;
  }
}

/* Tool index */
.awft-tool-index { width: 100%; }
.awft-tool-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.awft-tool-card {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--awft-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.awft-tool-card:first-child { border-top: 1px solid var(--awft-border); }
.awft-tool-card__link {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 22px 0;
  color: inherit !important;
  text-decoration: none !important;
}
.awft-tool-card__media {
  flex: 0 0 240px;
  width: 240px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 7px;
  background: var(--awft-soft);
}
.awft-tool-card__image {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.awft-tool-card__body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}
.awft-tool-card__body h2 {
  margin: 0 0 8px !important;
  color: var(--awft-navy) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  letter-spacing: -.01em;
}
.awft-tool-card__body p {
  margin: 0 !important;
  color: var(--awft-muted);
  font-size: 13px;
  line-height: 1.8;
}
.awft-tool-card__link:hover .awft-tool-card__body h2 {
  color: var(--awft-blue) !important;
}

@media (max-width: 720px) {
  .awft-tool-card__link {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }
  .awft-tool-card__media {
    flex-basis: auto;
    width: 100%;
    max-width: 360px;
  }
  .awft-tool-card__body h2 { font-size: 18px !important; }
}


/* SEO / AI search checker */
.awft-seo-check__main { margin-top: 0; }
.awft-seo-results { margin-top: 28px; }
.awft-seo-result__head { align-items: flex-start; }
.awft-seo-result__url {
  max-width: 760px;
  margin: 7px 0 0 !important;
  color: var(--awft-muted);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.awft-seo-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.awft-seo-summary__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--awft-border);
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 11px;
  white-space: nowrap;
}
.awft-seo-summary__item strong { font-size: 14px; }
.awft-seo-summary__item--pass { border-color: #bbf7d0; background: #f6fff9; color: #166534; }
.awft-seo-summary__item--warn { border-color: #fde68a; background: #fffdf4; color: #92400e; }
.awft-seo-summary__item--fail { border-color: #fecaca; background: #fff7f7; color: #991b1b; }
.awft-seo-checks {
  margin-top: 20px;
  border-top: 1px solid var(--awft-border);
}
.awft-seo-check-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--awft-border);
}
.awft-seo-check-row__status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}
.awft-seo-check-row--pass .awft-seo-check-row__status { background: #dcfce7; color: #166534; }
.awft-seo-check-row--warn .awft-seo-check-row__status { background: #fef3c7; color: #92400e; }
.awft-seo-check-row--fail .awft-seo-check-row__status { background: #fee2e2; color: #991b1b; }
.awft-seo-check-row__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.awft-seo-check-row__top h4 {
  margin: 0 !important;
  color: var(--awft-navy) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
.awft-seo-check-row__top strong {
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}
.awft-seo-check-row__main p {
  margin: 4px 0 0 !important;
  color: var(--awft-muted);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.awft-seo-details { margin-top: 34px; }
.awft-seo-details > h3 {
  margin: 0 0 14px !important;
  color: var(--awft-navy) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
}
.awft-seo-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.awft-seo-details__grid > div {
  min-width: 0;
  padding: 13px 15px;
  border-bottom: 1px solid #eef1f5;
}
.awft-seo-details__grid > div:nth-child(odd) { border-right: 1px solid #eef1f5; }
.awft-seo-details__grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.awft-seo-details__grid span {
  display: block;
  margin-bottom: 4px;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.awft-seo-details__grid strong {
  display: block;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.awft-seo-sitemaps { margin-top: 18px; }
.awft-seo-sitemaps h4 {
  margin: 0 0 8px !important;
  color: var(--awft-navy) !important;
  font-size: 14px !important;
}
.awft-seo-sitemaps ul { margin: 0 !important; padding-left: 20px !important; }
.awft-seo-sitemaps li { margin: 4px 0 !important; color: var(--awft-muted); font-size: 12px; overflow-wrap: anywhere; }
.awft-seo-result > .aw-common-cta,
.awft-seo-result > [class*="cta"] { margin-top: 38px; }

@media (max-width: 720px) {
  .awft-seo-result__head { gap: 14px; }
  .awft-seo-summary { justify-content: flex-start; }
  .awft-seo-check-row__top { align-items: flex-start; flex-direction: column; gap: 3px; }
  .awft-seo-check-row__top strong { text-align: left; }
  .awft-seo-details__grid { grid-template-columns: 1fr; }
  .awft-seo-details__grid > div,
  .awft-seo-details__grid > div:nth-child(odd),
  .awft-seo-details__grid > div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid #eef1f5; }
  .awft-seo-details__grid > div:last-child { border-bottom: 0; }
}

/* SEO・AIO/LLMO title checker */
.awft-title-check__form {
  display: grid;
  gap: 18px;
}
.awft-title-field { min-width: 0; }
.awft-required,
.awft-optional {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  vertical-align: 1px;
}
.awft-required { border: 1px solid #ef4444; background: #fff; color: #dc2626; }
.awft-optional { border: 1px solid var(--awft-border); background: #fff; color: #7b8492; }
.awft-title-check__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.awft-title-select {
  appearance: auto;
  cursor: pointer;
}
.awft-title-check__action {
  display: flex;
  justify-content: center;
  padding-top: 2px;
}
.awft-title-check__action .awft-search__button { min-width: 280px; }
.awft-title-check__note {
  margin: -4px 0 0 !important;
  color: var(--awft-muted);
  font-size: 12px;
  line-height: 1.75;
  text-align: center;
}
.awft-title-score {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  gap: 4px;
  min-width: 126px;
  padding: 12px 16px;
  border: 1px solid var(--awft-border);
  border-radius: 9px;
  background: #fff;
  color: var(--awft-navy);
}
.awft-title-score span { font-size: 11px; font-weight: 700; }
.awft-title-score strong { font-size: 30px; line-height: 1; }
.awft-title-score small { color: var(--awft-muted); font-size: 10px; }
.awft-title-score--good { border-color: #bbf7d0; background: #f6fff9; color: #166534; }
.awft-title-score--middle { border-color: #fde68a; background: #fffdf4; color: #92400e; }
.awft-title-score--low { border-color: #fecaca; background: #fff7f7; color: #991b1b; }
.awft-title-summary { margin-top: 20px; }
.awft-title-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.awft-title-score-grid > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 15px 18px;
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  background: #fff;
}
.awft-title-score-grid span { margin-right: auto; color: var(--awft-navy); font-size: 13px; font-weight: 800; }
.awft-title-score-grid strong { color: var(--awft-blue); font-size: 26px; line-height: 1; }
.awft-title-score-grid small { color: var(--awft-muted); font-size: 10px; }
.awft-title-priorities {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffdf4;
}
.awft-title-priorities h3 {
  margin: 0 0 9px !important;
  color: #713f12 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}
.awft-title-priorities ol { margin: 0 !important; padding-left: 22px !important; }
.awft-title-priorities li { margin: 5px 0 !important; color: #78551c; font-size: 12px; line-height: 1.75; }
.awft-title-check-section,
.awft-title-suggestions { margin-top: 36px; }
.awft-title-check-section .awft-section-title,
.awft-title-suggestions .awft-section-title { margin-bottom: 5px; }
.awft-title-suggestion-list {
  display: grid;
  gap: 10px;
}
.awft-title-suggestion {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  background: #fff;
}
.awft-title-suggestion__head,
.awft-title-suggestion__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.awft-title-suggestion__head span { color: var(--awft-blue); font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.awft-title-suggestion__head small { color: #98a2b3; font-size: 10px; white-space: nowrap; }
.awft-title-suggestion > p {
  margin: 8px 0 10px !important;
  color: var(--awft-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.awft-title-suggestion__foot { align-items: flex-end; }
.awft-title-suggestion__foot small { max-width: 760px; color: var(--awft-muted); font-size: 11px; line-height: 1.7; }
.awft-title-suggestion__foot .awft-subbutton { flex: 0 0 auto; }

@media (max-width: 720px) {
  .awft-title-check__options,
  .awft-title-score-grid { grid-template-columns: 1fr; }
  .awft-title-check__action .awft-search__button { width: 100%; min-width: 0; }
  .awft-title-score { min-width: 0; }
  .awft-title-suggestion__foot { align-items: flex-start; flex-direction: column; }
  .awft-title-suggestion__foot .awft-subbutton { width: 100%; }
}


/* Heading structure checker */
.awft-heading-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.awft-heading-summary > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--awft-border);
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-size: 11px;
  white-space: nowrap;
}
.awft-heading-summary strong { color: var(--awft-navy); font-size: 14px; }
.awft-heading-summary__status--pass { border-color: #bbf7d0 !important; background: #f6fff9 !important; color: #166534 !important; }
.awft-heading-summary__status--warn { border-color: #fde68a !important; background: #fffdf4 !important; color: #92400e !important; }
.awft-heading-summary__status--fail { border-color: #fecaca !important; background: #fff7f7 !important; color: #991b1b !important; }
.awft-heading-counts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.awft-heading-counts > div {
  padding: 12px 10px;
  border-right: 1px solid #eef1f5;
  text-align: center;
}
.awft-heading-counts > div:last-child { border-right: 0; }
.awft-heading-counts span { display: block; color: #98a2b3; font-size: 11px; font-weight: 800; }
.awft-heading-counts strong { display: block; margin-top: 3px; color: var(--awft-navy); font-size: 20px; }
.awft-heading-issues,
.awft-heading-tree-section,
.awft-heading-detail-issues { margin-top: 34px; }
.awft-heading-issues > h3,
.awft-heading-tree-section > h3,
.awft-heading-detail-issues > h3 {
  margin: 0 0 14px !important;
  color: var(--awft-navy) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
}
.awft-heading-issues .awft-seo-checks { margin-top: 0; }
.awft-heading-tree {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  overflow: hidden;
  list-style: none !important;
  background: #fff;
}
.awft-heading-node {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-width: 0;
  margin: 0 !important;
  padding: 11px 14px 11px calc(14px + (var(--awft-heading-level) - 1) * 22px);
  border-bottom: 1px solid #eef1f5;
}
.awft-heading-node:last-child { border-bottom: 0; }
.awft-heading-node__level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 5px;
  background: #eaf1ff;
  color: var(--awft-blue);
  font-size: 11px;
  font-weight: 800;
}
.awft-heading-node__text {
  min-width: 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.awft-heading-node__text.is-empty { color: #b42318; font-style: italic; }
.awft-heading-node small { color: #98a2b3; font-size: 10px; }
.awft-heading-detail-issues h4 {
  margin: 18px 0 7px !important;
  color: var(--awft-navy) !important;
  font-size: 14px !important;
}
.awft-heading-detail-issues ul { margin: 0 !important; padding-left: 20px !important; }
.awft-heading-detail-issues li { margin: 4px 0 !important; color: var(--awft-muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .awft-heading-summary { justify-content: flex-start; }
  .awft-heading-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .awft-heading-counts > div:nth-child(3) { border-right: 0; }
  .awft-heading-counts > div:nth-child(-n+3) { border-bottom: 1px solid #eef1f5; }
  .awft-heading-node {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-left: calc(10px + (var(--awft-heading-level) - 1) * 10px);
  }
  .awft-heading-node small { display: none; }
}

/* Site SEO total checker */
.awft-site-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.awft-site-metrics > div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid #eef1f5;
  border-bottom: 1px solid #eef1f5;
}
.awft-site-metrics > div:nth-child(3n) { border-right: 0; }
.awft-site-metrics > div:nth-last-child(-n+3) { border-bottom: 0; }
.awft-site-metrics span {
  display: block;
  margin-bottom: 4px;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}
.awft-site-metrics strong {
  display: block;
  color: var(--awft-navy);
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.awft-site-metrics__index--pass strong { color: #166534; }
.awft-site-metrics__index--warn strong { color: #92400e; }
.awft-site-metrics__index--fail strong { color: #991b1b; }
.awft-site-section { margin-top: 36px; }
.awft-site-section > h3 {
  margin: 0 0 14px !important;
  color: var(--awft-navy) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
}
.awft-site-info-table {
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.awft-site-info-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 12px 15px;
  border-bottom: 1px solid #eef1f5;
}
.awft-site-info-row:last-child { border-bottom: 0; }
.awft-site-info-row span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}
.awft-site-info-row strong {
  min-width: 0;
  color: #475467;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.awft-site-indexability {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  background: #fff;
}
.awft-site-indexability strong { display: block; color: var(--awft-navy); font-size: 13px; }
.awft-site-indexability p { margin: 5px 0 0 !important; color: var(--awft-muted); font-size: 12px; line-height: 1.75; }
.awft-site-indexability--pass { border-color: #bbf7d0; background: #f7fff9; }
.awft-site-indexability--warn { border-color: #fde68a; background: #fffdf5; }
.awft-site-indexability--fail { border-color: #fecaca; background: #fff8f8; }
.awft-site-link-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.awft-site-link-summary > div {
  padding: 12px 14px;
  border-right: 1px solid #eef1f5;
  text-align: center;
}
.awft-site-link-summary > div:last-child { border-right: 0; }
.awft-site-link-summary span { display: block; color: #98a2b3; font-size: 10px; font-weight: 700; }
.awft-site-link-summary strong { display: block; margin-top: 3px; color: var(--awft-navy); font-size: 20px; }
.awft-site-link-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.awft-site-link-list {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--awft-border);
  border-radius: 8px;
  background: #fff;
}
.awft-site-link-list h4 {
  margin: 0 0 10px !important;
  color: var(--awft-navy) !important;
  font-size: 14px !important;
}
.awft-site-link-list > p { margin: 0 !important; color: var(--awft-muted); font-size: 12px; }
.awft-site-link-list ol { margin: 0 !important; padding-left: 22px !important; }
.awft-site-link-list li { margin: 0 0 9px !important; color: #475467; font-size: 12px; line-height: 1.6; }
.awft-site-link-list li:last-child { margin-bottom: 0 !important; }
.awft-site-link-list li span { display: block; font-weight: 700; }
.awft-site-link-list li small {
  display: block;
  margin-top: 2px;
  color: #98a2b3;
  font-size: 10px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .awft-site-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awft-site-metrics > div,
  .awft-site-metrics > div:nth-child(3n),
  .awft-site-metrics > div:nth-last-child(-n+3) { border-right: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; }
  .awft-site-metrics > div:nth-child(2n) { border-right: 0; }
  .awft-site-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .awft-site-info-row { grid-template-columns: 1fr; gap: 4px; }
  .awft-site-link-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awft-site-link-summary > div { border-bottom: 1px solid #eef1f5; }
  .awft-site-link-summary > div:nth-child(2n) { border-right: 0; }
  .awft-site-link-summary > div:nth-last-child(-n+2) { border-bottom: 0; }
  .awft-site-link-columns { grid-template-columns: 1fr; }
}

/* Structured data check */
.awft-structured-conclusion {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 22px 0 30px;
  padding: 18px 20px;
  border: 1px solid var(--awft-border);
  border-radius: 10px;
  background: #fff;
}
.awft-structured-conclusion--pass { border-color: #bbf7d0; background: #f7fff9; }
.awft-structured-conclusion--warn { border-color: #fde68a; background: #fffdf5; }
.awft-structured-conclusion--fail { border-color: #fecaca; background: #fff8f8; }
.awft-structured-conclusion__icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f2f4f7;
  color: var(--awft-navy);
  font-size: 18px;
  font-weight: 800;
}
.awft-structured-conclusion--pass .awft-structured-conclusion__icon { background: #dcfce7; color: #166534; }
.awft-structured-conclusion--warn .awft-structured-conclusion__icon { background: #fef3c7; color: #92400e; }
.awft-structured-conclusion--fail .awft-structured-conclusion__icon { background: #fee2e2; color: #991b1b; }
.awft-structured-conclusion span { display: block; color: #667085; font-size: 11px; font-weight: 700; }
.awft-structured-conclusion h3 { margin: 2px 0 4px !important; color: var(--awft-navy) !important; font-size: 21px !important; }
.awft-structured-conclusion p { margin: 0 !important; color: #475467; font-size: 13px; line-height: 1.75; }
.awft-structured-formats,
.awft-structured-items,
.awft-structured-other-types { margin-top: 34px; }
.awft-structured-formats > h3,
.awft-structured-items > h3,
.awft-structured-other-types > h3 {
  margin: 0 0 14px !important;
  color: var(--awft-navy) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
}
.awft-structured-format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--awft-border);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.awft-structured-format-grid > div {
  padding: 15px;
  border-right: 1px solid #eef1f5;
  text-align: center;
}
.awft-structured-format-grid > div:last-child { border-right: 0; }
.awft-structured-format-grid span { display: block; color: #98a2b3; font-size: 10px; font-weight: 700; }
.awft-structured-format-grid strong { display: block; margin-top: 3px; color: var(--awft-navy); font-size: 18px; }
.awft-structured-type-line { margin: 10px 0 0 !important; color: #667085; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.awft-structured-json-error {
  margin-top: 20px;
  padding: 17px 18px;
  border: 1px solid #fecaca;
  border-radius: 9px;
  background: #fff8f8;
}
.awft-structured-json-error h3 { margin: 0 0 6px !important; color: #991b1b !important; font-size: 16px !important; }
.awft-structured-json-error p { margin: 0 !important; color: #7f1d1d; font-size: 12px; line-height: 1.7; }
.awft-structured-item {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--awft-border);
  border-left-width: 4px;
  border-radius: 9px;
  background: #fff;
}
.awft-structured-item--pass { border-left-color: #22c55e; }
.awft-structured-item--warn { border-left-color: #f59e0b; }
.awft-structured-item--fail { border-left-color: #ef4444; }
.awft-structured-item__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.awft-structured-item__head > div { min-width: 0; }
.awft-structured-item__head span { display: block; color: #98a2b3; font-size: 10px; font-weight: 700; }
.awft-structured-item__head h4 { margin: 2px 0 3px !important; color: var(--awft-navy) !important; font-size: 18px !important; line-height: 1.5 !important; overflow-wrap: anywhere; }
.awft-structured-item__head p { margin: 0 !important; color: #667085; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.awft-structured-support {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  max-width: 230px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}
.awft-structured-support--not-current-rich-result { background: #f2f4f7; color: #475467; }
.awft-structured-support--generic { background: #f8f5ff; color: #6941c6; }
.awft-structured-support--google-special { background: #ecfdf3; color: #027a48; }
.awft-structured-support--google-understanding { background: #eef4ff; color: #3538cd; }
.awft-structured-support-detail { margin: 13px 0 0 !important; color: #475467; font-size: 12px; line-height: 1.75; }
.awft-structured-issues,
.awft-structured-recommendations {
  margin-top: 13px;
  padding: 13px 15px;
  border-radius: 7px;
}
.awft-structured-issues h5,
.awft-structured-recommendations h5 { margin: 0 0 7px !important; font-size: 12px !important; line-height: 1.5 !important; }
.awft-structured-issues ul,
.awft-structured-recommendations ul { margin: 0 !important; padding-left: 19px !important; }
.awft-structured-issues li,
.awft-structured-recommendations li { margin: 0 0 5px !important; font-size: 12px; line-height: 1.7; }
.awft-structured-issues li:last-child,
.awft-structured-recommendations li:last-child { margin-bottom: 0 !important; }
.awft-structured-issues--fail { background: #fff1f2; color: #9f1239; }
.awft-structured-issues--warn { background: #fffbeb; color: #92400e; }
.awft-structured-issues--pass { background: #f0fdf4; color: #166534; font-size: 12px; }
.awft-structured-recommendations { background: #f8fafc; color: #475467; }
.awft-structured-raw,
.awft-structured-json-error details { margin-top: 14px; }
.awft-structured-raw summary,
.awft-structured-json-error summary {
  cursor: pointer;
  color: var(--awft-blue);
  font-size: 12px;
  font-weight: 700;
}
.awft-structured-raw pre,
.awft-structured-json-error pre {
  max-height: 420px;
  overflow: auto;
  margin: 10px 0 0;
  padding: 14px;
  border-radius: 7px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.awft-structured-other-types p { margin: 7px 0 0 !important; color: #667085; font-size: 12px; line-height: 1.7; }

@media (max-width: 720px) {
  .awft-structured-format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awft-structured-format-grid > div { border-bottom: 1px solid #eef1f5; }
  .awft-structured-format-grid > div:nth-child(2n) { border-right: 0; }
  .awft-structured-format-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .awft-structured-item__head { display: block; }
  .awft-structured-support { margin-top: 10px; max-width: 100%; }
}

/* Link check */
.awft-link-conclusion {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 22px 0 30px;
  padding: 18px 20px;
  border: 1px solid var(--awft-border);
  border-radius: 10px;
  background: #fff;
}
.awft-link-conclusion--pass { border-color: #bbf7d0; background: #f7fff9; }
.awft-link-conclusion--warn { border-color: #fde68a; background: #fffdf5; }
.awft-link-conclusion--fail { border-color: #fecaca; background: #fff8f8; }
.awft-link-conclusion__icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f2f4f7;
  color: var(--awft-navy);
  font-size: 18px;
  font-weight: 800;
}
.awft-link-conclusion--pass .awft-link-conclusion__icon { background: #dcfce7; color: #166534; }
.awft-link-conclusion--warn .awft-link-conclusion__icon { background: #fef3c7; color: #92400e; }
.awft-link-conclusion--fail .awft-link-conclusion__icon { background: #fee2e2; color: #991b1b; }
.awft-link-conclusion span { display: block; color: #667085; font-size: 11px; font-weight: 700; }
.awft-link-conclusion h3 { margin: 2px 0 4px !important; color: var(--awft-navy) !important; font-size: 21px !important; }
.awft-link-conclusion p { margin: 0 !important; color: #475467; font-size: 13px; line-height: 1.75; }
.awft-link-section { margin-top: 34px; }
.awft-link-section > h3 { margin: 0 0 14px !important; color: var(--awft-navy) !important; font-size: 20px !important; line-height: 1.5 !important; }
.awft-link-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--awft-border);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.awft-link-metrics > div { padding: 13px 10px; border-right: 1px solid #eef1f5; text-align: center; }
.awft-link-metrics > div:last-child { border-right: 0; }
.awft-link-metrics span { display: block; color: #98a2b3; font-size: 10px; font-weight: 700; }
.awft-link-metrics strong { display: block; margin-top: 3px; color: var(--awft-navy); font-size: 19px; }
.awft-link-notes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.awft-link-notes span { padding: 5px 9px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 10px; font-weight: 700; }
.awft-link-notes span.is-warn { background: #fffbeb; color: #92400e; }
.awft-link-check-progress { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; color: #667085; font-size: 11px; }
.awft-link-check-progress strong { color: var(--awft-navy); font-size: 13px; }
.awft-link-table-wrap { overflow-x: auto; border: 1px solid var(--awft-border); border-radius: 9px; background: #fff; }
.awft-link-table { width: 100%; min-width: 920px; border-collapse: collapse; table-layout: fixed; }
.awft-link-table th,
.awft-link-table td { padding: 11px 12px; border-bottom: 1px solid #eef1f5; vertical-align: top; text-align: left; }
.awft-link-table th { background: #f8fafc; color: #667085; font-size: 10px; font-weight: 800; }
.awft-link-table td { color: #475467; font-size: 11px; line-height: 1.6; }
.awft-link-table tbody tr:last-child td { border-bottom: 0; }
.awft-link-table th:nth-child(1), .awft-link-table td:nth-child(1) { width: 130px; }
.awft-link-table th:nth-child(2), .awft-link-table td:nth-child(2) { width: 64px; }
.awft-link-table th:nth-child(3), .awft-link-table td:nth-child(3) { width: 190px; }
.awft-link-table th:nth-child(5), .awft-link-table td:nth-child(5) { width: 150px; }
.awft-link-status { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 10px; line-height: 1.4; }
.awft-link-status--pass { background: #ecfdf3; color: #027a48; }
.awft-link-status--redirect { background: #eff6ff; color: #1d4ed8; }
.awft-link-status--warn,
.awft-link-status--unknown { background: #fffbeb; color: #92400e; }
.awft-link-status--fail { background: #fff1f2; color: #be123c; }
.awft-link-table td:first-child small { display: block; margin-top: 4px; color: #98a2b3; font-size: 9px; }
.awft-link-url { display: block; overflow-wrap: anywhere; }
.awft-link-redirect { display: block; margin-top: 4px; color: #1d4ed8; overflow-wrap: anywhere; }
.awft-link-detail { display: block; margin-top: 4px; color: #92400e; }
.awft-link-row--fail { background: #fffafa; }

@media (max-width: 900px) {
  .awft-link-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .awft-link-metrics > div { border-bottom: 1px solid #eef1f5; }
  .awft-link-metrics > div:nth-child(3n) { border-right: 0; }
  .awft-link-metrics > div:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .awft-link-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awft-link-metrics > div,
  .awft-link-metrics > div:nth-child(3n) { border-right: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; }
  .awft-link-metrics > div:nth-child(2n) { border-right: 0; }
  .awft-link-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .awft-link-check-progress { display: block; }
  .awft-link-check-progress span { display: block; margin-top: 3px; }
}

/* 全ツール共通：診断・検索中の全画面ローディング */
body.awft-loading-open {
  overflow: hidden;
}
.awft-global-loading {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 41, 64, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease;
}
.awft-global-loading.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.awft-global-loading__panel {
  width: min(320px, calc(100vw - 40px));
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 41, 64, 0.24);
  text-align: center;
  color: #0f2940;
}
.awft-global-loading__panel strong {
  font-size: 17px;
  line-height: 1.5;
}
.awft-global-loading__panel > span:last-child {
  font-size: 13px;
  line-height: 1.6;
  color: #667085;
}
.awft-global-loading__spinner {
  width: 46px;
  height: 46px;
  box-sizing: border-box;
  border: 4px solid #dbe7ff;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: awft-global-spin .72s linear infinite;
}
@keyframes awft-global-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .awft-global-loading,
  .awft-global-loading__spinner {
    transition: none;
  }
  .awft-global-loading__spinner {
    animation-duration: 1.4s;
  }
}

/* XML Sitemap check */
.awft-sitemap-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 22px 0 26px;
  border: 1px solid var(--awft-border);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.awft-sitemap-metrics > div {
  min-width: 0;
  padding: 13px 10px;
  border-right: 1px solid #eef1f5;
  text-align: center;
}
.awft-sitemap-metrics > div:last-child { border-right: 0; }
.awft-sitemap-metrics span {
  display: block;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 700;
}
.awft-sitemap-metrics strong {
  display: block;
  margin-top: 3px;
  color: var(--awft-navy);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.awft-sitemap-alert {
  margin: 0 0 24px !important;
  padding: 12px 14px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  line-height: 1.7;
}
.awft-sitemap-section { margin-top: 34px; }
.awft-sitemap-section > h3 {
  margin: 0 0 14px !important;
  color: var(--awft-navy) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
}
.awft-sitemap-section__lead {
  margin: -5px 0 13px !important;
  color: #667085;
  font-size: 12px;
  line-height: 1.7;
}
.awft-sitemap-probe-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.awft-sitemap-probe-summary span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: 10px;
  font-weight: 700;
}
.awft-sitemap-probe-summary strong { color: var(--awft-navy); font-size: 13px; }
.awft-sitemap-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--awft-border);
  border-radius: 9px;
  background: #fff;
}
.awft-sitemap-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}
.awft-sitemap-table th,
.awft-sitemap-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #eef1f5;
  vertical-align: top;
  text-align: left;
}
.awft-sitemap-table th {
  background: #f8fafc;
  color: #667085;
  font-size: 10px;
  font-weight: 800;
}
.awft-sitemap-table td {
  color: #475467;
  font-size: 11px;
  line-height: 1.6;
}
.awft-sitemap-table tbody tr:last-child td { border-bottom: 0; }
.awft-sitemap-table th:nth-child(1),
.awft-sitemap-table td:nth-child(1) { width: 94px; }
.awft-sitemap-table th:nth-child(3),
.awft-sitemap-table td:nth-child(3) { width: 120px; }
.awft-sitemap-table th:nth-child(4),
.awft-sitemap-table td:nth-child(4) { width: 180px; }
.awft-sitemap-url-table th:nth-child(2),
.awft-sitemap-url-table td:nth-child(2) { width: 70px; }

@media (max-width: 900px) {
  .awft-sitemap-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .awft-sitemap-metrics > div { border-bottom: 1px solid #eef1f5; }
  .awft-sitemap-metrics > div:nth-child(3n) { border-right: 0; }
  .awft-sitemap-metrics > div:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .awft-sitemap-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awft-sitemap-metrics > div,
  .awft-sitemap-metrics > div:nth-child(3n) { border-right: 1px solid #eef1f5; border-bottom: 1px solid #eef1f5; }
  .awft-sitemap-metrics > div:nth-child(2n) { border-right: 0; }
  .awft-sitemap-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Image SEO check */
.awft-image-overall {
  display:flex;
  align-items:flex-start;
  gap:10px;
  max-width:420px;
  padding:12px 14px;
  border:1px solid var(--awft-border);
  border-radius:10px;
  background:#fff;
}
.awft-image-overall > span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  flex:0 0 26px;
  border-radius:50%;
  font-weight:800;
}
.awft-image-overall strong { display:block; color:var(--awft-navy); font-size:13px; }
.awft-image-overall small { display:block; margin-top:3px; color:var(--awft-muted); font-size:10px; line-height:1.55; }
.awft-image-overall--pass > span { background:#ecfdf3; color:#027a48; }
.awft-image-overall--warn > span { background:#fffaeb; color:#b54708; }
.awft-image-overall--fail > span { background:#fef3f2; color:#b42318; }
.awft-image-overall--info > span { background:#eff8ff; color:#175cd3; }
.awft-image-metrics {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:24px;
  border:1px solid var(--awft-border);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.awft-image-metrics > div { padding:16px 14px; border-right:1px solid #eef1f5; border-bottom:1px solid #eef1f5; }
.awft-image-metrics > div:nth-child(4n) { border-right:0; }
.awft-image-metrics > div:nth-last-child(-n+4) { border-bottom:0; }
.awft-image-metrics span { display:block; color:#98a2b3; font-size:10px; font-weight:700; }
.awft-image-metrics strong { display:block; margin-top:4px; color:var(--awft-navy); font-size:17px; }
.awft-image-section { margin-top:34px; }
.awft-image-section > h3 { margin:0 0 14px !important; color:var(--awft-navy) !important; font-size:19px !important; line-height:1.5 !important; }
.awft-image-section__lead { margin:0 0 14px; color:var(--awft-muted); font-size:12px; line-height:1.8; }
.awft-image-table-wrap { overflow-x:auto; border:1px solid var(--awft-border); border-radius:9px; background:#fff; }
.awft-image-table { width:100%; min-width:1020px; border-collapse:collapse; table-layout:fixed; }
.awft-image-table th,
.awft-image-table td { padding:11px 12px; border-bottom:1px solid #eef1f5; vertical-align:top; text-align:left; }
.awft-image-table th { background:#f8fafc; color:#667085; font-size:10px; font-weight:800; }
.awft-image-table td { color:#475467; font-size:11px; line-height:1.6; word-break:break-word; }
.awft-image-table tbody tr:last-child td { border-bottom:0; }
.awft-image-table th:nth-child(1), .awft-image-table td:nth-child(1) { width:80px; }
.awft-image-table th:nth-child(2), .awft-image-table td:nth-child(2) { width:300px; }
.awft-image-table th:nth-child(3), .awft-image-table td:nth-child(3) { width:220px; }
.awft-image-table th:nth-child(4), .awft-image-table td:nth-child(4) { width:120px; }
.awft-image-table th:nth-child(5), .awft-image-table td:nth-child(5) { width:150px; }
.awft-image-table th:nth-child(6), .awft-image-table td:nth-child(6) { width:150px; }
.awft-image-table td strong { display:block; color:var(--awft-navy); font-size:11px; }
.awft-image-table td small { display:block; margin-top:4px; color:#98a2b3; font-size:9px; line-height:1.55; }
.awft-image-status { display:inline-flex; align-items:center; justify-content:center; min-width:58px; padding:4px 7px; border-radius:999px; font-size:9px; font-weight:800; }
.awft-image-status--pass { background:#ecfdf3; color:#027a48; }
.awft-image-status--warn { background:#fffaeb; color:#b54708; }
.awft-image-status--fail { background:#fef3f2; color:#b42318; }
.awft-image-status--unknown { background:#f2f4f7; color:#667085; }
@media (max-width: 820px) {
  .awft-image-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .awft-image-metrics > div,
  .awft-image-metrics > div:nth-child(4n) { border-right:1px solid #eef1f5; border-bottom:1px solid #eef1f5; }
  .awft-image-metrics > div:nth-child(2n) { border-right:0; }
  .awft-image-metrics > div:nth-last-child(-n+2) { border-bottom:0; }
  .awft-image-overall { max-width:none; width:100%; box-sizing:border-box; }
}

/* HTTP status / redirect check */
.awft-http-metrics {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:24px 0 26px;
  border:1px solid var(--awft-border);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.awft-http-metrics > div {
  min-width:0;
  padding:15px 14px;
  border-right:1px solid #eef1f5;
  border-bottom:1px solid #eef1f5;
}
.awft-http-metrics > div:nth-child(3n) { border-right:0; }
.awft-http-metrics > div:nth-last-child(-n+3) { border-bottom:0; }
.awft-http-metrics span {
  display:block;
  color:#98a2b3;
  font-size:10px;
  font-weight:700;
}
.awft-http-metrics strong {
  display:block;
  margin-top:4px;
  color:var(--awft-navy);
  font-size:15px;
  line-height:1.55;
}
.awft-http-metrics__url { font-size:11px !important; overflow-wrap:anywhere; }
.awft-http-section { margin-top:34px; }
.awft-http-section > h3 {
  margin:0 0 14px !important;
  color:var(--awft-navy) !important;
  font-size:19px !important;
  line-height:1.5 !important;
}
.awft-http-section__lead {
  margin:-4px 0 14px !important;
  color:var(--awft-muted);
  font-size:12px;
  line-height:1.8;
}
.awft-http-table-wrap {
  overflow-x:auto;
  border:1px solid var(--awft-border);
  border-radius:9px;
  background:#fff;
}
.awft-http-table {
  width:100%;
  min-width:1040px;
  border-collapse:collapse;
  table-layout:fixed;
}
.awft-http-table th,
.awft-http-table td {
  padding:11px 12px;
  border-bottom:1px solid #eef1f5;
  vertical-align:top;
  text-align:left;
}
.awft-http-table th {
  background:#f8fafc;
  color:#667085;
  font-size:10px;
  font-weight:800;
}
.awft-http-table td {
  color:#475467;
  font-size:11px;
  line-height:1.6;
  word-break:break-word;
}
.awft-http-table tbody tr:last-child td { border-bottom:0; }
.awft-http-table th:nth-child(1), .awft-http-table td:nth-child(1) { width:42px; }
.awft-http-table th:nth-child(2), .awft-http-table td:nth-child(2) { width:280px; }
.awft-http-table th:nth-child(3), .awft-http-table td:nth-child(3) { width:75px; }
.awft-http-table th:nth-child(4), .awft-http-table td:nth-child(4) { width:180px; }
.awft-http-table th:nth-child(5), .awft-http-table td:nth-child(5) { width:90px; }
.awft-http-table td small { display:block; margin-top:4px; color:#98a2b3; font-size:9px; line-height:1.55; }
.awft-http-url { display:block; overflow-wrap:anywhere; }
.awft-http-status {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:66px;
  padding:4px 8px;
  border-radius:999px;
  font-size:9px;
  font-weight:800;
}
.awft-http-status--pass { background:#ecfdf3; color:#027a48; }
.awft-http-status--redirect { background:#eff8ff; color:#175cd3; }
.awft-http-status--warn { background:#fffaeb; color:#b54708; }
.awft-http-status--fail { background:#fef3f2; color:#b42318; }
.awft-http-status--info { background:#f2f4f7; color:#667085; }
.awft-http-canonical {
  padding:14px 16px;
  border:1px solid var(--awft-border);
  border-radius:9px;
  background:#fff;
}
.awft-http-canonical span { display:block; color:#98a2b3; font-size:10px; font-weight:700; }
.awft-http-canonical strong { display:block; margin-top:5px; color:var(--awft-navy); font-size:12px; line-height:1.65; overflow-wrap:anywhere; }
@media (max-width: 760px) {
  .awft-http-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .awft-http-metrics > div,
  .awft-http-metrics > div:nth-child(3n) { border-right:1px solid #eef1f5; border-bottom:1px solid #eef1f5; }
  .awft-http-metrics > div:nth-child(2n) { border-right:0; }
  .awft-http-metrics > div:nth-last-child(-n+2) { border-bottom:0; }
}

/* robots.txt / AI crawler check */
.awft-robots-section { margin-top:34px; }
.awft-robots-section > h3 {
  margin:0 0 14px !important;
  color:var(--awft-navy) !important;
  font-size:19px !important;
  line-height:1.5 !important;
}
.awft-robots-crawler-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.awft-robots-card {
  padding:18px;
  border:1px solid var(--awft-border);
  border-radius:10px;
  background:#fff;
}
.awft-robots-card--pass { border-color:#abefc6; background:#f6fef9; }
.awft-robots-card--fail { border-color:#fecdca; background:#fffafa; }
.awft-robots-card--info { border-color:#d0d5dd; background:#fcfcfd; }
.awft-robots-card--unknown { border-color:#fedf89; background:#fffcf5; }
.awft-robots-card__head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:10px; }
.awft-robots-card__head small { display:block; color:#98a2b3; font-size:10px; font-weight:700; }
.awft-robots-card__head h4 { margin:2px 0 0 !important; color:var(--awft-navy) !important; font-size:16px !important; line-height:1.45 !important; }
.awft-robots-card > p { margin:0 0 8px !important; color:#475467; font-size:12px; line-height:1.75; }
.awft-robots-card__detail { color:#667085 !important; }
.awft-robots-state { display:inline-flex; align-items:center; justify-content:center; min-width:68px; padding:5px 9px; border-radius:999px; font-size:10px; font-weight:800; white-space:nowrap; }
.awft-robots-state--pass { background:#dcfae6; color:#067647; }
.awft-robots-state--fail { background:#fee4e2; color:#b42318; }
.awft-robots-state--info { background:#f2f4f7; color:#475467; }
.awft-robots-state--unknown { background:#fef0c7; color:#b54708; }
.awft-robots-rule { margin-top:12px; padding:10px 12px; border-radius:8px; background:#f8fafc; }
.awft-robots-rule span { display:block; color:#98a2b3; font-size:9px; font-weight:700; }
.awft-robots-rule code,.awft-robots-rule strong { display:block; margin-top:4px; color:#344054; font-size:11px; line-height:1.6; overflow-wrap:anywhere; }
.awft-robots-rule small { display:block; margin-top:4px; color:#98a2b3; font-size:9px; }
.awft-robots-groups { display:grid; gap:10px; }
.awft-robots-group { padding:14px 16px; border:1px solid var(--awft-border); border-radius:9px; background:#fff; }
.awft-robots-group h4 { margin:0 0 8px !important; color:var(--awft-navy) !important; font-size:14px !important; }
.awft-robots-group p,.awft-robots-group ul { margin:0 !important; color:#475467; font-size:11px; line-height:1.75; }
.awft-robots-group ul { padding-left:18px; }
.awft-robots-example { margin:12px 0 0; padding:14px 16px; overflow:auto; border:1px solid var(--awft-border); border-radius:9px; background:#0f172a; color:#e2e8f0; font-size:12px; line-height:1.7; }
.awft-structured-raw pre { max-height:420px; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; }
@media (max-width: 760px) {
  .awft-robots-crawler-grid { grid-template-columns:1fr; }
}
