body {
  margin: 0;
  font-family: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f3f3f3;
  color: #1b1b1b;
}

/* -------------------------------- Landing page ---------------------------- */
.landing-banner {
  background: #ffffff;
  color: #1b1b1b;
  border-bottom: 1px solid #e5e5e5;
  padding: 1.25rem 1.5rem;
}

.landing-banner h1 {
  margin: 0;
  font-size: 1.4rem;
}

.version-tag {
  font-size: 0.75rem;
  font-weight: 400;
  color: #8a8a8a;
  vertical-align: middle;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.tool-card:hover {
  border-color: #0067c0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.tool-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eef2f7;
  color: #5c5c5c;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card-icon-good {
  background: #e6f4e6;
  color: #107c10;
}

.tool-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.tool-card-name {
  font-weight: 600;
  font-size: 0.98rem;
}

.tool-card-desc {
  font-size: 0.82rem;
  color: #5c5c5c;
}

.tool-card-arrow {
  flex-shrink: 0;
  color: #8a8a8a;
  font-size: 1.1rem;
}

.tool-card:hover .tool-card-arrow {
  color: #0067c0;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: #5c5c5c;
  text-decoration: none;
  font-size: 0.85rem;
}

.back-link:hover {
  color: #0067c0;
}

/* -------------------------------- Tool pages (no banner) ------------------ */
.tool-page {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.status-ok {
  color: #107c10;
  font-weight: 600;
}

.status-table {
  border-collapse: collapse;
  margin-top: 1rem;
}

.status-table td {
  padding: 0.4rem 1rem 0.4rem 0;
  border-bottom: 1px solid #e5e5e5;
}
