.where-to-vote {
  display: grid;
  gap: 12px;
}

@media (min-width: 760px) {
  .where-to-vote {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  }
  .where-head,
  .where-tiles,
  .where-controls {
    grid-column: 1 / -1;
  }
  .where-list {
    grid-column: 1;
  }
  .where-detail {
    grid-column: 2;
    position: sticky;
    top: 12px;
  }
}

@media (max-width: 759px) {
  .where-to-vote {
    grid-template-columns: 1fr;
  }
  .where-list,
  .where-detail {
    grid-column: 1;
  }
}

.where-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.where-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.where-sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.where-toggle {
  display: flex;
  gap: 8px;
}

.where-toggle button {
  display: inline-flex;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  cursor: pointer;
}

.where-toggle button.on {
  background: var(--accent);
  color: var(--accent-ink, #fff);
}

.where-tiles {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 519px) {
  .where-tiles {
    grid-template-columns: 1fr;
  }
}

.where-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  background: var(--surface-2, var(--surface));
  border: 1px solid var(--line);
  border-radius: 10px;
}

.where-tile svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.where-tile strong {
  font-size: 1.2rem;
  margin: 0;
}

.where-tile strong:last-of-type {
  font-size: 0.85rem;
}

.where-tile p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.where-empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.where-controls {
  display: flex;
  gap: 10px;
}

.where-sort {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.where-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.where-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 12px;
  background: var(--surface-2, var(--surface));
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}

.where-item.on {
  border-left: 2px solid var(--accent);
}

.where-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft, var(--line));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.where-main {
  display: grid;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.where-main strong {
  font-weight: 600;
}

.where-addr {
  font-size: 0.85rem;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.where-hours {
  font-size: 0.8rem;
  color: var(--muted);
}

.where-dist {
  font-size: 0.8rem;
  color: var(--muted);
  flex-shrink: 0;
}

.where-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  background: var(--surface-2, var(--surface));
  border: 1px solid var(--line);
  border-radius: 10px;
}

.where-detail h3 {
  margin: 0;
  font-size: 1rem;
}

.where-detail p {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
}

.where-hours-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.where-hours-list dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.where-hours-list dd {
  margin: 0;
  font-size: 0.85rem;
}

.where-directions {
  display: inline-flex;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-ink, #fff);
  text-decoration: none;
  font-weight: 650;
}

.where-directions svg {
  width: 16px;
  height: 16px;
}

.where-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.where-facts li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.where-facts li:not(:first-child)::before {
  content: '•';
}

.where-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.where-item .where-addr,
.where-item .where-hours { font-weight: 400; }
