.rail-folder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 3px;
  border-radius: 16px;
  background: var(--selected);
}
.folder-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  background: var(--side);
  border-radius: 13px;
}
.folder-toggle .icon {
  width: 20px;
  height: 20px;
}
.touch-folder-name {
  display: none;
}
@media (hover: none), (max-width: 720px) {
  .touch-folder-name {
    display: block;
    max-width: calc(100% - 4px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 11px;
    line-height: 1.2;
  }
}
.folder-heading {
  padding: 8px 10px 0;
}
.project-checklist {
  display: grid;
  border: 0;
  margin: 14px 0;
  padding: 0;
  min-width: 0;
}
.project-checklist legend {
  font-size: 13px;
  font-weight: 600;
}
.project-checklist label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 38px;
  overflow-wrap: anywhere;
}
.project-checklist input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.permission-section {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 12px;
}
.permission-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.permission-state {
  font-size: 13px;
  color: var(--muted);
}

.project-member-list {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}
.project-member-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  overflow-wrap: anywhere;
}
.project-member-list button {
  flex-shrink: 0;
}

@media (max-width: 720px), (hover: none) {
  .project-checklist label {
    min-height: 44px;
  }
}
