/* Extra styles for the parent screen, on top of /style.css. */

.back {
  color: var(--ink);
  font-family: var(--pixel);
}

.note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.message {
  font-weight: 600;
}

.add-form {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.add-form input {
  padding: 10px;
  border: 3px solid var(--ink);
  font-size: 1rem;
}

.add-form button {
  justify-self: start;
}

.rows {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: row;
}

.rows li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 2px dashed rgba(0, 0, 0, 0.15);
}

ol.rows li {
  counter-increment: row;
}

ol.rows li::before {
  content: counter(row) ".";
  font-family: var(--pixel);
  min-width: 2ch;
}

/* The first three are the ones offered next. */
ol.rows li:nth-child(-n + 3) .text {
  font-weight: 700;
}

.rows .text {
  flex: 1;
  min-width: 0;
}

.rows .text span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.rows .small-button {
  padding: 6px 10px;
  font-size: 0.9rem;
}
