.mw-list-app {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid #cce7e3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.06);
}

.mw-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.mw-search {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mw-search label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f5c55;
}

.mw-search input {
  border: 1px solid #c9d6ea;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 1rem;
  width: 100%;
  max-width: 420px;
}

.mw-search input:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.mw-count {
  margin: 0;
  font-size: 0.92rem;
  color: #64748b;
  font-weight: 600;
}

.mw-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.mw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.mw-table th,
.mw-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}

.mw-table th {
  background: #f0fdfa;
  color: #0f5c55;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1;
}

.mw-table tbody tr:hover {
  background: #f8fffe;
}

.mw-table td.mw-patient {
  font-weight: 700;
  color: #0f766e;
}

.mw-empty {
  margin: 1rem 0 0;
  color: #64748b;
  font-weight: 600;
}

.ht-seo-block {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  background: #f8fffe;
  border: 1px solid #cce7e3;
}

.ht-seo-block h2 {
  margin-top: 0;
  color: #0b5c55;
}

.ht-seo-block ul {
  margin: 0.75rem 0;
  padding-left: 1.2rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .mw-table thead {
    display: none;
  }

  .mw-table,
  .mw-table tbody,
  .mw-table tr,
  .mw-table td {
    display: block;
    width: 100%;
  }

  .mw-table tr {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #e2e8f0;
  }

  .mw-table td {
    border: 0;
    padding: 0.25rem 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .mw-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748b;
    flex: 0 0 42%;
  }
}
