body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: #fafafa;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 16px 40px;
}

.breadcrumb {
  font-size: 13px;
  color: #666;
  margin: 0 0 10px;
}

.breadcrumb a {
  color: #0b57d0;
  text-decoration: none;
}

.warn {
  color: #8a4b00;
  background: #fff8e6;
  border: 1px solid #f0d090;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 8px 0 0;
}

.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

td.selectable,
.selectable {
  user-select: text;
  -webkit-user-select: text;
}

h2 {
  margin: 0 0 16px;
}

.trait-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

select {
  min-width: 260px;
  padding: 8px;
}

button,
.btn {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  color: #222;
}

button:hover,
.btn:hover {
  border-color: #888;
}

.note {
  margin: 10px 0 0;
  color: #666;
  font-size: 13px;
}

.panel {
  margin-top: 16px;
  padding: 12px;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}

.img-wrap img {
  max-width: 100%;
  border: 1px solid #eee;
}

.plot {
  width: 100%;
  height: 520px;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.space-between {
  justify-content: space-between;
}

.small {
  font-size: 12px;
  color: #666;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid #eee;
  padding: 8px;
  text-align: left;
  font-size: 13px;
}

th {
  background: #fafafa;
  cursor: pointer;
  user-select: none;
}

tbody tr:hover {
  background: #fcfcff;
}

a.variant {
  color: #0b57d0;
  text-decoration: underline;
  cursor: pointer;
}

.pagination button {
  min-width: 80px;
}

.jbrowse {
  width: 100%;
  height: 700px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

