/* list-row — iOS-style grouped list cells
 *
 * Structure:
 *   .list-group
 *     .list-row
 *       .list-row-leading     ← optional icon / avatar
 *       .list-row-main
 *         .list-row-title
 *         .list-row-sub       ← optional secondary text
 *       .list-row-trailing    ← optional badge / dot
 *       .list-row-chevron     ← optional disclosure arrow
 */

.list-group {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #EAE3D4);
  border-radius: 12px;
  overflow: hidden;
}

.list-row {
  display: flex; align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid var(--border, #EAE3D4);
  background: var(--surface, #FFFFFF);
  transition: background 100ms;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
}
.list-row:last-child { border-bottom: none; }
.list-row:active { background: var(--surface-sunken, #F4EFE6); }

.list-row-leading {
  color: var(--text-muted, #6B6258);
  display: flex; align-items: center;
}
.list-row-leading svg { width: 20px; height: 20px; }

.list-row-main { flex: 1; min-width: 0; }
.list-row-title {
  font-size: 15px;
  font-weight: 500;
  display: block;
}
.list-row-sub {
  font-size: 12.5px;
  color: var(--text-muted, #6B6258);
  margin-top: 1px;
  display: block;
}

.list-row-trailing {
  color: var(--text-faint, #A39988);
  display: flex; align-items: center; gap: 8px;
}

.list-row-chevron { color: var(--text-faint, #A39988); }
.list-row-chevron svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .list-row { padding: 16px 16px; min-height: 56px; }
}
