body {
  font-family: Arial, sans-serif;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  color: #222;
}

header {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

h1 { margin-bottom: 0; }

.picker h3 { margin-bottom: 8px; }

.picker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.picker-row select,
.picker-row input {
  padding: 8px;
  font-size: 15px;
  flex: 1 1 220px;
}

.small { font-size: 13px; color: #666; margin: 6px 0; }

#results {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #ddd;
}

#results li {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-size: 14px;
}

#results li:hover { background: #f3f3f3; }
#results li.selected { background: #fff3b0; }

#line {
  line-height: 1.8;
  font-size: 16px;
}

#line .done { color: #2e7d32; font-weight: bold; }
#line .next { background: #fff3b0; }

.controls { margin: 15px 0; }

button {
  padding: 8px 14px;
  font-size: 15px;
  margin-right: 8px;
  cursor: pointer;
}

#board {
  width: 450px;
  max-width: 100%;
}

#status {
  font-size: 17px;
  min-height: 24px;
}