:root {
  --bg: #ffffff;
  --border: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --green: #16a34a;
  --green-bg: #dcfce7;
  --yellow: #ca8a04;
  --yellow-bg: #fef9c3;
  --red: #dc2626;
  --red-bg: #fee2e2;
  --gray-bg: #f3f4f6;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 {
    color: #5b2b2b;
    background-color: #e8f2ec;
  font-size: 28px;
  margin: 48px 0 20px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.count_app {
    font-style: italic;
    font-size: 90%;
}

p_description {
  color: var(--muted);
  font-size: 16px;
  max-width: 850px;
  margin-bottom: 32px;
}

.search-box {
  margin-bottom: 24px;
}

.search-box input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 16px;
}

.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.categories-nav a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gray-bg);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.apps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-row {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.app-row__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.app-row__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.app-row__title:hover {
  text-decoration: underline;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.status--ok {
  background: var(--green-bg);
  color: var(--green);
}

.status--partial {
  background: var(--yellow-bg);
  color: var(--yellow);
}

.status--no {
  background: var(--red-bg);
  color: var(--red);
}

.operators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.operator--ok {
  background: var(--green-bg);
  color: var(--green);
}

.operator--unknown {
  background: var(--gray-bg);
  color: var(--muted);
}

.operator--no {
  background: var(--red-bg);
  color: var(--red);
}

@media (max-width: 640px) {

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .app-row__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .status {
    margin-top: -4px;
  }
}