:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #f7f7f5;
  color: #171717;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 650;
}

button {
  min-height: 36px;
  border: 1px solid #d3d3cf;
  border-radius: 6px;
  padding: 0 14px;
  background: #ffffff;
  color: #171717;
  cursor: pointer;
}

button:hover {
  background: #f0f0ed;
}

.panel {
  overflow-x: auto;
  border: 1px solid #deded8;
  border-radius: 8px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #ecece8;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  background: #fafaf8;
  color: #55554f;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

a {
  color: #175cd3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration: underline;
}

.empty,
.error {
  color: #686862;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 20px, 1120px);
    margin: 20px auto;
  }

  header {
    align-items: flex-start;
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
