/* The records tab uses the same live totals as the dedicated Japan page. */
html body[data-home-dashboard] .home-map-counts {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
html body[data-home-dashboard] .home-map-counts .source-count-strip {
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  box-sizing: border-box;
}
html body[data-home-dashboard] .home-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  margin: 10px 16px;
  width: calc(100% - 32px) !important;
}
.home-dashboard-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 3px;
}
body[data-home-dashboard]:has(#main[data-active-tab="companies"]) .home-dashboard-actions {
  display: none;
}
html body[data-home-dashboard] footer.shared-site-footer,
html body[data-home-dashboard] footer.work-footer {
  max-width: none !important;
  width: calc(100% - 32px) !important;
  margin-inline: 16px !important;
  box-sizing: border-box;
}
html body[data-home-dashboard] .home-map-counts :is(.landing-summary-dates,.field-help) {
  font-size: 14px;
  line-height: 1.4;
  margin: 4px 0;
}
html body[data-home-dashboard] .home-map-counts,
html body[data-home-dashboard] .home-map-counts :is(.source-count-strip,.source-count-strip > span) {
  background: #0b1a2a !important;
  color: #eef5f7 !important;
}

html body[data-home-dashboard] .home-about {
  margin: 18px 12px 0;
  padding: 16px;
  border: 1px solid #425e79;
  border-radius: 10px;
  background: #0e2036;
  color: #eef5f7;
}
html body[data-home-dashboard] .home-about h2 { font-size: 20px; margin: 0 0 8px; }
html body[data-home-dashboard] .home-about p { font-size: 16px; line-height: 1.6; margin: 0 0 8px; }
html body[data-home-dashboard] .home-about-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
html body[data-home-dashboard] .home-about-links a {
  padding: 8px 12px;
  border: 1px solid #6084aa;
  border-radius: 999px;
  color: #cfe3f7;
  text-decoration: none;
  font-size: 15px;
}
